@slipstream-ui/core 0.5.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 +1373 -90
- package/dist/index.d.ts +1373 -90
- package/dist/index.js +2620 -832
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2621 -858
- 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 +15 -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 +5 -3
- package/dist/manifests/block.manifest.json +33 -8
- package/dist/manifests/breadcrumb.manifest.json +26 -1
- package/dist/manifests/button-group.manifest.json +23 -5
- package/dist/manifests/button.manifest.json +11 -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 +1 -1
- 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 +1 -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 +1 -1
- package/dist/manifests/drawer.manifest.json +50 -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 +1 -1
- 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 +24 -1
- package/dist/manifests/pagination.manifest.json +24 -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 +1 -1
- package/dist/manifests/radio.manifest.json +26 -7
- package/dist/manifests/range-slider.manifest.json +145 -0
- package/dist/manifests/search.manifest.json +7 -1
- package/dist/manifests/section-heading.manifest.json +19 -1
- 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 +18 -7
- package/dist/manifests/separator.manifest.json +15 -5
- package/dist/manifests/site-footer.manifest.json +29 -1
- package/dist/manifests/site-header.manifest.json +63 -1
- 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 +13 -1
- 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 +16 -7
- package/src/components/alert/Alert.test.tsx +6 -1
- package/src/components/alert/Alert.tsx +2 -0
- 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 +27 -0
- package/src/components/app-shell/AppShell.tsx +12 -3
- 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 +11 -4
- package/src/components/badge/Badge.tsx +7 -3
- package/src/components/breadcrumb/Breadcrumb.test.tsx +7 -0
- package/src/components/breadcrumb/Breadcrumb.tsx +15 -5
- package/src/components/button/Button.tsx +7 -0
- 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/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/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.tsx +4 -1
- package/src/components/drawer/Drawer.tsx +4 -1
- 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/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.tsx +11 -5
- 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 +30 -0
- package/src/components/pagination/Pagination.tsx +107 -64
- 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/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 +11 -0
- package/src/components/search/Search.tsx +4 -1
- 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.tsx +10 -4
- 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 +16 -12
- package/src/components/site-footer/SiteFooter.test.tsx +17 -0
- package/src/components/site-footer/SiteFooter.tsx +45 -15
- package/src/components/site-header/SiteHeader.test.tsx +34 -1
- package/src/components/site-header/SiteHeader.tsx +96 -21
- 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 +20 -5
- package/src/components/switch/Switch.tsx +12 -3
- package/src/components/table-of-contents/TableOfContents.tsx +10 -4
- 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 +1 -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 +24 -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 +15 -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 +5 -3
- package/src/manifests/block.manifest.json +33 -8
- package/src/manifests/breadcrumb.manifest.json +26 -1
- package/src/manifests/button-group.manifest.json +23 -5
- package/src/manifests/button.manifest.json +11 -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 +1 -1
- 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 +1 -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 +1 -1
- package/src/manifests/drawer.manifest.json +50 -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 +1 -1
- 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 +24 -1
- package/src/manifests/pagination.manifest.json +24 -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 +1 -1
- package/src/manifests/radio.manifest.json +26 -7
- package/src/manifests/range-slider.manifest.json +145 -0
- package/src/manifests/search.manifest.json +7 -1
- package/src/manifests/section-heading.manifest.json +19 -1
- 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 +18 -7
- package/src/manifests/separator.manifest.json +15 -5
- package/src/manifests/site-footer.manifest.json +29 -1
- package/src/manifests/site-header.manifest.json +63 -1
- 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 +13 -1
- 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/utils/modal-layer.ts +43 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var Checkbox_exports = {};
|
|
30
|
+
__export(Checkbox_exports, {
|
|
31
|
+
Checkbox: () => Checkbox
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(Checkbox_exports);
|
|
34
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
35
|
+
var React = __toESM(require("react"));
|
|
36
|
+
var import_cn = require("../../utils/cn.js");
|
|
37
|
+
const Checkbox = React.forwardRef(
|
|
38
|
+
({ className, checked, onCheckedChange, onChange, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
39
|
+
"input",
|
|
40
|
+
{
|
|
41
|
+
type: "checkbox",
|
|
42
|
+
ref,
|
|
43
|
+
checked,
|
|
44
|
+
onChange: (event) => {
|
|
45
|
+
onCheckedChange?.(event.target.checked);
|
|
46
|
+
onChange?.(event);
|
|
47
|
+
},
|
|
48
|
+
className: (0, import_cn.cn)(
|
|
49
|
+
"peer h-4 w-4 shrink-0 rounded-sm border border-primary",
|
|
50
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
|
|
51
|
+
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
52
|
+
"checked:bg-primary checked:text-primary-foreground",
|
|
53
|
+
className
|
|
54
|
+
),
|
|
55
|
+
...props
|
|
56
|
+
}
|
|
57
|
+
)
|
|
58
|
+
);
|
|
59
|
+
Checkbox.displayName = "Checkbox";
|
|
60
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
61
|
+
0 && (module.exports = {
|
|
62
|
+
Checkbox
|
|
63
|
+
});
|
|
64
|
+
//# sourceMappingURL=Checkbox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/checkbox/Checkbox.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type CheckboxProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> & {\n /** Controlled checked state; omit for uncontrolled usage. */\n checked?: boolean;\n /** Fired when the user toggles the checkbox. */\n onCheckedChange?: (checked: boolean) => void;\n};\n\n/**\n * Accessible checkbox built on the native input: keyboard, form, and\n * screen-reader behavior comes from the platform. Visual state is drawn\n * with a CSS overlay so the native input stays the source of truth.\n */\nconst Checkbox = React.forwardRef<HTMLInputElement, CheckboxProps>(\n ({ className, checked, onCheckedChange, onChange, ...props }, ref) => (\n <input\n type=\"checkbox\"\n ref={ref}\n checked={checked}\n onChange={(event) => {\n onCheckedChange?.(event.target.checked);\n onChange?.(event);\n }}\n className={cn(\n 'peer h-4 w-4 shrink-0 rounded-sm border border-primary',\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background',\n 'disabled:cursor-not-allowed disabled:opacity-50',\n 'checked:bg-primary checked:text-primary-foreground',\n className\n )}\n {...props}\n />\n )\n);\nCheckbox.displayName = 'Checkbox';\n\nexport { Checkbox };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAiBI;AAjBJ,YAAuB;AACvB,gBAAmB;AAcnB,MAAM,WAAW,MAAM;AAAA,EACrB,CAAC,EAAE,WAAW,SAAS,iBAAiB,UAAU,GAAG,MAAM,GAAG,QAC5D;AAAA,IAAC;AAAA;AAAA,MACC,MAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA,UAAU,CAAC,UAAU;AACnB,0BAAkB,MAAM,OAAO,OAAO;AACtC,mBAAW,KAAK;AAAA,MAClB;AAAA,MACA,eAAW;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAEJ;AACA,SAAS,cAAc;","names":[]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { cn } from "../../utils/cn.mjs";
|
|
4
|
+
const Checkbox = React.forwardRef(
|
|
5
|
+
({ className, checked, onCheckedChange, onChange, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
6
|
+
"input",
|
|
7
|
+
{
|
|
8
|
+
type: "checkbox",
|
|
9
|
+
ref,
|
|
10
|
+
checked,
|
|
11
|
+
onChange: (event) => {
|
|
12
|
+
onCheckedChange?.(event.target.checked);
|
|
13
|
+
onChange?.(event);
|
|
14
|
+
},
|
|
15
|
+
className: cn(
|
|
16
|
+
"peer h-4 w-4 shrink-0 rounded-sm border border-primary",
|
|
17
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
|
|
18
|
+
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
19
|
+
"checked:bg-primary checked:text-primary-foreground",
|
|
20
|
+
className
|
|
21
|
+
),
|
|
22
|
+
...props
|
|
23
|
+
}
|
|
24
|
+
)
|
|
25
|
+
);
|
|
26
|
+
Checkbox.displayName = "Checkbox";
|
|
27
|
+
export {
|
|
28
|
+
Checkbox
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=Checkbox.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/checkbox/Checkbox.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type CheckboxProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> & {\n /** Controlled checked state; omit for uncontrolled usage. */\n checked?: boolean;\n /** Fired when the user toggles the checkbox. */\n onCheckedChange?: (checked: boolean) => void;\n};\n\n/**\n * Accessible checkbox built on the native input: keyboard, form, and\n * screen-reader behavior comes from the platform. Visual state is drawn\n * with a CSS overlay so the native input stays the source of truth.\n */\nconst Checkbox = React.forwardRef<HTMLInputElement, CheckboxProps>(\n ({ className, checked, onCheckedChange, onChange, ...props }, ref) => (\n <input\n type=\"checkbox\"\n ref={ref}\n checked={checked}\n onChange={(event) => {\n onCheckedChange?.(event.target.checked);\n onChange?.(event);\n }}\n className={cn(\n 'peer h-4 w-4 shrink-0 rounded-sm border border-primary',\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background',\n 'disabled:cursor-not-allowed disabled:opacity-50',\n 'checked:bg-primary checked:text-primary-foreground',\n className\n )}\n {...props}\n />\n )\n);\nCheckbox.displayName = 'Checkbox';\n\nexport { Checkbox };\n"],"mappings":"AAiBI;AAjBJ,YAAY,WAAW;AACvB,SAAS,UAAU;AAcnB,MAAM,WAAW,MAAM;AAAA,EACrB,CAAC,EAAE,WAAW,SAAS,iBAAiB,UAAU,GAAG,MAAM,GAAG,QAC5D;AAAA,IAAC;AAAA;AAAA,MACC,MAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA,UAAU,CAAC,UAAU;AACnB,0BAAkB,MAAM,OAAO,OAAO;AACtC,mBAAW,KAAK;AAAA,MAClB;AAAA,MACA,WAAW;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAEJ;AACA,SAAS,cAAc;","names":[]}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export type CheckboxGroupOrientation = 'vertical' | 'horizontal';
|
|
3
|
+
export type CheckboxGroupProps = {
|
|
4
|
+
/** Shared name applied to every checkbox in the group. */
|
|
5
|
+
name: string;
|
|
6
|
+
/** Accessible group label; rendered as <legend> inside a fieldset. */
|
|
7
|
+
legend?: string;
|
|
8
|
+
/** Currently selected values (controlled). */
|
|
9
|
+
value?: string[];
|
|
10
|
+
/** Initial values (uncontrolled). */
|
|
11
|
+
defaultValue?: string[];
|
|
12
|
+
/** Called with the full selection after a toggle. */
|
|
13
|
+
onValueChange?: (value: string[]) => void;
|
|
14
|
+
/** Stack options (default) or lay them out in a wrapping row. */
|
|
15
|
+
orientation?: CheckboxGroupOrientation;
|
|
16
|
+
/** Group-level validation message; announced via role=alert. */
|
|
17
|
+
error?: string;
|
|
18
|
+
className?: string;
|
|
19
|
+
children: React.ReactNode;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Groups related checkboxes with a shared name and accessible legend.
|
|
23
|
+
* Multi-select counterpart of RadioGroup: renders a native
|
|
24
|
+
* <fieldset>/<legend> so screen readers announce the group context,
|
|
25
|
+
* and keeps the selection as a string[] for forms and URLs.
|
|
26
|
+
*/
|
|
27
|
+
declare const CheckboxGroup: React.ForwardRefExoticComponent<CheckboxGroupProps & React.RefAttributes<HTMLFieldSetElement>>;
|
|
28
|
+
export type CheckboxGroupItemProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'name' | 'checked' | 'onChange' | 'value'> & {
|
|
29
|
+
/** The value this item contributes to the selection. */
|
|
30
|
+
value: string;
|
|
31
|
+
/** Visible label rendered next to the checkbox. */
|
|
32
|
+
label?: string;
|
|
33
|
+
};
|
|
34
|
+
/** A single multi-select option inside a `CheckboxGroup`. */
|
|
35
|
+
declare const CheckboxGroupItem: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "name" | "type" | "onChange" | "checked" | "value"> & {
|
|
36
|
+
/** The value this item contributes to the selection. */
|
|
37
|
+
value: string;
|
|
38
|
+
/** Visible label rendered next to the checkbox. */
|
|
39
|
+
label?: string;
|
|
40
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
41
|
+
export { CheckboxGroup, CheckboxGroupItem };
|
|
@@ -0,0 +1,99 @@
|
|
|
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 CheckboxGroup_exports = {};
|
|
31
|
+
__export(CheckboxGroup_exports, {
|
|
32
|
+
CheckboxGroup: () => CheckboxGroup,
|
|
33
|
+
CheckboxGroupItem: () => CheckboxGroupItem
|
|
34
|
+
});
|
|
35
|
+
module.exports = __toCommonJS(CheckboxGroup_exports);
|
|
36
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
37
|
+
var React = __toESM(require("react"));
|
|
38
|
+
var import_Checkbox = require("../checkbox/Checkbox.js");
|
|
39
|
+
var import_cn = require("../../utils/cn.js");
|
|
40
|
+
const CheckboxGroupContext = React.createContext({
|
|
41
|
+
name: "",
|
|
42
|
+
values: [],
|
|
43
|
+
toggle: () => {
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
const CheckboxGroup = React.forwardRef(
|
|
47
|
+
({ name, legend, value, defaultValue, onValueChange, orientation = "vertical", error, className, children }, ref) => {
|
|
48
|
+
const [internalValue, setInternalValue] = React.useState(defaultValue ?? []);
|
|
49
|
+
const currentValue = value ?? internalValue;
|
|
50
|
+
const toggle = (next) => {
|
|
51
|
+
const updated = currentValue.includes(next) ? currentValue.filter((item) => item !== next) : [...currentValue, next];
|
|
52
|
+
if (value === void 0) setInternalValue(updated);
|
|
53
|
+
onValueChange?.(updated);
|
|
54
|
+
};
|
|
55
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("fieldset", { ref, className: (0, import_cn.cn)(orientation === "vertical" ? "space-y-2" : "flex flex-row flex-wrap gap-x-4 gap-y-2", className), children: [
|
|
56
|
+
legend && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("legend", { className: "text-sm font-medium", children: legend }),
|
|
57
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(CheckboxGroupContext.Provider, { value: { name, values: currentValue, toggle }, children }),
|
|
58
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { role: "alert", className: "text-xs text-destructive", children: error })
|
|
59
|
+
] });
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
CheckboxGroup.displayName = "CheckboxGroup";
|
|
63
|
+
const CheckboxGroupItem = React.forwardRef(
|
|
64
|
+
({ value, label, className, id, ...props }, ref) => {
|
|
65
|
+
const group = React.useContext(CheckboxGroupContext);
|
|
66
|
+
const generatedId = React.useId();
|
|
67
|
+
const inputId = id ?? generatedId;
|
|
68
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
69
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
70
|
+
import_Checkbox.Checkbox,
|
|
71
|
+
{
|
|
72
|
+
ref,
|
|
73
|
+
id: inputId,
|
|
74
|
+
name: group.name,
|
|
75
|
+
value,
|
|
76
|
+
checked: group.values.includes(value),
|
|
77
|
+
onCheckedChange: () => group.toggle(value),
|
|
78
|
+
className,
|
|
79
|
+
...props
|
|
80
|
+
}
|
|
81
|
+
),
|
|
82
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
83
|
+
"label",
|
|
84
|
+
{
|
|
85
|
+
htmlFor: inputId,
|
|
86
|
+
className: "text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
|
|
87
|
+
children: label
|
|
88
|
+
}
|
|
89
|
+
)
|
|
90
|
+
] });
|
|
91
|
+
}
|
|
92
|
+
);
|
|
93
|
+
CheckboxGroupItem.displayName = "CheckboxGroupItem";
|
|
94
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
95
|
+
0 && (module.exports = {
|
|
96
|
+
CheckboxGroup,
|
|
97
|
+
CheckboxGroupItem
|
|
98
|
+
});
|
|
99
|
+
//# sourceMappingURL=CheckboxGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/checkbox/CheckboxGroup.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { Checkbox } from '../checkbox/Checkbox';\nimport { cn } from '../../utils/cn';\n\nexport type CheckboxGroupOrientation = 'vertical' | 'horizontal';\n\nexport type CheckboxGroupProps = {\n /** Shared name applied to every checkbox in the group. */\n name: string;\n /** Accessible group label; rendered as <legend> inside a fieldset. */\n legend?: string;\n /** Currently selected values (controlled). */\n value?: string[];\n /** Initial values (uncontrolled). */\n defaultValue?: string[];\n /** Called with the full selection after a toggle. */\n onValueChange?: (value: string[]) => void;\n /** Stack options (default) or lay them out in a wrapping row. */\n orientation?: CheckboxGroupOrientation;\n /** Group-level validation message; announced via role=alert. */\n error?: string;\n className?: string;\n children: React.ReactNode;\n};\n\ntype CheckboxGroupContextValue = {\n name: string;\n values: string[];\n toggle: (value: string) => void;\n};\n\nconst CheckboxGroupContext = React.createContext<CheckboxGroupContextValue>({\n name: '',\n values: [],\n toggle: () => {},\n});\n\n/**\n * Groups related checkboxes with a shared name and accessible legend.\n * Multi-select counterpart of RadioGroup: renders a native\n * <fieldset>/<legend> so screen readers announce the group context,\n * and keeps the selection as a string[] for forms and URLs.\n */\nconst CheckboxGroup = React.forwardRef<HTMLFieldSetElement, CheckboxGroupProps>(\n (\n { name, legend, value, defaultValue, onValueChange, orientation = 'vertical', error, className, children },\n ref\n ) => {\n const [internalValue, setInternalValue] = React.useState<string[]>(defaultValue ?? []);\n const currentValue = value ?? internalValue;\n\n const toggle = (next: string) => {\n const updated = currentValue.includes(next)\n ? currentValue.filter((item) => item !== next)\n : [...currentValue, next];\n if (value === undefined) setInternalValue(updated);\n onValueChange?.(updated);\n };\n\n return (\n <fieldset ref={ref} className={cn(orientation === 'vertical' ? 'space-y-2' : 'flex flex-row flex-wrap gap-x-4 gap-y-2', className)}>\n {legend && <legend className=\"text-sm font-medium\">{legend}</legend>}\n <CheckboxGroupContext.Provider value={{ name, values: currentValue, toggle }}>\n {children}\n </CheckboxGroupContext.Provider>\n {error && (\n <p role=\"alert\" className=\"text-xs text-destructive\">\n {error}\n </p>\n )}\n </fieldset>\n );\n }\n);\nCheckboxGroup.displayName = 'CheckboxGroup';\n\nexport type CheckboxGroupItemProps = Omit<\n React.InputHTMLAttributes<HTMLInputElement>,\n 'type' | 'name' | 'checked' | 'onChange' | 'value'\n> & {\n /** The value this item contributes to the selection. */\n value: string;\n /** Visible label rendered next to the checkbox. */\n label?: string;\n};\n\n/** A single multi-select option inside a `CheckboxGroup`. */\nconst CheckboxGroupItem = React.forwardRef<HTMLInputElement, CheckboxGroupItemProps>(\n ({ value, label, className, id, ...props }, ref) => {\n const group = React.useContext(CheckboxGroupContext);\n const generatedId = React.useId();\n const inputId = id ?? generatedId;\n\n return (\n <div className=\"flex items-center gap-2\">\n <Checkbox\n ref={ref}\n id={inputId}\n name={group.name}\n value={value}\n checked={group.values.includes(value)}\n onCheckedChange={() => group.toggle(value)}\n className={className}\n {...props}\n />\n {label && (\n <label\n htmlFor={inputId}\n className=\"text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70\"\n >\n {label}\n </label>\n )}\n </div>\n );\n }\n);\nCheckboxGroupItem.displayName = 'CheckboxGroupItem';\n\nexport { CheckboxGroup, CheckboxGroupItem };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA8DM;AA5DN,YAAuB;AACvB,sBAAyB;AACzB,gBAAmB;AA6BnB,MAAM,uBAAuB,MAAM,cAAyC;AAAA,EAC1E,MAAM;AAAA,EACN,QAAQ,CAAC;AAAA,EACT,QAAQ,MAAM;AAAA,EAAC;AACjB,CAAC;AAQD,MAAM,gBAAgB,MAAM;AAAA,EAC1B,CACE,EAAE,MAAM,QAAQ,OAAO,cAAc,eAAe,cAAc,YAAY,OAAO,WAAW,SAAS,GACzG,QACG;AACH,UAAM,CAAC,eAAe,gBAAgB,IAAI,MAAM,SAAmB,gBAAgB,CAAC,CAAC;AACrF,UAAM,eAAe,SAAS;AAE9B,UAAM,SAAS,CAAC,SAAiB;AAC/B,YAAM,UAAU,aAAa,SAAS,IAAI,IACtC,aAAa,OAAO,CAAC,SAAS,SAAS,IAAI,IAC3C,CAAC,GAAG,cAAc,IAAI;AAC1B,UAAI,UAAU,OAAW,kBAAiB,OAAO;AACjD,sBAAgB,OAAO;AAAA,IACzB;AAEA,WACE,6CAAC,cAAS,KAAU,eAAW,cAAG,gBAAgB,aAAa,cAAc,2CAA2C,SAAS,GAC9H;AAAA,gBAAU,4CAAC,YAAO,WAAU,uBAAuB,kBAAO;AAAA,MAC3D,4CAAC,qBAAqB,UAArB,EAA8B,OAAO,EAAE,MAAM,QAAQ,cAAc,OAAO,GACxE,UACH;AAAA,MACC,SACC,4CAAC,OAAE,MAAK,SAAQ,WAAU,4BACvB,iBACH;AAAA,OAEJ;AAAA,EAEJ;AACF;AACA,cAAc,cAAc;AAa5B,MAAM,oBAAoB,MAAM;AAAA,EAC9B,CAAC,EAAE,OAAO,OAAO,WAAW,IAAI,GAAG,MAAM,GAAG,QAAQ;AAClD,UAAM,QAAQ,MAAM,WAAW,oBAAoB;AACnD,UAAM,cAAc,MAAM,MAAM;AAChC,UAAM,UAAU,MAAM;AAEtB,WACE,6CAAC,SAAI,WAAU,2BACb;AAAA;AAAA,QAAC;AAAA;AAAA,UACC;AAAA,UACA,IAAI;AAAA,UACJ,MAAM,MAAM;AAAA,UACZ;AAAA,UACA,SAAS,MAAM,OAAO,SAAS,KAAK;AAAA,UACpC,iBAAiB,MAAM,MAAM,OAAO,KAAK;AAAA,UACzC;AAAA,UACC,GAAG;AAAA;AAAA,MACN;AAAA,MACC,SACC;AAAA,QAAC;AAAA;AAAA,UACC,SAAS;AAAA,UACT,WAAU;AAAA,UAET;AAAA;AAAA,MACH;AAAA,OAEJ;AAAA,EAEJ;AACF;AACA,kBAAkB,cAAc;","names":[]}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { Checkbox } from "../checkbox/Checkbox.mjs";
|
|
5
|
+
import { cn } from "../../utils/cn.mjs";
|
|
6
|
+
const CheckboxGroupContext = React.createContext({
|
|
7
|
+
name: "",
|
|
8
|
+
values: [],
|
|
9
|
+
toggle: () => {
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
const CheckboxGroup = React.forwardRef(
|
|
13
|
+
({ name, legend, value, defaultValue, onValueChange, orientation = "vertical", error, className, children }, ref) => {
|
|
14
|
+
const [internalValue, setInternalValue] = React.useState(defaultValue ?? []);
|
|
15
|
+
const currentValue = value ?? internalValue;
|
|
16
|
+
const toggle = (next) => {
|
|
17
|
+
const updated = currentValue.includes(next) ? currentValue.filter((item) => item !== next) : [...currentValue, next];
|
|
18
|
+
if (value === void 0) setInternalValue(updated);
|
|
19
|
+
onValueChange?.(updated);
|
|
20
|
+
};
|
|
21
|
+
return /* @__PURE__ */ jsxs("fieldset", { ref, className: cn(orientation === "vertical" ? "space-y-2" : "flex flex-row flex-wrap gap-x-4 gap-y-2", className), children: [
|
|
22
|
+
legend && /* @__PURE__ */ jsx("legend", { className: "text-sm font-medium", children: legend }),
|
|
23
|
+
/* @__PURE__ */ jsx(CheckboxGroupContext.Provider, { value: { name, values: currentValue, toggle }, children }),
|
|
24
|
+
error && /* @__PURE__ */ jsx("p", { role: "alert", className: "text-xs text-destructive", children: error })
|
|
25
|
+
] });
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
CheckboxGroup.displayName = "CheckboxGroup";
|
|
29
|
+
const CheckboxGroupItem = React.forwardRef(
|
|
30
|
+
({ value, label, className, id, ...props }, ref) => {
|
|
31
|
+
const group = React.useContext(CheckboxGroupContext);
|
|
32
|
+
const generatedId = React.useId();
|
|
33
|
+
const inputId = id ?? generatedId;
|
|
34
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
35
|
+
/* @__PURE__ */ jsx(
|
|
36
|
+
Checkbox,
|
|
37
|
+
{
|
|
38
|
+
ref,
|
|
39
|
+
id: inputId,
|
|
40
|
+
name: group.name,
|
|
41
|
+
value,
|
|
42
|
+
checked: group.values.includes(value),
|
|
43
|
+
onCheckedChange: () => group.toggle(value),
|
|
44
|
+
className,
|
|
45
|
+
...props
|
|
46
|
+
}
|
|
47
|
+
),
|
|
48
|
+
label && /* @__PURE__ */ jsx(
|
|
49
|
+
"label",
|
|
50
|
+
{
|
|
51
|
+
htmlFor: inputId,
|
|
52
|
+
className: "text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
|
|
53
|
+
children: label
|
|
54
|
+
}
|
|
55
|
+
)
|
|
56
|
+
] });
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
CheckboxGroupItem.displayName = "CheckboxGroupItem";
|
|
60
|
+
export {
|
|
61
|
+
CheckboxGroup,
|
|
62
|
+
CheckboxGroupItem
|
|
63
|
+
};
|
|
64
|
+
//# sourceMappingURL=CheckboxGroup.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/checkbox/CheckboxGroup.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { Checkbox } from '../checkbox/Checkbox';\nimport { cn } from '../../utils/cn';\n\nexport type CheckboxGroupOrientation = 'vertical' | 'horizontal';\n\nexport type CheckboxGroupProps = {\n /** Shared name applied to every checkbox in the group. */\n name: string;\n /** Accessible group label; rendered as <legend> inside a fieldset. */\n legend?: string;\n /** Currently selected values (controlled). */\n value?: string[];\n /** Initial values (uncontrolled). */\n defaultValue?: string[];\n /** Called with the full selection after a toggle. */\n onValueChange?: (value: string[]) => void;\n /** Stack options (default) or lay them out in a wrapping row. */\n orientation?: CheckboxGroupOrientation;\n /** Group-level validation message; announced via role=alert. */\n error?: string;\n className?: string;\n children: React.ReactNode;\n};\n\ntype CheckboxGroupContextValue = {\n name: string;\n values: string[];\n toggle: (value: string) => void;\n};\n\nconst CheckboxGroupContext = React.createContext<CheckboxGroupContextValue>({\n name: '',\n values: [],\n toggle: () => {},\n});\n\n/**\n * Groups related checkboxes with a shared name and accessible legend.\n * Multi-select counterpart of RadioGroup: renders a native\n * <fieldset>/<legend> so screen readers announce the group context,\n * and keeps the selection as a string[] for forms and URLs.\n */\nconst CheckboxGroup = React.forwardRef<HTMLFieldSetElement, CheckboxGroupProps>(\n (\n { name, legend, value, defaultValue, onValueChange, orientation = 'vertical', error, className, children },\n ref\n ) => {\n const [internalValue, setInternalValue] = React.useState<string[]>(defaultValue ?? []);\n const currentValue = value ?? internalValue;\n\n const toggle = (next: string) => {\n const updated = currentValue.includes(next)\n ? currentValue.filter((item) => item !== next)\n : [...currentValue, next];\n if (value === undefined) setInternalValue(updated);\n onValueChange?.(updated);\n };\n\n return (\n <fieldset ref={ref} className={cn(orientation === 'vertical' ? 'space-y-2' : 'flex flex-row flex-wrap gap-x-4 gap-y-2', className)}>\n {legend && <legend className=\"text-sm font-medium\">{legend}</legend>}\n <CheckboxGroupContext.Provider value={{ name, values: currentValue, toggle }}>\n {children}\n </CheckboxGroupContext.Provider>\n {error && (\n <p role=\"alert\" className=\"text-xs text-destructive\">\n {error}\n </p>\n )}\n </fieldset>\n );\n }\n);\nCheckboxGroup.displayName = 'CheckboxGroup';\n\nexport type CheckboxGroupItemProps = Omit<\n React.InputHTMLAttributes<HTMLInputElement>,\n 'type' | 'name' | 'checked' | 'onChange' | 'value'\n> & {\n /** The value this item contributes to the selection. */\n value: string;\n /** Visible label rendered next to the checkbox. */\n label?: string;\n};\n\n/** A single multi-select option inside a `CheckboxGroup`. */\nconst CheckboxGroupItem = React.forwardRef<HTMLInputElement, CheckboxGroupItemProps>(\n ({ value, label, className, id, ...props }, ref) => {\n const group = React.useContext(CheckboxGroupContext);\n const generatedId = React.useId();\n const inputId = id ?? generatedId;\n\n return (\n <div className=\"flex items-center gap-2\">\n <Checkbox\n ref={ref}\n id={inputId}\n name={group.name}\n value={value}\n checked={group.values.includes(value)}\n onCheckedChange={() => group.toggle(value)}\n className={className}\n {...props}\n />\n {label && (\n <label\n htmlFor={inputId}\n className=\"text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70\"\n >\n {label}\n </label>\n )}\n </div>\n );\n }\n);\nCheckboxGroupItem.displayName = 'CheckboxGroupItem';\n\nexport { CheckboxGroup, CheckboxGroupItem };\n"],"mappings":";AA8DM,SACa,KADb;AA5DN,YAAY,WAAW;AACvB,SAAS,gBAAgB;AACzB,SAAS,UAAU;AA6BnB,MAAM,uBAAuB,MAAM,cAAyC;AAAA,EAC1E,MAAM;AAAA,EACN,QAAQ,CAAC;AAAA,EACT,QAAQ,MAAM;AAAA,EAAC;AACjB,CAAC;AAQD,MAAM,gBAAgB,MAAM;AAAA,EAC1B,CACE,EAAE,MAAM,QAAQ,OAAO,cAAc,eAAe,cAAc,YAAY,OAAO,WAAW,SAAS,GACzG,QACG;AACH,UAAM,CAAC,eAAe,gBAAgB,IAAI,MAAM,SAAmB,gBAAgB,CAAC,CAAC;AACrF,UAAM,eAAe,SAAS;AAE9B,UAAM,SAAS,CAAC,SAAiB;AAC/B,YAAM,UAAU,aAAa,SAAS,IAAI,IACtC,aAAa,OAAO,CAAC,SAAS,SAAS,IAAI,IAC3C,CAAC,GAAG,cAAc,IAAI;AAC1B,UAAI,UAAU,OAAW,kBAAiB,OAAO;AACjD,sBAAgB,OAAO;AAAA,IACzB;AAEA,WACE,qBAAC,cAAS,KAAU,WAAW,GAAG,gBAAgB,aAAa,cAAc,2CAA2C,SAAS,GAC9H;AAAA,gBAAU,oBAAC,YAAO,WAAU,uBAAuB,kBAAO;AAAA,MAC3D,oBAAC,qBAAqB,UAArB,EAA8B,OAAO,EAAE,MAAM,QAAQ,cAAc,OAAO,GACxE,UACH;AAAA,MACC,SACC,oBAAC,OAAE,MAAK,SAAQ,WAAU,4BACvB,iBACH;AAAA,OAEJ;AAAA,EAEJ;AACF;AACA,cAAc,cAAc;AAa5B,MAAM,oBAAoB,MAAM;AAAA,EAC9B,CAAC,EAAE,OAAO,OAAO,WAAW,IAAI,GAAG,MAAM,GAAG,QAAQ;AAClD,UAAM,QAAQ,MAAM,WAAW,oBAAoB;AACnD,UAAM,cAAc,MAAM,MAAM;AAChC,UAAM,UAAU,MAAM;AAEtB,WACE,qBAAC,SAAI,WAAU,2BACb;AAAA;AAAA,QAAC;AAAA;AAAA,UACC;AAAA,UACA,IAAI;AAAA,UACJ,MAAM,MAAM;AAAA,UACZ;AAAA,UACA,SAAS,MAAM,OAAO,SAAS,KAAK;AAAA,UACpC,iBAAiB,MAAM,MAAM,OAAO,KAAK;AAAA,UACzC;AAAA,UACC,GAAG;AAAA;AAAA,MACN;AAAA,MACC,SACC;AAAA,QAAC;AAAA;AAAA,UACC,SAAS;AAAA,UACT,WAAU;AAAA,UAET;AAAA;AAAA,MACH;AAAA,OAEJ;AAAA,EAEJ;AACF;AACA,kBAAkB,cAAc;","names":[]}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 checkbox_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(checkbox_exports);
|
|
18
|
+
__reExport(checkbox_exports, require("./Checkbox.js"), module.exports);
|
|
19
|
+
__reExport(checkbox_exports, require("./CheckboxGroup.js"), module.exports);
|
|
20
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
21
|
+
0 && (module.exports = {
|
|
22
|
+
...require("./Checkbox.js"),
|
|
23
|
+
...require("./CheckboxGroup.js")
|
|
24
|
+
});
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/checkbox/index.ts"],"sourcesContent":["export * from './Checkbox';\nexport * from './CheckboxGroup';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,6BAAc,uBAAd;AACA,6BAAc,4BADd;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/checkbox/index.ts"],"sourcesContent":["export * from './Checkbox';\nexport * from './CheckboxGroup';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;","names":[]}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export type ComparisonColumn = {
|
|
3
|
+
/** Column heading (e.g. "With an advisor"). */
|
|
4
|
+
label: string;
|
|
5
|
+
/** Visually emphasize this column. */
|
|
6
|
+
highlight?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export type ComparisonRow = {
|
|
9
|
+
/** Capability or criterion shown in the first column. */
|
|
10
|
+
feature: string;
|
|
11
|
+
/** One value per column: boolean for included/not included, string for free text. */
|
|
12
|
+
values: Array<string | boolean>;
|
|
13
|
+
/** Optional supporting line under the feature. */
|
|
14
|
+
hint?: string;
|
|
15
|
+
};
|
|
16
|
+
export type ComparisonTableProps = React.HTMLAttributes<HTMLTableElement> & {
|
|
17
|
+
/** Comparison columns, excluding the feature column. */
|
|
18
|
+
columns: ComparisonColumn[];
|
|
19
|
+
/** Feature rows with one value per column. */
|
|
20
|
+
rows: ComparisonRow[];
|
|
21
|
+
/** Accessible caption. Default "Comparison". */
|
|
22
|
+
caption?: string;
|
|
23
|
+
/** Heading for the feature column. Default "Feature". */
|
|
24
|
+
featureLabel?: string;
|
|
25
|
+
/** Screen-reader labels for boolean cells. */
|
|
26
|
+
valueLabels?: {
|
|
27
|
+
yes?: string;
|
|
28
|
+
no?: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Marketing comparison table for "us vs. them" or "with an advisor vs. on
|
|
33
|
+
* your own" sections. Boolean cells render a check or dash plus screen-reader
|
|
34
|
+
* text, so the comparison never relies on color or glyph alone.
|
|
35
|
+
*/
|
|
36
|
+
export declare const ComparisonTable: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & {
|
|
37
|
+
/** Comparison columns, excluding the feature column. */
|
|
38
|
+
columns: ComparisonColumn[];
|
|
39
|
+
/** Feature rows with one value per column. */
|
|
40
|
+
rows: ComparisonRow[];
|
|
41
|
+
/** Accessible caption. Default "Comparison". */
|
|
42
|
+
caption?: string;
|
|
43
|
+
/** Heading for the feature column. Default "Feature". */
|
|
44
|
+
featureLabel?: string;
|
|
45
|
+
/** Screen-reader labels for boolean cells. */
|
|
46
|
+
valueLabels?: {
|
|
47
|
+
yes?: string;
|
|
48
|
+
no?: string;
|
|
49
|
+
};
|
|
50
|
+
} & React.RefAttributes<HTMLTableElement>>;
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var ComparisonTable_exports = {};
|
|
30
|
+
__export(ComparisonTable_exports, {
|
|
31
|
+
ComparisonTable: () => ComparisonTable
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(ComparisonTable_exports);
|
|
34
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
35
|
+
var React = __toESM(require("react"));
|
|
36
|
+
var import_cn = require("../../utils/cn.js");
|
|
37
|
+
function CheckMark() {
|
|
38
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
39
|
+
"svg",
|
|
40
|
+
{
|
|
41
|
+
"aria-hidden": "true",
|
|
42
|
+
viewBox: "0 0 20 20",
|
|
43
|
+
fill: "none",
|
|
44
|
+
stroke: "currentColor",
|
|
45
|
+
strokeWidth: "2.2",
|
|
46
|
+
strokeLinecap: "round",
|
|
47
|
+
strokeLinejoin: "round",
|
|
48
|
+
className: "mx-auto h-5 w-5 text-success",
|
|
49
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "m4 10.5 4 4 8-9" })
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
function DashMark() {
|
|
54
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
55
|
+
"svg",
|
|
56
|
+
{
|
|
57
|
+
"aria-hidden": "true",
|
|
58
|
+
viewBox: "0 0 20 20",
|
|
59
|
+
fill: "none",
|
|
60
|
+
stroke: "currentColor",
|
|
61
|
+
strokeWidth: "2.2",
|
|
62
|
+
strokeLinecap: "round",
|
|
63
|
+
className: "mx-auto h-5 w-5 text-muted-foreground/60",
|
|
64
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M5 10h10" })
|
|
65
|
+
}
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
const ComparisonTable = React.forwardRef(
|
|
69
|
+
function ComparisonTable2({
|
|
70
|
+
columns,
|
|
71
|
+
rows,
|
|
72
|
+
caption = "Comparison",
|
|
73
|
+
featureLabel = "Feature",
|
|
74
|
+
valueLabels,
|
|
75
|
+
className,
|
|
76
|
+
...props
|
|
77
|
+
}, ref) {
|
|
78
|
+
const yes = valueLabels?.yes ?? "Included";
|
|
79
|
+
const no = valueLabels?.no ?? "Not included";
|
|
80
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "w-full overflow-x-auto rounded-xl border border-border bg-card", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("table", { ref, className: (0, import_cn.cn)("w-full border-collapse text-sm", className), ...props, children: [
|
|
81
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("caption", { className: "sr-only", children: caption }),
|
|
82
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("thead", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("tr", { className: "border-b border-border", children: [
|
|
83
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("th", { scope: "col", className: "min-w-48 px-5 py-4 text-left font-medium text-muted-foreground", children: featureLabel }),
|
|
84
|
+
columns.map((column) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
85
|
+
"th",
|
|
86
|
+
{
|
|
87
|
+
scope: "col",
|
|
88
|
+
className: (0, import_cn.cn)(
|
|
89
|
+
"min-w-40 px-5 py-4 text-center font-semibold",
|
|
90
|
+
column.highlight && "bg-primary/10 text-primary"
|
|
91
|
+
),
|
|
92
|
+
children: column.label
|
|
93
|
+
},
|
|
94
|
+
column.label
|
|
95
|
+
))
|
|
96
|
+
] }) }),
|
|
97
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("tbody", { children: rows.map((row) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("tr", { className: "border-b border-border last:border-b-0", children: [
|
|
98
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("th", { scope: "row", className: "px-5 py-4 text-left font-medium", children: [
|
|
99
|
+
row.feature,
|
|
100
|
+
row.hint && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "mt-1 block text-xs font-normal text-muted-foreground", children: row.hint })
|
|
101
|
+
] }),
|
|
102
|
+
columns.map((column, index) => {
|
|
103
|
+
const value = row.values[index];
|
|
104
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
105
|
+
"td",
|
|
106
|
+
{
|
|
107
|
+
className: (0, import_cn.cn)("px-5 py-4 text-center align-middle", column.highlight && "bg-primary/5"),
|
|
108
|
+
children: typeof value === "boolean" ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
109
|
+
value ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CheckMark, {}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DashMark, {}),
|
|
110
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "sr-only", children: value ? yes : no })
|
|
111
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: value ?? "" })
|
|
112
|
+
},
|
|
113
|
+
`${row.feature}-${column.label}`
|
|
114
|
+
);
|
|
115
|
+
})
|
|
116
|
+
] }, row.feature)) })
|
|
117
|
+
] }) });
|
|
118
|
+
}
|
|
119
|
+
);
|
|
120
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
121
|
+
0 && (module.exports = {
|
|
122
|
+
ComparisonTable
|
|
123
|
+
});
|
|
124
|
+
//# sourceMappingURL=ComparisonTable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/comparison-table/ComparisonTable.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type ComparisonColumn = {\n /** Column heading (e.g. \"With an advisor\"). */\n label: string;\n /** Visually emphasize this column. */\n highlight?: boolean;\n};\n\nexport type ComparisonRow = {\n /** Capability or criterion shown in the first column. */\n feature: string;\n /** One value per column: boolean for included/not included, string for free text. */\n values: Array<string | boolean>;\n /** Optional supporting line under the feature. */\n hint?: string;\n};\n\nexport type ComparisonTableProps = React.HTMLAttributes<HTMLTableElement> & {\n /** Comparison columns, excluding the feature column. */\n columns: ComparisonColumn[];\n /** Feature rows with one value per column. */\n rows: ComparisonRow[];\n /** Accessible caption. Default \"Comparison\". */\n caption?: string;\n /** Heading for the feature column. Default \"Feature\". */\n featureLabel?: string;\n /** Screen-reader labels for boolean cells. */\n valueLabels?: { yes?: string; no?: string };\n};\n\nfunction CheckMark() {\n return (\n <svg\n aria-hidden=\"true\"\n viewBox=\"0 0 20 20\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2.2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className=\"mx-auto h-5 w-5 text-success\"\n >\n <path d=\"m4 10.5 4 4 8-9\" />\n </svg>\n );\n}\n\nfunction DashMark() {\n return (\n <svg\n aria-hidden=\"true\"\n viewBox=\"0 0 20 20\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2.2\"\n strokeLinecap=\"round\"\n className=\"mx-auto h-5 w-5 text-muted-foreground/60\"\n >\n <path d=\"M5 10h10\" />\n </svg>\n );\n}\n\n/**\n * Marketing comparison table for \"us vs. them\" or \"with an advisor vs. on\n * your own\" sections. Boolean cells render a check or dash plus screen-reader\n * text, so the comparison never relies on color or glyph alone.\n */\nexport const ComparisonTable = React.forwardRef<HTMLTableElement, ComparisonTableProps>(\n function ComparisonTable(\n {\n columns,\n rows,\n caption = 'Comparison',\n featureLabel = 'Feature',\n valueLabels,\n className,\n ...props\n },\n ref\n ) {\n const yes = valueLabels?.yes ?? 'Included';\n const no = valueLabels?.no ?? 'Not included';\n\n return (\n <div className=\"w-full overflow-x-auto rounded-xl border border-border bg-card\">\n <table ref={ref} className={cn('w-full border-collapse text-sm', className)} {...props}>\n <caption className=\"sr-only\">{caption}</caption>\n <thead>\n <tr className=\"border-b border-border\">\n <th scope=\"col\" className=\"min-w-48 px-5 py-4 text-left font-medium text-muted-foreground\">\n {featureLabel}\n </th>\n {columns.map((column) => (\n <th\n key={column.label}\n scope=\"col\"\n className={cn(\n 'min-w-40 px-5 py-4 text-center font-semibold',\n column.highlight && 'bg-primary/10 text-primary'\n )}\n >\n {column.label}\n </th>\n ))}\n </tr>\n </thead>\n <tbody>\n {rows.map((row) => (\n <tr key={row.feature} className=\"border-b border-border last:border-b-0\">\n <th scope=\"row\" className=\"px-5 py-4 text-left font-medium\">\n {row.feature}\n {row.hint && <span className=\"mt-1 block text-xs font-normal text-muted-foreground\">{row.hint}</span>}\n </th>\n {columns.map((column, index) => {\n const value = row.values[index];\n return (\n <td\n key={`${row.feature}-${column.label}`}\n className={cn('px-5 py-4 text-center align-middle', column.highlight && 'bg-primary/5')}\n >\n {typeof value === 'boolean' ? (\n <>\n {value ? <CheckMark /> : <DashMark />}\n <span className=\"sr-only\">{value ? yes : no}</span>\n </>\n ) : (\n <span>{value ?? ''}</span>\n )}\n </td>\n );\n })}\n </tr>\n ))}\n </tbody>\n </table>\n </div>\n );\n }\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AA4CM;AA5CN,YAAuB;AACvB,gBAAmB;AA+BnB,SAAS,YAAY;AACnB,SACE;AAAA,IAAC;AAAA;AAAA,MACC,eAAY;AAAA,MACZ,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,QAAO;AAAA,MACP,aAAY;AAAA,MACZ,eAAc;AAAA,MACd,gBAAe;AAAA,MACf,WAAU;AAAA,MAEV,sDAAC,UAAK,GAAE,mBAAkB;AAAA;AAAA,EAC5B;AAEJ;AAEA,SAAS,WAAW;AAClB,SACE;AAAA,IAAC;AAAA;AAAA,MACC,eAAY;AAAA,MACZ,SAAQ;AAAA,MACR,MAAK;AAAA,MACL,QAAO;AAAA,MACP,aAAY;AAAA,MACZ,eAAc;AAAA,MACd,WAAU;AAAA,MAEV,sDAAC,UAAK,GAAE,YAAW;AAAA;AAAA,EACrB;AAEJ;AAOO,MAAM,kBAAkB,MAAM;AAAA,EACnC,SAASA,iBACP;AAAA,IACE;AAAA,IACA;AAAA,IACA,UAAU;AAAA,IACV,eAAe;AAAA,IACf;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EACL,GACA,KACA;AACA,UAAM,MAAM,aAAa,OAAO;AAChC,UAAM,KAAK,aAAa,MAAM;AAE9B,WACE,4CAAC,SAAI,WAAU,kEACb,uDAAC,WAAM,KAAU,eAAW,cAAG,kCAAkC,SAAS,GAAI,GAAG,OAC/E;AAAA,kDAAC,aAAQ,WAAU,WAAW,mBAAQ;AAAA,MACtC,4CAAC,WACC,uDAAC,QAAG,WAAU,0BACZ;AAAA,oDAAC,QAAG,OAAM,OAAM,WAAU,kEACvB,wBACH;AAAA,QACC,QAAQ,IAAI,CAAC,WACZ;AAAA,UAAC;AAAA;AAAA,YAEC,OAAM;AAAA,YACN,eAAW;AAAA,cACT;AAAA,cACA,OAAO,aAAa;AAAA,YACtB;AAAA,YAEC,iBAAO;AAAA;AAAA,UAPH,OAAO;AAAA,QAQd,CACD;AAAA,SACH,GACF;AAAA,MACA,4CAAC,WACE,eAAK,IAAI,CAAC,QACT,6CAAC,QAAqB,WAAU,0CAC9B;AAAA,qDAAC,QAAG,OAAM,OAAM,WAAU,mCACvB;AAAA,cAAI;AAAA,UACJ,IAAI,QAAQ,4CAAC,UAAK,WAAU,wDAAwD,cAAI,MAAK;AAAA,WAChG;AAAA,QACC,QAAQ,IAAI,CAAC,QAAQ,UAAU;AAC9B,gBAAM,QAAQ,IAAI,OAAO,KAAK;AAC9B,iBACE;AAAA,YAAC;AAAA;AAAA,cAEC,eAAW,cAAG,sCAAsC,OAAO,aAAa,cAAc;AAAA,cAErF,iBAAO,UAAU,YAChB,4EACG;AAAA,wBAAQ,4CAAC,aAAU,IAAK,4CAAC,YAAS;AAAA,gBACnC,4CAAC,UAAK,WAAU,WAAW,kBAAQ,MAAM,IAAG;AAAA,iBAC9C,IAEA,4CAAC,UAAM,mBAAS,IAAG;AAAA;AAAA,YAThB,GAAG,IAAI,OAAO,IAAI,OAAO,KAAK;AAAA,UAWrC;AAAA,QAEJ,CAAC;AAAA,WAtBM,IAAI,OAuBb,CACD,GACH;AAAA,OACF,GACF;AAAA,EAEJ;AACF;","names":["ComparisonTable"]}
|