@slipstream-ui/core 0.5.0 → 0.6.1
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 +2621 -832
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2622 -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 +70 -0
- package/dist/src/utils/modal-layer.js.map +1 -0
- package/dist/src/utils/modal-layer.mjs +35 -0
- package/dist/src/utils/modal-layer.mjs.map +1 -0
- package/dist/src/utils/presence.d.ts +12 -0
- package/dist/src/utils/presence.js +56 -0
- package/dist/src/utils/presence.js.map +1 -0
- package/dist/src/utils/presence.mjs +22 -0
- package/dist/src/utils/presence.mjs.map +1 -0
- package/dist/styles-full.css +2 -0
- package/dist/styles.css +1 -0
- package/package.json +17 -8
- package/src/components/alert/Alert.test.tsx +6 -1
- package/src/components/alert/Alert.tsx +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 +44 -0
|
@@ -0,0 +1,172 @@
|
|
|
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
|
+
import { Drawer } from "../drawer/Drawer.mjs";
|
|
6
|
+
function containsActive(item, activeHref) {
|
|
7
|
+
if (!activeHref) return false;
|
|
8
|
+
if (item.href === activeHref) return true;
|
|
9
|
+
if (activeHref.startsWith(item.href.endsWith("/") ? item.href : `${item.href}/`)) return true;
|
|
10
|
+
return (item.children ?? []).some((child) => containsActive(child, activeHref));
|
|
11
|
+
}
|
|
12
|
+
const itemClass = "flex w-full items-center gap-2.5 rounded-md px-2.5 py-2 text-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring";
|
|
13
|
+
const activeClass = "bg-primary/10 font-medium text-primary";
|
|
14
|
+
const idleClass = "text-muted-foreground hover:bg-accent hover:text-accent-foreground";
|
|
15
|
+
function Sidebar({
|
|
16
|
+
sections,
|
|
17
|
+
heading,
|
|
18
|
+
footer,
|
|
19
|
+
activeHref,
|
|
20
|
+
linkComponent,
|
|
21
|
+
label = "Primary",
|
|
22
|
+
collapsible = false,
|
|
23
|
+
defaultCollapsed = false,
|
|
24
|
+
collapsed: collapsedProp,
|
|
25
|
+
onCollapsedChange,
|
|
26
|
+
defaultExpanded = [],
|
|
27
|
+
className,
|
|
28
|
+
...props
|
|
29
|
+
}) {
|
|
30
|
+
const Link = linkComponent ?? "a";
|
|
31
|
+
const [internalCollapsed, setInternalCollapsed] = React.useState(defaultCollapsed);
|
|
32
|
+
const collapsed = collapsedProp ?? internalCollapsed;
|
|
33
|
+
const [openGroups, setOpenGroups] = React.useState(defaultExpanded);
|
|
34
|
+
const isOpen = (item) => collapsed ? false : openGroups.includes(item.href) || containsActive(item, activeHref);
|
|
35
|
+
const toggleGroup = (href) => {
|
|
36
|
+
setOpenGroups(
|
|
37
|
+
(current) => current.includes(href) ? current.filter((entry) => entry !== href) : [...current, href]
|
|
38
|
+
);
|
|
39
|
+
};
|
|
40
|
+
const toggleCollapsed = () => {
|
|
41
|
+
const next = !collapsed;
|
|
42
|
+
if (collapsedProp === void 0) setInternalCollapsed(next);
|
|
43
|
+
onCollapsedChange?.(next);
|
|
44
|
+
};
|
|
45
|
+
const renderItems = (items, depth = 0) => /* @__PURE__ */ jsx("ul", { className: cn("space-y-0.5", depth > 0 && "ml-3.5 border-l border-border pl-2.5"), children: items.map((item) => {
|
|
46
|
+
const active = item.active ?? containsActive(item, activeHref);
|
|
47
|
+
const hasChildren = Boolean(item.children?.length);
|
|
48
|
+
const expanded = hasChildren && isOpen(item);
|
|
49
|
+
const panelId = `sidebar-group-${item.href.replace(/[^a-z0-9-]/gi, "-")}`;
|
|
50
|
+
if (hasChildren) {
|
|
51
|
+
return /* @__PURE__ */ jsxs("li", { children: [
|
|
52
|
+
/* @__PURE__ */ jsxs(
|
|
53
|
+
"button",
|
|
54
|
+
{
|
|
55
|
+
type: "button",
|
|
56
|
+
"aria-expanded": expanded,
|
|
57
|
+
"aria-controls": expanded ? panelId : void 0,
|
|
58
|
+
onClick: () => toggleGroup(item.href),
|
|
59
|
+
title: collapsed ? item.label : void 0,
|
|
60
|
+
className: cn(itemClass, active ? activeClass : idleClass, collapsed && "justify-center px-0"),
|
|
61
|
+
children: [
|
|
62
|
+
item.icon && /* @__PURE__ */ jsx("span", { className: "shrink-0 [&_svg]:size-4", children: item.icon }),
|
|
63
|
+
/* @__PURE__ */ jsx("span", { className: cn("min-w-0 flex-1 truncate text-left", collapsed && "sr-only"), children: item.label }),
|
|
64
|
+
!collapsed && /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: cn("shrink-0 text-xs transition-transform", expanded && "rotate-90"), children: "\u203A" })
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
),
|
|
68
|
+
expanded && /* @__PURE__ */ jsx("div", { id: panelId, children: renderItems(item.children, depth + 1) })
|
|
69
|
+
] }, item.href);
|
|
70
|
+
}
|
|
71
|
+
return /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(
|
|
72
|
+
Link,
|
|
73
|
+
{
|
|
74
|
+
href: item.href,
|
|
75
|
+
"aria-current": active ? "page" : void 0,
|
|
76
|
+
title: collapsed ? item.label : void 0,
|
|
77
|
+
className: cn(itemClass, active ? activeClass : idleClass, collapsed && "justify-center px-0"),
|
|
78
|
+
children: [
|
|
79
|
+
item.icon && /* @__PURE__ */ jsx("span", { className: "shrink-0 [&_svg]:size-4", children: item.icon }),
|
|
80
|
+
/* @__PURE__ */ jsx("span", { className: cn("min-w-0 flex-1 truncate", collapsed && "sr-only"), children: item.label }),
|
|
81
|
+
!collapsed && item.badge && /* @__PURE__ */ jsx("span", { className: "shrink-0 text-xs", children: item.badge })
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
) }, item.href);
|
|
85
|
+
}) });
|
|
86
|
+
return /* @__PURE__ */ jsxs(
|
|
87
|
+
"div",
|
|
88
|
+
{
|
|
89
|
+
"data-collapsed": collapsed || void 0,
|
|
90
|
+
className: cn("flex h-full min-h-0 flex-col gap-5 p-3", className),
|
|
91
|
+
...props,
|
|
92
|
+
children: [
|
|
93
|
+
heading && /* @__PURE__ */ jsx("div", { className: cn("px-1", collapsed && "sr-only"), children: heading }),
|
|
94
|
+
/* @__PURE__ */ jsx("nav", { "aria-label": label, className: "flex min-h-0 flex-1 flex-col gap-4 overflow-y-auto", children: sections.map((section, index) => /* @__PURE__ */ jsxs("div", { children: [
|
|
95
|
+
section.title && /* @__PURE__ */ jsx("p", { className: cn("mb-1.5 px-2 text-xs font-medium uppercase tracking-wide text-muted-foreground", collapsed && "sr-only"), children: section.title }),
|
|
96
|
+
renderItems(section.items)
|
|
97
|
+
] }, section.title ?? `section-${index}`)) }),
|
|
98
|
+
collapsible && /* @__PURE__ */ jsx(
|
|
99
|
+
"button",
|
|
100
|
+
{
|
|
101
|
+
type: "button",
|
|
102
|
+
onClick: toggleCollapsed,
|
|
103
|
+
"aria-expanded": !collapsed,
|
|
104
|
+
"aria-label": collapsed ? "Expand navigation" : "Collapse navigation",
|
|
105
|
+
className: cn(itemClass, idleClass, "justify-center"),
|
|
106
|
+
children: /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: cn("transition-transform", collapsed && "rotate-180"), children: "\xAB" })
|
|
107
|
+
}
|
|
108
|
+
),
|
|
109
|
+
footer && !collapsed && /* @__PURE__ */ jsx("div", { className: "border-t border-border pt-3", children: footer })
|
|
110
|
+
]
|
|
111
|
+
}
|
|
112
|
+
);
|
|
113
|
+
}
|
|
114
|
+
const hideAt = {
|
|
115
|
+
sm: "hidden sm:block",
|
|
116
|
+
md: "hidden md:block",
|
|
117
|
+
lg: "hidden lg:block"
|
|
118
|
+
};
|
|
119
|
+
const showBelow = {
|
|
120
|
+
sm: "sm:hidden",
|
|
121
|
+
md: "md:hidden",
|
|
122
|
+
lg: "lg:hidden"
|
|
123
|
+
};
|
|
124
|
+
function AppShell({
|
|
125
|
+
sidebar,
|
|
126
|
+
header,
|
|
127
|
+
hideMobileMenu = false,
|
|
128
|
+
sidebarWidth = "w-64",
|
|
129
|
+
mobileBreakpoint = "md",
|
|
130
|
+
openNavigationLabel = "Open navigation",
|
|
131
|
+
navigationTitle = "Navigation",
|
|
132
|
+
className,
|
|
133
|
+
children,
|
|
134
|
+
...props
|
|
135
|
+
}) {
|
|
136
|
+
const [mobileOpen, setMobileOpen] = React.useState(false);
|
|
137
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("flex min-h-screen bg-background text-foreground", className), ...props, children: [
|
|
138
|
+
sidebar && /* @__PURE__ */ jsx(
|
|
139
|
+
"aside",
|
|
140
|
+
{
|
|
141
|
+
className: cn(
|
|
142
|
+
"sticky top-0 h-screen shrink-0 border-r border-border has-[[data-collapsed]]:w-16",
|
|
143
|
+
hideAt[mobileBreakpoint],
|
|
144
|
+
sidebarWidth
|
|
145
|
+
),
|
|
146
|
+
children: sidebar
|
|
147
|
+
}
|
|
148
|
+
),
|
|
149
|
+
/* @__PURE__ */ jsxs("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
150
|
+
(header || sidebar && !hideMobileMenu) && /* @__PURE__ */ jsxs("header", { className: "sticky top-0 z-30 flex h-14 items-center gap-3 border-b border-border bg-background/80 px-4 backdrop-blur supports-[backdrop-filter]:bg-background/60", children: [
|
|
151
|
+
sidebar && !hideMobileMenu && /* @__PURE__ */ jsx(
|
|
152
|
+
"button",
|
|
153
|
+
{
|
|
154
|
+
type: "button",
|
|
155
|
+
onClick: () => setMobileOpen(true),
|
|
156
|
+
"aria-label": openNavigationLabel,
|
|
157
|
+
className: cn("rounded-md border border-border p-2 text-muted-foreground hover:bg-muted", showBelow[mobileBreakpoint]),
|
|
158
|
+
children: /* @__PURE__ */ jsx("span", { "aria-hidden": "true", children: "\u2630" })
|
|
159
|
+
}
|
|
160
|
+
),
|
|
161
|
+
/* @__PURE__ */ jsx("div", { className: "min-w-0 flex-1", children: header })
|
|
162
|
+
] }),
|
|
163
|
+
/* @__PURE__ */ jsx("main", { className: "min-w-0 flex-1", children })
|
|
164
|
+
] }),
|
|
165
|
+
sidebar && /* @__PURE__ */ jsx(Drawer, { open: mobileOpen, onOpenChange: setMobileOpen, title: navigationTitle, side: "left", size: "sm", animate: true, children: sidebar })
|
|
166
|
+
] });
|
|
167
|
+
}
|
|
168
|
+
export {
|
|
169
|
+
AppShell,
|
|
170
|
+
Sidebar
|
|
171
|
+
};
|
|
172
|
+
//# sourceMappingURL=AppShell.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/app-shell/AppShell.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { cn } from '../../utils/cn';\nimport { Drawer } from '../drawer/Drawer';\n\nexport type SidebarItem = {\n href: string;\n label: string;\n icon?: React.ReactNode;\n /** Trailing slot — count, status dot, shortcut. */\n badge?: React.ReactNode;\n /** Force the active state (otherwise activeHref is compared). */\n active?: boolean;\n /** Nested items — renders a collapsible group with aria-expanded. */\n children?: SidebarItem[];\n};\n\nexport type SidebarSection = {\n title?: string;\n items: SidebarItem[];\n};\n\nexport type SidebarProps = Omit<React.HTMLAttributes<HTMLElement>, 'children'> & {\n sections: SidebarSection[];\n /** Brand/mark rendered at the top. */\n heading?: React.ReactNode;\n /** Rendered at the bottom (user menu, upgrade CTA). */\n footer?: React.ReactNode;\n /** Current route — items with a matching href get aria-current=\"page\". */\n activeHref?: string;\n /** Custom link element for routers (react-router `Link`, Next `Link`). */\n linkComponent?: React.ElementType;\n /** Accessible name of the nav landmark. Default 'Primary'. */\n label?: string;\n /** Show the collapse/expand control (icon-only rail when collapsed). */\n collapsible?: boolean;\n /** Initial collapsed state when uncontrolled. */\n defaultCollapsed?: boolean;\n /** Controlled collapsed state. */\n collapsed?: boolean;\n onCollapsedChange?: (collapsed: boolean) => void;\n /** Groups open initially (in addition to groups containing the active route). */\n defaultExpanded?: string[];\n};\n\nfunction containsActive(item: SidebarItem, activeHref: string | undefined): boolean {\n if (!activeHref) return false;\n if (item.href === activeHref) return true;\n // Prefix match on path boundaries so /app/body stays active on\n // /app/body/strength, without matching /app/bodyx.\n if (activeHref.startsWith(item.href.endsWith('/') ? item.href : `${item.href}/`)) return true;\n return (item.children ?? []).some((child) => containsActive(child, activeHref));\n}\n\nconst itemClass =\n 'flex w-full items-center gap-2.5 rounded-md px-2.5 py-2 text-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring';\nconst activeClass = 'bg-primary/10 font-medium text-primary';\nconst idleClass = 'text-muted-foreground hover:bg-accent hover:text-accent-foreground';\n\n/**\n * Sectioned navigation rail — now with nested groups and a collapsible\n * icon-only mode. Purely presentational: you pass the active route and a\n * router link component, so it stays stateless about routing.\n */\nexport function Sidebar({\n sections,\n heading,\n footer,\n activeHref,\n linkComponent,\n label = 'Primary',\n collapsible = false,\n defaultCollapsed = false,\n collapsed: collapsedProp,\n onCollapsedChange,\n defaultExpanded = [],\n className,\n ...props\n}: SidebarProps) {\n const Link = linkComponent ?? 'a';\n const [internalCollapsed, setInternalCollapsed] = React.useState(defaultCollapsed);\n const collapsed = collapsedProp ?? internalCollapsed;\n const [openGroups, setOpenGroups] = React.useState<string[]>(defaultExpanded);\n\n const isOpen = (item: SidebarItem) =>\n collapsed ? false : openGroups.includes(item.href) || containsActive(item, activeHref);\n\n const toggleGroup = (href: string) => {\n setOpenGroups((current) =>\n current.includes(href) ? current.filter((entry) => entry !== href) : [...current, href]\n );\n };\n\n const toggleCollapsed = () => {\n const next = !collapsed;\n if (collapsedProp === undefined) setInternalCollapsed(next);\n onCollapsedChange?.(next);\n };\n\n const renderItems = (items: SidebarItem[], depth = 0): React.ReactNode => (\n <ul className={cn('space-y-0.5', depth > 0 && 'ml-3.5 border-l border-border pl-2.5')}>\n {items.map((item) => {\n const active = item.active ?? containsActive(item, activeHref);\n const hasChildren = Boolean(item.children?.length);\n const expanded = hasChildren && isOpen(item);\n const panelId = `sidebar-group-${item.href.replace(/[^a-z0-9-]/gi, '-')}`;\n\n if (hasChildren) {\n return (\n <li key={item.href}>\n <button\n type=\"button\"\n aria-expanded={expanded}\n aria-controls={expanded ? panelId : undefined}\n onClick={() => toggleGroup(item.href)}\n title={collapsed ? item.label : undefined}\n className={cn(itemClass, active ? activeClass : idleClass, collapsed && 'justify-center px-0')}\n >\n {item.icon && <span className=\"shrink-0 [&_svg]:size-4\">{item.icon}</span>}\n <span className={cn('min-w-0 flex-1 truncate text-left', collapsed && 'sr-only')}>{item.label}</span>\n {!collapsed && (\n <span aria-hidden=\"true\" className={cn('shrink-0 text-xs transition-transform', expanded && 'rotate-90')}>\n ›\n </span>\n )}\n </button>\n {expanded && <div id={panelId}>{renderItems(item.children!, depth + 1)}</div>}\n </li>\n );\n }\n\n return (\n <li key={item.href}>\n <Link\n href={item.href}\n aria-current={active ? 'page' : undefined}\n title={collapsed ? item.label : undefined}\n className={cn(itemClass, active ? activeClass : idleClass, collapsed && 'justify-center px-0')}\n >\n {item.icon && <span className=\"shrink-0 [&_svg]:size-4\">{item.icon}</span>}\n <span className={cn('min-w-0 flex-1 truncate', collapsed && 'sr-only')}>{item.label}</span>\n {!collapsed && item.badge && <span className=\"shrink-0 text-xs\">{item.badge}</span>}\n </Link>\n </li>\n );\n })}\n </ul>\n );\n\n return (\n <div\n data-collapsed={collapsed || undefined}\n className={cn('flex h-full min-h-0 flex-col gap-5 p-3', className)}\n {...props}\n >\n {heading && <div className={cn('px-1', collapsed && 'sr-only')}>{heading}</div>}\n <nav aria-label={label} className=\"flex min-h-0 flex-1 flex-col gap-4 overflow-y-auto\">\n {sections.map((section, index) => (\n <div key={section.title ?? `section-${index}`}>\n {section.title && (\n <p className={cn('mb-1.5 px-2 text-xs font-medium uppercase tracking-wide text-muted-foreground', collapsed && 'sr-only')}>\n {section.title}\n </p>\n )}\n {renderItems(section.items)}\n </div>\n ))}\n </nav>\n {collapsible && (\n <button\n type=\"button\"\n onClick={toggleCollapsed}\n aria-expanded={!collapsed}\n aria-label={collapsed ? 'Expand navigation' : 'Collapse navigation'}\n className={cn(itemClass, idleClass, 'justify-center')}\n >\n <span aria-hidden=\"true\" className={cn('transition-transform', collapsed && 'rotate-180')}>\n «\n </span>\n </button>\n )}\n {footer && !collapsed && <div className=\"border-t border-border pt-3\">{footer}</div>}\n </div>\n );\n}\n\nexport type AppShellProps = React.HTMLAttributes<HTMLDivElement> & {\n /** Desktop rail; also rendered inside a mobile drawer. */\n sidebar?: React.ReactNode;\n /** Sticky top bar content. */\n header?: React.ReactNode;\n /** Hide the built-in mobile menu button (e.g. when the header owns one). */\n hideMobileMenu?: boolean;\n /** Tailwind width class for the desktop rail. Default 'w-64'. */\n sidebarWidth?: string;\n /** Breakpoint at which the rail switches to the mobile drawer. Default 'md'. */\n mobileBreakpoint?: 'sm' | 'md' | 'lg';\n /** Accessible label for the mobile menu button. Default 'Open navigation'. */\n openNavigationLabel?: string;\n /** Title of the mobile drawer. Default 'Navigation'. */\n navigationTitle?: string;\n};\n\nconst hideAt: Record<NonNullable<AppShellProps['mobileBreakpoint']>, string> = {\n sm: 'hidden sm:block',\n md: 'hidden md:block',\n lg: 'hidden lg:block',\n};\n\nconst showBelow: Record<NonNullable<AppShellProps['mobileBreakpoint']>, string> = {\n sm: 'sm:hidden',\n md: 'md:hidden',\n lg: 'lg:hidden',\n};\n\n/**\n * Application frame: fixed-height sidebar, sticky header, scrolling main.\n * On small screens the sidebar becomes a left Drawer opened by a burger\n * button, so pages never need their own responsive nav wiring. A collapsed\n * Sidebar (data-collapsed) shrinks the desktop rail automatically.\n */\nexport function AppShell({\n sidebar,\n header,\n hideMobileMenu = false,\n sidebarWidth = 'w-64',\n mobileBreakpoint = 'md',\n openNavigationLabel = 'Open navigation',\n navigationTitle = 'Navigation',\n className,\n children,\n ...props\n}: AppShellProps) {\n const [mobileOpen, setMobileOpen] = React.useState(false);\n\n return (\n <div className={cn('flex min-h-screen bg-background text-foreground', className)} {...props}>\n {sidebar && (\n <aside\n className={cn(\n 'sticky top-0 h-screen shrink-0 border-r border-border has-[[data-collapsed]]:w-16',\n hideAt[mobileBreakpoint],\n sidebarWidth\n )}\n >\n {sidebar}\n </aside>\n )}\n <div className=\"flex min-w-0 flex-1 flex-col\">\n {(header || (sidebar && !hideMobileMenu)) && (\n <header className=\"sticky top-0 z-30 flex h-14 items-center gap-3 border-b border-border bg-background/80 px-4 backdrop-blur supports-[backdrop-filter]:bg-background/60\">\n {sidebar && !hideMobileMenu && (\n <button\n type=\"button\"\n onClick={() => setMobileOpen(true)}\n aria-label={openNavigationLabel}\n className={cn('rounded-md border border-border p-2 text-muted-foreground hover:bg-muted', showBelow[mobileBreakpoint])}\n >\n <span aria-hidden=\"true\">☰</span>\n </button>\n )}\n <div className=\"min-w-0 flex-1\">{header}</div>\n </header>\n )}\n <main className=\"min-w-0 flex-1\">{children}</main>\n </div>\n {sidebar && (\n <Drawer open={mobileOpen} onOpenChange={setMobileOpen} title={navigationTitle} side=\"left\" size=\"sm\" animate>\n {sidebar}\n </Drawer>\n )}\n </div>\n );\n}\n"],"mappings":";AA+Gc,SAQgB,KARhB;AA7Gd,YAAY,WAAW;AACvB,SAAS,UAAU;AACnB,SAAS,cAAc;AA0CvB,SAAS,eAAe,MAAmB,YAAyC;AAClF,MAAI,CAAC,WAAY,QAAO;AACxB,MAAI,KAAK,SAAS,WAAY,QAAO;AAGrC,MAAI,WAAW,WAAW,KAAK,KAAK,SAAS,GAAG,IAAI,KAAK,OAAO,GAAG,KAAK,IAAI,GAAG,EAAG,QAAO;AACzF,UAAQ,KAAK,YAAY,CAAC,GAAG,KAAK,CAAC,UAAU,eAAe,OAAO,UAAU,CAAC;AAChF;AAEA,MAAM,YACJ;AACF,MAAM,cAAc;AACpB,MAAM,YAAY;AAOX,SAAS,QAAQ;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,QAAQ;AAAA,EACR,cAAc;AAAA,EACd,mBAAmB;AAAA,EACnB,WAAW;AAAA,EACX;AAAA,EACA,kBAAkB,CAAC;AAAA,EACnB;AAAA,EACA,GAAG;AACL,GAAiB;AACf,QAAM,OAAO,iBAAiB;AAC9B,QAAM,CAAC,mBAAmB,oBAAoB,IAAI,MAAM,SAAS,gBAAgB;AACjF,QAAM,YAAY,iBAAiB;AACnC,QAAM,CAAC,YAAY,aAAa,IAAI,MAAM,SAAmB,eAAe;AAE5E,QAAM,SAAS,CAAC,SACd,YAAY,QAAQ,WAAW,SAAS,KAAK,IAAI,KAAK,eAAe,MAAM,UAAU;AAEvF,QAAM,cAAc,CAAC,SAAiB;AACpC;AAAA,MAAc,CAAC,YACb,QAAQ,SAAS,IAAI,IAAI,QAAQ,OAAO,CAAC,UAAU,UAAU,IAAI,IAAI,CAAC,GAAG,SAAS,IAAI;AAAA,IACxF;AAAA,EACF;AAEA,QAAM,kBAAkB,MAAM;AAC5B,UAAM,OAAO,CAAC;AACd,QAAI,kBAAkB,OAAW,sBAAqB,IAAI;AAC1D,wBAAoB,IAAI;AAAA,EAC1B;AAEA,QAAM,cAAc,CAAC,OAAsB,QAAQ,MACjD,oBAAC,QAAG,WAAW,GAAG,eAAe,QAAQ,KAAK,sCAAsC,GACjF,gBAAM,IAAI,CAAC,SAAS;AACnB,UAAM,SAAS,KAAK,UAAU,eAAe,MAAM,UAAU;AAC7D,UAAM,cAAc,QAAQ,KAAK,UAAU,MAAM;AACjD,UAAM,WAAW,eAAe,OAAO,IAAI;AAC3C,UAAM,UAAU,iBAAiB,KAAK,KAAK,QAAQ,gBAAgB,GAAG,CAAC;AAEvE,QAAI,aAAa;AACf,aACE,qBAAC,QACC;AAAA;AAAA,UAAC;AAAA;AAAA,YACC,MAAK;AAAA,YACL,iBAAe;AAAA,YACf,iBAAe,WAAW,UAAU;AAAA,YACpC,SAAS,MAAM,YAAY,KAAK,IAAI;AAAA,YACpC,OAAO,YAAY,KAAK,QAAQ;AAAA,YAChC,WAAW,GAAG,WAAW,SAAS,cAAc,WAAW,aAAa,qBAAqB;AAAA,YAE5F;AAAA,mBAAK,QAAQ,oBAAC,UAAK,WAAU,2BAA2B,eAAK,MAAK;AAAA,cACnE,oBAAC,UAAK,WAAW,GAAG,qCAAqC,aAAa,SAAS,GAAI,eAAK,OAAM;AAAA,cAC7F,CAAC,aACA,oBAAC,UAAK,eAAY,QAAO,WAAW,GAAG,yCAAyC,YAAY,WAAW,GAAG,oBAE1G;AAAA;AAAA;AAAA,QAEJ;AAAA,QACC,YAAY,oBAAC,SAAI,IAAI,SAAU,sBAAY,KAAK,UAAW,QAAQ,CAAC,GAAE;AAAA,WAjBhE,KAAK,IAkBd;AAAA,IAEJ;AAEA,WACE,oBAAC,QACC;AAAA,MAAC;AAAA;AAAA,QACC,MAAM,KAAK;AAAA,QACX,gBAAc,SAAS,SAAS;AAAA,QAChC,OAAO,YAAY,KAAK,QAAQ;AAAA,QAChC,WAAW,GAAG,WAAW,SAAS,cAAc,WAAW,aAAa,qBAAqB;AAAA,QAE5F;AAAA,eAAK,QAAQ,oBAAC,UAAK,WAAU,2BAA2B,eAAK,MAAK;AAAA,UACnE,oBAAC,UAAK,WAAW,GAAG,2BAA2B,aAAa,SAAS,GAAI,eAAK,OAAM;AAAA,UACnF,CAAC,aAAa,KAAK,SAAS,oBAAC,UAAK,WAAU,oBAAoB,eAAK,OAAM;AAAA;AAAA;AAAA,IAC9E,KAVO,KAAK,IAWd;AAAA,EAEJ,CAAC,GACH;AAGF,SACE;AAAA,IAAC;AAAA;AAAA,MACC,kBAAgB,aAAa;AAAA,MAC7B,WAAW,GAAG,0CAA0C,SAAS;AAAA,MAChE,GAAG;AAAA,MAEH;AAAA,mBAAW,oBAAC,SAAI,WAAW,GAAG,QAAQ,aAAa,SAAS,GAAI,mBAAQ;AAAA,QACzE,oBAAC,SAAI,cAAY,OAAO,WAAU,sDAC/B,mBAAS,IAAI,CAAC,SAAS,UACtB,qBAAC,SACE;AAAA,kBAAQ,SACP,oBAAC,OAAE,WAAW,GAAG,iFAAiF,aAAa,SAAS,GACrH,kBAAQ,OACX;AAAA,UAED,YAAY,QAAQ,KAAK;AAAA,aANlB,QAAQ,SAAS,WAAW,KAAK,EAO3C,CACD,GACH;AAAA,QACC,eACC;AAAA,UAAC;AAAA;AAAA,YACC,MAAK;AAAA,YACL,SAAS;AAAA,YACT,iBAAe,CAAC;AAAA,YAChB,cAAY,YAAY,sBAAsB;AAAA,YAC9C,WAAW,GAAG,WAAW,WAAW,gBAAgB;AAAA,YAEpD,8BAAC,UAAK,eAAY,QAAO,WAAW,GAAG,wBAAwB,aAAa,YAAY,GAAG,kBAE3F;AAAA;AAAA,QACF;AAAA,QAED,UAAU,CAAC,aAAa,oBAAC,SAAI,WAAU,+BAA+B,kBAAO;AAAA;AAAA;AAAA,EAChF;AAEJ;AAmBA,MAAM,SAAyE;AAAA,EAC7E,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AAEA,MAAM,YAA4E;AAAA,EAChF,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AAQO,SAAS,SAAS;AAAA,EACvB;AAAA,EACA;AAAA,EACA,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,kBAAkB;AAAA,EAClB;AAAA,EACA;AAAA,EACA,GAAG;AACL,GAAkB;AAChB,QAAM,CAAC,YAAY,aAAa,IAAI,MAAM,SAAS,KAAK;AAExD,SACE,qBAAC,SAAI,WAAW,GAAG,mDAAmD,SAAS,GAAI,GAAG,OACnF;AAAA,eACC;AAAA,MAAC;AAAA;AAAA,QACC,WAAW;AAAA,UACT;AAAA,UACA,OAAO,gBAAgB;AAAA,UACvB;AAAA,QACF;AAAA,QAEC;AAAA;AAAA,IACH;AAAA,IAEF,qBAAC,SAAI,WAAU,gCACX;AAAA,iBAAW,WAAW,CAAC,mBACvB,qBAAC,YAAO,WAAU,yJACf;AAAA,mBAAW,CAAC,kBACX;AAAA,UAAC;AAAA;AAAA,YACC,MAAK;AAAA,YACL,SAAS,MAAM,cAAc,IAAI;AAAA,YACjC,cAAY;AAAA,YACZ,WAAW,GAAG,4EAA4E,UAAU,gBAAgB,CAAC;AAAA,YAErH,8BAAC,UAAK,eAAY,QAAO,oBAAC;AAAA;AAAA,QAC5B;AAAA,QAEF,oBAAC,SAAI,WAAU,kBAAkB,kBAAO;AAAA,SAC1C;AAAA,MAEF,oBAAC,UAAK,WAAU,kBAAkB,UAAS;AAAA,OAC7C;AAAA,IACC,WACC,oBAAC,UAAO,MAAM,YAAY,cAAc,eAAe,OAAO,iBAAiB,MAAK,QAAO,MAAK,MAAK,SAAO,MACzG,mBACH;AAAA,KAEJ;AAEJ;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AppShell';
|
|
@@ -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 app_shell_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(app_shell_exports);
|
|
18
|
+
__reExport(app_shell_exports, require("./AppShell.js"), module.exports);
|
|
19
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
20
|
+
0 && (module.exports = {
|
|
21
|
+
...require("./AppShell.js")
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/app-shell/index.ts"],"sourcesContent":["export * from './AppShell';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,8BAAc,uBAAd;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/app-shell/index.ts"],"sourcesContent":["export * from './AppShell';\n"],"mappings":"AAAA,cAAc;","names":[]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type FilterChip } from '../filter-chips/FilterChips';
|
|
3
|
+
export type AppliedFiltersProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
/** Active filters to display. */
|
|
5
|
+
filters: FilterChip[];
|
|
6
|
+
/** Clear-all action. */
|
|
7
|
+
onClearAll?: () => void;
|
|
8
|
+
/** Opens the filter panel for editing. */
|
|
9
|
+
onEdit?: () => void;
|
|
10
|
+
/** Optional summary text; defaults to "N active". */
|
|
11
|
+
label?: string;
|
|
12
|
+
/** Shown when there are no filters. */
|
|
13
|
+
emptyLabel?: string;
|
|
14
|
+
/** Edit action label. Default "Edit filters". */
|
|
15
|
+
editLabel?: string;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Applied-filter summary for a dashboard or directory. Adds a live count and
|
|
19
|
+
* an optional edit action around FilterChips, so the applied set stays visible
|
|
20
|
+
* even when the filter panel is closed.
|
|
21
|
+
*/
|
|
22
|
+
export declare const AppliedFilters: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
23
|
+
/** Active filters to display. */
|
|
24
|
+
filters: FilterChip[];
|
|
25
|
+
/** Clear-all action. */
|
|
26
|
+
onClearAll?: () => void;
|
|
27
|
+
/** Opens the filter panel for editing. */
|
|
28
|
+
onEdit?: () => void;
|
|
29
|
+
/** Optional summary text; defaults to "N active". */
|
|
30
|
+
label?: string;
|
|
31
|
+
/** Shown when there are no filters. */
|
|
32
|
+
emptyLabel?: string;
|
|
33
|
+
/** Edit action label. Default "Edit filters". */
|
|
34
|
+
editLabel?: string;
|
|
35
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,75 @@
|
|
|
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 AppliedFilters_exports = {};
|
|
31
|
+
__export(AppliedFilters_exports, {
|
|
32
|
+
AppliedFilters: () => AppliedFilters
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(AppliedFilters_exports);
|
|
35
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
36
|
+
var React = __toESM(require("react"));
|
|
37
|
+
var import_cn = require("../../utils/cn.js");
|
|
38
|
+
var import_Button = require("../button/Button.js");
|
|
39
|
+
var import_FilterChips = require("../filter-chips/FilterChips.js");
|
|
40
|
+
const AppliedFilters = React.forwardRef(
|
|
41
|
+
function AppliedFilters2({
|
|
42
|
+
filters,
|
|
43
|
+
onClearAll,
|
|
44
|
+
onEdit,
|
|
45
|
+
label,
|
|
46
|
+
emptyLabel,
|
|
47
|
+
editLabel = "Edit filters",
|
|
48
|
+
className,
|
|
49
|
+
...props
|
|
50
|
+
}, ref) {
|
|
51
|
+
const summary = label ?? `${filters.length} active`;
|
|
52
|
+
if (filters.length === 0) {
|
|
53
|
+
return emptyLabel ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { ref, className: (0, import_cn.cn)("text-sm text-muted-foreground", className), ...props, children: emptyLabel }) : null;
|
|
54
|
+
}
|
|
55
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
56
|
+
"div",
|
|
57
|
+
{
|
|
58
|
+
ref,
|
|
59
|
+
"aria-live": "polite",
|
|
60
|
+
className: (0, import_cn.cn)("flex flex-wrap items-center gap-2", className),
|
|
61
|
+
...props,
|
|
62
|
+
children: [
|
|
63
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: summary }),
|
|
64
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_FilterChips.FilterChips, { filters, onClearAll }),
|
|
65
|
+
onEdit && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Button.Button, { type: "button", variant: "ghost", size: "sm", onClick: onEdit, children: editLabel })
|
|
66
|
+
]
|
|
67
|
+
}
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
);
|
|
71
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
72
|
+
0 && (module.exports = {
|
|
73
|
+
AppliedFilters
|
|
74
|
+
});
|
|
75
|
+
//# sourceMappingURL=AppliedFilters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/applied-filters/AppliedFilters.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { cn } from '../../utils/cn';\nimport { Button } from '../button/Button';\nimport { FilterChips, type FilterChip } from '../filter-chips/FilterChips';\n\nexport type AppliedFiltersProps = React.HTMLAttributes<HTMLDivElement> & {\n /** Active filters to display. */\n filters: FilterChip[];\n /** Clear-all action. */\n onClearAll?: () => void;\n /** Opens the filter panel for editing. */\n onEdit?: () => void;\n /** Optional summary text; defaults to \"N active\". */\n label?: string;\n /** Shown when there are no filters. */\n emptyLabel?: string;\n /** Edit action label. Default \"Edit filters\". */\n editLabel?: string;\n};\n\n/**\n * Applied-filter summary for a dashboard or directory. Adds a live count and\n * an optional edit action around FilterChips, so the applied set stays visible\n * even when the filter panel is closed.\n */\nexport const AppliedFilters = React.forwardRef<HTMLDivElement, AppliedFiltersProps>(\n function AppliedFilters(\n {\n filters,\n onClearAll,\n onEdit,\n label,\n emptyLabel,\n editLabel = 'Edit filters',\n className,\n ...props\n },\n ref\n ) {\n const summary = label ?? `${filters.length} active`;\n\n if (filters.length === 0) {\n return emptyLabel ? (\n <div ref={ref} className={cn('text-sm text-muted-foreground', className)} {...props}>\n {emptyLabel}\n </div>\n ) : null;\n }\n\n return (\n <div\n ref={ref}\n aria-live=\"polite\"\n className={cn('flex flex-wrap items-center gap-2', className)}\n {...props}\n >\n <span className=\"text-xs font-medium uppercase tracking-wide text-muted-foreground\">{summary}</span>\n <FilterChips filters={filters} onClearAll={onClearAll} />\n {onEdit && (\n <Button type=\"button\" variant=\"ghost\" size=\"sm\" onClick={onEdit}>\n {editLabel}\n </Button>\n )}\n </div>\n );\n }\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AA6CQ;AA3CR,YAAuB;AACvB,gBAAmB;AACnB,oBAAuB;AACvB,yBAA6C;AAsBtC,MAAM,iBAAiB,MAAM;AAAA,EAClC,SAASA,gBACP;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,YAAY;AAAA,IACZ;AAAA,IACA,GAAG;AAAA,EACL,GACA,KACA;AACA,UAAM,UAAU,SAAS,GAAG,QAAQ,MAAM;AAE1C,QAAI,QAAQ,WAAW,GAAG;AACxB,aAAO,aACL,4CAAC,SAAI,KAAU,eAAW,cAAG,iCAAiC,SAAS,GAAI,GAAG,OAC3E,sBACH,IACE;AAAA,IACN;AAEA,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,aAAU;AAAA,QACV,eAAW,cAAG,qCAAqC,SAAS;AAAA,QAC3D,GAAG;AAAA,QAEJ;AAAA,sDAAC,UAAK,WAAU,qEAAqE,mBAAQ;AAAA,UAC7F,4CAAC,kCAAY,SAAkB,YAAwB;AAAA,UACtD,UACC,4CAAC,wBAAO,MAAK,UAAS,SAAQ,SAAQ,MAAK,MAAK,SAAS,QACtD,qBACH;AAAA;AAAA;AAAA,IAEJ;AAAA,EAEJ;AACF;","names":["AppliedFilters"]}
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
import { Button } from "../button/Button.mjs";
|
|
6
|
+
import { FilterChips } from "../filter-chips/FilterChips.mjs";
|
|
7
|
+
const AppliedFilters = React.forwardRef(
|
|
8
|
+
function AppliedFilters2({
|
|
9
|
+
filters,
|
|
10
|
+
onClearAll,
|
|
11
|
+
onEdit,
|
|
12
|
+
label,
|
|
13
|
+
emptyLabel,
|
|
14
|
+
editLabel = "Edit filters",
|
|
15
|
+
className,
|
|
16
|
+
...props
|
|
17
|
+
}, ref) {
|
|
18
|
+
const summary = label ?? `${filters.length} active`;
|
|
19
|
+
if (filters.length === 0) {
|
|
20
|
+
return emptyLabel ? /* @__PURE__ */ jsx("div", { ref, className: cn("text-sm text-muted-foreground", className), ...props, children: emptyLabel }) : null;
|
|
21
|
+
}
|
|
22
|
+
return /* @__PURE__ */ jsxs(
|
|
23
|
+
"div",
|
|
24
|
+
{
|
|
25
|
+
ref,
|
|
26
|
+
"aria-live": "polite",
|
|
27
|
+
className: cn("flex flex-wrap items-center gap-2", className),
|
|
28
|
+
...props,
|
|
29
|
+
children: [
|
|
30
|
+
/* @__PURE__ */ jsx("span", { className: "text-xs font-medium uppercase tracking-wide text-muted-foreground", children: summary }),
|
|
31
|
+
/* @__PURE__ */ jsx(FilterChips, { filters, onClearAll }),
|
|
32
|
+
onEdit && /* @__PURE__ */ jsx(Button, { type: "button", variant: "ghost", size: "sm", onClick: onEdit, children: editLabel })
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
);
|
|
38
|
+
export {
|
|
39
|
+
AppliedFilters
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=AppliedFilters.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/applied-filters/AppliedFilters.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { cn } from '../../utils/cn';\nimport { Button } from '../button/Button';\nimport { FilterChips, type FilterChip } from '../filter-chips/FilterChips';\n\nexport type AppliedFiltersProps = React.HTMLAttributes<HTMLDivElement> & {\n /** Active filters to display. */\n filters: FilterChip[];\n /** Clear-all action. */\n onClearAll?: () => void;\n /** Opens the filter panel for editing. */\n onEdit?: () => void;\n /** Optional summary text; defaults to \"N active\". */\n label?: string;\n /** Shown when there are no filters. */\n emptyLabel?: string;\n /** Edit action label. Default \"Edit filters\". */\n editLabel?: string;\n};\n\n/**\n * Applied-filter summary for a dashboard or directory. Adds a live count and\n * an optional edit action around FilterChips, so the applied set stays visible\n * even when the filter panel is closed.\n */\nexport const AppliedFilters = React.forwardRef<HTMLDivElement, AppliedFiltersProps>(\n function AppliedFilters(\n {\n filters,\n onClearAll,\n onEdit,\n label,\n emptyLabel,\n editLabel = 'Edit filters',\n className,\n ...props\n },\n ref\n ) {\n const summary = label ?? `${filters.length} active`;\n\n if (filters.length === 0) {\n return emptyLabel ? (\n <div ref={ref} className={cn('text-sm text-muted-foreground', className)} {...props}>\n {emptyLabel}\n </div>\n ) : null;\n }\n\n return (\n <div\n ref={ref}\n aria-live=\"polite\"\n className={cn('flex flex-wrap items-center gap-2', className)}\n {...props}\n >\n <span className=\"text-xs font-medium uppercase tracking-wide text-muted-foreground\">{summary}</span>\n <FilterChips filters={filters} onClearAll={onClearAll} />\n {onEdit && (\n <Button type=\"button\" variant=\"ghost\" size=\"sm\" onClick={onEdit}>\n {editLabel}\n </Button>\n )}\n </div>\n );\n }\n);\n"],"mappings":";AA6CQ,cAOF,YAPE;AA3CR,YAAY,WAAW;AACvB,SAAS,UAAU;AACnB,SAAS,cAAc;AACvB,SAAS,mBAAoC;AAsBtC,MAAM,iBAAiB,MAAM;AAAA,EAClC,SAASA,gBACP;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,YAAY;AAAA,IACZ;AAAA,IACA,GAAG;AAAA,EACL,GACA,KACA;AACA,UAAM,UAAU,SAAS,GAAG,QAAQ,MAAM;AAE1C,QAAI,QAAQ,WAAW,GAAG;AACxB,aAAO,aACL,oBAAC,SAAI,KAAU,WAAW,GAAG,iCAAiC,SAAS,GAAI,GAAG,OAC3E,sBACH,IACE;AAAA,IACN;AAEA,WACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,QACA,aAAU;AAAA,QACV,WAAW,GAAG,qCAAqC,SAAS;AAAA,QAC3D,GAAG;AAAA,QAEJ;AAAA,8BAAC,UAAK,WAAU,qEAAqE,mBAAQ;AAAA,UAC7F,oBAAC,eAAY,SAAkB,YAAwB;AAAA,UACtD,UACC,oBAAC,UAAO,MAAK,UAAS,SAAQ,SAAQ,MAAK,MAAK,SAAS,QACtD,qBACH;AAAA;AAAA;AAAA,IAEJ;AAAA,EAEJ;AACF;","names":["AppliedFilters"]}
|
|
@@ -0,0 +1,29 @@
|
|
|
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 __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var applied_filters_exports = {};
|
|
20
|
+
__export(applied_filters_exports, {
|
|
21
|
+
AppliedFilters: () => import_AppliedFilters.AppliedFilters
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(applied_filters_exports);
|
|
24
|
+
var import_AppliedFilters = require("./AppliedFilters.js");
|
|
25
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
26
|
+
0 && (module.exports = {
|
|
27
|
+
AppliedFilters
|
|
28
|
+
});
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/applied-filters/index.ts"],"sourcesContent":["export { AppliedFilters } from './AppliedFilters';\nexport type { AppliedFiltersProps } from './AppliedFilters';\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAA+B;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/applied-filters/index.ts"],"sourcesContent":["export { AppliedFilters } from './AppliedFilters';\nexport type { AppliedFiltersProps } from './AppliedFilters';\n"],"mappings":"AAAA,SAAS,sBAAsB;","names":[]}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export type ArticleCardProps = Omit<React.HTMLAttributes<HTMLElement>, 'title'> & {
|
|
3
|
+
/** Article title. */
|
|
4
|
+
title: string;
|
|
5
|
+
/** Summary copy. */
|
|
6
|
+
description?: string;
|
|
7
|
+
/** Destination URL. */
|
|
8
|
+
href: string;
|
|
9
|
+
/** Category or content type. */
|
|
10
|
+
eyebrow?: string;
|
|
11
|
+
/** Image, illustration or video poster. */
|
|
12
|
+
media?: React.ReactNode;
|
|
13
|
+
/** Date, read time, author or other metadata. */
|
|
14
|
+
meta?: React.ReactNode;
|
|
15
|
+
/** Custom link element for routers. */
|
|
16
|
+
linkComponent?: React.ElementType;
|
|
17
|
+
/** Standard card or a denser compact card. */
|
|
18
|
+
variant?: 'default' | 'compact';
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Article or resource card for a content hub. The whole card is one link, so
|
|
22
|
+
* do not nest buttons or other links inside it. Media is a slot so consumers
|
|
23
|
+
* can use next/image, a plain img, a video poster or an illustration.
|
|
24
|
+
*/
|
|
25
|
+
export declare const ArticleCard: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement>, "title"> & {
|
|
26
|
+
/** Article title. */
|
|
27
|
+
title: string;
|
|
28
|
+
/** Summary copy. */
|
|
29
|
+
description?: string;
|
|
30
|
+
/** Destination URL. */
|
|
31
|
+
href: string;
|
|
32
|
+
/** Category or content type. */
|
|
33
|
+
eyebrow?: string;
|
|
34
|
+
/** Image, illustration or video poster. */
|
|
35
|
+
media?: React.ReactNode;
|
|
36
|
+
/** Date, read time, author or other metadata. */
|
|
37
|
+
meta?: React.ReactNode;
|
|
38
|
+
/** Custom link element for routers. */
|
|
39
|
+
linkComponent?: React.ElementType;
|
|
40
|
+
/** Standard card or a denser compact card. */
|
|
41
|
+
variant?: "default" | "compact";
|
|
42
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1,75 @@
|
|
|
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 ArticleCard_exports = {};
|
|
30
|
+
__export(ArticleCard_exports, {
|
|
31
|
+
ArticleCard: () => ArticleCard
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(ArticleCard_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 ArticleCard = React.forwardRef(function ArticleCard2({
|
|
38
|
+
title,
|
|
39
|
+
description,
|
|
40
|
+
href,
|
|
41
|
+
eyebrow,
|
|
42
|
+
media,
|
|
43
|
+
meta,
|
|
44
|
+
linkComponent,
|
|
45
|
+
variant = "default",
|
|
46
|
+
className,
|
|
47
|
+
...props
|
|
48
|
+
}, ref) {
|
|
49
|
+
const Link = linkComponent ?? "a";
|
|
50
|
+
const compact = variant === "compact";
|
|
51
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("article", { ref, className: (0, import_cn.cn)("h-full", className), ...props, children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
52
|
+
Link,
|
|
53
|
+
{
|
|
54
|
+
href,
|
|
55
|
+
className: (0, import_cn.cn)(
|
|
56
|
+
"group flex h-full flex-col overflow-hidden rounded-xl border border-border bg-card shadow-sm transition-colors hover:border-primary/40",
|
|
57
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"
|
|
58
|
+
),
|
|
59
|
+
children: [
|
|
60
|
+
media && !compact && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "aspect-[16/10] w-full overflow-hidden bg-muted [&_img]:h-full [&_img]:w-full [&_img]:object-cover", children: media }),
|
|
61
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: (0, import_cn.cn)("flex flex-1 flex-col gap-2", compact ? "p-4" : "p-5"), children: [
|
|
62
|
+
eyebrow && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary", children: eyebrow }),
|
|
63
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h3", { className: (0, import_cn.cn)("font-semibold tracking-tight transition-colors group-hover:text-primary", compact ? "text-base" : "text-lg"), children: title }),
|
|
64
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "line-clamp-3 text-sm leading-relaxed text-muted-foreground", children: description }),
|
|
65
|
+
meta && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "mt-auto pt-2 text-xs text-muted-foreground", children: meta })
|
|
66
|
+
] })
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
) });
|
|
70
|
+
});
|
|
71
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
72
|
+
0 && (module.exports = {
|
|
73
|
+
ArticleCard
|
|
74
|
+
});
|
|
75
|
+
//# sourceMappingURL=ArticleCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/article-card/ArticleCard.tsx"],"sourcesContent":["import * as React from 'react';\nimport { cn } from '../../utils/cn';\n\nexport type ArticleCardProps = Omit<React.HTMLAttributes<HTMLElement>, 'title'> & {\n /** Article title. */\n title: string;\n /** Summary copy. */\n description?: string;\n /** Destination URL. */\n href: string;\n /** Category or content type. */\n eyebrow?: string;\n /** Image, illustration or video poster. */\n media?: React.ReactNode;\n /** Date, read time, author or other metadata. */\n meta?: React.ReactNode;\n /** Custom link element for routers. */\n linkComponent?: React.ElementType;\n /** Standard card or a denser compact card. */\n variant?: 'default' | 'compact';\n};\n\n/**\n * Article or resource card for a content hub. The whole card is one link, so\n * do not nest buttons or other links inside it. Media is a slot so consumers\n * can use next/image, a plain img, a video poster or an illustration.\n */\nexport const ArticleCard = React.forwardRef<HTMLElement, ArticleCardProps>(function ArticleCard(\n {\n title,\n description,\n href,\n eyebrow,\n media,\n meta,\n linkComponent,\n variant = 'default',\n className,\n ...props\n },\n ref\n) {\n const Link = linkComponent ?? 'a';\n const compact = variant === 'compact';\n\n return (\n <article ref={ref as never} className={cn('h-full', className)} {...props}>\n <Link\n href={href}\n className={cn(\n 'group flex h-full flex-col overflow-hidden rounded-xl border border-border bg-card shadow-sm transition-colors hover:border-primary/40',\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background'\n )}\n >\n {media && !compact && (\n <div className=\"aspect-[16/10] w-full overflow-hidden bg-muted [&_img]:h-full [&_img]:w-full [&_img]:object-cover\">\n {media}\n </div>\n )}\n <div className={cn('flex flex-1 flex-col gap-2', compact ? 'p-4' : 'p-5')}>\n {eyebrow && (\n <p className=\"text-xs font-semibold uppercase tracking-widest text-primary\">{eyebrow}</p>\n )}\n <h3 className={cn('font-semibold tracking-tight transition-colors group-hover:text-primary', compact ? 'text-base' : 'text-lg')}>\n {title}\n </h3>\n {description && (\n <p className=\"line-clamp-3 text-sm leading-relaxed text-muted-foreground\">{description}</p>\n )}\n {meta && <div className=\"mt-auto pt-2 text-xs text-muted-foreground\">{meta}</div>}\n </div>\n </Link>\n </article>\n );\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAuDU;AAvDV,YAAuB;AACvB,gBAAmB;AA0BZ,MAAM,cAAc,MAAM,WAA0C,SAASA,aAClF;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,UAAU;AAAA,EACV;AAAA,EACA,GAAG;AACL,GACA,KACA;AACA,QAAM,OAAO,iBAAiB;AAC9B,QAAM,UAAU,YAAY;AAE5B,SACE,4CAAC,aAAQ,KAAmB,eAAW,cAAG,UAAU,SAAS,GAAI,GAAG,OAClE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,eAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,MAEC;AAAA,iBAAS,CAAC,WACT,4CAAC,SAAI,WAAU,qGACZ,iBACH;AAAA,QAEF,6CAAC,SAAI,eAAW,cAAG,8BAA8B,UAAU,QAAQ,KAAK,GACrE;AAAA,qBACC,4CAAC,OAAE,WAAU,gEAAgE,mBAAQ;AAAA,UAEvF,4CAAC,QAAG,eAAW,cAAG,2EAA2E,UAAU,cAAc,SAAS,GAC3H,iBACH;AAAA,UACC,eACC,4CAAC,OAAE,WAAU,8DAA8D,uBAAY;AAAA,UAExF,QAAQ,4CAAC,SAAI,WAAU,8CAA8C,gBAAK;AAAA,WAC7E;AAAA;AAAA;AAAA,EACF,GACF;AAEJ,CAAC;","names":["ArticleCard"]}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { cn } from "../../utils/cn.mjs";
|
|
4
|
+
const ArticleCard = React.forwardRef(function ArticleCard2({
|
|
5
|
+
title,
|
|
6
|
+
description,
|
|
7
|
+
href,
|
|
8
|
+
eyebrow,
|
|
9
|
+
media,
|
|
10
|
+
meta,
|
|
11
|
+
linkComponent,
|
|
12
|
+
variant = "default",
|
|
13
|
+
className,
|
|
14
|
+
...props
|
|
15
|
+
}, ref) {
|
|
16
|
+
const Link = linkComponent ?? "a";
|
|
17
|
+
const compact = variant === "compact";
|
|
18
|
+
return /* @__PURE__ */ jsx("article", { ref, className: cn("h-full", className), ...props, children: /* @__PURE__ */ jsxs(
|
|
19
|
+
Link,
|
|
20
|
+
{
|
|
21
|
+
href,
|
|
22
|
+
className: cn(
|
|
23
|
+
"group flex h-full flex-col overflow-hidden rounded-xl border border-border bg-card shadow-sm transition-colors hover:border-primary/40",
|
|
24
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background"
|
|
25
|
+
),
|
|
26
|
+
children: [
|
|
27
|
+
media && !compact && /* @__PURE__ */ jsx("div", { className: "aspect-[16/10] w-full overflow-hidden bg-muted [&_img]:h-full [&_img]:w-full [&_img]:object-cover", children: media }),
|
|
28
|
+
/* @__PURE__ */ jsxs("div", { className: cn("flex flex-1 flex-col gap-2", compact ? "p-4" : "p-5"), children: [
|
|
29
|
+
eyebrow && /* @__PURE__ */ jsx("p", { className: "text-xs font-semibold uppercase tracking-widest text-primary", children: eyebrow }),
|
|
30
|
+
/* @__PURE__ */ jsx("h3", { className: cn("font-semibold tracking-tight transition-colors group-hover:text-primary", compact ? "text-base" : "text-lg"), children: title }),
|
|
31
|
+
description && /* @__PURE__ */ jsx("p", { className: "line-clamp-3 text-sm leading-relaxed text-muted-foreground", children: description }),
|
|
32
|
+
meta && /* @__PURE__ */ jsx("div", { className: "mt-auto pt-2 text-xs text-muted-foreground", children: meta })
|
|
33
|
+
] })
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
) });
|
|
37
|
+
});
|
|
38
|
+
export {
|
|
39
|
+
ArticleCard
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=ArticleCard.mjs.map
|