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,13 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useState } from 'react';
|
|
4
|
-
import { PromptInput } from './layout/PromptInput.js';
|
|
5
|
-
export function BasicAIChatInput() {
|
|
6
|
-
const [prompt, setPrompt] = useState('');
|
|
7
|
-
const handleSubmit = (value) => {
|
|
8
|
-
console.log('Prompt submitted:', value);
|
|
9
|
-
setPrompt('');
|
|
10
|
-
};
|
|
11
|
-
return (_jsx("div", { className: "min-h-screen bg-background-950 p-8", children: _jsxs("div", { className: "max-w-2xl mx-auto", children: [_jsx("h1", { className: "text-3xl font-bold text-foreground-50 mb-8", children: "AI Chat Input" }), _jsxs("div", { className: "space-y-8", children: [_jsxs("div", { children: [_jsx("p", { className: "text-foreground-400 mb-4", children: "Ask the AI anything:" }), _jsx(PromptInput, { value: prompt, onChange: setPrompt, onSubmit: handleSubmit, placeholder: "Enter your prompt..." })] }), prompt && (_jsxs("div", { className: "bg-background-800 rounded-md border border-background-700 p-6", children: [_jsx("p", { className: "text-sm text-foreground-400 mb-2", children: "Current prompt:" }), _jsx("p", { className: "text-foreground-50", children: prompt })] }))] })] }) }));
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/elements/AI/AIChatInput/variations/01-basic/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AACZ,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,MAAM,UAAU,gBAAgB;IAC9B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAEzC,MAAM,YAAY,GAAG,CAAC,KAAa,EAAE,EAAE;QACrC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC;QACxC,SAAS,CAAC,EAAE,CAAC,CAAC;IAChB,CAAC,CAAC;IAEF,OAAO,CACL,cAAK,SAAS,EAAC,oCAAoC,YACjD,eAAK,SAAS,EAAC,mBAAmB,aAChC,aAAI,SAAS,EAAC,4CAA4C,8BAAmB,EAE7E,eAAK,SAAS,EAAC,WAAW,aACxB,0BACE,YAAG,SAAS,EAAC,0BAA0B,qCAAyB,EAChE,KAAC,WAAW,IACV,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,YAAY,EACtB,WAAW,EAAC,sBAAsB,GAClC,IACE,EAEL,MAAM,IAAI,CACT,eAAK,SAAS,EAAC,+DAA+D,aAC5E,YAAG,SAAS,EAAC,kCAAkC,gCAAoB,EACnE,YAAG,SAAS,EAAC,oBAAoB,YAAE,MAAM,GAAK,IAC1C,CACP,IACG,IACF,GACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
interface PromptInputProps {
|
|
2
|
-
value: string;
|
|
3
|
-
onChange: (value: string) => void;
|
|
4
|
-
onSubmit: (value: string) => void;
|
|
5
|
-
placeholder?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare function PromptInput({ value, onChange, onSubmit, placeholder, }: PromptInputProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=PromptInput.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PromptInput.d.ts","sourceRoot":"","sources":["../../../../../../../src/elements/AI/AIChatInput/variations/01-basic/layout/PromptInput.tsx"],"names":[],"mappings":"AAEA,UAAU,gBAAgB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,WAAyB,GAC1B,EAAE,gBAAgB,2CA2ClB"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useRef, useEffect } from 'react';
|
|
3
|
-
export function PromptInput({ value, onChange, onSubmit, placeholder = 'Ask AI...', }) {
|
|
4
|
-
const textareaRef = useRef(null);
|
|
5
|
-
useEffect(() => {
|
|
6
|
-
if (textareaRef.current) {
|
|
7
|
-
textareaRef.current.style.height = 'auto';
|
|
8
|
-
textareaRef.current.style.height = `${Math.min(textareaRef.current.scrollHeight, 150)}px`;
|
|
9
|
-
}
|
|
10
|
-
}, [value]);
|
|
11
|
-
const handleKeyDown = (e) => {
|
|
12
|
-
if (e.key === 'Enter' && !e.shiftKey) {
|
|
13
|
-
e.preventDefault();
|
|
14
|
-
if (value.trim()) {
|
|
15
|
-
onSubmit(value);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
return (_jsxs("div", { className: "flex gap-3 p-4 bg-background-800 border border-background-700 rounded-md", children: [_jsx("textarea", { ref: textareaRef, value: value, onChange: (e) => onChange(e.target.value), onKeyDown: handleKeyDown, placeholder: placeholder, className: "flex-1 bg-transparent border-0 text-foreground-50 placeholder-foreground-400 focus:outline-none resize-none", rows: 1 }), _jsx("button", { onClick: () => {
|
|
20
|
-
if (value.trim()) {
|
|
21
|
-
onSubmit(value);
|
|
22
|
-
}
|
|
23
|
-
}, disabled: !value.trim(), className: "px-4 py-2 bg-accent-500 text-foreground-50 rounded font-medium hover:bg-accent-600 transition-colors disabled:opacity-50 disabled:cursor-not-allowed flex-shrink-0", children: "Send" })] }));
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=PromptInput.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PromptInput.js","sourceRoot":"","sources":["../../../../../../../src/elements/AI/AIChatInput/variations/01-basic/layout/PromptInput.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AASjD,MAAM,UAAU,WAAW,CAAC,EAC1B,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,WAAW,GAAG,WAAW,GACR;IACjB,MAAM,WAAW,GAAG,MAAM,CAAsB,IAAI,CAAC,CAAC;IAEtD,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,WAAW,CAAC,OAAO,EAAE,CAAC;YACxB,WAAW,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;YAC1C,WAAW,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,OAAO,CAAC,YAAY,EAAE,GAAG,CAAC,IAAI,CAAC;QAC5F,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAEZ,MAAM,aAAa,GAAG,CAAC,CAAsB,EAAE,EAAE;QAC/C,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO,IAAI,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;YACrC,CAAC,CAAC,cAAc,EAAE,CAAC;YACnB,IAAI,KAAK,CAAC,IAAI,EAAE,EAAE,CAAC;gBACjB,QAAQ,CAAC,KAAK,CAAC,CAAC;YAClB,CAAC;QACH,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,CACL,eAAK,SAAS,EAAC,0EAA0E,aACvF,mBACE,GAAG,EAAE,WAAW,EAChB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EACzC,SAAS,EAAE,aAAa,EACxB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAC,6GAA6G,EACvH,IAAI,EAAE,CAAC,GACP,EACF,iBACE,OAAO,EAAE,GAAG,EAAE;oBACZ,IAAI,KAAK,CAAC,IAAI,EAAE,EAAE,CAAC;wBACjB,QAAQ,CAAC,KAAK,CAAC,CAAC;oBAClB,CAAC;gBACH,CAAC,EACD,QAAQ,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,EACvB,SAAS,EAAC,oKAAoK,qBAGvK,IACL,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/elements/AI/AIChatInput/variations/02-with-suggestions/index.tsx"],"names":[],"mappings":"AAIA,wBAAgB,0BAA0B,4CA8DzC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useState } from 'react';
|
|
4
|
-
import { PromptInputWithSuggestions } from './layout/PromptInputWithSuggestions.js';
|
|
5
|
-
export function AIChatInputWithSuggestions() {
|
|
6
|
-
const [prompt, setPrompt] = useState('');
|
|
7
|
-
const [selectedSuggestion, setSelectedSuggestion] = useState(null);
|
|
8
|
-
const suggestions = [
|
|
9
|
-
'Explain this concept in simple terms',
|
|
10
|
-
'Write a code example',
|
|
11
|
-
'What are the best practices?',
|
|
12
|
-
'How do I debug this?',
|
|
13
|
-
];
|
|
14
|
-
const handleSubmit = (value) => {
|
|
15
|
-
console.log('Prompt submitted:', value);
|
|
16
|
-
setPrompt('');
|
|
17
|
-
setSelectedSuggestion(null);
|
|
18
|
-
};
|
|
19
|
-
const handleSuggestionClick = (suggestion) => {
|
|
20
|
-
setSelectedSuggestion(suggestion);
|
|
21
|
-
setPrompt(suggestion);
|
|
22
|
-
};
|
|
23
|
-
return (_jsx("div", { className: "min-h-screen bg-background-950 p-8", children: _jsxs("div", { className: "max-w-2xl mx-auto", children: [_jsx("h1", { className: "text-3xl font-bold text-foreground-50 mb-8", children: "Chat with AI" }), _jsxs("div", { className: "space-y-6", children: [prompt.length === 0 && (_jsxs("div", { children: [_jsx("p", { className: "text-sm text-foreground-400 mb-3", children: "Quick suggestions:" }), _jsx("div", { className: "grid grid-cols-2 gap-2", children: suggestions.map((suggestion) => (_jsx("button", { onClick: () => handleSuggestionClick(suggestion), className: "text-left px-3 py-2 bg-background-800 border border-background-700 rounded hover:border-accent-500 hover:bg-background-700/80 transition-colors text-sm text-foreground-300 hover:text-foreground-200", children: suggestion }, suggestion))) })] })), _jsx(PromptInputWithSuggestions, { value: prompt, onChange: setPrompt, onSubmit: handleSubmit, placeholder: "Enter your prompt or use a suggestion..." }), selectedSuggestion && (_jsxs("div", { className: "p-4 bg-background-800 border border-accent-500/30 rounded-md", children: [_jsx("p", { className: "text-sm text-foreground-400 mb-1", children: "Using suggestion:" }), _jsx("p", { className: "text-foreground-50", children: selectedSuggestion })] }))] })] }) }));
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/elements/AI/AIChatInput/variations/02-with-suggestions/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AACZ,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AAEpF,MAAM,UAAU,0BAA0B;IACxC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IACzC,MAAM,CAAC,kBAAkB,EAAE,qBAAqB,CAAC,GAAG,QAAQ,CAAgB,IAAI,CAAC,CAAC;IAElF,MAAM,WAAW,GAAG;QAClB,sCAAsC;QACtC,sBAAsB;QACtB,8BAA8B;QAC9B,sBAAsB;KACvB,CAAC;IAEF,MAAM,YAAY,GAAG,CAAC,KAAa,EAAE,EAAE;QACrC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC;QACxC,SAAS,CAAC,EAAE,CAAC,CAAC;QACd,qBAAqB,CAAC,IAAI,CAAC,CAAC;IAC9B,CAAC,CAAC;IAEF,MAAM,qBAAqB,GAAG,CAAC,UAAkB,EAAE,EAAE;QACnD,qBAAqB,CAAC,UAAU,CAAC,CAAC;QAClC,SAAS,CAAC,UAAU,CAAC,CAAC;IACxB,CAAC,CAAC;IAEF,OAAO,CACL,cAAK,SAAS,EAAC,oCAAoC,YACjD,eAAK,SAAS,EAAC,mBAAmB,aAChC,aAAI,SAAS,EAAC,4CAA4C,6BAAkB,EAE5E,eAAK,SAAS,EAAC,WAAW,aACvB,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,CACtB,0BACE,YAAG,SAAS,EAAC,kCAAkC,mCAAuB,EACtE,cAAK,SAAS,EAAC,wBAAwB,YACpC,WAAW,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CAC/B,iBAEE,OAAO,EAAE,GAAG,EAAE,CAAC,qBAAqB,CAAC,UAAU,CAAC,EAChD,SAAS,EAAC,uMAAuM,YAEhN,UAAU,IAJN,UAAU,CAKR,CACV,CAAC,GACE,IACF,CACP,EAED,KAAC,0BAA0B,IACzB,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,SAAS,EACnB,QAAQ,EAAE,YAAY,EACtB,WAAW,EAAC,0CAA0C,GACtD,EAED,kBAAkB,IAAI,CACrB,eAAK,SAAS,EAAC,8DAA8D,aAC3E,YAAG,SAAS,EAAC,kCAAkC,kCAAsB,EACrE,YAAG,SAAS,EAAC,oBAAoB,YAAE,kBAAkB,GAAK,IACtD,CACP,IACG,IACF,GACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
interface PromptInputWithSuggestionsProps {
|
|
2
|
-
value: string;
|
|
3
|
-
onChange: (value: string) => void;
|
|
4
|
-
onSubmit: (value: string) => void;
|
|
5
|
-
placeholder?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare function PromptInputWithSuggestions({ value, onChange, onSubmit, placeholder, }: PromptInputWithSuggestionsProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=PromptInputWithSuggestions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PromptInputWithSuggestions.d.ts","sourceRoot":"","sources":["../../../../../../../src/elements/AI/AIChatInput/variations/02-with-suggestions/layout/PromptInputWithSuggestions.tsx"],"names":[],"mappings":"AAEA,UAAU,+BAA+B;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,0BAA0B,CAAC,EACzC,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,WAAyB,GAC1B,EAAE,+BAA+B,2CAgDjC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useRef, useEffect } from 'react';
|
|
3
|
-
export function PromptInputWithSuggestions({ value, onChange, onSubmit, placeholder = 'Ask AI...', }) {
|
|
4
|
-
const textareaRef = useRef(null);
|
|
5
|
-
useEffect(() => {
|
|
6
|
-
if (textareaRef.current) {
|
|
7
|
-
textareaRef.current.style.height = 'auto';
|
|
8
|
-
textareaRef.current.style.height = `${Math.min(textareaRef.current.scrollHeight, 150)}px`;
|
|
9
|
-
}
|
|
10
|
-
}, [value]);
|
|
11
|
-
const handleKeyDown = (e) => {
|
|
12
|
-
if (e.key === 'Enter' && !e.shiftKey) {
|
|
13
|
-
e.preventDefault();
|
|
14
|
-
if (value.trim()) {
|
|
15
|
-
onSubmit(value);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
return (_jsxs("div", { className: "flex gap-3 p-4 bg-background-800 border border-background-700 rounded-md", children: [_jsx("textarea", { ref: textareaRef, value: value, onChange: (e) => onChange(e.target.value), onKeyDown: handleKeyDown, placeholder: placeholder, className: "flex-1 bg-transparent border-0 text-foreground-50 placeholder-foreground-400 focus:outline-none resize-none", rows: 1 }), _jsxs("div", { className: "flex flex-col gap-2", children: [_jsx("button", { onClick: () => {
|
|
20
|
-
if (value.trim()) {
|
|
21
|
-
onSubmit(value);
|
|
22
|
-
}
|
|
23
|
-
}, disabled: !value.trim(), className: "px-4 py-2 bg-accent-500 text-foreground-50 rounded font-medium hover:bg-accent-600 transition-colors disabled:opacity-50 disabled:cursor-not-allowed flex-shrink-0 text-sm", children: "Send" }), _jsx("button", { className: "px-2 py-1 text-foreground-400 hover:text-foreground-200 text-sm rounded border border-background-700 hover:border-background-600 transition-colors", children: "\u2318K" })] })] }));
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=PromptInputWithSuggestions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PromptInputWithSuggestions.js","sourceRoot":"","sources":["../../../../../../../src/elements/AI/AIChatInput/variations/02-with-suggestions/layout/PromptInputWithSuggestions.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AASjD,MAAM,UAAU,0BAA0B,CAAC,EACzC,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,WAAW,GAAG,WAAW,GACO;IAChC,MAAM,WAAW,GAAG,MAAM,CAAsB,IAAI,CAAC,CAAC;IAEtD,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,WAAW,CAAC,OAAO,EAAE,CAAC;YACxB,WAAW,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC;YAC1C,WAAW,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,OAAO,CAAC,YAAY,EAAE,GAAG,CAAC,IAAI,CAAC;QAC5F,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAEZ,MAAM,aAAa,GAAG,CAAC,CAAsB,EAAE,EAAE;QAC/C,IAAI,CAAC,CAAC,GAAG,KAAK,OAAO,IAAI,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;YACrC,CAAC,CAAC,cAAc,EAAE,CAAC;YACnB,IAAI,KAAK,CAAC,IAAI,EAAE,EAAE,CAAC;gBACjB,QAAQ,CAAC,KAAK,CAAC,CAAC;YAClB,CAAC;QACH,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,CACL,eAAK,SAAS,EAAC,0EAA0E,aACvF,mBACE,GAAG,EAAE,WAAW,EAChB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EACzC,SAAS,EAAE,aAAa,EACxB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAC,6GAA6G,EACvH,IAAI,EAAE,CAAC,GACP,EACF,eAAK,SAAS,EAAC,qBAAqB,aAClC,iBACE,OAAO,EAAE,GAAG,EAAE;4BACZ,IAAI,KAAK,CAAC,IAAI,EAAE,EAAE,CAAC;gCACjB,QAAQ,CAAC,KAAK,CAAC,CAAC;4BAClB,CAAC;wBACH,CAAC,EACD,QAAQ,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,EACvB,SAAS,EAAC,4KAA4K,qBAG/K,EACT,iBAAQ,SAAS,EAAC,oJAAoJ,wBAE7J,IACL,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export { BasicAIChatInput } from './01-basic/index.js';
|
|
2
|
-
export { AIChatInputWithSuggestions } from './02-with-suggestions/index.js';
|
|
3
|
-
export type AIChatInputVariations = 'BasicAIChatInput' | 'AIChatInputWithSuggestions';
|
|
4
|
-
export declare const DEMO_MAP: {
|
|
5
|
-
readonly 'ai-chat-input-basic': {
|
|
6
|
-
readonly key: "01-basic";
|
|
7
|
-
readonly export: "BasicAIChatInput";
|
|
8
|
-
};
|
|
9
|
-
readonly 'ai-chat-input-suggestions': {
|
|
10
|
-
readonly key: "02-with-suggestions";
|
|
11
|
-
readonly export: "AIChatInputWithSuggestions";
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export declare const variationComponentMap: {
|
|
15
|
-
readonly '01-basic': () => Promise<typeof import("./index.js").BasicAIChatInput>;
|
|
16
|
-
readonly '02-with-suggestions': () => Promise<typeof import("./index.js").AIChatInputWithSuggestions>;
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/elements/AI/AIChatInput/variations/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAG5E,MAAM,MAAM,qBAAqB,GAAG,kBAAkB,GAAG,4BAA4B,CAAC;AAGtF,eAAO,MAAM,QAAQ;;;;;;;;;CAGX,CAAC;AAGX,eAAO,MAAM,qBAAqB;;;CAGxB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// Export all variation components
|
|
2
|
-
export { BasicAIChatInput } from './01-basic/index.js';
|
|
3
|
-
export { AIChatInputWithSuggestions } from './02-with-suggestions/index.js';
|
|
4
|
-
// Demo path mapping for dynamic imports and routing
|
|
5
|
-
export const DEMO_MAP = {
|
|
6
|
-
'ai-chat-input-basic': { key: '01-basic', export: 'BasicAIChatInput' },
|
|
7
|
-
'ai-chat-input-suggestions': { key: '02-with-suggestions', export: 'AIChatInputWithSuggestions' },
|
|
8
|
-
};
|
|
9
|
-
// Component map for internal use
|
|
10
|
-
export const variationComponentMap = {
|
|
11
|
-
'01-basic': async () => (await import('./01-basic')).BasicAIChatInput,
|
|
12
|
-
'02-with-suggestions': async () => (await import('./02-with-suggestions')).AIChatInputWithSuggestions,
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/elements/AI/AIChatInput/variations/index.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAK5E,oDAAoD;AACpD,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,qBAAqB,EAAE,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,kBAAkB,EAAE;IACtE,2BAA2B,EAAE,EAAE,GAAG,EAAE,qBAAqB,EAAE,MAAM,EAAE,4BAA4B,EAAE;CACzF,CAAC;AAEX,iCAAiC;AACjC,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,gBAAgB;IACrE,qBAAqB,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,MAAM,CAAC,uBAAuB,CAAC,CAAC,CAAC,0BAA0B;CAC7F,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/elements/AI/ChainOfThought/variations/01-basic/index.tsx"],"names":[],"mappings":"AAIA,wBAAgB,mBAAmB,4CA4ClC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { ThoughtStep } from './layout/ThoughtStep.js';
|
|
4
|
-
export function BasicChainOfThought() {
|
|
5
|
-
const steps = [
|
|
6
|
-
{
|
|
7
|
-
number: 1,
|
|
8
|
-
title: 'Problem Analysis',
|
|
9
|
-
description: 'Breaking down the problem into manageable parts',
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
number: 2,
|
|
13
|
-
title: 'Strategy Development',
|
|
14
|
-
description: 'Developing a strategy to solve the problem',
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
number: 3,
|
|
18
|
-
title: 'Implementation',
|
|
19
|
-
description: 'Implementing the solution step by step',
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
number: 4,
|
|
23
|
-
title: 'Validation',
|
|
24
|
-
description: 'Validating the solution and checking results',
|
|
25
|
-
},
|
|
26
|
-
];
|
|
27
|
-
return (_jsx("div", { className: "min-h-screen bg-background-950 p-8", children: _jsxs("div", { className: "max-w-2xl mx-auto", children: [_jsx("h1", { className: "text-3xl font-bold text-foreground-50 mb-2", children: "AI Reasoning Process" }), _jsx("p", { className: "text-foreground-400 mb-8", children: "Here's how the AI is thinking through the problem:" }), _jsx("div", { className: "space-y-4", children: steps.map((step) => (_jsx(ThoughtStep, { ...step }, step.number))) }), _jsx("div", { className: "mt-8 p-4 bg-background-800 border border-background-700 rounded-md", children: _jsx("p", { className: "text-sm text-foreground-300", children: "The chain of thought shows the reasoning process, making it easier to understand how the AI arrived at the conclusion." }) })] }) }));
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/elements/AI/ChainOfThought/variations/01-basic/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AAEZ,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,MAAM,UAAU,mBAAmB;IACjC,MAAM,KAAK,GAAG;QACZ;YACE,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,kBAAkB;YACzB,WAAW,EAAE,iDAAiD;SAC/D;QACD;YACE,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,sBAAsB;YAC7B,WAAW,EAAE,4CAA4C;SAC1D;QACD;YACE,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,gBAAgB;YACvB,WAAW,EAAE,wCAAwC;SACtD;QACD;YACE,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,YAAY;YACnB,WAAW,EAAE,8CAA8C;SAC5D;KACF,CAAC;IAEF,OAAO,CACL,cAAK,SAAS,EAAC,oCAAoC,YACjD,eAAK,SAAS,EAAC,mBAAmB,aAChC,aAAI,SAAS,EAAC,4CAA4C,qCAA0B,EACpF,YAAG,SAAS,EAAC,0BAA0B,mEAAuD,EAE9F,cAAK,SAAS,EAAC,WAAW,YACvB,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACnB,KAAC,WAAW,OAAuB,IAAI,IAArB,IAAI,CAAC,MAAM,CAAc,CAC5C,CAAC,GACE,EAEN,cAAK,SAAS,EAAC,oEAAoE,YACjF,YAAG,SAAS,EAAC,6BAA6B,uIAEtC,GACA,IACF,GACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
interface ThoughtStepProps {
|
|
2
|
-
number: number;
|
|
3
|
-
title: string;
|
|
4
|
-
description: string;
|
|
5
|
-
}
|
|
6
|
-
export declare function ThoughtStep({ number, title, description }: ThoughtStepProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=ThoughtStep.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ThoughtStep.d.ts","sourceRoot":"","sources":["../../../../../../../src/elements/AI/ChainOfThought/variations/01-basic/layout/ThoughtStep.tsx"],"names":[],"mappings":"AAAA,UAAU,gBAAgB;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,gBAAgB,2CAe3E"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
export function ThoughtStep({ number, title, description }) {
|
|
3
|
-
return (_jsxs("div", { className: "flex gap-4", children: [_jsxs("div", { className: "flex flex-col items-center", children: [_jsx("div", { className: "w-10 h-10 rounded-full bg-accent-500 text-foreground-50 flex items-center justify-center font-bold text-sm", children: number }), number < 4 && _jsx("div", { className: "w-1 h-8 bg-accent-500 mt-2" })] }), _jsxs("div", { className: "flex-1 pt-1 pb-4", children: [_jsx("h3", { className: "font-semibold text-foreground-50 mb-1", children: title }), _jsx("p", { className: "text-sm text-foreground-400", children: description })] })] }));
|
|
4
|
-
}
|
|
5
|
-
//# sourceMappingURL=ThoughtStep.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ThoughtStep.js","sourceRoot":"","sources":["../../../../../../../src/elements/AI/ChainOfThought/variations/01-basic/layout/ThoughtStep.tsx"],"names":[],"mappings":";AAMA,MAAM,UAAU,WAAW,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,EAAoB;IAC1E,OAAO,CACL,eAAK,SAAS,EAAC,YAAY,aACzB,eAAK,SAAS,EAAC,4BAA4B,aACzC,cAAK,SAAS,EAAC,4GAA4G,YACxH,MAAM,GACH,EACL,MAAM,GAAG,CAAC,IAAI,cAAK,SAAS,EAAC,4BAA4B,GAAG,IACzD,EACN,eAAK,SAAS,EAAC,kBAAkB,aAC/B,aAAI,SAAS,EAAC,uCAAuC,YAAE,KAAK,GAAM,EAClE,YAAG,SAAS,EAAC,6BAA6B,YAAE,WAAW,GAAK,IACxD,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/elements/AI/ChainOfThought/variations/02-with-details/index.tsx"],"names":[],"mappings":"AAIA,wBAAgB,yBAAyB,4CA2ExC"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useState } from 'react';
|
|
4
|
-
import { ExpandableThoughtStep } from './layout/ExpandableThoughtStep.js';
|
|
5
|
-
export function ChainOfThoughtWithDetails() {
|
|
6
|
-
const [expandedSteps, setExpandedSteps] = useState(new Set([1]));
|
|
7
|
-
const steps = [
|
|
8
|
-
{
|
|
9
|
-
number: 1,
|
|
10
|
-
title: 'Understanding the Request',
|
|
11
|
-
description: 'Parsing and understanding what the user is asking for',
|
|
12
|
-
details: [
|
|
13
|
-
'Identified key requirements from the input',
|
|
14
|
-
'Recognized the problem domain',
|
|
15
|
-
'Determined necessary context and constraints',
|
|
16
|
-
],
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
number: 2,
|
|
20
|
-
title: 'Analyzing Available Approaches',
|
|
21
|
-
description: 'Evaluating different methods to solve the problem',
|
|
22
|
-
details: [
|
|
23
|
-
'Approach A: Direct computation (Fast but limited)',
|
|
24
|
-
'Approach B: Iterative refinement (Balanced)',
|
|
25
|
-
'Approach C: Machine learning (Slow but accurate)',
|
|
26
|
-
],
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
number: 3,
|
|
30
|
-
title: 'Selecting Optimal Strategy',
|
|
31
|
-
description: 'Choosing the best approach based on constraints',
|
|
32
|
-
details: [
|
|
33
|
-
'Evaluated trade-offs between speed and accuracy',
|
|
34
|
-
'Considered resource constraints',
|
|
35
|
-
'Selected Approach B for optimal balance',
|
|
36
|
-
],
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
number: 4,
|
|
40
|
-
title: 'Generating Solution',
|
|
41
|
-
description: 'Implementing the chosen strategy step by step',
|
|
42
|
-
details: [
|
|
43
|
-
'Breaking down into sub-tasks',
|
|
44
|
-
'Validating intermediate results',
|
|
45
|
-
'Optimizing for performance',
|
|
46
|
-
],
|
|
47
|
-
},
|
|
48
|
-
];
|
|
49
|
-
const toggleStep = (number) => {
|
|
50
|
-
const newExpanded = new Set(expandedSteps);
|
|
51
|
-
if (newExpanded.has(number)) {
|
|
52
|
-
newExpanded.delete(number);
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
newExpanded.add(number);
|
|
56
|
-
}
|
|
57
|
-
setExpandedSteps(newExpanded);
|
|
58
|
-
};
|
|
59
|
-
return (_jsx("div", { className: "min-h-screen bg-background-950 p-8", children: _jsxs("div", { className: "max-w-2xl mx-auto", children: [_jsx("h1", { className: "text-3xl font-bold text-foreground-50 mb-2", children: "Detailed AI Reasoning" }), _jsx("p", { className: "text-foreground-400 mb-8", children: "Click steps to see detailed reasoning:" }), _jsx("div", { className: "space-y-3", children: steps.map((step) => (_jsx(ExpandableThoughtStep, { ...step, isExpanded: expandedSteps.has(step.number), onToggle: () => toggleStep(step.number) }, step.number))) })] }) }));
|
|
60
|
-
}
|
|
61
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/elements/AI/ChainOfThought/variations/02-with-details/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AACZ,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAE1E,MAAM,UAAU,yBAAyB;IACvC,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,QAAQ,CAAc,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAE9E,MAAM,KAAK,GAAG;QACZ;YACE,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,2BAA2B;YAClC,WAAW,EAAE,uDAAuD;YACpE,OAAO,EAAE;gBACP,4CAA4C;gBAC5C,+BAA+B;gBAC/B,8CAA8C;aAC/C;SACF;QACD;YACE,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,gCAAgC;YACvC,WAAW,EAAE,mDAAmD;YAChE,OAAO,EAAE;gBACP,mDAAmD;gBACnD,6CAA6C;gBAC7C,kDAAkD;aACnD;SACF;QACD;YACE,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,4BAA4B;YACnC,WAAW,EAAE,iDAAiD;YAC9D,OAAO,EAAE;gBACP,iDAAiD;gBACjD,iCAAiC;gBACjC,yCAAyC;aAC1C;SACF;QACD;YACE,MAAM,EAAE,CAAC;YACT,KAAK,EAAE,qBAAqB;YAC5B,WAAW,EAAE,+CAA+C;YAC5D,OAAO,EAAE;gBACP,8BAA8B;gBAC9B,iCAAiC;gBACjC,4BAA4B;aAC7B;SACF;KACF,CAAC;IAEF,MAAM,UAAU,GAAG,CAAC,MAAc,EAAE,EAAE;QACpC,MAAM,WAAW,GAAG,IAAI,GAAG,CAAC,aAAa,CAAC,CAAC;QAC3C,IAAI,WAAW,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC;YAC5B,WAAW,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QAC7B,CAAC;aAAM,CAAC;YACN,WAAW,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;QAC1B,CAAC;QACD,gBAAgB,CAAC,WAAW,CAAC,CAAC;IAChC,CAAC,CAAC;IAEF,OAAO,CACL,cAAK,SAAS,EAAC,oCAAoC,YACjD,eAAK,SAAS,EAAC,mBAAmB,aAChC,aAAI,SAAS,EAAC,4CAA4C,sCAA2B,EACrF,YAAG,SAAS,EAAC,0BAA0B,uDAA2C,EAElF,cAAK,SAAS,EAAC,WAAW,YACvB,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACnB,KAAC,qBAAqB,OAEhB,IAAI,EACR,UAAU,EAAE,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,EAC1C,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,IAHlC,IAAI,CAAC,MAAM,CAIhB,CACH,CAAC,GACE,IACF,GACF,CACP,CAAC;AACJ,CAAC"}
|
package/dist/elements/AI/ChainOfThought/variations/02-with-details/layout/ExpandableThoughtStep.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
interface ExpandableThoughtStepProps {
|
|
2
|
-
number: number;
|
|
3
|
-
title: string;
|
|
4
|
-
description: string;
|
|
5
|
-
details: string[];
|
|
6
|
-
isExpanded: boolean;
|
|
7
|
-
onToggle: () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare function ExpandableThoughtStep({ number, title, description, details, isExpanded, onToggle, }: ExpandableThoughtStepProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=ExpandableThoughtStep.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ExpandableThoughtStep.d.ts","sourceRoot":"","sources":["../../../../../../../src/elements/AI/ChainOfThought/variations/02-with-details/layout/ExpandableThoughtStep.tsx"],"names":[],"mappings":"AAAA,UAAU,0BAA0B;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EACN,KAAK,EACL,WAAW,EACX,OAAO,EACP,UAAU,EACV,QAAQ,GACT,EAAE,0BAA0B,2CA+B5B"}
|
package/dist/elements/AI/ChainOfThought/variations/02-with-details/layout/ExpandableThoughtStep.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
export function ExpandableThoughtStep({ number, title, description, details, isExpanded, onToggle, }) {
|
|
3
|
-
return (_jsxs("div", { className: "bg-background-800 border border-background-700 rounded-md overflow-hidden", children: [_jsxs("button", { onClick: onToggle, className: "w-full flex items-start gap-4 p-4 hover:bg-background-700/50 transition-colors text-left", children: [_jsx("div", { className: "w-10 h-10 rounded-full bg-accent-500 text-foreground-50 flex items-center justify-center font-bold text-sm flex-shrink-0", children: number }), _jsxs("div", { className: "flex-1 pt-1", children: [_jsx("h3", { className: "font-semibold text-foreground-50 mb-1", children: title }), _jsx("p", { className: "text-sm text-foreground-400", children: description })] }), _jsx("span", { className: "text-foreground-400 flex-shrink-0 mt-1", children: isExpanded ? '▼' : '▶' })] }), isExpanded && (_jsx("div", { className: "border-t border-background-700 bg-background-700/30 p-4", children: _jsx("ul", { className: "space-y-2", children: details.map((detail, index) => (_jsxs("li", { className: "flex gap-3 text-sm text-foreground-300", children: [_jsx("span", { className: "text-accent-400 flex-shrink-0", children: "\u2022" }), _jsx("span", { children: detail })] }, index))) }) }))] }));
|
|
4
|
-
}
|
|
5
|
-
//# sourceMappingURL=ExpandableThoughtStep.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ExpandableThoughtStep.js","sourceRoot":"","sources":["../../../../../../../src/elements/AI/ChainOfThought/variations/02-with-details/layout/ExpandableThoughtStep.tsx"],"names":[],"mappings":";AASA,MAAM,UAAU,qBAAqB,CAAC,EACpC,MAAM,EACN,KAAK,EACL,WAAW,EACX,OAAO,EACP,UAAU,EACV,QAAQ,GACmB;IAC3B,OAAO,CACL,eAAK,SAAS,EAAC,2EAA2E,aACxF,kBACE,OAAO,EAAE,QAAQ,EACjB,SAAS,EAAC,0FAA0F,aAEpG,cAAK,SAAS,EAAC,0HAA0H,YACtI,MAAM,GACH,EACN,eAAK,SAAS,EAAC,aAAa,aAC1B,aAAI,SAAS,EAAC,uCAAuC,YAAE,KAAK,GAAM,EAClE,YAAG,SAAS,EAAC,6BAA6B,YAAE,WAAW,GAAK,IACxD,EACN,eAAM,SAAS,EAAC,wCAAwC,YAAE,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,GAAQ,IACjF,EAER,UAAU,IAAI,CACb,cAAK,SAAS,EAAC,yDAAyD,YACtE,aAAI,SAAS,EAAC,WAAW,YACtB,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,CAC9B,cAAgB,SAAS,EAAC,wCAAwC,aAChE,eAAM,SAAS,EAAC,+BAA+B,uBAAS,EACxD,yBAAO,MAAM,GAAQ,KAFd,KAAK,CAGT,CACN,CAAC,GACC,GACD,CACP,IACG,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export { BasicChainOfThought } from './01-basic/index.js';
|
|
2
|
-
export { ChainOfThoughtWithDetails } from './02-with-details/index.js';
|
|
3
|
-
export type ChainOfThoughtVariations = 'BasicChainOfThought' | 'ChainOfThoughtWithDetails';
|
|
4
|
-
export declare const DEMO_MAP: {
|
|
5
|
-
readonly 'chain-of-thought-basic': {
|
|
6
|
-
readonly key: "01-basic";
|
|
7
|
-
readonly export: "BasicChainOfThought";
|
|
8
|
-
};
|
|
9
|
-
readonly 'chain-of-thought-details': {
|
|
10
|
-
readonly key: "02-with-details";
|
|
11
|
-
readonly export: "ChainOfThoughtWithDetails";
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export declare const variationComponentMap: {
|
|
15
|
-
readonly '01-basic': () => Promise<typeof import("./index.js").BasicChainOfThought>;
|
|
16
|
-
readonly '02-with-details': () => Promise<typeof import("./index.js").ChainOfThoughtWithDetails>;
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/elements/AI/ChainOfThought/variations/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAGvE,MAAM,MAAM,wBAAwB,GAAG,qBAAqB,GAAG,2BAA2B,CAAC;AAG3F,eAAO,MAAM,QAAQ;;;;;;;;;CAGX,CAAC;AAGX,eAAO,MAAM,qBAAqB;;;CAGxB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// Export all variation components
|
|
2
|
-
export { BasicChainOfThought } from './01-basic/index.js';
|
|
3
|
-
export { ChainOfThoughtWithDetails } from './02-with-details/index.js';
|
|
4
|
-
// Demo path mapping for dynamic imports and routing
|
|
5
|
-
export const DEMO_MAP = {
|
|
6
|
-
'chain-of-thought-basic': { key: '01-basic', export: 'BasicChainOfThought' },
|
|
7
|
-
'chain-of-thought-details': { key: '02-with-details', export: 'ChainOfThoughtWithDetails' },
|
|
8
|
-
};
|
|
9
|
-
// Component map for internal use
|
|
10
|
-
export const variationComponentMap = {
|
|
11
|
-
'01-basic': async () => (await import('./01-basic')).BasicChainOfThought,
|
|
12
|
-
'02-with-details': async () => (await import('./02-with-details')).ChainOfThoughtWithDetails,
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/elements/AI/ChainOfThought/variations/index.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAKvE,oDAAoD;AACpD,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,wBAAwB,EAAE,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,qBAAqB,EAAE;IAC5E,0BAA0B,EAAE,EAAE,GAAG,EAAE,iBAAiB,EAAE,MAAM,EAAE,2BAA2B,EAAE;CACnF,CAAC;AAEX,iCAAiC;AACjC,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,mBAAmB;IACxE,iBAAiB,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,MAAM,CAAC,mBAAmB,CAAC,CAAC,CAAC,yBAAyB;CACpF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/elements/AI/Chat/variations/01-basic/index.tsx"],"names":[],"mappings":"AAYA,wBAAgB,SAAS,4CAyCxB"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useState } from 'react';
|
|
4
|
-
import { ChatContainer } from './layout/ChatContainer.js';
|
|
5
|
-
import { ChatMessage } from './layout/ChatMessage.js';
|
|
6
|
-
import { ChatInput } from './layout/ChatInput.js';
|
|
7
|
-
export function BasicChat() {
|
|
8
|
-
const [messages, setMessages] = useState([
|
|
9
|
-
{ id: '1', content: 'Hello! How can I assist you today?', sender: 'ai' },
|
|
10
|
-
{ id: '2', content: 'I need help with my project', sender: 'user' },
|
|
11
|
-
{ id: '3', content: 'Sure! Tell me more about what you need help with.', sender: 'ai' },
|
|
12
|
-
]);
|
|
13
|
-
const handleSendMessage = (content) => {
|
|
14
|
-
const userMessage = {
|
|
15
|
-
id: String(messages.length + 1),
|
|
16
|
-
content,
|
|
17
|
-
sender: 'user',
|
|
18
|
-
};
|
|
19
|
-
setMessages([...messages, userMessage]);
|
|
20
|
-
setTimeout(() => {
|
|
21
|
-
const aiMessage = {
|
|
22
|
-
id: String(messages.length + 2),
|
|
23
|
-
content: 'That sounds interesting! I can help you with that.',
|
|
24
|
-
sender: 'ai',
|
|
25
|
-
};
|
|
26
|
-
setMessages((prev) => [...prev, aiMessage]);
|
|
27
|
-
}, 500);
|
|
28
|
-
};
|
|
29
|
-
return (_jsx("div", { className: "min-h-screen bg-background-950 p-8", children: _jsx("div", { className: "max-w-2xl mx-auto h-96", children: _jsxs(ChatContainer, { children: [_jsx("div", { className: "flex-1 overflow-y-auto space-y-4 p-4", children: messages.map((message) => (_jsx(ChatMessage, { message: message.content, sender: message.sender }, message.id))) }), _jsx("div", { className: "border-t border-background-700 p-4", children: _jsx(ChatInput, { onSendMessage: handleSendMessage }) })] }) }) }));
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/elements/AI/Chat/variations/01-basic/index.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAA;;AACZ,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAQlD,MAAM,UAAU,SAAS;IACvB,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAY;QAClD,EAAE,EAAE,EAAE,GAAG,EAAE,OAAO,EAAE,oCAAoC,EAAE,MAAM,EAAE,IAAI,EAAE;QACxE,EAAE,EAAE,EAAE,GAAG,EAAE,OAAO,EAAE,6BAA6B,EAAE,MAAM,EAAE,MAAM,EAAE;QACnE,EAAE,EAAE,EAAE,GAAG,EAAE,OAAO,EAAE,mDAAmD,EAAE,MAAM,EAAE,IAAI,EAAE;KACxF,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,CAAC,OAAe,EAAE,EAAE;QAC5C,MAAM,WAAW,GAAG;YAClB,EAAE,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC;YAC/B,OAAO;YACP,MAAM,EAAE,MAAe;SACxB,CAAC;QACF,WAAW,CAAC,CAAC,GAAG,QAAQ,EAAE,WAAW,CAAC,CAAC,CAAC;QAExC,UAAU,CAAC,GAAG,EAAE;YACd,MAAM,SAAS,GAAG;gBAChB,EAAE,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC;gBAC/B,OAAO,EAAE,oDAAoD;gBAC7D,MAAM,EAAE,IAAa;aACtB,CAAC;YACF,WAAW,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC;QAC9C,CAAC,EAAE,GAAG,CAAC,CAAC;IACV,CAAC,CAAC;IAEF,OAAO,CACL,cAAK,SAAS,EAAC,oCAAoC,YACjD,cAAK,SAAS,EAAC,wBAAwB,YACrC,MAAC,aAAa,eACZ,cAAK,SAAS,EAAC,sCAAsC,YAClD,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CACzB,KAAC,WAAW,IAAkB,OAAO,EAAE,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,IAA5D,OAAO,CAAC,EAAE,CAAsD,CACnF,CAAC,GACE,EACN,cAAK,SAAS,EAAC,oCAAoC,YACjD,KAAC,SAAS,IAAC,aAAa,EAAE,iBAAiB,GAAI,GAC3C,IACQ,GACZ,GACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatContainer.d.ts","sourceRoot":"","sources":["../../../../../../../src/elements/AI/Chat/variations/01-basic/layout/ChatContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CAM7D"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
export function ChatContainer({ children }) {
|
|
3
|
-
return (_jsx("div", { className: "flex flex-col h-full bg-background-800 border border-background-700 rounded-md overflow-hidden", children: children }));
|
|
4
|
-
}
|
|
5
|
-
//# sourceMappingURL=ChatContainer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatContainer.js","sourceRoot":"","sources":["../../../../../../../src/elements/AI/Chat/variations/01-basic/layout/ChatContainer.tsx"],"names":[],"mappings":";AAMA,MAAM,UAAU,aAAa,CAAC,EAAE,QAAQ,EAAsB;IAC5D,OAAO,CACL,cAAK,SAAS,EAAC,gGAAgG,YAC5G,QAAQ,GACL,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatInput.d.ts","sourceRoot":"","sources":["../../../../../../../src/elements/AI/Chat/variations/01-basic/layout/ChatInput.tsx"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACtB,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C;AAED,wBAAgB,SAAS,CAAC,EAAE,aAAa,EAAE,EAAE,cAAc,2CA4B1D"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useState } from 'react';
|
|
3
|
-
export function ChatInput({ onSendMessage }) {
|
|
4
|
-
const [input, setInput] = useState('');
|
|
5
|
-
const handleSubmit = (e) => {
|
|
6
|
-
e.preventDefault();
|
|
7
|
-
if (input.trim()) {
|
|
8
|
-
onSendMessage(input);
|
|
9
|
-
setInput('');
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
return (_jsxs("form", { onSubmit: handleSubmit, className: "flex gap-2", children: [_jsx("input", { type: "text", value: input, onChange: (e) => setInput(e.target.value), placeholder: "Type a message...", className: "flex-1 bg-background-700 border border-background-600 rounded px-3 py-2 text-sm text-foreground-50 placeholder-foreground-400 focus:outline-none focus:border-accent-500" }), _jsx("button", { type: "submit", className: "px-4 py-2 bg-accent-500 text-foreground-50 rounded font-medium hover:bg-accent-600 transition-colors text-sm", children: "Send" })] }));
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=ChatInput.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatInput.js","sourceRoot":"","sources":["../../../../../../../src/elements/AI/Chat/variations/01-basic/layout/ChatInput.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAMxC,MAAM,UAAU,SAAS,CAAC,EAAE,aAAa,EAAkB;IACzD,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAC;IAEvC,MAAM,YAAY,GAAG,CAAC,CAAkB,EAAE,EAAE;QAC1C,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,IAAI,KAAK,CAAC,IAAI,EAAE,EAAE,CAAC;YACjB,aAAa,CAAC,KAAK,CAAC,CAAC;YACrB,QAAQ,CAAC,EAAE,CAAC,CAAC;QACf,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,CACL,gBAAM,QAAQ,EAAE,YAAY,EAAE,SAAS,EAAC,YAAY,aAClD,gBACE,IAAI,EAAC,MAAM,EACX,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EACzC,WAAW,EAAC,mBAAmB,EAC/B,SAAS,EAAC,0KAA0K,GACpL,EACF,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,8GAA8G,qBAGjH,IACJ,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatMessage.d.ts","sourceRoot":"","sources":["../../../../../../../src/elements/AI/Chat/variations/01-basic/layout/ChatMessage.tsx"],"names":[],"mappings":"AAAA,UAAU,gBAAgB;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,gBAAgB,2CAchE"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
export function ChatMessage({ message, sender }) {
|
|
3
|
-
return (_jsx("div", { className: `flex ${sender === 'user' ? 'justify-end' : 'justify-start'}`, children: _jsx("div", { className: `max-w-xs px-4 py-2 rounded-lg text-sm ${sender === 'user'
|
|
4
|
-
? 'bg-accent-500 text-foreground-50'
|
|
5
|
-
: 'bg-background-700 text-foreground-300'}`, children: message }) }));
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=ChatMessage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatMessage.js","sourceRoot":"","sources":["../../../../../../../src/elements/AI/Chat/variations/01-basic/layout/ChatMessage.tsx"],"names":[],"mappings":";AAKA,MAAM,UAAU,WAAW,CAAC,EAAE,OAAO,EAAE,MAAM,EAAoB;IAC/D,OAAO,CACL,cAAK,SAAS,EAAE,QAAQ,MAAM,KAAK,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,EAAE,YAC3E,cACE,SAAS,EAAE,yCACT,MAAM,KAAK,MAAM;gBACf,CAAC,CAAC,kCAAkC;gBACpC,CAAC,CAAC,uCACN,EAAE,YAED,OAAO,GACJ,GACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/elements/AI/Chat/variations/02-with-actions/index.tsx"],"names":[],"mappings":"AAYA,wBAAgB,eAAe,4CAsE9B"}
|