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,14 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Color } from 'ui-lab-components';
|
|
3
|
-
import Example1, { metadata as metadata1 } from './examples/01-basic-color.js';
|
|
4
|
-
import Example2, { metadata as metadata2 } from './examples/02-opacity-slider.js';
|
|
5
|
-
import examplesJson from './examples.json' with { type: 'json' };
|
|
6
|
-
import { loadComponentExamples } from '../../utils/load-component-examples.js';
|
|
7
3
|
// Define examplesData locally
|
|
8
|
-
const examplesData = [
|
|
9
|
-
{ id: '01-basic-color', Component: Example1, metadata: metadata1 },
|
|
10
|
-
{ id: '02-opacity-slider', Component: Example2, metadata: metadata2 },
|
|
11
|
-
];
|
|
12
4
|
const colorControls = [
|
|
13
5
|
{
|
|
14
6
|
name: 'size',
|
|
@@ -66,10 +58,8 @@ export const colorDetail = {
|
|
|
66
58
|
preview: _jsx(Color, { defaultValue: "#FF6B6B" }),
|
|
67
59
|
controls: colorControls,
|
|
68
60
|
renderPreview: (props) => (_jsx(Color, { defaultValue: "#FF6B6B", size: props.size, showOpacity: props.showOpacity, format: props.format, disabled: props.disabled })),
|
|
69
|
-
}
|
|
70
|
-
...loadComponentExamples(examplesData, examplesJson),
|
|
61
|
+
}
|
|
71
62
|
],
|
|
72
63
|
};
|
|
73
64
|
export { colorControls };
|
|
74
|
-
export * from './examples/index.js';
|
|
75
65
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Color/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":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C/C,8EAA2D,EAC3D,sEAAmD,IAChD,EACL,sMAEI,IACA,CACP;IACD,QAAQ,EAAE;QACR;YACE,EAAE,EAAE,SAAS;YACb,KAAK,EAAE,SAAS;YAChB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,cAAc;YACpB,OAAO,EAAE,KAAC,KAAK,IAAC,YAAY,EAAC,SAAS,GAAG;YACzC,QAAQ,EAAE,aAAa;YACvB,aAAa,EAAE,CAAC,KAAU,EAAE,EAAE,CAAC,CAC7B,KAAC,KAAK,IACJ,YAAY,EAAC,SAAS,EACtB,IAAI,EAAE,KAAK,CAAC,IAA0B,EACtC,WAAW,EAAE,KAAK,CAAC,WAAW,EAC9B,MAAM,EAAE,KAAK,CAAC,MAAuB,EACrC,QAAQ,EAAE,KAAK,CAAC,QAAQ,GACxB,CACH;SACF;KACF;CACF,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Command/examples/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Command/examples/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Command/examples/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Command/examples/index.ts"],"names":[],"mappings":"AAAA,2EAA2E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Command/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Command/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAGtD,QAAA,MAAM,eAAe,EAAE,UAAU,EAOhC,CAAC;AAwJF,eAAO,MAAM,aAAa,EAAE,eAkC3B,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import { Command, Button } from 'ui-lab-components';
|
|
4
|
-
import Example1, { metadata as metadata1 } from './examples/01-basic-command.js';
|
|
5
|
-
import examplesJson from './examples.json' with { type: 'json' };
|
|
6
|
-
import { loadComponentExamples } from '../../utils/load-component-examples.js';
|
|
7
|
-
const examplesData = [
|
|
8
|
-
{ id: '01-basic-command', Component: Example1, metadata: metadata1 },
|
|
9
|
-
];
|
|
10
4
|
const commandControls = [
|
|
11
5
|
{
|
|
12
6
|
name: 'open',
|
|
@@ -126,8 +120,7 @@ export const commandDetail = {
|
|
|
126
120
|
preview: _jsx(CommandPreview, {}),
|
|
127
121
|
controls: commandControls,
|
|
128
122
|
renderPreview: CommandRenderPreview,
|
|
129
|
-
}
|
|
130
|
-
...loadComponentExamples(examplesData, examplesJson),
|
|
123
|
+
}
|
|
131
124
|
],
|
|
132
125
|
variants: [
|
|
133
126
|
{
|
|
@@ -140,5 +133,4 @@ export const commandDetail = {
|
|
|
140
133
|
],
|
|
141
134
|
};
|
|
142
135
|
export { commandControls };
|
|
143
|
-
export * from './examples/index.js';
|
|
144
136
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Command/index.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,EAA+B,MAAM,mBAAmB,CAAC;
|
|
1
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QAAQ,EAAE;QACR;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,0CAA0C;YACvD,IAAI,EAAE,gBAAgB;YACtB,OAAO,EAAE,KAAC,cAAc,KAAG;SAC5B;KACF;CACF,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Confirm/examples/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Confirm/examples/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Confirm/examples/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Confirm/examples/index.ts"],"names":[],"mappings":"AAAA,2EAA2E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Confirm/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Confirm/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAItD,QAAA,MAAM,eAAe,EAAE,UAAU,EAmBhC,CAAC;AAkBF,eAAO,MAAM,aAAa,EAAE,eAgE3B,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Confirm } from 'ui-lab-components';
|
|
3
|
-
import Example1, { metadata as metadata1 } from './examples/01-basic-confirm.js';
|
|
4
|
-
import examplesJson from './examples.json' with { type: 'json' };
|
|
5
|
-
import { loadComponentExamples } from '../../utils/load-component-examples.js';
|
|
6
|
-
const examplesData = [
|
|
7
|
-
{ id: '01-basic-confirm', Component: Example1, metadata: metadata1 },
|
|
8
|
-
];
|
|
9
3
|
const confirmControls = [
|
|
10
4
|
{
|
|
11
5
|
name: 'triggerLabel',
|
|
@@ -55,8 +49,7 @@ export const confirmDetail = {
|
|
|
55
49
|
preview: (_jsx(Confirm, { triggerLabel: "Delete", title: "Are you sure?", description: "This action cannot be undone.", confirmLabel: "Delete", cancelLabel: "Cancel", onConfirm: () => console.log('Confirmed'), onCancel: () => console.log('Cancelled') })),
|
|
56
50
|
controls: confirmControls,
|
|
57
51
|
renderPreview: (props) => (_jsx(Confirm, { triggerLabel: props.triggerLabel, title: props.title, description: props.description, confirmLabel: "Delete", cancelLabel: "Cancel", onConfirm: () => console.log('Confirmed'), onCancel: () => console.log('Cancelled') })),
|
|
58
|
-
}
|
|
59
|
-
...loadComponentExamples(examplesData, examplesJson),
|
|
52
|
+
}
|
|
60
53
|
],
|
|
61
54
|
variants: [
|
|
62
55
|
{
|
|
@@ -69,5 +62,4 @@ export const confirmDetail = {
|
|
|
69
62
|
],
|
|
70
63
|
};
|
|
71
64
|
export { confirmControls };
|
|
72
|
-
export * from './examples/index.js';
|
|
73
65
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Confirm/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Confirm/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAK5C,MAAM,eAAe,GAAiB;IACpC;QACE,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,eAA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,SAAS,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,EACzC,QAAQ,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,GACxC,CACH;SACF;KACF;IACD,QAAQ,EAAE;QACR;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,+CAA+C;YAC5D,IAAI,EAAE,gBAAgB;YACtB,OAAO,EAAE,CACP,KAAC,OAAO,IACN,YAAY,EAAC,gBAAgB,EAC7B,KAAK,EAAC,eAAe,EACrB,WAAW,EAAC,+BAA+B,EAC3C,YAAY,EAAC,QAAQ,EACrB,WAAW,EAAC,QAAQ,EACpB,SAAS,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,EACzC,QAAQ,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,GACxC,CACH;SACF;KACF;CACF,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
export { default as Example1 } from './01-basic-date.js';
|
|
2
|
-
export { metadata as metadata1 } from './01-basic-date.js';
|
|
3
|
-
export { default as Example2 } from './02-with-disabled-dates.js';
|
|
4
|
-
export { metadata as metadata2 } from './02-with-disabled-dates.js';
|
|
5
|
-
export { default as Example3 } from './03-controlled-mode.js';
|
|
6
|
-
export { metadata as metadata3 } from './03-controlled-mode.js';
|
|
7
|
-
export { default as Example4 } from './04-date-range.js';
|
|
8
|
-
export { metadata as metadata4 } from './04-date-range.js';
|
|
9
1
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Date/examples/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Date/examples/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export { metadata as metadata1 } from './01-basic-date.js';
|
|
3
|
-
export { default as Example2 } from './02-with-disabled-dates.js';
|
|
4
|
-
export { metadata as metadata2 } from './02-with-disabled-dates.js';
|
|
5
|
-
export { default as Example3 } from './03-controlled-mode.js';
|
|
6
|
-
export { metadata as metadata3 } from './03-controlled-mode.js';
|
|
7
|
-
export { default as Example4 } from './04-date-range.js';
|
|
8
|
-
export { metadata as metadata4 } from './04-date-range.js';
|
|
1
|
+
// Date examples are served from @ui-lab-core/library (private registry)
|
|
9
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Date/examples/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Date/examples/index.ts"],"names":[],"mappings":"AAAA,wEAAwE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Date/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAc,eAAe,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Date/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAc,eAAe,EAAE,MAAM,SAAS,CAAA;AAYrD,eAAO,MAAM,UAAU,EAAE,eA2BxB,CAAA"}
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Date } from 'ui-lab-components';
|
|
3
|
-
import Example1, { metadata as metadata1 } from './examples/01-basic-date.js';
|
|
4
|
-
import Example2, { metadata as metadata2 } from './examples/02-with-disabled-dates.js';
|
|
5
|
-
import examplesJson from './examples.json' with { type: 'json' };
|
|
6
|
-
import { loadComponentExamples } from '../../utils/load-component-examples.js';
|
|
7
|
-
const examplesData = [
|
|
8
|
-
{ id: '01-basic-date', Component: Example1, metadata: metadata1 },
|
|
9
|
-
{ id: '02-with-disabled-dates', Component: Example2, metadata: metadata2 },
|
|
10
|
-
];
|
|
11
3
|
const dateControls = [];
|
|
12
4
|
const dateBasicCode = `import React from 'react'
|
|
13
5
|
import { Date } from "ui-lab-components"
|
|
@@ -30,8 +22,7 @@ export const dateDetail = {
|
|
|
30
22
|
preview: _jsx(Date, {}),
|
|
31
23
|
controls: dateControls,
|
|
32
24
|
renderPreview: (props) => (_jsx(Date, {})),
|
|
33
|
-
}
|
|
34
|
-
...loadComponentExamples(examplesData, examplesJson),
|
|
25
|
+
}
|
|
35
26
|
],
|
|
36
27
|
};
|
|
37
28
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Date/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Date/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AAGxC,MAAM,YAAY,GAAiB,EAAE,CAAA;AAErC,MAAM,aAAa,GAAG;;;;;;EAMpB,CAAA;AAEF,MAAM,CAAC,MAAM,UAAU,GAAoB;IACzC,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,yGAAyG;IACtH,QAAQ,EAAE,CACR,eAAK,SAAS,EAAC,+BAA+B,aAC5C,kNAEI,EACJ,mMAEI,IACA,CACP;IACD,QAAQ,EAAE;QACR;YACE,EAAE,EAAE,SAAS;YACb,KAAK,EAAE,SAAS;YAChB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,aAAa;YACnB,OAAO,EAAE,KAAC,IAAI,KAAG;YACjB,QAAQ,EAAE,YAAY;YACtB,aAAa,EAAE,CAAC,KAAU,EAAE,EAAE,CAAC,CAC7B,KAAC,IAAI,KAAG,CACT;SACF;KACF;CACF,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Divider/examples/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Divider/examples/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Divider/examples/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Divider/examples/index.ts"],"names":[],"mappings":"AAAA,2EAA2E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Divider/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Divider/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAEtD,QAAA,MAAM,eAAe,EAAE,UAAU,EAsBhC,CAAC;AAQF,eAAO,MAAM,aAAa,EAAE,eAqD3B,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Divider } from "ui-lab-components";
|
|
3
|
-
import Example1, { metadata as metadata1, } from "./examples/01-basic-divider.js";
|
|
4
|
-
import Example2, { metadata as metadata2, } from "./examples/02-pattern-variants.js";
|
|
5
|
-
import Example3, { metadata as metadata3, } from "./examples/03-vertical-divider.js";
|
|
6
|
-
import examplesJson from "./examples.json";
|
|
7
|
-
import { loadComponentExamples } from "../../utils/load-component-examples.js";
|
|
8
|
-
// Define examplesData locally
|
|
9
|
-
const examplesData = [
|
|
10
|
-
{ id: "01-basic-divider", Component: Example1, metadata: metadata1 },
|
|
11
|
-
{ id: "02-pattern-variants", Component: Example2, metadata: metadata2 },
|
|
12
|
-
{ id: "03-vertical-divider", Component: Example3, metadata: metadata3 },
|
|
13
|
-
];
|
|
14
3
|
const dividerControls = [
|
|
15
4
|
{
|
|
16
5
|
name: "variant",
|
|
@@ -53,8 +42,7 @@ export const dividerDetail = {
|
|
|
53
42
|
preview: _jsx(Divider, {}),
|
|
54
43
|
controls: dividerControls,
|
|
55
44
|
renderPreview: (props) => (_jsx(Divider, { variant: props.variant, orientation: props.orientation })),
|
|
56
|
-
}
|
|
57
|
-
...loadComponentExamples(examplesData, examplesJson),
|
|
45
|
+
}
|
|
58
46
|
],
|
|
59
47
|
variants: [
|
|
60
48
|
{
|
|
@@ -74,5 +62,4 @@ export const dividerDetail = {
|
|
|
74
62
|
],
|
|
75
63
|
};
|
|
76
64
|
export { dividerControls };
|
|
77
|
-
export * from "./examples/index.js";
|
|
78
65
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Divider/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Divider/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAG5C,MAAM,eAAe,GAAiB;IACpC;QACE,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE;YACP,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;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AChB,WAAW,EAAE,yDAAyD;YACtE,IAAI,EAAE,oCAAoC;YAC1C,OAAO,EAAE,CACP,eAAK,SAAS,EAAC,iBAAiB,aAC9B,cAAK,SAAS,EAAC,mBAAmB,qBAAW,EAC7C,KAAC,OAAO,IAAC,WAAW,EAAC,UAAU,EAAC,OAAO,EAAC,MAAM,GAAG,EACjD,cAAK,SAAS,EAAC,mBAAmB,sBAAY,IAC1C,CACP;SACF;KACF;CACF,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Expand/examples/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Expand/examples/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Expand/examples/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Expand/examples/index.ts"],"names":[],"mappings":"AAAA,0EAA0E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Expand/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Expand/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAEtD,QAAA,MAAM,cAAc,EAAE,UAAU,EAO/B,CAAC;AAcF,eAAO,MAAM,YAAY,EAAE,eA+D1B,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Expand } from 'ui-lab-components';
|
|
3
|
-
import Example1, { metadata as metadata1 } from './examples/01-basic-expand.js';
|
|
4
|
-
import examplesJson from './examples.json' with { type: 'json' };
|
|
5
|
-
import { loadComponentExamples } from '../../utils/load-component-examples.js';
|
|
6
|
-
// Define examplesData locally
|
|
7
|
-
const examplesData = [
|
|
8
|
-
{ id: '01-basic-expand', Component: Example1, metadata: metadata1 },
|
|
9
|
-
];
|
|
10
3
|
const expandControls = [
|
|
11
4
|
{
|
|
12
5
|
name: 'expanded',
|
|
@@ -41,7 +34,6 @@ export const expandDetail = {
|
|
|
41
34
|
controls: expandControls,
|
|
42
35
|
renderPreview: (props) => (_jsx(Expand, { title: "What is an Expand component?", defaultExpanded: props.expanded, children: _jsx("p", { className: "text-foreground-300", children: "An Expand component is a disclosure widget that expands and collapses content. It's built with React Aria for full accessibility support." }) })),
|
|
43
36
|
},
|
|
44
|
-
...loadComponentExamples(examplesData, examplesJson),
|
|
45
37
|
],
|
|
46
38
|
variants: [
|
|
47
39
|
{
|
|
@@ -63,5 +55,4 @@ export const expandDetail = {
|
|
|
63
55
|
],
|
|
64
56
|
};
|
|
65
57
|
export { expandControls };
|
|
66
|
-
export * from './examples/index.js';
|
|
67
58
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Expand/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Expand/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAG3C,MAAM,cAAc,GAAiB;IACnC;QACE,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE,kBAAkB;QACzB,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,KAAK;KACpB;CACF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0 +1,11 @@
|
|
|
1
|
+
import type { ControlDef } from '@/types';
|
|
2
|
+
export declare const metadata: {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const controls: ControlDef[];
|
|
7
|
+
export declare const previewLayout: "start";
|
|
8
|
+
export declare const resizable = true;
|
|
9
|
+
export declare function renderPreview(props: Record<string, unknown>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default function Example(): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=01-axis-control.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"01-axis-control.d.ts","sourceRoot":"","sources":["../../../../src/components/Flex/examples/01-axis-control.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAazC,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,UAAU,EAsEhC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAG,OAAgB,CAAC;AAC9C,eAAO,MAAM,SAAS,OAAO,CAAC;AA0D9B,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,2CAwC3D;AAED,MAAM,CAAC,OAAO,UAAU,OAAO,4CAE9B"}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { Flex, Frame } from 'ui-lab-components';
|
|
4
|
+
const BASE_CELL_STYLE = {
|
|
5
|
+
'--frame-fill': 'var(--background-900)',
|
|
6
|
+
'--frame-stroke-color': 'var(--background-600)',
|
|
7
|
+
};
|
|
8
|
+
export const metadata = {
|
|
9
|
+
title: 'Axis Control',
|
|
10
|
+
description: 'Interactive demo of Flex direction, justify, align, gap, and wrap across row and column layouts.',
|
|
11
|
+
};
|
|
12
|
+
export const controls = [
|
|
13
|
+
{
|
|
14
|
+
name: 'direction',
|
|
15
|
+
label: 'Main Axis',
|
|
16
|
+
type: 'select',
|
|
17
|
+
options: [
|
|
18
|
+
{ label: 'Row', value: 'row' },
|
|
19
|
+
{ label: 'Column', value: 'column' },
|
|
20
|
+
],
|
|
21
|
+
defaultValue: 'row',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: 'justify',
|
|
25
|
+
label: 'Main-Axis Distribution',
|
|
26
|
+
type: 'select',
|
|
27
|
+
options: [
|
|
28
|
+
{ label: 'Start', value: 'start' },
|
|
29
|
+
{ label: 'Center', value: 'center' },
|
|
30
|
+
{ label: 'End', value: 'end' },
|
|
31
|
+
{ label: 'Space Between', value: 'between' },
|
|
32
|
+
{ label: 'Space Around', value: 'around' },
|
|
33
|
+
{ label: 'Space Evenly', value: 'evenly' },
|
|
34
|
+
],
|
|
35
|
+
defaultValue: 'start',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: 'align',
|
|
39
|
+
label: 'Cross-Axis Alignment',
|
|
40
|
+
type: 'select',
|
|
41
|
+
options: [
|
|
42
|
+
{ label: 'Stretch', value: 'stretch' },
|
|
43
|
+
{ label: 'Start', value: 'start' },
|
|
44
|
+
{ label: 'Center', value: 'center' },
|
|
45
|
+
{ label: 'End', value: 'end' },
|
|
46
|
+
{ label: 'Baseline', value: 'baseline' },
|
|
47
|
+
],
|
|
48
|
+
defaultValue: 'stretch',
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
name: 'gap',
|
|
52
|
+
label: 'Gap Token',
|
|
53
|
+
type: 'select',
|
|
54
|
+
options: [
|
|
55
|
+
{ label: 'Extra Small', value: 'xs' },
|
|
56
|
+
{ label: 'Small', value: 'sm' },
|
|
57
|
+
{ label: 'Medium', value: 'md' },
|
|
58
|
+
{ label: 'Large', value: 'lg' },
|
|
59
|
+
{ label: 'Extra Large', value: 'xl' },
|
|
60
|
+
],
|
|
61
|
+
defaultValue: 'md',
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
name: 'frameCount',
|
|
65
|
+
label: 'Frames',
|
|
66
|
+
type: 'stepper',
|
|
67
|
+
defaultValue: 4,
|
|
68
|
+
min: 4,
|
|
69
|
+
max: 10,
|
|
70
|
+
step: 1,
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: 'wrap',
|
|
74
|
+
label: 'Overflow Strategy',
|
|
75
|
+
type: 'select',
|
|
76
|
+
options: [
|
|
77
|
+
{ label: 'No Wrap', value: 'nowrap' },
|
|
78
|
+
{ label: 'Wrap', value: 'wrap' },
|
|
79
|
+
],
|
|
80
|
+
defaultValue: 'nowrap',
|
|
81
|
+
},
|
|
82
|
+
];
|
|
83
|
+
export const previewLayout = 'start';
|
|
84
|
+
export const resizable = true;
|
|
85
|
+
function getDirection(value) {
|
|
86
|
+
return value === 'column' ? 'column' : 'row';
|
|
87
|
+
}
|
|
88
|
+
function getJustify(value) {
|
|
89
|
+
if (value === 'center' || value === 'end' || value === 'between' || value === 'around' || value === 'evenly')
|
|
90
|
+
return value;
|
|
91
|
+
return 'start';
|
|
92
|
+
}
|
|
93
|
+
function getAlign(value) {
|
|
94
|
+
if (value === 'start' || value === 'center' || value === 'end' || value === 'baseline')
|
|
95
|
+
return value;
|
|
96
|
+
return 'stretch';
|
|
97
|
+
}
|
|
98
|
+
function getGap(value) {
|
|
99
|
+
if (value === 'xs' || value === 'sm' || value === 'lg' || value === 'xl')
|
|
100
|
+
return value;
|
|
101
|
+
return 'md';
|
|
102
|
+
}
|
|
103
|
+
function getWrap(value) {
|
|
104
|
+
return value === 'wrap' ? 'wrap' : 'nowrap';
|
|
105
|
+
}
|
|
106
|
+
function getFrameCount(value, min, max, fallback) {
|
|
107
|
+
const n = typeof value === 'number' ? value : Number(value);
|
|
108
|
+
if (Number.isNaN(n))
|
|
109
|
+
return fallback;
|
|
110
|
+
return Math.min(max, Math.max(min, Math.round(n)));
|
|
111
|
+
}
|
|
112
|
+
function FrameCell({ className, style }) {
|
|
113
|
+
return (_jsx(Frame, { pathStroke: "dashed", className: className, style: { ...BASE_CELL_STYLE, ...style }, children: _jsx("div", { className: "size-full" }) }));
|
|
114
|
+
}
|
|
115
|
+
function getAxisColumnActionSpecs(frameCount) {
|
|
116
|
+
const total = Math.max(frameCount - 2, 1);
|
|
117
|
+
const pattern = [
|
|
118
|
+
{ className: 'min-w-[4.75rem] flex-1', style: { width: 'auto', minWidth: '4.75rem', height: '2.75rem' } },
|
|
119
|
+
{ className: 'min-w-[5.5rem] flex-1', style: { width: 'auto', minWidth: '5.5rem', height: '2.75rem' } },
|
|
120
|
+
{ className: 'min-w-[4rem] flex-1', style: { width: 'auto', minWidth: '4rem', height: '3rem' } },
|
|
121
|
+
];
|
|
122
|
+
return Array.from({ length: total }, (_, i) => pattern[i % pattern.length]);
|
|
123
|
+
}
|
|
124
|
+
function getAxisRowGroups(frameCount) {
|
|
125
|
+
const groupCount = Math.max(Math.ceil(frameCount / 4), 1);
|
|
126
|
+
return Array.from({ length: groupCount }, (_, gi) => {
|
|
127
|
+
const remaining = frameCount - gi * 4;
|
|
128
|
+
const itemCount = Math.min(Math.max(remaining, 0), 4);
|
|
129
|
+
return { rail: itemCount >= 1, canvas: itemCount >= 2, actionTop: itemCount >= 3, actionBottom: itemCount >= 4 };
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
export function renderPreview(props) {
|
|
133
|
+
const direction = getDirection(props.direction);
|
|
134
|
+
const justify = getJustify(props.justify);
|
|
135
|
+
const align = getAlign(props.align);
|
|
136
|
+
const gap = getGap(props.gap);
|
|
137
|
+
const wrap = getWrap(props.wrap);
|
|
138
|
+
const frameCount = getFrameCount(props.frameCount, 4, 10, 4);
|
|
139
|
+
if (direction === 'row') {
|
|
140
|
+
const groups = getAxisRowGroups(frameCount);
|
|
141
|
+
return (_jsx(Flex, { direction: "column", justify: justify, align: align, gap: gap, wrap: "nowrap", className: "w-full", children: groups.map((group, index) => (_jsxs(Flex, { direction: "row", gap: "md", align: "stretch", className: "w-full", children: [group.rail && _jsx(FrameCell, { className: "shrink-0", style: { width: '4.5rem', height: '8.5rem' } }), group.canvas && _jsx(FrameCell, { className: "min-w-[11rem] flex-1", style: { width: 'auto', minWidth: '11rem', flex: '1.4 1 12rem', height: '8.5rem' } }), (group.actionTop || group.actionBottom) && (_jsxs(Flex, { direction: "column", gap: "sm", className: "w-[5.5rem] shrink-0", children: [group.actionTop && _jsx(FrameCell, { className: "shrink-0", style: { width: '5.5rem', height: '4.5rem' } }), group.actionBottom && _jsx(FrameCell, { className: "shrink-0", style: { width: '5.5rem', height: '3.25rem' } })] }))] }, `axis-row-group-${index}`))) }));
|
|
142
|
+
}
|
|
143
|
+
const actions = getAxisColumnActionSpecs(frameCount);
|
|
144
|
+
return (_jsxs(Flex, { direction: "column", justify: justify, align: align, gap: gap, wrap: wrap, className: "w-full", children: [_jsx(FrameCell, { className: "w-full", style: { width: '100%', height: '2.75rem' } }), _jsx(FrameCell, { className: "w-full", style: { width: '100%', height: '8rem' } }), _jsx(Flex, { direction: "row", wrap: "wrap", gap: "sm", className: "w-full", children: actions.map((action, index) => (_jsx(FrameCell, { className: action.className, style: action.style }, `column-action-${index}`))) })] }));
|
|
145
|
+
}
|
|
146
|
+
export default function Example() {
|
|
147
|
+
return renderPreview({ direction: 'row', justify: 'start', align: 'stretch', gap: 'md', wrap: 'nowrap', frameCount: 4 });
|
|
148
|
+
}
|
|
149
|
+
//# sourceMappingURL=01-axis-control.js.map
|