@flowstack-ui/brick 0.1.9 → 0.1.12
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 +9 -6
- package/dist/agents/accordion.json +8 -2
- package/dist/agents/accordion.md +3 -1
- package/dist/agents/alert-dialog.json +111 -0
- package/dist/agents/alert-dialog.md +53 -0
- package/dist/agents/app-bar.json +5 -4
- package/dist/agents/app-bar.md +4 -3
- package/dist/agents/aspect-ratio.json +80 -0
- package/dist/agents/aspect-ratio.md +45 -0
- package/dist/agents/avatar.json +92 -0
- package/dist/agents/avatar.md +49 -0
- package/dist/agents/badge.json +26 -8
- package/dist/agents/badge.md +11 -6
- package/dist/agents/bleed.json +54 -0
- package/dist/agents/bleed.md +39 -0
- package/dist/agents/blockquote.json +68 -0
- package/dist/agents/blockquote.md +42 -0
- package/dist/agents/button.json +7 -2
- package/dist/agents/button.md +1 -1
- package/dist/agents/card.json +21 -1
- package/dist/agents/card.md +7 -1
- package/dist/agents/checkbox-group.json +108 -0
- package/dist/agents/checkbox-group.md +56 -0
- package/dist/agents/checkbox.json +6 -1
- package/dist/agents/chip.json +73 -0
- package/dist/agents/chip.md +44 -0
- package/dist/agents/code-block.json +92 -0
- package/dist/agents/code-block.md +52 -0
- package/dist/agents/code.json +67 -0
- package/dist/agents/code.md +42 -0
- package/dist/agents/collapsible.json +34 -3
- package/dist/agents/collapsible.md +10 -3
- package/dist/agents/color-picker.json +78 -0
- package/dist/agents/color-picker.md +46 -0
- package/dist/agents/color-swatch.json +51 -0
- package/dist/agents/color-swatch.md +36 -0
- package/dist/agents/combobox.json +95 -0
- package/dist/agents/combobox.md +51 -0
- package/dist/agents/context-menu.json +109 -0
- package/dist/agents/context-menu.md +54 -0
- package/dist/agents/coverage.json +25591 -0
- package/dist/agents/data-grid.json +127 -0
- package/dist/agents/data-grid.md +61 -0
- package/dist/agents/data-list.json +63 -0
- package/dist/agents/data-list.md +41 -0
- package/dist/agents/dialog.json +112 -0
- package/dist/agents/dialog.md +53 -0
- package/dist/agents/dropdown-menu.json +112 -0
- package/dist/agents/dropdown-menu.md +56 -0
- package/dist/agents/em.json +57 -0
- package/dist/agents/em.md +39 -0
- package/dist/agents/feed.json +84 -0
- package/dist/agents/feed.md +48 -0
- package/dist/agents/field.json +6 -1
- package/dist/agents/fieldset.json +6 -1
- package/dist/agents/file-upload.json +93 -0
- package/dist/agents/file-upload.md +50 -0
- package/dist/agents/form.json +11 -2
- package/dist/agents/form.md +2 -1
- package/dist/agents/grid.json +18 -1
- package/dist/agents/grid.md +6 -0
- package/dist/agents/group.json +77 -0
- package/dist/agents/group.md +48 -0
- package/dist/agents/hide.json +14 -0
- package/dist/agents/hide.md +3 -0
- package/dist/agents/highlight.json +73 -0
- package/dist/agents/highlight.md +43 -0
- package/dist/agents/hover-card.json +94 -0
- package/dist/agents/hover-card.md +51 -0
- package/dist/agents/icon-button.json +23 -12
- package/dist/agents/icon-button.md +12 -8
- package/dist/agents/image.json +33 -7
- package/dist/agents/image.md +11 -4
- package/dist/agents/input.json +7 -2
- package/dist/agents/input.md +1 -1
- package/dist/agents/interface-composition.json +224 -18
- package/dist/agents/interface-composition.md +10 -0
- package/dist/agents/kbd.json +62 -0
- package/dist/agents/kbd.md +40 -0
- package/dist/agents/layer-selection.json +1294 -11
- package/dist/agents/layer-selection.md +94 -1
- package/dist/agents/link-box.json +97 -0
- package/dist/agents/link-box.md +53 -0
- package/dist/agents/link.json +34 -5
- package/dist/agents/link.md +12 -2
- package/dist/agents/list.json +1 -1
- package/dist/agents/list.md +1 -1
- package/dist/agents/manifest.json +327 -2
- package/dist/agents/mark.json +56 -0
- package/dist/agents/mark.md +38 -0
- package/dist/agents/menubar.json +109 -0
- package/dist/agents/menubar.md +54 -0
- package/dist/agents/multi-select.json +93 -0
- package/dist/agents/multi-select.md +49 -0
- package/dist/agents/nav-list.json +15 -5
- package/dist/agents/nav-list.md +6 -4
- package/dist/agents/notification-badge.json +88 -0
- package/dist/agents/notification-badge.md +49 -0
- package/dist/agents/number-input.json +89 -0
- package/dist/agents/number-input.md +50 -0
- package/dist/agents/otp-field.json +87 -0
- package/dist/agents/otp-field.md +48 -0
- package/dist/agents/pagination.json +26 -5
- package/dist/agents/pagination.md +11 -4
- package/dist/agents/password-toggle-field.json +87 -0
- package/dist/agents/password-toggle-field.md +48 -0
- package/dist/agents/popover.json +114 -0
- package/dist/agents/popover.md +56 -0
- package/dist/agents/progress-circle.json +85 -0
- package/dist/agents/progress-circle.md +46 -0
- package/dist/agents/progress.json +91 -0
- package/dist/agents/progress.md +48 -0
- package/dist/agents/prose.json +82 -0
- package/dist/agents/prose.md +50 -0
- package/dist/agents/radio-group.json +92 -0
- package/dist/agents/radio-group.md +49 -0
- package/dist/agents/rating.json +91 -0
- package/dist/agents/rating.md +49 -0
- package/dist/agents/reorderable-list.json +74 -0
- package/dist/agents/reorderable-list.md +45 -0
- package/dist/agents/segment-group.json +62 -0
- package/dist/agents/segment-group.md +43 -0
- package/dist/agents/select.json +95 -0
- package/dist/agents/select.md +51 -0
- package/dist/agents/show.json +14 -0
- package/dist/agents/show.md +3 -0
- package/dist/agents/sidebar.json +16 -3
- package/dist/agents/sidebar.md +6 -1
- package/dist/agents/skeleton.json +73 -0
- package/dist/agents/skeleton.md +43 -0
- package/dist/agents/slider.json +88 -0
- package/dist/agents/slider.md +48 -0
- package/dist/agents/stack.json +19 -1
- package/dist/agents/stack.md +7 -0
- package/dist/agents/status.json +59 -0
- package/dist/agents/status.md +40 -0
- package/dist/agents/surface.json +32 -3
- package/dist/agents/surface.md +9 -2
- package/dist/agents/swipeable-item.json +93 -0
- package/dist/agents/swipeable-item.md +50 -0
- package/dist/agents/switch.json +92 -0
- package/dist/agents/switch.md +49 -0
- package/dist/agents/table.json +113 -0
- package/dist/agents/table.md +59 -0
- package/dist/agents/tabs.json +9 -2
- package/dist/agents/tabs.md +4 -1
- package/dist/agents/text.json +23 -8
- package/dist/agents/text.md +10 -7
- package/dist/agents/textarea.json +6 -1
- package/dist/agents/toast.json +91 -0
- package/dist/agents/toast.md +48 -0
- package/dist/agents/toggle-group.json +89 -0
- package/dist/agents/toggle-group.md +49 -0
- package/dist/agents/toggle.json +82 -0
- package/dist/agents/toggle.md +47 -0
- package/dist/agents/toolbar.json +11 -1
- package/dist/agents/toolbar.md +3 -1
- package/dist/agents/tooltip.json +96 -0
- package/dist/agents/tooltip.md +49 -0
- package/dist/agents/tree-grid.json +98 -0
- package/dist/agents/tree-grid.md +51 -0
- package/dist/agents/tree.json +94 -0
- package/dist/agents/tree.md +51 -0
- package/dist/agents/visually-hidden.json +70 -0
- package/dist/agents/visually-hidden.md +42 -0
- package/dist/agents/z-stack.json +21 -1
- package/dist/agents/z-stack.md +5 -0
- package/dist/bleed.d.ts +2 -0
- package/dist/bleed.d.ts.map +1 -0
- package/dist/bleed.js +2 -0
- package/dist/bleed.js.map +1 -0
- package/dist/blockquote.d.ts +2 -0
- package/dist/blockquote.d.ts.map +1 -0
- package/dist/blockquote.js +2 -0
- package/dist/blockquote.js.map +1 -0
- package/dist/color-picker.d.ts +2 -0
- package/dist/color-picker.d.ts.map +1 -0
- package/dist/color-picker.js +2 -0
- package/dist/color-picker.js.map +1 -0
- package/dist/color-swatch.d.ts +2 -0
- package/dist/color-swatch.d.ts.map +1 -0
- package/dist/color-swatch.js +2 -0
- package/dist/color-swatch.js.map +1 -0
- package/dist/components/_responsive-value/ResponsiveValue.d.ts.map +1 -1
- package/dist/components/_responsive-value/ResponsiveValue.js +3 -1
- package/dist/components/_responsive-value/ResponsiveValue.js.map +1 -1
- package/dist/components/_spacing-value/SpacingValue.d.ts +8 -0
- package/dist/components/_spacing-value/SpacingValue.d.ts.map +1 -0
- package/dist/components/_spacing-value/SpacingValue.js +46 -0
- package/dist/components/_spacing-value/SpacingValue.js.map +1 -0
- package/dist/components/accordion/Accordion.js +1 -1
- package/dist/components/app-bar/AppBar.d.ts +7 -3
- package/dist/components/app-bar/AppBar.d.ts.map +1 -1
- package/dist/components/app-bar/AppBar.js +2 -2
- package/dist/components/app-bar/AppBar.js.map +1 -1
- package/dist/components/app-bar/index.d.ts +1 -1
- package/dist/components/app-bar/index.d.ts.map +1 -1
- package/dist/components/app-bar/index.js.map +1 -1
- package/dist/components/avatar/Avatar.d.ts +1 -1
- package/dist/components/avatar/Avatar.d.ts.map +1 -1
- package/dist/components/avatar/Avatar.js.map +1 -1
- package/dist/components/badge/Badge.d.ts +2 -2
- package/dist/components/badge/Badge.d.ts.map +1 -1
- package/dist/components/bleed/Bleed.d.ts +28 -0
- package/dist/components/bleed/Bleed.d.ts.map +1 -0
- package/dist/components/bleed/Bleed.js +92 -0
- package/dist/components/bleed/Bleed.js.map +1 -0
- package/dist/components/bleed/index.d.ts +2 -0
- package/dist/components/bleed/index.d.ts.map +1 -0
- package/dist/components/bleed/index.js +2 -0
- package/dist/components/bleed/index.js.map +1 -0
- package/dist/components/blockquote/Blockquote.d.ts +33 -0
- package/dist/components/blockquote/Blockquote.d.ts.map +1 -0
- package/dist/components/blockquote/Blockquote.js +36 -0
- package/dist/components/blockquote/Blockquote.js.map +1 -0
- package/dist/components/blockquote/index.d.ts +2 -0
- package/dist/components/blockquote/index.d.ts.map +1 -0
- package/dist/components/blockquote/index.js +2 -0
- package/dist/components/blockquote/index.js.map +1 -0
- package/dist/components/code-block/CodeBlock.d.ts +33 -0
- package/dist/components/code-block/CodeBlock.d.ts.map +1 -1
- package/dist/components/code-block/CodeBlock.js +60 -6
- package/dist/components/code-block/CodeBlock.js.map +1 -1
- package/dist/components/code-block/context.d.ts +2 -0
- package/dist/components/code-block/context.d.ts.map +1 -1
- package/dist/components/code-block/context.js.map +1 -1
- package/dist/components/code-block/index.d.ts +1 -1
- package/dist/components/code-block/index.d.ts.map +1 -1
- package/dist/components/code-block/index.js +1 -1
- package/dist/components/code-block/index.js.map +1 -1
- package/dist/components/collapsible/Collapsible.d.ts +9 -3
- package/dist/components/collapsible/Collapsible.d.ts.map +1 -1
- package/dist/components/collapsible/Collapsible.js +3 -3
- package/dist/components/collapsible/Collapsible.js.map +1 -1
- package/dist/components/color-picker/ColorPicker.d.ts +42 -0
- package/dist/components/color-picker/ColorPicker.d.ts.map +1 -0
- package/dist/components/color-picker/ColorPicker.js +52 -0
- package/dist/components/color-picker/ColorPicker.js.map +1 -0
- package/dist/components/color-picker/index.d.ts +2 -0
- package/dist/components/color-picker/index.d.ts.map +1 -0
- package/dist/components/color-picker/index.js +2 -0
- package/dist/components/color-picker/index.js.map +1 -0
- package/dist/components/color-swatch/ColorSwatch.d.ts +21 -0
- package/dist/components/color-swatch/ColorSwatch.d.ts.map +1 -0
- package/dist/components/color-swatch/ColorSwatch.js +25 -0
- package/dist/components/color-swatch/ColorSwatch.js.map +1 -0
- package/dist/components/color-swatch/index.d.ts +2 -0
- package/dist/components/color-swatch/index.d.ts.map +1 -0
- package/dist/components/color-swatch/index.js +2 -0
- package/dist/components/color-swatch/index.js.map +1 -0
- package/dist/components/data-list/DataList.d.ts +48 -0
- package/dist/components/data-list/DataList.d.ts.map +1 -0
- package/dist/components/data-list/DataList.js +31 -0
- package/dist/components/data-list/DataList.js.map +1 -0
- package/dist/components/data-list/index.d.ts +2 -0
- package/dist/components/data-list/index.d.ts.map +1 -0
- package/dist/components/data-list/index.js +2 -0
- package/dist/components/data-list/index.js.map +1 -0
- package/dist/components/em/Em.d.ts +9 -0
- package/dist/components/em/Em.d.ts.map +1 -0
- package/dist/components/em/Em.js +10 -0
- package/dist/components/em/Em.js.map +1 -0
- package/dist/components/em/index.d.ts +2 -0
- package/dist/components/em/index.d.ts.map +1 -0
- package/dist/components/em/index.js +2 -0
- package/dist/components/em/index.js.map +1 -0
- package/dist/components/feed/Feed.d.ts +2 -0
- package/dist/components/feed/Feed.d.ts.map +1 -1
- package/dist/components/feed/Feed.js +2 -2
- package/dist/components/feed/Feed.js.map +1 -1
- package/dist/components/feed/index.d.ts +1 -1
- package/dist/components/feed/index.d.ts.map +1 -1
- package/dist/components/grid/Grid.d.ts +3 -1
- package/dist/components/grid/Grid.d.ts.map +1 -1
- package/dist/components/grid/Grid.js +11 -1
- package/dist/components/grid/Grid.js.map +1 -1
- package/dist/components/grid/index.d.ts +1 -1
- package/dist/components/grid/index.d.ts.map +1 -1
- package/dist/components/grid/index.js.map +1 -1
- package/dist/components/group/Group.d.ts +19 -0
- package/dist/components/group/Group.d.ts.map +1 -0
- package/dist/components/group/Group.js +23 -0
- package/dist/components/group/Group.js.map +1 -0
- package/dist/components/group/index.d.ts +2 -0
- package/dist/components/group/index.d.ts.map +1 -0
- package/dist/components/group/index.js +2 -0
- package/dist/components/group/index.js.map +1 -0
- package/dist/components/highlight/Highlight.d.ts +9 -0
- package/dist/components/highlight/Highlight.d.ts.map +1 -0
- package/dist/components/highlight/Highlight.js +10 -0
- package/dist/components/highlight/Highlight.js.map +1 -0
- package/dist/components/highlight/index.d.ts +2 -0
- package/dist/components/highlight/index.d.ts.map +1 -0
- package/dist/components/highlight/index.js +2 -0
- package/dist/components/highlight/index.js.map +1 -0
- package/dist/components/kbd/Kbd.d.ts +13 -0
- package/dist/components/kbd/Kbd.d.ts.map +1 -0
- package/dist/components/kbd/Kbd.js +8 -0
- package/dist/components/kbd/Kbd.js.map +1 -0
- package/dist/components/kbd/index.d.ts +2 -0
- package/dist/components/kbd/index.d.ts.map +1 -0
- package/dist/components/kbd/index.js +2 -0
- package/dist/components/kbd/index.js.map +1 -0
- package/dist/components/link/Link.d.ts +1 -1
- package/dist/components/link/Link.d.ts.map +1 -1
- package/dist/components/link/Link.js +1 -1
- package/dist/components/link/Link.js.map +1 -1
- package/dist/components/link-box/LinkBox.d.ts +22 -0
- package/dist/components/link-box/LinkBox.d.ts.map +1 -0
- package/dist/components/link-box/LinkBox.js +30 -0
- package/dist/components/link-box/LinkBox.js.map +1 -0
- package/dist/components/link-box/index.d.ts +2 -0
- package/dist/components/link-box/index.d.ts.map +1 -0
- package/dist/components/link-box/index.js +2 -0
- package/dist/components/link-box/index.js.map +1 -0
- package/dist/components/mark/Mark.d.ts +13 -0
- package/dist/components/mark/Mark.d.ts.map +1 -0
- package/dist/components/mark/Mark.js +8 -0
- package/dist/components/mark/Mark.js.map +1 -0
- package/dist/components/mark/index.d.ts +2 -0
- package/dist/components/mark/index.d.ts.map +1 -0
- package/dist/components/mark/index.js +2 -0
- package/dist/components/mark/index.js.map +1 -0
- package/dist/components/nav-list/NavList.d.ts +15 -2
- package/dist/components/nav-list/NavList.d.ts.map +1 -1
- package/dist/components/nav-list/NavList.js +4 -3
- package/dist/components/nav-list/NavList.js.map +1 -1
- package/dist/components/pagination/Pagination.d.ts +9 -6
- package/dist/components/pagination/Pagination.d.ts.map +1 -1
- package/dist/components/pagination/Pagination.js +2 -2
- package/dist/components/pagination/Pagination.js.map +1 -1
- package/dist/components/pagination/index.d.ts +1 -1
- package/dist/components/pagination/index.d.ts.map +1 -1
- package/dist/components/pagination/index.js.map +1 -1
- package/dist/components/popover/Popover.d.ts +3 -0
- package/dist/components/popover/Popover.d.ts.map +1 -1
- package/dist/components/popover/Popover.js +2 -2
- package/dist/components/popover/Popover.js.map +1 -1
- package/dist/components/popover/index.d.ts +1 -1
- package/dist/components/popover/index.d.ts.map +1 -1
- package/dist/components/popover/index.js.map +1 -1
- package/dist/components/prose/Prose.d.ts +12 -0
- package/dist/components/prose/Prose.d.ts.map +1 -0
- package/dist/components/prose/Prose.js +19 -0
- package/dist/components/prose/Prose.js.map +1 -0
- package/dist/components/prose/index.d.ts +2 -0
- package/dist/components/prose/index.d.ts.map +1 -0
- package/dist/components/prose/index.js +2 -0
- package/dist/components/prose/index.js.map +1 -0
- package/dist/components/rating/Rating.d.ts +37 -1
- package/dist/components/rating/Rating.d.ts.map +1 -1
- package/dist/components/rating/Rating.js +25 -2
- package/dist/components/rating/Rating.js.map +1 -1
- package/dist/components/rating/index.d.ts +1 -1
- package/dist/components/rating/index.d.ts.map +1 -1
- package/dist/components/rating/index.js +1 -1
- package/dist/components/rating/index.js.map +1 -1
- package/dist/components/reorderable-list/ReorderableList.d.ts +89 -0
- package/dist/components/reorderable-list/ReorderableList.d.ts.map +1 -0
- package/dist/components/reorderable-list/ReorderableList.js +54 -0
- package/dist/components/reorderable-list/ReorderableList.js.map +1 -0
- package/dist/components/reorderable-list/index.d.ts +2 -0
- package/dist/components/reorderable-list/index.d.ts.map +1 -0
- package/dist/components/reorderable-list/index.js +2 -0
- package/dist/components/reorderable-list/index.js.map +1 -0
- package/dist/components/segment-group/SegmentGroup.d.ts +30 -0
- package/dist/components/segment-group/SegmentGroup.d.ts.map +1 -0
- package/dist/components/segment-group/SegmentGroup.js +67 -0
- package/dist/components/segment-group/SegmentGroup.js.map +1 -0
- package/dist/components/segment-group/index.d.ts +2 -0
- package/dist/components/segment-group/index.d.ts.map +1 -0
- package/dist/components/segment-group/index.js +2 -0
- package/dist/components/segment-group/index.js.map +1 -0
- package/dist/components/show/Show.d.ts.map +1 -1
- package/dist/components/show/Show.js +7 -1
- package/dist/components/show/Show.js.map +1 -1
- package/dist/components/sidebar/Sidebar.d.ts +4 -0
- package/dist/components/sidebar/Sidebar.d.ts.map +1 -1
- package/dist/components/sidebar/Sidebar.js +3 -2
- package/dist/components/sidebar/Sidebar.js.map +1 -1
- package/dist/components/slider/Slider.d.ts.map +1 -1
- package/dist/components/slider/Slider.js +3 -1
- package/dist/components/slider/Slider.js.map +1 -1
- package/dist/components/stack/Stack.d.ts +3 -1
- package/dist/components/stack/Stack.d.ts.map +1 -1
- package/dist/components/stack/Stack.js +9 -1
- package/dist/components/stack/Stack.js.map +1 -1
- package/dist/components/stack/index.d.ts +1 -1
- package/dist/components/stack/index.d.ts.map +1 -1
- package/dist/components/stack/index.js.map +1 -1
- package/dist/components/status/Status.d.ts +22 -0
- package/dist/components/status/Status.d.ts.map +1 -0
- package/dist/components/status/Status.js +23 -0
- package/dist/components/status/Status.js.map +1 -0
- package/dist/components/status/index.d.ts +2 -0
- package/dist/components/status/index.d.ts.map +1 -0
- package/dist/components/status/index.js +2 -0
- package/dist/components/status/index.js.map +1 -0
- package/dist/components/surface/Surface.d.ts +5 -2
- package/dist/components/surface/Surface.d.ts.map +1 -1
- package/dist/components/surface/Surface.js +4 -2
- package/dist/components/surface/Surface.js.map +1 -1
- package/dist/components/surface/index.d.ts +1 -1
- package/dist/components/surface/index.d.ts.map +1 -1
- package/dist/components/surface/index.js.map +1 -1
- package/dist/components/text/Text.d.ts +25 -4
- package/dist/components/text/Text.d.ts.map +1 -1
- package/dist/components/text/Text.js +22 -3
- package/dist/components/text/Text.js.map +1 -1
- package/dist/components/text/index.d.ts +1 -1
- package/dist/components/text/index.d.ts.map +1 -1
- package/dist/components/text/index.js +1 -1
- package/dist/components/text/index.js.map +1 -1
- package/dist/components/toggle/Toggle.d.ts +5 -0
- package/dist/components/toggle/Toggle.d.ts.map +1 -1
- package/dist/components/toggle/Toggle.js +2 -2
- package/dist/components/toggle/Toggle.js.map +1 -1
- package/dist/components/toggle/index.d.ts +1 -1
- package/dist/components/toggle/index.d.ts.map +1 -1
- package/dist/components/toggle/index.js.map +1 -1
- package/dist/components/toggle-group/ToggleGroup.d.ts +3 -1
- package/dist/components/toggle-group/ToggleGroup.d.ts.map +1 -1
- package/dist/components/toggle-group/ToggleGroup.js +2 -1
- package/dist/components/toggle-group/ToggleGroup.js.map +1 -1
- package/dist/components/toolbar/Toolbar.d.ts +9 -2
- package/dist/components/toolbar/Toolbar.d.ts.map +1 -1
- package/dist/components/toolbar/Toolbar.js +2 -2
- package/dist/components/toolbar/Toolbar.js.map +1 -1
- package/dist/components/toolbar/index.d.ts +1 -1
- package/dist/components/toolbar/index.d.ts.map +1 -1
- package/dist/components/z-stack/ZStack.d.ts +7 -0
- package/dist/components/z-stack/ZStack.d.ts.map +1 -1
- package/dist/components/z-stack/ZStack.js +14 -3
- package/dist/components/z-stack/ZStack.js.map +1 -1
- package/dist/components/z-stack/index.d.ts +1 -1
- package/dist/components/z-stack/index.d.ts.map +1 -1
- package/dist/components/z-stack/index.js.map +1 -1
- package/dist/data-list.d.ts +2 -0
- package/dist/data-list.d.ts.map +1 -0
- package/dist/data-list.js +2 -0
- package/dist/data-list.js.map +1 -0
- package/dist/em.d.ts +2 -0
- package/dist/em.d.ts.map +1 -0
- package/dist/em.js +2 -0
- package/dist/em.js.map +1 -0
- package/dist/feed.d.ts +1 -1
- package/dist/feed.d.ts.map +1 -1
- package/dist/grid.d.ts +1 -1
- package/dist/grid.d.ts.map +1 -1
- package/dist/grid.js.map +1 -1
- package/dist/group.d.ts +2 -0
- package/dist/group.d.ts.map +1 -0
- package/dist/group.js +2 -0
- package/dist/group.js.map +1 -0
- package/dist/highlight.d.ts +2 -0
- package/dist/highlight.d.ts.map +1 -0
- package/dist/highlight.js +2 -0
- package/dist/highlight.js.map +1 -0
- package/dist/index.d.ts +25 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -2
- package/dist/index.js.map +1 -1
- package/dist/kbd.d.ts +2 -0
- package/dist/kbd.d.ts.map +1 -0
- package/dist/kbd.js +2 -0
- package/dist/kbd.js.map +1 -0
- package/dist/link-box.d.ts +2 -0
- package/dist/link-box.d.ts.map +1 -0
- package/dist/link-box.js +2 -0
- package/dist/link-box.js.map +1 -0
- package/dist/mark.d.ts +2 -0
- package/dist/mark.d.ts.map +1 -0
- package/dist/mark.js +2 -0
- package/dist/mark.js.map +1 -0
- package/dist/prose.d.ts +2 -0
- package/dist/prose.d.ts.map +1 -0
- package/dist/prose.js +2 -0
- package/dist/prose.js.map +1 -0
- package/dist/reorderable-list.d.ts +2 -0
- package/dist/reorderable-list.d.ts.map +1 -0
- package/dist/reorderable-list.js +2 -0
- package/dist/reorderable-list.js.map +1 -0
- package/dist/reset.css +1 -1
- package/dist/reset.css.map +1 -1
- package/dist/segment-group.d.ts +2 -0
- package/dist/segment-group.d.ts.map +1 -0
- package/dist/segment-group.js +2 -0
- package/dist/segment-group.js.map +1 -0
- package/dist/stack.d.ts +1 -1
- package/dist/stack.d.ts.map +1 -1
- package/dist/stack.js.map +1 -1
- package/dist/status.d.ts +2 -0
- package/dist/status.d.ts.map +1 -0
- package/dist/status.js +2 -0
- package/dist/status.js.map +1 -0
- package/dist/styles/accordion.css +1 -1
- package/dist/styles/accordion.css.map +1 -1
- package/dist/styles/alert-dialog.css +1 -1
- package/dist/styles/alert-dialog.css.map +1 -1
- package/dist/styles/app-bar.css +1 -1
- package/dist/styles/app-bar.css.map +1 -1
- package/dist/styles/avatar.css +1 -1
- package/dist/styles/avatar.css.map +1 -1
- package/dist/styles/badge.css +1 -1
- package/dist/styles/badge.css.map +1 -1
- package/dist/styles/bleed.css +2 -0
- package/dist/styles/bleed.css.map +1 -0
- package/dist/styles/blockquote.css +2 -0
- package/dist/styles/blockquote.css.map +1 -0
- package/dist/styles/bottom-navigation.css +1 -1
- package/dist/styles/bottom-navigation.css.map +1 -1
- package/dist/styles/button.css +1 -1
- package/dist/styles/button.css.map +1 -1
- package/dist/styles/card.css +1 -1
- package/dist/styles/card.css.map +1 -1
- package/dist/styles/checkbox-group.css +1 -1
- package/dist/styles/checkbox-group.css.map +1 -1
- package/dist/styles/checkbox.css +1 -1
- package/dist/styles/checkbox.css.map +1 -1
- package/dist/styles/code-block.css +1 -1
- package/dist/styles/code-block.css.map +1 -1
- package/dist/styles/collapsible.css +1 -1
- package/dist/styles/collapsible.css.map +1 -1
- package/dist/styles/color-picker.css +2 -0
- package/dist/styles/color-picker.css.map +1 -0
- package/dist/styles/color-swatch.css +2 -0
- package/dist/styles/color-swatch.css.map +1 -0
- package/dist/styles/combobox.css +1 -1
- package/dist/styles/combobox.css.map +1 -1
- package/dist/styles/context-menu.css +1 -1
- package/dist/styles/context-menu.css.map +1 -1
- package/dist/styles/core.css +1 -1
- package/dist/styles/core.css.map +1 -1
- package/dist/styles/data-grid.css +1 -1
- package/dist/styles/data-grid.css.map +1 -1
- package/dist/styles/data-list.css +2 -0
- package/dist/styles/data-list.css.map +1 -0
- package/dist/styles/dialog.css +1 -1
- package/dist/styles/dialog.css.map +1 -1
- package/dist/styles/divider.css +1 -1
- package/dist/styles/divider.css.map +1 -1
- package/dist/styles/drawer.css +1 -1
- package/dist/styles/drawer.css.map +1 -1
- package/dist/styles/dropdown-menu.css +1 -1
- package/dist/styles/dropdown-menu.css.map +1 -1
- package/dist/styles/em.css +2 -0
- package/dist/styles/em.css.map +1 -0
- package/dist/styles/feed.css +1 -1
- package/dist/styles/feed.css.map +1 -1
- package/dist/styles/grid.css +1 -1
- package/dist/styles/grid.css.map +1 -1
- package/dist/styles/group.css +2 -0
- package/dist/styles/group.css.map +1 -0
- package/dist/styles/hide.css +1 -1
- package/dist/styles/hide.css.map +1 -1
- package/dist/styles/highlight.css +2 -0
- package/dist/styles/highlight.css.map +1 -0
- package/dist/styles/icon-button.css +1 -1
- package/dist/styles/icon-button.css.map +1 -1
- package/dist/styles/input.css +1 -1
- package/dist/styles/input.css.map +1 -1
- package/dist/styles/kbd.css +2 -0
- package/dist/styles/kbd.css.map +1 -0
- package/dist/styles/link-box.css +2 -0
- package/dist/styles/link-box.css.map +1 -0
- package/dist/styles/link.css +1 -1
- package/dist/styles/link.css.map +1 -1
- package/dist/styles/list.css +1 -1
- package/dist/styles/list.css.map +1 -1
- package/dist/styles/mark.css +2 -0
- package/dist/styles/mark.css.map +1 -0
- package/dist/styles/menubar.css +1 -1
- package/dist/styles/menubar.css.map +1 -1
- package/dist/styles/multi-select.css +1 -1
- package/dist/styles/multi-select.css.map +1 -1
- package/dist/styles/nav-list.css +1 -1
- package/dist/styles/nav-list.css.map +1 -1
- package/dist/styles/navigation-menu.css +1 -1
- package/dist/styles/navigation-menu.css.map +1 -1
- package/dist/styles/pagination.css +1 -1
- package/dist/styles/pagination.css.map +1 -1
- package/dist/styles/password-toggle-field.css +1 -1
- package/dist/styles/password-toggle-field.css.map +1 -1
- package/dist/styles/popover.css +1 -1
- package/dist/styles/popover.css.map +1 -1
- package/dist/styles/prose.css +2 -0
- package/dist/styles/prose.css.map +1 -0
- package/dist/styles/rating.css +1 -1
- package/dist/styles/rating.css.map +1 -1
- package/dist/styles/reorderable-list.css +2 -0
- package/dist/styles/reorderable-list.css.map +1 -0
- package/dist/styles/segment-group.css +2 -0
- package/dist/styles/segment-group.css.map +1 -0
- package/dist/styles/select.css +1 -1
- package/dist/styles/select.css.map +1 -1
- package/dist/styles/show.css +1 -1
- package/dist/styles/show.css.map +1 -1
- package/dist/styles/sidebar.css +1 -1
- package/dist/styles/sidebar.css.map +1 -1
- package/dist/styles/skeleton.css +1 -1
- package/dist/styles/skeleton.css.map +1 -1
- package/dist/styles/slider.css +1 -1
- package/dist/styles/slider.css.map +1 -1
- package/dist/styles/stack.css +1 -1
- package/dist/styles/stack.css.map +1 -1
- package/dist/styles/status.css +2 -0
- package/dist/styles/status.css.map +1 -0
- package/dist/styles/surface.css +1 -1
- package/dist/styles/surface.css.map +1 -1
- package/dist/styles/table.css +1 -1
- package/dist/styles/table.css.map +1 -1
- package/dist/styles/tabs.css +1 -1
- package/dist/styles/tabs.css.map +1 -1
- package/dist/styles/text.css +1 -1
- package/dist/styles/text.css.map +1 -1
- package/dist/styles/toggle-group.css +1 -1
- package/dist/styles/toggle-group.css.map +1 -1
- package/dist/styles/toggle.css +1 -1
- package/dist/styles/toggle.css.map +1 -1
- package/dist/styles/toolbar.css +1 -1
- package/dist/styles/toolbar.css.map +1 -1
- package/dist/styles/z-stack.css +1 -1
- package/dist/styles/z-stack.css.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.css.map +1 -1
- package/dist/surface.d.ts +1 -1
- package/dist/surface.d.ts.map +1 -1
- package/dist/surface.js.map +1 -1
- package/dist/text.d.ts +1 -1
- package/dist/text.d.ts.map +1 -1
- package/dist/text.js +1 -1
- package/dist/text.js.map +1 -1
- package/dist/theme-contract.json +10519 -6018
- package/dist/toggle.d.ts +1 -1
- package/dist/toggle.d.ts.map +1 -1
- package/dist/toggle.js.map +1 -1
- package/dist/tokens.css +1 -1
- package/dist/tokens.css.map +1 -1
- package/dist/toolbar.d.ts +1 -1
- package/dist/toolbar.d.ts.map +1 -1
- package/docs/guides/agent-knowledge.md +19 -0
- package/docs/guides/appearance-and-tokens.md +5 -0
- package/docs/guides/browser-support.md +21 -0
- package/docs/guides/control-sizing.md +55 -0
- package/docs/guides/installation.md +5 -2
- package/docs/guides/theme-contract.md +26 -12
- package/package.json +79 -7
|
@@ -18,87 +18,260 @@
|
|
|
18
18
|
{
|
|
19
19
|
"intent": "page width and gutters",
|
|
20
20
|
"use": "Container",
|
|
21
|
-
"note": "Do not reproduce max-width and inline padding on every section."
|
|
21
|
+
"note": "Do not reproduce max-width and inline padding on every section.",
|
|
22
|
+
"destinations": [
|
|
23
|
+
{
|
|
24
|
+
"kind": "component",
|
|
25
|
+
"id": "container"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
22
28
|
},
|
|
23
29
|
{
|
|
24
30
|
"intent": "major page-region rhythm",
|
|
25
31
|
"use": "Section",
|
|
26
|
-
"note": "Keep paint in Surface, width and gutters in Container, and local child relationships in Stack or Grid."
|
|
32
|
+
"note": "Keep paint in Surface, width and gutters in Container, and local child relationships in Stack or Grid.",
|
|
33
|
+
"destinations": [
|
|
34
|
+
{
|
|
35
|
+
"kind": "component",
|
|
36
|
+
"id": "section"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"kind": "component",
|
|
40
|
+
"id": "surface"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"kind": "component",
|
|
44
|
+
"id": "container"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"kind": "component",
|
|
48
|
+
"id": "stack"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"kind": "component",
|
|
52
|
+
"id": "grid"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
27
55
|
},
|
|
28
56
|
{
|
|
29
57
|
"intent": "row or column relationship",
|
|
30
58
|
"use": "HStack, VStack, or responsive Stack",
|
|
31
|
-
"note": "Use fixed-axis conveniences when the axis stays fixed and Stack when the same content changes axis at a Brick breakpoint."
|
|
59
|
+
"note": "Use fixed-axis conveniences when the axis stays fixed and Stack when the same content changes axis at a Brick breakpoint.",
|
|
60
|
+
"destinations": [
|
|
61
|
+
{
|
|
62
|
+
"kind": "component",
|
|
63
|
+
"id": "stack"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
32
66
|
},
|
|
33
67
|
{
|
|
34
68
|
"intent": "child flex allocation",
|
|
35
69
|
"use": "Stack.Item",
|
|
36
|
-
"note": "Choose content-sized, fixed, automatic, or proportional growth before writing flex CSS."
|
|
70
|
+
"note": "Choose content-sized, fixed, automatic, or proportional growth before writing flex CSS.",
|
|
71
|
+
"destinations": [
|
|
72
|
+
{
|
|
73
|
+
"kind": "component",
|
|
74
|
+
"id": "stack"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
37
77
|
},
|
|
38
78
|
{
|
|
39
79
|
"intent": "child grid participation",
|
|
40
80
|
"use": "Grid.Item",
|
|
41
|
-
"note": "Use spans, placement, or self-alignment; keep a real wrapper when it establishes the participation box and use asChild only when the child should be that box."
|
|
81
|
+
"note": "Use spans, placement, or self-alignment; keep a real wrapper when it establishes the participation box and use asChild only when the child should be that box.",
|
|
82
|
+
"destinations": [
|
|
83
|
+
{
|
|
84
|
+
"kind": "component",
|
|
85
|
+
"id": "grid"
|
|
86
|
+
}
|
|
87
|
+
]
|
|
42
88
|
},
|
|
43
89
|
{
|
|
44
90
|
"intent": "local logical size constraint",
|
|
45
91
|
"use": "Frame",
|
|
46
|
-
"note": "Use only for inline/block size or min/max constraints; keep parent participation on the owning layout Item and overflow in ScrollArea."
|
|
92
|
+
"note": "Use only for inline/block size or min/max constraints; keep parent participation on the owning layout Item and overflow in ScrollArea.",
|
|
93
|
+
"destinations": [
|
|
94
|
+
{
|
|
95
|
+
"kind": "component",
|
|
96
|
+
"id": "frame"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"kind": "component",
|
|
100
|
+
"id": "scroll-area"
|
|
101
|
+
}
|
|
102
|
+
]
|
|
47
103
|
},
|
|
48
104
|
{
|
|
49
105
|
"intent": "overlapping depth relationship",
|
|
50
106
|
"use": "ZStack",
|
|
51
|
-
"note": "Prefer Surface media anatomy for ordinary media, scrim, and foreground compositions."
|
|
107
|
+
"note": "Prefer Surface media anatomy for ordinary media, scrim, and foreground compositions.",
|
|
108
|
+
"destinations": [
|
|
109
|
+
{
|
|
110
|
+
"kind": "component",
|
|
111
|
+
"id": "z-stack"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"kind": "component",
|
|
115
|
+
"id": "surface"
|
|
116
|
+
}
|
|
117
|
+
]
|
|
52
118
|
},
|
|
53
119
|
{
|
|
54
120
|
"intent": "track-based responsive layout",
|
|
55
121
|
"use": "Grid",
|
|
56
|
-
"note": "Use Stack when only one axis matters."
|
|
122
|
+
"note": "Use Stack when only one axis matters.",
|
|
123
|
+
"destinations": [
|
|
124
|
+
{
|
|
125
|
+
"kind": "component",
|
|
126
|
+
"id": "grid"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"kind": "component",
|
|
130
|
+
"id": "stack"
|
|
131
|
+
}
|
|
132
|
+
]
|
|
57
133
|
},
|
|
58
134
|
{
|
|
59
135
|
"intent": "visual region",
|
|
60
136
|
"use": "Surface or Card",
|
|
61
|
-
"note": "Use Card for titled or actionable contained content and Surface for a general visual boundary."
|
|
137
|
+
"note": "Use Card for titled or actionable contained content and Surface for a general visual boundary.",
|
|
138
|
+
"destinations": [
|
|
139
|
+
{
|
|
140
|
+
"kind": "component",
|
|
141
|
+
"id": "surface"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"kind": "component",
|
|
145
|
+
"id": "card"
|
|
146
|
+
}
|
|
147
|
+
]
|
|
62
148
|
},
|
|
63
149
|
{
|
|
64
150
|
"intent": "local light or dark semantic-token boundary",
|
|
65
151
|
"use": "Appearance",
|
|
66
|
-
"note": "Pass exactly one existing host; it may contain any number of descendants, and Appearance adds no paint, layout, or wrapper."
|
|
152
|
+
"note": "Pass exactly one existing host; it may contain any number of descendants, and Appearance adds no paint, layout, or wrapper.",
|
|
153
|
+
"destinations": [
|
|
154
|
+
{
|
|
155
|
+
"kind": "component",
|
|
156
|
+
"id": "appearance"
|
|
157
|
+
}
|
|
158
|
+
]
|
|
67
159
|
},
|
|
68
160
|
{
|
|
69
161
|
"intent": "brand or content image",
|
|
70
162
|
"use": "Image",
|
|
71
|
-
"note": "Keep alt text and fallback behavior intentional."
|
|
163
|
+
"note": "Keep alt text and fallback behavior intentional.",
|
|
164
|
+
"destinations": [
|
|
165
|
+
{
|
|
166
|
+
"kind": "component",
|
|
167
|
+
"id": "image"
|
|
168
|
+
}
|
|
169
|
+
]
|
|
72
170
|
},
|
|
73
171
|
{
|
|
74
172
|
"intent": "one of several peer campaigns or authored content regions",
|
|
75
173
|
"use": "Carousel",
|
|
76
|
-
"note": "Keep invariant evidence outside; let each Slide own a complete Surface when its media and message belong together."
|
|
174
|
+
"note": "Keep invariant evidence outside; let each Slide own a complete Surface when its media and message belong together.",
|
|
175
|
+
"destinations": [
|
|
176
|
+
{
|
|
177
|
+
"kind": "component",
|
|
178
|
+
"id": "carousel"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"kind": "component",
|
|
182
|
+
"id": "surface"
|
|
183
|
+
}
|
|
184
|
+
]
|
|
77
185
|
},
|
|
78
186
|
{
|
|
79
187
|
"intent": "site navigation",
|
|
80
188
|
"use": "NavigationMenu or NavList",
|
|
81
|
-
"note": "Use NavigationMenu for disclosure navigation and NavList for persistent route lists."
|
|
189
|
+
"note": "Use NavigationMenu for disclosure navigation and NavList for persistent route lists.",
|
|
190
|
+
"destinations": [
|
|
191
|
+
{
|
|
192
|
+
"kind": "component",
|
|
193
|
+
"id": "navigation-menu"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"kind": "component",
|
|
197
|
+
"id": "nav-list"
|
|
198
|
+
}
|
|
199
|
+
]
|
|
82
200
|
},
|
|
83
201
|
{
|
|
84
202
|
"intent": "responsive desktop and mobile alternatives",
|
|
85
203
|
"use": "Show and Hide",
|
|
86
|
-
"note": "Use only when interface or content changes; use responsive Stack when only arrangement changes."
|
|
204
|
+
"note": "Use only when interface or content changes; use responsive Stack when only arrangement changes.",
|
|
205
|
+
"destinations": [
|
|
206
|
+
{
|
|
207
|
+
"kind": "component",
|
|
208
|
+
"id": "show"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"kind": "component",
|
|
212
|
+
"id": "hide"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"kind": "component",
|
|
216
|
+
"id": "stack"
|
|
217
|
+
}
|
|
218
|
+
]
|
|
87
219
|
},
|
|
88
220
|
{
|
|
89
221
|
"intent": "grouped application actions",
|
|
90
222
|
"use": "Toolbar",
|
|
91
|
-
"note": "Do not use AppBar.Toolbar as an ARIA toolbar."
|
|
223
|
+
"note": "Do not use AppBar.Toolbar as an ARIA toolbar.",
|
|
224
|
+
"destinations": [
|
|
225
|
+
{
|
|
226
|
+
"kind": "component",
|
|
227
|
+
"id": "toolbar"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"kind": "component",
|
|
231
|
+
"id": "app-bar"
|
|
232
|
+
}
|
|
233
|
+
]
|
|
92
234
|
},
|
|
93
235
|
{
|
|
94
236
|
"intent": "several related disclosure sections",
|
|
95
237
|
"use": "Accordion",
|
|
96
|
-
"note": "Preserve Header, Trigger, Content, and ContentInner ownership; use Collapsible for one disclosure."
|
|
238
|
+
"note": "Preserve Header, Trigger, Content, and ContentInner ownership; use Collapsible for one disclosure.",
|
|
239
|
+
"destinations": [
|
|
240
|
+
{
|
|
241
|
+
"kind": "component",
|
|
242
|
+
"id": "accordion"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"kind": "component",
|
|
246
|
+
"id": "collapsible"
|
|
247
|
+
}
|
|
248
|
+
]
|
|
97
249
|
},
|
|
98
250
|
{
|
|
99
251
|
"intent": "semantic item or sequence content",
|
|
100
252
|
"use": "List",
|
|
101
|
-
"note": "Use structured row parts only when needed and keep Trailing compact on narrow screens."
|
|
253
|
+
"note": "Use structured row parts only when needed and keep Trailing compact on narrow screens.",
|
|
254
|
+
"destinations": [
|
|
255
|
+
{
|
|
256
|
+
"kind": "component",
|
|
257
|
+
"id": "list"
|
|
258
|
+
}
|
|
259
|
+
]
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"intent": "extended quotation and attribution",
|
|
263
|
+
"use": "Blockquote",
|
|
264
|
+
"note": "Keep Content and Caption as siblings in Root, put the source URL on Content, and use Cite only for a referenced work or source.",
|
|
265
|
+
"destinations": [
|
|
266
|
+
{
|
|
267
|
+
"kind": "component",
|
|
268
|
+
"id": "blockquote"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"kind": "component",
|
|
272
|
+
"id": "text"
|
|
273
|
+
}
|
|
274
|
+
]
|
|
102
275
|
}
|
|
103
276
|
],
|
|
104
277
|
"rules": [
|
|
@@ -132,11 +305,21 @@
|
|
|
132
305
|
"level": "must",
|
|
133
306
|
"statement": "Use responsive Grid tracks, gaps, spans, and alignment or responsive ZStack logical placement when only those relationships change; do not duplicate content or change semantic order."
|
|
134
307
|
},
|
|
308
|
+
{
|
|
309
|
+
"id": "interface-layout-spacing",
|
|
310
|
+
"level": "must",
|
|
311
|
+
"statement": "Use numeric Stack and Grid spacing factors for ordinary rhythm, including responsive values; use explicit CSS spacing only for a measured exception or application token instead of adding layout CSS merely because a value is outside the legacy token scale."
|
|
312
|
+
},
|
|
135
313
|
{
|
|
136
314
|
"id": "interface-parent-participation",
|
|
137
315
|
"level": "must",
|
|
138
316
|
"statement": "Separate component internal geometry from parent participation; configure the finished component for its anatomy and the owning layout or Item part for its relationship to siblings."
|
|
139
317
|
},
|
|
318
|
+
{
|
|
319
|
+
"id": "interface-control-size-alignment",
|
|
320
|
+
"level": "must",
|
|
321
|
+
"statement": "Give controls that share a row the same named size so button-like peers share height, control typography, icon scale, and radius; keep editable Input, Textarea, and Combobox text at least 16px while preserving the same outer geometry, and never repair mismatches with per-component heights, transforms, margins, or literal radii."
|
|
322
|
+
},
|
|
140
323
|
{
|
|
141
324
|
"id": "interface-frame-constraints",
|
|
142
325
|
"level": "must",
|
|
@@ -157,6 +340,16 @@
|
|
|
157
340
|
"level": "must",
|
|
158
341
|
"statement": "Preserve document landmarks and semantic elements when Brick does not provide an owner; Brick-first is not permission to erase HTML meaning."
|
|
159
342
|
},
|
|
343
|
+
{
|
|
344
|
+
"id": "interface-blockquote",
|
|
345
|
+
"level": "must",
|
|
346
|
+
"statement": "For an extended quotation, use Blockquote and preserve its figure Root, blockquote Content, sibling figcaption Caption, source URL, and cited-work semantics."
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"id": "interface-prose-trust",
|
|
350
|
+
"level": "must",
|
|
351
|
+
"statement": "Use Prose only after external content has been sanitized and parsed into trusted React children; keep heading hierarchy, landmarks, link destinations, media alternatives, table semantics, and trust policy application-owned."
|
|
352
|
+
},
|
|
160
353
|
{
|
|
161
354
|
"id": "interface-responsive-navigation-data",
|
|
162
355
|
"level": "must",
|
|
@@ -197,6 +390,16 @@
|
|
|
197
390
|
"level": "must",
|
|
198
391
|
"statement": "When styles.css or styles/core.css is loaded, change the document canvas, foreground, and body typography through semantic Brick tokens instead of repeating the body bindings that Brick's foundation already owns."
|
|
199
392
|
},
|
|
393
|
+
{
|
|
394
|
+
"id": "interface-browser-baseline",
|
|
395
|
+
"level": "must",
|
|
396
|
+
"statement": "Keep required HTML, CSS, and Web API behavior within the package or application's declared browser floor; place newer visual and platform features behind a usable baseline rather than assuming parsing, prefixes, emulation, or one engine proves interoperability."
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"id": "interface-browser-transformation",
|
|
400
|
+
"level": "must",
|
|
401
|
+
"statement": "Author standards-based CSS and let the declared build target generate historical vendor syntax when supported; use a documented feature-specific fallback or bounded workaround for behavior a transformer cannot supply, and never add prefixes by visual guess."
|
|
402
|
+
},
|
|
200
403
|
{
|
|
201
404
|
"id": "interface-customization-order",
|
|
202
405
|
"level": "must",
|
|
@@ -297,6 +500,7 @@
|
|
|
297
500
|
"Confirm light to dark to light and dark to light to dark scopes restore the theme's complete semantic foreground, background, boundary, action, focus, status, scrim, shadow, and interaction-state pairs without child-by-child recoloring.",
|
|
298
501
|
"Confirm every portalled visual root either remains inside the intended theme/appearance container or receives an explicit Appearance scope.",
|
|
299
502
|
"Confirm repeated CSS values are theme tokens, component-specific values use documented component tokens, and every remaining direct stable-hook declaration has a complete customization gap report.",
|
|
503
|
+
"Confirm required syntax matches the declared browser floor, permission-sensitive APIs include a useful rejection path, optional features retain a usable baseline, and portable behavior has representative Chromium, Firefox, and WebKit evidence; treat Playwright WebKit and device emulation as engine evidence rather than physical-platform proof.",
|
|
300
504
|
"Confirm source order follows rendered ownership, static content is separate from interaction assembly when it obscures the component tree, and comments explain why a constraint exists rather than what an obvious line does.",
|
|
301
505
|
"Run the package's CSS-delivery check and the application's accessibility, browser, and performance checks."
|
|
302
506
|
],
|
|
@@ -316,6 +520,8 @@
|
|
|
316
520
|
"show",
|
|
317
521
|
"hide",
|
|
318
522
|
"accordion",
|
|
319
|
-
"list"
|
|
523
|
+
"list",
|
|
524
|
+
"blockquote",
|
|
525
|
+
"highlight"
|
|
320
526
|
]
|
|
321
527
|
}
|
|
@@ -32,6 +32,7 @@ Build complete interfaces from Brick's structural, content, navigation, action,
|
|
|
32
32
|
- **grouped application actions:** use Toolbar. Do not use AppBar.Toolbar as an ARIA toolbar.
|
|
33
33
|
- **several related disclosure sections:** use Accordion. Preserve Header, Trigger, Content, and ContentInner ownership; use Collapsible for one disclosure.
|
|
34
34
|
- **semantic item or sequence content:** use List. Use structured row parts only when needed and keep Trailing compact on narrow screens.
|
|
35
|
+
- **extended quotation and attribution:** use Blockquote. Keep Content and Caption as siblings in Root, put the source URL on Content, and use Cite only for a referenced work or source.
|
|
35
36
|
|
|
36
37
|
## Rules
|
|
37
38
|
|
|
@@ -41,11 +42,15 @@ Build complete interfaces from Brick's structural, content, navigation, action,
|
|
|
41
42
|
- **MUST:** Build from a blueprint, select the owning Brick components, render their defaults, choose supported props, then apply Theme, Block, or application customization in that order.
|
|
42
43
|
- **MUST:** Keep one copy of content when only its layout changes; use responsive Stack values instead of duplicated Show/Hide trees.
|
|
43
44
|
- **MUST:** Use responsive Grid tracks, gaps, spans, and alignment or responsive ZStack logical placement when only those relationships change; do not duplicate content or change semantic order.
|
|
45
|
+
- **MUST:** Use numeric Stack and Grid spacing factors for ordinary rhythm, including responsive values; use explicit CSS spacing only for a measured exception or application token instead of adding layout CSS merely because a value is outside the legacy token scale.
|
|
44
46
|
- **MUST:** Separate component internal geometry from parent participation; configure the finished component for its anatomy and the owning layout or Item part for its relationship to siblings.
|
|
47
|
+
- **MUST:** Give controls that share a row the same named size so button-like peers share height, control typography, icon scale, and radius; keep editable Input, Textarea, and Combobox text at least 16px while preserving the same outer geometry, and never repair mismatches with per-component heights, transforms, margins, or literal radii.
|
|
45
48
|
- **MUST:** Use Frame for a qualified local logical size constraint instead of repeating width/height CSS or adding size props to a finished component; do not use Frame when Container measure, layout participation, AspectRatio, or ScrollArea owns the actual job.
|
|
46
49
|
- **MUST:** Keep a real layout-item wrapper when it establishes flex or grid participation or the definite parent size required by ScrollArea, Carousel fill, or Image fill; asChild is not a wrapper-removal goal by itself.
|
|
47
50
|
- **MUST:** Do not use Stack, Surface, Button, or another convenient component when a more specific Brick navigation, media, content, or interaction component owns the job.
|
|
48
51
|
- **MUST:** Preserve document landmarks and semantic elements when Brick does not provide an owner; Brick-first is not permission to erase HTML meaning.
|
|
52
|
+
- **MUST:** For an extended quotation, use Blockquote and preserve its figure Root, blockquote Content, sibling figcaption Caption, source URL, and cited-work semantics.
|
|
53
|
+
- **MUST:** Use Prose only after external content has been sanitized and parsed into trusted React children; keep heading hierarchy, landmarks, link destinations, media alternatives, table semantics, and trust policy application-owned.
|
|
49
54
|
- **MUST:** When desktop and mobile require distinct navigation components, share application-owned destination labels, hrefs, values, and ordering while preserving each pattern's correct Brick anatomy; do not duplicate navigation content or force one interaction tree across breakpoints.
|
|
50
55
|
- **MUST:** Use Show and Hide for first-paint visibility; when a controlled interactive overlay may remain open across a breakpoint, synchronize its application state at that boundary so a hidden modal cannot retain focus, scroll lock, or isolation.
|
|
51
56
|
- **SHOULD:** Express reusable brand values through semantic Brick tokens and a theme rather than repeating literal application values.
|
|
@@ -54,6 +59,8 @@ Build complete interfaces from Brick's structural, content, navigation, action,
|
|
|
54
59
|
- **SHOULD:** Use ZStack for reusable nine-position overlap; retain narrow application positioning only for artwork coordinates that ZStack intentionally does not own.
|
|
55
60
|
- **MUST:** Classify findings before changing a package: behavior and accessibility belong to Atom, finished reusable component paint belongs to Brick, brand values belong to Theme, repeated responsive section composition may belong to Block or Blueprint, and one-page art direction remains application-owned.
|
|
56
61
|
- **MUST:** When styles.css or styles/core.css is loaded, change the document canvas, foreground, and body typography through semantic Brick tokens instead of repeating the body bindings that Brick's foundation already owns.
|
|
62
|
+
- **MUST:** Keep required HTML, CSS, and Web API behavior within the package or application's declared browser floor; place newer visual and platform features behind a usable baseline rather than assuming parsing, prefixes, emulation, or one engine proves interoperability.
|
|
63
|
+
- **MUST:** Author standards-based CSS and let the declared build target generate historical vendor syntax when supported; use a documented feature-specific fallback or bounded workaround for behavior a transformer cannot supply, and never add prefixes by visual guess.
|
|
57
64
|
- **MUST:** Do not write a direct declaration against a Brick part until the correct component, supported props, semantic tokens, component tokens, and public compound parts have been checked in order.
|
|
58
65
|
- **MUST:** Target only documented Brick tokens, public compound parts, stable brick-* base classes, documented slots, and documented state attributes; inspected internal wrappers or implementation selectors are not APIs.
|
|
59
66
|
- **MUST:** When a direct stable-hook override remains because no public prop or token expresses the requirement, emit the required customization gap report and classify its owner before treating the interface as complete.
|
|
@@ -104,6 +111,7 @@ Emit this record for every native/framework fallback or direct stable-hook decla
|
|
|
104
111
|
- Confirm light to dark to light and dark to light to dark scopes restore the theme's complete semantic foreground, background, boundary, action, focus, status, scrim, shadow, and interaction-state pairs without child-by-child recoloring.
|
|
105
112
|
- Confirm every portalled visual root either remains inside the intended theme/appearance container or receives an explicit Appearance scope.
|
|
106
113
|
- Confirm repeated CSS values are theme tokens, component-specific values use documented component tokens, and every remaining direct stable-hook declaration has a complete customization gap report.
|
|
114
|
+
- Confirm required syntax matches the declared browser floor, permission-sensitive APIs include a useful rejection path, optional features retain a usable baseline, and portable behavior has representative Chromium, Firefox, and WebKit evidence; treat Playwright WebKit and device emulation as engine evidence rather than physical-platform proof.
|
|
107
115
|
- Confirm source order follows rendered ownership, static content is separate from interaction assembly when it obscures the component tree, and comments explain why a constraint exists rather than what an obvious line does.
|
|
108
116
|
- Run the package's CSS-delivery check and the application's accessibility, browser, and performance checks.
|
|
109
117
|
|
|
@@ -125,3 +133,5 @@ Emit this record for every native/framework fallback or direct stable-hook decla
|
|
|
125
133
|
- `hide`
|
|
126
134
|
- `accordion`
|
|
127
135
|
- `list`
|
|
136
|
+
- `blockquote`
|
|
137
|
+
- `highlight`
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "flowstack.agent-component.v1",
|
|
3
|
+
"id": "kbd",
|
|
4
|
+
"name": "Kbd",
|
|
5
|
+
"package": "@flowstack-ui/brick",
|
|
6
|
+
"layer": "brick",
|
|
7
|
+
"kind": "component",
|
|
8
|
+
"purpose": "Render native keyboard-input notation with finished Brick sizing and visual recipes.",
|
|
9
|
+
"useWhen": [
|
|
10
|
+
"Copy needs to name a physical or virtual keyboard key or show a compact authored key sequence."
|
|
11
|
+
],
|
|
12
|
+
"avoidWhen": [
|
|
13
|
+
{
|
|
14
|
+
"condition": "The application must register or execute a shortcut.",
|
|
15
|
+
"useInstead": "application-owned keyboard behavior"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"condition": "The content is a technical literal rather than keyboard input.",
|
|
19
|
+
"useInstead": "Code"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"composition": [
|
|
23
|
+
"Keep Kbd inside meaningful surrounding copy or repeat Kbd for each authored key in a sequence with visible separators outside the key hosts."
|
|
24
|
+
],
|
|
25
|
+
"rules": [
|
|
26
|
+
{
|
|
27
|
+
"id": "kbd-native",
|
|
28
|
+
"level": "must",
|
|
29
|
+
"statement": "Preserve the one native kbd host and use it only for keyboard-input notation."
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"id": "kbd-passive",
|
|
33
|
+
"level": "must",
|
|
34
|
+
"statement": "Do not register shortcuts, listen for keys, translate platform labels, or add interaction inside Kbd."
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"id": "kbd-recipes",
|
|
38
|
+
"level": "must",
|
|
39
|
+
"statement": "Select only the documented raised, outline, subtle, or plain variant and sm, md, or lg size."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"id": "kbd-css",
|
|
43
|
+
"level": "must",
|
|
44
|
+
"statement": "Load styles.css or core.css plus kbd.css."
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"commonMistakes": [
|
|
48
|
+
{
|
|
49
|
+
"mistake": "Putting an entire shortcut such as Ctrl+Shift+P inside one Kbd host without authored separation.",
|
|
50
|
+
"correction": "Use one Kbd per key and keep visible separators in the surrounding content owner."
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"validation": [
|
|
54
|
+
"Confirm native kbd semantics, closed recipes, readable key sequences, selection and copy, forced colors, zoom, localization, RTL, and CSS delivery.",
|
|
55
|
+
"Confirm Kbd adds no tab stop, role, shortcut listener, or platform detection."
|
|
56
|
+
],
|
|
57
|
+
"related": [
|
|
58
|
+
"code",
|
|
59
|
+
"text",
|
|
60
|
+
"interface-composition"
|
|
61
|
+
]
|
|
62
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Kbd agent guide
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
|
|
5
|
+
Render native keyboard-input notation with finished Brick sizing and visual recipes.
|
|
6
|
+
|
|
7
|
+
## Use when
|
|
8
|
+
|
|
9
|
+
- Copy needs to name a physical or virtual keyboard key or show a compact authored key sequence.
|
|
10
|
+
|
|
11
|
+
## Choose something else when
|
|
12
|
+
|
|
13
|
+
- The application must register or execute a shortcut. Use application-owned keyboard behavior.
|
|
14
|
+
- The content is a technical literal rather than keyboard input. Use Code.
|
|
15
|
+
|
|
16
|
+
## Required composition
|
|
17
|
+
|
|
18
|
+
- Keep Kbd inside meaningful surrounding copy or repeat Kbd for each authored key in a sequence with visible separators outside the key hosts.
|
|
19
|
+
|
|
20
|
+
## Rules
|
|
21
|
+
|
|
22
|
+
- **MUST:** Preserve the one native kbd host and use it only for keyboard-input notation.
|
|
23
|
+
- **MUST:** Do not register shortcuts, listen for keys, translate platform labels, or add interaction inside Kbd.
|
|
24
|
+
- **MUST:** Select only the documented raised, outline, subtle, or plain variant and sm, md, or lg size.
|
|
25
|
+
- **MUST:** Load styles.css or core.css plus kbd.css.
|
|
26
|
+
|
|
27
|
+
## Common mistakes
|
|
28
|
+
|
|
29
|
+
- **Avoid:** Putting an entire shortcut such as Ctrl+Shift+P inside one Kbd host without authored separation. **Instead:** Use one Kbd per key and keep visible separators in the surrounding content owner.
|
|
30
|
+
|
|
31
|
+
## Validation checklist
|
|
32
|
+
|
|
33
|
+
- Confirm native kbd semantics, closed recipes, readable key sequences, selection and copy, forced colors, zoom, localization, RTL, and CSS delivery.
|
|
34
|
+
- Confirm Kbd adds no tab stop, role, shortcut listener, or platform detection.
|
|
35
|
+
|
|
36
|
+
## Related guidance
|
|
37
|
+
|
|
38
|
+
- `code`
|
|
39
|
+
- `text`
|
|
40
|
+
- `interface-composition`
|