@adia-ai/a2ui-corpus 0.6.37 → 0.6.39
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 +641 -5
- package/catalog-a2ui_0_9_rules.txt +24 -0
- package/chunk-embeddings.json +1 -1
- package/chunks/_index.json +30 -4
- package/chunks/accordion-settings.json +1 -1
- package/chunks/agent-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/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/breadcrumb-nav.json +1 -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 +1 -1
- package/chunks/chat-page-shell.json +1 -1
- package/chunks/chat-streaming-surface.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/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-kpi-grid.json +1 -1
- package/chunks/dashboard-notifications-feed.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-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 +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/date-time-picker-form.json +1 -1
- package/chunks/destructive-confirm-modal.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 +202 -33
- 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-payment-method.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/editor-preview-pane.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/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-carousel.json +1 -1
- package/chunks/image-tile.json +1 -1
- package/chunks/image-upload-preview.json +1 -1
- package/chunks/import-mapping-flow.json +934 -0
- package/chunks/inventory-list-stock.json +1 -1
- package/chunks/kanban-board-3col.json +1 -1
- package/chunks/kanban-page-shell.json +1 -1
- package/chunks/kbd-shortcuts.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/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/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 +1 -1
- package/chunks/onb-story-pane.json +1 -1
- package/chunks/onb-tutorial-steps.json +1 -1
- package/chunks/pagination-controls.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/progress-tracker-milestones.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/search-with-filters.json +1 -1
- package/chunks/section-with-stack.json +1 -1
- package/chunks/select-multiple-preselected.json +1 -1
- package/chunks/settings-admin-page.json +1 -1
- package/chunks/settings-appearance.json +1 -1
- 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 +1 -1
- package/chunks/settings-page-shell.json +1 -1
- package/chunks/settings-profile-security.json +1 -1
- package/chunks/sidebar-collapsible-nav.json +1 -1
- package/chunks/slider-range-controls.json +1 -1
- package/chunks/tabs-with-panels.json +1 -1
- package/chunks/testimonial-grid.json +1 -1
- package/chunks/text-card.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/user-identity-row.json +1 -1
- package/chunks/user-profile-card.json +1 -1
- package/chunks/users-table-badge.json +1 -1
- package/chunks/video-player-controls.json +1 -1
- package/package.json +1 -1
package/catalog-a2ui_0_9.json
CHANGED
|
@@ -336,6 +336,9 @@
|
|
|
336
336
|
"action": {
|
|
337
337
|
"description": "§206 (v0.5.7): action buttons inside a custom header (e.g. Copy /\nDownload / settings). Children placed at `[slot=\"action\"]` (or\n`[slot=\"actions\"]`, or marked `[data-no-toggle]`) are excluded from\nthe toggle-on-click cascade — clicking them fires their own handler\nwithout also toggling the section."
|
|
338
338
|
},
|
|
339
|
+
"body": {
|
|
340
|
+
"description": "The section's collapsible content. Renders below the header; hidden when `[open]` is unset. Author-fills with prose, lists, embedded forms, or any rich markup the panel needs."
|
|
341
|
+
},
|
|
339
342
|
"header": {
|
|
340
343
|
"description": "Custom header content. By default `[text]` renders as a plain header\nlabel, but a `[slot=\"header\"]` override lets consumers author rich\nheaders (icon + title + action buttons + caret)."
|
|
341
344
|
}
|
|
@@ -418,7 +421,11 @@
|
|
|
418
421
|
"MenuItem",
|
|
419
422
|
"Button"
|
|
420
423
|
],
|
|
421
|
-
"slots": {
|
|
424
|
+
"slots": {
|
|
425
|
+
"icon": {
|
|
426
|
+
"description": "Override the [icon] glyph with a custom slotted element (custom icon-ui, image, avatar). Mutually exclusive with the [icon] attribute — slot child wins."
|
|
427
|
+
}
|
|
428
|
+
},
|
|
422
429
|
"states": [],
|
|
423
430
|
"status": "stable",
|
|
424
431
|
"synonyms": {
|
|
@@ -4309,7 +4316,23 @@
|
|
|
4309
4316
|
"alert",
|
|
4310
4317
|
"skeleton"
|
|
4311
4318
|
],
|
|
4312
|
-
"slots": {
|
|
4319
|
+
"slots": {
|
|
4320
|
+
"description": {
|
|
4321
|
+
"description": "Optional descriptive text beneath the heading. Renders in the header slot at body-subtle typography. Use for short metadata lines (timestamp, author, status sentence)."
|
|
4322
|
+
},
|
|
4323
|
+
"action": {
|
|
4324
|
+
"description": "Trailing action cluster in the header (e.g. icon-buttons, menu trigger, more-options). Aligns to the header's flex-end edge."
|
|
4325
|
+
},
|
|
4326
|
+
"action-leading": {
|
|
4327
|
+
"description": "Leading action cluster in the header (e.g. back button, switcher, breadcrumb-context). Aligns to the header's flex-start edge, before the icon/heading column."
|
|
4328
|
+
},
|
|
4329
|
+
"heading": {
|
|
4330
|
+
"description": "Card title. Renders in the header slot with title typography. Typically a short noun phrase or document/object name."
|
|
4331
|
+
},
|
|
4332
|
+
"icon": {
|
|
4333
|
+
"description": "Optional leading icon for the card header (status / brand / type marker). Renders next to the heading. Use `<icon-ui name=\"…\">` or any inline icon element."
|
|
4334
|
+
}
|
|
4335
|
+
},
|
|
4313
4336
|
"states": [
|
|
4314
4337
|
{
|
|
4315
4338
|
"description": "Default, ready for interaction.",
|
|
@@ -7393,9 +7416,24 @@
|
|
|
7393
7416
|
"Text"
|
|
7394
7417
|
],
|
|
7395
7418
|
"slots": {
|
|
7419
|
+
"description": {
|
|
7420
|
+
"description": "Override the stamped description line below the heading. Author-fills with richer markup when the [description] attribute isn't enough."
|
|
7421
|
+
},
|
|
7396
7422
|
"default": {
|
|
7397
7423
|
"description": "Optional rich content rendered above the description — supplementary\nlists, hints, or markup the [description] string can't carry.\n"
|
|
7398
7424
|
},
|
|
7425
|
+
"body": {
|
|
7426
|
+
"description": "Dialog body region (between header and footer). For rich content — paragraphs, lists, embedded form fields. Distinct from [slot=\"default\"] which sits above [description] in the header region."
|
|
7427
|
+
},
|
|
7428
|
+
"footer": {
|
|
7429
|
+
"description": "Wholesale override of the stamped footer (Cancel / Confirm action cluster). Use only for full custom-footer markup; otherwise the host's [cancel-text] / [confirm-text] / [confirm-variant] attrs drive the default footer rendering."
|
|
7430
|
+
},
|
|
7431
|
+
"header": {
|
|
7432
|
+
"description": "Wholesale override of the stamped header (icon + heading + description cluster). Use only when full custom-header markup is needed; otherwise prefer the granular icon/heading/description slot overrides."
|
|
7433
|
+
},
|
|
7434
|
+
"heading": {
|
|
7435
|
+
"description": "Override the stamped heading. Author-fillable when richer markup than the plain [text] string is needed (inline links, code spans, etc.)."
|
|
7436
|
+
},
|
|
7399
7437
|
"icon": {
|
|
7400
7438
|
"description": "Override the [icon] glyph with a custom node (e.g. a colored\n<icon-ui>, an image, or arbitrary markup). Mutually exclusive\nwith [icon]; if a slot child is present, the [icon] attribute\nis ignored.\n"
|
|
7401
7439
|
}
|
|
@@ -10156,8 +10194,17 @@
|
|
|
10156
10194
|
"select"
|
|
10157
10195
|
],
|
|
10158
10196
|
"slots": {
|
|
10197
|
+
"description": {
|
|
10198
|
+
"description": "Override slot for the description text. Use for multi-paragraph or richly-marked-up explanatory copy."
|
|
10199
|
+
},
|
|
10159
10200
|
"action": {
|
|
10160
10201
|
"description": "User-provided action element (e.g. button) displayed below the description"
|
|
10202
|
+
},
|
|
10203
|
+
"heading": {
|
|
10204
|
+
"description": "Override slot for the heading text. Use when richer markup than the plain [heading] attribute is needed (line breaks, inline links, bold emphasis)."
|
|
10205
|
+
},
|
|
10206
|
+
"icon": {
|
|
10207
|
+
"description": "Override slot for the [icon] glyph. Use when the attribute-driven Phosphor icon isn't enough (e.g., custom SVG, illustration, or a styled icon-ui with non-default weight). Mutually exclusive with [icon]."
|
|
10161
10208
|
}
|
|
10162
10209
|
},
|
|
10163
10210
|
"states": [
|
|
@@ -10314,6 +10361,11 @@
|
|
|
10314
10361
|
}
|
|
10315
10362
|
],
|
|
10316
10363
|
"properties": {
|
|
10364
|
+
"action": {
|
|
10365
|
+
"description": "Label of an inline action button (the \"deep-link\" / \"undo\" pattern).\nPair with `onAction` callback in `UIFeed.post()` — click invokes the\ncallback then auto-dismisses. Empty string renders no action button.\n",
|
|
10366
|
+
"type": "string",
|
|
10367
|
+
"default": ""
|
|
10368
|
+
},
|
|
10317
10369
|
"component": {
|
|
10318
10370
|
"const": "FeedItem"
|
|
10319
10371
|
},
|
|
@@ -10507,6 +10559,12 @@
|
|
|
10507
10559
|
"action": {
|
|
10508
10560
|
"description": "Button adjacent to the control for inline actions (clear, reset, help popover)."
|
|
10509
10561
|
},
|
|
10562
|
+
"error": {
|
|
10563
|
+
"description": "Override slot for error markup richer than the plain [error] attribute string. Rendered below the control with danger-text styling. Mutually exclusive with [error]."
|
|
10564
|
+
},
|
|
10565
|
+
"hint": {
|
|
10566
|
+
"description": "Override slot for hint markup richer than the plain [hint] attribute string (inline links, code spans, abbreviations). Rendered below the control at body-subtle typography. Mutually exclusive with [hint]."
|
|
10567
|
+
},
|
|
10510
10568
|
"trailing": {
|
|
10511
10569
|
"description": "Secondary text or badge aligned with the label in the stacked layout (right-aligned) or between label and control in the inline layout."
|
|
10512
10570
|
}
|
|
@@ -11604,6 +11662,163 @@
|
|
|
11604
11662
|
"version": 1
|
|
11605
11663
|
}
|
|
11606
11664
|
},
|
|
11665
|
+
"InlineEdit": {
|
|
11666
|
+
"title": "InlineEdit",
|
|
11667
|
+
"description": "Click-to-edit text in place. Renders as static text until clicked /\nfocused + Enter, then becomes editable. Enter or blur commits; Escape\ncancels and restores the original value. Form-participating.\n\nUse for editable titles, breadcrumb labels, table-cell text fields,\ndraft document names — any case where a user expects to edit text\nwithout opening a separate dialog or input. Distinct from `<input-ui>`\n(always-editable chrome) and from `<field-ui>` (stacked label + input\ncomposition). inline-edit reads as text in static state.\n",
|
|
11668
|
+
"type": "object",
|
|
11669
|
+
"allOf": [
|
|
11670
|
+
{
|
|
11671
|
+
"$ref": "#/$defs/ComponentCommon"
|
|
11672
|
+
},
|
|
11673
|
+
{
|
|
11674
|
+
"$ref": "#/$defs/CatalogComponentCommon"
|
|
11675
|
+
}
|
|
11676
|
+
],
|
|
11677
|
+
"properties": {
|
|
11678
|
+
"commit": {
|
|
11679
|
+
"description": "When to commit pending edits. `blur` (default) — saves on focusout\nor Enter. `enter` — Enter saves, blur cancels (returns to original).\n`manual` — only programmatic `commitEdit()` saves.\n",
|
|
11680
|
+
"type": "string",
|
|
11681
|
+
"enum": [
|
|
11682
|
+
"blur",
|
|
11683
|
+
"enter",
|
|
11684
|
+
"manual"
|
|
11685
|
+
],
|
|
11686
|
+
"default": "blur"
|
|
11687
|
+
},
|
|
11688
|
+
"component": {
|
|
11689
|
+
"const": "InlineEdit"
|
|
11690
|
+
},
|
|
11691
|
+
"editing": {
|
|
11692
|
+
"description": "Reflected state — `true` when the element is actively being edited.\nToggles automatically on click / Enter / blur / Escape; rarely set\nby consumers. Listen to `edit-start` / `edit-end` events instead.\n",
|
|
11693
|
+
"type": "boolean",
|
|
11694
|
+
"default": false
|
|
11695
|
+
},
|
|
11696
|
+
"placeholder": {
|
|
11697
|
+
"description": "Hint text shown when the value is empty (inline-edit reads this in the static state).",
|
|
11698
|
+
"type": "string",
|
|
11699
|
+
"default": "Click to edit"
|
|
11700
|
+
}
|
|
11701
|
+
},
|
|
11702
|
+
"required": [
|
|
11703
|
+
"component"
|
|
11704
|
+
],
|
|
11705
|
+
"unevaluatedProperties": false,
|
|
11706
|
+
"x-adiaui": {
|
|
11707
|
+
"anti_patterns": [
|
|
11708
|
+
{
|
|
11709
|
+
"fix": "<inline-edit-ui value=\"Title\" name=\"title\"> — reads as text in static state; chrome only appears while editing.",
|
|
11710
|
+
"why": "Ghost variant still renders input chrome (border on focus). Looks like a control, not text.",
|
|
11711
|
+
"wrong": "<input-ui value=\"Title\" name=\"title\" variant=\"ghost\">"
|
|
11712
|
+
},
|
|
11713
|
+
{
|
|
11714
|
+
"fix": "<inline-edit-ui value=\"Title\">",
|
|
11715
|
+
"why": "No state machine — no commit/cancel semantics, no form participation, no a11y wiring.",
|
|
11716
|
+
"wrong": "<text-ui contenteditable>Title</text-ui>"
|
|
11717
|
+
}
|
|
11718
|
+
],
|
|
11719
|
+
"category": "form",
|
|
11720
|
+
"composes": [],
|
|
11721
|
+
"events": {
|
|
11722
|
+
"cancel": {
|
|
11723
|
+
"description": "Fired when Escape (or blur with commit=enter) restores the original. Bubbles."
|
|
11724
|
+
},
|
|
11725
|
+
"change": {
|
|
11726
|
+
"description": "Fired after a successful commit. detail = { value, oldValue }. Bubbles."
|
|
11727
|
+
},
|
|
11728
|
+
"edit-end": {
|
|
11729
|
+
"description": "Fired when leaving edit mode. detail = { committed: boolean }. Bubbles."
|
|
11730
|
+
},
|
|
11731
|
+
"edit-start": {
|
|
11732
|
+
"description": "Fired when entering edit mode. Bubbles."
|
|
11733
|
+
}
|
|
11734
|
+
},
|
|
11735
|
+
"examples": [
|
|
11736
|
+
{
|
|
11737
|
+
"description": "A draft document title that becomes editable on click.",
|
|
11738
|
+
"a2ui": "[{ \"id\": \"title\", \"component\": \"InlineEdit\", \"value\": \"Untitled draft\" }]\n",
|
|
11739
|
+
"name": "editable-title"
|
|
11740
|
+
}
|
|
11741
|
+
],
|
|
11742
|
+
"keywords": [
|
|
11743
|
+
"inline-edit",
|
|
11744
|
+
"editable",
|
|
11745
|
+
"click-to-edit",
|
|
11746
|
+
"rename",
|
|
11747
|
+
"edit-in-place"
|
|
11748
|
+
],
|
|
11749
|
+
"name": "UIInlineEdit",
|
|
11750
|
+
"related": [
|
|
11751
|
+
"input",
|
|
11752
|
+
"field",
|
|
11753
|
+
"text"
|
|
11754
|
+
],
|
|
11755
|
+
"slots": {},
|
|
11756
|
+
"states": [
|
|
11757
|
+
{
|
|
11758
|
+
"description": "Static — text reads as plain text with a hover hint.",
|
|
11759
|
+
"name": "idle"
|
|
11760
|
+
},
|
|
11761
|
+
{
|
|
11762
|
+
"description": "Hover affordance — subtle background tint signals editability.",
|
|
11763
|
+
"name": "hover"
|
|
11764
|
+
},
|
|
11765
|
+
{
|
|
11766
|
+
"description": "contenteditable — host is the input surface; outline + caret.",
|
|
11767
|
+
"name": "editing"
|
|
11768
|
+
},
|
|
11769
|
+
{
|
|
11770
|
+
"description": "Value is empty and not editing — placeholder text renders.",
|
|
11771
|
+
"name": "empty"
|
|
11772
|
+
},
|
|
11773
|
+
{
|
|
11774
|
+
"description": "Locked; click + keyboard activation are no-ops.",
|
|
11775
|
+
"name": "disabled"
|
|
11776
|
+
}
|
|
11777
|
+
],
|
|
11778
|
+
"status": "stable",
|
|
11779
|
+
"synonyms": {
|
|
11780
|
+
"inline-edit": [
|
|
11781
|
+
"editable",
|
|
11782
|
+
"click-to-edit",
|
|
11783
|
+
"edit-in-place",
|
|
11784
|
+
"rename-in-place"
|
|
11785
|
+
]
|
|
11786
|
+
},
|
|
11787
|
+
"tag": "inline-edit-ui",
|
|
11788
|
+
"tokens": {
|
|
11789
|
+
"--inline-edit-bg-edit": {
|
|
11790
|
+
"description": "Background while editing.",
|
|
11791
|
+
"default": "var(--a-bg)"
|
|
11792
|
+
},
|
|
11793
|
+
"--inline-edit-bg-hover": {
|
|
11794
|
+
"description": "Background tint on hover (idle state).",
|
|
11795
|
+
"default": "var(--a-bg-muted)"
|
|
11796
|
+
},
|
|
11797
|
+
"--inline-edit-outline": {
|
|
11798
|
+
"description": "Outline color in the editing state.",
|
|
11799
|
+
"default": "var(--a-accent-strong)"
|
|
11800
|
+
},
|
|
11801
|
+
"--inline-edit-placeholder": {
|
|
11802
|
+
"description": "Placeholder text color in empty-static state.",
|
|
11803
|
+
"default": "var(--a-fg-subtle)"
|
|
11804
|
+
},
|
|
11805
|
+
"--inline-edit-px": {
|
|
11806
|
+
"description": "Horizontal padding (inner gutter so hover tint reads as a pill, not a flush block).",
|
|
11807
|
+
"default": "var(--a-space-1)"
|
|
11808
|
+
},
|
|
11809
|
+
"--inline-edit-py": {
|
|
11810
|
+
"description": "Vertical padding.",
|
|
11811
|
+
"default": "var(--a-space-0-5)"
|
|
11812
|
+
},
|
|
11813
|
+
"--inline-edit-radius": {
|
|
11814
|
+
"description": "Border-radius for the hover / editing chrome.",
|
|
11815
|
+
"default": "var(--a-radius-sm)"
|
|
11816
|
+
}
|
|
11817
|
+
},
|
|
11818
|
+
"traits": [],
|
|
11819
|
+
"version": 1
|
|
11820
|
+
}
|
|
11821
|
+
},
|
|
11607
11822
|
"InlineMessage": {
|
|
11608
11823
|
"title": "InlineMessage",
|
|
11609
11824
|
"description": "In-flow message glyph + text used in form-field rows for validation\nfeedback, hint copy, and inline confirmations. Distinguished from\n<alert-ui> (banner / surface-bearing notice) by carrying no surface\nfill, no border, no padding box — severity is foreground color +\nicon only. Variants map to severity (info / success / warning /\ndanger). Nests inside <field-ui>, <col-ui>, <row-ui> without\nbreaking field rhythm. Non-interactive annotation only.\n",
|
|
@@ -13759,7 +13974,17 @@
|
|
|
13759
13974
|
"MenuItem",
|
|
13760
13975
|
"TreeItem"
|
|
13761
13976
|
],
|
|
13762
|
-
"slots": {
|
|
13977
|
+
"slots": {
|
|
13978
|
+
"description": {
|
|
13979
|
+
"description": "Override slot for richer description markup than the plain [description] attribute string (inline links, code spans, multiple lines). Renders beneath the primary text at body-subtle typography."
|
|
13980
|
+
},
|
|
13981
|
+
"action": {
|
|
13982
|
+
"description": "Trailing action affordance on the row (typically a `<button-ui>`). Promotes the row's grid from 2-column (icon | content) to 3-column (icon | content | action), right-aligned + vertically centered across both content rows. Used by `<onboarding-checklist-ui>` item rows and any consumer that needs an end-aligned action button on a list-item."
|
|
13983
|
+
},
|
|
13984
|
+
"icon": {
|
|
13985
|
+
"description": "Override the [icon] glyph with a custom slotted element (e.g. a colored <icon-ui>, an image, or an avatar-ui). Mutually exclusive with the [icon] attribute — slot child wins if both are present."
|
|
13986
|
+
}
|
|
13987
|
+
},
|
|
13763
13988
|
"states": [],
|
|
13764
13989
|
"status": "stable",
|
|
13765
13990
|
"synonyms": {
|
|
@@ -14225,6 +14450,113 @@
|
|
|
14225
14450
|
"version": 1
|
|
14226
14451
|
}
|
|
14227
14452
|
},
|
|
14453
|
+
"Mark": {
|
|
14454
|
+
"title": "Mark",
|
|
14455
|
+
"description": "Highlighted inline text — token-driven theme-aware wrapper around the\nnative `<mark>` semantic. Use for search-result match highlighting,\ndiff additions in prose, \"new since last visit\" emphasis, and any\ninline text that needs a visual rail without changing its weight.\n\nDistinct from `<text-ui strong>` (semantic emphasis via weight) and\nfrom `<tag-ui>` (block-shaped pill chrome). mark-ui keeps the inline\ntext flow intact — same line-height, same baseline — just paints a\nbackground highlight behind the matched span.\n",
|
|
14456
|
+
"type": "object",
|
|
14457
|
+
"allOf": [
|
|
14458
|
+
{
|
|
14459
|
+
"$ref": "#/$defs/ComponentCommon"
|
|
14460
|
+
},
|
|
14461
|
+
{
|
|
14462
|
+
"$ref": "#/$defs/CatalogComponentCommon"
|
|
14463
|
+
}
|
|
14464
|
+
],
|
|
14465
|
+
"properties": {
|
|
14466
|
+
"component": {
|
|
14467
|
+
"const": "Mark"
|
|
14468
|
+
},
|
|
14469
|
+
"variant": {
|
|
14470
|
+
"description": "Highlight color variant. Default `warning` is the conventional yellow-marker tone.",
|
|
14471
|
+
"type": "string",
|
|
14472
|
+
"enum": [
|
|
14473
|
+
"warning",
|
|
14474
|
+
"info",
|
|
14475
|
+
"success",
|
|
14476
|
+
"danger",
|
|
14477
|
+
"muted"
|
|
14478
|
+
],
|
|
14479
|
+
"default": "warning"
|
|
14480
|
+
}
|
|
14481
|
+
},
|
|
14482
|
+
"required": [
|
|
14483
|
+
"component"
|
|
14484
|
+
],
|
|
14485
|
+
"unevaluatedProperties": false,
|
|
14486
|
+
"x-adiaui": {
|
|
14487
|
+
"anti_patterns": [
|
|
14488
|
+
{
|
|
14489
|
+
"fix": "<mark-ui>matched</mark-ui> — same semantic role but theme-aware.",
|
|
14490
|
+
"why": "Native <mark> uses UA default (yellow-on-white) that doesn't adapt to theme — invisible in dark mode + jarring in light mode.",
|
|
14491
|
+
"wrong": "<mark>matched</mark>"
|
|
14492
|
+
}
|
|
14493
|
+
],
|
|
14494
|
+
"category": "typography",
|
|
14495
|
+
"composes": [],
|
|
14496
|
+
"events": {},
|
|
14497
|
+
"examples": [
|
|
14498
|
+
{
|
|
14499
|
+
"description": "Highlight the search query within a result title.",
|
|
14500
|
+
"a2ui": "[\n { \"id\": \"row\", \"component\": \"Row\", \"children\": [\"pre\", \"mk\", \"post\"] },\n { \"id\": \"pre\", \"component\": \"Text\", \"textContent\": \"Quarterly \" },\n { \"id\": \"mk\", \"component\": \"Mark\", \"textContent\": \"revenue\" },\n { \"id\": \"post\", \"component\": \"Text\", \"textContent\": \" report — Q4 2025\" }\n]\n",
|
|
14501
|
+
"name": "search-match"
|
|
14502
|
+
}
|
|
14503
|
+
],
|
|
14504
|
+
"keywords": [
|
|
14505
|
+
"mark",
|
|
14506
|
+
"highlight",
|
|
14507
|
+
"search-match",
|
|
14508
|
+
"emphasis"
|
|
14509
|
+
],
|
|
14510
|
+
"name": "UIMark",
|
|
14511
|
+
"related": [
|
|
14512
|
+
"text",
|
|
14513
|
+
"tag"
|
|
14514
|
+
],
|
|
14515
|
+
"slots": {
|
|
14516
|
+
"default": {
|
|
14517
|
+
"description": "The text content to highlight (plain text or inline elements)."
|
|
14518
|
+
}
|
|
14519
|
+
},
|
|
14520
|
+
"states": [
|
|
14521
|
+
{
|
|
14522
|
+
"description": "Default — highlighted background painted behind the slotted text.",
|
|
14523
|
+
"name": "idle"
|
|
14524
|
+
}
|
|
14525
|
+
],
|
|
14526
|
+
"status": "stable",
|
|
14527
|
+
"synonyms": {
|
|
14528
|
+
"highlight": [
|
|
14529
|
+
"mark",
|
|
14530
|
+
"emphasis"
|
|
14531
|
+
],
|
|
14532
|
+
"search-match": [
|
|
14533
|
+
"mark",
|
|
14534
|
+
"highlight"
|
|
14535
|
+
]
|
|
14536
|
+
},
|
|
14537
|
+
"tag": "mark-ui",
|
|
14538
|
+
"tokens": {
|
|
14539
|
+
"--mark-bg": {
|
|
14540
|
+
"description": "Background color of the highlight.",
|
|
14541
|
+
"default": "var(--a-warning-muted)"
|
|
14542
|
+
},
|
|
14543
|
+
"--mark-fg": {
|
|
14544
|
+
"description": "Foreground (text) color inside the highlight.",
|
|
14545
|
+
"default": "var(--a-warning-text)"
|
|
14546
|
+
},
|
|
14547
|
+
"--mark-px": {
|
|
14548
|
+
"description": "Horizontal padding around the highlighted text.",
|
|
14549
|
+
"default": "var(--a-space-0-5)"
|
|
14550
|
+
},
|
|
14551
|
+
"--mark-radius": {
|
|
14552
|
+
"description": "Border radius of the highlight box.",
|
|
14553
|
+
"default": "var(--a-radius-xs)"
|
|
14554
|
+
}
|
|
14555
|
+
},
|
|
14556
|
+
"traits": [],
|
|
14557
|
+
"version": 1
|
|
14558
|
+
}
|
|
14559
|
+
},
|
|
14228
14560
|
"Menu": {
|
|
14229
14561
|
"title": "Menu",
|
|
14230
14562
|
"description": "Dropdown action menu with roving focus and keyboard navigation. Uses Popover API.",
|
|
@@ -14604,6 +14936,15 @@
|
|
|
14604
14936
|
"slots": {
|
|
14605
14937
|
"default": {
|
|
14606
14938
|
"description": "Content placed inside the modal surface. Accepts any elements (card-ui, command-ui, custom markup)."
|
|
14939
|
+
},
|
|
14940
|
+
"body": {
|
|
14941
|
+
"description": "Main body region for prose, forms, or arbitrary content. Sits between header and footer; scrolls when content overflows."
|
|
14942
|
+
},
|
|
14943
|
+
"footer": {
|
|
14944
|
+
"description": "Optional footer region rendered below the body, typically for action buttons. Author-fills with Confirm / Cancel buttons or similar trailing affordances."
|
|
14945
|
+
},
|
|
14946
|
+
"header": {
|
|
14947
|
+
"description": "Optional header region rendered above the body. Author-fillable with title + supporting markup. CSS positions it at the top of the modal surface with consistent padding + the dismiss-close affordance."
|
|
14607
14948
|
}
|
|
14608
14949
|
},
|
|
14609
14950
|
"states": [
|
|
@@ -14878,6 +15219,9 @@
|
|
|
14878
15219
|
},
|
|
14879
15220
|
"header": {
|
|
14880
15221
|
"description": "Optional custom header. Auto-generated when missing."
|
|
15222
|
+
},
|
|
15223
|
+
"icon": {
|
|
15224
|
+
"description": "Override the leading [icon] glyph in the auto-generated header with a custom slotted element. Mutually exclusive with the [icon] attribute."
|
|
14881
15225
|
}
|
|
14882
15226
|
},
|
|
14883
15227
|
"states": [
|
|
@@ -15009,6 +15353,9 @@
|
|
|
15009
15353
|
"slots": {
|
|
15010
15354
|
"default": {
|
|
15011
15355
|
"description": "Optional override of the default icon + text + badge stamping."
|
|
15356
|
+
},
|
|
15357
|
+
"icon": {
|
|
15358
|
+
"description": "Override the leading [icon] glyph with a custom slotted element (custom icon-ui, image, avatar). Mutually exclusive with the [icon] attribute — slot child wins."
|
|
15012
15359
|
}
|
|
15013
15360
|
},
|
|
15014
15361
|
"states": [
|
|
@@ -15810,6 +16157,9 @@
|
|
|
15810
16157
|
"StepProgress"
|
|
15811
16158
|
],
|
|
15812
16159
|
"slots": {
|
|
16160
|
+
"description": {
|
|
16161
|
+
"description": "Optional subtitle / supporting prose rendered beneath the header. Renders at body-subtle typography. Use for richer markup than the plain [description] attribute string."
|
|
16162
|
+
},
|
|
15813
16163
|
"complete": {
|
|
15814
16164
|
"description": "Content shown when all items are done and dismiss-on-complete is false."
|
|
15815
16165
|
},
|
|
@@ -20022,6 +20372,9 @@
|
|
|
20022
20372
|
"upload"
|
|
20023
20373
|
],
|
|
20024
20374
|
"slots": {
|
|
20375
|
+
"hint": {
|
|
20376
|
+
"description": "Override slot for hint markup richer than the plain [hint] attribute string (inline links, code spans). Renders beneath the trigger at body-subtle typography. Mutually exclusive with [hint]."
|
|
20377
|
+
},
|
|
20025
20378
|
"label": {
|
|
20026
20379
|
"description": "Label element above the trigger"
|
|
20027
20380
|
},
|
|
@@ -20653,6 +21006,12 @@
|
|
|
20653
21006
|
"embed"
|
|
20654
21007
|
],
|
|
20655
21008
|
"slots": {
|
|
21009
|
+
"header": {
|
|
21010
|
+
"description": "Wholesale override of the stamped label + value-readout header row. Use only when full custom-header markup is needed; otherwise prefer the granular `label` / `value` slots and the [label] attribute."
|
|
21011
|
+
},
|
|
21012
|
+
"hint": {
|
|
21013
|
+
"description": "Override slot for hint markup richer than the plain [hint] attribute string (inline links, code spans). Renders beneath the slider at body-subtle typography. Mutually exclusive with [hint]."
|
|
21014
|
+
},
|
|
20656
21015
|
"input": {
|
|
20657
21016
|
"description": "Native range input element"
|
|
20658
21017
|
},
|
|
@@ -21389,6 +21748,9 @@
|
|
|
21389
21748
|
"description": {
|
|
21390
21749
|
"description": "Custom description content; falls through to `[description]` prop if not slotted."
|
|
21391
21750
|
},
|
|
21751
|
+
"icon": {
|
|
21752
|
+
"description": "Override the step-status glyph with a custom slotted element. By default the step renders a numeral / check / x indicator based on [status]; slot an `<icon-ui>` or image to customize."
|
|
21753
|
+
},
|
|
21392
21754
|
"label": {
|
|
21393
21755
|
"description": "Custom label content; falls through to `[text]` prop if not slotted."
|
|
21394
21756
|
}
|
|
@@ -24520,7 +24882,14 @@
|
|
|
24520
24882
|
"FeedItem",
|
|
24521
24883
|
"Stepper"
|
|
24522
24884
|
],
|
|
24523
|
-
"slots": {
|
|
24885
|
+
"slots": {
|
|
24886
|
+
"description": {
|
|
24887
|
+
"description": "Override slot for rich description markup (inline links, code spans, embedded badges). Renders beneath the primary text at body-subtle typography."
|
|
24888
|
+
},
|
|
24889
|
+
"icon": {
|
|
24890
|
+
"description": "Override the [icon] glyph with a custom slotted element. Use for branded icons, avatars, or non-Phosphor sources. Mutually exclusive with the [icon] attribute."
|
|
24891
|
+
}
|
|
24892
|
+
},
|
|
24524
24893
|
"states": [],
|
|
24525
24894
|
"status": "stable",
|
|
24526
24895
|
"synonyms": {
|
|
@@ -25739,6 +26108,266 @@
|
|
|
25739
26108
|
"version": 1
|
|
25740
26109
|
}
|
|
25741
26110
|
},
|
|
26111
|
+
"Tour": {
|
|
26112
|
+
"title": "Tour",
|
|
26113
|
+
"description": "Spotlight-driven product tour / guided walkthrough. Hosts a sequence\nof `<tour-step>` children, each targeting an element via CSS selector.\nWhen active, dims the page with a scrim, cuts a \"hole\" around the\ncurrent step's target, and renders a popover next to it with step\ncontent + Skip / Previous / Next navigation.\n\nUse for first-run onboarding tours, feature introductions after a\nrelease, and inline walkthroughs the user opts into (\"Take the tour\").\nDistinct from `<onboarding-checklist-ui>` (persistent todo-list of\nsetup steps the user works through at their own pace) and from\n`<tooltip-ui>` (single hover hint with no orchestration).\n\nArchitecture: tour-ui is a behavioral wrapper (`display: contents`)\nthat reads target / title / content from `<tour-step>` children. On\nstart, mounts a spotlight + popover surface into `document.body`\n(top-layer via Popover API). The spotlight is a transparent\nposition:fixed element with a huge box-shadow that produces the\ndimmed scrim outside its bounds (single-element backdrop, no clip-path\nor SVG mask needed). The popover is anchored to the target via the\nsame `core/anchor.js` pattern used by menu-ui / context-menu-ui /\npopover-ui.\n",
|
|
26114
|
+
"type": "object",
|
|
26115
|
+
"allOf": [
|
|
26116
|
+
{
|
|
26117
|
+
"$ref": "#/$defs/ComponentCommon"
|
|
26118
|
+
},
|
|
26119
|
+
{
|
|
26120
|
+
"$ref": "#/$defs/CatalogComponentCommon"
|
|
26121
|
+
}
|
|
26122
|
+
],
|
|
26123
|
+
"properties": {
|
|
26124
|
+
"active": {
|
|
26125
|
+
"description": "Whether the tour is currently running. Setting to `true` mounts\nthe spotlight + popover; setting to `false` tears down.\n",
|
|
26126
|
+
"type": "boolean",
|
|
26127
|
+
"default": false
|
|
26128
|
+
},
|
|
26129
|
+
"auto-start": {
|
|
26130
|
+
"description": "Start the tour automatically when the element connects. Useful for\nfirst-run flows gated by a storage flag on the consumer side.\n",
|
|
26131
|
+
"type": "boolean",
|
|
26132
|
+
"default": false
|
|
26133
|
+
},
|
|
26134
|
+
"component": {
|
|
26135
|
+
"const": "Tour"
|
|
26136
|
+
},
|
|
26137
|
+
"step": {
|
|
26138
|
+
"description": "Current step index (0-based). Setting this property advances the\ntour to that step (updating spotlight + popover position).\n",
|
|
26139
|
+
"type": "number",
|
|
26140
|
+
"default": 0
|
|
26141
|
+
},
|
|
26142
|
+
"storage-key": {
|
|
26143
|
+
"description": "Optional localStorage key. When set, the tour records its\ncompletion state (`\"done\"`) to that key on finish/skip — and\nrefuses to auto-start on subsequent loads if the key is \"done\".\nUseful for \"show this tour once per user\" flows.\n",
|
|
26144
|
+
"type": "string",
|
|
26145
|
+
"default": ""
|
|
26146
|
+
}
|
|
26147
|
+
},
|
|
26148
|
+
"required": [
|
|
26149
|
+
"component"
|
|
26150
|
+
],
|
|
26151
|
+
"unevaluatedProperties": false,
|
|
26152
|
+
"x-adiaui": {
|
|
26153
|
+
"anti_patterns": [
|
|
26154
|
+
{
|
|
26155
|
+
"fix": "<tour-ui><tour-step target=\"#dashboard\" title=\"Dashboard\">Tour the dashboard…</tour-step>…</tour-ui>",
|
|
26156
|
+
"why": "Bare divs have no target / title — tour-ui can't position the spotlight.",
|
|
26157
|
+
"wrong": "<tour-ui><div>step 1 content</div><div>step 2 content</div></tour-ui>"
|
|
26158
|
+
},
|
|
26159
|
+
{
|
|
26160
|
+
"fix": "<tour-step target=\"#dashboard\">",
|
|
26161
|
+
"why": "target is a CSS selector — bare \"dashboard\" matches a <dashboard> element, NOT an id; use the # prefix.",
|
|
26162
|
+
"wrong": "<tour-step target=\"dashboard\">"
|
|
26163
|
+
}
|
|
26164
|
+
],
|
|
26165
|
+
"category": "feedback",
|
|
26166
|
+
"composes": [
|
|
26167
|
+
"button-ui",
|
|
26168
|
+
"tour-step-ui"
|
|
26169
|
+
],
|
|
26170
|
+
"events": {
|
|
26171
|
+
"tour-finish": {
|
|
26172
|
+
"description": "Fired when the user completes the last step. detail = { totalSteps }. Bubbles."
|
|
26173
|
+
},
|
|
26174
|
+
"tour-skip": {
|
|
26175
|
+
"description": "Fired when the user skips the tour mid-way. detail = { step, totalSteps }. Bubbles."
|
|
26176
|
+
},
|
|
26177
|
+
"tour-start": {
|
|
26178
|
+
"description": "Fired when the tour starts (after spotlight + popover mount). detail = { step }. Bubbles."
|
|
26179
|
+
},
|
|
26180
|
+
"tour-step-change": {
|
|
26181
|
+
"description": "Fired when the active step changes. detail = { from, to, totalSteps }. Bubbles."
|
|
26182
|
+
}
|
|
26183
|
+
},
|
|
26184
|
+
"examples": [
|
|
26185
|
+
{
|
|
26186
|
+
"description": "A 3-step product tour anchored to selector-resolved elements.",
|
|
26187
|
+
"a2ui": "[\n { \"id\": \"tour\", \"component\": \"Tour\", \"auto-start\": true, \"children\": [\"s1\", \"s2\", \"s3\"] },\n { \"id\": \"s1\", \"component\": \"TourStep\", \"target\": \"#dashboard\", \"title\": \"Your dashboard\", \"textContent\": \"Here's where you'll see your latest activity.\" },\n { \"id\": \"s2\", \"component\": \"TourStep\", \"target\": \"#filters\", \"title\": \"Filters\", \"textContent\": \"Narrow results by status, owner, or date.\" },\n { \"id\": \"s3\", \"component\": \"TourStep\", \"target\": \"#export\", \"title\": \"Export\", \"textContent\": \"Download a CSV of the current view.\" }\n]\n",
|
|
26188
|
+
"name": "basic-tour"
|
|
26189
|
+
}
|
|
26190
|
+
],
|
|
26191
|
+
"keywords": [
|
|
26192
|
+
"tour",
|
|
26193
|
+
"product-tour",
|
|
26194
|
+
"walkthrough",
|
|
26195
|
+
"guided-tour",
|
|
26196
|
+
"spotlight",
|
|
26197
|
+
"coachmark",
|
|
26198
|
+
"feature-introduction"
|
|
26199
|
+
],
|
|
26200
|
+
"name": "UITour",
|
|
26201
|
+
"related": [
|
|
26202
|
+
"tooltip",
|
|
26203
|
+
"popover",
|
|
26204
|
+
"onboarding-checklist"
|
|
26205
|
+
],
|
|
26206
|
+
"slots": {
|
|
26207
|
+
"default": {
|
|
26208
|
+
"description": "<tour-step> children — each declares target + title + body content."
|
|
26209
|
+
}
|
|
26210
|
+
},
|
|
26211
|
+
"states": [
|
|
26212
|
+
{
|
|
26213
|
+
"description": "Tour is dormant; no scrim / popover rendered.",
|
|
26214
|
+
"name": "idle"
|
|
26215
|
+
},
|
|
26216
|
+
{
|
|
26217
|
+
"description": "Tour is running; scrim dims the page, current target is spotlighted.",
|
|
26218
|
+
"name": "active"
|
|
26219
|
+
},
|
|
26220
|
+
{
|
|
26221
|
+
"description": "Last step reached (Done is shown instead of Next).",
|
|
26222
|
+
"name": "complete"
|
|
26223
|
+
}
|
|
26224
|
+
],
|
|
26225
|
+
"status": "stable",
|
|
26226
|
+
"synonyms": {
|
|
26227
|
+
"spotlight": [
|
|
26228
|
+
"coachmark",
|
|
26229
|
+
"feature-highlight"
|
|
26230
|
+
],
|
|
26231
|
+
"tour": [
|
|
26232
|
+
"product-tour",
|
|
26233
|
+
"guided-tour",
|
|
26234
|
+
"walkthrough",
|
|
26235
|
+
"feature-intro"
|
|
26236
|
+
]
|
|
26237
|
+
},
|
|
26238
|
+
"tag": "tour-ui",
|
|
26239
|
+
"tokens": {
|
|
26240
|
+
"--tour-popover-bg": {
|
|
26241
|
+
"description": "Background of the step-content popover.",
|
|
26242
|
+
"default": "var(--a-bg-subtle)"
|
|
26243
|
+
},
|
|
26244
|
+
"--tour-popover-border": {
|
|
26245
|
+
"description": "Border color of the popover.",
|
|
26246
|
+
"default": "var(--a-border-subtle)"
|
|
26247
|
+
},
|
|
26248
|
+
"--tour-popover-max-width": {
|
|
26249
|
+
"description": "Maximum width of the popover.",
|
|
26250
|
+
"default": "22rem"
|
|
26251
|
+
},
|
|
26252
|
+
"--tour-popover-min-width": {
|
|
26253
|
+
"description": "Minimum width of the popover (so step text wraps reasonably).",
|
|
26254
|
+
"default": "18rem"
|
|
26255
|
+
},
|
|
26256
|
+
"--tour-popover-radius": {
|
|
26257
|
+
"description": "Border-radius of the popover.",
|
|
26258
|
+
"default": "var(--a-radius-lg)"
|
|
26259
|
+
},
|
|
26260
|
+
"--tour-popover-shadow": {
|
|
26261
|
+
"description": "Shadow of the popover.",
|
|
26262
|
+
"default": "var(--a-shadow-lg)"
|
|
26263
|
+
},
|
|
26264
|
+
"--tour-scrim": {
|
|
26265
|
+
"description": "Backdrop scrim color (everything outside the spotlight).",
|
|
26266
|
+
"default": "var(--a-scrim-dialog)"
|
|
26267
|
+
},
|
|
26268
|
+
"--tour-spotlight-padding": {
|
|
26269
|
+
"description": "Padding around the target bounding box (the spotlight's \"halo\").",
|
|
26270
|
+
"default": "var(--a-space-2)"
|
|
26271
|
+
},
|
|
26272
|
+
"--tour-spotlight-radius": {
|
|
26273
|
+
"description": "Border radius of the spotlight cutout.",
|
|
26274
|
+
"default": "var(--a-radius-md)"
|
|
26275
|
+
}
|
|
26276
|
+
},
|
|
26277
|
+
"traits": [],
|
|
26278
|
+
"version": 1
|
|
26279
|
+
}
|
|
26280
|
+
},
|
|
26281
|
+
"TourStep": {
|
|
26282
|
+
"title": "TourStep",
|
|
26283
|
+
"description": "Single step inside a `<tour-ui>` walkthrough. Declares a target\nelement (via CSS selector), a title, and body content. The host\n`<tour-ui>` reads these declaratively and renders them in the\npopover as the user advances through the tour.\n\n`<tour-step>` itself renders nothing — it's a data carrier (light\nDOM source of truth). The tour-ui orchestrator clones the body\ncontent into the spotlight popover when the step becomes active.\n",
|
|
26284
|
+
"type": "object",
|
|
26285
|
+
"allOf": [
|
|
26286
|
+
{
|
|
26287
|
+
"$ref": "#/$defs/ComponentCommon"
|
|
26288
|
+
},
|
|
26289
|
+
{
|
|
26290
|
+
"$ref": "#/$defs/CatalogComponentCommon"
|
|
26291
|
+
}
|
|
26292
|
+
],
|
|
26293
|
+
"properties": {
|
|
26294
|
+
"title": {
|
|
26295
|
+
"description": "Step heading rendered in the popover.",
|
|
26296
|
+
"type": "string",
|
|
26297
|
+
"default": ""
|
|
26298
|
+
},
|
|
26299
|
+
"component": {
|
|
26300
|
+
"const": "TourStep"
|
|
26301
|
+
},
|
|
26302
|
+
"placement": {
|
|
26303
|
+
"description": "Preferred popover placement relative to the target. Same vocabulary\nas `core/anchor.js` (`top`, `bottom`, `left`, `right`,\n`bottom-start`, `bottom-end`, etc.). Auto-flips on viewport overflow\nvia position-try-fallbacks.\n",
|
|
26304
|
+
"type": "string",
|
|
26305
|
+
"enum": [
|
|
26306
|
+
"top",
|
|
26307
|
+
"bottom",
|
|
26308
|
+
"left",
|
|
26309
|
+
"right",
|
|
26310
|
+
"top-start",
|
|
26311
|
+
"top-end",
|
|
26312
|
+
"bottom-start",
|
|
26313
|
+
"bottom-end",
|
|
26314
|
+
"left-start",
|
|
26315
|
+
"left-end",
|
|
26316
|
+
"right-start",
|
|
26317
|
+
"right-end"
|
|
26318
|
+
],
|
|
26319
|
+
"default": "bottom"
|
|
26320
|
+
},
|
|
26321
|
+
"target": {
|
|
26322
|
+
"description": "CSS selector for the element to spotlight when this step is\nactive. Resolved via `document.querySelector(target)` at step\nactivation time. If the selector matches nothing, the spotlight\nfalls back to viewport-center and the popover anchors to the\npage (no halo cutout).\n",
|
|
26323
|
+
"type": "string",
|
|
26324
|
+
"default": ""
|
|
26325
|
+
}
|
|
26326
|
+
},
|
|
26327
|
+
"required": [
|
|
26328
|
+
"component"
|
|
26329
|
+
],
|
|
26330
|
+
"unevaluatedProperties": false,
|
|
26331
|
+
"x-adiaui": {
|
|
26332
|
+
"anti_patterns": [
|
|
26333
|
+
{
|
|
26334
|
+
"fix": "<tour-step target=\"#dashboard\">",
|
|
26335
|
+
"why": "target is a CSS selector — bare \"dashboard\" doesn't match.",
|
|
26336
|
+
"wrong": "<tour-step target=\"dashboard\">"
|
|
26337
|
+
}
|
|
26338
|
+
],
|
|
26339
|
+
"category": "feedback",
|
|
26340
|
+
"composes": [],
|
|
26341
|
+
"events": {},
|
|
26342
|
+
"examples": [],
|
|
26343
|
+
"keywords": [
|
|
26344
|
+
"tour-step",
|
|
26345
|
+
"walkthrough-step",
|
|
26346
|
+
"guided-step"
|
|
26347
|
+
],
|
|
26348
|
+
"name": "UITourStep",
|
|
26349
|
+
"related": [
|
|
26350
|
+
"tour"
|
|
26351
|
+
],
|
|
26352
|
+
"slots": {
|
|
26353
|
+
"default": {
|
|
26354
|
+
"description": "Body content rendered inside the step popover (plain text or inline HTML)."
|
|
26355
|
+
}
|
|
26356
|
+
},
|
|
26357
|
+
"states": [],
|
|
26358
|
+
"status": "stable",
|
|
26359
|
+
"synonyms": {
|
|
26360
|
+
"step": [
|
|
26361
|
+
"tour-step",
|
|
26362
|
+
"walkthrough-step"
|
|
26363
|
+
]
|
|
26364
|
+
},
|
|
26365
|
+
"tag": "tour-step-ui",
|
|
26366
|
+
"tokens": {},
|
|
26367
|
+
"traits": [],
|
|
26368
|
+
"version": 1
|
|
26369
|
+
}
|
|
26370
|
+
},
|
|
25742
26371
|
"Tree": {
|
|
25743
26372
|
"title": "Tree",
|
|
25744
26373
|
"description": "Collapsible tree container with keyboard navigation (arrow keys, Enter/Space). Manages selection across nested tree-item-ns.",
|
|
@@ -25818,6 +26447,9 @@
|
|
|
25818
26447
|
"slots": {
|
|
25819
26448
|
"default (tree-item-ui children)": {
|
|
25820
26449
|
"description": "Child content region for the `default (tree-item-ui children)` slot."
|
|
26450
|
+
},
|
|
26451
|
+
"icon": {
|
|
26452
|
+
"description": "Override slot for the per-node icon glyph. Tree-item's `[icon]` attr stamps a default Phosphor icon; the slot lets consumers fill custom icons (folder open/closed, file-type glyphs, branded markers)."
|
|
25821
26453
|
}
|
|
25822
26454
|
},
|
|
25823
26455
|
"states": [
|
|
@@ -25970,7 +26602,11 @@
|
|
|
25970
26602
|
"Nav",
|
|
25971
26603
|
"Accordion"
|
|
25972
26604
|
],
|
|
25973
|
-
"slots": {
|
|
26605
|
+
"slots": {
|
|
26606
|
+
"icon": {
|
|
26607
|
+
"description": "Override the leading [icon] glyph with a custom slotted element (custom icon-ui, folder open/closed glyph, file-type marker). Mutually exclusive with the [icon] attribute — slot child wins."
|
|
26608
|
+
}
|
|
26609
|
+
},
|
|
25974
26610
|
"states": [],
|
|
25975
26611
|
"status": "stable",
|
|
25976
26612
|
"synonyms": {
|