@adia-ai/a2ui-corpus 0.6.46 → 0.6.48
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 +16 -0
- package/catalog-a2ui_0_9.json +102 -27
- package/catalog-a2ui_0_9_rules.txt +6 -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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/chunks/dashboard-reports-table.json +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/chunks/sidebar-navigation-panel.json +1 -1
- package/chunks/slider-range-controls.json +1 -1
- package/chunks/social-media-post-card.json +1 -1
- 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 +1 -1
- 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 +1 -1
- 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,21 @@
|
|
|
1
1
|
# Changelog — @adia-ai/a2ui-corpus
|
|
2
2
|
|
|
3
|
+
## [0.6.48] — 2026-05-29
|
|
4
|
+
|
|
5
|
+
### Changed — corpus re-harvest for the v0.6.48 release window
|
|
6
|
+
|
|
7
|
+
- **`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.
|
|
8
|
+
- **`chunk-embeddings.json`** — re-embedded all 284 chunks (text-embedding-3-small, 1536d, ~8.2 MB).
|
|
9
|
+
- **`catalog-a2ui_0_9.json` + `catalog-a2ui_0_9_rules.txt`** — regenerated from the current component yaml set.
|
|
10
|
+
|
|
11
|
+
## [0.6.47] — 2026-05-29
|
|
12
|
+
|
|
13
|
+
### Changed — chunk re-harvest absorbing card `[grow]` attribute
|
|
14
|
+
|
|
15
|
+
- **Chunks re-harvested 2026-05-29T05:22Z** — 284 chunks / 433 instances. Absorbs the `card.yaml` rule additions for `[grow]` section behavior.
|
|
16
|
+
- **`catalog-a2ui_0_9_rules.txt`** regenerated with `[grow]` documentation rule.
|
|
17
|
+
- **`chunk-embeddings.json`** regenerated (8.19 MB; semantic-retrieval parity for updated corpus).
|
|
18
|
+
|
|
3
19
|
## [0.6.46] — 2026-05-29
|
|
4
20
|
|
|
5
21
|
### Changed — chunk re-harvest absorbing DX sweep (bleed fixes + slot docs + token corrections)
|
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
|
}
|
|
@@ -4261,17 +4258,14 @@
|
|
|
4261
4258
|
"default": ""
|
|
4262
4259
|
},
|
|
4263
4260
|
"variant": {
|
|
4264
|
-
"description": "Visual style. `outline`
|
|
4261
|
+
"description": "Visual style. `outlined` (alias `outline`) draws a border with no shadow; `filled` uses a tinted canvas surface; `ghost` drops border + shadow.",
|
|
4265
4262
|
"type": "string",
|
|
4266
4263
|
"enum": [
|
|
4267
4264
|
"default",
|
|
4268
4265
|
"outlined",
|
|
4269
4266
|
"outline",
|
|
4270
4267
|
"filled",
|
|
4271
|
-
"ghost"
|
|
4272
|
-
"flat",
|
|
4273
|
-
"soft",
|
|
4274
|
-
"primary"
|
|
4268
|
+
"ghost"
|
|
4275
4269
|
],
|
|
4276
4270
|
"default": "default"
|
|
4277
4271
|
}
|
|
@@ -11215,6 +11209,8 @@
|
|
|
11215
11209
|
"accent",
|
|
11216
11210
|
"success",
|
|
11217
11211
|
"warning",
|
|
11212
|
+
"danger",
|
|
11213
|
+
"info",
|
|
11218
11214
|
"data-ramp"
|
|
11219
11215
|
],
|
|
11220
11216
|
"default": "data-ramp"
|
|
@@ -18394,6 +18390,97 @@
|
|
|
18394
18390
|
"version": 1
|
|
18395
18391
|
}
|
|
18396
18392
|
},
|
|
18393
|
+
"Preview": {
|
|
18394
|
+
"title": "Preview",
|
|
18395
|
+
"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.",
|
|
18396
|
+
"type": "object",
|
|
18397
|
+
"allOf": [
|
|
18398
|
+
{
|
|
18399
|
+
"$ref": "#/$defs/ComponentCommon"
|
|
18400
|
+
},
|
|
18401
|
+
{
|
|
18402
|
+
"$ref": "#/$defs/CatalogComponentCommon"
|
|
18403
|
+
}
|
|
18404
|
+
],
|
|
18405
|
+
"properties": {
|
|
18406
|
+
"codeFirst": {
|
|
18407
|
+
"description": "Show the code pane before (above / left of) the render pane. Default is render-first.",
|
|
18408
|
+
"type": "boolean",
|
|
18409
|
+
"default": false
|
|
18410
|
+
},
|
|
18411
|
+
"component": {
|
|
18412
|
+
"const": "Preview"
|
|
18413
|
+
},
|
|
18414
|
+
"language": {
|
|
18415
|
+
"description": "Language hint forwarded to the nested <code-ui> for syntax highlighting. Demos are HTML, so this defaults to `html`.",
|
|
18416
|
+
"type": "string",
|
|
18417
|
+
"default": "html"
|
|
18418
|
+
},
|
|
18419
|
+
"layout": {
|
|
18420
|
+
"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.",
|
|
18421
|
+
"type": "string",
|
|
18422
|
+
"enum": [
|
|
18423
|
+
"split",
|
|
18424
|
+
"stack"
|
|
18425
|
+
],
|
|
18426
|
+
"default": ""
|
|
18427
|
+
},
|
|
18428
|
+
"rows": {
|
|
18429
|
+
"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.",
|
|
18430
|
+
"type": "boolean",
|
|
18431
|
+
"default": false
|
|
18432
|
+
}
|
|
18433
|
+
},
|
|
18434
|
+
"required": [
|
|
18435
|
+
"component"
|
|
18436
|
+
],
|
|
18437
|
+
"unevaluatedProperties": false,
|
|
18438
|
+
"x-adiaui": {
|
|
18439
|
+
"anti_patterns": [],
|
|
18440
|
+
"category": "display",
|
|
18441
|
+
"composes": [],
|
|
18442
|
+
"events": {},
|
|
18443
|
+
"examples": [],
|
|
18444
|
+
"keywords": [
|
|
18445
|
+
"preview",
|
|
18446
|
+
"example",
|
|
18447
|
+
"demo",
|
|
18448
|
+
"code-preview",
|
|
18449
|
+
"live-preview",
|
|
18450
|
+
"playground",
|
|
18451
|
+
"codepen"
|
|
18452
|
+
],
|
|
18453
|
+
"name": "UIPreview",
|
|
18454
|
+
"related": [
|
|
18455
|
+
"Code",
|
|
18456
|
+
"Card"
|
|
18457
|
+
],
|
|
18458
|
+
"slots": {
|
|
18459
|
+
"default": {
|
|
18460
|
+
"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."
|
|
18461
|
+
}
|
|
18462
|
+
},
|
|
18463
|
+
"states": [
|
|
18464
|
+
{
|
|
18465
|
+
"description": "Default, the only state.",
|
|
18466
|
+
"name": "idle"
|
|
18467
|
+
}
|
|
18468
|
+
],
|
|
18469
|
+
"status": "stable",
|
|
18470
|
+
"synonyms": {
|
|
18471
|
+
"preview": [
|
|
18472
|
+
"example",
|
|
18473
|
+
"demo",
|
|
18474
|
+
"sandbox",
|
|
18475
|
+
"live-preview"
|
|
18476
|
+
]
|
|
18477
|
+
},
|
|
18478
|
+
"tag": "preview-ui",
|
|
18479
|
+
"tokens": {},
|
|
18480
|
+
"traits": [],
|
|
18481
|
+
"version": 1
|
|
18482
|
+
}
|
|
18483
|
+
},
|
|
18397
18484
|
"Progress": {
|
|
18398
18485
|
"title": "Progress",
|
|
18399
18486
|
"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 +18503,11 @@
|
|
|
18416
18503
|
"default": null
|
|
18417
18504
|
},
|
|
18418
18505
|
"variant": {
|
|
18419
|
-
"description": "
|
|
18506
|
+
"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
18507
|
"type": "string",
|
|
18421
18508
|
"enum": [
|
|
18422
18509
|
"bar",
|
|
18423
|
-
"spinner"
|
|
18424
|
-
"primary",
|
|
18425
|
-
"success",
|
|
18426
|
-
"warning",
|
|
18427
|
-
"danger",
|
|
18428
|
-
"info"
|
|
18510
|
+
"spinner"
|
|
18429
18511
|
],
|
|
18430
18512
|
"default": "bar"
|
|
18431
18513
|
}
|
|
@@ -18622,11 +18704,9 @@
|
|
|
18622
18704
|
"type": "string",
|
|
18623
18705
|
"enum": [
|
|
18624
18706
|
"default",
|
|
18625
|
-
"accent",
|
|
18626
18707
|
"success",
|
|
18627
18708
|
"warning",
|
|
18628
|
-
"danger"
|
|
18629
|
-
"info"
|
|
18709
|
+
"danger"
|
|
18630
18710
|
],
|
|
18631
18711
|
"default": "default"
|
|
18632
18712
|
}
|
|
@@ -20334,13 +20414,11 @@
|
|
|
20334
20414
|
"default": ""
|
|
20335
20415
|
},
|
|
20336
20416
|
"variant": {
|
|
20337
|
-
"description": "Visual variant — default chrome
|
|
20417
|
+
"description": "Visual variant — `default` chrome or `ghost` for inline.",
|
|
20338
20418
|
"type": "string",
|
|
20339
20419
|
"enum": [
|
|
20340
20420
|
"default",
|
|
20341
|
-
"
|
|
20342
|
-
"ghost",
|
|
20343
|
-
"soft"
|
|
20421
|
+
"ghost"
|
|
20344
20422
|
],
|
|
20345
20423
|
"default": "default"
|
|
20346
20424
|
}
|
|
@@ -23597,13 +23675,10 @@
|
|
|
23597
23675
|
"default": ""
|
|
23598
23676
|
},
|
|
23599
23677
|
"variant": {
|
|
23600
|
-
"description": "Visual variant — default underline strip
|
|
23678
|
+
"description": "Visual variant — `default` (underline strip) or `bordered`.",
|
|
23601
23679
|
"type": "string",
|
|
23602
23680
|
"enum": [
|
|
23603
23681
|
"default",
|
|
23604
|
-
"pills",
|
|
23605
|
-
"underline",
|
|
23606
|
-
"segmented",
|
|
23607
23682
|
"bordered"
|
|
23608
23683
|
],
|
|
23609
23684
|
"default": "default"
|
|
@@ -132,6 +132,7 @@
|
|
|
132
132
|
- Heading slot accepts inline badges/metadata: <span slot="heading"><text-ui strong>Title</text-ui><badge-ui text="New" variant="accent"></badge-ui></span> renders title + badge on one row.
|
|
133
133
|
- Description slot also accepts bare <p> or <small> elements as siblings of the heading — they participate in the grid's row 2 without needing slot="description".
|
|
134
134
|
- Multiple <section> siblings are allowed and stack vertically. [bleed] on a section removes its margin for edge-to-edge content (tables, charts); [padding] adds a canvas-scrim background for hero regions.
|
|
135
|
+
- [grow] on a section makes it fill the card's remaining height (flex:1 — same semantics as col-ui[grow]/row-ui[grow]). The card becomes a flex column so the section absorbs the leftover space after the header/footer. Requires the card to have a definite height (inline height, grid row track, or flex parent) — a content-sized card has nothing to fill. Combine with [bleed] for edge-to-edge fill: <section bleed grow>. A <chart-ui> directly inside a <section bleed> auto-grows without [grow] (zero-config convenience for the common chart case).
|
|
135
136
|
- Footer with a [slot="description"] + [slot="action"] pair triggers justify-content: space-between — useful for a "Last saved …" note on the left and a Save/Cancel button group on the right.
|
|
136
137
|
- Do NOT substitute <card-ui> for shell/page containers. <admin-page>, <admin-content>, and <page-ui> own routed page layout; <card-ui> is a localized bordered surface that lives INSIDE them. For overlays use <modal-ui> (centered) or <drawer-ui> (edge-anchored) — both share the same 4-stub <header>/<section>/<footer> vocabulary.
|
|
137
138
|
- Use [raw] when a parent already owns the surface chrome (e.g. an auth screen centred on the viewport — see apps/user-flow/auth). Use [elevation] 0–3 for shadow depth; [variant="ghost"|"flat"] to remove shadow without removing structure. [draggable] emits a drag-end event; only enable on cards meant to move.
|
|
@@ -494,6 +495,11 @@
|
|
|
494
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.
|
|
495
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.
|
|
496
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
|
+
|
|
497
503
|
## ProgressRow
|
|
498
504
|
- Labeled progress row — composes a label + <progress-ui> + optional value display in one horizontal row.
|
|
499
505
|
- For standalone progress bars without a row context use <progress-ui> directly.
|