@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,84 @@
|
|
|
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 Prose_exports = {};
|
|
30
|
+
__export(Prose_exports, {
|
|
31
|
+
Prose: () => Prose
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(Prose_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 sizeClasses = {
|
|
38
|
+
sm: "text-sm [&_h2]:text-xl [&_h3]:text-lg",
|
|
39
|
+
md: "text-base [&_h2]:text-2xl [&_h3]:text-xl",
|
|
40
|
+
lg: "text-lg [&_h2]:text-3xl [&_h3]:text-2xl"
|
|
41
|
+
};
|
|
42
|
+
const Prose = React.forwardRef(function Prose2({ size = "md", className, ...props }, ref) {
|
|
43
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
44
|
+
"div",
|
|
45
|
+
{
|
|
46
|
+
ref,
|
|
47
|
+
className: (0, import_cn.cn)(
|
|
48
|
+
"max-w-none text-foreground",
|
|
49
|
+
sizeClasses[size],
|
|
50
|
+
// Headings
|
|
51
|
+
"[&_h1]:mb-4 [&_h1]:mt-10 [&_h1]:scroll-mt-24 [&_h1]:text-3xl [&_h1]:font-bold [&_h1]:tracking-tight",
|
|
52
|
+
"[&_h2]:mb-3 [&_h2]:mt-9 [&_h2]:scroll-mt-24 [&_h2]:font-semibold [&_h2]:tracking-tight",
|
|
53
|
+
"[&_h3]:mb-2 [&_h3]:mt-7 [&_h3]:scroll-mt-24 [&_h3]:font-semibold",
|
|
54
|
+
"[&_h4]:mb-2 [&_h4]:mt-6 [&_h4]:scroll-mt-24 [&_h4]:font-semibold",
|
|
55
|
+
// Body copy
|
|
56
|
+
"[&_p]:my-4 [&_p]:leading-7",
|
|
57
|
+
"[&_a]:text-primary [&_a]:underline [&_a]:decoration-primary/40 [&_a]:underline-offset-4 hover:[&_a]:decoration-primary",
|
|
58
|
+
"[&_strong]:font-semibold [&_strong]:text-foreground [&_em]:italic",
|
|
59
|
+
"[&_ul]:my-4 [&_ul]:list-disc [&_ul]:space-y-1.5 [&_ul]:pl-6",
|
|
60
|
+
"[&_ol]:my-4 [&_ol]:list-decimal [&_ol]:space-y-1.5 [&_ol]:pl-6",
|
|
61
|
+
"[&_li]:leading-7 [&_li>p]:my-0",
|
|
62
|
+
"[&_blockquote]:my-6 [&_blockquote]:border-l-2 [&_blockquote]:border-primary/40 [&_blockquote]:pl-4 [&_blockquote]:italic [&_blockquote]:text-muted-foreground",
|
|
63
|
+
// Code
|
|
64
|
+
"[&_code]:rounded [&_code]:bg-muted [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:font-mono [&_code]:text-[0.875em]",
|
|
65
|
+
"[&_pre]:my-5 [&_pre]:overflow-x-auto [&_pre]:rounded-lg [&_pre]:border [&_pre]:border-border [&_pre]:bg-muted/50 [&_pre]:p-4",
|
|
66
|
+
"[&_pre_code]:bg-transparent [&_pre_code]:p-0 [&_pre_code]:text-sm",
|
|
67
|
+
// Media, rules, tables
|
|
68
|
+
"[&_hr]:my-8 [&_hr]:border-border",
|
|
69
|
+
"[&_img]:my-6 [&_img]:rounded-lg [&_img]:border [&_img]:border-border",
|
|
70
|
+
"[&_figure]:my-6 [&_figcaption]:mt-2 [&_figcaption]:text-center [&_figcaption]:text-xs [&_figcaption]:text-muted-foreground",
|
|
71
|
+
"[&_table]:my-6 [&_table]:w-full [&_table]:border-collapse [&_table]:text-sm",
|
|
72
|
+
"[&_th]:border-b [&_th]:border-border [&_th]:px-3 [&_th]:py-2 [&_th]:text-left [&_th]:font-semibold",
|
|
73
|
+
"[&_td]:border-b [&_td]:border-border [&_td]:px-3 [&_td]:py-2",
|
|
74
|
+
className
|
|
75
|
+
),
|
|
76
|
+
...props
|
|
77
|
+
}
|
|
78
|
+
);
|
|
79
|
+
});
|
|
80
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
81
|
+
0 && (module.exports = {
|
|
82
|
+
Prose
|
|
83
|
+
});
|
|
84
|
+
//# sourceMappingURL=Prose.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/prose/Prose.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type ProseProps = React.HTMLAttributes<HTMLDivElement> & {\n /** Type scale. Default 'md'. */\n size?: 'sm' | 'md' | 'lg';\n};\n\nconst sizeClasses: Record<NonNullable<ProseProps['size']>, string> = {\n sm: 'text-sm [&_h2]:text-xl [&_h3]:text-lg',\n md: 'text-base [&_h2]:text-2xl [&_h3]:text-xl',\n lg: 'text-lg [&_h2]:text-3xl [&_h3]:text-2xl',\n};\n\n/**\n * Long-form content typography for rendered markdown/MDX output.\n *\n * Self-contained (no @tailwindcss/typography dependency): element styles ride\n * on child selectors, so any MDX/remark renderer can drop its output inside.\n * Keeps the content pipeline (Shiki, KaTeX, Mermaid) untouched.\n */\nexport const Prose = React.forwardRef<HTMLDivElement, ProseProps>(function Prose(\n { size = 'md', className, ...props },\n ref\n) {\n return (\n <div\n ref={ref}\n className={cn(\n 'max-w-none text-foreground',\n sizeClasses[size],\n // Headings\n '[&_h1]:mb-4 [&_h1]:mt-10 [&_h1]:scroll-mt-24 [&_h1]:text-3xl [&_h1]:font-bold [&_h1]:tracking-tight',\n '[&_h2]:mb-3 [&_h2]:mt-9 [&_h2]:scroll-mt-24 [&_h2]:font-semibold [&_h2]:tracking-tight',\n '[&_h3]:mb-2 [&_h3]:mt-7 [&_h3]:scroll-mt-24 [&_h3]:font-semibold',\n '[&_h4]:mb-2 [&_h4]:mt-6 [&_h4]:scroll-mt-24 [&_h4]:font-semibold',\n // Body copy\n '[&_p]:my-4 [&_p]:leading-7',\n '[&_a]:text-primary [&_a]:underline [&_a]:decoration-primary/40 [&_a]:underline-offset-4 hover:[&_a]:decoration-primary',\n '[&_strong]:font-semibold [&_strong]:text-foreground [&_em]:italic',\n '[&_ul]:my-4 [&_ul]:list-disc [&_ul]:space-y-1.5 [&_ul]:pl-6',\n '[&_ol]:my-4 [&_ol]:list-decimal [&_ol]:space-y-1.5 [&_ol]:pl-6',\n '[&_li]:leading-7 [&_li>p]:my-0',\n '[&_blockquote]:my-6 [&_blockquote]:border-l-2 [&_blockquote]:border-primary/40 [&_blockquote]:pl-4 [&_blockquote]:italic [&_blockquote]:text-muted-foreground',\n // Code\n '[&_code]:rounded [&_code]:bg-muted [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:font-mono [&_code]:text-[0.875em]',\n '[&_pre]:my-5 [&_pre]:overflow-x-auto [&_pre]:rounded-lg [&_pre]:border [&_pre]:border-border [&_pre]:bg-muted/50 [&_pre]:p-4',\n '[&_pre_code]:bg-transparent [&_pre_code]:p-0 [&_pre_code]:text-sm',\n // Media, rules, tables\n '[&_hr]:my-8 [&_hr]:border-border',\n '[&_img]:my-6 [&_img]:rounded-lg [&_img]:border [&_img]:border-border',\n '[&_figure]:my-6 [&_figcaption]:mt-2 [&_figcaption]:text-center [&_figcaption]:text-xs [&_figcaption]:text-muted-foreground',\n '[&_table]:my-6 [&_table]:w-full [&_table]:border-collapse [&_table]:text-sm',\n '[&_th]:border-b [&_th]:border-border [&_th]:px-3 [&_th]:py-2 [&_th]:text-left [&_th]:font-semibold',\n '[&_td]:border-b [&_td]:border-border [&_td]:px-3 [&_td]:py-2',\n className\n )}\n {...props}\n />\n );\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AA0BI;AA1BJ,YAAuB;AACvB,gBAAmB;AAOnB,MAAM,cAA+D;AAAA,EACnE,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AASO,MAAM,QAAQ,MAAM,WAAuC,SAASA,OACzE,EAAE,OAAO,MAAM,WAAW,GAAG,MAAM,GACnC,KACA;AACA,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,eAAW;AAAA,QACT;AAAA,QACA,YAAY,IAAI;AAAA;AAAA,QAEhB;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA;AAAA,QAEA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA;AAAA,QAEA;AAAA,QACA;AAAA,QACA;AAAA;AAAA,QAEA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAEJ,CAAC;","names":["Prose"]}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { cn } from "../../utils/cn.mjs";
|
|
4
|
+
const sizeClasses = {
|
|
5
|
+
sm: "text-sm [&_h2]:text-xl [&_h3]:text-lg",
|
|
6
|
+
md: "text-base [&_h2]:text-2xl [&_h3]:text-xl",
|
|
7
|
+
lg: "text-lg [&_h2]:text-3xl [&_h3]:text-2xl"
|
|
8
|
+
};
|
|
9
|
+
const Prose = React.forwardRef(function Prose2({ size = "md", className, ...props }, ref) {
|
|
10
|
+
return /* @__PURE__ */ jsx(
|
|
11
|
+
"div",
|
|
12
|
+
{
|
|
13
|
+
ref,
|
|
14
|
+
className: cn(
|
|
15
|
+
"max-w-none text-foreground",
|
|
16
|
+
sizeClasses[size],
|
|
17
|
+
// Headings
|
|
18
|
+
"[&_h1]:mb-4 [&_h1]:mt-10 [&_h1]:scroll-mt-24 [&_h1]:text-3xl [&_h1]:font-bold [&_h1]:tracking-tight",
|
|
19
|
+
"[&_h2]:mb-3 [&_h2]:mt-9 [&_h2]:scroll-mt-24 [&_h2]:font-semibold [&_h2]:tracking-tight",
|
|
20
|
+
"[&_h3]:mb-2 [&_h3]:mt-7 [&_h3]:scroll-mt-24 [&_h3]:font-semibold",
|
|
21
|
+
"[&_h4]:mb-2 [&_h4]:mt-6 [&_h4]:scroll-mt-24 [&_h4]:font-semibold",
|
|
22
|
+
// Body copy
|
|
23
|
+
"[&_p]:my-4 [&_p]:leading-7",
|
|
24
|
+
"[&_a]:text-primary [&_a]:underline [&_a]:decoration-primary/40 [&_a]:underline-offset-4 hover:[&_a]:decoration-primary",
|
|
25
|
+
"[&_strong]:font-semibold [&_strong]:text-foreground [&_em]:italic",
|
|
26
|
+
"[&_ul]:my-4 [&_ul]:list-disc [&_ul]:space-y-1.5 [&_ul]:pl-6",
|
|
27
|
+
"[&_ol]:my-4 [&_ol]:list-decimal [&_ol]:space-y-1.5 [&_ol]:pl-6",
|
|
28
|
+
"[&_li]:leading-7 [&_li>p]:my-0",
|
|
29
|
+
"[&_blockquote]:my-6 [&_blockquote]:border-l-2 [&_blockquote]:border-primary/40 [&_blockquote]:pl-4 [&_blockquote]:italic [&_blockquote]:text-muted-foreground",
|
|
30
|
+
// Code
|
|
31
|
+
"[&_code]:rounded [&_code]:bg-muted [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:font-mono [&_code]:text-[0.875em]",
|
|
32
|
+
"[&_pre]:my-5 [&_pre]:overflow-x-auto [&_pre]:rounded-lg [&_pre]:border [&_pre]:border-border [&_pre]:bg-muted/50 [&_pre]:p-4",
|
|
33
|
+
"[&_pre_code]:bg-transparent [&_pre_code]:p-0 [&_pre_code]:text-sm",
|
|
34
|
+
// Media, rules, tables
|
|
35
|
+
"[&_hr]:my-8 [&_hr]:border-border",
|
|
36
|
+
"[&_img]:my-6 [&_img]:rounded-lg [&_img]:border [&_img]:border-border",
|
|
37
|
+
"[&_figure]:my-6 [&_figcaption]:mt-2 [&_figcaption]:text-center [&_figcaption]:text-xs [&_figcaption]:text-muted-foreground",
|
|
38
|
+
"[&_table]:my-6 [&_table]:w-full [&_table]:border-collapse [&_table]:text-sm",
|
|
39
|
+
"[&_th]:border-b [&_th]:border-border [&_th]:px-3 [&_th]:py-2 [&_th]:text-left [&_th]:font-semibold",
|
|
40
|
+
"[&_td]:border-b [&_td]:border-border [&_td]:px-3 [&_td]:py-2",
|
|
41
|
+
className
|
|
42
|
+
),
|
|
43
|
+
...props
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
});
|
|
47
|
+
export {
|
|
48
|
+
Prose
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=Prose.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/prose/Prose.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type ProseProps = React.HTMLAttributes<HTMLDivElement> & {\n /** Type scale. Default 'md'. */\n size?: 'sm' | 'md' | 'lg';\n};\n\nconst sizeClasses: Record<NonNullable<ProseProps['size']>, string> = {\n sm: 'text-sm [&_h2]:text-xl [&_h3]:text-lg',\n md: 'text-base [&_h2]:text-2xl [&_h3]:text-xl',\n lg: 'text-lg [&_h2]:text-3xl [&_h3]:text-2xl',\n};\n\n/**\n * Long-form content typography for rendered markdown/MDX output.\n *\n * Self-contained (no @tailwindcss/typography dependency): element styles ride\n * on child selectors, so any MDX/remark renderer can drop its output inside.\n * Keeps the content pipeline (Shiki, KaTeX, Mermaid) untouched.\n */\nexport const Prose = React.forwardRef<HTMLDivElement, ProseProps>(function Prose(\n { size = 'md', className, ...props },\n ref\n) {\n return (\n <div\n ref={ref}\n className={cn(\n 'max-w-none text-foreground',\n sizeClasses[size],\n // Headings\n '[&_h1]:mb-4 [&_h1]:mt-10 [&_h1]:scroll-mt-24 [&_h1]:text-3xl [&_h1]:font-bold [&_h1]:tracking-tight',\n '[&_h2]:mb-3 [&_h2]:mt-9 [&_h2]:scroll-mt-24 [&_h2]:font-semibold [&_h2]:tracking-tight',\n '[&_h3]:mb-2 [&_h3]:mt-7 [&_h3]:scroll-mt-24 [&_h3]:font-semibold',\n '[&_h4]:mb-2 [&_h4]:mt-6 [&_h4]:scroll-mt-24 [&_h4]:font-semibold',\n // Body copy\n '[&_p]:my-4 [&_p]:leading-7',\n '[&_a]:text-primary [&_a]:underline [&_a]:decoration-primary/40 [&_a]:underline-offset-4 hover:[&_a]:decoration-primary',\n '[&_strong]:font-semibold [&_strong]:text-foreground [&_em]:italic',\n '[&_ul]:my-4 [&_ul]:list-disc [&_ul]:space-y-1.5 [&_ul]:pl-6',\n '[&_ol]:my-4 [&_ol]:list-decimal [&_ol]:space-y-1.5 [&_ol]:pl-6',\n '[&_li]:leading-7 [&_li>p]:my-0',\n '[&_blockquote]:my-6 [&_blockquote]:border-l-2 [&_blockquote]:border-primary/40 [&_blockquote]:pl-4 [&_blockquote]:italic [&_blockquote]:text-muted-foreground',\n // Code\n '[&_code]:rounded [&_code]:bg-muted [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:font-mono [&_code]:text-[0.875em]',\n '[&_pre]:my-5 [&_pre]:overflow-x-auto [&_pre]:rounded-lg [&_pre]:border [&_pre]:border-border [&_pre]:bg-muted/50 [&_pre]:p-4',\n '[&_pre_code]:bg-transparent [&_pre_code]:p-0 [&_pre_code]:text-sm',\n // Media, rules, tables\n '[&_hr]:my-8 [&_hr]:border-border',\n '[&_img]:my-6 [&_img]:rounded-lg [&_img]:border [&_img]:border-border',\n '[&_figure]:my-6 [&_figcaption]:mt-2 [&_figcaption]:text-center [&_figcaption]:text-xs [&_figcaption]:text-muted-foreground',\n '[&_table]:my-6 [&_table]:w-full [&_table]:border-collapse [&_table]:text-sm',\n '[&_th]:border-b [&_th]:border-border [&_th]:px-3 [&_th]:py-2 [&_th]:text-left [&_th]:font-semibold',\n '[&_td]:border-b [&_td]:border-border [&_td]:px-3 [&_td]:py-2',\n className\n )}\n {...props}\n />\n );\n});\n"],"mappings":"AA0BI;AA1BJ,YAAY,WAAW;AACvB,SAAS,UAAU;AAOnB,MAAM,cAA+D;AAAA,EACnE,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AASO,MAAM,QAAQ,MAAM,WAAuC,SAASA,OACzE,EAAE,OAAO,MAAM,WAAW,GAAG,MAAM,GACnC,KACA;AACA,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,WAAW;AAAA,QACT;AAAA,QACA,YAAY,IAAI;AAAA;AAAA,QAEhB;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA;AAAA,QAEA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA;AAAA,QAEA;AAAA,QACA;AAAA,QACA;AAAA;AAAA,QAEA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,MACC,GAAG;AAAA;AAAA,EACN;AAEJ,CAAC;","names":["Prose"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Prose';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var prose_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(prose_exports);
|
|
18
|
+
__reExport(prose_exports, require("./Prose.js"), module.exports);
|
|
19
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
20
|
+
0 && (module.exports = {
|
|
21
|
+
...require("./Prose.js")
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/prose/index.ts"],"sourcesContent":["export * from './Prose';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,0BAAc,oBAAd;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/prose/index.ts"],"sourcesContent":["export * from './Prose';\n"],"mappings":"AAAA,cAAc;","names":[]}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export type RadioProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> & {
|
|
3
|
+
/** Controlled checked state; omit for uncontrolled usage. */
|
|
4
|
+
checked?: boolean;
|
|
5
|
+
/** Fired when the user selects this radio. */
|
|
6
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Accessible radio built on the native input, to be used inside a
|
|
10
|
+
* `RadioGroup` (which provides the shared `name`). Platform keyboard
|
|
11
|
+
* navigation and form semantics come for free.
|
|
12
|
+
*/
|
|
13
|
+
declare const Radio: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> & {
|
|
14
|
+
/** Controlled checked state; omit for uncontrolled usage. */
|
|
15
|
+
checked?: boolean;
|
|
16
|
+
/** Fired when the user selects this radio. */
|
|
17
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
18
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
19
|
+
export type RadioGroupProps = {
|
|
20
|
+
/** Shared name applied to every radio in the group. */
|
|
21
|
+
name: string;
|
|
22
|
+
/** Accessible group label; rendered as <legend> inside a fieldset. */
|
|
23
|
+
legend?: string;
|
|
24
|
+
/** Currently selected value (controlled). */
|
|
25
|
+
value?: string;
|
|
26
|
+
/** Initial value (uncontrolled). */
|
|
27
|
+
defaultValue?: string;
|
|
28
|
+
/** Called with the newly selected value. */
|
|
29
|
+
onValueChange?: (value: string) => void;
|
|
30
|
+
/** Stack options (default) or lay them out in a wrapping row. */
|
|
31
|
+
orientation?: 'vertical' | 'horizontal';
|
|
32
|
+
/** Group-level validation message; announced via role=alert. */
|
|
33
|
+
error?: string;
|
|
34
|
+
className?: string;
|
|
35
|
+
children: React.ReactNode;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Groups related radios with a shared name and accessible legend.
|
|
39
|
+
* Renders a native <fieldset>/<legend> so screen readers announce the
|
|
40
|
+
* group context alongside each option.
|
|
41
|
+
*/
|
|
42
|
+
declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLFieldSetElement>>;
|
|
43
|
+
type RadioGroupContextValue = {
|
|
44
|
+
name: string;
|
|
45
|
+
value: string;
|
|
46
|
+
onChange: (value: string) => void;
|
|
47
|
+
};
|
|
48
|
+
/** Shared group state — exported so custom option controls (RadioCard) can join a RadioGroup. */
|
|
49
|
+
export declare const RadioGroupContext: React.Context<RadioGroupContextValue>;
|
|
50
|
+
export type RadioGroupItemProps = Omit<RadioProps, 'name' | 'checked' | 'onCheckedChange' | 'value'> & {
|
|
51
|
+
/** The value this item contributes to the group. */
|
|
52
|
+
value: string;
|
|
53
|
+
/** Visible label rendered next to the radio. */
|
|
54
|
+
label?: string;
|
|
55
|
+
};
|
|
56
|
+
/** A single radio option inside a `RadioGroup`. */
|
|
57
|
+
declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioProps, "name" | "checked" | "value" | "onCheckedChange"> & {
|
|
58
|
+
/** The value this item contributes to the group. */
|
|
59
|
+
value: string;
|
|
60
|
+
/** Visible label rendered next to the radio. */
|
|
61
|
+
label?: string;
|
|
62
|
+
} & React.RefAttributes<HTMLInputElement>>;
|
|
63
|
+
export { Radio, RadioGroup, RadioGroupItem };
|
|
@@ -0,0 +1,127 @@
|
|
|
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 Radio_exports = {};
|
|
31
|
+
__export(Radio_exports, {
|
|
32
|
+
Radio: () => Radio,
|
|
33
|
+
RadioGroup: () => RadioGroup,
|
|
34
|
+
RadioGroupContext: () => RadioGroupContext,
|
|
35
|
+
RadioGroupItem: () => RadioGroupItem
|
|
36
|
+
});
|
|
37
|
+
module.exports = __toCommonJS(Radio_exports);
|
|
38
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
39
|
+
var React = __toESM(require("react"));
|
|
40
|
+
var import_cn = require("../../utils/cn.js");
|
|
41
|
+
const Radio = React.forwardRef(
|
|
42
|
+
({ className, checked, onCheckedChange, onChange, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
43
|
+
"input",
|
|
44
|
+
{
|
|
45
|
+
type: "radio",
|
|
46
|
+
ref,
|
|
47
|
+
checked,
|
|
48
|
+
onChange: (event) => {
|
|
49
|
+
onCheckedChange?.(event.target.checked);
|
|
50
|
+
onChange?.(event);
|
|
51
|
+
},
|
|
52
|
+
className: (0, import_cn.cn)(
|
|
53
|
+
"h-4 w-4 shrink-0 rounded-full border border-primary",
|
|
54
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
|
|
55
|
+
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
56
|
+
"checked:bg-primary checked:text-primary-foreground",
|
|
57
|
+
className
|
|
58
|
+
),
|
|
59
|
+
...props
|
|
60
|
+
}
|
|
61
|
+
)
|
|
62
|
+
);
|
|
63
|
+
Radio.displayName = "Radio";
|
|
64
|
+
const RadioGroup = React.forwardRef(
|
|
65
|
+
({ name, legend, value, defaultValue, onValueChange, orientation = "vertical", error, className, children }, ref) => {
|
|
66
|
+
const [internalValue, setInternalValue] = React.useState(defaultValue ?? "");
|
|
67
|
+
const currentValue = value ?? internalValue;
|
|
68
|
+
const handleChange = (next) => {
|
|
69
|
+
if (value === void 0) setInternalValue(next);
|
|
70
|
+
onValueChange?.(next);
|
|
71
|
+
};
|
|
72
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
73
|
+
"fieldset",
|
|
74
|
+
{
|
|
75
|
+
ref,
|
|
76
|
+
className: (0, import_cn.cn)(
|
|
77
|
+
orientation === "vertical" ? "space-y-2" : "flex flex-row flex-wrap gap-x-4 gap-y-2",
|
|
78
|
+
className
|
|
79
|
+
),
|
|
80
|
+
children: [
|
|
81
|
+
legend && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("legend", { className: "text-sm font-medium", children: legend }),
|
|
82
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(RadioGroupContext.Provider, { value: { name, value: currentValue, onChange: handleChange }, children }),
|
|
83
|
+
error && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { role: "alert", className: "text-xs text-destructive", children: error })
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
);
|
|
87
|
+
}
|
|
88
|
+
);
|
|
89
|
+
RadioGroup.displayName = "RadioGroup";
|
|
90
|
+
const RadioGroupContext = React.createContext({
|
|
91
|
+
name: "",
|
|
92
|
+
value: "",
|
|
93
|
+
onChange: () => {
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
const RadioGroupItem = React.forwardRef(
|
|
97
|
+
({ value, label, className, id, ...props }, ref) => {
|
|
98
|
+
const group = React.useContext(RadioGroupContext);
|
|
99
|
+
const generatedId = React.useId();
|
|
100
|
+
const inputId = id ?? generatedId;
|
|
101
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
102
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
103
|
+
Radio,
|
|
104
|
+
{
|
|
105
|
+
ref,
|
|
106
|
+
id: inputId,
|
|
107
|
+
name: group.name,
|
|
108
|
+
value,
|
|
109
|
+
checked: group.value === value,
|
|
110
|
+
onCheckedChange: (checked) => checked && group.onChange(value),
|
|
111
|
+
className,
|
|
112
|
+
...props
|
|
113
|
+
}
|
|
114
|
+
),
|
|
115
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("label", { htmlFor: inputId, className: "text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70", children: label })
|
|
116
|
+
] });
|
|
117
|
+
}
|
|
118
|
+
);
|
|
119
|
+
RadioGroupItem.displayName = "RadioGroupItem";
|
|
120
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
121
|
+
0 && (module.exports = {
|
|
122
|
+
Radio,
|
|
123
|
+
RadioGroup,
|
|
124
|
+
RadioGroupContext,
|
|
125
|
+
RadioGroupItem
|
|
126
|
+
});
|
|
127
|
+
//# sourceMappingURL=Radio.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/radio/Radio.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type RadioProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> & {\n /** Controlled checked state; omit for uncontrolled usage. */\n checked?: boolean;\n /** Fired when the user selects this radio. */\n onCheckedChange?: (checked: boolean) => void;\n};\n\n/**\n * Accessible radio built on the native input, to be used inside a\n * `RadioGroup` (which provides the shared `name`). Platform keyboard\n * navigation and form semantics come for free.\n */\nconst Radio = React.forwardRef<HTMLInputElement, RadioProps>(\n ({ className, checked, onCheckedChange, onChange, ...props }, ref) => (\n <input\n type=\"radio\"\n ref={ref}\n checked={checked}\n onChange={(event) => {\n onCheckedChange?.(event.target.checked);\n onChange?.(event);\n }}\n className={cn(\n 'h-4 w-4 shrink-0 rounded-full 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);\nRadio.displayName = 'Radio';\n\nexport type RadioGroupProps = {\n /** Shared name applied to every radio in the group. */\n name: string;\n /** Accessible group label; rendered as <legend> inside a fieldset. */\n legend?: string;\n /** Currently selected value (controlled). */\n value?: string;\n /** Initial value (uncontrolled). */\n defaultValue?: string;\n /** Called with the newly selected value. */\n onValueChange?: (value: string) => void;\n /** Stack options (default) or lay them out in a wrapping row. */\n orientation?: 'vertical' | 'horizontal';\n /** Group-level validation message; announced via role=alert. */\n error?: string;\n className?: string;\n children: React.ReactNode;\n};\n\n/**\n * Groups related radios with a shared name and accessible legend.\n * Renders a native <fieldset>/<legend> so screen readers announce the\n * group context alongside each option.\n */\nconst RadioGroup = React.forwardRef<HTMLFieldSetElement, RadioGroupProps>(\n ({ name, legend, value, defaultValue, onValueChange, orientation = 'vertical', error, className, children }, ref) => {\n const [internalValue, setInternalValue] = React.useState(defaultValue ?? '');\n const currentValue = value ?? internalValue;\n\n const handleChange = (next: string) => {\n if (value === undefined) setInternalValue(next);\n onValueChange?.(next);\n };\n\n return (\n <fieldset\n ref={ref}\n className={cn(\n orientation === 'vertical' ? 'space-y-2' : 'flex flex-row flex-wrap gap-x-4 gap-y-2',\n className\n )}\n >\n {legend && <legend className=\"text-sm font-medium\">{legend}</legend>}\n <RadioGroupContext.Provider value={{ name, value: currentValue, onChange: handleChange }}>\n {children}\n </RadioGroupContext.Provider>\n {error && (\n <p role=\"alert\" className=\"text-xs text-destructive\">\n {error}\n </p>\n )}\n </fieldset>\n );\n }\n);\nRadioGroup.displayName = 'RadioGroup';\n\ntype RadioGroupContextValue = {\n name: string;\n value: string;\n onChange: (value: string) => void;\n};\n\n/** Shared group state — exported so custom option controls (RadioCard) can join a RadioGroup. */\nexport const RadioGroupContext = React.createContext<RadioGroupContextValue>({\n name: '',\n value: '',\n onChange: () => {},\n});\n\nexport type RadioGroupItemProps = Omit<RadioProps, 'name' | 'checked' | 'onCheckedChange' | 'value'> & {\n /** The value this item contributes to the group. */\n value: string;\n /** Visible label rendered next to the radio. */\n label?: string;\n};\n\n/** A single radio option inside a `RadioGroup`. */\nconst RadioGroupItem = React.forwardRef<HTMLInputElement, RadioGroupItemProps>(\n ({ value, label, className, id, ...props }, ref) => {\n const group = React.useContext(RadioGroupContext);\n const generatedId = React.useId();\n const inputId = id ?? generatedId;\n\n return (\n <div className=\"flex items-center gap-2\">\n <Radio\n ref={ref}\n id={inputId}\n name={group.name}\n value={value}\n checked={group.value === value}\n onCheckedChange={(checked) => checked && group.onChange(value)}\n className={className}\n {...props}\n />\n {label && (\n <label htmlFor={inputId} className=\"text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70\">\n {label}\n </label>\n )}\n </div>\n );\n }\n);\nRadioGroupItem.displayName = 'RadioGroupItem';\n\nexport { Radio, RadioGroup, RadioGroupItem };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAmBI;AAjBJ,YAAuB;AACvB,gBAAmB;AAcnB,MAAM,QAAQ,MAAM;AAAA,EAClB,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,MAAM,cAAc;AA0BpB,MAAM,aAAa,MAAM;AAAA,EACvB,CAAC,EAAE,MAAM,QAAQ,OAAO,cAAc,eAAe,cAAc,YAAY,OAAO,WAAW,SAAS,GAAG,QAAQ;AACnH,UAAM,CAAC,eAAe,gBAAgB,IAAI,MAAM,SAAS,gBAAgB,EAAE;AAC3E,UAAM,eAAe,SAAS;AAE9B,UAAM,eAAe,CAAC,SAAiB;AACrC,UAAI,UAAU,OAAW,kBAAiB,IAAI;AAC9C,sBAAgB,IAAI;AAAA,IACtB;AAEA,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,eAAW;AAAA,UACT,gBAAgB,aAAa,cAAc;AAAA,UAC3C;AAAA,QACF;AAAA,QAEC;AAAA,oBAAU,4CAAC,YAAO,WAAU,uBAAuB,kBAAO;AAAA,UAC3D,4CAAC,kBAAkB,UAAlB,EAA2B,OAAO,EAAE,MAAM,OAAO,cAAc,UAAU,aAAa,GACpF,UACH;AAAA,UACC,SACC,4CAAC,OAAE,MAAK,SAAQ,WAAU,4BACvB,iBACH;AAAA;AAAA;AAAA,IAEJ;AAAA,EAEJ;AACF;AACA,WAAW,cAAc;AASlB,MAAM,oBAAoB,MAAM,cAAsC;AAAA,EAC3E,MAAM;AAAA,EACN,OAAO;AAAA,EACP,UAAU,MAAM;AAAA,EAAC;AACnB,CAAC;AAUD,MAAM,iBAAiB,MAAM;AAAA,EAC3B,CAAC,EAAE,OAAO,OAAO,WAAW,IAAI,GAAG,MAAM,GAAG,QAAQ;AAClD,UAAM,QAAQ,MAAM,WAAW,iBAAiB;AAChD,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,UAAU;AAAA,UACzB,iBAAiB,CAAC,YAAY,WAAW,MAAM,SAAS,KAAK;AAAA,UAC7D;AAAA,UACC,GAAG;AAAA;AAAA,MACN;AAAA,MACC,SACC,4CAAC,WAAM,SAAS,SAAS,WAAU,kFAChC,iBACH;AAAA,OAEJ;AAAA,EAEJ;AACF;AACA,eAAe,cAAc;","names":[]}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { cn } from "../../utils/cn.mjs";
|
|
5
|
+
const Radio = React.forwardRef(
|
|
6
|
+
({ className, checked, onCheckedChange, onChange, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
7
|
+
"input",
|
|
8
|
+
{
|
|
9
|
+
type: "radio",
|
|
10
|
+
ref,
|
|
11
|
+
checked,
|
|
12
|
+
onChange: (event) => {
|
|
13
|
+
onCheckedChange?.(event.target.checked);
|
|
14
|
+
onChange?.(event);
|
|
15
|
+
},
|
|
16
|
+
className: cn(
|
|
17
|
+
"h-4 w-4 shrink-0 rounded-full border border-primary",
|
|
18
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
|
|
19
|
+
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
20
|
+
"checked:bg-primary checked:text-primary-foreground",
|
|
21
|
+
className
|
|
22
|
+
),
|
|
23
|
+
...props
|
|
24
|
+
}
|
|
25
|
+
)
|
|
26
|
+
);
|
|
27
|
+
Radio.displayName = "Radio";
|
|
28
|
+
const RadioGroup = React.forwardRef(
|
|
29
|
+
({ name, legend, value, defaultValue, onValueChange, orientation = "vertical", error, className, children }, ref) => {
|
|
30
|
+
const [internalValue, setInternalValue] = React.useState(defaultValue ?? "");
|
|
31
|
+
const currentValue = value ?? internalValue;
|
|
32
|
+
const handleChange = (next) => {
|
|
33
|
+
if (value === void 0) setInternalValue(next);
|
|
34
|
+
onValueChange?.(next);
|
|
35
|
+
};
|
|
36
|
+
return /* @__PURE__ */ jsxs(
|
|
37
|
+
"fieldset",
|
|
38
|
+
{
|
|
39
|
+
ref,
|
|
40
|
+
className: cn(
|
|
41
|
+
orientation === "vertical" ? "space-y-2" : "flex flex-row flex-wrap gap-x-4 gap-y-2",
|
|
42
|
+
className
|
|
43
|
+
),
|
|
44
|
+
children: [
|
|
45
|
+
legend && /* @__PURE__ */ jsx("legend", { className: "text-sm font-medium", children: legend }),
|
|
46
|
+
/* @__PURE__ */ jsx(RadioGroupContext.Provider, { value: { name, value: currentValue, onChange: handleChange }, children }),
|
|
47
|
+
error && /* @__PURE__ */ jsx("p", { role: "alert", className: "text-xs text-destructive", children: error })
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
);
|
|
53
|
+
RadioGroup.displayName = "RadioGroup";
|
|
54
|
+
const RadioGroupContext = React.createContext({
|
|
55
|
+
name: "",
|
|
56
|
+
value: "",
|
|
57
|
+
onChange: () => {
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
const RadioGroupItem = React.forwardRef(
|
|
61
|
+
({ value, label, className, id, ...props }, ref) => {
|
|
62
|
+
const group = React.useContext(RadioGroupContext);
|
|
63
|
+
const generatedId = React.useId();
|
|
64
|
+
const inputId = id ?? generatedId;
|
|
65
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
66
|
+
/* @__PURE__ */ jsx(
|
|
67
|
+
Radio,
|
|
68
|
+
{
|
|
69
|
+
ref,
|
|
70
|
+
id: inputId,
|
|
71
|
+
name: group.name,
|
|
72
|
+
value,
|
|
73
|
+
checked: group.value === value,
|
|
74
|
+
onCheckedChange: (checked) => checked && group.onChange(value),
|
|
75
|
+
className,
|
|
76
|
+
...props
|
|
77
|
+
}
|
|
78
|
+
),
|
|
79
|
+
label && /* @__PURE__ */ jsx("label", { htmlFor: inputId, className: "text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70", children: label })
|
|
80
|
+
] });
|
|
81
|
+
}
|
|
82
|
+
);
|
|
83
|
+
RadioGroupItem.displayName = "RadioGroupItem";
|
|
84
|
+
export {
|
|
85
|
+
Radio,
|
|
86
|
+
RadioGroup,
|
|
87
|
+
RadioGroupContext,
|
|
88
|
+
RadioGroupItem
|
|
89
|
+
};
|
|
90
|
+
//# sourceMappingURL=Radio.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/radio/Radio.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type RadioProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> & {\n /** Controlled checked state; omit for uncontrolled usage. */\n checked?: boolean;\n /** Fired when the user selects this radio. */\n onCheckedChange?: (checked: boolean) => void;\n};\n\n/**\n * Accessible radio built on the native input, to be used inside a\n * `RadioGroup` (which provides the shared `name`). Platform keyboard\n * navigation and form semantics come for free.\n */\nconst Radio = React.forwardRef<HTMLInputElement, RadioProps>(\n ({ className, checked, onCheckedChange, onChange, ...props }, ref) => (\n <input\n type=\"radio\"\n ref={ref}\n checked={checked}\n onChange={(event) => {\n onCheckedChange?.(event.target.checked);\n onChange?.(event);\n }}\n className={cn(\n 'h-4 w-4 shrink-0 rounded-full 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);\nRadio.displayName = 'Radio';\n\nexport type RadioGroupProps = {\n /** Shared name applied to every radio in the group. */\n name: string;\n /** Accessible group label; rendered as <legend> inside a fieldset. */\n legend?: string;\n /** Currently selected value (controlled). */\n value?: string;\n /** Initial value (uncontrolled). */\n defaultValue?: string;\n /** Called with the newly selected value. */\n onValueChange?: (value: string) => void;\n /** Stack options (default) or lay them out in a wrapping row. */\n orientation?: 'vertical' | 'horizontal';\n /** Group-level validation message; announced via role=alert. */\n error?: string;\n className?: string;\n children: React.ReactNode;\n};\n\n/**\n * Groups related radios with a shared name and accessible legend.\n * Renders a native <fieldset>/<legend> so screen readers announce the\n * group context alongside each option.\n */\nconst RadioGroup = React.forwardRef<HTMLFieldSetElement, RadioGroupProps>(\n ({ name, legend, value, defaultValue, onValueChange, orientation = 'vertical', error, className, children }, ref) => {\n const [internalValue, setInternalValue] = React.useState(defaultValue ?? '');\n const currentValue = value ?? internalValue;\n\n const handleChange = (next: string) => {\n if (value === undefined) setInternalValue(next);\n onValueChange?.(next);\n };\n\n return (\n <fieldset\n ref={ref}\n className={cn(\n orientation === 'vertical' ? 'space-y-2' : 'flex flex-row flex-wrap gap-x-4 gap-y-2',\n className\n )}\n >\n {legend && <legend className=\"text-sm font-medium\">{legend}</legend>}\n <RadioGroupContext.Provider value={{ name, value: currentValue, onChange: handleChange }}>\n {children}\n </RadioGroupContext.Provider>\n {error && (\n <p role=\"alert\" className=\"text-xs text-destructive\">\n {error}\n </p>\n )}\n </fieldset>\n );\n }\n);\nRadioGroup.displayName = 'RadioGroup';\n\ntype RadioGroupContextValue = {\n name: string;\n value: string;\n onChange: (value: string) => void;\n};\n\n/** Shared group state — exported so custom option controls (RadioCard) can join a RadioGroup. */\nexport const RadioGroupContext = React.createContext<RadioGroupContextValue>({\n name: '',\n value: '',\n onChange: () => {},\n});\n\nexport type RadioGroupItemProps = Omit<RadioProps, 'name' | 'checked' | 'onCheckedChange' | 'value'> & {\n /** The value this item contributes to the group. */\n value: string;\n /** Visible label rendered next to the radio. */\n label?: string;\n};\n\n/** A single radio option inside a `RadioGroup`. */\nconst RadioGroupItem = React.forwardRef<HTMLInputElement, RadioGroupItemProps>(\n ({ value, label, className, id, ...props }, ref) => {\n const group = React.useContext(RadioGroupContext);\n const generatedId = React.useId();\n const inputId = id ?? generatedId;\n\n return (\n <div className=\"flex items-center gap-2\">\n <Radio\n ref={ref}\n id={inputId}\n name={group.name}\n value={value}\n checked={group.value === value}\n onCheckedChange={(checked) => checked && group.onChange(value)}\n className={className}\n {...props}\n />\n {label && (\n <label htmlFor={inputId} className=\"text-sm leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70\">\n {label}\n </label>\n )}\n </div>\n );\n }\n);\nRadioGroupItem.displayName = 'RadioGroupItem';\n\nexport { Radio, RadioGroup, RadioGroupItem };\n"],"mappings":";AAmBI,cAwDE,YAxDF;AAjBJ,YAAY,WAAW;AACvB,SAAS,UAAU;AAcnB,MAAM,QAAQ,MAAM;AAAA,EAClB,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,MAAM,cAAc;AA0BpB,MAAM,aAAa,MAAM;AAAA,EACvB,CAAC,EAAE,MAAM,QAAQ,OAAO,cAAc,eAAe,cAAc,YAAY,OAAO,WAAW,SAAS,GAAG,QAAQ;AACnH,UAAM,CAAC,eAAe,gBAAgB,IAAI,MAAM,SAAS,gBAAgB,EAAE;AAC3E,UAAM,eAAe,SAAS;AAE9B,UAAM,eAAe,CAAC,SAAiB;AACrC,UAAI,UAAU,OAAW,kBAAiB,IAAI;AAC9C,sBAAgB,IAAI;AAAA,IACtB;AAEA,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,WAAW;AAAA,UACT,gBAAgB,aAAa,cAAc;AAAA,UAC3C;AAAA,QACF;AAAA,QAEC;AAAA,oBAAU,oBAAC,YAAO,WAAU,uBAAuB,kBAAO;AAAA,UAC3D,oBAAC,kBAAkB,UAAlB,EAA2B,OAAO,EAAE,MAAM,OAAO,cAAc,UAAU,aAAa,GACpF,UACH;AAAA,UACC,SACC,oBAAC,OAAE,MAAK,SAAQ,WAAU,4BACvB,iBACH;AAAA;AAAA;AAAA,IAEJ;AAAA,EAEJ;AACF;AACA,WAAW,cAAc;AASlB,MAAM,oBAAoB,MAAM,cAAsC;AAAA,EAC3E,MAAM;AAAA,EACN,OAAO;AAAA,EACP,UAAU,MAAM;AAAA,EAAC;AACnB,CAAC;AAUD,MAAM,iBAAiB,MAAM;AAAA,EAC3B,CAAC,EAAE,OAAO,OAAO,WAAW,IAAI,GAAG,MAAM,GAAG,QAAQ;AAClD,UAAM,QAAQ,MAAM,WAAW,iBAAiB;AAChD,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,UAAU;AAAA,UACzB,iBAAiB,CAAC,YAAY,WAAW,MAAM,SAAS,KAAK;AAAA,UAC7D;AAAA,UACC,GAAG;AAAA;AAAA,MACN;AAAA,MACC,SACC,oBAAC,WAAM,SAAS,SAAS,WAAU,kFAChC,iBACH;AAAA,OAEJ;AAAA,EAEJ;AACF;AACA,eAAe,cAAc;","names":[]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export type RadioCardProps = {
|
|
3
|
+
/** The value this section contributes to the group. */
|
|
4
|
+
value: string;
|
|
5
|
+
/** Section heading. */
|
|
6
|
+
title?: string;
|
|
7
|
+
/** Supporting line under the title. */
|
|
8
|
+
description?: string;
|
|
9
|
+
/** Custom body rendered after title/description. */
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
/** Outer border radius on the section (default true). */
|
|
12
|
+
rounded?: boolean;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
className?: string;
|
|
15
|
+
id?: string;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* A whole section as one radio option: the entire card is the label,
|
|
19
|
+
* the native radio circle is visually hidden (kept for semantics and
|
|
20
|
+
* keyboard use), and selection shows as a primary border + tint via
|
|
21
|
+
* has-[:checked]. Meant to sit inside a `RadioGroup`.
|
|
22
|
+
*/
|
|
23
|
+
declare const RadioCard: React.ForwardRefExoticComponent<RadioCardProps & React.RefAttributes<HTMLLabelElement>>;
|
|
24
|
+
export { RadioCard };
|
|
@@ -0,0 +1,84 @@
|
|
|
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 RadioCard_exports = {};
|
|
31
|
+
__export(RadioCard_exports, {
|
|
32
|
+
RadioCard: () => RadioCard
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(RadioCard_exports);
|
|
35
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
36
|
+
var React = __toESM(require("react"));
|
|
37
|
+
var import_Radio = require("./Radio.js");
|
|
38
|
+
var import_cn = require("../../utils/cn.js");
|
|
39
|
+
const RadioCard = React.forwardRef(
|
|
40
|
+
({ value, title, description, children, rounded = true, disabled, className, id }, ref) => {
|
|
41
|
+
const group = React.useContext(import_Radio.RadioGroupContext);
|
|
42
|
+
const generatedId = React.useId();
|
|
43
|
+
const inputId = id ?? generatedId;
|
|
44
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
45
|
+
"label",
|
|
46
|
+
{
|
|
47
|
+
ref,
|
|
48
|
+
htmlFor: inputId,
|
|
49
|
+
className: (0, import_cn.cn)(
|
|
50
|
+
"flex cursor-pointer flex-col gap-1.5 border border-border p-4 transition-colors",
|
|
51
|
+
rounded ? "rounded-lg" : "rounded-none",
|
|
52
|
+
"hover:border-muted-foreground/40 hover:bg-muted/30",
|
|
53
|
+
// Selected state rides on the hidden input — no visible circle.
|
|
54
|
+
"has-[:checked]:border-primary has-[:checked]:bg-primary/5",
|
|
55
|
+
"has-[:focus-visible]:ring-2 has-[:focus-visible]:ring-ring has-[:focus-visible]:ring-offset-2 has-[:focus-visible]:ring-offset-background",
|
|
56
|
+
disabled && "cursor-not-allowed opacity-50 hover:border-border hover:bg-transparent",
|
|
57
|
+
className
|
|
58
|
+
),
|
|
59
|
+
children: [
|
|
60
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
61
|
+
import_Radio.Radio,
|
|
62
|
+
{
|
|
63
|
+
id: inputId,
|
|
64
|
+
value,
|
|
65
|
+
checked: group.value === value,
|
|
66
|
+
onCheckedChange: (checked) => checked && group.onChange(value),
|
|
67
|
+
disabled,
|
|
68
|
+
className: "sr-only"
|
|
69
|
+
}
|
|
70
|
+
),
|
|
71
|
+
title && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-sm font-medium leading-none", children: title }),
|
|
72
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-sm text-muted-foreground", children: description }),
|
|
73
|
+
children
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
);
|
|
77
|
+
}
|
|
78
|
+
);
|
|
79
|
+
RadioCard.displayName = "RadioCard";
|
|
80
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
81
|
+
0 && (module.exports = {
|
|
82
|
+
RadioCard
|
|
83
|
+
});
|
|
84
|
+
//# sourceMappingURL=RadioCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/radio/RadioCard.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { Radio, RadioGroupContext } from './Radio';\nimport { cn } from '../../utils/cn';\n\nexport type RadioCardProps = {\n /** The value this section contributes to the group. */\n value: string;\n /** Section heading. */\n title?: string;\n /** Supporting line under the title. */\n description?: string;\n /** Custom body rendered after title/description. */\n children?: React.ReactNode;\n /** Outer border radius on the section (default true). */\n rounded?: boolean;\n disabled?: boolean;\n className?: string;\n id?: string;\n};\n\n/**\n * A whole section as one radio option: the entire card is the label,\n * the native radio circle is visually hidden (kept for semantics and\n * keyboard use), and selection shows as a primary border + tint via\n * has-[:checked]. Meant to sit inside a `RadioGroup`.\n */\nconst RadioCard = React.forwardRef<HTMLLabelElement, RadioCardProps>(\n ({ value, title, description, children, rounded = true, disabled, className, id }, ref) => {\n const group = React.useContext(RadioGroupContext);\n const generatedId = React.useId();\n const inputId = id ?? generatedId;\n\n return (\n <label\n ref={ref}\n htmlFor={inputId}\n className={cn(\n 'flex cursor-pointer flex-col gap-1.5 border border-border p-4 transition-colors',\n rounded ? 'rounded-lg' : 'rounded-none',\n 'hover:border-muted-foreground/40 hover:bg-muted/30',\n // Selected state rides on the hidden input — no visible circle.\n 'has-[:checked]:border-primary has-[:checked]:bg-primary/5',\n 'has-[:focus-visible]:ring-2 has-[:focus-visible]:ring-ring has-[:focus-visible]:ring-offset-2 has-[:focus-visible]:ring-offset-background',\n disabled && 'cursor-not-allowed opacity-50 hover:border-border hover:bg-transparent',\n className\n )}\n >\n <Radio\n id={inputId}\n value={value}\n checked={group.value === value}\n onCheckedChange={(checked) => checked && group.onChange(value)}\n disabled={disabled}\n className=\"sr-only\"\n />\n {title && <span className=\"text-sm font-medium leading-none\">{title}</span>}\n {description && <span className=\"text-sm text-muted-foreground\">{description}</span>}\n {children}\n </label>\n );\n }\n);\nRadioCard.displayName = 'RadioCard';\n\nexport { RadioCard };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAmCM;AAjCN,YAAuB;AACvB,mBAAyC;AACzC,gBAAmB;AAwBnB,MAAM,YAAY,MAAM;AAAA,EACtB,CAAC,EAAE,OAAO,OAAO,aAAa,UAAU,UAAU,MAAM,UAAU,WAAW,GAAG,GAAG,QAAQ;AACzF,UAAM,QAAQ,MAAM,WAAW,8BAAiB;AAChD,UAAM,cAAc,MAAM,MAAM;AAChC,UAAM,UAAU,MAAM;AAEtB,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,SAAS;AAAA,QACT,eAAW;AAAA,UACT;AAAA,UACA,UAAU,eAAe;AAAA,UACzB;AAAA;AAAA,UAEA;AAAA,UACA;AAAA,UACA,YAAY;AAAA,UACZ;AAAA,QACF;AAAA,QAEA;AAAA;AAAA,YAAC;AAAA;AAAA,cACC,IAAI;AAAA,cACJ;AAAA,cACA,SAAS,MAAM,UAAU;AAAA,cACzB,iBAAiB,CAAC,YAAY,WAAW,MAAM,SAAS,KAAK;AAAA,cAC7D;AAAA,cACA,WAAU;AAAA;AAAA,UACZ;AAAA,UACC,SAAS,4CAAC,UAAK,WAAU,oCAAoC,iBAAM;AAAA,UACnE,eAAe,4CAAC,UAAK,WAAU,iCAAiC,uBAAY;AAAA,UAC5E;AAAA;AAAA;AAAA,IACH;AAAA,EAEJ;AACF;AACA,UAAU,cAAc;","names":[]}
|