@slipstream-ui/core 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +95 -0
- package/dist/index.d.mts +1649 -85
- package/dist/index.d.ts +1649 -85
- package/dist/index.js +3268 -906
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3309 -980
- package/dist/index.mjs.map +1 -1
- package/dist/manifests/accordion.manifest.json +1 -1
- package/dist/manifests/alert.manifest.json +55 -9
- package/dist/manifests/announcement-bar.manifest.json +108 -0
- package/dist/manifests/app-shell.manifest.json +65 -1
- package/dist/manifests/applied-filters.manifest.json +89 -0
- package/dist/manifests/article-card.manifest.json +106 -0
- package/dist/manifests/auth-layout.manifest.json +16 -3
- package/dist/manifests/autocomplete.manifest.json +15 -1
- package/dist/manifests/avatar.manifest.json +1 -1
- package/dist/manifests/badge.manifest.json +12 -5
- package/dist/manifests/block.manifest.json +33 -8
- package/dist/manifests/breadcrumb.manifest.json +32 -1
- package/dist/manifests/button-group.manifest.json +23 -5
- package/dist/manifests/button.manifest.json +25 -7
- package/dist/manifests/card.manifest.json +1 -1
- package/dist/manifests/checkbox.manifest.json +29 -8
- package/dist/manifests/comparison-table.manifest.json +106 -0
- package/dist/manifests/confirm-dialog.manifest.json +132 -0
- package/dist/manifests/contact-strip.manifest.json +82 -0
- package/dist/manifests/container.manifest.json +81 -0
- package/dist/manifests/cta-section.manifest.json +154 -0
- package/dist/manifests/data-table.manifest.json +51 -1
- package/dist/manifests/date-picker.manifest.json +8 -1
- package/dist/manifests/date-range-picker.manifest.json +103 -0
- package/dist/manifests/dialog.manifest.json +8 -1
- package/dist/manifests/drawer.manifest.json +57 -12
- package/dist/manifests/empty-state.manifest.json +14 -1
- package/dist/manifests/feature-grid.manifest.json +93 -0
- package/dist/manifests/feature-row.manifest.json +111 -0
- package/dist/manifests/fieldset.manifest.json +30 -8
- package/dist/manifests/file-upload.manifest.json +22 -1
- package/dist/manifests/filter-bar.manifest.json +29 -3
- package/dist/manifests/filter-chips.manifest.json +98 -0
- package/dist/manifests/filter-panel.manifest.json +130 -0
- package/dist/manifests/flex.manifest.json +73 -16
- package/dist/manifests/form-field.manifest.json +1 -1
- package/dist/manifests/form-layout.manifest.json +36 -10
- package/dist/manifests/form.manifest.json +25 -7
- package/dist/manifests/grid.manifest.json +55 -15
- package/dist/manifests/heading.manifest.json +29 -8
- package/dist/manifests/hero.manifest.json +202 -0
- package/dist/manifests/input-group.manifest.json +25 -6
- package/dist/manifests/input.manifest.json +1 -1
- package/dist/manifests/label.manifest.json +21 -5
- package/dist/manifests/link-tabs.manifest.json +152 -0
- package/dist/manifests/link.manifest.json +106 -0
- package/dist/manifests/list.manifest.json +24 -9
- package/dist/manifests/logo-cloud.manifest.json +107 -0
- package/dist/manifests/menu.manifest.json +1 -1
- package/dist/manifests/metric-card.manifest.json +2 -2
- package/dist/manifests/multi-select.manifest.json +127 -0
- package/dist/manifests/newsletter.manifest.json +130 -0
- package/dist/manifests/page-header.manifest.json +54 -1
- package/dist/manifests/pagination.manifest.json +30 -1
- package/dist/manifests/password-input.manifest.json +1 -1
- package/dist/manifests/popover.manifest.json +62 -10
- package/dist/manifests/process-steps.manifest.json +83 -0
- package/dist/manifests/progress.manifest.json +29 -5
- package/dist/manifests/prose.manifest.json +75 -0
- package/dist/manifests/radio.manifest.json +26 -7
- package/dist/manifests/range-slider.manifest.json +145 -0
- package/dist/manifests/search.manifest.json +48 -10
- package/dist/manifests/section-heading.manifest.json +126 -0
- package/dist/manifests/section.manifest.json +146 -0
- package/dist/manifests/segmented-control.manifest.json +141 -0
- package/dist/manifests/select-menu.manifest.json +1 -1
- package/dist/manifests/select.manifest.json +23 -6
- package/dist/manifests/separator.manifest.json +15 -5
- package/dist/manifests/site-footer.manifest.json +122 -0
- package/dist/manifests/site-header.manifest.json +192 -0
- package/dist/manifests/skeleton.manifest.json +7 -1
- package/dist/manifests/spinner.manifest.json +1 -1
- package/dist/manifests/stat-band.manifest.json +116 -0
- package/dist/manifests/stepper.manifest.json +1 -1
- package/dist/manifests/switch.manifest.json +17 -5
- package/dist/manifests/table-card.manifest.json +1 -1
- package/dist/manifests/table-of-contents.manifest.json +99 -0
- package/dist/manifests/table.manifest.json +47 -8
- package/dist/manifests/tabs.manifest.json +1 -1
- package/dist/manifests/testimonial.manifest.json +112 -0
- package/dist/manifests/text.manifest.json +32 -8
- package/dist/manifests/textarea.manifest.json +17 -5
- package/dist/manifests/theme-toggle.manifest.json +118 -0
- package/dist/manifests/time-picker.manifest.json +8 -1
- package/dist/manifests/timeline.manifest.json +1 -1
- package/dist/manifests/toast.manifest.json +8 -1
- package/dist/manifests/tooltip.manifest.json +18 -5
- package/dist/src/components/accordion/Accordion.d.ts +45 -0
- package/dist/src/components/accordion/Accordion.js +197 -0
- package/dist/src/components/accordion/Accordion.js.map +1 -0
- package/dist/src/components/accordion/Accordion.mjs +160 -0
- package/dist/src/components/accordion/Accordion.mjs.map +1 -0
- package/dist/src/components/accordion/index.d.ts +1 -0
- package/dist/src/components/accordion/index.js +23 -0
- package/dist/src/components/accordion/index.js.map +1 -0
- package/dist/src/components/accordion/index.mjs +2 -0
- package/dist/src/components/accordion/index.mjs.map +1 -0
- package/dist/src/components/alert/Alert.d.ts +21 -0
- package/dist/src/components/alert/Alert.js +101 -0
- package/dist/src/components/alert/Alert.js.map +1 -0
- package/dist/src/components/alert/Alert.mjs +64 -0
- package/dist/src/components/alert/Alert.mjs.map +1 -0
- package/dist/src/components/alert/index.d.ts +1 -0
- package/dist/src/components/alert/index.js +23 -0
- package/dist/src/components/alert/index.js.map +1 -0
- package/dist/src/components/alert/index.mjs +2 -0
- package/dist/src/components/alert/index.mjs.map +1 -0
- package/dist/src/components/announcement-bar/AnnouncementBar.d.ts +41 -0
- package/dist/src/components/announcement-bar/AnnouncementBar.js +105 -0
- package/dist/src/components/announcement-bar/AnnouncementBar.js.map +1 -0
- package/dist/src/components/announcement-bar/AnnouncementBar.mjs +71 -0
- package/dist/src/components/announcement-bar/AnnouncementBar.mjs.map +1 -0
- package/dist/src/components/announcement-bar/index.d.ts +2 -0
- package/dist/src/components/announcement-bar/index.js +29 -0
- package/dist/src/components/announcement-bar/index.js.map +1 -0
- package/dist/src/components/announcement-bar/index.mjs +5 -0
- package/dist/src/components/announcement-bar/index.mjs.map +1 -0
- package/dist/src/components/app-shell/AppShell.d.ts +67 -0
- package/dist/src/components/app-shell/AppShell.js +207 -0
- package/dist/src/components/app-shell/AppShell.js.map +1 -0
- package/dist/src/components/app-shell/AppShell.mjs +172 -0
- package/dist/src/components/app-shell/AppShell.mjs.map +1 -0
- package/dist/src/components/app-shell/index.d.ts +1 -0
- package/dist/src/components/app-shell/index.js +23 -0
- package/dist/src/components/app-shell/index.js.map +1 -0
- package/dist/src/components/app-shell/index.mjs +2 -0
- package/dist/src/components/app-shell/index.mjs.map +1 -0
- package/dist/src/components/applied-filters/AppliedFilters.d.ts +35 -0
- package/dist/src/components/applied-filters/AppliedFilters.js +75 -0
- package/dist/src/components/applied-filters/AppliedFilters.js.map +1 -0
- package/dist/src/components/applied-filters/AppliedFilters.mjs +41 -0
- package/dist/src/components/applied-filters/AppliedFilters.mjs.map +1 -0
- package/dist/src/components/applied-filters/index.d.ts +2 -0
- package/dist/src/components/applied-filters/index.js +29 -0
- package/dist/src/components/applied-filters/index.js.map +1 -0
- package/dist/src/components/applied-filters/index.mjs +5 -0
- package/dist/src/components/applied-filters/index.mjs.map +1 -0
- package/dist/src/components/article-card/ArticleCard.d.ts +42 -0
- package/dist/src/components/article-card/ArticleCard.js +75 -0
- package/dist/src/components/article-card/ArticleCard.js.map +1 -0
- package/dist/src/components/article-card/ArticleCard.mjs +41 -0
- package/dist/src/components/article-card/ArticleCard.mjs.map +1 -0
- package/dist/src/components/article-card/index.d.ts +2 -0
- package/dist/src/components/article-card/index.js +29 -0
- package/dist/src/components/article-card/index.js.map +1 -0
- package/dist/src/components/article-card/index.mjs +5 -0
- package/dist/src/components/article-card/index.mjs.map +1 -0
- package/dist/src/components/auth-layout/AuthLayout.d.ts +46 -0
- package/dist/src/components/auth-layout/AuthLayout.js +113 -0
- package/dist/src/components/auth-layout/AuthLayout.js.map +1 -0
- package/dist/src/components/auth-layout/AuthLayout.mjs +79 -0
- package/dist/src/components/auth-layout/AuthLayout.mjs.map +1 -0
- package/dist/src/components/auth-layout/index.d.ts +1 -0
- package/dist/src/components/auth-layout/index.js +23 -0
- package/dist/src/components/auth-layout/index.js.map +1 -0
- package/dist/src/components/auth-layout/index.mjs +2 -0
- package/dist/src/components/auth-layout/index.mjs.map +1 -0
- package/dist/src/components/autocomplete/Autocomplete.d.ts +54 -0
- package/dist/src/components/autocomplete/Autocomplete.js +218 -0
- package/dist/src/components/autocomplete/Autocomplete.js.map +1 -0
- package/dist/src/components/autocomplete/Autocomplete.mjs +184 -0
- package/dist/src/components/autocomplete/Autocomplete.mjs.map +1 -0
- package/dist/src/components/autocomplete/index.d.ts +1 -0
- package/dist/src/components/autocomplete/index.js +23 -0
- package/dist/src/components/autocomplete/index.js.map +1 -0
- package/dist/src/components/autocomplete/index.mjs +2 -0
- package/dist/src/components/autocomplete/index.mjs.map +1 -0
- package/dist/src/components/avatar/Avatar.d.ts +6 -0
- package/dist/src/components/avatar/Avatar.js +79 -0
- package/dist/src/components/avatar/Avatar.js.map +1 -0
- package/dist/src/components/avatar/Avatar.mjs +43 -0
- package/dist/src/components/avatar/Avatar.mjs.map +1 -0
- package/dist/src/components/avatar/index.d.ts +1 -0
- package/dist/src/components/avatar/index.js +33 -0
- package/dist/src/components/avatar/index.js.map +1 -0
- package/dist/src/components/avatar/index.mjs +7 -0
- package/dist/src/components/avatar/index.mjs.map +1 -0
- package/dist/src/components/badge/Badge.d.ts +16 -0
- package/dist/src/components/badge/Badge.js +78 -0
- package/dist/src/components/badge/Badge.js.map +1 -0
- package/dist/src/components/badge/Badge.mjs +43 -0
- package/dist/src/components/badge/Badge.mjs.map +1 -0
- package/dist/src/components/badge/index.d.ts +2 -0
- package/dist/src/components/badge/index.js +31 -0
- package/dist/src/components/badge/index.js.map +1 -0
- package/dist/src/components/badge/index.mjs +6 -0
- package/dist/src/components/badge/index.mjs.map +1 -0
- package/dist/src/components/block/Block.d.ts +25 -0
- package/dist/src/components/block/Block.js +55 -0
- package/dist/src/components/block/Block.js.map +1 -0
- package/dist/src/components/block/Block.mjs +21 -0
- package/dist/src/components/block/Block.mjs.map +1 -0
- package/dist/src/components/block/index.d.ts +1 -0
- package/dist/src/components/block/index.js +23 -0
- package/dist/src/components/block/index.js.map +1 -0
- package/dist/src/components/block/index.mjs +2 -0
- package/dist/src/components/block/index.mjs.map +1 -0
- package/dist/src/components/breadcrumb/Breadcrumb.d.ts +59 -0
- package/dist/src/components/breadcrumb/Breadcrumb.js +82 -0
- package/dist/src/components/breadcrumb/Breadcrumb.js.map +1 -0
- package/dist/src/components/breadcrumb/Breadcrumb.mjs +48 -0
- package/dist/src/components/breadcrumb/Breadcrumb.mjs.map +1 -0
- package/dist/src/components/breadcrumb/index.d.ts +1 -0
- package/dist/src/components/breadcrumb/index.js +23 -0
- package/dist/src/components/breadcrumb/index.js.map +1 -0
- package/dist/src/components/breadcrumb/index.mjs +2 -0
- package/dist/src/components/breadcrumb/index.mjs.map +1 -0
- package/dist/src/components/button/Button.d.ts +24 -0
- package/dist/src/components/button/Button.js +119 -0
- package/dist/src/components/button/Button.js.map +1 -0
- package/dist/src/components/button/Button.mjs +84 -0
- package/dist/src/components/button/Button.mjs.map +1 -0
- package/dist/src/components/button/index.d.ts +1 -0
- package/dist/src/components/button/index.js +31 -0
- package/dist/src/components/button/index.js.map +1 -0
- package/dist/src/components/button/index.mjs +6 -0
- package/dist/src/components/button/index.mjs.map +1 -0
- package/dist/src/components/button-group/ButtonGroup.d.ts +22 -0
- package/dist/src/components/button-group/ButtonGroup.js +62 -0
- package/dist/src/components/button-group/ButtonGroup.js.map +1 -0
- package/dist/src/components/button-group/ButtonGroup.mjs +28 -0
- package/dist/src/components/button-group/ButtonGroup.mjs.map +1 -0
- package/dist/src/components/button-group/index.d.ts +1 -0
- package/dist/src/components/button-group/index.js +23 -0
- package/dist/src/components/button-group/index.js.map +1 -0
- package/dist/src/components/button-group/index.mjs +2 -0
- package/dist/src/components/button-group/index.mjs.map +1 -0
- package/dist/src/components/card/Card.d.ts +26 -0
- package/dist/src/components/card/Card.js +93 -0
- package/dist/src/components/card/Card.js.map +1 -0
- package/dist/src/components/card/Card.mjs +54 -0
- package/dist/src/components/card/Card.mjs.map +1 -0
- package/dist/src/components/card/index.d.ts +1 -0
- package/dist/src/components/card/index.js +23 -0
- package/dist/src/components/card/index.js.map +1 -0
- package/dist/src/components/card/index.mjs +2 -0
- package/dist/src/components/card/index.mjs.map +1 -0
- package/dist/src/components/checkbox/Checkbox.d.ts +19 -0
- package/dist/src/components/checkbox/Checkbox.js +64 -0
- package/dist/src/components/checkbox/Checkbox.js.map +1 -0
- package/dist/src/components/checkbox/Checkbox.mjs +30 -0
- package/dist/src/components/checkbox/Checkbox.mjs.map +1 -0
- package/dist/src/components/checkbox/CheckboxGroup.d.ts +41 -0
- package/dist/src/components/checkbox/CheckboxGroup.js +99 -0
- package/dist/src/components/checkbox/CheckboxGroup.js.map +1 -0
- package/dist/src/components/checkbox/CheckboxGroup.mjs +64 -0
- package/dist/src/components/checkbox/CheckboxGroup.mjs.map +1 -0
- package/dist/src/components/checkbox/index.d.ts +2 -0
- package/dist/src/components/checkbox/index.js +25 -0
- package/dist/src/components/checkbox/index.js.map +1 -0
- package/dist/src/components/checkbox/index.mjs +3 -0
- package/dist/src/components/checkbox/index.mjs.map +1 -0
- package/dist/src/components/comparison-table/ComparisonTable.d.ts +50 -0
- package/dist/src/components/comparison-table/ComparisonTable.js +124 -0
- package/dist/src/components/comparison-table/ComparisonTable.js.map +1 -0
- package/dist/src/components/comparison-table/ComparisonTable.mjs +90 -0
- package/dist/src/components/comparison-table/ComparisonTable.mjs.map +1 -0
- package/dist/src/components/comparison-table/index.d.ts +2 -0
- package/dist/src/components/comparison-table/index.js +29 -0
- package/dist/src/components/comparison-table/index.js.map +1 -0
- package/dist/src/components/comparison-table/index.mjs +5 -0
- package/dist/src/components/comparison-table/index.mjs.map +1 -0
- package/dist/src/components/confirm-dialog/ConfirmDialog.d.ts +28 -0
- package/dist/src/components/confirm-dialog/ConfirmDialog.js +92 -0
- package/dist/src/components/confirm-dialog/ConfirmDialog.js.map +1 -0
- package/dist/src/components/confirm-dialog/ConfirmDialog.mjs +58 -0
- package/dist/src/components/confirm-dialog/ConfirmDialog.mjs.map +1 -0
- package/dist/src/components/confirm-dialog/index.d.ts +1 -0
- package/dist/src/components/confirm-dialog/index.js +23 -0
- package/dist/src/components/confirm-dialog/index.js.map +1 -0
- package/dist/src/components/confirm-dialog/index.mjs +2 -0
- package/dist/src/components/confirm-dialog/index.mjs.map +1 -0
- package/dist/src/components/contact-strip/ContactStrip.d.ts +31 -0
- package/dist/src/components/contact-strip/ContactStrip.js +55 -0
- package/dist/src/components/contact-strip/ContactStrip.js.map +1 -0
- package/dist/src/components/contact-strip/ContactStrip.mjs +21 -0
- package/dist/src/components/contact-strip/ContactStrip.mjs.map +1 -0
- package/dist/src/components/contact-strip/index.d.ts +2 -0
- package/dist/src/components/contact-strip/index.js +29 -0
- package/dist/src/components/contact-strip/index.js.map +1 -0
- package/dist/src/components/contact-strip/index.mjs +5 -0
- package/dist/src/components/contact-strip/index.mjs.map +1 -0
- package/dist/src/components/container/Container.d.ts +23 -0
- package/dist/src/components/container/Container.js +65 -0
- package/dist/src/components/container/Container.js.map +1 -0
- package/dist/src/components/container/Container.mjs +31 -0
- package/dist/src/components/container/Container.mjs.map +1 -0
- package/dist/src/components/container/index.d.ts +2 -0
- package/dist/src/components/container/index.js +29 -0
- package/dist/src/components/container/index.js.map +1 -0
- package/dist/src/components/container/index.mjs +5 -0
- package/dist/src/components/container/index.mjs.map +1 -0
- package/dist/src/components/cta-section/CTASection.d.ts +46 -0
- package/dist/src/components/cta-section/CTASection.js +86 -0
- package/dist/src/components/cta-section/CTASection.js.map +1 -0
- package/dist/src/components/cta-section/CTASection.mjs +52 -0
- package/dist/src/components/cta-section/CTASection.mjs.map +1 -0
- package/dist/src/components/cta-section/index.d.ts +2 -0
- package/dist/src/components/cta-section/index.js +29 -0
- package/dist/src/components/cta-section/index.js.map +1 -0
- package/dist/src/components/cta-section/index.mjs +5 -0
- package/dist/src/components/cta-section/index.mjs.map +1 -0
- package/dist/src/components/data-table/DataTable.d.ts +93 -0
- package/dist/src/components/data-table/DataTable.js +302 -0
- package/dist/src/components/data-table/DataTable.js.map +1 -0
- package/dist/src/components/data-table/DataTable.mjs +268 -0
- package/dist/src/components/data-table/DataTable.mjs.map +1 -0
- package/dist/src/components/data-table/index.d.ts +1 -0
- package/dist/src/components/data-table/index.js +23 -0
- package/dist/src/components/data-table/index.js.map +1 -0
- package/dist/src/components/data-table/index.mjs +2 -0
- package/dist/src/components/data-table/index.mjs.map +1 -0
- package/dist/src/components/date-picker/DatePicker.d.ts +31 -0
- package/dist/src/components/date-picker/DatePicker.js +77 -0
- package/dist/src/components/date-picker/DatePicker.js.map +1 -0
- package/dist/src/components/date-picker/DatePicker.mjs +43 -0
- package/dist/src/components/date-picker/DatePicker.mjs.map +1 -0
- package/dist/src/components/date-picker/index.d.ts +1 -0
- package/dist/src/components/date-picker/index.js +23 -0
- package/dist/src/components/date-picker/index.js.map +1 -0
- package/dist/src/components/date-picker/index.mjs +2 -0
- package/dist/src/components/date-picker/index.mjs.map +1 -0
- package/dist/src/components/date-range-picker/DateRangePicker.d.ts +51 -0
- package/dist/src/components/date-range-picker/DateRangePicker.js +141 -0
- package/dist/src/components/date-range-picker/DateRangePicker.js.map +1 -0
- package/dist/src/components/date-range-picker/DateRangePicker.mjs +107 -0
- package/dist/src/components/date-range-picker/DateRangePicker.mjs.map +1 -0
- package/dist/src/components/date-range-picker/index.d.ts +2 -0
- package/dist/src/components/date-range-picker/index.js +29 -0
- package/dist/src/components/date-range-picker/index.js.map +1 -0
- package/dist/src/components/date-range-picker/index.mjs +5 -0
- package/dist/src/components/date-range-picker/index.mjs.map +1 -0
- package/dist/src/components/dialog/Dialog.d.ts +64 -0
- package/dist/src/components/dialog/Dialog.js +212 -0
- package/dist/src/components/dialog/Dialog.js.map +1 -0
- package/dist/src/components/dialog/Dialog.mjs +173 -0
- package/dist/src/components/dialog/Dialog.mjs.map +1 -0
- package/dist/src/components/dialog/index.d.ts +1 -0
- package/dist/src/components/dialog/index.js +23 -0
- package/dist/src/components/dialog/index.js.map +1 -0
- package/dist/src/components/dialog/index.mjs +2 -0
- package/dist/src/components/dialog/index.mjs.map +1 -0
- package/dist/src/components/drawer/Drawer.d.ts +48 -0
- package/dist/src/components/drawer/Drawer.js +214 -0
- package/dist/src/components/drawer/Drawer.js.map +1 -0
- package/dist/src/components/drawer/Drawer.mjs +180 -0
- package/dist/src/components/drawer/Drawer.mjs.map +1 -0
- package/dist/src/components/drawer/index.d.ts +1 -0
- package/dist/src/components/drawer/index.js +23 -0
- package/dist/src/components/drawer/index.js.map +1 -0
- package/dist/src/components/drawer/index.mjs +2 -0
- package/dist/src/components/drawer/index.mjs.map +1 -0
- package/dist/src/components/empty-state/EmptyState.d.ts +38 -0
- package/dist/src/components/empty-state/EmptyState.js +78 -0
- package/dist/src/components/empty-state/EmptyState.js.map +1 -0
- package/dist/src/components/empty-state/EmptyState.mjs +44 -0
- package/dist/src/components/empty-state/EmptyState.mjs.map +1 -0
- package/dist/src/components/empty-state/index.d.ts +1 -0
- package/dist/src/components/empty-state/index.js +23 -0
- package/dist/src/components/empty-state/index.js.map +1 -0
- package/dist/src/components/empty-state/index.mjs +2 -0
- package/dist/src/components/empty-state/index.mjs.map +1 -0
- package/dist/src/components/feature-grid/FeatureGrid.d.ts +38 -0
- package/dist/src/components/feature-grid/FeatureGrid.js +65 -0
- package/dist/src/components/feature-grid/FeatureGrid.js.map +1 -0
- package/dist/src/components/feature-grid/FeatureGrid.mjs +31 -0
- package/dist/src/components/feature-grid/FeatureGrid.mjs.map +1 -0
- package/dist/src/components/feature-grid/index.d.ts +2 -0
- package/dist/src/components/feature-grid/index.js +29 -0
- package/dist/src/components/feature-grid/index.js.map +1 -0
- package/dist/src/components/feature-grid/index.mjs +5 -0
- package/dist/src/components/feature-grid/index.mjs.map +1 -0
- package/dist/src/components/feature-row/FeatureRow.d.ts +42 -0
- package/dist/src/components/feature-row/FeatureRow.js +76 -0
- package/dist/src/components/feature-row/FeatureRow.js.map +1 -0
- package/dist/src/components/feature-row/FeatureRow.mjs +42 -0
- package/dist/src/components/feature-row/FeatureRow.mjs.map +1 -0
- package/dist/src/components/feature-row/index.d.ts +2 -0
- package/dist/src/components/feature-row/index.js +29 -0
- package/dist/src/components/feature-row/index.js.map +1 -0
- package/dist/src/components/feature-row/index.mjs +5 -0
- package/dist/src/components/feature-row/index.mjs.map +1 -0
- package/dist/src/components/fieldset/Fieldset.d.ts +23 -0
- package/dist/src/components/fieldset/Fieldset.js +58 -0
- package/dist/src/components/fieldset/Fieldset.js.map +1 -0
- package/dist/src/components/fieldset/Fieldset.mjs +24 -0
- package/dist/src/components/fieldset/Fieldset.mjs.map +1 -0
- package/dist/src/components/fieldset/index.d.ts +1 -0
- package/dist/src/components/fieldset/index.js +23 -0
- package/dist/src/components/fieldset/index.js.map +1 -0
- package/dist/src/components/fieldset/index.mjs +2 -0
- package/dist/src/components/fieldset/index.mjs.map +1 -0
- package/dist/src/components/file-upload/FileUpload.d.ts +45 -0
- package/dist/src/components/file-upload/FileUpload.js +154 -0
- package/dist/src/components/file-upload/FileUpload.js.map +1 -0
- package/dist/src/components/file-upload/FileUpload.mjs +120 -0
- package/dist/src/components/file-upload/FileUpload.mjs.map +1 -0
- package/dist/src/components/file-upload/index.d.ts +1 -0
- package/dist/src/components/file-upload/index.js +23 -0
- package/dist/src/components/file-upload/index.js.map +1 -0
- package/dist/src/components/file-upload/index.mjs +2 -0
- package/dist/src/components/file-upload/index.mjs.map +1 -0
- package/dist/src/components/filter-bar/FilterBar.d.ts +50 -0
- package/dist/src/components/filter-bar/FilterBar.js +100 -0
- package/dist/src/components/filter-bar/FilterBar.js.map +1 -0
- package/dist/src/components/filter-bar/FilterBar.mjs +66 -0
- package/dist/src/components/filter-bar/FilterBar.mjs.map +1 -0
- package/dist/src/components/filter-bar/index.d.ts +1 -0
- package/dist/src/components/filter-bar/index.js +23 -0
- package/dist/src/components/filter-bar/index.js.map +1 -0
- package/dist/src/components/filter-bar/index.mjs +2 -0
- package/dist/src/components/filter-bar/index.mjs.map +1 -0
- package/dist/src/components/filter-chips/FilterChips.d.ts +37 -0
- package/dist/src/components/filter-chips/FilterChips.js +103 -0
- package/dist/src/components/filter-chips/FilterChips.js.map +1 -0
- package/dist/src/components/filter-chips/FilterChips.mjs +69 -0
- package/dist/src/components/filter-chips/FilterChips.mjs.map +1 -0
- package/dist/src/components/filter-chips/index.d.ts +2 -0
- package/dist/src/components/filter-chips/index.js +29 -0
- package/dist/src/components/filter-chips/index.js.map +1 -0
- package/dist/src/components/filter-chips/index.mjs +5 -0
- package/dist/src/components/filter-chips/index.mjs.map +1 -0
- package/dist/src/components/filter-panel/FilterPanel.d.ts +64 -0
- package/dist/src/components/filter-panel/FilterPanel.js +108 -0
- package/dist/src/components/filter-panel/FilterPanel.js.map +1 -0
- package/dist/src/components/filter-panel/FilterPanel.mjs +74 -0
- package/dist/src/components/filter-panel/FilterPanel.mjs.map +1 -0
- package/dist/src/components/filter-panel/index.d.ts +2 -0
- package/dist/src/components/filter-panel/index.js +29 -0
- package/dist/src/components/filter-panel/index.js.map +1 -0
- package/dist/src/components/filter-panel/index.mjs +5 -0
- package/dist/src/components/filter-panel/index.mjs.map +1 -0
- package/dist/src/components/flex/Flex.d.ts +61 -0
- package/dist/src/components/flex/Flex.js +110 -0
- package/dist/src/components/flex/Flex.js.map +1 -0
- package/dist/src/components/flex/Flex.mjs +75 -0
- package/dist/src/components/flex/Flex.mjs.map +1 -0
- package/dist/src/components/flex/index.d.ts +1 -0
- package/dist/src/components/flex/index.js +23 -0
- package/dist/src/components/flex/index.js.map +1 -0
- package/dist/src/components/flex/index.mjs +2 -0
- package/dist/src/components/flex/index.mjs.map +1 -0
- package/dist/src/components/form/Form.d.ts +23 -0
- package/dist/src/components/form/Form.js +63 -0
- package/dist/src/components/form/Form.js.map +1 -0
- package/dist/src/components/form/Form.mjs +29 -0
- package/dist/src/components/form/Form.mjs.map +1 -0
- package/dist/src/components/form/index.d.ts +1 -0
- package/dist/src/components/form/index.js +23 -0
- package/dist/src/components/form/index.js.map +1 -0
- package/dist/src/components/form/index.mjs +2 -0
- package/dist/src/components/form/index.mjs.map +1 -0
- package/dist/src/components/form-field/FormField.d.ts +47 -0
- package/dist/src/components/form-field/FormField.js +113 -0
- package/dist/src/components/form-field/FormField.js.map +1 -0
- package/dist/src/components/form-field/FormField.mjs +79 -0
- package/dist/src/components/form-field/FormField.mjs.map +1 -0
- package/dist/src/components/form-field/index.d.ts +1 -0
- package/dist/src/components/form-field/index.js +23 -0
- package/dist/src/components/form-field/index.js.map +1 -0
- package/dist/src/components/form-field/index.mjs +2 -0
- package/dist/src/components/form-field/index.mjs.map +1 -0
- package/dist/src/components/form-layout/FormLayout.d.ts +37 -0
- package/dist/src/components/form-layout/FormLayout.js +87 -0
- package/dist/src/components/form-layout/FormLayout.js.map +1 -0
- package/dist/src/components/form-layout/FormLayout.mjs +53 -0
- package/dist/src/components/form-layout/FormLayout.mjs.map +1 -0
- package/dist/src/components/form-layout/index.d.ts +1 -0
- package/dist/src/components/form-layout/index.js +23 -0
- package/dist/src/components/form-layout/index.js.map +1 -0
- package/dist/src/components/form-layout/index.mjs +2 -0
- package/dist/src/components/form-layout/index.mjs.map +1 -0
- package/dist/src/components/grid/Grid.d.ts +71 -0
- package/dist/src/components/grid/Grid.js +156 -0
- package/dist/src/components/grid/Grid.js.map +1 -0
- package/dist/src/components/grid/Grid.mjs +121 -0
- package/dist/src/components/grid/Grid.mjs.map +1 -0
- package/dist/src/components/grid/index.d.ts +1 -0
- package/dist/src/components/grid/index.js +23 -0
- package/dist/src/components/grid/index.js.map +1 -0
- package/dist/src/components/grid/index.mjs +2 -0
- package/dist/src/components/grid/index.mjs.map +1 -0
- package/dist/src/components/heading/Heading.d.ts +32 -0
- package/dist/src/components/heading/Heading.js +76 -0
- package/dist/src/components/heading/Heading.js.map +1 -0
- package/dist/src/components/heading/Heading.mjs +42 -0
- package/dist/src/components/heading/Heading.mjs.map +1 -0
- package/dist/src/components/heading/index.d.ts +1 -0
- package/dist/src/components/heading/index.js +23 -0
- package/dist/src/components/heading/index.js.map +1 -0
- package/dist/src/components/heading/index.mjs +2 -0
- package/dist/src/components/heading/index.mjs.map +1 -0
- package/dist/src/components/hero/Hero.d.ts +81 -0
- package/dist/src/components/hero/Hero.js +95 -0
- package/dist/src/components/hero/Hero.js.map +1 -0
- package/dist/src/components/hero/Hero.mjs +61 -0
- package/dist/src/components/hero/Hero.mjs.map +1 -0
- package/dist/src/components/hero/index.d.ts +2 -0
- package/dist/src/components/hero/index.js +29 -0
- package/dist/src/components/hero/index.js.map +1 -0
- package/dist/src/components/hero/index.mjs +5 -0
- package/dist/src/components/hero/index.mjs.map +1 -0
- package/dist/src/components/input/Input.d.ts +4 -0
- package/dist/src/components/input/Input.js +63 -0
- package/dist/src/components/input/Input.js.map +1 -0
- package/dist/src/components/input/Input.mjs +29 -0
- package/dist/src/components/input/Input.mjs.map +1 -0
- package/dist/src/components/input/index.d.ts +2 -0
- package/dist/src/components/input/index.js +29 -0
- package/dist/src/components/input/index.js.map +1 -0
- package/dist/src/components/input/index.mjs +5 -0
- package/dist/src/components/input/index.mjs.map +1 -0
- package/dist/src/components/input-group/InputGroup.d.ts +31 -0
- package/dist/src/components/input-group/InputGroup.js +114 -0
- package/dist/src/components/input-group/InputGroup.js.map +1 -0
- package/dist/src/components/input-group/InputGroup.mjs +79 -0
- package/dist/src/components/input-group/InputGroup.mjs.map +1 -0
- package/dist/src/components/input-group/index.d.ts +1 -0
- package/dist/src/components/input-group/index.js +23 -0
- package/dist/src/components/input-group/index.js.map +1 -0
- package/dist/src/components/input-group/index.mjs +2 -0
- package/dist/src/components/input-group/index.mjs.map +1 -0
- package/dist/src/components/label/Label.d.ts +9 -0
- package/dist/src/components/label/Label.js +55 -0
- package/dist/src/components/label/Label.js.map +1 -0
- package/dist/src/components/label/Label.mjs +21 -0
- package/dist/src/components/label/Label.mjs.map +1 -0
- package/dist/src/components/label/index.d.ts +1 -0
- package/dist/src/components/label/index.js +23 -0
- package/dist/src/components/label/index.js.map +1 -0
- package/dist/src/components/label/index.mjs +2 -0
- package/dist/src/components/label/index.mjs.map +1 -0
- package/dist/src/components/link/Link.d.ts +35 -0
- package/dist/src/components/link/Link.js +92 -0
- package/dist/src/components/link/Link.js.map +1 -0
- package/dist/src/components/link/Link.mjs +58 -0
- package/dist/src/components/link/Link.mjs.map +1 -0
- package/dist/src/components/link/index.d.ts +1 -0
- package/dist/src/components/link/index.js +23 -0
- package/dist/src/components/link/index.js.map +1 -0
- package/dist/src/components/link/index.mjs +2 -0
- package/dist/src/components/link/index.mjs.map +1 -0
- package/dist/src/components/link-tabs/LinkTabs.d.ts +60 -0
- package/dist/src/components/link-tabs/LinkTabs.js +126 -0
- package/dist/src/components/link-tabs/LinkTabs.js.map +1 -0
- package/dist/src/components/link-tabs/LinkTabs.mjs +92 -0
- package/dist/src/components/link-tabs/LinkTabs.mjs.map +1 -0
- package/dist/src/components/link-tabs/index.d.ts +2 -0
- package/dist/src/components/link-tabs/index.js +29 -0
- package/dist/src/components/link-tabs/index.js.map +1 -0
- package/dist/src/components/link-tabs/index.mjs +5 -0
- package/dist/src/components/link-tabs/index.mjs.map +1 -0
- package/dist/src/components/list/List.d.ts +58 -0
- package/dist/src/components/list/List.js +82 -0
- package/dist/src/components/list/List.js.map +1 -0
- package/dist/src/components/list/List.mjs +47 -0
- package/dist/src/components/list/List.mjs.map +1 -0
- package/dist/src/components/list/index.d.ts +1 -0
- package/dist/src/components/list/index.js +23 -0
- package/dist/src/components/list/index.js.map +1 -0
- package/dist/src/components/list/index.mjs +2 -0
- package/dist/src/components/list/index.mjs.map +1 -0
- package/dist/src/components/logo-cloud/LogoCloud.d.ts +46 -0
- package/dist/src/components/logo-cloud/LogoCloud.js +96 -0
- package/dist/src/components/logo-cloud/LogoCloud.js.map +1 -0
- package/dist/src/components/logo-cloud/LogoCloud.mjs +62 -0
- package/dist/src/components/logo-cloud/LogoCloud.mjs.map +1 -0
- package/dist/src/components/logo-cloud/index.d.ts +2 -0
- package/dist/src/components/logo-cloud/index.js +29 -0
- package/dist/src/components/logo-cloud/index.js.map +1 -0
- package/dist/src/components/logo-cloud/index.mjs +5 -0
- package/dist/src/components/logo-cloud/index.mjs.map +1 -0
- package/dist/src/components/menu/Menu.d.ts +41 -0
- package/dist/src/components/menu/Menu.js +254 -0
- package/dist/src/components/menu/Menu.js.map +1 -0
- package/dist/src/components/menu/Menu.mjs +215 -0
- package/dist/src/components/menu/Menu.mjs.map +1 -0
- package/dist/src/components/menu/index.d.ts +1 -0
- package/dist/src/components/menu/index.js +23 -0
- package/dist/src/components/menu/index.js.map +1 -0
- package/dist/src/components/menu/index.mjs +2 -0
- package/dist/src/components/menu/index.mjs.map +1 -0
- package/dist/src/components/metric-card/MetricCard.d.ts +29 -0
- package/dist/src/components/metric-card/MetricCard.js +64 -0
- package/dist/src/components/metric-card/MetricCard.js.map +1 -0
- package/dist/src/components/metric-card/MetricCard.mjs +30 -0
- package/dist/src/components/metric-card/MetricCard.mjs.map +1 -0
- package/dist/src/components/metric-card/index.d.ts +1 -0
- package/dist/src/components/metric-card/index.js +23 -0
- package/dist/src/components/metric-card/index.js.map +1 -0
- package/dist/src/components/metric-card/index.mjs +2 -0
- package/dist/src/components/metric-card/index.mjs.map +1 -0
- package/dist/src/components/multi-select/MultiSelect.d.ts +56 -0
- package/dist/src/components/multi-select/MultiSelect.js +181 -0
- package/dist/src/components/multi-select/MultiSelect.js.map +1 -0
- package/dist/src/components/multi-select/MultiSelect.mjs +147 -0
- package/dist/src/components/multi-select/MultiSelect.mjs.map +1 -0
- package/dist/src/components/multi-select/index.d.ts +2 -0
- package/dist/src/components/multi-select/index.js +29 -0
- package/dist/src/components/multi-select/index.js.map +1 -0
- package/dist/src/components/multi-select/index.mjs +5 -0
- package/dist/src/components/multi-select/index.mjs.map +1 -0
- package/dist/src/components/newsletter/Newsletter.d.ts +54 -0
- package/dist/src/components/newsletter/Newsletter.js +106 -0
- package/dist/src/components/newsletter/Newsletter.js.map +1 -0
- package/dist/src/components/newsletter/Newsletter.mjs +72 -0
- package/dist/src/components/newsletter/Newsletter.mjs.map +1 -0
- package/dist/src/components/newsletter/index.d.ts +2 -0
- package/dist/src/components/newsletter/index.js +29 -0
- package/dist/src/components/newsletter/index.js.map +1 -0
- package/dist/src/components/newsletter/index.mjs +5 -0
- package/dist/src/components/newsletter/index.mjs.map +1 -0
- package/dist/src/components/page-header/PageHeader.d.ts +50 -0
- package/dist/src/components/page-header/PageHeader.js +61 -0
- package/dist/src/components/page-header/PageHeader.js.map +1 -0
- package/dist/src/components/page-header/PageHeader.mjs +27 -0
- package/dist/src/components/page-header/PageHeader.mjs.map +1 -0
- package/dist/src/components/page-header/document-head.d.ts +25 -0
- package/dist/src/components/page-header/document-head.js +41 -0
- package/dist/src/components/page-header/document-head.js.map +1 -0
- package/dist/src/components/page-header/document-head.mjs +17 -0
- package/dist/src/components/page-header/document-head.mjs.map +1 -0
- package/dist/src/components/page-header/index.d.ts +2 -0
- package/dist/src/components/page-header/index.js +25 -0
- package/dist/src/components/page-header/index.js.map +1 -0
- package/dist/src/components/page-header/index.mjs +3 -0
- package/dist/src/components/page-header/index.mjs.map +1 -0
- package/dist/src/components/pagination/Pagination.d.ts +123 -0
- package/dist/src/components/pagination/Pagination.js +168 -0
- package/dist/src/components/pagination/Pagination.js.map +1 -0
- package/dist/src/components/pagination/Pagination.mjs +134 -0
- package/dist/src/components/pagination/Pagination.mjs.map +1 -0
- package/dist/src/components/pagination/index.d.ts +1 -0
- package/dist/src/components/pagination/index.js +23 -0
- package/dist/src/components/pagination/index.js.map +1 -0
- package/dist/src/components/pagination/index.mjs +2 -0
- package/dist/src/components/pagination/index.mjs.map +1 -0
- package/dist/src/components/password-input/PasswordInput.d.ts +17 -0
- package/dist/src/components/password-input/PasswordInput.js +63 -0
- package/dist/src/components/password-input/PasswordInput.js.map +1 -0
- package/dist/src/components/password-input/PasswordInput.mjs +29 -0
- package/dist/src/components/password-input/PasswordInput.mjs.map +1 -0
- package/dist/src/components/password-input/index.d.ts +1 -0
- package/dist/src/components/password-input/index.js +23 -0
- package/dist/src/components/password-input/index.js.map +1 -0
- package/dist/src/components/password-input/index.mjs +2 -0
- package/dist/src/components/password-input/index.mjs.map +1 -0
- package/dist/src/components/popover/Popover.d.ts +22 -0
- package/dist/src/components/popover/Popover.js +188 -0
- package/dist/src/components/popover/Popover.js.map +1 -0
- package/dist/src/components/popover/Popover.mjs +152 -0
- package/dist/src/components/popover/Popover.mjs.map +1 -0
- package/dist/src/components/popover/index.d.ts +1 -0
- package/dist/src/components/popover/index.js +23 -0
- package/dist/src/components/popover/index.js.map +1 -0
- package/dist/src/components/popover/index.mjs +2 -0
- package/dist/src/components/popover/index.mjs.map +1 -0
- package/dist/src/components/process-steps/ProcessSteps.d.ts +31 -0
- package/dist/src/components/process-steps/ProcessSteps.js +62 -0
- package/dist/src/components/process-steps/ProcessSteps.js.map +1 -0
- package/dist/src/components/process-steps/ProcessSteps.mjs +28 -0
- package/dist/src/components/process-steps/ProcessSteps.mjs.map +1 -0
- package/dist/src/components/process-steps/index.d.ts +2 -0
- package/dist/src/components/process-steps/index.js +29 -0
- package/dist/src/components/process-steps/index.js.map +1 -0
- package/dist/src/components/process-steps/index.mjs +5 -0
- package/dist/src/components/process-steps/index.mjs.map +1 -0
- package/dist/src/components/progress/Progress.d.ts +31 -0
- package/dist/src/components/progress/Progress.js +71 -0
- package/dist/src/components/progress/Progress.js.map +1 -0
- package/dist/src/components/progress/Progress.mjs +37 -0
- package/dist/src/components/progress/Progress.mjs.map +1 -0
- package/dist/src/components/progress/index.d.ts +1 -0
- package/dist/src/components/progress/index.js +23 -0
- package/dist/src/components/progress/index.js.map +1 -0
- package/dist/src/components/progress/index.mjs +2 -0
- package/dist/src/components/progress/index.mjs.map +1 -0
- package/dist/src/components/prose/Prose.d.ts +16 -0
- package/dist/src/components/prose/Prose.js +84 -0
- package/dist/src/components/prose/Prose.js.map +1 -0
- package/dist/src/components/prose/Prose.mjs +50 -0
- package/dist/src/components/prose/Prose.mjs.map +1 -0
- package/dist/src/components/prose/index.d.ts +1 -0
- package/dist/src/components/prose/index.js +23 -0
- package/dist/src/components/prose/index.js.map +1 -0
- package/dist/src/components/prose/index.mjs +2 -0
- package/dist/src/components/prose/index.mjs.map +1 -0
- package/dist/src/components/radio/Radio.d.ts +63 -0
- package/dist/src/components/radio/Radio.js +127 -0
- package/dist/src/components/radio/Radio.js.map +1 -0
- package/dist/src/components/radio/Radio.mjs +90 -0
- package/dist/src/components/radio/Radio.mjs.map +1 -0
- package/dist/src/components/radio/RadioCard.d.ts +24 -0
- package/dist/src/components/radio/RadioCard.js +84 -0
- package/dist/src/components/radio/RadioCard.js.map +1 -0
- package/dist/src/components/radio/RadioCard.mjs +50 -0
- package/dist/src/components/radio/RadioCard.mjs.map +1 -0
- package/dist/src/components/radio/index.d.ts +2 -0
- package/dist/src/components/radio/index.js +25 -0
- package/dist/src/components/radio/index.js.map +1 -0
- package/dist/src/components/radio/index.mjs +3 -0
- package/dist/src/components/radio/index.mjs.map +1 -0
- package/dist/src/components/range-slider/RangeSlider.d.ts +53 -0
- package/dist/src/components/range-slider/RangeSlider.js +128 -0
- package/dist/src/components/range-slider/RangeSlider.js.map +1 -0
- package/dist/src/components/range-slider/RangeSlider.mjs +94 -0
- package/dist/src/components/range-slider/RangeSlider.mjs.map +1 -0
- package/dist/src/components/range-slider/index.d.ts +2 -0
- package/dist/src/components/range-slider/index.js +29 -0
- package/dist/src/components/range-slider/index.js.map +1 -0
- package/dist/src/components/range-slider/index.mjs +5 -0
- package/dist/src/components/range-slider/index.mjs.map +1 -0
- package/dist/src/components/search/Search.d.ts +37 -0
- package/dist/src/components/search/Search.js +152 -0
- package/dist/src/components/search/Search.js.map +1 -0
- package/dist/src/components/search/Search.mjs +118 -0
- package/dist/src/components/search/Search.mjs.map +1 -0
- package/dist/src/components/search/index.d.ts +2 -0
- package/dist/src/components/search/index.js +25 -0
- package/dist/src/components/search/index.js.map +1 -0
- package/dist/src/components/search/index.mjs +3 -0
- package/dist/src/components/search/index.mjs.map +1 -0
- package/dist/src/components/search/use-combobox.d.ts +52 -0
- package/dist/src/components/search/use-combobox.js +156 -0
- package/dist/src/components/search/use-combobox.js.map +1 -0
- package/dist/src/components/search/use-combobox.mjs +122 -0
- package/dist/src/components/search/use-combobox.mjs.map +1 -0
- package/dist/src/components/section/Section.d.ts +37 -0
- package/dist/src/components/section/Section.js +107 -0
- package/dist/src/components/section/Section.js.map +1 -0
- package/dist/src/components/section/Section.mjs +73 -0
- package/dist/src/components/section/Section.mjs.map +1 -0
- package/dist/src/components/section/index.d.ts +2 -0
- package/dist/src/components/section/index.js +29 -0
- package/dist/src/components/section/index.js.map +1 -0
- package/dist/src/components/section/index.mjs +5 -0
- package/dist/src/components/section/index.mjs.map +1 -0
- package/dist/src/components/section-heading/SectionHeading.d.ts +42 -0
- package/dist/src/components/section-heading/SectionHeading.js +69 -0
- package/dist/src/components/section-heading/SectionHeading.js.map +1 -0
- package/dist/src/components/section-heading/SectionHeading.mjs +35 -0
- package/dist/src/components/section-heading/SectionHeading.mjs.map +1 -0
- package/dist/src/components/section-heading/index.d.ts +1 -0
- package/dist/src/components/section-heading/index.js +23 -0
- package/dist/src/components/section-heading/index.js.map +1 -0
- package/dist/src/components/section-heading/index.mjs +2 -0
- package/dist/src/components/section-heading/index.mjs.map +1 -0
- package/dist/src/components/segmented-control/SegmentedControl.d.ts +46 -0
- package/dist/src/components/segmented-control/SegmentedControl.js +166 -0
- package/dist/src/components/segmented-control/SegmentedControl.js.map +1 -0
- package/dist/src/components/segmented-control/SegmentedControl.mjs +132 -0
- package/dist/src/components/segmented-control/SegmentedControl.mjs.map +1 -0
- package/dist/src/components/segmented-control/index.d.ts +2 -0
- package/dist/src/components/segmented-control/index.js +29 -0
- package/dist/src/components/segmented-control/index.js.map +1 -0
- package/dist/src/components/segmented-control/index.mjs +5 -0
- package/dist/src/components/segmented-control/index.mjs.map +1 -0
- package/dist/src/components/select/Select.d.ts +51 -0
- package/dist/src/components/select/Select.js +80 -0
- package/dist/src/components/select/Select.js.map +1 -0
- package/dist/src/components/select/Select.mjs +46 -0
- package/dist/src/components/select/Select.mjs.map +1 -0
- package/dist/src/components/select/index.d.ts +2 -0
- package/dist/src/components/select/index.js +29 -0
- package/dist/src/components/select/index.js.map +1 -0
- package/dist/src/components/select/index.mjs +5 -0
- package/dist/src/components/select/index.mjs.map +1 -0
- package/dist/src/components/select-menu/SelectMenu.d.ts +59 -0
- package/dist/src/components/select-menu/SelectMenu.js +308 -0
- package/dist/src/components/select-menu/SelectMenu.js.map +1 -0
- package/dist/src/components/select-menu/SelectMenu.mjs +274 -0
- package/dist/src/components/select-menu/SelectMenu.mjs.map +1 -0
- package/dist/src/components/select-menu/index.d.ts +1 -0
- package/dist/src/components/select-menu/index.js +23 -0
- package/dist/src/components/select-menu/index.js.map +1 -0
- package/dist/src/components/select-menu/index.mjs +2 -0
- package/dist/src/components/select-menu/index.mjs.map +1 -0
- package/dist/src/components/separator/Separator.d.ts +32 -0
- package/dist/src/components/separator/Separator.js +72 -0
- package/dist/src/components/separator/Separator.js.map +1 -0
- package/dist/src/components/separator/Separator.mjs +36 -0
- package/dist/src/components/separator/Separator.mjs.map +1 -0
- package/dist/src/components/separator/index.d.ts +1 -0
- package/dist/src/components/separator/index.js +23 -0
- package/dist/src/components/separator/index.js.map +1 -0
- package/dist/src/components/separator/index.mjs +2 -0
- package/dist/src/components/separator/index.mjs.map +1 -0
- package/dist/src/components/site-footer/SiteFooter.d.ts +37 -0
- package/dist/src/components/site-footer/SiteFooter.js +79 -0
- package/dist/src/components/site-footer/SiteFooter.js.map +1 -0
- package/dist/src/components/site-footer/SiteFooter.mjs +55 -0
- package/dist/src/components/site-footer/SiteFooter.mjs.map +1 -0
- package/dist/src/components/site-footer/index.d.ts +1 -0
- package/dist/src/components/site-footer/index.js +23 -0
- package/dist/src/components/site-footer/index.js.map +1 -0
- package/dist/src/components/site-footer/index.mjs +2 -0
- package/dist/src/components/site-footer/index.mjs.map +1 -0
- package/dist/src/components/site-header/SiteHeader.d.ts +54 -0
- package/dist/src/components/site-header/SiteHeader.js +174 -0
- package/dist/src/components/site-header/SiteHeader.js.map +1 -0
- package/dist/src/components/site-header/SiteHeader.mjs +140 -0
- package/dist/src/components/site-header/SiteHeader.mjs.map +1 -0
- package/dist/src/components/site-header/index.d.ts +1 -0
- package/dist/src/components/site-header/index.js +23 -0
- package/dist/src/components/site-header/index.js.map +1 -0
- package/dist/src/components/site-header/index.mjs +2 -0
- package/dist/src/components/site-header/index.mjs.map +1 -0
- package/dist/src/components/skeleton/Skeleton.d.ts +41 -0
- package/dist/src/components/skeleton/Skeleton.js +71 -0
- package/dist/src/components/skeleton/Skeleton.js.map +1 -0
- package/dist/src/components/skeleton/Skeleton.mjs +37 -0
- package/dist/src/components/skeleton/Skeleton.mjs.map +1 -0
- package/dist/src/components/skeleton/index.d.ts +1 -0
- package/dist/src/components/skeleton/index.js +23 -0
- package/dist/src/components/skeleton/index.js.map +1 -0
- package/dist/src/components/skeleton/index.mjs +2 -0
- package/dist/src/components/skeleton/index.mjs.map +1 -0
- package/dist/src/components/spinner/Spinner.d.ts +11 -0
- package/dist/src/components/spinner/Spinner.js +59 -0
- package/dist/src/components/spinner/Spinner.js.map +1 -0
- package/dist/src/components/spinner/Spinner.mjs +34 -0
- package/dist/src/components/spinner/Spinner.mjs.map +1 -0
- package/dist/src/components/spinner/index.d.ts +2 -0
- package/dist/src/components/spinner/index.js +31 -0
- package/dist/src/components/spinner/index.js.map +1 -0
- package/dist/src/components/spinner/index.mjs +6 -0
- package/dist/src/components/spinner/index.mjs.map +1 -0
- package/dist/src/components/stat-band/StatBand.d.ts +38 -0
- package/dist/src/components/stat-band/StatBand.js +83 -0
- package/dist/src/components/stat-band/StatBand.js.map +1 -0
- package/dist/src/components/stat-band/StatBand.mjs +49 -0
- package/dist/src/components/stat-band/StatBand.mjs.map +1 -0
- package/dist/src/components/stat-band/index.d.ts +2 -0
- package/dist/src/components/stat-band/index.js +29 -0
- package/dist/src/components/stat-band/index.js.map +1 -0
- package/dist/src/components/stat-band/index.mjs +5 -0
- package/dist/src/components/stat-band/index.mjs.map +1 -0
- package/dist/src/components/stepper/Stepper.d.ts +26 -0
- package/dist/src/components/stepper/Stepper.js +92 -0
- package/dist/src/components/stepper/Stepper.js.map +1 -0
- package/dist/src/components/stepper/Stepper.mjs +58 -0
- package/dist/src/components/stepper/Stepper.mjs.map +1 -0
- package/dist/src/components/stepper/index.d.ts +1 -0
- package/dist/src/components/stepper/index.js +23 -0
- package/dist/src/components/stepper/index.js.map +1 -0
- package/dist/src/components/stepper/index.mjs +2 -0
- package/dist/src/components/stepper/index.mjs.map +1 -0
- package/dist/src/components/switch/Switch.d.ts +27 -0
- package/dist/src/components/switch/Switch.js +95 -0
- package/dist/src/components/switch/Switch.js.map +1 -0
- package/dist/src/components/switch/Switch.mjs +61 -0
- package/dist/src/components/switch/Switch.mjs.map +1 -0
- package/dist/src/components/switch/index.d.ts +1 -0
- package/dist/src/components/switch/index.js +23 -0
- package/dist/src/components/switch/index.js.map +1 -0
- package/dist/src/components/switch/index.mjs +2 -0
- package/dist/src/components/switch/index.mjs.map +1 -0
- package/dist/src/components/table/Table.d.ts +26 -0
- package/dist/src/components/table/Table.js +122 -0
- package/dist/src/components/table/Table.js.map +1 -0
- package/dist/src/components/table/Table.mjs +81 -0
- package/dist/src/components/table/Table.mjs.map +1 -0
- package/dist/src/components/table/index.d.ts +1 -0
- package/dist/src/components/table/index.js +23 -0
- package/dist/src/components/table/index.js.map +1 -0
- package/dist/src/components/table/index.mjs +2 -0
- package/dist/src/components/table/index.mjs.map +1 -0
- package/dist/src/components/table-card/TableCard.d.ts +34 -0
- package/dist/src/components/table-card/TableCard.js +63 -0
- package/dist/src/components/table-card/TableCard.js.map +1 -0
- package/dist/src/components/table-card/TableCard.mjs +29 -0
- package/dist/src/components/table-card/TableCard.mjs.map +1 -0
- package/dist/src/components/table-card/index.d.ts +1 -0
- package/dist/src/components/table-card/index.js +23 -0
- package/dist/src/components/table-card/index.js.map +1 -0
- package/dist/src/components/table-card/index.mjs +2 -0
- package/dist/src/components/table-card/index.mjs.map +1 -0
- package/dist/src/components/table-of-contents/TableOfContents.d.ts +32 -0
- package/dist/src/components/table-of-contents/TableOfContents.js +102 -0
- package/dist/src/components/table-of-contents/TableOfContents.js.map +1 -0
- package/dist/src/components/table-of-contents/TableOfContents.mjs +67 -0
- package/dist/src/components/table-of-contents/TableOfContents.mjs.map +1 -0
- package/dist/src/components/table-of-contents/index.d.ts +1 -0
- package/dist/src/components/table-of-contents/index.js +23 -0
- package/dist/src/components/table-of-contents/index.js.map +1 -0
- package/dist/src/components/table-of-contents/index.mjs +2 -0
- package/dist/src/components/table-of-contents/index.mjs.map +1 -0
- package/dist/src/components/tabs/Tabs.d.ts +45 -0
- package/dist/src/components/tabs/Tabs.js +216 -0
- package/dist/src/components/tabs/Tabs.js.map +1 -0
- package/dist/src/components/tabs/Tabs.mjs +179 -0
- package/dist/src/components/tabs/Tabs.mjs.map +1 -0
- package/dist/src/components/tabs/index.d.ts +1 -0
- package/dist/src/components/tabs/index.js +23 -0
- package/dist/src/components/tabs/index.js.map +1 -0
- package/dist/src/components/tabs/index.mjs +2 -0
- package/dist/src/components/tabs/index.mjs.map +1 -0
- package/dist/src/components/testimonial/Testimonial.d.ts +41 -0
- package/dist/src/components/testimonial/Testimonial.js +75 -0
- package/dist/src/components/testimonial/Testimonial.js.map +1 -0
- package/dist/src/components/testimonial/Testimonial.mjs +41 -0
- package/dist/src/components/testimonial/Testimonial.mjs.map +1 -0
- package/dist/src/components/testimonial/index.d.ts +2 -0
- package/dist/src/components/testimonial/index.js +29 -0
- package/dist/src/components/testimonial/index.js.map +1 -0
- package/dist/src/components/testimonial/index.mjs +5 -0
- package/dist/src/components/testimonial/index.mjs.map +1 -0
- package/dist/src/components/text/Text.d.ts +40 -0
- package/dist/src/components/text/Text.js +74 -0
- package/dist/src/components/text/Text.js.map +1 -0
- package/dist/src/components/text/Text.mjs +40 -0
- package/dist/src/components/text/Text.mjs.map +1 -0
- package/dist/src/components/text/index.d.ts +1 -0
- package/dist/src/components/text/index.js +23 -0
- package/dist/src/components/text/index.js.map +1 -0
- package/dist/src/components/text/index.mjs +2 -0
- package/dist/src/components/text/index.mjs.map +1 -0
- package/dist/src/components/textarea/Textarea.d.ts +9 -0
- package/dist/src/components/textarea/Textarea.js +59 -0
- package/dist/src/components/textarea/Textarea.js.map +1 -0
- package/dist/src/components/textarea/Textarea.mjs +25 -0
- package/dist/src/components/textarea/Textarea.mjs.map +1 -0
- package/dist/src/components/textarea/index.d.ts +1 -0
- package/dist/src/components/textarea/index.js +23 -0
- package/dist/src/components/textarea/index.js.map +1 -0
- package/dist/src/components/textarea/index.mjs +2 -0
- package/dist/src/components/textarea/index.mjs.map +1 -0
- package/dist/src/components/theme-toggle/ThemeToggle.d.ts +32 -0
- package/dist/src/components/theme-toggle/ThemeToggle.js +95 -0
- package/dist/src/components/theme-toggle/ThemeToggle.js.map +1 -0
- package/dist/src/components/theme-toggle/ThemeToggle.mjs +61 -0
- package/dist/src/components/theme-toggle/ThemeToggle.mjs.map +1 -0
- package/dist/src/components/theme-toggle/index.d.ts +2 -0
- package/dist/src/components/theme-toggle/index.js +29 -0
- package/dist/src/components/theme-toggle/index.js.map +1 -0
- package/dist/src/components/theme-toggle/index.mjs +5 -0
- package/dist/src/components/theme-toggle/index.mjs.map +1 -0
- package/dist/src/components/time-picker/TimePicker.d.ts +30 -0
- package/dist/src/components/time-picker/TimePicker.js +77 -0
- package/dist/src/components/time-picker/TimePicker.js.map +1 -0
- package/dist/src/components/time-picker/TimePicker.mjs +43 -0
- package/dist/src/components/time-picker/TimePicker.mjs.map +1 -0
- package/dist/src/components/time-picker/index.d.ts +1 -0
- package/dist/src/components/time-picker/index.js +23 -0
- package/dist/src/components/time-picker/index.js.map +1 -0
- package/dist/src/components/time-picker/index.mjs +2 -0
- package/dist/src/components/time-picker/index.mjs.map +1 -0
- package/dist/src/components/timeline/Timeline.d.ts +21 -0
- package/dist/src/components/timeline/Timeline.js +64 -0
- package/dist/src/components/timeline/Timeline.js.map +1 -0
- package/dist/src/components/timeline/Timeline.mjs +30 -0
- package/dist/src/components/timeline/Timeline.mjs.map +1 -0
- package/dist/src/components/timeline/index.d.ts +1 -0
- package/dist/src/components/timeline/index.js +23 -0
- package/dist/src/components/timeline/index.js.map +1 -0
- package/dist/src/components/timeline/index.mjs +2 -0
- package/dist/src/components/timeline/index.mjs.map +1 -0
- package/dist/src/components/toast/Toast.d.ts +18 -0
- package/dist/src/components/toast/Toast.js +132 -0
- package/dist/src/components/toast/Toast.js.map +1 -0
- package/dist/src/components/toast/Toast.mjs +97 -0
- package/dist/src/components/toast/Toast.mjs.map +1 -0
- package/dist/src/components/toast/Toaster.d.ts +23 -0
- package/dist/src/components/toast/Toaster.js +118 -0
- package/dist/src/components/toast/Toaster.js.map +1 -0
- package/dist/src/components/toast/Toaster.mjs +89 -0
- package/dist/src/components/toast/Toaster.mjs.map +1 -0
- package/dist/src/components/toast/index.d.ts +6 -0
- package/dist/src/components/toast/index.js +37 -0
- package/dist/src/components/toast/index.js.map +1 -0
- package/dist/src/components/toast/index.mjs +10 -0
- package/dist/src/components/toast/index.mjs.map +1 -0
- package/dist/src/components/toast/toast-store.d.ts +49 -0
- package/dist/src/components/toast/toast-store.js +93 -0
- package/dist/src/components/toast/toast-store.js.map +1 -0
- package/dist/src/components/toast/toast-store.mjs +66 -0
- package/dist/src/components/toast/toast-store.mjs.map +1 -0
- package/dist/src/components/tooltip/Tooltip.d.ts +23 -0
- package/dist/src/components/tooltip/Tooltip.js +123 -0
- package/dist/src/components/tooltip/Tooltip.js.map +1 -0
- package/dist/src/components/tooltip/Tooltip.mjs +89 -0
- package/dist/src/components/tooltip/Tooltip.mjs.map +1 -0
- package/dist/src/components/tooltip/index.d.ts +1 -0
- package/dist/src/components/tooltip/index.js +23 -0
- package/dist/src/components/tooltip/index.js.map +1 -0
- package/dist/src/components/tooltip/index.mjs +2 -0
- package/dist/src/components/tooltip/index.mjs.map +1 -0
- package/dist/src/index.d.ts +91 -0
- package/dist/src/test/setup.d.ts +1 -0
- package/dist/src/test/ssr-test-utils.d.ts +43 -0
- package/dist/src/types/manifest.d.ts +118 -0
- package/dist/src/types/manifest.js +33 -0
- package/dist/src/types/manifest.js.map +1 -0
- package/dist/src/types/manifest.mjs +9 -0
- package/dist/src/types/manifest.mjs.map +1 -0
- package/dist/src/utils/cn.d.ts +2 -0
- package/dist/src/utils/cn.js +33 -0
- package/dist/src/utils/cn.js.map +1 -0
- package/dist/src/utils/cn.mjs +9 -0
- package/dist/src/utils/cn.mjs.map +1 -0
- package/dist/src/utils/gap.d.ts +16 -0
- package/dist/src/utils/gap.js +40 -0
- package/dist/src/utils/gap.js.map +1 -0
- package/dist/src/utils/gap.mjs +16 -0
- package/dist/src/utils/gap.mjs.map +1 -0
- package/dist/src/utils/modal-layer.d.ts +3 -0
- package/dist/src/utils/modal-layer.js +69 -0
- package/dist/src/utils/modal-layer.js.map +1 -0
- package/dist/src/utils/modal-layer.mjs +34 -0
- package/dist/src/utils/modal-layer.mjs.map +1 -0
- package/dist/src/utils/presence.d.ts +12 -0
- package/dist/src/utils/presence.js +56 -0
- package/dist/src/utils/presence.js.map +1 -0
- package/dist/src/utils/presence.mjs +22 -0
- package/dist/src/utils/presence.mjs.map +1 -0
- package/dist/styles-full.css +2 -0
- package/dist/styles.css +1 -0
- package/package.json +17 -8
- package/src/components/alert/Alert.test.tsx +6 -1
- package/src/components/alert/Alert.tsx +4 -2
- package/src/components/announcement-bar/AnnouncementBar.test.tsx +34 -0
- package/src/components/announcement-bar/AnnouncementBar.tsx +100 -0
- package/src/components/announcement-bar/index.ts +2 -0
- package/src/components/app-shell/AppShell.test.tsx +76 -1
- package/src/components/app-shell/AppShell.tsx +157 -44
- package/src/components/applied-filters/AppliedFilters.test.tsx +50 -0
- package/src/components/applied-filters/AppliedFilters.tsx +69 -0
- package/src/components/applied-filters/index.ts +2 -0
- package/src/components/article-card/ArticleCard.test.tsx +39 -0
- package/src/components/article-card/ArticleCard.tsx +75 -0
- package/src/components/article-card/index.ts +2 -0
- package/src/components/auth-layout/AuthLayout.test.tsx +45 -0
- package/src/components/auth-layout/AuthLayout.tsx +66 -10
- package/src/components/autocomplete/Autocomplete.test.tsx +18 -0
- package/src/components/autocomplete/Autocomplete.tsx +8 -2
- package/src/components/badge/Badge.test.tsx +31 -3
- package/src/components/badge/Badge.tsx +13 -3
- package/src/components/breadcrumb/Breadcrumb.test.tsx +23 -0
- package/src/components/breadcrumb/Breadcrumb.tsx +24 -9
- package/src/components/button/Button.test.tsx +40 -2
- package/src/components/button/Button.tsx +38 -7
- package/src/components/checkbox/Checkbox.tsx +6 -3
- package/src/components/comparison-table/ComparisonTable.test.tsx +43 -0
- package/src/components/comparison-table/ComparisonTable.tsx +142 -0
- package/src/components/comparison-table/index.ts +2 -0
- package/src/components/confirm-dialog/ConfirmDialog.test.tsx +46 -0
- package/src/components/confirm-dialog/ConfirmDialog.tsx +86 -0
- package/src/components/confirm-dialog/index.ts +1 -0
- package/src/components/contact-strip/ContactStrip.test.tsx +25 -0
- package/src/components/contact-strip/ContactStrip.tsx +60 -0
- package/src/components/contact-strip/index.ts +2 -0
- package/src/components/container/Container.test.tsx +23 -0
- package/src/components/container/Container.tsx +48 -0
- package/src/components/container/index.ts +2 -0
- package/src/components/cta-section/CTASection.test.tsx +30 -0
- package/src/components/cta-section/CTASection.tsx +88 -0
- package/src/components/cta-section/index.ts +2 -0
- package/src/components/data-table/DataTable.test.tsx +92 -0
- package/src/components/data-table/DataTable.tsx +98 -7
- package/src/components/date-picker/DatePicker.test.tsx +7 -0
- package/src/components/date-picker/DatePicker.tsx +9 -4
- package/src/components/date-range-picker/DateRangePicker.test.tsx +36 -0
- package/src/components/date-range-picker/DateRangePicker.tsx +154 -0
- package/src/components/date-range-picker/index.ts +2 -0
- package/src/components/dialog/Dialog.nested.test.tsx +72 -0
- package/src/components/dialog/Dialog.test.tsx +7 -0
- package/src/components/dialog/Dialog.tsx +8 -2
- package/src/components/drawer/Drawer.test.tsx +11 -2
- package/src/components/drawer/Drawer.tsx +9 -3
- package/src/components/empty-state/EmptyState.test.tsx +12 -0
- package/src/components/empty-state/EmptyState.tsx +21 -4
- package/src/components/feature-grid/FeatureGrid.test.tsx +33 -0
- package/src/components/feature-grid/FeatureGrid.tsx +80 -0
- package/src/components/feature-grid/index.ts +2 -0
- package/src/components/feature-row/FeatureRow.test.tsx +33 -0
- package/src/components/feature-row/FeatureRow.tsx +71 -0
- package/src/components/feature-row/index.ts +2 -0
- package/src/components/file-upload/FileUpload.test.tsx +16 -0
- package/src/components/file-upload/FileUpload.tsx +12 -3
- package/src/components/filter-bar/FilterBar.test.tsx +16 -0
- package/src/components/filter-bar/FilterBar.tsx +24 -1
- package/src/components/filter-chips/FilterChips.test.tsx +47 -0
- package/src/components/filter-chips/FilterChips.tsx +96 -0
- package/src/components/filter-chips/index.ts +2 -0
- package/src/components/filter-panel/FilterPanel.test.tsx +46 -0
- package/src/components/filter-panel/FilterPanel.tsx +146 -0
- package/src/components/filter-panel/index.ts +2 -0
- package/src/components/form-field/FormField.tsx +1 -1
- package/src/components/hero/Hero.test.tsx +34 -0
- package/src/components/hero/Hero.tsx +128 -0
- package/src/components/hero/index.ts +2 -0
- package/src/components/input/Input.tsx +1 -0
- package/src/components/link/Link.test.tsx +60 -0
- package/src/components/link/Link.tsx +85 -0
- package/src/components/link/index.ts +1 -0
- package/src/components/link-tabs/LinkTabs.test.tsx +51 -0
- package/src/components/link-tabs/LinkTabs.tsx +150 -0
- package/src/components/link-tabs/index.ts +2 -0
- package/src/components/list/List.test.tsx +12 -0
- package/src/components/list/List.tsx +3 -3
- package/src/components/logo-cloud/LogoCloud.test.tsx +39 -0
- package/src/components/logo-cloud/LogoCloud.tsx +110 -0
- package/src/components/logo-cloud/index.ts +2 -0
- package/src/components/metric-card/MetricCard.tsx +1 -1
- package/src/components/multi-select/MultiSelect.test.tsx +46 -0
- package/src/components/multi-select/MultiSelect.tsx +206 -0
- package/src/components/multi-select/index.ts +2 -0
- package/src/components/newsletter/Newsletter.test.tsx +28 -0
- package/src/components/newsletter/Newsletter.tsx +113 -0
- package/src/components/newsletter/index.ts +2 -0
- package/src/components/page-header/PageHeader.test.tsx +17 -0
- package/src/components/page-header/PageHeader.tsx +28 -6
- package/src/components/page-header/document-head.test.ts +30 -0
- package/src/components/page-header/document-head.ts +40 -0
- package/src/components/page-header/index.ts +1 -0
- package/src/components/pagination/Pagination.test.tsx +38 -0
- package/src/components/pagination/Pagination.tsx +118 -65
- package/src/components/process-steps/ProcessSteps.test.tsx +33 -0
- package/src/components/process-steps/ProcessSteps.tsx +56 -0
- package/src/components/process-steps/index.ts +2 -0
- package/src/components/progress/Progress.tsx +10 -3
- package/src/components/prose/Prose.test.tsx +35 -0
- package/src/components/prose/Prose.tsx +61 -0
- package/src/components/prose/index.ts +1 -0
- package/src/components/radio/Radio.test.tsx +9 -0
- package/src/components/radio/Radio.tsx +6 -3
- package/src/components/range-slider/RangeSlider.test.tsx +40 -0
- package/src/components/range-slider/RangeSlider.tsx +123 -0
- package/src/components/range-slider/index.ts +2 -0
- package/src/components/search/Search.test.tsx +27 -0
- package/src/components/search/Search.tsx +15 -3
- package/src/components/section/Section.test.tsx +47 -0
- package/src/components/section/Section.tsx +111 -0
- package/src/components/section/index.ts +2 -0
- package/src/components/section-heading/SectionHeading.test.tsx +32 -0
- package/src/components/section-heading/SectionHeading.tsx +60 -0
- package/src/components/section-heading/index.ts +1 -0
- package/src/components/segmented-control/SegmentedControl.test.tsx +62 -0
- package/src/components/segmented-control/SegmentedControl.tsx +189 -0
- package/src/components/segmented-control/index.ts +2 -0
- package/src/components/select/Select.test.tsx +48 -8
- package/src/components/select/Select.tsx +22 -16
- package/src/components/site-footer/SiteFooter.test.tsx +47 -0
- package/src/components/site-footer/SiteFooter.tsx +109 -0
- package/src/components/site-footer/index.ts +1 -0
- package/src/components/site-header/SiteHeader.test.tsx +86 -0
- package/src/components/site-header/SiteHeader.tsx +199 -0
- package/src/components/site-header/index.ts +1 -0
- package/src/components/skeleton/Skeleton.test.tsx +10 -1
- package/src/components/skeleton/Skeleton.tsx +12 -3
- package/src/components/stat-band/StatBand.test.tsx +42 -0
- package/src/components/stat-band/StatBand.tsx +77 -0
- package/src/components/stat-band/index.ts +2 -0
- package/src/components/switch/Switch.test.tsx +25 -0
- package/src/components/switch/Switch.tsx +17 -3
- package/src/components/table-of-contents/TableOfContents.test.tsx +31 -0
- package/src/components/table-of-contents/TableOfContents.tsx +106 -0
- package/src/components/table-of-contents/index.ts +1 -0
- package/src/components/testimonial/Testimonial.test.tsx +34 -0
- package/src/components/testimonial/Testimonial.tsx +64 -0
- package/src/components/testimonial/index.ts +2 -0
- package/src/components/textarea/Textarea.tsx +2 -6
- package/src/components/theme-toggle/ThemeToggle.test.tsx +41 -0
- package/src/components/theme-toggle/ThemeToggle.tsx +83 -0
- package/src/components/theme-toggle/index.ts +2 -0
- package/src/components/time-picker/TimePicker.test.tsx +7 -0
- package/src/components/time-picker/TimePicker.tsx +9 -4
- package/src/components/toast/Toaster.test.tsx +13 -2
- package/src/components/toast/Toaster.tsx +5 -2
- package/src/index.ts +31 -0
- package/src/manifests/accordion.manifest.json +1 -1
- package/src/manifests/alert.manifest.json +55 -9
- package/src/manifests/announcement-bar.manifest.json +108 -0
- package/src/manifests/app-shell.manifest.json +65 -1
- package/src/manifests/applied-filters.manifest.json +89 -0
- package/src/manifests/article-card.manifest.json +106 -0
- package/src/manifests/auth-layout.manifest.json +16 -3
- package/src/manifests/autocomplete.manifest.json +15 -1
- package/src/manifests/avatar.manifest.json +1 -1
- package/src/manifests/badge.manifest.json +12 -5
- package/src/manifests/block.manifest.json +33 -8
- package/src/manifests/breadcrumb.manifest.json +32 -1
- package/src/manifests/button-group.manifest.json +23 -5
- package/src/manifests/button.manifest.json +25 -7
- package/src/manifests/card.manifest.json +1 -1
- package/src/manifests/checkbox.manifest.json +29 -8
- package/src/manifests/comparison-table.manifest.json +106 -0
- package/src/manifests/confirm-dialog.manifest.json +132 -0
- package/src/manifests/contact-strip.manifest.json +82 -0
- package/src/manifests/container.manifest.json +81 -0
- package/src/manifests/cta-section.manifest.json +154 -0
- package/src/manifests/data-table.manifest.json +51 -1
- package/src/manifests/date-picker.manifest.json +8 -1
- package/src/manifests/date-range-picker.manifest.json +103 -0
- package/src/manifests/dialog.manifest.json +8 -1
- package/src/manifests/drawer.manifest.json +57 -12
- package/src/manifests/empty-state.manifest.json +14 -1
- package/src/manifests/feature-grid.manifest.json +93 -0
- package/src/manifests/feature-row.manifest.json +111 -0
- package/src/manifests/fieldset.manifest.json +30 -8
- package/src/manifests/file-upload.manifest.json +22 -1
- package/src/manifests/filter-bar.manifest.json +29 -3
- package/src/manifests/filter-chips.manifest.json +98 -0
- package/src/manifests/filter-panel.manifest.json +130 -0
- package/src/manifests/flex.manifest.json +73 -16
- package/src/manifests/form-field.manifest.json +1 -1
- package/src/manifests/form-layout.manifest.json +36 -10
- package/src/manifests/form.manifest.json +25 -7
- package/src/manifests/grid.manifest.json +55 -15
- package/src/manifests/heading.manifest.json +29 -8
- package/src/manifests/hero.manifest.json +202 -0
- package/src/manifests/input-group.manifest.json +25 -6
- package/src/manifests/input.manifest.json +1 -1
- package/src/manifests/label.manifest.json +21 -5
- package/src/manifests/link-tabs.manifest.json +152 -0
- package/src/manifests/link.manifest.json +106 -0
- package/src/manifests/list.manifest.json +24 -9
- package/src/manifests/logo-cloud.manifest.json +107 -0
- package/src/manifests/menu.manifest.json +1 -1
- package/src/manifests/metric-card.manifest.json +2 -2
- package/src/manifests/multi-select.manifest.json +127 -0
- package/src/manifests/newsletter.manifest.json +130 -0
- package/src/manifests/page-header.manifest.json +54 -1
- package/src/manifests/pagination.manifest.json +30 -1
- package/src/manifests/password-input.manifest.json +1 -1
- package/src/manifests/popover.manifest.json +62 -10
- package/src/manifests/process-steps.manifest.json +83 -0
- package/src/manifests/progress.manifest.json +29 -5
- package/src/manifests/prose.manifest.json +75 -0
- package/src/manifests/radio.manifest.json +26 -7
- package/src/manifests/range-slider.manifest.json +145 -0
- package/src/manifests/search.manifest.json +48 -10
- package/src/manifests/section-heading.manifest.json +126 -0
- package/src/manifests/section.manifest.json +146 -0
- package/src/manifests/segmented-control.manifest.json +141 -0
- package/src/manifests/select-menu.manifest.json +1 -1
- package/src/manifests/select.manifest.json +23 -6
- package/src/manifests/separator.manifest.json +15 -5
- package/src/manifests/site-footer.manifest.json +122 -0
- package/src/manifests/site-header.manifest.json +192 -0
- package/src/manifests/skeleton.manifest.json +7 -1
- package/src/manifests/spinner.manifest.json +1 -1
- package/src/manifests/stat-band.manifest.json +116 -0
- package/src/manifests/stepper.manifest.json +1 -1
- package/src/manifests/switch.manifest.json +17 -5
- package/src/manifests/table-card.manifest.json +1 -1
- package/src/manifests/table-of-contents.manifest.json +99 -0
- package/src/manifests/table.manifest.json +47 -8
- package/src/manifests/tabs.manifest.json +1 -1
- package/src/manifests/testimonial.manifest.json +112 -0
- package/src/manifests/text.manifest.json +32 -8
- package/src/manifests/textarea.manifest.json +17 -5
- package/src/manifests/theme-toggle.manifest.json +118 -0
- package/src/manifests/time-picker.manifest.json +8 -1
- package/src/manifests/timeline.manifest.json +1 -1
- package/src/manifests/toast.manifest.json +8 -1
- package/src/manifests/tooltip.manifest.json +18 -5
- package/src/styles-full.css +9 -0
- package/src/styles.css +133 -0
- package/src/test/tailwind-v4.test.ts +103 -0
- package/src/utils/modal-layer.ts +43 -0
package/dist/index.d.ts
CHANGED
|
@@ -163,6 +163,8 @@ type SidebarItem = {
|
|
|
163
163
|
badge?: React.ReactNode;
|
|
164
164
|
/** Force the active state (otherwise activeHref is compared). */
|
|
165
165
|
active?: boolean;
|
|
166
|
+
/** Nested items — renders a collapsible group with aria-expanded. */
|
|
167
|
+
children?: SidebarItem[];
|
|
166
168
|
};
|
|
167
169
|
type SidebarSection = {
|
|
168
170
|
title?: string;
|
|
@@ -180,13 +182,22 @@ type SidebarProps = Omit<React.HTMLAttributes<HTMLElement>, 'children'> & {
|
|
|
180
182
|
linkComponent?: React.ElementType;
|
|
181
183
|
/** Accessible name of the nav landmark. Default 'Primary'. */
|
|
182
184
|
label?: string;
|
|
185
|
+
/** Show the collapse/expand control (icon-only rail when collapsed). */
|
|
186
|
+
collapsible?: boolean;
|
|
187
|
+
/** Initial collapsed state when uncontrolled. */
|
|
188
|
+
defaultCollapsed?: boolean;
|
|
189
|
+
/** Controlled collapsed state. */
|
|
190
|
+
collapsed?: boolean;
|
|
191
|
+
onCollapsedChange?: (collapsed: boolean) => void;
|
|
192
|
+
/** Groups open initially (in addition to groups containing the active route). */
|
|
193
|
+
defaultExpanded?: string[];
|
|
183
194
|
};
|
|
184
195
|
/**
|
|
185
|
-
* Sectioned navigation rail
|
|
186
|
-
*
|
|
187
|
-
*
|
|
196
|
+
* Sectioned navigation rail — now with nested groups and a collapsible
|
|
197
|
+
* icon-only mode. Purely presentational: you pass the active route and a
|
|
198
|
+
* router link component, so it stays stateless about routing.
|
|
188
199
|
*/
|
|
189
|
-
declare function Sidebar({ sections, heading, footer, activeHref, linkComponent, label, className, ...props }: SidebarProps): React.JSX.Element;
|
|
200
|
+
declare function Sidebar({ sections, heading, footer, activeHref, linkComponent, label, collapsible, defaultCollapsed, collapsed: collapsedProp, onCollapsedChange, defaultExpanded, className, ...props }: SidebarProps): React.JSX.Element;
|
|
190
201
|
type AppShellProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
191
202
|
/** Desktop rail; also rendered inside a mobile drawer. */
|
|
192
203
|
sidebar?: React.ReactNode;
|
|
@@ -196,26 +207,41 @@ type AppShellProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
196
207
|
hideMobileMenu?: boolean;
|
|
197
208
|
/** Tailwind width class for the desktop rail. Default 'w-64'. */
|
|
198
209
|
sidebarWidth?: string;
|
|
210
|
+
/** Breakpoint at which the rail switches to the mobile drawer. Default 'md'. */
|
|
211
|
+
mobileBreakpoint?: 'sm' | 'md' | 'lg';
|
|
212
|
+
/** Accessible label for the mobile menu button. Default 'Open navigation'. */
|
|
213
|
+
openNavigationLabel?: string;
|
|
214
|
+
/** Title of the mobile drawer. Default 'Navigation'. */
|
|
215
|
+
navigationTitle?: string;
|
|
199
216
|
};
|
|
200
217
|
/**
|
|
201
218
|
* Application frame: fixed-height sidebar, sticky header, scrolling main.
|
|
202
219
|
* On small screens the sidebar becomes a left Drawer opened by a burger
|
|
203
|
-
* button, so pages never need their own responsive nav wiring.
|
|
220
|
+
* button, so pages never need their own responsive nav wiring. A collapsed
|
|
221
|
+
* Sidebar (data-collapsed) shrinks the desktop rail automatically.
|
|
204
222
|
*/
|
|
205
|
-
declare function AppShell({ sidebar, header, hideMobileMenu, sidebarWidth, className, children, ...props }: AppShellProps): React.JSX.Element;
|
|
223
|
+
declare function AppShell({ sidebar, header, hideMobileMenu, sidebarWidth, mobileBreakpoint, openNavigationLabel, navigationTitle, className, children, ...props }: AppShellProps): React.JSX.Element;
|
|
206
224
|
|
|
207
225
|
declare const buttonVariants: (props?: ({
|
|
208
|
-
variant?: "
|
|
209
|
-
size?: "
|
|
226
|
+
variant?: "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "outline-destructive" | "outline-success" | "outline-warning" | "outline-info" | "secondary" | "ghost" | "link" | "contrast" | "onDark" | null | undefined;
|
|
227
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
210
228
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
211
229
|
type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof buttonVariants> & {
|
|
212
230
|
asChild?: boolean;
|
|
231
|
+
/** Shows a spinner, disables the button and sets aria-busy while an action runs. */
|
|
232
|
+
loading?: boolean;
|
|
233
|
+
/** Screen-reader text while loading (default "Loading"). */
|
|
234
|
+
loadingLabel?: string;
|
|
213
235
|
};
|
|
214
236
|
declare const Button: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: ({
|
|
215
|
-
variant?: "
|
|
216
|
-
size?: "
|
|
237
|
+
variant?: "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "outline-destructive" | "outline-success" | "outline-warning" | "outline-info" | "secondary" | "ghost" | "link" | "contrast" | "onDark" | null | undefined;
|
|
238
|
+
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
217
239
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
218
240
|
asChild?: boolean;
|
|
241
|
+
/** Shows a spinner, disables the button and sets aria-busy while an action runs. */
|
|
242
|
+
loading?: boolean;
|
|
243
|
+
/** Screen-reader text while loading (default "Loading"). */
|
|
244
|
+
loadingLabel?: string;
|
|
219
245
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
220
246
|
|
|
221
247
|
type ButtonGroupProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -273,25 +299,25 @@ declare const InputGroupAddon: React.ForwardRefExoticComponent<React.HTMLAttribu
|
|
|
273
299
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
274
300
|
|
|
275
301
|
declare const badgeVariants: (props?: ({
|
|
276
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
302
|
+
variant?: "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "secondary" | "neutral" | "accent" | null | undefined;
|
|
277
303
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
278
|
-
type BadgeProps = React.HTMLAttributes<
|
|
304
|
+
type BadgeProps = React.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeVariants> & {
|
|
279
305
|
/** Render the child element (e.g. a router Link) with badge styling. */
|
|
280
306
|
asChild?: boolean;
|
|
281
307
|
};
|
|
282
|
-
declare const Badge: React.ForwardRefExoticComponent<React.HTMLAttributes<
|
|
283
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
308
|
+
declare const Badge: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & VariantProps<(props?: ({
|
|
309
|
+
variant?: "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "secondary" | "neutral" | "accent" | null | undefined;
|
|
284
310
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
285
311
|
/** Render the child element (e.g. a router Link) with badge styling. */
|
|
286
312
|
asChild?: boolean;
|
|
287
|
-
} & React.RefAttributes<
|
|
313
|
+
} & React.RefAttributes<HTMLSpanElement>>;
|
|
288
314
|
|
|
289
315
|
declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
290
316
|
declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
|
|
291
317
|
declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
292
318
|
|
|
293
319
|
declare const spinnerVariants: (props?: ({
|
|
294
|
-
size?: "
|
|
320
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
295
321
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
296
322
|
type SpinnerProps = React.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof spinnerVariants> & {
|
|
297
323
|
/** Accessible label announced to screen readers; set aria-hidden when purely decorative. */
|
|
@@ -363,6 +389,8 @@ type ToasterProps = {
|
|
|
363
389
|
position?: ToasterPosition;
|
|
364
390
|
/** Accessible name of the live region. Default 'Notifications'. */
|
|
365
391
|
label?: string;
|
|
392
|
+
/** Accessible label for each dismiss button. Default 'Dismiss notification'. */
|
|
393
|
+
dismissLabel?: string;
|
|
366
394
|
/** Tint the toast surface with its status color (neutral by default). */
|
|
367
395
|
richColors?: boolean;
|
|
368
396
|
};
|
|
@@ -374,7 +402,7 @@ type ToasterProps = {
|
|
|
374
402
|
*
|
|
375
403
|
* The region is a polite live region, so announcements don't steal focus.
|
|
376
404
|
*/
|
|
377
|
-
declare function Toaster({ position, label, richColors }: ToasterProps): React.JSX.Element;
|
|
405
|
+
declare function Toaster({ position, label, dismissLabel, richColors }: ToasterProps): React.JSX.Element;
|
|
378
406
|
|
|
379
407
|
type DialogSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
380
408
|
type DialogProps = {
|
|
@@ -400,6 +428,8 @@ type DialogProps = {
|
|
|
400
428
|
closeOnBackdrop?: boolean;
|
|
401
429
|
/** Hide the close (✕) button in the header; Escape and backdrop still close. */
|
|
402
430
|
showClose?: boolean;
|
|
431
|
+
/** Accessible label for the close button (default "Close dialog"). */
|
|
432
|
+
closeLabel?: string;
|
|
403
433
|
/** Focused when the dialog opens; defaults to the first focusable element. */
|
|
404
434
|
initialFocusRef?: React.RefObject<HTMLElement | null>;
|
|
405
435
|
/** Accessible name when `title` is omitted (required with a custom header). */
|
|
@@ -435,7 +465,7 @@ declare function DialogFooter({ className, ...props }: DialogFooterProps): React
|
|
|
435
465
|
* `<DialogHeader>`/`<DialogTitle>`/`<DialogDescription>` (and an
|
|
436
466
|
* `ariaLabel` fallback) for full control.
|
|
437
467
|
*/
|
|
438
|
-
declare function Dialog({ open, onOpenChange, title, description, children, size, header, footer, scrollable, bodyClassName, closeOnBackdrop, showClose, initialFocusRef, ariaLabel, animate, }: DialogProps): React.ReactPortal | null;
|
|
468
|
+
declare function Dialog({ open, onOpenChange, title, description, children, size, header, footer, scrollable, bodyClassName, closeOnBackdrop, showClose, closeLabel, initialFocusRef, ariaLabel, animate, }: DialogProps): React.ReactPortal | null;
|
|
439
469
|
|
|
440
470
|
type DrawerSide = 'left' | 'right' | 'top' | 'bottom';
|
|
441
471
|
type DrawerSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
@@ -463,6 +493,8 @@ type DrawerProps = {
|
|
|
463
493
|
closeOnBackdrop?: boolean;
|
|
464
494
|
/** Hide the close (✕) button in the header (default true). */
|
|
465
495
|
showClose?: boolean;
|
|
496
|
+
/** Accessible label for the close button (default "Close drawer"). */
|
|
497
|
+
closeLabel?: string;
|
|
466
498
|
/** Focused when the drawer opens; defaults to the first focusable element. */
|
|
467
499
|
initialFocusRef?: React.RefObject<HTMLElement | null>;
|
|
468
500
|
/** Overrides the accessible name (defaults to the title). */
|
|
@@ -481,7 +513,7 @@ type DrawerProps = {
|
|
|
481
513
|
* restoration on close. Renders fixed to the chosen edge with a border
|
|
482
514
|
* against the backdrop.
|
|
483
515
|
*/
|
|
484
|
-
declare function Drawer({ open, onOpenChange, title, description, children, side, size, width, height, closeOnBackdrop, showClose, initialFocusRef, ariaLabel, animate, }: DrawerProps): React.ReactPortal | null;
|
|
516
|
+
declare function Drawer({ open, onOpenChange, title, description, children, side, size, width, height, closeOnBackdrop, showClose, closeLabel, initialFocusRef, ariaLabel, animate, }: DrawerProps): React.ReactPortal | null;
|
|
485
517
|
|
|
486
518
|
type SelectOption = {
|
|
487
519
|
value: string;
|
|
@@ -492,10 +524,10 @@ type SelectOptionGroup = {
|
|
|
492
524
|
label: string;
|
|
493
525
|
options: SelectOption[];
|
|
494
526
|
};
|
|
495
|
-
type SelectProps = Omit<React.SelectHTMLAttributes<HTMLSelectElement>, '
|
|
496
|
-
/** Flat options. Ignored when `groups` is provided. */
|
|
527
|
+
type SelectProps = Omit<React.SelectHTMLAttributes<HTMLSelectElement>, 'value' | 'defaultValue' | 'multiple'> & {
|
|
528
|
+
/** Flat options. Ignored when `groups` is provided. Takes precedence over `children`. */
|
|
497
529
|
options?: SelectOption[];
|
|
498
|
-
/** Optgroups with a heading per section. */
|
|
530
|
+
/** Optgroups with a heading per section. Takes precedence over `options` and `children`. */
|
|
499
531
|
groups?: SelectOptionGroup[];
|
|
500
532
|
label?: string;
|
|
501
533
|
/** Renders a disabled empty option — the native "choose one" affordance. */
|
|
@@ -504,18 +536,22 @@ type SelectProps = Omit<React.SelectHTMLAttributes<HTMLSelectElement>, 'onChange
|
|
|
504
536
|
multiple?: boolean;
|
|
505
537
|
value?: string | string[];
|
|
506
538
|
defaultValue?: string | string[];
|
|
507
|
-
|
|
539
|
+
/** Native change event - compatible with react-hook-form's register(). */
|
|
540
|
+
onChange?: React.ChangeEventHandler<HTMLSelectElement>;
|
|
541
|
+
/** Value-based callback for controlled usage. */
|
|
542
|
+
onValueChange?: (value: string | string[]) => void;
|
|
508
543
|
};
|
|
509
544
|
/**
|
|
510
545
|
* Accessible select primitive built on the native <select>: full keyboard,
|
|
511
546
|
* screen-reader and mobile platform behavior comes from the platform rather
|
|
512
|
-
* than a re-implemented listbox.
|
|
513
|
-
* placeholder
|
|
547
|
+
* than a re-implemented listbox. Accepts flat `options`, `groups`, a
|
|
548
|
+
* `placeholder` row, native multi-select (string[] contract), or plain
|
|
549
|
+
* <option>/<optgroup> children for dynamic lists.
|
|
514
550
|
*/
|
|
515
|
-
declare const Select: React.ForwardRefExoticComponent<Omit<React.SelectHTMLAttributes<HTMLSelectElement>, "
|
|
516
|
-
/** Flat options. Ignored when `groups` is provided. */
|
|
551
|
+
declare const Select: React.ForwardRefExoticComponent<Omit<React.SelectHTMLAttributes<HTMLSelectElement>, "value" | "defaultValue" | "multiple"> & {
|
|
552
|
+
/** Flat options. Ignored when `groups` is provided. Takes precedence over `children`. */
|
|
517
553
|
options?: SelectOption[];
|
|
518
|
-
/** Optgroups with a heading per section. */
|
|
554
|
+
/** Optgroups with a heading per section. Takes precedence over `options` and `children`. */
|
|
519
555
|
groups?: SelectOptionGroup[];
|
|
520
556
|
label?: string;
|
|
521
557
|
/** Renders a disabled empty option — the native "choose one" affordance. */
|
|
@@ -524,7 +560,10 @@ declare const Select: React.ForwardRefExoticComponent<Omit<React.SelectHTMLAttri
|
|
|
524
560
|
multiple?: boolean;
|
|
525
561
|
value?: string | string[];
|
|
526
562
|
defaultValue?: string | string[];
|
|
527
|
-
|
|
563
|
+
/** Native change event - compatible with react-hook-form's register(). */
|
|
564
|
+
onChange?: React.ChangeEventHandler<HTMLSelectElement>;
|
|
565
|
+
/** Value-based callback for controlled usage. */
|
|
566
|
+
onValueChange?: (value: string | string[]) => void;
|
|
528
567
|
} & React.RefAttributes<HTMLSelectElement>>;
|
|
529
568
|
|
|
530
569
|
type TableCardProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -599,7 +638,7 @@ type SelectMenuProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'valu
|
|
|
599
638
|
* active option, Home/End jump, Enter/Space selects, Escape closes, and
|
|
600
639
|
* first-letter typeahead jumps to matching options.
|
|
601
640
|
*/
|
|
602
|
-
declare const SelectMenu: React.ForwardRefExoticComponent<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "
|
|
641
|
+
declare const SelectMenu: React.ForwardRefExoticComponent<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "value" | "defaultValue" | "children" | "onChange"> & {
|
|
603
642
|
items: SelectMenuItem[];
|
|
604
643
|
/** Selected value(s): a string, or string[] when multiple. */
|
|
605
644
|
value?: string | string[];
|
|
@@ -631,6 +670,8 @@ type SearchOption = {
|
|
|
631
670
|
type SearchProps = {
|
|
632
671
|
/** The full option set; filtered client-side as the user types. */
|
|
633
672
|
options: SearchOption[];
|
|
673
|
+
/** Controlled selected value (display follows it). null clears the selection. */
|
|
674
|
+
value?: string | null;
|
|
634
675
|
/** Initially selected option value. Selection is reported via onValueChange. */
|
|
635
676
|
defaultValue?: string;
|
|
636
677
|
/** Called with the selected option's value. */
|
|
@@ -638,6 +679,8 @@ type SearchProps = {
|
|
|
638
679
|
placeholder?: string;
|
|
639
680
|
/** Shown when no option matches the query. */
|
|
640
681
|
emptyText?: string;
|
|
682
|
+
/** Accessible label for the results listbox. Default 'Search results'. */
|
|
683
|
+
listLabel?: string;
|
|
641
684
|
disabled?: boolean;
|
|
642
685
|
id?: string;
|
|
643
686
|
name?: string;
|
|
@@ -651,7 +694,7 @@ type SearchProps = {
|
|
|
651
694
|
* defaultValue). The listbox portals to document.body with fixed
|
|
652
695
|
* positioning, so scrollable containers never clip it.
|
|
653
696
|
*/
|
|
654
|
-
declare function Search({ options, defaultValue, onValueChange, placeholder, emptyText, disabled, id, name, className, 'aria-label': ariaLabel, }: SearchProps): React.JSX.Element;
|
|
697
|
+
declare function Search({ options, value, defaultValue, onValueChange, placeholder, emptyText, listLabel, disabled, id, name, className, 'aria-label': ariaLabel, }: SearchProps): React.JSX.Element;
|
|
655
698
|
|
|
656
699
|
type ComboboxItem = {
|
|
657
700
|
value: string;
|
|
@@ -732,6 +775,10 @@ type AutocompleteProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'valu
|
|
|
732
775
|
}) => React.ReactNode;
|
|
733
776
|
/** Show a clear button once there is text. */
|
|
734
777
|
clearable?: boolean;
|
|
778
|
+
/** Accessible label for the clear button. Default 'Clear input'. */
|
|
779
|
+
clearLabel?: string;
|
|
780
|
+
/** Accessible label for the suggestion listbox. Default 'Suggestions'. */
|
|
781
|
+
suggestionsLabel?: string;
|
|
735
782
|
/** Shown when no option matches. */
|
|
736
783
|
emptyText?: string;
|
|
737
784
|
/** Shown while async options load. */
|
|
@@ -751,9 +798,9 @@ type NormalizedOption = {
|
|
|
751
798
|
* portalled listbox (grouped, optional async loading, custom rows).
|
|
752
799
|
* Arrow keys highlight, Enter accepts, Escape dismisses.
|
|
753
800
|
*/
|
|
754
|
-
declare function Autocomplete({ value, defaultValue, onValueChange, options, suggestions, loadOptions, renderOption, clearable, emptyText, loadingText, debounceMs, placeholder, id, name, className, onKeyDown, onFocus, ...inputProps }: AutocompleteProps): React.JSX.Element;
|
|
801
|
+
declare function Autocomplete({ value, defaultValue, onValueChange, options, suggestions, loadOptions, renderOption, clearable, clearLabel, suggestionsLabel, emptyText, loadingText, debounceMs, placeholder, id, name, className, onKeyDown, onFocus, ...inputProps }: AutocompleteProps): React.JSX.Element;
|
|
755
802
|
|
|
756
|
-
type CheckboxProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'
|
|
803
|
+
type CheckboxProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> & {
|
|
757
804
|
/** Controlled checked state; omit for uncontrolled usage. */
|
|
758
805
|
checked?: boolean;
|
|
759
806
|
/** Fired when the user toggles the checkbox. */
|
|
@@ -764,7 +811,7 @@ type CheckboxProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' |
|
|
|
764
811
|
* screen-reader behavior comes from the platform. Visual state is drawn
|
|
765
812
|
* with a CSS overlay so the native input stays the source of truth.
|
|
766
813
|
*/
|
|
767
|
-
declare const Checkbox: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"
|
|
814
|
+
declare const Checkbox: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> & {
|
|
768
815
|
/** Controlled checked state; omit for uncontrolled usage. */
|
|
769
816
|
checked?: boolean;
|
|
770
817
|
/** Fired when the user toggles the checkbox. */
|
|
@@ -804,14 +851,14 @@ type CheckboxGroupItemProps = Omit<React.InputHTMLAttributes<HTMLInputElement>,
|
|
|
804
851
|
label?: string;
|
|
805
852
|
};
|
|
806
853
|
/** A single multi-select option inside a `CheckboxGroup`. */
|
|
807
|
-
declare const CheckboxGroupItem: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "name" | "type" | "
|
|
854
|
+
declare const CheckboxGroupItem: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "name" | "type" | "value" | "onChange" | "checked"> & {
|
|
808
855
|
/** The value this item contributes to the selection. */
|
|
809
856
|
value: string;
|
|
810
857
|
/** Visible label rendered next to the checkbox. */
|
|
811
858
|
label?: string;
|
|
812
859
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
813
860
|
|
|
814
|
-
type RadioProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'
|
|
861
|
+
type RadioProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'> & {
|
|
815
862
|
/** Controlled checked state; omit for uncontrolled usage. */
|
|
816
863
|
checked?: boolean;
|
|
817
864
|
/** Fired when the user selects this radio. */
|
|
@@ -822,7 +869,7 @@ type RadioProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type' | 'on
|
|
|
822
869
|
* `RadioGroup` (which provides the shared `name`). Platform keyboard
|
|
823
870
|
* navigation and form semantics come for free.
|
|
824
871
|
*/
|
|
825
|
-
declare const Radio: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"
|
|
872
|
+
declare const Radio: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> & {
|
|
826
873
|
/** Controlled checked state; omit for uncontrolled usage. */
|
|
827
874
|
checked?: boolean;
|
|
828
875
|
/** Fired when the user selects this radio. */
|
|
@@ -866,7 +913,7 @@ type RadioGroupItemProps = Omit<RadioProps, 'name' | 'checked' | 'onCheckedChang
|
|
|
866
913
|
label?: string;
|
|
867
914
|
};
|
|
868
915
|
/** A single radio option inside a `RadioGroup`. */
|
|
869
|
-
declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioProps, "name" | "
|
|
916
|
+
declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioProps, "name" | "value" | "checked" | "onCheckedChange"> & {
|
|
870
917
|
/** The value this item contributes to the group. */
|
|
871
918
|
value: string;
|
|
872
919
|
/** Visible label rendered next to the radio. */
|
|
@@ -896,23 +943,13 @@ type RadioCardProps = {
|
|
|
896
943
|
*/
|
|
897
944
|
declare const RadioCard: React.ForwardRefExoticComponent<RadioCardProps & React.RefAttributes<HTMLLabelElement>>;
|
|
898
945
|
|
|
899
|
-
type TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement
|
|
900
|
-
/** Controlled value; omit for uncontrolled usage. */
|
|
901
|
-
value?: string;
|
|
902
|
-
/** Fired when the content changes. */
|
|
903
|
-
onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
904
|
-
};
|
|
946
|
+
type TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement>;
|
|
905
947
|
/**
|
|
906
948
|
* Multi-line text input styled to match `Input`. Wraps the native
|
|
907
949
|
* <textarea> so form semantics, IME support, and validation bubbles
|
|
908
950
|
* behave exactly as users expect.
|
|
909
951
|
*/
|
|
910
|
-
declare const Textarea: React.ForwardRefExoticComponent<React.
|
|
911
|
-
/** Controlled value; omit for uncontrolled usage. */
|
|
912
|
-
value?: string;
|
|
913
|
-
/** Fired when the content changes. */
|
|
914
|
-
onChange?: (event: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
915
|
-
} & React.RefAttributes<HTMLTextAreaElement>>;
|
|
952
|
+
declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
916
953
|
|
|
917
954
|
type LabelProps = React.LabelHTMLAttributes<HTMLLabelElement>;
|
|
918
955
|
/**
|
|
@@ -960,7 +997,7 @@ type FormFieldProps = {
|
|
|
960
997
|
* announced via role=alert.
|
|
961
998
|
*/
|
|
962
999
|
error?: string;
|
|
963
|
-
/** Renders the required marker
|
|
1000
|
+
/** Renders the required marker next to the label. Pass `required` to the control for native validation. */
|
|
964
1001
|
required?: boolean;
|
|
965
1002
|
/** Keeps the label for assistive tech but hides it visually. */
|
|
966
1003
|
labelHidden?: boolean;
|
|
@@ -1053,6 +1090,8 @@ type SwitchProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onChange
|
|
|
1053
1090
|
defaultChecked?: boolean;
|
|
1054
1091
|
/** Fired when the user toggles the switch. */
|
|
1055
1092
|
onCheckedChange?: (checked: boolean) => void;
|
|
1093
|
+
/** Name for form submission - renders a hidden checkbox that reflects the state. */
|
|
1094
|
+
name?: string;
|
|
1056
1095
|
};
|
|
1057
1096
|
/**
|
|
1058
1097
|
* Toggle switch for binary settings. Rendered as a button with
|
|
@@ -1066,6 +1105,8 @@ declare const Switch: React.ForwardRefExoticComponent<Omit<React.ButtonHTMLAttri
|
|
|
1066
1105
|
defaultChecked?: boolean;
|
|
1067
1106
|
/** Fired when the user toggles the switch. */
|
|
1068
1107
|
onCheckedChange?: (checked: boolean) => void;
|
|
1108
|
+
/** Name for form submission - renders a hidden checkbox that reflects the state. */
|
|
1109
|
+
name?: string;
|
|
1069
1110
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
1070
1111
|
|
|
1071
1112
|
declare const separatorVariants: (props?: ({
|
|
@@ -1112,6 +1153,11 @@ type SkeletonProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
1112
1153
|
width?: string;
|
|
1113
1154
|
/** Corner rounding preset (default 'md'). */
|
|
1114
1155
|
rounded?: keyof typeof roundedClasses;
|
|
1156
|
+
/**
|
|
1157
|
+
* Optional loading announcement. When set, the block becomes a `status`
|
|
1158
|
+
* region instead of decorative; leave unset for visual-only placeholders.
|
|
1159
|
+
*/
|
|
1160
|
+
label?: string;
|
|
1115
1161
|
};
|
|
1116
1162
|
/**
|
|
1117
1163
|
* Loading placeholder that mirrors the shape of upcoming content.
|
|
@@ -1126,6 +1172,11 @@ declare const Skeleton: React.ForwardRefExoticComponent<React.HTMLAttributes<HTM
|
|
|
1126
1172
|
width?: string;
|
|
1127
1173
|
/** Corner rounding preset (default 'md'). */
|
|
1128
1174
|
rounded?: keyof typeof roundedClasses;
|
|
1175
|
+
/**
|
|
1176
|
+
* Optional loading announcement. When set, the block becomes a `status`
|
|
1177
|
+
* region instead of decorative; leave unset for visual-only placeholders.
|
|
1178
|
+
*/
|
|
1179
|
+
label?: string;
|
|
1129
1180
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
1130
1181
|
|
|
1131
1182
|
type ProgressProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -1135,6 +1186,10 @@ type ProgressProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
1135
1186
|
max?: number;
|
|
1136
1187
|
/** Accessible label announced by screen readers. */
|
|
1137
1188
|
label?: string;
|
|
1189
|
+
/** Extra classes for the filled indicator (e.g. a semantic color). */
|
|
1190
|
+
indicatorClassName?: string;
|
|
1191
|
+
/** Inline styles for the filled indicator (e.g. a data-viz color). */
|
|
1192
|
+
indicatorStyle?: React.CSSProperties;
|
|
1138
1193
|
};
|
|
1139
1194
|
/**
|
|
1140
1195
|
* Determinate progress bar. Exposes `role="progressbar"` with
|
|
@@ -1148,6 +1203,10 @@ declare const Progress: React.ForwardRefExoticComponent<React.HTMLAttributes<HTM
|
|
|
1148
1203
|
max?: number;
|
|
1149
1204
|
/** Accessible label announced by screen readers. */
|
|
1150
1205
|
label?: string;
|
|
1206
|
+
/** Extra classes for the filled indicator (e.g. a semantic color). */
|
|
1207
|
+
indicatorClassName?: string;
|
|
1208
|
+
/** Inline styles for the filled indicator (e.g. a data-viz color). */
|
|
1209
|
+
indicatorStyle?: React.CSSProperties;
|
|
1151
1210
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
1152
1211
|
|
|
1153
1212
|
type TabsVariant = 'default' | 'underline' | 'rounded';
|
|
@@ -1194,6 +1253,97 @@ declare const TabsContent: React.ForwardRefExoticComponent<React.HTMLAttributes<
|
|
|
1194
1253
|
value: string;
|
|
1195
1254
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
1196
1255
|
|
|
1256
|
+
type LinkTabsVariant = 'default' | 'underline' | 'rounded';
|
|
1257
|
+
type LinkTabsSize = 'sm' | 'md' | 'lg';
|
|
1258
|
+
type LinkTabsItem = {
|
|
1259
|
+
/** Visible tab label. */
|
|
1260
|
+
label: string;
|
|
1261
|
+
/** Destination URL. */
|
|
1262
|
+
href: string;
|
|
1263
|
+
/** Match only the exact path instead of a prefix. */
|
|
1264
|
+
exact?: boolean;
|
|
1265
|
+
/** Optional leading icon. */
|
|
1266
|
+
icon?: React.ReactNode;
|
|
1267
|
+
/** Render a disabled, non-interactive tab. */
|
|
1268
|
+
disabled?: boolean;
|
|
1269
|
+
};
|
|
1270
|
+
type LinkTabsProps = Omit<React.HTMLAttributes<HTMLElement>, 'children'> & {
|
|
1271
|
+
/** Tabs in display order. */
|
|
1272
|
+
items: LinkTabsItem[];
|
|
1273
|
+
/** Current pathname, used to mark the active tab. */
|
|
1274
|
+
activeHref?: string;
|
|
1275
|
+
/** Router link element (Inertia Link, Next Link, react-router Link). Defaults to `<a>`. */
|
|
1276
|
+
linkComponent?: React.ElementType;
|
|
1277
|
+
/**
|
|
1278
|
+
* Prop used to pass the destination to `linkComponent`. `href` covers
|
|
1279
|
+
* anchors and Next.js Link; `to` covers react-router and similar routers.
|
|
1280
|
+
*/
|
|
1281
|
+
linkHrefProp?: 'href' | 'to';
|
|
1282
|
+
/** Visual style. */
|
|
1283
|
+
variant?: LinkTabsVariant;
|
|
1284
|
+
/** Control density. */
|
|
1285
|
+
size?: LinkTabsSize;
|
|
1286
|
+
/** Accessible name for the navigation landmark. Default "Section". */
|
|
1287
|
+
label?: string;
|
|
1288
|
+
};
|
|
1289
|
+
/**
|
|
1290
|
+
* Navigation tabs for route-based sections. Unlike `Tabs` (which switches
|
|
1291
|
+
* client-side panels), `LinkTabs` renders real links and marks the current
|
|
1292
|
+
* route with `aria-current="page"` - the correct pattern for URL-driven
|
|
1293
|
+
* sub-navigation such as settings, account, or app sections.
|
|
1294
|
+
*/
|
|
1295
|
+
declare const LinkTabs: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement>, "children"> & {
|
|
1296
|
+
/** Tabs in display order. */
|
|
1297
|
+
items: LinkTabsItem[];
|
|
1298
|
+
/** Current pathname, used to mark the active tab. */
|
|
1299
|
+
activeHref?: string;
|
|
1300
|
+
/** Router link element (Inertia Link, Next Link, react-router Link). Defaults to `<a>`. */
|
|
1301
|
+
linkComponent?: React.ElementType;
|
|
1302
|
+
/**
|
|
1303
|
+
* Prop used to pass the destination to `linkComponent`. `href` covers
|
|
1304
|
+
* anchors and Next.js Link; `to` covers react-router and similar routers.
|
|
1305
|
+
*/
|
|
1306
|
+
linkHrefProp?: "href" | "to";
|
|
1307
|
+
/** Visual style. */
|
|
1308
|
+
variant?: LinkTabsVariant;
|
|
1309
|
+
/** Control density. */
|
|
1310
|
+
size?: LinkTabsSize;
|
|
1311
|
+
/** Accessible name for the navigation landmark. Default "Section". */
|
|
1312
|
+
label?: string;
|
|
1313
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
1314
|
+
|
|
1315
|
+
type ThemeToggleProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onChange'> & {
|
|
1316
|
+
/** Current theme. */
|
|
1317
|
+
theme: 'light' | 'dark';
|
|
1318
|
+
/** Fired with the next theme when the user toggles. */
|
|
1319
|
+
onThemeChange: (theme: 'light' | 'dark') => void;
|
|
1320
|
+
/** Accessible labels for the action that will happen next. */
|
|
1321
|
+
labels?: {
|
|
1322
|
+
toLight?: string;
|
|
1323
|
+
toDark?: string;
|
|
1324
|
+
};
|
|
1325
|
+
/** Control size. */
|
|
1326
|
+
size?: 'sm' | 'md';
|
|
1327
|
+
};
|
|
1328
|
+
/**
|
|
1329
|
+
* Presentational light/dark toggle. The consumer owns persistence and the
|
|
1330
|
+
* actual class/attribute switch; this component only renders the control,
|
|
1331
|
+
* the accessible label, and the sun/moon state.
|
|
1332
|
+
*/
|
|
1333
|
+
declare const ThemeToggle: React.ForwardRefExoticComponent<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange"> & {
|
|
1334
|
+
/** Current theme. */
|
|
1335
|
+
theme: "light" | "dark";
|
|
1336
|
+
/** Fired with the next theme when the user toggles. */
|
|
1337
|
+
onThemeChange: (theme: "light" | "dark") => void;
|
|
1338
|
+
/** Accessible labels for the action that will happen next. */
|
|
1339
|
+
labels?: {
|
|
1340
|
+
toLight?: string;
|
|
1341
|
+
toDark?: string;
|
|
1342
|
+
};
|
|
1343
|
+
/** Control size. */
|
|
1344
|
+
size?: "sm" | "md";
|
|
1345
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
1346
|
+
|
|
1197
1347
|
type TooltipProps = {
|
|
1198
1348
|
/** The tooltip text. */
|
|
1199
1349
|
content: string;
|
|
@@ -1241,6 +1391,173 @@ type CardFooterProps = React.HTMLAttributes<HTMLDivElement>;
|
|
|
1241
1391
|
/** Footer section of a Card; typically contains actions. */
|
|
1242
1392
|
declare const CardFooter: React.ForwardRefExoticComponent<CardFooterProps & React.RefAttributes<HTMLDivElement>>;
|
|
1243
1393
|
|
|
1394
|
+
type ConfirmDialogProps = {
|
|
1395
|
+
open: boolean;
|
|
1396
|
+
onOpenChange: (open: boolean) => void;
|
|
1397
|
+
title: string;
|
|
1398
|
+
description?: string;
|
|
1399
|
+
/** Confirm button label. Default 'Confirm'. */
|
|
1400
|
+
confirmLabel?: string;
|
|
1401
|
+
/** Cancel button label. Default 'Cancel'. */
|
|
1402
|
+
cancelLabel?: string;
|
|
1403
|
+
/** Destructive confirmation (red confirm button + destructive panel accent). */
|
|
1404
|
+
destructive?: boolean;
|
|
1405
|
+
/**
|
|
1406
|
+
* Confirm handler. Return a promise to show a pending state; the dialog
|
|
1407
|
+
* closes automatically when it resolves unless `closeOnConfirm` is false.
|
|
1408
|
+
*/
|
|
1409
|
+
onConfirm: () => void | Promise<void>;
|
|
1410
|
+
closeOnConfirm?: boolean;
|
|
1411
|
+
/** Extra body content above the actions. */
|
|
1412
|
+
children?: React.ReactNode;
|
|
1413
|
+
};
|
|
1414
|
+
/**
|
|
1415
|
+
* Accessible confirmation dialog built on Dialog: focus trap, Escape,
|
|
1416
|
+
* backdrop dismissal and focus restoration come from the primitive, plus a
|
|
1417
|
+
* pending state for async confirmations (79 hand-rolled confirm modals in
|
|
1418
|
+
* the audited apps use this exact shape).
|
|
1419
|
+
*/
|
|
1420
|
+
declare function ConfirmDialog({ open, onOpenChange, title, description, confirmLabel, cancelLabel, destructive, onConfirm, closeOnConfirm, children, }: ConfirmDialogProps): React.JSX.Element;
|
|
1421
|
+
|
|
1422
|
+
type TocHeading = {
|
|
1423
|
+
id: string;
|
|
1424
|
+
text: string;
|
|
1425
|
+
level: 2 | 3 | 4;
|
|
1426
|
+
};
|
|
1427
|
+
type TableOfContentsProps = React.HTMLAttributes<HTMLElement> & {
|
|
1428
|
+
headings: TocHeading[];
|
|
1429
|
+
/** Controlled active heading id (otherwise use `useScrollSpy`). */
|
|
1430
|
+
activeId?: string;
|
|
1431
|
+
/** Accessible name. Default 'On this page'. */
|
|
1432
|
+
label?: string;
|
|
1433
|
+
/** Accessible name for the nav landmark when it differs from the visible label. */
|
|
1434
|
+
ariaLabel?: string;
|
|
1435
|
+
/** Extra classes for the visible label. */
|
|
1436
|
+
labelClassName?: string;
|
|
1437
|
+
/** Stick to the viewport while the article scrolls (default true). */
|
|
1438
|
+
sticky?: boolean;
|
|
1439
|
+
};
|
|
1440
|
+
/**
|
|
1441
|
+
* "On this page" navigation for long-form content. Renders a nested list
|
|
1442
|
+
* with indentation per heading level and aria-current on the active item.
|
|
1443
|
+
* Pair with `useScrollSpy` (or your own scroll tracking) for the active id.
|
|
1444
|
+
*/
|
|
1445
|
+
declare function TableOfContents({ headings, activeId, label, ariaLabel, labelClassName, sticky, className, ...props }: TableOfContentsProps): React.JSX.Element;
|
|
1446
|
+
/**
|
|
1447
|
+
* Tracks which of the given element ids is currently in view. Returns the
|
|
1448
|
+
* active id (the last heading scrolled past) and stays SSR-safe.
|
|
1449
|
+
*/
|
|
1450
|
+
declare function useScrollSpy(ids: string[], options?: {
|
|
1451
|
+
rootMargin?: string;
|
|
1452
|
+
}): string | undefined;
|
|
1453
|
+
|
|
1454
|
+
type ProseProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
1455
|
+
/** Type scale. Default 'md'. */
|
|
1456
|
+
size?: 'sm' | 'md' | 'lg';
|
|
1457
|
+
};
|
|
1458
|
+
/**
|
|
1459
|
+
* Long-form content typography for rendered markdown/MDX output.
|
|
1460
|
+
*
|
|
1461
|
+
* Self-contained (no @tailwindcss/typography dependency): element styles ride
|
|
1462
|
+
* on child selectors, so any MDX/remark renderer can drop its output inside.
|
|
1463
|
+
* Keeps the content pipeline (Shiki, KaTeX, Mermaid) untouched.
|
|
1464
|
+
*/
|
|
1465
|
+
declare const Prose: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
1466
|
+
/** Type scale. Default 'md'. */
|
|
1467
|
+
size?: "sm" | "md" | "lg";
|
|
1468
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1469
|
+
|
|
1470
|
+
type SiteFooterLink = {
|
|
1471
|
+
label: string;
|
|
1472
|
+
href: string;
|
|
1473
|
+
external?: boolean;
|
|
1474
|
+
};
|
|
1475
|
+
type SiteFooterColumn = {
|
|
1476
|
+
title: string;
|
|
1477
|
+
links: SiteFooterLink[];
|
|
1478
|
+
};
|
|
1479
|
+
type SiteFooterProps = React.HTMLAttributes<HTMLElement> & {
|
|
1480
|
+
/** Brand slot (logo/lockup). */
|
|
1481
|
+
brand?: React.ReactNode;
|
|
1482
|
+
/** Short line under the brand. */
|
|
1483
|
+
tagline?: string;
|
|
1484
|
+
columns: SiteFooterColumn[];
|
|
1485
|
+
/** Bottom bar (copyright, legal links). */
|
|
1486
|
+
legal?: React.ReactNode;
|
|
1487
|
+
/** Router link element. */
|
|
1488
|
+
linkComponent?: React.ElementType;
|
|
1489
|
+
/**
|
|
1490
|
+
* Prop used to pass the destination to `linkComponent`.
|
|
1491
|
+
* `href` (default) covers anchors and Next.js Link; `to` covers
|
|
1492
|
+
* react-router and other routers that use a `to` prop.
|
|
1493
|
+
*/
|
|
1494
|
+
linkHrefProp?: 'href' | 'to';
|
|
1495
|
+
/** Current route, used to mark the matching link with aria-current="page". */
|
|
1496
|
+
activeHref?: string;
|
|
1497
|
+
/** Prefix matching highlights /docs when on /docs/installation (default). */
|
|
1498
|
+
match?: 'prefix' | 'exact';
|
|
1499
|
+
};
|
|
1500
|
+
/**
|
|
1501
|
+
* Marketing footer: brand + tagline column, link columns, and a legal bar.
|
|
1502
|
+
* Router-agnostic through `linkComponent` + `linkHrefProp`; external links
|
|
1503
|
+
* get safe rel, and the current route is marked with aria-current.
|
|
1504
|
+
*/
|
|
1505
|
+
declare function SiteFooter({ brand, tagline, columns, legal, linkComponent, linkHrefProp, activeHref, match, className, ...props }: SiteFooterProps): React.JSX.Element;
|
|
1506
|
+
|
|
1507
|
+
type SiteNavItem = {
|
|
1508
|
+
href: string;
|
|
1509
|
+
label: string;
|
|
1510
|
+
/** Render with target=_blank + rel=noopener. */
|
|
1511
|
+
external?: boolean;
|
|
1512
|
+
};
|
|
1513
|
+
type SiteHeaderProps = React.HTMLAttributes<HTMLElement> & {
|
|
1514
|
+
/** Brand slot - logo/lockup or wordmark. Wrapped in a link to "/". */
|
|
1515
|
+
brand: React.ReactNode;
|
|
1516
|
+
/** Primary navigation items. */
|
|
1517
|
+
items: SiteNavItem[];
|
|
1518
|
+
/** Current route for active styling (aria-current="page"). */
|
|
1519
|
+
activeHref?: string;
|
|
1520
|
+
/**
|
|
1521
|
+
* Active matching: 'prefix' highlights /docs when on /docs/installation
|
|
1522
|
+
* (default - marketing), 'exact' only the identical href (app chrome).
|
|
1523
|
+
*/
|
|
1524
|
+
match?: 'prefix' | 'exact';
|
|
1525
|
+
/** Right-aligned actions (theme toggle, GitHub, CTA). */
|
|
1526
|
+
actions?: React.ReactNode;
|
|
1527
|
+
/** Actions rendered inside the mobile drawer; defaults to `actions`. */
|
|
1528
|
+
mobileActions?: React.ReactNode;
|
|
1529
|
+
/** Custom link element for routers (Next Link, react-router Link). */
|
|
1530
|
+
linkComponent?: React.ElementType;
|
|
1531
|
+
/**
|
|
1532
|
+
* Prop used to pass the destination to `linkComponent`.
|
|
1533
|
+
* `href` (default) covers anchors and Next.js Link; `to` covers
|
|
1534
|
+
* react-router and other routers that use a `to` prop.
|
|
1535
|
+
*/
|
|
1536
|
+
linkHrefProp?: 'href' | 'to';
|
|
1537
|
+
/** Accessible name for the brand link (default "Home"). */
|
|
1538
|
+
brandLabel?: string;
|
|
1539
|
+
/** Accessible name for the desktop navigation landmark (default "Main"). */
|
|
1540
|
+
navLabel?: string;
|
|
1541
|
+
/** Accessible name for the mobile navigation landmark (default "Mobile"). */
|
|
1542
|
+
mobileNavLabel?: string;
|
|
1543
|
+
/** Pin to the top (default true). */
|
|
1544
|
+
sticky?: boolean;
|
|
1545
|
+
/** Title of the mobile navigation drawer. Default 'Menu'. */
|
|
1546
|
+
mobileLabel?: string;
|
|
1547
|
+
/** Render the built-in mobile trigger and drawer (default true). Set false when the host owns mobile navigation. */
|
|
1548
|
+
showMobileTrigger?: boolean;
|
|
1549
|
+
/** Breakpoint where the horizontal navigation appears (default 'md'). */
|
|
1550
|
+
desktopBreakpoint?: 'md' | 'lg';
|
|
1551
|
+
/** Extra classes for the inner nav row (height, padding). */
|
|
1552
|
+
navClassName?: string;
|
|
1553
|
+
};
|
|
1554
|
+
/**
|
|
1555
|
+
* Marketing/site header: sticky bar with brand, horizontal navigation with
|
|
1556
|
+
* prefix-aware active states, right-aligned actions and a mobile drawer.
|
|
1557
|
+
* Router-agnostic through `linkComponent` + `linkHrefProp`.
|
|
1558
|
+
*/
|
|
1559
|
+
declare function SiteHeader({ brand, items, activeHref, match, actions, mobileActions, linkComponent, linkHrefProp, brandLabel, navLabel, mobileNavLabel, sticky, mobileLabel, showMobileTrigger, desktopBreakpoint, navClassName, className, ...props }: SiteHeaderProps): React.JSX.Element;
|
|
1560
|
+
|
|
1244
1561
|
type AccordionProps = {
|
|
1245
1562
|
/** Controlled open item ids. */
|
|
1246
1563
|
value?: string[];
|
|
@@ -1356,12 +1673,28 @@ type DataTableProps<T> = {
|
|
|
1356
1673
|
pageSize?: number;
|
|
1357
1674
|
/** Controlled page (1-based) when pageSize is set. */
|
|
1358
1675
|
page?: number;
|
|
1676
|
+
/** Total page count (manual/server pagination). */
|
|
1677
|
+
pageCount?: number;
|
|
1678
|
+
/** Total row count across all pages (summary + derived page count). */
|
|
1679
|
+
total?: number;
|
|
1680
|
+
/** Server pagination: render `data` as-is; don't slice or sort client-side. */
|
|
1681
|
+
manualPagination?: boolean;
|
|
1682
|
+
/** Selected row ids (controlled). Enables the leading selection column. */
|
|
1683
|
+
selectedRowIds?: string[];
|
|
1684
|
+
/** Fires with the full selection after a row or select-all toggle. */
|
|
1685
|
+
onSelectedRowIdsChange?: (ids: string[]) => void;
|
|
1686
|
+
/** Disable selection for individual rows. */
|
|
1687
|
+
isRowSelectable?: (row: T) => boolean;
|
|
1688
|
+
/** Rendered above the table while at least one row is selected. */
|
|
1689
|
+
bulkActions?: React.ReactNode;
|
|
1359
1690
|
/** Fires on page change (controlled or not). */
|
|
1360
1691
|
onPageChange?: (page: number) => void;
|
|
1361
1692
|
/** Click/keyboard activation on a row. */
|
|
1362
1693
|
onRowClick?: (row: T) => void;
|
|
1363
1694
|
/** Message shown when data is empty. */
|
|
1364
1695
|
emptyMessage?: string;
|
|
1696
|
+
/** Accessible label for the select-all checkbox (default "Select all rows"). */
|
|
1697
|
+
selectAllLabel?: string;
|
|
1365
1698
|
/** Pin the header while the body scrolls (needs a max-height on the wrapper via className). */
|
|
1366
1699
|
stickyHeader?: boolean;
|
|
1367
1700
|
/** Compact row density. */
|
|
@@ -1384,7 +1717,7 @@ type DataTableProps<T> = {
|
|
|
1384
1717
|
* aria-sort, cursor pagination when `pageSize` is set, and a friendly empty
|
|
1385
1718
|
* state — so most tables never need hand-rolled table code.
|
|
1386
1719
|
*/
|
|
1387
|
-
declare function DataTable<T>({ columns, data, rowId, caption, defaultSort, sortKey, sortDir, onSortChange, renderSortIcon, pageSize, page, onPageChange, onRowClick, emptyMessage, stickyHeader, density, zebra, loading, loadingRows, className, }: DataTableProps<T>): React.JSX.Element;
|
|
1720
|
+
declare function DataTable<T>({ columns, data, rowId, caption, defaultSort, sortKey, sortDir, onSortChange, renderSortIcon, pageSize, page, onPageChange, pageCount: pageCountProp, total, manualPagination, selectedRowIds, onSelectedRowIdsChange, isRowSelectable, bulkActions, onRowClick, emptyMessage, selectAllLabel, stickyHeader, density, zebra, loading, loadingRows, className, }: DataTableProps<T>): React.JSX.Element;
|
|
1388
1721
|
|
|
1389
1722
|
type ListProps = React.HTMLAttributes<HTMLUListElement> & {
|
|
1390
1723
|
/** Hairline dividers between rows. */
|
|
@@ -1419,8 +1752,8 @@ type ListItemProps = React.LiHTMLAttributes<HTMLLIElement> & {
|
|
|
1419
1752
|
* <button> so list semantics (ul > li) stay intact for assistive tech.
|
|
1420
1753
|
*/
|
|
1421
1754
|
onClick?: () => void;
|
|
1422
|
-
/** Secondary line under the main content. */
|
|
1423
|
-
description?:
|
|
1755
|
+
/** Secondary line under the main content; accepts rich meta (badges, dots). */
|
|
1756
|
+
description?: React.ReactNode;
|
|
1424
1757
|
/** Disables a pressable row. */
|
|
1425
1758
|
disabled?: boolean;
|
|
1426
1759
|
};
|
|
@@ -1437,12 +1770,45 @@ declare const ListItem: React.ForwardRefExoticComponent<React.LiHTMLAttributes<H
|
|
|
1437
1770
|
* <button> so list semantics (ul > li) stay intact for assistive tech.
|
|
1438
1771
|
*/
|
|
1439
1772
|
onClick?: () => void;
|
|
1440
|
-
/** Secondary line under the main content. */
|
|
1441
|
-
description?:
|
|
1773
|
+
/** Secondary line under the main content; accepts rich meta (badges, dots). */
|
|
1774
|
+
description?: React.ReactNode;
|
|
1442
1775
|
/** Disables a pressable row. */
|
|
1443
1776
|
disabled?: boolean;
|
|
1444
1777
|
} & React.RefAttributes<HTMLLIElement>>;
|
|
1445
1778
|
|
|
1779
|
+
declare const linkVariants: (props?: ({
|
|
1780
|
+
variant?: "default" | "muted" | "underline" | "arrow" | "external" | null | undefined;
|
|
1781
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1782
|
+
type LinkProps = React.AnchorHTMLAttributes<HTMLAnchorElement> & VariantProps<typeof linkVariants> & {
|
|
1783
|
+
/** Render the child element (router Link) with link styling. */
|
|
1784
|
+
asChild?: boolean;
|
|
1785
|
+
/**
|
|
1786
|
+
* Force external handling (target=_blank + rel). Absolute http(s) hrefs
|
|
1787
|
+
* are detected automatically; mailto:/tel: links never open a new tab.
|
|
1788
|
+
*/
|
|
1789
|
+
external?: boolean;
|
|
1790
|
+
};
|
|
1791
|
+
/**
|
|
1792
|
+
* Inline link primitive with the project's link variants. Keeps a real
|
|
1793
|
+
* `<a href>` (SEO, modified clicks, middle-click) and adds safe external
|
|
1794
|
+
* handling: absolute URLs get target="_blank" + rel="noopener noreferrer"
|
|
1795
|
+
* and a screen-reader note, unless `external={false}`.
|
|
1796
|
+
*
|
|
1797
|
+
* For client-side routing, wrap your router's link: `<Link asChild><RouterLink …/></Link>`.
|
|
1798
|
+
*/
|
|
1799
|
+
declare const Link: React.ForwardRefExoticComponent<React.AnchorHTMLAttributes<HTMLAnchorElement> & VariantProps<(props?: ({
|
|
1800
|
+
variant?: "default" | "muted" | "underline" | "arrow" | "external" | null | undefined;
|
|
1801
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
1802
|
+
/** Render the child element (router Link) with link styling. */
|
|
1803
|
+
asChild?: boolean;
|
|
1804
|
+
/**
|
|
1805
|
+
* Force external handling (target=_blank + rel). Absolute http(s) hrefs
|
|
1806
|
+
* are detected automatically; mailto:/tel: links never open a new tab.
|
|
1807
|
+
*/
|
|
1808
|
+
external?: boolean;
|
|
1809
|
+
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
1810
|
+
type LinkVariant = NonNullable<VariantProps<typeof linkVariants>['variant']>;
|
|
1811
|
+
|
|
1446
1812
|
declare const sizeClasses$1: {
|
|
1447
1813
|
readonly xs: "text-xs";
|
|
1448
1814
|
readonly sm: "text-sm";
|
|
@@ -1520,8 +1886,12 @@ type EmptyStateProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
1520
1886
|
description?: string;
|
|
1521
1887
|
/** Primary action (button/link). */
|
|
1522
1888
|
action?: React.ReactNode;
|
|
1889
|
+
/** Alias for `action` for codebases that pass a list of actions. */
|
|
1890
|
+
actions?: React.ReactNode;
|
|
1523
1891
|
/** Secondary action shown beside the primary one. */
|
|
1524
1892
|
secondaryAction?: React.ReactNode;
|
|
1893
|
+
/** Heading level for the title. Defaults to a paragraph. */
|
|
1894
|
+
titleAs?: 'p' | 'h2' | 'h3' | 'h4';
|
|
1525
1895
|
/** Compact padding for use inside panels and table bodies. */
|
|
1526
1896
|
size?: 'sm' | 'md';
|
|
1527
1897
|
};
|
|
@@ -1537,8 +1907,12 @@ declare const EmptyState: React.ForwardRefExoticComponent<React.HTMLAttributes<H
|
|
|
1537
1907
|
description?: string;
|
|
1538
1908
|
/** Primary action (button/link). */
|
|
1539
1909
|
action?: React.ReactNode;
|
|
1910
|
+
/** Alias for `action` for codebases that pass a list of actions. */
|
|
1911
|
+
actions?: React.ReactNode;
|
|
1540
1912
|
/** Secondary action shown beside the primary one. */
|
|
1541
1913
|
secondaryAction?: React.ReactNode;
|
|
1914
|
+
/** Heading level for the title. Defaults to a paragraph. */
|
|
1915
|
+
titleAs?: "p" | "h2" | "h3" | "h4";
|
|
1542
1916
|
/** Compact padding for use inside panels and table bodies. */
|
|
1543
1917
|
size?: "sm" | "md";
|
|
1544
1918
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1552,6 +1926,18 @@ type PageHeaderProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
1552
1926
|
actions?: React.ReactNode;
|
|
1553
1927
|
/** Small slot under the title row (tabs, filters). */
|
|
1554
1928
|
children?: React.ReactNode;
|
|
1929
|
+
/** Eyebrow/kicker above the title (category, date, overline). */
|
|
1930
|
+
eyebrow?: React.ReactNode;
|
|
1931
|
+
/** Heading scale - 'hero' is for marketing landing pages. */
|
|
1932
|
+
size?: 'sm' | 'md' | 'lg' | 'hero';
|
|
1933
|
+
/** Text alignment; hero marketing pages often center. */
|
|
1934
|
+
align?: 'left' | 'center';
|
|
1935
|
+
/** Extra classes for the h1, for host display typography. */
|
|
1936
|
+
titleClassName?: string;
|
|
1937
|
+
/** Extra classes for the description. */
|
|
1938
|
+
descriptionClassName?: string;
|
|
1939
|
+
/** Extra classes for the eyebrow. */
|
|
1940
|
+
eyebrowClassName?: string;
|
|
1555
1941
|
};
|
|
1556
1942
|
/**
|
|
1557
1943
|
* Standard page heading block: optional breadcrumbs, title, description and
|
|
@@ -1567,6 +1953,86 @@ declare const PageHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<H
|
|
|
1567
1953
|
actions?: React.ReactNode;
|
|
1568
1954
|
/** Small slot under the title row (tabs, filters). */
|
|
1569
1955
|
children?: React.ReactNode;
|
|
1956
|
+
/** Eyebrow/kicker above the title (category, date, overline). */
|
|
1957
|
+
eyebrow?: React.ReactNode;
|
|
1958
|
+
/** Heading scale - 'hero' is for marketing landing pages. */
|
|
1959
|
+
size?: "sm" | "md" | "lg" | "hero";
|
|
1960
|
+
/** Text alignment; hero marketing pages often center. */
|
|
1961
|
+
align?: "left" | "center";
|
|
1962
|
+
/** Extra classes for the h1, for host display typography. */
|
|
1963
|
+
titleClassName?: string;
|
|
1964
|
+
/** Extra classes for the description. */
|
|
1965
|
+
descriptionClassName?: string;
|
|
1966
|
+
/** Extra classes for the eyebrow. */
|
|
1967
|
+
eyebrowClassName?: string;
|
|
1968
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
1969
|
+
|
|
1970
|
+
/**
|
|
1971
|
+
* Router-agnostic document head descriptor.
|
|
1972
|
+
*
|
|
1973
|
+
* Build the metadata once, then let the consumer's router adapter apply it:
|
|
1974
|
+
*
|
|
1975
|
+
* Next.js -> return documentHead(...) from generateMetadata()
|
|
1976
|
+
* Inertia -> <Head title={head.title}><meta name="robots" ... /></Head>
|
|
1977
|
+
* React Router -> <meta title={head.title} /> or a head manager
|
|
1978
|
+
*
|
|
1979
|
+
* No runtime dependency, no DOM access, safe in server components.
|
|
1980
|
+
*/
|
|
1981
|
+
type DocumentHeadInput = {
|
|
1982
|
+
title: string;
|
|
1983
|
+
description?: string;
|
|
1984
|
+
canonical?: string;
|
|
1985
|
+
/** Emit `noindex, nofollow` instead of the default indexable pair. */
|
|
1986
|
+
noindex?: boolean;
|
|
1987
|
+
};
|
|
1988
|
+
type DocumentHead = {
|
|
1989
|
+
title: string;
|
|
1990
|
+
description?: string;
|
|
1991
|
+
canonical?: string;
|
|
1992
|
+
robots: string;
|
|
1993
|
+
};
|
|
1994
|
+
declare function documentHead({ title, description, canonical, noindex, }: DocumentHeadInput): DocumentHead;
|
|
1995
|
+
|
|
1996
|
+
type SectionHeadingProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
1997
|
+
title: string;
|
|
1998
|
+
description?: string;
|
|
1999
|
+
/** Kicker above the title (category, step, overline). */
|
|
2000
|
+
eyebrow?: React.ReactNode;
|
|
2001
|
+
/** Right-aligned actions (link to all, buttons). */
|
|
2002
|
+
actions?: React.ReactNode;
|
|
2003
|
+
/** Heading level rendered for the title (default h2). */
|
|
2004
|
+
level?: 2 | 3 | 4;
|
|
2005
|
+
align?: 'left' | 'center';
|
|
2006
|
+
size?: 'sm' | 'md' | 'lg';
|
|
2007
|
+
/** Extra classes for the title, for host typography (display fonts, scales). */
|
|
2008
|
+
titleClassName?: string;
|
|
2009
|
+
/** Extra classes for the description. */
|
|
2010
|
+
descriptionClassName?: string;
|
|
2011
|
+
/** Extra classes for the eyebrow. */
|
|
2012
|
+
eyebrowClassName?: string;
|
|
2013
|
+
};
|
|
2014
|
+
/**
|
|
2015
|
+
* Marketing/content section heading: eyebrow, title, description and an
|
|
2016
|
+
* actions slot, with heading level and alignment control. Complements
|
|
2017
|
+
* PageHeader (which owns the page's single h1).
|
|
2018
|
+
*/
|
|
2019
|
+
declare const SectionHeading: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
2020
|
+
title: string;
|
|
2021
|
+
description?: string;
|
|
2022
|
+
/** Kicker above the title (category, step, overline). */
|
|
2023
|
+
eyebrow?: React.ReactNode;
|
|
2024
|
+
/** Right-aligned actions (link to all, buttons). */
|
|
2025
|
+
actions?: React.ReactNode;
|
|
2026
|
+
/** Heading level rendered for the title (default h2). */
|
|
2027
|
+
level?: 2 | 3 | 4;
|
|
2028
|
+
align?: "left" | "center";
|
|
2029
|
+
size?: "sm" | "md" | "lg";
|
|
2030
|
+
/** Extra classes for the title, for host typography (display fonts, scales). */
|
|
2031
|
+
titleClassName?: string;
|
|
2032
|
+
/** Extra classes for the description. */
|
|
2033
|
+
descriptionClassName?: string;
|
|
2034
|
+
/** Extra classes for the eyebrow. */
|
|
2035
|
+
eyebrowClassName?: string;
|
|
1570
2036
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
1571
2037
|
|
|
1572
2038
|
type MetricTrend = 'up' | 'down' | 'flat';
|
|
@@ -1574,7 +2040,7 @@ type MetricCardProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
|
1574
2040
|
label: string;
|
|
1575
2041
|
value: string | number;
|
|
1576
2042
|
/** Secondary line under the value. */
|
|
1577
|
-
hint?:
|
|
2043
|
+
hint?: React.ReactNode;
|
|
1578
2044
|
/** Signed change, e.g. "+12.4%" or "-3". */
|
|
1579
2045
|
delta?: string;
|
|
1580
2046
|
/** Direction colors the delta (green up / red down / muted flat). */
|
|
@@ -1590,7 +2056,7 @@ declare const MetricCard: React.ForwardRefExoticComponent<Omit<React.HTMLAttribu
|
|
|
1590
2056
|
label: string;
|
|
1591
2057
|
value: string | number;
|
|
1592
2058
|
/** Secondary line under the value. */
|
|
1593
|
-
hint?:
|
|
2059
|
+
hint?: React.ReactNode;
|
|
1594
2060
|
/** Signed change, e.g. "+12.4%" or "-3". */
|
|
1595
2061
|
delta?: string;
|
|
1596
2062
|
/** Direction colors the delta (green up / red down / muted flat). */
|
|
@@ -1623,13 +2089,22 @@ type AuthLayoutProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
1623
2089
|
footer?: React.ReactNode;
|
|
1624
2090
|
/** Rendered inside the card under the heading. */
|
|
1625
2091
|
children?: React.ReactNode;
|
|
1626
|
-
/** Card width preset (default 'md'). */
|
|
2092
|
+
/** Card width preset (default 'md'). Ignored when the split variant falls back. */
|
|
1627
2093
|
size?: 'sm' | 'md' | 'lg';
|
|
2094
|
+
/** Layout preset. Default 'centered'. */
|
|
2095
|
+
variant?: 'centered' | 'split';
|
|
2096
|
+
/**
|
|
2097
|
+
* Optional panel rendered beside the card in the split variant. Ignored in
|
|
2098
|
+
* the centered variant; omitting it makes the split variant fall back.
|
|
2099
|
+
*/
|
|
2100
|
+
aside?: React.ReactNode;
|
|
1628
2101
|
};
|
|
1629
2102
|
/**
|
|
1630
|
-
*
|
|
1631
|
-
*
|
|
1632
|
-
*
|
|
2103
|
+
* Auth surface: brand mark, title/description, the form card and a footer
|
|
2104
|
+
* slot. The default centered variant is the single-column sign-in screen; the
|
|
2105
|
+
* split variant adds a branded aside beside the card on desktop and below it
|
|
2106
|
+
* on mobile. DOM order stays form, then aside, so keyboard and screen-reader
|
|
2107
|
+
* order remain correct.
|
|
1633
2108
|
*/
|
|
1634
2109
|
declare const AuthLayout: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
1635
2110
|
title: string;
|
|
@@ -1640,8 +2115,15 @@ declare const AuthLayout: React.ForwardRefExoticComponent<React.HTMLAttributes<H
|
|
|
1640
2115
|
footer?: React.ReactNode;
|
|
1641
2116
|
/** Rendered inside the card under the heading. */
|
|
1642
2117
|
children?: React.ReactNode;
|
|
1643
|
-
/** Card width preset (default 'md'). */
|
|
2118
|
+
/** Card width preset (default 'md'). Ignored when the split variant falls back. */
|
|
1644
2119
|
size?: "sm" | "md" | "lg";
|
|
2120
|
+
/** Layout preset. Default 'centered'. */
|
|
2121
|
+
variant?: "centered" | "split";
|
|
2122
|
+
/**
|
|
2123
|
+
* Optional panel rendered beside the card in the split variant. Ignored in
|
|
2124
|
+
* the centered variant; omitting it makes the split variant fall back.
|
|
2125
|
+
*/
|
|
2126
|
+
aside?: React.ReactNode;
|
|
1645
2127
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
1646
2128
|
|
|
1647
2129
|
type FilterBarProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
@@ -1655,6 +2137,14 @@ type FilterBarProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
1655
2137
|
/** Shows a reset button when provided (pass the active filter count for the label). */
|
|
1656
2138
|
onReset?: () => void;
|
|
1657
2139
|
activeCount?: number;
|
|
2140
|
+
/** Opens a filter panel or mobile filter drawer. */
|
|
2141
|
+
onOpenFilters?: () => void;
|
|
2142
|
+
/** Filter button label. Default "Filters". */
|
|
2143
|
+
filtersLabel?: string;
|
|
2144
|
+
/** Result count shown before the trailing slot. */
|
|
2145
|
+
resultsCount?: number;
|
|
2146
|
+
/** Noun for the result count. Default "results". */
|
|
2147
|
+
resultsLabel?: string;
|
|
1658
2148
|
/** Rendered at the far right (bulk actions, column settings). */
|
|
1659
2149
|
trailing?: React.ReactNode;
|
|
1660
2150
|
};
|
|
@@ -1674,11 +2164,19 @@ declare const FilterBar: React.ForwardRefExoticComponent<React.HTMLAttributes<HT
|
|
|
1674
2164
|
/** Shows a reset button when provided (pass the active filter count for the label). */
|
|
1675
2165
|
onReset?: () => void;
|
|
1676
2166
|
activeCount?: number;
|
|
2167
|
+
/** Opens a filter panel or mobile filter drawer. */
|
|
2168
|
+
onOpenFilters?: () => void;
|
|
2169
|
+
/** Filter button label. Default "Filters". */
|
|
2170
|
+
filtersLabel?: string;
|
|
2171
|
+
/** Result count shown before the trailing slot. */
|
|
2172
|
+
resultsCount?: number;
|
|
2173
|
+
/** Noun for the result count. Default "results". */
|
|
2174
|
+
resultsLabel?: string;
|
|
1677
2175
|
/** Rendered at the far right (bulk actions, column settings). */
|
|
1678
2176
|
trailing?: React.ReactNode;
|
|
1679
2177
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
1680
2178
|
|
|
1681
|
-
type DatePickerProps = Omit<InputProps, 'type' | '
|
|
2179
|
+
type DatePickerProps = Omit<InputProps, 'type' | 'value' | 'defaultValue'> & {
|
|
1682
2180
|
/** ISO date string (YYYY-MM-DD) — controlled. */
|
|
1683
2181
|
value?: string;
|
|
1684
2182
|
/** ISO date string — initial value when uncontrolled. */
|
|
@@ -1687,13 +2185,15 @@ type DatePickerProps = Omit<InputProps, 'type' | 'onChange' | 'value' | 'default
|
|
|
1687
2185
|
onValueChange?: (value: string) => void;
|
|
1688
2186
|
/** Show a clear button once a date is selected. */
|
|
1689
2187
|
clearable?: boolean;
|
|
2188
|
+
/** Accessible label for the clear button. Default 'Clear date'. */
|
|
2189
|
+
clearLabel?: string;
|
|
1690
2190
|
};
|
|
1691
2191
|
/**
|
|
1692
2192
|
* Native date field with an ISO-string contract. Uses the platform picker
|
|
1693
2193
|
* (mobile date wheels, keyboard editing, locale formatting) rather than a
|
|
1694
2194
|
* custom calendar, so accessibility and input methods come for free.
|
|
1695
2195
|
*/
|
|
1696
|
-
declare const DatePicker: React.ForwardRefExoticComponent<Omit<InputProps, "type" | "
|
|
2196
|
+
declare const DatePicker: React.ForwardRefExoticComponent<Omit<InputProps, "type" | "value" | "defaultValue"> & {
|
|
1697
2197
|
/** ISO date string (YYYY-MM-DD) — controlled. */
|
|
1698
2198
|
value?: string;
|
|
1699
2199
|
/** ISO date string — initial value when uncontrolled. */
|
|
@@ -1702,9 +2202,11 @@ declare const DatePicker: React.ForwardRefExoticComponent<Omit<InputProps, "type
|
|
|
1702
2202
|
onValueChange?: (value: string) => void;
|
|
1703
2203
|
/** Show a clear button once a date is selected. */
|
|
1704
2204
|
clearable?: boolean;
|
|
2205
|
+
/** Accessible label for the clear button. Default 'Clear date'. */
|
|
2206
|
+
clearLabel?: string;
|
|
1705
2207
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
1706
2208
|
|
|
1707
|
-
type TimePickerProps = Omit<InputProps, 'type' | '
|
|
2209
|
+
type TimePickerProps = Omit<InputProps, 'type' | 'value' | 'defaultValue'> & {
|
|
1708
2210
|
/** "HH:MM" (24h) — controlled. */
|
|
1709
2211
|
value?: string;
|
|
1710
2212
|
/** "HH:MM" — initial value when uncontrolled. */
|
|
@@ -1713,12 +2215,14 @@ type TimePickerProps = Omit<InputProps, 'type' | 'onChange' | 'value' | 'default
|
|
|
1713
2215
|
onValueChange?: (value: string) => void;
|
|
1714
2216
|
/** Show a clear button once a time is selected. */
|
|
1715
2217
|
clearable?: boolean;
|
|
2218
|
+
/** Accessible label for the clear button. Default 'Clear time'. */
|
|
2219
|
+
clearLabel?: string;
|
|
1716
2220
|
};
|
|
1717
2221
|
/**
|
|
1718
2222
|
* Native time field with an "HH:MM" contract. The platform supplies the
|
|
1719
2223
|
* picker, keyboard editing and locale behavior.
|
|
1720
2224
|
*/
|
|
1721
|
-
declare const TimePicker: React.ForwardRefExoticComponent<Omit<InputProps, "type" | "
|
|
2225
|
+
declare const TimePicker: React.ForwardRefExoticComponent<Omit<InputProps, "type" | "value" | "defaultValue"> & {
|
|
1722
2226
|
/** "HH:MM" (24h) — controlled. */
|
|
1723
2227
|
value?: string;
|
|
1724
2228
|
/** "HH:MM" — initial value when uncontrolled. */
|
|
@@ -1727,6 +2231,8 @@ declare const TimePicker: React.ForwardRefExoticComponent<Omit<InputProps, "type
|
|
|
1727
2231
|
onValueChange?: (value: string) => void;
|
|
1728
2232
|
/** Show a clear button once a time is selected. */
|
|
1729
2233
|
clearable?: boolean;
|
|
2234
|
+
/** Accessible label for the clear button. Default 'Clear time'. */
|
|
2235
|
+
clearLabel?: string;
|
|
1730
2236
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
1731
2237
|
|
|
1732
2238
|
type StepperStep = {
|
|
@@ -1765,6 +2271,12 @@ type FileUploadProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'
|
|
|
1765
2271
|
/** Drag-and-drop area copy. */
|
|
1766
2272
|
label?: string;
|
|
1767
2273
|
hint?: string;
|
|
2274
|
+
/** Accessible label for the selected-files list. Default 'Selected files'. */
|
|
2275
|
+
selectedFilesLabel?: string;
|
|
2276
|
+
/** Accessible label for a file's remove button. Default `Remove <name>`. */
|
|
2277
|
+
removeLabel?: (file: File) => string;
|
|
2278
|
+
/** Accessible label for a file's upload progress. Default `Uploading <name>`. */
|
|
2279
|
+
uploadingLabel?: (file: File) => string;
|
|
1768
2280
|
/** Per-file progress (0-100) keyed by file name, rendered as a bar. */
|
|
1769
2281
|
progress?: Record<string, number>;
|
|
1770
2282
|
};
|
|
@@ -1774,7 +2286,7 @@ type FileUploadProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'type'
|
|
|
1774
2286
|
* progressive enhancement. Files are plain `File` objects, so you own the
|
|
1775
2287
|
* upload transport and can render progress per file.
|
|
1776
2288
|
*/
|
|
1777
|
-
declare const FileUpload: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "
|
|
2289
|
+
declare const FileUpload: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "value" | "onChange"> & {
|
|
1778
2290
|
/** Controlled selection. */
|
|
1779
2291
|
files?: File[];
|
|
1780
2292
|
/** Initial selection when uncontrolled. */
|
|
@@ -1784,6 +2296,12 @@ declare const FileUpload: React.ForwardRefExoticComponent<Omit<React.InputHTMLAt
|
|
|
1784
2296
|
/** Drag-and-drop area copy. */
|
|
1785
2297
|
label?: string;
|
|
1786
2298
|
hint?: string;
|
|
2299
|
+
/** Accessible label for the selected-files list. Default 'Selected files'. */
|
|
2300
|
+
selectedFilesLabel?: string;
|
|
2301
|
+
/** Accessible label for a file's remove button. Default `Remove <name>`. */
|
|
2302
|
+
removeLabel?: (file: File) => string;
|
|
2303
|
+
/** Accessible label for a file's upload progress. Default `Uploading <name>`. */
|
|
2304
|
+
uploadingLabel?: (file: File) => string;
|
|
1787
2305
|
/** Per-file progress (0-100) keyed by file name, rendered as a bar. */
|
|
1788
2306
|
progress?: Record<string, number>;
|
|
1789
2307
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1961,6 +2479,985 @@ declare const GridItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTM
|
|
|
1961
2479
|
as?: "div" | "span" | "li";
|
|
1962
2480
|
} & React.RefAttributes<HTMLElement>>;
|
|
1963
2481
|
|
|
2482
|
+
type ContainerWidth = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
2483
|
+
type ContainerProps = React.HTMLAttributes<HTMLElement> & {
|
|
2484
|
+
/** Maximum content width. Default 'lg' (80rem / 1280px). */
|
|
2485
|
+
width?: ContainerWidth;
|
|
2486
|
+
/** Horizontal gutters. Default 'md'. */
|
|
2487
|
+
padding?: 'none' | 'sm' | 'md' | 'lg';
|
|
2488
|
+
/** Semantic element (default 'div'). */
|
|
2489
|
+
as?: 'div' | 'section' | 'article' | 'header' | 'footer' | 'main' | 'nav';
|
|
2490
|
+
};
|
|
2491
|
+
/**
|
|
2492
|
+
* Centered, width-constrained page container. Use it for page chrome,
|
|
2493
|
+
* marketing sections and any content that should share the same gutters and
|
|
2494
|
+
* maximum width instead of repeating `mx-auto max-w-* px-*` per page.
|
|
2495
|
+
*/
|
|
2496
|
+
declare const Container: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
2497
|
+
/** Maximum content width. Default 'lg' (80rem / 1280px). */
|
|
2498
|
+
width?: ContainerWidth;
|
|
2499
|
+
/** Horizontal gutters. Default 'md'. */
|
|
2500
|
+
padding?: "none" | "sm" | "md" | "lg";
|
|
2501
|
+
/** Semantic element (default 'div'). */
|
|
2502
|
+
as?: "div" | "section" | "article" | "header" | "footer" | "main" | "nav";
|
|
2503
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
2504
|
+
|
|
2505
|
+
type SectionTone = 'default' | 'muted' | 'subtle' | 'brand' | 'inverse';
|
|
2506
|
+
type SectionProps = React.HTMLAttributes<HTMLElement> & {
|
|
2507
|
+
/** Surface treatment. 'inverse' flips the token ladder for a dark band. */
|
|
2508
|
+
tone?: SectionTone;
|
|
2509
|
+
/** Vertical rhythm. Default 'md'. */
|
|
2510
|
+
padding?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
2511
|
+
/** Inner container width. Default 'lg'. */
|
|
2512
|
+
width?: ContainerWidth;
|
|
2513
|
+
/** Wrap children in a centered Container (default true). */
|
|
2514
|
+
container?: boolean;
|
|
2515
|
+
/** Extra classes for the inner Container. */
|
|
2516
|
+
containerClassName?: string;
|
|
2517
|
+
/** Semantic element (default 'section'). */
|
|
2518
|
+
as?: 'section' | 'div' | 'article' | 'header' | 'footer' | 'main' | 'aside';
|
|
2519
|
+
};
|
|
2520
|
+
/**
|
|
2521
|
+
* Page section with a consistent vertical rhythm and surface tone. Section
|
|
2522
|
+
* owns the full-bleed band; Container owns the gutters. Use it instead of
|
|
2523
|
+
* repeating `py-*` and background classes on every marketing or content
|
|
2524
|
+
* section, and use `tone="inverse"` for a readable dark band.
|
|
2525
|
+
*/
|
|
2526
|
+
declare const Section: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
2527
|
+
/** Surface treatment. 'inverse' flips the token ladder for a dark band. */
|
|
2528
|
+
tone?: SectionTone;
|
|
2529
|
+
/** Vertical rhythm. Default 'md'. */
|
|
2530
|
+
padding?: "none" | "sm" | "md" | "lg" | "xl";
|
|
2531
|
+
/** Inner container width. Default 'lg'. */
|
|
2532
|
+
width?: ContainerWidth;
|
|
2533
|
+
/** Wrap children in a centered Container (default true). */
|
|
2534
|
+
container?: boolean;
|
|
2535
|
+
/** Extra classes for the inner Container. */
|
|
2536
|
+
containerClassName?: string;
|
|
2537
|
+
/** Semantic element (default 'section'). */
|
|
2538
|
+
as?: "section" | "div" | "article" | "header" | "footer" | "main" | "aside";
|
|
2539
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
2540
|
+
|
|
2541
|
+
type HeroProps = Omit<React.HTMLAttributes<HTMLElement>, 'title'> & {
|
|
2542
|
+
/** Main headline. Accepts inline markup for a highlighted phrase. */
|
|
2543
|
+
title: React.ReactNode;
|
|
2544
|
+
/** Supporting sentence under the headline. */
|
|
2545
|
+
description?: React.ReactNode;
|
|
2546
|
+
/** Small overline above the headline. */
|
|
2547
|
+
eyebrow?: React.ReactNode;
|
|
2548
|
+
/** Pill above the headline (announcement, category, proof point). */
|
|
2549
|
+
badge?: React.ReactNode;
|
|
2550
|
+
/** Primary and secondary calls to action. */
|
|
2551
|
+
actions?: React.ReactNode;
|
|
2552
|
+
/** Product shot, illustration, video or form shown beside the copy. */
|
|
2553
|
+
media?: React.ReactNode;
|
|
2554
|
+
/** Which side the media sits on at lg and up. Default 'right'. */
|
|
2555
|
+
mediaPosition?: 'left' | 'right';
|
|
2556
|
+
/** Copy alignment. Centered is typically used without media. */
|
|
2557
|
+
align?: 'left' | 'center';
|
|
2558
|
+
/** Headline scale. Default 'lg'. */
|
|
2559
|
+
size?: 'md' | 'lg';
|
|
2560
|
+
/** Heading level. Default 1; use 2 when the hero is nested under a page h1. */
|
|
2561
|
+
level?: 1 | 2;
|
|
2562
|
+
/**
|
|
2563
|
+
* Split places copy and media side by side; centered stacks copy in a
|
|
2564
|
+
* narrow column. Defaults to split when media is provided.
|
|
2565
|
+
*/
|
|
2566
|
+
variant?: 'split' | 'centered';
|
|
2567
|
+
/** Semantic element (default 'div'). */
|
|
2568
|
+
as?: 'div' | 'section' | 'header';
|
|
2569
|
+
/** Extra classes for the headline, for host display typography. */
|
|
2570
|
+
titleClassName?: string;
|
|
2571
|
+
/** Extra classes for the description. */
|
|
2572
|
+
descriptionClassName?: string;
|
|
2573
|
+
/** Extra classes for the eyebrow. */
|
|
2574
|
+
eyebrowClassName?: string;
|
|
2575
|
+
/** Extra classes for the badge wrapper. */
|
|
2576
|
+
badgeClassName?: string;
|
|
2577
|
+
};
|
|
2578
|
+
/**
|
|
2579
|
+
* Marketing hero: optional badge/eyebrow, a large headline, supporting copy,
|
|
2580
|
+
* calls to action and an optional media slot. Use it inside Section so the
|
|
2581
|
+
* band owns its tone and vertical padding. For a documentation page title
|
|
2582
|
+
* without media, use PageHeader instead.
|
|
2583
|
+
*/
|
|
2584
|
+
declare const Hero: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement>, "title"> & {
|
|
2585
|
+
/** Main headline. Accepts inline markup for a highlighted phrase. */
|
|
2586
|
+
title: React.ReactNode;
|
|
2587
|
+
/** Supporting sentence under the headline. */
|
|
2588
|
+
description?: React.ReactNode;
|
|
2589
|
+
/** Small overline above the headline. */
|
|
2590
|
+
eyebrow?: React.ReactNode;
|
|
2591
|
+
/** Pill above the headline (announcement, category, proof point). */
|
|
2592
|
+
badge?: React.ReactNode;
|
|
2593
|
+
/** Primary and secondary calls to action. */
|
|
2594
|
+
actions?: React.ReactNode;
|
|
2595
|
+
/** Product shot, illustration, video or form shown beside the copy. */
|
|
2596
|
+
media?: React.ReactNode;
|
|
2597
|
+
/** Which side the media sits on at lg and up. Default 'right'. */
|
|
2598
|
+
mediaPosition?: "left" | "right";
|
|
2599
|
+
/** Copy alignment. Centered is typically used without media. */
|
|
2600
|
+
align?: "left" | "center";
|
|
2601
|
+
/** Headline scale. Default 'lg'. */
|
|
2602
|
+
size?: "md" | "lg";
|
|
2603
|
+
/** Heading level. Default 1; use 2 when the hero is nested under a page h1. */
|
|
2604
|
+
level?: 1 | 2;
|
|
2605
|
+
/**
|
|
2606
|
+
* Split places copy and media side by side; centered stacks copy in a
|
|
2607
|
+
* narrow column. Defaults to split when media is provided.
|
|
2608
|
+
*/
|
|
2609
|
+
variant?: "split" | "centered";
|
|
2610
|
+
/** Semantic element (default 'div'). */
|
|
2611
|
+
as?: "div" | "section" | "header";
|
|
2612
|
+
/** Extra classes for the headline, for host display typography. */
|
|
2613
|
+
titleClassName?: string;
|
|
2614
|
+
/** Extra classes for the description. */
|
|
2615
|
+
descriptionClassName?: string;
|
|
2616
|
+
/** Extra classes for the eyebrow. */
|
|
2617
|
+
eyebrowClassName?: string;
|
|
2618
|
+
/** Extra classes for the badge wrapper. */
|
|
2619
|
+
badgeClassName?: string;
|
|
2620
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
2621
|
+
|
|
2622
|
+
type StatItem = {
|
|
2623
|
+
/** The headline number or short value (e.g. "12,000+"). */
|
|
2624
|
+
value: React.ReactNode;
|
|
2625
|
+
/** What the value measures. */
|
|
2626
|
+
label: string;
|
|
2627
|
+
/** Optional supporting line under the label. */
|
|
2628
|
+
hint?: string;
|
|
2629
|
+
};
|
|
2630
|
+
type StatBandProps = React.HTMLAttributes<HTMLDListElement> & {
|
|
2631
|
+
/** Stats to display. */
|
|
2632
|
+
items: StatItem[];
|
|
2633
|
+
/** Desktop column count (2-4). Default 3. */
|
|
2634
|
+
columns?: 2 | 3 | 4;
|
|
2635
|
+
/** Copy alignment. Default 'center'. */
|
|
2636
|
+
align?: 'left' | 'center';
|
|
2637
|
+
/** Value scale. Default 'md'. */
|
|
2638
|
+
size?: 'sm' | 'md' | 'lg';
|
|
2639
|
+
/** Draw dividers between stats at sm and up. Default true. */
|
|
2640
|
+
divided?: boolean;
|
|
2641
|
+
};
|
|
2642
|
+
/**
|
|
2643
|
+
* Marketing stat band: a semantic description list of headline numbers with
|
|
2644
|
+
* labels and optional hints. Use it inside a Section; the Section owns the
|
|
2645
|
+
* surface tone, so the same band works on white and inverse backgrounds.
|
|
2646
|
+
*/
|
|
2647
|
+
declare const StatBand: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDListElement> & {
|
|
2648
|
+
/** Stats to display. */
|
|
2649
|
+
items: StatItem[];
|
|
2650
|
+
/** Desktop column count (2-4). Default 3. */
|
|
2651
|
+
columns?: 2 | 3 | 4;
|
|
2652
|
+
/** Copy alignment. Default 'center'. */
|
|
2653
|
+
align?: "left" | "center";
|
|
2654
|
+
/** Value scale. Default 'md'. */
|
|
2655
|
+
size?: "sm" | "md" | "lg";
|
|
2656
|
+
/** Draw dividers between stats at sm and up. Default true. */
|
|
2657
|
+
divided?: boolean;
|
|
2658
|
+
} & React.RefAttributes<HTMLDListElement>>;
|
|
2659
|
+
|
|
2660
|
+
type CTASectionTone = Extract<SectionTone, 'default' | 'muted' | 'brand' | 'inverse'>;
|
|
2661
|
+
type CTASectionProps = Omit<React.HTMLAttributes<HTMLElement>, 'title'> & {
|
|
2662
|
+
/** Headline for the call to action. */
|
|
2663
|
+
title: string;
|
|
2664
|
+
/** Supporting copy under the headline. */
|
|
2665
|
+
description?: string;
|
|
2666
|
+
/** Small overline above the headline. */
|
|
2667
|
+
eyebrow?: string;
|
|
2668
|
+
/** Buttons or links. */
|
|
2669
|
+
actions?: React.ReactNode;
|
|
2670
|
+
/** Surface treatment. Default 'inverse' for a contrasting band. */
|
|
2671
|
+
tone?: CTASectionTone;
|
|
2672
|
+
/** Copy alignment. Default 'center'. */
|
|
2673
|
+
align?: 'left' | 'center';
|
|
2674
|
+
/** Vertical space. Default 'md'. */
|
|
2675
|
+
size?: 'sm' | 'md' | 'lg';
|
|
2676
|
+
/** Inner container width. Default 'lg'. */
|
|
2677
|
+
width?: ContainerWidth;
|
|
2678
|
+
};
|
|
2679
|
+
/**
|
|
2680
|
+
* Full-width conversion band: optional eyebrow, headline, supporting copy and
|
|
2681
|
+
* an action cluster. Use it at the end of a marketing page, between feature
|
|
2682
|
+
* sections, or after a content hub. Section owns the tone and spacing;
|
|
2683
|
+
* CTASection owns the centered content hierarchy.
|
|
2684
|
+
*/
|
|
2685
|
+
declare const CTASection: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement>, "title"> & {
|
|
2686
|
+
/** Headline for the call to action. */
|
|
2687
|
+
title: string;
|
|
2688
|
+
/** Supporting copy under the headline. */
|
|
2689
|
+
description?: string;
|
|
2690
|
+
/** Small overline above the headline. */
|
|
2691
|
+
eyebrow?: string;
|
|
2692
|
+
/** Buttons or links. */
|
|
2693
|
+
actions?: React.ReactNode;
|
|
2694
|
+
/** Surface treatment. Default 'inverse' for a contrasting band. */
|
|
2695
|
+
tone?: CTASectionTone;
|
|
2696
|
+
/** Copy alignment. Default 'center'. */
|
|
2697
|
+
align?: "left" | "center";
|
|
2698
|
+
/** Vertical space. Default 'md'. */
|
|
2699
|
+
size?: "sm" | "md" | "lg";
|
|
2700
|
+
/** Inner container width. Default 'lg'. */
|
|
2701
|
+
width?: ContainerWidth;
|
|
2702
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
2703
|
+
|
|
2704
|
+
type ComparisonColumn = {
|
|
2705
|
+
/** Column heading (e.g. "With an advisor"). */
|
|
2706
|
+
label: string;
|
|
2707
|
+
/** Visually emphasize this column. */
|
|
2708
|
+
highlight?: boolean;
|
|
2709
|
+
};
|
|
2710
|
+
type ComparisonRow = {
|
|
2711
|
+
/** Capability or criterion shown in the first column. */
|
|
2712
|
+
feature: string;
|
|
2713
|
+
/** One value per column: boolean for included/not included, string for free text. */
|
|
2714
|
+
values: Array<string | boolean>;
|
|
2715
|
+
/** Optional supporting line under the feature. */
|
|
2716
|
+
hint?: string;
|
|
2717
|
+
};
|
|
2718
|
+
type ComparisonTableProps = React.HTMLAttributes<HTMLTableElement> & {
|
|
2719
|
+
/** Comparison columns, excluding the feature column. */
|
|
2720
|
+
columns: ComparisonColumn[];
|
|
2721
|
+
/** Feature rows with one value per column. */
|
|
2722
|
+
rows: ComparisonRow[];
|
|
2723
|
+
/** Accessible caption. Default "Comparison". */
|
|
2724
|
+
caption?: string;
|
|
2725
|
+
/** Heading for the feature column. Default "Feature". */
|
|
2726
|
+
featureLabel?: string;
|
|
2727
|
+
/** Screen-reader labels for boolean cells. */
|
|
2728
|
+
valueLabels?: {
|
|
2729
|
+
yes?: string;
|
|
2730
|
+
no?: string;
|
|
2731
|
+
};
|
|
2732
|
+
};
|
|
2733
|
+
/**
|
|
2734
|
+
* Marketing comparison table for "us vs. them" or "with an advisor vs. on
|
|
2735
|
+
* your own" sections. Boolean cells render a check or dash plus screen-reader
|
|
2736
|
+
* text, so the comparison never relies on color or glyph alone.
|
|
2737
|
+
*/
|
|
2738
|
+
declare const ComparisonTable: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableElement> & {
|
|
2739
|
+
/** Comparison columns, excluding the feature column. */
|
|
2740
|
+
columns: ComparisonColumn[];
|
|
2741
|
+
/** Feature rows with one value per column. */
|
|
2742
|
+
rows: ComparisonRow[];
|
|
2743
|
+
/** Accessible caption. Default "Comparison". */
|
|
2744
|
+
caption?: string;
|
|
2745
|
+
/** Heading for the feature column. Default "Feature". */
|
|
2746
|
+
featureLabel?: string;
|
|
2747
|
+
/** Screen-reader labels for boolean cells. */
|
|
2748
|
+
valueLabels?: {
|
|
2749
|
+
yes?: string;
|
|
2750
|
+
no?: string;
|
|
2751
|
+
};
|
|
2752
|
+
} & React.RefAttributes<HTMLTableElement>>;
|
|
2753
|
+
|
|
2754
|
+
type LogoItem = {
|
|
2755
|
+
/** Accessible name announced for the logo. */
|
|
2756
|
+
name: string;
|
|
2757
|
+
/** Logo artwork. Mark the image decorative so the name is not duplicated. */
|
|
2758
|
+
logo: React.ReactNode;
|
|
2759
|
+
/** Optional destination. */
|
|
2760
|
+
href?: string;
|
|
2761
|
+
};
|
|
2762
|
+
type LogoCloudProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
2763
|
+
/** Logos to display. */
|
|
2764
|
+
items: LogoItem[];
|
|
2765
|
+
/** Caption above the strip. */
|
|
2766
|
+
caption?: string;
|
|
2767
|
+
/** Desktop column count (3-6). Default 4. */
|
|
2768
|
+
columns?: 3 | 4 | 5 | 6;
|
|
2769
|
+
/** Desaturate logos until hover. Default true. */
|
|
2770
|
+
grayscale?: boolean;
|
|
2771
|
+
/** Logo box height. Default 'md'. */
|
|
2772
|
+
size?: 'sm' | 'md' | 'lg';
|
|
2773
|
+
/** Caption and grid alignment. Default 'center'. */
|
|
2774
|
+
align?: 'left' | 'center';
|
|
2775
|
+
/** Custom link element for routers. */
|
|
2776
|
+
linkComponent?: React.ElementType;
|
|
2777
|
+
};
|
|
2778
|
+
/**
|
|
2779
|
+
* Trust strip for member, customer or partner logos. Logos are decorative
|
|
2780
|
+
* slots; the item name supplies the accessible text. Use it inside a Section
|
|
2781
|
+
* so the surface tone and spacing come from the band.
|
|
2782
|
+
*/
|
|
2783
|
+
declare const LogoCloud: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
2784
|
+
/** Logos to display. */
|
|
2785
|
+
items: LogoItem[];
|
|
2786
|
+
/** Caption above the strip. */
|
|
2787
|
+
caption?: string;
|
|
2788
|
+
/** Desktop column count (3-6). Default 4. */
|
|
2789
|
+
columns?: 3 | 4 | 5 | 6;
|
|
2790
|
+
/** Desaturate logos until hover. Default true. */
|
|
2791
|
+
grayscale?: boolean;
|
|
2792
|
+
/** Logo box height. Default 'md'. */
|
|
2793
|
+
size?: "sm" | "md" | "lg";
|
|
2794
|
+
/** Caption and grid alignment. Default 'center'. */
|
|
2795
|
+
align?: "left" | "center";
|
|
2796
|
+
/** Custom link element for routers. */
|
|
2797
|
+
linkComponent?: React.ElementType;
|
|
2798
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2799
|
+
|
|
2800
|
+
type FeatureItem = {
|
|
2801
|
+
title: string;
|
|
2802
|
+
description?: string;
|
|
2803
|
+
icon?: React.ReactNode;
|
|
2804
|
+
href?: string;
|
|
2805
|
+
/** Link text shown when href is present. */
|
|
2806
|
+
actionLabel?: string;
|
|
2807
|
+
};
|
|
2808
|
+
type FeatureGridProps = React.HTMLAttributes<HTMLUListElement> & {
|
|
2809
|
+
/** Features to display. */
|
|
2810
|
+
features: FeatureItem[];
|
|
2811
|
+
/** Desktop column count (2-4). Default 3. */
|
|
2812
|
+
columns?: 2 | 3 | 4;
|
|
2813
|
+
/** Card surface or plain stack. Default 'card'. */
|
|
2814
|
+
variant?: 'card' | 'plain';
|
|
2815
|
+
/** Content alignment. Default 'left'. */
|
|
2816
|
+
align?: 'left' | 'center';
|
|
2817
|
+
/** Custom link element for routers. */
|
|
2818
|
+
linkComponent?: React.ElementType;
|
|
2819
|
+
};
|
|
2820
|
+
/**
|
|
2821
|
+
* Grid of feature or benefit cards with an optional icon, copy and link.
|
|
2822
|
+
* Use it for the three-risk, six-category and feature-row sections common on
|
|
2823
|
+
* marketing pages. Each card is a list item, so the group is announced as a list.
|
|
2824
|
+
*/
|
|
2825
|
+
declare const FeatureGrid: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLUListElement> & {
|
|
2826
|
+
/** Features to display. */
|
|
2827
|
+
features: FeatureItem[];
|
|
2828
|
+
/** Desktop column count (2-4). Default 3. */
|
|
2829
|
+
columns?: 2 | 3 | 4;
|
|
2830
|
+
/** Card surface or plain stack. Default 'card'. */
|
|
2831
|
+
variant?: "card" | "plain";
|
|
2832
|
+
/** Content alignment. Default 'left'. */
|
|
2833
|
+
align?: "left" | "center";
|
|
2834
|
+
/** Custom link element for routers. */
|
|
2835
|
+
linkComponent?: React.ElementType;
|
|
2836
|
+
} & React.RefAttributes<HTMLUListElement>>;
|
|
2837
|
+
|
|
2838
|
+
type FeatureRowProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> & {
|
|
2839
|
+
/** Row heading. */
|
|
2840
|
+
title: React.ReactNode;
|
|
2841
|
+
/** Supporting copy. */
|
|
2842
|
+
description?: React.ReactNode;
|
|
2843
|
+
/** Small overline above the heading. */
|
|
2844
|
+
eyebrow?: React.ReactNode;
|
|
2845
|
+
/** Calls to action. */
|
|
2846
|
+
actions?: React.ReactNode;
|
|
2847
|
+
/** Image, mockup, video or form shown beside the copy. */
|
|
2848
|
+
media: React.ReactNode;
|
|
2849
|
+
/** Which side the media sits on at lg and up. Default 'right'. */
|
|
2850
|
+
mediaPosition?: 'left' | 'right';
|
|
2851
|
+
/** Heading level. Default 2. */
|
|
2852
|
+
level?: 2 | 3;
|
|
2853
|
+
/** Heading scale. Default 'md'. */
|
|
2854
|
+
size?: 'md' | 'lg';
|
|
2855
|
+
};
|
|
2856
|
+
/**
|
|
2857
|
+
* Alternating media and copy row for feature sections. Unlike Hero, this is a
|
|
2858
|
+
* mid-page block with a smaller heading and no h1. Use several rows to explain
|
|
2859
|
+
* a workflow, product surface or audience benefit.
|
|
2860
|
+
*/
|
|
2861
|
+
declare const FeatureRow: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "title"> & {
|
|
2862
|
+
/** Row heading. */
|
|
2863
|
+
title: React.ReactNode;
|
|
2864
|
+
/** Supporting copy. */
|
|
2865
|
+
description?: React.ReactNode;
|
|
2866
|
+
/** Small overline above the heading. */
|
|
2867
|
+
eyebrow?: React.ReactNode;
|
|
2868
|
+
/** Calls to action. */
|
|
2869
|
+
actions?: React.ReactNode;
|
|
2870
|
+
/** Image, mockup, video or form shown beside the copy. */
|
|
2871
|
+
media: React.ReactNode;
|
|
2872
|
+
/** Which side the media sits on at lg and up. Default 'right'. */
|
|
2873
|
+
mediaPosition?: "left" | "right";
|
|
2874
|
+
/** Heading level. Default 2. */
|
|
2875
|
+
level?: 2 | 3;
|
|
2876
|
+
/** Heading scale. Default 'md'. */
|
|
2877
|
+
size?: "md" | "lg";
|
|
2878
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
2879
|
+
|
|
2880
|
+
type TestimonialProps = React.HTMLAttributes<HTMLElement> & {
|
|
2881
|
+
/** The testimonial copy, without quotation marks. */
|
|
2882
|
+
quote: string;
|
|
2883
|
+
/** Person or company name. */
|
|
2884
|
+
name: string;
|
|
2885
|
+
/** Role or title. */
|
|
2886
|
+
role?: string;
|
|
2887
|
+
/** Company name. */
|
|
2888
|
+
company?: string;
|
|
2889
|
+
/** Avatar slot (usually Avatar). */
|
|
2890
|
+
avatar?: React.ReactNode;
|
|
2891
|
+
/** Brand or logo slot shown in the card header. */
|
|
2892
|
+
logo?: React.ReactNode;
|
|
2893
|
+
/** Card surface or plain quote. Default 'card'. */
|
|
2894
|
+
variant?: 'card' | 'plain';
|
|
2895
|
+
/** Quote scale. Default 'md'. */
|
|
2896
|
+
size?: 'sm' | 'md' | 'lg';
|
|
2897
|
+
};
|
|
2898
|
+
/**
|
|
2899
|
+
* Semantic testimonial: figure + blockquote + figcaption. Use it for written
|
|
2900
|
+
* proof on landing and review pages, not for app feedback prompts.
|
|
2901
|
+
*/
|
|
2902
|
+
declare const Testimonial: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
2903
|
+
/** The testimonial copy, without quotation marks. */
|
|
2904
|
+
quote: string;
|
|
2905
|
+
/** Person or company name. */
|
|
2906
|
+
name: string;
|
|
2907
|
+
/** Role or title. */
|
|
2908
|
+
role?: string;
|
|
2909
|
+
/** Company name. */
|
|
2910
|
+
company?: string;
|
|
2911
|
+
/** Avatar slot (usually Avatar). */
|
|
2912
|
+
avatar?: React.ReactNode;
|
|
2913
|
+
/** Brand or logo slot shown in the card header. */
|
|
2914
|
+
logo?: React.ReactNode;
|
|
2915
|
+
/** Card surface or plain quote. Default 'card'. */
|
|
2916
|
+
variant?: "card" | "plain";
|
|
2917
|
+
/** Quote scale. Default 'md'. */
|
|
2918
|
+
size?: "sm" | "md" | "lg";
|
|
2919
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
2920
|
+
|
|
2921
|
+
type ProcessStep = {
|
|
2922
|
+
title: string;
|
|
2923
|
+
description?: string;
|
|
2924
|
+
icon?: React.ReactNode;
|
|
2925
|
+
};
|
|
2926
|
+
type ProcessStepsProps = React.HTMLAttributes<HTMLOListElement> & {
|
|
2927
|
+
/** Ordered steps. */
|
|
2928
|
+
steps: ProcessStep[];
|
|
2929
|
+
/** Desktop column count (2-4). Default 3. */
|
|
2930
|
+
columns?: 2 | 3 | 4;
|
|
2931
|
+
/** Show step numbers when no icon is provided. Default true. */
|
|
2932
|
+
numbered?: boolean;
|
|
2933
|
+
/** Content alignment. Default 'left'. */
|
|
2934
|
+
align?: 'left' | 'center';
|
|
2935
|
+
};
|
|
2936
|
+
/**
|
|
2937
|
+
* Ordered process or onboarding steps. Numbers are derived from the list
|
|
2938
|
+
* order and announced as an ordered list, so the sequence survives without
|
|
2939
|
+
* relying on decorative connectors.
|
|
2940
|
+
*/
|
|
2941
|
+
declare const ProcessSteps: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLOListElement> & {
|
|
2942
|
+
/** Ordered steps. */
|
|
2943
|
+
steps: ProcessStep[];
|
|
2944
|
+
/** Desktop column count (2-4). Default 3. */
|
|
2945
|
+
columns?: 2 | 3 | 4;
|
|
2946
|
+
/** Show step numbers when no icon is provided. Default true. */
|
|
2947
|
+
numbered?: boolean;
|
|
2948
|
+
/** Content alignment. Default 'left'. */
|
|
2949
|
+
align?: "left" | "center";
|
|
2950
|
+
} & React.RefAttributes<HTMLOListElement>>;
|
|
2951
|
+
|
|
2952
|
+
type ArticleCardProps = Omit<React.HTMLAttributes<HTMLElement>, 'title'> & {
|
|
2953
|
+
/** Article title. */
|
|
2954
|
+
title: string;
|
|
2955
|
+
/** Summary copy. */
|
|
2956
|
+
description?: string;
|
|
2957
|
+
/** Destination URL. */
|
|
2958
|
+
href: string;
|
|
2959
|
+
/** Category or content type. */
|
|
2960
|
+
eyebrow?: string;
|
|
2961
|
+
/** Image, illustration or video poster. */
|
|
2962
|
+
media?: React.ReactNode;
|
|
2963
|
+
/** Date, read time, author or other metadata. */
|
|
2964
|
+
meta?: React.ReactNode;
|
|
2965
|
+
/** Custom link element for routers. */
|
|
2966
|
+
linkComponent?: React.ElementType;
|
|
2967
|
+
/** Standard card or a denser compact card. */
|
|
2968
|
+
variant?: 'default' | 'compact';
|
|
2969
|
+
};
|
|
2970
|
+
/**
|
|
2971
|
+
* Article or resource card for a content hub. The whole card is one link, so
|
|
2972
|
+
* do not nest buttons or other links inside it. Media is a slot so consumers
|
|
2973
|
+
* can use next/image, a plain img, a video poster or an illustration.
|
|
2974
|
+
*/
|
|
2975
|
+
declare const ArticleCard: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement>, "title"> & {
|
|
2976
|
+
/** Article title. */
|
|
2977
|
+
title: string;
|
|
2978
|
+
/** Summary copy. */
|
|
2979
|
+
description?: string;
|
|
2980
|
+
/** Destination URL. */
|
|
2981
|
+
href: string;
|
|
2982
|
+
/** Category or content type. */
|
|
2983
|
+
eyebrow?: string;
|
|
2984
|
+
/** Image, illustration or video poster. */
|
|
2985
|
+
media?: React.ReactNode;
|
|
2986
|
+
/** Date, read time, author or other metadata. */
|
|
2987
|
+
meta?: React.ReactNode;
|
|
2988
|
+
/** Custom link element for routers. */
|
|
2989
|
+
linkComponent?: React.ElementType;
|
|
2990
|
+
/** Standard card or a denser compact card. */
|
|
2991
|
+
variant?: "default" | "compact";
|
|
2992
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
2993
|
+
|
|
2994
|
+
type NewsletterProps = Omit<React.FormHTMLAttributes<HTMLFormElement>, 'onSubmit' | 'title'> & {
|
|
2995
|
+
/** Headline for the signup block. */
|
|
2996
|
+
title: string;
|
|
2997
|
+
/** Supporting copy. */
|
|
2998
|
+
description?: string;
|
|
2999
|
+
/** Email placeholder. Default "you@example.com". */
|
|
3000
|
+
placeholder?: string;
|
|
3001
|
+
/** Submit button label. Default "Subscribe". */
|
|
3002
|
+
buttonLabel?: string;
|
|
3003
|
+
/** Visible or screen-reader label for the email field. Default "Email address". */
|
|
3004
|
+
label?: string;
|
|
3005
|
+
/** Success message. */
|
|
3006
|
+
successMessage?: string;
|
|
3007
|
+
/** Failure message used when onSubmit rejects. */
|
|
3008
|
+
errorMessage?: string;
|
|
3009
|
+
/** Consent or privacy copy shown under the form. */
|
|
3010
|
+
consent?: React.ReactNode;
|
|
3011
|
+
/** Submit handler. Omit for a presentational form. */
|
|
3012
|
+
onSubmit?: (email: string) => void | Promise<void>;
|
|
3013
|
+
/** Inline on desktop or always stacked. Default 'inline'. */
|
|
3014
|
+
layout?: 'inline' | 'stacked';
|
|
3015
|
+
/** Heading level. Default 2. */
|
|
3016
|
+
level?: 2 | 3;
|
|
3017
|
+
};
|
|
3018
|
+
/**
|
|
3019
|
+
* Newsletter capture block with pending, success and failure states. The
|
|
3020
|
+
* component owns only the email field and status; the caller owns the network
|
|
3021
|
+
* request, CRM and double opt-in.
|
|
3022
|
+
*/
|
|
3023
|
+
declare const Newsletter: React.ForwardRefExoticComponent<Omit<React.FormHTMLAttributes<HTMLFormElement>, "title" | "onSubmit"> & {
|
|
3024
|
+
/** Headline for the signup block. */
|
|
3025
|
+
title: string;
|
|
3026
|
+
/** Supporting copy. */
|
|
3027
|
+
description?: string;
|
|
3028
|
+
/** Email placeholder. Default "you@example.com". */
|
|
3029
|
+
placeholder?: string;
|
|
3030
|
+
/** Submit button label. Default "Subscribe". */
|
|
3031
|
+
buttonLabel?: string;
|
|
3032
|
+
/** Visible or screen-reader label for the email field. Default "Email address". */
|
|
3033
|
+
label?: string;
|
|
3034
|
+
/** Success message. */
|
|
3035
|
+
successMessage?: string;
|
|
3036
|
+
/** Failure message used when onSubmit rejects. */
|
|
3037
|
+
errorMessage?: string;
|
|
3038
|
+
/** Consent or privacy copy shown under the form. */
|
|
3039
|
+
consent?: React.ReactNode;
|
|
3040
|
+
/** Submit handler. Omit for a presentational form. */
|
|
3041
|
+
onSubmit?: (email: string) => void | Promise<void>;
|
|
3042
|
+
/** Inline on desktop or always stacked. Default 'inline'. */
|
|
3043
|
+
layout?: "inline" | "stacked";
|
|
3044
|
+
/** Heading level. Default 2. */
|
|
3045
|
+
level?: 2 | 3;
|
|
3046
|
+
} & React.RefAttributes<HTMLFormElement>>;
|
|
3047
|
+
|
|
3048
|
+
type ContactItem = {
|
|
3049
|
+
label: string;
|
|
3050
|
+
value: string;
|
|
3051
|
+
href?: string;
|
|
3052
|
+
icon?: React.ReactNode;
|
|
3053
|
+
};
|
|
3054
|
+
type ContactStripProps = React.HTMLAttributes<HTMLUListElement> & {
|
|
3055
|
+
/** Contact rows to display. */
|
|
3056
|
+
items: ContactItem[];
|
|
3057
|
+
/** Desktop column count (2-3). Default 2. */
|
|
3058
|
+
columns?: 2 | 3;
|
|
3059
|
+
/** Content alignment. Default 'left'. */
|
|
3060
|
+
align?: 'left' | 'center';
|
|
3061
|
+
/** Custom link element for routers. */
|
|
3062
|
+
linkComponent?: React.ElementType;
|
|
3063
|
+
};
|
|
3064
|
+
/**
|
|
3065
|
+
* Compact contact details strip for the end of a marketing page. Each row
|
|
3066
|
+
* pairs a short label with a phone, email, address or link.
|
|
3067
|
+
*/
|
|
3068
|
+
declare const ContactStrip: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLUListElement> & {
|
|
3069
|
+
/** Contact rows to display. */
|
|
3070
|
+
items: ContactItem[];
|
|
3071
|
+
/** Desktop column count (2-3). Default 2. */
|
|
3072
|
+
columns?: 2 | 3;
|
|
3073
|
+
/** Content alignment. Default 'left'. */
|
|
3074
|
+
align?: "left" | "center";
|
|
3075
|
+
/** Custom link element for routers. */
|
|
3076
|
+
linkComponent?: React.ElementType;
|
|
3077
|
+
} & React.RefAttributes<HTMLUListElement>>;
|
|
3078
|
+
|
|
3079
|
+
type AnnouncementBarProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> & {
|
|
3080
|
+
/** Message shown in the bar. */
|
|
3081
|
+
message: React.ReactNode;
|
|
3082
|
+
/** Optional destination for the action. */
|
|
3083
|
+
href?: string;
|
|
3084
|
+
/** Action text, shown when href is provided. */
|
|
3085
|
+
actionLabel?: string;
|
|
3086
|
+
/** Show a close control. Default true. */
|
|
3087
|
+
dismissible?: boolean;
|
|
3088
|
+
/** Called after the user dismisses the bar. */
|
|
3089
|
+
onDismiss?: () => void;
|
|
3090
|
+
/** Surface treatment. Default 'muted'. */
|
|
3091
|
+
tone?: 'muted' | 'brand' | 'inverse';
|
|
3092
|
+
/** Pin the bar to the top of the viewport. */
|
|
3093
|
+
sticky?: boolean;
|
|
3094
|
+
/** Custom link element for routers. */
|
|
3095
|
+
linkComponent?: React.ElementType;
|
|
3096
|
+
};
|
|
3097
|
+
/**
|
|
3098
|
+
* Dismissible announcement bar for launches, content hubs and network notices.
|
|
3099
|
+
* It owns only dismissal; persistence and targeting belong to the caller.
|
|
3100
|
+
*/
|
|
3101
|
+
declare const AnnouncementBar: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "children"> & {
|
|
3102
|
+
/** Message shown in the bar. */
|
|
3103
|
+
message: React.ReactNode;
|
|
3104
|
+
/** Optional destination for the action. */
|
|
3105
|
+
href?: string;
|
|
3106
|
+
/** Action text, shown when href is provided. */
|
|
3107
|
+
actionLabel?: string;
|
|
3108
|
+
/** Show a close control. Default true. */
|
|
3109
|
+
dismissible?: boolean;
|
|
3110
|
+
/** Called after the user dismisses the bar. */
|
|
3111
|
+
onDismiss?: () => void;
|
|
3112
|
+
/** Surface treatment. Default 'muted'. */
|
|
3113
|
+
tone?: "muted" | "brand" | "inverse";
|
|
3114
|
+
/** Pin the bar to the top of the viewport. */
|
|
3115
|
+
sticky?: boolean;
|
|
3116
|
+
/** Custom link element for routers. */
|
|
3117
|
+
linkComponent?: React.ElementType;
|
|
3118
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
3119
|
+
|
|
3120
|
+
type SegmentedOption = {
|
|
3121
|
+
value: string;
|
|
3122
|
+
label: React.ReactNode;
|
|
3123
|
+
/** Optional leading icon. */
|
|
3124
|
+
icon?: React.ReactNode;
|
|
3125
|
+
disabled?: boolean;
|
|
3126
|
+
};
|
|
3127
|
+
type SegmentedControlProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> & {
|
|
3128
|
+
/** Options rendered as segments. */
|
|
3129
|
+
options: SegmentedOption[];
|
|
3130
|
+
/** Controlled selected value. Use string[] when multiple. */
|
|
3131
|
+
value?: string | string[];
|
|
3132
|
+
/** Initial selection when uncontrolled. */
|
|
3133
|
+
defaultValue?: string | string[];
|
|
3134
|
+
/** Fires with the next selection. */
|
|
3135
|
+
onValueChange?: (value: string | string[]) => void;
|
|
3136
|
+
/** Allow more than one segment to be active. Default false. */
|
|
3137
|
+
multiple?: boolean;
|
|
3138
|
+
/** Control density. Default 'md'. */
|
|
3139
|
+
size?: 'sm' | 'md' | 'lg';
|
|
3140
|
+
/** Stretch segments to fill the container width. */
|
|
3141
|
+
fullWidth?: boolean;
|
|
3142
|
+
};
|
|
3143
|
+
/**
|
|
3144
|
+
* Segmented control for switching a view or filter. Single-select uses radio
|
|
3145
|
+
* semantics and arrow-key navigation; multiple-select uses pressed buttons.
|
|
3146
|
+
* Use it for filters such as All / Investors / Advisors, not for tab panels
|
|
3147
|
+
* (use Tabs when each segment owns a tabpanel).
|
|
3148
|
+
*/
|
|
3149
|
+
declare const SegmentedControl: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "onChange"> & {
|
|
3150
|
+
/** Options rendered as segments. */
|
|
3151
|
+
options: SegmentedOption[];
|
|
3152
|
+
/** Controlled selected value. Use string[] when multiple. */
|
|
3153
|
+
value?: string | string[];
|
|
3154
|
+
/** Initial selection when uncontrolled. */
|
|
3155
|
+
defaultValue?: string | string[];
|
|
3156
|
+
/** Fires with the next selection. */
|
|
3157
|
+
onValueChange?: (value: string | string[]) => void;
|
|
3158
|
+
/** Allow more than one segment to be active. Default false. */
|
|
3159
|
+
multiple?: boolean;
|
|
3160
|
+
/** Control density. Default 'md'. */
|
|
3161
|
+
size?: "sm" | "md" | "lg";
|
|
3162
|
+
/** Stretch segments to fill the container width. */
|
|
3163
|
+
fullWidth?: boolean;
|
|
3164
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
3165
|
+
|
|
3166
|
+
type RangeSliderProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue'> & {
|
|
3167
|
+
/** Controlled low/high pair. */
|
|
3168
|
+
value?: [number, number];
|
|
3169
|
+
/** Initial low/high pair when uncontrolled. Defaults to [min, max]. */
|
|
3170
|
+
defaultValue?: [number, number];
|
|
3171
|
+
/** Fires with the next low/high pair. */
|
|
3172
|
+
onValueChange?: (value: [number, number]) => void;
|
|
3173
|
+
/** Lower bound. Default 0. */
|
|
3174
|
+
min?: number;
|
|
3175
|
+
/** Upper bound. Default 100. */
|
|
3176
|
+
max?: number;
|
|
3177
|
+
/** Increment. Default 1. */
|
|
3178
|
+
step?: number;
|
|
3179
|
+
/** Accessible label for the low thumb. Default "Minimum". */
|
|
3180
|
+
startLabel?: string;
|
|
3181
|
+
/** Accessible label for the high thumb. Default "Maximum". */
|
|
3182
|
+
endLabel?: string;
|
|
3183
|
+
/** Formats the displayed values and aria-valuetext. */
|
|
3184
|
+
formatValue?: (value: number) => string;
|
|
3185
|
+
/** Show the current low/high values above the track. Default true. */
|
|
3186
|
+
showValues?: boolean;
|
|
3187
|
+
disabled?: boolean;
|
|
3188
|
+
};
|
|
3189
|
+
/**
|
|
3190
|
+
* Dual-thumb range slider for numeric ranges such as revenue or EBITDA.
|
|
3191
|
+
* Uses two native range inputs for keyboard and screen-reader behavior, and
|
|
3192
|
+
* keeps the low and high thumbs from crossing. Pair it with a FilterBar or
|
|
3193
|
+
* FilterPanel for data dashboards.
|
|
3194
|
+
*/
|
|
3195
|
+
declare const RangeSlider: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "defaultValue" | "onChange"> & {
|
|
3196
|
+
/** Controlled low/high pair. */
|
|
3197
|
+
value?: [number, number];
|
|
3198
|
+
/** Initial low/high pair when uncontrolled. Defaults to [min, max]. */
|
|
3199
|
+
defaultValue?: [number, number];
|
|
3200
|
+
/** Fires with the next low/high pair. */
|
|
3201
|
+
onValueChange?: (value: [number, number]) => void;
|
|
3202
|
+
/** Lower bound. Default 0. */
|
|
3203
|
+
min?: number;
|
|
3204
|
+
/** Upper bound. Default 100. */
|
|
3205
|
+
max?: number;
|
|
3206
|
+
/** Increment. Default 1. */
|
|
3207
|
+
step?: number;
|
|
3208
|
+
/** Accessible label for the low thumb. Default "Minimum". */
|
|
3209
|
+
startLabel?: string;
|
|
3210
|
+
/** Accessible label for the high thumb. Default "Maximum". */
|
|
3211
|
+
endLabel?: string;
|
|
3212
|
+
/** Formats the displayed values and aria-valuetext. */
|
|
3213
|
+
formatValue?: (value: number) => string;
|
|
3214
|
+
/** Show the current low/high values above the track. Default true. */
|
|
3215
|
+
showValues?: boolean;
|
|
3216
|
+
disabled?: boolean;
|
|
3217
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
3218
|
+
|
|
3219
|
+
type FilterChip = {
|
|
3220
|
+
/** Stable key for the filter. */
|
|
3221
|
+
key: string;
|
|
3222
|
+
/** Filter name (e.g. "Industry"). */
|
|
3223
|
+
label: string;
|
|
3224
|
+
/** Selected value (e.g. "Technology"). */
|
|
3225
|
+
value?: string;
|
|
3226
|
+
/** Removes this filter. */
|
|
3227
|
+
onRemove?: () => void;
|
|
3228
|
+
};
|
|
3229
|
+
type FilterChipsProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
3230
|
+
/** Active filters to render. */
|
|
3231
|
+
filters: FilterChip[];
|
|
3232
|
+
/** Shows a clear-all action when provided. */
|
|
3233
|
+
onClearAll?: () => void;
|
|
3234
|
+
/** Label for the clear-all action. Default "Clear all". */
|
|
3235
|
+
clearLabel?: string;
|
|
3236
|
+
/** Shown when there are no active filters. Nothing renders when omitted. */
|
|
3237
|
+
emptyLabel?: string;
|
|
3238
|
+
};
|
|
3239
|
+
/**
|
|
3240
|
+
* Active-filter summary for list and dashboard pages. Each chip pairs a
|
|
3241
|
+
* filter name with its current value and exposes a remove action; an optional
|
|
3242
|
+
* clear-all action resets the set. Use it under FilterBar or FilterPanel so
|
|
3243
|
+
* applied filters stay visible after the controls scroll away.
|
|
3244
|
+
*/
|
|
3245
|
+
declare const FilterChips: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
3246
|
+
/** Active filters to render. */
|
|
3247
|
+
filters: FilterChip[];
|
|
3248
|
+
/** Shows a clear-all action when provided. */
|
|
3249
|
+
onClearAll?: () => void;
|
|
3250
|
+
/** Label for the clear-all action. Default "Clear all". */
|
|
3251
|
+
clearLabel?: string;
|
|
3252
|
+
/** Shown when there are no active filters. Nothing renders when omitted. */
|
|
3253
|
+
emptyLabel?: string;
|
|
3254
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
3255
|
+
|
|
3256
|
+
type MultiSelectOption = {
|
|
3257
|
+
value: string;
|
|
3258
|
+
label: string;
|
|
3259
|
+
description?: string;
|
|
3260
|
+
group?: string;
|
|
3261
|
+
disabled?: boolean;
|
|
3262
|
+
};
|
|
3263
|
+
type MultiSelectProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'defaultValue' | 'value' | 'onChange'> & {
|
|
3264
|
+
/** Options to choose from. */
|
|
3265
|
+
options: MultiSelectOption[];
|
|
3266
|
+
/** Controlled selected values. */
|
|
3267
|
+
value?: string[];
|
|
3268
|
+
/** Initial selected values when uncontrolled. */
|
|
3269
|
+
defaultValue?: string[];
|
|
3270
|
+
/** Fires with the full selection after every change. */
|
|
3271
|
+
onValueChange?: (values: string[]) => void;
|
|
3272
|
+
/** Visible field label. */
|
|
3273
|
+
label?: string;
|
|
3274
|
+
/** Trigger text when nothing is selected. Default "Add". */
|
|
3275
|
+
triggerLabel?: string;
|
|
3276
|
+
/** Search placeholder. Default "Search options". */
|
|
3277
|
+
searchPlaceholder?: string;
|
|
3278
|
+
/** Shown when no option matches. */
|
|
3279
|
+
emptyText?: string;
|
|
3280
|
+
/** Maximum chips shown before a "+N more" summary. Default 3. */
|
|
3281
|
+
maxDisplay?: number;
|
|
3282
|
+
disabled?: boolean;
|
|
3283
|
+
};
|
|
3284
|
+
/**
|
|
3285
|
+
* Multi-select filter with removable chips, a searchable popover and native
|
|
3286
|
+
* checkbox options. Unlike SelectMenu's compact trigger, this exposes the
|
|
3287
|
+
* selection as chips so dashboards can show applied filters without opening
|
|
3288
|
+
* the panel.
|
|
3289
|
+
*/
|
|
3290
|
+
declare const MultiSelect: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "value" | "defaultValue" | "onChange"> & {
|
|
3291
|
+
/** Options to choose from. */
|
|
3292
|
+
options: MultiSelectOption[];
|
|
3293
|
+
/** Controlled selected values. */
|
|
3294
|
+
value?: string[];
|
|
3295
|
+
/** Initial selected values when uncontrolled. */
|
|
3296
|
+
defaultValue?: string[];
|
|
3297
|
+
/** Fires with the full selection after every change. */
|
|
3298
|
+
onValueChange?: (values: string[]) => void;
|
|
3299
|
+
/** Visible field label. */
|
|
3300
|
+
label?: string;
|
|
3301
|
+
/** Trigger text when nothing is selected. Default "Add". */
|
|
3302
|
+
triggerLabel?: string;
|
|
3303
|
+
/** Search placeholder. Default "Search options". */
|
|
3304
|
+
searchPlaceholder?: string;
|
|
3305
|
+
/** Shown when no option matches. */
|
|
3306
|
+
emptyText?: string;
|
|
3307
|
+
/** Maximum chips shown before a "+N more" summary. Default 3. */
|
|
3308
|
+
maxDisplay?: number;
|
|
3309
|
+
disabled?: boolean;
|
|
3310
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
3311
|
+
|
|
3312
|
+
type FilterSection = {
|
|
3313
|
+
/** Section heading. */
|
|
3314
|
+
title: string;
|
|
3315
|
+
/** Supporting line under the heading. */
|
|
3316
|
+
description?: string;
|
|
3317
|
+
/** Filter controls shown inside the section. */
|
|
3318
|
+
content: React.ReactNode;
|
|
3319
|
+
/** Open on first render. */
|
|
3320
|
+
defaultOpen?: boolean;
|
|
3321
|
+
};
|
|
3322
|
+
type FilterPanelProps = React.HTMLAttributes<HTMLElement> & {
|
|
3323
|
+
/** Filter groups. */
|
|
3324
|
+
sections: FilterSection[];
|
|
3325
|
+
/** Panel heading. Default "Filters". */
|
|
3326
|
+
title?: string;
|
|
3327
|
+
/** Supporting copy under the panel heading. */
|
|
3328
|
+
description?: string;
|
|
3329
|
+
/** Reset action shown in the footer. */
|
|
3330
|
+
onReset?: () => void;
|
|
3331
|
+
/** Apply action shown in the footer. */
|
|
3332
|
+
onApply?: () => void;
|
|
3333
|
+
/** Reset button label. Default "Reset". */
|
|
3334
|
+
resetLabel?: string;
|
|
3335
|
+
/** Apply button label. Default "Apply". */
|
|
3336
|
+
applyLabel?: string;
|
|
3337
|
+
/** Allow sections to collapse. Default true. */
|
|
3338
|
+
collapsible?: boolean;
|
|
3339
|
+
/** Section titles open on first render. */
|
|
3340
|
+
defaultOpen?: string[];
|
|
3341
|
+
/** Extra footer content. */
|
|
3342
|
+
actions?: React.ReactNode;
|
|
3343
|
+
/** Semantic element (default 'div'). */
|
|
3344
|
+
as?: 'div' | 'aside' | 'section';
|
|
3345
|
+
};
|
|
3346
|
+
/**
|
|
3347
|
+
* Structured filter panel for dashboards and directories. It owns section
|
|
3348
|
+
* expansion and the reset/apply footer; filter values stay with the caller.
|
|
3349
|
+
* Use it in a sidebar on desktop and inside a Drawer on mobile.
|
|
3350
|
+
*/
|
|
3351
|
+
declare const FilterPanel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
3352
|
+
/** Filter groups. */
|
|
3353
|
+
sections: FilterSection[];
|
|
3354
|
+
/** Panel heading. Default "Filters". */
|
|
3355
|
+
title?: string;
|
|
3356
|
+
/** Supporting copy under the panel heading. */
|
|
3357
|
+
description?: string;
|
|
3358
|
+
/** Reset action shown in the footer. */
|
|
3359
|
+
onReset?: () => void;
|
|
3360
|
+
/** Apply action shown in the footer. */
|
|
3361
|
+
onApply?: () => void;
|
|
3362
|
+
/** Reset button label. Default "Reset". */
|
|
3363
|
+
resetLabel?: string;
|
|
3364
|
+
/** Apply button label. Default "Apply". */
|
|
3365
|
+
applyLabel?: string;
|
|
3366
|
+
/** Allow sections to collapse. Default true. */
|
|
3367
|
+
collapsible?: boolean;
|
|
3368
|
+
/** Section titles open on first render. */
|
|
3369
|
+
defaultOpen?: string[];
|
|
3370
|
+
/** Extra footer content. */
|
|
3371
|
+
actions?: React.ReactNode;
|
|
3372
|
+
/** Semantic element (default 'div'). */
|
|
3373
|
+
as?: "div" | "aside" | "section";
|
|
3374
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
3375
|
+
|
|
3376
|
+
type DateRange = {
|
|
3377
|
+
/** ISO date (YYYY-MM-DD) or an empty string. */
|
|
3378
|
+
start?: string;
|
|
3379
|
+
end?: string;
|
|
3380
|
+
};
|
|
3381
|
+
type DateRangePreset = {
|
|
3382
|
+
label: string;
|
|
3383
|
+
/** Number of days back from today. */
|
|
3384
|
+
days?: number;
|
|
3385
|
+
/** Start at January 1 of the current year. */
|
|
3386
|
+
ytd?: boolean;
|
|
3387
|
+
};
|
|
3388
|
+
type DateRangePickerProps = Omit<React.HTMLAttributes<HTMLDivElement>, 'value' | 'defaultValue' | 'onChange'> & {
|
|
3389
|
+
/** Controlled range. */
|
|
3390
|
+
value?: DateRange;
|
|
3391
|
+
/** Initial range when uncontrolled. */
|
|
3392
|
+
defaultValue?: DateRange;
|
|
3393
|
+
/** Fires with the next ISO range. */
|
|
3394
|
+
onValueChange?: (range: DateRange) => void;
|
|
3395
|
+
/** Accessible label for the start field. Default "From". */
|
|
3396
|
+
startLabel?: string;
|
|
3397
|
+
/** Accessible label for the end field. Default "To". */
|
|
3398
|
+
endLabel?: string;
|
|
3399
|
+
/** Preset buttons. Defaults to 7 days, 30 days, 90 days and YTD. */
|
|
3400
|
+
presets?: DateRangePreset[];
|
|
3401
|
+
/** Show the preset row. Default true. */
|
|
3402
|
+
showPresets?: boolean;
|
|
3403
|
+
disabled?: boolean;
|
|
3404
|
+
};
|
|
3405
|
+
/**
|
|
3406
|
+
* Start/end date range with ISO strings and quick presets. Partial ranges are
|
|
3407
|
+
* allowed; when both ends are present the end can never precede the start.
|
|
3408
|
+
*/
|
|
3409
|
+
declare const DateRangePicker: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "value" | "defaultValue" | "onChange"> & {
|
|
3410
|
+
/** Controlled range. */
|
|
3411
|
+
value?: DateRange;
|
|
3412
|
+
/** Initial range when uncontrolled. */
|
|
3413
|
+
defaultValue?: DateRange;
|
|
3414
|
+
/** Fires with the next ISO range. */
|
|
3415
|
+
onValueChange?: (range: DateRange) => void;
|
|
3416
|
+
/** Accessible label for the start field. Default "From". */
|
|
3417
|
+
startLabel?: string;
|
|
3418
|
+
/** Accessible label for the end field. Default "To". */
|
|
3419
|
+
endLabel?: string;
|
|
3420
|
+
/** Preset buttons. Defaults to 7 days, 30 days, 90 days and YTD. */
|
|
3421
|
+
presets?: DateRangePreset[];
|
|
3422
|
+
/** Show the preset row. Default true. */
|
|
3423
|
+
showPresets?: boolean;
|
|
3424
|
+
disabled?: boolean;
|
|
3425
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
3426
|
+
|
|
3427
|
+
type AppliedFiltersProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
3428
|
+
/** Active filters to display. */
|
|
3429
|
+
filters: FilterChip[];
|
|
3430
|
+
/** Clear-all action. */
|
|
3431
|
+
onClearAll?: () => void;
|
|
3432
|
+
/** Opens the filter panel for editing. */
|
|
3433
|
+
onEdit?: () => void;
|
|
3434
|
+
/** Optional summary text; defaults to "N active". */
|
|
3435
|
+
label?: string;
|
|
3436
|
+
/** Shown when there are no filters. */
|
|
3437
|
+
emptyLabel?: string;
|
|
3438
|
+
/** Edit action label. Default "Edit filters". */
|
|
3439
|
+
editLabel?: string;
|
|
3440
|
+
};
|
|
3441
|
+
/**
|
|
3442
|
+
* Applied-filter summary for a dashboard or directory. Adds a live count and
|
|
3443
|
+
* an optional edit action around FilterChips, so the applied set stays visible
|
|
3444
|
+
* even when the filter panel is closed.
|
|
3445
|
+
*/
|
|
3446
|
+
declare const AppliedFilters: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
3447
|
+
/** Active filters to display. */
|
|
3448
|
+
filters: FilterChip[];
|
|
3449
|
+
/** Clear-all action. */
|
|
3450
|
+
onClearAll?: () => void;
|
|
3451
|
+
/** Opens the filter panel for editing. */
|
|
3452
|
+
onEdit?: () => void;
|
|
3453
|
+
/** Optional summary text; defaults to "N active". */
|
|
3454
|
+
label?: string;
|
|
3455
|
+
/** Shown when there are no filters. */
|
|
3456
|
+
emptyLabel?: string;
|
|
3457
|
+
/** Edit action label. Default "Edit filters". */
|
|
3458
|
+
editLabel?: string;
|
|
3459
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
3460
|
+
|
|
1964
3461
|
type MenuProps = {
|
|
1965
3462
|
/** Controlled open state. */
|
|
1966
3463
|
open?: boolean;
|
|
@@ -2002,7 +3499,7 @@ type MenuLabelProps = React.HTMLAttributes<HTMLDivElement>;
|
|
|
2002
3499
|
declare const MenuLabel: React.ForwardRefExoticComponent<MenuLabelProps & React.RefAttributes<HTMLDivElement>>;
|
|
2003
3500
|
|
|
2004
3501
|
declare const alertVariants: (props?: ({
|
|
2005
|
-
variant?: "default" | "destructive" | "success" | "warning" | "info" | null | undefined;
|
|
3502
|
+
variant?: "default" | "destructive" | "danger" | "success" | "warning" | "info" | null | undefined;
|
|
2006
3503
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2007
3504
|
type AlertProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof alertVariants>;
|
|
2008
3505
|
/**
|
|
@@ -2011,7 +3508,7 @@ type AlertProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof ale
|
|
|
2011
3508
|
* matching icon colors. Renders role="alert" for screen readers.
|
|
2012
3509
|
*/
|
|
2013
3510
|
declare const Alert: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
2014
|
-
variant?: "default" | "destructive" | "success" | "warning" | "info" | null | undefined;
|
|
3511
|
+
variant?: "default" | "destructive" | "danger" | "success" | "warning" | "info" | null | undefined;
|
|
2015
3512
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
|
|
2016
3513
|
type AlertTitleProps = React.HTMLAttributes<HTMLHeadingElement>;
|
|
2017
3514
|
/** Title heading inside an Alert. */
|
|
@@ -2050,6 +3547,8 @@ type BreadcrumbItem = {
|
|
|
2050
3547
|
type BreadcrumbProps = React.HTMLAttributes<HTMLElement> & {
|
|
2051
3548
|
/** Ordered list of breadcrumb items; the last item is the current page. */
|
|
2052
3549
|
items: BreadcrumbItem[];
|
|
3550
|
+
/** Accessible name of the navigation landmark. Default 'Breadcrumb'. */
|
|
3551
|
+
label?: string;
|
|
2053
3552
|
/** Separator character between items (default '/'). */
|
|
2054
3553
|
separator?: React.ReactNode;
|
|
2055
3554
|
/**
|
|
@@ -2058,6 +3557,15 @@ type BreadcrumbProps = React.HTMLAttributes<HTMLElement> & {
|
|
|
2058
3557
|
* (e.g. via a router, state machine, or analytics wrapper).
|
|
2059
3558
|
*/
|
|
2060
3559
|
onItemClick?: (item: BreadcrumbItem, index: number) => void;
|
|
3560
|
+
/** Custom link element for routers (Next Link, react-router Link). */
|
|
3561
|
+
linkComponent?: React.ElementType;
|
|
3562
|
+
/**
|
|
3563
|
+
* Prop used to pass the destination to `linkComponent`. `href` covers
|
|
3564
|
+
* anchors and Next.js Link; `to` covers react-router and similar routers.
|
|
3565
|
+
*/
|
|
3566
|
+
linkHrefProp?: 'href' | 'to';
|
|
3567
|
+
/** Truncate the current page label and expose the full text as a title. */
|
|
3568
|
+
truncateCurrent?: boolean;
|
|
2061
3569
|
};
|
|
2062
3570
|
/**
|
|
2063
3571
|
* Navigation breadcrumb trail. The last item is rendered as the current
|
|
@@ -2067,6 +3575,8 @@ type BreadcrumbProps = React.HTMLAttributes<HTMLElement> & {
|
|
|
2067
3575
|
declare const Breadcrumb: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
2068
3576
|
/** Ordered list of breadcrumb items; the last item is the current page. */
|
|
2069
3577
|
items: BreadcrumbItem[];
|
|
3578
|
+
/** Accessible name of the navigation landmark. Default 'Breadcrumb'. */
|
|
3579
|
+
label?: string;
|
|
2070
3580
|
/** Separator character between items (default '/'). */
|
|
2071
3581
|
separator?: React.ReactNode;
|
|
2072
3582
|
/**
|
|
@@ -2075,6 +3585,15 @@ declare const Breadcrumb: React.ForwardRefExoticComponent<React.HTMLAttributes<H
|
|
|
2075
3585
|
* (e.g. via a router, state machine, or analytics wrapper).
|
|
2076
3586
|
*/
|
|
2077
3587
|
onItemClick?: (item: BreadcrumbItem, index: number) => void;
|
|
3588
|
+
/** Custom link element for routers (Next Link, react-router Link). */
|
|
3589
|
+
linkComponent?: React.ElementType;
|
|
3590
|
+
/**
|
|
3591
|
+
* Prop used to pass the destination to `linkComponent`. `href` covers
|
|
3592
|
+
* anchors and Next.js Link; `to` covers react-router and similar routers.
|
|
3593
|
+
*/
|
|
3594
|
+
linkHrefProp?: "href" | "to";
|
|
3595
|
+
/** Truncate the current page label and expose the full text as a title. */
|
|
3596
|
+
truncateCurrent?: boolean;
|
|
2078
3597
|
} & React.RefAttributes<HTMLElement>>;
|
|
2079
3598
|
|
|
2080
3599
|
type PaginationIcons = {
|
|
@@ -2096,33 +3615,57 @@ type PaginationProps = React.HTMLAttributes<HTMLElement> & {
|
|
|
2096
3615
|
currentPage?: number;
|
|
2097
3616
|
/** Alias for pageCount. */
|
|
2098
3617
|
totalPages?: number;
|
|
2099
|
-
/** Rows per page
|
|
3618
|
+
/** Rows per page - with `total`, enables the item-count summary. */
|
|
2100
3619
|
pageSize?: number;
|
|
2101
|
-
/** Total item count
|
|
3620
|
+
/** Total item count - with `pageSize`, enables the summary and derives pageCount. */
|
|
2102
3621
|
total?: number;
|
|
2103
|
-
/** Noun used in the summary ("Showing 26
|
|
3622
|
+
/** Noun used in the summary ("Showing 26-50 of 312 classes"). Default "items". */
|
|
2104
3623
|
itemLabel?: string;
|
|
2105
3624
|
/** Force the summary on/off; defaults to on when total and pageSize are set. */
|
|
2106
3625
|
showSummary?: boolean;
|
|
2107
|
-
/** Called with the new page number. */
|
|
3626
|
+
/** Called with the new page number (client-side pagination). */
|
|
2108
3627
|
onPageChange?: (page: number) => void;
|
|
3628
|
+
/**
|
|
3629
|
+
* Page-number to href map. When provided, controls render as links
|
|
3630
|
+
* instead of buttons - use this for server-rendered pagination where
|
|
3631
|
+
* pages are real URLs. Serializable on purpose: a function cannot cross
|
|
3632
|
+
* the React Server Component boundary.
|
|
3633
|
+
*/
|
|
3634
|
+
pageHrefs?: Record<number, string>;
|
|
3635
|
+
/** Custom link element for routers (Next Link, react-router Link). */
|
|
3636
|
+
linkComponent?: React.ElementType;
|
|
3637
|
+
/** Prop used to pass the destination to `linkComponent`. */
|
|
3638
|
+
linkHrefProp?: 'href' | 'to';
|
|
2109
3639
|
/** How many page buttons to show around the current page (default 1). */
|
|
2110
3640
|
siblings?: number;
|
|
2111
|
-
/** Show
|
|
3641
|
+
/** Show the jump-to-first/last buttons (default false). */
|
|
2112
3642
|
showBoundaries?: boolean;
|
|
2113
3643
|
/** Force-show the first-page button; defaults to showBoundaries. */
|
|
2114
3644
|
showFirst?: boolean;
|
|
2115
3645
|
/** Force-show the last-page button; defaults to showBoundaries. */
|
|
2116
3646
|
showLast?: boolean;
|
|
2117
|
-
/** Replace the default
|
|
3647
|
+
/** Replace the default < > glyphs. */
|
|
2118
3648
|
icons?: PaginationIcons;
|
|
3649
|
+
/** Localized landmark and control labels. */
|
|
3650
|
+
labels?: {
|
|
3651
|
+
pagination?: string;
|
|
3652
|
+
first?: string;
|
|
3653
|
+
previous?: string;
|
|
3654
|
+
next?: string;
|
|
3655
|
+
last?: string;
|
|
3656
|
+
page?: (page: number) => string;
|
|
3657
|
+
};
|
|
2119
3658
|
};
|
|
2120
3659
|
/**
|
|
2121
3660
|
* Numeric pagination with prev/next and optional boundary jumps. Renders
|
|
2122
|
-
* as a nav landmark with aria-current="page" on the active
|
|
3661
|
+
* as a nav landmark with aria-current="page" on the active page. Accepts
|
|
2123
3662
|
* either page/pageCount or the currentPage/totalPages aliases, and can
|
|
2124
|
-
* derive the page count (plus a "Showing X
|
|
3663
|
+
* derive the page count (plus a "Showing X-Y of Z" summary) from
|
|
2125
3664
|
* total/pageSize.
|
|
3665
|
+
*
|
|
3666
|
+
* Two modes: pass `onPageChange` for client-side pagination, or
|
|
3667
|
+
* `pageHrefs` for server-rendered pagination where every page is a real
|
|
3668
|
+
* URL (the map is serializable, so it works from a Server Component).
|
|
2126
3669
|
*/
|
|
2127
3670
|
declare const Pagination: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
2128
3671
|
/** Current page number (1-based). Alias: currentPage. */
|
|
@@ -2133,26 +3676,47 @@ declare const Pagination: React.ForwardRefExoticComponent<React.HTMLAttributes<H
|
|
|
2133
3676
|
currentPage?: number;
|
|
2134
3677
|
/** Alias for pageCount. */
|
|
2135
3678
|
totalPages?: number;
|
|
2136
|
-
/** Rows per page
|
|
3679
|
+
/** Rows per page - with `total`, enables the item-count summary. */
|
|
2137
3680
|
pageSize?: number;
|
|
2138
|
-
/** Total item count
|
|
3681
|
+
/** Total item count - with `pageSize`, enables the summary and derives pageCount. */
|
|
2139
3682
|
total?: number;
|
|
2140
|
-
/** Noun used in the summary ("Showing 26
|
|
3683
|
+
/** Noun used in the summary ("Showing 26-50 of 312 classes"). Default "items". */
|
|
2141
3684
|
itemLabel?: string;
|
|
2142
3685
|
/** Force the summary on/off; defaults to on when total and pageSize are set. */
|
|
2143
3686
|
showSummary?: boolean;
|
|
2144
|
-
/** Called with the new page number. */
|
|
3687
|
+
/** Called with the new page number (client-side pagination). */
|
|
2145
3688
|
onPageChange?: (page: number) => void;
|
|
3689
|
+
/**
|
|
3690
|
+
* Page-number to href map. When provided, controls render as links
|
|
3691
|
+
* instead of buttons - use this for server-rendered pagination where
|
|
3692
|
+
* pages are real URLs. Serializable on purpose: a function cannot cross
|
|
3693
|
+
* the React Server Component boundary.
|
|
3694
|
+
*/
|
|
3695
|
+
pageHrefs?: Record<number, string>;
|
|
3696
|
+
/** Custom link element for routers (Next Link, react-router Link). */
|
|
3697
|
+
linkComponent?: React.ElementType;
|
|
3698
|
+
/** Prop used to pass the destination to `linkComponent`. */
|
|
3699
|
+
linkHrefProp?: "href" | "to";
|
|
2146
3700
|
/** How many page buttons to show around the current page (default 1). */
|
|
2147
3701
|
siblings?: number;
|
|
2148
|
-
/** Show
|
|
3702
|
+
/** Show the jump-to-first/last buttons (default false). */
|
|
2149
3703
|
showBoundaries?: boolean;
|
|
2150
3704
|
/** Force-show the first-page button; defaults to showBoundaries. */
|
|
2151
3705
|
showFirst?: boolean;
|
|
2152
3706
|
/** Force-show the last-page button; defaults to showBoundaries. */
|
|
2153
3707
|
showLast?: boolean;
|
|
2154
|
-
/** Replace the default
|
|
3708
|
+
/** Replace the default < > glyphs. */
|
|
2155
3709
|
icons?: PaginationIcons;
|
|
3710
|
+
/** Localized landmark and control labels. */
|
|
3711
|
+
labels?: {
|
|
3712
|
+
pagination?: string;
|
|
3713
|
+
first?: string;
|
|
3714
|
+
previous?: string;
|
|
3715
|
+
next?: string;
|
|
3716
|
+
last?: string;
|
|
3717
|
+
page?: (page: number) => string;
|
|
3718
|
+
};
|
|
2156
3719
|
} & React.RefAttributes<HTMLElement>>;
|
|
2157
3720
|
|
|
2158
|
-
export {
|
|
3721
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AnnouncementBar, AppShell, AppliedFilters, ArticleCard, AuthLayout, Autocomplete, Avatar, AvatarFallback, AvatarImage, Badge, Block, Breadcrumb, Button, ButtonGroup, CTASection, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CheckboxGroup, CheckboxGroupItem, ComparisonTable, ConfirmDialog, ContactStrip, Container, DataTable, DatePicker, DateRangePicker, Dialog, DialogBody, DialogDescription, DialogFooter, DialogHeader, DialogTitle, Divider, Drawer, EmptyState, FeatureGrid, FeatureRow, Fieldset, FileUpload, FilterBar, FilterChips, FilterPanel, Flex, FlexItem, Form, FormField, FormLayout, Grid, GridItem, Heading, Hero, Input, InputGroup, InputGroupAddon, Label, Link, LinkTabs, List, ListItem, LogoCloud, Menu, MenuContent, MenuItem, MenuLabel, MenuSeparator, MenuTrigger, MetricCard, MultiSelect, Newsletter, PageHeader, Pagination, PasswordInput, Popover, PopoverContent, PopoverTrigger, ProcessSteps, Progress, Prose, Radio, RadioCard, RadioGroup, RadioGroupContext, RadioGroupItem, RangeSlider, Search, Section, SectionHeading, SegmentedControl, Select, SelectMenu, Separator, Sidebar, SiteFooter, SiteHeader, Skeleton, Spinner, StatBand, Stepper, Switch, Table, TableBody, TableCaption, TableCard, TableCell, TableFooter, TableHead, TableHeader, TableOfContents, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Text, Textarea, ThemeToggle, TimePicker, Timeline, ToastProvider, Toaster, Tooltip, alertVariants, badgeVariants, buttonVariants, cn, documentHead, isComponentManifest, resolveGap, separatorVariants, spinnerVariants, toast, useCombobox, usePresence, useScrollSpy, useToast };
|
|
3722
|
+
export type { AccessibilityRequirement, AccordionContentProps, AccordionItemProps, AccordionProps, AccordionTriggerProps, AlertDescriptionProps, AlertProps, AlertTitleProps, AnnouncementBarProps, AntiPattern, AppShellProps, AppliedFiltersProps, ArticleCardProps, AuthLayoutProps, AutocompleteOption, AutocompleteProps, BadgeProps, BlockElement, BlockProps, BreadcrumbItem, BreadcrumbProps, ButtonGroupProps, ButtonProps, CTASectionProps, CTASectionTone, CardContentProps, CardDescriptionProps, CardFooterProps, CardHeaderProps, CardProps, CardTitleProps, CheckboxGroupItemProps, CheckboxGroupOrientation, CheckboxGroupProps, CheckboxProps, ComboboxItem, ComparisonColumn, ComparisonRow, ComparisonTableProps, ComponentManifest, ComponentTier, CompositionRule, ConfirmDialogProps, ContactItem, ContactStripProps, ContainerProps, ContainerWidth, ContentGuideline, DataTableColumn, DataTableProps, DatePickerProps, DateRange, DateRangePickerProps, DateRangePreset, DialogBodyProps, DialogDescriptionProps, DialogFooterProps, DialogHeaderProps, DialogProps, DialogSize, DialogTitleProps, DocumentHead, DocumentHeadInput, DrawerProps, DrawerSide, DrawerSize, EmptyStateProps, FeatureGridProps, FeatureItem, FeatureRowProps, FieldsetProps, FileUploadProps, FilterBarProps, FilterChip, FilterChipsProps, FilterPanelProps, FilterSection, FlexItemProps, FlexProps, FormFieldLabelPlacement, FormFieldProps, FormLayoutProps, FormProps, FormVariant, GapValue, GridItemProps, GridProps, HeadingLevel, HeadingProps, HeroProps, InputGroupAddonProps, InputGroupProps, InputProps, LabelProps, LinkProps, LinkTabsItem, LinkTabsProps, LinkVariant, ListItemProps, ListProps, LogoCloudProps, LogoItem, MenuContentProps, MenuItemProps, MenuLabelProps, MenuProps, MenuSeparatorProps, MenuTriggerProps, MetricCardProps, MetricTrend, MultiSelectOption, MultiSelectProps, NewsletterProps, PageHeaderProps, PaginationIcons, PaginationProps, PasswordInputProps, PopoverContentProps, PopoverProps, PopoverTriggerProps, ProcessStep, ProcessStepsProps, ProgressProps, PropSchema, ProseProps, RadioCardProps, RadioGroupItemProps, RadioGroupProps, RadioProps, RangeSliderProps, SearchOption, SearchProps, SectionHeadingProps, SectionProps, SectionTone, SegmentedControlProps, SegmentedOption, SelectMenuItem, SelectMenuProps, SelectOption, SelectOptionGroup, SelectProps, SeparatorProps, SidebarItem, SidebarProps, SidebarSection, SiteFooterColumn, SiteFooterLink, SiteFooterProps, SiteHeaderProps, SiteNavItem, SkeletonProps, SortIconState, SpinnerProps, StatBandProps, StatItem, StepperProps, StepperStep, SwitchProps, TableBodyProps, TableCaptionProps, TableCardProps, TableCellProps, TableFooterProps, TableHeadProps, TableHeaderProps, TableOfContentsProps, TableProps, TableRowProps, TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps, TestimonialProps, TextProps, TextareaProps, ThemeToggleProps, TimePickerProps, TimelineItem, TimelineProps, ToastAction, ToastContextValue, ToastOptions, ToastRecord, ToastVariant, ToasterPosition, ToasterProps, TocHeading, TooltipProps, UsageExample };
|