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
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Layout } from 'ui-lab-components';
|
|
4
|
-
const layoutControls = [
|
|
5
|
-
{
|
|
6
|
-
name: 'spacing',
|
|
7
|
-
label: 'Spacing',
|
|
8
|
-
type: 'select',
|
|
9
|
-
options: [
|
|
10
|
-
{ label: 'None', value: 'none' },
|
|
11
|
-
{ label: 'Small', value: 'sm' },
|
|
12
|
-
{ label: 'Medium', value: 'md' },
|
|
13
|
-
{ label: 'Large', value: 'lg' },
|
|
14
|
-
],
|
|
15
|
-
defaultValue: 'md',
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
name: 'variant',
|
|
19
|
-
label: 'Variant',
|
|
20
|
-
type: 'select',
|
|
21
|
-
options: [
|
|
22
|
-
{ label: 'Default', value: 'default' },
|
|
23
|
-
{ label: 'Compact', value: 'compact' },
|
|
24
|
-
],
|
|
25
|
-
defaultValue: 'default',
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
name: 'sticky',
|
|
29
|
-
label: 'Sticky Header',
|
|
30
|
-
type: 'toggle',
|
|
31
|
-
defaultValue: true,
|
|
32
|
-
},
|
|
33
|
-
];
|
|
34
|
-
const layoutBasicCode = `import { Layout } from "ui-lab-components";
|
|
35
|
-
|
|
36
|
-
export function Example() {
|
|
37
|
-
return (
|
|
38
|
-
<Layout spacing="md">
|
|
39
|
-
<Layout.Header sticky>
|
|
40
|
-
<div className="p-4">Header</div>
|
|
41
|
-
</Layout.Header>
|
|
42
|
-
<Layout.Content>
|
|
43
|
-
<div className="p-4">Content area</div>
|
|
44
|
-
</Layout.Content>
|
|
45
|
-
<Layout.Footer>
|
|
46
|
-
<div className="p-4">Footer</div>
|
|
47
|
-
</Layout.Footer>
|
|
48
|
-
</Layout>
|
|
49
|
-
);
|
|
50
|
-
}`;
|
|
51
|
-
export const layoutDetail = {
|
|
52
|
-
id: 'layout',
|
|
53
|
-
name: 'Layout',
|
|
54
|
-
description: 'A flexible region coordinator that manages header, footer, and content areas with responsive stacking.',
|
|
55
|
-
overview: (_jsxs("div", { className: "space-y-4 text-foreground-300", children: [_jsx("p", { children: "The Layout component coordinates multiple page regions (header, content, footer) with unified spacing, responsive behavior, and sticky/fixed positioning support." }), _jsx("p", { children: "Perfect for building page structures that need header, content, and footer regions. Provides context about responsive state so child components know when to collapse or reorganize." }), _jsx("p", { children: "Use Layout.Header, Layout.Content, and Layout.Footer sub-components to organize your page regions." })] })),
|
|
56
|
-
examples: [
|
|
57
|
-
{
|
|
58
|
-
id: 'preview',
|
|
59
|
-
title: 'Preview',
|
|
60
|
-
description: 'Adjust props to customize the layout',
|
|
61
|
-
code: layoutBasicCode,
|
|
62
|
-
preview: (_jsx("div", { style: { height: '300px', border: '1px solid var(--color-border)', borderRadius: '4px', overflow: 'hidden' }, children: _jsxs(Layout, { spacing: "md", children: [_jsx(Layout.Header, { sticky: true, children: _jsx("div", { style: {
|
|
63
|
-
padding: '1rem',
|
|
64
|
-
backgroundColor: 'var(--color-surface-secondary)',
|
|
65
|
-
borderBottom: '1px solid var(--color-border)',
|
|
66
|
-
}, children: "Header" }) }), _jsx(Layout.Content, { children: _jsx("div", { style: { padding: '1rem' }, children: "Content area" }) }), _jsx(Layout.Footer, { children: _jsx("div", { style: {
|
|
67
|
-
padding: '1rem',
|
|
68
|
-
backgroundColor: 'var(--color-surface-secondary)',
|
|
69
|
-
borderTop: '1px solid var(--color-border)',
|
|
70
|
-
}, children: "Footer" }) })] }) })),
|
|
71
|
-
controls: layoutControls,
|
|
72
|
-
renderPreview: (props) => (_jsx("div", { style: { height: '300px', border: '1px solid var(--color-border)', borderRadius: '4px', overflow: 'hidden' }, children: _jsxs(Layout, { spacing: props.spacing, variant: props.variant, children: [_jsx(Layout.Header, { sticky: props.sticky, children: _jsx("div", { style: {
|
|
73
|
-
padding: '1rem',
|
|
74
|
-
backgroundColor: 'var(--color-surface-secondary)',
|
|
75
|
-
borderBottom: '1px solid var(--color-border)',
|
|
76
|
-
}, children: "Header" }) }), _jsx(Layout.Content, { children: _jsx("div", { style: { padding: '1rem' }, children: "Content area" }) }), _jsx(Layout.Footer, { children: _jsx("div", { style: {
|
|
77
|
-
padding: '1rem',
|
|
78
|
-
backgroundColor: 'var(--color-surface-secondary)',
|
|
79
|
-
borderTop: '1px solid var(--color-border)',
|
|
80
|
-
}, children: "Footer" }) })] }) })),
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
};
|
|
84
|
-
export { layoutControls };
|
|
85
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Layout/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAG1C,MAAM,cAAc,GAAiB;IACnC;QACE,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE;YACP,EAAE,KAAK,EAAE,MAAM,EA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{"version":3,"file":"03-destructive-toast.d.ts","sourceRoot":"","sources":["../../../../src/components/Toast/examples/03-destructive-toast.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO,4CAkB9B"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Button, toast, Toaster } from 'ui-lab-components';
|
|
4
|
-
export const metadata = {
|
|
5
|
-
title: 'Destructive Toast',
|
|
6
|
-
description: 'Toast notification for errors or destructive operations.'
|
|
7
|
-
};
|
|
8
|
-
export default function Example() {
|
|
9
|
-
return (_jsxs(_Fragment, { children: [_jsx(Button, { size: "sm", onClick: () => toast({
|
|
10
|
-
title: 'Error',
|
|
11
|
-
description: 'Something went wrong',
|
|
12
|
-
variant: 'destructive',
|
|
13
|
-
}), children: "Show Error" }), _jsx(Toaster, {})] }));
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=03-destructive-toast.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"03-destructive-toast.js","sourceRoot":"","sources":["../../../../src/components/Toast/examples/03-destructive-toast.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE3D,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,KAAK,EAAE,mBAAmB;IAC1B,WAAW,EAAE,0DAA0D;CACxE,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,OAAO;IAC7B,OAAO,CACL,8BACE,KAAC,MAAM,IACL,IAAI,EAAC,IAAI,EACT,OAAO,EAAE,GAAG,EAAE,CACZ,KAAK,CAAC;oBACJ,KAAK,EAAE,OAAO;oBACd,WAAW,EAAE,sBAAsB;oBACnC,OAAO,EAAE,aAAa;iBACvB,CAAC,2BAIG,EACT,KAAC,OAAO,KAAG,IACV,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../../../../src/patterns/content/feature-grid/example.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAmCF,MAAM,CAAC,OAAO,UAAU,WAAW,4CAkClC"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Grid, Card, Flex } from 'ui-lab-components';
|
|
4
|
-
import { Zap, Shield, Palette, Layers, Code, Globe } from 'lucide-react';
|
|
5
|
-
export const metadata = {
|
|
6
|
-
name: 'Feature Grid',
|
|
7
|
-
description: 'Responsive grid of feature cards with icons and descriptions',
|
|
8
|
-
};
|
|
9
|
-
const features = [
|
|
10
|
-
{
|
|
11
|
-
icon: Zap,
|
|
12
|
-
title: 'Lightning Fast',
|
|
13
|
-
description: 'Optimized for performance with minimal bundle size and zero runtime overhead.',
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
icon: Shield,
|
|
17
|
-
title: 'Accessible',
|
|
18
|
-
description: 'Built on React Aria with full keyboard navigation and screen reader support.',
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
icon: Palette,
|
|
22
|
-
title: 'Themeable',
|
|
23
|
-
description: 'Semantic color system with automatic light and dark mode support.',
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
icon: Layers,
|
|
27
|
-
title: 'Composable',
|
|
28
|
-
description: 'Compound component patterns that snap together like building blocks.',
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
icon: Code,
|
|
32
|
-
title: 'TypeScript First',
|
|
33
|
-
description: 'Full type safety with autocompletion and inline documentation.',
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
icon: Globe,
|
|
37
|
-
title: 'Framework Agnostic',
|
|
38
|
-
description: 'Works with Next.js, Vite, Remix, and any React framework.',
|
|
39
|
-
},
|
|
40
|
-
];
|
|
41
|
-
export default function FeatureGrid() {
|
|
42
|
-
return (_jsx("section", { className: "w-full px-6 py-20 bg-background-950", children: _jsxs("div", { className: "max-w-5xl mx-auto", children: [_jsxs("div", { className: "text-center mb-12", children: [_jsx("h2", { className: "text-3xl font-bold text-foreground-50 mb-3", children: "Everything you need" }), _jsx("p", { className: "text-foreground-300 text-lg max-w-2xl mx-auto", children: "A complete toolkit for building modern user interfaces." })] }), _jsx(Grid, { columns: { sm: '1', md: '2', lg: '3' }, gap: "md", children: features.map((feature) => (_jsx(Card, { children: _jsx(Card.Body, { children: _jsxs(Flex, { direction: "column", gap: "sm", children: [_jsx("div", { className: "w-10 h-10 rounded-lg bg-accent-500/10 flex items-center justify-center", children: _jsx(feature.icon, { className: "w-5 h-5 text-accent-400" }) }), _jsx("h3", { className: "text-lg font-semibold text-foreground-50", children: feature.title }), _jsx("p", { className: "text-sm text-foreground-300", children: feature.description })] }) }) }, feature.title))) })] }) }));
|
|
43
|
-
}
|
|
44
|
-
//# sourceMappingURL=example.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"example.js","sourceRoot":"","sources":["../../../../src/patterns/content/feature-grid/example.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAEzE,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,8DAA8D;CAC5E,CAAC;AAEF,MAAM,QAAQ,GAAG;IACf;QACE,IAAI,EAAE,GAAG;QACT,KAAK,EAAE,gBAAgB;QACvB,WAAW,EAAE,+EAA+E;KAC7F;I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,CAcjB,CACR,CAAC,GACG,IACH,GACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "feature-grid",
|
|
3
|
-
"name": "Feature Grid",
|
|
4
|
-
"description": "Responsive grid of feature cards with icons, titles, and descriptions. Ideal for showcasing product capabilities or service offerings.",
|
|
5
|
-
"category": "content",
|
|
6
|
-
"tags": ["features", "grid", "cards", "icons", "showcase", "capabilities"],
|
|
7
|
-
"useCases": [
|
|
8
|
-
"Product features section",
|
|
9
|
-
"Service offerings page",
|
|
10
|
-
"Benefits overview",
|
|
11
|
-
"Technology stack display"
|
|
12
|
-
],
|
|
13
|
-
"components": ["Grid", "Card", "Flex"],
|
|
14
|
-
"complexity": "simple",
|
|
15
|
-
"relatedPatterns": ["hero-with-cta", "pricing-cards"],
|
|
16
|
-
"notes": "Grid uses responsive columns (1 on mobile, 2 on medium, 3 on large). Cards use subtle border styling with hover states. Icons are passed as children for flexibility."
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../../../../src/patterns/content/pricing-cards/example.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAsDF,MAAM,CAAC,OAAO,UAAU,YAAY,4CAiEnC"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Card, Badge, Button, Grid, Flex } from 'ui-lab-components';
|
|
4
|
-
import { Check } from 'lucide-react';
|
|
5
|
-
export const metadata = {
|
|
6
|
-
name: 'Pricing Cards',
|
|
7
|
-
description: 'Side-by-side pricing plan cards with feature lists and CTAs',
|
|
8
|
-
};
|
|
9
|
-
const plans = [
|
|
10
|
-
{
|
|
11
|
-
name: 'Starter',
|
|
12
|
-
price: '$0',
|
|
13
|
-
period: '/month',
|
|
14
|
-
description: 'For individuals and side projects',
|
|
15
|
-
features: [
|
|
16
|
-
'5 projects',
|
|
17
|
-
'1 GB storage',
|
|
18
|
-
'Community support',
|
|
19
|
-
'Basic analytics',
|
|
20
|
-
],
|
|
21
|
-
buttonVariant: 'outline',
|
|
22
|
-
buttonLabel: 'Get Started',
|
|
23
|
-
highlighted: false,
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
name: 'Pro',
|
|
27
|
-
price: '$29',
|
|
28
|
-
period: '/month',
|
|
29
|
-
description: 'For growing teams and businesses',
|
|
30
|
-
features: [
|
|
31
|
-
'Unlimited projects',
|
|
32
|
-
'100 GB storage',
|
|
33
|
-
'Priority support',
|
|
34
|
-
'Advanced analytics',
|
|
35
|
-
'Custom domains',
|
|
36
|
-
'Team collaboration',
|
|
37
|
-
],
|
|
38
|
-
buttonVariant: 'primary',
|
|
39
|
-
buttonLabel: 'Start Free Trial',
|
|
40
|
-
highlighted: true,
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
name: 'Enterprise',
|
|
44
|
-
price: '$99',
|
|
45
|
-
period: '/month',
|
|
46
|
-
description: 'For large organizations',
|
|
47
|
-
features: [
|
|
48
|
-
'Everything in Pro',
|
|
49
|
-
'1 TB storage',
|
|
50
|
-
'Dedicated support',
|
|
51
|
-
'SSO & SAML',
|
|
52
|
-
'Audit logs',
|
|
53
|
-
'Custom contracts',
|
|
54
|
-
],
|
|
55
|
-
buttonVariant: 'outline',
|
|
56
|
-
buttonLabel: 'Contact Sales',
|
|
57
|
-
highlighted: false,
|
|
58
|
-
},
|
|
59
|
-
];
|
|
60
|
-
export default function PricingCards() {
|
|
61
|
-
return (_jsx("section", { className: "w-full px-6 py-20 bg-background-950", children: _jsxs("div", { className: "max-w-5xl mx-auto", children: [_jsxs("div", { className: "text-center mb-12", children: [_jsx("h2", { className: "text-3xl font-bold text-foreground-50 mb-3", children: "Simple, transparent pricing" }), _jsx("p", { className: "text-foreground-300 text-lg", children: "Choose the plan that fits your needs." })] }), _jsx(Grid, { columns: { sm: '1', md: '3' }, gap: "md", children: plans.map((plan) => (_jsx(Card, { className: plan.highlighted
|
|
62
|
-
? 'border-accent-500 ring-1 ring-accent-500/20'
|
|
63
|
-
: '', children: _jsx(Card.Body, { children: _jsxs(Flex, { direction: "column", gap: "md", children: [_jsxs(Flex, { direction: "column", gap: "xs", children: [_jsxs(Flex, { align: "center", gap: "sm", children: [_jsx("h3", { className: "text-lg font-semibold text-foreground-50", children: plan.name }), plan.highlighted && (_jsx(Badge, { variant: "default", children: "Popular" }))] }), _jsx("p", { className: "text-sm text-foreground-400", children: plan.description })] }), _jsxs("div", { children: [_jsx("span", { className: "text-4xl font-bold text-foreground-50", children: plan.price }), _jsx("span", { className: "text-foreground-400", children: plan.period })] }), _jsx("ul", { className: "space-y-2", children: plan.features.map((feature) => (_jsxs("li", { className: "flex items-center gap-2 text-sm text-foreground-200", children: [_jsx(Check, { className: "w-4 h-4 text-accent-400 shrink-0" }), feature] }, feature))) }), _jsx(Button, { variant: plan.buttonVariant, className: "w-full", children: plan.buttonLabel })] }) }) }, plan.name))) })] }) }));
|
|
64
|
-
}
|
|
65
|
-
//# sourceMappingURL=example.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"example.js","sourceRoot":"","sources":["../../../../src/patterns/content/pricing-cards/example.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAErC,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,6DAA6D;CAC3E,CAAC;AAEF,MAAM,KAAK,GAAG;IACZ;QACE,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,IAAI;QACX,MAAM,EAAE,QAAQ;QAChB,WAAW,EAAE,mCAAmC;QA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C/C,CAAC,CAAC,EAAE,YAGR,KAAC,IAAI,CAAC,IAAI,cACR,MAAC,IAAI,IAAC,SAAS,EAAC,QAAQ,EAAC,GAAG,EAAC,IAAI,aAC/B,MAAC,IAAI,IAAC,SAAS,EAAC,QAAQ,EAAC,GAAG,EAAC,IAAI,aAC/B,MAAC,IAAI,IAAC,KAAK,EAAC,QAAQ,EAAC,GAAG,EAAC,IAAI,aAC3B,aAAI,SAAS,EAAC,0CAA0C,YACrD,IAAI,CAAC,IAAI,GACP,EACJ,IAAI,CAAC,WAAW,IAAI,CACnB,KAAC,KAAK,IAAC,OAAO,EAAC,SAAS,wBAAgB,CACzC,IACI,EACP,YAAG,SAAS,EAAC,6BAA6B,YACvC,IAAI,CAAC,WAAW,GACf,IACC,EACP,0BACE,eAAM,SAAS,EAAC,uCAAuC,YACpD,IAAI,CAAC,KAAK,GACN,EACP,eAAM,SAAS,EAAC,qBAAqB,YAAE,IAAI,CAAC,MAAM,GAAQ,IACtD,EACN,aAAI,SAAS,EAAC,WAAW,YACtB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAC9B,cAEE,SAAS,EAAC,qDAAqD,aAE/D,KAAC,KAAK,IAAC,SAAS,EAAC,kCAAkC,GAAG,EACrD,OAAO,KAJH,OAAO,CAKT,CACN,CAAC,GACC,EACL,KAAC,MAAM,IAAC,OAAO,EAAE,IAAI,CAAC,aAAa,EAAE,SAAS,EAAC,QAAQ,YACpD,IAAI,CAAC,WAAW,GACV,IACJ,GACG,IA3CP,IAAI,CAAC,IAAI,CA4CT,CACR,CAAC,GACG,IACH,GACE,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "pricing-cards",
|
|
3
|
-
"name": "Pricing Cards",
|
|
4
|
-
"description": "Side-by-side pricing plan cards with feature lists, badges for plan tiers, and call-to-action buttons. Standard pattern for SaaS and product pricing pages.",
|
|
5
|
-
"category": "content",
|
|
6
|
-
"tags": ["pricing", "cards", "plans", "badge", "saas", "subscription", "tiers"],
|
|
7
|
-
"useCases": [
|
|
8
|
-
"SaaS pricing page",
|
|
9
|
-
"Subscription plan selection",
|
|
10
|
-
"Service tier comparison",
|
|
11
|
-
"Product plan overview"
|
|
12
|
-
],
|
|
13
|
-
"components": ["Card", "Badge", "Button", "Grid", "Flex"],
|
|
14
|
-
"complexity": "moderate",
|
|
15
|
-
"relatedPatterns": ["hero-with-cta", "feature-grid"],
|
|
16
|
-
"notes": "Highlighted plan uses accent border for visual emphasis. Badge indicates recommended tier. Feature lists use simple check marks. Grid is responsive: stacks on mobile, side-by-side on larger screens."
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../../../../src/patterns/forms/settings-form-layout/example.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,kBAAkB,4CAuDzC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Input, Label, Switch, Button, Flex, Card } from 'ui-lab-components';
|
|
4
|
-
export const metadata = {
|
|
5
|
-
name: 'Settings Form Layout',
|
|
6
|
-
description: 'Structured settings form with labeled inputs, toggles, and submit action',
|
|
7
|
-
};
|
|
8
|
-
export default function SettingsFormLayout() {
|
|
9
|
-
return (_jsxs("section", { className: "w-full max-w-2xl mx-auto px-6 py-12", children: [_jsx("h2", { className: "text-2xl font-bold text-foreground-50 mb-8", children: "Account Settings" }), _jsx(Card, { children: _jsx(Card.Body, { children: _jsxs(Flex, { direction: "column", gap: "lg", children: [_jsxs(Flex, { direction: "column", gap: "sm", children: [_jsx(Label, { htmlFor: "display-name", children: "Display Name" }), _jsx(Input, { id: "display-name", placeholder: "Your display name" })] }), _jsxs(Flex, { direction: "column", gap: "sm", children: [_jsx(Label, { htmlFor: "email", children: "Email Address" }), _jsx(Input, { id: "email", type: "email", placeholder: "you@example.com" })] }), _jsx("div", { className: "border-t border-background-800 my-2" }), _jsxs(Flex, { justify: "space-between", align: "center", children: [_jsxs(Flex, { direction: "column", gap: "xs", children: [_jsx("span", { className: "text-sm font-medium text-foreground-100", children: "Email Notifications" }), _jsx("span", { className: "text-xs text-foreground-400", children: "Receive email updates about your account activity" })] }), _jsx(Switch, { defaultSelected: true })] }), _jsxs(Flex, { justify: "space-between", align: "center", children: [_jsxs(Flex, { direction: "column", gap: "xs", children: [_jsx("span", { className: "text-sm font-medium text-foreground-100", children: "Marketing Emails" }), _jsx("span", { className: "text-xs text-foreground-400", children: "Receive tips, product updates, and announcements" })] }), _jsx(Switch, {})] }), _jsx("div", { className: "border-t border-background-800 my-2" }), _jsx(Flex, { justify: "flex-end", children: _jsx(Button, { variant: "primary", children: "Save Changes" }) })] }) }) })] }));
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=example.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"example.js","sourceRoot":"","sources":["../../../../src/patterns/forms/settings-form-layout/example.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAE7E,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,0EAA0E;CACxF,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,kBAAkB;IACxC,OAAO,CACL,mBAAS,SAAS,EAAC,qCAAqC,aACtD,aAAI,SAAS,EAAC,4CAA4C,iCAErD,EACL,KAAC,IAAI,cACH,KAAC,IAAI,CAAC,IAAI,cACR,MAAC,IAAI,IAAC,SAAS,EAAC,QAAQ,EAAC,GAAG,EAAC,IAAI,aAC/B,MA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
"name": "Settings Form Layout",
|
|
4
|
-
"description": "Structured settings form with labeled inputs, toggle switches, and a submit button. Common pattern for account settings and preference pages.",
|
|
5
|
-
"category": "forms",
|
|
6
|
-
"tags": ["form", "settings", "input", "switch", "toggle", "preferences", "account"],
|
|
7
|
-
"useCases": [
|
|
8
|
-
"Account settings page",
|
|
9
|
-
"Notification preferences",
|
|
10
|
-
"Profile editing form",
|
|
11
|
-
"Application configuration"
|
|
12
|
-
],
|
|
13
|
-
"components": ["Input", "Label", "Switch", "Button", "Flex", "Card"],
|
|
14
|
-
"complexity": "moderate",
|
|
15
|
-
"relatedPatterns": ["sticky-header"],
|
|
16
|
-
"notes": "Form sections are separated by dividers. Labels are associated with inputs for accessibility. Switch toggles use descriptive labels. Submit button is placed at the bottom with right alignment."
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../../../../src/patterns/hero-landing/hero-with-cta/example.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,WAAW,4CAwBlC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Button, Group, Flex } from 'ui-lab-components';
|
|
4
|
-
export const metadata = {
|
|
5
|
-
name: 'Hero with CTA',
|
|
6
|
-
description: 'Hero section with headline, subheadline, and call-to-action button group',
|
|
7
|
-
};
|
|
8
|
-
export default function HeroWithCTA() {
|
|
9
|
-
return (_jsx("section", { className: "w-full min-h-[70vh] flex items-center justify-center px-6 py-20 bg-background-950", children: _jsxs(Flex, { direction: "column", align: "center", gap: "lg", children: [_jsxs("div", { className: "text-center max-w-3xl", children: [_jsx("h1", { className: "text-5xl md:text-6xl font-bold text-foreground-50 mb-4 tracking-tight", children: "Build beautiful interfaces" }), _jsx("p", { className: "text-lg md:text-xl text-foreground-300 max-w-2xl mx-auto", children: "A composable component library for modern React applications. Ship faster with accessible, themeable components." })] }), _jsxs(Group, { spacing: "sm", children: [_jsx(Button, { variant: "primary", size: "lg", children: "Get Started" }), _jsx(Button, { variant: "ghost", size: "lg", children: "View Documentation" })] })] }) }));
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=example.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"example.js","sourceRoot":"","sources":["../../../../src/patterns/hero-landing/hero-with-cta/example.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,0EAA0E;CACxF,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,WAAW;IACjC,OAAO,CACL,kBAAS,SAAS,EAAC,mFAAmF,YACpG,MAAC,IAAI,IAAC,SAAS,EAAC,QAAQ,EAAC,KAAK,EAAC,QAAQ,EAAC,GAAG,EAAC,IAAI,aAC9C,eAAK,SAAS,EAAC,uBAAuB,aACpC,aAAI,SAAS,EAAC,uEAAuE,2CAEhF,EACL,YAAG,SAAS,EAAC,0DAA0D,iIAGnE,IACA,EACN,MAAC,KAAK,IAAC,OAAO,EAAC,IAAI,aACjB,KAAC,MAAM,IAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,IAAI,4BAE1B,EACT,KAAC,MAAM,IAAC,OAAO,EAAC,OAAO,EAAC,IAAI,EAAC,IAAI,mCAExB,IACH,IACH,GACC,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "hero-with-cta",
|
|
3
|
-
"name": "Hero with CTA",
|
|
4
|
-
"description": "Hero section with headline, subheadline, and primary action button group. Perfect for landing pages and product launches.",
|
|
5
|
-
"category": "hero-landing",
|
|
6
|
-
"tags": ["hero", "cta", "call-to-action", "landing", "button-group", "headline"],
|
|
7
|
-
"useCases": [
|
|
8
|
-
"Product landing page",
|
|
9
|
-
"Feature announcement",
|
|
10
|
-
"Pricing page hero",
|
|
11
|
-
"Marketing homepage"
|
|
12
|
-
],
|
|
13
|
-
"components": ["Button", "Group", "Flex"],
|
|
14
|
-
"complexity": "simple",
|
|
15
|
-
"relatedPatterns": ["feature-grid", "pricing-cards"],
|
|
16
|
-
"notes": "Button Group uses ghost variant for secondary actions. Hero container uses flex with center alignment. Text hierarchy established through font size scaling."
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../../../../src/patterns/navigation/sticky-header/example.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;CAGpB,CAAC;AAIF,MAAM,CAAC,OAAO,UAAU,YAAY,4CAiCnC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Button, Group, Flex } from 'ui-lab-components';
|
|
4
|
-
export const metadata = {
|
|
5
|
-
name: 'Sticky Header',
|
|
6
|
-
description: 'Fixed navigation header with logo, links, and action buttons',
|
|
7
|
-
};
|
|
8
|
-
const navLinks = ['Features', 'Pricing', 'Docs', 'Blog'];
|
|
9
|
-
export default function StickyHeader() {
|
|
10
|
-
return (_jsx("header", { className: "sticky top-0 z-50 w-full border-b border-background-800 bg-background-950/80 backdrop-blur-md", children: _jsxs(Flex, { align: "center", justify: "space-between", className: "max-w-6xl mx-auto h-16 px-6", children: [_jsxs(Flex, { align: "center", gap: "lg", children: [_jsx("span", { className: "text-lg font-bold text-foreground-50", children: "Acme" }), _jsx("nav", { children: _jsx(Group, { spacing: "sm", children: navLinks.map((link) => (_jsx(Button, { variant: "ghost", size: "sm", children: link }, link))) }) })] }), _jsxs(Group, { spacing: "sm", children: [_jsx(Button, { variant: "ghost", size: "sm", children: "Sign In" }), _jsx(Button, { variant: "primary", size: "sm", children: "Get Started" })] })] }) }));
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=example.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"example.js","sourceRoot":"","sources":["../../../../src/patterns/navigation/sticky-header/example.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,IAAI,EAAE,eAAe;IACrB,WAAW,EAAE,8DAA8D;CAC5E,CAAC;AAEF,MAAM,QAAQ,GAAG,CAAC,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAEzD,MAAM,CAAC,OAAO,UAAU,YAAY;IAClC,OAAO,CACL,iBAAQ,SAAS,EAAC,+FAA+F,YAC/G,MAAC,IAAI,IACH,KAAK,EAAC,QAAQ,EACd,OAAO,EAAC,eAAe,EACvB,SAAS,EAAC,6BAA6B,aAEvC,MAAC,IAAI,IAAC,KAAK,EAAC,QAAQ,EAAC,GAAG,EAAC,IAAI,aAC3B,eAAM,SAAS,EAAC,sCAAsC,qBAE/C,EACP,wBACE,KAAC,KAAK,IAAC,OAAO,EAAC,IAAI,YAChB,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACtB,KAAC,MAAM,IAAY,OAAO,EAAC,OAAO,EAAC,IAAI,EAAC,IAAI,YACzC,IAAI,IADM,IAAI,CAER,CACV,CAAC,GACI,GACJ,IACD,EACP,MAAC,KAAK,IAAC,OAAO,EAAC,IAAI,aACjB,KAAC,MAAM,IAAC,OAAO,EAAC,OAAO,EAAC,IAAI,EAAC,IAAI,wBAExB,EACT,KAAC,MAAM,IAAC,OAAO,EAAC,SAAS,EAAC,IAAI,EAAC,IAAI,4BAE1B,IACH,IACH,GACA,CACV,CAAC;AACJ,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "sticky-header",
|
|
3
|
-
"name": "Sticky Header",
|
|
4
|
-
"description": "Fixed-position header with logo, navigation links, and action buttons. Stays visible while scrolling for persistent access to navigation.",
|
|
5
|
-
"category": "navigation",
|
|
6
|
-
"tags": ["header", "navigation", "sticky", "fixed", "navbar", "menu", "responsive"],
|
|
7
|
-
"useCases": [
|
|
8
|
-
"Marketing website navigation",
|
|
9
|
-
"Application top bar",
|
|
10
|
-
"Documentation site header",
|
|
11
|
-
"Portfolio navigation"
|
|
12
|
-
],
|
|
13
|
-
"components": ["Button", "Group", "Flex"],
|
|
14
|
-
"complexity": "simple",
|
|
15
|
-
"relatedPatterns": ["hero-with-cta", "settings-form-layout"],
|
|
16
|
-
"notes": "Uses sticky positioning with backdrop blur for visual depth. Navigation links use ghost button styling for consistency. Logo area and nav actions are separated with space-between layout."
|
|
17
|
-
}
|