@agent-ui-kit/web-components 0.0.7 → 0.0.14
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/README.md +69 -6
- package/dist/agent-ui.css +1 -1
- package/dist/api.colors.json +2 -2
- package/dist/api.colors.yaml +2 -2
- package/dist/{api.json → api.components.json} +2859 -368
- package/dist/api.tokens.json +3 -3
- package/dist/api.tokens.yaml +3 -3
- package/dist/blocks/agent-chat/agent-chat.d.ts +0 -0
- package/dist/blocks/announcement-card/announcement-card.d.ts +0 -0
- package/dist/blocks/bpm-process/bpm-process.d.ts +0 -0
- package/dist/blocks/chart-activity/chart-activity.d.ts +0 -0
- package/dist/blocks/chart-card/chart-card.d.ts +0 -0
- package/dist/blocks/chart-donut/chart-donut.d.ts +0 -0
- package/dist/blocks/chart-grouped/chart-grouped.d.ts +0 -0
- package/dist/blocks/chart-horizontal/chart-horizontal.d.ts +0 -0
- package/dist/blocks/chart-interactive/chart-interactive.d.ts +0 -0
- package/dist/blocks/chart-labeled/chart-labeled.d.ts +0 -0
- package/dist/blocks/checkout-form/checkout-form.d.ts +0 -0
- package/dist/blocks/clinical-trial/clinical-trial.d.ts +0 -0
- package/dist/blocks/contributors/contributors.d.ts +0 -0
- package/dist/blocks/cyber-threat/cyber-threat.d.ts +0 -0
- package/dist/blocks/dashboard-layout/dashboard-layout.d.ts +0 -0
- package/dist/blocks/data-eng-dag/data-eng-dag.d.ts +0 -0
- package/dist/blocks/date-picker/date-picker.d.ts +0 -0
- package/dist/blocks/ddx-workflow/ddx-workflow.d.ts +0 -0
- package/dist/blocks/empty-state/empty-state.d.ts +0 -0
- package/dist/blocks/env-variables/env-variables.d.ts +0 -0
- package/dist/blocks/feature-upgrade/feature-upgrade.d.ts +0 -0
- package/dist/blocks/financial-risk/financial-risk.d.ts +0 -0
- package/dist/blocks/flow-editor/flow-editor.d.ts +0 -0
- package/dist/blocks/gen-ai-pipeline/gen-ai-pipeline.d.ts +0 -0
- package/dist/blocks/index.d.ts +0 -0
- package/dist/blocks/issue-assign/issue-assign.d.ts +0 -0
- package/dist/blocks/keyboard-shortcuts/keyboard-shortcuts.d.ts +0 -0
- package/dist/blocks/login-branded/login-branded.d.ts +0 -0
- package/dist/blocks/login-email-only/login-email-only.d.ts +0 -0
- package/dist/blocks/login-form/login-form.d.ts +0 -0
- package/dist/blocks/login-simple/login-simple.d.ts +0 -0
- package/dist/blocks/login-social/login-social.d.ts +0 -0
- package/dist/blocks/login-two-column/login-two-column.d.ts +0 -0
- package/dist/blocks/marketing-automation/marketing-automation.d.ts +0 -0
- package/dist/blocks/member-list/member-list.d.ts +0 -0
- package/dist/blocks/ml-pipeline/ml-pipeline.d.ts +0 -0
- package/dist/blocks/nav-card/nav-card.d.ts +0 -0
- package/dist/blocks/notification-list/notification-list.d.ts +0 -0
- package/dist/blocks/oncology-pathway/oncology-pathway.d.ts +0 -0
- package/dist/blocks/pricing-card/pricing-card.d.ts +0 -0
- package/dist/blocks/processing-state/processing-state.d.ts +0 -0
- package/dist/blocks/profile-card/profile-card.d.ts +0 -0
- package/dist/blocks/saas-onboarding/saas-onboarding.d.ts +0 -0
- package/dist/blocks/settings-form/settings-form.d.ts +0 -0
- package/dist/blocks/settings-panel/settings-panel.d.ts +0 -0
- package/dist/blocks/sidebar-nav/sidebar-nav.d.ts +0 -0
- package/dist/blocks/signup-form/signup-form.d.ts +0 -0
- package/dist/blocks/stat-cards/stat-cards.d.ts +0 -0
- package/dist/blocks/status-card/status-card.d.ts +0 -0
- package/dist/blocks/suggested-labs/suggested-labs.d.ts +0 -0
- package/dist/blocks/supply-chain/supply-chain.d.ts +0 -0
- package/dist/blocks/survey-card/survey-card.d.ts +0 -0
- package/dist/blocks/tabbed-panel/tabbed-panel.d.ts +0 -0
- package/dist/blocks/team-empty/team-empty.d.ts +0 -0
- package/dist/blocks/usage-billing/usage-billing.d.ts +0 -0
- package/dist/blocks-incoming/action-toolbar/action-toolbar.d.ts +0 -0
- package/dist/blocks-incoming/agent-artifact-card/agent-artifact-card.d.ts +0 -0
- package/dist/blocks-incoming/agent-chat-response/agent-chat-response.d.ts +0 -0
- package/dist/blocks-incoming/agent-code-result/agent-code-result.d.ts +0 -0
- package/dist/blocks-incoming/agent-context-panel/agent-context-panel.d.ts +0 -0
- package/dist/blocks-incoming/agent-feedback-controls/agent-feedback-controls.d.ts +0 -0
- package/dist/blocks-incoming/agent-follow-up-chips/agent-follow-up-chips.d.ts +0 -0
- package/dist/blocks-incoming/agent-model-selector/agent-model-selector.d.ts +0 -0
- package/dist/blocks-incoming/agent-prompt-input/agent-prompt-input.d.ts +0 -0
- package/dist/blocks-incoming/agent-streaming-message/agent-streaming-message.d.ts +0 -0
- package/dist/blocks-incoming/agent-suggestion-card/agent-suggestion-card.d.ts +0 -0
- package/dist/blocks-incoming/agent-task-card/agent-task-card.d.ts +0 -0
- package/dist/blocks-incoming/agent-thinking-state/agent-thinking-state.d.ts +0 -0
- package/dist/blocks-incoming/agent-tool-use-card/agent-tool-use-card.d.ts +0 -0
- package/dist/blocks-incoming/auth-card/auth-card.d.ts +0 -0
- package/dist/blocks-incoming/commerce-pricing-table/commerce-pricing-table.d.ts +0 -0
- package/dist/blocks-incoming/comms-chat-thread/comms-chat-thread.d.ts +0 -0
- package/dist/blocks-incoming/comms-notification-list/comms-notification-list.d.ts +0 -0
- package/dist/blocks-incoming/content-article-card/content-article-card.d.ts +0 -0
- package/dist/blocks-incoming/dashboard-kpi-grid/dashboard-kpi-grid.d.ts +0 -0
- package/dist/blocks-incoming/data-activity-log/data-activity-log.d.ts +0 -0
- package/dist/blocks-incoming/data-metric-card/data-metric-card.d.ts +0 -0
- package/dist/blocks-incoming/data-table/data-table.d.ts +0 -0
- package/dist/blocks-incoming/data-timeline/data-timeline.d.ts +0 -0
- package/dist/blocks-incoming/feedback-alert-banner/feedback-alert-banner.d.ts +0 -0
- package/dist/blocks-incoming/feedback-empty-state/feedback-empty-state.d.ts +0 -0
- package/dist/blocks-incoming/feedback-progress-stepper/feedback-progress-stepper.d.ts +0 -0
- package/dist/blocks-incoming/form-settings-section/form-settings-section.d.ts +0 -0
- package/dist/blocks-incoming/game-battleship/game-battleship.d.ts +0 -0
- package/dist/blocks-incoming/game-chess/game-chess.d.ts +0 -0
- package/dist/blocks-incoming/game-connect-four/game-connect-four.d.ts +0 -0
- package/dist/blocks-incoming/game-tic-tac-toe/game-tic-tac-toe.d.ts +0 -0
- package/dist/blocks-incoming/list-kanban-board/list-kanban-board.d.ts +0 -0
- package/dist/blocks-incoming/media-image-gallery/media-image-gallery.d.ts +0 -0
- package/dist/blocks-incoming/nav-sidebar/nav-sidebar.d.ts +0 -0
- package/dist/blocks-incoming/onboard-stepper/onboard-stepper.d.ts +0 -0
- package/dist/blocks-incoming/overlay-confirmation-modal/overlay-confirmation-modal.d.ts +0 -0
- package/dist/blocks-incoming/overlay-dropdown-menu/overlay-dropdown-menu.d.ts +0 -0
- package/dist/blocks-incoming/user-profile-card/user-profile-card.d.ts +0 -0
- package/dist/blocks-incoming/user-team-list/user-team-list.d.ts +0 -0
- package/dist/chunks/{agent-ciCayeod.js → agent-C72JZNe6.js} +8 -8
- package/dist/chunks/{agent-ciCayeod.js.map → agent-C72JZNe6.js.map} +1 -1
- package/dist/chunks/empty-state-5M3uR5CM.js +5160 -0
- package/dist/chunks/empty-state-5M3uR5CM.js.map +1 -0
- package/dist/components/accordion/accordion-item.d.ts +9 -0
- package/dist/components/accordion/accordion.d.ts +9 -0
- package/dist/components/accordion/index.d.ts +2 -0
- package/dist/components/agent/agent-activity.d.ts +13 -0
- package/dist/components/agent/agent-feed.d.ts +13 -0
- package/dist/components/agent/agent-input.d.ts +18 -0
- package/dist/components/agent/agent-message.d.ts +22 -0
- package/dist/components/agent/agent-panel.d.ts +16 -0
- package/dist/components/agent/agent-prompt.d.ts +7 -0
- package/dist/components/agent/agent-seeds.d.ts +15 -0
- package/dist/components/agent/agent-text.d.ts +14 -0
- package/dist/components/agent/agent-thread.d.ts +11 -0
- package/dist/components/agent/index.d.ts +9 -0
- package/dist/components/agent.js +1 -1
- package/dist/components/alert/alert.d.ts +3 -0
- package/dist/components/alert/index.d.ts +1 -0
- package/dist/components/app-shell/app-shell.d.ts +4 -0
- package/dist/components/app-shell/index.d.ts +1 -0
- package/dist/components/avatar-group/avatar-group.d.ts +10 -0
- package/dist/components/avatar-group/index.d.ts +1 -0
- package/dist/components/breadcrumb/breadcrumb-item.d.ts +8 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +7 -0
- package/dist/components/breadcrumb/index.d.ts +2 -0
- package/dist/components/button/button.d.ts +17 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/calendar/calendar.d.ts +26 -0
- package/dist/components/calendar/index.d.ts +3 -0
- package/dist/components/calendar/store/calendar-store.d.ts +60 -0
- package/dist/components/calendar-picker/calendar-picker.d.ts +14 -0
- package/dist/components/calendar-picker/index.d.ts +1 -0
- package/dist/components/calendar-range-picker/calendar-range-picker.d.ts +14 -0
- package/dist/components/calendar-range-picker/index.d.ts +1 -0
- package/dist/components/canvas/canvas.d.ts +19 -0
- package/dist/components/canvas/index.d.ts +1 -0
- package/dist/components/carousel/carousel.d.ts +13 -0
- package/dist/components/carousel/index.d.ts +1 -0
- package/dist/components/checkbox/checkbox.d.ts +18 -0
- package/dist/components/checkbox/index.d.ts +1 -0
- package/dist/components/chip/chip.d.ts +8 -0
- package/dist/components/chip/index.d.ts +1 -0
- package/dist/components/code-block/code-block.d.ts +10 -0
- package/dist/components/code-block/index.d.ts +1 -0
- package/dist/components/color-area/color-area.d.ts +11 -0
- package/dist/components/color-area/index.d.ts +1 -0
- package/dist/components/color-field/color-field.d.ts +10 -0
- package/dist/components/color-field/index.d.ts +1 -0
- package/dist/components/color-picker/color-picker.d.ts +10 -0
- package/dist/components/color-picker/index.d.ts +1 -0
- package/dist/components/color-slider/color-slider.d.ts +15 -0
- package/dist/components/color-slider/index.d.ts +1 -0
- package/dist/components/command/command-empty.d.ts +4 -0
- package/dist/components/command/command-group.d.ts +6 -0
- package/dist/components/command/command-input.d.ts +12 -0
- package/dist/components/command/command-item.d.ts +10 -0
- package/dist/components/command/command-list.d.ts +4 -0
- package/dist/components/command/command.d.ts +6 -0
- package/dist/components/command/index.d.ts +6 -0
- package/dist/components/container/container.d.ts +11 -0
- package/dist/components/container/index.d.ts +1 -0
- package/dist/components/context-menu/context-menu.d.ts +12 -0
- package/dist/components/context-menu/index.d.ts +1 -0
- package/dist/components/copy-button/copy-button.d.ts +10 -0
- package/dist/components/copy-button/index.d.ts +1 -0
- package/dist/components/date-field/date-field.d.ts +13 -0
- package/dist/components/date-field/index.d.ts +1 -0
- package/dist/components/dialog/dialog.d.ts +12 -0
- package/dist/components/dialog/index.d.ts +1 -0
- package/dist/components/disclosure/disclosure.d.ts +10 -0
- package/dist/components/disclosure/index.d.ts +1 -0
- package/dist/components/disclosure-group/disclosure-group.d.ts +8 -0
- package/dist/components/disclosure-group/index.d.ts +1 -0
- package/dist/components/drawer/drawer.d.ts +13 -0
- package/dist/components/drawer/index.d.ts +1 -0
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +12 -0
- package/dist/components/dropdown-menu/index.d.ts +1 -0
- package/dist/components/editor/context.d.ts +15 -0
- package/dist/components/editor/editor-layer.d.ts +11 -0
- package/dist/components/editor/editor.d.ts +32 -0
- package/dist/components/editor/index.d.ts +4 -0
- package/dist/components/editor.js +1 -1
- package/dist/components/empty-state/empty-state.d.ts +10 -0
- package/dist/components/empty-state/index.d.ts +1 -0
- package/dist/components/feed/feed.d.ts +11 -0
- package/dist/components/feed/index.d.ts +1 -0
- package/dist/components/field/index.d.ts +0 -0
- package/dist/components/file-upload/file-upload.d.ts +13 -0
- package/dist/components/file-upload/index.d.ts +1 -0
- package/dist/components/graph/graph-layer.d.ts +3 -0
- package/dist/components/graph/graph-node.d.ts +13 -0
- package/dist/components/graph/graph-noodle.d.ts +19 -0
- package/dist/components/graph/graph-port.d.ts +17 -0
- package/dist/components/graph/graph-ui.d.ts +10 -0
- package/dist/components/graph/index.d.ts +5 -0
- package/dist/components/graph.js +1 -1
- package/dist/components/gripper/gripper.d.ts +9 -0
- package/dist/components/gripper/index.d.ts +1 -0
- package/dist/components/hover-card/hover-card.d.ts +11 -0
- package/dist/components/hover-card/index.d.ts +1 -0
- package/dist/components/icon/icon.d.ts +12 -0
- package/dist/components/icon/index.d.ts +2 -0
- package/dist/components/icon/registry.d.ts +8 -0
- package/dist/components/image/image.d.ts +13 -0
- package/dist/components/image/index.d.ts +1 -0
- package/dist/components/index.d.ts +72 -0
- package/dist/components/input/index.d.ts +2 -0
- package/dist/components/input/input-otp.d.ts +17 -0
- package/dist/components/input/input.d.ts +29 -0
- package/dist/components/link/index.d.ts +1 -0
- package/dist/components/link/link.d.ts +3 -0
- package/dist/components/meter/index.d.ts +1 -0
- package/dist/components/meter/meter.d.ts +8 -0
- package/dist/components/nav-item/index.d.ts +1 -0
- package/dist/components/nav-item/nav-item.d.ts +3 -0
- package/dist/components/noodles/datasets.d.ts +16 -0
- package/dist/components/noodles/index.d.ts +3 -0
- package/dist/components/noodles/noodle-controller.d.ts +71 -0
- package/dist/components/noodles/noodles.d.ts +30 -0
- package/dist/components/notification-center/index.d.ts +2 -0
- package/dist/components/notification-center/notification-center.d.ts +27 -0
- package/dist/components/optgroup/index.d.ts +1 -0
- package/dist/components/optgroup/optgroup.d.ts +9 -0
- package/dist/components/option/index.d.ts +1 -0
- package/dist/components/option/option.d.ts +11 -0
- package/dist/components/page/index.d.ts +3 -0
- package/dist/components/page/page-context.d.ts +4 -0
- package/dist/components/page/page-main.d.ts +3 -0
- package/dist/components/page/page.d.ts +4 -0
- package/dist/components/pagination/index.d.ts +1 -0
- package/dist/components/pagination/pagination.d.ts +10 -0
- package/dist/components/pane/index.d.ts +2 -0
- package/dist/components/pane/pane.d.ts +27 -0
- package/dist/components/pane/panes.d.ts +10 -0
- package/dist/components/preview-app/index.d.ts +1 -0
- package/dist/components/preview-app/preview-app.d.ts +8 -0
- package/dist/components/progress/index.d.ts +1 -0
- package/dist/components/progress/progress.d.ts +6 -0
- package/dist/components/progress-circle/index.d.ts +1 -0
- package/dist/components/progress-circle/progress-circle.d.ts +9 -0
- package/dist/components/radio/index.d.ts +2 -0
- package/dist/components/radio/radio-group.d.ts +10 -0
- package/dist/components/radio/radio.d.ts +17 -0
- package/dist/components/range/index.d.ts +1 -0
- package/dist/components/range/range.d.ts +18 -0
- package/dist/components/root/index.d.ts +1 -0
- package/dist/components/root/root.d.ts +4 -0
- package/dist/components/segmented-control/index.d.ts +2 -0
- package/dist/components/segmented-control/segment.d.ts +8 -0
- package/dist/components/segmented-control/segmented-control.d.ts +13 -0
- package/dist/components/select/index.d.ts +1 -0
- package/dist/components/select/select.d.ts +37 -0
- package/dist/components/sidebar/index.d.ts +4 -0
- package/dist/components/sidebar/sidebar-content.d.ts +4 -0
- package/dist/components/sidebar/sidebar-footer.d.ts +4 -0
- package/dist/components/sidebar/sidebar-header.d.ts +4 -0
- package/dist/components/sidebar/sidebar.d.ts +14 -0
- package/dist/components/skeleton/index.d.ts +1 -0
- package/dist/components/skeleton/skeleton.d.ts +3 -0
- package/dist/components/sparkline/index.d.ts +1 -0
- package/dist/components/sparkline/sparkline.d.ts +8 -0
- package/dist/components/spinner/index.d.ts +1 -0
- package/dist/components/spinner/spinner.d.ts +3 -0
- package/dist/components/stat/index.d.ts +1 -0
- package/dist/components/stat/stat.d.ts +11 -0
- package/dist/components/stepper/index.d.ts +2 -0
- package/dist/components/stepper/step.d.ts +3 -0
- package/dist/components/stepper/stepper.d.ts +3 -0
- package/dist/components/switch/index.d.ts +1 -0
- package/dist/components/switch/switch.d.ts +16 -0
- package/dist/components/tab/index.d.ts +3 -0
- package/dist/components/tab/tab-panel.d.ts +7 -0
- package/dist/components/tab/tab.d.ts +8 -0
- package/dist/components/tab/tabs.d.ts +9 -0
- package/dist/components/table/index.d.ts +7 -0
- package/dist/components/table/table-body.d.ts +3 -0
- package/dist/components/table/table-cell.d.ts +3 -0
- package/dist/components/table/table-column.d.ts +11 -0
- package/dist/components/table/table-head.d.ts +3 -0
- package/dist/components/table/table-header.d.ts +3 -0
- package/dist/components/table/table-row.d.ts +3 -0
- package/dist/components/table/table.d.ts +16 -0
- package/dist/components/tag-group/index.d.ts +1 -0
- package/dist/components/tag-group/tag-group.d.ts +10 -0
- package/dist/components/textarea/index.d.ts +1 -0
- package/dist/components/textarea/textarea.d.ts +23 -0
- package/dist/components/time-field/index.d.ts +1 -0
- package/dist/components/time-field/time-field.d.ts +14 -0
- package/dist/components/toast/index.d.ts +2 -0
- package/dist/components/toast/toast.d.ts +19 -0
- package/dist/components/tooltip/index.d.ts +1 -0
- package/dist/components/tooltip/tooltip.d.ts +9 -0
- package/dist/components/tree/index.d.ts +2 -0
- package/dist/components/tree/tree-item.d.ts +11 -0
- package/dist/components/tree/tree.d.ts +6 -0
- package/dist/components.js +123 -3120
- package/dist/components.js.map +1 -1
- package/dist/docs/blocks/chart-interactive.yaml +4 -10
- package/dist/docs/blocks/checkout-form.yaml +13 -13
- package/dist/docs/blocks/contributors.yaml +25 -26
- package/dist/docs/blocks/dashboard-layout.yaml +24 -42
- package/dist/docs/blocks/empty-state.yaml +4 -9
- package/dist/docs/blocks/env-variables.yaml +2 -2
- package/dist/docs/blocks/feature-upgrade.yaml +4 -4
- package/dist/docs/blocks/issue-assign.yaml +7 -7
- package/dist/docs/blocks/profile-card.yaml +8 -17
- package/dist/docs/blocks/settings-form.yaml +4 -4
- package/dist/docs/blocks/sidebar-nav.yaml +19 -19
- package/dist/docs/blocks/stat-cards.yaml +9 -26
- package/dist/docs/blocks/status-card.yaml +3 -3
- package/dist/docs/blocks/suggested-labs.yaml +4 -4
- package/dist/docs/blocks/survey-card.yaml +9 -9
- package/dist/docs/blocks/tabbed-panel.yaml +1 -1
- package/dist/docs/blocks/team-empty.yaml +6 -14
- package/dist/docs/blocks/usage-billing.yaml +12 -37
- package/dist/docs/components/alert.yaml +79 -0
- package/dist/docs/components/avatar-group.yaml +86 -0
- package/dist/docs/components/calendar-picker.yaml +142 -0
- package/dist/docs/components/calendar-range-picker.yaml +139 -0
- package/dist/docs/components/chip.yaml +91 -0
- package/dist/docs/components/code-block.yaml +126 -0
- package/dist/docs/components/color-picker.yaml +78 -0
- package/dist/docs/components/context-menu.yaml +102 -0
- package/dist/docs/components/date-field.yaml +115 -0
- package/dist/docs/components/disclosure-group.yaml +69 -0
- package/dist/docs/components/disclosure.yaml +81 -0
- package/dist/docs/components/dropdown-menu.yaml +146 -0
- package/dist/docs/components/hover-card.yaml +85 -0
- package/dist/docs/components/index.yaml +168 -0
- package/dist/docs/components/input.yaml +25 -0
- package/dist/docs/components/link.yaml +85 -0
- package/dist/docs/components/meter.yaml +89 -0
- package/dist/docs/components/nav-item.yaml +93 -0
- package/dist/docs/components/progress-circle.yaml +105 -0
- package/dist/docs/components/progress.yaml +104 -0
- package/dist/docs/components/skeleton.yaml +81 -0
- package/dist/docs/components/sparkline.yaml +88 -0
- package/dist/docs/components/spinner.yaml +75 -0
- package/dist/docs/components/step.yaml +91 -0
- package/dist/docs/components/stepper.yaml +91 -0
- package/dist/docs/components/tag-group.yaml +90 -0
- package/dist/docs/components/time-field.yaml +120 -0
- package/dist/element/agent-element.d.ts +29 -0
- package/dist/element/context.d.ts +20 -0
- package/dist/element/define.d.ts +2 -0
- package/dist/element/index.d.ts +4 -0
- package/dist/element/types.d.ts +23 -0
- package/dist/element.js +1 -1
- package/dist/icons.d.ts +1 -0
- package/dist/icons.js +49 -43
- package/dist/icons.js.map +1 -1
- package/dist/reactivity.js +1 -1
- package/dist/register.d.ts +1 -0
- package/dist/register.js +369 -342
- package/dist/register.js.map +1 -1
- package/dist/store.js +1 -1
- package/dist/styles-entry.d.ts +0 -0
- package/dist/traits/attach.d.ts +12 -0
- package/dist/traits/auto-dismiss/auto-dismiss.d.ts +0 -0
- package/dist/traits/auto-dismiss/auto-dismiss.trait.d.ts +2 -0
- package/dist/traits/backtick-wrap/backtick-wrap.d.ts +0 -0
- package/dist/traits/backtick-wrap/backtick-wrap.trait.d.ts +2 -0
- package/dist/traits/clipboard/clipboard.d.ts +0 -0
- package/dist/traits/clipboard/clipboard.trait.d.ts +2 -0
- package/dist/traits/collapsible/collapsible.d.ts +0 -0
- package/dist/traits/collapsible/collapsible.trait.d.ts +2 -0
- package/dist/traits/confetti/confetti.d.ts +0 -0
- package/dist/traits/confetti/confetti.trait.d.ts +2 -0
- package/dist/traits/copy/copy.d.ts +0 -0
- package/dist/traits/copy/copy.trait.d.ts +2 -0
- package/dist/traits/css-inspect/css-inspect-controller.d.ts +38 -0
- package/dist/traits/css-inspect/css-inspect.d.ts +0 -0
- package/dist/traits/css-inspect/css-inspect.trait.d.ts +2 -0
- package/dist/traits/dismiss/dismiss.d.ts +0 -0
- package/dist/traits/dismiss/dismiss.trait.d.ts +2 -0
- package/dist/traits/drag/drag.d.ts +0 -0
- package/dist/traits/drag/drag.trait.d.ts +2 -0
- package/dist/traits/drop-zone/drop-zone.d.ts +0 -0
- package/dist/traits/drop-zone/drop-zone.trait.d.ts +2 -0
- package/dist/traits/edit/edit.d.ts +0 -0
- package/dist/traits/edit/edit.trait.d.ts +2 -0
- package/dist/traits/flip/flip.d.ts +0 -0
- package/dist/traits/flip/flip.trait.d.ts +2 -0
- package/dist/traits/gateway/gateway.d.ts +0 -0
- package/dist/traits/gateway/gateway.trait.d.ts +2 -0
- package/dist/traits/hover/hover.d.ts +0 -0
- package/dist/traits/hover/hover.trait.d.ts +2 -0
- package/dist/traits/index.d.ts +6 -0
- package/dist/traits/intersect/intersect.d.ts +0 -0
- package/dist/traits/intersect/intersect.trait.d.ts +2 -0
- package/dist/traits/link-paste/link-paste.d.ts +0 -0
- package/dist/traits/link-paste/link-paste.trait.d.ts +2 -0
- package/dist/traits/linked-scroll/linked-scroll.d.ts +0 -0
- package/dist/traits/linked-scroll/linked-scroll.trait.d.ts +2 -0
- package/dist/traits/list-navigate/list-navigate.d.ts +0 -0
- package/dist/traits/list-navigate/list-navigate.trait.d.ts +2 -0
- package/dist/traits/magnet/magnet.d.ts +0 -0
- package/dist/traits/magnet/magnet.trait.d.ts +2 -0
- package/dist/traits/mention/mention.d.ts +0 -0
- package/dist/traits/mention/mention.trait.d.ts +2 -0
- package/dist/traits/modal/modal.d.ts +0 -0
- package/dist/traits/modal/modal.trait.d.ts +2 -0
- package/dist/traits/noodle/noodle.d.ts +0 -0
- package/dist/traits/noodle/noodle.trait.d.ts +2 -0
- package/dist/traits/overlay/overlay.d.ts +0 -0
- package/dist/traits/overlay/overlay.trait.d.ts +3 -0
- package/dist/traits/pan-zoom/pan-zoom.d.ts +0 -0
- package/dist/traits/pan-zoom/pan-zoom.trait.d.ts +2 -0
- package/dist/traits/parallax/parallax.d.ts +0 -0
- package/dist/traits/parallax/parallax.trait.d.ts +2 -0
- package/dist/traits/parse.d.ts +3 -0
- package/dist/traits/persist/persist.d.ts +0 -0
- package/dist/traits/persist/persist.trait.d.ts +2 -0
- package/dist/traits/popover/overlay.d.ts +2 -0
- package/dist/traits/popover/popover.d.ts +0 -0
- package/dist/traits/popover/popover.trait.d.ts +2 -0
- package/dist/traits/present/present.d.ts +0 -0
- package/dist/traits/present/present.trait.d.ts +2 -0
- package/dist/traits/press-hold/press-hold.d.ts +0 -0
- package/dist/traits/press-hold/press-hold.trait.d.ts +2 -0
- package/dist/traits/range-select/range-select.d.ts +0 -0
- package/dist/traits/range-select/range-select.trait.d.ts +2 -0
- package/dist/traits/registry.d.ts +17 -0
- package/dist/traits/resize/resize.d.ts +0 -0
- package/dist/traits/resize/resize.trait.d.ts +2 -0
- package/dist/traits/ripple/ripple.d.ts +0 -0
- package/dist/traits/ripple/ripple.trait.d.ts +2 -0
- package/dist/traits/roving-focus/roving-focus.d.ts +0 -0
- package/dist/traits/roving-focus/roving-focus.trait.d.ts +2 -0
- package/dist/traits/search/search.d.ts +0 -0
- package/dist/traits/search/search.trait.d.ts +2 -0
- package/dist/traits/selection/selection.d.ts +0 -0
- package/dist/traits/selection/selection.trait.d.ts +2 -0
- package/dist/traits/shortcut/shortcut.d.ts +0 -0
- package/dist/traits/shortcut/shortcut.trait.d.ts +2 -0
- package/dist/traits/slash-command/slash-command.d.ts +0 -0
- package/dist/traits/slash-command/slash-command.trait.d.ts +2 -0
- package/dist/traits/snap-resize/snap-resize.d.ts +0 -0
- package/dist/traits/snap-resize/snap-resize.trait.d.ts +2 -0
- package/dist/traits/sort/sort.d.ts +0 -0
- package/dist/traits/sort/sort.trait.d.ts +2 -0
- package/dist/traits/store/store.d.ts +0 -0
- package/dist/traits/store/store.trait.d.ts +2 -0
- package/dist/traits/swipe/swipe.d.ts +0 -0
- package/dist/traits/swipe/swipe.trait.d.ts +2 -0
- package/dist/traits/text-trigger/text-trigger.d.ts +0 -0
- package/dist/traits/text-trigger/text-trigger.trait.d.ts +2 -0
- package/dist/traits/toast/toast.d.ts +0 -0
- package/dist/traits/toast/toast.trait.d.ts +2 -0
- package/dist/traits/toggle-scheme/toggle-scheme.d.ts +0 -0
- package/dist/traits/toggle-scheme/toggle-scheme.trait.d.ts +2 -0
- package/dist/traits/toggle-state/toggle-state.d.ts +0 -0
- package/dist/traits/toggle-state/toggle-state.trait.d.ts +2 -0
- package/dist/traits/tooltip/tooltip.d.ts +0 -0
- package/dist/traits/tooltip/tooltip.trait.d.ts +2 -0
- package/dist/traits/toss/toss.d.ts +0 -0
- package/dist/traits/toss/toss.trait.d.ts +2 -0
- package/dist/traits/trap-focus/trap-focus.d.ts +0 -0
- package/dist/traits/trap-focus/trap-focus.trait.d.ts +2 -0
- package/dist/traits/types.d.ts +45 -0
- package/dist/traits/validate/validate.d.ts +0 -0
- package/dist/traits/validate/validate.trait.d.ts +2 -0
- package/dist/traits/virtual-scroll/virtual-scroll.d.ts +0 -0
- package/dist/traits/virtual-scroll/virtual-scroll.trait.d.ts +2 -0
- package/dist/traits.js +45 -45
- package/package.json +53 -14
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "@agent-ui-kit/web-components",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"generated": "2026-03-
|
|
3
|
+
"version": "0.0.14",
|
|
4
|
+
"generated": "2026-03-21T19:03:54.163Z",
|
|
5
5
|
"description": "Complete web component library for agent-powered interfaces. Framework-agnostic, light DOM, CSS-first.",
|
|
6
6
|
"css": "https://unpkg.com/@agent-ui-kit/web-components/dist/agent-ui.css",
|
|
7
7
|
"register": "https://unpkg.com/@agent-ui-kit/web-components/dist/register.js",
|
|
@@ -1102,6 +1102,92 @@
|
|
|
1102
1102
|
}
|
|
1103
1103
|
]
|
|
1104
1104
|
},
|
|
1105
|
+
{
|
|
1106
|
+
"name": "aui-alert",
|
|
1107
|
+
"tag": "aui-alert",
|
|
1108
|
+
"type": "component",
|
|
1109
|
+
"summary": "Contextual banner for status messages.",
|
|
1110
|
+
"description": "Inline alert banner with intent-based coloring via boolean attributes (info, success, warning, danger). Left border accent stripe signals severity. Supports rich content including headings and paragraphs. Optional dismissable behavior via JS.\n",
|
|
1111
|
+
"base": "AgentElement",
|
|
1112
|
+
"presentational": {
|
|
1113
|
+
"intent": {
|
|
1114
|
+
"syntax": "boolean",
|
|
1115
|
+
"exclusive": true,
|
|
1116
|
+
"cascades": false,
|
|
1117
|
+
"default": "info",
|
|
1118
|
+
"values": [
|
|
1119
|
+
"accent",
|
|
1120
|
+
"info",
|
|
1121
|
+
"success",
|
|
1122
|
+
"warning",
|
|
1123
|
+
"danger"
|
|
1124
|
+
],
|
|
1125
|
+
"description": "Visual intent controlling background tint and border accent color."
|
|
1126
|
+
}
|
|
1127
|
+
},
|
|
1128
|
+
"modifiers": {
|
|
1129
|
+
"dismissable": {
|
|
1130
|
+
"syntax": "boolean",
|
|
1131
|
+
"description": "Shows a close button area. JS removes the element on click.\n"
|
|
1132
|
+
}
|
|
1133
|
+
},
|
|
1134
|
+
"content": {
|
|
1135
|
+
"model": "flow",
|
|
1136
|
+
"accepts": [
|
|
1137
|
+
"text",
|
|
1138
|
+
"strong",
|
|
1139
|
+
"p",
|
|
1140
|
+
"aui-text",
|
|
1141
|
+
"aui-link"
|
|
1142
|
+
],
|
|
1143
|
+
"required": true,
|
|
1144
|
+
"description": "Message content. Can be plain text or rich HTML with headings and paragraphs for multi-line alerts.\n"
|
|
1145
|
+
},
|
|
1146
|
+
"slots": {
|
|
1147
|
+
"default": {
|
|
1148
|
+
"accepts": [
|
|
1149
|
+
"text",
|
|
1150
|
+
"strong",
|
|
1151
|
+
"p",
|
|
1152
|
+
"aui-text",
|
|
1153
|
+
"aui-link"
|
|
1154
|
+
],
|
|
1155
|
+
"required": true,
|
|
1156
|
+
"description": "Alert message content."
|
|
1157
|
+
}
|
|
1158
|
+
},
|
|
1159
|
+
"tokens": {
|
|
1160
|
+
"spacing": [
|
|
1161
|
+
"--aui-alert-gap",
|
|
1162
|
+
"--aui-alert-padding-block",
|
|
1163
|
+
"--aui-alert-padding-inline"
|
|
1164
|
+
],
|
|
1165
|
+
"color": [
|
|
1166
|
+
"--aui-alert-background",
|
|
1167
|
+
"--aui-alert-border-color"
|
|
1168
|
+
],
|
|
1169
|
+
"typography": [
|
|
1170
|
+
"--aui-alert-font-size"
|
|
1171
|
+
],
|
|
1172
|
+
"shape": [
|
|
1173
|
+
"--aui-alert-radius"
|
|
1174
|
+
]
|
|
1175
|
+
},
|
|
1176
|
+
"examples": [
|
|
1177
|
+
{
|
|
1178
|
+
"html": "<aui-alert>Your session will expire in 5 minutes.</aui-alert>",
|
|
1179
|
+
"description": "Default info alert."
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
"html": "<aui-alert success>Operation completed successfully.</aui-alert>",
|
|
1183
|
+
"description": "Success alert."
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
"html": "<aui-alert danger>\n <strong>Deployment failed</strong>\n <p>Build step 3 returned exit code 1. Check logs for details.</p>\n</aui-alert>\n",
|
|
1187
|
+
"description": "Rich content danger alert."
|
|
1188
|
+
}
|
|
1189
|
+
]
|
|
1190
|
+
},
|
|
1105
1191
|
{
|
|
1106
1192
|
"name": "aui-app-shell",
|
|
1107
1193
|
"tag": "aui-app-shell",
|
|
@@ -1164,6 +1250,77 @@
|
|
|
1164
1250
|
}
|
|
1165
1251
|
]
|
|
1166
1252
|
},
|
|
1253
|
+
{
|
|
1254
|
+
"name": "aui-avatar-group",
|
|
1255
|
+
"tag": "aui-avatar-group",
|
|
1256
|
+
"type": "component",
|
|
1257
|
+
"summary": "Overlapping avatar stack with automatic overflow counter.",
|
|
1258
|
+
"description": "Displays child aui-avatar elements in an overlapping row with descending z-index. When the max attribute is set and children exceed that count, excess avatars are hidden and a +N counter is stamped. Size attribute propagates to child avatars.\n",
|
|
1259
|
+
"base": "AgentElement",
|
|
1260
|
+
"attributes": {
|
|
1261
|
+
"max": {
|
|
1262
|
+
"syntax": "key-value",
|
|
1263
|
+
"type": "string",
|
|
1264
|
+
"default": "",
|
|
1265
|
+
"description": "Maximum visible avatars. Remaining are hidden and a +N overflow counter is shown.\n"
|
|
1266
|
+
},
|
|
1267
|
+
"size": {
|
|
1268
|
+
"syntax": "key-value",
|
|
1269
|
+
"type": "string",
|
|
1270
|
+
"default": "",
|
|
1271
|
+
"values": [
|
|
1272
|
+
"xs",
|
|
1273
|
+
"sm",
|
|
1274
|
+
"lg"
|
|
1275
|
+
],
|
|
1276
|
+
"description": "Passed through to child aui-avatar elements for consistent sizing across the group.\n"
|
|
1277
|
+
}
|
|
1278
|
+
},
|
|
1279
|
+
"content": {
|
|
1280
|
+
"model": "block",
|
|
1281
|
+
"accepts": [
|
|
1282
|
+
"aui-avatar"
|
|
1283
|
+
],
|
|
1284
|
+
"required": true,
|
|
1285
|
+
"description": "One or more aui-avatar children. Order determines stacking (first avatar on top, highest z-index).\n"
|
|
1286
|
+
},
|
|
1287
|
+
"slots": {
|
|
1288
|
+
"default": {
|
|
1289
|
+
"accepts": [
|
|
1290
|
+
"aui-avatar"
|
|
1291
|
+
],
|
|
1292
|
+
"required": true,
|
|
1293
|
+
"description": "Avatar children to display in the overlapping stack."
|
|
1294
|
+
}
|
|
1295
|
+
},
|
|
1296
|
+
"composition": {
|
|
1297
|
+
"parents": [
|
|
1298
|
+
"aui-stack",
|
|
1299
|
+
"aui-header",
|
|
1300
|
+
"aui-footer",
|
|
1301
|
+
"div",
|
|
1302
|
+
"span"
|
|
1303
|
+
],
|
|
1304
|
+
"children": [
|
|
1305
|
+
"aui-avatar"
|
|
1306
|
+
],
|
|
1307
|
+
"context": "Inline-flex element. Use inside headers, cards, list items, or stacks. Commonly paired with team/contributor displays.\n"
|
|
1308
|
+
},
|
|
1309
|
+
"examples": [
|
|
1310
|
+
{
|
|
1311
|
+
"html": "<aui-avatar-group>\n <aui-avatar>A</aui-avatar>\n <aui-avatar>B</aui-avatar>\n <aui-avatar>C</aui-avatar>\n</aui-avatar-group>\n",
|
|
1312
|
+
"description": "Basic avatar group showing all avatars."
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
"html": "<aui-avatar-group max=\"3\">\n <aui-avatar>A</aui-avatar>\n <aui-avatar>B</aui-avatar>\n <aui-avatar>C</aui-avatar>\n <aui-avatar>D</aui-avatar>\n <aui-avatar>E</aui-avatar>\n</aui-avatar-group>\n",
|
|
1316
|
+
"description": "Avatar group with max=3 showing +2 overflow."
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
"html": "<aui-avatar-group size=\"sm\">\n <aui-avatar>A</aui-avatar>\n <aui-avatar>B</aui-avatar>\n</aui-avatar-group>\n",
|
|
1320
|
+
"description": "Small size avatars."
|
|
1321
|
+
}
|
|
1322
|
+
]
|
|
1323
|
+
},
|
|
1167
1324
|
{
|
|
1168
1325
|
"name": "aui-breadcrumb-item",
|
|
1169
1326
|
"tag": "aui-breadcrumb-item",
|
|
@@ -1998,144 +2155,494 @@
|
|
|
1998
2155
|
]
|
|
1999
2156
|
},
|
|
2000
2157
|
{
|
|
2001
|
-
"name": "aui-
|
|
2002
|
-
"tag": "aui-
|
|
2158
|
+
"name": "aui-calendar-picker",
|
|
2159
|
+
"tag": "aui-calendar-picker",
|
|
2003
2160
|
"type": "component",
|
|
2004
|
-
"summary": "
|
|
2005
|
-
"description": "
|
|
2161
|
+
"summary": "Compound date picker with trigger input and calendar popover.",
|
|
2162
|
+
"description": "Combines a read-only trigger (styled like an input) with a popover containing an aui-calendar for date selection. On date select the popover closes, the trigger updates with a formatted date string, and a change event fires. Supports min/max date constraints and a configurable display format.\n",
|
|
2006
2163
|
"base": "AgentElement",
|
|
2007
|
-
"presentational": {
|
|
2008
|
-
"size": {
|
|
2009
|
-
"syntax": "key-value",
|
|
2010
|
-
"attribute": "size",
|
|
2011
|
-
"cascades": true,
|
|
2012
|
-
"default": "medium",
|
|
2013
|
-
"values": [
|
|
2014
|
-
"xs",
|
|
2015
|
-
"sm",
|
|
2016
|
-
"md",
|
|
2017
|
-
"lg",
|
|
2018
|
-
"xl"
|
|
2019
|
-
],
|
|
2020
|
-
"description": "Cascades size to all children."
|
|
2021
|
-
}
|
|
2022
|
-
},
|
|
2023
2164
|
"attributes": {
|
|
2024
|
-
"
|
|
2165
|
+
"value": {
|
|
2025
2166
|
"syntax": "key-value",
|
|
2026
|
-
"type": "
|
|
2027
|
-
"
|
|
2028
|
-
|
|
2029
|
-
"grid",
|
|
2030
|
-
"dots"
|
|
2031
|
-
],
|
|
2032
|
-
"default": "none",
|
|
2033
|
-
"description": "Background pattern. grid = checkerboard squares. dots = dot matrix. none = transparent.\n"
|
|
2167
|
+
"type": "string",
|
|
2168
|
+
"default": "",
|
|
2169
|
+
"description": "Selected date in ISO format (YYYY-MM-DD)."
|
|
2034
2170
|
},
|
|
2035
|
-
"
|
|
2171
|
+
"placeholder": {
|
|
2036
2172
|
"syntax": "key-value",
|
|
2037
|
-
"type": "
|
|
2038
|
-
"
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
"
|
|
2043
|
-
"
|
|
2173
|
+
"type": "string",
|
|
2174
|
+
"default": "Select date",
|
|
2175
|
+
"description": "Placeholder text shown when no date is selected."
|
|
2176
|
+
},
|
|
2177
|
+
"min": {
|
|
2178
|
+
"syntax": "key-value",
|
|
2179
|
+
"type": "string",
|
|
2180
|
+
"default": "",
|
|
2181
|
+
"description": "Minimum selectable date in ISO format. Dates before this are disabled."
|
|
2182
|
+
},
|
|
2183
|
+
"max": {
|
|
2184
|
+
"syntax": "key-value",
|
|
2185
|
+
"type": "string",
|
|
2186
|
+
"default": "",
|
|
2187
|
+
"description": "Maximum selectable date in ISO format. Dates after this are disabled."
|
|
2188
|
+
},
|
|
2189
|
+
"format": {
|
|
2190
|
+
"syntax": "key-value",
|
|
2191
|
+
"type": "string",
|
|
2192
|
+
"default": "YYYY-MM-DD",
|
|
2193
|
+
"description": "Display format for the selected date (e.g. MM/DD/YYYY)."
|
|
2044
2194
|
}
|
|
2045
2195
|
},
|
|
2046
2196
|
"modifiers": {
|
|
2047
|
-
"
|
|
2048
|
-
"syntax": "boolean",
|
|
2049
|
-
"description": "Enable click-and-drag panning of the canvas content."
|
|
2050
|
-
},
|
|
2051
|
-
"zoom-enabled": {
|
|
2052
|
-
"syntax": "boolean",
|
|
2053
|
-
"description": "Enable scroll-to-zoom on the canvas content."
|
|
2054
|
-
},
|
|
2055
|
-
"infinite": {
|
|
2197
|
+
"disabled": {
|
|
2056
2198
|
"syntax": "boolean",
|
|
2057
|
-
"description": "
|
|
2199
|
+
"description": "Disables all interaction."
|
|
2058
2200
|
},
|
|
2059
|
-
"
|
|
2201
|
+
"open": {
|
|
2060
2202
|
"syntax": "boolean",
|
|
2061
|
-
"description": "
|
|
2203
|
+
"description": "Whether the calendar popover is currently open."
|
|
2062
2204
|
}
|
|
2063
2205
|
},
|
|
2064
|
-
"
|
|
2065
|
-
"
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
"
|
|
2070
|
-
"
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
"
|
|
2206
|
+
"a11y": {
|
|
2207
|
+
"role": "combobox (trigger)",
|
|
2208
|
+
"keyboard": {
|
|
2209
|
+
"Enter": "Opens the calendar popover.",
|
|
2210
|
+
"Space": "Opens the calendar popover.",
|
|
2211
|
+
"ArrowDown": "Opens the calendar popover.",
|
|
2212
|
+
"ArrowUp": "Opens the calendar popover.",
|
|
2213
|
+
"Escape": "Closes the calendar popover and returns focus to trigger."
|
|
2214
|
+
}
|
|
2215
|
+
},
|
|
2216
|
+
"tokens": [
|
|
2217
|
+
{
|
|
2218
|
+
"name": "--aui-calendar-picker-font-family",
|
|
2219
|
+
"default": "var(--aui-font-family)",
|
|
2220
|
+
"description": "Font family for the trigger."
|
|
2077
2221
|
},
|
|
2078
|
-
|
|
2079
|
-
"
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
"description": "Right panel (horizontal) or bottom panel (vertical)."
|
|
2222
|
+
{
|
|
2223
|
+
"name": "--aui-calendar-picker-font-size",
|
|
2224
|
+
"default": "var(--aui-font-size)",
|
|
2225
|
+
"description": "Font size for the trigger."
|
|
2083
2226
|
},
|
|
2084
|
-
|
|
2085
|
-
"
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
"description": "Floating toolbar at top center of the viewport."
|
|
2227
|
+
{
|
|
2228
|
+
"name": "--aui-calendar-picker-font-weight",
|
|
2229
|
+
"default": "var(--aui-control-font-weight)",
|
|
2230
|
+
"description": "Font weight for the trigger."
|
|
2089
2231
|
},
|
|
2090
|
-
|
|
2091
|
-
"
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
"description": "Floating toolbar at bottom center of the viewport."
|
|
2232
|
+
{
|
|
2233
|
+
"name": "--aui-calendar-picker-color",
|
|
2234
|
+
"default": "var(--aui-ink)",
|
|
2235
|
+
"description": "Text color of the trigger."
|
|
2095
2236
|
},
|
|
2096
|
-
|
|
2097
|
-
"
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
"description": "Floating indicator at left center of the viewport."
|
|
2237
|
+
{
|
|
2238
|
+
"name": "--aui-calendar-picker-background",
|
|
2239
|
+
"default": "var(--aui-control, var(--aui-fill))",
|
|
2240
|
+
"description": "Background color of the trigger."
|
|
2101
2241
|
},
|
|
2102
|
-
"float-right": {
|
|
2103
|
-
"accepts": [
|
|
2104
|
-
"any"
|
|
2105
|
-
],
|
|
2106
|
-
"description": "Floating indicator at right center of the viewport."
|
|
2107
|
-
}
|
|
2108
|
-
},
|
|
2109
|
-
"tokens": [
|
|
2110
2242
|
{
|
|
2111
|
-
"name": "--aui-
|
|
2112
|
-
"default": "var(--aui-
|
|
2113
|
-
"description": "
|
|
2243
|
+
"name": "--aui-calendar-picker-border-color",
|
|
2244
|
+
"default": "var(--aui-stroke)",
|
|
2245
|
+
"description": "Border color of the trigger."
|
|
2114
2246
|
},
|
|
2115
2247
|
{
|
|
2116
|
-
"name": "--aui-
|
|
2248
|
+
"name": "--aui-calendar-picker-border-radius",
|
|
2117
2249
|
"default": "var(--aui-radius)",
|
|
2118
|
-
"description": "Border radius of the
|
|
2250
|
+
"description": "Border radius of the trigger."
|
|
2119
2251
|
},
|
|
2120
2252
|
{
|
|
2121
|
-
"name": "--aui-
|
|
2122
|
-
"default": "var(--aui-
|
|
2123
|
-
"description": "
|
|
2253
|
+
"name": "--aui-calendar-picker-size",
|
|
2254
|
+
"default": "var(--aui-size)",
|
|
2255
|
+
"description": "Height of the trigger."
|
|
2124
2256
|
},
|
|
2125
2257
|
{
|
|
2126
|
-
"name": "--aui-
|
|
2127
|
-
"default": "var(--aui-
|
|
2128
|
-
"description": "
|
|
2129
|
-
}
|
|
2130
|
-
],
|
|
2131
|
-
"events": {
|
|
2132
|
-
"aui:canvas-pan": {
|
|
2133
|
-
"description": "Fires on pan change. Detail contains { x, y }."
|
|
2258
|
+
"name": "--aui-calendar-picker-padding-inline",
|
|
2259
|
+
"default": "var(--aui-pad-control-inline)",
|
|
2260
|
+
"description": "Inline padding of the trigger."
|
|
2134
2261
|
},
|
|
2135
|
-
|
|
2136
|
-
"
|
|
2137
|
-
|
|
2138
|
-
|
|
2262
|
+
{
|
|
2263
|
+
"name": "--aui-calendar-picker-gap",
|
|
2264
|
+
"default": "var(--aui-pad-gap-control)",
|
|
2265
|
+
"description": "Gap between trigger elements."
|
|
2266
|
+
},
|
|
2267
|
+
{
|
|
2268
|
+
"name": "--aui-calendar-picker-icon-size",
|
|
2269
|
+
"default": "var(--aui-icon-size)",
|
|
2270
|
+
"description": "Size of the calendar icon and chevron."
|
|
2271
|
+
},
|
|
2272
|
+
{
|
|
2273
|
+
"name": "--aui-calendar-picker-placeholder-color",
|
|
2274
|
+
"default": "var(--aui-ink-placeholder, var(--aui-ink-muted))",
|
|
2275
|
+
"description": "Placeholder text color."
|
|
2276
|
+
},
|
|
2277
|
+
{
|
|
2278
|
+
"name": "--aui-calendar-picker-chevron-color",
|
|
2279
|
+
"default": "var(--aui-ink-muted)",
|
|
2280
|
+
"description": "Color of the calendar icon and chevron."
|
|
2281
|
+
},
|
|
2282
|
+
{
|
|
2283
|
+
"name": "--aui-calendar-picker-dropdown-background",
|
|
2284
|
+
"default": "var(--aui-modal, var(--aui-doc))",
|
|
2285
|
+
"description": "Background of the calendar dropdown."
|
|
2286
|
+
},
|
|
2287
|
+
{
|
|
2288
|
+
"name": "--aui-calendar-picker-dropdown-border-color",
|
|
2289
|
+
"default": "var(--aui-border-muted)",
|
|
2290
|
+
"description": "Border color of the calendar dropdown."
|
|
2291
|
+
},
|
|
2292
|
+
{
|
|
2293
|
+
"name": "--aui-calendar-picker-dropdown-border-radius",
|
|
2294
|
+
"default": "var(--aui-radius)",
|
|
2295
|
+
"description": "Border radius of the calendar dropdown."
|
|
2296
|
+
},
|
|
2297
|
+
{
|
|
2298
|
+
"name": "--aui-calendar-picker-dropdown-shadow",
|
|
2299
|
+
"default": "var(--aui-shadow-lg)",
|
|
2300
|
+
"description": "Box shadow of the calendar dropdown."
|
|
2301
|
+
}
|
|
2302
|
+
],
|
|
2303
|
+
"events": {
|
|
2304
|
+
"change": {
|
|
2305
|
+
"description": "Fired when a date is selected. Detail contains { value, date }."
|
|
2306
|
+
}
|
|
2307
|
+
},
|
|
2308
|
+
"dependencies": [
|
|
2309
|
+
"aui-calendar"
|
|
2310
|
+
],
|
|
2311
|
+
"examples": [
|
|
2312
|
+
{
|
|
2313
|
+
"html": "<aui-calendar-picker placeholder=\"Select date\"></aui-calendar-picker>\n",
|
|
2314
|
+
"description": "Default date picker with placeholder."
|
|
2315
|
+
},
|
|
2316
|
+
{
|
|
2317
|
+
"html": "<aui-calendar-picker value=\"2026-03-15\"></aui-calendar-picker>\n",
|
|
2318
|
+
"description": "Date picker with pre-selected date."
|
|
2319
|
+
},
|
|
2320
|
+
{
|
|
2321
|
+
"html": "<aui-calendar-picker\n value=\"2026-03-21\"\n min=\"2026-01-01\"\n max=\"2026-12-31\"\n placeholder=\"Pick a date\"\n></aui-calendar-picker>\n",
|
|
2322
|
+
"description": "Date picker with min/max constraints."
|
|
2323
|
+
},
|
|
2324
|
+
{
|
|
2325
|
+
"html": "<aui-calendar-picker value=\"2026-03-21\" format=\"MM/DD/YYYY\"></aui-calendar-picker>\n",
|
|
2326
|
+
"description": "Date picker with custom display format."
|
|
2327
|
+
},
|
|
2328
|
+
{
|
|
2329
|
+
"html": "<aui-calendar-picker value=\"2026-03-21\" disabled></aui-calendar-picker>\n",
|
|
2330
|
+
"description": "Disabled date picker."
|
|
2331
|
+
}
|
|
2332
|
+
]
|
|
2333
|
+
},
|
|
2334
|
+
{
|
|
2335
|
+
"name": "aui-calendar-range-picker",
|
|
2336
|
+
"tag": "aui-calendar-range-picker",
|
|
2337
|
+
"type": "component",
|
|
2338
|
+
"summary": "Compound date range picker with trigger input and calendar popover.",
|
|
2339
|
+
"description": "Combines a read-only trigger (styled like an input) with a popover containing an aui-calendar in range selection mode. On range commit the popover closes, the trigger updates with \"Start -- End\" text, and a change event fires with { start, end } detail. Supports min/max date constraints.\n",
|
|
2340
|
+
"base": "AgentElement",
|
|
2341
|
+
"attributes": {
|
|
2342
|
+
"start": {
|
|
2343
|
+
"syntax": "key-value",
|
|
2344
|
+
"type": "string",
|
|
2345
|
+
"default": "",
|
|
2346
|
+
"description": "Range start date in ISO format (YYYY-MM-DD)."
|
|
2347
|
+
},
|
|
2348
|
+
"end": {
|
|
2349
|
+
"syntax": "key-value",
|
|
2350
|
+
"type": "string",
|
|
2351
|
+
"default": "",
|
|
2352
|
+
"description": "Range end date in ISO format (YYYY-MM-DD)."
|
|
2353
|
+
},
|
|
2354
|
+
"placeholder": {
|
|
2355
|
+
"syntax": "key-value",
|
|
2356
|
+
"type": "string",
|
|
2357
|
+
"default": "Select dates",
|
|
2358
|
+
"description": "Placeholder text shown when no range is selected."
|
|
2359
|
+
},
|
|
2360
|
+
"min": {
|
|
2361
|
+
"syntax": "key-value",
|
|
2362
|
+
"type": "string",
|
|
2363
|
+
"default": "",
|
|
2364
|
+
"description": "Minimum selectable date in ISO format. Dates before this are disabled."
|
|
2365
|
+
},
|
|
2366
|
+
"max": {
|
|
2367
|
+
"syntax": "key-value",
|
|
2368
|
+
"type": "string",
|
|
2369
|
+
"default": "",
|
|
2370
|
+
"description": "Maximum selectable date in ISO format. Dates after this are disabled."
|
|
2371
|
+
}
|
|
2372
|
+
},
|
|
2373
|
+
"modifiers": {
|
|
2374
|
+
"disabled": {
|
|
2375
|
+
"syntax": "boolean",
|
|
2376
|
+
"description": "Disables all interaction."
|
|
2377
|
+
},
|
|
2378
|
+
"open": {
|
|
2379
|
+
"syntax": "boolean",
|
|
2380
|
+
"description": "Whether the calendar popover is currently open."
|
|
2381
|
+
}
|
|
2382
|
+
},
|
|
2383
|
+
"a11y": {
|
|
2384
|
+
"role": "combobox (trigger)",
|
|
2385
|
+
"keyboard": {
|
|
2386
|
+
"Enter": "Opens the calendar popover.",
|
|
2387
|
+
"Space": "Opens the calendar popover.",
|
|
2388
|
+
"ArrowDown": "Opens the calendar popover.",
|
|
2389
|
+
"ArrowUp": "Opens the calendar popover.",
|
|
2390
|
+
"Escape": "Closes the calendar popover and returns focus to trigger."
|
|
2391
|
+
}
|
|
2392
|
+
},
|
|
2393
|
+
"tokens": [
|
|
2394
|
+
{
|
|
2395
|
+
"name": "--aui-calendar-range-picker-font-family",
|
|
2396
|
+
"default": "var(--aui-font-family)",
|
|
2397
|
+
"description": "Font family for the trigger."
|
|
2398
|
+
},
|
|
2399
|
+
{
|
|
2400
|
+
"name": "--aui-calendar-range-picker-font-size",
|
|
2401
|
+
"default": "var(--aui-font-size)",
|
|
2402
|
+
"description": "Font size for the trigger."
|
|
2403
|
+
},
|
|
2404
|
+
{
|
|
2405
|
+
"name": "--aui-calendar-range-picker-font-weight",
|
|
2406
|
+
"default": "var(--aui-control-font-weight)",
|
|
2407
|
+
"description": "Font weight for the trigger."
|
|
2408
|
+
},
|
|
2409
|
+
{
|
|
2410
|
+
"name": "--aui-calendar-range-picker-color",
|
|
2411
|
+
"default": "var(--aui-ink)",
|
|
2412
|
+
"description": "Text color of the trigger."
|
|
2413
|
+
},
|
|
2414
|
+
{
|
|
2415
|
+
"name": "--aui-calendar-range-picker-background",
|
|
2416
|
+
"default": "var(--aui-control, var(--aui-fill))",
|
|
2417
|
+
"description": "Background color of the trigger."
|
|
2418
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
"name": "--aui-calendar-range-picker-border-color",
|
|
2421
|
+
"default": "var(--aui-stroke)",
|
|
2422
|
+
"description": "Border color of the trigger."
|
|
2423
|
+
},
|
|
2424
|
+
{
|
|
2425
|
+
"name": "--aui-calendar-range-picker-border-radius",
|
|
2426
|
+
"default": "var(--aui-radius)",
|
|
2427
|
+
"description": "Border radius of the trigger."
|
|
2428
|
+
},
|
|
2429
|
+
{
|
|
2430
|
+
"name": "--aui-calendar-range-picker-size",
|
|
2431
|
+
"default": "var(--aui-size)",
|
|
2432
|
+
"description": "Height of the trigger."
|
|
2433
|
+
},
|
|
2434
|
+
{
|
|
2435
|
+
"name": "--aui-calendar-range-picker-padding-inline",
|
|
2436
|
+
"default": "var(--aui-pad-control-inline)",
|
|
2437
|
+
"description": "Inline padding of the trigger."
|
|
2438
|
+
},
|
|
2439
|
+
{
|
|
2440
|
+
"name": "--aui-calendar-range-picker-gap",
|
|
2441
|
+
"default": "var(--aui-pad-gap-control)",
|
|
2442
|
+
"description": "Gap between trigger elements."
|
|
2443
|
+
},
|
|
2444
|
+
{
|
|
2445
|
+
"name": "--aui-calendar-range-picker-icon-size",
|
|
2446
|
+
"default": "var(--aui-icon-size)",
|
|
2447
|
+
"description": "Size of the calendar icon and chevron."
|
|
2448
|
+
},
|
|
2449
|
+
{
|
|
2450
|
+
"name": "--aui-calendar-range-picker-placeholder-color",
|
|
2451
|
+
"default": "var(--aui-ink-placeholder, var(--aui-ink-muted))",
|
|
2452
|
+
"description": "Placeholder text color."
|
|
2453
|
+
},
|
|
2454
|
+
{
|
|
2455
|
+
"name": "--aui-calendar-range-picker-chevron-color",
|
|
2456
|
+
"default": "var(--aui-ink-muted)",
|
|
2457
|
+
"description": "Color of the calendar icon and chevron."
|
|
2458
|
+
},
|
|
2459
|
+
{
|
|
2460
|
+
"name": "--aui-calendar-range-picker-dropdown-background",
|
|
2461
|
+
"default": "var(--aui-modal, var(--aui-doc))",
|
|
2462
|
+
"description": "Background of the calendar dropdown."
|
|
2463
|
+
},
|
|
2464
|
+
{
|
|
2465
|
+
"name": "--aui-calendar-range-picker-dropdown-border-color",
|
|
2466
|
+
"default": "var(--aui-border-muted)",
|
|
2467
|
+
"description": "Border color of the calendar dropdown."
|
|
2468
|
+
},
|
|
2469
|
+
{
|
|
2470
|
+
"name": "--aui-calendar-range-picker-dropdown-border-radius",
|
|
2471
|
+
"default": "var(--aui-radius)",
|
|
2472
|
+
"description": "Border radius of the calendar dropdown."
|
|
2473
|
+
},
|
|
2474
|
+
{
|
|
2475
|
+
"name": "--aui-calendar-range-picker-dropdown-shadow",
|
|
2476
|
+
"default": "var(--aui-shadow-lg)",
|
|
2477
|
+
"description": "Box shadow of the calendar dropdown."
|
|
2478
|
+
}
|
|
2479
|
+
],
|
|
2480
|
+
"events": {
|
|
2481
|
+
"change": {
|
|
2482
|
+
"description": "Fired when a range is fully selected. Detail contains { start, end }."
|
|
2483
|
+
}
|
|
2484
|
+
},
|
|
2485
|
+
"dependencies": [
|
|
2486
|
+
"aui-calendar"
|
|
2487
|
+
],
|
|
2488
|
+
"examples": [
|
|
2489
|
+
{
|
|
2490
|
+
"html": "<aui-calendar-range-picker placeholder=\"Select dates\"></aui-calendar-range-picker>\n",
|
|
2491
|
+
"description": "Default range picker with placeholder."
|
|
2492
|
+
},
|
|
2493
|
+
{
|
|
2494
|
+
"html": "<aui-calendar-range-picker start=\"2026-03-01\" end=\"2026-03-15\"></aui-calendar-range-picker>\n",
|
|
2495
|
+
"description": "Range picker with pre-selected range."
|
|
2496
|
+
},
|
|
2497
|
+
{
|
|
2498
|
+
"html": "<aui-calendar-range-picker\n start=\"2026-03-01\"\n end=\"2026-03-15\"\n min=\"2026-01-01\"\n max=\"2026-12-31\"\n placeholder=\"Pick a range\"\n></aui-calendar-range-picker>\n",
|
|
2499
|
+
"description": "Range picker with min/max constraints."
|
|
2500
|
+
},
|
|
2501
|
+
{
|
|
2502
|
+
"html": "<aui-calendar-range-picker start=\"2026-03-01\" end=\"2026-03-15\" disabled></aui-calendar-range-picker>\n",
|
|
2503
|
+
"description": "Disabled range picker."
|
|
2504
|
+
}
|
|
2505
|
+
]
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
"name": "aui-canvas",
|
|
2509
|
+
"tag": "aui-canvas",
|
|
2510
|
+
"type": "component",
|
|
2511
|
+
"summary": "Versatile preview surface with pan/zoom, backgrounds, and editor layout slots.",
|
|
2512
|
+
"description": "A composable canvas surface that serves three roles: 1. Simple preview container with background patterns (replaces .block-render) 2. Infinite canvas with pan and zoom for visual editors 3. Full editor layout with leading/trailing panels and floating toolbars\nThe canvas uses a slot-based architecture. Content goes in the default slot. Panels attach via leading/trailing slots. Floating UI (toolbars, indicators) uses float-top/bottom/left/right slots positioned absolutely within the canvas viewport.\nPan uses pointer-captured drag on the background. Zoom uses wheel events. Both expose CSS custom properties (--_canvas-x, --_canvas-y, --_canvas-zoom) so content transforms are CSS-driven.\n",
|
|
2513
|
+
"base": "AgentElement",
|
|
2514
|
+
"presentational": {
|
|
2515
|
+
"size": {
|
|
2516
|
+
"syntax": "key-value",
|
|
2517
|
+
"attribute": "size",
|
|
2518
|
+
"cascades": true,
|
|
2519
|
+
"default": "medium",
|
|
2520
|
+
"values": [
|
|
2521
|
+
"xs",
|
|
2522
|
+
"sm",
|
|
2523
|
+
"md",
|
|
2524
|
+
"lg",
|
|
2525
|
+
"xl"
|
|
2526
|
+
],
|
|
2527
|
+
"description": "Cascades size to all children."
|
|
2528
|
+
}
|
|
2529
|
+
},
|
|
2530
|
+
"attributes": {
|
|
2531
|
+
"background": {
|
|
2532
|
+
"syntax": "key-value",
|
|
2533
|
+
"type": "enum",
|
|
2534
|
+
"values": [
|
|
2535
|
+
"none",
|
|
2536
|
+
"grid",
|
|
2537
|
+
"dots"
|
|
2538
|
+
],
|
|
2539
|
+
"default": "none",
|
|
2540
|
+
"description": "Background pattern. grid = checkerboard squares. dots = dot matrix. none = transparent.\n"
|
|
2541
|
+
},
|
|
2542
|
+
"orientation": {
|
|
2543
|
+
"syntax": "key-value",
|
|
2544
|
+
"type": "enum",
|
|
2545
|
+
"values": [
|
|
2546
|
+
"horizontal",
|
|
2547
|
+
"vertical"
|
|
2548
|
+
],
|
|
2549
|
+
"default": "horizontal",
|
|
2550
|
+
"description": "Layout direction. horizontal = [leading][content][trailing]. vertical = [content] over [leading][trailing].\n"
|
|
2551
|
+
}
|
|
2552
|
+
},
|
|
2553
|
+
"modifiers": {
|
|
2554
|
+
"pan-enabled": {
|
|
2555
|
+
"syntax": "boolean",
|
|
2556
|
+
"description": "Enable click-and-drag panning of the canvas content."
|
|
2557
|
+
},
|
|
2558
|
+
"zoom-enabled": {
|
|
2559
|
+
"syntax": "boolean",
|
|
2560
|
+
"description": "Enable scroll-to-zoom on the canvas content."
|
|
2561
|
+
},
|
|
2562
|
+
"infinite": {
|
|
2563
|
+
"syntax": "boolean",
|
|
2564
|
+
"description": "Infinite canvas mode. Content is not constrained to the viewport bounds. Combines pan-enabled + zoom-enabled.\n"
|
|
2565
|
+
},
|
|
2566
|
+
"bordered": {
|
|
2567
|
+
"syntax": "boolean",
|
|
2568
|
+
"description": "Adds a visible border around the canvas."
|
|
2569
|
+
}
|
|
2570
|
+
},
|
|
2571
|
+
"slots": {
|
|
2572
|
+
"default": {
|
|
2573
|
+
"accepts": [
|
|
2574
|
+
"any"
|
|
2575
|
+
],
|
|
2576
|
+
"required": true,
|
|
2577
|
+
"description": "Main canvas content."
|
|
2578
|
+
},
|
|
2579
|
+
"leading": {
|
|
2580
|
+
"accepts": [
|
|
2581
|
+
"any"
|
|
2582
|
+
],
|
|
2583
|
+
"description": "Left panel (horizontal) or top panel (vertical)."
|
|
2584
|
+
},
|
|
2585
|
+
"trailing": {
|
|
2586
|
+
"accepts": [
|
|
2587
|
+
"any"
|
|
2588
|
+
],
|
|
2589
|
+
"description": "Right panel (horizontal) or bottom panel (vertical)."
|
|
2590
|
+
},
|
|
2591
|
+
"float-top": {
|
|
2592
|
+
"accepts": [
|
|
2593
|
+
"any"
|
|
2594
|
+
],
|
|
2595
|
+
"description": "Floating toolbar at top center of the viewport."
|
|
2596
|
+
},
|
|
2597
|
+
"float-bottom": {
|
|
2598
|
+
"accepts": [
|
|
2599
|
+
"any"
|
|
2600
|
+
],
|
|
2601
|
+
"description": "Floating toolbar at bottom center of the viewport."
|
|
2602
|
+
},
|
|
2603
|
+
"float-left": {
|
|
2604
|
+
"accepts": [
|
|
2605
|
+
"any"
|
|
2606
|
+
],
|
|
2607
|
+
"description": "Floating indicator at left center of the viewport."
|
|
2608
|
+
},
|
|
2609
|
+
"float-right": {
|
|
2610
|
+
"accepts": [
|
|
2611
|
+
"any"
|
|
2612
|
+
],
|
|
2613
|
+
"description": "Floating indicator at right center of the viewport."
|
|
2614
|
+
}
|
|
2615
|
+
},
|
|
2616
|
+
"tokens": [
|
|
2617
|
+
{
|
|
2618
|
+
"name": "--aui-canvas-background",
|
|
2619
|
+
"default": "var(--aui-doc)",
|
|
2620
|
+
"description": "Background color of the canvas surface."
|
|
2621
|
+
},
|
|
2622
|
+
{
|
|
2623
|
+
"name": "--aui-canvas-border-radius",
|
|
2624
|
+
"default": "var(--aui-radius)",
|
|
2625
|
+
"description": "Border radius of the canvas container."
|
|
2626
|
+
},
|
|
2627
|
+
{
|
|
2628
|
+
"name": "--aui-canvas-border-color",
|
|
2629
|
+
"default": "var(--aui-border-muted)",
|
|
2630
|
+
"description": "Border color when the bordered attribute is set."
|
|
2631
|
+
},
|
|
2632
|
+
{
|
|
2633
|
+
"name": "--aui-canvas-focus-color",
|
|
2634
|
+
"default": "var(--aui-focus)",
|
|
2635
|
+
"description": "Focus ring color when the canvas is focused."
|
|
2636
|
+
}
|
|
2637
|
+
],
|
|
2638
|
+
"events": {
|
|
2639
|
+
"aui:canvas-pan": {
|
|
2640
|
+
"description": "Fires on pan change. Detail contains { x, y }."
|
|
2641
|
+
},
|
|
2642
|
+
"aui:canvas-zoom": {
|
|
2643
|
+
"description": "Fires on zoom change. Detail contains { zoom }."
|
|
2644
|
+
}
|
|
2645
|
+
},
|
|
2139
2646
|
"a11y": {
|
|
2140
2647
|
"role": "region",
|
|
2141
2648
|
"keyboard": {
|
|
@@ -2307,80 +2814,377 @@
|
|
|
2307
2814
|
"description": "Width and height of the visual checkbox box."
|
|
2308
2815
|
},
|
|
2309
2816
|
{
|
|
2310
|
-
"name": "--aui-checkbox-box-background",
|
|
2311
|
-
"default": "var(--aui-control, var(--aui-fill))",
|
|
2312
|
-
"description": "Unchecked box background."
|
|
2817
|
+
"name": "--aui-checkbox-box-background",
|
|
2818
|
+
"default": "var(--aui-control, var(--aui-fill))",
|
|
2819
|
+
"description": "Unchecked box background."
|
|
2820
|
+
},
|
|
2821
|
+
{
|
|
2822
|
+
"name": "--aui-checkbox-box-border",
|
|
2823
|
+
"default": "var(--aui-stroke)",
|
|
2824
|
+
"description": "Unchecked box border color."
|
|
2825
|
+
},
|
|
2826
|
+
{
|
|
2827
|
+
"name": "--aui-checkbox-box-border-radius",
|
|
2828
|
+
"default": "calc(var(--aui-radius) * 0.4)",
|
|
2829
|
+
"description": "Box corner radius."
|
|
2830
|
+
},
|
|
2831
|
+
{
|
|
2832
|
+
"name": "--aui-checkbox-checked-background",
|
|
2833
|
+
"default": "var(--aui-accent)",
|
|
2834
|
+
"description": "Checked box background."
|
|
2835
|
+
},
|
|
2836
|
+
{
|
|
2837
|
+
"name": "--aui-checkbox-checked-border",
|
|
2838
|
+
"default": "var(--aui-accent)",
|
|
2839
|
+
"description": "Checked box border color."
|
|
2840
|
+
},
|
|
2841
|
+
{
|
|
2842
|
+
"name": "--aui-checkbox-checked-color",
|
|
2843
|
+
"default": "var(--aui-solid-ink)",
|
|
2844
|
+
"description": "Check mark color."
|
|
2845
|
+
},
|
|
2846
|
+
{
|
|
2847
|
+
"name": "--aui-checkbox-border-hover",
|
|
2848
|
+
"default": "var(--aui-stroke-hover, var(--aui-border-hover))",
|
|
2849
|
+
"description": "Box border color on hover."
|
|
2850
|
+
},
|
|
2851
|
+
{
|
|
2852
|
+
"name": "--aui-checkbox-background-disabled",
|
|
2853
|
+
"default": "var(--aui-fill-disabled, var(--aui-action-disabled))",
|
|
2854
|
+
"description": "Box background when disabled."
|
|
2855
|
+
},
|
|
2856
|
+
{
|
|
2857
|
+
"name": "--aui-checkbox-border-disabled",
|
|
2858
|
+
"default": "var(--aui-stroke-disabled, var(--aui-border-disabled))",
|
|
2859
|
+
"description": "Box border color when disabled."
|
|
2860
|
+
}
|
|
2861
|
+
],
|
|
2862
|
+
"css-notes": {
|
|
2863
|
+
"attr-audit": [
|
|
2864
|
+
"AB1: [checked], [indeterminate], [disabled] — all visual via attributes",
|
|
2865
|
+
"CG2: ::before on [data-box] for check/dash icon",
|
|
2866
|
+
"CG3: ::after { content: attr(label) } — label rendered in CSS, overflow: hidden on ::after only",
|
|
2867
|
+
"CG4: gap uses 2 * space (tightened from 3 * space)",
|
|
2868
|
+
":has(> input:focus-visible) — focus ring on visual box"
|
|
2869
|
+
]
|
|
2870
|
+
},
|
|
2871
|
+
"examples": [
|
|
2872
|
+
{
|
|
2873
|
+
"html": "<aui-checkbox label=\"Accept terms\"></aui-checkbox>",
|
|
2874
|
+
"description": "Default unchecked checkbox."
|
|
2875
|
+
},
|
|
2876
|
+
{
|
|
2877
|
+
"html": "<aui-checkbox label=\"Newsletter\" checked></aui-checkbox>",
|
|
2878
|
+
"description": "Pre-checked checkbox."
|
|
2879
|
+
},
|
|
2880
|
+
{
|
|
2881
|
+
"html": "<aui-checkbox label=\"Select all\" indeterminate></aui-checkbox>",
|
|
2882
|
+
"description": "Indeterminate state."
|
|
2883
|
+
},
|
|
2884
|
+
{
|
|
2885
|
+
"html": "<aui-checkbox label=\"Unavailable\" disabled></aui-checkbox>",
|
|
2886
|
+
"description": "Disabled checkbox."
|
|
2887
|
+
},
|
|
2888
|
+
{
|
|
2889
|
+
"html": "<aui-checkbox label=\"Enabled\" checked accent></aui-checkbox>",
|
|
2890
|
+
"description": "Accent-colored checked checkbox."
|
|
2891
|
+
}
|
|
2892
|
+
]
|
|
2893
|
+
},
|
|
2894
|
+
{
|
|
2895
|
+
"name": "aui-chip",
|
|
2896
|
+
"tag": "aui-chip",
|
|
2897
|
+
"type": "component",
|
|
2898
|
+
"summary": "Compact pill-shaped label for tags, filters, and selected items.",
|
|
2899
|
+
"description": "Inline pill element for tags, filter tokens, and selected items. Supports intent colors via boolean attributes and a removable variant that stamps a close button and dispatches a remove event.\n",
|
|
2900
|
+
"base": "AgentElement",
|
|
2901
|
+
"attributes": {
|
|
2902
|
+
"removable": {
|
|
2903
|
+
"syntax": "boolean",
|
|
2904
|
+
"type": "boolean",
|
|
2905
|
+
"default": false,
|
|
2906
|
+
"description": "Stamps an X close button. Clicking it dispatches a \"remove\" CustomEvent (bubbles) and removes the element from the DOM.\n"
|
|
2907
|
+
}
|
|
2908
|
+
},
|
|
2909
|
+
"presentational": {
|
|
2910
|
+
"size": {
|
|
2911
|
+
"syntax": "key-value",
|
|
2912
|
+
"attribute": "size",
|
|
2913
|
+
"cascades": false,
|
|
2914
|
+
"default": "default",
|
|
2915
|
+
"values": [
|
|
2916
|
+
"sm"
|
|
2917
|
+
],
|
|
2918
|
+
"description": "Compact variant with smaller padding and font."
|
|
2919
|
+
},
|
|
2920
|
+
"intent": {
|
|
2921
|
+
"syntax": "boolean",
|
|
2922
|
+
"exclusive": true,
|
|
2923
|
+
"cascades": false,
|
|
2924
|
+
"default": "neutral",
|
|
2925
|
+
"values": [
|
|
2926
|
+
"accent",
|
|
2927
|
+
"success",
|
|
2928
|
+
"warning",
|
|
2929
|
+
"danger"
|
|
2930
|
+
],
|
|
2931
|
+
"description": "Tinted background and text color."
|
|
2932
|
+
}
|
|
2933
|
+
},
|
|
2934
|
+
"content": {
|
|
2935
|
+
"model": "inline",
|
|
2936
|
+
"accepts": [
|
|
2937
|
+
"text",
|
|
2938
|
+
"aui-icon"
|
|
2939
|
+
],
|
|
2940
|
+
"required": true,
|
|
2941
|
+
"description": "Short label text. May include a leading aui-icon. Keep concise.\n"
|
|
2942
|
+
},
|
|
2943
|
+
"slots": {
|
|
2944
|
+
"default": {
|
|
2945
|
+
"accepts": [
|
|
2946
|
+
"text",
|
|
2947
|
+
"aui-icon"
|
|
2948
|
+
],
|
|
2949
|
+
"required": true,
|
|
2950
|
+
"description": "Chip label. Icons allowed before text."
|
|
2951
|
+
}
|
|
2952
|
+
},
|
|
2953
|
+
"composition": {
|
|
2954
|
+
"parents": [
|
|
2955
|
+
"aui-stack",
|
|
2956
|
+
"aui-wrap",
|
|
2957
|
+
"div",
|
|
2958
|
+
"span"
|
|
2959
|
+
],
|
|
2960
|
+
"children": [
|
|
2961
|
+
"aui-icon"
|
|
2962
|
+
],
|
|
2963
|
+
"context": "Inline element. Group chips in aui-stack direction=\"row\" or aui-wrap. Used inside tag inputs, filter bars, member labels.\n"
|
|
2964
|
+
},
|
|
2965
|
+
"examples": [
|
|
2966
|
+
{
|
|
2967
|
+
"html": "<aui-chip>TypeScript</aui-chip>",
|
|
2968
|
+
"description": "Default chip."
|
|
2969
|
+
},
|
|
2970
|
+
{
|
|
2971
|
+
"html": "<aui-chip accent>Active</aui-chip>",
|
|
2972
|
+
"description": "Accent intent chip."
|
|
2973
|
+
},
|
|
2974
|
+
{
|
|
2975
|
+
"html": "<aui-chip success>Deployed</aui-chip>",
|
|
2976
|
+
"description": "Success intent chip."
|
|
2977
|
+
},
|
|
2978
|
+
{
|
|
2979
|
+
"html": "<aui-chip removable>React</aui-chip>",
|
|
2980
|
+
"description": "Removable chip with close button."
|
|
2981
|
+
},
|
|
2982
|
+
{
|
|
2983
|
+
"html": "<aui-chip size=\"sm\">Small</aui-chip>",
|
|
2984
|
+
"description": "Compact size variant."
|
|
2985
|
+
},
|
|
2986
|
+
{
|
|
2987
|
+
"html": "<aui-chip>\n <aui-icon name=\"tag\" size=\"xs\"></aui-icon>\n Label\n</aui-chip>\n",
|
|
2988
|
+
"description": "Chip with leading icon."
|
|
2989
|
+
}
|
|
2990
|
+
]
|
|
2991
|
+
},
|
|
2992
|
+
{
|
|
2993
|
+
"name": "aui-code-block",
|
|
2994
|
+
"tag": "aui-code-block",
|
|
2995
|
+
"type": "component",
|
|
2996
|
+
"summary": "Fenced code block with optional language header, filename, and copy button.",
|
|
2997
|
+
"description": "Wraps an aui-code element with an optional header bar showing a language label, filename, and copy-to-clipboard button. Text content placed directly inside is automatically wrapped in an aui-code child. The header is stamped by JS when language, filename, or copyable attributes are present. The copy button writes the code text to the clipboard via the Clipboard API.\n",
|
|
2998
|
+
"base": "AgentElement",
|
|
2999
|
+
"attributes": {
|
|
3000
|
+
"language": {
|
|
3001
|
+
"syntax": "key-value",
|
|
3002
|
+
"type": "string",
|
|
3003
|
+
"default": "",
|
|
3004
|
+
"description": "Programming language label shown in the header bar. Also useful for syntax-highlighting integrations.\n"
|
|
3005
|
+
},
|
|
3006
|
+
"filename": {
|
|
3007
|
+
"syntax": "key-value",
|
|
3008
|
+
"type": "string",
|
|
3009
|
+
"default": "",
|
|
3010
|
+
"description": "Filename shown in the header bar. Takes precedence over language for the displayed label.\n"
|
|
3011
|
+
},
|
|
3012
|
+
"copyable": {
|
|
3013
|
+
"syntax": "boolean",
|
|
3014
|
+
"type": "boolean",
|
|
3015
|
+
"default": false,
|
|
3016
|
+
"description": "When present, shows a \"Copy\" button in the header bar. Clicking copies the code content to the clipboard.\n"
|
|
3017
|
+
},
|
|
3018
|
+
"max-height": {
|
|
3019
|
+
"syntax": "key-value",
|
|
3020
|
+
"type": "string",
|
|
3021
|
+
"default": "",
|
|
3022
|
+
"description": "CSS max-height applied to the code body. When set, the code area becomes scrollable if content overflows.\n"
|
|
3023
|
+
}
|
|
3024
|
+
},
|
|
3025
|
+
"content": {
|
|
3026
|
+
"model": "text",
|
|
3027
|
+
"accepts": [
|
|
3028
|
+
"text",
|
|
3029
|
+
"aui-code"
|
|
3030
|
+
],
|
|
3031
|
+
"required": true,
|
|
3032
|
+
"description": "Code text content. Plain text is automatically wrapped in an aui-code element by JS. An explicit aui-code child is also accepted.\n"
|
|
3033
|
+
},
|
|
3034
|
+
"tokens": [
|
|
3035
|
+
{
|
|
3036
|
+
"name": "--aui-code-block-background",
|
|
3037
|
+
"default": "var(--aui-control)",
|
|
3038
|
+
"description": "Header background color."
|
|
3039
|
+
},
|
|
3040
|
+
{
|
|
3041
|
+
"name": "--aui-code-block-border",
|
|
3042
|
+
"default": "var(--aui-border-muted)",
|
|
3043
|
+
"description": "Border color for the outer container and header divider."
|
|
2313
3044
|
},
|
|
2314
3045
|
{
|
|
2315
|
-
"name": "--aui-
|
|
2316
|
-
"default": "var(--aui-
|
|
2317
|
-
"description": "
|
|
3046
|
+
"name": "--aui-code-block-border-radius",
|
|
3047
|
+
"default": "var(--aui-radius)",
|
|
3048
|
+
"description": "Corner radius of the outer container."
|
|
2318
3049
|
},
|
|
2319
3050
|
{
|
|
2320
|
-
"name": "--aui-
|
|
2321
|
-
"default": "
|
|
2322
|
-
"description": "
|
|
3051
|
+
"name": "--aui-code-block-header-font-size",
|
|
3052
|
+
"default": "var(--aui-font-xs)",
|
|
3053
|
+
"description": "Font size of the header label text."
|
|
2323
3054
|
},
|
|
2324
3055
|
{
|
|
2325
|
-
"name": "--aui-
|
|
2326
|
-
"default": "var(--aui-
|
|
2327
|
-
"description": "
|
|
3056
|
+
"name": "--aui-code-block-header-color",
|
|
3057
|
+
"default": "var(--aui-ink-muted)",
|
|
3058
|
+
"description": "Text color of the header label."
|
|
2328
3059
|
},
|
|
2329
3060
|
{
|
|
2330
|
-
"name": "--aui-
|
|
2331
|
-
"default": "var(--aui-
|
|
2332
|
-
"description": "
|
|
3061
|
+
"name": "--aui-code-block-header-padding",
|
|
3062
|
+
"default": "calc(var(--aui-space) * 2) calc(var(--aui-space) * 3)",
|
|
3063
|
+
"description": "Padding inside the header bar."
|
|
2333
3064
|
},
|
|
2334
3065
|
{
|
|
2335
|
-
"name": "--aui-
|
|
2336
|
-
"default": "var(--aui-
|
|
2337
|
-
"description": "
|
|
3066
|
+
"name": "--aui-code-block-copy-color",
|
|
3067
|
+
"default": "var(--aui-ink-muted)",
|
|
3068
|
+
"description": "Copy button text color."
|
|
2338
3069
|
},
|
|
2339
3070
|
{
|
|
2340
|
-
"name": "--aui-
|
|
2341
|
-
"default": "var(--aui-
|
|
2342
|
-
"description": "
|
|
3071
|
+
"name": "--aui-code-block-copy-color-hover",
|
|
3072
|
+
"default": "var(--aui-ink)",
|
|
3073
|
+
"description": "Copy button text color on hover."
|
|
3074
|
+
}
|
|
3075
|
+
],
|
|
3076
|
+
"a11y": {
|
|
3077
|
+
"role": "figure",
|
|
3078
|
+
"aria": {
|
|
3079
|
+
"aria-label": "Set from language or filename when present."
|
|
3080
|
+
}
|
|
3081
|
+
},
|
|
3082
|
+
"use-cases": [
|
|
3083
|
+
"Code snippets in documentation pages.",
|
|
3084
|
+
"Chat message code blocks in agent conversations.",
|
|
3085
|
+
"Copyable terminal commands.",
|
|
3086
|
+
"File previews with filename headers."
|
|
3087
|
+
],
|
|
3088
|
+
"examples": [
|
|
3089
|
+
{
|
|
3090
|
+
"html": "<aui-code-block language=\"typescript\">\nexport function normalize(tokens: string[]) {\n return tokens.map(t => t.trim())\n}\n</aui-code-block>\n",
|
|
3091
|
+
"description": "Code block with language header."
|
|
2343
3092
|
},
|
|
2344
3093
|
{
|
|
2345
|
-
"
|
|
2346
|
-
"
|
|
2347
|
-
"description": "Box background when disabled."
|
|
3094
|
+
"html": "<aui-code-block language=\"python\" filename=\"main.py\" copyable>\nimport pandas as pd\ndf = pd.read_csv(\"data.csv\")\nprint(df.head())\n</aui-code-block>\n",
|
|
3095
|
+
"description": "Code block with filename and copy button."
|
|
2348
3096
|
},
|
|
2349
3097
|
{
|
|
2350
|
-
"
|
|
2351
|
-
"
|
|
2352
|
-
|
|
3098
|
+
"html": "<aui-code-block>\nnpm install @agent-ui-kit/web-components\n</aui-code-block>\n",
|
|
3099
|
+
"description": "Plain code block without header."
|
|
3100
|
+
}
|
|
3101
|
+
]
|
|
3102
|
+
},
|
|
3103
|
+
{
|
|
3104
|
+
"name": "aui-color-picker",
|
|
3105
|
+
"tag": "aui-color-picker",
|
|
3106
|
+
"type": "component",
|
|
3107
|
+
"summary": "Compound color picker composing area, sliders, and field.",
|
|
3108
|
+
"description": "A unified color picker that stamps and syncs aui-color-area, aui-color-slider (hue + optional alpha), and aui-color-field sub-components. All sub-components sync bidirectionally — changing any part updates the others. Parses and serializes hex color values internally, converting to/from HSL for the area and slider controls.\n",
|
|
3109
|
+
"base": "AgentElement",
|
|
3110
|
+
"attributes": {
|
|
3111
|
+
"value": {
|
|
3112
|
+
"syntax": "key-value",
|
|
3113
|
+
"type": "string",
|
|
3114
|
+
"default": "#000000",
|
|
3115
|
+
"description": "Current color value in hex format."
|
|
3116
|
+
},
|
|
3117
|
+
"format": {
|
|
3118
|
+
"syntax": "key-value",
|
|
3119
|
+
"type": "string",
|
|
3120
|
+
"default": "hex",
|
|
3121
|
+
"description": "Display format for the color field (hex, rgb, oklch)."
|
|
3122
|
+
},
|
|
3123
|
+
"show-alpha": {
|
|
3124
|
+
"syntax": "boolean",
|
|
3125
|
+
"type": "boolean",
|
|
3126
|
+
"default": false,
|
|
3127
|
+
"description": "Show the alpha transparency slider."
|
|
3128
|
+
},
|
|
3129
|
+
"disabled": {
|
|
3130
|
+
"syntax": "boolean",
|
|
3131
|
+
"type": "boolean",
|
|
3132
|
+
"default": false,
|
|
3133
|
+
"description": "Disables all sub-components."
|
|
2353
3134
|
}
|
|
2354
|
-
],
|
|
2355
|
-
"css-notes": {
|
|
2356
|
-
"attr-audit": [
|
|
2357
|
-
"AB1: [checked], [indeterminate], [disabled] — all visual via attributes",
|
|
2358
|
-
"CG2: ::before on [data-box] for check/dash icon",
|
|
2359
|
-
"CG3: ::after { content: attr(label) } — label rendered in CSS, overflow: hidden on ::after only",
|
|
2360
|
-
"CG4: gap uses 2 * space (tightened from 3 * space)",
|
|
2361
|
-
":has(> input:focus-visible) — focus ring on visual box"
|
|
2362
|
-
]
|
|
2363
3135
|
},
|
|
2364
|
-
"
|
|
3136
|
+
"tokens": [
|
|
2365
3137
|
{
|
|
2366
|
-
"
|
|
2367
|
-
"
|
|
3138
|
+
"name": "--aui-color-picker-gap",
|
|
3139
|
+
"default": "calc(var(--aui-space) * 2)",
|
|
3140
|
+
"description": "Gap between sub-components."
|
|
2368
3141
|
},
|
|
2369
3142
|
{
|
|
2370
|
-
"
|
|
2371
|
-
"
|
|
3143
|
+
"name": "--aui-color-picker-area-height",
|
|
3144
|
+
"default": "10rem",
|
|
3145
|
+
"description": "Height of the color area surface."
|
|
2372
3146
|
},
|
|
2373
3147
|
{
|
|
2374
|
-
"
|
|
2375
|
-
"
|
|
3148
|
+
"name": "--aui-color-picker-width",
|
|
3149
|
+
"default": "14rem",
|
|
3150
|
+
"description": "Width of the entire picker."
|
|
3151
|
+
}
|
|
3152
|
+
],
|
|
3153
|
+
"a11y": {
|
|
3154
|
+
"role": "group",
|
|
3155
|
+
"keyboard": {
|
|
3156
|
+
"ArrowKeys": "Control the active sub-component (area, slider, or field)."
|
|
3157
|
+
}
|
|
3158
|
+
},
|
|
3159
|
+
"events": {
|
|
3160
|
+
"change": {
|
|
3161
|
+
"description": "Fired when the color changes via any sub-component. Detail contains { value, h, s, l, a }.\n"
|
|
3162
|
+
}
|
|
3163
|
+
},
|
|
3164
|
+
"dependencies": [
|
|
3165
|
+
"aui-color-area",
|
|
3166
|
+
"aui-color-slider",
|
|
3167
|
+
"aui-color-field"
|
|
3168
|
+
],
|
|
3169
|
+
"composition": {
|
|
3170
|
+
"parents": [
|
|
3171
|
+
"aui-container",
|
|
3172
|
+
"any"
|
|
3173
|
+
],
|
|
3174
|
+
"children": []
|
|
3175
|
+
},
|
|
3176
|
+
"examples": [
|
|
3177
|
+
{
|
|
3178
|
+
"html": "<aui-color-picker value=\"#3b82f6\"></aui-color-picker>\n",
|
|
3179
|
+
"description": "Basic color picker with initial blue value."
|
|
2376
3180
|
},
|
|
2377
3181
|
{
|
|
2378
|
-
"html": "<aui-
|
|
2379
|
-
"description": "
|
|
3182
|
+
"html": "<aui-color-picker value=\"#ef444480\" show-alpha></aui-color-picker>\n",
|
|
3183
|
+
"description": "Color picker with alpha transparency slider."
|
|
2380
3184
|
},
|
|
2381
3185
|
{
|
|
2382
|
-
"html": "<aui-
|
|
2383
|
-
"description": "
|
|
3186
|
+
"html": "<aui-color-picker value=\"#10b981\" disabled></aui-color-picker>\n",
|
|
3187
|
+
"description": "Disabled color picker."
|
|
2384
3188
|
}
|
|
2385
3189
|
]
|
|
2386
3190
|
},
|
|
@@ -2934,68 +3738,311 @@
|
|
|
2934
3738
|
],
|
|
2935
3739
|
"pattern": "The standard card pattern is header + body + footer. For simple content, use aui-inset directly.\n"
|
|
2936
3740
|
},
|
|
2937
|
-
"context": "Use for cards in grids, settings panels, dashboard tiles, detail panes. The bordered modifier is the most common — shadow/elevation is for floating/overlay surfaces.\n"
|
|
2938
|
-
},
|
|
2939
|
-
"constraints": [
|
|
2940
|
-
{
|
|
2941
|
-
"when": "interactive",
|
|
2942
|
-
"require": "href or click handler",
|
|
2943
|
-
"reason": "Interactive containers need a destination or action."
|
|
3741
|
+
"context": "Use for cards in grids, settings panels, dashboard tiles, detail panes. The bordered modifier is the most common — shadow/elevation is for floating/overlay surfaces.\n"
|
|
3742
|
+
},
|
|
3743
|
+
"constraints": [
|
|
3744
|
+
{
|
|
3745
|
+
"when": "interactive",
|
|
3746
|
+
"require": "href or click handler",
|
|
3747
|
+
"reason": "Interactive containers need a destination or action."
|
|
3748
|
+
}
|
|
3749
|
+
],
|
|
3750
|
+
"a11y": {
|
|
3751
|
+
"role": "When interactive, role=\"button\" is set automatically.",
|
|
3752
|
+
"keyboard": {
|
|
3753
|
+
"Enter": "Navigates to href (when interactive).",
|
|
3754
|
+
"Space": "Navigates to href (when interactive)."
|
|
3755
|
+
},
|
|
3756
|
+
"focus": {
|
|
3757
|
+
"default": "Not focusable unless interactive.",
|
|
3758
|
+
"interactive": "tabindex=\"0\"."
|
|
3759
|
+
}
|
|
3760
|
+
},
|
|
3761
|
+
"events": {
|
|
3762
|
+
"click": {
|
|
3763
|
+
"description": "Fires on interactive containers. Navigates to href if set."
|
|
3764
|
+
}
|
|
3765
|
+
},
|
|
3766
|
+
"tokens": [
|
|
3767
|
+
{
|
|
3768
|
+
"name": "--aui-container-background",
|
|
3769
|
+
"default": "var(--aui-card, var(--aui-doc))",
|
|
3770
|
+
"description": "Background color of the container surface."
|
|
3771
|
+
},
|
|
3772
|
+
{
|
|
3773
|
+
"name": "--aui-container-border-radius",
|
|
3774
|
+
"default": "var(--aui-radius)",
|
|
3775
|
+
"description": "Border radius of the container."
|
|
3776
|
+
},
|
|
3777
|
+
{
|
|
3778
|
+
"name": "--aui-container-font-size",
|
|
3779
|
+
"default": "var(--aui-font-lg)",
|
|
3780
|
+
"description": "Base font size for the container."
|
|
3781
|
+
}
|
|
3782
|
+
],
|
|
3783
|
+
"examples": [
|
|
3784
|
+
{
|
|
3785
|
+
"html": "<aui-container kind=\"card\" bordered max-width=\"prose\">\n <aui-header>\n <aui-stack gap=\"1\">\n <aui-heading>Project Settings</aui-heading>\n <aui-text muted size=\"sm\">Make changes to your project here. Click save when you're done.</aui-text>\n </aui-stack>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-stack gap=\"4\">\n <aui-field label=\"Name\">\n <aui-input placeholder=\"Acme Dashboard\"></aui-input>\n </aui-field>\n <aui-field label=\"Description\" description=\"This will be visible to all team members.\">\n <aui-textarea placeholder=\"A real-time analytics dashboard for the Acme team.\"></aui-textarea>\n </aui-field>\n </aui-stack>\n </aui-inset>\n </aui-content>\n <aui-footer>\n <span slot=\"trailing\">\n <aui-stack direction=\"row\" gap=\"2\">\n <aui-button scrim>Cancel</aui-button>\n <aui-button primary accent>Save changes</aui-button>\n </aui-stack>\n </span>\n </aui-footer>\n</aui-container>\n",
|
|
3786
|
+
"description": "Card kind — Settings form (1.25rem padding)."
|
|
3787
|
+
},
|
|
3788
|
+
{
|
|
3789
|
+
"html": "<aui-stack direction=\"row\" gap=\"3\" style=\"flex-wrap: wrap;\">\n <aui-container kind=\"widget\" bordered style=\"flex: 1; min-width: 12rem;\">\n <aui-inset>\n <aui-stack gap=\"2\">\n <aui-text muted size=\"sm\">Active Users</aui-text>\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-heading size=\"2xl\" style=\"flex: 1;\">12</aui-heading>\n <aui-badge accent>+3 today</aui-badge>\n </aui-stack>\n </aui-stack>\n </aui-inset>\n </aui-container>\n <aui-container kind=\"widget\" bordered style=\"flex: 1; min-width: 12rem;\">\n <aui-inset>\n <aui-stack gap=\"2\">\n <aui-text muted size=\"sm\">Uptime</aui-text>\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-heading size=\"2xl\" style=\"flex: 1;\">99.9%</aui-heading>\n <aui-badge success>All systems operational</aui-badge>\n </aui-stack>\n </aui-stack>\n </aui-inset>\n </aui-container>\n <aui-container kind=\"widget\" bordered style=\"flex: 1; min-width: 12rem;\">\n <aui-inset>\n <aui-stack gap=\"2\">\n <aui-text muted size=\"sm\">Open Issues</aui-text>\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-heading size=\"2xl\" style=\"flex: 1;\">3</aui-heading>\n <aui-badge warning>Needs review</aui-badge>\n </aui-stack>\n </aui-stack>\n </aui-inset>\n </aui-container>\n</aui-stack>\n",
|
|
3790
|
+
"description": "Widget kind — Compact dashboard stat cards (0.75rem padding)."
|
|
3791
|
+
},
|
|
3792
|
+
{
|
|
3793
|
+
"html": "<aui-container kind=\"panel\" bordered max-width=\"xl\">\n <aui-header>\n <span slot=\"leading\">\n <aui-stack direction=\"row\" gap=\"3\" align-items=\"center\">\n <aui-avatar size=\"lg\" square><aui-icon name=\"user\"></aui-icon></aui-avatar>\n <aui-stack gap=\"1\">\n <aui-heading size=\"xl\">Team Members</aui-heading>\n <aui-text muted size=\"sm\">Manage who has access to this project.</aui-text>\n </aui-stack>\n </aui-stack>\n </span>\n <span slot=\"trailing\"><aui-button primary accent>Invite</aui-button></span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-stack gap=\"4\">\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-avatar>AJ</aui-avatar>\n <aui-stack gap=\"1\" style=\"flex: 1;\">\n <aui-heading size=\"md\">Alice Johnson</aui-heading>\n <aui-text muted size=\"sm\">alice@acme.com · Engineer</aui-text>\n </aui-stack>\n <aui-badge>Admin</aui-badge>\n </aui-stack>\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-avatar>BK</aui-avatar>\n <aui-stack gap=\"1\" style=\"flex: 1;\">\n <aui-heading size=\"md\">Bob Kim</aui-heading>\n <aui-text muted size=\"sm\">bob@acme.com · Designer</aui-text>\n </aui-stack>\n <aui-badge>Member</aui-badge>\n </aui-stack>\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-avatar>CL</aui-avatar>\n <aui-stack gap=\"1\" style=\"flex: 1;\">\n <aui-heading size=\"md\">Carol Lee</aui-heading>\n <aui-text muted size=\"sm\">carol@acme.com · Product Manager</aui-text>\n </aui-stack>\n <aui-badge>Member</aui-badge>\n </aui-stack>\n </aui-stack>\n </aui-inset>\n </aui-content>\n</aui-container>\n",
|
|
3794
|
+
"description": "Panel kind — Spacious member list (1.75rem padding)."
|
|
3795
|
+
},
|
|
3796
|
+
{
|
|
3797
|
+
"html": "<aui-container kind=\"card\" bordered shadow=\"2\" success max-width=\"md\">\n <aui-inset>\n <aui-stack gap=\"4\" align-items=\"center\" style=\"text-align: center;\">\n <aui-icon name=\"check\" size=\"xl\"></aui-icon>\n <aui-heading size=\"xl\">Payment Successful</aui-heading>\n <aui-text muted>Your subscription has been renewed. You'll receive a confirmation email shortly.</aui-text>\n <aui-button primary>Go to Dashboard</aui-button>\n </aui-stack>\n </aui-inset>\n</aui-container>\n",
|
|
3798
|
+
"description": "Elevated success card with centered content."
|
|
3799
|
+
},
|
|
3800
|
+
{
|
|
3801
|
+
"html": "<aui-container kind=\"widget\" bordered interactive href=\"#\" max-width=\"sm\">\n <aui-inset>\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-avatar square><aui-icon name=\"gear\"></aui-icon></aui-avatar>\n <aui-stack gap=\"1\" style=\"flex: 1;\">\n <aui-heading size=\"md\" weight=\"medium\">Preferences</aui-heading>\n <aui-text muted size=\"sm\">Language, theme, and notifications</aui-text>\n </aui-stack>\n <aui-icon name=\"caret-right\" muted></aui-icon>\n </aui-stack>\n </aui-inset>\n</aui-container>\n",
|
|
3802
|
+
"description": "Widget kind — Compact clickable navigation card."
|
|
3803
|
+
}
|
|
3804
|
+
]
|
|
3805
|
+
},
|
|
3806
|
+
{
|
|
3807
|
+
"name": "aui-context-menu",
|
|
3808
|
+
"tag": "aui-context-menu",
|
|
3809
|
+
"type": "component",
|
|
3810
|
+
"summary": "Right-click triggered context menu using the Popover API.",
|
|
3811
|
+
"description": "Declarative context menu that listens for contextmenu events on a target element and positions a popover at the pointer location. Reuses aui-option for menu items and aui-optgroup for grouped sections. Supports keyboard navigation with arrow keys, Enter to select, and Escape to close.\n",
|
|
3812
|
+
"base": "AgentElement",
|
|
3813
|
+
"attributes": {
|
|
3814
|
+
"target": {
|
|
3815
|
+
"syntax": "key-value",
|
|
3816
|
+
"type": "string",
|
|
3817
|
+
"default": "",
|
|
3818
|
+
"description": "CSS selector for the element to attach the contextmenu listener to. Falls back to parent element."
|
|
3819
|
+
},
|
|
3820
|
+
"disabled": {
|
|
3821
|
+
"syntax": "boolean",
|
|
3822
|
+
"type": "boolean",
|
|
3823
|
+
"default": false,
|
|
3824
|
+
"description": "Prevents the menu from opening."
|
|
3825
|
+
},
|
|
3826
|
+
"open": {
|
|
3827
|
+
"syntax": "boolean",
|
|
3828
|
+
"type": "boolean",
|
|
3829
|
+
"default": false,
|
|
3830
|
+
"description": "Whether the menu is currently open."
|
|
3831
|
+
}
|
|
3832
|
+
},
|
|
3833
|
+
"tokens": [
|
|
3834
|
+
{
|
|
3835
|
+
"name": "--aui-context-menu-font-family",
|
|
3836
|
+
"default": "var(--aui-font-family)",
|
|
3837
|
+
"description": "Font family for menu items."
|
|
3838
|
+
},
|
|
3839
|
+
{
|
|
3840
|
+
"name": "--aui-context-menu-font-size",
|
|
3841
|
+
"default": "var(--aui-font-size)",
|
|
3842
|
+
"description": "Font size for menu items."
|
|
3843
|
+
},
|
|
3844
|
+
{
|
|
3845
|
+
"name": "--aui-context-menu-color",
|
|
3846
|
+
"default": "var(--aui-ink)",
|
|
3847
|
+
"description": "Text color for menu items."
|
|
3848
|
+
},
|
|
3849
|
+
{
|
|
3850
|
+
"name": "--aui-context-menu-background",
|
|
3851
|
+
"default": "var(--aui-modal, var(--aui-doc))",
|
|
3852
|
+
"description": "Background color of the menu."
|
|
3853
|
+
},
|
|
3854
|
+
{
|
|
3855
|
+
"name": "--aui-context-menu-border-color",
|
|
3856
|
+
"default": "var(--aui-border-muted)",
|
|
3857
|
+
"description": "Border color of the menu."
|
|
3858
|
+
},
|
|
3859
|
+
{
|
|
3860
|
+
"name": "--aui-context-menu-border-radius",
|
|
3861
|
+
"default": "var(--aui-radius)",
|
|
3862
|
+
"description": "Border radius of the menu."
|
|
3863
|
+
},
|
|
3864
|
+
{
|
|
3865
|
+
"name": "--aui-context-menu-shadow",
|
|
3866
|
+
"default": "var(--aui-shadow-lg)",
|
|
3867
|
+
"description": "Box shadow of the menu."
|
|
3868
|
+
}
|
|
3869
|
+
],
|
|
3870
|
+
"a11y": {
|
|
3871
|
+
"role": "menu",
|
|
3872
|
+
"keyboard": {
|
|
3873
|
+
"ArrowDown": "Move to next menu item.",
|
|
3874
|
+
"ArrowUp": "Move to previous menu item.",
|
|
3875
|
+
"Home": "Move to first menu item.",
|
|
3876
|
+
"End": "Move to last menu item.",
|
|
3877
|
+
"Enter": "Select the active menu item.",
|
|
3878
|
+
"Space": "Select the active menu item.",
|
|
3879
|
+
"Escape": "Close the menu."
|
|
3880
|
+
}
|
|
3881
|
+
},
|
|
3882
|
+
"events": {
|
|
3883
|
+
"select": {
|
|
3884
|
+
"description": "Fired when a menu item is selected. Detail contains { value }."
|
|
3885
|
+
}
|
|
3886
|
+
},
|
|
3887
|
+
"dependencies": [
|
|
3888
|
+
"aui-option",
|
|
3889
|
+
"aui-optgroup"
|
|
3890
|
+
],
|
|
3891
|
+
"composition": {
|
|
3892
|
+
"parents": [
|
|
3893
|
+
"any"
|
|
3894
|
+
],
|
|
3895
|
+
"children": [
|
|
3896
|
+
"aui-option",
|
|
3897
|
+
"aui-optgroup"
|
|
3898
|
+
]
|
|
3899
|
+
},
|
|
3900
|
+
"examples": [
|
|
3901
|
+
{
|
|
3902
|
+
"html": "<div id=\"ctx-target\" style=\"padding: 2rem; border: 1px dashed var(--aui-border-muted); border-radius: var(--aui-radius); text-align: center; color: var(--aui-ink-muted);\">\n Right-click here\n</div>\n<aui-context-menu target=\"#ctx-target\">\n <aui-option value=\"edit\">Edit</aui-option>\n <aui-option value=\"duplicate\">Duplicate</aui-option>\n <aui-option value=\"delete\">Delete</aui-option>\n</aui-context-menu>\n",
|
|
3903
|
+
"description": "Basic context menu — right-click the target area to open."
|
|
3904
|
+
},
|
|
3905
|
+
{
|
|
3906
|
+
"html": "<div id=\"ctx-grouped\" style=\"padding: 2rem; border: 1px dashed var(--aui-border-muted); border-radius: var(--aui-radius); text-align: center; color: var(--aui-ink-muted);\">\n Right-click for grouped menu\n</div>\n<aui-context-menu target=\"#ctx-grouped\">\n <aui-optgroup label=\"Edit\">\n <aui-option value=\"cut\">Cut</aui-option>\n <aui-option value=\"copy\">Copy</aui-option>\n <aui-option value=\"paste\">Paste</aui-option>\n </aui-optgroup>\n <aui-optgroup label=\"Danger\" divider>\n <aui-option value=\"delete\">Delete</aui-option>\n </aui-optgroup>\n</aui-context-menu>\n",
|
|
3907
|
+
"description": "Context menu with grouped options."
|
|
3908
|
+
}
|
|
3909
|
+
]
|
|
3910
|
+
},
|
|
3911
|
+
{
|
|
3912
|
+
"name": "aui-date-field",
|
|
3913
|
+
"tag": "aui-date-field",
|
|
3914
|
+
"type": "component",
|
|
3915
|
+
"summary": "Segmented date input with independently editable month, day, and year segments.",
|
|
3916
|
+
"description": "An inline date entry control where month, day, and year are separate focusable segments. Segment order and separator are determined by the format attribute (MM/DD/YYYY, DD/MM/YYYY, YYYY-MM-DD). Each segment supports arrow-key increment/decrement, direct digit entry with auto-advance, and Tab/Arrow navigation. Validates dates on commit (e.g. Feb 30 clamps to Feb 28/29). Value is always stored as ISO YYYY-MM-DD. No native form elements.\n",
|
|
3917
|
+
"base": "AgentElement",
|
|
3918
|
+
"attributes": {
|
|
3919
|
+
"value": {
|
|
3920
|
+
"syntax": "key-value",
|
|
3921
|
+
"type": "string",
|
|
3922
|
+
"default": "",
|
|
3923
|
+
"description": "Date value in ISO format (YYYY-MM-DD)."
|
|
3924
|
+
},
|
|
3925
|
+
"min": {
|
|
3926
|
+
"syntax": "key-value",
|
|
3927
|
+
"type": "string",
|
|
3928
|
+
"default": "",
|
|
3929
|
+
"description": "Earliest allowed date (YYYY-MM-DD)."
|
|
3930
|
+
},
|
|
3931
|
+
"max": {
|
|
3932
|
+
"syntax": "key-value",
|
|
3933
|
+
"type": "string",
|
|
3934
|
+
"default": "",
|
|
3935
|
+
"description": "Latest allowed date (YYYY-MM-DD)."
|
|
3936
|
+
},
|
|
3937
|
+
"format": {
|
|
3938
|
+
"syntax": "key-value",
|
|
3939
|
+
"type": "string",
|
|
3940
|
+
"default": "MM/DD/YYYY",
|
|
3941
|
+
"description": "Segment display order (MM/DD/YYYY, DD/MM/YYYY, YYYY-MM-DD)."
|
|
3942
|
+
},
|
|
3943
|
+
"placeholder": {
|
|
3944
|
+
"syntax": "key-value",
|
|
3945
|
+
"type": "string",
|
|
3946
|
+
"default": "",
|
|
3947
|
+
"description": "Placeholder shown in empty segments."
|
|
3948
|
+
},
|
|
3949
|
+
"disabled": {
|
|
3950
|
+
"syntax": "boolean",
|
|
3951
|
+
"type": "boolean",
|
|
3952
|
+
"default": false,
|
|
3953
|
+
"description": "Prevents interaction. Dims visually."
|
|
2944
3954
|
}
|
|
2945
|
-
|
|
3955
|
+
},
|
|
2946
3956
|
"a11y": {
|
|
2947
|
-
"role": "
|
|
3957
|
+
"role": "spinbutton (on each segment)",
|
|
2948
3958
|
"keyboard": {
|
|
2949
|
-
"
|
|
2950
|
-
"
|
|
3959
|
+
"ArrowUp": "Increment focused segment.",
|
|
3960
|
+
"ArrowDown": "Decrement focused segment.",
|
|
3961
|
+
"ArrowLeft": "Move to previous segment.",
|
|
3962
|
+
"ArrowRight": "Move to next segment.",
|
|
3963
|
+
"Tab": "Move between segments.",
|
|
3964
|
+
"0-9": "Digit entry with auto-advance.",
|
|
3965
|
+
"Backspace": "Clear segment."
|
|
2951
3966
|
},
|
|
2952
|
-
"
|
|
2953
|
-
"
|
|
2954
|
-
"
|
|
2955
|
-
|
|
2956
|
-
},
|
|
2957
|
-
"events": {
|
|
2958
|
-
"click": {
|
|
2959
|
-
"description": "Fires on interactive containers. Navigates to href if set."
|
|
3967
|
+
"aria": {
|
|
3968
|
+
"aria-label": "Segment name (Month, Day, Year).",
|
|
3969
|
+
"aria-valuemin": "Segment minimum.",
|
|
3970
|
+
"aria-valuemax": "Segment maximum."
|
|
2960
3971
|
}
|
|
2961
3972
|
},
|
|
2962
3973
|
"tokens": [
|
|
2963
3974
|
{
|
|
2964
|
-
"name": "--aui-
|
|
2965
|
-
"default": "var(--aui-
|
|
2966
|
-
"description": "
|
|
3975
|
+
"name": "--aui-date-field-background",
|
|
3976
|
+
"default": "var(--aui-control, var(--aui-fill))",
|
|
3977
|
+
"description": "Field background."
|
|
2967
3978
|
},
|
|
2968
3979
|
{
|
|
2969
|
-
"name": "--aui-
|
|
3980
|
+
"name": "--aui-date-field-border",
|
|
3981
|
+
"default": "var(--aui-stroke)",
|
|
3982
|
+
"description": "Field border color."
|
|
3983
|
+
},
|
|
3984
|
+
{
|
|
3985
|
+
"name": "--aui-date-field-border-radius",
|
|
2970
3986
|
"default": "var(--aui-radius)",
|
|
2971
|
-
"description": "
|
|
3987
|
+
"description": "Field corner radius."
|
|
2972
3988
|
},
|
|
2973
3989
|
{
|
|
2974
|
-
"name": "--aui-
|
|
2975
|
-
"default": "var(--aui-
|
|
2976
|
-
"description": "
|
|
3990
|
+
"name": "--aui-date-field-border-hover",
|
|
3991
|
+
"default": "var(--aui-stroke-hover)",
|
|
3992
|
+
"description": "Border on hover."
|
|
3993
|
+
},
|
|
3994
|
+
{
|
|
3995
|
+
"name": "--aui-date-field-border-focus",
|
|
3996
|
+
"default": "var(--aui-focus)",
|
|
3997
|
+
"description": "Border when focused."
|
|
3998
|
+
},
|
|
3999
|
+
{
|
|
4000
|
+
"name": "--aui-date-field-font-size",
|
|
4001
|
+
"default": "var(--aui-font-sm)",
|
|
4002
|
+
"description": "Text size."
|
|
4003
|
+
},
|
|
4004
|
+
{
|
|
4005
|
+
"name": "--aui-date-field-color",
|
|
4006
|
+
"default": "var(--aui-ink)",
|
|
4007
|
+
"description": "Text color."
|
|
4008
|
+
},
|
|
4009
|
+
{
|
|
4010
|
+
"name": "--aui-date-field-segment-bg-focus",
|
|
4011
|
+
"default": "var(--aui-accent-100)",
|
|
4012
|
+
"description": "Focused segment background."
|
|
4013
|
+
},
|
|
4014
|
+
{
|
|
4015
|
+
"name": "--aui-date-field-segment-color-focus",
|
|
4016
|
+
"default": "var(--aui-accent-700)",
|
|
4017
|
+
"description": "Focused segment text color."
|
|
2977
4018
|
}
|
|
2978
4019
|
],
|
|
4020
|
+
"composition": {
|
|
4021
|
+
"parents": [
|
|
4022
|
+
"aui-field",
|
|
4023
|
+
"aui-stack",
|
|
4024
|
+
"aui-container",
|
|
4025
|
+
"div"
|
|
4026
|
+
],
|
|
4027
|
+
"children": [],
|
|
4028
|
+
"context": "Standalone date entry for inline forms. Use inside aui-field for labeled forms. For full calendar popup, use aui-calendar-picker.\n"
|
|
4029
|
+
},
|
|
2979
4030
|
"examples": [
|
|
2980
4031
|
{
|
|
2981
|
-
"html": "<aui-
|
|
2982
|
-
"description": "
|
|
2983
|
-
},
|
|
2984
|
-
{
|
|
2985
|
-
"html": "<aui-stack direction=\"row\" gap=\"3\" style=\"flex-wrap: wrap;\">\n <aui-container kind=\"widget\" bordered style=\"flex: 1; min-width: 12rem;\">\n <aui-inset>\n <aui-stack gap=\"2\">\n <aui-text muted size=\"sm\">Active Users</aui-text>\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-heading size=\"2xl\" style=\"flex: 1;\">12</aui-heading>\n <aui-badge accent>+3 today</aui-badge>\n </aui-stack>\n </aui-stack>\n </aui-inset>\n </aui-container>\n <aui-container kind=\"widget\" bordered style=\"flex: 1; min-width: 12rem;\">\n <aui-inset>\n <aui-stack gap=\"2\">\n <aui-text muted size=\"sm\">Uptime</aui-text>\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-heading size=\"2xl\" style=\"flex: 1;\">99.9%</aui-heading>\n <aui-badge success>All systems operational</aui-badge>\n </aui-stack>\n </aui-stack>\n </aui-inset>\n </aui-container>\n <aui-container kind=\"widget\" bordered style=\"flex: 1; min-width: 12rem;\">\n <aui-inset>\n <aui-stack gap=\"2\">\n <aui-text muted size=\"sm\">Open Issues</aui-text>\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-heading size=\"2xl\" style=\"flex: 1;\">3</aui-heading>\n <aui-badge warning>Needs review</aui-badge>\n </aui-stack>\n </aui-stack>\n </aui-inset>\n </aui-container>\n</aui-stack>\n",
|
|
2986
|
-
"description": "Widget kind — Compact dashboard stat cards (0.75rem padding)."
|
|
4032
|
+
"html": "<aui-date-field value=\"2026-03-21\"></aui-date-field>",
|
|
4033
|
+
"description": "Default MM/DD/YYYY date field."
|
|
2987
4034
|
},
|
|
2988
4035
|
{
|
|
2989
|
-
"html": "<aui-
|
|
2990
|
-
"description": "
|
|
4036
|
+
"html": "<aui-date-field value=\"2026-03-21\" format=\"DD/MM/YYYY\"></aui-date-field>",
|
|
4037
|
+
"description": "European DD/MM/YYYY format."
|
|
2991
4038
|
},
|
|
2992
4039
|
{
|
|
2993
|
-
"html": "<aui-
|
|
2994
|
-
"description": "
|
|
4040
|
+
"html": "<aui-date-field value=\"2026-03-21\" format=\"YYYY-MM-DD\"></aui-date-field>",
|
|
4041
|
+
"description": "ISO format."
|
|
2995
4042
|
},
|
|
2996
4043
|
{
|
|
2997
|
-
"html": "<aui-
|
|
2998
|
-
"description": "
|
|
4044
|
+
"html": "<aui-date-field value=\"2026-03-21\" disabled></aui-date-field>",
|
|
4045
|
+
"description": "Disabled date field."
|
|
2999
4046
|
}
|
|
3000
4047
|
]
|
|
3001
4048
|
},
|
|
@@ -3135,6 +4182,124 @@
|
|
|
3135
4182
|
}
|
|
3136
4183
|
]
|
|
3137
4184
|
},
|
|
4185
|
+
{
|
|
4186
|
+
"name": "aui-disclosure",
|
|
4187
|
+
"tag": "aui-disclosure",
|
|
4188
|
+
"type": "component",
|
|
4189
|
+
"summary": "Collapsible content section with animated expand/collapse.",
|
|
4190
|
+
"description": "Standalone collapsible section with a clickable trigger row. Stamps a button with the summary text and a chevron icon. Content height animates via CSS grid-template-rows transition. Toggle the open attribute to expand or collapse programmatically.\n",
|
|
4191
|
+
"base": "AgentElement",
|
|
4192
|
+
"attributes": {
|
|
4193
|
+
"summary": {
|
|
4194
|
+
"syntax": "key-value",
|
|
4195
|
+
"type": "string",
|
|
4196
|
+
"default": "",
|
|
4197
|
+
"description": "Text displayed in the trigger row header.\n"
|
|
4198
|
+
},
|
|
4199
|
+
"open": {
|
|
4200
|
+
"syntax": "boolean",
|
|
4201
|
+
"type": "boolean",
|
|
4202
|
+
"default": false,
|
|
4203
|
+
"description": "Whether the content is expanded. Toggle to open/close.\n"
|
|
4204
|
+
}
|
|
4205
|
+
},
|
|
4206
|
+
"content": {
|
|
4207
|
+
"model": "block",
|
|
4208
|
+
"accepts": [
|
|
4209
|
+
"any"
|
|
4210
|
+
],
|
|
4211
|
+
"required": true,
|
|
4212
|
+
"description": "The collapsible content. Can contain any elements — forms, stacks, text, nested disclosures, etc.\n"
|
|
4213
|
+
},
|
|
4214
|
+
"slots": {
|
|
4215
|
+
"default": {
|
|
4216
|
+
"accepts": [
|
|
4217
|
+
"any"
|
|
4218
|
+
],
|
|
4219
|
+
"required": true,
|
|
4220
|
+
"description": "Content revealed when open."
|
|
4221
|
+
}
|
|
4222
|
+
},
|
|
4223
|
+
"composition": {
|
|
4224
|
+
"parents": [
|
|
4225
|
+
"aui-stack",
|
|
4226
|
+
"aui-content",
|
|
4227
|
+
"aui-inset",
|
|
4228
|
+
"div"
|
|
4229
|
+
],
|
|
4230
|
+
"children": [
|
|
4231
|
+
"any"
|
|
4232
|
+
],
|
|
4233
|
+
"context": "Block-level element. Nest inside stacks, content areas, or sidebars. Supports nesting (disclosure inside disclosure).\n"
|
|
4234
|
+
},
|
|
4235
|
+
"examples": [
|
|
4236
|
+
{
|
|
4237
|
+
"html": "<aui-disclosure summary=\"More details\">\n <p>Hidden content revealed on click.</p>\n</aui-disclosure>\n",
|
|
4238
|
+
"description": "Basic collapsed disclosure."
|
|
4239
|
+
},
|
|
4240
|
+
{
|
|
4241
|
+
"html": "<aui-disclosure summary=\"Advanced Settings\" open>\n <aui-stack gap=\"3\">\n <p>Setting A</p>\n <p>Setting B</p>\n </aui-stack>\n</aui-disclosure>\n",
|
|
4242
|
+
"description": "Initially open disclosure."
|
|
4243
|
+
},
|
|
4244
|
+
{
|
|
4245
|
+
"html": "<aui-disclosure summary=\"Section A\">\n <aui-disclosure summary=\"Sub-section A.1\">\n Nested content.\n </aui-disclosure>\n</aui-disclosure>\n",
|
|
4246
|
+
"description": "Nested disclosures."
|
|
4247
|
+
}
|
|
4248
|
+
]
|
|
4249
|
+
},
|
|
4250
|
+
{
|
|
4251
|
+
"name": "aui-disclosure-group",
|
|
4252
|
+
"tag": "aui-disclosure-group",
|
|
4253
|
+
"type": "component",
|
|
4254
|
+
"summary": "Coordinates child aui-disclosure elements with optional exclusive (accordion) mode.",
|
|
4255
|
+
"description": "Groups multiple aui-disclosure children. When the exclusive attribute is present, opening one disclosure automatically closes all siblings, creating accordion behavior. Without exclusive, all disclosures can be open independently. Uses a MutationObserver to detect open attribute changes on child disclosures.\n",
|
|
4256
|
+
"base": "AgentElement",
|
|
4257
|
+
"attributes": {
|
|
4258
|
+
"exclusive": {
|
|
4259
|
+
"syntax": "boolean",
|
|
4260
|
+
"type": "boolean",
|
|
4261
|
+
"default": false,
|
|
4262
|
+
"description": "When set, only one child disclosure can be open at a time. Opening a disclosure closes all siblings.\n"
|
|
4263
|
+
}
|
|
4264
|
+
},
|
|
4265
|
+
"content": {
|
|
4266
|
+
"model": "block",
|
|
4267
|
+
"accepts": [
|
|
4268
|
+
"aui-disclosure"
|
|
4269
|
+
],
|
|
4270
|
+
"required": true,
|
|
4271
|
+
"description": "One or more aui-disclosure children. The group coordinates their open/close state.\n"
|
|
4272
|
+
},
|
|
4273
|
+
"composition": {
|
|
4274
|
+
"parents": [
|
|
4275
|
+
"aui-stack",
|
|
4276
|
+
"aui-content",
|
|
4277
|
+
"aui-inset",
|
|
4278
|
+
"div"
|
|
4279
|
+
],
|
|
4280
|
+
"children": [
|
|
4281
|
+
"aui-disclosure"
|
|
4282
|
+
],
|
|
4283
|
+
"context": "Block-level element. Contains aui-disclosure children. Use inside stacks, content areas, or sidebars.\n"
|
|
4284
|
+
},
|
|
4285
|
+
"examples": [
|
|
4286
|
+
{
|
|
4287
|
+
"html": "<aui-disclosure-group>\n <aui-disclosure summary=\"Section 1\"><p>Content 1</p></aui-disclosure>\n <aui-disclosure summary=\"Section 2\"><p>Content 2</p></aui-disclosure>\n</aui-disclosure-group>\n",
|
|
4288
|
+
"description": "Independent disclosure group (all can be open)."
|
|
4289
|
+
},
|
|
4290
|
+
{
|
|
4291
|
+
"html": "<aui-disclosure-group exclusive>\n <aui-disclosure summary=\"General\" open><p>General settings...</p></aui-disclosure>\n <aui-disclosure summary=\"Security\"><p>Security settings...</p></aui-disclosure>\n <aui-disclosure summary=\"Notifications\"><p>Notification prefs...</p></aui-disclosure>\n</aui-disclosure-group>\n",
|
|
4292
|
+
"description": "Exclusive accordion mode."
|
|
4293
|
+
}
|
|
4294
|
+
],
|
|
4295
|
+
"use-cases": [
|
|
4296
|
+
"FAQ pages with accordion behavior.",
|
|
4297
|
+
"Settings panels with grouped expandable sections.",
|
|
4298
|
+
"Sidebar navigation with collapsible groups.",
|
|
4299
|
+
"Documentation with expandable sections.",
|
|
4300
|
+
"Form sections with progressive disclosure."
|
|
4301
|
+
]
|
|
4302
|
+
},
|
|
3138
4303
|
{
|
|
3139
4304
|
"name": "aui-drawer",
|
|
3140
4305
|
"tag": "aui-drawer",
|
|
@@ -3217,49 +4382,224 @@
|
|
|
3217
4382
|
},
|
|
3218
4383
|
"tokens": [
|
|
3219
4384
|
{
|
|
3220
|
-
"name": "--aui-drawer-background",
|
|
3221
|
-
"default": "var(--aui-modal, var(--aui-doc))",
|
|
3222
|
-
"description": "Background color of the drawer content panel."
|
|
4385
|
+
"name": "--aui-drawer-background",
|
|
4386
|
+
"default": "var(--aui-modal, var(--aui-doc))",
|
|
4387
|
+
"description": "Background color of the drawer content panel."
|
|
4388
|
+
},
|
|
4389
|
+
{
|
|
4390
|
+
"name": "--aui-drawer-color",
|
|
4391
|
+
"default": "var(--aui-ink)",
|
|
4392
|
+
"description": "Text color inside the drawer."
|
|
4393
|
+
},
|
|
4394
|
+
{
|
|
4395
|
+
"name": "--aui-drawer-border",
|
|
4396
|
+
"default": "var(--aui-border-muted)",
|
|
4397
|
+
"description": "Border color of the drawer edge and child separators."
|
|
4398
|
+
},
|
|
4399
|
+
{
|
|
4400
|
+
"name": "--aui-drawer-width",
|
|
4401
|
+
"default": "24rem",
|
|
4402
|
+
"description": "Width of the drawer when anchored left or right."
|
|
4403
|
+
},
|
|
4404
|
+
{
|
|
4405
|
+
"name": "--aui-drawer-height",
|
|
4406
|
+
"default": "24rem",
|
|
4407
|
+
"description": "Height of the drawer when anchored top or bottom."
|
|
4408
|
+
},
|
|
4409
|
+
{
|
|
4410
|
+
"name": "--aui-drawer-backdrop-color",
|
|
4411
|
+
"default": "var(--aui-backdrop-color, oklch(0% 0 0))",
|
|
4412
|
+
"description": "Color of the backdrop overlay."
|
|
4413
|
+
},
|
|
4414
|
+
{
|
|
4415
|
+
"name": "--aui-drawer-backdrop-opacity",
|
|
4416
|
+
"default": "var(--aui-backdrop-opacity, 0.3)",
|
|
4417
|
+
"description": "Opacity of the backdrop overlay."
|
|
4418
|
+
}
|
|
4419
|
+
],
|
|
4420
|
+
"examples": [
|
|
4421
|
+
{
|
|
4422
|
+
"html": "<aui-container bordered max-width=\"sm\">\n <aui-header>\n <span>Filters</span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-stack>\n <aui-field label=\"Category\">\n <aui-input placeholder=\"All\"></aui-input>\n </aui-field>\n <aui-field label=\"Status\">\n <aui-radio-group name=\"status\">\n <aui-radio label=\"Active\" value=\"active\"></aui-radio>\n <aui-radio label=\"Archived\" value=\"archived\"></aui-radio>\n </aui-radio-group>\n </aui-field>\n </aui-stack>\n </aui-inset>\n </aui-content>\n <aui-footer>\n <span slot=\"trailing\">\n <aui-button primary accent>Apply</aui-button>\n </span>\n </aui-footer>\n</aui-container>\n",
|
|
4423
|
+
"description": "Filter drawer structure (header / body / footer). In use, wrap with aui-drawer side=\"right\" and control via open.\n"
|
|
4424
|
+
},
|
|
4425
|
+
{
|
|
4426
|
+
"html": "<aui-container bordered max-width=\"xs\">\n <aui-header>\n <span>Navigation</span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-stack>\n <a href=\"/\" style=\"color: var(--aui-ink); text-decoration: none;\">Home</a>\n <a href=\"/settings\" style=\"color: var(--aui-ink); text-decoration: none;\">Settings</a>\n <a href=\"/help\" style=\"color: var(--aui-ink); text-decoration: none;\">Help</a>\n </aui-stack>\n </aui-inset>\n </aui-content>\n</aui-container>\n",
|
|
4427
|
+
"description": "Navigation drawer structure. Wrap with aui-drawer side=\"left\" for slide-out behavior.\n"
|
|
4428
|
+
}
|
|
4429
|
+
]
|
|
4430
|
+
},
|
|
4431
|
+
{
|
|
4432
|
+
"name": "aui-dropdown-menu",
|
|
4433
|
+
"tag": "aui-dropdown-menu",
|
|
4434
|
+
"type": "component",
|
|
4435
|
+
"summary": "Trigger button + popover menu for actions (not selection).",
|
|
4436
|
+
"description": "A dropdown menu that stamps a trigger button and opens a popover with action items. Unlike aui-select, does not track selection state — items are fire-and-forget actions that emit a select event. Supports label, icon-leading, hide-label for icon-only triggers, and grouped items via aui-optgroup. Keyboard accessible with arrow navigation, Enter to select, and Escape to close.\n",
|
|
4437
|
+
"base": "AgentElement",
|
|
4438
|
+
"attributes": {
|
|
4439
|
+
"label": {
|
|
4440
|
+
"syntax": "key-value",
|
|
4441
|
+
"type": "string",
|
|
4442
|
+
"default": "",
|
|
4443
|
+
"description": "Text label for the trigger button."
|
|
4444
|
+
},
|
|
4445
|
+
"icon-leading": {
|
|
4446
|
+
"syntax": "key-value",
|
|
4447
|
+
"type": "string",
|
|
4448
|
+
"default": "",
|
|
4449
|
+
"description": "Icon name for leading position in trigger."
|
|
4450
|
+
},
|
|
4451
|
+
"icon-trailing": {
|
|
4452
|
+
"syntax": "key-value",
|
|
4453
|
+
"type": "string",
|
|
4454
|
+
"default": "",
|
|
4455
|
+
"description": "Icon name for trailing position in trigger."
|
|
4456
|
+
},
|
|
4457
|
+
"hide-label": {
|
|
4458
|
+
"syntax": "boolean",
|
|
4459
|
+
"type": "boolean",
|
|
4460
|
+
"default": false,
|
|
4461
|
+
"description": "Visually hide the label text (keeps aria-label)."
|
|
4462
|
+
},
|
|
4463
|
+
"disabled": {
|
|
4464
|
+
"syntax": "boolean",
|
|
4465
|
+
"type": "boolean",
|
|
4466
|
+
"default": false,
|
|
4467
|
+
"description": "Prevents interaction."
|
|
4468
|
+
},
|
|
4469
|
+
"open": {
|
|
4470
|
+
"syntax": "boolean",
|
|
4471
|
+
"type": "boolean",
|
|
4472
|
+
"default": false,
|
|
4473
|
+
"description": "Whether the menu popover is currently open."
|
|
4474
|
+
}
|
|
4475
|
+
},
|
|
4476
|
+
"tokens": [
|
|
4477
|
+
{
|
|
4478
|
+
"name": "--aui-dropdown-menu-font-family",
|
|
4479
|
+
"default": "var(--aui-font-family)",
|
|
4480
|
+
"description": "Font family for the trigger and menu items."
|
|
4481
|
+
},
|
|
4482
|
+
{
|
|
4483
|
+
"name": "--aui-dropdown-menu-font-size",
|
|
4484
|
+
"default": "var(--aui-font-size)",
|
|
4485
|
+
"description": "Font size for the trigger and menu items."
|
|
3223
4486
|
},
|
|
3224
4487
|
{
|
|
3225
|
-
"name": "--aui-
|
|
4488
|
+
"name": "--aui-dropdown-menu-font-weight",
|
|
4489
|
+
"default": "var(--aui-control-font-weight)",
|
|
4490
|
+
"description": "Font weight for the trigger label."
|
|
4491
|
+
},
|
|
4492
|
+
{
|
|
4493
|
+
"name": "--aui-dropdown-menu-color",
|
|
3226
4494
|
"default": "var(--aui-ink)",
|
|
3227
|
-
"description": "
|
|
4495
|
+
"description": "Default text color."
|
|
3228
4496
|
},
|
|
3229
4497
|
{
|
|
3230
|
-
"name": "--aui-
|
|
3231
|
-
"default": "var(--aui-
|
|
3232
|
-
"description": "
|
|
4498
|
+
"name": "--aui-dropdown-menu-background",
|
|
4499
|
+
"default": "var(--aui-control, var(--aui-fill))",
|
|
4500
|
+
"description": "Background color of the trigger button."
|
|
3233
4501
|
},
|
|
3234
4502
|
{
|
|
3235
|
-
"name": "--aui-
|
|
3236
|
-
"default": "
|
|
3237
|
-
"description": "
|
|
4503
|
+
"name": "--aui-dropdown-menu-border-color",
|
|
4504
|
+
"default": "var(--aui-stroke)",
|
|
4505
|
+
"description": "Border color of the trigger button."
|
|
3238
4506
|
},
|
|
3239
4507
|
{
|
|
3240
|
-
"name": "--aui-
|
|
3241
|
-
"default": "
|
|
3242
|
-
"description": "
|
|
4508
|
+
"name": "--aui-dropdown-menu-border-radius",
|
|
4509
|
+
"default": "var(--aui-radius)",
|
|
4510
|
+
"description": "Border radius for the trigger and dropdown."
|
|
3243
4511
|
},
|
|
3244
4512
|
{
|
|
3245
|
-
"name": "--aui-
|
|
3246
|
-
"default": "var(--aui-
|
|
3247
|
-
"description": "
|
|
4513
|
+
"name": "--aui-dropdown-menu-size",
|
|
4514
|
+
"default": "var(--aui-size)",
|
|
4515
|
+
"description": "Height of the trigger button."
|
|
3248
4516
|
},
|
|
3249
4517
|
{
|
|
3250
|
-
"name": "--aui-
|
|
3251
|
-
"default": "var(--aui-
|
|
3252
|
-
"description": "
|
|
4518
|
+
"name": "--aui-dropdown-menu-padding-inline",
|
|
4519
|
+
"default": "var(--aui-pad-control-inline)",
|
|
4520
|
+
"description": "Inline padding for the trigger."
|
|
4521
|
+
},
|
|
4522
|
+
{
|
|
4523
|
+
"name": "--aui-dropdown-menu-gap",
|
|
4524
|
+
"default": "var(--aui-pad-gap-control)",
|
|
4525
|
+
"description": "Gap between trigger icon, label, and chevron."
|
|
4526
|
+
},
|
|
4527
|
+
{
|
|
4528
|
+
"name": "--aui-dropdown-menu-icon-size",
|
|
4529
|
+
"default": "var(--aui-icon-size)",
|
|
4530
|
+
"description": "Size of the chevron icon."
|
|
4531
|
+
},
|
|
4532
|
+
{
|
|
4533
|
+
"name": "--aui-dropdown-menu-chevron-color",
|
|
4534
|
+
"default": "var(--aui-ink-muted)",
|
|
4535
|
+
"description": "Color of the dropdown chevron."
|
|
4536
|
+
},
|
|
4537
|
+
{
|
|
4538
|
+
"name": "--aui-dropdown-menu-dropdown-background",
|
|
4539
|
+
"default": "var(--aui-modal, var(--aui-doc))",
|
|
4540
|
+
"description": "Background of the dropdown popover."
|
|
4541
|
+
},
|
|
4542
|
+
{
|
|
4543
|
+
"name": "--aui-dropdown-menu-dropdown-border-color",
|
|
4544
|
+
"default": "var(--aui-border-muted)",
|
|
4545
|
+
"description": "Border color of the dropdown popover."
|
|
4546
|
+
},
|
|
4547
|
+
{
|
|
4548
|
+
"name": "--aui-dropdown-menu-dropdown-border-radius",
|
|
4549
|
+
"default": "var(--aui-radius)",
|
|
4550
|
+
"description": "Border radius of the dropdown popover."
|
|
4551
|
+
},
|
|
4552
|
+
{
|
|
4553
|
+
"name": "--aui-dropdown-menu-dropdown-shadow",
|
|
4554
|
+
"default": "var(--aui-shadow-lg)",
|
|
4555
|
+
"description": "Box shadow of the dropdown popover."
|
|
4556
|
+
}
|
|
4557
|
+
],
|
|
4558
|
+
"a11y": {
|
|
4559
|
+
"role": "button (trigger), menu (popover)",
|
|
4560
|
+
"keyboard": {
|
|
4561
|
+
"ArrowDown": "Open menu or navigate to next item.",
|
|
4562
|
+
"ArrowUp": "Open menu or navigate to previous item.",
|
|
4563
|
+
"Enter": "Open menu or select active item.",
|
|
4564
|
+
"Space": "Open menu or select active item.",
|
|
4565
|
+
"Escape": "Close menu and return focus to trigger.",
|
|
4566
|
+
"Home": "First item.",
|
|
4567
|
+
"End": "Last item."
|
|
4568
|
+
}
|
|
4569
|
+
},
|
|
4570
|
+
"events": {
|
|
4571
|
+
"select": {
|
|
4572
|
+
"description": "Fired when a menu item is activated. Detail contains { value }."
|
|
3253
4573
|
}
|
|
4574
|
+
},
|
|
4575
|
+
"dependencies": [
|
|
4576
|
+
"aui-option",
|
|
4577
|
+
"aui-optgroup"
|
|
3254
4578
|
],
|
|
4579
|
+
"composition": {
|
|
4580
|
+
"parents": [
|
|
4581
|
+
"aui-header",
|
|
4582
|
+
"aui-footer",
|
|
4583
|
+
"aui-stack",
|
|
4584
|
+
"any"
|
|
4585
|
+
],
|
|
4586
|
+
"children": [
|
|
4587
|
+
"aui-option",
|
|
4588
|
+
"aui-optgroup"
|
|
4589
|
+
]
|
|
4590
|
+
},
|
|
3255
4591
|
"examples": [
|
|
3256
4592
|
{
|
|
3257
|
-
"html": "<aui-
|
|
3258
|
-
"description": "
|
|
4593
|
+
"html": "<aui-dropdown-menu label=\"Actions\">\n <aui-option value=\"edit\">Edit</aui-option>\n <aui-option value=\"duplicate\">Duplicate</aui-option>\n <aui-option value=\"delete\">Delete</aui-option>\n</aui-dropdown-menu>\n",
|
|
4594
|
+
"description": "Basic dropdown menu with labeled trigger."
|
|
3259
4595
|
},
|
|
3260
4596
|
{
|
|
3261
|
-
"html": "<aui-
|
|
3262
|
-
"description": "
|
|
4597
|
+
"html": "<aui-dropdown-menu label=\"Actions\" ghost>\n <aui-optgroup label=\"Edit\">\n <aui-option value=\"cut\">Cut</aui-option>\n <aui-option value=\"copy\">Copy</aui-option>\n <aui-option value=\"paste\">Paste</aui-option>\n </aui-optgroup>\n <aui-optgroup label=\"Danger\" divider>\n <aui-option value=\"delete\">Delete</aui-option>\n </aui-optgroup>\n</aui-dropdown-menu>\n",
|
|
4598
|
+
"description": "Ghost-style dropdown with grouped options."
|
|
4599
|
+
},
|
|
4600
|
+
{
|
|
4601
|
+
"html": "<aui-dropdown-menu label=\"Actions\" disabled>\n <aui-option value=\"edit\">Edit</aui-option>\n</aui-dropdown-menu>\n",
|
|
4602
|
+
"description": "Disabled dropdown menu."
|
|
3263
4603
|
}
|
|
3264
4604
|
]
|
|
3265
4605
|
},
|
|
@@ -4203,6 +5543,103 @@
|
|
|
4203
5543
|
}
|
|
4204
5544
|
]
|
|
4205
5545
|
},
|
|
5546
|
+
{
|
|
5547
|
+
"name": "aui-hover-card",
|
|
5548
|
+
"tag": "aui-hover-card",
|
|
5549
|
+
"type": "component",
|
|
5550
|
+
"summary": "Rich preview card shown on hover/focus with configurable delay.",
|
|
5551
|
+
"description": "A popover card that appears after a hover delay on an anchor element. Uses the Popover API with CSS anchor positioning. The card stays visible when the pointer moves into it, and hides after a leave delay. Supports side placement (top/bottom/left/right) and custom show/hide delays.\n",
|
|
5552
|
+
"base": "AgentElement",
|
|
5553
|
+
"attributes": {
|
|
5554
|
+
"anchor": {
|
|
5555
|
+
"syntax": "key-value",
|
|
5556
|
+
"type": "string",
|
|
5557
|
+
"default": "",
|
|
5558
|
+
"description": "CSS selector for the anchor element. Falls back to previous sibling or parent."
|
|
5559
|
+
},
|
|
5560
|
+
"delay": {
|
|
5561
|
+
"syntax": "key-value",
|
|
5562
|
+
"type": "string",
|
|
5563
|
+
"default": "300",
|
|
5564
|
+
"description": "Show delay in milliseconds after hover starts."
|
|
5565
|
+
},
|
|
5566
|
+
"hide-delay": {
|
|
5567
|
+
"syntax": "key-value",
|
|
5568
|
+
"type": "string",
|
|
5569
|
+
"default": "200",
|
|
5570
|
+
"description": "Hide delay in milliseconds after hover ends."
|
|
5571
|
+
},
|
|
5572
|
+
"side": {
|
|
5573
|
+
"syntax": "key-value",
|
|
5574
|
+
"type": "string",
|
|
5575
|
+
"default": "bottom",
|
|
5576
|
+
"description": "Preferred placement side — top, bottom, left, or right."
|
|
5577
|
+
}
|
|
5578
|
+
},
|
|
5579
|
+
"modifiers": {
|
|
5580
|
+
"open": {
|
|
5581
|
+
"syntax": "boolean",
|
|
5582
|
+
"description": "Whether the hover card is currently visible."
|
|
5583
|
+
}
|
|
5584
|
+
},
|
|
5585
|
+
"tokens": [
|
|
5586
|
+
{
|
|
5587
|
+
"name": "--aui-hover-card-background",
|
|
5588
|
+
"default": "var(--aui-modal, var(--aui-doc))",
|
|
5589
|
+
"description": "Background color of the card."
|
|
5590
|
+
},
|
|
5591
|
+
{
|
|
5592
|
+
"name": "--aui-hover-card-border-color",
|
|
5593
|
+
"default": "var(--aui-border-muted)",
|
|
5594
|
+
"description": "Border color of the card."
|
|
5595
|
+
},
|
|
5596
|
+
{
|
|
5597
|
+
"name": "--aui-hover-card-border-radius",
|
|
5598
|
+
"default": "var(--aui-radius)",
|
|
5599
|
+
"description": "Border radius of the card."
|
|
5600
|
+
},
|
|
5601
|
+
{
|
|
5602
|
+
"name": "--aui-hover-card-shadow",
|
|
5603
|
+
"default": "var(--aui-shadow-lg)",
|
|
5604
|
+
"description": "Box shadow of the card."
|
|
5605
|
+
},
|
|
5606
|
+
{
|
|
5607
|
+
"name": "--aui-hover-card-padding",
|
|
5608
|
+
"default": "calc(var(--aui-space) * 3)",
|
|
5609
|
+
"description": "Padding inside the card."
|
|
5610
|
+
},
|
|
5611
|
+
{
|
|
5612
|
+
"name": "--aui-hover-card-max-width",
|
|
5613
|
+
"default": "20rem",
|
|
5614
|
+
"description": "Maximum width of the card."
|
|
5615
|
+
}
|
|
5616
|
+
],
|
|
5617
|
+
"a11y": {
|
|
5618
|
+
"role": "tooltip (popover)",
|
|
5619
|
+
"keyboard": {
|
|
5620
|
+
"Escape": "Close the hover card."
|
|
5621
|
+
}
|
|
5622
|
+
},
|
|
5623
|
+
"events": {},
|
|
5624
|
+
"composition": {
|
|
5625
|
+
"parents": [
|
|
5626
|
+
"any"
|
|
5627
|
+
],
|
|
5628
|
+
"children": [
|
|
5629
|
+
"any"
|
|
5630
|
+
]
|
|
5631
|
+
},
|
|
5632
|
+
"examples": [
|
|
5633
|
+
{
|
|
5634
|
+
"html": "<span id=\"hc-anchor\" style=\"text-decoration: underline; cursor: pointer; color: var(--aui-ink);\">Hover over me</span>\n<aui-hover-card anchor=\"#hc-anchor\">\n <aui-heading size=\"sm\">Preview Card</aui-heading>\n <aui-text muted>This is a rich hover preview with any content.</aui-text>\n</aui-hover-card>\n",
|
|
5635
|
+
"description": "Basic hover card — hover to show, move pointer away to hide."
|
|
5636
|
+
},
|
|
5637
|
+
{
|
|
5638
|
+
"html": "<span id=\"hc-top\" style=\"text-decoration: underline; cursor: pointer; color: var(--aui-ink);\">Hover (top side)</span>\n<aui-hover-card anchor=\"#hc-top\" side=\"top\" delay=\"200\">\n <aui-text>This card appears above the anchor.</aui-text>\n</aui-hover-card>\n",
|
|
5639
|
+
"description": "Hover card positioned above the anchor with shorter delay."
|
|
5640
|
+
}
|
|
5641
|
+
]
|
|
5642
|
+
},
|
|
4206
5643
|
{
|
|
4207
5644
|
"name": "aui-icon",
|
|
4208
5645
|
"tag": "aui-icon",
|
|
@@ -4581,6 +6018,18 @@
|
|
|
4581
6018
|
"type": "string",
|
|
4582
6019
|
"default": "",
|
|
4583
6020
|
"description": "Browser autocomplete hint. Forwarded to the native input."
|
|
6021
|
+
},
|
|
6022
|
+
"debounce": {
|
|
6023
|
+
"syntax": "key-value",
|
|
6024
|
+
"type": "string",
|
|
6025
|
+
"default": "200",
|
|
6026
|
+
"description": "Debounce delay in ms for the search event. Only applies when type=\"search\"."
|
|
6027
|
+
},
|
|
6028
|
+
"no-clear": {
|
|
6029
|
+
"syntax": "boolean",
|
|
6030
|
+
"type": "boolean",
|
|
6031
|
+
"default": false,
|
|
6032
|
+
"description": "Hides the auto-stamped clear button. Only applies when type=\"search\"."
|
|
4584
6033
|
}
|
|
4585
6034
|
},
|
|
4586
6035
|
"content": {
|
|
@@ -4657,6 +6106,9 @@
|
|
|
4657
6106
|
},
|
|
4658
6107
|
"change": {
|
|
4659
6108
|
"description": "Fires on blur or enter. Bubbles from the native input."
|
|
6109
|
+
},
|
|
6110
|
+
"search": {
|
|
6111
|
+
"description": "Debounced event fired after typing stops (type=\"search\" only). Detail contains { value: string }.\n"
|
|
4660
6112
|
}
|
|
4661
6113
|
},
|
|
4662
6114
|
"css-notes": {
|
|
@@ -4754,47 +6206,304 @@
|
|
|
4754
6206
|
"default": "var(--aui-focus)",
|
|
4755
6207
|
"description": "Border and outline color on focus."
|
|
4756
6208
|
}
|
|
4757
|
-
],
|
|
6209
|
+
],
|
|
6210
|
+
"examples": [
|
|
6211
|
+
{
|
|
6212
|
+
"html": "<aui-input placeholder=\"Enter text\"></aui-input>",
|
|
6213
|
+
"description": "Basic text input."
|
|
6214
|
+
},
|
|
6215
|
+
{
|
|
6216
|
+
"html": "<aui-input type=\"email\" placeholder=\"you@example.com\"></aui-input>",
|
|
6217
|
+
"description": "Email input."
|
|
6218
|
+
},
|
|
6219
|
+
{
|
|
6220
|
+
"html": "<aui-input type=\"password\" placeholder=\"Password\"></aui-input>",
|
|
6221
|
+
"description": "Password input."
|
|
6222
|
+
},
|
|
6223
|
+
{
|
|
6224
|
+
"html": "<aui-input placeholder=\"Search\" clearable></aui-input>",
|
|
6225
|
+
"description": "Clearable input with clear button."
|
|
6226
|
+
},
|
|
6227
|
+
{
|
|
6228
|
+
"html": "<aui-input placeholder=\"Disabled\" disabled></aui-input>",
|
|
6229
|
+
"description": "Disabled input."
|
|
6230
|
+
},
|
|
6231
|
+
{
|
|
6232
|
+
"html": "<aui-input value=\"Read only\" readonly></aui-input>",
|
|
6233
|
+
"description": "Read-only input with dashed border."
|
|
6234
|
+
},
|
|
6235
|
+
{
|
|
6236
|
+
"html": "<aui-input placeholder=\"Search\">\n <span slot=\"leading\">🔍</span>\n</aui-input>\n",
|
|
6237
|
+
"description": "Input with leading icon."
|
|
6238
|
+
},
|
|
6239
|
+
{
|
|
6240
|
+
"html": "<aui-input type=\"email\" placeholder=\"Email\">\n <span slot=\"leading\">✉</span>\n <span slot=\"trailing\">✓</span>\n</aui-input>\n",
|
|
6241
|
+
"description": "Input with leading and trailing icons."
|
|
6242
|
+
},
|
|
6243
|
+
{
|
|
6244
|
+
"html": "<aui-field label=\"Email\" required>\n <aui-input type=\"email\" placeholder=\"you@example.com\"></aui-input>\n</aui-field>\n",
|
|
6245
|
+
"description": "Input inside a labeled field."
|
|
6246
|
+
},
|
|
6247
|
+
{
|
|
6248
|
+
"html": "<aui-field label=\"Username\" error=\"Already taken.\">\n <aui-input value=\"admin\"></aui-input>\n</aui-field>\n",
|
|
6249
|
+
"description": "Input with error state via parent field."
|
|
6250
|
+
},
|
|
6251
|
+
{
|
|
6252
|
+
"html": "<aui-input type=\"search\" placeholder=\"Search...\"></aui-input>",
|
|
6253
|
+
"description": "Search input with automatic leading icon and clear button."
|
|
6254
|
+
},
|
|
6255
|
+
{
|
|
6256
|
+
"html": "<aui-input type=\"search\" placeholder=\"Search...\" debounce=\"500\"></aui-input>",
|
|
6257
|
+
"description": "Search input with custom 500ms debounce."
|
|
6258
|
+
},
|
|
6259
|
+
{
|
|
6260
|
+
"html": "<aui-input type=\"search\" placeholder=\"Search...\" no-clear></aui-input>",
|
|
6261
|
+
"description": "Search input without the clear button."
|
|
6262
|
+
}
|
|
6263
|
+
]
|
|
6264
|
+
},
|
|
6265
|
+
{
|
|
6266
|
+
"name": "aui-link",
|
|
6267
|
+
"tag": "aui-link",
|
|
6268
|
+
"type": "component",
|
|
6269
|
+
"summary": "Styled anchor for inline and standalone links.",
|
|
6270
|
+
"description": "Inline link element with consistent styling, hover underline, and focus ring. Supports muted and intent coloring. External attribute appends an arrow icon via CSS ::after pseudo-element.\n",
|
|
6271
|
+
"base": "AgentElement",
|
|
6272
|
+
"presentational": {
|
|
6273
|
+
"intent": {
|
|
6274
|
+
"syntax": "boolean",
|
|
6275
|
+
"exclusive": true,
|
|
6276
|
+
"cascades": false,
|
|
6277
|
+
"default": "accent",
|
|
6278
|
+
"values": [
|
|
6279
|
+
"accent",
|
|
6280
|
+
"success",
|
|
6281
|
+
"warning",
|
|
6282
|
+
"danger"
|
|
6283
|
+
],
|
|
6284
|
+
"description": "Link color family."
|
|
6285
|
+
}
|
|
6286
|
+
},
|
|
6287
|
+
"modifiers": {
|
|
6288
|
+
"muted": {
|
|
6289
|
+
"syntax": "boolean",
|
|
6290
|
+
"description": "Uses muted text color instead of accent. Hover restores full text color.\n"
|
|
6291
|
+
},
|
|
6292
|
+
"external": {
|
|
6293
|
+
"syntax": "boolean",
|
|
6294
|
+
"description": "Appends an external-link arrow icon via CSS ::after. Indicates the link opens an external destination.\n"
|
|
6295
|
+
}
|
|
6296
|
+
},
|
|
6297
|
+
"attributes": {
|
|
6298
|
+
"href": {
|
|
6299
|
+
"type": "URL",
|
|
6300
|
+
"required": false,
|
|
6301
|
+
"description": "Link destination URL."
|
|
6302
|
+
}
|
|
6303
|
+
},
|
|
6304
|
+
"content": {
|
|
6305
|
+
"model": "inline",
|
|
6306
|
+
"accepts": [
|
|
6307
|
+
"text",
|
|
6308
|
+
"aui-icon"
|
|
6309
|
+
],
|
|
6310
|
+
"required": true,
|
|
6311
|
+
"description": "Link label text. Keep concise — one to a few words.\n"
|
|
6312
|
+
},
|
|
6313
|
+
"slots": {
|
|
6314
|
+
"default": {
|
|
6315
|
+
"accepts": [
|
|
6316
|
+
"text",
|
|
6317
|
+
"aui-icon"
|
|
6318
|
+
],
|
|
6319
|
+
"required": true,
|
|
6320
|
+
"description": "Link label text."
|
|
6321
|
+
}
|
|
6322
|
+
},
|
|
6323
|
+
"tokens": {
|
|
6324
|
+
"color": [
|
|
6325
|
+
"--aui-link-color",
|
|
6326
|
+
"--aui-link-color-hover"
|
|
6327
|
+
],
|
|
6328
|
+
"shape": [
|
|
6329
|
+
"--aui-link-radius"
|
|
6330
|
+
]
|
|
6331
|
+
},
|
|
4758
6332
|
"examples": [
|
|
4759
6333
|
{
|
|
4760
|
-
"html": "<aui-
|
|
4761
|
-
"description": "Basic
|
|
6334
|
+
"html": "<aui-link href=\"/about\">Learn more</aui-link>",
|
|
6335
|
+
"description": "Basic accent link."
|
|
4762
6336
|
},
|
|
4763
6337
|
{
|
|
4764
|
-
"html": "<aui-
|
|
4765
|
-
"description": "
|
|
6338
|
+
"html": "<aui-link href=\"https://example.com\" external>Visit site</aui-link>",
|
|
6339
|
+
"description": "External link with arrow icon."
|
|
4766
6340
|
},
|
|
4767
6341
|
{
|
|
4768
|
-
"html": "<aui-
|
|
4769
|
-
"description": "
|
|
6342
|
+
"html": "<aui-text>\n Read the <aui-link href=\"/terms\">terms of service</aui-link> before continuing.\n</aui-text>\n",
|
|
6343
|
+
"description": "Inline link within text flow."
|
|
6344
|
+
}
|
|
6345
|
+
]
|
|
6346
|
+
},
|
|
6347
|
+
{
|
|
6348
|
+
"name": "aui-meter",
|
|
6349
|
+
"tag": "aui-meter",
|
|
6350
|
+
"type": "component",
|
|
6351
|
+
"summary": "Visual gauge for known-range scalar values.",
|
|
6352
|
+
"description": "Static measurement gauge within a known range. Fill width driven by --aui-meter-pct CSS custom property computed from value, min, and max attributes. Semantically distinct from aui-progress — meters represent a static measurement (disk usage, budget), not task completion. Intent colors indicate threshold states.\n",
|
|
6353
|
+
"base": "AgentElement",
|
|
6354
|
+
"presentational": {
|
|
6355
|
+
"size": {
|
|
6356
|
+
"syntax": "key-value",
|
|
6357
|
+
"attribute": "size",
|
|
6358
|
+
"cascades": false,
|
|
6359
|
+
"default": "md",
|
|
6360
|
+
"values": [
|
|
6361
|
+
"sm",
|
|
6362
|
+
"md",
|
|
6363
|
+
"lg"
|
|
6364
|
+
],
|
|
6365
|
+
"description": "Track height — sm (4px), md (6px), lg (10px)."
|
|
4770
6366
|
},
|
|
4771
|
-
{
|
|
4772
|
-
"
|
|
4773
|
-
"
|
|
6367
|
+
"intent": {
|
|
6368
|
+
"syntax": "boolean",
|
|
6369
|
+
"exclusive": true,
|
|
6370
|
+
"cascades": false,
|
|
6371
|
+
"default": "accent",
|
|
6372
|
+
"values": [
|
|
6373
|
+
"accent",
|
|
6374
|
+
"success",
|
|
6375
|
+
"warning",
|
|
6376
|
+
"danger"
|
|
6377
|
+
],
|
|
6378
|
+
"description": "Fill color reflecting threshold state."
|
|
6379
|
+
}
|
|
6380
|
+
},
|
|
6381
|
+
"attributes": {
|
|
6382
|
+
"value": {
|
|
6383
|
+
"type": "number",
|
|
6384
|
+
"default": "0",
|
|
6385
|
+
"description": "Current measurement value."
|
|
6386
|
+
},
|
|
6387
|
+
"min": {
|
|
6388
|
+
"type": "number",
|
|
6389
|
+
"default": "0",
|
|
6390
|
+
"description": "Range minimum."
|
|
4774
6391
|
},
|
|
6392
|
+
"max": {
|
|
6393
|
+
"type": "number",
|
|
6394
|
+
"default": "100",
|
|
6395
|
+
"description": "Range maximum."
|
|
6396
|
+
}
|
|
6397
|
+
},
|
|
6398
|
+
"content": {
|
|
6399
|
+
"model": "empty",
|
|
6400
|
+
"accepts": [],
|
|
6401
|
+
"required": false,
|
|
6402
|
+
"description": "No content — meter is a visual gauge only.\n"
|
|
6403
|
+
},
|
|
6404
|
+
"slots": {},
|
|
6405
|
+
"tokens": {
|
|
6406
|
+
"sizing": [
|
|
6407
|
+
"--aui-meter-height"
|
|
6408
|
+
],
|
|
6409
|
+
"color": [
|
|
6410
|
+
"--aui-meter-background",
|
|
6411
|
+
"--aui-meter-fill"
|
|
6412
|
+
],
|
|
6413
|
+
"shape": [
|
|
6414
|
+
"--aui-meter-radius"
|
|
6415
|
+
]
|
|
6416
|
+
},
|
|
6417
|
+
"examples": [
|
|
4775
6418
|
{
|
|
4776
|
-
"html": "<aui-
|
|
4777
|
-
"description": "
|
|
6419
|
+
"html": "<aui-meter value=\"45\"></aui-meter>",
|
|
6420
|
+
"description": "Default accent meter at 45%."
|
|
4778
6421
|
},
|
|
4779
6422
|
{
|
|
4780
|
-
"html": "<aui-
|
|
4781
|
-
"description": "
|
|
6423
|
+
"html": "<aui-meter value=\"75\" warning></aui-meter>",
|
|
6424
|
+
"description": "Warning meter at 75%."
|
|
4782
6425
|
},
|
|
4783
6426
|
{
|
|
4784
|
-
"html": "<aui-
|
|
4785
|
-
"description": "
|
|
6427
|
+
"html": "<aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-text size=\"xs\" muted>Disk usage</aui-text>\n <aui-meter value=\"82\" warning style=\"flex: 1\"></aui-meter>\n <aui-text size=\"xs\" muted>82%</aui-text>\n</aui-stack>\n",
|
|
6428
|
+
"description": "Meter with context labels in a row."
|
|
6429
|
+
}
|
|
6430
|
+
]
|
|
6431
|
+
},
|
|
6432
|
+
{
|
|
6433
|
+
"name": "aui-nav-item",
|
|
6434
|
+
"tag": "aui-nav-item",
|
|
6435
|
+
"type": "component",
|
|
6436
|
+
"summary": "Navigation list item with icon, label, badge, and active state.",
|
|
6437
|
+
"description": "Flex row navigation item with hover, active, and disabled states. Supports icons and inline text. Use [active] to indicate the current page. CSS-only element with no JS behavior beyond extending AgentElement.\n",
|
|
6438
|
+
"base": "AgentElement",
|
|
6439
|
+
"modifiers": {
|
|
6440
|
+
"active": {
|
|
6441
|
+
"syntax": "boolean",
|
|
6442
|
+
"description": "Marks the item as the current/active page. Applies stronger text color, medium font weight, and a subtle background fill.\n"
|
|
4786
6443
|
},
|
|
6444
|
+
"disabled": {
|
|
6445
|
+
"syntax": "boolean",
|
|
6446
|
+
"description": "Disables the item. Dims color and prevents pointer interaction.\n"
|
|
6447
|
+
},
|
|
6448
|
+
"muted": {
|
|
6449
|
+
"syntax": "boolean",
|
|
6450
|
+
"description": "Reduces opacity for de-emphasized items.\n"
|
|
6451
|
+
}
|
|
6452
|
+
},
|
|
6453
|
+
"content": {
|
|
6454
|
+
"model": "inline",
|
|
6455
|
+
"accepts": [
|
|
6456
|
+
"text",
|
|
6457
|
+
"aui-icon",
|
|
6458
|
+
"aui-badge"
|
|
6459
|
+
],
|
|
6460
|
+
"required": true,
|
|
6461
|
+
"description": "Label text and optional leading icon or trailing badge. Icons and text are laid out in a flex row.\n"
|
|
6462
|
+
},
|
|
6463
|
+
"slots": {
|
|
6464
|
+
"default": {
|
|
6465
|
+
"accepts": [
|
|
6466
|
+
"text",
|
|
6467
|
+
"aui-icon",
|
|
6468
|
+
"aui-badge"
|
|
6469
|
+
],
|
|
6470
|
+
"required": true,
|
|
6471
|
+
"description": "Nav item content — icon, label text, optional badge."
|
|
6472
|
+
}
|
|
6473
|
+
},
|
|
6474
|
+
"tokens": {
|
|
6475
|
+
"sizing": [
|
|
6476
|
+
"--aui-nav-item-gap",
|
|
6477
|
+
"--aui-nav-item-padding-block",
|
|
6478
|
+
"--aui-nav-item-padding-inline",
|
|
6479
|
+
"--aui-nav-item-border-radius"
|
|
6480
|
+
],
|
|
6481
|
+
"typography": [
|
|
6482
|
+
"--aui-nav-item-font-size",
|
|
6483
|
+
"--aui-nav-item-font-weight",
|
|
6484
|
+
"--aui-nav-item-font-weight-active"
|
|
6485
|
+
],
|
|
6486
|
+
"color": [
|
|
6487
|
+
"--aui-nav-item-color",
|
|
6488
|
+
"--aui-nav-item-color-hover",
|
|
6489
|
+
"--aui-nav-item-color-active",
|
|
6490
|
+
"--aui-nav-item-color-disabled",
|
|
6491
|
+
"--aui-nav-item-background-hover",
|
|
6492
|
+
"--aui-nav-item-background-active"
|
|
6493
|
+
]
|
|
6494
|
+
},
|
|
6495
|
+
"examples": [
|
|
4787
6496
|
{
|
|
4788
|
-
"html": "<aui-
|
|
4789
|
-
"description": "
|
|
6497
|
+
"html": "<aui-nav-item>Dashboard</aui-nav-item>",
|
|
6498
|
+
"description": "Default nav item."
|
|
4790
6499
|
},
|
|
4791
6500
|
{
|
|
4792
|
-
"html": "<aui-
|
|
4793
|
-
"description": "
|
|
6501
|
+
"html": "<aui-nav-item active>Dashboard</aui-nav-item>",
|
|
6502
|
+
"description": "Active nav item (current page)."
|
|
4794
6503
|
},
|
|
4795
6504
|
{
|
|
4796
|
-
"html": "<aui-
|
|
4797
|
-
"description": "
|
|
6505
|
+
"html": "<aui-stack gap=\"1\">\n <aui-nav-item active>\n <aui-icon name=\"home\"></aui-icon>\n Dashboard\n </aui-nav-item>\n <aui-nav-item>\n <aui-icon name=\"settings\"></aui-icon>\n Settings\n </aui-nav-item>\n <aui-nav-item disabled>\n <aui-icon name=\"lock\"></aui-icon>\n Admin\n </aui-nav-item>\n</aui-stack>\n",
|
|
6506
|
+
"description": "Nav list with active, default, and disabled items."
|
|
4798
6507
|
}
|
|
4799
6508
|
]
|
|
4800
6509
|
},
|
|
@@ -5611,61 +7320,268 @@
|
|
|
5611
7320
|
"element": "aui-editor[data-role=\"canvas\"]",
|
|
5612
7321
|
"description": "Full-viewport aui-editor with background=\"dots\". Contains a single aui-editor-layer named \"content\" which holds a div[data-role=\"content\"] where preview HTML is injected.\n"
|
|
5613
7322
|
},
|
|
5614
|
-
"command-palette": {
|
|
5615
|
-
"element": "aui-dialog > aui-command",
|
|
5616
|
-
"description": "A small aui-dialog (size=\"sm\") positioned at 20% from top, containing an aui-command with input, grouped list of all items and section links, and an empty state. Opened/closed via Cmd+K. Selecting an item navigates by updating the URL query parameter.\n"
|
|
7323
|
+
"command-palette": {
|
|
7324
|
+
"element": "aui-dialog > aui-command",
|
|
7325
|
+
"description": "A small aui-dialog (size=\"sm\") positioned at 20% from top, containing an aui-command with input, grouped list of all items and section links, and an empty state. Opened/closed via Cmd+K. Selecting an item navigates by updating the URL query parameter.\n"
|
|
7326
|
+
},
|
|
7327
|
+
"empty-state": {
|
|
7328
|
+
"element": "div[data-role=\"empty\"]",
|
|
7329
|
+
"description": "Shown when no item is selected. Centered text prompting the user to select from the section.\n"
|
|
7330
|
+
}
|
|
7331
|
+
},
|
|
7332
|
+
"item-loading": {
|
|
7333
|
+
"description": "When an item is selected, the component resolves three files relative to the preview.json base path. The item's file field (or default \"{slug}/{slug}.html\") provides the HTML. CSS is loaded as \"{dir}/{dir}.css\" via a <link> appended to <head>. TS is imported as \"{dir}/{dir}.ts\" via dynamic import. HTML content children are measured, positioned absolutely with a 40px gap, and given drag and resize traits via attachTrait().\n"
|
|
7334
|
+
},
|
|
7335
|
+
"a11y": {
|
|
7336
|
+
"role": "No implicit role. Acts as a full-screen application shell.",
|
|
7337
|
+
"keyboard": {
|
|
7338
|
+
"Cmd/Ctrl+K": "Toggle command palette open/closed.",
|
|
7339
|
+
"Alt+ArrowLeft": "Navigate to previous item (wraps to last).",
|
|
7340
|
+
"Alt+ArrowRight": "Navigate to next item (wraps to first).",
|
|
7341
|
+
"Escape": "Close command palette (delegated to aui-dialog native behavior)."
|
|
7342
|
+
}
|
|
7343
|
+
},
|
|
7344
|
+
"composition": {
|
|
7345
|
+
"parents": [
|
|
7346
|
+
"body",
|
|
7347
|
+
"div"
|
|
7348
|
+
],
|
|
7349
|
+
"children": [
|
|
7350
|
+
"internal -- all DOM is stamped by the component"
|
|
7351
|
+
],
|
|
7352
|
+
"context": "Place as the sole child of <body> for a full-screen preview experience. The component manages its own layout (position: fixed, inset: 0) and stamps all internal structure on activation.\n"
|
|
7353
|
+
},
|
|
7354
|
+
"tokens": {
|
|
7355
|
+
"color": [
|
|
7356
|
+
"--aui-doc",
|
|
7357
|
+
"--aui-ink",
|
|
7358
|
+
"--aui-ink-muted",
|
|
7359
|
+
"--aui-ink-strong",
|
|
7360
|
+
"--aui-border-muted",
|
|
7361
|
+
"--aui-focus"
|
|
7362
|
+
],
|
|
7363
|
+
"typography": [
|
|
7364
|
+
"--aui-font-family",
|
|
7365
|
+
"--aui-font-size",
|
|
7366
|
+
"--aui-font-sm",
|
|
7367
|
+
"--aui-font-weight-semibold"
|
|
7368
|
+
]
|
|
7369
|
+
},
|
|
7370
|
+
"examples": [
|
|
7371
|
+
{
|
|
7372
|
+
"html": "<aui-preview-app src=\"./preview.json\"></aui-preview-app>\n",
|
|
7373
|
+
"description": "Standard usage. Place in an HTML page alongside the preview.json manifest. The component fetches the manifest and renders the full preview shell.\n"
|
|
7374
|
+
},
|
|
7375
|
+
{
|
|
7376
|
+
"html": "<aui-preview-app src=\"/blocks/preview.json\"></aui-preview-app>\n",
|
|
7377
|
+
"description": "Absolute path to a manifest in a different directory. Useful when the preview page is not co-located with the manifest.\n"
|
|
7378
|
+
}
|
|
7379
|
+
]
|
|
7380
|
+
},
|
|
7381
|
+
{
|
|
7382
|
+
"name": "aui-progress",
|
|
7383
|
+
"tag": "aui-progress",
|
|
7384
|
+
"type": "component",
|
|
7385
|
+
"summary": "Horizontal progress bar with value, size, and intent variants.",
|
|
7386
|
+
"description": "A simple horizontal progress indicator. The fill width is driven by the value attribute (0–100), which JS clamps and maps to the --aui-progress-value custom property. The bar itself is rendered via a CSS ::after pseudo-element — no inner DOM required. Size and intent variants control height and fill color respectively.\n",
|
|
7387
|
+
"base": "AgentElement",
|
|
7388
|
+
"presentational": {
|
|
7389
|
+
"size": {
|
|
7390
|
+
"syntax": "key-value",
|
|
7391
|
+
"attribute": "size",
|
|
7392
|
+
"cascades": false,
|
|
7393
|
+
"default": "default",
|
|
7394
|
+
"values": [
|
|
7395
|
+
"sm",
|
|
7396
|
+
"lg"
|
|
7397
|
+
],
|
|
7398
|
+
"description": "Controls the bar height. Default is 4px. sm = 2px, lg = 6px.\n"
|
|
7399
|
+
},
|
|
7400
|
+
"intent": {
|
|
7401
|
+
"syntax": "boolean",
|
|
7402
|
+
"exclusive": true,
|
|
7403
|
+
"cascades": false,
|
|
7404
|
+
"default": "neutral",
|
|
7405
|
+
"values": [
|
|
7406
|
+
"success",
|
|
7407
|
+
"warning",
|
|
7408
|
+
"danger",
|
|
7409
|
+
"info"
|
|
7410
|
+
],
|
|
7411
|
+
"description": "Color family for the fill bar. Default uses the accent color.\n"
|
|
7412
|
+
}
|
|
7413
|
+
},
|
|
7414
|
+
"attributes": {
|
|
7415
|
+
"value": {
|
|
7416
|
+
"syntax": "key-value",
|
|
7417
|
+
"type": "string",
|
|
7418
|
+
"default": "0",
|
|
7419
|
+
"description": "Progress percentage (0–100). Clamped by JS and set as --aui-progress-value for the CSS width calculation.\n"
|
|
7420
|
+
}
|
|
7421
|
+
},
|
|
7422
|
+
"content": {
|
|
7423
|
+
"model": "empty",
|
|
7424
|
+
"accepts": [],
|
|
7425
|
+
"required": false,
|
|
7426
|
+
"description": "No child content. The bar is rendered entirely via CSS ::after.\n"
|
|
7427
|
+
},
|
|
7428
|
+
"tokens": [
|
|
7429
|
+
{
|
|
7430
|
+
"name": "--aui-progress-height",
|
|
7431
|
+
"default": "4px",
|
|
7432
|
+
"description": "Bar height. Overridden by size attribute."
|
|
7433
|
+
},
|
|
7434
|
+
{
|
|
7435
|
+
"name": "--aui-progress-border-radius",
|
|
7436
|
+
"default": "2px",
|
|
7437
|
+
"description": "Corner radius for both track and fill."
|
|
7438
|
+
},
|
|
7439
|
+
{
|
|
7440
|
+
"name": "--aui-progress-background",
|
|
7441
|
+
"default": "var(--aui-control)",
|
|
7442
|
+
"description": "Track background color."
|
|
7443
|
+
},
|
|
7444
|
+
{
|
|
7445
|
+
"name": "--aui-progress-fill",
|
|
7446
|
+
"default": "var(--aui-accent)",
|
|
7447
|
+
"description": "Fill bar color. Overridden by intent attributes."
|
|
7448
|
+
}
|
|
7449
|
+
],
|
|
7450
|
+
"a11y": {
|
|
7451
|
+
"role": "progressbar",
|
|
7452
|
+
"aria": {
|
|
7453
|
+
"aria-valuenow": "Set from value attribute.",
|
|
7454
|
+
"aria-valuemin": "0",
|
|
7455
|
+
"aria-valuemax": "100"
|
|
7456
|
+
}
|
|
7457
|
+
},
|
|
7458
|
+
"use-cases": [
|
|
7459
|
+
"Upload or download progress indicator.",
|
|
7460
|
+
"Step completion percentage in onboarding flows.",
|
|
7461
|
+
"Resource usage bar (storage, quota, CPU).",
|
|
7462
|
+
"Form completion meter."
|
|
7463
|
+
],
|
|
7464
|
+
"examples": [
|
|
7465
|
+
{
|
|
7466
|
+
"html": "<aui-progress value=\"40\"></aui-progress>",
|
|
7467
|
+
"description": "Default progress bar at 40%."
|
|
7468
|
+
},
|
|
7469
|
+
{
|
|
7470
|
+
"html": "<aui-progress value=\"90\" size=\"sm\" success></aui-progress>",
|
|
7471
|
+
"description": "Small bar with success intent."
|
|
7472
|
+
},
|
|
7473
|
+
{
|
|
7474
|
+
"html": "<aui-progress value=\"60\" size=\"lg\" warning></aui-progress>",
|
|
7475
|
+
"description": "Large bar with warning intent."
|
|
7476
|
+
},
|
|
7477
|
+
{
|
|
7478
|
+
"html": "<aui-progress value=\"95\" danger></aui-progress>",
|
|
7479
|
+
"description": "Danger intent at high usage."
|
|
7480
|
+
},
|
|
7481
|
+
{
|
|
7482
|
+
"html": "<aui-progress value=\"100\" success></aui-progress>",
|
|
7483
|
+
"description": "Completed progress with success color."
|
|
7484
|
+
}
|
|
7485
|
+
]
|
|
7486
|
+
},
|
|
7487
|
+
{
|
|
7488
|
+
"name": "aui-progress-circle",
|
|
7489
|
+
"tag": "aui-progress-circle",
|
|
7490
|
+
"type": "component",
|
|
7491
|
+
"summary": "Circular SVG ring progress indicator with value, size, and intent variants.",
|
|
7492
|
+
"description": "Circular progress ring rendered as an SVG arc. The value attribute (0-100) is clamped by JS and mapped to stroke-dasharray via the --aui-progress-circle-value custom property. Supports optional center label text, size variants, and intent colors.\n",
|
|
7493
|
+
"base": "AgentElement",
|
|
7494
|
+
"presentational": {
|
|
7495
|
+
"size": {
|
|
7496
|
+
"syntax": "key-value",
|
|
7497
|
+
"attribute": "size",
|
|
7498
|
+
"cascades": false,
|
|
7499
|
+
"default": "default",
|
|
7500
|
+
"values": [
|
|
7501
|
+
"sm",
|
|
7502
|
+
"lg"
|
|
7503
|
+
],
|
|
7504
|
+
"description": "Controls the ring diameter. Default is 48px. sm = 32px, lg = 64px.\n"
|
|
7505
|
+
},
|
|
7506
|
+
"intent": {
|
|
7507
|
+
"syntax": "boolean",
|
|
7508
|
+
"exclusive": true,
|
|
7509
|
+
"cascades": false,
|
|
7510
|
+
"default": "accent",
|
|
7511
|
+
"values": [
|
|
7512
|
+
"success",
|
|
7513
|
+
"warning",
|
|
7514
|
+
"danger"
|
|
7515
|
+
],
|
|
7516
|
+
"description": "Color family for the fill stroke. Default uses the accent color.\n"
|
|
7517
|
+
}
|
|
7518
|
+
},
|
|
7519
|
+
"attributes": {
|
|
7520
|
+
"value": {
|
|
7521
|
+
"syntax": "key-value",
|
|
7522
|
+
"type": "string",
|
|
7523
|
+
"default": "0",
|
|
7524
|
+
"description": "Progress percentage (0-100). Clamped by JS and set as --aui-progress-circle-value for the CSS stroke-dasharray calculation.\n"
|
|
5617
7525
|
},
|
|
5618
|
-
"
|
|
5619
|
-
"
|
|
5620
|
-
"
|
|
7526
|
+
"label": {
|
|
7527
|
+
"syntax": "key-value",
|
|
7528
|
+
"type": "string",
|
|
7529
|
+
"default": "",
|
|
7530
|
+
"description": "Center text displayed over the ring (e.g. \"75%\").\n"
|
|
5621
7531
|
}
|
|
5622
7532
|
},
|
|
5623
|
-
"
|
|
5624
|
-
"
|
|
7533
|
+
"content": {
|
|
7534
|
+
"model": "empty",
|
|
7535
|
+
"accepts": [],
|
|
7536
|
+
"required": false,
|
|
7537
|
+
"description": "No child content. The SVG ring and label are stamped by JS.\n"
|
|
5625
7538
|
},
|
|
7539
|
+
"tokens": [
|
|
7540
|
+
{
|
|
7541
|
+
"name": "--aui-progress-circle-value",
|
|
7542
|
+
"default": "0",
|
|
7543
|
+
"description": "Fill percentage set by JS. Drives stroke-dasharray."
|
|
7544
|
+
}
|
|
7545
|
+
],
|
|
5626
7546
|
"a11y": {
|
|
5627
|
-
"role": "
|
|
5628
|
-
"
|
|
5629
|
-
"
|
|
5630
|
-
"
|
|
5631
|
-
"
|
|
5632
|
-
"Escape": "Close command palette (delegated to aui-dialog native behavior)."
|
|
7547
|
+
"role": "progressbar",
|
|
7548
|
+
"aria": {
|
|
7549
|
+
"aria-valuenow": "Set from value attribute.",
|
|
7550
|
+
"aria-valuemin": "0",
|
|
7551
|
+
"aria-valuemax": "100"
|
|
5633
7552
|
}
|
|
5634
7553
|
},
|
|
5635
|
-
"
|
|
5636
|
-
"
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
"
|
|
5641
|
-
|
|
5642
|
-
],
|
|
5643
|
-
"context": "Place as the sole child of <body> for a full-screen preview experience. The component manages its own layout (position: fixed, inset: 0) and stamps all internal structure on activation.\n"
|
|
5644
|
-
},
|
|
5645
|
-
"tokens": {
|
|
5646
|
-
"color": [
|
|
5647
|
-
"--aui-doc",
|
|
5648
|
-
"--aui-ink",
|
|
5649
|
-
"--aui-ink-muted",
|
|
5650
|
-
"--aui-ink-strong",
|
|
5651
|
-
"--aui-border-muted",
|
|
5652
|
-
"--aui-focus"
|
|
5653
|
-
],
|
|
5654
|
-
"typography": [
|
|
5655
|
-
"--aui-font-family",
|
|
5656
|
-
"--aui-font-size",
|
|
5657
|
-
"--aui-font-sm",
|
|
5658
|
-
"--aui-font-weight-semibold"
|
|
5659
|
-
]
|
|
5660
|
-
},
|
|
7554
|
+
"use-cases": [
|
|
7555
|
+
"Usage/billing panels (storage, API quota rings).",
|
|
7556
|
+
"Dashboard KPI cards with circular metrics.",
|
|
7557
|
+
"Upload progress indicators.",
|
|
7558
|
+
"Profile completion rings.",
|
|
7559
|
+
"Plan limit indicators."
|
|
7560
|
+
],
|
|
5661
7561
|
"examples": [
|
|
5662
7562
|
{
|
|
5663
|
-
"html": "<aui-
|
|
5664
|
-
"description": "
|
|
7563
|
+
"html": "<aui-progress-circle value=\"75\"></aui-progress-circle>",
|
|
7564
|
+
"description": "Default progress circle at 75%."
|
|
5665
7565
|
},
|
|
5666
7566
|
{
|
|
5667
|
-
"html": "<aui-
|
|
5668
|
-
"description": "
|
|
7567
|
+
"html": "<aui-progress-circle value=\"75\" label=\"75%\"></aui-progress-circle>",
|
|
7568
|
+
"description": "Circle with center label."
|
|
7569
|
+
},
|
|
7570
|
+
{
|
|
7571
|
+
"html": "<aui-progress-circle value=\"90\" warning></aui-progress-circle>",
|
|
7572
|
+
"description": "Warning intent at 90%."
|
|
7573
|
+
},
|
|
7574
|
+
{
|
|
7575
|
+
"html": "<aui-progress-circle value=\"100\" success></aui-progress-circle>",
|
|
7576
|
+
"description": "Complete with success color."
|
|
7577
|
+
},
|
|
7578
|
+
{
|
|
7579
|
+
"html": "<aui-progress-circle value=\"60\" size=\"sm\"></aui-progress-circle>",
|
|
7580
|
+
"description": "Small size variant."
|
|
7581
|
+
},
|
|
7582
|
+
{
|
|
7583
|
+
"html": "<aui-progress-circle value=\"60\" size=\"lg\" label=\"60%\"></aui-progress-circle>",
|
|
7584
|
+
"description": "Large size with label."
|
|
5669
7585
|
}
|
|
5670
7586
|
]
|
|
5671
7587
|
},
|
|
@@ -6866,35 +8782,389 @@
|
|
|
6866
8782
|
"default": "var(--aui-ink-strong)",
|
|
6867
8783
|
"description": "Text color on header/footer nav item hover."
|
|
6868
8784
|
},
|
|
6869
|
-
{
|
|
6870
|
-
"name": "--aui-sidebar-header-nav-background-hover",
|
|
6871
|
-
"default": "var(--aui-action)",
|
|
6872
|
-
"description": "Background color on header/footer nav item hover."
|
|
8785
|
+
{
|
|
8786
|
+
"name": "--aui-sidebar-header-nav-background-hover",
|
|
8787
|
+
"default": "var(--aui-action)",
|
|
8788
|
+
"description": "Background color on header/footer nav item hover."
|
|
8789
|
+
},
|
|
8790
|
+
{
|
|
8791
|
+
"name": "--aui-sidebar-resize-handle-background",
|
|
8792
|
+
"default": "var(--aui-action-active)",
|
|
8793
|
+
"description": "Background color of the resize handle on hover/drag."
|
|
8794
|
+
},
|
|
8795
|
+
{
|
|
8796
|
+
"name": "--aui-sidebar-connector-color",
|
|
8797
|
+
"default": "var(--aui-border)",
|
|
8798
|
+
"description": "Color of the vertical connector line on open nav groups."
|
|
8799
|
+
},
|
|
8800
|
+
{
|
|
8801
|
+
"name": "--aui-sidebar-indicator-color",
|
|
8802
|
+
"default": "var(--aui-focus)",
|
|
8803
|
+
"description": "Color of the sliding active indicator bar."
|
|
8804
|
+
}
|
|
8805
|
+
],
|
|
8806
|
+
"examples": [
|
|
8807
|
+
{
|
|
8808
|
+
"html": "<aui-sidebar width=\"260\" collapsible>\n <aui-sidebar-header>\n <aui-nav-item label=\"Workspace\" icon=\"grid\"></aui-nav-item>\n </aui-sidebar-header>\n <aui-sidebar-content>\n <aui-nav-item label=\"Dashboard\" icon=\"home\"></aui-nav-item>\n <aui-nav-item label=\"Settings\" icon=\"settings\"></aui-nav-item>\n </aui-sidebar-content>\n <aui-sidebar-footer>\n <aui-nav-item label=\"Account\" icon=\"user\"></aui-nav-item>\n </aui-sidebar-footer>\n</aui-sidebar>\n",
|
|
8809
|
+
"description": "Collapsible sidebar with header, scrollable content, and footer.\n"
|
|
8810
|
+
},
|
|
8811
|
+
{
|
|
8812
|
+
"html": "<aui-sidebar side=\"right\" width=\"300\">\n <aui-sidebar-content>\n <aui-nav-item label=\"Inspector\" icon=\"sliders\"></aui-nav-item>\n <aui-nav-item label=\"Properties\" icon=\"list\"></aui-nav-item>\n </aui-sidebar-content>\n</aui-sidebar>\n",
|
|
8813
|
+
"description": "Right-side sidebar for detail panels or inspectors."
|
|
8814
|
+
}
|
|
8815
|
+
]
|
|
8816
|
+
},
|
|
8817
|
+
{
|
|
8818
|
+
"name": "aui-skeleton",
|
|
8819
|
+
"tag": "aui-skeleton",
|
|
8820
|
+
"type": "component",
|
|
8821
|
+
"summary": "Loading placeholder with shimmer animation.",
|
|
8822
|
+
"description": "Animated placeholder element for content that has not yet loaded. Uses a gradient shimmer animation. Shape variants for text lines, circles, and rectangles. Width and height set via inline style bridging to CSS custom properties.\n",
|
|
8823
|
+
"base": "AgentElement",
|
|
8824
|
+
"presentational": {
|
|
8825
|
+
"size": {
|
|
8826
|
+
"syntax": "key-value",
|
|
8827
|
+
"attribute": "size",
|
|
8828
|
+
"cascades": false,
|
|
8829
|
+
"default": "md",
|
|
8830
|
+
"values": [
|
|
8831
|
+
"xs",
|
|
8832
|
+
"sm",
|
|
8833
|
+
"md",
|
|
8834
|
+
"lg"
|
|
8835
|
+
],
|
|
8836
|
+
"description": "Controls placeholder height. xs=0.5rem, sm=0.75rem, md=1rem, lg=1.5rem."
|
|
8837
|
+
},
|
|
8838
|
+
"type": {
|
|
8839
|
+
"syntax": "key-value",
|
|
8840
|
+
"attribute": "type",
|
|
8841
|
+
"cascades": false,
|
|
8842
|
+
"default": "text",
|
|
8843
|
+
"values": [
|
|
8844
|
+
"text",
|
|
8845
|
+
"circle",
|
|
8846
|
+
"rect"
|
|
8847
|
+
],
|
|
8848
|
+
"description": "Shape variant — text line, avatar circle, or image rectangle."
|
|
8849
|
+
}
|
|
8850
|
+
},
|
|
8851
|
+
"modifiers": {
|
|
8852
|
+
"round": {
|
|
8853
|
+
"syntax": "boolean",
|
|
8854
|
+
"description": "Fully rounded corners (pill shape). Applies radius-full regardless of type.\n"
|
|
8855
|
+
}
|
|
8856
|
+
},
|
|
8857
|
+
"content": {
|
|
8858
|
+
"model": "empty",
|
|
8859
|
+
"accepts": [],
|
|
8860
|
+
"required": false,
|
|
8861
|
+
"description": "No content — skeleton is a visual placeholder only.\n"
|
|
8862
|
+
},
|
|
8863
|
+
"slots": {},
|
|
8864
|
+
"tokens": {
|
|
8865
|
+
"sizing": [
|
|
8866
|
+
"--aui-skeleton-width",
|
|
8867
|
+
"--aui-skeleton-height"
|
|
8868
|
+
],
|
|
8869
|
+
"color": [
|
|
8870
|
+
"--aui-skeleton-base",
|
|
8871
|
+
"--aui-skeleton-highlight"
|
|
8872
|
+
],
|
|
8873
|
+
"shape": [
|
|
8874
|
+
"--aui-skeleton-radius"
|
|
8875
|
+
]
|
|
8876
|
+
},
|
|
8877
|
+
"examples": [
|
|
8878
|
+
{
|
|
8879
|
+
"html": "<aui-skeleton></aui-skeleton>",
|
|
8880
|
+
"description": "Default text line placeholder."
|
|
8881
|
+
},
|
|
8882
|
+
{
|
|
8883
|
+
"html": "<aui-skeleton type=\"circle\"></aui-skeleton>",
|
|
8884
|
+
"description": "Circle placeholder for avatars."
|
|
8885
|
+
},
|
|
8886
|
+
{
|
|
8887
|
+
"html": "<aui-stack gap=\"2\">\n <aui-skeleton></aui-skeleton>\n <aui-skeleton style=\"--aui-skeleton-width: 80%\"></aui-skeleton>\n <aui-skeleton style=\"--aui-skeleton-width: 60%\"></aui-skeleton>\n</aui-stack>\n",
|
|
8888
|
+
"description": "Multiple text lines with decreasing widths."
|
|
8889
|
+
}
|
|
8890
|
+
]
|
|
8891
|
+
},
|
|
8892
|
+
{
|
|
8893
|
+
"name": "aui-sparkline",
|
|
8894
|
+
"tag": "aui-sparkline",
|
|
8895
|
+
"type": "component",
|
|
8896
|
+
"summary": "Inline bar sparkline with configurable highlight and color.",
|
|
8897
|
+
"description": "A compact bar chart rendered as a row of flex-aligned divs. Values are passed as a comma-separated string and normalized against the maximum. Each bar is stamped by JS with a percentage height and chart color. The highlight attribute controls which bar is shown at full opacity — \"last\" (default), \"max\", or \"none\".\n",
|
|
8898
|
+
"base": "AgentElement",
|
|
8899
|
+
"attributes": {
|
|
8900
|
+
"values": {
|
|
8901
|
+
"syntax": "key-value",
|
|
8902
|
+
"type": "string",
|
|
8903
|
+
"default": "",
|
|
8904
|
+
"description": "Comma-separated numeric values. Each value becomes one bar whose height is proportional to the maximum value.\n"
|
|
8905
|
+
},
|
|
8906
|
+
"color": {
|
|
8907
|
+
"syntax": "key-value",
|
|
8908
|
+
"type": "string",
|
|
8909
|
+
"default": "1",
|
|
8910
|
+
"description": "Chart color index (1–8). Maps to --aui-chart-{n} token.\n"
|
|
8911
|
+
},
|
|
8912
|
+
"highlight": {
|
|
8913
|
+
"syntax": "key-value",
|
|
8914
|
+
"type": "string",
|
|
8915
|
+
"default": "last",
|
|
8916
|
+
"values": [
|
|
8917
|
+
"last",
|
|
8918
|
+
"max",
|
|
8919
|
+
"none"
|
|
8920
|
+
],
|
|
8921
|
+
"description": "Which bar to render at full opacity. \"last\" highlights the final bar, \"max\" highlights the tallest bar, \"none\" shows all bars at full opacity.\n"
|
|
8922
|
+
}
|
|
8923
|
+
},
|
|
8924
|
+
"content": {
|
|
8925
|
+
"model": "empty",
|
|
8926
|
+
"accepts": [],
|
|
8927
|
+
"required": false,
|
|
8928
|
+
"description": "No child content. Bars are stamped by JS from the values attribute.\n"
|
|
8929
|
+
},
|
|
8930
|
+
"tokens": [
|
|
8931
|
+
{
|
|
8932
|
+
"name": "--aui-sparkline-height",
|
|
8933
|
+
"default": "2rem",
|
|
8934
|
+
"description": "Overall height of the sparkline container."
|
|
8935
|
+
},
|
|
8936
|
+
{
|
|
8937
|
+
"name": "--aui-sparkline-gap",
|
|
8938
|
+
"default": "calc(var(--aui-space) * 1)",
|
|
8939
|
+
"description": "Gap between adjacent bars."
|
|
8940
|
+
},
|
|
8941
|
+
{
|
|
8942
|
+
"name": "--aui-sparkline-bar-radius",
|
|
8943
|
+
"default": "var(--aui-radius)",
|
|
8944
|
+
"description": "Corner radius of each bar."
|
|
8945
|
+
}
|
|
8946
|
+
],
|
|
8947
|
+
"a11y": {
|
|
8948
|
+
"role": "img",
|
|
8949
|
+
"aria": {
|
|
8950
|
+
"aria-label": "Derived from values attribute for screen readers."
|
|
8951
|
+
}
|
|
8952
|
+
},
|
|
8953
|
+
"use-cases": [
|
|
8954
|
+
"Inline trend indicator in table cells.",
|
|
8955
|
+
"Dashboard metric sparkline beside a stat card.",
|
|
8956
|
+
"Activity or usage micro-chart."
|
|
8957
|
+
],
|
|
8958
|
+
"examples": [
|
|
8959
|
+
{
|
|
8960
|
+
"html": "<aui-sparkline values=\"40,55,35,70,60,80,95\"></aui-sparkline>",
|
|
8961
|
+
"description": "Default sparkline with last bar highlighted."
|
|
8962
|
+
},
|
|
8963
|
+
{
|
|
8964
|
+
"html": "<aui-sparkline values=\"60,45,55,50,70,65,85\" highlight=\"max\" color=\"2\"></aui-sparkline>",
|
|
8965
|
+
"description": "Sparkline with max bar highlighted, color 2."
|
|
8966
|
+
},
|
|
8967
|
+
{
|
|
8968
|
+
"html": "<aui-sparkline values=\"30,50,40,60,55,45,50\" highlight=\"none\" color=\"3\"></aui-sparkline>",
|
|
8969
|
+
"description": "All bars at full opacity, color 3."
|
|
8970
|
+
}
|
|
8971
|
+
]
|
|
8972
|
+
},
|
|
8973
|
+
{
|
|
8974
|
+
"name": "aui-spinner",
|
|
8975
|
+
"tag": "aui-spinner",
|
|
8976
|
+
"type": "component",
|
|
8977
|
+
"summary": "Animated loading indicator.",
|
|
8978
|
+
"description": "CSS-only spinning ring indicator for inline and block-level loading states. Border-based animation with configurable size and intent coloring. Uses currentColor by default so it inherits text color from its parent.\n",
|
|
8979
|
+
"base": "AgentElement",
|
|
8980
|
+
"presentational": {
|
|
8981
|
+
"size": {
|
|
8982
|
+
"syntax": "key-value",
|
|
8983
|
+
"attribute": "size",
|
|
8984
|
+
"cascades": false,
|
|
8985
|
+
"default": "md",
|
|
8986
|
+
"values": [
|
|
8987
|
+
"xs",
|
|
8988
|
+
"sm",
|
|
8989
|
+
"md",
|
|
8990
|
+
"lg"
|
|
8991
|
+
],
|
|
8992
|
+
"description": "Diameter of the spinner ring. xs=1rem, sm=1.25rem, md=1.5rem, lg=2rem."
|
|
8993
|
+
},
|
|
8994
|
+
"intent": {
|
|
8995
|
+
"syntax": "boolean",
|
|
8996
|
+
"exclusive": true,
|
|
8997
|
+
"cascades": false,
|
|
8998
|
+
"default": null,
|
|
8999
|
+
"values": [
|
|
9000
|
+
"accent",
|
|
9001
|
+
"success",
|
|
9002
|
+
"warning",
|
|
9003
|
+
"danger"
|
|
9004
|
+
],
|
|
9005
|
+
"description": "Color of the spinning ring segment."
|
|
9006
|
+
}
|
|
9007
|
+
},
|
|
9008
|
+
"content": {
|
|
9009
|
+
"model": "empty",
|
|
9010
|
+
"accepts": [],
|
|
9011
|
+
"required": false,
|
|
9012
|
+
"description": "No content — spinner is a visual indicator only.\n"
|
|
9013
|
+
},
|
|
9014
|
+
"slots": {},
|
|
9015
|
+
"tokens": {
|
|
9016
|
+
"sizing": [
|
|
9017
|
+
"--aui-spinner-size",
|
|
9018
|
+
"--aui-spinner-border-width"
|
|
9019
|
+
],
|
|
9020
|
+
"color": [
|
|
9021
|
+
"--aui-spinner-track",
|
|
9022
|
+
"--aui-spinner-fill"
|
|
9023
|
+
]
|
|
9024
|
+
},
|
|
9025
|
+
"examples": [
|
|
9026
|
+
{
|
|
9027
|
+
"html": "<aui-spinner></aui-spinner>",
|
|
9028
|
+
"description": "Default medium spinner."
|
|
9029
|
+
},
|
|
9030
|
+
{
|
|
9031
|
+
"html": "<aui-stack direction=\"row\" gap=\"3\" align-items=\"center\">\n <aui-spinner size=\"xs\"></aui-spinner>\n <aui-spinner size=\"sm\"></aui-spinner>\n <aui-spinner></aui-spinner>\n <aui-spinner size=\"lg\"></aui-spinner>\n</aui-stack>\n",
|
|
9032
|
+
"description": "All four sizes side by side."
|
|
9033
|
+
},
|
|
9034
|
+
{
|
|
9035
|
+
"html": "<aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-spinner size=\"xs\"></aui-spinner>\n <aui-text size=\"sm\">Loading...</aui-text>\n</aui-stack>\n",
|
|
9036
|
+
"description": "Inline spinner with loading text."
|
|
9037
|
+
}
|
|
9038
|
+
]
|
|
9039
|
+
},
|
|
9040
|
+
{
|
|
9041
|
+
"name": "aui-step",
|
|
9042
|
+
"tag": "aui-step",
|
|
9043
|
+
"type": "component",
|
|
9044
|
+
"summary": "Individual step within a stepper, with state-driven connector colors.",
|
|
9045
|
+
"description": "A single step inside an aui-stepper. Renders as a flex row with a connector line drawn via ::before to the next sibling. State attributes control the connector color.\n",
|
|
9046
|
+
"base": "AgentElement",
|
|
9047
|
+
"modifiers": {
|
|
9048
|
+
"completed": {
|
|
9049
|
+
"syntax": "boolean",
|
|
9050
|
+
"description": "Step is completed. Colors the connector green (success).\n"
|
|
9051
|
+
},
|
|
9052
|
+
"active": {
|
|
9053
|
+
"syntax": "boolean",
|
|
9054
|
+
"description": "Step is currently active. Colors the connector with accent.\n"
|
|
6873
9055
|
},
|
|
9056
|
+
"error": {
|
|
9057
|
+
"syntax": "boolean",
|
|
9058
|
+
"description": "Step has an error. Colors the connector red (danger).\n"
|
|
9059
|
+
}
|
|
9060
|
+
},
|
|
9061
|
+
"attributes": {
|
|
9062
|
+
"state": {
|
|
9063
|
+
"syntax": "key-value",
|
|
9064
|
+
"type": "enum",
|
|
9065
|
+
"values": [
|
|
9066
|
+
"done",
|
|
9067
|
+
"running"
|
|
9068
|
+
],
|
|
9069
|
+
"default": null,
|
|
9070
|
+
"description": "Legacy step state. \"done\" maps to completed, \"running\" maps to active.\n"
|
|
9071
|
+
}
|
|
9072
|
+
},
|
|
9073
|
+
"content": {
|
|
9074
|
+
"model": "block",
|
|
9075
|
+
"accepts": [
|
|
9076
|
+
"aui-badge",
|
|
9077
|
+
"aui-icon",
|
|
9078
|
+
"aui-text",
|
|
9079
|
+
"aui-heading",
|
|
9080
|
+
"aui-stack"
|
|
9081
|
+
],
|
|
9082
|
+
"required": true,
|
|
9083
|
+
"description": "Step content. Typically starts with a visual indicator (badge or icon) followed by a label or description.\n"
|
|
9084
|
+
},
|
|
9085
|
+
"slots": {
|
|
9086
|
+
"default": {
|
|
9087
|
+
"accepts": [
|
|
9088
|
+
"aui-badge",
|
|
9089
|
+
"aui-icon",
|
|
9090
|
+
"aui-text",
|
|
9091
|
+
"aui-heading",
|
|
9092
|
+
"aui-stack"
|
|
9093
|
+
],
|
|
9094
|
+
"required": true,
|
|
9095
|
+
"description": "Step indicator and content."
|
|
9096
|
+
}
|
|
9097
|
+
},
|
|
9098
|
+
"tokens": {
|
|
9099
|
+
"sizing": [
|
|
9100
|
+
"--aui-step-gap",
|
|
9101
|
+
"--aui-step-connector-width",
|
|
9102
|
+
"--aui-step-connector-offset"
|
|
9103
|
+
],
|
|
9104
|
+
"color": [
|
|
9105
|
+
"--aui-step-connector-color"
|
|
9106
|
+
]
|
|
9107
|
+
},
|
|
9108
|
+
"examples": [
|
|
6874
9109
|
{
|
|
6875
|
-
"
|
|
6876
|
-
"
|
|
6877
|
-
"description": "Background color of the resize handle on hover/drag."
|
|
9110
|
+
"html": "<aui-step completed>\n <aui-badge success>1</aui-badge>\n <aui-text>Account created</aui-text>\n</aui-step>\n",
|
|
9111
|
+
"description": "Completed step with success badge."
|
|
6878
9112
|
},
|
|
6879
9113
|
{
|
|
6880
|
-
"
|
|
6881
|
-
"
|
|
6882
|
-
"description": "Color of the vertical connector line on open nav groups."
|
|
9114
|
+
"html": "<aui-step active>\n <aui-badge accent>2</aui-badge>\n <aui-text>In progress</aui-text>\n</aui-step>\n",
|
|
9115
|
+
"description": "Active step with accent badge."
|
|
6883
9116
|
},
|
|
6884
9117
|
{
|
|
6885
|
-
"
|
|
6886
|
-
"
|
|
6887
|
-
"description": "Color of the sliding active indicator bar."
|
|
9118
|
+
"html": "<aui-step>\n <aui-badge>3</aui-badge>\n <aui-text>Pending</aui-text>\n</aui-step>\n",
|
|
9119
|
+
"description": "Pending step with neutral badge."
|
|
6888
9120
|
}
|
|
6889
|
-
]
|
|
9121
|
+
]
|
|
9122
|
+
},
|
|
9123
|
+
{
|
|
9124
|
+
"name": "aui-stepper",
|
|
9125
|
+
"tag": "aui-stepper",
|
|
9126
|
+
"type": "component",
|
|
9127
|
+
"summary": "Multi-step progress container with connector lines.",
|
|
9128
|
+
"description": "Vertical step sequence container. Each child aui-step draws a connector line to the next step. CSS-only element with no JS behavior beyond extending AgentElement.\n",
|
|
9129
|
+
"base": "AgentElement",
|
|
9130
|
+
"content": {
|
|
9131
|
+
"model": "block",
|
|
9132
|
+
"accepts": [
|
|
9133
|
+
"aui-step"
|
|
9134
|
+
],
|
|
9135
|
+
"required": true,
|
|
9136
|
+
"description": "Contains one or more aui-step children. Each step draws a connector line to the next sibling.\n"
|
|
9137
|
+
},
|
|
9138
|
+
"slots": {
|
|
9139
|
+
"default": {
|
|
9140
|
+
"accepts": [
|
|
9141
|
+
"aui-step"
|
|
9142
|
+
],
|
|
9143
|
+
"required": true,
|
|
9144
|
+
"description": "Step children."
|
|
9145
|
+
}
|
|
9146
|
+
},
|
|
9147
|
+
"tokens": {
|
|
9148
|
+
"sizing": [
|
|
9149
|
+
"--aui-stepper-gap",
|
|
9150
|
+
"--aui-stepper-connector-width"
|
|
9151
|
+
],
|
|
9152
|
+
"color": [
|
|
9153
|
+
"--aui-stepper-connector-color"
|
|
9154
|
+
]
|
|
9155
|
+
},
|
|
6890
9156
|
"examples": [
|
|
6891
9157
|
{
|
|
6892
|
-
"html": "<aui-
|
|
6893
|
-
"description": "
|
|
9158
|
+
"html": "<aui-stepper>\n <aui-step state=\"done\">\n <aui-badge success>1</aui-badge>\n <aui-text>Account created</aui-text>\n </aui-step>\n <aui-step state=\"running\">\n <aui-badge accent>2</aui-badge>\n <aui-text>Profile setup</aui-text>\n </aui-step>\n <aui-step>\n <aui-badge>3</aui-badge>\n <aui-text>Complete</aui-text>\n </aui-step>\n</aui-stepper>\n",
|
|
9159
|
+
"description": "Vertical stepper with done, running, and pending steps."
|
|
6894
9160
|
},
|
|
6895
9161
|
{
|
|
6896
|
-
"html": "<aui-
|
|
6897
|
-
"description": "
|
|
9162
|
+
"html": "<aui-stepper>\n <aui-step completed>\n <aui-badge success>1</aui-badge>\n <aui-text>Order placed</aui-text>\n </aui-step>\n <aui-step completed>\n <aui-badge success>2</aui-badge>\n <aui-text>Payment confirmed</aui-text>\n </aui-step>\n <aui-step active>\n <aui-badge accent>3</aui-badge>\n <aui-text>Shipping</aui-text>\n </aui-step>\n</aui-stepper>\n",
|
|
9163
|
+
"description": "Stepper with completed and active steps."
|
|
9164
|
+
},
|
|
9165
|
+
{
|
|
9166
|
+
"html": "<aui-stepper>\n <aui-step completed>\n <aui-badge success>1</aui-badge>\n <aui-text>Build</aui-text>\n </aui-step>\n <aui-step error>\n <aui-badge danger>2</aui-badge>\n <aui-text>Deploy</aui-text>\n </aui-step>\n <aui-step>\n <aui-badge>3</aui-badge>\n <aui-text>Verify</aui-text>\n </aui-step>\n</aui-stepper>\n",
|
|
9167
|
+
"description": "Stepper with an error state step."
|
|
6898
9168
|
}
|
|
6899
9169
|
]
|
|
6900
9170
|
},
|
|
@@ -7827,6 +10097,77 @@
|
|
|
7827
10097
|
}
|
|
7828
10098
|
]
|
|
7829
10099
|
},
|
|
10100
|
+
{
|
|
10101
|
+
"name": "aui-tag-group",
|
|
10102
|
+
"tag": "aui-tag-group",
|
|
10103
|
+
"type": "component",
|
|
10104
|
+
"summary": "Keyboard-navigable container for aui-chip elements with focus management.",
|
|
10105
|
+
"description": "Groups aui-chip children with arrow-key navigation between them. Roving tabindex moves focus with Left/Right/Home/End keys. Delete/Backspace on a removable chip removes it and shifts focus to the nearest neighbor. Optional max attribute limits the number of tags allowed.\n",
|
|
10106
|
+
"base": "AgentElement",
|
|
10107
|
+
"attributes": {
|
|
10108
|
+
"label": {
|
|
10109
|
+
"syntax": "key-value",
|
|
10110
|
+
"type": "string",
|
|
10111
|
+
"default": "",
|
|
10112
|
+
"description": "Accessible label for the group. Set as aria-label.\n"
|
|
10113
|
+
},
|
|
10114
|
+
"max": {
|
|
10115
|
+
"syntax": "key-value",
|
|
10116
|
+
"type": "string",
|
|
10117
|
+
"default": "",
|
|
10118
|
+
"description": "Maximum number of tags allowed. Use the atMax property to check if the limit is reached.\n"
|
|
10119
|
+
}
|
|
10120
|
+
},
|
|
10121
|
+
"content": {
|
|
10122
|
+
"model": "block",
|
|
10123
|
+
"accepts": [
|
|
10124
|
+
"aui-chip"
|
|
10125
|
+
],
|
|
10126
|
+
"required": true,
|
|
10127
|
+
"description": "One or more aui-chip children. The group provides keyboard navigation and focus management across them.\n"
|
|
10128
|
+
},
|
|
10129
|
+
"events": [
|
|
10130
|
+
{
|
|
10131
|
+
"name": "remove",
|
|
10132
|
+
"detail": "{ value: string, chip: HTMLElement }",
|
|
10133
|
+
"description": "Bubbles from child chip when removed."
|
|
10134
|
+
}
|
|
10135
|
+
],
|
|
10136
|
+
"composition": {
|
|
10137
|
+
"parents": [
|
|
10138
|
+
"aui-stack",
|
|
10139
|
+
"aui-content",
|
|
10140
|
+
"aui-inset",
|
|
10141
|
+
"div",
|
|
10142
|
+
"form"
|
|
10143
|
+
],
|
|
10144
|
+
"children": [
|
|
10145
|
+
"aui-chip"
|
|
10146
|
+
],
|
|
10147
|
+
"context": "Inline or block-level element. Use inside forms, filter bars, or tag input fields. Wraps chips in a flex-wrap layout.\n"
|
|
10148
|
+
},
|
|
10149
|
+
"examples": [
|
|
10150
|
+
{
|
|
10151
|
+
"html": "<aui-tag-group label=\"Skills\">\n <aui-chip removable>React</aui-chip>\n <aui-chip removable>Vue</aui-chip>\n <aui-chip removable>TypeScript</aui-chip>\n</aui-tag-group>\n",
|
|
10152
|
+
"description": "Basic tag group with removable chips."
|
|
10153
|
+
},
|
|
10154
|
+
{
|
|
10155
|
+
"html": "<aui-tag-group label=\"Tags\" max=\"5\">\n <aui-chip removable>Design</aui-chip>\n <aui-chip removable>Frontend</aui-chip>\n</aui-tag-group>\n",
|
|
10156
|
+
"description": "Tag group with max limit."
|
|
10157
|
+
},
|
|
10158
|
+
{
|
|
10159
|
+
"html": "<aui-tag-group label=\"Categories\">\n <aui-chip>Open Source</aui-chip>\n <aui-chip>MIT License</aui-chip>\n</aui-tag-group>\n",
|
|
10160
|
+
"description": "Read-only tag group (no removable chips)."
|
|
10161
|
+
}
|
|
10162
|
+
],
|
|
10163
|
+
"use-cases": [
|
|
10164
|
+
"Tag input fields (skills, interests, labels).",
|
|
10165
|
+
"Filter bars with removable filter chips.",
|
|
10166
|
+
"Multi-select displays.",
|
|
10167
|
+
"Email recipient lists (To field chips).",
|
|
10168
|
+
"Category / label management."
|
|
10169
|
+
]
|
|
10170
|
+
},
|
|
7830
10171
|
{
|
|
7831
10172
|
"name": "aui-textarea",
|
|
7832
10173
|
"tag": "aui-textarea",
|
|
@@ -8119,6 +10460,151 @@
|
|
|
8119
10460
|
}
|
|
8120
10461
|
]
|
|
8121
10462
|
},
|
|
10463
|
+
{
|
|
10464
|
+
"name": "aui-time-field",
|
|
10465
|
+
"tag": "aui-time-field",
|
|
10466
|
+
"type": "component",
|
|
10467
|
+
"summary": "Segmented time input with independently editable hour and minute segments.",
|
|
10468
|
+
"description": "A time entry control where hour and minute (and optional AM/PM) are separate focusable segments. Each segment supports arrow-key increment/decrement, direct digit entry with auto-advance, and Tab/Arrow navigation between segments. Supports 12h and 24h formats with configurable minute step. No native form elements.\n",
|
|
10469
|
+
"base": "AgentElement",
|
|
10470
|
+
"attributes": {
|
|
10471
|
+
"value": {
|
|
10472
|
+
"syntax": "key-value",
|
|
10473
|
+
"type": "string",
|
|
10474
|
+
"default": "",
|
|
10475
|
+
"description": "Time value in HH:MM (24h) format."
|
|
10476
|
+
},
|
|
10477
|
+
"min": {
|
|
10478
|
+
"syntax": "key-value",
|
|
10479
|
+
"type": "string",
|
|
10480
|
+
"default": "",
|
|
10481
|
+
"description": "Earliest allowed time (HH:MM)."
|
|
10482
|
+
},
|
|
10483
|
+
"max": {
|
|
10484
|
+
"syntax": "key-value",
|
|
10485
|
+
"type": "string",
|
|
10486
|
+
"default": "",
|
|
10487
|
+
"description": "Latest allowed time (HH:MM)."
|
|
10488
|
+
},
|
|
10489
|
+
"step": {
|
|
10490
|
+
"syntax": "key-value",
|
|
10491
|
+
"type": "string",
|
|
10492
|
+
"default": "1",
|
|
10493
|
+
"description": "Minute increment for arrow key navigation."
|
|
10494
|
+
},
|
|
10495
|
+
"format": {
|
|
10496
|
+
"syntax": "key-value",
|
|
10497
|
+
"type": "string",
|
|
10498
|
+
"default": "24h",
|
|
10499
|
+
"description": "Display format (12h or 24h)."
|
|
10500
|
+
},
|
|
10501
|
+
"placeholder": {
|
|
10502
|
+
"syntax": "key-value",
|
|
10503
|
+
"type": "string",
|
|
10504
|
+
"default": "",
|
|
10505
|
+
"description": "Placeholder shown in empty segments."
|
|
10506
|
+
},
|
|
10507
|
+
"disabled": {
|
|
10508
|
+
"syntax": "boolean",
|
|
10509
|
+
"type": "boolean",
|
|
10510
|
+
"default": false,
|
|
10511
|
+
"description": "Prevents interaction. Dims visually."
|
|
10512
|
+
}
|
|
10513
|
+
},
|
|
10514
|
+
"a11y": {
|
|
10515
|
+
"role": "spinbutton (on each segment)",
|
|
10516
|
+
"keyboard": {
|
|
10517
|
+
"ArrowUp": "Increment focused segment.",
|
|
10518
|
+
"ArrowDown": "Decrement focused segment.",
|
|
10519
|
+
"ArrowLeft": "Move to previous segment.",
|
|
10520
|
+
"ArrowRight": "Move to next segment.",
|
|
10521
|
+
"Tab": "Move between segments.",
|
|
10522
|
+
"0-9": "Digit entry with auto-advance.",
|
|
10523
|
+
"Backspace": "Clear segment.",
|
|
10524
|
+
"a/p": "Toggle AM/PM (12h format)."
|
|
10525
|
+
},
|
|
10526
|
+
"aria": {
|
|
10527
|
+
"aria-label": "Segment name (Hour, Minute, AM/PM).",
|
|
10528
|
+
"aria-valuemin": "Segment minimum.",
|
|
10529
|
+
"aria-valuemax": "Segment maximum."
|
|
10530
|
+
}
|
|
10531
|
+
},
|
|
10532
|
+
"tokens": [
|
|
10533
|
+
{
|
|
10534
|
+
"name": "--aui-time-field-background",
|
|
10535
|
+
"default": "var(--aui-control, var(--aui-fill))",
|
|
10536
|
+
"description": "Field background."
|
|
10537
|
+
},
|
|
10538
|
+
{
|
|
10539
|
+
"name": "--aui-time-field-border",
|
|
10540
|
+
"default": "var(--aui-stroke)",
|
|
10541
|
+
"description": "Field border color."
|
|
10542
|
+
},
|
|
10543
|
+
{
|
|
10544
|
+
"name": "--aui-time-field-border-radius",
|
|
10545
|
+
"default": "var(--aui-radius)",
|
|
10546
|
+
"description": "Field corner radius."
|
|
10547
|
+
},
|
|
10548
|
+
{
|
|
10549
|
+
"name": "--aui-time-field-border-hover",
|
|
10550
|
+
"default": "var(--aui-stroke-hover)",
|
|
10551
|
+
"description": "Border on hover."
|
|
10552
|
+
},
|
|
10553
|
+
{
|
|
10554
|
+
"name": "--aui-time-field-border-focus",
|
|
10555
|
+
"default": "var(--aui-focus)",
|
|
10556
|
+
"description": "Border when focused."
|
|
10557
|
+
},
|
|
10558
|
+
{
|
|
10559
|
+
"name": "--aui-time-field-font-size",
|
|
10560
|
+
"default": "var(--aui-font-sm)",
|
|
10561
|
+
"description": "Text size."
|
|
10562
|
+
},
|
|
10563
|
+
{
|
|
10564
|
+
"name": "--aui-time-field-color",
|
|
10565
|
+
"default": "var(--aui-ink)",
|
|
10566
|
+
"description": "Text color."
|
|
10567
|
+
},
|
|
10568
|
+
{
|
|
10569
|
+
"name": "--aui-time-field-segment-bg-focus",
|
|
10570
|
+
"default": "var(--aui-accent-100)",
|
|
10571
|
+
"description": "Focused segment background."
|
|
10572
|
+
},
|
|
10573
|
+
{
|
|
10574
|
+
"name": "--aui-time-field-segment-color-focus",
|
|
10575
|
+
"default": "var(--aui-accent-700)",
|
|
10576
|
+
"description": "Focused segment text color."
|
|
10577
|
+
}
|
|
10578
|
+
],
|
|
10579
|
+
"composition": {
|
|
10580
|
+
"parents": [
|
|
10581
|
+
"aui-field",
|
|
10582
|
+
"aui-stack",
|
|
10583
|
+
"aui-container",
|
|
10584
|
+
"div"
|
|
10585
|
+
],
|
|
10586
|
+
"children": [],
|
|
10587
|
+
"context": "Standalone time entry. Use inside aui-field for labeled forms. Not an aui-input variant -- separate segmented control.\n"
|
|
10588
|
+
},
|
|
10589
|
+
"examples": [
|
|
10590
|
+
{
|
|
10591
|
+
"html": "<aui-time-field value=\"14:30\"></aui-time-field>",
|
|
10592
|
+
"description": "24h time field."
|
|
10593
|
+
},
|
|
10594
|
+
{
|
|
10595
|
+
"html": "<aui-time-field value=\"02:30\" format=\"12h\"></aui-time-field>",
|
|
10596
|
+
"description": "12h format with AM/PM."
|
|
10597
|
+
},
|
|
10598
|
+
{
|
|
10599
|
+
"html": "<aui-time-field value=\"09:00\" step=\"15\"></aui-time-field>",
|
|
10600
|
+
"description": "15-minute increments."
|
|
10601
|
+
},
|
|
10602
|
+
{
|
|
10603
|
+
"html": "<aui-time-field value=\"14:30\" disabled></aui-time-field>",
|
|
10604
|
+
"description": "Disabled time field."
|
|
10605
|
+
}
|
|
10606
|
+
]
|
|
10607
|
+
},
|
|
8122
10608
|
{
|
|
8123
10609
|
"name": "aui-toast",
|
|
8124
10610
|
"tag": "aui-toast",
|
|
@@ -10943,7 +13429,7 @@
|
|
|
10943
13429
|
"name": "chart-interactive",
|
|
10944
13430
|
"type": "block",
|
|
10945
13431
|
"summary": "Wide chart card with stat summaries and dense bar visualization.",
|
|
10946
|
-
"description": "A dashboard hero chart card. Header shows the title on the left with stat summaries (Desktop, Mobile) trailing on the right. Content is a dense 12-bar visualization. Footer shows the date range. Designed for full-width dashboard positions.\n",
|
|
13432
|
+
"description": "A dashboard hero chart card. Header shows the title on the left with aui-stat summaries (Desktop, Mobile) trailing on the right. Content is a dense 12-bar visualization. Footer shows the date range. Designed for full-width dashboard positions.\n",
|
|
10947
13433
|
"components": [
|
|
10948
13434
|
"aui-container",
|
|
10949
13435
|
"aui-header",
|
|
@@ -10953,12 +13439,13 @@
|
|
|
10953
13439
|
"aui-stack",
|
|
10954
13440
|
"aui-heading",
|
|
10955
13441
|
"aui-text",
|
|
13442
|
+
"aui-stat",
|
|
10956
13443
|
"aui-bar"
|
|
10957
13444
|
],
|
|
10958
13445
|
"kind": "card",
|
|
10959
13446
|
"examples": [
|
|
10960
13447
|
{
|
|
10961
|
-
"html": "<aui-container kind=\"card\" bordered>\n <aui-header>\n <span slot=\"leading\">\n <aui-stack gap=\"1\">\n <aui-heading size=\"lg\">Total Visitors</aui-heading>\n <aui-text muted size=\"sm\">Last 3 months</aui-text>\n </aui-stack>\n </span>\n <span slot=\"trailing\">\n <aui-stack direction=\"row\" gap=\"4\">\n <aui-
|
|
13448
|
+
"html": "<aui-container kind=\"card\" bordered>\n <aui-header>\n <span slot=\"leading\">\n <aui-stack gap=\"1\">\n <aui-heading size=\"lg\">Total Visitors</aui-heading>\n <aui-text muted size=\"sm\">Last 3 months</aui-text>\n </aui-stack>\n </span>\n <span slot=\"trailing\">\n <aui-stack direction=\"row\" gap=\"4\">\n <aui-stat label=\"Desktop\" value=\"24,828\"></aui-stat>\n <aui-stat label=\"Mobile\" value=\"25,010\"></aui-stat>\n </aui-stack>\n </span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-stack direction=\"row\" gap=\"1\" align-items=\"end\" spacer style=\"min-height: 10rem;\" data-chart-bars>\n <aui-bar label=\"Apr 1 · 3,120\" style=\"height: 35%;\"></aui-bar>\n <aui-bar label=\"Apr 8 · 4,890\" style=\"height: 55%;\"></aui-bar>\n <aui-bar label=\"Apr 15 · 3,740\" style=\"height: 42%;\"></aui-bar>\n <aui-bar label=\"Apr 22 · 6,050\" style=\"height: 68%;\"></aui-bar>\n <aui-bar label=\"Apr 29 · 4,010\" style=\"height: 45%;\"></aui-bar>\n <aui-bar label=\"May 6 · 6,940\" style=\"height: 78%;\"></aui-bar>\n <aui-bar label=\"May 13 · 4,630\" style=\"height: 52%;\"></aui-bar>\n <aui-bar label=\"May 20 · 5,340\" style=\"height: 60%;\"></aui-bar>\n <aui-bar label=\"May 27 · 8,010\" style=\"height: 90%;\" highlighted></aui-bar>\n <aui-bar label=\"Jun 3 · 6,410\" style=\"height: 72%;\"></aui-bar>\n <aui-bar label=\"Jun 10 · 4,270\" style=\"height: 48%;\"></aui-bar>\n <aui-bar label=\"Jun 17 · 3,380\" style=\"height: 38%;\" highlighted></aui-bar>\n </aui-stack>\n </aui-inset>\n </aui-content>\n <aui-footer>\n <span slot=\"content\"><aui-text muted size=\"sm\">April 1 – June 29, 2026</aui-text></span>\n </aui-footer>\n</aui-container>\n",
|
|
10962
13449
|
"description": "Wide dashboard chart with stat tabs and 12-bar dense visualization."
|
|
10963
13450
|
}
|
|
10964
13451
|
]
|
|
@@ -10990,7 +13477,7 @@
|
|
|
10990
13477
|
"name": "checkout-form",
|
|
10991
13478
|
"type": "block",
|
|
10992
13479
|
"summary": "Payment form with card details and billing address.",
|
|
10993
|
-
"description": "A structured checkout form for collecting payment information. Includes card name, number, CVV, and expiry fields in a grid layout
|
|
13480
|
+
"description": "A structured checkout form for collecting payment information. Includes card name, number, CVV, and expiry fields in a grid layout. The billing address section uses aui-fieldset legend=\"Billing Address\" (borderless) with a \"Same as shipping\" checkbox, optional comments. Footer uses aui-button-group for submit/cancel actions.\n",
|
|
10994
13481
|
"components": [
|
|
10995
13482
|
"aui-container",
|
|
10996
13483
|
"aui-header",
|
|
@@ -11001,16 +13488,18 @@
|
|
|
11001
13488
|
"aui-heading",
|
|
11002
13489
|
"aui-text",
|
|
11003
13490
|
"aui-field",
|
|
13491
|
+
"aui-fieldset",
|
|
11004
13492
|
"aui-input",
|
|
11005
13493
|
"aui-textarea",
|
|
11006
13494
|
"aui-checkbox",
|
|
11007
13495
|
"aui-button",
|
|
13496
|
+
"aui-button-group",
|
|
11008
13497
|
"aui-divider"
|
|
11009
13498
|
],
|
|
11010
13499
|
"kind": "card",
|
|
11011
13500
|
"examples": [
|
|
11012
13501
|
{
|
|
11013
|
-
"html": "<aui-container kind=\"card\" bordered max-width=\"prose\">\n <aui-header>\n <span slot=\"leading\">\n <aui-stack gap=\"1\">\n <aui-heading size=\"lg\">Payment Method</aui-heading>\n <aui-text muted size=\"sm\">All transactions are secure and encrypted</aui-text>\n </aui-stack>\n </span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-stack gap=\"6\">\n <aui-field label=\"Name on Card\" width=\"full\">\n <aui-input width=\"full\" placeholder=\"John Doe\"></aui-input>\n </aui-field>\n <aui-stack direction=\"row\" gap=\"3\">\n <aui-field label=\"Card Number\" width=\"full\" grow=\"3\">\n <aui-input width=\"full\" placeholder=\"1234 5678 9012 3456\"></aui-input>\n </aui-field>\n <aui-field label=\"CVV\" grow=\"1\">\n <aui-input width=\"full\" placeholder=\"123\"></aui-input>\n </aui-field>\n </aui-stack>\n <aui-divider></aui-divider>\n <aui-
|
|
13502
|
+
"html": "<aui-container kind=\"card\" bordered max-width=\"prose\">\n <aui-header>\n <span slot=\"leading\">\n <aui-stack gap=\"1\">\n <aui-heading size=\"lg\">Payment Method</aui-heading>\n <aui-text muted size=\"sm\">All transactions are secure and encrypted</aui-text>\n </aui-stack>\n </span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-stack gap=\"6\">\n <aui-field label=\"Name on Card\" width=\"full\">\n <aui-input width=\"full\" placeholder=\"John Doe\"></aui-input>\n </aui-field>\n <aui-stack direction=\"row\" gap=\"3\">\n <aui-field label=\"Card Number\" width=\"full\" grow=\"3\">\n <aui-input width=\"full\" placeholder=\"1234 5678 9012 3456\"></aui-input>\n </aui-field>\n <aui-field label=\"CVV\" grow=\"1\">\n <aui-input width=\"full\" placeholder=\"123\"></aui-input>\n </aui-field>\n </aui-stack>\n <aui-divider></aui-divider>\n <aui-fieldset legend=\"Billing Address\" borderless>\n <aui-text muted size=\"sm\">The address associated with your payment method</aui-text>\n <aui-checkbox>Same as shipping address</aui-checkbox>\n <aui-field label=\"Comments\" width=\"full\">\n <aui-textarea width=\"full\" placeholder=\"Add any additional comments\"></aui-textarea>\n </aui-field>\n </aui-fieldset>\n </aui-stack>\n </aui-inset>\n </aui-content>\n <aui-footer>\n <aui-button-group>\n <aui-button scrim grow=\"1\">Cancel</aui-button>\n <aui-button primary grow=\"1\">Submit Payment</aui-button>\n </aui-button-group>\n </aui-footer>\n</aui-container>\n",
|
|
11014
13503
|
"description": "Payment form with card details, billing address toggle, comments, and submit/cancel actions."
|
|
11015
13504
|
}
|
|
11016
13505
|
]
|
|
@@ -11033,8 +13522,8 @@
|
|
|
11033
13522
|
{
|
|
11034
13523
|
"name": "contributors",
|
|
11035
13524
|
"type": "block",
|
|
11036
|
-
"summary": "Contributors card showing avatar
|
|
11037
|
-
"description": "A card displaying project contributors as
|
|
13525
|
+
"summary": "Contributors card showing overlapping avatar group with count and overflow link.",
|
|
13526
|
+
"description": "A card displaying project contributors as an overlapping avatar group with a count badge and automatic +N overflow counter. Footer shows total contributor count as a text link. Use for open source projects, team pages, or community sections.\n",
|
|
11038
13527
|
"components": [
|
|
11039
13528
|
"aui-container",
|
|
11040
13529
|
"aui-header",
|
|
@@ -11045,13 +13534,14 @@
|
|
|
11045
13534
|
"aui-heading",
|
|
11046
13535
|
"aui-text",
|
|
11047
13536
|
"aui-avatar",
|
|
13537
|
+
"aui-avatar-group",
|
|
11048
13538
|
"aui-badge"
|
|
11049
13539
|
],
|
|
11050
13540
|
"kind": "card",
|
|
11051
13541
|
"examples": [
|
|
11052
13542
|
{
|
|
11053
|
-
"html": "<aui-container kind=\"card\" bordered max-width=\"prose\">\n <aui-header>\n <span slot=\"leading\">\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-heading size=\"lg\">Contributors</aui-heading>\n <aui-badge>312</aui-badge>\n </aui-stack>\n </span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-
|
|
11054
|
-
"description": "Contributors
|
|
13543
|
+
"html": "<aui-container kind=\"card\" bordered max-width=\"prose\">\n <aui-header>\n <span slot=\"leading\">\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-heading size=\"lg\">Contributors</aui-heading>\n <aui-badge>312</aui-badge>\n </aui-stack>\n </span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-avatar-group max=\"8\">\n <aui-avatar>AJ</aui-avatar>\n <aui-avatar>BK</aui-avatar>\n <aui-avatar>CL</aui-avatar>\n <aui-avatar>DM</aui-avatar>\n <aui-avatar>EP</aui-avatar>\n <aui-avatar>FW</aui-avatar>\n <aui-avatar>GR</aui-avatar>\n <aui-avatar>HN</aui-avatar>\n <aui-avatar>IQ</aui-avatar>\n <aui-avatar>JT</aui-avatar>\n <aui-avatar>KS</aui-avatar>\n <aui-avatar>LV</aui-avatar>\n <aui-avatar>MX</aui-avatar>\n <aui-avatar>NY</aui-avatar>\n <aui-avatar>OZ</aui-avatar>\n <aui-avatar>PA</aui-avatar>\n </aui-avatar-group>\n </aui-inset>\n </aui-content>\n <aui-footer>\n <span slot=\"leading\"><aui-text muted size=\"sm\" style=\"text-decoration: underline; cursor: pointer;\">+ 810 contributors</aui-text></span>\n </aui-footer>\n</aui-container>\n",
|
|
13544
|
+
"description": "Contributors avatar group with count badge and overflow link."
|
|
11055
13545
|
}
|
|
11056
13546
|
]
|
|
11057
13547
|
},
|
|
@@ -11074,7 +13564,7 @@
|
|
|
11074
13564
|
"name": "dashboard-layout",
|
|
11075
13565
|
"type": "block",
|
|
11076
13566
|
"summary": "Application shell with sidebar, page header, and content grid.",
|
|
11077
|
-
"description": "A production-ready app shell combining a compact sidebar with a main content area. The sidebar uses card kind with elevation for visual separation,
|
|
13567
|
+
"description": "A production-ready app shell combining a compact sidebar with a main content area. The sidebar uses card kind with elevation for visual separation, aui-nav-item elements with an active state, and a user footer. The main area has a welcoming page header and a responsive grid of aui-stat widgets. This is a starting composition — the content area would hold tables, charts, or lists in a real app.\n",
|
|
11078
13568
|
"components": [
|
|
11079
13569
|
"aui-container",
|
|
11080
13570
|
"aui-header",
|
|
@@ -11085,16 +13575,17 @@
|
|
|
11085
13575
|
"aui-wrap",
|
|
11086
13576
|
"aui-heading",
|
|
11087
13577
|
"aui-text",
|
|
13578
|
+
"aui-stat",
|
|
11088
13579
|
"aui-icon",
|
|
11089
13580
|
"aui-avatar",
|
|
11090
|
-
"aui-
|
|
11091
|
-
"aui-
|
|
13581
|
+
"aui-divider",
|
|
13582
|
+
"aui-nav-item"
|
|
11092
13583
|
],
|
|
11093
13584
|
"kind": "card",
|
|
11094
13585
|
"examples": [
|
|
11095
13586
|
{
|
|
11096
|
-
"html": "<aui-stack direction=\"row\" gap=\"0\" style=\"min-height: 28rem;\">\n <!-- Sidebar -->\n <aui-container kind=\"card\" elevation=\"2\" style=\"width: 14rem; flex-shrink: 0;\">\n <aui-header>\n <span slot=\"leading\"><aui-avatar square size=\"sm\"><img src=\"/icon.svg\" alt=\"Acme Inc\"></aui-avatar></span>\n <span slot=\"content\"><aui-heading size=\"md\" weight=\"medium\">Acme Inc</aui-heading></span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-stack gap=\"2\">\n <aui-
|
|
11097
|
-
"description": "Full dashboard shell with sidebar, page header, stat
|
|
13587
|
+
"html": "<aui-stack direction=\"row\" gap=\"0\" style=\"min-height: 28rem;\">\n <!-- Sidebar -->\n <aui-container kind=\"card\" elevation=\"2\" style=\"width: 14rem; flex-shrink: 0;\">\n <aui-header>\n <span slot=\"leading\"><aui-avatar square size=\"sm\"><img src=\"/icon.svg\" alt=\"Acme Inc\"></aui-avatar></span>\n <span slot=\"content\"><aui-heading size=\"md\" weight=\"medium\">Acme Inc</aui-heading></span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-stack gap=\"2\">\n <aui-nav-item active>\n <aui-icon name=\"house\"></aui-icon>\n Dashboard\n </aui-nav-item>\n <aui-nav-item muted>\n <aui-icon name=\"star\"></aui-icon>\n Projects\n </aui-nav-item>\n <aui-nav-item muted>\n <aui-icon name=\"user\"></aui-icon>\n Team\n </aui-nav-item>\n <aui-nav-item muted>\n <aui-icon name=\"gear\"></aui-icon>\n Settings\n </aui-nav-item>\n </aui-stack>\n </aui-inset>\n </aui-content>\n <aui-footer>\n <span slot=\"leading\">\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-avatar size=\"sm\">AJ</aui-avatar>\n <aui-stack gap=\"0\" spacer>\n <aui-text size=\"sm\" weight=\"medium\">Alice Johnson</aui-text>\n <aui-text muted size=\"xs\">alice@acme.com</aui-text>\n </aui-stack>\n </aui-stack>\n </span>\n </aui-footer>\n </aui-container>\n\n <!-- Main -->\n <aui-stack gap=\"0\" spacer>\n <!-- Page header -->\n <aui-header style=\"padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--aui-border-muted);\">\n <span slot=\"leading\">\n <aui-stack gap=\"1\">\n <aui-heading size=\"xl\">Dashboard</aui-heading>\n <aui-text muted size=\"sm\">Welcome back, Alice. Here's what's happening today.</aui-text>\n </aui-stack>\n </span>\n </aui-header>\n\n <!-- Content -->\n <aui-stack gap=\"3\" style=\"padding: 1.5rem;\">\n <aui-wrap gap=\"3\">\n <aui-container kind=\"widget\" bordered spacer style=\"min-width: 11rem;\">\n <aui-inset>\n <aui-stat label=\"Revenue\" value=\"$24,500\" trend=\"up\" change=\"+12%\"></aui-stat>\n </aui-inset>\n </aui-container>\n <aui-container kind=\"widget\" bordered spacer style=\"min-width: 11rem;\">\n <aui-inset>\n <aui-stat label=\"Active Users\" value=\"1,240\" trend=\"up\" change=\"+8%\"></aui-stat>\n </aui-inset>\n </aui-container>\n <aui-container kind=\"widget\" bordered spacer style=\"min-width: 11rem;\">\n <aui-inset>\n <aui-stat label=\"Open Tasks\" value=\"17\" change=\"3 overdue\"></aui-stat>\n </aui-inset>\n </aui-container>\n </aui-wrap>\n\n <!-- Placeholder for table/chart area -->\n <aui-container kind=\"card\" bordered style=\"min-height: 10rem;\">\n <aui-inset>\n <aui-stack gap=\"1\" align-items=\"center\" text=\"center\" style=\"padding: 2rem 0;\">\n <aui-icon name=\"star\" size=\"3xl\" muted></aui-icon>\n <aui-text muted size=\"sm\">Charts and tables will appear here.</aui-text>\n </aui-stack>\n </aui-inset>\n </aui-container>\n </aui-stack>\n </aui-stack>\n</aui-stack>\n",
|
|
13588
|
+
"description": "Full dashboard shell with sidebar, page header, aui-stat widgets, and content placeholder."
|
|
11098
13589
|
}
|
|
11099
13590
|
]
|
|
11100
13591
|
},
|
|
@@ -11156,17 +13647,13 @@
|
|
|
11156
13647
|
"description": "A card shown when a section has no data to display. Centered layout with a large muted icon, heading, descriptive text, and a primary action button to guide the user toward their first step. Use this to replace blank space in lists, tables, or dashboards so users always have a clear path forward.\n",
|
|
11157
13648
|
"components": [
|
|
11158
13649
|
"aui-container",
|
|
11159
|
-
"aui-
|
|
11160
|
-
"aui-stack",
|
|
11161
|
-
"aui-heading",
|
|
11162
|
-
"aui-text",
|
|
11163
|
-
"aui-icon",
|
|
13650
|
+
"aui-empty-state",
|
|
11164
13651
|
"aui-button"
|
|
11165
13652
|
],
|
|
11166
13653
|
"kind": "card",
|
|
11167
13654
|
"examples": [
|
|
11168
13655
|
{
|
|
11169
|
-
"html": "<aui-container kind=\"card\" bordered max-width=\"sm\">\n <aui-
|
|
13656
|
+
"html": "<aui-container kind=\"card\" bordered max-width=\"sm\">\n <aui-empty-state icon=\"star\" heading=\"No projects yet\" description=\"Create your first project to get started. Projects help you organize your work and collaborate with your team.\">\n <aui-button accent>Create project</aui-button>\n </aui-empty-state>\n</aui-container>\n",
|
|
11170
13657
|
"description": "Empty state prompting the user to create their first project."
|
|
11171
13658
|
}
|
|
11172
13659
|
]
|
|
@@ -11175,7 +13662,7 @@
|
|
|
11175
13662
|
"name": "env-variables",
|
|
11176
13663
|
"type": "block",
|
|
11177
13664
|
"summary": "Environment variables panel with masked secrets and deploy action.",
|
|
11178
|
-
"description": "A panel listing environment variable key-value pairs. Keys use monospace font. Secret values are masked with dots; public values show their content. Footer
|
|
13665
|
+
"description": "A panel listing environment variable key-value pairs. Keys use monospace font. Secret values are masked with dots; public values show their content. Footer uses aui-button-group for edit and deploy actions.\n",
|
|
11179
13666
|
"components": [
|
|
11180
13667
|
"aui-container",
|
|
11181
13668
|
"aui-header",
|
|
@@ -11186,7 +13673,8 @@
|
|
|
11186
13673
|
"aui-heading",
|
|
11187
13674
|
"aui-text",
|
|
11188
13675
|
"aui-input",
|
|
11189
|
-
"aui-button"
|
|
13676
|
+
"aui-button",
|
|
13677
|
+
"aui-button-group"
|
|
11190
13678
|
],
|
|
11191
13679
|
"kind": "card",
|
|
11192
13680
|
"examples": [
|
|
@@ -11200,7 +13688,7 @@
|
|
|
11200
13688
|
"name": "feature-upgrade",
|
|
11201
13689
|
"type": "block",
|
|
11202
13690
|
"summary": "Feature upgrade card with checklist, note, and call-to-action.",
|
|
11203
|
-
"description": "A persuasion card for upsells and feature announcements. Heading and description at top, a checklist of feature benefits with check icons, an inset note box with supporting detail, and a footer with cancel and primary enable actions.\n",
|
|
13691
|
+
"description": "A persuasion card for upsells and feature announcements. Heading and description at top, a checklist of feature benefits with check icons, an inset note box with supporting detail, and a footer with cancel and primary enable actions in an aui-button-group.\n",
|
|
11204
13692
|
"components": [
|
|
11205
13693
|
"aui-container",
|
|
11206
13694
|
"aui-content",
|
|
@@ -11212,12 +13700,13 @@
|
|
|
11212
13700
|
"aui-avatar",
|
|
11213
13701
|
"aui-icon",
|
|
11214
13702
|
"aui-badge",
|
|
11215
|
-
"aui-button"
|
|
13703
|
+
"aui-button",
|
|
13704
|
+
"aui-button-group"
|
|
11216
13705
|
],
|
|
11217
13706
|
"kind": "card",
|
|
11218
13707
|
"examples": [
|
|
11219
13708
|
{
|
|
11220
|
-
"html": "<aui-container kind=\"card\" bordered max-width=\"prose\">\n <aui-content>\n <aui-inset>\n <aui-stack gap=\"4\">\n <aui-stack gap=\"1\">\n <aui-heading size=\"xl\">Ship faster & safer with AI Agent</aui-heading>\n <aui-text muted size=\"sm\">Your use is subject to the Public Beta Agreement and AI Product Terms.</aui-text>\n </aui-stack>\n <aui-stack gap=\"3\">\n <aui-stack direction=\"row\" gap=\"2\">\n <aui-avatar square size=\"sm\"><aui-icon name=\"check\"></aui-icon></aui-avatar>\n <aui-text size=\"sm\"><strong>Code reviews</strong> with full codebase context to catch <strong>hard-to-find</strong> bugs.</aui-text>\n </aui-stack>\n <aui-stack direction=\"row\" gap=\"2\">\n <aui-avatar square size=\"sm\"><aui-icon name=\"check\"></aui-icon></aui-avatar>\n <aui-text size=\"sm\"><strong>Code suggestions</strong> validated in sandboxes before you merge.</aui-text>\n </aui-stack>\n <aui-stack direction=\"row\" gap=\"2\">\n <aui-avatar square size=\"sm\"><aui-icon name=\"check\"></aui-icon></aui-avatar>\n <aui-text size=\"sm\"><strong>Root-cause analysis</strong> for production issues with deployment context. <aui-badge accent>Requires Plus</aui-badge></aui-text>\n </aui-stack>\n </aui-stack>\n <aui-container kind=\"widget\" elevation=\"3\">\n <aui-inset>\n <aui-text muted size=\"sm\">Pro teams get $100 in trial credit for 2 weeks after activation.</aui-text>\n </aui-inset>\n </aui-container>\n </aui-stack>\n </aui-inset>\n </aui-content>\n <aui-footer>\n <aui-
|
|
13709
|
+
"html": "<aui-container kind=\"card\" bordered max-width=\"prose\">\n <aui-content>\n <aui-inset>\n <aui-stack gap=\"4\">\n <aui-stack gap=\"1\">\n <aui-heading size=\"xl\">Ship faster & safer with AI Agent</aui-heading>\n <aui-text muted size=\"sm\">Your use is subject to the Public Beta Agreement and AI Product Terms.</aui-text>\n </aui-stack>\n <aui-stack gap=\"3\">\n <aui-stack direction=\"row\" gap=\"2\">\n <aui-avatar square size=\"sm\"><aui-icon name=\"check\"></aui-icon></aui-avatar>\n <aui-text size=\"sm\"><strong>Code reviews</strong> with full codebase context to catch <strong>hard-to-find</strong> bugs.</aui-text>\n </aui-stack>\n <aui-stack direction=\"row\" gap=\"2\">\n <aui-avatar square size=\"sm\"><aui-icon name=\"check\"></aui-icon></aui-avatar>\n <aui-text size=\"sm\"><strong>Code suggestions</strong> validated in sandboxes before you merge.</aui-text>\n </aui-stack>\n <aui-stack direction=\"row\" gap=\"2\">\n <aui-avatar square size=\"sm\"><aui-icon name=\"check\"></aui-icon></aui-avatar>\n <aui-text size=\"sm\"><strong>Root-cause analysis</strong> for production issues with deployment context. <aui-badge accent>Requires Plus</aui-badge></aui-text>\n </aui-stack>\n </aui-stack>\n <aui-container kind=\"widget\" elevation=\"3\">\n <aui-inset>\n <aui-text muted size=\"sm\">Pro teams get $100 in trial credit for 2 weeks after activation.</aui-text>\n </aui-inset>\n </aui-container>\n </aui-stack>\n </aui-inset>\n </aui-content>\n <aui-footer>\n <aui-button-group>\n <aui-button scrim grow=\"1\">Cancel</aui-button>\n <aui-button primary grow=\"1\">Enable with $100 credits</aui-button>\n </aui-button-group>\n </aui-footer>\n</aui-container>\n",
|
|
11221
13710
|
"description": "Feature upgrade card with benefits checklist and trial credit offer."
|
|
11222
13711
|
}
|
|
11223
13712
|
]
|
|
@@ -11304,7 +13793,7 @@
|
|
|
11304
13793
|
"name": "issue-assign",
|
|
11305
13794
|
"type": "block",
|
|
11306
13795
|
"summary": "Issue assignment card with user search and selected token chips.",
|
|
11307
|
-
"description": "A compact card for assigning users to an issue. Header shows the task title with an add button. Content area shows selected users as removable
|
|
13796
|
+
"description": "A compact card for assigning users to an issue. Header shows the task title with an add button. Content area shows selected users as removable aui-chip elements with avatar and name. Use for project management, code review assignment, or task delegation.\n",
|
|
11308
13797
|
"components": [
|
|
11309
13798
|
"aui-container",
|
|
11310
13799
|
"aui-header",
|
|
@@ -11314,13 +13803,14 @@
|
|
|
11314
13803
|
"aui-heading",
|
|
11315
13804
|
"aui-text",
|
|
11316
13805
|
"aui-avatar",
|
|
13806
|
+
"aui-chip",
|
|
11317
13807
|
"aui-button",
|
|
11318
13808
|
"aui-icon"
|
|
11319
13809
|
],
|
|
11320
13810
|
"kind": "card",
|
|
11321
13811
|
"examples": [
|
|
11322
13812
|
{
|
|
11323
|
-
"html": "<aui-container kind=\"card\" bordered max-width=\"sm\">\n <aui-header>\n <span slot=\"leading\">\n <aui-stack gap=\"1\">\n <aui-heading size=\"lg\">Assign Issue</aui-heading>\n <aui-text muted size=\"sm\">Select users to assign to this issue.</aui-text>\n </aui-stack>\n </span>\n <span slot=\"trailing\"><aui-button ghost size=\"sm\"><aui-icon name=\"plus\"></aui-icon></aui-button></span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <
|
|
13813
|
+
"html": "<aui-container kind=\"card\" bordered max-width=\"sm\">\n <aui-header>\n <span slot=\"leading\">\n <aui-stack gap=\"1\">\n <aui-heading size=\"lg\">Assign Issue</aui-heading>\n <aui-text muted size=\"sm\">Select users to assign to this issue.</aui-text>\n </aui-stack>\n </span>\n <span slot=\"trailing\"><aui-button ghost size=\"sm\"><aui-icon name=\"plus\"></aui-icon></aui-button></span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-chip removable>\n <aui-avatar size=\"sm\">AO</aui-avatar>\n AgentOS\n </aui-chip>\n </aui-inset>\n </aui-content>\n</aui-container>\n",
|
|
11324
13814
|
"description": "Issue assignment with selected user token and add action."
|
|
11325
13815
|
}
|
|
11326
13816
|
]
|
|
@@ -11678,7 +14168,7 @@
|
|
|
11678
14168
|
"name": "profile-card",
|
|
11679
14169
|
"type": "block",
|
|
11680
14170
|
"summary": "User profile card with avatar, bio, stats, and actions.",
|
|
11681
|
-
"description": "A card displaying a user's profile information at a glance. Centered layout with a large avatar, name, role, short bio, and
|
|
14171
|
+
"description": "A card displaying a user's profile information at a glance. Centered layout with a large avatar, name, role, short bio, and an aui-stat row for key metrics. Footer provides edit and messaging actions. Useful for team directories, account pages, or social-style dashboards where you need to present identity alongside engagement metrics.\n",
|
|
11682
14172
|
"components": [
|
|
11683
14173
|
"aui-container",
|
|
11684
14174
|
"aui-inset",
|
|
@@ -11688,13 +14178,14 @@
|
|
|
11688
14178
|
"aui-stack",
|
|
11689
14179
|
"aui-heading",
|
|
11690
14180
|
"aui-text",
|
|
14181
|
+
"aui-stat",
|
|
11691
14182
|
"aui-avatar",
|
|
11692
14183
|
"aui-button"
|
|
11693
14184
|
],
|
|
11694
14185
|
"kind": "card",
|
|
11695
14186
|
"examples": [
|
|
11696
14187
|
{
|
|
11697
|
-
"html": "<aui-container kind=\"card\" bordered max-width=\"md\">\n <aui-content>\n <aui-inset>\n <aui-stack gap=\"4\" align-items=\"center\" text=\"center\">\n <aui-avatar size=\"lg\">SR</aui-avatar>\n <aui-stack gap=\"1\" align-items=\"center\">\n <aui-heading size=\"xl\">Sofia Rodriguez</aui-heading>\n <aui-text muted size=\"sm\">Senior Product Designer</aui-text>\n </aui-stack>\n <aui-text muted size=\"sm\">Designing thoughtful experiences that bridge user needs and business goals. Previously at Figma and Stripe.</aui-text>\n <aui-stack direction=\"row\" gap=\"4\">\n <aui-
|
|
14188
|
+
"html": "<aui-container kind=\"card\" bordered max-width=\"md\">\n <aui-content>\n <aui-inset>\n <aui-stack gap=\"4\" align-items=\"center\" text=\"center\">\n <aui-avatar size=\"lg\">SR</aui-avatar>\n <aui-stack gap=\"1\" align-items=\"center\">\n <aui-heading size=\"xl\">Sofia Rodriguez</aui-heading>\n <aui-text muted size=\"sm\">Senior Product Designer</aui-text>\n </aui-stack>\n <aui-text muted size=\"sm\">Designing thoughtful experiences that bridge user needs and business goals. Previously at Figma and Stripe.</aui-text>\n <aui-stack direction=\"row\" gap=\"4\">\n <aui-stat label=\"Projects\" value=\"12\"></aui-stat>\n <aui-stat label=\"Followers\" value=\"1.2k\"></aui-stat>\n <aui-stat label=\"Following\" value=\"340\"></aui-stat>\n </aui-stack>\n <aui-stack direction=\"row\" gap=\"2\">\n <aui-button scrim spacer>Edit profile</aui-button>\n <aui-button primary accent spacer>Message</aui-button>\n </aui-stack>\n </aui-stack>\n </aui-inset>\n </aui-content>\n</aui-container>\n",
|
|
11698
14189
|
"description": "User profile card with avatar, bio, stats, and contact actions."
|
|
11699
14190
|
}
|
|
11700
14191
|
]
|
|
@@ -11718,7 +14209,7 @@
|
|
|
11718
14209
|
"name": "settings-form",
|
|
11719
14210
|
"type": "block",
|
|
11720
14211
|
"summary": "Card with header, form fields, and action footer.",
|
|
11721
|
-
"description": "A structured settings form inside a bordered card container. Header holds the title and description, content holds the fields, footer
|
|
14212
|
+
"description": "A structured settings form inside a bordered card container. Header holds the title and description, content holds the fields, footer uses aui-button-group for cancel and save actions.\n",
|
|
11722
14213
|
"components": [
|
|
11723
14214
|
"aui-container",
|
|
11724
14215
|
"aui-header",
|
|
@@ -11731,12 +14222,13 @@
|
|
|
11731
14222
|
"aui-field",
|
|
11732
14223
|
"aui-input",
|
|
11733
14224
|
"aui-textarea",
|
|
11734
|
-
"aui-button"
|
|
14225
|
+
"aui-button",
|
|
14226
|
+
"aui-button-group"
|
|
11735
14227
|
],
|
|
11736
14228
|
"kind": "card",
|
|
11737
14229
|
"examples": [
|
|
11738
14230
|
{
|
|
11739
|
-
"html": "<aui-container kind=\"card\" bordered max-width=\"prose\">\n <aui-header>\n <span slot=\"leading\">\n <aui-stack gap=\"1\">\n <aui-heading size=\"lg\">Project Settings</aui-heading>\n <aui-text muted size=\"sm\">Make changes to your project here. Click save when you're done.</aui-text>\n </aui-stack>\n </span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-stack gap=\"4\">\n <aui-field label=\"Name\" width=\"full\">\n <aui-input placeholder=\"Acme Dashboard\"></aui-input>\n </aui-field>\n <aui-field label=\"Description\" description=\"This will be visible to all team members.\" width=\"full\">\n <aui-textarea placeholder=\"A real-time analytics dashboard for the Acme team.\"></aui-textarea>\n </aui-field>\n </aui-stack>\n </aui-inset>\n </aui-content>\n <aui-footer>\n <aui-
|
|
14231
|
+
"html": "<aui-container kind=\"card\" bordered max-width=\"prose\">\n <aui-header>\n <span slot=\"leading\">\n <aui-stack gap=\"1\">\n <aui-heading size=\"lg\">Project Settings</aui-heading>\n <aui-text muted size=\"sm\">Make changes to your project here. Click save when you're done.</aui-text>\n </aui-stack>\n </span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-stack gap=\"4\">\n <aui-field label=\"Name\" width=\"full\">\n <aui-input placeholder=\"Acme Dashboard\"></aui-input>\n </aui-field>\n <aui-field label=\"Description\" description=\"This will be visible to all team members.\" width=\"full\">\n <aui-textarea placeholder=\"A real-time analytics dashboard for the Acme team.\"></aui-textarea>\n </aui-field>\n </aui-stack>\n </aui-inset>\n </aui-content>\n <aui-footer>\n <aui-button-group>\n <aui-button primary grow=\"1\">Save changes</aui-button>\n <aui-button scrim grow=\"1\">Cancel</aui-button>\n </aui-button-group>\n </aui-footer>\n</aui-container>\n",
|
|
11740
14232
|
"description": "Project settings form with name and description fields."
|
|
11741
14233
|
}
|
|
11742
14234
|
]
|
|
@@ -11772,7 +14264,7 @@
|
|
|
11772
14264
|
"name": "sidebar-nav",
|
|
11773
14265
|
"type": "block",
|
|
11774
14266
|
"summary": "Compact app sidebar with icon navigation and user footer.",
|
|
11775
|
-
"description": "A fixed-width sidebar for app-level navigation. Uses card kind for tighter padding than panel. Nav items
|
|
14267
|
+
"description": "A fixed-width sidebar for app-level navigation. Uses card kind for tighter padding than panel. Nav items use aui-nav-item elements — the active item uses the active attribute for visual distinction. Footer shows the signed-in user with avatar and email. Designed to sit at the left edge of a layout at 14-16rem width.\n",
|
|
11776
14268
|
"components": [
|
|
11777
14269
|
"aui-container",
|
|
11778
14270
|
"aui-header",
|
|
@@ -11784,12 +14276,13 @@
|
|
|
11784
14276
|
"aui-text",
|
|
11785
14277
|
"aui-icon",
|
|
11786
14278
|
"aui-avatar",
|
|
11787
|
-
"aui-divider"
|
|
14279
|
+
"aui-divider",
|
|
14280
|
+
"aui-nav-item"
|
|
11788
14281
|
],
|
|
11789
14282
|
"kind": "card",
|
|
11790
14283
|
"examples": [
|
|
11791
14284
|
{
|
|
11792
|
-
"html": "<aui-container kind=\"card\" bordered elevation=\"2\" max-width=\"xs\">\n <aui-header>\n <span slot=\"leading\"><aui-avatar square size=\"sm\"><img src=\"/icon.svg\" alt=\"Acme Inc\"></aui-avatar></span>\n <span slot=\"content\"><aui-heading size=\"md\" weight=\"medium\">Acme Inc</aui-heading></span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-stack gap=\"2\">\n <aui-
|
|
14285
|
+
"html": "<aui-container kind=\"card\" bordered elevation=\"2\" max-width=\"xs\">\n <aui-header>\n <span slot=\"leading\"><aui-avatar square size=\"sm\"><img src=\"/icon.svg\" alt=\"Acme Inc\"></aui-avatar></span>\n <span slot=\"content\"><aui-heading size=\"md\" weight=\"medium\">Acme Inc</aui-heading></span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-stack gap=\"2\">\n <aui-nav-item active>\n <aui-icon name=\"house\"></aui-icon>\n Dashboard\n </aui-nav-item>\n <aui-nav-item muted>\n <aui-icon name=\"star\"></aui-icon>\n Projects\n </aui-nav-item>\n <aui-nav-item muted>\n <aui-icon name=\"user\"></aui-icon>\n Team\n </aui-nav-item>\n <aui-nav-item muted>\n <aui-icon name=\"gear\"></aui-icon>\n Settings\n </aui-nav-item>\n </aui-stack>\n </aui-inset>\n </aui-content>\n <aui-footer>\n <span slot=\"leading\">\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-avatar size=\"sm\">AJ</aui-avatar>\n <aui-stack gap=\"0\" spacer>\n <aui-text size=\"sm\" weight=\"medium\">Alice Johnson</aui-text>\n <aui-text muted size=\"xs\">alice@acme.com</aui-text>\n </aui-stack>\n </aui-stack>\n </span>\n </aui-footer>\n</aui-container>\n",
|
|
11793
14286
|
"description": "App sidebar with active Dashboard item, three inactive links, and user footer."
|
|
11794
14287
|
}
|
|
11795
14288
|
]
|
|
@@ -11824,20 +14317,18 @@
|
|
|
11824
14317
|
"name": "stat-cards",
|
|
11825
14318
|
"type": "block",
|
|
11826
14319
|
"summary": "Row of compact KPI stat widgets.",
|
|
11827
|
-
"description": "Dashboard-style stat cards in a horizontal row. Each widget shows a
|
|
14320
|
+
"description": "Dashboard-style stat cards in a horizontal row using aui-stat. Each widget shows a label, large value, and optional change text. Intent attrs (success) color the value for positive status. Uses widget kind for compact padding.\n",
|
|
11828
14321
|
"components": [
|
|
11829
14322
|
"aui-container",
|
|
11830
14323
|
"aui-inset",
|
|
11831
|
-
"aui-
|
|
11832
|
-
"aui-
|
|
11833
|
-
"aui-text",
|
|
11834
|
-
"aui-badge"
|
|
14324
|
+
"aui-wrap",
|
|
14325
|
+
"aui-stat"
|
|
11835
14326
|
],
|
|
11836
14327
|
"kind": "widget",
|
|
11837
14328
|
"examples": [
|
|
11838
14329
|
{
|
|
11839
|
-
"html": "<aui-wrap gap=\"3\">\n <aui-container kind=\"widget\" bordered spacer style=\"min-width: 12rem;\">\n <aui-inset>\n <aui-
|
|
11840
|
-
"description": "Three KPI stat cards
|
|
14330
|
+
"html": "<aui-wrap gap=\"3\">\n <aui-container kind=\"widget\" bordered spacer style=\"min-width: 12rem;\">\n <aui-inset>\n <aui-stat label=\"Active Users\" value=\"12\" trend=\"up\" change=\"+3 today\"></aui-stat>\n </aui-inset>\n </aui-container>\n <aui-container kind=\"widget\" bordered spacer style=\"min-width: 12rem;\">\n <aui-inset>\n <aui-stat label=\"Uptime\" value=\"99.9%\" success change=\"All systems operational\"></aui-stat>\n </aui-inset>\n </aui-container>\n <aui-container kind=\"widget\" bordered spacer style=\"min-width: 12rem;\">\n <aui-inset>\n <aui-stat label=\"Open Issues\" value=\"3\" change=\"Needs review\"></aui-stat>\n </aui-inset>\n </aui-container>\n</aui-wrap>\n",
|
|
14331
|
+
"description": "Three KPI stat cards using aui-stat with trend and status change text."
|
|
11841
14332
|
}
|
|
11842
14333
|
]
|
|
11843
14334
|
},
|
|
@@ -11853,7 +14344,8 @@
|
|
|
11853
14344
|
"aui-heading",
|
|
11854
14345
|
"aui-text",
|
|
11855
14346
|
"aui-icon",
|
|
11856
|
-
"aui-button"
|
|
14347
|
+
"aui-button",
|
|
14348
|
+
"aui-button-group"
|
|
11857
14349
|
],
|
|
11858
14350
|
"kind": "card",
|
|
11859
14351
|
"examples": [
|
|
@@ -11862,7 +14354,7 @@
|
|
|
11862
14354
|
"description": "Success confirmation after payment."
|
|
11863
14355
|
},
|
|
11864
14356
|
{
|
|
11865
|
-
"html": "<aui-container kind=\"card\" bordered shadow=\"2\" danger max-width=\"md\">\n <aui-inset>\n <aui-stack gap=\"4\" align-items=\"center\" text=\"center\">\n <aui-icon name=\"warning-circle\" size=\"2xl\"></aui-icon>\n <aui-heading size=\"xl\">Something went wrong</aui-heading>\n <aui-text muted>We couldn't process your request. Please try again or contact support if the issue persists.</aui-text>\n <aui-
|
|
14357
|
+
"html": "<aui-container kind=\"card\" bordered shadow=\"2\" danger max-width=\"md\">\n <aui-inset>\n <aui-stack gap=\"4\" align-items=\"center\" text=\"center\">\n <aui-icon name=\"warning-circle\" size=\"2xl\"></aui-icon>\n <aui-heading size=\"xl\">Something went wrong</aui-heading>\n <aui-text muted>We couldn't process your request. Please try again or contact support if the issue persists.</aui-text>\n <aui-button-group>\n <aui-button outline width=\"full\">Contact Support</aui-button>\n <aui-button primary width=\"full\">Try Again</aui-button>\n </aui-button-group>\n </aui-stack>\n </aui-inset>\n</aui-container>\n",
|
|
11866
14358
|
"description": "Error state with retry and support actions."
|
|
11867
14359
|
}
|
|
11868
14360
|
]
|
|
@@ -11871,7 +14363,7 @@
|
|
|
11871
14363
|
"name": "suggested-labs",
|
|
11872
14364
|
"type": "block",
|
|
11873
14365
|
"summary": "Lab order card with categorized tests and routing actions.",
|
|
11874
|
-
"description": "A clinical decision-support card listing suggested laboratory tests. Each row shows the test panel name, a brief rationale, and a condition badge. A primary action routes the order to the assigned physician, with secondary actions for drafting or staging.\n",
|
|
14366
|
+
"description": "A clinical decision-support card listing suggested laboratory tests. Each row shows the test panel name, a brief rationale, and a condition badge. A primary action routes the order to the assigned physician, with secondary actions in an aui-button-group for drafting or staging.\n",
|
|
11875
14367
|
"components": [
|
|
11876
14368
|
"aui-container",
|
|
11877
14369
|
"aui-header",
|
|
@@ -11883,12 +14375,13 @@
|
|
|
11883
14375
|
"aui-text",
|
|
11884
14376
|
"aui-badge",
|
|
11885
14377
|
"aui-button",
|
|
14378
|
+
"aui-button-group",
|
|
11886
14379
|
"aui-divider"
|
|
11887
14380
|
],
|
|
11888
14381
|
"kind": "card",
|
|
11889
14382
|
"examples": [
|
|
11890
14383
|
{
|
|
11891
|
-
"html": "<aui-container kind=\"card\" bordered max-width=\"lg\">\n <aui-header>\n <span slot=\"leading\">\n <aui-stack gap=\"1\">\n <aui-heading size=\"lg\">Suggested Labs</aui-heading>\n <aui-text muted size=\"sm\">Based on your symptoms and family history</aui-text>\n </aui-stack>\n </span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-stack gap=\"3\">\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-stack gap=\"1\" spacer>\n <aui-heading size=\"md\">RF + Anti-CCP</aui-heading>\n <aui-text muted size=\"sm\">Rheumatoid Arthritis markers</aui-text>\n </aui-stack>\n <aui-badge accent>RA</aui-badge>\n </aui-stack>\n <aui-divider></aui-divider>\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-stack gap=\"1\" spacer>\n <aui-heading size=\"md\">ESR + CRP</aui-heading>\n <aui-text muted size=\"sm\">Inflammation levels</aui-text>\n </aui-stack>\n <aui-badge accent>RA / Lupus</aui-badge>\n </aui-stack>\n <aui-divider></aui-divider>\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-stack gap=\"1\" spacer>\n <aui-heading size=\"md\">TSH + Free T4</aui-heading>\n <aui-text muted size=\"sm\">Thyroid function</aui-text>\n </aui-stack>\n <aui-badge accent>Hypothyroidism</aui-badge>\n </aui-stack>\n <aui-divider></aui-divider>\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-stack gap=\"1\" spacer>\n <aui-heading size=\"md\">ANA</aui-heading>\n <aui-text muted size=\"sm\">Autoimmune screen</aui-text>\n </aui-stack>\n <aui-badge accent>Lupus</aui-badge>\n </aui-stack>\n <aui-divider></aui-divider>\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-stack gap=\"1\" spacer>\n <aui-heading size=\"md\">CBC + Ferritin</aui-heading>\n <aui-text muted size=\"sm\">Anemia workup</aui-text>\n </aui-stack>\n <aui-badge accent>Iron Deficiency</aui-badge>\n </aui-stack>\n </aui-stack>\n </aui-inset>\n </aui-content>\n <aui-footer>\n <aui-stack gap=\"2\">\n <aui-button primary width=\"full\">Order Now — Route to Dr. Martinez</aui-button>\n <aui-
|
|
14384
|
+
"html": "<aui-container kind=\"card\" bordered max-width=\"lg\">\n <aui-header>\n <span slot=\"leading\">\n <aui-stack gap=\"1\">\n <aui-heading size=\"lg\">Suggested Labs</aui-heading>\n <aui-text muted size=\"sm\">Based on your symptoms and family history</aui-text>\n </aui-stack>\n </span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-stack gap=\"3\">\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-stack gap=\"1\" spacer>\n <aui-heading size=\"md\">RF + Anti-CCP</aui-heading>\n <aui-text muted size=\"sm\">Rheumatoid Arthritis markers</aui-text>\n </aui-stack>\n <aui-badge accent>RA</aui-badge>\n </aui-stack>\n <aui-divider></aui-divider>\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-stack gap=\"1\" spacer>\n <aui-heading size=\"md\">ESR + CRP</aui-heading>\n <aui-text muted size=\"sm\">Inflammation levels</aui-text>\n </aui-stack>\n <aui-badge accent>RA / Lupus</aui-badge>\n </aui-stack>\n <aui-divider></aui-divider>\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-stack gap=\"1\" spacer>\n <aui-heading size=\"md\">TSH + Free T4</aui-heading>\n <aui-text muted size=\"sm\">Thyroid function</aui-text>\n </aui-stack>\n <aui-badge accent>Hypothyroidism</aui-badge>\n </aui-stack>\n <aui-divider></aui-divider>\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-stack gap=\"1\" spacer>\n <aui-heading size=\"md\">ANA</aui-heading>\n <aui-text muted size=\"sm\">Autoimmune screen</aui-text>\n </aui-stack>\n <aui-badge accent>Lupus</aui-badge>\n </aui-stack>\n <aui-divider></aui-divider>\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\">\n <aui-stack gap=\"1\" spacer>\n <aui-heading size=\"md\">CBC + Ferritin</aui-heading>\n <aui-text muted size=\"sm\">Anemia workup</aui-text>\n </aui-stack>\n <aui-badge accent>Iron Deficiency</aui-badge>\n </aui-stack>\n </aui-stack>\n </aui-inset>\n </aui-content>\n <aui-footer>\n <aui-stack gap=\"2\">\n <aui-button primary width=\"full\">Order Now — Route to Dr. Martinez</aui-button>\n <aui-button-group>\n <aui-button scrim grow=\"1\">Add to Draft Order</aui-button>\n <aui-button scrim grow=\"1\">Build Draft for Doctor</aui-button>\n </aui-button-group>\n </aui-stack>\n </aui-footer>\n</aui-container>\n",
|
|
11892
14385
|
"description": "Suggested lab panel card with condition badges and physician routing actions."
|
|
11893
14386
|
}
|
|
11894
14387
|
]
|
|
@@ -11912,7 +14405,7 @@
|
|
|
11912
14405
|
"name": "survey-card",
|
|
11913
14406
|
"type": "block",
|
|
11914
14407
|
"summary": "Survey question card with checkbox options and submit action.",
|
|
11915
|
-
"description": "A card presenting a multiple-choice survey question.
|
|
14408
|
+
"description": "A card presenting a multiple-choice survey question. Checkbox options are grouped in an aui-fieldset legend=\"Sources\" (borderless) for semantic grouping. Footer uses aui-button-group for skip/continue actions. Useful for onboarding flows, feedback, or preference selection.\n",
|
|
11916
14409
|
"components": [
|
|
11917
14410
|
"aui-container",
|
|
11918
14411
|
"aui-header",
|
|
@@ -11923,13 +14416,15 @@
|
|
|
11923
14416
|
"aui-heading",
|
|
11924
14417
|
"aui-text",
|
|
11925
14418
|
"aui-field",
|
|
14419
|
+
"aui-fieldset",
|
|
11926
14420
|
"aui-checkbox",
|
|
11927
|
-
"aui-button"
|
|
14421
|
+
"aui-button",
|
|
14422
|
+
"aui-button-group"
|
|
11928
14423
|
],
|
|
11929
14424
|
"kind": "card",
|
|
11930
14425
|
"examples": [
|
|
11931
14426
|
{
|
|
11932
|
-
"html": "<aui-container kind=\"card\" bordered max-width=\"prose\" style=\"min-width: 22rem;\">\n <aui-header>\n <span slot=\"leading\">\n <aui-stack gap=\"1\">\n <aui-heading size=\"lg\">How did you hear about us?</aui-heading>\n <aui-text muted size=\"sm\">Select all that apply.</aui-text>\n </aui-stack>\n </span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-
|
|
14427
|
+
"html": "<aui-container kind=\"card\" bordered max-width=\"prose\" style=\"min-width: 22rem;\">\n <aui-header>\n <span slot=\"leading\">\n <aui-stack gap=\"1\">\n <aui-heading size=\"lg\">How did you hear about us?</aui-heading>\n <aui-text muted size=\"sm\">Select all that apply.</aui-text>\n </aui-stack>\n </span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-fieldset legend=\"Sources\" borderless>\n <aui-field>\n <aui-checkbox>Social Media</aui-checkbox>\n </aui-field>\n <aui-field>\n <aui-checkbox>Search Engine</aui-checkbox>\n </aui-field>\n <aui-field>\n <aui-checkbox>Friend or Colleague</aui-checkbox>\n </aui-field>\n <aui-field>\n <aui-checkbox>Blog or Article</aui-checkbox>\n </aui-field>\n <aui-field>\n <aui-checkbox>Other</aui-checkbox>\n </aui-field>\n </aui-fieldset>\n </aui-inset>\n </aui-content>\n <aui-footer>\n <aui-button-group>\n <aui-button scrim grow=\"1\">Skip</aui-button>\n <aui-button primary grow=\"1\">Continue</aui-button>\n </aui-button-group>\n </aui-footer>\n</aui-container>\n",
|
|
11933
14428
|
"description": "Survey with checkbox options, header/content/footer structure, and skip/continue actions."
|
|
11934
14429
|
}
|
|
11935
14430
|
]
|
|
@@ -11956,7 +14451,7 @@
|
|
|
11956
14451
|
"kind": "card",
|
|
11957
14452
|
"examples": [
|
|
11958
14453
|
{
|
|
11959
|
-
"html": "<aui-container kind=\"card\" bordered max-width=\"md\">\n <aui-header>\n <span slot=\"content\">\n <aui-segmented-control value=\"codespaces\">\n <aui-segment value=\"codespaces\">Codespaces</aui-segment>\n <aui-segment value=\"local\">Local</aui-segment>\n </aui-segmented-control>\n </span>\n </aui-header>\n <aui-header>\n <span slot=\"leading\">\n <aui-stack gap=\"1\">\n <aui-heading size=\"md\">Codespaces</aui-heading>\n <aui-text muted size=\"sm\">Your workspaces in the cloud</aui-text>\n </aui-stack>\n </span>\n <span slot=\"trailing\">\n <aui-button label=\"Add\" icon-leading=\"plus\" scrim hide-label></aui-button>\n </span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-stack gap=\"6\" align-items=\"center\" text=\"center\" style=\"padding: 1.5rem 0;\">\n <div style=\"width: 6rem; height: 6rem; border-radius: var(--aui-radius); background: linear-gradient(135deg, var(--aui-control) 0%, var(--aui-panel) 100%); display: flex; align-items: center; justify-content: center;\">\n <aui-icon name=\"gear\"
|
|
14454
|
+
"html": "<aui-container kind=\"card\" bordered max-width=\"md\">\n <aui-header>\n <span slot=\"content\">\n <aui-segmented-control value=\"codespaces\">\n <aui-segment value=\"codespaces\">Codespaces</aui-segment>\n <aui-segment value=\"local\">Local</aui-segment>\n </aui-segmented-control>\n </span>\n </aui-header>\n <aui-header>\n <span slot=\"leading\">\n <aui-stack gap=\"1\">\n <aui-heading size=\"md\">Codespaces</aui-heading>\n <aui-text muted size=\"sm\">Your workspaces in the cloud</aui-text>\n </aui-stack>\n </span>\n <span slot=\"trailing\">\n <aui-button label=\"Add\" icon-leading=\"plus\" scrim hide-label></aui-button>\n </span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-stack gap=\"6\" align-items=\"center\" text=\"center\" style=\"padding: 1.5rem 0;\">\n <div style=\"width: 6rem; height: 6rem; border-radius: var(--aui-radius); background: linear-gradient(135deg, var(--aui-control) 0%, var(--aui-panel) 100%); display: flex; align-items: center; justify-content: center;\">\n <aui-icon name=\"gear\" size=\"3xl\" muted></aui-icon>\n </div>\n <aui-stack gap=\"1\">\n <aui-heading size=\"md\">No codespaces</aui-heading>\n <aui-text muted size=\"sm\">You don't have any codespaces with this repository checked out</aui-text>\n </aui-stack>\n <aui-button primary accent>Create Codespace</aui-button>\n <aui-text muted size=\"xs\"><a href=\"#\">Learn more about codespaces</a></aui-text>\n </aui-stack>\n </aui-inset>\n </aui-content>\n <aui-footer>\n <span slot=\"content\"><aui-text muted size=\"xs\">Codespace usage for this repository is paid for by <strong>AgentOS</strong>.</aui-text></span>\n </aui-footer>\n</aui-container>\n",
|
|
11960
14455
|
"description": "Codespaces panel with tab selector and empty state."
|
|
11961
14456
|
}
|
|
11962
14457
|
]
|
|
@@ -11965,21 +14460,16 @@
|
|
|
11965
14460
|
"name": "team-empty",
|
|
11966
14461
|
"type": "block",
|
|
11967
14462
|
"summary": "Empty state for team member lists with invite action.",
|
|
11968
|
-
"description": "An inviting empty state shown when a team or project has no members yet.
|
|
14463
|
+
"description": "An inviting empty state shown when a team or project has no members yet. Uses aui-empty-state with a users icon, heading, description, and an invite action button. Purpose-built for team contexts.\n",
|
|
11969
14464
|
"components": [
|
|
11970
14465
|
"aui-container",
|
|
11971
|
-
"aui-
|
|
11972
|
-
"aui-stack",
|
|
11973
|
-
"aui-heading",
|
|
11974
|
-
"aui-text",
|
|
11975
|
-
"aui-avatar",
|
|
11976
|
-
"aui-icon",
|
|
14466
|
+
"aui-empty-state",
|
|
11977
14467
|
"aui-button"
|
|
11978
14468
|
],
|
|
11979
14469
|
"kind": "card",
|
|
11980
14470
|
"examples": [
|
|
11981
14471
|
{
|
|
11982
|
-
"html": "<aui-container kind=\"card\" bordered max-width=\"prose\">\n <aui-
|
|
14472
|
+
"html": "<aui-container kind=\"card\" bordered max-width=\"prose\">\n <aui-empty-state icon=\"users-three\" heading=\"No Team Members\" description=\"Invite your team to collaborate on this project.\">\n <aui-button accent>Invite Members</aui-button>\n </aui-empty-state>\n</aui-container>\n",
|
|
11983
14473
|
"description": "Team empty state with icon, heading, description, and invite button."
|
|
11984
14474
|
}
|
|
11985
14475
|
]
|
|
@@ -11987,8 +14477,8 @@
|
|
|
11987
14477
|
{
|
|
11988
14478
|
"name": "usage-billing",
|
|
11989
14479
|
"type": "block",
|
|
11990
|
-
"summary": "Billing usage panel with
|
|
11991
|
-
"description": "A card showing current billing cycle usage broken down by service line item. Each row has
|
|
14480
|
+
"summary": "Billing usage panel with progress circle rings and cost breakdown.",
|
|
14481
|
+
"description": "A card showing current billing cycle usage broken down by service line item. Each row has an aui-progress-circle size=\"sm\" showing utilization, a service name, and a cost or usage/limit value. Use for billing dashboards, plan overviews, or resource monitoring.\n",
|
|
11992
14482
|
"components": [
|
|
11993
14483
|
"aui-container",
|
|
11994
14484
|
"aui-header",
|
|
@@ -11997,13 +14487,14 @@
|
|
|
11997
14487
|
"aui-stack",
|
|
11998
14488
|
"aui-heading",
|
|
11999
14489
|
"aui-text",
|
|
12000
|
-
"aui-divider"
|
|
14490
|
+
"aui-divider",
|
|
14491
|
+
"aui-progress-circle"
|
|
12001
14492
|
],
|
|
12002
14493
|
"kind": "card",
|
|
12003
14494
|
"examples": [
|
|
12004
14495
|
{
|
|
12005
|
-
"html": "<aui-container kind=\"card\" bordered max-width=\"sm\">\n <aui-header>\n <span slot=\"content\"><aui-text muted size=\"sm\">5 days remaining in cycle</aui-text></span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-stack gap=\"0\">\n\n <!-- Edge Requests: 91% -->\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\" style=\"padding: 0.625rem 0;\">\n <
|
|
12006
|
-
"description": "Six billing line items with
|
|
14496
|
+
"html": "<aui-container kind=\"card\" bordered max-width=\"sm\">\n <aui-header>\n <span slot=\"content\"><aui-text muted size=\"sm\">5 days remaining in cycle</aui-text></span>\n </aui-header>\n <aui-content>\n <aui-inset>\n <aui-stack gap=\"0\">\n\n <!-- Edge Requests: 91% -->\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\" style=\"padding: 0.625rem 0;\">\n <aui-progress-circle value=\"91\" size=\"sm\"></aui-progress-circle>\n <aui-text size=\"sm\" spacer>Edge Requests</aui-text>\n <aui-text size=\"sm\" weight=\"medium\">$1.83K</aui-text>\n </aui-stack>\n <aui-divider></aui-divider>\n\n <!-- Fast Data Transfer: 73% -->\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\" style=\"padding: 0.625rem 0;\">\n <aui-progress-circle value=\"73\" size=\"sm\"></aui-progress-circle>\n <aui-text size=\"sm\" spacer>Fast Data Transfer</aui-text>\n <aui-text size=\"sm\" weight=\"medium\">$952.51</aui-text>\n </aui-stack>\n <aui-divider></aui-divider>\n\n <!-- Monitoring Data Points: 58% -->\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\" style=\"padding: 0.625rem 0;\">\n <aui-progress-circle value=\"58\" size=\"sm\"></aui-progress-circle>\n <aui-text size=\"sm\" spacer>Monitoring Data Points</aui-text>\n <aui-text size=\"sm\" weight=\"medium\">$901.20</aui-text>\n </aui-stack>\n <aui-divider></aui-divider>\n\n <!-- Web Analytics Events: 42% -->\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\" style=\"padding: 0.625rem 0;\">\n <aui-progress-circle value=\"42\" size=\"sm\"></aui-progress-circle>\n <aui-text size=\"sm\" spacer>Web Analytics Events</aui-text>\n <aui-text size=\"sm\" weight=\"medium\">$603.71</aui-text>\n </aui-stack>\n <aui-divider></aui-divider>\n\n <!-- ISR Writes: 26% (524K / 2M) -->\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\" style=\"padding: 0.625rem 0;\">\n <aui-progress-circle value=\"26\" size=\"sm\"></aui-progress-circle>\n <aui-text size=\"sm\" spacer>ISR Writes</aui-text>\n <aui-text muted size=\"sm\">524.52K / 2M</aui-text>\n </aui-stack>\n <aui-divider></aui-divider>\n\n <!-- Function Duration: 0.5% (5.11 / 1K GB Hrs) -->\n <aui-stack direction=\"row\" gap=\"2\" align-items=\"center\" style=\"padding: 0.625rem 0;\">\n <aui-progress-circle value=\"1\" size=\"sm\"></aui-progress-circle>\n <aui-text size=\"sm\" spacer>Function Duration</aui-text>\n <aui-text muted size=\"sm\">5.11 GB Hrs / 1K GB Hrs</aui-text>\n </aui-stack>\n\n </aui-stack>\n </aui-inset>\n </aui-content>\n</aui-container>\n",
|
|
14497
|
+
"description": "Six billing line items with aui-progress-circle size=\"sm\" at varied fill levels."
|
|
12007
14498
|
}
|
|
12008
14499
|
]
|
|
12009
14500
|
}
|