@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,166 @@
|
|
|
1
|
+
@scope (pane-ui) {
|
|
2
|
+
/* Tokens — :where() for zero specificity so consumers can override */
|
|
3
|
+
:where(:scope) {
|
|
4
|
+
--pane-bg: var(--a-bg);
|
|
5
|
+
--pane-border: var(--a-border-subtle);
|
|
6
|
+
--pane-radius: var(--a-radius-lg);
|
|
7
|
+
/* Component-intrinsic measurement; no --a-space-* equivalent */
|
|
8
|
+
--pane-bar-height: 36px;
|
|
9
|
+
--pane-header-px: var(--a-space-3);
|
|
10
|
+
--pane-header-py: var(--a-space-2);
|
|
11
|
+
--pane-header-fg: var(--a-fg);
|
|
12
|
+
--pane-header-size: var(--a-ui-size);
|
|
13
|
+
--pane-header-weight: var(--a-weight-medium);
|
|
14
|
+
--pane-section-px: var(--a-space-3);
|
|
15
|
+
--pane-section-py: var(--a-space-2);
|
|
16
|
+
--pane-section-header-fg: var(--a-fg-muted);
|
|
17
|
+
--pane-section-header-size: var(--a-ui-tiny);
|
|
18
|
+
--pane-footer-px: var(--a-space-3);
|
|
19
|
+
--pane-footer-py: var(--a-space-2);
|
|
20
|
+
--pane-col-gap: var(--a-space-3);
|
|
21
|
+
/* Component-intrinsic measurement; no --a-space-* equivalent */
|
|
22
|
+
--pane-resize-width: 4px;
|
|
23
|
+
--pane-resize-fg: var(--a-border);
|
|
24
|
+
--pane-resize-fg-hover: var(--a-fg-muted);
|
|
25
|
+
|
|
26
|
+
/* ── Spacing ── */
|
|
27
|
+
--pane-gap-sm: var(--a-space-2);
|
|
28
|
+
--pane-gap-xs: var(--a-space-1);
|
|
29
|
+
|
|
30
|
+
/* ── Header interaction ── */
|
|
31
|
+
--pane-header-bg-hover: var(--a-bg-subtle);
|
|
32
|
+
--pane-chevron-fg: var(--a-fg-muted);
|
|
33
|
+
|
|
34
|
+
/* ── Section header ── */
|
|
35
|
+
--pane-section-header-weight: var(--a-weight-medium);
|
|
36
|
+
|
|
37
|
+
/* ── Resize active ── */
|
|
38
|
+
--pane-resize-fg-active: var(--a-fg-subtle);
|
|
39
|
+
|
|
40
|
+
/* ── Transitions ── */
|
|
41
|
+
--pane-duration: var(--a-duration-fast);
|
|
42
|
+
--pane-easing: var(--a-easing);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
:scope {
|
|
46
|
+
/* ── Base ── */
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
display: flex;
|
|
49
|
+
flex-direction: column;
|
|
50
|
+
position: relative;
|
|
51
|
+
background: var(--pane-bg);
|
|
52
|
+
border: 1px solid var(--pane-border);
|
|
53
|
+
/*border-radius: var(--pane-radius);*/
|
|
54
|
+
overflow: hidden;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* ── Pane header ── */
|
|
58
|
+
> header {
|
|
59
|
+
display: flex;
|
|
60
|
+
align-items: center;
|
|
61
|
+
gap: var(--pane-gap-sm);
|
|
62
|
+
min-height: var(--pane-bar-height);
|
|
63
|
+
padding: var(--pane-header-py) var(--pane-header-px);
|
|
64
|
+
font-size: var(--pane-header-size);
|
|
65
|
+
font-weight: var(--pane-header-weight);
|
|
66
|
+
color: var(--pane-header-fg);
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
user-select: none;
|
|
69
|
+
border-bottom: 1px solid var(--pane-border);
|
|
70
|
+
transition: background var(--pane-duration) var(--pane-easing);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
> header:hover {
|
|
74
|
+
background: var(--pane-header-bg-hover);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/* Collapse indicator — stamped by JS as icon-ui */
|
|
78
|
+
> header > [slot="chevron"] {
|
|
79
|
+
--a-icon-size: 0.5rem;
|
|
80
|
+
flex-shrink: 0;
|
|
81
|
+
margin-inline-start: auto;
|
|
82
|
+
color: var(--pane-chevron-fg);
|
|
83
|
+
transition: transform var(--pane-duration) var(--pane-easing);
|
|
84
|
+
transform: rotate(90deg);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
:scope[collapsed] > header > [slot="chevron"] {
|
|
88
|
+
transform: rotate(0deg);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/* ── Sections ── */
|
|
92
|
+
> section {
|
|
93
|
+
flex: 1;
|
|
94
|
+
min-height: 0;
|
|
95
|
+
overflow-y: auto;
|
|
96
|
+
scrollbar-width: none;
|
|
97
|
+
padding: var(--pane-section-py) var(--pane-section-px);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
> section::-webkit-scrollbar {
|
|
101
|
+
display: none;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* Section header */
|
|
105
|
+
> section > header {
|
|
106
|
+
font-size: var(--pane-section-header-size);
|
|
107
|
+
color: var(--pane-section-header-fg);
|
|
108
|
+
padding-bottom: var(--pane-gap-xs);
|
|
109
|
+
text-transform: uppercase;
|
|
110
|
+
letter-spacing: 0.06em;
|
|
111
|
+
font-weight: var(--pane-section-header-weight);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* Section divider between sections */
|
|
115
|
+
> section + section {
|
|
116
|
+
border-top: 1px solid var(--pane-border);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* Column layout */
|
|
120
|
+
[data-col] {
|
|
121
|
+
display: flex;
|
|
122
|
+
flex-direction: column;
|
|
123
|
+
align-items: stretch;
|
|
124
|
+
gap: var(--pane-col-gap);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/* ── Footer ── */
|
|
128
|
+
> footer {
|
|
129
|
+
min-height: var(--pane-bar-height);
|
|
130
|
+
display: flex;
|
|
131
|
+
align-items: center;
|
|
132
|
+
padding: var(--pane-footer-py) var(--pane-footer-px);
|
|
133
|
+
border-top: 1px solid var(--pane-border);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/* ── Collapsed state ── */
|
|
137
|
+
:scope[collapsed] > section,
|
|
138
|
+
:scope[collapsed] > footer {
|
|
139
|
+
display: none;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
:scope[collapsed] > header {
|
|
143
|
+
border-bottom: none;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* ── Resize handle ── */
|
|
147
|
+
[slot="resize"] {
|
|
148
|
+
position: absolute;
|
|
149
|
+
top: 0;
|
|
150
|
+
right: 0;
|
|
151
|
+
bottom: 0;
|
|
152
|
+
width: var(--pane-resize-width);
|
|
153
|
+
cursor: col-resize;
|
|
154
|
+
background: transparent;
|
|
155
|
+
transition: background var(--pane-duration) var(--pane-easing);
|
|
156
|
+
z-index: 1;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
[slot="resize"]:hover {
|
|
160
|
+
background: var(--pane-resize-fg-hover);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
:scope[data-resizing] [slot="resize"] {
|
|
164
|
+
background: var(--pane-resize-fg-active);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <pane-ui> — Collapsible, resizable panel.
|
|
3
|
+
*
|
|
4
|
+
* Structure:
|
|
5
|
+
* <pane-ui>
|
|
6
|
+
* <header>Pane Title</header>
|
|
7
|
+
* <section>
|
|
8
|
+
* <header>Section Title</header>
|
|
9
|
+
* <div data-col>
|
|
10
|
+
* ...content...
|
|
11
|
+
* </div>
|
|
12
|
+
* </section>
|
|
13
|
+
* <section>...</section>
|
|
14
|
+
* <footer>...</footer>
|
|
15
|
+
* </pane-ui>
|
|
16
|
+
*
|
|
17
|
+
* Attributes:
|
|
18
|
+
* collapsed — boolean, hides content and footer
|
|
19
|
+
* resizable — boolean, enables drag-to-resize (width)
|
|
20
|
+
* min-width — minimum width when resizing (default: 200)
|
|
21
|
+
* max-width — maximum width when resizing (default: 600)
|
|
22
|
+
*
|
|
23
|
+
* JS API:
|
|
24
|
+
* pane.collapsed = true/false
|
|
25
|
+
* pane.toggle()
|
|
26
|
+
*/
|
|
27
|
+
|
|
28
|
+
import { AdiaElement } from '@core/element.js';
|
|
29
|
+
|
|
30
|
+
class AdiaPane extends AdiaElement {
|
|
31
|
+
static properties = {
|
|
32
|
+
collapsed: { type: Boolean, default: false, reflect: true },
|
|
33
|
+
resizable: { type: Boolean, default: false, reflect: true },
|
|
34
|
+
minWidth: { type: Number, default: 200, attribute: 'min-width', reflect: true },
|
|
35
|
+
maxWidth: { type: Number, default: 9999, attribute: 'max-width', reflect: true },
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
static template = () => null;
|
|
39
|
+
|
|
40
|
+
#resizeEl = null;
|
|
41
|
+
#dragging = false;
|
|
42
|
+
#startX = 0;
|
|
43
|
+
#startW = 0;
|
|
44
|
+
#bound = false;
|
|
45
|
+
|
|
46
|
+
connected() {
|
|
47
|
+
if (!this.#bound) {
|
|
48
|
+
this.#bound = true;
|
|
49
|
+
|
|
50
|
+
// Click on pane header toggles collapse
|
|
51
|
+
this.addEventListener('click', this.#onClick);
|
|
52
|
+
this.addEventListener('keydown', this.#onKey);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// Stamp resize handle if resizable and not present
|
|
56
|
+
if (this.resizable && !this.querySelector('[slot="resize"]')) {
|
|
57
|
+
this.#resizeEl = document.createElement('div');
|
|
58
|
+
this.#resizeEl.setAttribute('slot', 'resize');
|
|
59
|
+
this.appendChild(this.#resizeEl);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
if (this.#resizeEl || this.resizable) {
|
|
63
|
+
this.#resizeEl = this.#resizeEl || this.querySelector('[slot="resize"]');
|
|
64
|
+
this.#resizeEl?.addEventListener('pointerdown', this.#onResizeDown);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
render() {
|
|
69
|
+
const header = this.querySelector(':scope > header');
|
|
70
|
+
if (header) {
|
|
71
|
+
header.setAttribute('role', 'button');
|
|
72
|
+
header.setAttribute('tabindex', '0');
|
|
73
|
+
header.setAttribute('aria-expanded', String(!this.collapsed));
|
|
74
|
+
|
|
75
|
+
// Stamp chevron icon if not present
|
|
76
|
+
if (!header.querySelector('[slot="chevron"]')) {
|
|
77
|
+
const chevron = document.createElement('icon-ui');
|
|
78
|
+
chevron.setAttribute('slot', 'chevron');
|
|
79
|
+
chevron.setAttribute('name', 'caret-right');
|
|
80
|
+
header.append(chevron);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
toggle() {
|
|
86
|
+
this.collapsed = !this.collapsed;
|
|
87
|
+
this.dispatchEvent(new Event('toggle', { bubbles: true }));
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
#onClick = (e) => {
|
|
91
|
+
const header = this.querySelector(':scope > header');
|
|
92
|
+
if (header && (e.target === header || header.contains(e.target))) {
|
|
93
|
+
this.toggle();
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
#onKey = (e) => {
|
|
98
|
+
if (e.target !== this.querySelector(':scope > header')) return;
|
|
99
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
100
|
+
e.preventDefault();
|
|
101
|
+
this.toggle();
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
// ── Resize ──
|
|
106
|
+
|
|
107
|
+
#onResizeDown = (e) => {
|
|
108
|
+
e.preventDefault();
|
|
109
|
+
this.#dragging = true;
|
|
110
|
+
this.#startX = e.clientX;
|
|
111
|
+
this.#startW = this.getBoundingClientRect().width;
|
|
112
|
+
this.setAttribute('data-resizing', '');
|
|
113
|
+
document.addEventListener('pointermove', this.#onResizeMove);
|
|
114
|
+
document.addEventListener('pointerup', this.#onResizeUp, { once: true });
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
#onResizeMove = (e) => {
|
|
118
|
+
if (!this.#dragging) return;
|
|
119
|
+
const dx = e.clientX - this.#startX;
|
|
120
|
+
const w = Math.max(this.minWidth, Math.min(this.maxWidth, this.#startW + dx));
|
|
121
|
+
this.style.width = `${w}px`;
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
#onResizeUp = () => {
|
|
125
|
+
this.#dragging = false;
|
|
126
|
+
this.removeAttribute('data-resizing');
|
|
127
|
+
document.removeEventListener('pointermove', this.#onResizeMove);
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
disconnected() {
|
|
131
|
+
this.removeEventListener('click', this.#onClick);
|
|
132
|
+
this.removeEventListener('keydown', this.#onKey);
|
|
133
|
+
this.#resizeEl?.removeEventListener('pointerdown', this.#onResizeDown);
|
|
134
|
+
document.removeEventListener('pointermove', this.#onResizeMove);
|
|
135
|
+
this.#bound = false;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
customElements.define('pane-ui', AdiaPane);
|
|
139
|
+
|
|
140
|
+
export { AdiaPane };
|
|
@@ -0,0 +1,197 @@
|
|
|
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: AdiaPane
|
|
5
|
+
tag: pane-ui
|
|
6
|
+
component: Pane
|
|
7
|
+
category: layout
|
|
8
|
+
version: 1
|
|
9
|
+
description: Collapsible, resizable panel.
|
|
10
|
+
props:
|
|
11
|
+
collapsed:
|
|
12
|
+
description: "Component property: collapsed."
|
|
13
|
+
type: boolean
|
|
14
|
+
default: false
|
|
15
|
+
maxWidth:
|
|
16
|
+
description: "Component property: maxWidth."
|
|
17
|
+
type: number
|
|
18
|
+
default: 9999
|
|
19
|
+
attribute: max-width
|
|
20
|
+
minWidth:
|
|
21
|
+
description: "Component property: minWidth."
|
|
22
|
+
type: number
|
|
23
|
+
default: 200
|
|
24
|
+
attribute: min-width
|
|
25
|
+
open:
|
|
26
|
+
description: Controls whether the panel content is visible
|
|
27
|
+
type: boolean
|
|
28
|
+
default: false
|
|
29
|
+
reflect: true
|
|
30
|
+
resizable:
|
|
31
|
+
description: "Component property: resizable."
|
|
32
|
+
type: boolean
|
|
33
|
+
default: false
|
|
34
|
+
text:
|
|
35
|
+
description: Text displayed in the header
|
|
36
|
+
type: string
|
|
37
|
+
default: ""
|
|
38
|
+
events: {}
|
|
39
|
+
slots:
|
|
40
|
+
header:
|
|
41
|
+
description: Auto-created header element with label text and toggle arrow
|
|
42
|
+
states:
|
|
43
|
+
- name: idle
|
|
44
|
+
description: Default, ready for interaction.
|
|
45
|
+
traits: []
|
|
46
|
+
tokens: {}
|
|
47
|
+
a2ui:
|
|
48
|
+
rules: []
|
|
49
|
+
anti_patterns: []
|
|
50
|
+
examples:
|
|
51
|
+
- name: markdown-editor
|
|
52
|
+
description: Split pane with TextArea for editing markdown on the left and a preview card on the right.
|
|
53
|
+
a2ui: >-
|
|
54
|
+
[
|
|
55
|
+
{
|
|
56
|
+
"id": "root",
|
|
57
|
+
"component": "Row",
|
|
58
|
+
"children": [
|
|
59
|
+
"left",
|
|
60
|
+
"right"
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"id": "left",
|
|
65
|
+
"component": "Pane",
|
|
66
|
+
"resizable": true,
|
|
67
|
+
"width": "50%",
|
|
68
|
+
"children": [
|
|
69
|
+
"editor-card"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"id": "editor-card",
|
|
74
|
+
"component": "Card",
|
|
75
|
+
"children": [
|
|
76
|
+
"ed-hdr",
|
|
77
|
+
"ed-sec"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "ed-hdr",
|
|
82
|
+
"component": "Header",
|
|
83
|
+
"children": [
|
|
84
|
+
"ed-title"
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"id": "ed-title",
|
|
89
|
+
"component": "Text",
|
|
90
|
+
"slot": "heading",
|
|
91
|
+
"textContent": "Editor"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"id": "ed-sec",
|
|
95
|
+
"component": "Section",
|
|
96
|
+
"children": [
|
|
97
|
+
"textarea"
|
|
98
|
+
]
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"id": "textarea",
|
|
102
|
+
"component": "TextArea",
|
|
103
|
+
"placeholder": "Write your markdown here...",
|
|
104
|
+
"rows": 20
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"id": "right",
|
|
108
|
+
"component": "Pane",
|
|
109
|
+
"resizable": true,
|
|
110
|
+
"width": "50%",
|
|
111
|
+
"children": [
|
|
112
|
+
"preview-card"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"id": "preview-card",
|
|
117
|
+
"component": "Card",
|
|
118
|
+
"children": [
|
|
119
|
+
"pv-hdr",
|
|
120
|
+
"pv-sec"
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"id": "pv-hdr",
|
|
125
|
+
"component": "Header",
|
|
126
|
+
"children": [
|
|
127
|
+
"pv-title"
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"id": "pv-title",
|
|
132
|
+
"component": "Text",
|
|
133
|
+
"slot": "heading",
|
|
134
|
+
"textContent": "Preview"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"id": "pv-sec",
|
|
138
|
+
"component": "Section",
|
|
139
|
+
"children": [
|
|
140
|
+
"preview-text"
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"id": "preview-text",
|
|
145
|
+
"component": "Text",
|
|
146
|
+
"variant": "body",
|
|
147
|
+
"textContent": "Rendered markdown will appear here..."
|
|
148
|
+
}
|
|
149
|
+
]
|
|
150
|
+
- name: split-pane
|
|
151
|
+
description: Row with two resizable Pane components for left/right panel layout.
|
|
152
|
+
a2ui: >-
|
|
153
|
+
[
|
|
154
|
+
{
|
|
155
|
+
"id": "root",
|
|
156
|
+
"component": "Row",
|
|
157
|
+
"children": [
|
|
158
|
+
"left",
|
|
159
|
+
"right"
|
|
160
|
+
]
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"id": "left",
|
|
164
|
+
"component": "Pane",
|
|
165
|
+
"resizable": true,
|
|
166
|
+
"width": "50%",
|
|
167
|
+
"children": [
|
|
168
|
+
"ltxt"
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"id": "ltxt",
|
|
173
|
+
"component": "Text",
|
|
174
|
+
"variant": "body",
|
|
175
|
+
"textContent": "Left panel content"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"id": "right",
|
|
179
|
+
"component": "Pane",
|
|
180
|
+
"resizable": true,
|
|
181
|
+
"width": "50%",
|
|
182
|
+
"children": [
|
|
183
|
+
"rtxt"
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"id": "rtxt",
|
|
188
|
+
"component": "Text",
|
|
189
|
+
"variant": "body",
|
|
190
|
+
"textContent": "Right panel content"
|
|
191
|
+
}
|
|
192
|
+
]
|
|
193
|
+
keywords:
|
|
194
|
+
- pane
|
|
195
|
+
synonyms: {}
|
|
196
|
+
related:
|
|
197
|
+
- text-area
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://adiaui.dev/a2ui/v0_9/components/PipelineStatus.json",
|
|
4
|
+
"title": "PipelineStatus",
|
|
5
|
+
"description": "<pipeline-status-ui> — Single updating pipeline status indicator.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"allOf": [
|
|
8
|
+
{
|
|
9
|
+
"$ref": "common_types.json#/$defs/ComponentCommon"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"$ref": "common_types.json#/$defs/CatalogComponentCommon"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"properties": {
|
|
16
|
+
"complete": {
|
|
17
|
+
"description": "Component property: complete.",
|
|
18
|
+
"type": "boolean",
|
|
19
|
+
"default": false
|
|
20
|
+
},
|
|
21
|
+
"component": {
|
|
22
|
+
"const": "PipelineStatus"
|
|
23
|
+
},
|
|
24
|
+
"message": {
|
|
25
|
+
"description": "Component property: message.",
|
|
26
|
+
"type": "string",
|
|
27
|
+
"default": ""
|
|
28
|
+
},
|
|
29
|
+
"stage": {
|
|
30
|
+
"description": "Component property: stage.",
|
|
31
|
+
"type": "string",
|
|
32
|
+
"default": ""
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"required": [
|
|
36
|
+
"component"
|
|
37
|
+
],
|
|
38
|
+
"unevaluatedProperties": false,
|
|
39
|
+
"x-adiaui": {
|
|
40
|
+
"anti_patterns": [],
|
|
41
|
+
"category": "agent",
|
|
42
|
+
"events": {},
|
|
43
|
+
"examples": [
|
|
44
|
+
{
|
|
45
|
+
"description": "Basic PipelineStatus usage",
|
|
46
|
+
"a2ui": "[\n {\n \"id\": \"root\",\n \"component\": \"Card\",\n \"children\": [\n \"sec\"\n ]\n },\n {\n \"id\": \"sec\",\n \"component\": \"Section\",\n \"children\": [\n \"comp\"\n ]\n },\n {\n \"id\": \"comp\",\n \"component\": \"PipelineStatus\"\n }\n]",
|
|
47
|
+
"name": "basic-pipeline-status"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"description": "Pipeline status with a prominent stage label for the current step.",
|
|
51
|
+
"a2ui": "[\n {\n \"id\": \"root\",\n \"component\": \"PipelineStatus\",\n \"stage\": \"Building catalog\",\n \"message\": \"Reading 100 patterns from disk...\"\n }\n]",
|
|
52
|
+
"name": "stage"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"description": "Pipeline status with a secondary progress message updated as the stage advances.",
|
|
56
|
+
"a2ui": "[\n {\n \"id\": \"root\",\n \"component\": \"PipelineStatus\",\n \"stage\": \"Running evals\",\n \"message\": \"32 / 100 intents scored...\"\n }\n]",
|
|
57
|
+
"name": "message"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"description": "Pipeline status marked complete; indicator switches to success state.",
|
|
61
|
+
"a2ui": "[\n {\n \"id\": \"root\",\n \"component\": \"PipelineStatus\",\n \"stage\": \"Done\",\n \"message\": \"All 100 intents passed\",\n \"complete\": true\n }\n]",
|
|
62
|
+
"name": "complete"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"keywords": [
|
|
66
|
+
"pipelinestatus",
|
|
67
|
+
"pipeline-status",
|
|
68
|
+
"pipeline",
|
|
69
|
+
"status"
|
|
70
|
+
],
|
|
71
|
+
"name": "AdiaPipelineStatus",
|
|
72
|
+
"related": [],
|
|
73
|
+
"slots": {
|
|
74
|
+
"default": {
|
|
75
|
+
"description": "Default slot — primary child content."
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"states": [
|
|
79
|
+
{
|
|
80
|
+
"description": "Default, ready for interaction.",
|
|
81
|
+
"name": "idle"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"synonyms": {},
|
|
85
|
+
"tag": "pipeline-status-ui",
|
|
86
|
+
"tokens": {},
|
|
87
|
+
"traits": [],
|
|
88
|
+
"version": 1
|
|
89
|
+
}
|
|
90
|
+
}
|