ui-lab-registry 0.3.0 → 0.3.2
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/component-dependencies.d.ts +0 -11
- package/dist/component-dependencies.d.ts.map +1 -1
- package/dist/component-dependencies.js +4 -4
- package/dist/component-dependencies.js.map +1 -1
- package/dist/component-order.js +3 -3
- package/dist/component-order.js.map +1 -1
- package/dist/components/Anchor/index.d.ts +1 -1
- package/dist/components/Anchor/index.d.ts.map +1 -1
- package/dist/components/Anchor/index.js.map +1 -1
- package/dist/components/Badge/index.d.ts +1 -1
- package/dist/components/Badge/index.d.ts.map +1 -1
- package/dist/components/Badge/index.js.map +1 -1
- package/dist/components/Banner/index.d.ts +1 -1
- package/dist/components/Banner/index.d.ts.map +1 -1
- package/dist/components/Banner/index.js.map +1 -1
- package/dist/components/Button/index.d.ts +1 -1
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/index.js.map +1 -1
- package/dist/components/Card/index.d.ts +1 -1
- package/dist/components/Card/index.d.ts.map +1 -1
- package/dist/components/Card/index.js.map +1 -1
- package/dist/components/Checkbox/examples/index.d.ts +4 -4
- package/dist/components/Checkbox/examples/index.d.ts.map +1 -1
- package/dist/components/Checkbox/examples/index.js.map +1 -1
- package/dist/components/Checkbox/index.d.ts +1 -1
- package/dist/components/Checkbox/index.d.ts.map +1 -1
- package/dist/components/Checkbox/index.js.map +1 -1
- package/dist/components/Color/examples/03-format-switching.d.ts +0 -4
- package/dist/components/Color/examples/03-format-switching.d.ts.map +1 -1
- package/dist/components/Color/examples/03-format-switching.js +2 -2
- package/dist/components/Color/examples/03-format-switching.js.map +1 -1
- package/dist/components/Color/examples/index.d.ts +3 -3
- package/dist/components/Color/examples/index.d.ts.map +1 -1
- package/dist/components/Color/examples/index.js.map +1 -1
- package/dist/components/Color/examples.json +0 -5
- package/dist/components/Color/index.d.ts +1 -1
- package/dist/components/Color/index.d.ts.map +1 -1
- package/dist/components/Color/index.js.map +1 -1
- package/dist/components/Command/examples/01-basic-command.js +1 -1
- package/dist/components/Command/examples/01-basic-command.js.map +1 -1
- package/dist/components/Command/examples/index.d.ts +2 -2
- package/dist/components/Command/examples/index.d.ts.map +1 -1
- package/dist/components/Command/examples/index.js.map +1 -1
- package/dist/components/Command/examples.json +1 -1
- package/dist/components/Command/index.d.ts +1 -1
- package/dist/components/Command/index.d.ts.map +1 -1
- package/dist/components/Command/index.js +3 -3
- package/dist/components/Command/index.js.map +1 -1
- package/dist/components/Confirm/examples/index.d.ts +2 -2
- package/dist/components/Confirm/examples/index.d.ts.map +1 -1
- package/dist/components/Confirm/examples/index.js.map +1 -1
- package/dist/components/Confirm/index.d.ts +1 -1
- package/dist/components/Confirm/index.d.ts.map +1 -1
- package/dist/components/Confirm/index.js.map +1 -1
- package/dist/components/Date/index.js.map +1 -1
- package/dist/components/Divider/examples/02-pattern-variants.js +1 -1
- package/dist/components/Divider/examples.json +1 -1
- package/dist/components/Divider/index.d.ts +1 -1
- package/dist/components/Divider/index.d.ts.map +1 -1
- package/dist/components/Divider/index.js.map +1 -1
- package/dist/components/Expand/index.d.ts +1 -1
- package/dist/components/Expand/index.d.ts.map +1 -1
- package/dist/components/Expand/index.js.map +1 -1
- package/dist/components/Flex/index.d.ts +1 -1
- package/dist/components/Flex/index.d.ts.map +1 -1
- package/dist/components/Flex/index.js.map +1 -1
- package/dist/components/Frame/index.d.ts +1 -1
- package/dist/components/Frame/index.d.ts.map +1 -1
- package/dist/components/Frame/index.js.map +1 -1
- package/dist/components/Gallery/index.d.ts +1 -1
- package/dist/components/Gallery/index.d.ts.map +1 -1
- package/dist/components/Gallery/index.js.map +1 -1
- package/dist/components/Grid/examples/01-basic-grid.js +1 -1
- package/dist/components/Grid/examples/01-basic-grid.js.map +1 -1
- package/dist/components/Grid/examples.json +1 -1
- package/dist/components/Grid/index.d.ts +1 -1
- package/dist/components/Grid/index.d.ts.map +1 -1
- package/dist/components/Grid/index.js +2 -2
- package/dist/components/Grid/index.js.map +1 -1
- package/dist/components/Group/index.d.ts +1 -1
- package/dist/components/Group/index.d.ts.map +1 -1
- package/dist/components/Group/index.js.map +1 -1
- package/dist/components/Input/examples/02-validation.js +1 -1
- package/dist/components/Input/examples/02-validation.js.map +1 -1
- package/dist/components/Input/examples.json +1 -1
- package/dist/components/Input/index.d.ts +1 -1
- package/dist/components/Input/index.d.ts.map +1 -1
- package/dist/components/Input/index.js.map +1 -1
- package/dist/components/Label/index.d.ts +1 -1
- package/dist/components/Label/index.d.ts.map +1 -1
- package/dist/components/Label/index.js.map +1 -1
- package/dist/components/List/index.d.ts +1 -1
- package/dist/components/List/index.d.ts.map +1 -1
- package/dist/components/List/index.js.map +1 -1
- package/dist/components/Mask/index.d.ts +1 -1
- package/dist/components/Mask/index.d.ts.map +1 -1
- package/dist/components/Mask/index.js.map +1 -1
- package/dist/components/Menu/index.d.ts +1 -1
- package/dist/components/Menu/index.d.ts.map +1 -1
- package/dist/components/Menu/index.js.map +1 -1
- package/dist/components/Modal/index.d.ts +1 -1
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/components/Modal/index.js.map +1 -1
- package/dist/components/Path/examples.json +0 -5
- package/dist/components/Path/index.d.ts +1 -1
- package/dist/components/Path/index.d.ts.map +1 -1
- package/dist/components/Path/index.js.map +1 -1
- package/dist/components/Popover/index.d.ts +1 -1
- package/dist/components/Popover/index.d.ts.map +1 -1
- package/dist/components/Popover/index.js.map +1 -1
- package/dist/components/Progress/index.d.ts +1 -1
- package/dist/components/Progress/index.d.ts.map +1 -1
- package/dist/components/Progress/index.js.map +1 -1
- package/dist/components/Radio/index.d.ts +1 -1
- package/dist/components/Radio/index.d.ts.map +1 -1
- package/dist/components/Radio/index.js +1 -1
- package/dist/components/Radio/index.js.map +1 -1
- package/dist/components/Scroll/index.d.ts +1 -1
- package/dist/components/Scroll/index.d.ts.map +1 -1
- package/dist/components/Scroll/index.js.map +1 -1
- package/dist/components/Select/examples/02-searchable-select.js +1 -1
- package/dist/components/Select/examples/02-searchable-select.js.map +1 -1
- package/dist/components/Select/examples.json +1 -1
- package/dist/components/Select/index.d.ts +1 -1
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/index.js.map +1 -1
- package/dist/components/Slider/index.d.ts +1 -1
- package/dist/components/Slider/index.d.ts.map +1 -1
- package/dist/components/Slider/index.js.map +1 -1
- package/dist/components/Switch/index.d.ts +1 -1
- package/dist/components/Switch/index.d.ts.map +1 -1
- package/dist/components/Switch/index.js.map +1 -1
- package/dist/components/Table/index.d.ts +1 -1
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/Table/index.js.map +1 -1
- package/dist/components/Tabs/examples/01-basic-tabs.js +2 -2
- package/dist/components/Tabs/examples/01-basic-tabs.js.map +1 -1
- package/dist/components/Tabs/examples/02-vertical-tabs.js +2 -2
- package/dist/components/Tabs/examples/02-vertical-tabs.js.map +1 -1
- package/dist/components/Tabs/examples.json +2 -2
- package/dist/components/Tabs/index.d.ts +1 -1
- package/dist/components/Tabs/index.d.ts.map +1 -1
- package/dist/components/Tabs/index.js +11 -11
- package/dist/components/Tabs/index.js.map +1 -1
- package/dist/components/Textarea/index.d.ts +1 -1
- package/dist/components/Textarea/index.d.ts.map +1 -1
- package/dist/components/Textarea/index.js.map +1 -1
- package/dist/components/Toast/index.d.ts +1 -1
- package/dist/components/Toast/index.d.ts.map +1 -1
- package/dist/components/Toast/index.js.map +1 -1
- package/dist/components/Tooltip/index.d.ts +1 -1
- package/dist/components/Tooltip/index.d.ts.map +1 -1
- package/dist/components/Tooltip/index.js.map +1 -1
- package/dist/elements/AI/AIChatInput/index.d.ts +1 -1
- package/dist/elements/AI/AIChatInput/index.d.ts.map +1 -1
- package/dist/elements/AI/AIChatInput/index.js +1 -1
- package/dist/elements/AI/AIChatInput/variations/01-basic/index.js.map +1 -1
- package/dist/elements/AI/AIChatInput/variations/02-with-suggestions/index.js +1 -1
- package/dist/elements/AI/AIChatInput/variations/02-with-suggestions/index.js.map +1 -1
- package/dist/elements/AI/AIChatInput/variations/02-with-suggestions/layout/PromptInputWithSuggestions.js +1 -1
- package/dist/elements/AI/AIChatInput/variations.json +3 -3
- package/dist/elements/AI/ChainOfThought/index.d.ts +1 -1
- package/dist/elements/AI/ChainOfThought/index.d.ts.map +1 -1
- package/dist/elements/AI/ChainOfThought/index.js +1 -1
- package/dist/elements/AI/ChainOfThought/variations/01-basic/index.js.map +1 -1
- package/dist/elements/AI/ChainOfThought/variations/02-with-details/index.js.map +1 -1
- package/dist/elements/AI/ChainOfThought/variations.json +2 -2
- package/dist/elements/AI/Chat/index.d.ts +1 -1
- package/dist/elements/AI/Chat/index.d.ts.map +1 -1
- package/dist/elements/AI/Chat/index.js +1 -1
- package/dist/elements/AI/Chat/variations/01-basic/index.js.map +1 -1
- package/dist/elements/AI/Chat/variations/02-with-actions/index.js +1 -1
- package/dist/elements/AI/Chat/variations/02-with-actions/index.js.map +1 -1
- package/dist/elements/AI/Chat/variations.json +2 -2
- package/dist/elements/Documentation/CopyPage/index.d.ts +1 -1
- package/dist/elements/Documentation/CopyPage/index.d.ts.map +1 -1
- package/dist/elements/Documentation/CopyPage/index.js +1 -1
- package/dist/elements/Documentation/CopyPage/variations/01-basic/index.js.map +1 -1
- package/dist/elements/Documentation/CopyPage/variations/02-with-success/index.js.map +1 -1
- package/dist/elements/Documentation/CopyPage/variations.json +2 -2
- package/dist/elements/Documentation/NextArticle/index.d.ts +1 -1
- package/dist/elements/Documentation/NextArticle/index.d.ts.map +1 -1
- package/dist/elements/Documentation/NextArticle/index.js +1 -1
- package/dist/elements/Documentation/NextArticle/variations/01-basic/index.js.map +1 -1
- package/dist/elements/Documentation/NextArticle/variations/01-basic/layout/NextArticleCard.js +1 -1
- package/dist/elements/Documentation/NextArticle/variations/02-with-icon/index.js.map +1 -1
- package/dist/elements/Documentation/NextArticle/variations/02-with-icon/layout/NextArticleWithIconCard.js +1 -1
- package/dist/elements/Documentation/NextArticle/variations.json +4 -4
- package/dist/elements/Documentation/TOC/index.d.ts +1 -1
- package/dist/elements/Documentation/TOC/index.d.ts.map +1 -1
- package/dist/elements/Documentation/TOC/index.js +1 -1
- package/dist/elements/Documentation/TOC/variations/01-basic/index.js.map +1 -1
- package/dist/elements/Documentation/TOC/variations/02-expanded/index.js.map +1 -1
- package/dist/elements/Documentation/TOC/variations.json +2 -2
- package/dist/elements/Elements/Carousel/index.d.ts +1 -1
- package/dist/elements/Elements/Carousel/index.d.ts.map +1 -1
- package/dist/elements/Elements/Rating/index.d.ts +1 -1
- package/dist/elements/Elements/Rating/index.d.ts.map +1 -1
- package/dist/elements/Elements/Timeline/index.d.ts +1 -1
- package/dist/elements/Elements/Timeline/index.d.ts.map +1 -1
- package/dist/elements/Elements/TreeView/index.d.ts +1 -1
- package/dist/elements/Elements/TreeView/index.d.ts.map +1 -1
- package/dist/elements/categories.d.ts +1 -1
- package/dist/elements/categories.d.ts.map +1 -1
- package/dist/elements/foundation/Header/index.d.ts +1 -1
- package/dist/elements/foundation/Header/index.d.ts.map +1 -1
- package/dist/elements/foundation/Header/variations/01-basic/index.js.map +1 -1
- package/dist/elements/foundation/Header/variations.json +1 -1
- package/dist/elements/foundation/Page/index.d.ts +1 -1
- package/dist/elements/foundation/Page/index.d.ts.map +1 -1
- package/dist/elements/foundation/Page/variations/01-basic/index.js.map +1 -1
- package/dist/elements/foundation/Page/variations.json +1 -1
- package/dist/elements/foundation/Sidebar/index.d.ts +1 -1
- package/dist/elements/foundation/Sidebar/index.d.ts.map +1 -1
- package/dist/elements/foundation/Sidebar/variations/01-basic/index.js.map +1 -1
- package/dist/elements/foundation/Sidebar/variations.json +1 -1
- package/dist/generated-controls.d.ts +3 -0
- package/dist/generated-controls.d.ts.map +1 -0
- package/dist/generated-controls.js +161 -0
- package/dist/generated-controls.js.map +1 -0
- package/dist/generated-data.d.ts.map +1 -1
- package/dist/generated-data.js +214 -948
- package/dist/generated-data.js.map +1 -1
- package/dist/generated-styles.d.ts.map +1 -1
- package/dist/generated-styles.js +177 -69
- package/dist/generated-styles.js.map +1 -1
- package/dist/generated-styles.json +177 -69
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/patterns/data/data-table-row/metadata.json +3 -3
- package/dist/patterns/data/data-table-row/variations/expandable/index.js +1 -1
- package/dist/patterns/data/data-table-row/variations/main/index.js +1 -1
- package/dist/patterns/data/data-table-row/variations/selectable/index.js +1 -1
- package/dist/patterns/data/progress-metric/metadata.json +3 -3
- package/dist/patterns/data/progress-metric/variations/colored/index.js +1 -1
- package/dist/patterns/data/progress-metric/variations/main/index.js +1 -1
- package/dist/patterns/data/progress-metric/variations/stacked/index.js +1 -1
- package/dist/patterns/form/labeled-field/metadata.json +4 -4
- package/dist/patterns/form/labeled-field/variations/main/index.js +1 -1
- package/dist/patterns/form/labeled-field/variations/with-error/index.js +1 -1
- package/dist/patterns/form/labeled-field/variations/with-hint/index.js +1 -1
- package/dist/patterns/form/select-row/metadata.json +2 -2
- package/dist/patterns/form/select-row/variations/main/index.js +1 -1
- package/dist/patterns/form/select-row/variations/with-icon/index.js +1 -1
- package/dist/patterns/form/toggle-setting-row/metadata.json +2 -2
- package/dist/patterns/form/toggle-setting-row/variations/destructive/index.js +1 -1
- package/dist/patterns/form/toggle-setting-row/variations/main/index.js +1 -1
- package/dist/patterns/interaction/icon-action-bar/variations/compact/index.js +1 -1
- package/dist/patterns/layout/media-object/metadata.json +1 -1
- package/dist/patterns/layout/media-object/variations/sm/index.js +1 -1
- package/dist/patterns/layout/split-row/metadata.json +3 -3
- package/dist/patterns/layout/split-row/variations/actions/index.js +1 -1
- package/dist/patterns/layout/split-row/variations/main/index.js +1 -1
- package/dist/patterns/layout/split-row/variations/meta/index.js +1 -1
- package/dist/patterns/layout/stat-block/metadata.json +3 -3
- package/dist/patterns/layout/stat-block/variations/compact/index.js +1 -1
- package/dist/patterns/layout/stat-block/variations/main/index.js +1 -1
- package/dist/patterns/layout/stat-block/variations/with-icon/index.js +1 -1
- package/dist/providers/Theme/examples/01-provider-setup.d.ts +1 -1
- package/dist/providers/Theme/examples/index.d.ts +3 -3
- package/dist/providers/Theme/examples/index.d.ts.map +1 -1
- package/dist/providers/Theme/examples/index.js.map +1 -1
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +18 -28
- package/dist/registry.js.map +1 -1
- package/dist/sections/CTA/index.d.ts +1 -1
- package/dist/sections/CTA/index.d.ts.map +1 -1
- package/dist/sections/CTA/variations/02-split/index.js +1 -1
- package/dist/sections/CTA/variations.json +1 -1
- package/dist/sections/Features/index.d.ts +1 -1
- package/dist/sections/Features/index.d.ts.map +1 -1
- package/dist/sections/Hero/index.d.ts +1 -1
- package/dist/sections/Hero/index.d.ts.map +1 -1
- package/dist/sections/Pricing/index.d.ts +1 -1
- package/dist/sections/Pricing/index.d.ts.map +1 -1
- package/dist/sections/Pricing/variations/01-cards/index.js +1 -1
- package/dist/sections/Pricing/variations/02-comparison/index.js +1 -1
- package/dist/sections/Pricing/variations.json +2 -2
- package/dist/sections/Testimonials/index.d.ts +1 -1
- package/dist/sections/Testimonials/index.d.ts.map +1 -1
- package/dist/sections/categories.d.ts +0 -11
- package/dist/sections/categories.d.ts.map +1 -1
- package/dist/sections/categories.js +2 -2
- package/dist/sections/categories.js.map +1 -1
- package/dist/starters/Astro/index.d.ts +1 -1
- package/dist/starters/Astro/index.d.ts.map +1 -1
- package/dist/starters/Blog/index.d.ts +1 -1
- package/dist/starters/Blog/index.d.ts.map +1 -1
- package/dist/starters/CRM/index.d.ts +1 -1
- package/dist/starters/CRM/index.d.ts.map +1 -1
- package/dist/starters/Documentation/index.d.ts +1 -1
- package/dist/starters/Documentation/index.d.ts.map +1 -1
- package/dist/starters/NextJS/index.d.ts +1 -1
- package/dist/starters/NextJS/index.d.ts.map +1 -1
- package/dist/starters/NextJS/index.js +1 -1
- package/dist/starters/Productivity/index.d.ts +1 -1
- package/dist/starters/Productivity/index.d.ts.map +1 -1
- package/dist/starters/Tauri/index.d.ts +1 -1
- package/dist/starters/Tauri/index.d.ts.map +1 -1
- package/dist/starters/Vite/index.d.ts +1 -1
- package/dist/starters/Vite/index.d.ts.map +1 -1
- package/dist/types.d.ts +0 -6
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/get-category-icon.d.ts +1 -1
- package/dist/utils/get-category-icon.d.ts.map +1 -1
- package/dist/utils/load-component-examples.d.ts +3 -2
- package/dist/utils/load-component-examples.d.ts.map +1 -1
- package/package.json +3 -7
- package/src/component-dependencies.ts +4 -4
- package/src/component-order.ts +3 -3
- package/src/components/Anchor/index.tsx +2 -2
- package/src/components/Anchor/metadata.json +1 -1
- package/src/components/Badge/index.tsx +2 -2
- package/src/components/Banner/index.tsx +2 -2
- package/src/components/Banner/metadata.json +1 -1
- package/src/components/Button/index.tsx +2 -2
- package/src/components/Card/index.tsx +2 -2
- package/src/components/Card/metadata.json +1 -1
- package/src/components/Checkbox/examples/index.ts +4 -4
- package/src/components/Checkbox/index.tsx +2 -2
- package/src/components/Code/metadata.json +1 -1
- package/src/components/Color/examples/03-format-switching.tsx +3 -3
- package/src/components/Color/examples/index.ts +3 -3
- package/src/components/Color/examples.json +0 -5
- package/src/components/Color/index.tsx +2 -2
- package/src/components/Command/examples/01-basic-command.tsx +1 -1
- package/src/components/Command/examples/index.ts +2 -2
- package/src/components/Command/examples.json +1 -1
- package/src/components/Command/index.tsx +5 -5
- package/src/components/Confirm/examples/index.ts +2 -2
- package/src/components/Confirm/index.tsx +2 -2
- package/src/components/Date/index.tsx +1 -1
- package/src/components/Date/metadata.json +1 -1
- package/src/components/Divider/examples/02-pattern-variants.tsx +3 -3
- package/src/components/Divider/examples.json +1 -1
- package/src/components/Divider/index.tsx +2 -2
- package/src/components/Expand/index.tsx +2 -2
- package/src/components/Flex/index.tsx +2 -2
- package/src/components/Flex/metadata.json +1 -1
- package/src/components/Frame/index.tsx +2 -2
- package/src/components/Gallery/index.tsx +2 -2
- package/src/components/Gallery/metadata.json +1 -1
- package/src/components/Grid/examples/01-basic-grid.tsx +1 -1
- package/src/components/Grid/examples.json +1 -1
- package/src/components/Grid/index.tsx +5 -5
- package/src/components/Group/index.tsx +2 -2
- package/src/components/Group/metadata.json +1 -1
- package/src/components/Input/examples/02-validation.tsx +2 -2
- package/src/components/Input/examples.json +1 -1
- package/src/components/Input/index.tsx +2 -2
- package/src/components/Label/index.tsx +2 -2
- package/src/components/List/index.tsx +2 -2
- package/src/components/List/metadata.json +1 -1
- package/src/components/Mask/index.tsx +2 -2
- package/src/components/Menu/index.tsx +2 -2
- package/src/components/Modal/index.tsx +2 -2
- package/src/components/Page/metadata.json +1 -1
- package/src/components/Panel/metadata.json +2 -2
- package/src/components/Path/examples.json +0 -5
- package/src/components/Path/index.tsx +2 -2
- package/src/components/Popover/index.tsx +2 -2
- package/src/components/Progress/index.tsx +3 -3
- package/src/components/Radio/index.tsx +5 -5
- package/src/components/Scroll/index.tsx +2 -2
- package/src/components/Select/examples/02-searchable-select.tsx +1 -1
- package/src/components/Select/examples.json +1 -1
- package/src/components/Select/index.tsx +2 -2
- package/src/components/Slider/index.tsx +2 -2
- package/src/components/Switch/index.tsx +2 -2
- package/src/components/Table/index.tsx +2 -2
- package/src/components/Tabs/examples/01-basic-tabs.tsx +12 -12
- package/src/components/Tabs/examples/02-vertical-tabs.tsx +19 -19
- package/src/components/Tabs/examples.json +2 -2
- package/src/components/Tabs/index.tsx +47 -47
- package/src/components/Textarea/index.tsx +2 -2
- package/src/components/Toast/index.tsx +2 -2
- package/src/components/Tooltip/index.tsx +2 -2
- package/src/elements/AI/AIChatInput/index.tsx +3 -3
- package/src/elements/AI/AIChatInput/variations/01-basic/index.tsx +1 -1
- package/src/elements/AI/AIChatInput/variations/02-with-suggestions/index.tsx +2 -2
- package/src/elements/AI/AIChatInput/variations/02-with-suggestions/layout/PromptInputWithSuggestions.tsx +1 -1
- package/src/elements/AI/AIChatInput/variations.json +3 -3
- package/src/elements/AI/ChainOfThought/index.tsx +2 -2
- package/src/elements/AI/ChainOfThought/variations/01-basic/index.tsx +1 -1
- package/src/elements/AI/ChainOfThought/variations/02-with-details/index.tsx +1 -1
- package/src/elements/AI/ChainOfThought/variations.json +2 -2
- package/src/elements/AI/Chat/index.tsx +5 -5
- package/src/elements/AI/Chat/variations/01-basic/index.tsx +3 -3
- package/src/elements/AI/Chat/variations/02-with-actions/index.tsx +6 -6
- package/src/elements/AI/Chat/variations.json +2 -2
- package/src/elements/Documentation/CopyPage/index.tsx +2 -2
- package/src/elements/Documentation/CopyPage/variations/01-basic/index.tsx +1 -1
- package/src/elements/Documentation/CopyPage/variations/02-with-success/index.tsx +1 -1
- package/src/elements/Documentation/CopyPage/variations.json +2 -2
- package/src/elements/Documentation/NextArticle/index.tsx +2 -2
- package/src/elements/Documentation/NextArticle/variations/01-basic/index.tsx +1 -1
- package/src/elements/Documentation/NextArticle/variations/01-basic/layout/NextArticleCard.tsx +1 -1
- package/src/elements/Documentation/NextArticle/variations/02-with-icon/index.tsx +1 -1
- package/src/elements/Documentation/NextArticle/variations/02-with-icon/layout/NextArticleWithIconCard.tsx +1 -1
- package/src/elements/Documentation/NextArticle/variations.json +4 -4
- package/src/elements/Documentation/TOC/index.tsx +5 -5
- package/src/elements/Documentation/TOC/variations/01-basic/index.tsx +1 -1
- package/src/elements/Documentation/TOC/variations/02-expanded/index.tsx +1 -1
- package/src/elements/Documentation/TOC/variations.json +2 -2
- package/src/elements/Elements/Carousel/index.tsx +1 -1
- package/src/elements/Elements/Rating/index.tsx +1 -1
- package/src/elements/Elements/Timeline/index.tsx +1 -1
- package/src/elements/Elements/TreeView/index.tsx +1 -1
- package/src/elements/categories.ts +1 -1
- package/src/elements/foundation/Header/index.tsx +1 -1
- package/src/elements/foundation/Header/variations/01-basic/index.tsx +1 -1
- package/src/elements/foundation/Header/variations.json +1 -1
- package/src/elements/foundation/Page/index.tsx +1 -1
- package/src/elements/foundation/Page/variations/01-basic/index.tsx +1 -1
- package/src/elements/foundation/Page/variations.json +1 -1
- package/src/elements/foundation/Sidebar/index.tsx +1 -1
- package/src/elements/foundation/Sidebar/variations/01-basic/index.tsx +1 -1
- package/src/elements/foundation/Sidebar/variations.json +1 -1
- package/src/generated-controls.ts +194 -0
- package/src/generated-data.ts +214 -948
- package/src/generated-styles.ts +177 -69
- package/src/index.ts +1 -0
- package/src/patterns/data/data-table-row/metadata.json +4 -4
- package/src/patterns/data/data-table-row/variations/expandable/index.tsx +3 -3
- package/src/patterns/data/data-table-row/variations/main/index.tsx +2 -2
- package/src/patterns/data/data-table-row/variations/selectable/index.tsx +2 -2
- package/src/patterns/data/progress-metric/metadata.json +4 -4
- package/src/patterns/data/progress-metric/variations/colored/index.tsx +2 -2
- package/src/patterns/data/progress-metric/variations/main/index.tsx +2 -2
- package/src/patterns/data/progress-metric/variations/stacked/index.tsx +2 -2
- package/src/patterns/form/labeled-field/metadata.json +5 -5
- package/src/patterns/form/labeled-field/variations/main/index.tsx +1 -1
- package/src/patterns/form/labeled-field/variations/with-error/index.tsx +1 -1
- package/src/patterns/form/labeled-field/variations/with-hint/index.tsx +1 -1
- package/src/patterns/form/select-row/metadata.json +3 -3
- package/src/patterns/form/select-row/variations/main/index.tsx +1 -1
- package/src/patterns/form/select-row/variations/with-icon/index.tsx +1 -1
- package/src/patterns/form/toggle-setting-row/metadata.json +3 -3
- package/src/patterns/form/toggle-setting-row/variations/destructive/index.tsx +1 -1
- package/src/patterns/form/toggle-setting-row/variations/main/index.tsx +1 -1
- package/src/patterns/interaction/icon-action-bar/variations/compact/index.tsx +1 -1
- package/src/patterns/layout/media-object/metadata.json +2 -2
- package/src/patterns/layout/media-object/variations/sm/index.tsx +2 -2
- package/src/patterns/layout/split-row/metadata.json +4 -4
- package/src/patterns/layout/split-row/variations/actions/index.tsx +1 -1
- package/src/patterns/layout/split-row/variations/main/index.tsx +2 -2
- package/src/patterns/layout/split-row/variations/meta/index.tsx +3 -3
- package/src/patterns/layout/stat-block/metadata.json +4 -4
- package/src/patterns/layout/stat-block/variations/compact/index.tsx +1 -1
- package/src/patterns/layout/stat-block/variations/main/index.tsx +1 -1
- package/src/patterns/layout/stat-block/variations/with-icon/index.tsx +1 -1
- package/src/registry.ts +18 -28
- package/src/sections/CTA/index.tsx +1 -1
- package/src/sections/CTA/variations/02-split/index.tsx +1 -1
- package/src/sections/CTA/variations.json +1 -1
- package/src/sections/Features/index.tsx +1 -1
- package/src/sections/Hero/index.tsx +1 -1
- package/src/sections/Pricing/index.tsx +1 -1
- package/src/sections/Pricing/variations/01-cards/index.tsx +1 -1
- package/src/sections/Pricing/variations/02-comparison/index.tsx +1 -1
- package/src/sections/Pricing/variations.json +2 -2
- package/src/sections/Testimonials/index.tsx +1 -1
- package/src/sections/categories.ts +2 -2
- package/src/starters/Astro/index.tsx +1 -1
- package/src/starters/Blog/index.tsx +1 -1
- package/src/starters/CRM/index.tsx +1 -1
- package/src/starters/Documentation/index.tsx +1 -1
- package/src/starters/NextJS/index.tsx +3 -3
- package/src/starters/Productivity/index.tsx +1 -1
- package/src/starters/Tauri/index.tsx +1 -1
- package/src/starters/Vite/index.tsx +1 -1
- package/src/types.ts +1 -2
- package/src/utils/get-category-icon.tsx +1 -1
- package/src/utils/load-component-examples.ts +2 -2
- package/dist/components/Button/examples/02-joined-toggle-buttons.d.ts +0 -6
- package/dist/components/Button/examples/02-joined-toggle-buttons.d.ts.map +0 -1
- package/dist/components/Button/examples/02-joined-toggle-buttons.js +0 -15
- package/dist/components/Button/examples/02-joined-toggle-buttons.js.map +0 -1
- package/dist/components/Button/examples/03-split-action-button.d.ts +0 -6
- package/dist/components/Button/examples/03-split-action-button.d.ts.map +0 -1
- package/dist/components/Button/examples/03-split-action-button.js +0 -11
- package/dist/components/Button/examples/03-split-action-button.js.map +0 -1
- package/dist/components/Button/examples/04-toolbar-buttons.d.ts +0 -6
- package/dist/components/Button/examples/04-toolbar-buttons.d.ts.map +0 -1
- package/dist/components/Button/examples/04-toolbar-buttons.js +0 -11
- package/dist/components/Button/examples/04-toolbar-buttons.js.map +0 -1
- package/dist/components/Button/examples/05-pagination-controls.d.ts +0 -6
- package/dist/components/Button/examples/05-pagination-controls.d.ts.map +0 -1
- package/dist/components/Button/examples/05-pagination-controls.js +0 -16
- package/dist/components/Button/examples/05-pagination-controls.js.map +0 -1
- package/dist/components/Card/examples/02-user-profile-card.d.ts +0 -6
- package/dist/components/Card/examples/02-user-profile-card.d.ts.map +0 -1
- package/dist/components/Card/examples/02-user-profile-card.js +0 -12
- package/dist/components/Card/examples/02-user-profile-card.js.map +0 -1
- package/dist/components/Card/examples/03-settings-panel-card.d.ts +0 -6
- package/dist/components/Card/examples/03-settings-panel-card.d.ts.map +0 -1
- package/dist/components/Card/examples/03-settings-panel-card.js +0 -17
- package/dist/components/Card/examples/03-settings-panel-card.js.map +0 -1
- package/dist/components/Card/examples/04-task-progress-card.d.ts +0 -6
- package/dist/components/Card/examples/04-task-progress-card.d.ts.map +0 -1
- package/dist/components/Card/examples/04-task-progress-card.js +0 -12
- package/dist/components/Card/examples/04-task-progress-card.js.map +0 -1
- package/dist/components/Card/examples/05-data-summary-card.d.ts +0 -6
- package/dist/components/Card/examples/05-data-summary-card.d.ts.map +0 -1
- package/dist/components/Card/examples/05-data-summary-card.js +0 -12
- package/dist/components/Card/examples/05-data-summary-card.js.map +0 -1
- package/dist/components/CodeBlock/index.d.ts +0 -3
- package/dist/components/CodeBlock/index.d.ts.map +0 -1
- package/dist/components/CodeBlock/index.js +0 -58
- package/dist/components/CodeBlock/index.js.map +0 -1
- package/dist/components/Fold/examples/01-basic-fold.d.ts +0 -6
- package/dist/components/Fold/examples/01-basic-fold.d.ts.map +0 -1
- package/dist/components/Fold/examples/01-basic-fold.js +0 -11
- package/dist/components/Fold/examples/01-basic-fold.js.map +0 -1
- package/dist/components/Fold/examples/index.d.ts +0 -3
- package/dist/components/Fold/examples/index.d.ts.map +0 -1
- package/dist/components/Fold/examples/index.js +0 -4
- package/dist/components/Fold/examples/index.js.map +0 -1
- package/dist/components/Fold/examples.json +0 -7
- package/dist/components/Fold/index.d.ts +0 -6
- package/dist/components/Fold/index.d.ts.map +0 -1
- package/dist/components/Fold/index.js +0 -68
- package/dist/components/Fold/index.js.map +0 -1
- package/dist/components/Group/examples/02-active-buttons.d.ts +0 -6
- package/dist/components/Group/examples/02-active-buttons.d.ts.map +0 -1
- package/dist/components/Group/examples/02-active-buttons.js +0 -13
- package/dist/components/Group/examples/02-active-buttons.js.map +0 -1
- package/dist/components/Layout/index.d.ts +0 -5
- package/dist/components/Layout/index.d.ts.map +0 -1
- package/dist/components/Layout/index.js +0 -85
- package/dist/components/Layout/index.js.map +0 -1
- package/dist/components/Toast/examples/03-destructive-toast.d.ts +0 -6
- package/dist/components/Toast/examples/03-destructive-toast.d.ts.map +0 -1
- package/dist/components/Toast/examples/03-destructive-toast.js +0 -15
- package/dist/components/Toast/examples/03-destructive-toast.js.map +0 -1
- package/dist/patterns/content/feature-grid/example.d.ts +0 -6
- package/dist/patterns/content/feature-grid/example.d.ts.map +0 -1
- package/dist/patterns/content/feature-grid/example.js +0 -44
- package/dist/patterns/content/feature-grid/example.js.map +0 -1
- package/dist/patterns/content/feature-grid/metadata.json +0 -17
- package/dist/patterns/content/pricing-cards/example.d.ts +0 -6
- package/dist/patterns/content/pricing-cards/example.d.ts.map +0 -1
- package/dist/patterns/content/pricing-cards/example.js +0 -65
- package/dist/patterns/content/pricing-cards/example.js.map +0 -1
- package/dist/patterns/content/pricing-cards/metadata.json +0 -17
- package/dist/patterns/forms/settings-form-layout/example.d.ts +0 -6
- package/dist/patterns/forms/settings-form-layout/example.d.ts.map +0 -1
- package/dist/patterns/forms/settings-form-layout/example.js +0 -11
- package/dist/patterns/forms/settings-form-layout/example.js.map +0 -1
- package/dist/patterns/forms/settings-form-layout/metadata.json +0 -17
- package/dist/patterns/hero-landing/hero-with-cta/example.d.ts +0 -6
- package/dist/patterns/hero-landing/hero-with-cta/example.d.ts.map +0 -1
- package/dist/patterns/hero-landing/hero-with-cta/example.js +0 -11
- package/dist/patterns/hero-landing/hero-with-cta/example.js.map +0 -1
- package/dist/patterns/hero-landing/hero-with-cta/metadata.json +0 -17
- package/dist/patterns/navigation/sticky-header/example.d.ts +0 -6
- package/dist/patterns/navigation/sticky-header/example.d.ts.map +0 -1
- package/dist/patterns/navigation/sticky-header/example.js +0 -12
- package/dist/patterns/navigation/sticky-header/example.js.map +0 -1
- package/dist/patterns/navigation/sticky-header/metadata.json +0 -17
- package/dist/styles.css +0 -2042
- package/src/components/Path/examples/01-basic-breadcrumbs.tsx +0 -17
- package/src/providers/Theme/examples/01-provider-setup.tsx +0 -37
- package/src/providers/Theme/examples/02-toggle-component.tsx +0 -52
- package/src/providers/Theme/examples/03-advanced-patterns.tsx +0 -138
- package/src/providers/Theme/examples/index.ts +0 -3
- package/src/src/generated-styles.ts +0 -1359
|
@@ -13,15 +13,4 @@ export declare const coreNpmDependencies: readonly ["react-aria", "clsx", "class
|
|
|
13
13
|
* Peer dependencies required by the project
|
|
14
14
|
*/
|
|
15
15
|
export declare const corePeerDependencies: readonly ["react", "react-dom"];
|
|
16
|
-
export declare function getComponentDeps(componentId: string): ComponentDeps | undefined;
|
|
17
|
-
export declare function getAllComponentIds(): string[];
|
|
18
|
-
/**
|
|
19
|
-
* Build a reverse mapping from npm packages to the components that use them
|
|
20
|
-
* Used for annotating npm packages in installation plans
|
|
21
|
-
*/
|
|
22
|
-
export declare function buildNpmPackageComponentMap(): Record<string, string[]>;
|
|
23
|
-
/**
|
|
24
|
-
* Get the components that depend on a specific npm package
|
|
25
|
-
*/
|
|
26
|
-
export declare function getComponentsForNpmPackage(npmPackage: string): string[];
|
|
27
16
|
//# sourceMappingURL=component-dependencies.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-dependencies.d.ts","sourceRoot":"","sources":["../src/component-dependencies.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAE/C;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAkC/D,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,mBAAmB,6DAItB,CAAA;AAEV;;GAEG;AACH,eAAO,MAAM,oBAAoB,iCAGvB,CAAA
|
|
1
|
+
{"version":3,"file":"component-dependencies.d.ts","sourceRoot":"","sources":["../src/component-dependencies.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAE/C;;;GAGG;AACH,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAkC/D,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,mBAAmB,6DAItB,CAAA;AAEV;;GAEG;AACH,eAAO,MAAM,oBAAoB,iCAGvB,CAAA"}
|
|
@@ -53,17 +53,17 @@ export const corePeerDependencies = [
|
|
|
53
53
|
'react',
|
|
54
54
|
'react-dom',
|
|
55
55
|
];
|
|
56
|
-
|
|
56
|
+
function getComponentDeps(componentId) {
|
|
57
57
|
return componentDependencies[componentId];
|
|
58
58
|
}
|
|
59
|
-
|
|
59
|
+
function getAllComponentIds() {
|
|
60
60
|
return Object.keys(componentDependencies);
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
63
|
* Build a reverse mapping from npm packages to the components that use them
|
|
64
64
|
* Used for annotating npm packages in installation plans
|
|
65
65
|
*/
|
|
66
|
-
|
|
66
|
+
function buildNpmPackageComponentMap() {
|
|
67
67
|
const map = {};
|
|
68
68
|
Object.entries(componentDependencies).forEach(([componentId, deps]) => {
|
|
69
69
|
deps.npm.forEach(npmPackage => {
|
|
@@ -78,7 +78,7 @@ export function buildNpmPackageComponentMap() {
|
|
|
78
78
|
/**
|
|
79
79
|
* Get the components that depend on a specific npm package
|
|
80
80
|
*/
|
|
81
|
-
|
|
81
|
+
function getComponentsForNpmPackage(npmPackage) {
|
|
82
82
|
return buildNpmPackageComponentMap()[npmPackage] ?? [];
|
|
83
83
|
}
|
|
84
84
|
//# sourceMappingURL=component-dependencies.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-dependencies.js","sourceRoot":"","sources":["../src/component-dependencies.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAkC;IAClE,OAAO,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IAClC,MAAM,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IACjC,QAAQ,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IACnC,MAAM,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IACjC,UAAU,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE;IAC5C,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE;IACpE,SAAS,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,CAAC,EAAE;IAC7D,SAAS,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IACpC,MAAM,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IACjC,QAAQ,EAAE,EAAE,GAAG,EAAE,CAAC,MAAM,EAAE,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACxD,OAAO,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IAClC,MAAM,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,OAAO,E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,CAAA;AAED;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,YAAY;IACZ,MAAM;IACN,0BAA0B;CAClB,CAAA;AAEV;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,OAAO;IACP,WAAW;CACH,CAAA;AAEV,SAAS,gBAAgB,CAAC,WAAmB;IAC3C,OAAO,qBAAqB,CAAC,WAAW,CAAC,CAAA;AAC3C,CAAC;AAED,SAAS,kBAAkB;IACzB,OAAO,MAAM,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAA;AAC3C,CAAC;AAED;;;GAGG;AACH,SAAS,2BAA2B;IAClC,MAAM,GAAG,GAA6B,EAAE,CAAA;IAExC,MAAM,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,WAAW,EAAE,IAAI,CAAC,EAAE,EAAE;QACpE,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE;YAC5B,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC;gBACrB,GAAG,CAAC,UAAU,CAAC,GAAG,EAAE,CAAA;YACtB,CAAC;YACD,GAAG,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAA;QACnC,CAAC,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;IAEF,OAAO,GAAG,CAAA;AACZ,CAAC;AAED;;GAEG;AACH,SAAS,0BAA0B,CAAC,UAAkB;IACpD,OAAO,2BAA2B,EAAE,CAAC,UAAU,CAAC,IAAI,EAAE,CAAA;AACxD,CAAC"}
|
package/dist/component-order.js
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
* Simply move a component to a different position in the array to change its order.
|
|
5
5
|
*/
|
|
6
6
|
export const componentOrder = {
|
|
7
|
-
layout: ['grid', 'flex', 'gallery', 'divider', 'expand', '
|
|
8
|
-
composition: ['group', 'list'
|
|
7
|
+
layout: ['grid', 'flex', 'gallery', 'divider', 'expand', 'panel'],
|
|
8
|
+
composition: ['group', 'list'],
|
|
9
9
|
action: ['button', 'confirm', 'command'],
|
|
10
10
|
input: ['date', 'checkbox', 'color', 'input', 'radio', 'select', 'slider', 'switch', 'textarea'],
|
|
11
11
|
information: ['banner', 'badge', 'label', 'tooltip'],
|
|
12
12
|
feedback: ['popover', 'progress', 'toast'],
|
|
13
13
|
navigation: ['path', 'menu', 'tabs', 'anchor'],
|
|
14
|
-
container: ['page', 'modal', 'scroll', 'mask', 'frame'],
|
|
14
|
+
container: ['page', 'card', 'modal', 'scroll', 'mask', 'frame'],
|
|
15
15
|
display: ['table', 'code'],
|
|
16
16
|
};
|
|
17
17
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-order.js","sourceRoot":"","sources":["../src/component-order.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAwC;IACjE,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"component-order.js","sourceRoot":"","sources":["../src/component-order.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAwC;IACjE,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,CAAC;IACjE,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC;IAC9B,MAAM,EAAE,CAAC,QAAQ,EAAE,SAAS,EAAE,SAAS,CAAC;IACxC,KAAK,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,CAAC;IAChG,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC;IACpD,QAAQ,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,CAAC;IAC1C,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC;IAC9C,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC;IAC/D,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,QAA2B,EAAY,EAAE;IAC5E,OAAO,cAAc,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC;AACxC,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAa,EAAE;IACpD,OAAO,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,IAAI,EAAE,CAAC;AAC9C,CAAC,CAAC"}
|
|
@@ -2,5 +2,5 @@ import { ControlDef, ComponentDetail } from '@/types';
|
|
|
2
2
|
declare const anchorControls: ControlDef[];
|
|
3
3
|
export declare const anchorDetail: ComponentDetail;
|
|
4
4
|
export { anchorControls };
|
|
5
|
-
export * from './examples/index';
|
|
5
|
+
export * from './examples/index.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Anchor/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAStD,QAAA,MAAM,cAAc,EAAE,UAAU,EAAO,CAAC;AAexC,eAAO,MAAM,YAAY,EAAE,eAwC1B,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC;AAC1B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Anchor/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAStD,QAAA,MAAM,cAAc,EAAE,UAAU,EAAO,CAAC;AAexC,eAAO,MAAM,YAAY,EAAE,eAwC1B,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC;AAC1B,cAAc,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Anchor/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAW,MAAM,mBAAmB,CAAC;AAEpD,OAAO,QAAQ,EAAE,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAChF,OAAO,YAAY,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Anchor/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAW,MAAM,mBAAmB,CAAC;AAEpD,OAAO,QAAQ,EAAE,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAChF,OAAO,YAAY,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAE/E,MAAM,YAAY,GAAG;IACnB,EAAE,EAAE,EAAE,iBAAiB,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE;CACpE,CAAC;AAEF,MAAM,cAAc,GAAiB,EAAE,CAAC;AAExC,MAAM,eAAe,GAAG;;;;;;;;;;;EAWtB,CAAC;AAEH,MAAM,CAAC,MAAM,YAAY,GAAoB;IAC3C,EAAE,EAAE,QAAQ;IACZ,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,8EAA8E;IAC3F,QAAQ,EAAE,CACR,eAAK,SAAS,EAAC,+BAA+B,aAC5C,sLAEI,EACJ,2MAEI,IACA,CACP;IACD,QAAQ,EAAE;QACR;YACE,EAAE,EAAE,SAAS;YACb,KAAK,EAAE,SAAS;YAChB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,eAAe;YACrB,OAAO,EAAE,CACP,MAAC,MAAM,2BAEL,KAAC,MAAM,CAAC,OAAO,cACb,cAAK,SAAS,EAAC,SAAS,gCAAsB,GAC/B,IACV,CACV;YACD,QAAQ,EAAE,cAAc;YACxB,aAAa,EAAE,GAAG,EAAE,CAAC,CACnB,MAAC,MAAM,2BAEL,KAAC,MAAM,CAAC,OAAO,cACb,cAAK,SAAS,EAAC,SAAS,gCAAsB,GAC/B,IACV,CACV;SACF;QACD,GAAG,qBAAqB,CAAC,YAAY,EAAE,YAAY,CAAC;KACrD;CACF,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC;AAC1B,cAAc,qBAAqB,CAAC"}
|
|
@@ -2,5 +2,5 @@ import { ControlDef, ComponentDetail } from '@/types';
|
|
|
2
2
|
declare const badgeControls: ControlDef[];
|
|
3
3
|
export declare const badgeDetail: ComponentDetail;
|
|
4
4
|
export { badgeControls };
|
|
5
|
-
export * from './examples/index';
|
|
5
|
+
export * from './examples/index.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAUtD,QAAA,MAAM,aAAa,EAAE,UAAU,EA+B9B,CAAC;AAQF,eAAO,MAAM,WAAW,EAAE,eAkDzB,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAUtD,QAAA,MAAM,aAAa,EAAE,UAAU,EA+B9B,CAAC;AAQF,eAAO,MAAM,WAAW,EAAE,eAkDzB,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,cAAc,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Badge/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG1C,OAAO,QAAQ,EAAE,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,YAAY,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Badge/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG1C,OAAO,QAAQ,EAAE,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,YAAY,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAE/E,MAAM,YAAY,GAAG;IACnB,EAAE,EAAE,EAAE,gBAAgB,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE;CACnE,CAAC;AAEF,MAAM,aAAa,GAAiB;IAClC;QACE,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE;YACP,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;YACtC,EAAE,KAAK,EAAE,SAAS,EAAE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,EACvB,WAAW,EAAE,KAAK,CAAC,WAAW,2BAGxB,CACT;SACF;QACD,GAAG,qBAAqB,CAAC,YAAY,EAAE,YAAY,CAAC;KACrD;IACD,QAAQ,EAAE;QACR;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,0CAA0C;YAChD,OAAO,EAAE,KAAC,KAAK,IAAC,OAAO,EAAC,SAAS,wBAAgB;SAClD;QACD;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,0CAA0C;YAChD,OAAO,EAAE,KAAC,KAAK,IAAC,OAAO,EAAC,SAAS,wBAAgB;SAClD;KACF;CACF,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,cAAc,qBAAqB,CAAC"}
|
|
@@ -2,5 +2,5 @@ import { ControlDef, ComponentDetail } from '@/types';
|
|
|
2
2
|
declare const bannerControls: ControlDef[];
|
|
3
3
|
export declare const bannerDetail: ComponentDetail;
|
|
4
4
|
export { bannerControls };
|
|
5
|
-
export * from './examples/index';
|
|
5
|
+
export * from './examples/index.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAUtD,QAAA,MAAM,cAAc,EAAE,UAAU,EA+B/B,CAAC;AAYF,eAAO,MAAM,YAAY,EAAE,eAwC1B,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC;AAC1B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Banner/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAUtD,QAAA,MAAM,cAAc,EAAE,UAAU,EA+B/B,CAAC;AAYF,eAAO,MAAM,YAAY,EAAE,eAwC1B,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC;AAC1B,cAAc,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Banner/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,OAAO,QAAQ,EAAE,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAChF,OAAO,YAAY,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Banner/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,OAAO,QAAQ,EAAE,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAChF,OAAO,YAAY,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAG/E,MAAM,YAAY,GAAG;IACnB,EAAE,EAAE,EAAE,iBAAiB,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE;CACpE,CAAC;AAEF,MAAM,cAAc,GAAiB;IACnC;QACE,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE;YACP,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;YAChC,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;YAChC,EAAE,KAAK,EAA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AAK,CAAC,IAAW,EACvB,aAAa,EAAE,KAAK,CAAC,WAAW,2BAErB,KAAK,CAAC,OAAO,gBACjB,CACV;SACF;QACD,GAAG,qBAAqB,CAAC,YAAY,EAAE,YAAY,CAAC;KACrD;CACF,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC;AAC1B,cAAc,qBAAqB,CAAC"}
|
|
@@ -2,5 +2,5 @@ import { ControlDef, ComponentDetail } from '@/types';
|
|
|
2
2
|
declare const buttonControls: ControlDef[];
|
|
3
3
|
export declare const buttonDetail: ComponentDetail;
|
|
4
4
|
export { buttonControls };
|
|
5
|
-
export * from './examples/index';
|
|
5
|
+
export * from './examples/index.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAUtD,QAAA,MAAM,cAAc,EAAE,UAAU,EAuC/B,CAAC;AAQF,eAAO,MAAM,YAAY,EAAE,eAkC1B,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC;AAC1B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAUtD,QAAA,MAAM,cAAc,EAAE,UAAU,EAuC/B,CAAC;AAQF,eAAO,MAAM,YAAY,EAAE,eAkC1B,CAAC;AAEF,OAAO,EAAE,cAAc,EAAE,CAAC;AAC1B,cAAc,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,O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,cAAc,qBAAqB,CAAC"}
|
|
@@ -2,5 +2,5 @@ import { ControlDef, ComponentDetail } from '@/types';
|
|
|
2
2
|
declare const cardControls: ControlDef[];
|
|
3
3
|
export declare const cardDetail: ComponentDetail;
|
|
4
4
|
export { cardControls };
|
|
5
|
-
export * from './examples/index';
|
|
5
|
+
export * from './examples/index.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Card/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAStD,QAAA,MAAM,YAAY,EAAE,UAAU,EAAO,CAAC;AAmBtC,eAAO,MAAM,UAAU,EAAE,eAgDxB,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Card/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAStD,QAAA,MAAM,YAAY,EAAE,UAAU,EAAO,CAAC;AAmBtC,eAAO,MAAM,UAAU,EAAE,eAgDxB,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,cAAc,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Card/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,OAAO,QAAQ,EAAE,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAC9E,OAAO,YAAY,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.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AmC,2BAAgB,GACrD,EACd,KAAC,IAAI,CAAC,IAAI,cACR,YAAG,SAAS,EAAC,qBAAqB,yFAE9B,GACM,IACP,CACR;SACF;QACD,GAAG,qBAAqB,CAAC,YAAY,EAAE,YAAY,CAAC;KACrD;CACF,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,cAAc,qBAAqB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { default as Example1 } from './01-basic-checkbox';
|
|
2
|
-
export { metadata as metadata1 } from './01-basic-checkbox';
|
|
3
|
-
export { default as Example2 } from './02-checkbox-group-with-descriptions';
|
|
4
|
-
export { metadata as metadata2 } from './02-checkbox-group-with-descriptions';
|
|
1
|
+
export { default as Example1 } from './01-basic-checkbox.js';
|
|
2
|
+
export { metadata as metadata1 } from './01-basic-checkbox.js';
|
|
3
|
+
export { default as Example2 } from './02-checkbox-group-with-descriptions.js';
|
|
4
|
+
export { metadata as metadata2 } from './02-checkbox-group-with-descriptions.js';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/examples/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/examples/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAE/D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,0CAA0C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Checkbox/examples/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Checkbox/examples/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAE/D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,0CAA0C,CAAC;AAC/E,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,0CAA0C,CAAC"}
|
|
@@ -2,5 +2,5 @@ import { ControlDef, ComponentDetail } from '@/types';
|
|
|
2
2
|
declare const checkboxControls: ControlDef[];
|
|
3
3
|
export declare const checkboxDetail: ComponentDetail;
|
|
4
4
|
export { checkboxControls };
|
|
5
|
-
export * from './examples/index';
|
|
5
|
+
export * from './examples/index.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAYtD,QAAA,MAAM,gBAAgB,EAAE,UAAU,EAoCjC,CAAC;AAQF,eAAO,MAAM,cAAc,EAAE,eAkD5B,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC5B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAYtD,QAAA,MAAM,gBAAgB,EAAE,UAAU,EAoCjC,CAAC;AAQF,eAAO,MAAM,cAAc,EAAE,eAkD5B,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC5B,cAAc,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Checkbox/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,OAAO,QAAQ,EAAE,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,QAAQ,EAAE,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,mDAAmD,CAAC;AACpG,OAAO,YAAY,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Checkbox/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,OAAO,QAAQ,EAAE,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,QAAQ,EAAE,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,mDAAmD,CAAC;AACpG,OAAO,YAAY,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAG/E,MAAM,YAAY,GAAG;IACnB,EAAE,EAAE,EAAE,mBAAmB,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE;IACrE,EAAE,EAAE,EAAE,qCAAqC,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE;CACxF,CAAC;AAEF,MAAM,gBAAgB,GAAiB;IACrC;QACE,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,MAAM;QACb,IAAI,EAAE,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W,EACvB,OAAO,EAAE,KAAK,CAAC,OAAO,IAAI,KAAK,EAC/B,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,mBAAmB,CAAC,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,EACvE,QAAQ,EAAE,KAAK,CAAC,QAAQ,EACxB,KAAK,EAAE,KAAK,CAAC,KAAK,GAClB,CACH;SACF;QACD,GAAG,qBAAqB,CAAC,YAAY,EAAE,YAAY,CAAC;KACrD;IACD,QAAQ,EAAE;QACR;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,8BAA8B;YAC3C,IAAI,EAAE,iBAAiB;YACvB,OAAO,EAAE,KAAC,QAAQ,IAAC,KAAK,EAAC,6BAA6B,GAAG;SAC1D;QACD;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,sDAAsD;YAC5D,OAAO,EAAE,KAAC,QAAQ,IAAC,KAAK,EAAC,kBAAkB,EAAC,cAAc,SAAG;SAC9D;KACF;CACF,CAAC;AAEF,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC5B,cAAc,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"03-format-switching.d.ts","sourceRoot":"","sources":["../../../../src/components/Color/examples/03-format-switching.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"03-format-switching.d.ts","sourceRoot":"","sources":["../../../../src/components/Color/examples/03-format-switching.tsx"],"names":[],"mappings":"AAQA,MAAM,CAAC,OAAO,UAAU,OAAO,4CAqC9B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
import { Color } from 'ui-lab-components';
|
|
4
|
-
|
|
4
|
+
const metadata = {
|
|
5
5
|
title: 'Format Switching',
|
|
6
6
|
description: 'Color picker with format toggle between hex and RGB to copy colors in different formats.'
|
|
7
7
|
};
|
|
@@ -11,6 +11,6 @@ export default function Example() {
|
|
|
11
11
|
const handleFormatChange = () => {
|
|
12
12
|
setFormat(format === 'hex' ? 'rgb' : 'hex');
|
|
13
13
|
};
|
|
14
|
-
return (_jsxs("div", { className: "p-4 space-y-4", children: [_jsxs("div", { children: [_jsxs("div", { className: "flex items-center justify-between mb-3", children: [_jsxs("p", { className: "text-sm text-foreground-300", children: ["Selected color: ", _jsx("code", { className: "text-accent-500 font-mono", children: color })] }), _jsxs("button", { onClick: handleFormatChange, className: "px-3 py-1 text-
|
|
14
|
+
return (_jsxs("div", { className: "p-4 space-y-4", children: [_jsxs("div", { children: [_jsxs("div", { className: "flex items-center justify-between mb-3", children: [_jsxs("p", { className: "text-sm text-foreground-300", children: ["Selected color: ", _jsx("code", { className: "text-accent-500 font-mono", children: color })] }), _jsxs("button", { onClick: handleFormatChange, className: "px-3 py-1 text-sm bg-foreground-400 hover:bg-foreground-400 text-foreground-100 rounded transition-colors", children: ["Format: ", format.toUpperCase()] })] }), _jsx(Color, { value: color, onChange: setColor, format: format, defaultValue: "#3B82F6" })] }), _jsx("div", { className: "mt-4 p-3 bg-foreground-400 rounded border border-foreground-400", children: _jsxs("p", { className: "text-sm text-foreground-300", children: [_jsx("strong", { children: "Tip:" }), " Click the format button to switch between hex and RGB output formats. This is useful when you need to copy colors in different formats for different contexts."] }) })] }));
|
|
15
15
|
}
|
|
16
16
|
//# sourceMappingURL=03-format-switching.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"03-format-switching.js","sourceRoot":"","sources":["../../../../src/components/Color/examples/03-format-switching.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,MAAM,
|
|
1
|
+
{"version":3,"file":"03-format-switching.js","sourceRoot":"","sources":["../../../../src/components/Color/examples/03-format-switching.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,MAAM,QAAQ,GAAG;IACf,KAAK,EAAE,kBAAkB;IACzB,WAAW,EAAE,0FAA0F;CACxG,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO;IAC7B,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC;IAC9C,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAgB,KAAK,CAAC,CAAC;IAE3D,MAAM,kBAAkB,GAAG,GAAG,EAAE;QAC9B,SAAS,CAAC,MAAM,KAAK,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAC9C,CAAC,CAAC;IAEF,OAAO,CACL,eAAK,SAAS,EAAC,eAAe,aAC5B,0BACE,eAAK,SAAS,EAAC,wCAAwC,aACrD,aAAG,SAAS,EAAC,6BAA6B,iCACxB,eAAM,SAAS,EAAC,2BAA2B,YAAE,KAAK,GAAQ,IACxE,EACJ,kBACE,OAAO,EAAE,kBAAkB,EAC3B,SAAS,EAAC,2GAA2G,yBAE5G,MAAM,CAAC,WAAW,EAAE,IACtB,IACL,EACN,KAAC,KAAK,IACJ,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM,EACd,YAAY,EAAC,SAAS,GACtB,IACE,EACN,cAAK,SAAS,EAAC,iEAAiE,YAC9E,aAAG,SAAS,EAAC,6BAA6B,aACxC,oCAAqB,uKAEnB,GACA,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as BasicColor } from './01-basic-color';
|
|
2
|
-
export { default as OpacitySlider } from './02-opacity-slider';
|
|
3
|
-
export { default as FormatSwitching } from './03-format-switching';
|
|
1
|
+
export { default as BasicColor } from './01-basic-color.js';
|
|
2
|
+
export { default as OpacitySlider } from './02-opacity-slider.js';
|
|
3
|
+
export { default as FormatSwitching } from './03-format-switching.js';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Color/examples/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Color/examples/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Color/examples/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Color/examples/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -8,10 +8,5 @@
|
|
|
8
8
|
"title": "Opacity Slider",
|
|
9
9
|
"description": "Color picker with opacity/alpha slider enabled for transparent color selection.",
|
|
10
10
|
"code": "import React, { useState } from 'react';\nimport { Color } from 'ui-lab-components';\n\nexport default function Example() {\n const [color, setColor] = useState('rgba(106, 90, 205, 0.75)');\n\n return (\n <div className=\"p-4 space-y-4\">\n <div>\n <p className=\"text-sm text-foreground-300 mb-3\">Selected color: <code className=\"text-accent-500 font-mono\">{color}</code></p>\n <Color\n value={color}\n onChange={setColor}\n showOpacity\n format=\"rgb\"\n defaultValue=\"rgba(106, 90, 205, 0.75)\"\n />\n </div>\n </div>\n );\n}"
|
|
11
|
-
},
|
|
12
|
-
"03-format-switching": {
|
|
13
|
-
"title": "Format Switching",
|
|
14
|
-
"description": "Color picker with format toggle between hex and RGB to copy colors in different formats.",
|
|
15
|
-
"code": "import React, { useState } from 'react';\nimport { Color } from 'ui-lab-components';\n\nexport default function Example() {\n const [color, setColor] = useState('#3B82F6');\n const [format, setFormat] = useState<'hex' | 'rgb'>('hex');\n\n const handleFormatChange = () => {\n setFormat(format === 'hex' ? 'rgb' : 'hex');\n };\n\n return (\n <div className=\"p-4 space-y-4\">\n <div>\n <div className=\"flex items-center justify-between mb-3\">\n <p className=\"text-sm text-foreground-300\">\n Selected color: <code className=\"text-accent-500 font-mono\">{color}</code>\n </p>\n <button\n onClick={handleFormatChange}\n className=\"px-3 py-1 text-xs bg-foreground-400 hover:bg-foreground-400 text-foreground-100 rounded transition-colors\"\n >\n Format: {format.toUpperCase()}\n </button>\n </div>\n <Color\n value={color}\n onChange={setColor}\n format={format}\n defaultValue=\"#3B82F6\"\n />\n </div>\n <div className=\"mt-4 p-3 bg-foreground-400 rounded border border-foreground-400\">\n <p className=\"text-xs text-foreground-300\">\n <strong>Tip:</strong> Click the format button to switch between hex and RGB output formats.\n This is useful when you need to copy colors in different formats for different contexts.\n </p>\n </div>\n </div>\n );\n}"
|
|
16
11
|
}
|
|
17
12
|
}
|
|
@@ -2,5 +2,5 @@ import { ControlDef, ComponentDetail } from '@/types';
|
|
|
2
2
|
declare const colorControls: ControlDef[];
|
|
3
3
|
export declare const colorDetail: ComponentDetail;
|
|
4
4
|
export { colorControls };
|
|
5
|
-
export * from './examples/index';
|
|
5
|
+
export * from './examples/index.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Color/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAYtD,QAAA,MAAM,aAAa,EAAE,UAAU,EAkC9B,CAAC;AAWF,eAAO,MAAM,WAAW,EAAE,eA0CzB,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Color/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAYtD,QAAA,MAAM,aAAa,EAAE,UAAU,EAkC9B,CAAC;AAWF,eAAO,MAAM,WAAW,EAAE,eA0CzB,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,cAAc,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Color/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,QAAQ,EAAE,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,QAAQ,EAAE,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,YAAY,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Color/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAm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AAE,UAAU;QAChB,KAAK,EAAE,UAAU;QACjB,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,KAAK;KACpB;CACF,CAAC;AAEF,MAAM,cAAc,GAAG;;;;;;;EAOrB,CAAC;AAEH,MAAM,CAAC,MAAM,WAAW,GAAoB;IAC1C,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,2IAA2I;IACxJ,QAAQ,EAAE,CACR,eAAK,SAAS,EAAC,+BAA+B,aAC5C,oIAEI,EACJ,cAAI,SAAS,EAAC,sCAAsC,aAClD,6EAA0D,EAC1D,iFAAyD,EACzD,6EAA0D,EAC1D,kEAA+C,EAC/C,8EAA2D,EAC3D,sEAAmD,IAChD,EACL,sMAEI,IACA,CACP;IACD,QAAQ,EAAE;QACR;YACE,EAAE,EAAE,SAAS;YACb,KAAK,EAAE,SAAS;YAChB,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,cAAc;YACpB,OAAO,EAAE,KAAC,KAAK,IAAC,YAAY,EAAC,SAAS,GAAG;YACzC,QAAQ,EAAE,aAAa;YACvB,aAAa,EAAE,CAAC,KAAU,EAAE,EAAE,CAAC,CAC7B,KAAC,KAAK,IACJ,YAAY,EAAC,SAAS,EACtB,IAAI,EAAE,KAAK,CAAC,IAA0B,EACtC,WAAW,EAAE,KAAK,CAAC,WAAW,EAC9B,MAAM,EAAE,KAAK,CAAC,MAAuB,EACrC,QAAQ,EAAE,KAAK,CAAC,QAAQ,GACxB,CACH;SACF;QACD,GAAG,qBAAqB,CAAC,YAAY,EAAE,YAAY,CAAC;KACrD;CACF,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC;AACzB,cAAc,qBAAqB,CAAC"}
|
|
@@ -31,6 +31,6 @@ export default function Example() {
|
|
|
31
31
|
action: () => console.log('Settings'),
|
|
32
32
|
},
|
|
33
33
|
];
|
|
34
|
-
return (_jsxs(_Fragment, { children: [_jsx(Button, { onClick: () => setOpen(true), children: "Open Palette (\u2318K)" }), _jsxs(Command, { open: open, onOpenChange: setOpen, items: commands, children: [_jsx(Command.
|
|
34
|
+
return (_jsxs(_Fragment, { children: [_jsx(Button, { onClick: () => setOpen(true), children: "Open Palette (\u2318K)" }), _jsxs(Command, { open: open, onOpenChange: setOpen, items: commands, children: [_jsx(Command.Input, { placeholder: "Search commands..." }), _jsx(Command.List, { children: _jsx(Command.Groups, { renderCategory: (category) => category ? _jsx(Command.Category, { children: category }) : null, renderItem: (cmd) => (_jsx(Command.Item, { value: cmd.id, textValue: cmd.label, action: cmd.action, hint: cmd.shortcut, children: _jsx("div", { style: { display: 'flex', justifyContent: 'space-between', alignItems: 'center' }, children: _jsxs("div", { children: [_jsx("div", { style: { fontWeight: 500 }, children: cmd.label }), cmd.description && (_jsx("div", { style: { fontSize: '0.875em', opacity: 0.7 }, children: cmd.description }))] }) }) }, cmd.id)) }) })] })] }));
|
|
35
35
|
}
|
|
36
36
|
//# sourceMappingURL=01-basic-command.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"01-basic-command.js","sourceRoot":"","sources":["../../../../src/components/Command/examples/01-basic-command.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,EAAS,MAAM,mBAAmB,CAAC;AAE3D,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,KAAK,EAAE,uBAAuB;IAC9B,WAAW,EAAE,sFAAsF;CACpG,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO;IAC7B,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9C,MAAM,QAAQ,GAAG;QACf;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,kBAAkB;YAC/B,QAAQ,EAAE,IAAI;YACd,MAAM,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC;SACpC;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,YAAY;YACnB,WAAW,EAAE,uBAAuB;YACpC,QAAQ,EAAE,IAAI;YACd,MAAM,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC;SACpC;QACD;YACE,EAAE,EAAE,UAAU;YACd,KAAK,EAAE,UAAU;YACjB,WAAW,EAAE,2BAA2B;YACxC,QAAQ,EAAE,IAAI;YACd,MAAM,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC;SACtC;KACF,CAAC;IAEF,OAAO,CACL,8BACE,KAAC,MAAM,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,uCAE3B,EACT,MAAC,OAAO,IACN,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,OAAO,EACrB,KAAK,EAAE,QAAQ,aAEf,KAAC,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"01-basic-command.js","sourceRoot":"","sources":["../../../../src/components/Command/examples/01-basic-command.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,EAAS,MAAM,mBAAmB,CAAC;AAE3D,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,KAAK,EAAE,uBAAuB;IAC9B,WAAW,EAAE,sFAAsF;CACpG,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO;IAC7B,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE9C,MAAM,QAAQ,GAAG;QACf;YACE,EAAE,EAAE,QAAQ;YACZ,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,kBAAkB;YAC/B,QAAQ,EAAE,IAAI;YACd,MA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F,0BACE,cAAK,KAAK,EAAE,EAAE,UAAU,EAAE,GAAG,EAAE,YAAG,GAAG,CAAC,KAAK,GAAO,EACjD,GAAG,CAAC,WAAW,IAAI,CAClB,cAAK,KAAK,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,EAAE,YAC9C,GAAG,CAAC,WAAW,GACZ,CACP,IACG,GACF,IAfD,GAAG,CAAC,EAAE,CAgBE,CAChB,GACD,GACW,IACP,IACT,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as Example1 } from './01-basic-command';
|
|
2
|
-
export { metadata as metadata1 } from './01-basic-command';
|
|
1
|
+
export { default as Example1 } from './01-basic-command.js';
|
|
2
|
+
export { metadata as metadata1 } from './01-basic-command.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Command/examples/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Command/examples/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Command/examples/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Command/examples/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"01-basic-command": {
|
|
3
3
|
"title": "Basic Command Palette",
|
|
4
4
|
"description": "A searchable command palette with keyboard shortcuts. Use Cmd+K (or Ctrl+K) to open.",
|
|
5
|
-
"code": "'use client';\n\nimport React from 'react';\nimport { Command, Button, Badge } from 'ui-lab-components';\n\nexport default function Example() {\n const [open, setOpen] = React.useState(false);\n\n const commands = [\n {\n id: 'search',\n label: 'Search',\n description: 'Search documents',\n shortcut: '⌘F',\n action: () => console.log('Search'),\n },\n {\n id: 'create',\n label: 'Create new',\n description: 'Create a new document',\n shortcut: '⌘N',\n action: () => console.log('Create'),\n },\n {\n id: 'settings',\n label: 'Settings',\n description: 'Open application settings',\n shortcut: '⌘,',\n action: () => console.log('Settings'),\n },\n ];\n\n return (\n <>\n <Button onClick={() => setOpen(true)}>\n Open Palette (⌘K)\n </Button>\n <Command\n open={open}\n onOpenChange={setOpen}\n items={commands}\n >\n <Command.
|
|
5
|
+
"code": "'use client';\n\nimport React from 'react';\nimport { Command, Button, Badge } from 'ui-lab-components';\n\nexport default function Example() {\n const [open, setOpen] = React.useState(false);\n\n const commands = [\n {\n id: 'search',\n label: 'Search',\n description: 'Search documents',\n shortcut: '⌘F',\n action: () => console.log('Search'),\n },\n {\n id: 'create',\n label: 'Create new',\n description: 'Create a new document',\n shortcut: '⌘N',\n action: () => console.log('Create'),\n },\n {\n id: 'settings',\n label: 'Settings',\n description: 'Open application settings',\n shortcut: '⌘,',\n action: () => console.log('Settings'),\n },\n ];\n\n return (\n <>\n <Button onClick={() => setOpen(true)}>\n Open Palette (⌘K)\n </Button>\n <Command\n open={open}\n onOpenChange={setOpen}\n items={commands}\n >\n <Command.Input placeholder=\"Search commands...\" />\n <Command.List>\n <Command.Groups\n renderCategory={(category) =>\n category ? <Command.Category>{category}</Command.Category> : null\n }\n renderItem={(cmd) => (\n <Command.Item\n key={cmd.id}\n value={cmd.id}\n textValue={cmd.label}\n action={cmd.action}\n hint={cmd.shortcut}\n >\n <div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>\n <div>\n <div style={{ fontWeight: 500 }}>{cmd.label}</div>\n {cmd.description && (\n <div style={{ fontSize: '0.875em', opacity: 0.7 }}>\n {cmd.description}\n </div>\n )}\n </div>\n </div>\n </Command.Item>\n )}\n />\n </Command.List>\n </Command>\n </>\n );\n}"
|
|
6
6
|
}
|
|
7
7
|
}
|
|
@@ -2,5 +2,5 @@ import { ControlDef, ComponentDetail } from '@/types';
|
|
|
2
2
|
declare const commandControls: ControlDef[];
|
|
3
3
|
export declare const commandDetail: ComponentDetail;
|
|
4
4
|
export { commandControls };
|
|
5
|
-
export * from './examples/index';
|
|
5
|
+
export * from './examples/index.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Command/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAStD,QAAA,MAAM,eAAe,EAAE,UAAU,EAOhC,CAAC;AAwJF,eAAO,MAAM,aAAa,EAAE,eAmC3B,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC;AAC3B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Command/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAStD,QAAA,MAAM,eAAe,EAAE,UAAU,EAOhC,CAAC;AAwJF,eAAO,MAAM,aAAa,EAAE,eAmC3B,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC;AAC3B,cAAc,qBAAqB,CAAC"}
|
|
@@ -48,7 +48,7 @@ export function Example() {
|
|
|
48
48
|
onOpenChange={setOpen}
|
|
49
49
|
items={commands}
|
|
50
50
|
>
|
|
51
|
-
<Command.
|
|
51
|
+
<Command.Input placeholder="Search..." />
|
|
52
52
|
<Command.List>
|
|
53
53
|
<Command.Groups
|
|
54
54
|
renderItem={(cmd) => (
|
|
@@ -87,7 +87,7 @@ const CommandPreview = () => {
|
|
|
87
87
|
action: () => console.log('Create'),
|
|
88
88
|
},
|
|
89
89
|
];
|
|
90
|
-
return (_jsxs(_Fragment, { children: [_jsx(Button, { onClick: () => setOpen(true), children: "Open Palette" }), _jsxs(Command, { open: open, onOpenChange: setOpen, items: commands, children: [_jsx(Command.
|
|
90
|
+
return (_jsxs(_Fragment, { children: [_jsx(Button, { onClick: () => setOpen(true), children: "Open Palette" }), _jsxs(Command, { open: open, onOpenChange: setOpen, items: commands, children: [_jsx(Command.Input, { placeholder: "Search..." }), _jsx(Command.List, { children: _jsx(Command.Groups, { renderItem: (cmd) => (_jsx(Command.Item, { value: cmd.id, textValue: cmd.label, action: cmd.action, children: _jsxs("div", { style: { display: 'flex', justifyContent: 'space-between' }, children: [_jsx("div", { children: cmd.label }), cmd.shortcut && _jsx("span", { style: { fontSize: '0.875em', opacity: 0.7 }, children: cmd.shortcut })] }) })) }) })] })] }));
|
|
91
91
|
};
|
|
92
92
|
const CommandRenderPreview = (props) => {
|
|
93
93
|
const [open, setOpen] = useState(props.open ?? false);
|
|
@@ -110,7 +110,7 @@ const CommandRenderPreview = (props) => {
|
|
|
110
110
|
return (_jsxs(_Fragment, { children: [_jsx(Button, { onClick: () => setOpen(true), children: "Open Palette" }), _jsxs(Command, { open: open, onOpenChange: (value) => {
|
|
111
111
|
setOpen(value);
|
|
112
112
|
props.handleControlChange('open', value);
|
|
113
|
-
}, items: commands, children: [_jsx(Command.
|
|
113
|
+
}, items: commands, children: [_jsx(Command.Input, { placeholder: "Search..." }), _jsx(Command.List, { children: _jsx(Command.Groups, { renderItem: (cmd) => (_jsx(Command.Item, { value: cmd.id, textValue: cmd.label, action: cmd.action, children: _jsxs("div", { style: { display: 'flex', justifyContent: 'space-between' }, children: [_jsx("div", { children: cmd.label }), cmd.shortcut && _jsx("span", { style: { fontSize: '0.875em', opacity: 0.7 }, children: cmd.shortcut })] }) })) }) })] })] }));
|
|
114
114
|
};
|
|
115
115
|
export const commandDetail = {
|
|
116
116
|
id: 'command',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Command/index.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,EAA+B,MAAM,mBAAmB,CAAC;AAEjF,OAAO,QAAQ,EAAE,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,gCAAgC,CAAC;AACjF,OAAO,YAAY,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Command/index.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,EAA+B,MAAM,mBAAmB,CAAC;AAEjF,OAAO,QAAQ,EAAE,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,gCAAgC,CAAC;AACjF,OAAO,YAAY,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAE/E,MAAM,YAAY,GAAG;IACnB,EAAE,EAAE,EAAE,kBAAkB,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE;CACrE,CAAC;AAEF,MAAM,eAAe,GAAiB;IACpC;QACE,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,MAAM;QACb,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,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 +1,3 @@
|
|
|
1
|
-
export { default as Example1 } from './01-basic-confirm';
|
|
2
|
-
export { metadata as metadata1 } from './01-basic-confirm';
|
|
1
|
+
export { default as Example1 } from './01-basic-confirm.js';
|
|
2
|
+
export { metadata as metadata1 } from './01-basic-confirm.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Confirm/examples/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Confirm/examples/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Confirm/examples/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Confirm/examples/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -2,5 +2,5 @@ import { ControlDef, ComponentDetail } from '@/types';
|
|
|
2
2
|
declare const confirmControls: ControlDef[];
|
|
3
3
|
export declare const confirmDetail: ComponentDetail;
|
|
4
4
|
export { confirmControls };
|
|
5
|
-
export * from './examples/index';
|
|
5
|
+
export * from './examples/index.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Confirm/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAUtD,QAAA,MAAM,eAAe,EAAE,UAAU,EAmBhC,CAAC;AAkBF,eAAO,MAAM,aAAa,EAAE,eAiE3B,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC;AAC3B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Confirm/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAUtD,QAAA,MAAM,eAAe,EAAE,UAAU,EAmBhC,CAAC;AAkBF,eAAO,MAAM,aAAa,EAAE,eAiE3B,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC;AAC3B,cAAc,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Confirm/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,QAAQ,EAAE,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,gCAAgC,CAAC;AACjF,OAAO,YAAY,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACjE,OAAO,EAAE,qBAAqB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Confirm/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,OAAO,QAAQ,EAAE,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,gCAAgC,CAAC;AACjF,OAAO,YAAY,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACjE,OAAO,EAAE,qBA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