@adia-ai/web-components 0.0.1
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 +195 -0
- package/a2ui/dockables/action.js +152 -0
- package/a2ui/dockables/base.js +30 -0
- package/a2ui/dockables/controller.js +97 -0
- package/a2ui/dockables/data-source.js +103 -0
- package/a2ui/dockables/index.js +6 -0
- package/a2ui/dockables/lifecycle.js +84 -0
- package/a2ui/dockables/provider.js +59 -0
- package/a2ui/index.js +19 -0
- package/a2ui/manifest-runtime.js +226 -0
- package/a2ui/registry.js +200 -0
- package/a2ui/renderer.js +361 -0
- package/a2ui/root.js +152 -0
- package/a2ui/stream.js +243 -0
- package/a2ui/surface-manifest.js +294 -0
- package/a2ui/surface.js +222 -0
- package/a2ui/wire-factory.js +134 -0
- package/a2ui/wiring-engine.js +209 -0
- package/a2ui/wiring-registry.js +342 -0
- package/components/accordion/accordion.a2ui.json +129 -0
- package/components/accordion/accordion.css +133 -0
- package/components/accordion/accordion.js +125 -0
- package/components/accordion/accordion.yaml +527 -0
- package/components/action-list/action-list.a2ui.json +64 -0
- package/components/action-list/action-list.css +115 -0
- package/components/action-list/action-list.js +149 -0
- package/components/action-list/action-list.yaml +56 -0
- package/components/agent-artifact/agent-artifact.a2ui.json +99 -0
- package/components/agent-artifact/agent-artifact.css +94 -0
- package/components/agent-artifact/agent-artifact.js +169 -0
- package/components/agent-artifact/agent-artifact.yaml +71 -0
- package/components/agent-feedback-bar/agent-feedback-bar.a2ui.json +91 -0
- package/components/agent-feedback-bar/agent-feedback-bar.css +33 -0
- package/components/agent-feedback-bar/agent-feedback-bar.js +152 -0
- package/components/agent-feedback-bar/agent-feedback-bar.yaml +65 -0
- package/components/agent-questions/agent-questions.a2ui.json +89 -0
- package/components/agent-questions/agent-questions.css +146 -0
- package/components/agent-questions/agent-questions.js +189 -0
- package/components/agent-questions/agent-questions.yaml +63 -0
- package/components/agent-reasoning/agent-reasoning.a2ui.json +100 -0
- package/components/agent-reasoning/agent-reasoning.css +273 -0
- package/components/agent-reasoning/agent-reasoning.js +469 -0
- package/components/agent-reasoning/agent-reasoning.yaml +70 -0
- package/components/agent-suggestions/agent-suggestions.a2ui.json +87 -0
- package/components/agent-suggestions/agent-suggestions.css +18 -0
- package/components/agent-suggestions/agent-suggestions.js +87 -0
- package/components/agent-suggestions/agent-suggestions.yaml +59 -0
- package/components/agent-trace/agent-trace.a2ui.json +78 -0
- package/components/agent-trace/agent-trace.css +275 -0
- package/components/agent-trace/agent-trace.js +216 -0
- package/components/agent-trace/agent-trace.yaml +53 -0
- package/components/alert/alert.a2ui.json +211 -0
- package/components/alert/alert.css +88 -0
- package/components/alert/alert.js +96 -0
- package/components/alert/alert.yaml +205 -0
- package/components/avatar/avatar.a2ui.json +215 -0
- package/components/avatar/avatar.css +159 -0
- package/components/avatar/avatar.js +157 -0
- package/components/avatar/avatar.yaml +559 -0
- package/components/badge/badge.a2ui.json +169 -0
- package/components/badge/badge.css +78 -0
- package/components/badge/badge.js +53 -0
- package/components/badge/badge.yaml +612 -0
- package/components/block/block.a2ui.json +135 -0
- package/components/block/block.css +29 -0
- package/components/block/block.js +23 -0
- package/components/block/block.yaml +115 -0
- package/components/breadcrumb/breadcrumb.a2ui.json +86 -0
- package/components/breadcrumb/breadcrumb.css +78 -0
- package/components/breadcrumb/breadcrumb.js +44 -0
- package/components/breadcrumb/breadcrumb.yaml +84 -0
- package/components/button/button.a2ui.json +172 -0
- package/components/button/button.css +168 -0
- package/components/button/button.js +60 -0
- package/components/button/button.yaml +120 -0
- package/components/calendar-picker/calendar-picker.a2ui.json +139 -0
- package/components/calendar-picker/calendar-picker.css +321 -0
- package/components/calendar-picker/calendar-picker.js +324 -0
- package/components/calendar-picker/calendar-picker.yaml +243 -0
- package/components/canvas/canvas.a2ui.json +75 -0
- package/components/canvas/canvas.css +52 -0
- package/components/canvas/canvas.js +179 -0
- package/components/canvas/canvas.yaml +62 -0
- package/components/card/card.a2ui.json +276 -0
- package/components/card/card.css +362 -0
- package/components/card/card.js +58 -0
- package/components/card/card.yaml +527 -0
- package/components/chart/chart.a2ui.json +298 -0
- package/components/chart/chart.css +512 -0
- package/components/chart/chart.js +1075 -0
- package/components/chart/chart.yaml +540 -0
- package/components/chat/chat-input.css +141 -0
- package/components/chat/chat-input.js +242 -0
- package/components/chat/chat.a2ui.json +181 -0
- package/components/chat/chat.css +193 -0
- package/components/chat/chat.js +155 -0
- package/components/chat/chat.yaml +230 -0
- package/components/check/check.a2ui.json +134 -0
- package/components/check/check.css +126 -0
- package/components/check/check.js +58 -0
- package/components/check/check.yaml +109 -0
- package/components/code/code.a2ui.json +153 -0
- package/components/code/code.css +133 -0
- package/components/code/code.js +114 -0
- package/components/code/code.yaml +163 -0
- package/components/col/col.a2ui.json +104 -0
- package/components/col/col.css +36 -0
- package/components/col/col.js +19 -0
- package/components/col/col.yaml +364 -0
- package/components/color-picker/color-picker.a2ui.json +100 -0
- package/components/color-picker/color-picker.css +182 -0
- package/components/color-picker/color-picker.js +537 -0
- package/components/color-picker/color-picker.yaml +105 -0
- package/components/command/command.a2ui.json +221 -0
- package/components/command/command.css +251 -0
- package/components/command/command.js +284 -0
- package/components/command/command.yaml +186 -0
- package/components/description-list/description-list.a2ui.json +89 -0
- package/components/description-list/description-list.css +70 -0
- package/components/description-list/description-list.js +75 -0
- package/components/description-list/description-list.yaml +59 -0
- package/components/divider/divider.a2ui.json +126 -0
- package/components/divider/divider.css +102 -0
- package/components/divider/divider.js +47 -0
- package/components/divider/divider.yaml +366 -0
- package/components/drawer/drawer.a2ui.json +199 -0
- package/components/drawer/drawer.css +342 -0
- package/components/drawer/drawer.js +263 -0
- package/components/drawer/drawer.yaml +366 -0
- package/components/embed/embed.a2ui.json +150 -0
- package/components/embed/embed.css +28 -0
- package/components/embed/embed.js +63 -0
- package/components/embed/embed.yaml +224 -0
- package/components/empty-state/empty-state.a2ui.json +133 -0
- package/components/empty-state/empty-state.css +58 -0
- package/components/empty-state/empty-state.js +87 -0
- package/components/empty-state/empty-state.yaml +314 -0
- package/components/footer/footer.a2ui.json +79 -0
- package/components/footer/footer.yaml +239 -0
- package/components/grid/grid.a2ui.json +171 -0
- package/components/grid/grid.css +37 -0
- package/components/grid/grid.js +21 -0
- package/components/grid/grid.yaml +577 -0
- package/components/header/header.a2ui.json +76 -0
- package/components/header/header.yaml +336 -0
- package/components/heatmap/heatmap.a2ui.json +150 -0
- package/components/heatmap/heatmap.css +146 -0
- package/components/heatmap/heatmap.js +246 -0
- package/components/heatmap/heatmap.yaml +131 -0
- package/components/icon/icon.a2ui.json +79 -0
- package/components/icon/icon.css +20 -0
- package/components/icon/icon.js +26 -0
- package/components/icon/icon.yaml +233 -0
- package/components/image/image.a2ui.json +261 -0
- package/components/image/image.css +76 -0
- package/components/image/image.js +102 -0
- package/components/image/image.yaml +477 -0
- package/components/index.js +85 -0
- package/components/input/input.a2ui.json +284 -0
- package/components/input/input.css +162 -0
- package/components/input/input.js +148 -0
- package/components/input/input.yaml +496 -0
- package/components/inspector/inspector.a2ui.json +67 -0
- package/components/inspector/inspector.css +31 -0
- package/components/inspector/inspector.js +133 -0
- package/components/inspector/inspector.yaml +58 -0
- package/components/kbd/kbd.a2ui.json +96 -0
- package/components/kbd/kbd.css +62 -0
- package/components/kbd/kbd.js +24 -0
- package/components/kbd/kbd.yaml +213 -0
- package/components/list/list.a2ui.json +145 -0
- package/components/list/list.css +103 -0
- package/components/list/list.js +236 -0
- package/components/list/list.yaml +122 -0
- package/components/menu/menu.a2ui.json +146 -0
- package/components/menu/menu.css +146 -0
- package/components/menu/menu.js +296 -0
- package/components/menu/menu.yaml +123 -0
- package/components/modal/modal.a2ui.json +136 -0
- package/components/modal/modal.css +153 -0
- package/components/modal/modal.js +181 -0
- package/components/modal/modal.yaml +114 -0
- package/components/noodles/noodles.a2ui.json +145 -0
- package/components/noodles/noodles.css +118 -0
- package/components/noodles/noodles.js +470 -0
- package/components/noodles/noodles.yaml +123 -0
- package/components/otp-input/otp-input.a2ui.json +104 -0
- package/components/otp-input/otp-input.css +78 -0
- package/components/otp-input/otp-input.js +170 -0
- package/components/otp-input/otp-input.yaml +218 -0
- package/components/pagination/pagination.a2ui.json +122 -0
- package/components/pagination/pagination.css +162 -0
- package/components/pagination/pagination.js +185 -0
- package/components/pagination/pagination.yaml +165 -0
- package/components/pane/pane.a2ui.json +94 -0
- package/components/pane/pane.css +166 -0
- package/components/pane/pane.js +140 -0
- package/components/pane/pane.yaml +197 -0
- package/components/pipeline-status/pipeline-status.a2ui.json +90 -0
- package/components/pipeline-status/pipeline-status.css +162 -0
- package/components/pipeline-status/pipeline-status.js +176 -0
- package/components/pipeline-status/pipeline-status.yaml +99 -0
- package/components/popover/popover.a2ui.json +181 -0
- package/components/popover/popover.css +57 -0
- package/components/popover/popover.js +170 -0
- package/components/popover/popover.yaml +257 -0
- package/components/progress/progress.a2ui.json +199 -0
- package/components/progress/progress.css +88 -0
- package/components/progress/progress.js +64 -0
- package/components/progress/progress.yaml +342 -0
- package/components/progress-row/progress-row.a2ui.json +100 -0
- package/components/progress-row/progress-row.css +57 -0
- package/components/progress-row/progress-row.js +92 -0
- package/components/progress-row/progress-row.yaml +87 -0
- package/components/radio/radio.a2ui.json +232 -0
- package/components/radio/radio.css +102 -0
- package/components/radio/radio.js +73 -0
- package/components/radio/radio.yaml +248 -0
- package/components/range/range.a2ui.json +151 -0
- package/components/range/range.css +148 -0
- package/components/range/range.js +177 -0
- package/components/range/range.yaml +188 -0
- package/components/rating/rating.a2ui.json +105 -0
- package/components/rating/rating.css +92 -0
- package/components/rating/rating.js +138 -0
- package/components/rating/rating.yaml +74 -0
- package/components/richtext/richtext.a2ui.json +82 -0
- package/components/richtext/richtext.css +225 -0
- package/components/richtext/richtext.js +74 -0
- package/components/richtext/richtext.yaml +89 -0
- package/components/row/row.a2ui.json +102 -0
- package/components/row/row.css +51 -0
- package/components/row/row.js +39 -0
- package/components/row/row.yaml +358 -0
- package/components/search/search.a2ui.json +186 -0
- package/components/search/search.css +28 -0
- package/components/search/search.js +124 -0
- package/components/search/search.yaml +154 -0
- package/components/section/section.a2ui.json +78 -0
- package/components/section/section.yaml +338 -0
- package/components/segment/segment.a2ui.json +100 -0
- package/components/segment/segment.css +81 -0
- package/components/segment/segment.js +32 -0
- package/components/segment/segment.yaml +216 -0
- package/components/segmented/segmented.a2ui.json +106 -0
- package/components/segmented/segmented.css +67 -0
- package/components/segmented/segmented.js +149 -0
- package/components/segmented/segmented.yaml +91 -0
- package/components/select/select.a2ui.json +203 -0
- package/components/select/select.css +277 -0
- package/components/select/select.js +388 -0
- package/components/select/select.yaml +375 -0
- package/components/skeleton/skeleton.a2ui.json +120 -0
- package/components/skeleton/skeleton.css +47 -0
- package/components/skeleton/skeleton.js +43 -0
- package/components/skeleton/skeleton.yaml +153 -0
- package/components/slider/slider.a2ui.json +162 -0
- package/components/slider/slider.css +137 -0
- package/components/slider/slider.js +162 -0
- package/components/slider/slider.yaml +299 -0
- package/components/stack/stack.a2ui.json +62 -0
- package/components/stack/stack.css +28 -0
- package/components/stack/stack.js +18 -0
- package/components/stack/stack.yaml +54 -0
- package/components/stat/stat.a2ui.json +246 -0
- package/components/stat/stat.css +101 -0
- package/components/stat/stat.js +91 -0
- package/components/stat/stat.yaml +206 -0
- package/components/stepper/stepper.a2ui.json +77 -0
- package/components/stepper/stepper.css +243 -0
- package/components/stepper/stepper.js +118 -0
- package/components/stepper/stepper.yaml +73 -0
- package/components/stream/stream.a2ui.json +98 -0
- package/components/stream/stream.css +37 -0
- package/components/stream/stream.js +99 -0
- package/components/stream/stream.yaml +87 -0
- package/components/swiper/swiper.a2ui.json +140 -0
- package/components/swiper/swiper.css +267 -0
- package/components/swiper/swiper.js +285 -0
- package/components/swiper/swiper.yaml +268 -0
- package/components/switch/switch.a2ui.json +134 -0
- package/components/switch/switch.css +104 -0
- package/components/switch/switch.js +53 -0
- package/components/switch/switch.yaml +322 -0
- package/components/table/cell-types.js +296 -0
- package/components/table/table.a2ui.json +458 -0
- package/components/table/table.css +531 -0
- package/components/table/table.js +1392 -0
- package/components/table/table.yaml +528 -0
- package/components/tabs/tab.js +34 -0
- package/components/tabs/tabs.a2ui.json +174 -0
- package/components/tabs/tabs.css +162 -0
- package/components/tabs/tabs.js +226 -0
- package/components/tabs/tabs.yaml +255 -0
- package/components/tag/tag.a2ui.json +148 -0
- package/components/tag/tag.css +118 -0
- package/components/tag/tag.js +88 -0
- package/components/tag/tag.yaml +125 -0
- package/components/text/text.a2ui.json +99 -0
- package/components/text/text.css +65 -0
- package/components/text/text.js +35 -0
- package/components/text/text.yaml +360 -0
- package/components/textarea/textarea.a2ui.json +91 -0
- package/components/textarea/textarea.css +93 -0
- package/components/textarea/textarea.js +114 -0
- package/components/textarea/textarea.yaml +79 -0
- package/components/timeline/timeline.a2ui.json +82 -0
- package/components/timeline/timeline.css +389 -0
- package/components/timeline/timeline.js +171 -0
- package/components/timeline/timeline.yaml +185 -0
- package/components/toast/toast.a2ui.json +199 -0
- package/components/toast/toast.css +211 -0
- package/components/toast/toast.js +146 -0
- package/components/toast/toast.yaml +184 -0
- package/components/toggle-group/toggle-group.a2ui.json +126 -0
- package/components/toggle-group/toggle-group.css +102 -0
- package/components/toggle-group/toggle-group.js +147 -0
- package/components/toggle-group/toggle-group.yaml +98 -0
- package/components/toolbar/toolbar.a2ui.json +131 -0
- package/components/toolbar/toolbar.css +132 -0
- package/components/toolbar/toolbar.js +366 -0
- package/components/toolbar/toolbar.yaml +238 -0
- package/components/tooltip/tooltip.a2ui.json +148 -0
- package/components/tooltip/tooltip.css +39 -0
- package/components/tooltip/tooltip.js +96 -0
- package/components/tooltip/tooltip.yaml +201 -0
- package/components/tree/tree.a2ui.json +119 -0
- package/components/tree/tree.css +133 -0
- package/components/tree/tree.js +253 -0
- package/components/tree/tree.yaml +92 -0
- package/components/upload/upload.a2ui.json +185 -0
- package/components/upload/upload.css +115 -0
- package/components/upload/upload.js +189 -0
- package/components/upload/upload.yaml +302 -0
- package/core/anchor.js +187 -0
- package/core/controller.js +182 -0
- package/core/element.js +257 -0
- package/core/form.js +217 -0
- package/core/icons.js +180 -0
- package/core/markdown.js +95 -0
- package/core/polyfills.js +23 -0
- package/core/provider.js +262 -0
- package/core/signals.js +113 -0
- package/core/template.js +226 -0
- package/core/transport.js +77 -0
- package/package.json +38 -0
- package/patterns/adia-chat/adia-chat.a2ui.json +149 -0
- package/patterns/adia-chat/adia-chat.css +10 -0
- package/patterns/adia-chat/adia-chat.js +297 -0
- package/patterns/adia-chat/adia-chat.yaml +118 -0
- package/patterns/adia-chat/css/adia-chat.empty.css +12 -0
- package/patterns/adia-chat/css/adia-chat.layout.css +60 -0
- package/patterns/adia-chat/css/adia-chat.markdown.css +74 -0
- package/patterns/adia-chat/css/adia-chat.messages.css +87 -0
- package/patterns/adia-chat/css/adia-chat.streaming.css +30 -0
- package/patterns/adia-chat/css/adia-chat.tokens.css +95 -0
- package/patterns/adia-chat/index.html +93 -0
- package/patterns/adia-editor/adia-editor.a2ui.json +58 -0
- package/patterns/adia-editor/adia-editor.css +6 -0
- package/patterns/adia-editor/adia-editor.js +56 -0
- package/patterns/adia-editor/adia-editor.yaml +36 -0
- package/patterns/adia-editor/css/adia-editor.layout.css +86 -0
- package/patterns/adia-editor/css/adia-editor.tokens.css +28 -0
- package/patterns/adia-editor/index.html +179 -0
- package/patterns/app-nav/app-nav.a2ui.json +89 -0
- package/patterns/app-nav/app-nav.css +92 -0
- package/patterns/app-nav/app-nav.js +99 -0
- package/patterns/app-nav/app-nav.yaml +54 -0
- package/patterns/app-nav-group/app-nav-group.a2ui.json +82 -0
- package/patterns/app-nav-group/app-nav-group.css +261 -0
- package/patterns/app-nav-group/app-nav-group.js +116 -0
- package/patterns/app-nav-group/app-nav-group.yaml +59 -0
- package/patterns/app-nav-item/app-nav-item.a2ui.json +83 -0
- package/patterns/app-nav-item/app-nav-item.css +156 -0
- package/patterns/app-nav-item/app-nav-item.js +42 -0
- package/patterns/app-nav-item/app-nav-item.yaml +62 -0
- package/patterns/app-shell/app-shell.a2ui.json +114 -0
- package/patterns/app-shell/app-shell.css +14 -0
- package/patterns/app-shell/app-shell.js +251 -0
- package/patterns/app-shell/app-shell.yaml +66 -0
- package/patterns/app-shell/css/app-shell.collapsed.css +86 -0
- package/patterns/app-shell/css/app-shell.helpers.css +42 -0
- package/patterns/app-shell/css/app-shell.main.css +58 -0
- package/patterns/app-shell/css/app-shell.shell.css +44 -0
- package/patterns/app-shell/css/app-shell.sidebar.css +116 -0
- package/patterns/app-shell/css/app-shell.templates.css +214 -0
- package/patterns/app-shell/css/app-shell.tokens.css +116 -0
- package/patterns/app-shell/index.html +112 -0
- package/patterns/gen-ui/gen-ui.a2ui.json +72 -0
- package/patterns/gen-ui/gen-ui.css +83 -0
- package/patterns/gen-ui/gen-ui.js +136 -0
- package/patterns/gen-ui/gen-ui.yaml +43 -0
- package/patterns/index.js +10 -0
- package/patterns/section-nav/section-nav.a2ui.json +91 -0
- package/patterns/section-nav/section-nav.css +59 -0
- package/patterns/section-nav/section-nav.js +42 -0
- package/patterns/section-nav/section-nav.yaml +58 -0
- package/patterns/section-nav-group/section-nav-group.a2ui.json +95 -0
- package/patterns/section-nav-group/section-nav-group.css +74 -0
- package/patterns/section-nav-group/section-nav-group.js +84 -0
- package/patterns/section-nav-group/section-nav-group.yaml +66 -0
- package/patterns/section-nav-item/section-nav-item.a2ui.json +97 -0
- package/patterns/section-nav-item/section-nav-item.css +96 -0
- package/patterns/section-nav-item/section-nav-item.js +66 -0
- package/patterns/section-nav-item/section-nav-item.yaml +70 -0
- package/styles/colors/index.css +6 -0
- package/styles/colors/parameters.css +52 -0
- package/styles/colors/primitives-accent.css +89 -0
- package/styles/colors/primitives-brand.css +89 -0
- package/styles/colors/primitives-danger.css +89 -0
- package/styles/colors/primitives-info.css +89 -0
- package/styles/colors/primitives-neutral.css +91 -0
- package/styles/colors/primitives-shared.css +57 -0
- package/styles/colors/primitives-success.css +89 -0
- package/styles/colors/primitives-warning.css +89 -0
- package/styles/colors/primitives.css +17 -0
- package/styles/colors/scrims.css +182 -0
- package/styles/colors/semantics.css +595 -0
- package/styles/colors/surfaces.css +43 -0
- package/styles/fonts.css +99 -0
- package/styles/layouts/admin.css +7 -0
- package/styles/prose.css +186 -0
- package/styles/styles.css +193 -0
- package/styles/themes.css +155 -0
- package/styles/tokens.css +304 -0
- package/styles/typography.css +853 -0
- package/traits/active-state.js +24 -0
- package/traits/anchor-positioning.js +66 -0
- package/traits/attention-pulse.js +30 -0
- package/traits/confetti-burst.js +65 -0
- package/traits/confetti.js +57 -0
- package/traits/count-up.js +42 -0
- package/traits/define.js +76 -0
- package/traits/dirty-state.js +38 -0
- package/traits/drag-ghost.js +38 -0
- package/traits/draggable.js +73 -0
- package/traits/fade-presence.js +52 -0
- package/traits/focus-trap.js +63 -0
- package/traits/focusable.js +38 -0
- package/traits/glow-focus.js +33 -0
- package/traits/gradient-shift.js +32 -0
- package/traits/haptic-feedback.js +28 -0
- package/traits/hotkey.js +62 -0
- package/traits/hoverable.js +26 -0
- package/traits/index.js +55 -0
- package/traits/inertia-drag.js +133 -0
- package/traits/intersection-observer.js +33 -0
- package/traits/keyboard-nav.js +36 -0
- package/traits/magnetic-hover.js +37 -0
- package/traits/noise-texture.js +30 -0
- package/traits/parallax.js +42 -0
- package/traits/portal.js +27 -0
- package/traits/pressable.js +75 -0
- package/traits/resizable.js +100 -0
- package/traits/resize-observer.js +31 -0
- package/traits/ripple.js +53 -0
- package/traits/roving-tabindex.js +67 -0
- package/traits/scale-press.js +43 -0
- package/traits/scroll-lock.js +27 -0
- package/traits/shimmer-loading.js +44 -0
- package/traits/snap-to-grid.js +28 -0
- package/traits/sound-feedback.js +30 -0
- package/traits/spring-animate.js +56 -0
- package/traits/tilt-hover.js +37 -0
- package/traits/tossable.js +178 -0
- package/traits/typeahead.js +63 -0
- package/traits/typewriter.js +35 -0
- package/traits/validation.js +118 -0
|
@@ -0,0 +1,612 @@
|
|
|
1
|
+
# Generated by scripts/migrate-yamls-to-v1.mjs — migrated to v1 contract.
|
|
2
|
+
# Edit this file; run `npm run build:components` to regenerate a2ui.json.
|
|
3
|
+
$schema: ../../../../scripts/schemas/component.yaml.schema.json
|
|
4
|
+
name: AdiaBadge
|
|
5
|
+
tag: badge-ui
|
|
6
|
+
component: Badge
|
|
7
|
+
category: display
|
|
8
|
+
version: 1
|
|
9
|
+
description: Inline pill-shaped badge/tag. Text rendered via CSS attr().
|
|
10
|
+
props:
|
|
11
|
+
icon:
|
|
12
|
+
description: Optional leading icon (any registered name). Use icon="dot" for chart-legend /
|
|
13
|
+
status-pip chips. Inherits the variant's foreground color so the dot matches the label.
|
|
14
|
+
type: string
|
|
15
|
+
default: ""
|
|
16
|
+
size:
|
|
17
|
+
description: Badge size
|
|
18
|
+
type: string
|
|
19
|
+
default: md
|
|
20
|
+
enum:
|
|
21
|
+
- xs
|
|
22
|
+
- sm
|
|
23
|
+
- md
|
|
24
|
+
- lg
|
|
25
|
+
- xl
|
|
26
|
+
status:
|
|
27
|
+
description: Semantic status shorthand. Auto-maps to variant and sets text.
|
|
28
|
+
type: string
|
|
29
|
+
default: ""
|
|
30
|
+
enum:
|
|
31
|
+
- New
|
|
32
|
+
- Updated
|
|
33
|
+
- Deprecated
|
|
34
|
+
- Removed
|
|
35
|
+
- Beta
|
|
36
|
+
text:
|
|
37
|
+
description: Badge text content. Falls back to existing textContent.
|
|
38
|
+
type: string
|
|
39
|
+
default: ""
|
|
40
|
+
variant:
|
|
41
|
+
description: Semantic color variant.
|
|
42
|
+
type: string
|
|
43
|
+
default: default
|
|
44
|
+
enum:
|
|
45
|
+
- default
|
|
46
|
+
- accent
|
|
47
|
+
- info
|
|
48
|
+
- success
|
|
49
|
+
- warning
|
|
50
|
+
- danger
|
|
51
|
+
- primary
|
|
52
|
+
- soft
|
|
53
|
+
- outline
|
|
54
|
+
- muted
|
|
55
|
+
- neutral
|
|
56
|
+
events: {}
|
|
57
|
+
slots: {}
|
|
58
|
+
states:
|
|
59
|
+
- name: idle
|
|
60
|
+
description: Default, ready for interaction.
|
|
61
|
+
traits: []
|
|
62
|
+
tokens: {}
|
|
63
|
+
a2ui:
|
|
64
|
+
rules: []
|
|
65
|
+
anti_patterns: []
|
|
66
|
+
examples:
|
|
67
|
+
- name: chart-legend
|
|
68
|
+
description: "Horizontal chart legend — Row of Badges with icon=\"dot\". Each badge's variant
|
|
69
|
+
supplies the dot color. CANONICAL PATTERN: do NOT compose legends as Row(Row(Badge[text=●],
|
|
70
|
+
Text), …) — that produces rows-of-rows markup. Use one Badge[icon=dot, text=label,
|
|
71
|
+
variant=color] per series instead."
|
|
72
|
+
a2ui: >-
|
|
73
|
+
[
|
|
74
|
+
{
|
|
75
|
+
"id": "legend",
|
|
76
|
+
"component": "Row",
|
|
77
|
+
"gap": "3",
|
|
78
|
+
"align": "center",
|
|
79
|
+
"children": [
|
|
80
|
+
"l1",
|
|
81
|
+
"l2",
|
|
82
|
+
"l3",
|
|
83
|
+
"l4"
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"id": "l1",
|
|
88
|
+
"component": "Badge",
|
|
89
|
+
"icon": "dot",
|
|
90
|
+
"text": "Organic",
|
|
91
|
+
"variant": "accent",
|
|
92
|
+
"size": "sm"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"id": "l2",
|
|
96
|
+
"component": "Badge",
|
|
97
|
+
"icon": "dot",
|
|
98
|
+
"text": "Direct",
|
|
99
|
+
"variant": "success",
|
|
100
|
+
"size": "sm"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"id": "l3",
|
|
104
|
+
"component": "Badge",
|
|
105
|
+
"icon": "dot",
|
|
106
|
+
"text": "Referral",
|
|
107
|
+
"variant": "warning",
|
|
108
|
+
"size": "sm"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "l4",
|
|
112
|
+
"component": "Badge",
|
|
113
|
+
"icon": "dot",
|
|
114
|
+
"text": "Social",
|
|
115
|
+
"variant": "info",
|
|
116
|
+
"size": "sm"
|
|
117
|
+
}
|
|
118
|
+
]
|
|
119
|
+
- name: bookmark-list
|
|
120
|
+
description: Card with categorized list of bookmark items featuring icon, title, and badge.
|
|
121
|
+
a2ui: >-
|
|
122
|
+
[
|
|
123
|
+
{
|
|
124
|
+
"id": "root",
|
|
125
|
+
"component": "Card",
|
|
126
|
+
"children": [
|
|
127
|
+
"hdr",
|
|
128
|
+
"sec"
|
|
129
|
+
]
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"id": "hdr",
|
|
133
|
+
"component": "Header",
|
|
134
|
+
"children": [
|
|
135
|
+
"title"
|
|
136
|
+
]
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"id": "title",
|
|
140
|
+
"component": "Text",
|
|
141
|
+
"slot": "heading",
|
|
142
|
+
"textContent": "Bookmarks",
|
|
143
|
+
"variant": "section"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"id": "sec",
|
|
147
|
+
"component": "Section",
|
|
148
|
+
"children": [
|
|
149
|
+
"categories"
|
|
150
|
+
]
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"id": "categories",
|
|
154
|
+
"component": "Column",
|
|
155
|
+
"children": [
|
|
156
|
+
"cat-label-dev",
|
|
157
|
+
"item1",
|
|
158
|
+
"item2",
|
|
159
|
+
"cat-label-design",
|
|
160
|
+
"item3"
|
|
161
|
+
],
|
|
162
|
+
"gap": "2"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"id": "cat-label-dev",
|
|
166
|
+
"component": "Text",
|
|
167
|
+
"variant": "caption",
|
|
168
|
+
"textContent": "Development"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"id": "item1",
|
|
172
|
+
"component": "Row",
|
|
173
|
+
"children": [
|
|
174
|
+
"icon1",
|
|
175
|
+
"title1",
|
|
176
|
+
"badge1"
|
|
177
|
+
],
|
|
178
|
+
"gap": "2"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"id": "icon1",
|
|
182
|
+
"component": "Icon",
|
|
183
|
+
"name": "code"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"id": "title1",
|
|
187
|
+
"component": "Text",
|
|
188
|
+
"textContent": "GitHub Repository"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"id": "badge1",
|
|
192
|
+
"component": "Badge",
|
|
193
|
+
"text": "Pinned",
|
|
194
|
+
"variant": "default"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"id": "item2",
|
|
198
|
+
"component": "Row",
|
|
199
|
+
"children": [
|
|
200
|
+
"icon2",
|
|
201
|
+
"title2",
|
|
202
|
+
"badge2"
|
|
203
|
+
],
|
|
204
|
+
"gap": "2"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"id": "icon2",
|
|
208
|
+
"component": "Icon",
|
|
209
|
+
"name": "file-text"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"id": "title2",
|
|
213
|
+
"component": "Text",
|
|
214
|
+
"textContent": "API Documentation"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"id": "badge2",
|
|
218
|
+
"component": "Badge",
|
|
219
|
+
"text": "New",
|
|
220
|
+
"variant": "info"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"id": "cat-label-design",
|
|
224
|
+
"component": "Text",
|
|
225
|
+
"variant": "caption",
|
|
226
|
+
"textContent": "Design"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"id": "item3",
|
|
230
|
+
"component": "Row",
|
|
231
|
+
"children": [
|
|
232
|
+
"icon3",
|
|
233
|
+
"title3",
|
|
234
|
+
"badge3"
|
|
235
|
+
],
|
|
236
|
+
"gap": "2"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"id": "icon3",
|
|
240
|
+
"component": "Icon",
|
|
241
|
+
"name": "palette"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"id": "title3",
|
|
245
|
+
"component": "Text",
|
|
246
|
+
"textContent": "Figma Project"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"id": "badge3",
|
|
250
|
+
"component": "Badge",
|
|
251
|
+
"text": "3",
|
|
252
|
+
"variant": "default"
|
|
253
|
+
}
|
|
254
|
+
]
|
|
255
|
+
- name: chart-dashboard
|
|
256
|
+
description: Dashboard with KPI stat grid and two chart cards.
|
|
257
|
+
a2ui: >-
|
|
258
|
+
[
|
|
259
|
+
{
|
|
260
|
+
"id": "root",
|
|
261
|
+
"component": "Column",
|
|
262
|
+
"children": [
|
|
263
|
+
"header-row",
|
|
264
|
+
"kpi-grid",
|
|
265
|
+
"chart-grid"
|
|
266
|
+
],
|
|
267
|
+
"gap": "4"
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"id": "header-row",
|
|
271
|
+
"component": "Row",
|
|
272
|
+
"children": [
|
|
273
|
+
"dash-title",
|
|
274
|
+
"dash-actions"
|
|
275
|
+
]
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"id": "dash-title",
|
|
279
|
+
"component": "Text",
|
|
280
|
+
"textContent": "Dashboard",
|
|
281
|
+
"variant": "title"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"id": "dash-actions",
|
|
285
|
+
"component": "Row",
|
|
286
|
+
"children": [
|
|
287
|
+
"export-btn"
|
|
288
|
+
],
|
|
289
|
+
"gap": "2"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"id": "export-btn",
|
|
293
|
+
"component": "Button",
|
|
294
|
+
"text": "Export",
|
|
295
|
+
"variant": "outline",
|
|
296
|
+
"size": "sm",
|
|
297
|
+
"icon": "download"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"id": "kpi-grid",
|
|
301
|
+
"component": "Grid",
|
|
302
|
+
"children": [
|
|
303
|
+
"k1",
|
|
304
|
+
"k2",
|
|
305
|
+
"k3",
|
|
306
|
+
"k4"
|
|
307
|
+
],
|
|
308
|
+
"columns": "4"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"id": "k1",
|
|
312
|
+
"component": "Card",
|
|
313
|
+
"children": [
|
|
314
|
+
"k1h",
|
|
315
|
+
"k1s"
|
|
316
|
+
]
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"id": "k1h",
|
|
320
|
+
"component": "Header",
|
|
321
|
+
"children": [
|
|
322
|
+
"k1l"
|
|
323
|
+
]
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"id": "k1l",
|
|
327
|
+
"component": "Text",
|
|
328
|
+
"slot": "heading",
|
|
329
|
+
"textContent": "Revenue",
|
|
330
|
+
"variant": "label"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"id": "k1s",
|
|
334
|
+
"component": "Section",
|
|
335
|
+
"children": [
|
|
336
|
+
"k1v",
|
|
337
|
+
"k1b"
|
|
338
|
+
]
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"id": "k1v",
|
|
342
|
+
"component": "Text",
|
|
343
|
+
"textContent": "$48.2k",
|
|
344
|
+
"variant": "title"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"id": "k1b",
|
|
348
|
+
"component": "Badge",
|
|
349
|
+
"text": "+12.5%",
|
|
350
|
+
"variant": "success",
|
|
351
|
+
"size": "sm"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"id": "k2",
|
|
355
|
+
"component": "Card",
|
|
356
|
+
"children": [
|
|
357
|
+
"k2h",
|
|
358
|
+
"k2s"
|
|
359
|
+
]
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"id": "k2h",
|
|
363
|
+
"component": "Header",
|
|
364
|
+
"children": [
|
|
365
|
+
"k2l"
|
|
366
|
+
]
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"id": "k2l",
|
|
370
|
+
"component": "Text",
|
|
371
|
+
"slot": "heading",
|
|
372
|
+
"textContent": "Users",
|
|
373
|
+
"variant": "label"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"id": "k2s",
|
|
377
|
+
"component": "Section",
|
|
378
|
+
"children": [
|
|
379
|
+
"k2v",
|
|
380
|
+
"k2b"
|
|
381
|
+
]
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"id": "k2v",
|
|
385
|
+
"component": "Text",
|
|
386
|
+
"textContent": "2,340",
|
|
387
|
+
"variant": "title"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"id": "k2b",
|
|
391
|
+
"component": "Badge",
|
|
392
|
+
"text": "+8%",
|
|
393
|
+
"variant": "success",
|
|
394
|
+
"size": "sm"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"id": "k3",
|
|
398
|
+
"component": "Card",
|
|
399
|
+
"children": [
|
|
400
|
+
"k3h",
|
|
401
|
+
"k3s"
|
|
402
|
+
]
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"id": "k3h",
|
|
406
|
+
"component": "Header",
|
|
407
|
+
"children": [
|
|
408
|
+
"k3l"
|
|
409
|
+
]
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"id": "k3l",
|
|
413
|
+
"component": "Text",
|
|
414
|
+
"slot": "heading",
|
|
415
|
+
"textContent": "Bounce",
|
|
416
|
+
"variant": "label"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"id": "k3s",
|
|
420
|
+
"component": "Section",
|
|
421
|
+
"children": [
|
|
422
|
+
"k3v",
|
|
423
|
+
"k3b"
|
|
424
|
+
]
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"id": "k3v",
|
|
428
|
+
"component": "Text",
|
|
429
|
+
"textContent": "24.3%",
|
|
430
|
+
"variant": "title"
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"id": "k3b",
|
|
434
|
+
"component": "Badge",
|
|
435
|
+
"text": "-3.1%",
|
|
436
|
+
"variant": "danger",
|
|
437
|
+
"size": "sm"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"id": "k4",
|
|
441
|
+
"component": "Card",
|
|
442
|
+
"children": [
|
|
443
|
+
"k4h",
|
|
444
|
+
"k4s"
|
|
445
|
+
]
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"id": "k4h",
|
|
449
|
+
"component": "Header",
|
|
450
|
+
"children": [
|
|
451
|
+
"k4l"
|
|
452
|
+
]
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"id": "k4l",
|
|
456
|
+
"component": "Text",
|
|
457
|
+
"slot": "heading",
|
|
458
|
+
"textContent": "Session",
|
|
459
|
+
"variant": "label"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"id": "k4s",
|
|
463
|
+
"component": "Section",
|
|
464
|
+
"children": [
|
|
465
|
+
"k4v",
|
|
466
|
+
"k4b"
|
|
467
|
+
]
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"id": "k4v",
|
|
471
|
+
"component": "Text",
|
|
472
|
+
"textContent": "4m 23s",
|
|
473
|
+
"variant": "title"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"id": "k4b",
|
|
477
|
+
"component": "Badge",
|
|
478
|
+
"text": "+15s",
|
|
479
|
+
"variant": "info",
|
|
480
|
+
"size": "sm"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"id": "chart-grid",
|
|
484
|
+
"component": "Grid",
|
|
485
|
+
"children": [
|
|
486
|
+
"ch1",
|
|
487
|
+
"ch2"
|
|
488
|
+
],
|
|
489
|
+
"columns": "2"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"id": "ch1",
|
|
493
|
+
"component": "Card",
|
|
494
|
+
"children": [
|
|
495
|
+
"ch1h",
|
|
496
|
+
"ch1s"
|
|
497
|
+
]
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"id": "ch1h",
|
|
501
|
+
"component": "Header",
|
|
502
|
+
"children": [
|
|
503
|
+
"ch1t"
|
|
504
|
+
]
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"id": "ch1t",
|
|
508
|
+
"component": "Text",
|
|
509
|
+
"slot": "heading",
|
|
510
|
+
"textContent": "Revenue",
|
|
511
|
+
"variant": "section"
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"id": "ch1s",
|
|
515
|
+
"component": "Section",
|
|
516
|
+
"children": [
|
|
517
|
+
"ch1-chart"
|
|
518
|
+
]
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"id": "ch1-chart",
|
|
522
|
+
"component": "Chart",
|
|
523
|
+
"type": "bar",
|
|
524
|
+
"x": "month",
|
|
525
|
+
"y": "revenue"
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"id": "ch2",
|
|
529
|
+
"component": "Card",
|
|
530
|
+
"children": [
|
|
531
|
+
"ch2h",
|
|
532
|
+
"ch2s"
|
|
533
|
+
]
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"id": "ch2h",
|
|
537
|
+
"component": "Header",
|
|
538
|
+
"children": [
|
|
539
|
+
"ch2t"
|
|
540
|
+
]
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"id": "ch2t",
|
|
544
|
+
"component": "Text",
|
|
545
|
+
"slot": "heading",
|
|
546
|
+
"textContent": "Users",
|
|
547
|
+
"variant": "section"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"id": "ch2s",
|
|
551
|
+
"component": "Section",
|
|
552
|
+
"children": [
|
|
553
|
+
"ch2-chart"
|
|
554
|
+
]
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"id": "ch2-chart",
|
|
558
|
+
"component": "Chart",
|
|
559
|
+
"type": "line",
|
|
560
|
+
"x": "month",
|
|
561
|
+
"y": "users"
|
|
562
|
+
}
|
|
563
|
+
]
|
|
564
|
+
keywords:
|
|
565
|
+
- badge
|
|
566
|
+
- chip
|
|
567
|
+
- label
|
|
568
|
+
- tag
|
|
569
|
+
- pill
|
|
570
|
+
- gamification
|
|
571
|
+
- notification
|
|
572
|
+
- legend
|
|
573
|
+
- status
|
|
574
|
+
- pip
|
|
575
|
+
- marker
|
|
576
|
+
synonyms:
|
|
577
|
+
tag:
|
|
578
|
+
- tag
|
|
579
|
+
- input
|
|
580
|
+
- badge
|
|
581
|
+
badge:
|
|
582
|
+
- badge
|
|
583
|
+
- showcase
|
|
584
|
+
- tag
|
|
585
|
+
- label
|
|
586
|
+
chip:
|
|
587
|
+
- badge
|
|
588
|
+
- tag
|
|
589
|
+
- input
|
|
590
|
+
gamification:
|
|
591
|
+
- leaderboard
|
|
592
|
+
- badge
|
|
593
|
+
- progress
|
|
594
|
+
label:
|
|
595
|
+
- badge
|
|
596
|
+
- tag
|
|
597
|
+
- divider
|
|
598
|
+
- label
|
|
599
|
+
notification:
|
|
600
|
+
- notification
|
|
601
|
+
- toast
|
|
602
|
+
- alert
|
|
603
|
+
- badge
|
|
604
|
+
pill:
|
|
605
|
+
- badge
|
|
606
|
+
- tag
|
|
607
|
+
related:
|
|
608
|
+
- button
|
|
609
|
+
- grid
|
|
610
|
+
- chart
|
|
611
|
+
- check-box
|
|
612
|
+
- avatar
|