@slipstream-ui/core 0.4.0 → 0.6.0
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/README.md +95 -0
- package/dist/index.d.mts +1649 -85
- package/dist/index.d.ts +1649 -85
- package/dist/index.js +3268 -906
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3309 -980
- package/dist/index.mjs.map +1 -1
- package/dist/manifests/accordion.manifest.json +1 -1
- package/dist/manifests/alert.manifest.json +55 -9
- package/dist/manifests/announcement-bar.manifest.json +108 -0
- package/dist/manifests/app-shell.manifest.json +65 -1
- package/dist/manifests/applied-filters.manifest.json +89 -0
- package/dist/manifests/article-card.manifest.json +106 -0
- package/dist/manifests/auth-layout.manifest.json +16 -3
- package/dist/manifests/autocomplete.manifest.json +15 -1
- package/dist/manifests/avatar.manifest.json +1 -1
- package/dist/manifests/badge.manifest.json +12 -5
- package/dist/manifests/block.manifest.json +33 -8
- package/dist/manifests/breadcrumb.manifest.json +32 -1
- package/dist/manifests/button-group.manifest.json +23 -5
- package/dist/manifests/button.manifest.json +25 -7
- package/dist/manifests/card.manifest.json +1 -1
- package/dist/manifests/checkbox.manifest.json +29 -8
- package/dist/manifests/comparison-table.manifest.json +106 -0
- package/dist/manifests/confirm-dialog.manifest.json +132 -0
- package/dist/manifests/contact-strip.manifest.json +82 -0
- package/dist/manifests/container.manifest.json +81 -0
- package/dist/manifests/cta-section.manifest.json +154 -0
- package/dist/manifests/data-table.manifest.json +51 -1
- package/dist/manifests/date-picker.manifest.json +8 -1
- package/dist/manifests/date-range-picker.manifest.json +103 -0
- package/dist/manifests/dialog.manifest.json +8 -1
- package/dist/manifests/drawer.manifest.json +57 -12
- package/dist/manifests/empty-state.manifest.json +14 -1
- package/dist/manifests/feature-grid.manifest.json +93 -0
- package/dist/manifests/feature-row.manifest.json +111 -0
- package/dist/manifests/fieldset.manifest.json +30 -8
- package/dist/manifests/file-upload.manifest.json +22 -1
- package/dist/manifests/filter-bar.manifest.json +29 -3
- package/dist/manifests/filter-chips.manifest.json +98 -0
- package/dist/manifests/filter-panel.manifest.json +130 -0
- package/dist/manifests/flex.manifest.json +73 -16
- package/dist/manifests/form-field.manifest.json +1 -1
- package/dist/manifests/form-layout.manifest.json +36 -10
- package/dist/manifests/form.manifest.json +25 -7
- package/dist/manifests/grid.manifest.json +55 -15
- package/dist/manifests/heading.manifest.json +29 -8
- package/dist/manifests/hero.manifest.json +202 -0
- package/dist/manifests/input-group.manifest.json +25 -6
- package/dist/manifests/input.manifest.json +1 -1
- package/dist/manifests/label.manifest.json +21 -5
- package/dist/manifests/link-tabs.manifest.json +152 -0
- package/dist/manifests/link.manifest.json +106 -0
- package/dist/manifests/list.manifest.json +24 -9
- package/dist/manifests/logo-cloud.manifest.json +107 -0
- package/dist/manifests/menu.manifest.json +1 -1
- package/dist/manifests/metric-card.manifest.json +2 -2
- package/dist/manifests/multi-select.manifest.json +127 -0
- package/dist/manifests/newsletter.manifest.json +130 -0
- package/dist/manifests/page-header.manifest.json +54 -1
- package/dist/manifests/pagination.manifest.json +30 -1
- package/dist/manifests/password-input.manifest.json +1 -1
- package/dist/manifests/popover.manifest.json +62 -10
- package/dist/manifests/process-steps.manifest.json +83 -0
- package/dist/manifests/progress.manifest.json +29 -5
- package/dist/manifests/prose.manifest.json +75 -0
- package/dist/manifests/radio.manifest.json +26 -7
- package/dist/manifests/range-slider.manifest.json +145 -0
- package/dist/manifests/search.manifest.json +48 -10
- package/dist/manifests/section-heading.manifest.json +126 -0
- package/dist/manifests/section.manifest.json +146 -0
- package/dist/manifests/segmented-control.manifest.json +141 -0
- package/dist/manifests/select-menu.manifest.json +1 -1
- package/dist/manifests/select.manifest.json +23 -6
- package/dist/manifests/separator.manifest.json +15 -5
- package/dist/manifests/site-footer.manifest.json +122 -0
- package/dist/manifests/site-header.manifest.json +192 -0
- package/dist/manifests/skeleton.manifest.json +7 -1
- package/dist/manifests/spinner.manifest.json +1 -1
- package/dist/manifests/stat-band.manifest.json +116 -0
- package/dist/manifests/stepper.manifest.json +1 -1
- package/dist/manifests/switch.manifest.json +17 -5
- package/dist/manifests/table-card.manifest.json +1 -1
- package/dist/manifests/table-of-contents.manifest.json +99 -0
- package/dist/manifests/table.manifest.json +47 -8
- package/dist/manifests/tabs.manifest.json +1 -1
- package/dist/manifests/testimonial.manifest.json +112 -0
- package/dist/manifests/text.manifest.json +32 -8
- package/dist/manifests/textarea.manifest.json +17 -5
- package/dist/manifests/theme-toggle.manifest.json +118 -0
- package/dist/manifests/time-picker.manifest.json +8 -1
- package/dist/manifests/timeline.manifest.json +1 -1
- package/dist/manifests/toast.manifest.json +8 -1
- package/dist/manifests/tooltip.manifest.json +18 -5
- package/dist/src/components/accordion/Accordion.d.ts +45 -0
- package/dist/src/components/accordion/Accordion.js +197 -0
- package/dist/src/components/accordion/Accordion.js.map +1 -0
- package/dist/src/components/accordion/Accordion.mjs +160 -0
- package/dist/src/components/accordion/Accordion.mjs.map +1 -0
- package/dist/src/components/accordion/index.d.ts +1 -0
- package/dist/src/components/accordion/index.js +23 -0
- package/dist/src/components/accordion/index.js.map +1 -0
- package/dist/src/components/accordion/index.mjs +2 -0
- package/dist/src/components/accordion/index.mjs.map +1 -0
- package/dist/src/components/alert/Alert.d.ts +21 -0
- package/dist/src/components/alert/Alert.js +101 -0
- package/dist/src/components/alert/Alert.js.map +1 -0
- package/dist/src/components/alert/Alert.mjs +64 -0
- package/dist/src/components/alert/Alert.mjs.map +1 -0
- package/dist/src/components/alert/index.d.ts +1 -0
- package/dist/src/components/alert/index.js +23 -0
- package/dist/src/components/alert/index.js.map +1 -0
- package/dist/src/components/alert/index.mjs +2 -0
- package/dist/src/components/alert/index.mjs.map +1 -0
- package/dist/src/components/announcement-bar/AnnouncementBar.d.ts +41 -0
- package/dist/src/components/announcement-bar/AnnouncementBar.js +105 -0
- package/dist/src/components/announcement-bar/AnnouncementBar.js.map +1 -0
- package/dist/src/components/announcement-bar/AnnouncementBar.mjs +71 -0
- package/dist/src/components/announcement-bar/AnnouncementBar.mjs.map +1 -0
- package/dist/src/components/announcement-bar/index.d.ts +2 -0
- package/dist/src/components/announcement-bar/index.js +29 -0
- package/dist/src/components/announcement-bar/index.js.map +1 -0
- package/dist/src/components/announcement-bar/index.mjs +5 -0
- package/dist/src/components/announcement-bar/index.mjs.map +1 -0
- package/dist/src/components/app-shell/AppShell.d.ts +67 -0
- package/dist/src/components/app-shell/AppShell.js +207 -0
- package/dist/src/components/app-shell/AppShell.js.map +1 -0
- package/dist/src/components/app-shell/AppShell.mjs +172 -0
- package/dist/src/components/app-shell/AppShell.mjs.map +1 -0
- package/dist/src/components/app-shell/index.d.ts +1 -0
- package/dist/src/components/app-shell/index.js +23 -0
- package/dist/src/components/app-shell/index.js.map +1 -0
- package/dist/src/components/app-shell/index.mjs +2 -0
- package/dist/src/components/app-shell/index.mjs.map +1 -0
- package/dist/src/components/applied-filters/AppliedFilters.d.ts +35 -0
- package/dist/src/components/applied-filters/AppliedFilters.js +75 -0
- package/dist/src/components/applied-filters/AppliedFilters.js.map +1 -0
- package/dist/src/components/applied-filters/AppliedFilters.mjs +41 -0
- package/dist/src/components/applied-filters/AppliedFilters.mjs.map +1 -0
- package/dist/src/components/applied-filters/index.d.ts +2 -0
- package/dist/src/components/applied-filters/index.js +29 -0
- package/dist/src/components/applied-filters/index.js.map +1 -0
- package/dist/src/components/applied-filters/index.mjs +5 -0
- package/dist/src/components/applied-filters/index.mjs.map +1 -0
- package/dist/src/components/article-card/ArticleCard.d.ts +42 -0
- package/dist/src/components/article-card/ArticleCard.js +75 -0
- package/dist/src/components/article-card/ArticleCard.js.map +1 -0
- package/dist/src/components/article-card/ArticleCard.mjs +41 -0
- package/dist/src/components/article-card/ArticleCard.mjs.map +1 -0
- package/dist/src/components/article-card/index.d.ts +2 -0
- package/dist/src/components/article-card/index.js +29 -0
- package/dist/src/components/article-card/index.js.map +1 -0
- package/dist/src/components/article-card/index.mjs +5 -0
- package/dist/src/components/article-card/index.mjs.map +1 -0
- package/dist/src/components/auth-layout/AuthLayout.d.ts +46 -0
- package/dist/src/components/auth-layout/AuthLayout.js +113 -0
- package/dist/src/components/auth-layout/AuthLayout.js.map +1 -0
- package/dist/src/components/auth-layout/AuthLayout.mjs +79 -0
- package/dist/src/components/auth-layout/AuthLayout.mjs.map +1 -0
- package/dist/src/components/auth-layout/index.d.ts +1 -0
- package/dist/src/components/auth-layout/index.js +23 -0
- package/dist/src/components/auth-layout/index.js.map +1 -0
- package/dist/src/components/auth-layout/index.mjs +2 -0
- package/dist/src/components/auth-layout/index.mjs.map +1 -0
- package/dist/src/components/autocomplete/Autocomplete.d.ts +54 -0
- package/dist/src/components/autocomplete/Autocomplete.js +218 -0
- package/dist/src/components/autocomplete/Autocomplete.js.map +1 -0
- package/dist/src/components/autocomplete/Autocomplete.mjs +184 -0
- package/dist/src/components/autocomplete/Autocomplete.mjs.map +1 -0
- package/dist/src/components/autocomplete/index.d.ts +1 -0
- package/dist/src/components/autocomplete/index.js +23 -0
- package/dist/src/components/autocomplete/index.js.map +1 -0
- package/dist/src/components/autocomplete/index.mjs +2 -0
- package/dist/src/components/autocomplete/index.mjs.map +1 -0
- package/dist/src/components/avatar/Avatar.d.ts +6 -0
- package/dist/src/components/avatar/Avatar.js +79 -0
- package/dist/src/components/avatar/Avatar.js.map +1 -0
- package/dist/src/components/avatar/Avatar.mjs +43 -0
- package/dist/src/components/avatar/Avatar.mjs.map +1 -0
- package/dist/src/components/avatar/index.d.ts +1 -0
- package/dist/src/components/avatar/index.js +33 -0
- package/dist/src/components/avatar/index.js.map +1 -0
- package/dist/src/components/avatar/index.mjs +7 -0
- package/dist/src/components/avatar/index.mjs.map +1 -0
- package/dist/src/components/badge/Badge.d.ts +16 -0
- package/dist/src/components/badge/Badge.js +78 -0
- package/dist/src/components/badge/Badge.js.map +1 -0
- package/dist/src/components/badge/Badge.mjs +43 -0
- package/dist/src/components/badge/Badge.mjs.map +1 -0
- package/dist/src/components/badge/index.d.ts +2 -0
- package/dist/src/components/badge/index.js +31 -0
- package/dist/src/components/badge/index.js.map +1 -0
- package/dist/src/components/badge/index.mjs +6 -0
- package/dist/src/components/badge/index.mjs.map +1 -0
- package/dist/src/components/block/Block.d.ts +25 -0
- package/dist/src/components/block/Block.js +55 -0
- package/dist/src/components/block/Block.js.map +1 -0
- package/dist/src/components/block/Block.mjs +21 -0
- package/dist/src/components/block/Block.mjs.map +1 -0
- package/dist/src/components/block/index.d.ts +1 -0
- package/dist/src/components/block/index.js +23 -0
- package/dist/src/components/block/index.js.map +1 -0
- package/dist/src/components/block/index.mjs +2 -0
- package/dist/src/components/block/index.mjs.map +1 -0
- package/dist/src/components/breadcrumb/Breadcrumb.d.ts +59 -0
- package/dist/src/components/breadcrumb/Breadcrumb.js +82 -0
- package/dist/src/components/breadcrumb/Breadcrumb.js.map +1 -0
- package/dist/src/components/breadcrumb/Breadcrumb.mjs +48 -0
- package/dist/src/components/breadcrumb/Breadcrumb.mjs.map +1 -0
- package/dist/src/components/breadcrumb/index.d.ts +1 -0
- package/dist/src/components/breadcrumb/index.js +23 -0
- package/dist/src/components/breadcrumb/index.js.map +1 -0
- package/dist/src/components/breadcrumb/index.mjs +2 -0
- package/dist/src/components/breadcrumb/index.mjs.map +1 -0
- package/dist/src/components/button/Button.d.ts +24 -0
- package/dist/src/components/button/Button.js +119 -0
- package/dist/src/components/button/Button.js.map +1 -0
- package/dist/src/components/button/Button.mjs +84 -0
- package/dist/src/components/button/Button.mjs.map +1 -0
- package/dist/src/components/button/index.d.ts +1 -0
- package/dist/src/components/button/index.js +31 -0
- package/dist/src/components/button/index.js.map +1 -0
- package/dist/src/components/button/index.mjs +6 -0
- package/dist/src/components/button/index.mjs.map +1 -0
- package/dist/src/components/button-group/ButtonGroup.d.ts +22 -0
- package/dist/src/components/button-group/ButtonGroup.js +62 -0
- package/dist/src/components/button-group/ButtonGroup.js.map +1 -0
- package/dist/src/components/button-group/ButtonGroup.mjs +28 -0
- package/dist/src/components/button-group/ButtonGroup.mjs.map +1 -0
- package/dist/src/components/button-group/index.d.ts +1 -0
- package/dist/src/components/button-group/index.js +23 -0
- package/dist/src/components/button-group/index.js.map +1 -0
- package/dist/src/components/button-group/index.mjs +2 -0
- package/dist/src/components/button-group/index.mjs.map +1 -0
- package/dist/src/components/card/Card.d.ts +26 -0
- package/dist/src/components/card/Card.js +93 -0
- package/dist/src/components/card/Card.js.map +1 -0
- package/dist/src/components/card/Card.mjs +54 -0
- package/dist/src/components/card/Card.mjs.map +1 -0
- package/dist/src/components/card/index.d.ts +1 -0
- package/dist/src/components/card/index.js +23 -0
- package/dist/src/components/card/index.js.map +1 -0
- package/dist/src/components/card/index.mjs +2 -0
- package/dist/src/components/card/index.mjs.map +1 -0
- package/dist/src/components/checkbox/Checkbox.d.ts +19 -0
- package/dist/src/components/checkbox/Checkbox.js +64 -0
- package/dist/src/components/checkbox/Checkbox.js.map +1 -0
- package/dist/src/components/checkbox/Checkbox.mjs +30 -0
- package/dist/src/components/checkbox/Checkbox.mjs.map +1 -0
- package/dist/src/components/checkbox/CheckboxGroup.d.ts +41 -0
- package/dist/src/components/checkbox/CheckboxGroup.js +99 -0
- package/dist/src/components/checkbox/CheckboxGroup.js.map +1 -0
- package/dist/src/components/checkbox/CheckboxGroup.mjs +64 -0
- package/dist/src/components/checkbox/CheckboxGroup.mjs.map +1 -0
- package/dist/src/components/checkbox/index.d.ts +2 -0
- package/dist/src/components/checkbox/index.js +25 -0
- package/dist/src/components/checkbox/index.js.map +1 -0
- package/dist/src/components/checkbox/index.mjs +3 -0
- package/dist/src/components/checkbox/index.mjs.map +1 -0
- package/dist/src/components/comparison-table/ComparisonTable.d.ts +50 -0
- package/dist/src/components/comparison-table/ComparisonTable.js +124 -0
- package/dist/src/components/comparison-table/ComparisonTable.js.map +1 -0
- package/dist/src/components/comparison-table/ComparisonTable.mjs +90 -0
- package/dist/src/components/comparison-table/ComparisonTable.mjs.map +1 -0
- package/dist/src/components/comparison-table/index.d.ts +2 -0
- package/dist/src/components/comparison-table/index.js +29 -0
- package/dist/src/components/comparison-table/index.js.map +1 -0
- package/dist/src/components/comparison-table/index.mjs +5 -0
- package/dist/src/components/comparison-table/index.mjs.map +1 -0
- package/dist/src/components/confirm-dialog/ConfirmDialog.d.ts +28 -0
- package/dist/src/components/confirm-dialog/ConfirmDialog.js +92 -0
- package/dist/src/components/confirm-dialog/ConfirmDialog.js.map +1 -0
- package/dist/src/components/confirm-dialog/ConfirmDialog.mjs +58 -0
- package/dist/src/components/confirm-dialog/ConfirmDialog.mjs.map +1 -0
- package/dist/src/components/confirm-dialog/index.d.ts +1 -0
- package/dist/src/components/confirm-dialog/index.js +23 -0
- package/dist/src/components/confirm-dialog/index.js.map +1 -0
- package/dist/src/components/confirm-dialog/index.mjs +2 -0
- package/dist/src/components/confirm-dialog/index.mjs.map +1 -0
- package/dist/src/components/contact-strip/ContactStrip.d.ts +31 -0
- package/dist/src/components/contact-strip/ContactStrip.js +55 -0
- package/dist/src/components/contact-strip/ContactStrip.js.map +1 -0
- package/dist/src/components/contact-strip/ContactStrip.mjs +21 -0
- package/dist/src/components/contact-strip/ContactStrip.mjs.map +1 -0
- package/dist/src/components/contact-strip/index.d.ts +2 -0
- package/dist/src/components/contact-strip/index.js +29 -0
- package/dist/src/components/contact-strip/index.js.map +1 -0
- package/dist/src/components/contact-strip/index.mjs +5 -0
- package/dist/src/components/contact-strip/index.mjs.map +1 -0
- package/dist/src/components/container/Container.d.ts +23 -0
- package/dist/src/components/container/Container.js +65 -0
- package/dist/src/components/container/Container.js.map +1 -0
- package/dist/src/components/container/Container.mjs +31 -0
- package/dist/src/components/container/Container.mjs.map +1 -0
- package/dist/src/components/container/index.d.ts +2 -0
- package/dist/src/components/container/index.js +29 -0
- package/dist/src/components/container/index.js.map +1 -0
- package/dist/src/components/container/index.mjs +5 -0
- package/dist/src/components/container/index.mjs.map +1 -0
- package/dist/src/components/cta-section/CTASection.d.ts +46 -0
- package/dist/src/components/cta-section/CTASection.js +86 -0
- package/dist/src/components/cta-section/CTASection.js.map +1 -0
- package/dist/src/components/cta-section/CTASection.mjs +52 -0
- package/dist/src/components/cta-section/CTASection.mjs.map +1 -0
- package/dist/src/components/cta-section/index.d.ts +2 -0
- package/dist/src/components/cta-section/index.js +29 -0
- package/dist/src/components/cta-section/index.js.map +1 -0
- package/dist/src/components/cta-section/index.mjs +5 -0
- package/dist/src/components/cta-section/index.mjs.map +1 -0
- package/dist/src/components/data-table/DataTable.d.ts +93 -0
- package/dist/src/components/data-table/DataTable.js +302 -0
- package/dist/src/components/data-table/DataTable.js.map +1 -0
- package/dist/src/components/data-table/DataTable.mjs +268 -0
- package/dist/src/components/data-table/DataTable.mjs.map +1 -0
- package/dist/src/components/data-table/index.d.ts +1 -0
- package/dist/src/components/data-table/index.js +23 -0
- package/dist/src/components/data-table/index.js.map +1 -0
- package/dist/src/components/data-table/index.mjs +2 -0
- package/dist/src/components/data-table/index.mjs.map +1 -0
- package/dist/src/components/date-picker/DatePicker.d.ts +31 -0
- package/dist/src/components/date-picker/DatePicker.js +77 -0
- package/dist/src/components/date-picker/DatePicker.js.map +1 -0
- package/dist/src/components/date-picker/DatePicker.mjs +43 -0
- package/dist/src/components/date-picker/DatePicker.mjs.map +1 -0
- package/dist/src/components/date-picker/index.d.ts +1 -0
- package/dist/src/components/date-picker/index.js +23 -0
- package/dist/src/components/date-picker/index.js.map +1 -0
- package/dist/src/components/date-picker/index.mjs +2 -0
- package/dist/src/components/date-picker/index.mjs.map +1 -0
- package/dist/src/components/date-range-picker/DateRangePicker.d.ts +51 -0
- package/dist/src/components/date-range-picker/DateRangePicker.js +141 -0
- package/dist/src/components/date-range-picker/DateRangePicker.js.map +1 -0
- package/dist/src/components/date-range-picker/DateRangePicker.mjs +107 -0
- package/dist/src/components/date-range-picker/DateRangePicker.mjs.map +1 -0
- package/dist/src/components/date-range-picker/index.d.ts +2 -0
- package/dist/src/components/date-range-picker/index.js +29 -0
- package/dist/src/components/date-range-picker/index.js.map +1 -0
- package/dist/src/components/date-range-picker/index.mjs +5 -0
- package/dist/src/components/date-range-picker/index.mjs.map +1 -0
- package/dist/src/components/dialog/Dialog.d.ts +64 -0
- package/dist/src/components/dialog/Dialog.js +212 -0
- package/dist/src/components/dialog/Dialog.js.map +1 -0
- package/dist/src/components/dialog/Dialog.mjs +173 -0
- package/dist/src/components/dialog/Dialog.mjs.map +1 -0
- package/dist/src/components/dialog/index.d.ts +1 -0
- package/dist/src/components/dialog/index.js +23 -0
- package/dist/src/components/dialog/index.js.map +1 -0
- package/dist/src/components/dialog/index.mjs +2 -0
- package/dist/src/components/dialog/index.mjs.map +1 -0
- package/dist/src/components/drawer/Drawer.d.ts +48 -0
- package/dist/src/components/drawer/Drawer.js +214 -0
- package/dist/src/components/drawer/Drawer.js.map +1 -0
- package/dist/src/components/drawer/Drawer.mjs +180 -0
- package/dist/src/components/drawer/Drawer.mjs.map +1 -0
- package/dist/src/components/drawer/index.d.ts +1 -0
- package/dist/src/components/drawer/index.js +23 -0
- package/dist/src/components/drawer/index.js.map +1 -0
- package/dist/src/components/drawer/index.mjs +2 -0
- package/dist/src/components/drawer/index.mjs.map +1 -0
- package/dist/src/components/empty-state/EmptyState.d.ts +38 -0
- package/dist/src/components/empty-state/EmptyState.js +78 -0
- package/dist/src/components/empty-state/EmptyState.js.map +1 -0
- package/dist/src/components/empty-state/EmptyState.mjs +44 -0
- package/dist/src/components/empty-state/EmptyState.mjs.map +1 -0
- package/dist/src/components/empty-state/index.d.ts +1 -0
- package/dist/src/components/empty-state/index.js +23 -0
- package/dist/src/components/empty-state/index.js.map +1 -0
- package/dist/src/components/empty-state/index.mjs +2 -0
- package/dist/src/components/empty-state/index.mjs.map +1 -0
- package/dist/src/components/feature-grid/FeatureGrid.d.ts +38 -0
- package/dist/src/components/feature-grid/FeatureGrid.js +65 -0
- package/dist/src/components/feature-grid/FeatureGrid.js.map +1 -0
- package/dist/src/components/feature-grid/FeatureGrid.mjs +31 -0
- package/dist/src/components/feature-grid/FeatureGrid.mjs.map +1 -0
- package/dist/src/components/feature-grid/index.d.ts +2 -0
- package/dist/src/components/feature-grid/index.js +29 -0
- package/dist/src/components/feature-grid/index.js.map +1 -0
- package/dist/src/components/feature-grid/index.mjs +5 -0
- package/dist/src/components/feature-grid/index.mjs.map +1 -0
- package/dist/src/components/feature-row/FeatureRow.d.ts +42 -0
- package/dist/src/components/feature-row/FeatureRow.js +76 -0
- package/dist/src/components/feature-row/FeatureRow.js.map +1 -0
- package/dist/src/components/feature-row/FeatureRow.mjs +42 -0
- package/dist/src/components/feature-row/FeatureRow.mjs.map +1 -0
- package/dist/src/components/feature-row/index.d.ts +2 -0
- package/dist/src/components/feature-row/index.js +29 -0
- package/dist/src/components/feature-row/index.js.map +1 -0
- package/dist/src/components/feature-row/index.mjs +5 -0
- package/dist/src/components/feature-row/index.mjs.map +1 -0
- package/dist/src/components/fieldset/Fieldset.d.ts +23 -0
- package/dist/src/components/fieldset/Fieldset.js +58 -0
- package/dist/src/components/fieldset/Fieldset.js.map +1 -0
- package/dist/src/components/fieldset/Fieldset.mjs +24 -0
- package/dist/src/components/fieldset/Fieldset.mjs.map +1 -0
- package/dist/src/components/fieldset/index.d.ts +1 -0
- package/dist/src/components/fieldset/index.js +23 -0
- package/dist/src/components/fieldset/index.js.map +1 -0
- package/dist/src/components/fieldset/index.mjs +2 -0
- package/dist/src/components/fieldset/index.mjs.map +1 -0
- package/dist/src/components/file-upload/FileUpload.d.ts +45 -0
- package/dist/src/components/file-upload/FileUpload.js +154 -0
- package/dist/src/components/file-upload/FileUpload.js.map +1 -0
- package/dist/src/components/file-upload/FileUpload.mjs +120 -0
- package/dist/src/components/file-upload/FileUpload.mjs.map +1 -0
- package/dist/src/components/file-upload/index.d.ts +1 -0
- package/dist/src/components/file-upload/index.js +23 -0
- package/dist/src/components/file-upload/index.js.map +1 -0
- package/dist/src/components/file-upload/index.mjs +2 -0
- package/dist/src/components/file-upload/index.mjs.map +1 -0
- package/dist/src/components/filter-bar/FilterBar.d.ts +50 -0
- package/dist/src/components/filter-bar/FilterBar.js +100 -0
- package/dist/src/components/filter-bar/FilterBar.js.map +1 -0
- package/dist/src/components/filter-bar/FilterBar.mjs +66 -0
- package/dist/src/components/filter-bar/FilterBar.mjs.map +1 -0
- package/dist/src/components/filter-bar/index.d.ts +1 -0
- package/dist/src/components/filter-bar/index.js +23 -0
- package/dist/src/components/filter-bar/index.js.map +1 -0
- package/dist/src/components/filter-bar/index.mjs +2 -0
- package/dist/src/components/filter-bar/index.mjs.map +1 -0
- package/dist/src/components/filter-chips/FilterChips.d.ts +37 -0
- package/dist/src/components/filter-chips/FilterChips.js +103 -0
- package/dist/src/components/filter-chips/FilterChips.js.map +1 -0
- package/dist/src/components/filter-chips/FilterChips.mjs +69 -0
- package/dist/src/components/filter-chips/FilterChips.mjs.map +1 -0
- package/dist/src/components/filter-chips/index.d.ts +2 -0
- package/dist/src/components/filter-chips/index.js +29 -0
- package/dist/src/components/filter-chips/index.js.map +1 -0
- package/dist/src/components/filter-chips/index.mjs +5 -0
- package/dist/src/components/filter-chips/index.mjs.map +1 -0
- package/dist/src/components/filter-panel/FilterPanel.d.ts +64 -0
- package/dist/src/components/filter-panel/FilterPanel.js +108 -0
- package/dist/src/components/filter-panel/FilterPanel.js.map +1 -0
- package/dist/src/components/filter-panel/FilterPanel.mjs +74 -0
- package/dist/src/components/filter-panel/FilterPanel.mjs.map +1 -0
- package/dist/src/components/filter-panel/index.d.ts +2 -0
- package/dist/src/components/filter-panel/index.js +29 -0
- package/dist/src/components/filter-panel/index.js.map +1 -0
- package/dist/src/components/filter-panel/index.mjs +5 -0
- package/dist/src/components/filter-panel/index.mjs.map +1 -0
- package/dist/src/components/flex/Flex.d.ts +61 -0
- package/dist/src/components/flex/Flex.js +110 -0
- package/dist/src/components/flex/Flex.js.map +1 -0
- package/dist/src/components/flex/Flex.mjs +75 -0
- package/dist/src/components/flex/Flex.mjs.map +1 -0
- package/dist/src/components/flex/index.d.ts +1 -0
- package/dist/src/components/flex/index.js +23 -0
- package/dist/src/components/flex/index.js.map +1 -0
- package/dist/src/components/flex/index.mjs +2 -0
- package/dist/src/components/flex/index.mjs.map +1 -0
- package/dist/src/components/form/Form.d.ts +23 -0
- package/dist/src/components/form/Form.js +63 -0
- package/dist/src/components/form/Form.js.map +1 -0
- package/dist/src/components/form/Form.mjs +29 -0
- package/dist/src/components/form/Form.mjs.map +1 -0
- package/dist/src/components/form/index.d.ts +1 -0
- package/dist/src/components/form/index.js +23 -0
- package/dist/src/components/form/index.js.map +1 -0
- package/dist/src/components/form/index.mjs +2 -0
- package/dist/src/components/form/index.mjs.map +1 -0
- package/dist/src/components/form-field/FormField.d.ts +47 -0
- package/dist/src/components/form-field/FormField.js +113 -0
- package/dist/src/components/form-field/FormField.js.map +1 -0
- package/dist/src/components/form-field/FormField.mjs +79 -0
- package/dist/src/components/form-field/FormField.mjs.map +1 -0
- package/dist/src/components/form-field/index.d.ts +1 -0
- package/dist/src/components/form-field/index.js +23 -0
- package/dist/src/components/form-field/index.js.map +1 -0
- package/dist/src/components/form-field/index.mjs +2 -0
- package/dist/src/components/form-field/index.mjs.map +1 -0
- package/dist/src/components/form-layout/FormLayout.d.ts +37 -0
- package/dist/src/components/form-layout/FormLayout.js +87 -0
- package/dist/src/components/form-layout/FormLayout.js.map +1 -0
- package/dist/src/components/form-layout/FormLayout.mjs +53 -0
- package/dist/src/components/form-layout/FormLayout.mjs.map +1 -0
- package/dist/src/components/form-layout/index.d.ts +1 -0
- package/dist/src/components/form-layout/index.js +23 -0
- package/dist/src/components/form-layout/index.js.map +1 -0
- package/dist/src/components/form-layout/index.mjs +2 -0
- package/dist/src/components/form-layout/index.mjs.map +1 -0
- package/dist/src/components/grid/Grid.d.ts +71 -0
- package/dist/src/components/grid/Grid.js +156 -0
- package/dist/src/components/grid/Grid.js.map +1 -0
- package/dist/src/components/grid/Grid.mjs +121 -0
- package/dist/src/components/grid/Grid.mjs.map +1 -0
- package/dist/src/components/grid/index.d.ts +1 -0
- package/dist/src/components/grid/index.js +23 -0
- package/dist/src/components/grid/index.js.map +1 -0
- package/dist/src/components/grid/index.mjs +2 -0
- package/dist/src/components/grid/index.mjs.map +1 -0
- package/dist/src/components/heading/Heading.d.ts +32 -0
- package/dist/src/components/heading/Heading.js +76 -0
- package/dist/src/components/heading/Heading.js.map +1 -0
- package/dist/src/components/heading/Heading.mjs +42 -0
- package/dist/src/components/heading/Heading.mjs.map +1 -0
- package/dist/src/components/heading/index.d.ts +1 -0
- package/dist/src/components/heading/index.js +23 -0
- package/dist/src/components/heading/index.js.map +1 -0
- package/dist/src/components/heading/index.mjs +2 -0
- package/dist/src/components/heading/index.mjs.map +1 -0
- package/dist/src/components/hero/Hero.d.ts +81 -0
- package/dist/src/components/hero/Hero.js +95 -0
- package/dist/src/components/hero/Hero.js.map +1 -0
- package/dist/src/components/hero/Hero.mjs +61 -0
- package/dist/src/components/hero/Hero.mjs.map +1 -0
- package/dist/src/components/hero/index.d.ts +2 -0
- package/dist/src/components/hero/index.js +29 -0
- package/dist/src/components/hero/index.js.map +1 -0
- package/dist/src/components/hero/index.mjs +5 -0
- package/dist/src/components/hero/index.mjs.map +1 -0
- package/dist/src/components/input/Input.d.ts +4 -0
- package/dist/src/components/input/Input.js +63 -0
- package/dist/src/components/input/Input.js.map +1 -0
- package/dist/src/components/input/Input.mjs +29 -0
- package/dist/src/components/input/Input.mjs.map +1 -0
- package/dist/src/components/input/index.d.ts +2 -0
- package/dist/src/components/input/index.js +29 -0
- package/dist/src/components/input/index.js.map +1 -0
- package/dist/src/components/input/index.mjs +5 -0
- package/dist/src/components/input/index.mjs.map +1 -0
- package/dist/src/components/input-group/InputGroup.d.ts +31 -0
- package/dist/src/components/input-group/InputGroup.js +114 -0
- package/dist/src/components/input-group/InputGroup.js.map +1 -0
- package/dist/src/components/input-group/InputGroup.mjs +79 -0
- package/dist/src/components/input-group/InputGroup.mjs.map +1 -0
- package/dist/src/components/input-group/index.d.ts +1 -0
- package/dist/src/components/input-group/index.js +23 -0
- package/dist/src/components/input-group/index.js.map +1 -0
- package/dist/src/components/input-group/index.mjs +2 -0
- package/dist/src/components/input-group/index.mjs.map +1 -0
- package/dist/src/components/label/Label.d.ts +9 -0
- package/dist/src/components/label/Label.js +55 -0
- package/dist/src/components/label/Label.js.map +1 -0
- package/dist/src/components/label/Label.mjs +21 -0
- package/dist/src/components/label/Label.mjs.map +1 -0
- package/dist/src/components/label/index.d.ts +1 -0
- package/dist/src/components/label/index.js +23 -0
- package/dist/src/components/label/index.js.map +1 -0
- package/dist/src/components/label/index.mjs +2 -0
- package/dist/src/components/label/index.mjs.map +1 -0
- package/dist/src/components/link/Link.d.ts +35 -0
- package/dist/src/components/link/Link.js +92 -0
- package/dist/src/components/link/Link.js.map +1 -0
- package/dist/src/components/link/Link.mjs +58 -0
- package/dist/src/components/link/Link.mjs.map +1 -0
- package/dist/src/components/link/index.d.ts +1 -0
- package/dist/src/components/link/index.js +23 -0
- package/dist/src/components/link/index.js.map +1 -0
- package/dist/src/components/link/index.mjs +2 -0
- package/dist/src/components/link/index.mjs.map +1 -0
- package/dist/src/components/link-tabs/LinkTabs.d.ts +60 -0
- package/dist/src/components/link-tabs/LinkTabs.js +126 -0
- package/dist/src/components/link-tabs/LinkTabs.js.map +1 -0
- package/dist/src/components/link-tabs/LinkTabs.mjs +92 -0
- package/dist/src/components/link-tabs/LinkTabs.mjs.map +1 -0
- package/dist/src/components/link-tabs/index.d.ts +2 -0
- package/dist/src/components/link-tabs/index.js +29 -0
- package/dist/src/components/link-tabs/index.js.map +1 -0
- package/dist/src/components/link-tabs/index.mjs +5 -0
- package/dist/src/components/link-tabs/index.mjs.map +1 -0
- package/dist/src/components/list/List.d.ts +58 -0
- package/dist/src/components/list/List.js +82 -0
- package/dist/src/components/list/List.js.map +1 -0
- package/dist/src/components/list/List.mjs +47 -0
- package/dist/src/components/list/List.mjs.map +1 -0
- package/dist/src/components/list/index.d.ts +1 -0
- package/dist/src/components/list/index.js +23 -0
- package/dist/src/components/list/index.js.map +1 -0
- package/dist/src/components/list/index.mjs +2 -0
- package/dist/src/components/list/index.mjs.map +1 -0
- package/dist/src/components/logo-cloud/LogoCloud.d.ts +46 -0
- package/dist/src/components/logo-cloud/LogoCloud.js +96 -0
- package/dist/src/components/logo-cloud/LogoCloud.js.map +1 -0
- package/dist/src/components/logo-cloud/LogoCloud.mjs +62 -0
- package/dist/src/components/logo-cloud/LogoCloud.mjs.map +1 -0
- package/dist/src/components/logo-cloud/index.d.ts +2 -0
- package/dist/src/components/logo-cloud/index.js +29 -0
- package/dist/src/components/logo-cloud/index.js.map +1 -0
- package/dist/src/components/logo-cloud/index.mjs +5 -0
- package/dist/src/components/logo-cloud/index.mjs.map +1 -0
- package/dist/src/components/menu/Menu.d.ts +41 -0
- package/dist/src/components/menu/Menu.js +254 -0
- package/dist/src/components/menu/Menu.js.map +1 -0
- package/dist/src/components/menu/Menu.mjs +215 -0
- package/dist/src/components/menu/Menu.mjs.map +1 -0
- package/dist/src/components/menu/index.d.ts +1 -0
- package/dist/src/components/menu/index.js +23 -0
- package/dist/src/components/menu/index.js.map +1 -0
- package/dist/src/components/menu/index.mjs +2 -0
- package/dist/src/components/menu/index.mjs.map +1 -0
- package/dist/src/components/metric-card/MetricCard.d.ts +29 -0
- package/dist/src/components/metric-card/MetricCard.js +64 -0
- package/dist/src/components/metric-card/MetricCard.js.map +1 -0
- package/dist/src/components/metric-card/MetricCard.mjs +30 -0
- package/dist/src/components/metric-card/MetricCard.mjs.map +1 -0
- package/dist/src/components/metric-card/index.d.ts +1 -0
- package/dist/src/components/metric-card/index.js +23 -0
- package/dist/src/components/metric-card/index.js.map +1 -0
- package/dist/src/components/metric-card/index.mjs +2 -0
- package/dist/src/components/metric-card/index.mjs.map +1 -0
- package/dist/src/components/multi-select/MultiSelect.d.ts +56 -0
- package/dist/src/components/multi-select/MultiSelect.js +181 -0
- package/dist/src/components/multi-select/MultiSelect.js.map +1 -0
- package/dist/src/components/multi-select/MultiSelect.mjs +147 -0
- package/dist/src/components/multi-select/MultiSelect.mjs.map +1 -0
- package/dist/src/components/multi-select/index.d.ts +2 -0
- package/dist/src/components/multi-select/index.js +29 -0
- package/dist/src/components/multi-select/index.js.map +1 -0
- package/dist/src/components/multi-select/index.mjs +5 -0
- package/dist/src/components/multi-select/index.mjs.map +1 -0
- package/dist/src/components/newsletter/Newsletter.d.ts +54 -0
- package/dist/src/components/newsletter/Newsletter.js +106 -0
- package/dist/src/components/newsletter/Newsletter.js.map +1 -0
- package/dist/src/components/newsletter/Newsletter.mjs +72 -0
- package/dist/src/components/newsletter/Newsletter.mjs.map +1 -0
- package/dist/src/components/newsletter/index.d.ts +2 -0
- package/dist/src/components/newsletter/index.js +29 -0
- package/dist/src/components/newsletter/index.js.map +1 -0
- package/dist/src/components/newsletter/index.mjs +5 -0
- package/dist/src/components/newsletter/index.mjs.map +1 -0
- package/dist/src/components/page-header/PageHeader.d.ts +50 -0
- package/dist/src/components/page-header/PageHeader.js +61 -0
- package/dist/src/components/page-header/PageHeader.js.map +1 -0
- package/dist/src/components/page-header/PageHeader.mjs +27 -0
- package/dist/src/components/page-header/PageHeader.mjs.map +1 -0
- package/dist/src/components/page-header/document-head.d.ts +25 -0
- package/dist/src/components/page-header/document-head.js +41 -0
- package/dist/src/components/page-header/document-head.js.map +1 -0
- package/dist/src/components/page-header/document-head.mjs +17 -0
- package/dist/src/components/page-header/document-head.mjs.map +1 -0
- package/dist/src/components/page-header/index.d.ts +2 -0
- package/dist/src/components/page-header/index.js +25 -0
- package/dist/src/components/page-header/index.js.map +1 -0
- package/dist/src/components/page-header/index.mjs +3 -0
- package/dist/src/components/page-header/index.mjs.map +1 -0
- package/dist/src/components/pagination/Pagination.d.ts +123 -0
- package/dist/src/components/pagination/Pagination.js +168 -0
- package/dist/src/components/pagination/Pagination.js.map +1 -0
- package/dist/src/components/pagination/Pagination.mjs +134 -0
- package/dist/src/components/pagination/Pagination.mjs.map +1 -0
- package/dist/src/components/pagination/index.d.ts +1 -0
- package/dist/src/components/pagination/index.js +23 -0
- package/dist/src/components/pagination/index.js.map +1 -0
- package/dist/src/components/pagination/index.mjs +2 -0
- package/dist/src/components/pagination/index.mjs.map +1 -0
- package/dist/src/components/password-input/PasswordInput.d.ts +17 -0
- package/dist/src/components/password-input/PasswordInput.js +63 -0
- package/dist/src/components/password-input/PasswordInput.js.map +1 -0
- package/dist/src/components/password-input/PasswordInput.mjs +29 -0
- package/dist/src/components/password-input/PasswordInput.mjs.map +1 -0
- package/dist/src/components/password-input/index.d.ts +1 -0
- package/dist/src/components/password-input/index.js +23 -0
- package/dist/src/components/password-input/index.js.map +1 -0
- package/dist/src/components/password-input/index.mjs +2 -0
- package/dist/src/components/password-input/index.mjs.map +1 -0
- package/dist/src/components/popover/Popover.d.ts +22 -0
- package/dist/src/components/popover/Popover.js +188 -0
- package/dist/src/components/popover/Popover.js.map +1 -0
- package/dist/src/components/popover/Popover.mjs +152 -0
- package/dist/src/components/popover/Popover.mjs.map +1 -0
- package/dist/src/components/popover/index.d.ts +1 -0
- package/dist/src/components/popover/index.js +23 -0
- package/dist/src/components/popover/index.js.map +1 -0
- package/dist/src/components/popover/index.mjs +2 -0
- package/dist/src/components/popover/index.mjs.map +1 -0
- package/dist/src/components/process-steps/ProcessSteps.d.ts +31 -0
- package/dist/src/components/process-steps/ProcessSteps.js +62 -0
- package/dist/src/components/process-steps/ProcessSteps.js.map +1 -0
- package/dist/src/components/process-steps/ProcessSteps.mjs +28 -0
- package/dist/src/components/process-steps/ProcessSteps.mjs.map +1 -0
- package/dist/src/components/process-steps/index.d.ts +2 -0
- package/dist/src/components/process-steps/index.js +29 -0
- package/dist/src/components/process-steps/index.js.map +1 -0
- package/dist/src/components/process-steps/index.mjs +5 -0
- package/dist/src/components/process-steps/index.mjs.map +1 -0
- package/dist/src/components/progress/Progress.d.ts +31 -0
- package/dist/src/components/progress/Progress.js +71 -0
- package/dist/src/components/progress/Progress.js.map +1 -0
- package/dist/src/components/progress/Progress.mjs +37 -0
- package/dist/src/components/progress/Progress.mjs.map +1 -0
- package/dist/src/components/progress/index.d.ts +1 -0
- package/dist/src/components/progress/index.js +23 -0
- package/dist/src/components/progress/index.js.map +1 -0
- package/dist/src/components/progress/index.mjs +2 -0
- package/dist/src/components/progress/index.mjs.map +1 -0
- package/dist/src/components/prose/Prose.d.ts +16 -0
- package/dist/src/components/prose/Prose.js +84 -0
- package/dist/src/components/prose/Prose.js.map +1 -0
- package/dist/src/components/prose/Prose.mjs +50 -0
- package/dist/src/components/prose/Prose.mjs.map +1 -0
- package/dist/src/components/prose/index.d.ts +1 -0
- package/dist/src/components/prose/index.js +23 -0
- package/dist/src/components/prose/index.js.map +1 -0
- package/dist/src/components/prose/index.mjs +2 -0
- package/dist/src/components/prose/index.mjs.map +1 -0
- package/dist/src/components/radio/Radio.d.ts +63 -0
- package/dist/src/components/radio/Radio.js +127 -0
- package/dist/src/components/radio/Radio.js.map +1 -0
- package/dist/src/components/radio/Radio.mjs +90 -0
- package/dist/src/components/radio/Radio.mjs.map +1 -0
- package/dist/src/components/radio/RadioCard.d.ts +24 -0
- package/dist/src/components/radio/RadioCard.js +84 -0
- package/dist/src/components/radio/RadioCard.js.map +1 -0
- package/dist/src/components/radio/RadioCard.mjs +50 -0
- package/dist/src/components/radio/RadioCard.mjs.map +1 -0
- package/dist/src/components/radio/index.d.ts +2 -0
- package/dist/src/components/radio/index.js +25 -0
- package/dist/src/components/radio/index.js.map +1 -0
- package/dist/src/components/radio/index.mjs +3 -0
- package/dist/src/components/radio/index.mjs.map +1 -0
- package/dist/src/components/range-slider/RangeSlider.d.ts +53 -0
- package/dist/src/components/range-slider/RangeSlider.js +128 -0
- package/dist/src/components/range-slider/RangeSlider.js.map +1 -0
- package/dist/src/components/range-slider/RangeSlider.mjs +94 -0
- package/dist/src/components/range-slider/RangeSlider.mjs.map +1 -0
- package/dist/src/components/range-slider/index.d.ts +2 -0
- package/dist/src/components/range-slider/index.js +29 -0
- package/dist/src/components/range-slider/index.js.map +1 -0
- package/dist/src/components/range-slider/index.mjs +5 -0
- package/dist/src/components/range-slider/index.mjs.map +1 -0
- package/dist/src/components/search/Search.d.ts +37 -0
- package/dist/src/components/search/Search.js +152 -0
- package/dist/src/components/search/Search.js.map +1 -0
- package/dist/src/components/search/Search.mjs +118 -0
- package/dist/src/components/search/Search.mjs.map +1 -0
- package/dist/src/components/search/index.d.ts +2 -0
- package/dist/src/components/search/index.js +25 -0
- package/dist/src/components/search/index.js.map +1 -0
- package/dist/src/components/search/index.mjs +3 -0
- package/dist/src/components/search/index.mjs.map +1 -0
- package/dist/src/components/search/use-combobox.d.ts +52 -0
- package/dist/src/components/search/use-combobox.js +156 -0
- package/dist/src/components/search/use-combobox.js.map +1 -0
- package/dist/src/components/search/use-combobox.mjs +122 -0
- package/dist/src/components/search/use-combobox.mjs.map +1 -0
- package/dist/src/components/section/Section.d.ts +37 -0
- package/dist/src/components/section/Section.js +107 -0
- package/dist/src/components/section/Section.js.map +1 -0
- package/dist/src/components/section/Section.mjs +73 -0
- package/dist/src/components/section/Section.mjs.map +1 -0
- package/dist/src/components/section/index.d.ts +2 -0
- package/dist/src/components/section/index.js +29 -0
- package/dist/src/components/section/index.js.map +1 -0
- package/dist/src/components/section/index.mjs +5 -0
- package/dist/src/components/section/index.mjs.map +1 -0
- package/dist/src/components/section-heading/SectionHeading.d.ts +42 -0
- package/dist/src/components/section-heading/SectionHeading.js +69 -0
- package/dist/src/components/section-heading/SectionHeading.js.map +1 -0
- package/dist/src/components/section-heading/SectionHeading.mjs +35 -0
- package/dist/src/components/section-heading/SectionHeading.mjs.map +1 -0
- package/dist/src/components/section-heading/index.d.ts +1 -0
- package/dist/src/components/section-heading/index.js +23 -0
- package/dist/src/components/section-heading/index.js.map +1 -0
- package/dist/src/components/section-heading/index.mjs +2 -0
- package/dist/src/components/section-heading/index.mjs.map +1 -0
- package/dist/src/components/segmented-control/SegmentedControl.d.ts +46 -0
- package/dist/src/components/segmented-control/SegmentedControl.js +166 -0
- package/dist/src/components/segmented-control/SegmentedControl.js.map +1 -0
- package/dist/src/components/segmented-control/SegmentedControl.mjs +132 -0
- package/dist/src/components/segmented-control/SegmentedControl.mjs.map +1 -0
- package/dist/src/components/segmented-control/index.d.ts +2 -0
- package/dist/src/components/segmented-control/index.js +29 -0
- package/dist/src/components/segmented-control/index.js.map +1 -0
- package/dist/src/components/segmented-control/index.mjs +5 -0
- package/dist/src/components/segmented-control/index.mjs.map +1 -0
- package/dist/src/components/select/Select.d.ts +51 -0
- package/dist/src/components/select/Select.js +80 -0
- package/dist/src/components/select/Select.js.map +1 -0
- package/dist/src/components/select/Select.mjs +46 -0
- package/dist/src/components/select/Select.mjs.map +1 -0
- package/dist/src/components/select/index.d.ts +2 -0
- package/dist/src/components/select/index.js +29 -0
- package/dist/src/components/select/index.js.map +1 -0
- package/dist/src/components/select/index.mjs +5 -0
- package/dist/src/components/select/index.mjs.map +1 -0
- package/dist/src/components/select-menu/SelectMenu.d.ts +59 -0
- package/dist/src/components/select-menu/SelectMenu.js +308 -0
- package/dist/src/components/select-menu/SelectMenu.js.map +1 -0
- package/dist/src/components/select-menu/SelectMenu.mjs +274 -0
- package/dist/src/components/select-menu/SelectMenu.mjs.map +1 -0
- package/dist/src/components/select-menu/index.d.ts +1 -0
- package/dist/src/components/select-menu/index.js +23 -0
- package/dist/src/components/select-menu/index.js.map +1 -0
- package/dist/src/components/select-menu/index.mjs +2 -0
- package/dist/src/components/select-menu/index.mjs.map +1 -0
- package/dist/src/components/separator/Separator.d.ts +32 -0
- package/dist/src/components/separator/Separator.js +72 -0
- package/dist/src/components/separator/Separator.js.map +1 -0
- package/dist/src/components/separator/Separator.mjs +36 -0
- package/dist/src/components/separator/Separator.mjs.map +1 -0
- package/dist/src/components/separator/index.d.ts +1 -0
- package/dist/src/components/separator/index.js +23 -0
- package/dist/src/components/separator/index.js.map +1 -0
- package/dist/src/components/separator/index.mjs +2 -0
- package/dist/src/components/separator/index.mjs.map +1 -0
- package/dist/src/components/site-footer/SiteFooter.d.ts +37 -0
- package/dist/src/components/site-footer/SiteFooter.js +79 -0
- package/dist/src/components/site-footer/SiteFooter.js.map +1 -0
- package/dist/src/components/site-footer/SiteFooter.mjs +55 -0
- package/dist/src/components/site-footer/SiteFooter.mjs.map +1 -0
- package/dist/src/components/site-footer/index.d.ts +1 -0
- package/dist/src/components/site-footer/index.js +23 -0
- package/dist/src/components/site-footer/index.js.map +1 -0
- package/dist/src/components/site-footer/index.mjs +2 -0
- package/dist/src/components/site-footer/index.mjs.map +1 -0
- package/dist/src/components/site-header/SiteHeader.d.ts +54 -0
- package/dist/src/components/site-header/SiteHeader.js +174 -0
- package/dist/src/components/site-header/SiteHeader.js.map +1 -0
- package/dist/src/components/site-header/SiteHeader.mjs +140 -0
- package/dist/src/components/site-header/SiteHeader.mjs.map +1 -0
- package/dist/src/components/site-header/index.d.ts +1 -0
- package/dist/src/components/site-header/index.js +23 -0
- package/dist/src/components/site-header/index.js.map +1 -0
- package/dist/src/components/site-header/index.mjs +2 -0
- package/dist/src/components/site-header/index.mjs.map +1 -0
- package/dist/src/components/skeleton/Skeleton.d.ts +41 -0
- package/dist/src/components/skeleton/Skeleton.js +71 -0
- package/dist/src/components/skeleton/Skeleton.js.map +1 -0
- package/dist/src/components/skeleton/Skeleton.mjs +37 -0
- package/dist/src/components/skeleton/Skeleton.mjs.map +1 -0
- package/dist/src/components/skeleton/index.d.ts +1 -0
- package/dist/src/components/skeleton/index.js +23 -0
- package/dist/src/components/skeleton/index.js.map +1 -0
- package/dist/src/components/skeleton/index.mjs +2 -0
- package/dist/src/components/skeleton/index.mjs.map +1 -0
- package/dist/src/components/spinner/Spinner.d.ts +11 -0
- package/dist/src/components/spinner/Spinner.js +59 -0
- package/dist/src/components/spinner/Spinner.js.map +1 -0
- package/dist/src/components/spinner/Spinner.mjs +34 -0
- package/dist/src/components/spinner/Spinner.mjs.map +1 -0
- package/dist/src/components/spinner/index.d.ts +2 -0
- package/dist/src/components/spinner/index.js +31 -0
- package/dist/src/components/spinner/index.js.map +1 -0
- package/dist/src/components/spinner/index.mjs +6 -0
- package/dist/src/components/spinner/index.mjs.map +1 -0
- package/dist/src/components/stat-band/StatBand.d.ts +38 -0
- package/dist/src/components/stat-band/StatBand.js +83 -0
- package/dist/src/components/stat-band/StatBand.js.map +1 -0
- package/dist/src/components/stat-band/StatBand.mjs +49 -0
- package/dist/src/components/stat-band/StatBand.mjs.map +1 -0
- package/dist/src/components/stat-band/index.d.ts +2 -0
- package/dist/src/components/stat-band/index.js +29 -0
- package/dist/src/components/stat-band/index.js.map +1 -0
- package/dist/src/components/stat-band/index.mjs +5 -0
- package/dist/src/components/stat-band/index.mjs.map +1 -0
- package/dist/src/components/stepper/Stepper.d.ts +26 -0
- package/dist/src/components/stepper/Stepper.js +92 -0
- package/dist/src/components/stepper/Stepper.js.map +1 -0
- package/dist/src/components/stepper/Stepper.mjs +58 -0
- package/dist/src/components/stepper/Stepper.mjs.map +1 -0
- package/dist/src/components/stepper/index.d.ts +1 -0
- package/dist/src/components/stepper/index.js +23 -0
- package/dist/src/components/stepper/index.js.map +1 -0
- package/dist/src/components/stepper/index.mjs +2 -0
- package/dist/src/components/stepper/index.mjs.map +1 -0
- package/dist/src/components/switch/Switch.d.ts +27 -0
- package/dist/src/components/switch/Switch.js +95 -0
- package/dist/src/components/switch/Switch.js.map +1 -0
- package/dist/src/components/switch/Switch.mjs +61 -0
- package/dist/src/components/switch/Switch.mjs.map +1 -0
- package/dist/src/components/switch/index.d.ts +1 -0
- package/dist/src/components/switch/index.js +23 -0
- package/dist/src/components/switch/index.js.map +1 -0
- package/dist/src/components/switch/index.mjs +2 -0
- package/dist/src/components/switch/index.mjs.map +1 -0
- package/dist/src/components/table/Table.d.ts +26 -0
- package/dist/src/components/table/Table.js +122 -0
- package/dist/src/components/table/Table.js.map +1 -0
- package/dist/src/components/table/Table.mjs +81 -0
- package/dist/src/components/table/Table.mjs.map +1 -0
- package/dist/src/components/table/index.d.ts +1 -0
- package/dist/src/components/table/index.js +23 -0
- package/dist/src/components/table/index.js.map +1 -0
- package/dist/src/components/table/index.mjs +2 -0
- package/dist/src/components/table/index.mjs.map +1 -0
- package/dist/src/components/table-card/TableCard.d.ts +34 -0
- package/dist/src/components/table-card/TableCard.js +63 -0
- package/dist/src/components/table-card/TableCard.js.map +1 -0
- package/dist/src/components/table-card/TableCard.mjs +29 -0
- package/dist/src/components/table-card/TableCard.mjs.map +1 -0
- package/dist/src/components/table-card/index.d.ts +1 -0
- package/dist/src/components/table-card/index.js +23 -0
- package/dist/src/components/table-card/index.js.map +1 -0
- package/dist/src/components/table-card/index.mjs +2 -0
- package/dist/src/components/table-card/index.mjs.map +1 -0
- package/dist/src/components/table-of-contents/TableOfContents.d.ts +32 -0
- package/dist/src/components/table-of-contents/TableOfContents.js +102 -0
- package/dist/src/components/table-of-contents/TableOfContents.js.map +1 -0
- package/dist/src/components/table-of-contents/TableOfContents.mjs +67 -0
- package/dist/src/components/table-of-contents/TableOfContents.mjs.map +1 -0
- package/dist/src/components/table-of-contents/index.d.ts +1 -0
- package/dist/src/components/table-of-contents/index.js +23 -0
- package/dist/src/components/table-of-contents/index.js.map +1 -0
- package/dist/src/components/table-of-contents/index.mjs +2 -0
- package/dist/src/components/table-of-contents/index.mjs.map +1 -0
- package/dist/src/components/tabs/Tabs.d.ts +45 -0
- package/dist/src/components/tabs/Tabs.js +216 -0
- package/dist/src/components/tabs/Tabs.js.map +1 -0
- package/dist/src/components/tabs/Tabs.mjs +179 -0
- package/dist/src/components/tabs/Tabs.mjs.map +1 -0
- package/dist/src/components/tabs/index.d.ts +1 -0
- package/dist/src/components/tabs/index.js +23 -0
- package/dist/src/components/tabs/index.js.map +1 -0
- package/dist/src/components/tabs/index.mjs +2 -0
- package/dist/src/components/tabs/index.mjs.map +1 -0
- package/dist/src/components/testimonial/Testimonial.d.ts +41 -0
- package/dist/src/components/testimonial/Testimonial.js +75 -0
- package/dist/src/components/testimonial/Testimonial.js.map +1 -0
- package/dist/src/components/testimonial/Testimonial.mjs +41 -0
- package/dist/src/components/testimonial/Testimonial.mjs.map +1 -0
- package/dist/src/components/testimonial/index.d.ts +2 -0
- package/dist/src/components/testimonial/index.js +29 -0
- package/dist/src/components/testimonial/index.js.map +1 -0
- package/dist/src/components/testimonial/index.mjs +5 -0
- package/dist/src/components/testimonial/index.mjs.map +1 -0
- package/dist/src/components/text/Text.d.ts +40 -0
- package/dist/src/components/text/Text.js +74 -0
- package/dist/src/components/text/Text.js.map +1 -0
- package/dist/src/components/text/Text.mjs +40 -0
- package/dist/src/components/text/Text.mjs.map +1 -0
- package/dist/src/components/text/index.d.ts +1 -0
- package/dist/src/components/text/index.js +23 -0
- package/dist/src/components/text/index.js.map +1 -0
- package/dist/src/components/text/index.mjs +2 -0
- package/dist/src/components/text/index.mjs.map +1 -0
- package/dist/src/components/textarea/Textarea.d.ts +9 -0
- package/dist/src/components/textarea/Textarea.js +59 -0
- package/dist/src/components/textarea/Textarea.js.map +1 -0
- package/dist/src/components/textarea/Textarea.mjs +25 -0
- package/dist/src/components/textarea/Textarea.mjs.map +1 -0
- package/dist/src/components/textarea/index.d.ts +1 -0
- package/dist/src/components/textarea/index.js +23 -0
- package/dist/src/components/textarea/index.js.map +1 -0
- package/dist/src/components/textarea/index.mjs +2 -0
- package/dist/src/components/textarea/index.mjs.map +1 -0
- package/dist/src/components/theme-toggle/ThemeToggle.d.ts +32 -0
- package/dist/src/components/theme-toggle/ThemeToggle.js +95 -0
- package/dist/src/components/theme-toggle/ThemeToggle.js.map +1 -0
- package/dist/src/components/theme-toggle/ThemeToggle.mjs +61 -0
- package/dist/src/components/theme-toggle/ThemeToggle.mjs.map +1 -0
- package/dist/src/components/theme-toggle/index.d.ts +2 -0
- package/dist/src/components/theme-toggle/index.js +29 -0
- package/dist/src/components/theme-toggle/index.js.map +1 -0
- package/dist/src/components/theme-toggle/index.mjs +5 -0
- package/dist/src/components/theme-toggle/index.mjs.map +1 -0
- package/dist/src/components/time-picker/TimePicker.d.ts +30 -0
- package/dist/src/components/time-picker/TimePicker.js +77 -0
- package/dist/src/components/time-picker/TimePicker.js.map +1 -0
- package/dist/src/components/time-picker/TimePicker.mjs +43 -0
- package/dist/src/components/time-picker/TimePicker.mjs.map +1 -0
- package/dist/src/components/time-picker/index.d.ts +1 -0
- package/dist/src/components/time-picker/index.js +23 -0
- package/dist/src/components/time-picker/index.js.map +1 -0
- package/dist/src/components/time-picker/index.mjs +2 -0
- package/dist/src/components/time-picker/index.mjs.map +1 -0
- package/dist/src/components/timeline/Timeline.d.ts +21 -0
- package/dist/src/components/timeline/Timeline.js +64 -0
- package/dist/src/components/timeline/Timeline.js.map +1 -0
- package/dist/src/components/timeline/Timeline.mjs +30 -0
- package/dist/src/components/timeline/Timeline.mjs.map +1 -0
- package/dist/src/components/timeline/index.d.ts +1 -0
- package/dist/src/components/timeline/index.js +23 -0
- package/dist/src/components/timeline/index.js.map +1 -0
- package/dist/src/components/timeline/index.mjs +2 -0
- package/dist/src/components/timeline/index.mjs.map +1 -0
- package/dist/src/components/toast/Toast.d.ts +18 -0
- package/dist/src/components/toast/Toast.js +132 -0
- package/dist/src/components/toast/Toast.js.map +1 -0
- package/dist/src/components/toast/Toast.mjs +97 -0
- package/dist/src/components/toast/Toast.mjs.map +1 -0
- package/dist/src/components/toast/Toaster.d.ts +23 -0
- package/dist/src/components/toast/Toaster.js +118 -0
- package/dist/src/components/toast/Toaster.js.map +1 -0
- package/dist/src/components/toast/Toaster.mjs +89 -0
- package/dist/src/components/toast/Toaster.mjs.map +1 -0
- package/dist/src/components/toast/index.d.ts +6 -0
- package/dist/src/components/toast/index.js +37 -0
- package/dist/src/components/toast/index.js.map +1 -0
- package/dist/src/components/toast/index.mjs +10 -0
- package/dist/src/components/toast/index.mjs.map +1 -0
- package/dist/src/components/toast/toast-store.d.ts +49 -0
- package/dist/src/components/toast/toast-store.js +93 -0
- package/dist/src/components/toast/toast-store.js.map +1 -0
- package/dist/src/components/toast/toast-store.mjs +66 -0
- package/dist/src/components/toast/toast-store.mjs.map +1 -0
- package/dist/src/components/tooltip/Tooltip.d.ts +23 -0
- package/dist/src/components/tooltip/Tooltip.js +123 -0
- package/dist/src/components/tooltip/Tooltip.js.map +1 -0
- package/dist/src/components/tooltip/Tooltip.mjs +89 -0
- package/dist/src/components/tooltip/Tooltip.mjs.map +1 -0
- package/dist/src/components/tooltip/index.d.ts +1 -0
- package/dist/src/components/tooltip/index.js +23 -0
- package/dist/src/components/tooltip/index.js.map +1 -0
- package/dist/src/components/tooltip/index.mjs +2 -0
- package/dist/src/components/tooltip/index.mjs.map +1 -0
- package/dist/src/index.d.ts +91 -0
- package/dist/src/test/setup.d.ts +1 -0
- package/dist/src/test/ssr-test-utils.d.ts +43 -0
- package/dist/src/types/manifest.d.ts +118 -0
- package/dist/src/types/manifest.js +33 -0
- package/dist/src/types/manifest.js.map +1 -0
- package/dist/src/types/manifest.mjs +9 -0
- package/dist/src/types/manifest.mjs.map +1 -0
- package/dist/src/utils/cn.d.ts +2 -0
- package/dist/src/utils/cn.js +33 -0
- package/dist/src/utils/cn.js.map +1 -0
- package/dist/src/utils/cn.mjs +9 -0
- package/dist/src/utils/cn.mjs.map +1 -0
- package/dist/src/utils/gap.d.ts +16 -0
- package/dist/src/utils/gap.js +40 -0
- package/dist/src/utils/gap.js.map +1 -0
- package/dist/src/utils/gap.mjs +16 -0
- package/dist/src/utils/gap.mjs.map +1 -0
- package/dist/src/utils/modal-layer.d.ts +3 -0
- package/dist/src/utils/modal-layer.js +69 -0
- package/dist/src/utils/modal-layer.js.map +1 -0
- package/dist/src/utils/modal-layer.mjs +34 -0
- package/dist/src/utils/modal-layer.mjs.map +1 -0
- package/dist/src/utils/presence.d.ts +12 -0
- package/dist/src/utils/presence.js +56 -0
- package/dist/src/utils/presence.js.map +1 -0
- package/dist/src/utils/presence.mjs +22 -0
- package/dist/src/utils/presence.mjs.map +1 -0
- package/dist/styles-full.css +2 -0
- package/dist/styles.css +1 -0
- package/package.json +17 -8
- package/src/components/alert/Alert.test.tsx +6 -1
- package/src/components/alert/Alert.tsx +4 -2
- package/src/components/announcement-bar/AnnouncementBar.test.tsx +34 -0
- package/src/components/announcement-bar/AnnouncementBar.tsx +100 -0
- package/src/components/announcement-bar/index.ts +2 -0
- package/src/components/app-shell/AppShell.test.tsx +76 -1
- package/src/components/app-shell/AppShell.tsx +157 -44
- package/src/components/applied-filters/AppliedFilters.test.tsx +50 -0
- package/src/components/applied-filters/AppliedFilters.tsx +69 -0
- package/src/components/applied-filters/index.ts +2 -0
- package/src/components/article-card/ArticleCard.test.tsx +39 -0
- package/src/components/article-card/ArticleCard.tsx +75 -0
- package/src/components/article-card/index.ts +2 -0
- package/src/components/auth-layout/AuthLayout.test.tsx +45 -0
- package/src/components/auth-layout/AuthLayout.tsx +66 -10
- package/src/components/autocomplete/Autocomplete.test.tsx +18 -0
- package/src/components/autocomplete/Autocomplete.tsx +8 -2
- package/src/components/badge/Badge.test.tsx +31 -3
- package/src/components/badge/Badge.tsx +13 -3
- package/src/components/breadcrumb/Breadcrumb.test.tsx +23 -0
- package/src/components/breadcrumb/Breadcrumb.tsx +24 -9
- package/src/components/button/Button.test.tsx +40 -2
- package/src/components/button/Button.tsx +38 -7
- package/src/components/checkbox/Checkbox.tsx +6 -3
- package/src/components/comparison-table/ComparisonTable.test.tsx +43 -0
- package/src/components/comparison-table/ComparisonTable.tsx +142 -0
- package/src/components/comparison-table/index.ts +2 -0
- package/src/components/confirm-dialog/ConfirmDialog.test.tsx +46 -0
- package/src/components/confirm-dialog/ConfirmDialog.tsx +86 -0
- package/src/components/confirm-dialog/index.ts +1 -0
- package/src/components/contact-strip/ContactStrip.test.tsx +25 -0
- package/src/components/contact-strip/ContactStrip.tsx +60 -0
- package/src/components/contact-strip/index.ts +2 -0
- package/src/components/container/Container.test.tsx +23 -0
- package/src/components/container/Container.tsx +48 -0
- package/src/components/container/index.ts +2 -0
- package/src/components/cta-section/CTASection.test.tsx +30 -0
- package/src/components/cta-section/CTASection.tsx +88 -0
- package/src/components/cta-section/index.ts +2 -0
- package/src/components/data-table/DataTable.test.tsx +92 -0
- package/src/components/data-table/DataTable.tsx +98 -7
- package/src/components/date-picker/DatePicker.test.tsx +7 -0
- package/src/components/date-picker/DatePicker.tsx +9 -4
- package/src/components/date-range-picker/DateRangePicker.test.tsx +36 -0
- package/src/components/date-range-picker/DateRangePicker.tsx +154 -0
- package/src/components/date-range-picker/index.ts +2 -0
- package/src/components/dialog/Dialog.nested.test.tsx +72 -0
- package/src/components/dialog/Dialog.test.tsx +7 -0
- package/src/components/dialog/Dialog.tsx +8 -2
- package/src/components/drawer/Drawer.test.tsx +11 -2
- package/src/components/drawer/Drawer.tsx +9 -3
- package/src/components/empty-state/EmptyState.test.tsx +12 -0
- package/src/components/empty-state/EmptyState.tsx +21 -4
- package/src/components/feature-grid/FeatureGrid.test.tsx +33 -0
- package/src/components/feature-grid/FeatureGrid.tsx +80 -0
- package/src/components/feature-grid/index.ts +2 -0
- package/src/components/feature-row/FeatureRow.test.tsx +33 -0
- package/src/components/feature-row/FeatureRow.tsx +71 -0
- package/src/components/feature-row/index.ts +2 -0
- package/src/components/file-upload/FileUpload.test.tsx +16 -0
- package/src/components/file-upload/FileUpload.tsx +12 -3
- package/src/components/filter-bar/FilterBar.test.tsx +16 -0
- package/src/components/filter-bar/FilterBar.tsx +24 -1
- package/src/components/filter-chips/FilterChips.test.tsx +47 -0
- package/src/components/filter-chips/FilterChips.tsx +96 -0
- package/src/components/filter-chips/index.ts +2 -0
- package/src/components/filter-panel/FilterPanel.test.tsx +46 -0
- package/src/components/filter-panel/FilterPanel.tsx +146 -0
- package/src/components/filter-panel/index.ts +2 -0
- package/src/components/form-field/FormField.tsx +1 -1
- package/src/components/hero/Hero.test.tsx +34 -0
- package/src/components/hero/Hero.tsx +128 -0
- package/src/components/hero/index.ts +2 -0
- package/src/components/input/Input.tsx +1 -0
- package/src/components/link/Link.test.tsx +60 -0
- package/src/components/link/Link.tsx +85 -0
- package/src/components/link/index.ts +1 -0
- package/src/components/link-tabs/LinkTabs.test.tsx +51 -0
- package/src/components/link-tabs/LinkTabs.tsx +150 -0
- package/src/components/link-tabs/index.ts +2 -0
- package/src/components/list/List.test.tsx +12 -0
- package/src/components/list/List.tsx +3 -3
- package/src/components/logo-cloud/LogoCloud.test.tsx +39 -0
- package/src/components/logo-cloud/LogoCloud.tsx +110 -0
- package/src/components/logo-cloud/index.ts +2 -0
- package/src/components/metric-card/MetricCard.tsx +1 -1
- package/src/components/multi-select/MultiSelect.test.tsx +46 -0
- package/src/components/multi-select/MultiSelect.tsx +206 -0
- package/src/components/multi-select/index.ts +2 -0
- package/src/components/newsletter/Newsletter.test.tsx +28 -0
- package/src/components/newsletter/Newsletter.tsx +113 -0
- package/src/components/newsletter/index.ts +2 -0
- package/src/components/page-header/PageHeader.test.tsx +17 -0
- package/src/components/page-header/PageHeader.tsx +28 -6
- package/src/components/page-header/document-head.test.ts +30 -0
- package/src/components/page-header/document-head.ts +40 -0
- package/src/components/page-header/index.ts +1 -0
- package/src/components/pagination/Pagination.test.tsx +38 -0
- package/src/components/pagination/Pagination.tsx +118 -65
- package/src/components/process-steps/ProcessSteps.test.tsx +33 -0
- package/src/components/process-steps/ProcessSteps.tsx +56 -0
- package/src/components/process-steps/index.ts +2 -0
- package/src/components/progress/Progress.tsx +10 -3
- package/src/components/prose/Prose.test.tsx +35 -0
- package/src/components/prose/Prose.tsx +61 -0
- package/src/components/prose/index.ts +1 -0
- package/src/components/radio/Radio.test.tsx +9 -0
- package/src/components/radio/Radio.tsx +6 -3
- package/src/components/range-slider/RangeSlider.test.tsx +40 -0
- package/src/components/range-slider/RangeSlider.tsx +123 -0
- package/src/components/range-slider/index.ts +2 -0
- package/src/components/search/Search.test.tsx +27 -0
- package/src/components/search/Search.tsx +15 -3
- package/src/components/section/Section.test.tsx +47 -0
- package/src/components/section/Section.tsx +111 -0
- package/src/components/section/index.ts +2 -0
- package/src/components/section-heading/SectionHeading.test.tsx +32 -0
- package/src/components/section-heading/SectionHeading.tsx +60 -0
- package/src/components/section-heading/index.ts +1 -0
- package/src/components/segmented-control/SegmentedControl.test.tsx +62 -0
- package/src/components/segmented-control/SegmentedControl.tsx +189 -0
- package/src/components/segmented-control/index.ts +2 -0
- package/src/components/select/Select.test.tsx +48 -8
- package/src/components/select/Select.tsx +22 -16
- package/src/components/site-footer/SiteFooter.test.tsx +47 -0
- package/src/components/site-footer/SiteFooter.tsx +109 -0
- package/src/components/site-footer/index.ts +1 -0
- package/src/components/site-header/SiteHeader.test.tsx +86 -0
- package/src/components/site-header/SiteHeader.tsx +199 -0
- package/src/components/site-header/index.ts +1 -0
- package/src/components/skeleton/Skeleton.test.tsx +10 -1
- package/src/components/skeleton/Skeleton.tsx +12 -3
- package/src/components/stat-band/StatBand.test.tsx +42 -0
- package/src/components/stat-band/StatBand.tsx +77 -0
- package/src/components/stat-band/index.ts +2 -0
- package/src/components/switch/Switch.test.tsx +25 -0
- package/src/components/switch/Switch.tsx +17 -3
- package/src/components/table-of-contents/TableOfContents.test.tsx +31 -0
- package/src/components/table-of-contents/TableOfContents.tsx +106 -0
- package/src/components/table-of-contents/index.ts +1 -0
- package/src/components/testimonial/Testimonial.test.tsx +34 -0
- package/src/components/testimonial/Testimonial.tsx +64 -0
- package/src/components/testimonial/index.ts +2 -0
- package/src/components/textarea/Textarea.tsx +2 -6
- package/src/components/theme-toggle/ThemeToggle.test.tsx +41 -0
- package/src/components/theme-toggle/ThemeToggle.tsx +83 -0
- package/src/components/theme-toggle/index.ts +2 -0
- package/src/components/time-picker/TimePicker.test.tsx +7 -0
- package/src/components/time-picker/TimePicker.tsx +9 -4
- package/src/components/toast/Toaster.test.tsx +13 -2
- package/src/components/toast/Toaster.tsx +5 -2
- package/src/index.ts +31 -0
- package/src/manifests/accordion.manifest.json +1 -1
- package/src/manifests/alert.manifest.json +55 -9
- package/src/manifests/announcement-bar.manifest.json +108 -0
- package/src/manifests/app-shell.manifest.json +65 -1
- package/src/manifests/applied-filters.manifest.json +89 -0
- package/src/manifests/article-card.manifest.json +106 -0
- package/src/manifests/auth-layout.manifest.json +16 -3
- package/src/manifests/autocomplete.manifest.json +15 -1
- package/src/manifests/avatar.manifest.json +1 -1
- package/src/manifests/badge.manifest.json +12 -5
- package/src/manifests/block.manifest.json +33 -8
- package/src/manifests/breadcrumb.manifest.json +32 -1
- package/src/manifests/button-group.manifest.json +23 -5
- package/src/manifests/button.manifest.json +25 -7
- package/src/manifests/card.manifest.json +1 -1
- package/src/manifests/checkbox.manifest.json +29 -8
- package/src/manifests/comparison-table.manifest.json +106 -0
- package/src/manifests/confirm-dialog.manifest.json +132 -0
- package/src/manifests/contact-strip.manifest.json +82 -0
- package/src/manifests/container.manifest.json +81 -0
- package/src/manifests/cta-section.manifest.json +154 -0
- package/src/manifests/data-table.manifest.json +51 -1
- package/src/manifests/date-picker.manifest.json +8 -1
- package/src/manifests/date-range-picker.manifest.json +103 -0
- package/src/manifests/dialog.manifest.json +8 -1
- package/src/manifests/drawer.manifest.json +57 -12
- package/src/manifests/empty-state.manifest.json +14 -1
- package/src/manifests/feature-grid.manifest.json +93 -0
- package/src/manifests/feature-row.manifest.json +111 -0
- package/src/manifests/fieldset.manifest.json +30 -8
- package/src/manifests/file-upload.manifest.json +22 -1
- package/src/manifests/filter-bar.manifest.json +29 -3
- package/src/manifests/filter-chips.manifest.json +98 -0
- package/src/manifests/filter-panel.manifest.json +130 -0
- package/src/manifests/flex.manifest.json +73 -16
- package/src/manifests/form-field.manifest.json +1 -1
- package/src/manifests/form-layout.manifest.json +36 -10
- package/src/manifests/form.manifest.json +25 -7
- package/src/manifests/grid.manifest.json +55 -15
- package/src/manifests/heading.manifest.json +29 -8
- package/src/manifests/hero.manifest.json +202 -0
- package/src/manifests/input-group.manifest.json +25 -6
- package/src/manifests/input.manifest.json +1 -1
- package/src/manifests/label.manifest.json +21 -5
- package/src/manifests/link-tabs.manifest.json +152 -0
- package/src/manifests/link.manifest.json +106 -0
- package/src/manifests/list.manifest.json +24 -9
- package/src/manifests/logo-cloud.manifest.json +107 -0
- package/src/manifests/menu.manifest.json +1 -1
- package/src/manifests/metric-card.manifest.json +2 -2
- package/src/manifests/multi-select.manifest.json +127 -0
- package/src/manifests/newsletter.manifest.json +130 -0
- package/src/manifests/page-header.manifest.json +54 -1
- package/src/manifests/pagination.manifest.json +30 -1
- package/src/manifests/password-input.manifest.json +1 -1
- package/src/manifests/popover.manifest.json +62 -10
- package/src/manifests/process-steps.manifest.json +83 -0
- package/src/manifests/progress.manifest.json +29 -5
- package/src/manifests/prose.manifest.json +75 -0
- package/src/manifests/radio.manifest.json +26 -7
- package/src/manifests/range-slider.manifest.json +145 -0
- package/src/manifests/search.manifest.json +48 -10
- package/src/manifests/section-heading.manifest.json +126 -0
- package/src/manifests/section.manifest.json +146 -0
- package/src/manifests/segmented-control.manifest.json +141 -0
- package/src/manifests/select-menu.manifest.json +1 -1
- package/src/manifests/select.manifest.json +23 -6
- package/src/manifests/separator.manifest.json +15 -5
- package/src/manifests/site-footer.manifest.json +122 -0
- package/src/manifests/site-header.manifest.json +192 -0
- package/src/manifests/skeleton.manifest.json +7 -1
- package/src/manifests/spinner.manifest.json +1 -1
- package/src/manifests/stat-band.manifest.json +116 -0
- package/src/manifests/stepper.manifest.json +1 -1
- package/src/manifests/switch.manifest.json +17 -5
- package/src/manifests/table-card.manifest.json +1 -1
- package/src/manifests/table-of-contents.manifest.json +99 -0
- package/src/manifests/table.manifest.json +47 -8
- package/src/manifests/tabs.manifest.json +1 -1
- package/src/manifests/testimonial.manifest.json +112 -0
- package/src/manifests/text.manifest.json +32 -8
- package/src/manifests/textarea.manifest.json +17 -5
- package/src/manifests/theme-toggle.manifest.json +118 -0
- package/src/manifests/time-picker.manifest.json +8 -1
- package/src/manifests/timeline.manifest.json +1 -1
- package/src/manifests/toast.manifest.json +8 -1
- package/src/manifests/tooltip.manifest.json +18 -5
- package/src/styles-full.css +9 -0
- package/src/styles.css +133 -0
- package/src/test/tailwind-v4.test.ts +103 -0
- package/src/utils/modal-layer.ts +43 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { cn } from "../../utils/cn.mjs";
|
|
5
|
+
function TableOfContents({
|
|
6
|
+
headings,
|
|
7
|
+
activeId,
|
|
8
|
+
label = "On this page",
|
|
9
|
+
ariaLabel,
|
|
10
|
+
labelClassName,
|
|
11
|
+
sticky = true,
|
|
12
|
+
className,
|
|
13
|
+
...props
|
|
14
|
+
}) {
|
|
15
|
+
return /* @__PURE__ */ jsxs(
|
|
16
|
+
"nav",
|
|
17
|
+
{
|
|
18
|
+
"aria-label": ariaLabel ?? label,
|
|
19
|
+
className: cn("text-sm", sticky && "sticky top-20 max-h-[calc(100vh-6rem)] overflow-y-auto", className),
|
|
20
|
+
...props,
|
|
21
|
+
children: [
|
|
22
|
+
/* @__PURE__ */ jsx("p", { className: cn("mb-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground", labelClassName), children: label }),
|
|
23
|
+
/* @__PURE__ */ jsx("ul", { className: "space-y-1 border-l border-border", children: headings.map((heading) => {
|
|
24
|
+
const active = heading.id === activeId;
|
|
25
|
+
return /* @__PURE__ */ jsx("li", { style: { paddingLeft: `${(heading.level - 2) * 0.75}rem` }, children: /* @__PURE__ */ jsx(
|
|
26
|
+
"a",
|
|
27
|
+
{
|
|
28
|
+
href: `#${heading.id}`,
|
|
29
|
+
"aria-current": active ? "location" : void 0,
|
|
30
|
+
className: cn(
|
|
31
|
+
"-ml-px block border-l py-1 pl-3 no-underline transition-colors",
|
|
32
|
+
active ? "border-primary font-medium text-primary underline" : "border-transparent text-muted-foreground hover:border-border hover:text-foreground"
|
|
33
|
+
),
|
|
34
|
+
children: heading.text
|
|
35
|
+
}
|
|
36
|
+
) }, heading.id);
|
|
37
|
+
}) })
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
function useScrollSpy(ids, options) {
|
|
43
|
+
const [activeId, setActiveId] = React.useState();
|
|
44
|
+
const idKey = ids.join("|");
|
|
45
|
+
const rootMargin = options?.rootMargin ?? "0px 0px -70% 0px";
|
|
46
|
+
React.useEffect(() => {
|
|
47
|
+
if (idKey.length === 0 || typeof IntersectionObserver === "undefined") return;
|
|
48
|
+
const elements = idKey.split("|").map((id) => document.getElementById(id)).filter((element) => element !== null);
|
|
49
|
+
if (elements.length === 0) return;
|
|
50
|
+
const observer = new IntersectionObserver(
|
|
51
|
+
(entries) => {
|
|
52
|
+
const visible = entries.filter((entry) => entry.isIntersecting).sort((a, b) => a.boundingClientRect.top - b.boundingClientRect.top);
|
|
53
|
+
if (visible[0]) setActiveId(visible[0].target.id);
|
|
54
|
+
return;
|
|
55
|
+
},
|
|
56
|
+
{ rootMargin, threshold: 0 }
|
|
57
|
+
);
|
|
58
|
+
elements.forEach((element) => observer.observe(element));
|
|
59
|
+
return () => observer.disconnect();
|
|
60
|
+
}, [idKey, rootMargin]);
|
|
61
|
+
return activeId;
|
|
62
|
+
}
|
|
63
|
+
export {
|
|
64
|
+
TableOfContents,
|
|
65
|
+
useScrollSpy
|
|
66
|
+
};
|
|
67
|
+
//# sourceMappingURL=TableOfContents.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/table-of-contents/TableOfContents.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type TocHeading = {\n id: string;\n text: string;\n level: 2 | 3 | 4;\n};\n\nexport type TableOfContentsProps = React.HTMLAttributes<HTMLElement> & {\n headings: TocHeading[];\n /** Controlled active heading id (otherwise use `useScrollSpy`). */\n activeId?: string;\n /** Accessible name. Default 'On this page'. */\n label?: string;\n /** Accessible name for the nav landmark when it differs from the visible label. */\n ariaLabel?: string;\n /** Extra classes for the visible label. */\n labelClassName?: string;\n /** Stick to the viewport while the article scrolls (default true). */\n sticky?: boolean;\n};\n\n/**\n * \"On this page\" navigation for long-form content. Renders a nested list\n * with indentation per heading level and aria-current on the active item.\n * Pair with `useScrollSpy` (or your own scroll tracking) for the active id.\n */\nexport function TableOfContents({\n headings,\n activeId,\n label = 'On this page',\n ariaLabel,\n labelClassName,\n sticky = true,\n className,\n ...props\n}: TableOfContentsProps) {\n return (\n <nav\n aria-label={ariaLabel ?? label}\n className={cn('text-sm', sticky && 'sticky top-20 max-h-[calc(100vh-6rem)] overflow-y-auto', className)}\n {...props}\n >\n <p className={cn('mb-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground', labelClassName)}>{label}</p>\n <ul className=\"space-y-1 border-l border-border\">\n {headings.map((heading) => {\n const active = heading.id === activeId;\n return (\n <li key={heading.id} style={{ paddingLeft: `${(heading.level - 2) * 0.75}rem` }}>\n <a\n href={`#${heading.id}`}\n aria-current={active ? 'location' : undefined}\n className={cn(\n '-ml-px block border-l py-1 pl-3 no-underline transition-colors',\n active\n ? 'border-primary font-medium text-primary underline'\n : 'border-transparent text-muted-foreground hover:border-border hover:text-foreground'\n )}\n >\n {heading.text}\n </a>\n </li>\n );\n })}\n </ul>\n </nav>\n );\n}\n\n/**\n * Tracks which of the given element ids is currently in view. Returns the\n * active id (the last heading scrolled past) and stays SSR-safe.\n */\nexport function useScrollSpy(ids: string[], options?: { rootMargin?: string }): string | undefined {\n const [activeId, setActiveId] = React.useState<string | undefined>();\n const idKey = ids.join('|');\n const rootMargin = options?.rootMargin ?? '0px 0px -70% 0px';\n\n React.useEffect(() => {\n if (idKey.length === 0 || typeof IntersectionObserver === 'undefined') return;\n const elements = idKey\n .split('|')\n .map((id) => document.getElementById(id))\n .filter((element): element is HTMLElement => element !== null);\n if (elements.length === 0) return;\n\n const observer = new IntersectionObserver(\n (entries) => {\n const visible = entries\n .filter((entry) => entry.isIntersecting)\n .sort((a, b) => a.boundingClientRect.top - b.boundingClientRect.top);\n if (visible[0]) setActiveId(visible[0].target.id);\n return;\n },\n { rootMargin, threshold: 0 }\n );\n\n elements.forEach((element) => observer.observe(element));\n return () => observer.disconnect();\n }, [idKey, rootMargin]);\n\n return activeId;\n}\n"],"mappings":";AAyCI,SAKE,KALF;AAvCJ,YAAY,WAAW;AACvB,SAAS,UAAU;AA2BZ,SAAS,gBAAgB;AAAA,EAC9B;AAAA,EACA;AAAA,EACA,QAAQ;AAAA,EACR;AAAA,EACA;AAAA,EACA,SAAS;AAAA,EACT;AAAA,EACA,GAAG;AACL,GAAyB;AACvB,SACE;AAAA,IAAC;AAAA;AAAA,MACC,cAAY,aAAa;AAAA,MACzB,WAAW,GAAG,WAAW,UAAU,0DAA0D,SAAS;AAAA,MACrG,GAAG;AAAA,MAEJ;AAAA,4BAAC,OAAE,WAAW,GAAG,4EAA4E,cAAc,GAAI,iBAAM;AAAA,QACrH,oBAAC,QAAG,WAAU,oCACX,mBAAS,IAAI,CAAC,YAAY;AACzB,gBAAM,SAAS,QAAQ,OAAO;AAC9B,iBACE,oBAAC,QAAoB,OAAO,EAAE,aAAa,IAAI,QAAQ,QAAQ,KAAK,IAAI,MAAM,GAC5E;AAAA,YAAC;AAAA;AAAA,cACC,MAAM,IAAI,QAAQ,EAAE;AAAA,cACpB,gBAAc,SAAS,aAAa;AAAA,cACpC,WAAW;AAAA,gBACT;AAAA,gBACA,SACI,sDACA;AAAA,cACN;AAAA,cAEC,kBAAQ;AAAA;AAAA,UACX,KAZO,QAAQ,EAajB;AAAA,QAEJ,CAAC,GACH;AAAA;AAAA;AAAA,EACF;AAEJ;AAMO,SAAS,aAAa,KAAe,SAAuD;AACjG,QAAM,CAAC,UAAU,WAAW,IAAI,MAAM,SAA6B;AACnE,QAAM,QAAQ,IAAI,KAAK,GAAG;AAC1B,QAAM,aAAa,SAAS,cAAc;AAE1C,QAAM,UAAU,MAAM;AACpB,QAAI,MAAM,WAAW,KAAK,OAAO,yBAAyB,YAAa;AACvE,UAAM,WAAW,MACd,MAAM,GAAG,EACT,IAAI,CAAC,OAAO,SAAS,eAAe,EAAE,CAAC,EACvC,OAAO,CAAC,YAAoC,YAAY,IAAI;AAC/D,QAAI,SAAS,WAAW,EAAG;AAE3B,UAAM,WAAW,IAAI;AAAA,MACnB,CAAC,YAAY;AACX,cAAM,UAAU,QACb,OAAO,CAAC,UAAU,MAAM,cAAc,EACtC,KAAK,CAAC,GAAG,MAAM,EAAE,mBAAmB,MAAM,EAAE,mBAAmB,GAAG;AACrE,YAAI,QAAQ,CAAC,EAAG,aAAY,QAAQ,CAAC,EAAE,OAAO,EAAE;AAChD;AAAA,MACF;AAAA,MACA,EAAE,YAAY,WAAW,EAAE;AAAA,IAC7B;AAEA,aAAS,QAAQ,CAAC,YAAY,SAAS,QAAQ,OAAO,CAAC;AACvD,WAAO,MAAM,SAAS,WAAW;AAAA,EACnC,GAAG,CAAC,OAAO,UAAU,CAAC;AAEtB,SAAO;AACT;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TableOfContents';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var table_of_contents_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(table_of_contents_exports);
|
|
18
|
+
__reExport(table_of_contents_exports, require("./TableOfContents.js"), module.exports);
|
|
19
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
20
|
+
0 && (module.exports = {
|
|
21
|
+
...require("./TableOfContents.js")
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/table-of-contents/index.ts"],"sourcesContent":["export * from './TableOfContents';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,sCAAc,8BAAd;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/table-of-contents/index.ts"],"sourcesContent":["export * from './TableOfContents';\n"],"mappings":"AAAA,cAAc;","names":[]}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type TabsVariant = 'default' | 'underline' | 'rounded';
|
|
3
|
+
type TabsSize = 'sm' | 'md' | 'lg';
|
|
4
|
+
export type TabsProps = {
|
|
5
|
+
/** Controlled active tab value. */
|
|
6
|
+
value?: string;
|
|
7
|
+
/** Initial tab value when uncontrolled. */
|
|
8
|
+
defaultValue?: string;
|
|
9
|
+
/** Called when the active tab changes. */
|
|
10
|
+
onValueChange?: (value: string) => void;
|
|
11
|
+
/** Visual style of the tab strip. Default is the enclosed pill track. */
|
|
12
|
+
variant?: TabsVariant;
|
|
13
|
+
/** Control density for strip and triggers. */
|
|
14
|
+
size?: TabsSize;
|
|
15
|
+
className?: string;
|
|
16
|
+
children: React.ReactNode;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Tabbed content container. Manages the active tab and wires ARIA
|
|
20
|
+
* tablist/tab/tabpanel semantics with roving-tabindex keyboard
|
|
21
|
+
* navigation (arrow keys, Home/End).
|
|
22
|
+
*/
|
|
23
|
+
declare const Tabs: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
export type TabsListProps = React.HTMLAttributes<HTMLDivElement>;
|
|
25
|
+
/** Container for the tab triggers; renders `role="tablist"`. */
|
|
26
|
+
declare const TabsList: React.ForwardRefExoticComponent<TabsListProps & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
+
export type TabsTriggerProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
28
|
+
/** The tab's value; links it to its panel. */
|
|
29
|
+
value: string;
|
|
30
|
+
};
|
|
31
|
+
/** A single tab button. Roving tabindex plus full arrow-key navigation. */
|
|
32
|
+
declare const TabsTrigger: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
33
|
+
/** The tab's value; links it to its panel. */
|
|
34
|
+
value: string;
|
|
35
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
36
|
+
export type TabsContentProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
37
|
+
/** The panel's value; must match its trigger. */
|
|
38
|
+
value: string;
|
|
39
|
+
};
|
|
40
|
+
/** The content panel for a tab. Hidden via the `hidden` attribute when inactive. */
|
|
41
|
+
declare const TabsContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
42
|
+
/** The panel's value; must match its trigger. */
|
|
43
|
+
value: string;
|
|
44
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
45
|
+
export { Tabs, TabsList, TabsTrigger, TabsContent };
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
"use client";
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __export = (target, all) => {
|
|
10
|
+
for (var name in all)
|
|
11
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from))
|
|
16
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
17
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
18
|
+
}
|
|
19
|
+
return to;
|
|
20
|
+
};
|
|
21
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
22
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
23
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
24
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
25
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
27
|
+
mod
|
|
28
|
+
));
|
|
29
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
|
+
var Tabs_exports = {};
|
|
31
|
+
__export(Tabs_exports, {
|
|
32
|
+
Tabs: () => Tabs,
|
|
33
|
+
TabsContent: () => TabsContent,
|
|
34
|
+
TabsList: () => TabsList,
|
|
35
|
+
TabsTrigger: () => TabsTrigger
|
|
36
|
+
});
|
|
37
|
+
module.exports = __toCommonJS(Tabs_exports);
|
|
38
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
39
|
+
var React = __toESM(require("react"));
|
|
40
|
+
var import_class_variance_authority = require("class-variance-authority");
|
|
41
|
+
var import_cn = require("../../utils/cn.js");
|
|
42
|
+
const TabsContext = React.createContext({
|
|
43
|
+
value: "",
|
|
44
|
+
setValue: () => {
|
|
45
|
+
},
|
|
46
|
+
baseId: "",
|
|
47
|
+
variant: "default",
|
|
48
|
+
size: "md"
|
|
49
|
+
});
|
|
50
|
+
const Tabs = React.forwardRef(
|
|
51
|
+
({ value, defaultValue, onValueChange, variant = "default", size = "md", className, children }, ref) => {
|
|
52
|
+
const [internalValue, setInternalValue] = React.useState(defaultValue ?? "");
|
|
53
|
+
const current = value ?? internalValue;
|
|
54
|
+
const baseId = React.useId();
|
|
55
|
+
const setValue = React.useCallback(
|
|
56
|
+
(next) => {
|
|
57
|
+
if (value === void 0) setInternalValue(next);
|
|
58
|
+
onValueChange?.(next);
|
|
59
|
+
},
|
|
60
|
+
[value, onValueChange]
|
|
61
|
+
);
|
|
62
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { ref, className, "data-value": current, "data-variant": variant, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TabsContext.Provider, { value: { value: current, setValue, baseId, variant, size }, children }) });
|
|
63
|
+
}
|
|
64
|
+
);
|
|
65
|
+
Tabs.displayName = "Tabs";
|
|
66
|
+
const tabsListVariants = (0, import_class_variance_authority.cva)("inline-flex items-center justify-center text-muted-foreground", {
|
|
67
|
+
variants: {
|
|
68
|
+
variant: {
|
|
69
|
+
default: "rounded-md bg-muted p-1",
|
|
70
|
+
// Item 18: underline strips carry no background — the underline alone
|
|
71
|
+
// marks the active tab.
|
|
72
|
+
underline: "gap-1 rounded-none border-b border-border bg-transparent p-0",
|
|
73
|
+
// Item 9: fully-rounded pill track with pill triggers.
|
|
74
|
+
rounded: "rounded-full bg-muted p-1"
|
|
75
|
+
},
|
|
76
|
+
size: {
|
|
77
|
+
sm: "gap-0.5",
|
|
78
|
+
md: "gap-1",
|
|
79
|
+
lg: "gap-1.5"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
defaultVariants: { variant: "default", size: "md" }
|
|
83
|
+
});
|
|
84
|
+
const TabsList = React.forwardRef(
|
|
85
|
+
({ className, ...props }, ref) => {
|
|
86
|
+
const ctx = React.useContext(TabsContext);
|
|
87
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
88
|
+
"div",
|
|
89
|
+
{
|
|
90
|
+
ref,
|
|
91
|
+
role: "tablist",
|
|
92
|
+
className: (0, import_cn.cn)(tabsListVariants({ variant: ctx.variant, size: ctx.size }), className),
|
|
93
|
+
...props
|
|
94
|
+
}
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
);
|
|
98
|
+
TabsList.displayName = "TabsList";
|
|
99
|
+
const tabsTriggerVariants = (0, import_class_variance_authority.cva)(
|
|
100
|
+
"inline-flex items-center justify-center whitespace-nowrap font-medium transition-all",
|
|
101
|
+
{
|
|
102
|
+
variants: {
|
|
103
|
+
variant: {
|
|
104
|
+
default: "rounded-sm px-3 py-1.5 text-sm",
|
|
105
|
+
underline: "rounded-none border-b-2 border-transparent px-3 pb-2 pt-1.5 text-sm",
|
|
106
|
+
rounded: "rounded-full px-3 py-1.5 text-sm"
|
|
107
|
+
},
|
|
108
|
+
size: {
|
|
109
|
+
sm: "px-2 py-1 text-xs",
|
|
110
|
+
md: "",
|
|
111
|
+
lg: "px-4 py-2 text-sm"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
defaultVariants: { variant: "default", size: "md" }
|
|
115
|
+
}
|
|
116
|
+
);
|
|
117
|
+
const triggerActiveByVariant = {
|
|
118
|
+
default: "bg-background text-foreground shadow-sm",
|
|
119
|
+
underline: "border-primary text-foreground",
|
|
120
|
+
rounded: "bg-background text-foreground shadow-sm"
|
|
121
|
+
};
|
|
122
|
+
const triggerInactiveByVariant = {
|
|
123
|
+
default: "hover:text-foreground",
|
|
124
|
+
underline: "border-transparent text-muted-foreground hover:border-border hover:text-foreground",
|
|
125
|
+
rounded: "hover:text-foreground"
|
|
126
|
+
};
|
|
127
|
+
const TabsTrigger = React.forwardRef(
|
|
128
|
+
({ value, className, onKeyDown, ...props }, ref) => {
|
|
129
|
+
const ctx = React.useContext(TabsContext);
|
|
130
|
+
const active = ctx.value === value;
|
|
131
|
+
const focusAt = (tabs, index) => {
|
|
132
|
+
if (tabs.length === 0) return;
|
|
133
|
+
const next = (index + tabs.length) % tabs.length;
|
|
134
|
+
const target = tabs[next];
|
|
135
|
+
target.focus();
|
|
136
|
+
target.click();
|
|
137
|
+
};
|
|
138
|
+
const siblingTabs = (button) => Array.from(button.parentElement?.querySelectorAll('[role="tab"]') ?? []);
|
|
139
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
140
|
+
"button",
|
|
141
|
+
{
|
|
142
|
+
ref,
|
|
143
|
+
type: "button",
|
|
144
|
+
role: "tab",
|
|
145
|
+
id: `${ctx.baseId}-tab-${value}`,
|
|
146
|
+
"aria-selected": active,
|
|
147
|
+
"aria-controls": `${ctx.baseId}-panel-${value}`,
|
|
148
|
+
"data-state": active ? "active" : "inactive",
|
|
149
|
+
tabIndex: active ? 0 : -1,
|
|
150
|
+
onClick: () => ctx.setValue(value),
|
|
151
|
+
onKeyDown: (event) => {
|
|
152
|
+
onKeyDown?.(event);
|
|
153
|
+
if (event.defaultPrevented) return;
|
|
154
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
155
|
+
event.preventDefault();
|
|
156
|
+
ctx.setValue(value);
|
|
157
|
+
} else if (event.key === "ArrowRight" || event.key === "ArrowDown") {
|
|
158
|
+
event.preventDefault();
|
|
159
|
+
const tabs = siblingTabs(event.currentTarget);
|
|
160
|
+
focusAt(tabs, tabs.indexOf(event.currentTarget) + 1);
|
|
161
|
+
} else if (event.key === "ArrowLeft" || event.key === "ArrowUp") {
|
|
162
|
+
event.preventDefault();
|
|
163
|
+
const tabs = siblingTabs(event.currentTarget);
|
|
164
|
+
focusAt(tabs, tabs.indexOf(event.currentTarget) - 1);
|
|
165
|
+
} else if (event.key === "Home") {
|
|
166
|
+
event.preventDefault();
|
|
167
|
+
focusAt(siblingTabs(event.currentTarget), 0);
|
|
168
|
+
} else if (event.key === "End") {
|
|
169
|
+
event.preventDefault();
|
|
170
|
+
focusAt(siblingTabs(event.currentTarget), -1);
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
className: (0, import_cn.cn)(
|
|
174
|
+
tabsTriggerVariants({ variant: ctx.variant, size: ctx.size }),
|
|
175
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
|
|
176
|
+
active ? triggerActiveByVariant[ctx.variant] : triggerInactiveByVariant[ctx.variant],
|
|
177
|
+
className
|
|
178
|
+
),
|
|
179
|
+
...props
|
|
180
|
+
}
|
|
181
|
+
);
|
|
182
|
+
}
|
|
183
|
+
);
|
|
184
|
+
TabsTrigger.displayName = "TabsTrigger";
|
|
185
|
+
const TabsContent = React.forwardRef(
|
|
186
|
+
({ value, className, ...props }, ref) => {
|
|
187
|
+
const ctx = React.useContext(TabsContext);
|
|
188
|
+
const active = ctx.value === value;
|
|
189
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
190
|
+
"div",
|
|
191
|
+
{
|
|
192
|
+
ref,
|
|
193
|
+
role: "tabpanel",
|
|
194
|
+
id: `${ctx.baseId}-panel-${value}`,
|
|
195
|
+
"aria-labelledby": `${ctx.baseId}-tab-${value}`,
|
|
196
|
+
"data-state": active ? "active" : "inactive",
|
|
197
|
+
hidden: !active,
|
|
198
|
+
tabIndex: 0,
|
|
199
|
+
className: (0, import_cn.cn)(
|
|
200
|
+
"mt-2 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
201
|
+
className
|
|
202
|
+
),
|
|
203
|
+
...props
|
|
204
|
+
}
|
|
205
|
+
);
|
|
206
|
+
}
|
|
207
|
+
);
|
|
208
|
+
TabsContent.displayName = "TabsContent";
|
|
209
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
210
|
+
0 && (module.exports = {
|
|
211
|
+
Tabs,
|
|
212
|
+
TabsContent,
|
|
213
|
+
TabsList,
|
|
214
|
+
TabsTrigger
|
|
215
|
+
});
|
|
216
|
+
//# sourceMappingURL=Tabs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/tabs/Tabs.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { cva } from 'class-variance-authority';\nimport { cn } from '../../utils/cn';\n\ntype TabsVariant = 'default' | 'underline' | 'rounded';\ntype TabsSize = 'sm' | 'md' | 'lg';\n\ntype TabsContextValue = {\n value: string;\n setValue: (value: string) => void;\n baseId: string;\n variant: TabsVariant;\n size: TabsSize;\n};\n\nconst TabsContext = React.createContext<TabsContextValue>({\n value: '',\n setValue: () => {},\n baseId: '',\n variant: 'default',\n size: 'md',\n});\n\nexport type TabsProps = {\n /** Controlled active tab value. */\n value?: string;\n /** Initial tab value when uncontrolled. */\n defaultValue?: string;\n /** Called when the active tab changes. */\n onValueChange?: (value: string) => void;\n /** Visual style of the tab strip. Default is the enclosed pill track. */\n variant?: TabsVariant;\n /** Control density for strip and triggers. */\n size?: TabsSize;\n className?: string;\n children: React.ReactNode;\n};\n\n/**\n * Tabbed content container. Manages the active tab and wires ARIA\n * tablist/tab/tabpanel semantics with roving-tabindex keyboard\n * navigation (arrow keys, Home/End).\n */\nconst Tabs = React.forwardRef<HTMLDivElement, TabsProps>(\n (\n { value, defaultValue, onValueChange, variant = 'default', size = 'md', className, children },\n ref\n ) => {\n const [internalValue, setInternalValue] = React.useState(defaultValue ?? '');\n const current = value ?? internalValue;\n const baseId = React.useId();\n\n const setValue = React.useCallback(\n (next: string) => {\n if (value === undefined) setInternalValue(next);\n onValueChange?.(next);\n },\n [value, onValueChange]\n );\n\n return (\n <div ref={ref} className={className} data-value={current} data-variant={variant}>\n <TabsContext.Provider value={{ value: current, setValue, baseId, variant, size }}>\n {children}\n </TabsContext.Provider>\n </div>\n );\n }\n);\nTabs.displayName = 'Tabs';\n\nconst tabsListVariants = cva('inline-flex items-center justify-center text-muted-foreground', {\n variants: {\n variant: {\n default: 'rounded-md bg-muted p-1',\n // Item 18: underline strips carry no background — the underline alone\n // marks the active tab.\n underline: 'gap-1 rounded-none border-b border-border bg-transparent p-0',\n // Item 9: fully-rounded pill track with pill triggers.\n rounded: 'rounded-full bg-muted p-1',\n },\n size: {\n sm: 'gap-0.5',\n md: 'gap-1',\n lg: 'gap-1.5',\n },\n },\n defaultVariants: { variant: 'default', size: 'md' },\n});\n\nexport type TabsListProps = React.HTMLAttributes<HTMLDivElement>;\n\n/** Container for the tab triggers; renders `role=\"tablist\"`. */\nconst TabsList = React.forwardRef<HTMLDivElement, TabsListProps>(\n ({ className, ...props }, ref) => {\n const ctx = React.useContext(TabsContext);\n return (\n <div\n ref={ref}\n role=\"tablist\"\n className={cn(tabsListVariants({ variant: ctx.variant, size: ctx.size }), className)}\n {...props}\n />\n );\n }\n);\nTabsList.displayName = 'TabsList';\n\nconst tabsTriggerVariants = cva(\n 'inline-flex items-center justify-center whitespace-nowrap font-medium transition-all',\n {\n variants: {\n variant: {\n default: 'rounded-sm px-3 py-1.5 text-sm',\n underline: 'rounded-none border-b-2 border-transparent px-3 pb-2 pt-1.5 text-sm',\n rounded: 'rounded-full px-3 py-1.5 text-sm',\n },\n size: {\n sm: 'px-2 py-1 text-xs',\n md: '',\n lg: 'px-4 py-2 text-sm',\n },\n },\n defaultVariants: { variant: 'default', size: 'md' },\n }\n);\n\nconst triggerActiveByVariant: Record<TabsVariant, string> = {\n default: 'bg-background text-foreground shadow-sm',\n underline: 'border-primary text-foreground',\n rounded: 'bg-background text-foreground shadow-sm',\n};\n\nconst triggerInactiveByVariant: Record<TabsVariant, string> = {\n default: 'hover:text-foreground',\n underline: 'border-transparent text-muted-foreground hover:border-border hover:text-foreground',\n rounded: 'hover:text-foreground',\n};\n\nexport type TabsTriggerProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {\n /** The tab's value; links it to its panel. */\n value: string;\n};\n\n/** A single tab button. Roving tabindex plus full arrow-key navigation. */\nconst TabsTrigger = React.forwardRef<HTMLButtonElement, TabsTriggerProps>(\n ({ value, className, onKeyDown, ...props }, ref) => {\n const ctx = React.useContext(TabsContext);\n const active = ctx.value === value;\n\n // WAI-ARIA tabs pattern: arrows move AND activate (automatic activation).\n const focusAt = (tabs: Element[], index: number) => {\n if (tabs.length === 0) return;\n const next = (index + tabs.length) % tabs.length;\n const target = tabs[next] as HTMLButtonElement;\n target.focus();\n target.click();\n };\n\n const siblingTabs = (button: HTMLButtonElement): Element[] =>\n Array.from(button.parentElement?.querySelectorAll('[role=\"tab\"]') ?? []);\n\n return (\n <button\n ref={ref}\n type=\"button\"\n role=\"tab\"\n id={`${ctx.baseId}-tab-${value}`}\n aria-selected={active}\n aria-controls={`${ctx.baseId}-panel-${value}`}\n // Radix-compatible hook so consumers can style active state from\n // outside: data-[state=active]:border-primary etc.\n data-state={active ? 'active' : 'inactive'}\n tabIndex={active ? 0 : -1}\n onClick={() => ctx.setValue(value)}\n onKeyDown={(event) => {\n onKeyDown?.(event);\n if (event.defaultPrevented) return;\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault();\n ctx.setValue(value);\n } else if (event.key === 'ArrowRight' || event.key === 'ArrowDown') {\n event.preventDefault();\n const tabs = siblingTabs(event.currentTarget);\n focusAt(tabs, tabs.indexOf(event.currentTarget) + 1);\n } else if (event.key === 'ArrowLeft' || event.key === 'ArrowUp') {\n event.preventDefault();\n const tabs = siblingTabs(event.currentTarget);\n focusAt(tabs, tabs.indexOf(event.currentTarget) - 1);\n } else if (event.key === 'Home') {\n event.preventDefault();\n focusAt(siblingTabs(event.currentTarget), 0);\n } else if (event.key === 'End') {\n event.preventDefault();\n focusAt(siblingTabs(event.currentTarget), -1);\n }\n }}\n className={cn(\n tabsTriggerVariants({ variant: ctx.variant, size: ctx.size }),\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background',\n active ? triggerActiveByVariant[ctx.variant] : triggerInactiveByVariant[ctx.variant],\n className\n )}\n {...props}\n />\n );\n }\n);\nTabsTrigger.displayName = 'TabsTrigger';\n\nexport type TabsContentProps = React.HTMLAttributes<HTMLDivElement> & {\n /** The panel's value; must match its trigger. */\n value: string;\n};\n\n/** The content panel for a tab. Hidden via the `hidden` attribute when inactive. */\nconst TabsContent = React.forwardRef<HTMLDivElement, TabsContentProps>(\n ({ value, className, ...props }, ref) => {\n const ctx = React.useContext(TabsContext);\n const active = ctx.value === value;\n\n return (\n <div\n ref={ref}\n role=\"tabpanel\"\n id={`${ctx.baseId}-panel-${value}`}\n aria-labelledby={`${ctx.baseId}-tab-${value}`}\n data-state={active ? 'active' : 'inactive'}\n hidden={!active}\n tabIndex={0}\n className={cn(\n 'mt-2 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring',\n className\n )}\n {...props}\n />\n );\n }\n);\nTabsContent.displayName = 'TabsContent';\n\nexport { Tabs, TabsList, TabsTrigger, TabsContent };\n"],"mappings":"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","names":[]}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { cva } from "class-variance-authority";
|
|
5
|
+
import { cn } from "../../utils/cn.mjs";
|
|
6
|
+
const TabsContext = React.createContext({
|
|
7
|
+
value: "",
|
|
8
|
+
setValue: () => {
|
|
9
|
+
},
|
|
10
|
+
baseId: "",
|
|
11
|
+
variant: "default",
|
|
12
|
+
size: "md"
|
|
13
|
+
});
|
|
14
|
+
const Tabs = React.forwardRef(
|
|
15
|
+
({ value, defaultValue, onValueChange, variant = "default", size = "md", className, children }, ref) => {
|
|
16
|
+
const [internalValue, setInternalValue] = React.useState(defaultValue ?? "");
|
|
17
|
+
const current = value ?? internalValue;
|
|
18
|
+
const baseId = React.useId();
|
|
19
|
+
const setValue = React.useCallback(
|
|
20
|
+
(next) => {
|
|
21
|
+
if (value === void 0) setInternalValue(next);
|
|
22
|
+
onValueChange?.(next);
|
|
23
|
+
},
|
|
24
|
+
[value, onValueChange]
|
|
25
|
+
);
|
|
26
|
+
return /* @__PURE__ */ jsx("div", { ref, className, "data-value": current, "data-variant": variant, children: /* @__PURE__ */ jsx(TabsContext.Provider, { value: { value: current, setValue, baseId, variant, size }, children }) });
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
Tabs.displayName = "Tabs";
|
|
30
|
+
const tabsListVariants = cva("inline-flex items-center justify-center text-muted-foreground", {
|
|
31
|
+
variants: {
|
|
32
|
+
variant: {
|
|
33
|
+
default: "rounded-md bg-muted p-1",
|
|
34
|
+
// Item 18: underline strips carry no background — the underline alone
|
|
35
|
+
// marks the active tab.
|
|
36
|
+
underline: "gap-1 rounded-none border-b border-border bg-transparent p-0",
|
|
37
|
+
// Item 9: fully-rounded pill track with pill triggers.
|
|
38
|
+
rounded: "rounded-full bg-muted p-1"
|
|
39
|
+
},
|
|
40
|
+
size: {
|
|
41
|
+
sm: "gap-0.5",
|
|
42
|
+
md: "gap-1",
|
|
43
|
+
lg: "gap-1.5"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
defaultVariants: { variant: "default", size: "md" }
|
|
47
|
+
});
|
|
48
|
+
const TabsList = React.forwardRef(
|
|
49
|
+
({ className, ...props }, ref) => {
|
|
50
|
+
const ctx = React.useContext(TabsContext);
|
|
51
|
+
return /* @__PURE__ */ jsx(
|
|
52
|
+
"div",
|
|
53
|
+
{
|
|
54
|
+
ref,
|
|
55
|
+
role: "tablist",
|
|
56
|
+
className: cn(tabsListVariants({ variant: ctx.variant, size: ctx.size }), className),
|
|
57
|
+
...props
|
|
58
|
+
}
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
TabsList.displayName = "TabsList";
|
|
63
|
+
const tabsTriggerVariants = cva(
|
|
64
|
+
"inline-flex items-center justify-center whitespace-nowrap font-medium transition-all",
|
|
65
|
+
{
|
|
66
|
+
variants: {
|
|
67
|
+
variant: {
|
|
68
|
+
default: "rounded-sm px-3 py-1.5 text-sm",
|
|
69
|
+
underline: "rounded-none border-b-2 border-transparent px-3 pb-2 pt-1.5 text-sm",
|
|
70
|
+
rounded: "rounded-full px-3 py-1.5 text-sm"
|
|
71
|
+
},
|
|
72
|
+
size: {
|
|
73
|
+
sm: "px-2 py-1 text-xs",
|
|
74
|
+
md: "",
|
|
75
|
+
lg: "px-4 py-2 text-sm"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
defaultVariants: { variant: "default", size: "md" }
|
|
79
|
+
}
|
|
80
|
+
);
|
|
81
|
+
const triggerActiveByVariant = {
|
|
82
|
+
default: "bg-background text-foreground shadow-sm",
|
|
83
|
+
underline: "border-primary text-foreground",
|
|
84
|
+
rounded: "bg-background text-foreground shadow-sm"
|
|
85
|
+
};
|
|
86
|
+
const triggerInactiveByVariant = {
|
|
87
|
+
default: "hover:text-foreground",
|
|
88
|
+
underline: "border-transparent text-muted-foreground hover:border-border hover:text-foreground",
|
|
89
|
+
rounded: "hover:text-foreground"
|
|
90
|
+
};
|
|
91
|
+
const TabsTrigger = React.forwardRef(
|
|
92
|
+
({ value, className, onKeyDown, ...props }, ref) => {
|
|
93
|
+
const ctx = React.useContext(TabsContext);
|
|
94
|
+
const active = ctx.value === value;
|
|
95
|
+
const focusAt = (tabs, index) => {
|
|
96
|
+
if (tabs.length === 0) return;
|
|
97
|
+
const next = (index + tabs.length) % tabs.length;
|
|
98
|
+
const target = tabs[next];
|
|
99
|
+
target.focus();
|
|
100
|
+
target.click();
|
|
101
|
+
};
|
|
102
|
+
const siblingTabs = (button) => Array.from(button.parentElement?.querySelectorAll('[role="tab"]') ?? []);
|
|
103
|
+
return /* @__PURE__ */ jsx(
|
|
104
|
+
"button",
|
|
105
|
+
{
|
|
106
|
+
ref,
|
|
107
|
+
type: "button",
|
|
108
|
+
role: "tab",
|
|
109
|
+
id: `${ctx.baseId}-tab-${value}`,
|
|
110
|
+
"aria-selected": active,
|
|
111
|
+
"aria-controls": `${ctx.baseId}-panel-${value}`,
|
|
112
|
+
"data-state": active ? "active" : "inactive",
|
|
113
|
+
tabIndex: active ? 0 : -1,
|
|
114
|
+
onClick: () => ctx.setValue(value),
|
|
115
|
+
onKeyDown: (event) => {
|
|
116
|
+
onKeyDown?.(event);
|
|
117
|
+
if (event.defaultPrevented) return;
|
|
118
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
119
|
+
event.preventDefault();
|
|
120
|
+
ctx.setValue(value);
|
|
121
|
+
} else if (event.key === "ArrowRight" || event.key === "ArrowDown") {
|
|
122
|
+
event.preventDefault();
|
|
123
|
+
const tabs = siblingTabs(event.currentTarget);
|
|
124
|
+
focusAt(tabs, tabs.indexOf(event.currentTarget) + 1);
|
|
125
|
+
} else if (event.key === "ArrowLeft" || event.key === "ArrowUp") {
|
|
126
|
+
event.preventDefault();
|
|
127
|
+
const tabs = siblingTabs(event.currentTarget);
|
|
128
|
+
focusAt(tabs, tabs.indexOf(event.currentTarget) - 1);
|
|
129
|
+
} else if (event.key === "Home") {
|
|
130
|
+
event.preventDefault();
|
|
131
|
+
focusAt(siblingTabs(event.currentTarget), 0);
|
|
132
|
+
} else if (event.key === "End") {
|
|
133
|
+
event.preventDefault();
|
|
134
|
+
focusAt(siblingTabs(event.currentTarget), -1);
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
className: cn(
|
|
138
|
+
tabsTriggerVariants({ variant: ctx.variant, size: ctx.size }),
|
|
139
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
|
|
140
|
+
active ? triggerActiveByVariant[ctx.variant] : triggerInactiveByVariant[ctx.variant],
|
|
141
|
+
className
|
|
142
|
+
),
|
|
143
|
+
...props
|
|
144
|
+
}
|
|
145
|
+
);
|
|
146
|
+
}
|
|
147
|
+
);
|
|
148
|
+
TabsTrigger.displayName = "TabsTrigger";
|
|
149
|
+
const TabsContent = React.forwardRef(
|
|
150
|
+
({ value, className, ...props }, ref) => {
|
|
151
|
+
const ctx = React.useContext(TabsContext);
|
|
152
|
+
const active = ctx.value === value;
|
|
153
|
+
return /* @__PURE__ */ jsx(
|
|
154
|
+
"div",
|
|
155
|
+
{
|
|
156
|
+
ref,
|
|
157
|
+
role: "tabpanel",
|
|
158
|
+
id: `${ctx.baseId}-panel-${value}`,
|
|
159
|
+
"aria-labelledby": `${ctx.baseId}-tab-${value}`,
|
|
160
|
+
"data-state": active ? "active" : "inactive",
|
|
161
|
+
hidden: !active,
|
|
162
|
+
tabIndex: 0,
|
|
163
|
+
className: cn(
|
|
164
|
+
"mt-2 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
165
|
+
className
|
|
166
|
+
),
|
|
167
|
+
...props
|
|
168
|
+
}
|
|
169
|
+
);
|
|
170
|
+
}
|
|
171
|
+
);
|
|
172
|
+
TabsContent.displayName = "TabsContent";
|
|
173
|
+
export {
|
|
174
|
+
Tabs,
|
|
175
|
+
TabsContent,
|
|
176
|
+
TabsList,
|
|
177
|
+
TabsTrigger
|
|
178
|
+
};
|
|
179
|
+
//# sourceMappingURL=Tabs.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/tabs/Tabs.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { cva } from 'class-variance-authority';\nimport { cn } from '../../utils/cn';\n\ntype TabsVariant = 'default' | 'underline' | 'rounded';\ntype TabsSize = 'sm' | 'md' | 'lg';\n\ntype TabsContextValue = {\n value: string;\n setValue: (value: string) => void;\n baseId: string;\n variant: TabsVariant;\n size: TabsSize;\n};\n\nconst TabsContext = React.createContext<TabsContextValue>({\n value: '',\n setValue: () => {},\n baseId: '',\n variant: 'default',\n size: 'md',\n});\n\nexport type TabsProps = {\n /** Controlled active tab value. */\n value?: string;\n /** Initial tab value when uncontrolled. */\n defaultValue?: string;\n /** Called when the active tab changes. */\n onValueChange?: (value: string) => void;\n /** Visual style of the tab strip. Default is the enclosed pill track. */\n variant?: TabsVariant;\n /** Control density for strip and triggers. */\n size?: TabsSize;\n className?: string;\n children: React.ReactNode;\n};\n\n/**\n * Tabbed content container. Manages the active tab and wires ARIA\n * tablist/tab/tabpanel semantics with roving-tabindex keyboard\n * navigation (arrow keys, Home/End).\n */\nconst Tabs = React.forwardRef<HTMLDivElement, TabsProps>(\n (\n { value, defaultValue, onValueChange, variant = 'default', size = 'md', className, children },\n ref\n ) => {\n const [internalValue, setInternalValue] = React.useState(defaultValue ?? '');\n const current = value ?? internalValue;\n const baseId = React.useId();\n\n const setValue = React.useCallback(\n (next: string) => {\n if (value === undefined) setInternalValue(next);\n onValueChange?.(next);\n },\n [value, onValueChange]\n );\n\n return (\n <div ref={ref} className={className} data-value={current} data-variant={variant}>\n <TabsContext.Provider value={{ value: current, setValue, baseId, variant, size }}>\n {children}\n </TabsContext.Provider>\n </div>\n );\n }\n);\nTabs.displayName = 'Tabs';\n\nconst tabsListVariants = cva('inline-flex items-center justify-center text-muted-foreground', {\n variants: {\n variant: {\n default: 'rounded-md bg-muted p-1',\n // Item 18: underline strips carry no background — the underline alone\n // marks the active tab.\n underline: 'gap-1 rounded-none border-b border-border bg-transparent p-0',\n // Item 9: fully-rounded pill track with pill triggers.\n rounded: 'rounded-full bg-muted p-1',\n },\n size: {\n sm: 'gap-0.5',\n md: 'gap-1',\n lg: 'gap-1.5',\n },\n },\n defaultVariants: { variant: 'default', size: 'md' },\n});\n\nexport type TabsListProps = React.HTMLAttributes<HTMLDivElement>;\n\n/** Container for the tab triggers; renders `role=\"tablist\"`. */\nconst TabsList = React.forwardRef<HTMLDivElement, TabsListProps>(\n ({ className, ...props }, ref) => {\n const ctx = React.useContext(TabsContext);\n return (\n <div\n ref={ref}\n role=\"tablist\"\n className={cn(tabsListVariants({ variant: ctx.variant, size: ctx.size }), className)}\n {...props}\n />\n );\n }\n);\nTabsList.displayName = 'TabsList';\n\nconst tabsTriggerVariants = cva(\n 'inline-flex items-center justify-center whitespace-nowrap font-medium transition-all',\n {\n variants: {\n variant: {\n default: 'rounded-sm px-3 py-1.5 text-sm',\n underline: 'rounded-none border-b-2 border-transparent px-3 pb-2 pt-1.5 text-sm',\n rounded: 'rounded-full px-3 py-1.5 text-sm',\n },\n size: {\n sm: 'px-2 py-1 text-xs',\n md: '',\n lg: 'px-4 py-2 text-sm',\n },\n },\n defaultVariants: { variant: 'default', size: 'md' },\n }\n);\n\nconst triggerActiveByVariant: Record<TabsVariant, string> = {\n default: 'bg-background text-foreground shadow-sm',\n underline: 'border-primary text-foreground',\n rounded: 'bg-background text-foreground shadow-sm',\n};\n\nconst triggerInactiveByVariant: Record<TabsVariant, string> = {\n default: 'hover:text-foreground',\n underline: 'border-transparent text-muted-foreground hover:border-border hover:text-foreground',\n rounded: 'hover:text-foreground',\n};\n\nexport type TabsTriggerProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {\n /** The tab's value; links it to its panel. */\n value: string;\n};\n\n/** A single tab button. Roving tabindex plus full arrow-key navigation. */\nconst TabsTrigger = React.forwardRef<HTMLButtonElement, TabsTriggerProps>(\n ({ value, className, onKeyDown, ...props }, ref) => {\n const ctx = React.useContext(TabsContext);\n const active = ctx.value === value;\n\n // WAI-ARIA tabs pattern: arrows move AND activate (automatic activation).\n const focusAt = (tabs: Element[], index: number) => {\n if (tabs.length === 0) return;\n const next = (index + tabs.length) % tabs.length;\n const target = tabs[next] as HTMLButtonElement;\n target.focus();\n target.click();\n };\n\n const siblingTabs = (button: HTMLButtonElement): Element[] =>\n Array.from(button.parentElement?.querySelectorAll('[role=\"tab\"]') ?? []);\n\n return (\n <button\n ref={ref}\n type=\"button\"\n role=\"tab\"\n id={`${ctx.baseId}-tab-${value}`}\n aria-selected={active}\n aria-controls={`${ctx.baseId}-panel-${value}`}\n // Radix-compatible hook so consumers can style active state from\n // outside: data-[state=active]:border-primary etc.\n data-state={active ? 'active' : 'inactive'}\n tabIndex={active ? 0 : -1}\n onClick={() => ctx.setValue(value)}\n onKeyDown={(event) => {\n onKeyDown?.(event);\n if (event.defaultPrevented) return;\n if (event.key === 'Enter' || event.key === ' ') {\n event.preventDefault();\n ctx.setValue(value);\n } else if (event.key === 'ArrowRight' || event.key === 'ArrowDown') {\n event.preventDefault();\n const tabs = siblingTabs(event.currentTarget);\n focusAt(tabs, tabs.indexOf(event.currentTarget) + 1);\n } else if (event.key === 'ArrowLeft' || event.key === 'ArrowUp') {\n event.preventDefault();\n const tabs = siblingTabs(event.currentTarget);\n focusAt(tabs, tabs.indexOf(event.currentTarget) - 1);\n } else if (event.key === 'Home') {\n event.preventDefault();\n focusAt(siblingTabs(event.currentTarget), 0);\n } else if (event.key === 'End') {\n event.preventDefault();\n focusAt(siblingTabs(event.currentTarget), -1);\n }\n }}\n className={cn(\n tabsTriggerVariants({ variant: ctx.variant, size: ctx.size }),\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background',\n active ? triggerActiveByVariant[ctx.variant] : triggerInactiveByVariant[ctx.variant],\n className\n )}\n {...props}\n />\n );\n }\n);\nTabsTrigger.displayName = 'TabsTrigger';\n\nexport type TabsContentProps = React.HTMLAttributes<HTMLDivElement> & {\n /** The panel's value; must match its trigger. */\n value: string;\n};\n\n/** The content panel for a tab. Hidden via the `hidden` attribute when inactive. */\nconst TabsContent = React.forwardRef<HTMLDivElement, TabsContentProps>(\n ({ value, className, ...props }, ref) => {\n const ctx = React.useContext(TabsContext);\n const active = ctx.value === value;\n\n return (\n <div\n ref={ref}\n role=\"tabpanel\"\n id={`${ctx.baseId}-panel-${value}`}\n aria-labelledby={`${ctx.baseId}-tab-${value}`}\n data-state={active ? 'active' : 'inactive'}\n hidden={!active}\n tabIndex={0}\n className={cn(\n 'mt-2 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring',\n className\n )}\n {...props}\n />\n );\n }\n);\nTabsContent.displayName = 'TabsContent';\n\nexport { Tabs, TabsList, TabsTrigger, TabsContent };\n"],"mappings":"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","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Tabs';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var tabs_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(tabs_exports);
|
|
18
|
+
__reExport(tabs_exports, require("./Tabs.js"), module.exports);
|
|
19
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
20
|
+
0 && (module.exports = {
|
|
21
|
+
...require("./Tabs.js")
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/tabs/index.ts"],"sourcesContent":["export * from './Tabs';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,yBAAc,mBAAd;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/tabs/index.ts"],"sourcesContent":["export * from './Tabs';\n"],"mappings":"AAAA,cAAc;","names":[]}
|