Pre Release New Changes

This commit is contained in:
2026-07-31 16:30:13 +05:30
parent 358a520bc5
commit 3e565e8d03
189 changed files with 36727 additions and 17249 deletions
+368 -45
View File
@@ -986,10 +986,6 @@ html[data-design-panel-open] .design-panel {
}
.docs-directory-group > div > a {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
overflow: hidden;
padding: 0.42rem 0.55rem;
border-radius: 0.45rem;
@@ -1001,34 +997,6 @@ html[data-design-panel-open] .design-panel {
white-space: nowrap;
}
.docs-directory-group > div > a > [data-docs-component-name] {
overflow: hidden;
text-overflow: ellipsis;
}
.docs-directory-group [data-component-status] {
flex: 0 0 auto;
padding: 0.08rem 0.32rem;
border: 1px solid currentColor;
border-radius: 999px;
font-size: 0.5rem;
font-weight: 800;
letter-spacing: 0.03em;
line-height: 1.25;
}
.docs-directory-group [data-component-status="complete"] {
color: var(--wire-color-success);
}
.docs-directory-group [data-component-status="pending"] {
color: var(--wire-color-muted);
}
.docs-directory-group [data-component-status="working"] {
color: var(--wire-color-warning);
}
.docs-directory-group > div > a:hover,
.docs-directory-group > div > a[aria-current="page"] {
color: var(--wire-color-text);
@@ -2319,19 +2287,6 @@ body {
color: var(--wire-color-primary);
}
.detail-toc-group {
margin-top: 0.35rem;
color: var(--wire-color-text);
font-size: 0.72rem;
font-weight: 700;
}
.detail-toc-group + a,
.detail-toc-group + a + a,
.detail-toc-group + a + a + a {
padding-inline-start: 0.75rem;
}
.docs-table-wrap {
overflow: auto;
border: 1px solid var(--wire-color-border);
@@ -2510,3 +2465,371 @@ body {
grid-template-columns: 1fr;
}
}
/* Component-specific showcase stages generated from showcase-profiles.mjs. */
.showcase-visual-panel,
.showcase-shell-preview,
.showcase-content-block,
.showcase-overlay-content,
.showcase-status-panel,
.showcase-context-target {
width: 100%;
min-width: 0;
border: 1px solid var(--wire-color-border);
border-radius: 1.25rem;
background: color-mix(in srgb, var(--wire-color-surface-raised) 92%, transparent);
color: var(--wire-color-text);
}
.showcase-visual-panel {
display: grid;
place-items: center;
gap: 0.75rem;
min-height: 18rem;
padding: clamp(1.5rem, 4vw, 3rem);
text-align: center;
background:
radial-gradient(circle at 80% 10%, color-mix(in srgb, var(--wire-color-primary) 22%, transparent), transparent 38%),
color-mix(in srgb, var(--wire-color-surface-raised) 94%, transparent);
}
.showcase-visual-panel > span {
color: var(--wire-color-primary);
}
.showcase-visual-panel strong {
font-size: clamp(1.1rem, 2vw, 1.45rem);
}
.showcase-visual-panel p,
.showcase-card-copy,
.showcase-content-block p,
.showcase-overlay-content p,
.showcase-status-panel p {
margin: 0;
color: var(--wire-color-muted);
line-height: 1.7;
}
.showcase-shell-preview {
display: grid;
overflow: hidden;
}
.showcase-shell-preview > * {
padding: 1rem 1.25rem;
}
.showcase-shell-preview header,
.showcase-shell-preview footer {
background: color-mix(in srgb, var(--wire-color-primary) 10%, transparent);
}
.showcase-shell-preview main {
min-height: 9rem;
}
.showcase-inline-actions {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
align-items: center;
}
.showcase-action {
display: inline-flex;
min-height: 2.75rem;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.7rem 1rem;
border: 1px solid var(--wire-color-border);
border-radius: 0.8rem;
color: var(--wire-color-text);
background: color-mix(in srgb, var(--wire-color-surface-raised) 88%, transparent);
font-size: 0.875rem;
font-weight: 650;
text-decoration: none;
}
.showcase-action--primary {
border-color: color-mix(in srgb, var(--wire-color-primary) 72%, transparent);
background: var(--wire-color-primary);
color: var(--wire-color-primary-contrast);
}
.showcase-content-block,
.showcase-overlay-content,
.showcase-status-panel,
.showcase-context-target {
display: grid;
gap: 0.75rem;
padding: 1.25rem;
}
.showcase-grid-items {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(9rem, 100%), 1fr));
gap: 0.75rem;
width: 100%;
}
.showcase-grid-items > * {
min-width: 0;
padding: 1rem;
border: 1px solid var(--wire-color-border);
border-radius: 0.85rem;
background: var(--wire-color-surface-raised);
}
.showcase-footer-banner,
.showcase-footer-legal {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 1rem;
width: 100%;
padding: 1rem clamp(1rem, 3vw, 2rem);
}
.showcase-footer-banner {
background: color-mix(in srgb, var(--wire-color-primary) 12%, var(--wire-color-surface));
}
.showcase-footer-legal {
color: var(--wire-color-muted);
font-size: 0.85rem;
}
.showcase-card-value {
display: block;
color: var(--wire-color-primary);
font-size: clamp(2rem, 5vw, 3.25rem);
line-height: 1;
}
.showcase-typography {
display: grid;
gap: 1rem;
color: var(--wire-color-text);
}
.showcase-typography :where(h2, h3, p, ul) {
margin: 0;
}
.showcase-typography ul {
padding-inline-start: 1.25rem;
}
.playground-event-log {
display: grid;
gap: 0.5rem;
margin: 0 1.25rem 1.25rem;
padding: 0.9rem 1rem;
border: 1px solid var(--wire-color-border);
border-radius: 0.9rem;
background: color-mix(in srgb, var(--wire-color-surface-raised) 88%, transparent);
color: var(--wire-color-muted);
font-size: 0.8rem;
}
.playground-event-log strong {
color: var(--wire-color-text);
}
.playground-event-log pre {
overflow: auto;
max-height: 12rem;
margin: 0;
white-space: pre-wrap;
color: var(--wire-color-primary);
}
.detail-event-examples {
display: grid;
gap: 1rem;
min-width: 0;
}
/* Full-width components must use the complete preview stage rather than the
generic compact component cap. This also prevents narrow MetricGrid cards. */
:is(.demo-render, .playground-preview-source):has(
[data-ui-component="PublicPageShell"],
[data-ui-component="AnnouncementBar"],
[data-ui-component="PageHeader"],
[data-ui-component="Hero"],
[data-ui-component="SplitHero"],
[data-ui-component="Section"],
[data-ui-component="FeatureGrid"],
[data-ui-component="MetricGrid"],
[data-ui-component="StatsBar"],
[data-ui-component="CTASection"],
[data-ui-component="Footer"]
) {
place-items: stretch;
align-content: start;
}
:is(.demo-render, .playground-preview-source)
> *:has(
[data-ui-component="PublicPageShell"],
[data-ui-component="AnnouncementBar"],
[data-ui-component="PageHeader"],
[data-ui-component="Hero"],
[data-ui-component="SplitHero"],
[data-ui-component="Section"],
[data-ui-component="FeatureGrid"],
[data-ui-component="MetricGrid"],
[data-ui-component="StatsBar"],
[data-ui-component="CTASection"],
[data-ui-component="Footer"]
),
:is(.demo-render, .playground-preview-source)
> :is(
[data-ui-component="PublicPageShell"],
[data-ui-component="AnnouncementBar"],
[data-ui-component="PageHeader"],
[data-ui-component="Hero"],
[data-ui-component="SplitHero"],
[data-ui-component="Section"],
[data-ui-component="FeatureGrid"],
[data-ui-component="MetricGrid"],
[data-ui-component="StatsBar"],
[data-ui-component="CTASection"],
[data-ui-component="Footer"]
) {
width: 100%;
max-width: none;
min-width: 0;
}
:is(.demo-render, .playground-preview-source)
:is([data-ui-component="FeatureGrid"], [data-ui-component="MetricGrid"], [data-ui-component="StatsBar"]) {
width: 100%;
min-width: 0;
max-width: none;
}
:is(.demo-render, .playground-preview-source):has(
[data-ui-component="ContextMenu"],
[data-ui-component="Dropdown"],
[data-ui-component="Popover"],
[data-ui-component="Tooltip"]
) {
min-height: 24rem;
place-items: center;
overflow: visible;
}
:is(.demo-render, .playground-preview-source):has(
[data-ui-component="Drawer"],
[data-ui-component="Modal"]
) {
min-height: 30rem;
place-items: stretch;
isolation: isolate;
}
@media (max-width: 640px) {
.showcase-inline-actions,
.showcase-footer-banner,
.showcase-footer-legal {
align-items: stretch;
flex-direction: column;
}
.showcase-action {
width: 100%;
}
}
/* Interactive overlay previews -------------------------------------------------
Overlay components must begin closed and remain usable inside catalog cards,
detail demos, and the live playground. */
.catalog-card[data-interactive-preview="true"] {
overflow: visible;
}
.catalog-card[data-interactive-preview="true"]:hover {
transform: none;
}
.catalog-card[data-interactive-preview="true"] .catalog-card-preview {
overflow: visible;
min-height: 22rem;
border-radius: 1.4rem 1.4rem 0 0;
}
.catalog-card[data-interactive-preview="true"] .catalog-card-stage {
display: grid;
width: min(100%, 34rem);
justify-items: center;
gap: 0.85rem;
}
.catalog-interaction-hint,
.demo-interaction-hint {
display: inline-flex;
width: fit-content;
align-items: center;
gap: 0.45rem;
margin: 0;
padding: 0.42rem 0.65rem;
color: var(--wire-color-muted);
background: color-mix(in srgb, var(--wire-color-surface) 88%, transparent);
border: 1px solid var(--wire-color-border);
border-radius: 999px;
font-size: 0.7rem;
font-weight: 700;
line-height: 1.2;
}
.demo-interaction-hint {
margin: 1rem auto 0;
}
/* Keep full-screen overlays inside their showcase canvas instead of covering
the complete documentation application. */
:is(.catalog-card-preview, .demo-render, .playground-preview-source):has(
[data-ui-component="Drawer"],
[data-ui-component="Modal"]
) {
position: relative;
overflow: hidden;
isolation: isolate;
}
:is(.catalog-card-preview, .demo-render, .playground-preview-source)
[data-ui-component="Drawer"]
.wire-drawer__layer,
:is(.catalog-card-preview, .demo-render, .playground-preview-source)
[data-ui-component="Modal"]
.wire-modal__layer {
position: absolute !important;
inset: 0 !important;
width: 100% !important;
height: 100% !important;
max-height: none !important;
}
:is(.catalog-card-preview, .demo-render, .playground-preview-source):has(
[data-ui-component="Drawer"],
[data-ui-component="Modal"]
)
.catalog-card-stage {
position: static;
}
@media (max-width: 640px) {
.catalog-card[data-interactive-preview="true"] .catalog-card-preview {
min-height: 18rem;
}
.catalog-interaction-hint,
.demo-interaction-hint {
border-radius: 0.75rem;
text-align: center;
}
}