@adia-ai/a2ui-corpus 0.6.47 → 0.6.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/catalog-a2ui_0_9.json +107 -27
- package/catalog-a2ui_0_9_rules.txt +5 -0
- package/chunk-embeddings.json +1 -1
- package/chunks/_index.json +1 -1
- package/chunks/accordion-settings.json +1 -1
- package/chunks/activity-feed.json +1 -1
- package/chunks/agent-canvas-shell.json +1 -1
- package/chunks/agent-command-palette-search.json +1 -1
- package/chunks/agent-reasoning-collapsed.json +1 -1
- package/chunks/agent-tool-call-result.json +1 -1
- package/chunks/agent-trace-timeline.json +1 -1
- package/chunks/ai-streaming-response.json +1 -1
- package/chunks/alert-banner.json +1 -1
- package/chunks/analytics-chart.json +1 -1
- package/chunks/analytics-sparklines-dashboard.json +1 -1
- package/chunks/api-key-table.json +1 -1
- package/chunks/app-product-listing-card.json +1 -1
- package/chunks/audit-log.json +1 -1
- package/chunks/auth-account-deleted-actions.json +1 -1
- package/chunks/auth-account-deleted.json +1 -1
- package/chunks/auth-card-content.json +1 -1
- package/chunks/auth-card-header.json +1 -1
- package/chunks/auth-email-entry.json +1 -1
- package/chunks/auth-email-verify-confirm.json +1 -1
- package/chunks/auth-email-verify.json +1 -1
- package/chunks/auth-forbidden-actions.json +1 -1
- package/chunks/auth-forbidden.json +1 -1
- package/chunks/auth-invite-actions.json +1 -1
- package/chunks/auth-invite-team-card.json +1 -1
- package/chunks/auth-link-expired-form.json +1 -1
- package/chunks/auth-link-expired.json +1 -1
- package/chunks/auth-locked-account.json +1 -1
- package/chunks/auth-locked-recovery-options.json +1 -1
- package/chunks/auth-mfa-enrollment-submit.json +1 -1
- package/chunks/auth-mfa-enrollment.json +1 -1
- package/chunks/auth-mfa-fallback-actions.json +1 -1
- package/chunks/auth-mfa-recovery.json +1 -1
- package/chunks/auth-new-password-form.json +1 -1
- package/chunks/auth-new-password.json +1 -1
- package/chunks/auth-oauth-fallback-actions.json +1 -1
- package/chunks/auth-oauth-interstitial.json +1 -1
- package/chunks/auth-password-challenge.json +1 -1
- package/chunks/auth-password-reset-form.json +1 -1
- package/chunks/auth-password-reset.json +1 -1
- package/chunks/auth-profile-form.json +1 -1
- package/chunks/auth-profile-setup.json +1 -1
- package/chunks/auth-reset-sent.json +1 -1
- package/chunks/auth-session-expired-actions.json +1 -1
- package/chunks/auth-session-expired.json +1 -1
- package/chunks/auth-signin-card-email.json +1 -1
- package/chunks/auth-signin-card-magic-link.json +1 -1
- package/chunks/auth-signin-card-mfa.json +1 -1
- package/chunks/auth-signin-card-otp.json +1 -1
- package/chunks/auth-signin-card-password.json +1 -1
- package/chunks/auth-signin-card-recovery.json +1 -1
- package/chunks/auth-signout-actions.json +1 -1
- package/chunks/auth-signout.json +1 -1
- package/chunks/auth-signup-email-entry.json +1 -1
- package/chunks/auth-signup-entry.json +1 -1
- package/chunks/auth-signup-social-auths.json +1 -1
- package/chunks/auth-signup-verify.json +1 -1
- package/chunks/auth-social-auths.json +1 -1
- package/chunks/auth-sso-providers.json +1 -1
- package/chunks/auth-sso-required.json +1 -1
- package/chunks/auth-team-invite.json +1 -1
- package/chunks/avatar-group-overflow.json +1 -1
- package/chunks/badge-variants-table.json +1 -1
- package/chunks/billing-overview.json +1 -1
- package/chunks/billing-progress-label.json +1 -1
- package/chunks/blog-post-card.json +1 -1
- package/chunks/breadcrumb-navigation.json +1 -1
- package/chunks/calendar-month-view.json +1 -1
- package/chunks/card-grid-images.json +1 -1
- package/chunks/card-header-with-description.json +1 -1
- package/chunks/changelog-activity-feed.json +1 -1
- package/chunks/chart-with-filter-pills.json +1 -1
- package/chunks/chat-page-shell.json +1 -1
- package/chunks/chat-streaming-surface.json +1 -1
- package/chunks/code-snippet.json +10 -9
- package/chunks/color-picker-swatches.json +1 -1
- package/chunks/command-palette.json +1 -1
- package/chunks/commerce-pricing-tiers.json +1 -1
- package/chunks/comparison-table.json +1 -1
- package/chunks/contact-form.json +1 -1
- package/chunks/conversion-funnel-6step.json +1 -1
- package/chunks/dashboard-acquisition-panel.json +1 -1
- package/chunks/dashboard-admin-page.json +3 -3
- package/chunks/dashboard-audience-kpis.json +1 -1
- package/chunks/dashboard-audience-panel.json +1 -1
- package/chunks/dashboard-behavior-panel.json +1 -1
- package/chunks/dashboard-chart-recent.json +1 -1
- package/chunks/dashboard-cohort-retention.json +1 -1
- package/chunks/dashboard-conversion-panel.json +1 -1
- package/chunks/dashboard-country-list.json +1 -1
- package/chunks/dashboard-filter-bar.json +1 -1
- package/chunks/dashboard-funnel.json +1 -1
- package/chunks/dashboard-notifications-panel.json +1 -1
- package/chunks/dashboard-overview-panel.json +1 -1
- package/chunks/dashboard-page-header.json +1 -1
- package/chunks/dashboard-pages-table.json +1 -1
- package/chunks/dashboard-quick-actions.json +1 -1
- package/chunks/dashboard-reports-panel.json +6 -24
- package/chunks/dashboard-reports-table.json +7 -25
- package/chunks/dashboard-storage-card.json +1 -1
- package/chunks/dashboard-tabs.json +1 -1
- package/chunks/dashboard-team-actions-storage.json +1 -1
- package/chunks/dashboard-team-list.json +1 -1
- package/chunks/dashboard-traffic-channels.json +1 -1
- package/chunks/dashboard-transactions-table.json +1 -1
- package/chunks/data-import-wizard.json +1 -1
- package/chunks/date-range-picker.json +1 -1
- package/chunks/date-time-picker-form.json +1 -1
- package/chunks/divider-text-label.json +1 -1
- package/chunks/doc-editor-shell.json +1 -1
- package/chunks/drawer-2fa-key.json +1 -1
- package/chunks/drawer-2fa-sms.json +1 -1
- package/chunks/drawer-2fa-totp.json +1 -1
- package/chunks/drawer-cancel-sub.json +1 -1
- package/chunks/drawer-change-plan.json +1 -1
- package/chunks/drawer-custom-roles.json +1 -1
- package/chunks/drawer-data-start.json +1 -1
- package/chunks/drawer-delete-account.json +1 -1
- package/chunks/drawer-delete-workspace.json +1 -1
- package/chunks/drawer-discord.json +1 -1
- package/chunks/drawer-figma.json +1 -1
- package/chunks/drawer-first-dashboard.json +1 -1
- package/chunks/drawer-gcal.json +1 -1
- package/chunks/drawer-github.json +1 -1
- package/chunks/drawer-invite.json +1 -1
- package/chunks/drawer-report.json +1 -1
- package/chunks/drawer-revoke-session.json +1 -1
- package/chunks/drawer-role.json +1 -1
- package/chunks/drawer-slack.json +1 -1
- package/chunks/drawer-smtp.json +1 -1
- package/chunks/drawer-source.json +1 -1
- package/chunks/drawer-transaction.json +1 -1
- package/chunks/editor-code-pane.json +1 -1
- package/chunks/editor-page-shell.json +1 -1
- package/chunks/email-inbox-list.json +1 -1
- package/chunks/empty-state-danger.json +1 -1
- package/chunks/empty-state-minimal.json +1 -1
- package/chunks/empty-state-warning.json +1 -1
- package/chunks/empty-state.json +1 -1
- package/chunks/error-404-actions.json +1 -1
- package/chunks/error-404.json +1 -1
- package/chunks/error-500-actions.json +1 -1
- package/chunks/error-500.json +1 -1
- package/chunks/error-maintenance-actions.json +1 -1
- package/chunks/error-maintenance.json +1 -1
- package/chunks/error-page-shell.json +1 -1
- package/chunks/faq-accordion.json +1 -1
- package/chunks/feature-grid-icons.json +1 -1
- package/chunks/file-upload-dnd.json +1 -1
- package/chunks/footer-multi-column.json +1 -1
- package/chunks/footer-primary-only.json +1 -1
- package/chunks/form-page-shell.json +1 -1
- package/chunks/gallery-page-shell.json +1 -1
- package/chunks/hero-section-split.json +1 -1
- package/chunks/icon-text-row.json +1 -1
- package/chunks/image-caption-tile.json +1 -1
- package/chunks/image-carousel.json +1 -1
- package/chunks/image-upload-preview.json +1 -1
- package/chunks/import-mapping-flow.json +1 -1
- package/chunks/integrations-grid.json +1 -1
- package/chunks/inventory-list-stock.json +1 -1
- package/chunks/invite-members.json +1 -1
- package/chunks/invoice-line-items.json +1 -1
- package/chunks/kanban-board-3col.json +42 -63
- package/chunks/kanban-page-shell.json +1 -1
- package/chunks/keyboard-shortcut-display.json +1 -1
- package/chunks/labeled-textarea.json +1 -1
- package/chunks/leaderboard-table.json +1 -1
- package/chunks/linked-record-row.json +1 -1
- package/chunks/loading-skeleton-placeholder.json +35 -33
- package/chunks/marketing-hero-cta.json +1 -1
- package/chunks/marketing-page-shell.json +1 -1
- package/chunks/masonry-gallery.json +1 -1
- package/chunks/member-edit-drawer.json +1 -1
- package/chunks/metadata-description-list.json +1 -1
- package/chunks/modal-dialog-confirm.json +1 -1
- package/chunks/nav-menu-icons.json +1 -1
- package/chunks/newsletter-subscription.json +8 -16
- package/chunks/notification-badges-feed.json +1 -1
- package/chunks/notification-preferences-panel.json +1 -1
- package/chunks/notification-toast-row.json +1 -1
- package/chunks/onb-completion.json +1 -1
- package/chunks/onb-extension-install.json +1 -1
- package/chunks/onb-hero-welcome.json +1 -1
- package/chunks/onb-import-picker.json +1 -1
- package/chunks/onb-mobile-handoff.json +1 -1
- package/chunks/onb-notification-prefs.json +1 -1
- package/chunks/onb-persona-picker.json +1 -1
- package/chunks/onb-provider-tiles.json +1 -1
- package/chunks/onb-settings-review.json +1 -1
- package/chunks/onb-step-footer.json +1 -1
- package/chunks/onb-step-header.json +1 -1
- package/chunks/onb-step-progress.json +1 -1
- package/chunks/onb-step-shell.json +1 -1
- package/chunks/onb-story-pane.json +1 -1
- package/chunks/onb-tutorial-steps.json +1 -1
- package/chunks/order-tracking-timeline.json +1 -1
- package/chunks/pagination-controls.json +1 -1
- package/chunks/payment-method-form.json +1 -1
- package/chunks/period-comparison.json +1 -1
- package/chunks/permission-matrix-table.json +1 -1
- package/chunks/playground-a2ui.json +1 -1
- package/chunks/playground-app-shell.json +1 -1
- package/chunks/playground-chat.json +1 -1
- package/chunks/playground-construct-canvas.json +1 -1
- package/chunks/playground-css-channel.json +1 -1
- package/chunks/playground-gen-ui.json +1 -1
- package/chunks/playground-render-preview.json +1 -1
- package/chunks/playground-streams-bridge.json +1 -1
- package/chunks/playground-table-toolbar.json +1 -1
- package/chunks/popover-with-content.json +1 -1
- package/chunks/pricing-tiers.json +11 -10
- package/chunks/product-tour.json +1 -1
- package/chunks/progress-tracker-milestones.json +1 -1
- package/chunks/radio-button-group.json +1 -1
- package/chunks/real-time-metrics-dashboard.json +1 -1
- package/chunks/reg-address-form.json +1 -1
- package/chunks/reg-billing-card.json +1 -1
- package/chunks/reg-brand-scrape.json +1 -1
- package/chunks/reg-departments-toggle.json +1 -1
- package/chunks/reg-extended-profile.json +1 -1
- package/chunks/reg-final-done.json +1 -1
- package/chunks/reg-helpdesk-grid.json +1 -1
- package/chunks/reg-import-picker.json +1 -1
- package/chunks/reg-integrations-grid.json +1 -1
- package/chunks/reg-invite-form.json +1 -1
- package/chunks/reg-legal-entity.json +1 -1
- package/chunks/reg-org-chart-review.json +1 -1
- package/chunks/reg-profile-identity.json +1 -1
- package/chunks/reg-step-footer.json +1 -1
- package/chunks/reg-step-header.json +1 -1
- package/chunks/reg-step-progress.json +1 -1
- package/chunks/reg-step-shell.json +1 -1
- package/chunks/reg-story-pane.json +1 -1
- package/chunks/reg-success-summary.json +1 -1
- package/chunks/reg-team-size.json +1 -1
- package/chunks/reg-usecase-picker.json +1 -1
- package/chunks/reg-workspace-name.json +1 -1
- package/chunks/responsive-grid-pattern.json +1 -1
- package/chunks/responsive-kpi-grid.json +1 -1
- package/chunks/responsive-row-pattern.json +1 -1
- package/chunks/responsive-wrap-at-pattern.json +1 -1
- package/chunks/revenue-heatmap.json +1 -1
- package/chunks/role-management.json +11 -19
- package/chunks/search-with-filters.json +1 -1
- package/chunks/section-with-stack.json +1 -1
- package/chunks/segmented-control-billing-tabs.json +1 -1
- package/chunks/select-multiple-preselected.json +1 -1
- package/chunks/settings-2fa-setup.json +1 -1
- package/chunks/settings-admin-page.json +1 -1
- package/chunks/settings-appearance-theme-panel.json +1 -1
- package/chunks/settings-appearance.json +1 -1
- package/chunks/settings-general-form.json +1 -1
- package/chunks/settings-integrations.json +1 -1
- package/chunks/settings-members-invite.json +1 -1
- package/chunks/settings-page-shell.json +1 -1
- package/chunks/settings-panel.json +1 -1
- package/chunks/settings-profile-security.json +1 -1
- package/chunks/settings-toggle-switches.json +1 -1
- package/chunks/sidebar-nav.json +6 -2
- package/chunks/sidebar-navigation-panel.json +1 -1
- package/chunks/slider-range-controls.json +1 -1
- package/chunks/social-media-post-card.json +14 -37
- package/chunks/sortable-search-paginate-table.json +1 -1
- package/chunks/split-pane-editor-preview.json +1 -1
- package/chunks/stat-cards-kpi-dashboard.json +1 -1
- package/chunks/status-dashboard.json +3 -2
- package/chunks/stepper-form-wizard.json +1 -1
- package/chunks/survey-rating-form.json +1 -1
- package/chunks/tabs-with-panels.json +1 -1
- package/chunks/tag-chips-filter.json +1 -1
- package/chunks/team-members-list.json +1 -1
- package/chunks/testimonial-grid.json +1 -1
- package/chunks/testimonials-avatar-cards.json +26 -68
- package/chunks/timeline-events.json +1 -1
- package/chunks/toolbar-icons.json +1 -1
- package/chunks/toolbar-tooltips.json +1 -1
- package/chunks/tooltip-hover-button.json +1 -1
- package/chunks/trial-banner.json +1 -1
- package/chunks/user-identity-row.json +1 -1
- package/chunks/user-onboarding-checklist.json +1 -1
- package/chunks/user-profile-card.json +1 -1
- package/chunks/video-player-controls.json +1 -1
- package/chunks/webhook-config.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog — @adia-ai/a2ui-corpus
|
|
2
2
|
|
|
3
|
+
## [0.6.49] — 2026-05-30
|
|
4
|
+
|
|
5
|
+
### Changed — corpus regen (card-ui slot sweep) + catalog `month` prop
|
|
6
|
+
|
|
7
|
+
- **Chunk corpus** (284 chunks) absorbs the card-ui header slot sweep + `nav-group-ui` fixes across admin-dashboard + 5 catalog patterns (committed upstream in the demo-slot-sweep arc). `chunk-embeddings.json` in sync.
|
|
8
|
+
- **`catalog-a2ui_0_9.json`** — regenerated to add the `month` prop on the calendar primitive (`YYYY-MM` displayed-month hint; date-range-picker uses it to show its end pane one month ahead of the start). Matches `calendar-grid.yaml`.
|
|
9
|
+
|
|
10
|
+
## [0.6.48] — 2026-05-29
|
|
11
|
+
|
|
12
|
+
### Changed — corpus re-harvest for the v0.6.48 release window
|
|
13
|
+
|
|
14
|
+
- **`chunks/` (284 chunks) + `chunks/_index.json`** — full re-harvest absorbing the v0.6.48 window (foundation-styles reorg + the library-wide demo consolidation sweep + the date-range-picker fix). 433 chunk instances parsed → 284 unique.
|
|
15
|
+
- **`chunk-embeddings.json`** — re-embedded all 284 chunks (text-embedding-3-small, 1536d, ~8.2 MB).
|
|
16
|
+
- **`catalog-a2ui_0_9.json` + `catalog-a2ui_0_9_rules.txt`** — regenerated from the current component yaml set.
|
|
17
|
+
|
|
3
18
|
## [0.6.47] — 2026-05-29
|
|
4
19
|
|
|
5
20
|
### Changed — chunk re-harvest absorbing card `[grow]` attribute
|
package/catalog-a2ui_0_9.json
CHANGED
|
@@ -3701,10 +3701,7 @@
|
|
|
3701
3701
|
"solid",
|
|
3702
3702
|
"outline",
|
|
3703
3703
|
"ghost",
|
|
3704
|
-
"primary"
|
|
3705
|
-
"secondary",
|
|
3706
|
-
"soft",
|
|
3707
|
-
"current"
|
|
3704
|
+
"primary"
|
|
3708
3705
|
],
|
|
3709
3706
|
"default": "solid"
|
|
3710
3707
|
}
|
|
@@ -3861,6 +3858,11 @@
|
|
|
3861
3858
|
"type": "string",
|
|
3862
3859
|
"default": ""
|
|
3863
3860
|
},
|
|
3861
|
+
"month": {
|
|
3862
|
+
"description": "Displayed month (YYYY-MM) used when no value is selected — shows a specific month independent of selection. A selected value always takes precedence. Used by date-range-picker to show its end pane one month ahead of the start.",
|
|
3863
|
+
"type": "string",
|
|
3864
|
+
"default": ""
|
|
3865
|
+
},
|
|
3864
3866
|
"rangeEnd": {
|
|
3865
3867
|
"description": "End of a date range (ISO YYYY-MM-DD). See `rangeStart` for the full contract.",
|
|
3866
3868
|
"type": "string",
|
|
@@ -4261,17 +4263,14 @@
|
|
|
4261
4263
|
"default": ""
|
|
4262
4264
|
},
|
|
4263
4265
|
"variant": {
|
|
4264
|
-
"description": "Visual style. `outline`
|
|
4266
|
+
"description": "Visual style. `outlined` (alias `outline`) draws a border with no shadow; `filled` uses a tinted canvas surface; `ghost` drops border + shadow.",
|
|
4265
4267
|
"type": "string",
|
|
4266
4268
|
"enum": [
|
|
4267
4269
|
"default",
|
|
4268
4270
|
"outlined",
|
|
4269
4271
|
"outline",
|
|
4270
4272
|
"filled",
|
|
4271
|
-
"ghost"
|
|
4272
|
-
"flat",
|
|
4273
|
-
"soft",
|
|
4274
|
-
"primary"
|
|
4273
|
+
"ghost"
|
|
4275
4274
|
],
|
|
4276
4275
|
"default": "default"
|
|
4277
4276
|
}
|
|
@@ -11215,6 +11214,8 @@
|
|
|
11215
11214
|
"accent",
|
|
11216
11215
|
"success",
|
|
11217
11216
|
"warning",
|
|
11217
|
+
"danger",
|
|
11218
|
+
"info",
|
|
11218
11219
|
"data-ramp"
|
|
11219
11220
|
],
|
|
11220
11221
|
"default": "data-ramp"
|
|
@@ -18394,6 +18395,97 @@
|
|
|
18394
18395
|
"version": 1
|
|
18395
18396
|
}
|
|
18396
18397
|
},
|
|
18398
|
+
"Preview": {
|
|
18399
|
+
"title": "Preview",
|
|
18400
|
+
"description": "Live code + render in one frame, from a single source. Wrap any authored AdiaUI markup: the same HTML renders LIVE in a stage and appears beside (or below) it as escaped, syntax-highlighted, copyable source via a nested <code-ui>. The code can never drift from the render — it IS the render's source. Batteries-included + HTML-first by construction: write one block of HTML, no inline styles, no JS wiring, and both panes appear. Use it for every component/recipe example so the primary snippet is always real, copyable HTML shown next to the working component.",
|
|
18401
|
+
"type": "object",
|
|
18402
|
+
"allOf": [
|
|
18403
|
+
{
|
|
18404
|
+
"$ref": "#/$defs/ComponentCommon"
|
|
18405
|
+
},
|
|
18406
|
+
{
|
|
18407
|
+
"$ref": "#/$defs/CatalogComponentCommon"
|
|
18408
|
+
}
|
|
18409
|
+
],
|
|
18410
|
+
"properties": {
|
|
18411
|
+
"codeFirst": {
|
|
18412
|
+
"description": "Show the code pane before (above / left of) the render pane. Default is render-first.",
|
|
18413
|
+
"type": "boolean",
|
|
18414
|
+
"default": false
|
|
18415
|
+
},
|
|
18416
|
+
"component": {
|
|
18417
|
+
"const": "Preview"
|
|
18418
|
+
},
|
|
18419
|
+
"language": {
|
|
18420
|
+
"description": "Language hint forwarded to the nested <code-ui> for syntax highlighting. Demos are HTML, so this defaults to `html`.",
|
|
18421
|
+
"type": "string",
|
|
18422
|
+
"default": "html"
|
|
18423
|
+
},
|
|
18424
|
+
"layout": {
|
|
18425
|
+
"description": "Pane arrangement. Defaults to `split` — render and code side-by-side in a responsive 2-column grid that collapses to stacked on narrow widths (a bare `<preview-ui>` stamps `layout=\"split\"` on connect). Use `stack` to force the render stacked above the code; the docs auto-apply `stack` to wide self-framing demos (card / shell / table) that read cramped at half width. The `rows` attribute is a separate gallery mode and overrides this.",
|
|
18426
|
+
"type": "string",
|
|
18427
|
+
"enum": [
|
|
18428
|
+
"split",
|
|
18429
|
+
"stack"
|
|
18430
|
+
],
|
|
18431
|
+
"default": ""
|
|
18432
|
+
},
|
|
18433
|
+
"rows": {
|
|
18434
|
+
"description": "Gallery mode — treat each direct child as a SEPARATE example and lay each out as its own `[render | code]` row (live sample left, its own source right), stacked with dividers. Without `rows`, the whole slotted markup is one render + one code block. An optional `data-preview-label` on a child surfaces a caption above that row's sample.",
|
|
18435
|
+
"type": "boolean",
|
|
18436
|
+
"default": false
|
|
18437
|
+
}
|
|
18438
|
+
},
|
|
18439
|
+
"required": [
|
|
18440
|
+
"component"
|
|
18441
|
+
],
|
|
18442
|
+
"unevaluatedProperties": false,
|
|
18443
|
+
"x-adiaui": {
|
|
18444
|
+
"anti_patterns": [],
|
|
18445
|
+
"category": "display",
|
|
18446
|
+
"composes": [],
|
|
18447
|
+
"events": {},
|
|
18448
|
+
"examples": [],
|
|
18449
|
+
"keywords": [
|
|
18450
|
+
"preview",
|
|
18451
|
+
"example",
|
|
18452
|
+
"demo",
|
|
18453
|
+
"code-preview",
|
|
18454
|
+
"live-preview",
|
|
18455
|
+
"playground",
|
|
18456
|
+
"codepen"
|
|
18457
|
+
],
|
|
18458
|
+
"name": "UIPreview",
|
|
18459
|
+
"related": [
|
|
18460
|
+
"Code",
|
|
18461
|
+
"Card"
|
|
18462
|
+
],
|
|
18463
|
+
"slots": {
|
|
18464
|
+
"default": {
|
|
18465
|
+
"description": "The authored markup to preview. Captured verbatim on connect: re-parsed into the live render stage AND shown literally in the code pane. Any valid AdiaUI HTML — one element or many siblings."
|
|
18466
|
+
}
|
|
18467
|
+
},
|
|
18468
|
+
"states": [
|
|
18469
|
+
{
|
|
18470
|
+
"description": "Default, the only state.",
|
|
18471
|
+
"name": "idle"
|
|
18472
|
+
}
|
|
18473
|
+
],
|
|
18474
|
+
"status": "stable",
|
|
18475
|
+
"synonyms": {
|
|
18476
|
+
"preview": [
|
|
18477
|
+
"example",
|
|
18478
|
+
"demo",
|
|
18479
|
+
"sandbox",
|
|
18480
|
+
"live-preview"
|
|
18481
|
+
]
|
|
18482
|
+
},
|
|
18483
|
+
"tag": "preview-ui",
|
|
18484
|
+
"tokens": {},
|
|
18485
|
+
"traits": [],
|
|
18486
|
+
"version": 1
|
|
18487
|
+
}
|
|
18488
|
+
},
|
|
18397
18489
|
"Progress": {
|
|
18398
18490
|
"title": "Progress",
|
|
18399
18491
|
"description": "Progress indicator with bar (default) or spinner variant. Value < 0 marks indeterminate state showing animated activity instead of a fill. Use inside <progress-row-ui> for labeled task lists or standalone for global loading indicators; for percent-complete inline displays use <stat-ui> instead.",
|
|
@@ -18416,16 +18508,11 @@
|
|
|
18416
18508
|
"default": null
|
|
18417
18509
|
},
|
|
18418
18510
|
"variant": {
|
|
18419
|
-
"description": "
|
|
18511
|
+
"description": "Render mode — `bar` (default) or `spinner`. For fill color set the `--progress-fill` token (defaults to `--a-accent`); there is no variant-as-color (use the token).",
|
|
18420
18512
|
"type": "string",
|
|
18421
18513
|
"enum": [
|
|
18422
18514
|
"bar",
|
|
18423
|
-
"spinner"
|
|
18424
|
-
"primary",
|
|
18425
|
-
"success",
|
|
18426
|
-
"warning",
|
|
18427
|
-
"danger",
|
|
18428
|
-
"info"
|
|
18515
|
+
"spinner"
|
|
18429
18516
|
],
|
|
18430
18517
|
"default": "bar"
|
|
18431
18518
|
}
|
|
@@ -18622,11 +18709,9 @@
|
|
|
18622
18709
|
"type": "string",
|
|
18623
18710
|
"enum": [
|
|
18624
18711
|
"default",
|
|
18625
|
-
"accent",
|
|
18626
18712
|
"success",
|
|
18627
18713
|
"warning",
|
|
18628
|
-
"danger"
|
|
18629
|
-
"info"
|
|
18714
|
+
"danger"
|
|
18630
18715
|
],
|
|
18631
18716
|
"default": "default"
|
|
18632
18717
|
}
|
|
@@ -20334,13 +20419,11 @@
|
|
|
20334
20419
|
"default": ""
|
|
20335
20420
|
},
|
|
20336
20421
|
"variant": {
|
|
20337
|
-
"description": "Visual variant — default chrome
|
|
20422
|
+
"description": "Visual variant — `default` chrome or `ghost` for inline.",
|
|
20338
20423
|
"type": "string",
|
|
20339
20424
|
"enum": [
|
|
20340
20425
|
"default",
|
|
20341
|
-
"
|
|
20342
|
-
"ghost",
|
|
20343
|
-
"soft"
|
|
20426
|
+
"ghost"
|
|
20344
20427
|
],
|
|
20345
20428
|
"default": "default"
|
|
20346
20429
|
}
|
|
@@ -23597,13 +23680,10 @@
|
|
|
23597
23680
|
"default": ""
|
|
23598
23681
|
},
|
|
23599
23682
|
"variant": {
|
|
23600
|
-
"description": "Visual variant — default underline strip
|
|
23683
|
+
"description": "Visual variant — `default` (underline strip) or `bordered`.",
|
|
23601
23684
|
"type": "string",
|
|
23602
23685
|
"enum": [
|
|
23603
23686
|
"default",
|
|
23604
|
-
"pills",
|
|
23605
|
-
"underline",
|
|
23606
|
-
"segmented",
|
|
23607
23687
|
"bordered"
|
|
23608
23688
|
],
|
|
23609
23689
|
"default": "default"
|
|
@@ -495,6 +495,11 @@
|
|
|
495
495
|
- [trigger="hover"] is for non-essential disclosure only — never use it for popovers containing inputs, destructive actions, or anything the user must interact with via keyboard. Default [trigger="click"] for everything interactive.
|
|
496
496
|
- Do NOT nest <modal-ui> or <drawer-ui> inside slot="content"; popovers are non-modal anchored surfaces, not dialog hosts. Stacking dialog surfaces inside a popover breaks focus management.
|
|
497
497
|
|
|
498
|
+
## Preview
|
|
499
|
+
- Use <preview-ui> to demonstrate ANY component or recipe — wrap the example markup once; it shows the live component and its copyable HTML source together. Prefer it over a bare <code-ui> snippet (which shows code but no render) or a bare rendered sample (which shows output but no copyable HTML).
|
|
500
|
+
- Author the slotted markup as plain AdiaUI HTML with attributes only — no inline `style=`, no `<script>` wiring. If a sample needs inline styles to look right, the component is missing an attribute; fix the component, not the demo.
|
|
501
|
+
- Side-by-side ([layout="split"]) is the default. Set [layout="stack"] for wide self-framing examples (a full card / shell / table reads cramped at half width). Use [code-first] when the code is the teaching point and the render is confirmation.
|
|
502
|
+
|
|
498
503
|
## ProgressRow
|
|
499
504
|
- Labeled progress row — composes a label + <progress-ui> + optional value display in one horizontal row.
|
|
500
505
|
- For standalone progress bars without a row context use <progress-ui> directly.
|