@adia-ai/a2ui-corpus 0.6.17 → 0.6.19
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 +115 -8
- package/catalog-a2ui_0_9_rules.txt +3 -0
- package/chunk-embeddings.json +1 -1
- package/chunks/_index.json +29 -31
- package/chunks/accordion-settings.json +1 -1
- package/chunks/agent-activity-feed.json +2 -1
- package/chunks/agent-canvas-shell.json +1 -1
- package/chunks/agent-command-palette-search.json +8 -2
- package/chunks/agent-reasoning-collapsed.json +2 -1
- package/chunks/agent-tool-call-result.json +6 -2
- package/chunks/agent-trace-timeline.json +24 -2
- package/chunks/ai-streaming-response.json +4 -2
- package/chunks/alert-banner.json +3 -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 +7 -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 +3 -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 +3 -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 +3 -1
- package/chunks/auth-signin-card-magic-link.json +2 -1
- package/chunks/auth-signin-card-mfa.json +3 -1
- package/chunks/auth-signin-card-otp.json +6 -1
- package/chunks/auth-signin-card-password.json +2 -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 +6 -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 +3 -1
- package/chunks/breadcrumb-nav.json +2 -1
- package/chunks/calendar-month-view.json +1 -1
- package/chunks/card-header-with-description.json +1 -1
- package/chunks/chart-with-filter-pills.json +6 -2
- package/chunks/chat-page-shell.json +13 -7
- package/chunks/chat-streaming-surface.json +1 -1
- package/chunks/color-picker-swatches.json +5 -1
- package/chunks/command-palette.json +1 -1
- package/chunks/commerce-pricing-tiers.json +17 -1
- package/chunks/comparison-table.json +34 -1
- package/chunks/conversion-funnel-6step.json +4 -1
- package/chunks/dashboard-acquisition-panel.json +3 -1
- package/chunks/dashboard-admin-page.json +2 -2
- package/chunks/dashboard-audience-kpis.json +1 -1
- package/chunks/dashboard-audience-panel.json +19 -1
- package/chunks/dashboard-behavior-panel.json +2 -1
- package/chunks/dashboard-chart-recent.json +13 -1
- package/chunks/dashboard-cohort-retention.json +1 -1
- package/chunks/dashboard-conversion-panel.json +4 -1
- package/chunks/dashboard-country-list.json +2 -2
- package/chunks/dashboard-filter-bar.json +3 -1
- package/chunks/dashboard-funnel.json +3 -1
- package/chunks/dashboard-kpi-grid.json +1 -1
- package/chunks/dashboard-notifications-feed.json +1 -1
- package/chunks/dashboard-notifications-panel.json +21 -1
- package/chunks/dashboard-overview-panel.json +20 -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-spark-cards.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 +7 -1
- package/chunks/dashboard-team-list.json +1 -1
- package/chunks/dashboard-traffic-channels.json +1 -1
- package/chunks/dashboard-transactions-table.json +2 -1
- package/chunks/date-time-picker-form.json +1 -1
- package/chunks/destructive-confirm-modal.json +1 -1
- package/chunks/divider-text-label.json +3 -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 +2 -2
- 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-payment-method.json +3 -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/editor-preview-pane.json +3 -1
- package/chunks/empty-state.json +3 -1
- package/chunks/error-404-actions.json +1 -1
- package/chunks/error-404.json +4 -1
- package/chunks/error-500-actions.json +1 -1
- package/chunks/error-500.json +3 -1
- package/chunks/error-maintenance-actions.json +1 -1
- package/chunks/error-maintenance.json +4 -1
- package/chunks/error-page-shell.json +4 -3
- package/chunks/faq-accordion.json +5 -1
- package/chunks/file-upload-dnd.json +1 -1
- package/chunks/footer-multi-column.json +5 -1
- package/chunks/footer-primary-only.json +1 -1
- package/chunks/form-page-shell.json +2 -1
- package/chunks/gallery-page-shell.json +18 -1
- package/chunks/hero-section-split.json +8 -1
- package/chunks/icon-text-row.json +1 -1
- package/chunks/image-carousel.json +10 -2
- package/chunks/image-tile.json +1 -1
- package/chunks/image-upload-preview.json +5 -2
- package/chunks/inventory-list-stock.json +7 -1
- package/chunks/kanban-board-3col.json +4 -1
- package/chunks/kanban-page-shell.json +27 -7
- package/chunks/kbd-shortcuts.json +1 -1
- package/chunks/labeled-textarea.json +1 -1
- package/chunks/leaderboard-table.json +3 -1
- package/chunks/linked-record-row.json +1 -1
- package/chunks/marketing-hero-cta.json +7 -1
- package/chunks/marketing-page-shell.json +7 -1
- package/chunks/masonry-gallery.json +17 -1
- package/chunks/member-edit-drawer.json +1 -1
- package/chunks/metadata-description-list.json +1 -1
- package/chunks/multi-step-wizard.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 +4 -1
- package/chunks/onb-story-pane.json +1 -1
- package/chunks/onb-tutorial-steps.json +1 -1
- package/chunks/pagination-controls.json +3 -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-gen-ui.json +1 -1
- package/chunks/playground-render-preview.json +2 -2
- package/chunks/playground-streams-bridge.json +1 -1
- package/chunks/playground-table-toolbar.json +1 -1
- package/chunks/popover-with-content.json +2 -1
- package/chunks/progress-tracker-milestones.json +19 -2
- package/chunks/real-time-metrics-dashboard.json +17 -2
- package/chunks/reg-address-form.json +5 -3
- 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 +8 -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 +2 -1
- package/chunks/search-with-filters.json +5 -1
- package/chunks/section-with-stack.json +1 -1
- package/chunks/settings-admin-page.json +37 -52
- package/chunks/settings-appearance.json +61 -23
- package/chunks/settings-billing-plan.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-notifications.json +4 -1
- package/chunks/settings-page-shell.json +2 -1
- package/chunks/settings-profile-security.json +3 -1
- package/chunks/sidebar-collapsible-nav.json +4 -2
- package/chunks/slider-range-controls.json +1 -1
- package/chunks/tabs-with-panels.json +6 -1
- package/chunks/testimonial-grid.json +11 -2
- package/chunks/text-card.json +1 -1
- package/chunks/timeline-events.json +17 -2
- package/chunks/toolbar-icons.json +1 -1
- package/chunks/toolbar-tooltips.json +1 -1
- package/chunks/user-identity-row.json +1 -1
- package/chunks/user-profile-card.json +4 -1
- package/chunks/users-table-badge.json +8 -1
- package/chunks/video-player-controls.json +5 -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.19] — 2026-05-21
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- **Corpus drift remediation — `verify:corpus` 22 findings → 0.** Freshened the stale corpus chunks: ~235 JSON files under `chunks/` re-harvested/reconciled so every chunk matches its current primitive composition, and `catalog-a2ui_0_9.json` regenerated. Companion `chunk-reconcile` triage cleared 38 collisions (all confirmed legitimate). Brings the A2UI training corpus back in sync with the v0.6.18→v0.6.19 primitive-schema state.
|
|
7
|
+
|
|
8
|
+
### Note
|
|
9
|
+
- The headline v0.6.19 work — claims-ui-v4 inbound feedback batch (FEEDBACK-22…33: `drawer-ui`, `chart-ui`, `segmented-ui`, `UIElement` lifecycle, exports-map `types` conditions) — shipped in `@adia-ai/web-components` + `@adia-ai/web-modules`. See `packages/web-components/CHANGELOG.md#0619--2026-05-21`.
|
|
10
|
+
|
|
11
|
+
## [0.6.18] — 2026-05-21
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
- **`catalog-a2ui_0_9.json` + `catalog-a2ui_0_9_rules.txt` regenerated.** Re-emitted to reflect the `button-ui` (FB-15 `anti_patterns` entry) and `toggle-scheme-ui` (FB-13 / FB-14) yaml-schema changes shipped in `@adia-ai/web-components` v0.6.18 — keeps the A2UI component catalog in sync with the primitive schemas.
|
|
15
|
+
|
|
16
|
+
### Note
|
|
17
|
+
- The headline v0.6.18 work shipped in `@adia-ai/web-components` — `stat-ui` + `table-ui` `loading` props (FB-12 P2) and `text-ui` `size` / `color` / `weight` / `text-align` overlay attributes (FB-10). See `packages/web-components/CHANGELOG.md#0618--2026-05-21` for details.
|
|
18
|
+
|
|
3
19
|
## [0.6.17] — 2026-05-21
|
|
4
20
|
|
|
5
21
|
### Maintenance
|
package/catalog-a2ui_0_9.json
CHANGED
|
@@ -3007,7 +3007,14 @@
|
|
|
3007
3007
|
],
|
|
3008
3008
|
"unevaluatedProperties": false,
|
|
3009
3009
|
"x-adiaui": {
|
|
3010
|
-
"anti_patterns": [
|
|
3010
|
+
"anti_patterns": [
|
|
3011
|
+
{
|
|
3012
|
+
"description": "Beginning text= with a symbol that icon= already renders. icon=\"plus\" paints a Phosphor \"+\" glyph; text=\"+ New Item\" then renders the literal \"+\" too, so the symbol appears twice ([+ icon] [+ New Item]).",
|
|
3013
|
+
"right": "<button-ui text=\"New Claim\" icon=\"plus\" variant=\"primary\"></button-ui>\n",
|
|
3014
|
+
"rule": "Do not repeat the icon's glyph in text=. The icon provides the symbol; text= carries only the words. Applies to plus / minus / x / check / arrow icons.",
|
|
3015
|
+
"wrong": "<button-ui text=\"+ New Claim\" icon=\"plus\" variant=\"primary\"></button-ui>\n"
|
|
3016
|
+
}
|
|
3017
|
+
],
|
|
3011
3018
|
"category": "action",
|
|
3012
3019
|
"composes": [
|
|
3013
3020
|
"icon-ui"
|
|
@@ -3626,6 +3633,11 @@
|
|
|
3626
3633
|
"component": {
|
|
3627
3634
|
"const": "Chart"
|
|
3628
3635
|
},
|
|
3636
|
+
"data": {
|
|
3637
|
+
"description": "JS property (set programmatically — `el.data = [...]`). An array of plain objects; each object's keys are named by the `x` and `y` attributes — e.g. `<chart-ui x=\"month\" y=\"revenue\">` consumes `[{month:'Jan', revenue:3200}, {month:'Feb', revenue:4100}]`. The Chart.js `{labels, datasets}` envelope is NOT chart-ui's API — passing it (or any non-array value) renders an empty chart. May also be supplied declaratively as a JSON-array `data=\"[…]\"` attribute, hydrated once at connect. Custom accessor on the element class, not a reflected attribute.",
|
|
3638
|
+
"type": "array",
|
|
3639
|
+
"default": []
|
|
3640
|
+
},
|
|
3629
3641
|
"format": {
|
|
3630
3642
|
"description": "Number-format mode applied to axis labels + value overlays + donut total + gauge value + treemap value + funnel value + internal tooltip. `abbr` is the legacy 1.2K / 3M format; `decimal` fixes 2 decimals; `currency` prefixes via `--chart-currency-prefix` token (default \"$\"); `percent` multiplies × 100 and adds a % suffix.",
|
|
3631
3643
|
"type": "string",
|
|
@@ -6350,7 +6362,14 @@
|
|
|
6350
6362
|
],
|
|
6351
6363
|
"unevaluatedProperties": false,
|
|
6352
6364
|
"x-adiaui": {
|
|
6353
|
-
"anti_patterns": [
|
|
6365
|
+
"anti_patterns": [
|
|
6366
|
+
{
|
|
6367
|
+
"description": "Replacing a drawer's children wholesale — `drawer.innerHTML = '…'` — wipes the internal <dialog> part UIDrawer stamps and tracks. render() re-stamps and re-binds the dialog defensively (FEEDBACK-30), but the authored header/section/footer skeleton is still destroyed on every mutation, and any consumer-held reference to a former child is stale.",
|
|
6368
|
+
"right": "<drawer-ui><header>Title</header><section id=\"body\"></section></drawer-ui>\n<!-- mutate a stable inner element, never the component host -->\ndocument.getElementById('body').innerHTML = renderFields(claim);\n",
|
|
6369
|
+
"rule": "Never set .innerHTML on a UIElement component host. Keep <header>/<section>/<footer> as persistent children and mutate the content of a plain inner element instead.",
|
|
6370
|
+
"wrong": "drawer.innerHTML = `<header>${title}</header><section>${body}</section>`;\n"
|
|
6371
|
+
}
|
|
6372
|
+
],
|
|
6354
6373
|
"category": "container",
|
|
6355
6374
|
"composes": [],
|
|
6356
6375
|
"events": {
|
|
@@ -6368,6 +6387,9 @@
|
|
|
6368
6387
|
]
|
|
6369
6388
|
}
|
|
6370
6389
|
}
|
|
6390
|
+
},
|
|
6391
|
+
"opened": {
|
|
6392
|
+
"description": "Fired after the drawer finishes its open transition — scheduled `--drawer-duration` ms after `showModal()` + `[data-open]`. Lets Playwright (and any consumer code waiting for the drawer to be fully open and interactive) listen for an event instead of guessing with a fixed timeout. Cancelled if the drawer closes before the open transition completes, so a rapid close→open never fires a stale `opened`. Added per FEEDBACK-27."
|
|
6371
6393
|
}
|
|
6372
6394
|
},
|
|
6373
6395
|
"examples": [
|
|
@@ -12775,7 +12797,7 @@
|
|
|
12775
12797
|
},
|
|
12776
12798
|
"Segmented": {
|
|
12777
12799
|
"title": "Segmented",
|
|
12778
|
-
"description": "
|
|
12800
|
+
"description": "Single-select toggle group with an animated sliding indicator. Children must be segment-ui elements.",
|
|
12779
12801
|
"type": "object",
|
|
12780
12802
|
"allOf": [
|
|
12781
12803
|
{
|
|
@@ -12810,8 +12832,8 @@
|
|
|
12810
12832
|
},
|
|
12811
12833
|
"examples": [
|
|
12812
12834
|
{
|
|
12813
|
-
"description": "
|
|
12814
|
-
"a2ui": "[\n {\n \"id\": \"root\",\n \"component\": \"Card\",\n \"children\": [\n \"sec\"\n ]\n },\n {\n \"id\": \"sec\",\n \"component\": \"Section\",\n \"children\": [\n \"comp\"\n ]\n },\n {\n \"id\": \"comp\",\n \"component\": \"Segmented\",\n \"value\": \"\"\n }\n]",
|
|
12835
|
+
"description": "Segmented control with three segment-ui children for view switching.",
|
|
12836
|
+
"a2ui": "[\n {\n \"id\": \"root\",\n \"component\": \"Card\",\n \"children\": [\n \"sec\"\n ]\n },\n {\n \"id\": \"sec\",\n \"component\": \"Section\",\n \"children\": [\n \"comp\"\n ]\n },\n {\n \"id\": \"comp\",\n \"component\": \"Segmented\",\n \"value\": \"daily\",\n \"children\": [\n \"s1\",\n \"s2\",\n \"s3\"\n ]\n },\n {\n \"id\": \"s1\",\n \"component\": \"Segment\",\n \"value\": \"daily\",\n \"text\": \"Daily\"\n },\n {\n \"id\": \"s2\",\n \"component\": \"Segment\",\n \"value\": \"weekly\",\n \"text\": \"Weekly\"\n },\n {\n \"id\": \"s3\",\n \"component\": \"Segment\",\n \"value\": \"monthly\",\n \"text\": \"Monthly\"\n }\n]",
|
|
12815
12837
|
"name": "basic-segmented"
|
|
12816
12838
|
}
|
|
12817
12839
|
],
|
|
@@ -12827,7 +12849,14 @@
|
|
|
12827
12849
|
],
|
|
12828
12850
|
"name": "UISegmented",
|
|
12829
12851
|
"related": [],
|
|
12830
|
-
"slots": {
|
|
12852
|
+
"slots": {
|
|
12853
|
+
"default": {
|
|
12854
|
+
"description": "Child segment-ui elements that form the toggle group. Children MUST be segment-ui — bare segment tags render text but are silently ignored for the sliding indicator and role/aria-checked state."
|
|
12855
|
+
},
|
|
12856
|
+
"indicator": {
|
|
12857
|
+
"description": "Auto-created sliding indicator element prepended on first render."
|
|
12858
|
+
}
|
|
12859
|
+
},
|
|
12831
12860
|
"states": [
|
|
12832
12861
|
{
|
|
12833
12862
|
"description": "Default, ready for interaction.",
|
|
@@ -13710,6 +13739,11 @@
|
|
|
13710
13739
|
"type": "string",
|
|
13711
13740
|
"default": ""
|
|
13712
13741
|
},
|
|
13742
|
+
"loading": {
|
|
13743
|
+
"description": "Renders skeleton-ui shimmer placeholders in place of the value and change slots while data is fetching. Sets aria-busy=\"true\" on the host. Label and icon are preserved (they're static metadata, not fetched data). Toggle back to false when data arrives.",
|
|
13744
|
+
"type": "boolean",
|
|
13745
|
+
"default": false
|
|
13746
|
+
},
|
|
13713
13747
|
"trend": {
|
|
13714
13748
|
"description": "Trend direction or narrative subtitle. Canonical values color the change badge (up=success, down=danger, neutral/flat=muted); any other string renders as caption-style text under the primary value.",
|
|
13715
13749
|
"type": "string",
|
|
@@ -13729,7 +13763,8 @@
|
|
|
13729
13763
|
"anti_patterns": [],
|
|
13730
13764
|
"category": "display",
|
|
13731
13765
|
"composes": [
|
|
13732
|
-
"icon-ui"
|
|
13766
|
+
"icon-ui",
|
|
13767
|
+
"skeleton-ui"
|
|
13733
13768
|
],
|
|
13734
13769
|
"events": {},
|
|
13735
13770
|
"examples": [
|
|
@@ -14916,7 +14951,7 @@
|
|
|
14916
14951
|
"default": false
|
|
14917
14952
|
},
|
|
14918
14953
|
"loading": {
|
|
14919
|
-
"description": "
|
|
14954
|
+
"description": "Renders N ghost skeleton rows in place of the body data (count derived from `paginate` if set, else 5). Header + columns stay intact so the table layout is preserved while data fetches. Sets aria-busy=\"true\" on the host. Data updates are deferred until loading is set back to false.",
|
|
14920
14955
|
"type": "boolean",
|
|
14921
14956
|
"default": false
|
|
14922
14957
|
},
|
|
@@ -14963,6 +14998,7 @@
|
|
|
14963
14998
|
"icon-ui",
|
|
14964
14999
|
"progress-ui",
|
|
14965
15000
|
"pagination-ui",
|
|
15001
|
+
"skeleton-ui",
|
|
14966
15002
|
"badge-ui"
|
|
14967
15003
|
],
|
|
14968
15004
|
"events": {
|
|
@@ -15980,6 +16016,20 @@
|
|
|
15980
16016
|
}
|
|
15981
16017
|
],
|
|
15982
16018
|
"properties": {
|
|
16019
|
+
"color": {
|
|
16020
|
+
"description": "Override the variant's color token. Permissive: unknown values are no-ops (variant color wins). Added v0.6.18 (FB-10).",
|
|
16021
|
+
"type": "string",
|
|
16022
|
+
"enum": [
|
|
16023
|
+
"default",
|
|
16024
|
+
"subtle",
|
|
16025
|
+
"strong",
|
|
16026
|
+
"accent",
|
|
16027
|
+
"danger",
|
|
16028
|
+
"success",
|
|
16029
|
+
"warning"
|
|
16030
|
+
],
|
|
16031
|
+
"default": ""
|
|
16032
|
+
},
|
|
15983
16033
|
"component": {
|
|
15984
16034
|
"const": "Text"
|
|
15985
16035
|
},
|
|
@@ -15988,11 +16038,32 @@
|
|
|
15988
16038
|
"type": "number",
|
|
15989
16039
|
"default": 0
|
|
15990
16040
|
},
|
|
16041
|
+
"size": {
|
|
16042
|
+
"description": "Override the variant's font-size on the body ladder. Maps to --a-body-sm / --a-body-md / --a-body-lg. Permissive: unknown values are no-ops (variant size wins). Added v0.6.18 (FB-10).",
|
|
16043
|
+
"type": "string",
|
|
16044
|
+
"enum": [
|
|
16045
|
+
"sm",
|
|
16046
|
+
"md",
|
|
16047
|
+
"lg"
|
|
16048
|
+
],
|
|
16049
|
+
"default": ""
|
|
16050
|
+
},
|
|
15991
16051
|
"strong": {
|
|
15992
16052
|
"description": "When true, applies stronger emphasis (heavier weight + accent color). Styled via :scope[strong] in text.css. Use instead of variant=heading when you want a single emphasized word inline in body copy.",
|
|
15993
16053
|
"type": "boolean",
|
|
15994
16054
|
"default": false
|
|
15995
16055
|
},
|
|
16056
|
+
"text-align": {
|
|
16057
|
+
"description": "Override text alignment. Note: text-ui defaults to display:inline, so this only takes effect when text-ui is block-like (wrapping or parent display:block/grid). Added v0.6.18 (FB-10).",
|
|
16058
|
+
"type": "string",
|
|
16059
|
+
"enum": [
|
|
16060
|
+
"start",
|
|
16061
|
+
"center",
|
|
16062
|
+
"end",
|
|
16063
|
+
"justify"
|
|
16064
|
+
],
|
|
16065
|
+
"default": ""
|
|
16066
|
+
},
|
|
15996
16067
|
"textContent": {
|
|
15997
16068
|
"description": "Display text content. The main payload field for Text components extracted from HTML.",
|
|
15998
16069
|
"$ref": "#/$defs/DynamicString"
|
|
@@ -16034,6 +16105,17 @@
|
|
|
16034
16105
|
"section": "Inline form-group / navlist heading (visual rank H4). Small-cap. Use for form group labels, nav list headings.",
|
|
16035
16106
|
"subsection": "Sub-landmark within a section (visual rank H3). 14px / semibold. Use for card titles within a section."
|
|
16036
16107
|
}
|
|
16108
|
+
},
|
|
16109
|
+
"weight": {
|
|
16110
|
+
"description": "Override the variant's font-weight. Maps to --a-weight / --a-weight-medium / --a-weight-semibold / --a-weight-bold. Permissive: unknown values are no-ops (variant weight wins). Added v0.6.18 (FB-10).",
|
|
16111
|
+
"type": "string",
|
|
16112
|
+
"enum": [
|
|
16113
|
+
"regular",
|
|
16114
|
+
"medium",
|
|
16115
|
+
"semibold",
|
|
16116
|
+
"bold"
|
|
16117
|
+
],
|
|
16118
|
+
"default": ""
|
|
16037
16119
|
}
|
|
16038
16120
|
},
|
|
16039
16121
|
"required": [
|
|
@@ -16095,9 +16177,24 @@
|
|
|
16095
16177
|
}
|
|
16096
16178
|
],
|
|
16097
16179
|
"properties": {
|
|
16180
|
+
"required": {
|
|
16181
|
+
"description": "Marks the field as required for form validation. Sets aria-required. Inherited from UIFormElement.",
|
|
16182
|
+
"type": "boolean",
|
|
16183
|
+
"default": false
|
|
16184
|
+
},
|
|
16098
16185
|
"component": {
|
|
16099
16186
|
"const": "Textarea"
|
|
16100
16187
|
},
|
|
16188
|
+
"disabled": {
|
|
16189
|
+
"description": "Disables interaction, removes contenteditable, and dims the control. Inherited from UIFormElement.",
|
|
16190
|
+
"type": "boolean",
|
|
16191
|
+
"default": false
|
|
16192
|
+
},
|
|
16193
|
+
"error": {
|
|
16194
|
+
"description": "Validation error message. Set by constraint validation or manually via setInvalid(). Inherited from UIFormElement.",
|
|
16195
|
+
"type": "string",
|
|
16196
|
+
"default": ""
|
|
16197
|
+
},
|
|
16101
16198
|
"hint": {
|
|
16102
16199
|
"description": "Help text displayed below the textarea. Hidden when error is set.",
|
|
16103
16200
|
"type": "string",
|
|
@@ -16118,6 +16215,11 @@
|
|
|
16118
16215
|
"type": "string",
|
|
16119
16216
|
"default": ""
|
|
16120
16217
|
},
|
|
16218
|
+
"readonly": {
|
|
16219
|
+
"description": "Prevents editing while keeping the surface focusable. Sets contenteditable=false. Inherited from UIFormElement.",
|
|
16220
|
+
"type": "boolean",
|
|
16221
|
+
"default": false
|
|
16222
|
+
},
|
|
16121
16223
|
"resize": {
|
|
16122
16224
|
"description": "Resize behavior of the textarea.",
|
|
16123
16225
|
"type": "string",
|
|
@@ -16138,6 +16240,11 @@
|
|
|
16138
16240
|
"description": "§220 (v0.5.9, FEEDBACK-14 §3). Trailing-debounce on the `input`\nevent in milliseconds. When > 0, value mutates immediately + the UI\nstays responsive, but `input` dispatch is collapsed so only the\nfinal value in the throttle window emits. Useful for expensive\n`input`-driven computation (autosave preview, server-side\nautocomplete, large-doc reflow). `change` fires unthrottled on blur\n/ Enter; any pending `input` flushes before `change` so consumers\nsee input→input→…→input→change ordering. Default 0 preserves\nsynchronous emission.",
|
|
16139
16241
|
"type": "number",
|
|
16140
16242
|
"default": 0
|
|
16243
|
+
},
|
|
16244
|
+
"value": {
|
|
16245
|
+
"description": "Current textarea value, synced with the contenteditable text surface. Inherited from UIFormElement.",
|
|
16246
|
+
"type": "string",
|
|
16247
|
+
"default": ""
|
|
16141
16248
|
}
|
|
16142
16249
|
},
|
|
16143
16250
|
"required": [
|
|
@@ -39,6 +39,9 @@
|
|
|
39
39
|
## Switch
|
|
40
40
|
- Self-labeling widget — use the [label] attribute directly; do NOT wrap in <field-ui>. The widget renders its own label inline via CSS attr() pattern. For settings rows (label-left, switch-right), put the descriptive text in switch-ui's own [label] attribute; do not introduce a field-ui wrapper. For descriptive helper text below the switch, use <text-ui variant='caption'> as a sibling — not field-ui's hint slot.
|
|
41
41
|
|
|
42
|
+
## ToggleScheme
|
|
43
|
+
- Place toggle-scheme-ui in the shell topbar's trailing action cluster — slot="action" inside <admin-topbar slot="header"> of <admin-content>. It is a persistent, app-wide preference control; never put it in a sidebar footer / <admin-statusbar>, which hosts user-account items only.
|
|
44
|
+
|
|
42
45
|
## ChatComposer
|
|
43
46
|
- chat-composer is the bespoke replacement for legacy <chat-input-ui data-chat-input> inside <chat-shell>. Place an inner <chat-input-ui submit-on-enter> as the primary input.
|
|
44
47
|
- The host listens for 'composer-submit' on the composer (not on the inner input). The event detail mirrors the inner submit event so existing handlers Just Work.
|