ui-lab-registry 0.3.44 → 0.3.46
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/dist/components/Anchor/examples/index.d.ts +0 -1
- package/dist/components/Anchor/examples/index.d.ts.map +1 -1
- package/dist/components/Anchor/examples/index.js +1 -1
- package/dist/components/Anchor/examples/index.js.map +1 -1
- package/dist/components/Anchor/index.d.ts +0 -1
- package/dist/components/Anchor/index.d.ts.map +1 -1
- package/dist/components/Anchor/index.js +1 -9
- package/dist/components/Anchor/index.js.map +1 -1
- package/dist/components/Badge/examples/index.d.ts +0 -4
- package/dist/components/Badge/examples/index.d.ts.map +1 -1
- package/dist/components/Badge/examples/index.js +1 -4
- package/dist/components/Badge/examples/index.js.map +1 -1
- package/dist/components/Badge/index.d.ts +0 -1
- package/dist/components/Badge/index.d.ts.map +1 -1
- package/dist/components/Badge/index.js +3 -22
- package/dist/components/Badge/index.js.map +1 -1
- package/dist/components/Banner/examples/index.d.ts +0 -2
- package/dist/components/Banner/examples/index.d.ts.map +1 -1
- package/dist/components/Banner/examples/index.js +1 -2
- package/dist/components/Banner/examples/index.js.map +1 -1
- package/dist/components/Banner/index.d.ts +0 -1
- package/dist/components/Banner/index.d.ts.map +1 -1
- package/dist/components/Banner/index.js +4 -23
- package/dist/components/Banner/index.js.map +1 -1
- package/dist/components/Button/examples/index.d.ts +0 -10
- package/dist/components/Button/examples/index.d.ts.map +1 -1
- package/dist/components/Button/examples/index.js +1 -10
- package/dist/components/Button/examples/index.js.map +1 -1
- package/dist/components/Button/index.d.ts +0 -1
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/index.js +0 -17
- package/dist/components/Button/index.js.map +1 -1
- package/dist/components/Card/examples/index.d.ts +0 -2
- package/dist/components/Card/examples/index.d.ts.map +1 -1
- package/dist/components/Card/examples/index.js +1 -2
- package/dist/components/Card/examples/index.js.map +1 -1
- package/dist/components/Card/index.d.ts +0 -1
- package/dist/components/Card/index.d.ts.map +1 -1
- package/dist/components/Card/index.js +1 -9
- package/dist/components/Card/index.js.map +1 -1
- package/dist/components/Checkbox/examples/index.d.ts +0 -4
- package/dist/components/Checkbox/examples/index.d.ts.map +1 -1
- package/dist/components/Checkbox/examples/index.js +1 -4
- package/dist/components/Checkbox/examples/index.js.map +1 -1
- package/dist/components/Checkbox/index.d.ts +0 -1
- package/dist/components/Checkbox/index.d.ts.map +1 -1
- package/dist/components/Checkbox/index.js +1 -22
- package/dist/components/Checkbox/index.js.map +1 -1
- package/dist/components/Color/examples/index.d.ts +0 -3
- package/dist/components/Color/examples/index.d.ts.map +1 -1
- package/dist/components/Color/examples/index.js +1 -3
- package/dist/components/Color/examples/index.js.map +1 -1
- package/dist/components/Color/index.d.ts +0 -1
- package/dist/components/Color/index.d.ts.map +1 -1
- package/dist/components/Color/index.js +1 -11
- package/dist/components/Color/index.js.map +1 -1
- package/dist/components/Command/examples/index.d.ts +0 -2
- package/dist/components/Command/examples/index.d.ts.map +1 -1
- package/dist/components/Command/examples/index.js +1 -2
- package/dist/components/Command/examples/index.js.map +1 -1
- package/dist/components/Command/index.d.ts +0 -1
- package/dist/components/Command/index.d.ts.map +1 -1
- package/dist/components/Command/index.js +1 -9
- package/dist/components/Command/index.js.map +1 -1
- package/dist/components/Confirm/examples/index.d.ts +0 -2
- package/dist/components/Confirm/examples/index.d.ts.map +1 -1
- package/dist/components/Confirm/examples/index.js +1 -2
- package/dist/components/Confirm/examples/index.js.map +1 -1
- package/dist/components/Confirm/index.d.ts +0 -1
- package/dist/components/Confirm/index.d.ts.map +1 -1
- package/dist/components/Confirm/index.js +1 -9
- package/dist/components/Confirm/index.js.map +1 -1
- package/dist/components/Date/examples/index.d.ts +0 -8
- package/dist/components/Date/examples/index.d.ts.map +1 -1
- package/dist/components/Date/examples/index.js +1 -8
- package/dist/components/Date/examples/index.js.map +1 -1
- package/dist/components/Date/index.d.ts.map +1 -1
- package/dist/components/Date/index.js +1 -10
- package/dist/components/Date/index.js.map +1 -1
- package/dist/components/Divider/examples/index.d.ts +0 -2
- package/dist/components/Divider/examples/index.d.ts.map +1 -1
- package/dist/components/Divider/examples/index.js +1 -2
- package/dist/components/Divider/examples/index.js.map +1 -1
- package/dist/components/Divider/index.d.ts +0 -1
- package/dist/components/Divider/index.d.ts.map +1 -1
- package/dist/components/Divider/index.js +1 -14
- package/dist/components/Divider/index.js.map +1 -1
- package/dist/components/Expand/examples/index.d.ts +0 -2
- package/dist/components/Expand/examples/index.d.ts.map +1 -1
- package/dist/components/Expand/examples/index.js +1 -2
- package/dist/components/Expand/examples/index.js.map +1 -1
- package/dist/components/Expand/index.d.ts +0 -1
- package/dist/components/Expand/index.d.ts.map +1 -1
- package/dist/components/Expand/index.js +0 -9
- package/dist/components/Expand/index.js.map +1 -1
- package/dist/components/Flex/examples/01-axis-control.d.ts +11 -0
- package/dist/components/Flex/examples/01-axis-control.d.ts.map +1 -0
- package/dist/components/Flex/examples/01-axis-control.js +149 -0
- package/dist/components/Flex/examples/01-axis-control.js.map +1 -0
- package/dist/components/Flex/examples/02-wrap-overflow.d.ts +11 -0
- package/dist/components/Flex/examples/02-wrap-overflow.d.ts.map +1 -0
- package/dist/components/Flex/examples/02-wrap-overflow.js +147 -0
- package/dist/components/Flex/examples/02-wrap-overflow.js.map +1 -0
- package/dist/components/Flex/examples/03-container-query-reflow.d.ts +11 -0
- package/dist/components/Flex/examples/03-container-query-reflow.d.ts.map +1 -0
- package/dist/components/Flex/examples/03-container-query-reflow.js +151 -0
- package/dist/components/Flex/examples/03-container-query-reflow.js.map +1 -0
- package/dist/components/Flex/examples/index.d.ts +6 -2
- package/dist/components/Flex/examples/index.d.ts.map +1 -1
- package/dist/components/Flex/examples/index.js +6 -2
- package/dist/components/Flex/examples/index.js.map +1 -1
- package/dist/components/Flex/examples.json +14 -4
- package/dist/components/Flex/index.d.ts.map +1 -1
- package/dist/components/Flex/index.js +31 -17
- package/dist/components/Flex/index.js.map +1 -1
- package/dist/components/Frame/examples/index.d.ts +0 -6
- package/dist/components/Frame/examples/index.d.ts.map +1 -1
- package/dist/components/Frame/examples/index.js +1 -6
- package/dist/components/Frame/examples/index.js.map +1 -1
- package/dist/components/Frame/index.d.ts +0 -1
- package/dist/components/Frame/index.d.ts.map +1 -1
- package/dist/components/Frame/index.js +1 -13
- package/dist/components/Frame/index.js.map +1 -1
- package/dist/components/Gallery/examples/01-grid-composition.d.ts +11 -0
- package/dist/components/Gallery/examples/01-grid-composition.d.ts.map +1 -0
- package/dist/components/Gallery/examples/01-grid-composition.js +95 -0
- package/dist/components/Gallery/examples/01-grid-composition.js.map +1 -0
- package/dist/components/Gallery/examples/02-item-orientation.d.ts +11 -0
- package/dist/components/Gallery/examples/02-item-orientation.d.ts.map +1 -0
- package/dist/components/Gallery/examples/02-item-orientation.js +106 -0
- package/dist/components/Gallery/examples/02-item-orientation.js.map +1 -0
- package/dist/components/Gallery/examples/03-span-layout.d.ts +11 -0
- package/dist/components/Gallery/examples/03-span-layout.d.ts.map +1 -0
- package/dist/components/Gallery/examples/03-span-layout.js +95 -0
- package/dist/components/Gallery/examples/03-span-layout.js.map +1 -0
- package/dist/components/Gallery/examples/index.d.ts +6 -2
- package/dist/components/Gallery/examples/index.d.ts.map +1 -1
- package/dist/components/Gallery/examples/index.js +6 -2
- package/dist/components/Gallery/examples/index.js.map +1 -1
- package/dist/components/Gallery/examples.json +14 -4
- package/dist/components/Gallery/index.d.ts.map +1 -1
- package/dist/components/Gallery/index.js +6 -2
- package/dist/components/Gallery/index.js.map +1 -1
- package/dist/components/Grid/examples/02-track-placement.d.ts +11 -0
- package/dist/components/Grid/examples/02-track-placement.d.ts.map +1 -0
- package/dist/components/Grid/examples/02-track-placement.js +181 -0
- package/dist/components/Grid/examples/02-track-placement.js.map +1 -0
- package/dist/components/Grid/examples/03-editorial-spans.d.ts +11 -0
- package/dist/components/Grid/examples/03-editorial-spans.d.ts.map +1 -0
- package/dist/components/Grid/examples/03-editorial-spans.js +167 -0
- package/dist/components/Grid/examples/03-editorial-spans.js.map +1 -0
- package/dist/components/Grid/examples/04-responsive-card-rail.d.ts +11 -0
- package/dist/components/Grid/examples/04-responsive-card-rail.d.ts.map +1 -0
- package/dist/components/Grid/examples/04-responsive-card-rail.js +126 -0
- package/dist/components/Grid/examples/04-responsive-card-rail.js.map +1 -0
- package/dist/components/Grid/examples/index.d.ts +6 -2
- package/dist/components/Grid/examples/index.d.ts.map +1 -1
- package/dist/components/Grid/examples/index.js +6 -2
- package/dist/components/Grid/examples/index.js.map +1 -1
- package/dist/components/Grid/examples.json +14 -4
- package/dist/components/Grid/index.d.ts.map +1 -1
- package/dist/components/Grid/index.js +46 -13
- package/dist/components/Grid/index.js.map +1 -1
- package/dist/components/Group/examples/index.d.ts +0 -2
- package/dist/components/Group/examples/index.d.ts.map +1 -1
- package/dist/components/Group/examples/index.js +1 -2
- package/dist/components/Group/examples/index.js.map +1 -1
- package/dist/components/Group/index.d.ts +0 -1
- package/dist/components/Group/index.d.ts.map +1 -1
- package/dist/components/Group/index.js +0 -8
- package/dist/components/Group/index.js.map +1 -1
- package/dist/components/Input/examples/index.d.ts +0 -4
- package/dist/components/Input/examples/index.d.ts.map +1 -1
- package/dist/components/Input/examples/index.js +1 -4
- package/dist/components/Input/examples/index.js.map +1 -1
- package/dist/components/Input/index.d.ts +0 -1
- package/dist/components/Input/index.d.ts.map +1 -1
- package/dist/components/Input/index.js +0 -10
- package/dist/components/Input/index.js.map +1 -1
- package/dist/components/Label/examples/index.d.ts +0 -2
- package/dist/components/Label/examples/index.d.ts.map +1 -1
- package/dist/components/Label/examples/index.js +1 -2
- package/dist/components/Label/examples/index.js.map +1 -1
- package/dist/components/Label/index.d.ts +0 -1
- package/dist/components/Label/index.d.ts.map +1 -1
- package/dist/components/Label/index.js +1 -9
- package/dist/components/Label/index.js.map +1 -1
- package/dist/components/List/examples/index.d.ts +0 -2
- package/dist/components/List/examples/index.d.ts.map +1 -1
- package/dist/components/List/examples/index.js +1 -2
- package/dist/components/List/examples/index.js.map +1 -1
- package/dist/components/List/index.d.ts +0 -1
- package/dist/components/List/index.d.ts.map +1 -1
- package/dist/components/List/index.js +2 -10
- package/dist/components/List/index.js.map +1 -1
- package/dist/components/Mask/examples/index.d.ts +0 -4
- package/dist/components/Mask/examples/index.d.ts.map +1 -1
- package/dist/components/Mask/examples/index.js +1 -4
- package/dist/components/Mask/examples/index.js.map +1 -1
- package/dist/components/Mask/index.d.ts +0 -1
- package/dist/components/Mask/index.d.ts.map +1 -1
- package/dist/components/Mask/index.js +1 -11
- package/dist/components/Mask/index.js.map +1 -1
- package/dist/components/Menu/examples/index.d.ts +0 -4
- package/dist/components/Menu/examples/index.d.ts.map +1 -1
- package/dist/components/Menu/examples/index.js +1 -4
- package/dist/components/Menu/examples/index.js.map +1 -1
- package/dist/components/Menu/index.d.ts +0 -1
- package/dist/components/Menu/index.d.ts.map +1 -1
- package/dist/components/Menu/index.js +1 -11
- package/dist/components/Menu/index.js.map +1 -1
- package/dist/components/Modal/examples/index.d.ts +0 -4
- package/dist/components/Modal/examples/index.d.ts.map +1 -1
- package/dist/components/Modal/examples/index.js +1 -4
- package/dist/components/Modal/examples/index.js.map +1 -1
- package/dist/components/Modal/index.d.ts +0 -1
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/components/Modal/index.js +1 -9
- package/dist/components/Modal/index.js.map +1 -1
- package/dist/components/Panel/examples/index.d.ts +1 -0
- package/dist/components/Panel/examples/index.d.ts.map +1 -0
- package/dist/components/Panel/examples/index.js +2 -0
- package/dist/components/Panel/examples/index.js.map +1 -0
- package/dist/components/Panel/index.d.ts.map +1 -1
- package/dist/components/Panel/index.js +1 -1
- package/dist/components/Panel/index.js.map +1 -1
- package/dist/components/Path/examples/index.d.ts +0 -2
- package/dist/components/Path/examples/index.d.ts.map +1 -1
- package/dist/components/Path/examples/index.js +1 -2
- package/dist/components/Path/examples/index.js.map +1 -1
- package/dist/components/Path/index.d.ts +0 -1
- package/dist/components/Path/index.d.ts.map +1 -1
- package/dist/components/Path/index.js +8 -16
- package/dist/components/Path/index.js.map +1 -1
- package/dist/components/Popover/examples/index.d.ts +0 -2
- package/dist/components/Popover/examples/index.d.ts.map +1 -1
- package/dist/components/Popover/examples/index.js +1 -2
- package/dist/components/Popover/examples/index.js.map +1 -1
- package/dist/components/Popover/index.d.ts +0 -1
- package/dist/components/Popover/index.d.ts.map +1 -1
- package/dist/components/Popover/index.js +1 -9
- package/dist/components/Popover/index.js.map +1 -1
- package/dist/components/Progress/examples/index.d.ts +0 -2
- package/dist/components/Progress/examples/index.d.ts.map +1 -1
- package/dist/components/Progress/examples/index.js +1 -2
- package/dist/components/Progress/examples/index.js.map +1 -1
- package/dist/components/Progress/index.d.ts +0 -1
- package/dist/components/Progress/index.d.ts.map +1 -1
- package/dist/components/Progress/index.js +3 -22
- package/dist/components/Progress/index.js.map +1 -1
- package/dist/components/Radio/examples/index.d.ts +0 -4
- package/dist/components/Radio/examples/index.d.ts.map +1 -1
- package/dist/components/Radio/examples/index.js +1 -4
- package/dist/components/Radio/examples/index.js.map +1 -1
- package/dist/components/Radio/index.d.ts +0 -1
- package/dist/components/Radio/index.d.ts.map +1 -1
- package/dist/components/Radio/index.js +1 -11
- package/dist/components/Radio/index.js.map +1 -1
- package/dist/components/Scroll/examples/index.d.ts +0 -2
- package/dist/components/Scroll/examples/index.d.ts.map +1 -1
- package/dist/components/Scroll/examples/index.js +1 -2
- package/dist/components/Scroll/examples/index.js.map +1 -1
- package/dist/components/Scroll/index.d.ts +0 -1
- package/dist/components/Scroll/index.d.ts.map +1 -1
- package/dist/components/Scroll/index.js +1 -9
- package/dist/components/Scroll/index.js.map +1 -1
- package/dist/components/Select/examples/index.d.ts +0 -4
- package/dist/components/Select/examples/index.d.ts.map +1 -1
- package/dist/components/Select/examples/index.js +1 -4
- package/dist/components/Select/examples/index.js.map +1 -1
- package/dist/components/Select/index.d.ts +0 -1
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/index.js +1 -11
- package/dist/components/Select/index.js.map +1 -1
- package/dist/components/Slider/examples/index.d.ts +0 -2
- package/dist/components/Slider/examples/index.d.ts.map +1 -1
- package/dist/components/Slider/examples/index.js +1 -2
- package/dist/components/Slider/examples/index.js.map +1 -1
- package/dist/components/Slider/index.d.ts +0 -1
- package/dist/components/Slider/index.d.ts.map +1 -1
- package/dist/components/Slider/index.js +0 -8
- package/dist/components/Slider/index.js.map +1 -1
- package/dist/components/Switch/examples/index.d.ts +0 -2
- package/dist/components/Switch/examples/index.d.ts.map +1 -1
- package/dist/components/Switch/examples/index.js +1 -2
- package/dist/components/Switch/examples/index.js.map +1 -1
- package/dist/components/Switch/index.d.ts +0 -1
- package/dist/components/Switch/index.d.ts.map +1 -1
- package/dist/components/Switch/index.js +0 -8
- package/dist/components/Switch/index.js.map +1 -1
- package/dist/components/Table/examples/index.d.ts +0 -2
- package/dist/components/Table/examples/index.d.ts.map +1 -1
- package/dist/components/Table/examples/index.js +1 -2
- package/dist/components/Table/examples/index.js.map +1 -1
- package/dist/components/Table/index.d.ts +0 -1
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/Table/index.js +1 -10
- package/dist/components/Table/index.js.map +1 -1
- package/dist/components/Tabs/examples/index.d.ts +0 -4
- package/dist/components/Tabs/examples/index.d.ts.map +1 -1
- package/dist/components/Tabs/examples/index.js +1 -4
- package/dist/components/Tabs/examples/index.js.map +1 -1
- package/dist/components/Tabs/index.d.ts +0 -1
- package/dist/components/Tabs/index.d.ts.map +1 -1
- package/dist/components/Tabs/index.js +1 -11
- package/dist/components/Tabs/index.js.map +1 -1
- package/dist/components/Textarea/examples/index.d.ts +0 -2
- package/dist/components/Textarea/examples/index.d.ts.map +1 -1
- package/dist/components/Textarea/examples/index.js +1 -2
- package/dist/components/Textarea/examples/index.js.map +1 -1
- package/dist/components/Textarea/index.d.ts +0 -1
- package/dist/components/Textarea/index.d.ts.map +1 -1
- package/dist/components/Textarea/index.js +1 -9
- package/dist/components/Textarea/index.js.map +1 -1
- package/dist/components/Toast/examples/index.d.ts +0 -10
- package/dist/components/Toast/examples/index.d.ts.map +1 -1
- package/dist/components/Toast/examples/index.js +1 -10
- package/dist/components/Toast/examples/index.js.map +1 -1
- package/dist/components/Toast/index.d.ts +0 -1
- package/dist/components/Toast/index.d.ts.map +1 -1
- package/dist/components/Toast/index.js +2 -18
- package/dist/components/Toast/index.js.map +1 -1
- package/dist/components/Tooltip/examples/index.d.ts +0 -2
- package/dist/components/Tooltip/examples/index.d.ts.map +1 -1
- package/dist/components/Tooltip/examples/index.js +1 -2
- package/dist/components/Tooltip/examples/index.js.map +1 -1
- package/dist/components/Tooltip/index.d.ts +0 -1
- package/dist/components/Tooltip/index.d.ts.map +1 -1
- package/dist/components/Tooltip/index.js +1 -9
- package/dist/components/Tooltip/index.js.map +1 -1
- package/dist/demo-registry.d.ts.map +1 -1
- package/dist/demo-registry.js +1 -33
- package/dist/demo-registry.js.map +1 -1
- package/dist/elements/AI/AIChatInput/index.d.ts +0 -3
- package/dist/elements/AI/AIChatInput/index.d.ts.map +1 -1
- package/dist/elements/AI/AIChatInput/index.js +0 -2
- package/dist/elements/AI/AIChatInput/index.js.map +1 -1
- package/dist/elements/AI/ChainOfThought/index.d.ts +0 -3
- package/dist/elements/AI/ChainOfThought/index.d.ts.map +1 -1
- package/dist/elements/AI/ChainOfThought/index.js +0 -2
- package/dist/elements/AI/ChainOfThought/index.js.map +1 -1
- package/dist/elements/AI/Chat/index.d.ts +0 -3
- package/dist/elements/AI/Chat/index.d.ts.map +1 -1
- package/dist/elements/AI/Chat/index.js +0 -2
- package/dist/elements/AI/Chat/index.js.map +1 -1
- package/dist/elements/Documentation/CopyPage/index.d.ts +0 -3
- package/dist/elements/Documentation/CopyPage/index.d.ts.map +1 -1
- package/dist/elements/Documentation/CopyPage/index.js +0 -2
- package/dist/elements/Documentation/CopyPage/index.js.map +1 -1
- package/dist/elements/Documentation/NextArticle/index.d.ts +0 -3
- package/dist/elements/Documentation/NextArticle/index.d.ts.map +1 -1
- package/dist/elements/Documentation/NextArticle/index.js +0 -2
- package/dist/elements/Documentation/NextArticle/index.js.map +1 -1
- package/dist/elements/Documentation/TOC/index.d.ts +0 -3
- package/dist/elements/Documentation/TOC/index.d.ts.map +1 -1
- package/dist/elements/Documentation/TOC/index.js +0 -2
- package/dist/elements/Documentation/TOC/index.js.map +1 -1
- package/dist/elements/Elements/Carousel/index.d.ts +0 -3
- package/dist/elements/Elements/Carousel/index.d.ts.map +1 -1
- package/dist/elements/Elements/Carousel/index.js +0 -2
- package/dist/elements/Elements/Carousel/index.js.map +1 -1
- package/dist/elements/Elements/Rating/index.d.ts +0 -3
- package/dist/elements/Elements/Rating/index.d.ts.map +1 -1
- package/dist/elements/Elements/Rating/index.js +0 -2
- package/dist/elements/Elements/Rating/index.js.map +1 -1
- package/dist/elements/Elements/Timeline/index.d.ts +0 -3
- package/dist/elements/Elements/Timeline/index.d.ts.map +1 -1
- package/dist/elements/Elements/Timeline/index.js +0 -2
- package/dist/elements/Elements/Timeline/index.js.map +1 -1
- package/dist/elements/Elements/TreeView/index.d.ts +0 -3
- package/dist/elements/Elements/TreeView/index.d.ts.map +1 -1
- package/dist/elements/Elements/TreeView/index.js +0 -2
- package/dist/elements/Elements/TreeView/index.js.map +1 -1
- package/dist/elements/Elements/index.d.ts +0 -4
- package/dist/elements/Elements/index.d.ts.map +1 -1
- package/dist/elements/Elements/index.js +0 -4
- package/dist/elements/Elements/index.js.map +1 -1
- package/dist/elements/foundation/Header/index.d.ts +0 -3
- package/dist/elements/foundation/Header/index.d.ts.map +1 -1
- package/dist/elements/foundation/Header/index.js +0 -2
- package/dist/elements/foundation/Header/index.js.map +1 -1
- package/dist/elements/foundation/Page/index.d.ts +0 -3
- package/dist/elements/foundation/Page/index.d.ts.map +1 -1
- package/dist/elements/foundation/Page/index.js +0 -2
- package/dist/elements/foundation/Page/index.js.map +1 -1
- package/dist/elements/foundation/Sidebar/index.d.ts +0 -3
- package/dist/elements/foundation/Sidebar/index.d.ts.map +1 -1
- package/dist/elements/foundation/Sidebar/index.js +0 -2
- package/dist/elements/foundation/Sidebar/index.js.map +1 -1
- package/dist/elements/foundation/TestStructure/index.d.ts +19 -0
- package/dist/elements/foundation/TestStructure/index.d.ts.map +1 -0
- package/dist/elements/foundation/TestStructure/index.js +30 -0
- package/dist/elements/foundation/TestStructure/index.js.map +1 -0
- package/dist/elements/foundation/TestStructure/manifest.d.ts +8 -0
- package/dist/elements/foundation/TestStructure/manifest.d.ts.map +1 -0
- package/dist/elements/foundation/TestStructure/manifest.js +7 -0
- package/dist/elements/foundation/TestStructure/manifest.js.map +1 -0
- package/dist/elements/foundation/TestStructure/variations.json +16 -0
- package/dist/elements/foundation/index.d.ts +2 -4
- package/dist/elements/foundation/index.d.ts.map +1 -1
- package/dist/elements/foundation/index.js +2 -4
- package/dist/elements/foundation/index.js.map +1 -1
- package/dist/elements/index.d.ts.map +1 -1
- package/dist/elements/index.js +2 -0
- package/dist/elements/index.js.map +1 -1
- package/dist/elements/packages.d.ts.map +1 -1
- package/dist/elements/packages.js +1 -59
- package/dist/elements/packages.js.map +1 -1
- package/dist/generated-data.d.ts.map +1 -1
- package/dist/generated-data.js +952 -469
- package/dist/generated-data.js.map +1 -1
- package/dist/generated-styles.d.ts.map +1 -1
- package/dist/generated-styles.js +980 -195
- package/dist/generated-styles.js.map +1 -1
- package/dist/generated-styles.json +980 -195
- package/dist/index.d.ts +1 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/patterns/data/badge-row/variations/main/index.js +1 -1
- package/dist/patterns/data/badge-row/variations/main/index.js.map +1 -1
- package/dist/patterns/data/badge-row/variations/mixed/index.js +1 -1
- package/dist/patterns/data/badge-row/variations/mixed/index.js.map +1 -1
- package/dist/patterns/data/badge-row/variations/outline/index.js +1 -1
- package/dist/patterns/data/badge-row/variations/outline/index.js.map +1 -1
- package/dist/patterns/data/data-table-row/variations/expandable/index.js +1 -1
- package/dist/patterns/data/data-table-row/variations/expandable/index.js.map +1 -1
- package/dist/patterns/data/data-table-row/variations/main/index.js +1 -1
- package/dist/patterns/data/data-table-row/variations/main/index.js.map +1 -1
- package/dist/patterns/data/data-table-row/variations/selectable/index.js +1 -1
- package/dist/patterns/data/data-table-row/variations/selectable/index.js.map +1 -1
- package/dist/patterns/interaction/tab-content-header/variations/with-badge/index.js +1 -1
- package/dist/patterns/interaction/tab-content-header/variations/with-badge/index.js.map +1 -1
- package/dist/patterns/layout/split-row/variations/main/index.js +1 -1
- package/dist/patterns/layout/split-row/variations/main/index.js.map +1 -1
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +482 -94
- package/dist/registry.js.map +1 -1
- package/dist/sections/Hero/index.d.ts +0 -2
- package/dist/sections/Hero/index.d.ts.map +1 -1
- package/dist/sections/Hero/index.js +0 -2
- package/dist/sections/Hero/index.js.map +1 -1
- package/dist/types.d.ts +18 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/load-component-examples.d.ts +4 -7
- package/dist/utils/load-component-examples.d.ts.map +1 -1
- package/dist/utils/load-component-examples.js +4 -7
- package/dist/utils/load-component-examples.js.map +1 -1
- package/package.json +5 -5
- package/src/components/Anchor/examples/index.ts +1 -1
- package/src/components/Anchor/examples.json +19 -4
- package/src/components/Anchor/index.tsx +1 -9
- package/src/components/Badge/examples/index.ts +1 -5
- package/src/components/Badge/examples.json +24 -9
- package/src/components/Badge/index.tsx +2 -22
- package/src/components/Banner/examples/index.ts +1 -2
- package/src/components/Banner/examples.json +24 -4
- package/src/components/Banner/index.tsx +3 -23
- package/src/components/Button/examples/index.ts +1 -10
- package/src/components/Button/index.tsx +0 -18
- package/src/components/Card/examples/index.ts +1 -2
- package/src/components/Card/examples.json +14 -4
- package/src/components/Card/index.tsx +1 -9
- package/src/components/Card/metadata.json +42 -0
- package/src/components/Checkbox/examples/index.ts +1 -5
- package/src/components/Checkbox/examples.json +29 -9
- package/src/components/Checkbox/index.tsx +0 -24
- package/src/components/Color/examples/index.ts +1 -3
- package/src/components/Color/examples.json +18 -8
- package/src/components/Color/index.tsx +1 -11
- package/src/components/Command/examples/index.ts +1 -2
- package/src/components/Command/index.tsx +1 -9
- package/src/components/Confirm/examples/index.ts +1 -2
- package/src/components/Confirm/index.tsx +1 -9
- package/src/components/Date/examples/index.ts +1 -11
- package/src/components/Date/index.tsx +1 -11
- package/src/components/Divider/examples/index.ts +1 -2
- package/src/components/Divider/index.tsx +1 -21
- package/src/components/Expand/examples/index.ts +1 -2
- package/src/components/Expand/examples.json +34 -4
- package/src/components/Expand/index.tsx +0 -11
- package/src/components/Flex/examples/01-axis-control.tsx +199 -0
- package/src/components/Flex/examples/02-wrap-overflow.tsx +183 -0
- package/src/components/Flex/examples/03-container-query-reflow.tsx +198 -0
- package/src/components/Flex/examples/index.ts +8 -2
- package/src/components/Flex/examples.json +14 -4
- package/src/components/Flex/index.tsx +43 -29
- package/src/components/Frame/examples/index.ts +1 -6
- package/src/components/Frame/index.tsx +1 -13
- package/src/components/Gallery/examples/01-grid-composition.tsx +121 -0
- package/src/components/Gallery/examples/02-item-orientation.tsx +133 -0
- package/src/components/Gallery/examples/03-span-layout.tsx +130 -0
- package/src/components/Gallery/examples/index.ts +8 -2
- package/src/components/Gallery/examples.json +14 -4
- package/src/components/Gallery/index.tsx +6 -2
- package/src/components/Grid/examples/02-track-placement.tsx +210 -0
- package/src/components/Grid/examples/03-editorial-spans.tsx +196 -0
- package/src/components/Grid/examples/04-responsive-card-rail.tsx +153 -0
- package/src/components/Grid/examples/index.ts +6 -2
- package/src/components/Grid/examples.json +14 -4
- package/src/components/Grid/index.tsx +57 -19
- package/src/components/Group/examples/index.ts +1 -2
- package/src/components/Group/index.tsx +1 -11
- package/src/components/Input/examples/index.ts +1 -4
- package/src/components/Input/examples.json +30 -0
- package/src/components/Input/index.tsx +0 -12
- package/src/components/Label/examples/index.ts +1 -2
- package/src/components/Label/index.tsx +1 -9
- package/src/components/List/examples/index.ts +1 -2
- package/src/components/List/examples.json +20 -0
- package/src/components/List/index.tsx +2 -12
- package/src/components/Mask/examples/index.ts +1 -5
- package/src/components/Mask/index.tsx +1 -11
- package/src/components/Menu/examples/index.ts +1 -4
- package/src/components/Menu/examples.json +20 -0
- package/src/components/Menu/index.tsx +1 -11
- package/src/components/Modal/examples/index.ts +1 -4
- package/src/components/Modal/examples.json +16 -1
- package/src/components/Modal/index.tsx +1 -9
- package/src/components/Modal/metadata.json +41 -1
- package/src/components/Panel/examples/index.ts +1 -0
- package/src/components/Panel/examples.json +7 -1
- package/src/components/Panel/index.tsx +2 -1
- package/src/components/Path/examples/index.ts +1 -2
- package/src/components/Path/examples.json +11 -1
- package/src/components/Path/index.tsx +12 -20
- package/src/components/Popover/examples/index.ts +1 -2
- package/src/components/Popover/examples.json +23 -3
- package/src/components/Popover/index.tsx +1 -9
- package/src/components/Progress/examples/index.ts +1 -2
- package/src/components/Progress/examples.json +23 -3
- package/src/components/Progress/index.tsx +2 -24
- package/src/components/Radio/examples/index.ts +1 -4
- package/src/components/Radio/index.tsx +1 -11
- package/src/components/Scroll/examples/index.ts +1 -2
- package/src/components/Scroll/examples.json +13 -3
- package/src/components/Scroll/index.tsx +1 -9
- package/src/components/Select/examples/index.ts +1 -4
- package/src/components/Select/examples.json +5 -0
- package/src/components/Select/index.tsx +1 -11
- package/src/components/Slider/examples/index.ts +1 -2
- package/src/components/Slider/examples.json +28 -3
- package/src/components/Slider/index.tsx +0 -9
- package/src/components/Switch/examples/index.ts +1 -2
- package/src/components/Switch/examples.json +23 -3
- package/src/components/Switch/index.tsx +0 -9
- package/src/components/Table/examples/index.ts +1 -2
- package/src/components/Table/index.tsx +1 -10
- package/src/components/Tabs/examples/index.ts +1 -4
- package/src/components/Tabs/examples.json +10 -0
- package/src/components/Tabs/index.tsx +1 -11
- package/src/components/Textarea/examples/index.ts +1 -2
- package/src/components/Textarea/examples.json +23 -3
- package/src/components/Textarea/index.tsx +1 -9
- package/src/components/Toast/examples/index.ts +1 -10
- package/src/components/Toast/index.tsx +2 -21
- package/src/components/Tooltip/examples/index.ts +1 -2
- package/src/components/Tooltip/index.tsx +1 -9
- package/src/demo-registry.ts +1 -31
- package/src/elements/AI/AIChatInput/index.tsx +0 -3
- package/src/elements/AI/ChainOfThought/index.tsx +0 -3
- package/src/elements/AI/Chat/index.tsx +0 -3
- package/src/elements/Documentation/CopyPage/index.tsx +0 -3
- package/src/elements/Documentation/NextArticle/index.tsx +0 -3
- package/src/elements/Documentation/TOC/index.tsx +0 -3
- package/src/elements/Elements/Carousel/index.tsx +0 -3
- package/src/elements/Elements/Rating/index.tsx +0 -3
- package/src/elements/Elements/Timeline/index.tsx +0 -3
- package/src/elements/Elements/TreeView/index.tsx +0 -3
- package/src/elements/Elements/index.ts +0 -24
- package/src/elements/foundation/Header/index.tsx +0 -3
- package/src/elements/foundation/Page/index.tsx +0 -3
- package/src/elements/foundation/Sidebar/index.tsx +0 -3
- package/src/elements/foundation/TestStructure/index.tsx +54 -0
- package/src/elements/foundation/TestStructure/manifest.ts +9 -0
- package/src/elements/foundation/TestStructure/metadata.json +7 -0
- package/src/elements/foundation/TestStructure/variations.json +16 -0
- package/src/elements/foundation/index.ts +3 -19
- package/src/elements/index.ts +2 -0
- package/src/elements/packages.ts +1 -61
- package/src/generated-data.ts +952 -469
- package/src/generated-styles.ts +980 -195
- package/src/index.ts +2 -18
- package/src/patterns/data/badge-row/variations/main/index.tsx +1 -1
- package/src/patterns/data/badge-row/variations/mixed/index.tsx +1 -1
- package/src/patterns/data/badge-row/variations/outline/index.tsx +1 -1
- package/src/patterns/data/data-table-row/variations/expandable/index.tsx +1 -1
- package/src/patterns/data/data-table-row/variations/main/index.tsx +1 -1
- package/src/patterns/data/data-table-row/variations/selectable/index.tsx +1 -1
- package/src/patterns/interaction/tab-content-header/variations/with-badge/index.tsx +1 -1
- package/src/patterns/layout/split-row/variations/main/index.tsx +1 -1
- package/src/registry.ts +482 -94
- package/src/sections/Hero/index.tsx +0 -2
- package/src/types.ts +20 -1
- package/src/utils/load-component-examples.ts +8 -7
- package/dist/components/Anchor/examples/01-basic-anchor.d.ts +0 -6
- package/dist/components/Anchor/examples/01-basic-anchor.d.ts.map +0 -1
- package/dist/components/Anchor/examples/01-basic-anchor.js +0 -10
- package/dist/components/Anchor/examples/01-basic-anchor.js.map +0 -1
- package/dist/components/Anchor/examples.json +0 -7
- package/dist/components/Badge/examples/01-basic-badge.d.ts +0 -6
- package/dist/components/Badge/examples/01-basic-badge.d.ts.map +0 -1
- package/dist/components/Badge/examples/01-basic-badge.js +0 -10
- package/dist/components/Badge/examples/01-basic-badge.js.map +0 -1
- package/dist/components/Badge/examples/02-variants-and-sizes.d.ts +0 -6
- package/dist/components/Badge/examples/02-variants-and-sizes.d.ts.map +0 -1
- package/dist/components/Badge/examples/02-variants-and-sizes.js +0 -10
- package/dist/components/Badge/examples/02-variants-and-sizes.js.map +0 -1
- package/dist/components/Badge/examples.json +0 -12
- package/dist/components/Banner/examples/01-basic-banner.d.ts +0 -6
- package/dist/components/Banner/examples/01-basic-banner.d.ts.map +0 -1
- package/dist/components/Banner/examples/01-basic-banner.js +0 -10
- package/dist/components/Banner/examples/01-basic-banner.js.map +0 -1
- package/dist/components/Banner/examples.json +0 -7
- package/dist/components/Button/examples/01-variants.d.ts +0 -6
- package/dist/components/Button/examples/01-variants.d.ts.map +0 -1
- package/dist/components/Button/examples/01-variants.js +0 -10
- package/dist/components/Button/examples/01-variants.js.map +0 -1
- package/dist/components/Button/examples/02-multi-actions.d.ts +0 -6
- package/dist/components/Button/examples/02-multi-actions.d.ts.map +0 -1
- package/dist/components/Button/examples/02-multi-actions.js +0 -12
- package/dist/components/Button/examples/02-multi-actions.js.map +0 -1
- package/dist/components/Button/examples/03-joined-toggle.d.ts +0 -6
- package/dist/components/Button/examples/03-joined-toggle.d.ts.map +0 -1
- package/dist/components/Button/examples/03-joined-toggle.js +0 -15
- package/dist/components/Button/examples/03-joined-toggle.js.map +0 -1
- package/dist/components/Button/examples/04-sub-stack-actions.d.ts +0 -6
- package/dist/components/Button/examples/04-sub-stack-actions.d.ts.map +0 -1
- package/dist/components/Button/examples/04-sub-stack-actions.js +0 -15
- package/dist/components/Button/examples/04-sub-stack-actions.js.map +0 -1
- package/dist/components/Button/examples/05-split-action-button.d.ts +0 -6
- package/dist/components/Button/examples/05-split-action-button.d.ts.map +0 -1
- package/dist/components/Button/examples/05-split-action-button.js +0 -57
- package/dist/components/Button/examples/05-split-action-button.js.map +0 -1
- package/dist/components/Button/examples.json +0 -27
- package/dist/components/Card/examples/01-basic-card.d.ts +0 -6
- package/dist/components/Card/examples/01-basic-card.d.ts.map +0 -1
- package/dist/components/Card/examples/01-basic-card.js +0 -10
- package/dist/components/Card/examples/01-basic-card.js.map +0 -1
- package/dist/components/Card/examples.json +0 -7
- package/dist/components/Checkbox/examples/01-basic-checkbox.d.ts +0 -6
- package/dist/components/Checkbox/examples/01-basic-checkbox.d.ts.map +0 -1
- package/dist/components/Checkbox/examples/01-basic-checkbox.js +0 -13
- package/dist/components/Checkbox/examples/01-basic-checkbox.js.map +0 -1
- package/dist/components/Checkbox/examples/02-checkbox-group-with-descriptions.d.ts +0 -6
- package/dist/components/Checkbox/examples/02-checkbox-group-with-descriptions.d.ts.map +0 -1
- package/dist/components/Checkbox/examples/02-checkbox-group-with-descriptions.js +0 -21
- package/dist/components/Checkbox/examples/02-checkbox-group-with-descriptions.js.map +0 -1
- package/dist/components/Checkbox/examples.json +0 -12
- package/dist/components/Color/examples/01-basic-color.d.ts +0 -6
- package/dist/components/Color/examples/01-basic-color.d.ts.map +0 -1
- package/dist/components/Color/examples/01-basic-color.js +0 -12
- package/dist/components/Color/examples/01-basic-color.js.map +0 -1
- package/dist/components/Color/examples/02-opacity-slider.d.ts +0 -6
- package/dist/components/Color/examples/02-opacity-slider.d.ts.map +0 -1
- package/dist/components/Color/examples/02-opacity-slider.js +0 -12
- package/dist/components/Color/examples/02-opacity-slider.js.map +0 -1
- package/dist/components/Color/examples/03-format-switching.d.ts +0 -2
- package/dist/components/Color/examples/03-format-switching.d.ts.map +0 -1
- package/dist/components/Color/examples/03-format-switching.js +0 -16
- package/dist/components/Color/examples/03-format-switching.js.map +0 -1
- package/dist/components/Color/examples.json +0 -12
- package/dist/components/Command/examples/01-basic-command.d.ts +0 -6
- package/dist/components/Command/examples/01-basic-command.d.ts.map +0 -1
- package/dist/components/Command/examples/01-basic-command.js +0 -36
- package/dist/components/Command/examples/01-basic-command.js.map +0 -1
- package/dist/components/Command/examples.json +0 -7
- package/dist/components/Confirm/examples/01-basic-confirm.d.ts +0 -6
- package/dist/components/Confirm/examples/01-basic-confirm.d.ts.map +0 -1
- package/dist/components/Confirm/examples/01-basic-confirm.js +0 -10
- package/dist/components/Confirm/examples/01-basic-confirm.js.map +0 -1
- package/dist/components/Confirm/examples.json +0 -7
- package/dist/components/Date/examples/01-basic-date.d.ts +0 -6
- package/dist/components/Date/examples/01-basic-date.d.ts.map +0 -1
- package/dist/components/Date/examples/01-basic-date.js +0 -12
- package/dist/components/Date/examples/01-basic-date.js.map +0 -1
- package/dist/components/Date/examples/02-with-disabled-dates.d.ts +0 -6
- package/dist/components/Date/examples/02-with-disabled-dates.d.ts.map +0 -1
- package/dist/components/Date/examples/02-with-disabled-dates.js +0 -16
- package/dist/components/Date/examples/02-with-disabled-dates.js.map +0 -1
- package/dist/components/Date/examples/03-controlled-mode.d.ts +0 -6
- package/dist/components/Date/examples/03-controlled-mode.d.ts.map +0 -1
- package/dist/components/Date/examples/03-controlled-mode.js +0 -28
- package/dist/components/Date/examples/03-controlled-mode.js.map +0 -1
- package/dist/components/Date/examples/04-date-range.d.ts +0 -6
- package/dist/components/Date/examples/04-date-range.d.ts.map +0 -1
- package/dist/components/Date/examples/04-date-range.js +0 -40
- package/dist/components/Date/examples/04-date-range.js.map +0 -1
- package/dist/components/Date/examples.json +0 -1
- package/dist/components/Divider/examples/01-basic-divider.d.ts +0 -6
- package/dist/components/Divider/examples/01-basic-divider.d.ts.map +0 -1
- package/dist/components/Divider/examples/01-basic-divider.js +0 -10
- package/dist/components/Divider/examples/01-basic-divider.js.map +0 -1
- package/dist/components/Divider/examples/02-pattern-variants.d.ts +0 -6
- package/dist/components/Divider/examples/02-pattern-variants.d.ts.map +0 -1
- package/dist/components/Divider/examples/02-pattern-variants.js +0 -10
- package/dist/components/Divider/examples/02-pattern-variants.js.map +0 -1
- package/dist/components/Divider/examples/03-vertical-divider.d.ts +0 -6
- package/dist/components/Divider/examples/03-vertical-divider.d.ts.map +0 -1
- package/dist/components/Divider/examples/03-vertical-divider.js +0 -10
- package/dist/components/Divider/examples/03-vertical-divider.js.map +0 -1
- package/dist/components/Divider/examples.json +0 -17
- package/dist/components/Expand/examples/01-basic-expand.d.ts +0 -6
- package/dist/components/Expand/examples/01-basic-expand.d.ts.map +0 -1
- package/dist/components/Expand/examples/01-basic-expand.js +0 -10
- package/dist/components/Expand/examples/01-basic-expand.js.map +0 -1
- package/dist/components/Expand/examples.json +0 -7
- package/dist/components/Flex/examples/01-basic-flex.d.ts +0 -6
- package/dist/components/Flex/examples/01-basic-flex.d.ts.map +0 -1
- package/dist/components/Flex/examples/01-basic-flex.js +0 -10
- package/dist/components/Flex/examples/01-basic-flex.js.map +0 -1
- package/dist/components/Frame/examples/01-default-frame.d.ts +0 -7
- package/dist/components/Frame/examples/01-default-frame.d.ts.map +0 -1
- package/dist/components/Frame/examples/01-default-frame.js +0 -14
- package/dist/components/Frame/examples/01-default-frame.js.map +0 -1
- package/dist/components/Frame/examples/02-tooltip-example.d.ts +0 -7
- package/dist/components/Frame/examples/02-tooltip-example.d.ts.map +0 -1
- package/dist/components/Frame/examples/02-tooltip-example.js +0 -13
- package/dist/components/Frame/examples/02-tooltip-example.js.map +0 -1
- package/dist/components/Frame/examples/03-sidebar-tab.d.ts +0 -7
- package/dist/components/Frame/examples/03-sidebar-tab.d.ts.map +0 -1
- package/dist/components/Frame/examples/03-sidebar-tab.js +0 -17
- package/dist/components/Frame/examples/03-sidebar-tab.js.map +0 -1
- package/dist/components/Frame/examples.json +0 -17
- package/dist/components/Gallery/examples/01-basic-gallery.d.ts +0 -6
- package/dist/components/Gallery/examples/01-basic-gallery.d.ts.map +0 -1
- package/dist/components/Gallery/examples/01-basic-gallery.js +0 -10
- package/dist/components/Gallery/examples/01-basic-gallery.js.map +0 -1
- package/dist/components/Grid/examples/01-basic-grid.d.ts +0 -6
- package/dist/components/Grid/examples/01-basic-grid.d.ts.map +0 -1
- package/dist/components/Grid/examples/01-basic-grid.js +0 -10
- package/dist/components/Grid/examples/01-basic-grid.js.map +0 -1
- package/dist/components/Group/examples/01-basic-group.d.ts +0 -6
- package/dist/components/Group/examples/01-basic-group.d.ts.map +0 -1
- package/dist/components/Group/examples/01-basic-group.js +0 -10
- package/dist/components/Group/examples/01-basic-group.js.map +0 -1
- package/dist/components/Group/examples.json +0 -7
- package/dist/components/Input/examples/01-basic-input.d.ts +0 -6
- package/dist/components/Input/examples/01-basic-input.d.ts.map +0 -1
- package/dist/components/Input/examples/01-basic-input.js +0 -10
- package/dist/components/Input/examples/01-basic-input.js.map +0 -1
- package/dist/components/Input/examples/02-validation.d.ts +0 -6
- package/dist/components/Input/examples/02-validation.d.ts.map +0 -1
- package/dist/components/Input/examples/02-validation.js +0 -11
- package/dist/components/Input/examples/02-validation.js.map +0 -1
- package/dist/components/Input/examples.json +0 -12
- package/dist/components/Label/examples/01-basic-label.d.ts +0 -6
- package/dist/components/Label/examples/01-basic-label.d.ts.map +0 -1
- package/dist/components/Label/examples/01-basic-label.js +0 -10
- package/dist/components/Label/examples/01-basic-label.js.map +0 -1
- package/dist/components/Label/examples.json +0 -7
- package/dist/components/List/examples/01-basic.d.ts +0 -6
- package/dist/components/List/examples/01-basic.d.ts.map +0 -1
- package/dist/components/List/examples/01-basic.js +0 -11
- package/dist/components/List/examples/01-basic.js.map +0 -1
- package/dist/components/List/examples.json +0 -7
- package/dist/components/Mask/examples/01-read-more-fade.d.ts +0 -6
- package/dist/components/Mask/examples/01-read-more-fade.d.ts.map +0 -1
- package/dist/components/Mask/examples/01-read-more-fade.js +0 -10
- package/dist/components/Mask/examples/01-read-more-fade.js.map +0 -1
- package/dist/components/Mask/examples/02-text-gradient.d.ts +0 -6
- package/dist/components/Mask/examples/02-text-gradient.d.ts.map +0 -1
- package/dist/components/Mask/examples/02-text-gradient.js +0 -10
- package/dist/components/Mask/examples/02-text-gradient.js.map +0 -1
- package/dist/components/Mask/examples.json +0 -12
- package/dist/components/Menu/examples/01-basic-menu.d.ts +0 -6
- package/dist/components/Menu/examples/01-basic-menu.d.ts.map +0 -1
- package/dist/components/Menu/examples/01-basic-menu.js +0 -10
- package/dist/components/Menu/examples/01-basic-menu.js.map +0 -1
- package/dist/components/Menu/examples/02-nested-menu.d.ts +0 -6
- package/dist/components/Menu/examples/02-nested-menu.d.ts.map +0 -1
- package/dist/components/Menu/examples/02-nested-menu.js +0 -10
- package/dist/components/Menu/examples/02-nested-menu.js.map +0 -1
- package/dist/components/Menu/examples.json +0 -12
- package/dist/components/Modal/examples/01-basic-modal.d.ts +0 -6
- package/dist/components/Modal/examples/01-basic-modal.d.ts.map +0 -1
- package/dist/components/Modal/examples/01-basic-modal.js +0 -13
- package/dist/components/Modal/examples/01-basic-modal.js.map +0 -1
- package/dist/components/Modal/examples/02-form-modal.d.ts +0 -6
- package/dist/components/Modal/examples/02-form-modal.d.ts.map +0 -1
- package/dist/components/Modal/examples/02-form-modal.js +0 -23
- package/dist/components/Modal/examples/02-form-modal.js.map +0 -1
- package/dist/components/Modal/examples.json +0 -12
- package/dist/components/Path/examples/01-basic-breadcrumbs.d.ts +0 -6
- package/dist/components/Path/examples/01-basic-breadcrumbs.d.ts.map +0 -1
- package/dist/components/Path/examples/01-basic-breadcrumbs.js +0 -10
- package/dist/components/Path/examples/01-basic-breadcrumbs.js.map +0 -1
- package/dist/components/Path/examples/01-basic-path.d.ts +0 -6
- package/dist/components/Path/examples/01-basic-path.d.ts.map +0 -1
- package/dist/components/Path/examples/01-basic-path.js +0 -10
- package/dist/components/Path/examples/01-basic-path.js.map +0 -1
- package/dist/components/Path/examples.json +0 -7
- package/dist/components/Popover/examples/01-basic-popover.d.ts +0 -6
- package/dist/components/Popover/examples/01-basic-popover.d.ts.map +0 -1
- package/dist/components/Popover/examples/01-basic-popover.js +0 -10
- package/dist/components/Popover/examples/01-basic-popover.js.map +0 -1
- package/dist/components/Popover/examples.json +0 -7
- package/dist/components/Progress/examples/01-basic-progress.d.ts +0 -6
- package/dist/components/Progress/examples/01-basic-progress.d.ts.map +0 -1
- package/dist/components/Progress/examples/01-basic-progress.js +0 -10
- package/dist/components/Progress/examples/01-basic-progress.js.map +0 -1
- package/dist/components/Progress/examples.json +0 -7
- package/dist/components/Radio/examples/01-basic-radio.d.ts +0 -6
- package/dist/components/Radio/examples/01-basic-radio.d.ts.map +0 -1
- package/dist/components/Radio/examples/01-basic-radio.js +0 -10
- package/dist/components/Radio/examples/01-basic-radio.js.map +0 -1
- package/dist/components/Radio/examples/02-radio-with-descriptions.d.ts +0 -6
- package/dist/components/Radio/examples/02-radio-with-descriptions.d.ts.map +0 -1
- package/dist/components/Radio/examples/02-radio-with-descriptions.js +0 -11
- package/dist/components/Radio/examples/02-radio-with-descriptions.js.map +0 -1
- package/dist/components/Radio/examples.json +0 -12
- package/dist/components/Scroll/examples/01-basic-scroll.d.ts +0 -6
- package/dist/components/Scroll/examples/01-basic-scroll.d.ts.map +0 -1
- package/dist/components/Scroll/examples/01-basic-scroll.js +0 -10
- package/dist/components/Scroll/examples/01-basic-scroll.js.map +0 -1
- package/dist/components/Scroll/examples.json +0 -7
- package/dist/components/Select/examples/01-basic-select.d.ts +0 -6
- package/dist/components/Select/examples/01-basic-select.d.ts.map +0 -1
- package/dist/components/Select/examples/01-basic-select.js +0 -10
- package/dist/components/Select/examples/01-basic-select.js.map +0 -1
- package/dist/components/Select/examples/02-searchable-select.d.ts +0 -6
- package/dist/components/Select/examples/02-searchable-select.d.ts.map +0 -1
- package/dist/components/Select/examples/02-searchable-select.js +0 -38
- package/dist/components/Select/examples/02-searchable-select.js.map +0 -1
- package/dist/components/Select/examples.json +0 -12
- package/dist/components/Slider/examples/01-basic-slider.d.ts +0 -6
- package/dist/components/Slider/examples/01-basic-slider.d.ts.map +0 -1
- package/dist/components/Slider/examples/01-basic-slider.js +0 -10
- package/dist/components/Slider/examples/01-basic-slider.js.map +0 -1
- package/dist/components/Slider/examples.json +0 -7
- package/dist/components/Switch/examples/01-basic-switch.d.ts +0 -6
- package/dist/components/Switch/examples/01-basic-switch.d.ts.map +0 -1
- package/dist/components/Switch/examples/01-basic-switch.js +0 -10
- package/dist/components/Switch/examples/01-basic-switch.js.map +0 -1
- package/dist/components/Switch/examples.json +0 -7
- package/dist/components/Table/examples/01-basic-table.d.ts +0 -6
- package/dist/components/Table/examples/01-basic-table.d.ts.map +0 -1
- package/dist/components/Table/examples/01-basic-table.js +0 -20
- package/dist/components/Table/examples/01-basic-table.js.map +0 -1
- package/dist/components/Table/examples.json +0 -7
- package/dist/components/Tabs/examples/01-basic-tabs.d.ts +0 -6
- package/dist/components/Tabs/examples/01-basic-tabs.d.ts.map +0 -1
- package/dist/components/Tabs/examples/01-basic-tabs.js +0 -10
- package/dist/components/Tabs/examples/01-basic-tabs.js.map +0 -1
- package/dist/components/Tabs/examples/02-vertical-tabs.d.ts +0 -6
- package/dist/components/Tabs/examples/02-vertical-tabs.d.ts.map +0 -1
- package/dist/components/Tabs/examples/02-vertical-tabs.js +0 -11
- package/dist/components/Tabs/examples/02-vertical-tabs.js.map +0 -1
- package/dist/components/Tabs/examples.json +0 -12
- package/dist/components/Textarea/examples/01-basic-textarea.d.ts +0 -6
- package/dist/components/Textarea/examples/01-basic-textarea.d.ts.map +0 -1
- package/dist/components/Textarea/examples/01-basic-textarea.js +0 -10
- package/dist/components/Textarea/examples/01-basic-textarea.js.map +0 -1
- package/dist/components/Textarea/examples.json +0 -7
- package/dist/components/Toast/examples/01-basic-toast.d.ts +0 -6
- package/dist/components/Toast/examples/01-basic-toast.d.ts.map +0 -1
- package/dist/components/Toast/examples/01-basic-toast.js +0 -10
- package/dist/components/Toast/examples/01-basic-toast.js.map +0 -1
- package/dist/components/Toast/examples/02-success-toast.d.ts +0 -6
- package/dist/components/Toast/examples/02-success-toast.d.ts.map +0 -1
- package/dist/components/Toast/examples/02-success-toast.js +0 -14
- package/dist/components/Toast/examples/02-success-toast.js.map +0 -1
- package/dist/components/Toast/examples/03-danger-toast.d.ts +0 -6
- package/dist/components/Toast/examples/03-danger-toast.d.ts.map +0 -1
- package/dist/components/Toast/examples/03-danger-toast.js +0 -14
- package/dist/components/Toast/examples/03-danger-toast.js.map +0 -1
- package/dist/components/Toast/examples/04-info-toast.d.ts +0 -6
- package/dist/components/Toast/examples/04-info-toast.d.ts.map +0 -1
- package/dist/components/Toast/examples/04-info-toast.js +0 -14
- package/dist/components/Toast/examples/04-info-toast.js.map +0 -1
- package/dist/components/Toast/examples/05-warning-toast.d.ts +0 -6
- package/dist/components/Toast/examples/05-warning-toast.d.ts.map +0 -1
- package/dist/components/Toast/examples/05-warning-toast.js +0 -14
- package/dist/components/Toast/examples/05-warning-toast.js.map +0 -1
- package/dist/components/Toast/examples.json +0 -27
- package/dist/components/Tooltip/examples/01-basic-tooltip.d.ts +0 -6
- package/dist/components/Tooltip/examples/01-basic-tooltip.d.ts.map +0 -1
- package/dist/components/Tooltip/examples/01-basic-tooltip.js +0 -10
- package/dist/components/Tooltip/examples/01-basic-tooltip.js.map +0 -1
- package/dist/components/Tooltip/examples.json +0 -7
- package/dist/design-tokens/index.d.ts +0 -52
- package/dist/design-tokens/index.d.ts.map +0 -1
- package/dist/design-tokens/index.js +0 -167
- package/dist/design-tokens/index.js.map +0 -1
- package/dist/elements/AI/AIChatInput/variations/01-basic/index.d.ts +0 -2
- package/dist/elements/AI/AIChatInput/variations/01-basic/index.d.ts.map +0 -1
- package/dist/elements/AI/AIChatInput/variations/01-basic/index.js +0 -13
- package/dist/elements/AI/AIChatInput/variations/01-basic/index.js.map +0 -1
- package/dist/elements/AI/AIChatInput/variations/01-basic/layout/PromptInput.d.ts +0 -9
- package/dist/elements/AI/AIChatInput/variations/01-basic/layout/PromptInput.d.ts.map +0 -1
- package/dist/elements/AI/AIChatInput/variations/01-basic/layout/PromptInput.js +0 -25
- package/dist/elements/AI/AIChatInput/variations/01-basic/layout/PromptInput.js.map +0 -1
- package/dist/elements/AI/AIChatInput/variations/02-with-suggestions/index.d.ts +0 -2
- package/dist/elements/AI/AIChatInput/variations/02-with-suggestions/index.d.ts.map +0 -1
- package/dist/elements/AI/AIChatInput/variations/02-with-suggestions/index.js +0 -25
- package/dist/elements/AI/AIChatInput/variations/02-with-suggestions/index.js.map +0 -1
- package/dist/elements/AI/AIChatInput/variations/02-with-suggestions/layout/PromptInputWithSuggestions.d.ts +0 -9
- package/dist/elements/AI/AIChatInput/variations/02-with-suggestions/layout/PromptInputWithSuggestions.d.ts.map +0 -1
- package/dist/elements/AI/AIChatInput/variations/02-with-suggestions/layout/PromptInputWithSuggestions.js +0 -25
- package/dist/elements/AI/AIChatInput/variations/02-with-suggestions/layout/PromptInputWithSuggestions.js.map +0 -1
- package/dist/elements/AI/AIChatInput/variations/index.d.ts +0 -18
- package/dist/elements/AI/AIChatInput/variations/index.d.ts.map +0 -1
- package/dist/elements/AI/AIChatInput/variations/index.js +0 -14
- package/dist/elements/AI/AIChatInput/variations/index.js.map +0 -1
- package/dist/elements/AI/ChainOfThought/variations/01-basic/index.d.ts +0 -2
- package/dist/elements/AI/ChainOfThought/variations/01-basic/index.d.ts.map +0 -1
- package/dist/elements/AI/ChainOfThought/variations/01-basic/index.js +0 -29
- package/dist/elements/AI/ChainOfThought/variations/01-basic/index.js.map +0 -1
- package/dist/elements/AI/ChainOfThought/variations/01-basic/layout/ThoughtStep.d.ts +0 -8
- package/dist/elements/AI/ChainOfThought/variations/01-basic/layout/ThoughtStep.d.ts.map +0 -1
- package/dist/elements/AI/ChainOfThought/variations/01-basic/layout/ThoughtStep.js +0 -5
- package/dist/elements/AI/ChainOfThought/variations/01-basic/layout/ThoughtStep.js.map +0 -1
- package/dist/elements/AI/ChainOfThought/variations/02-with-details/index.d.ts +0 -2
- package/dist/elements/AI/ChainOfThought/variations/02-with-details/index.d.ts.map +0 -1
- package/dist/elements/AI/ChainOfThought/variations/02-with-details/index.js +0 -61
- package/dist/elements/AI/ChainOfThought/variations/02-with-details/index.js.map +0 -1
- package/dist/elements/AI/ChainOfThought/variations/02-with-details/layout/ExpandableThoughtStep.d.ts +0 -11
- package/dist/elements/AI/ChainOfThought/variations/02-with-details/layout/ExpandableThoughtStep.d.ts.map +0 -1
- package/dist/elements/AI/ChainOfThought/variations/02-with-details/layout/ExpandableThoughtStep.js +0 -5
- package/dist/elements/AI/ChainOfThought/variations/02-with-details/layout/ExpandableThoughtStep.js.map +0 -1
- package/dist/elements/AI/ChainOfThought/variations/index.d.ts +0 -18
- package/dist/elements/AI/ChainOfThought/variations/index.d.ts.map +0 -1
- package/dist/elements/AI/ChainOfThought/variations/index.js +0 -14
- package/dist/elements/AI/ChainOfThought/variations/index.js.map +0 -1
- package/dist/elements/AI/Chat/variations/01-basic/index.d.ts +0 -2
- package/dist/elements/AI/Chat/variations/01-basic/index.d.ts.map +0 -1
- package/dist/elements/AI/Chat/variations/01-basic/index.js +0 -31
- package/dist/elements/AI/Chat/variations/01-basic/index.js.map +0 -1
- package/dist/elements/AI/Chat/variations/01-basic/layout/ChatContainer.d.ts +0 -7
- package/dist/elements/AI/Chat/variations/01-basic/layout/ChatContainer.d.ts.map +0 -1
- package/dist/elements/AI/Chat/variations/01-basic/layout/ChatContainer.js +0 -5
- package/dist/elements/AI/Chat/variations/01-basic/layout/ChatContainer.js.map +0 -1
- package/dist/elements/AI/Chat/variations/01-basic/layout/ChatInput.d.ts +0 -6
- package/dist/elements/AI/Chat/variations/01-basic/layout/ChatInput.d.ts.map +0 -1
- package/dist/elements/AI/Chat/variations/01-basic/layout/ChatInput.js +0 -14
- package/dist/elements/AI/Chat/variations/01-basic/layout/ChatInput.js.map +0 -1
- package/dist/elements/AI/Chat/variations/01-basic/layout/ChatMessage.d.ts +0 -7
- package/dist/elements/AI/Chat/variations/01-basic/layout/ChatMessage.d.ts.map +0 -1
- package/dist/elements/AI/Chat/variations/01-basic/layout/ChatMessage.js +0 -7
- package/dist/elements/AI/Chat/variations/01-basic/layout/ChatMessage.js.map +0 -1
- package/dist/elements/AI/Chat/variations/02-with-actions/index.d.ts +0 -2
- package/dist/elements/AI/Chat/variations/02-with-actions/index.d.ts.map +0 -1
- package/dist/elements/AI/Chat/variations/02-with-actions/index.js +0 -39
- package/dist/elements/AI/Chat/variations/02-with-actions/index.js.map +0 -1
- package/dist/elements/AI/Chat/variations/02-with-actions/layout/ChatContainerWithActions.d.ts +0 -7
- package/dist/elements/AI/Chat/variations/02-with-actions/layout/ChatContainerWithActions.d.ts.map +0 -1
- package/dist/elements/AI/Chat/variations/02-with-actions/layout/ChatContainerWithActions.js +0 -5
- package/dist/elements/AI/Chat/variations/02-with-actions/layout/ChatContainerWithActions.js.map +0 -1
- package/dist/elements/AI/Chat/variations/02-with-actions/layout/ChatInputWithActions.d.ts +0 -6
- package/dist/elements/AI/Chat/variations/02-with-actions/layout/ChatInputWithActions.d.ts.map +0 -1
- package/dist/elements/AI/Chat/variations/02-with-actions/layout/ChatInputWithActions.js +0 -14
- package/dist/elements/AI/Chat/variations/02-with-actions/layout/ChatInputWithActions.js.map +0 -1
- package/dist/elements/AI/Chat/variations/02-with-actions/layout/ChatMessage.d.ts +0 -7
- package/dist/elements/AI/Chat/variations/02-with-actions/layout/ChatMessage.d.ts.map +0 -1
- package/dist/elements/AI/Chat/variations/02-with-actions/layout/ChatMessage.js +0 -7
- package/dist/elements/AI/Chat/variations/02-with-actions/layout/ChatMessage.js.map +0 -1
- package/dist/elements/AI/Chat/variations/index.d.ts +0 -18
- package/dist/elements/AI/Chat/variations/index.d.ts.map +0 -1
- package/dist/elements/AI/Chat/variations/index.js +0 -14
- package/dist/elements/AI/Chat/variations/index.js.map +0 -1
- package/dist/elements/Documentation/CopyPage/variations/01-basic/index.d.ts +0 -2
- package/dist/elements/Documentation/CopyPage/variations/01-basic/index.d.ts.map +0 -1
- package/dist/elements/Documentation/CopyPage/variations/01-basic/index.js +0 -7
- package/dist/elements/Documentation/CopyPage/variations/01-basic/index.js.map +0 -1
- package/dist/elements/Documentation/CopyPage/variations/01-basic/layout/CopyButton.d.ts +0 -2
- package/dist/elements/Documentation/CopyPage/variations/01-basic/layout/CopyButton.d.ts.map +0 -1
- package/dist/elements/Documentation/CopyPage/variations/01-basic/layout/CopyButton.js +0 -20
- package/dist/elements/Documentation/CopyPage/variations/01-basic/layout/CopyButton.js.map +0 -1
- package/dist/elements/Documentation/CopyPage/variations/02-with-success/index.d.ts +0 -2
- package/dist/elements/Documentation/CopyPage/variations/02-with-success/index.d.ts.map +0 -1
- package/dist/elements/Documentation/CopyPage/variations/02-with-success/index.js +0 -13
- package/dist/elements/Documentation/CopyPage/variations/02-with-success/index.js.map +0 -1
- package/dist/elements/Documentation/CopyPage/variations/02-with-success/layout/CopyButtonWithToast.d.ts +0 -6
- package/dist/elements/Documentation/CopyPage/variations/02-with-success/layout/CopyButtonWithToast.d.ts.map +0 -1
- package/dist/elements/Documentation/CopyPage/variations/02-with-success/layout/CopyButtonWithToast.js +0 -21
- package/dist/elements/Documentation/CopyPage/variations/02-with-success/layout/CopyButtonWithToast.js.map +0 -1
- package/dist/elements/Documentation/CopyPage/variations/index.d.ts +0 -18
- package/dist/elements/Documentation/CopyPage/variations/index.d.ts.map +0 -1
- package/dist/elements/Documentation/CopyPage/variations/index.js +0 -14
- package/dist/elements/Documentation/CopyPage/variations/index.js.map +0 -1
- package/dist/elements/Documentation/NextArticle/variations/01-basic/index.d.ts +0 -2
- package/dist/elements/Documentation/NextArticle/variations/01-basic/index.d.ts.map +0 -1
- package/dist/elements/Documentation/NextArticle/variations/01-basic/index.js +0 -19
- package/dist/elements/Documentation/NextArticle/variations/01-basic/index.js.map +0 -1
- package/dist/elements/Documentation/NextArticle/variations/01-basic/layout/NextArticleCard.d.ts +0 -8
- package/dist/elements/Documentation/NextArticle/variations/01-basic/layout/NextArticleCard.d.ts.map +0 -1
- package/dist/elements/Documentation/NextArticle/variations/01-basic/layout/NextArticleCard.js +0 -5
- package/dist/elements/Documentation/NextArticle/variations/01-basic/layout/NextArticleCard.js.map +0 -1
- package/dist/elements/Documentation/NextArticle/variations/02-with-icon/index.d.ts +0 -2
- package/dist/elements/Documentation/NextArticle/variations/02-with-icon/index.d.ts.map +0 -1
- package/dist/elements/Documentation/NextArticle/variations/02-with-icon/index.js +0 -23
- package/dist/elements/Documentation/NextArticle/variations/02-with-icon/index.js.map +0 -1
- package/dist/elements/Documentation/NextArticle/variations/02-with-icon/layout/NextArticleWithIconCard.d.ts +0 -10
- package/dist/elements/Documentation/NextArticle/variations/02-with-icon/layout/NextArticleWithIconCard.d.ts.map +0 -1
- package/dist/elements/Documentation/NextArticle/variations/02-with-icon/layout/NextArticleWithIconCard.js +0 -5
- package/dist/elements/Documentation/NextArticle/variations/02-with-icon/layout/NextArticleWithIconCard.js.map +0 -1
- package/dist/elements/Documentation/NextArticle/variations/index.d.ts +0 -18
- package/dist/elements/Documentation/NextArticle/variations/index.d.ts.map +0 -1
- package/dist/elements/Documentation/NextArticle/variations/index.js +0 -14
- package/dist/elements/Documentation/NextArticle/variations/index.js.map +0 -1
- package/dist/elements/Documentation/TOC/variations/01-basic/index.d.ts +0 -2
- package/dist/elements/Documentation/TOC/variations/01-basic/index.d.ts.map +0 -1
- package/dist/elements/Documentation/TOC/variations/01-basic/index.js +0 -7
- package/dist/elements/Documentation/TOC/variations/01-basic/index.js.map +0 -1
- package/dist/elements/Documentation/TOC/variations/01-basic/layout/TableOfContents.d.ts +0 -11
- package/dist/elements/Documentation/TOC/variations/01-basic/layout/TableOfContents.d.ts.map +0 -1
- package/dist/elements/Documentation/TOC/variations/01-basic/layout/TableOfContents.js +0 -12
- package/dist/elements/Documentation/TOC/variations/01-basic/layout/TableOfContents.js.map +0 -1
- package/dist/elements/Documentation/TOC/variations/02-expanded/index.d.ts +0 -2
- package/dist/elements/Documentation/TOC/variations/02-expanded/index.d.ts.map +0 -1
- package/dist/elements/Documentation/TOC/variations/02-expanded/index.js +0 -9
- package/dist/elements/Documentation/TOC/variations/02-expanded/index.js.map +0 -1
- package/dist/elements/Documentation/TOC/variations/02-expanded/layout/ExpandableTableOfContents.d.ts +0 -6
- package/dist/elements/Documentation/TOC/variations/02-expanded/layout/ExpandableTableOfContents.d.ts.map +0 -1
- package/dist/elements/Documentation/TOC/variations/02-expanded/layout/ExpandableTableOfContents.js +0 -45
- package/dist/elements/Documentation/TOC/variations/02-expanded/layout/ExpandableTableOfContents.js.map +0 -1
- package/dist/elements/Documentation/TOC/variations/index.d.ts +0 -18
- package/dist/elements/Documentation/TOC/variations/index.d.ts.map +0 -1
- package/dist/elements/Documentation/TOC/variations/index.js +0 -14
- package/dist/elements/Documentation/TOC/variations/index.js.map +0 -1
- package/dist/elements/Elements/Carousel/variations/01-basic/index.d.ts +0 -2
- package/dist/elements/Elements/Carousel/variations/01-basic/index.d.ts.map +0 -1
- package/dist/elements/Elements/Carousel/variations/01-basic/index.js +0 -6
- package/dist/elements/Elements/Carousel/variations/01-basic/index.js.map +0 -1
- package/dist/elements/Elements/Carousel/variations/index.d.ts +0 -12
- package/dist/elements/Elements/Carousel/variations/index.d.ts.map +0 -1
- package/dist/elements/Elements/Carousel/variations/index.js +0 -11
- package/dist/elements/Elements/Carousel/variations/index.js.map +0 -1
- package/dist/elements/Elements/Rating/variations/01-basic/index.d.ts +0 -2
- package/dist/elements/Elements/Rating/variations/01-basic/index.d.ts.map +0 -1
- package/dist/elements/Elements/Rating/variations/01-basic/index.js +0 -6
- package/dist/elements/Elements/Rating/variations/01-basic/index.js.map +0 -1
- package/dist/elements/Elements/Rating/variations/index.d.ts +0 -12
- package/dist/elements/Elements/Rating/variations/index.d.ts.map +0 -1
- package/dist/elements/Elements/Rating/variations/index.js +0 -11
- package/dist/elements/Elements/Rating/variations/index.js.map +0 -1
- package/dist/elements/Elements/Timeline/variations/01-basic/index.d.ts +0 -2
- package/dist/elements/Elements/Timeline/variations/01-basic/index.d.ts.map +0 -1
- package/dist/elements/Elements/Timeline/variations/01-basic/index.js +0 -6
- package/dist/elements/Elements/Timeline/variations/01-basic/index.js.map +0 -1
- package/dist/elements/Elements/Timeline/variations/index.d.ts +0 -12
- package/dist/elements/Elements/Timeline/variations/index.d.ts.map +0 -1
- package/dist/elements/Elements/Timeline/variations/index.js +0 -11
- package/dist/elements/Elements/Timeline/variations/index.js.map +0 -1
- package/dist/elements/Elements/TreeView/variations/01-basic/index.d.ts +0 -2
- package/dist/elements/Elements/TreeView/variations/01-basic/index.d.ts.map +0 -1
- package/dist/elements/Elements/TreeView/variations/01-basic/index.js +0 -6
- package/dist/elements/Elements/TreeView/variations/01-basic/index.js.map +0 -1
- package/dist/elements/Elements/TreeView/variations/index.d.ts +0 -12
- package/dist/elements/Elements/TreeView/variations/index.d.ts.map +0 -1
- package/dist/elements/Elements/TreeView/variations/index.js +0 -11
- package/dist/elements/Elements/TreeView/variations/index.js.map +0 -1
- package/dist/elements/foundation/Header/variations/01-basic/index.d.ts +0 -2
- package/dist/elements/foundation/Header/variations/01-basic/index.d.ts.map +0 -1
- package/dist/elements/foundation/Header/variations/01-basic/index.js +0 -7
- package/dist/elements/foundation/Header/variations/01-basic/index.js.map +0 -1
- package/dist/elements/foundation/Header/variations/01-basic/layout/Header.d.ts +0 -6
- package/dist/elements/foundation/Header/variations/01-basic/layout/Header.d.ts.map +0 -1
- package/dist/elements/foundation/Header/variations/01-basic/layout/Header.js +0 -5
- package/dist/elements/foundation/Header/variations/01-basic/layout/Header.js.map +0 -1
- package/dist/elements/foundation/Header/variations/index.d.ts +0 -12
- package/dist/elements/foundation/Header/variations/index.d.ts.map +0 -1
- package/dist/elements/foundation/Header/variations/index.js +0 -11
- package/dist/elements/foundation/Header/variations/index.js.map +0 -1
- package/dist/elements/foundation/Page/variations/01-basic/index.d.ts +0 -2
- package/dist/elements/foundation/Page/variations/01-basic/index.d.ts.map +0 -1
- package/dist/elements/foundation/Page/variations/01-basic/index.js +0 -7
- package/dist/elements/foundation/Page/variations/01-basic/index.js.map +0 -1
- package/dist/elements/foundation/Page/variations/01-basic/layout/Page.d.ts +0 -7
- package/dist/elements/foundation/Page/variations/01-basic/layout/Page.d.ts.map +0 -1
- package/dist/elements/foundation/Page/variations/01-basic/layout/Page.js +0 -5
- package/dist/elements/foundation/Page/variations/01-basic/layout/Page.js.map +0 -1
- package/dist/elements/foundation/Page/variations/index.d.ts +0 -12
- package/dist/elements/foundation/Page/variations/index.d.ts.map +0 -1
- package/dist/elements/foundation/Page/variations/index.js +0 -11
- package/dist/elements/foundation/Page/variations/index.js.map +0 -1
- package/dist/elements/foundation/Sidebar/variations/01-basic/index.d.ts +0 -2
- package/dist/elements/foundation/Sidebar/variations/01-basic/index.d.ts.map +0 -1
- package/dist/elements/foundation/Sidebar/variations/01-basic/index.js +0 -7
- package/dist/elements/foundation/Sidebar/variations/01-basic/index.js.map +0 -1
- package/dist/elements/foundation/Sidebar/variations/01-basic/layout/Sidebar.d.ts +0 -6
- package/dist/elements/foundation/Sidebar/variations/01-basic/layout/Sidebar.d.ts.map +0 -1
- package/dist/elements/foundation/Sidebar/variations/01-basic/layout/Sidebar.js +0 -48
- package/dist/elements/foundation/Sidebar/variations/01-basic/layout/Sidebar.js.map +0 -1
- package/dist/elements/foundation/Sidebar/variations/index.d.ts +0 -12
- package/dist/elements/foundation/Sidebar/variations/index.d.ts.map +0 -1
- package/dist/elements/foundation/Sidebar/variations/index.js +0 -11
- package/dist/elements/foundation/Sidebar/variations/index.js.map +0 -1
- package/dist/generated-controls.d.ts +0 -3
- package/dist/generated-controls.d.ts.map +0 -1
- package/dist/generated-controls.js +0 -161
- package/dist/generated-controls.js.map +0 -1
- package/dist/providers/Theme/examples/01-provider-setup.d.ts +0 -28
- package/dist/providers/Theme/examples/01-provider-setup.d.ts.map +0 -1
- package/dist/providers/Theme/examples/01-provider-setup.js +0 -35
- package/dist/providers/Theme/examples/01-provider-setup.js.map +0 -1
- package/dist/providers/Theme/examples/02-toggle-component.d.ts +0 -32
- package/dist/providers/Theme/examples/02-toggle-component.d.ts.map +0 -1
- package/dist/providers/Theme/examples/02-toggle-component.js +0 -50
- package/dist/providers/Theme/examples/02-toggle-component.js.map +0 -1
- package/dist/providers/Theme/examples/03-advanced-patterns.d.ts +0 -134
- package/dist/providers/Theme/examples/03-advanced-patterns.d.ts.map +0 -1
- package/dist/providers/Theme/examples/03-advanced-patterns.js +0 -134
- package/dist/providers/Theme/examples/03-advanced-patterns.js.map +0 -1
- package/dist/providers/Theme/examples/index.d.ts +0 -4
- package/dist/providers/Theme/examples/index.d.ts.map +0 -1
- package/dist/providers/Theme/examples/index.js +0 -4
- package/dist/providers/Theme/examples/index.js.map +0 -1
- package/dist/sections/CTA/variations/01-banner/index.d.ts +0 -7
- package/dist/sections/CTA/variations/01-banner/index.d.ts.map +0 -1
- package/dist/sections/CTA/variations/01-banner/index.js +0 -13
- package/dist/sections/CTA/variations/01-banner/index.js.map +0 -1
- package/dist/sections/CTA/variations/02-split/index.d.ts +0 -7
- package/dist/sections/CTA/variations/02-split/index.d.ts.map +0 -1
- package/dist/sections/CTA/variations/02-split/index.js +0 -19
- package/dist/sections/CTA/variations/02-split/index.js.map +0 -1
- package/dist/sections/CTA/variations/index.d.ts +0 -13
- package/dist/sections/CTA/variations/index.d.ts.map +0 -1
- package/dist/sections/CTA/variations/index.js +0 -7
- package/dist/sections/CTA/variations/index.js.map +0 -1
- package/dist/sections/Features/variations/01-grid/index.d.ts +0 -7
- package/dist/sections/Features/variations/01-grid/index.d.ts.map +0 -1
- package/dist/sections/Features/variations/01-grid/index.js +0 -47
- package/dist/sections/Features/variations/01-grid/index.js.map +0 -1
- package/dist/sections/Features/variations/02-list/index.d.ts +0 -7
- package/dist/sections/Features/variations/02-list/index.d.ts.map +0 -1
- package/dist/sections/Features/variations/02-list/index.js +0 -52
- package/dist/sections/Features/variations/02-list/index.js.map +0 -1
- package/dist/sections/Features/variations/index.d.ts +0 -13
- package/dist/sections/Features/variations/index.d.ts.map +0 -1
- package/dist/sections/Features/variations/index.js +0 -7
- package/dist/sections/Features/variations/index.js.map +0 -1
- package/dist/sections/Hero/variations/01-simple/index.d.ts +0 -7
- package/dist/sections/Hero/variations/01-simple/index.d.ts.map +0 -1
- package/dist/sections/Hero/variations/01-simple/index.js +0 -12
- package/dist/sections/Hero/variations/01-simple/index.js.map +0 -1
- package/dist/sections/Hero/variations/02-with-cta/index.d.ts +0 -7
- package/dist/sections/Hero/variations/02-with-cta/index.d.ts.map +0 -1
- package/dist/sections/Hero/variations/02-with-cta/index.js +0 -12
- package/dist/sections/Hero/variations/02-with-cta/index.js.map +0 -1
- package/dist/sections/Hero/variations/03-with-stats/index.d.ts +0 -7
- package/dist/sections/Hero/variations/03-with-stats/index.d.ts.map +0 -1
- package/dist/sections/Hero/variations/03-with-stats/index.js +0 -18
- package/dist/sections/Hero/variations/03-with-stats/index.js.map +0 -1
- package/dist/sections/Hero/variations/04-with-features/index.d.ts +0 -7
- package/dist/sections/Hero/variations/04-with-features/index.d.ts.map +0 -1
- package/dist/sections/Hero/variations/04-with-features/index.js +0 -38
- package/dist/sections/Hero/variations/04-with-features/index.js.map +0 -1
- package/dist/sections/Hero/variations/index.d.ts +0 -23
- package/dist/sections/Hero/variations/index.d.ts.map +0 -1
- package/dist/sections/Hero/variations/index.js +0 -11
- package/dist/sections/Hero/variations/index.js.map +0 -1
- package/dist/sections/Pricing/variations/01-cards/index.d.ts +0 -7
- package/dist/sections/Pricing/variations/01-cards/index.d.ts.map +0 -1
- package/dist/sections/Pricing/variations/01-cards/index.js +0 -66
- package/dist/sections/Pricing/variations/01-cards/index.js.map +0 -1
- package/dist/sections/Pricing/variations/02-comparison/index.d.ts +0 -7
- package/dist/sections/Pricing/variations/02-comparison/index.d.ts.map +0 -1
- package/dist/sections/Pricing/variations/02-comparison/index.js +0 -53
- package/dist/sections/Pricing/variations/02-comparison/index.js.map +0 -1
- package/dist/sections/Pricing/variations/index.d.ts +0 -13
- package/dist/sections/Pricing/variations/index.d.ts.map +0 -1
- package/dist/sections/Pricing/variations/index.js +0 -7
- package/dist/sections/Pricing/variations/index.js.map +0 -1
- package/dist/sections/Testimonials/variations/01-cards/index.d.ts +0 -7
- package/dist/sections/Testimonials/variations/01-cards/index.d.ts.map +0 -1
- package/dist/sections/Testimonials/variations/01-cards/index.js +0 -38
- package/dist/sections/Testimonials/variations/01-cards/index.js.map +0 -1
- package/dist/sections/Testimonials/variations/02-featured/index.d.ts +0 -7
- package/dist/sections/Testimonials/variations/02-featured/index.d.ts.map +0 -1
- package/dist/sections/Testimonials/variations/02-featured/index.js +0 -53
- package/dist/sections/Testimonials/variations/02-featured/index.js.map +0 -1
- package/dist/sections/Testimonials/variations/index.d.ts +0 -13
- package/dist/sections/Testimonials/variations/index.d.ts.map +0 -1
- package/dist/sections/Testimonials/variations/index.js +0 -7
- package/dist/sections/Testimonials/variations/index.js.map +0 -1
- package/dist/src/generated-styles.d.ts +0 -7
- package/dist/src/generated-styles.d.ts.map +0 -1
- package/dist/src/generated-styles.js +0 -1360
- package/dist/src/generated-styles.js.map +0 -1
- package/src/components/Anchor/examples/01-basic-anchor.tsx +0 -18
- package/src/components/Badge/examples/01-basic-badge.tsx +0 -11
- package/src/components/Badge/examples/02-variants-and-sizes.tsx +0 -71
- package/src/components/Banner/examples/01-basic-banner.tsx +0 -15
- package/src/components/Button/examples/01-variants.tsx +0 -62
- package/src/components/Button/examples/02-multi-actions.tsx +0 -20
- package/src/components/Button/examples/03-joined-toggle.tsx +0 -32
- package/src/components/Button/examples/04-sub-stack-actions.tsx +0 -29
- package/src/components/Button/examples/05-split-action-button.tsx +0 -96
- package/src/components/Button/examples.json +0 -27
- package/src/components/Card/examples/01-basic-card.tsx +0 -22
- package/src/components/Checkbox/examples/01-basic-checkbox.tsx +0 -21
- package/src/components/Checkbox/examples/02-checkbox-group-with-descriptions.tsx +0 -59
- package/src/components/Color/examples/01-basic-color.tsx +0 -25
- package/src/components/Color/examples/02-opacity-slider.tsx +0 -26
- package/src/components/Color/examples/03-format-switching.tsx +0 -46
- package/src/components/Command/examples/01-basic-command.tsx +0 -79
- package/src/components/Confirm/examples/01-basic-confirm.tsx +0 -20
- package/src/components/Date/examples/01-basic-date.tsx +0 -12
- package/src/components/Date/examples/02-with-disabled-dates.tsx +0 -22
- package/src/components/Date/examples/03-controlled-mode.tsx +0 -46
- package/src/components/Date/examples/04-date-range.tsx +0 -82
- package/src/components/Divider/examples/01-basic-divider.tsx +0 -17
- package/src/components/Divider/examples/02-pattern-variants.tsx +0 -25
- package/src/components/Divider/examples/03-vertical-divider.tsx +0 -21
- package/src/components/Expand/examples/01-basic-expand.tsx +0 -18
- package/src/components/Flex/examples/01-basic-flex.tsx +0 -17
- package/src/components/Frame/examples/01-default-frame.tsx +0 -33
- package/src/components/Frame/examples/02-tooltip-example.tsx +0 -35
- package/src/components/Frame/examples/03-sidebar-tab.tsx +0 -50
- package/src/components/Gallery/examples/01-basic-gallery.tsx +0 -28
- package/src/components/Grid/examples/01-basic-grid.tsx +0 -20
- package/src/components/Group/examples/01-basic-group.tsx +0 -16
- package/src/components/Group/examples/examples.json +0 -10
- package/src/components/Group/examples.json +0 -7
- package/src/components/Input/examples/01-basic-input.tsx +0 -11
- package/src/components/Input/examples/02-validation.tsx +0 -53
- package/src/components/Input/examples/examples.json +0 -16
- package/src/components/Label/examples/01-basic-label.tsx +0 -16
- package/src/components/List/examples/01-basic.tsx +0 -25
- package/src/components/Mask/examples/01-read-more-fade.tsx +0 -33
- package/src/components/Mask/examples/02-text-gradient.tsx +0 -21
- package/src/components/Menu/examples/01-basic-menu.tsx +0 -22
- package/src/components/Menu/examples/02-nested-menu.tsx +0 -49
- package/src/components/Modal/examples/01-basic-modal.tsx +0 -24
- package/src/components/Modal/examples/02-form-modal.tsx +0 -88
- package/src/components/Path/examples/01-basic-path.tsx +0 -17
- package/src/components/Popover/examples/01-basic-popover.tsx +0 -15
- package/src/components/Progress/examples/01-basic-progress.tsx +0 -11
- package/src/components/Radio/examples/01-basic-radio.tsx +0 -13
- package/src/components/Radio/examples/02-radio-with-descriptions.tsx +0 -31
- package/src/components/Radio/examples/examples.json +0 -8
- package/src/components/Scroll/examples/01-basic-scroll.tsx +0 -22
- package/src/components/Select/examples/01-basic-select.tsx +0 -22
- package/src/components/Select/examples/02-searchable-select.tsx +0 -51
- package/src/components/Slider/examples/01-basic-slider.tsx +0 -11
- package/src/components/Switch/examples/01-basic-switch.tsx +0 -11
- package/src/components/Table/examples/01-basic-table.tsx +0 -27
- package/src/components/Tabs/examples/01-basic-tabs.tsx +0 -28
- package/src/components/Tabs/examples/02-vertical-tabs.tsx +0 -103
- package/src/components/Textarea/examples/01-basic-textarea.tsx +0 -16
- package/src/components/Toast/examples/01-basic-toast.tsx +0 -20
- package/src/components/Toast/examples/02-success-toast.tsx +0 -27
- package/src/components/Toast/examples/03-danger-toast.tsx +0 -27
- package/src/components/Toast/examples/04-info-toast.tsx +0 -27
- package/src/components/Toast/examples/05-warning-toast.tsx +0 -27
- package/src/components/Tooltip/examples/01-basic-tooltip.tsx +0 -15
- package/src/design-tokens/index.ts +0 -196
- package/src/dist/generated-styles.json +0 -1358
- package/src/elements/AI/AIChatInput/variations/01-basic/index.tsx +0 -39
- package/src/elements/AI/AIChatInput/variations/01-basic/layout/PromptInput.tsx +0 -58
- package/src/elements/AI/AIChatInput/variations/02-with-suggestions/index.tsx +0 -67
- package/src/elements/AI/AIChatInput/variations/02-with-suggestions/layout/PromptInputWithSuggestions.tsx +0 -63
- package/src/elements/AI/AIChatInput/variations/index.ts +0 -18
- package/src/elements/AI/ChainOfThought/variations/01-basic/index.tsx +0 -49
- package/src/elements/AI/ChainOfThought/variations/01-basic/layout/ThoughtStep.tsx +0 -22
- package/src/elements/AI/ChainOfThought/variations/02-with-details/index.tsx +0 -80
- package/src/elements/AI/ChainOfThought/variations/02-with-details/layout/ExpandableThoughtStep.tsx +0 -48
- package/src/elements/AI/ChainOfThought/variations/index.ts +0 -18
- package/src/elements/AI/Chat/variations/01-basic/index.tsx +0 -54
- package/src/elements/AI/Chat/variations/01-basic/layout/ChatContainer.tsx +0 -13
- package/src/elements/AI/Chat/variations/01-basic/layout/ChatInput.tsx +0 -35
- package/src/elements/AI/Chat/variations/01-basic/layout/ChatMessage.tsx +0 -20
- package/src/elements/AI/Chat/variations/02-with-actions/index.tsx +0 -83
- package/src/elements/AI/Chat/variations/02-with-actions/layout/ChatContainerWithActions.tsx +0 -13
- package/src/elements/AI/Chat/variations/02-with-actions/layout/ChatInputWithActions.tsx +0 -35
- package/src/elements/AI/Chat/variations/02-with-actions/layout/ChatMessage.tsx +0 -20
- package/src/elements/AI/Chat/variations/index.ts +0 -18
- package/src/elements/Documentation/CopyPage/variations/01-basic/index.tsx +0 -55
- package/src/elements/Documentation/CopyPage/variations/01-basic/layout/CopyButton.tsx +0 -30
- package/src/elements/Documentation/CopyPage/variations/02-with-success/index.tsx +0 -63
- package/src/elements/Documentation/CopyPage/variations/02-with-success/layout/CopyButtonWithToast.tsx +0 -33
- package/src/elements/Documentation/CopyPage/variations/index.ts +0 -18
- package/src/elements/Documentation/NextArticle/variations/01-basic/index.tsx +0 -42
- package/src/elements/Documentation/NextArticle/variations/01-basic/layout/NextArticleCard.tsx +0 -27
- package/src/elements/Documentation/NextArticle/variations/02-with-icon/index.tsx +0 -44
- package/src/elements/Documentation/NextArticle/variations/02-with-icon/layout/NextArticleWithIconCard.tsx +0 -34
- package/src/elements/Documentation/NextArticle/variations/index.ts +0 -18
- package/src/elements/Documentation/TOC/variations/01-basic/index.tsx +0 -61
- package/src/elements/Documentation/TOC/variations/01-basic/layout/TableOfContents.tsx +0 -37
- package/src/elements/Documentation/TOC/variations/02-expanded/index.tsx +0 -67
- package/src/elements/Documentation/TOC/variations/02-expanded/layout/ExpandableTableOfContents.tsx +0 -91
- package/src/elements/Documentation/TOC/variations/index.ts +0 -18
- package/src/elements/Elements/Carousel/variations/01-basic/index.tsx +0 -4
- package/src/elements/Elements/Carousel/variations/index.ts +0 -15
- package/src/elements/Elements/Rating/variations/01-basic/index.tsx +0 -4
- package/src/elements/Elements/Rating/variations/index.ts +0 -15
- package/src/elements/Elements/Timeline/variations/01-basic/index.tsx +0 -4
- package/src/elements/Elements/Timeline/variations/index.ts +0 -15
- package/src/elements/Elements/TreeView/variations/01-basic/index.tsx +0 -4
- package/src/elements/Elements/TreeView/variations/index.ts +0 -15
- package/src/elements/foundation/Header/variations/01-basic/index.tsx +0 -46
- package/src/elements/foundation/Header/variations/01-basic/layout/Header.tsx +0 -21
- package/src/elements/foundation/Header/variations/index.ts +0 -15
- package/src/elements/foundation/Page/variations/01-basic/index.tsx +0 -40
- package/src/elements/foundation/Page/variations/01-basic/layout/Page.tsx +0 -29
- package/src/elements/foundation/Page/variations/index.ts +0 -15
- package/src/elements/foundation/Sidebar/variations/01-basic/index.tsx +0 -15
- package/src/elements/foundation/Sidebar/variations/01-basic/layout/Sidebar.tsx +0 -158
- package/src/elements/foundation/Sidebar/variations/index.ts +0 -15
- package/src/sections/CTA/variations/01-banner/index.tsx +0 -52
- package/src/sections/CTA/variations/02-split/index.tsx +0 -90
- package/src/sections/CTA/variations/index.ts +0 -7
- package/src/sections/Features/variations/01-grid/index.tsx +0 -91
- package/src/sections/Features/variations/02-list/index.tsx +0 -124
- package/src/sections/Features/variations/index.ts +0 -7
- package/src/sections/Hero/variations/01-simple/index.tsx +0 -46
- package/src/sections/Hero/variations/02-with-cta/index.tsx +0 -74
- package/src/sections/Hero/variations/03-with-stats/index.tsx +0 -63
- package/src/sections/Hero/variations/04-with-features/index.tsx +0 -87
- package/src/sections/Hero/variations/index.ts +0 -11
- package/src/sections/Pricing/variations/01-cards/index.tsx +0 -153
- package/src/sections/Pricing/variations/02-comparison/index.tsx +0 -150
- package/src/sections/Pricing/variations/index.ts +0 -7
- package/src/sections/Testimonials/variations/01-cards/index.tsx +0 -93
- package/src/sections/Testimonials/variations/02-featured/index.tsx +0 -155
- package/src/sections/Testimonials/variations/index.ts +0 -7
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
{
|
|
2
|
-
"01-
|
|
3
|
-
"title": "
|
|
4
|
-
"description": "
|
|
5
|
-
"code": "
|
|
2
|
+
"01-grid-composition": {
|
|
3
|
+
"title": "Grid Composition",
|
|
4
|
+
"description": "Gallery items arranged in a configurable grid with consistent gap and aspect ratio.",
|
|
5
|
+
"code": "\"use client\";\n\nimport React from 'react'\nimport { Gallery, Frame } from 'ui-lab-components'\nimport type { GalleryProps } from 'ui-lab-components'\nimport type { ControlDef } from '@/types'\n\ntype GalleryGap = NonNullable<GalleryProps['gap']>;\ntype ItemTier = 'common' | 'archived' | 'experimental';\n\nconst FRAME_STYLE: Record<ItemTier, React.CSSProperties> = {\n common: { '--frame-fill': 'var(--background-900)', '--frame-stroke-color': 'var(--background-600)' } as React.CSSProperties,\n archived: { '--frame-fill': 'var(--background-950)', '--frame-stroke-color': 'var(--background-700)' } as React.CSSProperties,\n experimental: { '--frame-fill': 'var(--background-950)', '--frame-stroke-color': 'var(--background-800)' } as React.CSSProperties,\n};\n\nexport const controls: ControlDef[] = [\n { name: 'columns', label: 'Columns', type: 'stepper', defaultValue: 3, min: 1, max: 6, step: 1 },\n {\n name: 'gap',\n label: 'Gap Token',\n type: 'select',\n options: [\n { label: 'Extra Small', value: 'xs' },\n { label: 'Small', value: 'sm' },\n { label: 'Medium', value: 'md' },\n { label: 'Large', value: 'lg' },\n { label: 'Extra Large', value: 'xl' },\n ],\n defaultValue: 'md',\n },\n {\n name: 'aspectRatio',\n label: 'Aspect Ratio',\n type: 'select',\n options: [\n { label: '1:1', value: '1/1' },\n { label: '4:3', value: '4/3' },\n { label: '3:4', value: '3/4' },\n { label: '16:9', value: '16/9' },\n ],\n defaultValue: '4/3',\n },\n { name: 'itemCount', label: 'Items', type: 'stepper', defaultValue: 4, min: 4, max: 12, step: 1 },\n { name: 'responsive', label: 'Container-Query Responsive', type: 'toggle', defaultValue: false },\n];\n\nexport const previewLayout = 'start' as const;\nexport const resizable = true;\n\nconst GRID_ITEMS = [\n { id: 'g1', title: 'Brand Kit', description: 'Identity · Updated 2d ago', tier: 'common' as ItemTier },\n { id: 'g2', title: 'Icon Set', description: 'UI Assets · 142 icons', tier: 'common' as ItemTier },\n { id: 'g3', title: 'Type Scale', description: 'Typography · 8 weights', tier: 'common' as ItemTier },\n { id: 'g4', title: 'Color Tokens', description: 'Design System · v3.2', tier: 'common' as ItemTier },\n { id: 'g5', title: 'Grid Spec', description: 'Layout · 12-column', tier: 'common' as ItemTier },\n { id: 'g6', title: 'Motion Guide', description: 'Animation · 24 presets', tier: 'common' as ItemTier },\n { id: 'g7', title: 'Legacy Icons', description: 'Archived · v1.4', tier: 'archived' as ItemTier },\n { id: 'g8', title: 'Old Palette', description: 'Archived · 2021', tier: 'archived' as ItemTier },\n { id: 'g9', title: 'Beta Components', description: 'Archived · Pre-release', tier: 'archived' as ItemTier },\n { id: 'g10', title: 'Prototype A', description: 'Experimental · Do not ship', tier: 'experimental' as ItemTier },\n { id: 'g11', title: 'Prototype B', description: 'Experimental · Internal only', tier: 'experimental' as ItemTier },\n { id: 'g12', title: 'Prototype C', description: 'Experimental · Unreleased', tier: 'experimental' as ItemTier },\n];\n\nfunction getGap(value: unknown): GalleryGap {\n if (value === 'xs' || value === 'sm' || value === 'lg' || value === 'xl') return value;\n return 'md';\n}\n\nfunction getInt(value: unknown, min: number, max: number, fallback: number) {\n const n = Number(value);\n if (Number.isNaN(n)) return fallback;\n return Math.min(max, Math.max(min, Math.round(n)));\n}\n\nfunction getAspectRatio(value: unknown): string {\n if (typeof value === 'string' && value.includes('/')) return value;\n return '4/3';\n}\n\nfunction itemClassName(tier: ItemTier) {\n if (tier === 'archived') return 'opacity-60';\n if (tier === 'experimental') return 'opacity-35';\n return undefined;\n}\n\nexport function renderPreview(props: Record<string, unknown>) {\n const columns = getInt(props.columns, 1, 6, 3);\n const gap = getGap(props.gap);\n const ratio = getAspectRatio(props.aspectRatio);\n const count = getInt(props.itemCount, 4, 12, 4);\n const responsive = Boolean(props.responsive);\n const items = GRID_ITEMS.slice(0, count);\n const resolvedColumns: GalleryProps['columns'] = responsive ? { sm: 1, md: Math.min(2, columns), lg: columns } : columns;\n\n return (\n <Gallery columns={resolvedColumns} gap={gap} responsive={responsive} className=\"w-full\">\n {items.map((item) => (\n <Gallery.Item key={item.id} className={itemClassName(item.tier)} aria-disabled={item.tier === 'experimental' ? true : undefined}>\n <Gallery.View aspectRatio={ratio}>\n <Frame pathStroke={item.tier === 'experimental' ? 'dotted' : 'dashed'} style={FRAME_STYLE[item.tier]} className=\"w-full h-full\" />\n </Gallery.View>\n <Gallery.Body>\n <span>{item.title}</span>\n <span>{item.description}</span>\n </Gallery.Body>\n </Gallery.Item>\n ))}\n </Gallery>\n );\n}\n\nexport default function Example() {\n return renderPreview({ columns: 3, gap: 'md', aspectRatio: '4/3', itemCount: 4, responsive: false });\n}"
|
|
6
|
+
},
|
|
7
|
+
"02-item-orientation": {
|
|
8
|
+
"title": "Item Orientation",
|
|
9
|
+
"description": "Gallery items can be oriented vertically (stacked view + body) or horizontally (side-by-side view + body).",
|
|
10
|
+
"code": "\"use client\";\n\nimport React from 'react'\nimport { Gallery, Frame } from 'ui-lab-components'\nimport type { GalleryProps } from 'ui-lab-components'\nimport type { ControlDef } from '@/types'\n\ntype GalleryGap = NonNullable<GalleryProps['gap']>;\ntype ItemTier = 'common' | 'archived' | 'experimental';\n\nconst FRAME_STYLE: Record<ItemTier, React.CSSProperties> = {\n common: { '--frame-fill': 'var(--background-900)', '--frame-stroke-color': 'var(--background-600)' } as React.CSSProperties,\n archived: { '--frame-fill': 'var(--background-950)', '--frame-stroke-color': 'var(--background-700)' } as React.CSSProperties,\n experimental: { '--frame-fill': 'var(--background-950)', '--frame-stroke-color': 'var(--background-800)' } as React.CSSProperties,\n};\n\nexport const controls: ControlDef[] = [\n {\n name: 'orientation',\n label: 'Orientation',\n type: 'select',\n options: [\n { label: 'Vertical', value: 'vertical' },\n { label: 'Horizontal', value: 'horizontal' },\n ],\n defaultValue: 'vertical',\n },\n { name: 'columns', label: 'Columns (vertical only)', type: 'stepper', defaultValue: 2, min: 1, max: 4, step: 1 },\n {\n name: 'gap',\n label: 'Gap Token',\n type: 'select',\n options: [\n { label: 'Extra Small', value: 'xs' },\n { label: 'Small', value: 'sm' },\n { label: 'Medium', value: 'md' },\n { label: 'Large', value: 'lg' },\n ],\n defaultValue: 'sm',\n },\n {\n name: 'aspectRatio',\n label: 'View Aspect Ratio (vertical only)',\n type: 'select',\n options: [\n { label: '1:1', value: '1/1' },\n { label: '4:3', value: '4/3' },\n { label: '3:4', value: '3/4' },\n { label: '16:9', value: '16/9' },\n ],\n defaultValue: '4/3',\n },\n { name: 'itemCount', label: 'Items', type: 'stepper', defaultValue: 4, min: 4, max: 12, step: 1 },\n];\n\nexport const previewLayout = 'start' as const;\nexport const resizable = true;\n\nconst ORIENTATION_ITEMS = [\n { id: 'o1', title: 'Waveform Study', description: '12:34 · Electronic', tier: 'common' as ItemTier },\n { id: 'o2', title: 'Threshold', description: '8:02 · Ambient', tier: 'common' as ItemTier },\n { id: 'o3', title: 'Parallel Lines', description: '5:47 · Minimal', tier: 'common' as ItemTier },\n { id: 'o4', title: 'Resonance', description: '9:15 · Drone', tier: 'common' as ItemTier },\n { id: 'o5', title: 'Liminal Space', description: '11:20 · Experimental', tier: 'common' as ItemTier },\n { id: 'o6', title: 'Undertow', description: '7:45 · Ambient', tier: 'common' as ItemTier },\n { id: 'o7', title: 'Archive Vol. I', description: 'Archived · 2019 sessions', tier: 'archived' as ItemTier },\n { id: 'o8', title: 'Archive Vol. II', description: 'Archived · Rough cuts', tier: 'archived' as ItemTier },\n { id: 'o9', title: 'Archive Vol. III', description: 'Archived · Unmixed', tier: 'archived' as ItemTier },\n { id: 'o10', title: 'Session X-01', description: 'Experimental · Unreleased draft', tier: 'experimental' as ItemTier },\n { id: 'o11', title: 'Session X-02', description: 'Experimental · Internal', tier: 'experimental' as ItemTier },\n { id: 'o12', title: 'Session X-03', description: 'Experimental · Do not distribute', tier: 'experimental' as ItemTier },\n];\n\nfunction getGap(value: unknown): GalleryGap {\n if (value === 'xs' || value === 'sm' || value === 'lg' || value === 'xl') return value;\n return 'md';\n}\n\nfunction getInt(value: unknown, min: number, max: number, fallback: number) {\n const n = Number(value);\n if (Number.isNaN(n)) return fallback;\n return Math.min(max, Math.max(min, Math.round(n)));\n}\n\nfunction getAspectRatio(value: unknown): string {\n if (typeof value === 'string' && value.includes('/')) return value;\n return '4/3';\n}\n\nfunction getOrientation(value: unknown): 'vertical' | 'horizontal' {\n return value === 'horizontal' ? 'horizontal' : 'vertical';\n}\n\nfunction itemClassName(tier: ItemTier) {\n if (tier === 'archived') return 'opacity-60';\n if (tier === 'experimental') return 'opacity-35';\n return undefined;\n}\n\nexport function renderPreview(props: Record<string, unknown>) {\n const orientation = getOrientation(props.orientation);\n const columns = getInt(props.columns, 1, 4, 2);\n const gap = getGap(props.gap);\n const ratio = getAspectRatio(props.aspectRatio);\n const count = getInt(props.itemCount, 4, 12, 4);\n const items = ORIENTATION_ITEMS.slice(0, count);\n const resolvedColumns: GalleryProps['columns'] = orientation === 'horizontal' ? 1 : columns;\n\n return (\n <Gallery columns={resolvedColumns} gap={gap} className=\"w-full\">\n {items.map((item) => (\n <Gallery.Item key={item.id} orientation={orientation} className={itemClassName(item.tier)} aria-disabled={item.tier === 'experimental' ? true : undefined}>\n <Gallery.View aspectRatio={orientation === 'horizontal' ? '1/1' : ratio}>\n <Frame pathStroke={item.tier === 'experimental' ? 'dotted' : 'dashed'} style={FRAME_STYLE[item.tier]} className=\"w-full h-full\" />\n </Gallery.View>\n <Gallery.Body>\n <span>{item.title}</span>\n <span>{item.description}</span>\n </Gallery.Body>\n </Gallery.Item>\n ))}\n </Gallery>\n );\n}\n\nexport default function Example() {\n return renderPreview({ orientation: 'vertical', columns: 2, gap: 'sm', aspectRatio: '4/3', itemCount: 4 });\n}"
|
|
11
|
+
},
|
|
12
|
+
"03-span-layout": {
|
|
13
|
+
"title": "Span Layout",
|
|
14
|
+
"description": "A featured item spans multiple columns and rows to create an editorial grid layout.",
|
|
15
|
+
"code": "\"use client\";\n\nimport React from 'react'\nimport { Gallery, Frame } from 'ui-lab-components'\nimport type { GalleryProps } from 'ui-lab-components'\nimport type { ControlDef } from '@/types'\n\ntype GalleryGap = NonNullable<GalleryProps['gap']>;\ntype ItemTier = 'common' | 'archived' | 'experimental';\n\nconst FRAME_STYLE: Record<ItemTier, React.CSSProperties> = {\n common: { '--frame-fill': 'var(--background-900)', '--frame-stroke-color': 'var(--background-600)' } as React.CSSProperties,\n archived: { '--frame-fill': 'var(--background-950)', '--frame-stroke-color': 'var(--background-700)' } as React.CSSProperties,\n experimental: { '--frame-fill': 'var(--background-950)', '--frame-stroke-color': 'var(--background-800)' } as React.CSSProperties,\n};\n\nexport const controls: ControlDef[] = [\n { name: 'columns', label: 'Columns', type: 'stepper', defaultValue: 3, min: 2, max: 6, step: 1 },\n {\n name: 'gap',\n label: 'Gap Token',\n type: 'select',\n options: [\n { label: 'Extra Small', value: 'xs' },\n { label: 'Small', value: 'sm' },\n { label: 'Medium', value: 'md' },\n { label: 'Large', value: 'lg' },\n ],\n defaultValue: 'md',\n },\n { name: 'featuredColumnSpan', label: 'Featured Column Span', type: 'stepper', defaultValue: 2, min: 1, max: 4, step: 1 },\n { name: 'featuredRowSpan', label: 'Featured Row Span', type: 'stepper', defaultValue: 2, min: 1, max: 3, step: 1 },\n {\n name: 'featuredAspect',\n label: 'Featured Aspect Ratio',\n type: 'select',\n options: [\n { label: '4:3', value: '4/3' },\n { label: '16:9', value: '16/9' },\n { label: '21:9', value: '21/9' },\n { label: '1:1', value: '1/1' },\n ],\n defaultValue: '16/9',\n },\n { name: 'itemCount', label: 'Items', type: 'stepper', defaultValue: 5, min: 3, max: 12, step: 1 },\n];\n\nexport const previewLayout = 'start' as const;\nexport const resizable = true;\n\nconst SPAN_ITEMS = [\n { id: 's1', title: \"Editor's Pick\", description: 'Featured collection — Spring 2024', tier: 'common' as ItemTier },\n { id: 's2', title: 'Series No. 1', description: 'Monochrome', tier: 'common' as ItemTier },\n { id: 's3', title: 'Series No. 2', description: 'Landscape', tier: 'common' as ItemTier },\n { id: 's4', title: 'Series No. 3', description: 'Portrait', tier: 'common' as ItemTier },\n { id: 's5', title: 'Series No. 4', description: 'Abstract', tier: 'common' as ItemTier },\n { id: 's6', title: 'Series No. 5', description: 'Documentary', tier: 'common' as ItemTier },\n { id: 's7', title: 'Hidden Vol. I', description: 'Archived · Unlisted', tier: 'archived' as ItemTier },\n { id: 's8', title: 'Hidden Vol. II', description: 'Archived · Private', tier: 'archived' as ItemTier },\n { id: 's9', title: 'Hidden Vol. III', description: 'Archived · Limited print', tier: 'archived' as ItemTier },\n { id: 's10', title: 'Vault A', description: 'Experimental · Access restricted', tier: 'experimental' as ItemTier },\n { id: 's11', title: 'Vault B', description: 'Experimental · Internal preview', tier: 'experimental' as ItemTier },\n { id: 's12', title: 'Vault C', description: 'Experimental · Embargoed', tier: 'experimental' as ItemTier },\n];\n\nfunction getGap(value: unknown): GalleryGap {\n if (value === 'xs' || value === 'sm' || value === 'lg' || value === 'xl') return value;\n return 'md';\n}\n\nfunction getInt(value: unknown, min: number, max: number, fallback: number) {\n const n = Number(value);\n if (Number.isNaN(n)) return fallback;\n return Math.min(max, Math.max(min, Math.round(n)));\n}\n\nfunction getAspectRatio(value: unknown): string {\n if (typeof value === 'string' && value.includes('/')) return value;\n return '4/3';\n}\n\nfunction itemClassName(tier: ItemTier) {\n if (tier === 'archived') return 'opacity-60';\n if (tier === 'experimental') return 'opacity-35';\n return undefined;\n}\n\nexport function renderPreview(props: Record<string, unknown>) {\n const columns = getInt(props.columns, 2, 6, 3);\n const gap = getGap(props.gap);\n const colSpan = Math.min(getInt(props.featuredColumnSpan, 1, 4, 2), columns);\n const rowSpan = getInt(props.featuredRowSpan, 1, 3, 2);\n const featuredRatio = getAspectRatio(props.featuredAspect);\n const count = getInt(props.itemCount, 3, 12, 5);\n const [featured, ...rest] = SPAN_ITEMS.slice(0, count);\n\n return (\n <Gallery columns={columns} gap={gap} className=\"w-full\">\n <Gallery.Item columnSpan={colSpan} rowSpan={rowSpan}>\n <Gallery.View aspectRatio={featuredRatio}>\n <Frame pathStroke=\"dashed\" style={FRAME_STYLE.common} className=\"w-full h-full\" />\n </Gallery.View>\n <Gallery.Body>\n <span>{featured.title}</span>\n <span>{featured.description}</span>\n </Gallery.Body>\n </Gallery.Item>\n {rest.map((item) => (\n <Gallery.Item key={item.id} className={itemClassName(item.tier)} aria-disabled={item.tier === 'experimental' ? true : undefined}>\n <Gallery.View aspectRatio=\"4/3\">\n <Frame pathStroke={item.tier === 'experimental' ? 'dotted' : 'dashed'} style={FRAME_STYLE[item.tier]} className=\"w-full h-full\" />\n </Gallery.View>\n <Gallery.Body>\n <span>{item.title}</span>\n <span>{item.description}</span>\n </Gallery.Body>\n </Gallery.Item>\n ))}\n </Gallery>\n );\n}\n\nexport default function Example() {\n return renderPreview({ columns: 3, gap: 'md', featuredColumnSpan: 2, featuredRowSpan: 2, featuredAspect: '16/9', itemCount: 5 });\n}"
|
|
6
16
|
}
|
|
7
17
|
}
|
|
@@ -2,12 +2,16 @@ import React from 'react';
|
|
|
2
2
|
import { Gallery } from 'ui-lab-components';
|
|
3
3
|
import { ControlDef, ComponentDetail } from '@/types';
|
|
4
4
|
import { FaImage } from 'react-icons/fa6';
|
|
5
|
-
import Example1, { metadata as metadata1 } from './examples/01-
|
|
5
|
+
import Example1, { metadata as metadata1, controls as controls1, renderPreview as renderPreview1, previewLayout as previewLayout1, resizable as resizable1 } from './examples/01-grid-composition.js';
|
|
6
|
+
import Example2, { metadata as metadata2, controls as controls2, renderPreview as renderPreview2, previewLayout as previewLayout2, resizable as resizable2 } from './examples/02-item-orientation.js';
|
|
7
|
+
import Example3, { metadata as metadata3, controls as controls3, renderPreview as renderPreview3, previewLayout as previewLayout3, resizable as resizable3 } from './examples/03-span-layout.js';
|
|
6
8
|
import examplesJson from './examples.json' with { type: 'json' };
|
|
7
9
|
import { loadComponentExamples } from '../../utils/load-component-examples.js';
|
|
8
10
|
|
|
9
11
|
const examplesData = [
|
|
10
|
-
{ id: '01-
|
|
12
|
+
{ id: '01-grid-composition', Component: Example1, metadata: metadata1, controls: controls1, renderPreview: renderPreview1, previewLayout: previewLayout1, resizable: resizable1 },
|
|
13
|
+
{ id: '02-item-orientation', Component: Example2, metadata: metadata2, controls: controls2, renderPreview: renderPreview2, previewLayout: previewLayout2, resizable: resizable2 },
|
|
14
|
+
{ id: '03-span-layout', Component: Example3, metadata: metadata3, controls: controls3, renderPreview: renderPreview3, previewLayout: previewLayout3, resizable: resizable3 },
|
|
11
15
|
];
|
|
12
16
|
|
|
13
17
|
const galleryControls: ControlDef[] = [
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import React from 'react'
|
|
4
|
+
import { Grid, Frame } from 'ui-lab-components'
|
|
5
|
+
import type { GridProps } from 'ui-lab-components'
|
|
6
|
+
import type { ControlDef } from '@/types'
|
|
7
|
+
|
|
8
|
+
type GridColumnsValue = '1' | '2' | '3' | '4' | '5' | '6' | 'auto-fit' | 'auto-fill';
|
|
9
|
+
type GridGap = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
10
|
+
|
|
11
|
+
const BASE_CELL_STYLE = {
|
|
12
|
+
'--frame-fill': 'var(--background-900)',
|
|
13
|
+
'--frame-stroke-color': 'var(--background-600)',
|
|
14
|
+
} as React.CSSProperties;
|
|
15
|
+
|
|
16
|
+
export const metadata = {
|
|
17
|
+
title: 'Track Placement',
|
|
18
|
+
description: 'Adjust columns, gap, alignment, and auto-placement flow to explore the CSS Grid track model.',
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export const controls: ControlDef[] = [
|
|
22
|
+
{
|
|
23
|
+
name: 'columns',
|
|
24
|
+
label: 'Columns',
|
|
25
|
+
type: 'select',
|
|
26
|
+
options: [
|
|
27
|
+
{ label: '1 Column', value: '1' },
|
|
28
|
+
{ label: '2 Columns', value: '2' },
|
|
29
|
+
{ label: '3 Columns', value: '3' },
|
|
30
|
+
{ label: '4 Columns', value: '4' },
|
|
31
|
+
{ label: '5 Columns', value: '5' },
|
|
32
|
+
{ label: '6 Columns', value: '6' },
|
|
33
|
+
{ label: 'Auto Fit', value: 'auto-fit' },
|
|
34
|
+
{ label: 'Auto Fill', value: 'auto-fill' },
|
|
35
|
+
],
|
|
36
|
+
defaultValue: '3',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: 'gap',
|
|
40
|
+
label: 'Gap Token',
|
|
41
|
+
type: 'select',
|
|
42
|
+
options: [
|
|
43
|
+
{ label: 'Extra Small', value: 'xs' },
|
|
44
|
+
{ label: 'Small', value: 'sm' },
|
|
45
|
+
{ label: 'Medium', value: 'md' },
|
|
46
|
+
{ label: 'Large', value: 'lg' },
|
|
47
|
+
{ label: 'Extra Large', value: 'xl' },
|
|
48
|
+
],
|
|
49
|
+
defaultValue: 'md',
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: 'justifyItems',
|
|
53
|
+
label: 'Inline Alignment',
|
|
54
|
+
type: 'select',
|
|
55
|
+
options: [
|
|
56
|
+
{ label: 'Stretch', value: 'stretch' },
|
|
57
|
+
{ label: 'Start', value: 'start' },
|
|
58
|
+
{ label: 'Center', value: 'center' },
|
|
59
|
+
{ label: 'End', value: 'end' },
|
|
60
|
+
],
|
|
61
|
+
defaultValue: 'stretch',
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: 'alignItems',
|
|
65
|
+
label: 'Block Alignment',
|
|
66
|
+
type: 'select',
|
|
67
|
+
options: [
|
|
68
|
+
{ label: 'Stretch', value: 'stretch' },
|
|
69
|
+
{ label: 'Start', value: 'start' },
|
|
70
|
+
{ label: 'Center', value: 'center' },
|
|
71
|
+
{ label: 'End', value: 'end' },
|
|
72
|
+
{ label: 'Baseline', value: 'baseline' },
|
|
73
|
+
],
|
|
74
|
+
defaultValue: 'stretch',
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
name: 'autoFlow',
|
|
78
|
+
label: 'Auto Placement',
|
|
79
|
+
type: 'select',
|
|
80
|
+
options: [
|
|
81
|
+
{ label: 'Row', value: 'row' },
|
|
82
|
+
{ label: 'Column', value: 'column' },
|
|
83
|
+
{ label: 'Row Dense', value: 'row-dense' },
|
|
84
|
+
{ label: 'Column Dense', value: 'column-dense' },
|
|
85
|
+
],
|
|
86
|
+
defaultValue: 'row',
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: 'frameCount',
|
|
90
|
+
label: 'Panels',
|
|
91
|
+
type: 'stepper',
|
|
92
|
+
defaultValue: 6,
|
|
93
|
+
min: 4,
|
|
94
|
+
max: 12,
|
|
95
|
+
step: 1,
|
|
96
|
+
},
|
|
97
|
+
];
|
|
98
|
+
|
|
99
|
+
export const previewLayout = 'start' as const;
|
|
100
|
+
export const resizable = true;
|
|
101
|
+
|
|
102
|
+
function getColumns(value: unknown): GridColumnsValue {
|
|
103
|
+
if (value === '1' || value === '2' || value === '4' || value === '5' || value === '6' || value === 'auto-fit' || value === 'auto-fill') return value;
|
|
104
|
+
return '3';
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
function toColumns(value: GridColumnsValue): number | 'auto-fit' | 'auto-fill' {
|
|
108
|
+
if (value === 'auto-fit' || value === 'auto-fill') return value;
|
|
109
|
+
return Number(value);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
function getApproxColumnCount(value: GridColumnsValue) {
|
|
113
|
+
if (value === 'auto-fit' || value === 'auto-fill') return 4;
|
|
114
|
+
return Number(value);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
function getGap(value: unknown): GridGap {
|
|
118
|
+
if (value === 'xs' || value === 'sm' || value === 'lg' || value === 'xl') return value;
|
|
119
|
+
return 'md';
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
function getJustifyItems(value: unknown): NonNullable<GridProps['justifyItems']> {
|
|
123
|
+
if (value === 'start' || value === 'center' || value === 'end') return value;
|
|
124
|
+
return 'stretch';
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
function getAlignItems(value: unknown): NonNullable<GridProps['alignItems']> {
|
|
128
|
+
if (value === 'start' || value === 'center' || value === 'end' || value === 'baseline') return value;
|
|
129
|
+
return 'stretch';
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
function getAutoFlow(value: unknown): NonNullable<GridProps['autoFlow']> {
|
|
133
|
+
if (value === 'column' || value === 'row-dense' || value === 'column-dense') return value;
|
|
134
|
+
return 'row';
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
function getFrameCount(value: unknown, min: number, max: number, fallback: number) {
|
|
138
|
+
const n = typeof value === 'number' ? value : Number(value);
|
|
139
|
+
if (Number.isNaN(n)) return fallback;
|
|
140
|
+
return Math.min(max, Math.max(min, Math.round(n)));
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
function span(trackCount: number, desired: number) {
|
|
144
|
+
return `span ${Math.max(1, Math.min(desired, trackCount))}`;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
function getSpecs(trackCount: number, frameCount: number) {
|
|
148
|
+
if (trackCount <= 2) {
|
|
149
|
+
const pattern = [{ minHeight: '5rem' }, { minHeight: '3rem' }, { minHeight: '4.5rem' }];
|
|
150
|
+
return [
|
|
151
|
+
{ minHeight: '3rem' },
|
|
152
|
+
{ minHeight: '8rem' },
|
|
153
|
+
...Array.from({ length: Math.max(frameCount - 2, 0) }, (_, i) => ({ minHeight: pattern[i % pattern.length].minHeight })),
|
|
154
|
+
].map(s => ({ style: { width: '100%', ...s } as React.CSSProperties }));
|
|
155
|
+
}
|
|
156
|
+
if (trackCount === 3) {
|
|
157
|
+
const pattern = [
|
|
158
|
+
{ width: '100%', minHeight: '6rem', gridColumn: 'span 2' },
|
|
159
|
+
{ width: '100%', minHeight: '3rem' },
|
|
160
|
+
{ width: '100%', minHeight: '4.5rem' },
|
|
161
|
+
];
|
|
162
|
+
return [
|
|
163
|
+
{ style: { width: '100%', minHeight: '9rem', gridColumn: 'span 1', gridRow: 'span 2' } as React.CSSProperties },
|
|
164
|
+
{ style: { width: '100%', minHeight: '5rem', gridColumn: 'span 2' } as React.CSSProperties },
|
|
165
|
+
{ style: { width: '100%', minHeight: '3rem' } as React.CSSProperties },
|
|
166
|
+
{ style: { width: '100%', minHeight: '3rem' } as React.CSSProperties },
|
|
167
|
+
...Array.from({ length: Math.max(frameCount - 4, 0) }, (_, i) => ({ style: pattern[i % pattern.length] as React.CSSProperties })),
|
|
168
|
+
];
|
|
169
|
+
}
|
|
170
|
+
const pattern = [
|
|
171
|
+
{ width: '100%', minHeight: '6.5rem', gridColumn: span(trackCount, 2) },
|
|
172
|
+
{ width: '100%', minHeight: '3rem' },
|
|
173
|
+
{ width: '100%', minHeight: '4rem' },
|
|
174
|
+
{ width: '100%', minHeight: '5rem', gridColumn: span(trackCount, 2) },
|
|
175
|
+
];
|
|
176
|
+
return [
|
|
177
|
+
{ style: { width: '100%', minHeight: '10rem', gridRow: 'span 2' } as React.CSSProperties },
|
|
178
|
+
{ style: { width: '100%', minHeight: '6rem', gridColumn: span(trackCount - 1, trackCount - 1) } as React.CSSProperties },
|
|
179
|
+
{ style: { width: '100%', minHeight: '3rem' } as React.CSSProperties },
|
|
180
|
+
{ style: { width: '100%', minHeight: '3rem' } as React.CSSProperties },
|
|
181
|
+
...Array.from({ length: Math.max(frameCount - 4, 0) }, (_, i) => ({ style: pattern[i % pattern.length] as React.CSSProperties })),
|
|
182
|
+
];
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export function renderPreview(props: Record<string, unknown>) {
|
|
186
|
+
const columns = getColumns(props.columns);
|
|
187
|
+
const frameCount = getFrameCount(props.frameCount, 4, 12, 6);
|
|
188
|
+
const specs = getSpecs(getApproxColumnCount(columns), frameCount);
|
|
189
|
+
|
|
190
|
+
return (
|
|
191
|
+
<Grid
|
|
192
|
+
columns={toColumns(columns)}
|
|
193
|
+
gap={getGap(props.gap)}
|
|
194
|
+
justifyItems={getJustifyItems(props.justifyItems)}
|
|
195
|
+
alignItems={getAlignItems(props.alignItems)}
|
|
196
|
+
autoFlow={getAutoFlow(props.autoFlow)}
|
|
197
|
+
className="w-full"
|
|
198
|
+
>
|
|
199
|
+
{specs.map((spec, index) => (
|
|
200
|
+
<Frame key={index} pathStroke="dashed" style={{ ...BASE_CELL_STYLE, ...spec.style }} className="w-full h-full">
|
|
201
|
+
<div className="size-full" />
|
|
202
|
+
</Frame>
|
|
203
|
+
))}
|
|
204
|
+
</Grid>
|
|
205
|
+
);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export default function Example() {
|
|
209
|
+
return renderPreview({ columns: '3', gap: 'md', justifyItems: 'stretch', alignItems: 'stretch', autoFlow: 'row', frameCount: 6 });
|
|
210
|
+
}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import React from 'react'
|
|
4
|
+
import { Grid, Frame } from 'ui-lab-components'
|
|
5
|
+
import type { GridProps } from 'ui-lab-components'
|
|
6
|
+
import type { ControlDef } from '@/types'
|
|
7
|
+
|
|
8
|
+
type GridColumnsValue = '1' | '2' | '3' | '4' | '5' | '6' | 'auto-fit' | 'auto-fill';
|
|
9
|
+
type GridGap = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
10
|
+
|
|
11
|
+
const BASE_CELL_STYLE = {
|
|
12
|
+
'--frame-fill': 'var(--background-900)',
|
|
13
|
+
'--frame-stroke-color': 'var(--background-600)',
|
|
14
|
+
} as React.CSSProperties;
|
|
15
|
+
|
|
16
|
+
export const metadata = {
|
|
17
|
+
title: 'Editorial Spans',
|
|
18
|
+
description: 'Dense auto-flow grid with mixed column spans for editorial content layouts.',
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export const controls: ControlDef[] = [
|
|
22
|
+
{
|
|
23
|
+
name: 'columns',
|
|
24
|
+
label: 'Columns',
|
|
25
|
+
type: 'select',
|
|
26
|
+
options: [
|
|
27
|
+
{ label: '1 Column', value: '1' },
|
|
28
|
+
{ label: '2 Columns', value: '2' },
|
|
29
|
+
{ label: '3 Columns', value: '3' },
|
|
30
|
+
{ label: '4 Columns', value: '4' },
|
|
31
|
+
{ label: '5 Columns', value: '5' },
|
|
32
|
+
{ label: '6 Columns', value: '6' },
|
|
33
|
+
{ label: 'Auto Fit', value: 'auto-fit' },
|
|
34
|
+
{ label: 'Auto Fill', value: 'auto-fill' },
|
|
35
|
+
],
|
|
36
|
+
defaultValue: '4',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: 'gap',
|
|
40
|
+
label: 'Gap Token',
|
|
41
|
+
type: 'select',
|
|
42
|
+
options: [
|
|
43
|
+
{ label: 'Extra Small', value: 'xs' },
|
|
44
|
+
{ label: 'Small', value: 'sm' },
|
|
45
|
+
{ label: 'Medium', value: 'md' },
|
|
46
|
+
{ label: 'Large', value: 'lg' },
|
|
47
|
+
{ label: 'Extra Large', value: 'xl' },
|
|
48
|
+
],
|
|
49
|
+
defaultValue: 'md',
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: 'justifyItems',
|
|
53
|
+
label: 'Inline Alignment',
|
|
54
|
+
type: 'select',
|
|
55
|
+
options: [
|
|
56
|
+
{ label: 'Stretch', value: 'stretch' },
|
|
57
|
+
{ label: 'Start', value: 'start' },
|
|
58
|
+
{ label: 'Center', value: 'center' },
|
|
59
|
+
{ label: 'End', value: 'end' },
|
|
60
|
+
],
|
|
61
|
+
defaultValue: 'stretch',
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: 'alignItems',
|
|
65
|
+
label: 'Block Alignment',
|
|
66
|
+
type: 'select',
|
|
67
|
+
options: [
|
|
68
|
+
{ label: 'Stretch', value: 'stretch' },
|
|
69
|
+
{ label: 'Start', value: 'start' },
|
|
70
|
+
{ label: 'Center', value: 'center' },
|
|
71
|
+
{ label: 'End', value: 'end' },
|
|
72
|
+
{ label: 'Baseline', value: 'baseline' },
|
|
73
|
+
],
|
|
74
|
+
defaultValue: 'stretch',
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
name: 'autoFlow',
|
|
78
|
+
label: 'Auto Placement',
|
|
79
|
+
type: 'select',
|
|
80
|
+
options: [
|
|
81
|
+
{ label: 'Row', value: 'row' },
|
|
82
|
+
{ label: 'Column', value: 'column' },
|
|
83
|
+
{ label: 'Row Dense', value: 'row-dense' },
|
|
84
|
+
{ label: 'Column Dense', value: 'column-dense' },
|
|
85
|
+
],
|
|
86
|
+
defaultValue: 'row-dense',
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
name: 'frameCount',
|
|
90
|
+
label: 'Panels',
|
|
91
|
+
type: 'stepper',
|
|
92
|
+
defaultValue: 7,
|
|
93
|
+
min: 5,
|
|
94
|
+
max: 12,
|
|
95
|
+
step: 1,
|
|
96
|
+
},
|
|
97
|
+
];
|
|
98
|
+
|
|
99
|
+
export const previewLayout = 'start' as const;
|
|
100
|
+
export const resizable = true;
|
|
101
|
+
|
|
102
|
+
function getColumns(value: unknown): GridColumnsValue {
|
|
103
|
+
if (value === '1' || value === '2' || value === '4' || value === '5' || value === '6' || value === 'auto-fit' || value === 'auto-fill') return value;
|
|
104
|
+
return '3';
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
function toColumns(value: GridColumnsValue): number | 'auto-fit' | 'auto-fill' {
|
|
108
|
+
if (value === 'auto-fit' || value === 'auto-fill') return value;
|
|
109
|
+
return Number(value);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
function getApproxColumnCount(value: GridColumnsValue) {
|
|
113
|
+
if (value === 'auto-fit' || value === 'auto-fill') return 4;
|
|
114
|
+
return Number(value);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
function getGap(value: unknown): GridGap {
|
|
118
|
+
if (value === 'xs' || value === 'sm' || value === 'lg' || value === 'xl') return value;
|
|
119
|
+
return 'md';
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
function getJustifyItems(value: unknown): NonNullable<GridProps['justifyItems']> {
|
|
123
|
+
if (value === 'start' || value === 'center' || value === 'end') return value;
|
|
124
|
+
return 'stretch';
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
function getAlignItems(value: unknown): NonNullable<GridProps['alignItems']> {
|
|
128
|
+
if (value === 'start' || value === 'center' || value === 'end' || value === 'baseline') return value;
|
|
129
|
+
return 'stretch';
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
function getAutoFlow(value: unknown): NonNullable<GridProps['autoFlow']> {
|
|
133
|
+
if (value === 'column' || value === 'row-dense' || value === 'column-dense') return value;
|
|
134
|
+
return 'row';
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
function getFrameCount(value: unknown, min: number, max: number, fallback: number) {
|
|
138
|
+
const n = typeof value === 'number' ? value : Number(value);
|
|
139
|
+
if (Number.isNaN(n)) return fallback;
|
|
140
|
+
return Math.min(max, Math.max(min, Math.round(n)));
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
function span(trackCount: number, desired: number) {
|
|
144
|
+
return `span ${Math.max(1, Math.min(desired, trackCount))}`;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
function getSpecs(trackCount: number, frameCount: number) {
|
|
148
|
+
if (trackCount <= 2) {
|
|
149
|
+
const pattern = [{ minHeight: '4rem' }, { minHeight: '5.5rem' }, { minHeight: '3rem' }];
|
|
150
|
+
return [
|
|
151
|
+
{ style: { width: '100%', minHeight: '8rem' } as React.CSSProperties },
|
|
152
|
+
...Array.from({ length: Math.max(frameCount - 1, 0) }, (_, i) => ({ style: { width: '100%', ...pattern[i % pattern.length] } as React.CSSProperties })),
|
|
153
|
+
];
|
|
154
|
+
}
|
|
155
|
+
const pattern = [
|
|
156
|
+
{ width: '100%', minHeight: '3rem' },
|
|
157
|
+
{ width: '100%', minHeight: '6.5rem', gridColumn: span(trackCount, 2) },
|
|
158
|
+
{ width: '100%', minHeight: '4rem' },
|
|
159
|
+
{ width: '100%', minHeight: '3rem' },
|
|
160
|
+
];
|
|
161
|
+
return [
|
|
162
|
+
{ style: { width: '100%', minHeight: '8rem', gridColumn: span(trackCount, Math.max(trackCount - 1, 2)) } as React.CSSProperties },
|
|
163
|
+
{ style: { width: '100%', minHeight: '8rem' } as React.CSSProperties },
|
|
164
|
+
{ style: { width: '100%', minHeight: '3rem' } as React.CSSProperties },
|
|
165
|
+
{ style: { width: '100%', minHeight: '5rem', gridColumn: span(trackCount, 2) } as React.CSSProperties },
|
|
166
|
+
{ style: { width: '100%', minHeight: '5rem' } as React.CSSProperties },
|
|
167
|
+
...Array.from({ length: Math.max(frameCount - 5, 0) }, (_, i) => ({ style: pattern[i % pattern.length] as React.CSSProperties })),
|
|
168
|
+
];
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export function renderPreview(props: Record<string, unknown>) {
|
|
172
|
+
const columns = getColumns(props.columns);
|
|
173
|
+
const frameCount = getFrameCount(props.frameCount, 5, 12, 7);
|
|
174
|
+
const specs = getSpecs(getApproxColumnCount(columns), frameCount);
|
|
175
|
+
|
|
176
|
+
return (
|
|
177
|
+
<Grid
|
|
178
|
+
columns={toColumns(columns)}
|
|
179
|
+
gap={getGap(props.gap)}
|
|
180
|
+
justifyItems={getJustifyItems(props.justifyItems)}
|
|
181
|
+
alignItems={getAlignItems(props.alignItems)}
|
|
182
|
+
autoFlow={getAutoFlow(props.autoFlow)}
|
|
183
|
+
className="w-full"
|
|
184
|
+
>
|
|
185
|
+
{specs.map((spec, index) => (
|
|
186
|
+
<Frame key={index} pathStroke="dashed" style={{ ...BASE_CELL_STYLE, ...spec.style }} className="w-full h-full">
|
|
187
|
+
<div className="size-full" />
|
|
188
|
+
</Frame>
|
|
189
|
+
))}
|
|
190
|
+
</Grid>
|
|
191
|
+
);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export default function Example() {
|
|
195
|
+
return renderPreview({ columns: '4', gap: 'md', justifyItems: 'stretch', alignItems: 'stretch', autoFlow: 'row-dense', frameCount: 7 });
|
|
196
|
+
}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import React from 'react'
|
|
4
|
+
import { Grid, Frame } from 'ui-lab-components'
|
|
5
|
+
import type { ControlDef } from '@/types'
|
|
6
|
+
|
|
7
|
+
type GridColumnsValue = '2' | '3' | '4' | 'auto-fit' | 'auto-fill';
|
|
8
|
+
type GridGap = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
9
|
+
|
|
10
|
+
const BASE_CELL_STYLE = {
|
|
11
|
+
'--frame-fill': 'var(--background-900)',
|
|
12
|
+
'--frame-stroke-color': 'var(--background-600)',
|
|
13
|
+
} as React.CSSProperties;
|
|
14
|
+
|
|
15
|
+
export const metadata = {
|
|
16
|
+
title: 'Responsive Card Rail',
|
|
17
|
+
description: 'Grid that adapts column count and gap based on container width using responsive prop objects.',
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export const controls: ControlDef[] = [
|
|
21
|
+
{
|
|
22
|
+
name: 'columns',
|
|
23
|
+
label: 'Columns',
|
|
24
|
+
type: 'select',
|
|
25
|
+
options: [
|
|
26
|
+
{ label: '2 Columns', value: '2' },
|
|
27
|
+
{ label: '3 Columns', value: '3' },
|
|
28
|
+
{ label: '4 Columns', value: '4' },
|
|
29
|
+
{ label: 'Auto Fit', value: 'auto-fit' },
|
|
30
|
+
{ label: 'Auto Fill', value: 'auto-fill' },
|
|
31
|
+
],
|
|
32
|
+
defaultValue: '4',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: 'gap',
|
|
36
|
+
label: 'Base Gap Token',
|
|
37
|
+
type: 'select',
|
|
38
|
+
options: [
|
|
39
|
+
{ label: 'Small', value: 'sm' },
|
|
40
|
+
{ label: 'Medium', value: 'md' },
|
|
41
|
+
{ label: 'Large', value: 'lg' },
|
|
42
|
+
{ label: 'Extra Large', value: 'xl' },
|
|
43
|
+
],
|
|
44
|
+
defaultValue: 'md',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'rowGap',
|
|
48
|
+
label: 'Row Gap',
|
|
49
|
+
type: 'select',
|
|
50
|
+
options: [
|
|
51
|
+
{ label: 'Match Gap', value: 'inherit' },
|
|
52
|
+
{ label: 'Small', value: 'sm' },
|
|
53
|
+
{ label: 'Medium', value: 'md' },
|
|
54
|
+
{ label: 'Large', value: 'lg' },
|
|
55
|
+
],
|
|
56
|
+
defaultValue: 'inherit',
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
name: 'columnGap',
|
|
60
|
+
label: 'Column Gap',
|
|
61
|
+
type: 'select',
|
|
62
|
+
options: [
|
|
63
|
+
{ label: 'Match Gap', value: 'inherit' },
|
|
64
|
+
{ label: 'Small', value: 'sm' },
|
|
65
|
+
{ label: 'Medium', value: 'md' },
|
|
66
|
+
{ label: 'Large', value: 'lg' },
|
|
67
|
+
],
|
|
68
|
+
defaultValue: 'inherit',
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
name: 'frameCount',
|
|
72
|
+
label: 'Cards',
|
|
73
|
+
type: 'stepper',
|
|
74
|
+
defaultValue: 6,
|
|
75
|
+
min: 4,
|
|
76
|
+
max: 10,
|
|
77
|
+
step: 1,
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
name: 'responsive',
|
|
81
|
+
label: 'Enable Responsive Object',
|
|
82
|
+
type: 'toggle',
|
|
83
|
+
defaultValue: true,
|
|
84
|
+
},
|
|
85
|
+
];
|
|
86
|
+
|
|
87
|
+
export const previewLayout = 'start' as const;
|
|
88
|
+
export const resizable = true;
|
|
89
|
+
|
|
90
|
+
function getColumns(value: unknown): GridColumnsValue {
|
|
91
|
+
if (value === '2' || value === '3' || value === 'auto-fit' || value === 'auto-fill') return value;
|
|
92
|
+
return '4';
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
function toColumns(value: GridColumnsValue): number | 'auto-fit' | 'auto-fill' {
|
|
96
|
+
if (value === 'auto-fit' || value === 'auto-fill') return value;
|
|
97
|
+
return Number(value);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
function getGap(value: unknown): GridGap {
|
|
101
|
+
if (value === 'xs' || value === 'sm' || value === 'lg' || value === 'xl') return value;
|
|
102
|
+
return 'md';
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
function getOptionalGap(value: unknown): GridGap | undefined {
|
|
106
|
+
if (value === 'inherit' || value == null) return undefined;
|
|
107
|
+
return getGap(value);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
function getFrameCount(value: unknown, min: number, max: number, fallback: number) {
|
|
111
|
+
const n = typeof value === 'number' ? value : Number(value);
|
|
112
|
+
if (Number.isNaN(n)) return fallback;
|
|
113
|
+
return Math.min(max, Math.max(min, Math.round(n)));
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
const SPEC_PATTERN = [
|
|
117
|
+
{ minHeight: '9rem' },
|
|
118
|
+
{ minHeight: '4rem' },
|
|
119
|
+
{ minHeight: '3rem' },
|
|
120
|
+
{ minHeight: '5rem' },
|
|
121
|
+
{ minHeight: '3.5rem' },
|
|
122
|
+
{ minHeight: '6rem' },
|
|
123
|
+
];
|
|
124
|
+
|
|
125
|
+
export function renderPreview(props: Record<string, unknown>) {
|
|
126
|
+
const columns = getColumns(props.columns);
|
|
127
|
+
const baseColumns = toColumns(columns);
|
|
128
|
+
const gap = getGap(props.gap);
|
|
129
|
+
const responsive = Boolean(props.responsive);
|
|
130
|
+
const frameCount = getFrameCount(props.frameCount, 4, 10, 6);
|
|
131
|
+
const specs = Array.from({ length: frameCount }, (_, i) => SPEC_PATTERN[i % SPEC_PATTERN.length]);
|
|
132
|
+
|
|
133
|
+
return (
|
|
134
|
+
<Grid
|
|
135
|
+
columns={responsive ? { sm: 1, md: 2, lg: baseColumns } : baseColumns}
|
|
136
|
+
gap={responsive ? { sm: 'sm', md: gap, lg: gap } : gap}
|
|
137
|
+
rowGap={getOptionalGap(props.rowGap)}
|
|
138
|
+
columnGap={getOptionalGap(props.columnGap)}
|
|
139
|
+
responsive={responsive}
|
|
140
|
+
className="w-full"
|
|
141
|
+
>
|
|
142
|
+
{specs.map((spec, index) => (
|
|
143
|
+
<Frame key={index} pathStroke="dashed" style={{ ...BASE_CELL_STYLE, width: '100%', minHeight: spec.minHeight } as React.CSSProperties} className="w-full h-full">
|
|
144
|
+
<div className="size-full" />
|
|
145
|
+
</Frame>
|
|
146
|
+
))}
|
|
147
|
+
</Grid>
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export default function Example() {
|
|
152
|
+
return renderPreview({ columns: '4', gap: 'md', rowGap: 'inherit', columnGap: 'inherit', frameCount: 6, responsive: true });
|
|
153
|
+
}
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
export { default as
|
|
2
|
-
export { metadata as
|
|
1
|
+
export { default as Example2 } from './02-track-placement.js';
|
|
2
|
+
export { metadata as metadata2 } from './02-track-placement.js';
|
|
3
|
+
export { default as Example3 } from './03-editorial-spans.js';
|
|
4
|
+
export { metadata as metadata3 } from './03-editorial-spans.js';
|
|
5
|
+
export { default as Example4 } from './04-responsive-card-rail.js';
|
|
6
|
+
export { metadata as metadata4 } from './04-responsive-card-rail.js';
|