@bi-digital/react 0.9.0 → 0.10.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/dist/{alert-footer-CHHPzMiX.d.mts → alert-footer-42JbxJ0B.d.mts} +132 -155
- package/dist/components/alert/alert-footer.d.mts +1 -14
- package/dist/components/alert/alert-footer.mjs +15 -2
- package/dist/components/alert/alert-footer.mjs.map +1 -0
- package/dist/components/alert/alert.d.mts +1 -14
- package/dist/components/alert/alert.mjs +33 -2
- package/dist/components/alert/alert.mjs.map +1 -0
- package/dist/components/alert/index.d.mts +1 -14
- package/dist/components/alert/index.mjs +3 -5
- package/dist/components/avatar/avatar.d.mts +1 -14
- package/dist/components/avatar/avatar.mjs +37 -2
- package/dist/components/avatar/avatar.mjs.map +1 -0
- package/dist/components/avatar/index.d.mts +1 -14
- package/dist/components/avatar/index.mjs +2 -4
- package/dist/components/badge/badge.d.mts +1 -14
- package/dist/components/badge/badge.mjs +19 -2
- package/dist/components/badge/badge.mjs.map +1 -0
- package/dist/components/badge/index.d.mts +1 -14
- package/dist/components/badge/index.mjs +2 -4
- package/dist/components/button/button.d.mts +1 -14
- package/dist/components/button/button.mjs +39 -4
- package/dist/components/button/button.mjs.map +1 -0
- package/dist/components/button/index.d.mts +1 -14
- package/dist/components/button/index.mjs +2 -6
- package/dist/components/card/card-action.d.mts +1 -14
- package/dist/components/card/card-action.mjs +21 -6
- package/dist/components/card/card-action.mjs.map +1 -0
- package/dist/components/card/card-actions.d.mts +1 -14
- package/dist/components/card/card-actions.mjs +14 -2
- package/dist/components/card/card-actions.mjs.map +1 -0
- package/dist/components/card/card-content.d.mts +1 -14
- package/dist/components/card/card-content.mjs +15 -2
- package/dist/components/card/card-content.mjs.map +1 -0
- package/dist/components/card/card-date.d.mts +1 -14
- package/dist/components/card/card-date.mjs +14 -2
- package/dist/components/card/card-date.mjs.map +1 -0
- package/dist/components/card/card-header.d.mts +1 -14
- package/dist/components/card/card-header.mjs +37 -2
- package/dist/components/card/card-header.mjs.map +1 -0
- package/dist/components/card/card-media.d.mts +1 -14
- package/dist/components/card/card-media.mjs +17 -2
- package/dist/components/card/card-media.mjs.map +1 -0
- package/dist/components/card/card.d.mts +1 -14
- package/dist/components/card/card.mjs +19 -2
- package/dist/components/card/card.mjs.map +1 -0
- package/dist/components/card/index.d.mts +1 -14
- package/dist/components/card/index.mjs +8 -14
- package/dist/components/checkbox/checkbox-subsection.d.mts +1 -14
- package/dist/components/checkbox/checkbox-subsection.mjs +15 -2
- package/dist/components/checkbox/checkbox-subsection.mjs.map +1 -0
- package/dist/components/checkbox/checkbox.d.mts +1 -14
- package/dist/components/checkbox/checkbox.mjs +59 -11
- package/dist/components/checkbox/checkbox.mjs.map +1 -0
- package/dist/components/checkbox/index.d.mts +1 -14
- package/dist/components/checkbox/index.mjs +3 -14
- package/dist/components/chip/chip.d.mts +1 -14
- package/dist/components/chip/chip.mjs +24 -2
- package/dist/components/chip/chip.mjs.map +1 -0
- package/dist/components/chip/index.d.mts +1 -14
- package/dist/components/chip/index.mjs +2 -4
- package/dist/components/details/details-content.d.mts +1 -14
- package/dist/components/details/details-content.mjs +20 -2
- package/dist/components/details/details-content.mjs.map +1 -0
- package/dist/components/details/details-summary.d.mts +1 -14
- package/dist/components/details/details-summary.mjs +20 -2
- package/dist/components/details/details-summary.mjs.map +1 -0
- package/dist/components/details/details.d.mts +1 -14
- package/dist/components/details/details.mjs +33 -2
- package/dist/components/details/details.mjs.map +1 -0
- package/dist/components/details/index.d.mts +1 -14
- package/dist/components/details/index.mjs +4 -6
- package/dist/components/dialog/dialog-close-button.d.mts +1 -14
- package/dist/components/dialog/dialog-close-button.mjs +28 -6
- package/dist/components/dialog/dialog-close-button.mjs.map +1 -0
- package/dist/components/dialog/dialog-content.d.mts +1 -14
- package/dist/components/dialog/dialog-content.mjs +16 -2
- package/dist/components/dialog/dialog-content.mjs.map +1 -0
- package/dist/components/dialog/dialog-footer.d.mts +1 -14
- package/dist/components/dialog/dialog-footer.mjs +16 -2
- package/dist/components/dialog/dialog-footer.mjs.map +1 -0
- package/dist/components/dialog/dialog-header.d.mts +1 -14
- package/dist/components/dialog/dialog-header.mjs +16 -2
- package/dist/components/dialog/dialog-header.mjs.map +1 -0
- package/dist/components/dialog/dialog-trigger-context.d.mts +1 -1
- package/dist/components/dialog/dialog-trigger-context.mjs +21 -2
- package/dist/components/dialog/dialog-trigger-context.mjs.map +1 -0
- package/dist/components/dialog/dialog-trigger.d.mts +1 -14
- package/dist/components/dialog/dialog-trigger.mjs +20 -7
- package/dist/components/dialog/dialog-trigger.mjs.map +1 -0
- package/dist/components/dialog/dialog.d.mts +1 -14
- package/dist/components/dialog/dialog.mjs +62 -4
- package/dist/components/dialog/dialog.mjs.map +1 -0
- package/dist/components/dialog/index.d.mts +2 -14
- package/dist/components/dialog/index.mjs +8 -15
- package/dist/components/drawer/drawer-close-button.d.mts +1 -14
- package/dist/components/drawer/drawer-close-button.mjs +14 -15
- package/dist/components/drawer/drawer-close-button.mjs.map +1 -0
- package/dist/components/drawer/drawer-content.d.mts +1 -14
- package/dist/components/drawer/drawer-content.mjs +16 -15
- package/dist/components/drawer/drawer-content.mjs.map +1 -0
- package/dist/components/drawer/drawer-footer.d.mts +1 -14
- package/dist/components/drawer/drawer-footer.mjs +16 -15
- package/dist/components/drawer/drawer-footer.mjs.map +1 -0
- package/dist/components/drawer/drawer-header.d.mts +1 -14
- package/dist/components/drawer/drawer-header.mjs +16 -15
- package/dist/components/drawer/drawer-header.mjs.map +1 -0
- package/dist/components/drawer/drawer-trigger-context.d.mts +1 -1
- package/dist/components/drawer/drawer-trigger-context.mjs +11 -15
- package/dist/components/drawer/drawer-trigger-context.mjs.map +1 -0
- package/dist/components/drawer/drawer-trigger.d.mts +1 -14
- package/dist/components/drawer/drawer-trigger.mjs +14 -15
- package/dist/components/drawer/drawer-trigger.mjs.map +1 -0
- package/dist/components/drawer/drawer.d.mts +1 -14
- package/dist/components/drawer/drawer.mjs +47 -15
- package/dist/components/drawer/drawer.mjs.map +1 -0
- package/dist/components/drawer/index.d.mts +2 -14
- package/dist/components/drawer/index.mjs +8 -23
- package/dist/components/dropdown/dropdown-button.d.mts +1 -14
- package/dist/components/dropdown/dropdown-button.mjs +14 -6
- package/dist/components/dropdown/dropdown-button.mjs.map +1 -0
- package/dist/components/dropdown/dropdown-item.d.mts +1 -1
- package/dist/components/dropdown/dropdown-item.mjs +9 -2
- package/dist/components/dropdown/dropdown-item.mjs.map +1 -0
- package/dist/components/dropdown/dropdown-list.d.mts +1 -1
- package/dist/components/dropdown/dropdown-list.mjs +9 -2
- package/dist/components/dropdown/dropdown-list.mjs.map +1 -0
- package/dist/components/dropdown/dropdown-trigger-context.d.mts +1 -14
- package/dist/components/dropdown/dropdown-trigger-context.mjs +27 -12
- package/dist/components/dropdown/dropdown-trigger-context.mjs.map +1 -0
- package/dist/components/dropdown/dropdown-trigger.d.mts +1 -14
- package/dist/components/dropdown/dropdown-trigger.mjs +12 -12
- package/dist/components/dropdown/dropdown-trigger.mjs.map +1 -0
- package/dist/components/dropdown/dropdown.d.mts +1 -14
- package/dist/components/dropdown/dropdown.mjs +43 -12
- package/dist/components/dropdown/dropdown.mjs.map +1 -0
- package/dist/components/dropdown/index.d.mts +3 -14
- package/dist/components/dropdown/index.mjs +7 -19
- package/dist/components/field/field-affix.d.mts +1 -14
- package/dist/components/field/field-affix.mjs +43 -2
- package/dist/components/field/field-affix.mjs.map +1 -0
- package/dist/components/field/field-description.d.mts +1 -14
- package/dist/components/field/field-description.mjs +14 -2
- package/dist/components/field/field-description.mjs.map +1 -0
- package/dist/components/field/field.d.mts +1 -14
- package/dist/components/field/field.mjs +28 -2
- package/dist/components/field/field.mjs.map +1 -0
- package/dist/components/field/index.d.mts +1 -14
- package/dist/components/field/index.mjs +4 -6
- package/dist/components/fieldset/fieldset-description.d.mts +1 -14
- package/dist/components/fieldset/fieldset-description.mjs +12 -2
- package/dist/components/fieldset/fieldset-description.mjs.map +1 -0
- package/dist/components/fieldset/fieldset-legend.d.mts +1 -14
- package/dist/components/fieldset/fieldset-legend.mjs +18 -4
- package/dist/components/fieldset/fieldset-legend.mjs.map +1 -0
- package/dist/components/fieldset/fieldset.d.mts +1 -14
- package/dist/components/fieldset/fieldset.mjs +15 -2
- package/dist/components/fieldset/fieldset.mjs.map +1 -0
- package/dist/components/fieldset/index.d.mts +1 -14
- package/dist/components/fieldset/index.mjs +4 -8
- package/dist/components/filter-group/filter-group.d.mts +1 -14
- package/dist/components/filter-group/filter-group.mjs +38 -2
- package/dist/components/filter-group/filter-group.mjs.map +1 -0
- package/dist/components/filter-group/index.d.mts +1 -14
- package/dist/components/filter-group/index.mjs +2 -4
- package/dist/components/footer/footer-links.d.mts +1 -1
- package/dist/components/footer/footer-links.mjs +13 -2
- package/dist/components/footer/footer-links.mjs.map +1 -0
- package/dist/components/footer/footer.d.mts +1 -14
- package/dist/components/footer/footer.mjs +110 -6
- package/dist/components/footer/footer.mjs.map +1 -0
- package/dist/components/footer/index.d.mts +2 -14
- package/dist/components/footer/index.mjs +3 -9
- package/dist/components/index.d.mts +10 -15
- package/dist/components/index.mjs +112 -120
- package/dist/components/input/index.d.mts +1 -14
- package/dist/components/input/index.mjs +2 -4
- package/dist/components/input/input.d.mts +1 -14
- package/dist/components/input/input.mjs +23 -2
- package/dist/components/input/input.mjs.map +1 -0
- package/dist/components/label/index.d.mts +1 -14
- package/dist/components/label/index.mjs +2 -4
- package/dist/components/label/label.d.mts +1 -14
- package/dist/components/label/label.mjs +16 -2
- package/dist/components/label/label.mjs.map +1 -0
- package/dist/components/link/index.d.mts +1 -14
- package/dist/components/link/index.mjs +2 -4
- package/dist/components/link/link.d.mts +1 -14
- package/dist/components/link/link.mjs +17 -2
- package/dist/components/link/link.mjs.map +1 -0
- package/dist/components/logo/index.d.mts +1 -14
- package/dist/components/logo/index.mjs +2 -4
- package/dist/components/logo/logo.d.mts +1 -14
- package/dist/components/logo/logo.mjs +17 -2
- package/dist/components/logo/logo.mjs.map +1 -0
- package/dist/components/navbar/index.d.mts +1 -14
- package/dist/components/navbar/index.mjs +3 -13
- package/dist/components/navbar/navbar.d.mts +1 -14
- package/dist/components/navbar/navbar.mjs +22 -4
- package/dist/components/navbar/navbar.mjs.map +1 -0
- package/dist/components/navbar/sub-navbar.d.mts +1 -14
- package/dist/components/navbar/sub-navbar.mjs +27 -8
- package/dist/components/navbar/sub-navbar.mjs.map +1 -0
- package/dist/components/pagination/index.d.mts +2 -14
- package/dist/components/pagination/index.mjs +4 -10
- package/dist/components/pagination/pagination-button.d.mts +1 -14
- package/dist/components/pagination/pagination-button.mjs +13 -6
- package/dist/components/pagination/pagination-button.mjs.map +1 -0
- package/dist/components/pagination/pagination-item.d.mts +1 -1
- package/dist/components/pagination/pagination-item.mjs +13 -2
- package/dist/components/pagination/pagination-item.mjs.map +1 -0
- package/dist/components/pagination/pagination.d.mts +1 -14
- package/dist/components/pagination/pagination.mjs +15 -2
- package/dist/components/pagination/pagination.mjs.map +1 -0
- package/dist/components/popover/index.d.mts +2 -14
- package/dist/components/popover/index.mjs +4 -12
- package/dist/components/popover/popover-trigger-context.d.mts +1 -1
- package/dist/components/popover/popover-trigger-context.mjs +37 -2
- package/dist/components/popover/popover-trigger-context.mjs.map +1 -0
- package/dist/components/popover/popover-trigger.d.mts +1 -14
- package/dist/components/popover/popover-trigger.mjs +43 -7
- package/dist/components/popover/popover-trigger.mjs.map +1 -0
- package/dist/components/popover/popover.d.mts +1 -14
- package/dist/components/popover/popover.mjs +110 -5
- package/dist/components/popover/popover.mjs.map +1 -0
- package/dist/components/radio/index.d.mts +1 -14
- package/dist/components/radio/index.mjs +2 -12
- package/dist/components/radio/radio.d.mts +1 -14
- package/dist/components/radio/radio.mjs +46 -10
- package/dist/components/radio/radio.mjs.map +1 -0
- package/dist/components/search/index.d.mts +1 -14
- package/dist/components/search/index.mjs +2 -14
- package/dist/components/search/search.d.mts +1 -14
- package/dist/components/search/search.mjs +59 -12
- package/dist/components/search/search.mjs.map +1 -0
- package/dist/components/select/index.d.mts +1 -14
- package/dist/components/select/index.mjs +4 -6
- package/dist/components/select/select-optgroup.d.mts +1 -14
- package/dist/components/select/select-optgroup.mjs +12 -2
- package/dist/components/select/select-optgroup.mjs.map +1 -0
- package/dist/components/select/select-option.d.mts +1 -14
- package/dist/components/select/select-option.mjs +12 -2
- package/dist/components/select/select-option.mjs.map +1 -0
- package/dist/components/select/select.d.mts +1 -14
- package/dist/components/select/select.mjs +24 -2
- package/dist/components/select/select.mjs.map +1 -0
- package/dist/components/selectfield/index.d.mts +1 -14
- package/dist/components/selectfield/index.mjs +2 -16
- package/dist/components/selectfield/selectfield.d.mts +1 -14
- package/dist/components/selectfield/selectfield.mjs +55 -14
- package/dist/components/selectfield/selectfield.mjs.map +1 -0
- package/dist/components/skip-link/index.d.mts +1 -14
- package/dist/components/skip-link/index.mjs +2 -4
- package/dist/components/skip-link/skip-link.d.mts +1 -14
- package/dist/components/skip-link/skip-link.mjs +15 -2
- package/dist/components/skip-link/skip-link.mjs.map +1 -0
- package/dist/components/spinner/index.d.mts +1 -14
- package/dist/components/spinner/index.mjs +2 -4
- package/dist/components/spinner/spinner.d.mts +1 -14
- package/dist/components/spinner/spinner.mjs +15 -2
- package/dist/components/spinner/spinner.mjs.map +1 -0
- package/dist/components/sticky-header/index.d.mts +1 -2
- package/dist/components/sticky-header/index.mjs +2 -4
- package/dist/components/sticky-header/sticky-header.d.mts +1 -1
- package/dist/components/sticky-header/sticky-header.mjs +18 -2
- package/dist/components/sticky-header/sticky-header.mjs.map +1 -0
- package/dist/components/switch/index.d.mts +1 -14
- package/dist/components/switch/index.mjs +2 -12
- package/dist/components/switch/switch.d.mts +1 -14
- package/dist/components/switch/switch.mjs +35 -10
- package/dist/components/switch/switch.mjs.map +1 -0
- package/dist/components/tabs/index.d.mts +2 -15
- package/dist/components/tabs/index.mjs +5 -11
- package/dist/components/tabs/tab.d.mts +1 -14
- package/dist/components/tabs/tab.mjs +24 -6
- package/dist/components/tabs/tab.mjs.map +1 -0
- package/dist/components/tabs/tabs-list.d.mts +1 -14
- package/dist/components/tabs/tabs-list.mjs +14 -2
- package/dist/components/tabs/tabs-list.mjs.map +1 -0
- package/dist/components/tabs/tabs-panel.d.mts +1 -14
- package/dist/components/tabs/tabs-panel.mjs +18 -2
- package/dist/components/tabs/tabs-panel.mjs.map +1 -0
- package/dist/components/tabs/tabs.d.mts +2 -15
- package/dist/components/tabs/tabs.mjs +50 -2
- package/dist/components/tabs/tabs.mjs.map +1 -0
- package/dist/components/textarea/index.d.mts +1 -14
- package/dist/components/textarea/index.mjs +2 -4
- package/dist/components/textarea/textarea.d.mts +1 -14
- package/dist/components/textarea/textarea.mjs +15 -2
- package/dist/components/textarea/textarea.mjs.map +1 -0
- package/dist/components/textfield/index.d.mts +1 -14
- package/dist/components/textfield/index.mjs +2 -16
- package/dist/components/textfield/textfield.d.mts +1 -14
- package/dist/components/textfield/textfield.mjs +68 -14
- package/dist/components/textfield/textfield.mjs.map +1 -0
- package/dist/components/validation-message/index.d.mts +1 -14
- package/dist/components/validation-message/index.mjs +2 -4
- package/dist/components/validation-message/validation-message.d.mts +1 -14
- package/dist/components/validation-message/validation-message.mjs +16 -2
- package/dist/components/validation-message/validation-message.mjs.map +1 -0
- package/dist/dialog-trigger-context-CAC7jh1K.d.mts +20 -0
- package/dist/drawer-trigger-context-DxLBj5Xr.d.mts +16 -0
- package/dist/{dropdown-item-wInrqt83.d.mts → dropdown-item-B6MmulV_.d.mts} +3 -3
- package/dist/{dropdown-list-z14BOCh4.d.mts → dropdown-list-DKugDMKm.d.mts} +3 -3
- package/dist/{footer-links-C7vC-VD7.d.mts → footer-links-Dac3-Emr.d.mts} +3 -3
- package/dist/main.d.mts +16 -18
- package/dist/main.mjs +83 -121
- package/dist/{pagination-item-cKOuhfhM.d.mts → pagination-item-AQQSJ7GD.d.mts} +3 -3
- package/dist/{popover-trigger-context-sQGC75uf.d.mts → popover-trigger-context-BG1lPWXA.d.mts} +5 -5
- package/dist/{sticky-header-Y0uT-nWI.d.mts → sticky-header-C6gJlnzy.d.mts} +3 -3
- package/dist/{types-Biyhmxh9.d.mts → types-74lJC5tL.d.mts} +1 -1
- package/dist/{types-Bgj7p8nD.d.mts → types-BXsMIYrD.d.mts} +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/types.mjs +1 -1
- package/dist/{useCheckboxGroup-BUpI46_M.d.mts → useCheckboxGroup-Boc_tLJ3.d.mts} +1 -1
- package/dist/{useIsElementAboveViewport-BcIGWQqn.d.mts → useIsElementAboveViewport-Cxt9TwLS.d.mts} +1 -1
- package/dist/useIsomorphicLayoutEffect-DXCY5AxR.d.mts +7 -0
- package/dist/{useMediaQuery-CIi3MXay.d.mts → useMediaQuery-Di0fXraw.d.mts} +1 -1
- package/dist/{useScrollDirection-Cm7w2CbB.d.mts → useScrollDirection-6pq5a8B3.d.mts} +1 -1
- package/dist/utilities/hooks/index.d.mts +6 -16
- package/dist/utilities/hooks/index.mjs +7 -9
- package/dist/utilities/hooks/useCheckboxGroup/useCheckboxGroup.d.mts +1 -1
- package/dist/utilities/hooks/useCheckboxGroup/useCheckboxGroup.mjs +16 -2
- package/dist/{useCheckboxGroup-B2Px3eiz.mjs.map → utilities/hooks/useCheckboxGroup/useCheckboxGroup.mjs.map} +1 -1
- package/dist/utilities/hooks/useIsElementAboveViewport/useIsElementAboveViewport.d.mts +1 -1
- package/dist/utilities/hooks/useIsElementAboveViewport/useIsElementAboveViewport.mjs +18 -2
- package/dist/{useIsElementAboveViewport-BaSLEYQk.mjs.map → utilities/hooks/useIsElementAboveViewport/useIsElementAboveViewport.mjs.map} +1 -1
- package/dist/utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.mts +1 -1
- package/dist/utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.mjs +6 -2
- package/dist/{useIsomorphicLayoutEffect-Bn8aiGVW.mjs.map → utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.mjs.map} +1 -1
- package/dist/utilities/hooks/useMediaQuery/useMediaQuery.d.mts +1 -1
- package/dist/utilities/hooks/useMediaQuery/useMediaQuery.mjs +42 -3
- package/dist/{useMediaQuery-BRGC6S33.mjs.map → utilities/hooks/useMediaQuery/useMediaQuery.mjs.map} +1 -1
- package/dist/utilities/hooks/useMergeRefs/useMergeRefs.mjs +40 -2
- package/dist/{useMergeRefs-DeEL5hK6.mjs.map → utilities/hooks/useMergeRefs/useMergeRefs.mjs.map} +1 -1
- package/dist/utilities/hooks/usePagination/usePagination.d.mts +1 -14
- package/dist/utilities/hooks/usePagination/usePagination.mjs +95 -2
- package/dist/{usePagination-aBXSjQBp.mjs.map → utilities/hooks/usePagination/usePagination.mjs.map} +1 -1
- package/dist/utilities/hooks/useScrollDirection/useScrollDirection.d.mts +1 -1
- package/dist/utilities/hooks/useScrollDirection/useScrollDirection.mjs +26 -2
- package/dist/{useScrollDirection-C36-HP3S.mjs.map → utilities/hooks/useScrollDirection/useScrollDirection.mjs.map} +1 -1
- package/dist/utilities/index.d.mts +7 -17
- package/dist/utilities/index.mjs +8 -9
- package/dist/utilities/types.d.mts +1 -1
- package/dist/utilities/types.mjs +1 -1
- package/dist/vanilla/dropdown/index.mjs +2 -3
- package/dist/vanilla/dropdown/index.mjs.map +1 -1
- package/dist/vanilla/index.mjs +3 -3
- package/dist/vanilla/popover/index.mjs +83 -2
- package/dist/vanilla/popover/index.mjs.map +1 -0
- package/dist/vanilla/sub-navbar/index.mjs +1 -1
- package/dist/vanilla/sub-navbar/index.mjs.map +1 -1
- package/package.json +13 -15
- package/dist/alert-B-qfyhxc.mjs +0 -35
- package/dist/alert-B-qfyhxc.mjs.map +0 -1
- package/dist/alert-footer-CiXj-PGD.mjs +0 -17
- package/dist/alert-footer-CiXj-PGD.mjs.map +0 -1
- package/dist/alert-vOhEayej.mjs +0 -1
- package/dist/avatar-5e5_er9-.mjs +0 -1
- package/dist/avatar-BEjjwjRn.mjs +0 -39
- package/dist/avatar-BEjjwjRn.mjs.map +0 -1
- package/dist/badge-D6dJHxi2.mjs +0 -1
- package/dist/badge-tAjYsQEq.mjs +0 -21
- package/dist/badge-tAjYsQEq.mjs.map +0 -1
- package/dist/button-BoSub8TT.mjs +0 -1
- package/dist/button-Df0Se51p.mjs +0 -40
- package/dist/button-Df0Se51p.mjs.map +0 -1
- package/dist/card-BwkKWLCT.mjs +0 -21
- package/dist/card-BwkKWLCT.mjs.map +0 -1
- package/dist/card-action-DAFhhfZ5.mjs +0 -22
- package/dist/card-action-DAFhhfZ5.mjs.map +0 -1
- package/dist/card-actions-DQXkkGKI.mjs +0 -16
- package/dist/card-actions-DQXkkGKI.mjs.map +0 -1
- package/dist/card-content-zQQxsR9_.mjs +0 -17
- package/dist/card-content-zQQxsR9_.mjs.map +0 -1
- package/dist/card-date-PwKzeTzD.mjs +0 -16
- package/dist/card-date-PwKzeTzD.mjs.map +0 -1
- package/dist/card-header-DkKr5o8N.mjs +0 -39
- package/dist/card-header-DkKr5o8N.mjs.map +0 -1
- package/dist/card-media-Bv2VWU3K.mjs +0 -19
- package/dist/card-media-Bv2VWU3K.mjs.map +0 -1
- package/dist/card-qYOn8pIl.mjs +0 -1
- package/dist/checkbox-BPiURV39.mjs +0 -1
- package/dist/checkbox-DLGjrSt2.mjs +0 -58
- package/dist/checkbox-DLGjrSt2.mjs.map +0 -1
- package/dist/checkbox-subsection-Dq60blow.mjs +0 -17
- package/dist/checkbox-subsection-Dq60blow.mjs.map +0 -1
- package/dist/chip-BEnK1Tg4.mjs +0 -1
- package/dist/chip-BzRByPTB.mjs +0 -26
- package/dist/chip-BzRByPTB.mjs.map +0 -1
- package/dist/details-BFP82eFe.mjs +0 -35
- package/dist/details-BFP82eFe.mjs.map +0 -1
- package/dist/details-BTkav6FR.mjs +0 -1
- package/dist/details-content-B-YYBzuY.mjs +0 -22
- package/dist/details-content-B-YYBzuY.mjs.map +0 -1
- package/dist/details-summary-BiXSfZfC.mjs +0 -22
- package/dist/details-summary-BiXSfZfC.mjs.map +0 -1
- package/dist/dialog-CRNSJEfp.mjs +0 -91
- package/dist/dialog-CRNSJEfp.mjs.map +0 -1
- package/dist/dialog-DOBwB8ll.mjs +0 -1
- package/dist/dialog-close-button-CJZrsHfN.mjs +0 -24
- package/dist/dialog-close-button-CJZrsHfN.mjs.map +0 -1
- package/dist/dialog-content-CrbstN2A.mjs +0 -18
- package/dist/dialog-content-CrbstN2A.mjs.map +0 -1
- package/dist/dialog-footer-CFNIIiwS.mjs +0 -18
- package/dist/dialog-footer-CFNIIiwS.mjs.map +0 -1
- package/dist/dialog-header-Duz76tEF.mjs +0 -18
- package/dist/dialog-header-Duz76tEF.mjs.map +0 -1
- package/dist/dialog-trigger-CEvyANEF.mjs +0 -22
- package/dist/dialog-trigger-CEvyANEF.mjs.map +0 -1
- package/dist/dialog-trigger-context-Dlf5Whq6.d.mts +0 -15
- package/dist/dialog-trigger-context-DqM6S5V-.mjs +0 -16
- package/dist/dialog-trigger-context-DqM6S5V-.mjs.map +0 -1
- package/dist/drawer-DYVQZLML.mjs +0 -1
- package/dist/drawer-Ds2MkNjF.mjs +0 -46
- package/dist/drawer-Ds2MkNjF.mjs.map +0 -1
- package/dist/drawer-close-button-gjzgYKSw.mjs +0 -12
- package/dist/drawer-close-button-gjzgYKSw.mjs.map +0 -1
- package/dist/drawer-content-DxY9zj19.mjs +0 -14
- package/dist/drawer-content-DxY9zj19.mjs.map +0 -1
- package/dist/drawer-footer-DEZvKbZ9.mjs +0 -14
- package/dist/drawer-footer-DEZvKbZ9.mjs.map +0 -1
- package/dist/drawer-header-8MFxFbKD.mjs +0 -14
- package/dist/drawer-header-8MFxFbKD.mjs.map +0 -1
- package/dist/drawer-trigger-CUFZtPLQ.mjs +0 -12
- package/dist/drawer-trigger-CUFZtPLQ.mjs.map +0 -1
- package/dist/drawer-trigger-context-3hDiHR-k.d.mts +0 -13
- package/dist/drawer-trigger-context-DUYTD43h.mjs +0 -9
- package/dist/drawer-trigger-context-DUYTD43h.mjs.map +0 -1
- package/dist/dropdown-4m7NoRv7.mjs +0 -1
- package/dist/dropdown-BZZfp-oa.mjs +0 -44
- package/dist/dropdown-BZZfp-oa.mjs.map +0 -1
- package/dist/dropdown-button-DFRD5c3-.mjs +0 -15
- package/dist/dropdown-button-DFRD5c3-.mjs.map +0 -1
- package/dist/dropdown-item-rKVicLWJ.mjs +0 -11
- package/dist/dropdown-item-rKVicLWJ.mjs.map +0 -1
- package/dist/dropdown-list-CCnbpP3r.mjs +0 -11
- package/dist/dropdown-list-CCnbpP3r.mjs.map +0 -1
- package/dist/dropdown-trigger-FhCAqY-W.mjs +0 -13
- package/dist/dropdown-trigger-FhCAqY-W.mjs.map +0 -1
- package/dist/dropdown-trigger-context-DnY5awW2.mjs +0 -28
- package/dist/dropdown-trigger-context-DnY5awW2.mjs.map +0 -1
- package/dist/field-BIBlDQoi.mjs +0 -30
- package/dist/field-BIBlDQoi.mjs.map +0 -1
- package/dist/field-D8ZE0keC.mjs +0 -1
- package/dist/field-affix-DNZXWyx-.mjs +0 -45
- package/dist/field-affix-DNZXWyx-.mjs.map +0 -1
- package/dist/field-description-Dt2qLchF.mjs +0 -16
- package/dist/field-description-Dt2qLchF.mjs.map +0 -1
- package/dist/fieldset-CcTi6Dum.mjs +0 -17
- package/dist/fieldset-CcTi6Dum.mjs.map +0 -1
- package/dist/fieldset-EvlIWkNe.mjs +0 -1
- package/dist/fieldset-description-C2jSmnwk.mjs +0 -14
- package/dist/fieldset-description-C2jSmnwk.mjs.map +0 -1
- package/dist/fieldset-legend-CSlBCJxg.mjs +0 -19
- package/dist/fieldset-legend-CSlBCJxg.mjs.map +0 -1
- package/dist/filter-group-CqgWY3I1.mjs +0 -1
- package/dist/filter-group-Djsr79gi.mjs +0 -40
- package/dist/filter-group-Djsr79gi.mjs.map +0 -1
- package/dist/footer-CFU5m0uE.mjs +0 -1
- package/dist/footer-TlcFTYFC.mjs +0 -111
- package/dist/footer-TlcFTYFC.mjs.map +0 -1
- package/dist/footer-links-CE3T7evI.mjs +0 -15
- package/dist/footer-links-CE3T7evI.mjs.map +0 -1
- package/dist/hooks-DndqtgSU.mjs +0 -1
- package/dist/input-8Az-c2K1.mjs +0 -1
- package/dist/input-DU_8Z4cN.mjs +0 -25
- package/dist/input-DU_8Z4cN.mjs.map +0 -1
- package/dist/label-BrxPu7QD.mjs +0 -1
- package/dist/label-QZyUM8Df.mjs +0 -18
- package/dist/label-QZyUM8Df.mjs.map +0 -1
- package/dist/link-CU3kBJB8.mjs +0 -19
- package/dist/link-CU3kBJB8.mjs.map +0 -1
- package/dist/link-CYniSrWk.mjs +0 -1
- package/dist/logo-Cj67VFWL.mjs +0 -1
- package/dist/logo-d750FIud.mjs +0 -19
- package/dist/logo-d750FIud.mjs.map +0 -1
- package/dist/navbar-A1xgv5BY.mjs +0 -23
- package/dist/navbar-A1xgv5BY.mjs.map +0 -1
- package/dist/navbar-Ch7rJsaf.mjs +0 -1
- package/dist/pagination-BK24_vW3.mjs +0 -1
- package/dist/pagination-Drbd1147.mjs +0 -17
- package/dist/pagination-Drbd1147.mjs.map +0 -1
- package/dist/pagination-button-F_ZOuaN-.mjs +0 -14
- package/dist/pagination-button-F_ZOuaN-.mjs.map +0 -1
- package/dist/pagination-item-BfCHe-dC.mjs +0 -15
- package/dist/pagination-item-BfCHe-dC.mjs.map +0 -1
- package/dist/popover-B8P0dE2-.mjs +0 -85
- package/dist/popover-B8P0dE2-.mjs.map +0 -1
- package/dist/popover-CGqBsAam.mjs +0 -112
- package/dist/popover-CGqBsAam.mjs.map +0 -1
- package/dist/popover-C_lxbEYu.mjs +0 -1
- package/dist/popover-trigger-BDYAK6jg.mjs +0 -44
- package/dist/popover-trigger-BDYAK6jg.mjs.map +0 -1
- package/dist/popover-trigger-context-DZFORTLq.mjs +0 -39
- package/dist/popover-trigger-context-DZFORTLq.mjs.map +0 -1
- package/dist/radio-CikbRUIb.mjs +0 -45
- package/dist/radio-CikbRUIb.mjs.map +0 -1
- package/dist/radio-DoypqZjr.mjs +0 -1
- package/dist/search-B71qkkhd.mjs +0 -1
- package/dist/search-B9aa1_12.mjs +0 -58
- package/dist/search-B9aa1_12.mjs.map +0 -1
- package/dist/select-D80ba0X2.mjs +0 -1
- package/dist/select-optgroup-BzjAhfRU.mjs +0 -14
- package/dist/select-optgroup-BzjAhfRU.mjs.map +0 -1
- package/dist/select-option-DLslGIIp.mjs +0 -14
- package/dist/select-option-DLslGIIp.mjs.map +0 -1
- package/dist/select-vw7cl3d_.mjs +0 -26
- package/dist/select-vw7cl3d_.mjs.map +0 -1
- package/dist/selectfield-BrXuaiOJ.mjs +0 -53
- package/dist/selectfield-BrXuaiOJ.mjs.map +0 -1
- package/dist/selectfield-acG211WN.mjs +0 -1
- package/dist/skip-link-0SNs70lF.mjs +0 -17
- package/dist/skip-link-0SNs70lF.mjs.map +0 -1
- package/dist/skip-link-DtgRPO9V.mjs +0 -1
- package/dist/spinner-C4Z-GQVz.mjs +0 -1
- package/dist/spinner-xmvtWIZ0.mjs +0 -17
- package/dist/spinner-xmvtWIZ0.mjs.map +0 -1
- package/dist/sticky-header-Bwee74P6.mjs +0 -20
- package/dist/sticky-header-Bwee74P6.mjs.map +0 -1
- package/dist/sticky-header-j3zwZtj_.mjs +0 -1
- package/dist/sub-navbar-Dke7jNvB.mjs +0 -28
- package/dist/sub-navbar-Dke7jNvB.mjs.map +0 -1
- package/dist/switch-CJtJvYv6.mjs +0 -34
- package/dist/switch-CJtJvYv6.mjs.map +0 -1
- package/dist/switch-DZsMi5Uf.mjs +0 -1
- package/dist/tab-Bm-746fZ.mjs +0 -27
- package/dist/tab-Bm-746fZ.mjs.map +0 -1
- package/dist/tabs-BYYODpZJ.mjs +0 -24
- package/dist/tabs-BYYODpZJ.mjs.map +0 -1
- package/dist/tabs-Bdxundn7.mjs +0 -1
- package/dist/tabs-list-BAnPnTwx.mjs +0 -20
- package/dist/tabs-list-BAnPnTwx.mjs.map +0 -1
- package/dist/tabs-panel-GX2ZoOvH.mjs +0 -21
- package/dist/tabs-panel-GX2ZoOvH.mjs.map +0 -1
- package/dist/textarea-BDAr1Unx.mjs +0 -1
- package/dist/textarea-CHhlswpx.mjs +0 -17
- package/dist/textarea-CHhlswpx.mjs.map +0 -1
- package/dist/textfield-BFLLhYVI.mjs +0 -1
- package/dist/textfield-rcRRkfZB.mjs +0 -65
- package/dist/textfield-rcRRkfZB.mjs.map +0 -1
- package/dist/useCheckboxGroup-B2Px3eiz.mjs +0 -17
- package/dist/useIsElementAboveViewport-BaSLEYQk.mjs +0 -20
- package/dist/useIsomorphicLayoutEffect-Bn8aiGVW.mjs +0 -8
- package/dist/useIsomorphicLayoutEffect-PJRUcTSc.d.mts +0 -7
- package/dist/useMediaQuery-BRGC6S33.mjs +0 -44
- package/dist/useMergeRefs-DeEL5hK6.mjs +0 -42
- package/dist/usePagination-aBXSjQBp.mjs +0 -97
- package/dist/useScrollDirection-C36-HP3S.mjs +0 -28
- package/dist/validation-message-376E95cm.mjs +0 -18
- package/dist/validation-message-376E95cm.mjs.map +0 -1
- package/dist/validation-message-YHHHXfxE.mjs +0 -1
- /package/dist/{index-C3reD4RP.d.mts → index-Dc-SdpIe.d.mts} +0 -0
|
@@ -1,3 +1,51 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { useMergeRefs } from "../../utilities/hooks/useMergeRefs/useMergeRefs.mjs";
|
|
2
|
+
import "@digdir/designsystemet-web";
|
|
3
|
+
import clsx from "clsx/lite";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { createContext, useEffect, useId, useRef } from "react";
|
|
6
|
+
import { useControllableState } from "@radix-ui/react-use-controllable-state";
|
|
7
|
+
//#region src/components/tabs/tabs.tsx
|
|
8
|
+
const Context = createContext({});
|
|
9
|
+
const Tabs = ({ defaultValue, value: valueProp, onChange, children, className, dark, ref, ...props }) => {
|
|
10
|
+
const tabsRef = useRef(null);
|
|
11
|
+
const isProgrammaticClick = useRef(false);
|
|
12
|
+
const valuePrefix = useId();
|
|
13
|
+
const mergedRefs = useMergeRefs([ref, tabsRef]);
|
|
14
|
+
const [value, setValue] = useControllableState({
|
|
15
|
+
prop: valueProp,
|
|
16
|
+
onChange,
|
|
17
|
+
defaultProp: defaultValue || "",
|
|
18
|
+
caller: "Tabs"
|
|
19
|
+
});
|
|
20
|
+
useEffect(() => {
|
|
21
|
+
if (!tabsRef.current || valueProp === void 0) return;
|
|
22
|
+
tabsRef.current?.tabList?.tabs?.forEach((tab) => {
|
|
23
|
+
if (tab.getAttribute("data-value") === valueProp) {
|
|
24
|
+
isProgrammaticClick.current = true;
|
|
25
|
+
tab.click();
|
|
26
|
+
isProgrammaticClick.current = false;
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
}, [valueProp]);
|
|
30
|
+
return /* @__PURE__ */ jsx(Context, {
|
|
31
|
+
value: {
|
|
32
|
+
value,
|
|
33
|
+
defaultValue,
|
|
34
|
+
onChange: setValue,
|
|
35
|
+
getPrefixedValue: (value) => value && `${valuePrefix}-${value}`,
|
|
36
|
+
isProgrammaticClick
|
|
37
|
+
},
|
|
38
|
+
children: /* @__PURE__ */ jsx("ds-tabs", {
|
|
39
|
+
suppressHydrationWarning: true,
|
|
40
|
+
ref: mergedRefs,
|
|
41
|
+
className: clsx("bi-tabs", className),
|
|
42
|
+
"data-dark": dark,
|
|
43
|
+
...props,
|
|
44
|
+
children
|
|
45
|
+
})
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
//#endregion
|
|
49
|
+
export { Context, Tabs };
|
|
2
50
|
|
|
3
|
-
|
|
51
|
+
//# sourceMappingURL=tabs.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabs.mjs","names":[],"sources":["../../../src/components/tabs/tabs.tsx"],"sourcesContent":["import { createContext, useEffect, useId, useRef } from 'react';\nimport type { HTMLAttributes, Ref, RefObject } from 'react';\nimport { useControllableState } from '@radix-ui/react-use-controllable-state';\nimport type { DSTabsElement } from '@digdir/designsystemet-web';\nimport '@digdir/designsystemet-web'; // Import ds-tabs custom element\nimport clsx from 'clsx/lite';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\nimport { useMergeRefs } from '../../utilities/hooks/useMergeRefs/useMergeRefs';\n\nexport type TabsProps = MergeRight<\n DefaultProps & HTMLAttributes<DSTabsElement>,\n {\n /** The value of the tab that should be active when initially rendered. Use when you do not need to control the state of the tabs. */\n defaultValue?: string;\n /** The controlled value of the tab to activate. Should be used together with `onChange`. */\n value?: string;\n /** Event handler called when the value changes. */\n onChange?: (value: string) => void;\n ref?: Ref<DSTabsElement>;\n }\n>;\n\nexport type TabsContext = {\n value?: string;\n defaultValue?: string;\n onChange?: (value: string) => void;\n getPrefixedValue?: (value?: string) => string | undefined;\n isProgrammaticClick?: RefObject<boolean>;\n};\n\nexport const Context = createContext<TabsContext>({});\n\nexport const Tabs = ({\n defaultValue,\n value: valueProp,\n onChange,\n children,\n className,\n dark,\n ref,\n ...props\n}: TabsProps) => {\n const tabsRef = useRef<DSTabsElement>(null);\n const isProgrammaticClick = useRef(false);\n const valuePrefix = useId(); // Used for generation of unique value-based ids for tabs and panels\n const mergedRefs = useMergeRefs([ref, tabsRef]);\n const [value, setValue] = useControllableState({\n prop: valueProp,\n onChange,\n defaultProp: defaultValue || '',\n caller: 'Tabs',\n });\n\n useEffect(() => {\n if (!tabsRef.current || valueProp === undefined) return;\n tabsRef.current?.tabList?.tabs?.forEach((tab) => {\n if (tab.getAttribute('data-value') === valueProp) {\n isProgrammaticClick.current = true;\n tab.click();\n isProgrammaticClick.current = false;\n }\n });\n }, [valueProp]);\n\n return (\n <Context\n value={{\n value,\n defaultValue,\n onChange: setValue,\n getPrefixedValue: (value?: string) => value && `${valuePrefix}-${value}`,\n isProgrammaticClick,\n }}\n >\n <ds-tabs\n suppressHydrationWarning // Since <ds-tablist> adds attributes\n ref={mergedRefs}\n className={clsx('bi-tabs', className)}\n data-dark={dark}\n {...props}\n >\n {children}\n </ds-tabs>\n </Context>\n );\n};\n"],"mappings":";;;;;;;AA+BA,MAAa,UAAU,cAA2B,EAAE,CAAC;AAErD,MAAa,QAAQ,EACnB,cACA,OAAO,WACP,UACA,UACA,WACA,MACA,KACA,GAAG,YACY;CACf,MAAM,UAAU,OAAsB,KAAK;CAC3C,MAAM,sBAAsB,OAAO,MAAM;CACzC,MAAM,cAAc,OAAO;CAC3B,MAAM,aAAa,aAAa,CAAC,KAAK,QAAQ,CAAC;CAC/C,MAAM,CAAC,OAAO,YAAY,qBAAqB;EAC7C,MAAM;EACN;EACA,aAAa,gBAAgB;EAC7B,QAAQ;EACT,CAAC;AAEF,iBAAgB;AACd,MAAI,CAAC,QAAQ,WAAW,cAAc,KAAA,EAAW;AACjD,UAAQ,SAAS,SAAS,MAAM,SAAS,QAAQ;AAC/C,OAAI,IAAI,aAAa,aAAa,KAAK,WAAW;AAChD,wBAAoB,UAAU;AAC9B,QAAI,OAAO;AACX,wBAAoB,UAAU;;IAEhC;IACD,CAAC,UAAU,CAAC;AAEf,QACE,oBAAC,SAAD;EACE,OAAO;GACL;GACA;GACA,UAAU;GACV,mBAAmB,UAAmB,SAAS,GAAG,YAAY,GAAG;GACjE;GACD;YAED,oBAAC,WAAD;GACE,0BAAA;GACA,KAAK;GACL,WAAW,KAAK,WAAW,UAAU;GACrC,aAAW;GACX,GAAI;GAEH;GACO,CAAA;EACF,CAAA"}
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
import "../../
|
|
2
|
-
import "../../useIsomorphicLayoutEffect-PJRUcTSc.mjs";
|
|
3
|
-
import "../../types-Bgj7p8nD.mjs";
|
|
4
|
-
import { l as Textarea, u as TextareaProps } from "../../alert-footer-CHHPzMiX.mjs";
|
|
5
|
-
import "../../dialog-trigger-context-Dlf5Whq6.mjs";
|
|
6
|
-
import "../../drawer-trigger-context-3hDiHR-k.mjs";
|
|
7
|
-
import "../../popover-trigger-context-sQGC75uf.mjs";
|
|
8
|
-
import "../../dropdown-item-wInrqt83.mjs";
|
|
9
|
-
import "../../dropdown-list-z14BOCh4.mjs";
|
|
10
|
-
import "../../footer-links-C7vC-VD7.mjs";
|
|
11
|
-
import "../../pagination-item-cKOuhfhM.mjs";
|
|
12
|
-
import "../../sticky-header-Y0uT-nWI.mjs";
|
|
13
|
-
import "../../index-C3reD4RP.mjs";
|
|
14
|
-
import "../../useIsElementAboveViewport-BcIGWQqn.mjs";
|
|
1
|
+
import { l as Textarea, u as TextareaProps } from "../../alert-footer-42JbxJ0B.mjs";
|
|
15
2
|
export { Textarea, TextareaProps };
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
import "../../
|
|
2
|
-
import "../../useIsomorphicLayoutEffect-PJRUcTSc.mjs";
|
|
3
|
-
import "../../types-Bgj7p8nD.mjs";
|
|
4
|
-
import { l as Textarea, u as TextareaProps } from "../../alert-footer-CHHPzMiX.mjs";
|
|
5
|
-
import "../../dialog-trigger-context-Dlf5Whq6.mjs";
|
|
6
|
-
import "../../drawer-trigger-context-3hDiHR-k.mjs";
|
|
7
|
-
import "../../popover-trigger-context-sQGC75uf.mjs";
|
|
8
|
-
import "../../dropdown-item-wInrqt83.mjs";
|
|
9
|
-
import "../../dropdown-list-z14BOCh4.mjs";
|
|
10
|
-
import "../../footer-links-C7vC-VD7.mjs";
|
|
11
|
-
import "../../pagination-item-cKOuhfhM.mjs";
|
|
12
|
-
import "../../sticky-header-Y0uT-nWI.mjs";
|
|
13
|
-
import "../../index-C3reD4RP.mjs";
|
|
14
|
-
import "../../useIsElementAboveViewport-BcIGWQqn.mjs";
|
|
1
|
+
import { l as Textarea, u as TextareaProps } from "../../alert-footer-42JbxJ0B.mjs";
|
|
15
2
|
export { Textarea, TextareaProps };
|
|
@@ -1,3 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import clsx from "clsx/lite";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/textarea/textarea.tsx
|
|
4
|
+
const Textarea = ({ className, dark, size, ref, ...props }) => {
|
|
5
|
+
return /* @__PURE__ */ jsx("textarea", {
|
|
6
|
+
className: clsx("bi-input", className),
|
|
7
|
+
"data-dark": dark,
|
|
8
|
+
"data-size": size,
|
|
9
|
+
ref,
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
export { Textarea };
|
|
2
15
|
|
|
3
|
-
|
|
16
|
+
//# sourceMappingURL=textarea.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textarea.mjs","names":[],"sources":["../../../src/components/textarea/textarea.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { Ref, TextareaHTMLAttributes } from 'react';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\n\nexport type TextareaProps = MergeRight<\n DefaultProps & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'prefix'>,\n {\n /**\n * Size of the textarea.\n * @default 'medium'\n */\n size?: 'medium' | 'large';\n ref?: Ref<HTMLTextAreaElement>;\n }\n>;\n\nexport const Textarea = ({ className, dark, size, ref, ...props }: TextareaProps) => {\n return <textarea className={clsx('bi-input', className)} data-dark={dark} data-size={size} ref={ref} {...props} />;\n};\n"],"mappings":";;;AAiBA,MAAa,YAAY,EAAE,WAAW,MAAM,MAAM,KAAK,GAAG,YAA2B;AACnF,QAAO,oBAAC,YAAD;EAAU,WAAW,KAAK,YAAY,UAAU;EAAE,aAAW;EAAM,aAAW;EAAW;EAAK,GAAI;EAAS,CAAA"}
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
import "../../
|
|
2
|
-
import "../../useIsomorphicLayoutEffect-PJRUcTSc.mjs";
|
|
3
|
-
import "../../types-Bgj7p8nD.mjs";
|
|
4
|
-
import { c as TextfieldProps, s as Textfield } from "../../alert-footer-CHHPzMiX.mjs";
|
|
5
|
-
import "../../dialog-trigger-context-Dlf5Whq6.mjs";
|
|
6
|
-
import "../../drawer-trigger-context-3hDiHR-k.mjs";
|
|
7
|
-
import "../../popover-trigger-context-sQGC75uf.mjs";
|
|
8
|
-
import "../../dropdown-item-wInrqt83.mjs";
|
|
9
|
-
import "../../dropdown-list-z14BOCh4.mjs";
|
|
10
|
-
import "../../footer-links-C7vC-VD7.mjs";
|
|
11
|
-
import "../../pagination-item-cKOuhfhM.mjs";
|
|
12
|
-
import "../../sticky-header-Y0uT-nWI.mjs";
|
|
13
|
-
import "../../index-C3reD4RP.mjs";
|
|
14
|
-
import "../../useIsElementAboveViewport-BcIGWQqn.mjs";
|
|
1
|
+
import { c as TextfieldProps, s as Textfield } from "../../alert-footer-42JbxJ0B.mjs";
|
|
15
2
|
export { Textfield, TextfieldProps };
|
|
@@ -1,16 +1,2 @@
|
|
|
1
|
-
import "
|
|
2
|
-
|
|
3
|
-
import "../../field-affix-DNZXWyx-.mjs";
|
|
4
|
-
import "../../field-D8ZE0keC.mjs";
|
|
5
|
-
import "../../input-DU_8Z4cN.mjs";
|
|
6
|
-
import "../../input-8Az-c2K1.mjs";
|
|
7
|
-
import "../../label-QZyUM8Df.mjs";
|
|
8
|
-
import "../../label-BrxPu7QD.mjs";
|
|
9
|
-
import "../../validation-message-376E95cm.mjs";
|
|
10
|
-
import "../../validation-message-YHHHXfxE.mjs";
|
|
11
|
-
import "../../textarea-CHhlswpx.mjs";
|
|
12
|
-
import "../../textarea-BDAr1Unx.mjs";
|
|
13
|
-
import { t as Textfield } from "../../textfield-rcRRkfZB.mjs";
|
|
14
|
-
import "../../textfield-BFLLhYVI.mjs";
|
|
15
|
-
|
|
16
|
-
export { Textfield };
|
|
1
|
+
import { Textfield } from "./textfield.mjs";
|
|
2
|
+
export { Textfield };
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
import "../../
|
|
2
|
-
import "../../useIsomorphicLayoutEffect-PJRUcTSc.mjs";
|
|
3
|
-
import "../../types-Bgj7p8nD.mjs";
|
|
4
|
-
import { c as TextfieldProps, s as Textfield } from "../../alert-footer-CHHPzMiX.mjs";
|
|
5
|
-
import "../../dialog-trigger-context-Dlf5Whq6.mjs";
|
|
6
|
-
import "../../drawer-trigger-context-3hDiHR-k.mjs";
|
|
7
|
-
import "../../popover-trigger-context-sQGC75uf.mjs";
|
|
8
|
-
import "../../dropdown-item-wInrqt83.mjs";
|
|
9
|
-
import "../../dropdown-list-z14BOCh4.mjs";
|
|
10
|
-
import "../../footer-links-C7vC-VD7.mjs";
|
|
11
|
-
import "../../pagination-item-cKOuhfhM.mjs";
|
|
12
|
-
import "../../sticky-header-Y0uT-nWI.mjs";
|
|
13
|
-
import "../../index-C3reD4RP.mjs";
|
|
14
|
-
import "../../useIsElementAboveViewport-BcIGWQqn.mjs";
|
|
1
|
+
import { c as TextfieldProps, s as Textfield } from "../../alert-footer-42JbxJ0B.mjs";
|
|
15
2
|
export { Textfield, TextfieldProps };
|
|
@@ -1,15 +1,69 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
10
|
-
import "
|
|
11
|
-
import "
|
|
12
|
-
import "
|
|
13
|
-
import {
|
|
1
|
+
import { Field } from "../field/field.mjs";
|
|
2
|
+
import { FieldDescription } from "../field/field-description.mjs";
|
|
3
|
+
import { FieldAffix, FieldAffixes } from "../field/field-affix.mjs";
|
|
4
|
+
import "../field/index.mjs";
|
|
5
|
+
import { Input } from "../input/input.mjs";
|
|
6
|
+
import "../input/index.mjs";
|
|
7
|
+
import { Label } from "../label/label.mjs";
|
|
8
|
+
import "../label/index.mjs";
|
|
9
|
+
import { ValidationMessage } from "../validation-message/validation-message.mjs";
|
|
10
|
+
import "../validation-message/index.mjs";
|
|
11
|
+
import { Textarea } from "../textarea/textarea.mjs";
|
|
12
|
+
import "../textarea/index.mjs";
|
|
13
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
|
+
import { useId } from "react";
|
|
15
|
+
//#region src/components/textfield/textfield.tsx
|
|
16
|
+
const Textfield = ({ dark, label, description, error, multiline, prefix, suffix, style, className, fullwidth, ref, id: idProp, "aria-describedby": ariaDescribedByProp, ...props }) => {
|
|
17
|
+
const generatedId = useId();
|
|
18
|
+
const descriptionId = useId();
|
|
19
|
+
const validationId = useId();
|
|
20
|
+
const id = idProp || generatedId;
|
|
21
|
+
const ariaDescribedBy = [
|
|
22
|
+
description ? descriptionId : "",
|
|
23
|
+
error ? validationId : "",
|
|
24
|
+
ariaDescribedByProp
|
|
25
|
+
].join(" ").trim() || void 0;
|
|
26
|
+
return /* @__PURE__ */ jsxs(Field, {
|
|
27
|
+
className,
|
|
28
|
+
"data-dark": dark,
|
|
29
|
+
style,
|
|
30
|
+
fullwidth,
|
|
31
|
+
children: [
|
|
32
|
+
label && /* @__PURE__ */ jsx(Label, {
|
|
33
|
+
htmlFor: id,
|
|
34
|
+
children: label
|
|
35
|
+
}),
|
|
36
|
+
description && /* @__PURE__ */ jsx(FieldDescription, {
|
|
37
|
+
id: descriptionId,
|
|
38
|
+
children: description
|
|
39
|
+
}),
|
|
40
|
+
/* @__PURE__ */ jsxs(FieldAffixes, { children: [
|
|
41
|
+
prefix && /* @__PURE__ */ jsx(FieldAffix, { children: prefix }),
|
|
42
|
+
multiline ? /* @__PURE__ */ jsx(Textarea, {
|
|
43
|
+
id,
|
|
44
|
+
ref,
|
|
45
|
+
"aria-invalid": Boolean(error) || void 0,
|
|
46
|
+
"aria-describedby": ariaDescribedBy,
|
|
47
|
+
dark,
|
|
48
|
+
...props
|
|
49
|
+
}) : /* @__PURE__ */ jsx(Input, {
|
|
50
|
+
id,
|
|
51
|
+
ref,
|
|
52
|
+
"aria-invalid": Boolean(error) || void 0,
|
|
53
|
+
"aria-describedby": ariaDescribedBy,
|
|
54
|
+
dark,
|
|
55
|
+
...props
|
|
56
|
+
}),
|
|
57
|
+
suffix && /* @__PURE__ */ jsx(FieldAffix, { children: suffix })
|
|
58
|
+
] }),
|
|
59
|
+
!!error && /* @__PURE__ */ jsx(ValidationMessage, {
|
|
60
|
+
id: validationId,
|
|
61
|
+
children: error
|
|
62
|
+
})
|
|
63
|
+
]
|
|
64
|
+
});
|
|
65
|
+
};
|
|
66
|
+
//#endregion
|
|
67
|
+
export { Textfield };
|
|
14
68
|
|
|
15
|
-
|
|
69
|
+
//# sourceMappingURL=textfield.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textfield.mjs","names":[],"sources":["../../../src/components/textfield/textfield.tsx"],"sourcesContent":["import { useId, type ReactNode, type Ref } from 'react';\n\nimport type { DefaultProps, LabelRequiredProps } from '../../types';\nimport { Field, FieldAffix, FieldAffixes, FieldDescription } from '../field';\nimport { Input, type InputProps } from '../input';\nimport { Label } from '../label';\nimport { Textarea, type TextareaProps } from '../textarea';\nimport { ValidationMessage } from '../validation-message';\n\ntype InputPropsFiltered = Omit<InputProps, 'prefix' | 'className' | 'style'>;\ntype TextareaPropsFiltered = Omit<TextareaProps, 'prefix' | 'className' | 'style'>;\n\ntype BaseTextfieldProps = LabelRequiredProps &\n DefaultProps & {\n /** Label */\n label?: ReactNode;\n /** Description */\n description?: ReactNode;\n /** Prefix */\n prefix?: string;\n /** Suffix */\n suffix?: string;\n /** Error message for field */\n error?: ReactNode;\n /** `className` for the `Field` element */\n className?: InputProps['className'];\n /** `style` for the `Field` element */\n style?: InputProps['style'];\n /** If true, the selectfield will take up the full available width */\n fullwidth?: boolean;\n };\n\ntype TextfieldTextareaProps = {\n /** Render `Textarea` instead of a `Input`. The `Textarea` has support for multiple rows of input. */\n multiline: true;\n} & TextareaPropsFiltered;\n\ntype TextfieldInputProps = {\n /** Render `Textarea` instead of a `Input`. The `Textarea` has support for multiple rows of input. */\n multiline?: never | false;\n} & InputPropsFiltered;\n\nexport type TextfieldProps = BaseTextfieldProps & // We use either Textarea or Input props, depending on the `multiline` prop.\n (TextfieldTextareaProps | TextfieldInputProps) & {\n ref?: Ref<HTMLInputElement | HTMLTextAreaElement>;\n };\n\nexport const Textfield = ({\n dark,\n label,\n description,\n error,\n multiline,\n prefix,\n suffix,\n style,\n className,\n fullwidth,\n ref,\n id: idProp,\n 'aria-describedby': ariaDescribedByProp,\n ...props\n}: TextfieldProps) => {\n const generatedId = useId();\n const descriptionId = useId();\n const validationId = useId();\n const id = idProp || generatedId;\n\n const ariaDescribedBy =\n [description ? descriptionId : '', error ? validationId : '', ariaDescribedByProp].join(' ').trim() || undefined;\n return (\n <Field className={className} data-dark={dark} style={style} fullwidth={fullwidth}>\n {label && <Label htmlFor={id}>{label}</Label>}\n {description && <FieldDescription id={descriptionId}>{description}</FieldDescription>}\n <FieldAffixes>\n {prefix && <FieldAffix>{prefix}</FieldAffix>}\n {multiline ? (\n <Textarea\n id={id}\n ref={ref as Ref<HTMLTextAreaElement>}\n aria-invalid={Boolean(error) || undefined}\n aria-describedby={ariaDescribedBy}\n dark={dark}\n {...(props as TextareaPropsFiltered)}\n />\n ) : (\n <Input\n id={id}\n ref={ref as Ref<HTMLInputElement>}\n aria-invalid={Boolean(error) || undefined}\n aria-describedby={ariaDescribedBy}\n dark={dark}\n {...(props as InputPropsFiltered)}\n />\n )}\n {suffix && <FieldAffix>{suffix}</FieldAffix>}\n </FieldAffixes>\n {!!error && <ValidationMessage id={validationId}>{error}</ValidationMessage>}\n </Field>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;AA+CA,MAAa,aAAa,EACxB,MACA,OACA,aACA,OACA,WACA,QACA,QACA,OACA,WACA,WACA,KACA,IAAI,QACJ,oBAAoB,qBACpB,GAAG,YACiB;CACpB,MAAM,cAAc,OAAO;CAC3B,MAAM,gBAAgB,OAAO;CAC7B,MAAM,eAAe,OAAO;CAC5B,MAAM,KAAK,UAAU;CAErB,MAAM,kBACJ;EAAC,cAAc,gBAAgB;EAAI,QAAQ,eAAe;EAAI;EAAoB,CAAC,KAAK,IAAI,CAAC,MAAM,IAAI,KAAA;AACzG,QACE,qBAAC,OAAD;EAAkB;EAAW,aAAW;EAAa;EAAkB;YAAvE;GACG,SAAS,oBAAC,OAAD;IAAO,SAAS;cAAK;IAAc,CAAA;GAC5C,eAAe,oBAAC,kBAAD;IAAkB,IAAI;cAAgB;IAA+B,CAAA;GACrF,qBAAC,cAAD,EAAA,UAAA;IACG,UAAU,oBAAC,YAAD,EAAA,UAAa,QAAoB,CAAA;IAC3C,YACC,oBAAC,UAAD;KACM;KACC;KACL,gBAAc,QAAQ,MAAM,IAAI,KAAA;KAChC,oBAAkB;KACZ;KACN,GAAK;KACL,CAAA,GAEF,oBAAC,OAAD;KACM;KACC;KACL,gBAAc,QAAQ,MAAM,IAAI,KAAA;KAChC,oBAAkB;KACZ;KACN,GAAK;KACL,CAAA;IAEH,UAAU,oBAAC,YAAD,EAAA,UAAa,QAAoB,CAAA;IAC/B,EAAA,CAAA;GACd,CAAC,CAAC,SAAS,oBAAC,mBAAD;IAAmB,IAAI;cAAe;IAA0B,CAAA;GACtE"}
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
import "../../
|
|
2
|
-
import "../../useIsomorphicLayoutEffect-PJRUcTSc.mjs";
|
|
3
|
-
import "../../types-Bgj7p8nD.mjs";
|
|
4
|
-
import { a as ValidationMessage, o as ValidationMessageProps } from "../../alert-footer-CHHPzMiX.mjs";
|
|
5
|
-
import "../../dialog-trigger-context-Dlf5Whq6.mjs";
|
|
6
|
-
import "../../drawer-trigger-context-3hDiHR-k.mjs";
|
|
7
|
-
import "../../popover-trigger-context-sQGC75uf.mjs";
|
|
8
|
-
import "../../dropdown-item-wInrqt83.mjs";
|
|
9
|
-
import "../../dropdown-list-z14BOCh4.mjs";
|
|
10
|
-
import "../../footer-links-C7vC-VD7.mjs";
|
|
11
|
-
import "../../pagination-item-cKOuhfhM.mjs";
|
|
12
|
-
import "../../sticky-header-Y0uT-nWI.mjs";
|
|
13
|
-
import "../../index-C3reD4RP.mjs";
|
|
14
|
-
import "../../useIsElementAboveViewport-BcIGWQqn.mjs";
|
|
1
|
+
import { a as ValidationMessage, o as ValidationMessageProps } from "../../alert-footer-42JbxJ0B.mjs";
|
|
15
2
|
export { ValidationMessage, ValidationMessageProps };
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
import "../../
|
|
2
|
-
import "../../useIsomorphicLayoutEffect-PJRUcTSc.mjs";
|
|
3
|
-
import "../../types-Bgj7p8nD.mjs";
|
|
4
|
-
import { a as ValidationMessage, o as ValidationMessageProps } from "../../alert-footer-CHHPzMiX.mjs";
|
|
5
|
-
import "../../dialog-trigger-context-Dlf5Whq6.mjs";
|
|
6
|
-
import "../../drawer-trigger-context-3hDiHR-k.mjs";
|
|
7
|
-
import "../../popover-trigger-context-sQGC75uf.mjs";
|
|
8
|
-
import "../../dropdown-item-wInrqt83.mjs";
|
|
9
|
-
import "../../dropdown-list-z14BOCh4.mjs";
|
|
10
|
-
import "../../footer-links-C7vC-VD7.mjs";
|
|
11
|
-
import "../../pagination-item-cKOuhfhM.mjs";
|
|
12
|
-
import "../../sticky-header-Y0uT-nWI.mjs";
|
|
13
|
-
import "../../index-C3reD4RP.mjs";
|
|
14
|
-
import "../../useIsElementAboveViewport-BcIGWQqn.mjs";
|
|
1
|
+
import { a as ValidationMessage, o as ValidationMessageProps } from "../../alert-footer-42JbxJ0B.mjs";
|
|
15
2
|
export { ValidationMessage, ValidationMessageProps };
|
|
@@ -1,3 +1,17 @@
|
|
|
1
|
-
import
|
|
1
|
+
import clsx from "clsx/lite";
|
|
2
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
3
|
+
import { ErrorIcon } from "@bi-digital/icons";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/validation-message/validation-message.tsx
|
|
6
|
+
const ValidationMessage = ({ children, className, icon, asChild, ref, ...props }) => {
|
|
7
|
+
return /* @__PURE__ */ jsxs(asChild ? Slot : "p", {
|
|
8
|
+
className: clsx("bi-validation-message", className),
|
|
9
|
+
ref,
|
|
10
|
+
...props,
|
|
11
|
+
children: [icon || /* @__PURE__ */ jsx(ErrorIcon, {}), children]
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
15
|
+
export { ValidationMessage };
|
|
2
16
|
|
|
3
|
-
|
|
17
|
+
//# sourceMappingURL=validation-message.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validation-message.mjs","names":[],"sources":["../../../src/components/validation-message/validation-message.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot';\nimport clsx from 'clsx/lite';\nimport type { HTMLAttributes, ReactNode, Ref } from 'react';\nimport type { AsChildProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\nimport { ErrorIcon } from '@bi-digital/icons';\n\nexport type ValidationMessageProps = MergeRight<\n AsChildProps & HTMLAttributes<HTMLParagraphElement>,\n {\n /** Override the default warning icon. Must be a BiIcon to work correctly. */\n icon?: ReactNode;\n ref?: Ref<HTMLParagraphElement>;\n }\n>;\n\nexport const ValidationMessage = ({ children, className, icon, asChild, ref, ...props }: ValidationMessageProps) => {\n const Component = asChild ? Slot : 'p';\n\n return (\n <Component className={clsx('bi-validation-message', className)} ref={ref} {...props}>\n {icon || <ErrorIcon />}\n {children}\n </Component>\n );\n};\n"],"mappings":";;;;;AAgBA,MAAa,qBAAqB,EAAE,UAAU,WAAW,MAAM,SAAS,KAAK,GAAG,YAAoC;AAGlH,QACE,qBAHgB,UAAU,OAAO,KAGjC;EAAW,WAAW,KAAK,yBAAyB,UAAU;EAAO;EAAK,GAAI;YAA9E,CACG,QAAQ,oBAAC,WAAD,EAAa,CAAA,EACrB,SACS"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as react from "react";
|
|
3
|
+
import { ReactNode } from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/dialog/dialog-trigger-context.d.ts
|
|
6
|
+
type DialogContext = {
|
|
7
|
+
id?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const Context: react.Context<DialogContext & {
|
|
10
|
+
setContext?: (context: DialogContext) => void;
|
|
11
|
+
}>;
|
|
12
|
+
type DialogTriggerContextProps = {
|
|
13
|
+
children: ReactNode;
|
|
14
|
+
};
|
|
15
|
+
declare const DialogTriggerContext: ({
|
|
16
|
+
children
|
|
17
|
+
}: DialogTriggerContextProps) => react_jsx_runtime0.JSX.Element;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { DialogTriggerContext as n, DialogTriggerContextProps as r, Context as t };
|
|
20
|
+
//# sourceMappingURL=dialog-trigger-context-CAC7jh1K.d.mts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import { ReactNode } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/drawer/drawer-trigger-context.d.ts
|
|
5
|
+
type DrawerTriggerContextProps = {
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated The DrawerTriggerContext component is deprecated in favor of using the DialogTriggerContext component with the `anchor` prop set to "left", "right", "top" or "bottom". This allows for a more consistent API and reduces the need for multiple components with similar behavior. The DialogTriggerContext component with the appropriate anchor can be used to achieve the same sliding drawer effect.
|
|
10
|
+
*/
|
|
11
|
+
declare const DrawerTriggerContext: ({
|
|
12
|
+
children
|
|
13
|
+
}: DrawerTriggerContextProps) => react_jsx_runtime0.JSX.Element;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { DrawerTriggerContextProps as n, DrawerTriggerContext as t };
|
|
16
|
+
//# sourceMappingURL=drawer-trigger-context-DxLBj5Xr.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
import { HTMLAttributes, Ref } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/dropdown/dropdown-item.d.ts
|
|
@@ -8,7 +8,7 @@ type DropdownItemProps = HTMLAttributes<HTMLLIElement> & {
|
|
|
8
8
|
declare const DropdownItem: ({
|
|
9
9
|
ref,
|
|
10
10
|
...rest
|
|
11
|
-
}: DropdownItemProps) =>
|
|
11
|
+
}: DropdownItemProps) => react_jsx_runtime0.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { DropdownItemProps as n, DropdownItem as t };
|
|
14
|
-
//# sourceMappingURL=dropdown-item-
|
|
14
|
+
//# sourceMappingURL=dropdown-item-B6MmulV_.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
import { HTMLAttributes, Ref } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/dropdown/dropdown-list.d.ts
|
|
@@ -8,7 +8,7 @@ type DropdownListProps = HTMLAttributes<HTMLUListElement> & {
|
|
|
8
8
|
declare const DropdownList: ({
|
|
9
9
|
ref,
|
|
10
10
|
...rest
|
|
11
|
-
}: DropdownListProps) =>
|
|
11
|
+
}: DropdownListProps) => react_jsx_runtime0.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { DropdownListProps as n, DropdownList as t };
|
|
14
|
-
//# sourceMappingURL=dropdown-list-
|
|
14
|
+
//# sourceMappingURL=dropdown-list-DKugDMKm.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
import { HTMLAttributes, Ref } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/footer/footer-links.d.ts
|
|
@@ -14,7 +14,7 @@ declare const FooterLinks: ({
|
|
|
14
14
|
children,
|
|
15
15
|
ref,
|
|
16
16
|
...props
|
|
17
|
-
}: FooterLinksProps) =>
|
|
17
|
+
}: FooterLinksProps) => react_jsx_runtime0.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { FooterLinksProps as n, FooterLinks as t };
|
|
20
|
-
//# sourceMappingURL=footer-links-
|
|
20
|
+
//# sourceMappingURL=footer-links-Dac3-Emr.d.mts.map
|
package/dist/main.d.mts
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import { r as useCheckboxGroup, t as UseCheckboxGroupOptions } from "./useCheckboxGroup-
|
|
2
|
-
import { t as useIsomorphicLayoutEffect } from "./useIsomorphicLayoutEffect-
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { n as
|
|
6
|
-
import { n as
|
|
7
|
-
import { n as
|
|
8
|
-
import { n as
|
|
9
|
-
import { n as
|
|
10
|
-
import { n as
|
|
11
|
-
import { n as
|
|
12
|
-
import {
|
|
13
|
-
import "./
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
|
|
17
|
-
import { t as MergeRight } from "./types-Biyhmxh9.mjs";
|
|
18
|
-
export { Alert, AlertFooter, AlertFooterProps, AlertProps, Avatar, AvatarProps, Badge, BadgeProps, Button, ButtonProps, Card, CardAction, CardActionProps, CardActions, CardActionsProps, CardContent, CardContentProps, CardDate, CardDateProps, CardHeader, CardHeaderProps, CardMedia, CardMediaProps, CardProps, Checkbox, CheckboxProps, CheckboxSubsection, CheckboxSubsectionProps, Chip, ChipProps, Context, Details, DetailsContent, DetailsContentProps, DetailsProps, DetailsSummary, DetailsSummaryProps, Dialog, DialogCloseButton, DialogCloseButtonProps, DialogContent, DialogContentProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogProps, DialogTrigger, DialogTriggerContext, DialogTriggerContextProps, DialogTriggerProps, Drawer, DrawerCloseButton, DrawerCloseButtonProps, DrawerContent, DrawerContentProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerProps, DrawerTrigger, DrawerTriggerContext, DrawerTriggerContextProps, DrawerTriggerProps, Dropdown, DropdownButton, DropdownButtonProps, DropdownItem, DropdownItemProps, DropdownList, DropdownListProps, DropdownProps, DropdownTrigger, DropdownTriggerContext, DropdownTriggerContextProps, DropdownTriggerProps, Field, FieldAffix, FieldAffixProps, FieldAffixes, FieldAffixesProps, FieldDescription, FieldDescriptionProps, FieldProps, Fieldset, FieldsetDescription, FieldsetDescriptionProps, FieldsetLegend, FieldsetLegendProps, FieldsetProps, FilterGroup, FilterGroupProps, Footer, FooterLinks, FooterLinksProps, FooterProps, Input, InputProps, Label, LabelProps, Link, LinkProps, Logo, LogoProps, MergeRight, Navbar, NavbarProps, Pagination, PaginationButton, PaginationButtonProps, PaginationItem, PaginationItemProps, PaginationProps, Popover, PopoverProps, PopoverTrigger, PopoverTriggerContext, PopoverTriggerContextProps, PopoverTriggerProps, Radio, RadioProps, Search, SearchProps, Select, SelectOptgroup, SelectOptgroupProps, SelectOption, SelectOptionProps, SelectProps, Selectfield, SelectfieldProps, SkipLink, SkipLinkProps, Spinner, SpinnerProps, StickyHeader, StickyHeaderProps, SubNavbar, SubNavbarProps, Switch, SwitchProps, Tab, TabProps, Tabs, TabsList, TabsListProps, TabsPanel, TabsPanelProps, TabsProps, Textarea, TextareaProps, Textfield, TextfieldProps, UseCheckboxGroupOptions, UseMediaQueryOptions, UsePaginationProps, ValidationMessage, ValidationMessageProps, useCheckboxGroup, useIsElementAboveViewport, useIsomorphicLayoutEffect, useMediaQuery, usePagination, useScrollDirection };
|
|
1
|
+
import { r as useCheckboxGroup, t as UseCheckboxGroupOptions } from "./useCheckboxGroup-Boc_tLJ3.mjs";
|
|
2
|
+
import { t as useIsomorphicLayoutEffect } from "./useIsomorphicLayoutEffect-DXCY5AxR.mjs";
|
|
3
|
+
import { $ as FilterGroup, $t as DetailsSummary, A as SelectOptgroupProps, An as BadgeProps, At as DrawerCloseButtonProps, B as PaginationButtonProps, Bt as DrawerProps, C as Spinner, Cn as CardActions, Ct as Dropdown, D as Selectfield, Dn as Button, Dt as Popover, E as SkipLinkProps, En as CardProps, Et as PopoverTriggerProps, F as Search, Ft as DrawerHeader, G as Navbar, Gt as DialogFooter, H as PaginationProps, Ht as DialogCloseButtonProps, I as SearchProps, It as DrawerHeaderProps, J as LogoProps, Jt as DialogHeaderProps, K as NavbarProps, Kt as DialogFooterProps, L as Radio, Lt as DrawerContent, M as SelectOptionProps, Mn as AvatarProps, Mt as DrawerTriggerProps, N as Select, Nn as Alert, Nt as DrawerFooter, O as SelectfieldProps, On as ButtonProps, Ot as PopoverProps, P as SelectProps, Pn as AlertProps, Pt as DrawerFooterProps, Q as FooterProps, Qt as DialogProps, R as RadioProps, Rt as DrawerContentProps, S as SwitchProps, Sn as CardActionProps, St as DropdownButtonProps, T as SkipLink, Tn as Card, Tt as PopoverTrigger, U as SubNavbar, Ut as DialogTrigger, V as Pagination, Vt as DialogCloseButton, W as SubNavbarProps, Wt as DialogTriggerProps, X as LinkProps, Xt as DialogContentProps, Y as Link, Yt as DialogContent, Z as Footer, Zt as Dialog, _n as CardHeader, _t as DropdownTriggerContext, a as ValidationMessage, an as Chip, at as FieldsetDescription, b as TabsProps, bn as CardContentProps, bt as DropdownTriggerProps, c as TextfieldProps, cn as CheckboxSubsectionProps, ct as FieldsetProps, d as TabsPanel, dn as Input, dt as FieldAffixes, en as DetailsSummaryProps, et as FilterGroupProps, f as TabsPanelProps, fn as InputProps, ft as FieldAffixesProps, g as TabProps, gn as CardMediaProps, gt as FieldProps, h as Tab, hn as CardMedia, ht as Field, i as usePagination, in as DetailsProps, it as LabelProps, j as SelectOption, jn as Avatar, jt as DrawerTrigger, k as SelectOptgroup, kn as Badge, kt as DrawerCloseButton, l as Textarea, ln as Checkbox, lt as FieldAffix, m as TabsListProps, mn as CardDateProps, mt as FieldDescriptionProps, n as AlertFooterProps, nn as DetailsContentProps, nt as FieldsetLegendProps, o as ValidationMessageProps, on as ChipProps, ot as FieldsetDescriptionProps, p as TabsList, pn as CardDate, pt as FieldDescription, q as Logo, qt as DialogHeader, r as UsePaginationProps, rn as Details, rt as Label, s as Textfield, sn as CheckboxSubsection, st as Fieldset, t as AlertFooter, tn as DetailsContent, tt as FieldsetLegend, u as TextareaProps, un as CheckboxProps, ut as FieldAffixProps, v as Tabs, vn as CardHeaderProps, vt as DropdownTriggerContextProps, w as SpinnerProps, wn as CardActionsProps, wt as DropdownProps, x as Switch, xn as CardAction, xt as DropdownButton, y as TabsContext, yn as CardContent, yt as DropdownTrigger, z as PaginationButton, zt as Drawer } from "./alert-footer-42JbxJ0B.mjs";
|
|
4
|
+
import { n as DialogTriggerContext, r as DialogTriggerContextProps, t as Context } from "./dialog-trigger-context-CAC7jh1K.mjs";
|
|
5
|
+
import { n as DrawerTriggerContextProps, t as DrawerTriggerContext } from "./drawer-trigger-context-DxLBj5Xr.mjs";
|
|
6
|
+
import { n as PopoverTriggerContext, r as PopoverTriggerContextProps } from "./popover-trigger-context-BG1lPWXA.mjs";
|
|
7
|
+
import { n as DropdownItemProps, t as DropdownItem } from "./dropdown-item-B6MmulV_.mjs";
|
|
8
|
+
import { n as DropdownListProps, t as DropdownList } from "./dropdown-list-DKugDMKm.mjs";
|
|
9
|
+
import { n as FooterLinksProps, t as FooterLinks } from "./footer-links-Dac3-Emr.mjs";
|
|
10
|
+
import { n as PaginationItemProps, t as PaginationItem } from "./pagination-item-AQQSJ7GD.mjs";
|
|
11
|
+
import { n as StickyHeaderProps, t as StickyHeader } from "./sticky-header-C6gJlnzy.mjs";
|
|
12
|
+
import { t as useIsElementAboveViewport } from "./useIsElementAboveViewport-Cxt9TwLS.mjs";
|
|
13
|
+
import { t as useScrollDirection } from "./useScrollDirection-6pq5a8B3.mjs";
|
|
14
|
+
import { n as useMediaQuery, t as UseMediaQueryOptions } from "./useMediaQuery-Di0fXraw.mjs";
|
|
15
|
+
import { t as MergeRight } from "./types-74lJC5tL.mjs";
|
|
16
|
+
export { Alert, AlertFooter, AlertFooterProps, AlertProps, Avatar, AvatarProps, Badge, BadgeProps, Button, ButtonProps, Card, CardAction, CardActionProps, CardActions, CardActionsProps, CardContent, CardContentProps, CardDate, CardDateProps, CardHeader, CardHeaderProps, CardMedia, CardMediaProps, CardProps, Checkbox, CheckboxProps, CheckboxSubsection, CheckboxSubsectionProps, Chip, ChipProps, Context, Details, DetailsContent, DetailsContentProps, DetailsProps, DetailsSummary, DetailsSummaryProps, Dialog, DialogCloseButton, DialogCloseButtonProps, DialogContent, DialogContentProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogProps, DialogTrigger, DialogTriggerContext, DialogTriggerContextProps, DialogTriggerProps, Drawer, DrawerCloseButton, DrawerCloseButtonProps, DrawerContent, DrawerContentProps, DrawerFooter, DrawerFooterProps, DrawerHeader, DrawerHeaderProps, DrawerProps, DrawerTrigger, DrawerTriggerContext, DrawerTriggerContextProps, DrawerTriggerProps, Dropdown, DropdownButton, DropdownButtonProps, DropdownItem, DropdownItemProps, DropdownList, DropdownListProps, DropdownProps, DropdownTrigger, DropdownTriggerContext, DropdownTriggerContextProps, DropdownTriggerProps, Field, FieldAffix, FieldAffixProps, FieldAffixes, FieldAffixesProps, FieldDescription, FieldDescriptionProps, FieldProps, Fieldset, FieldsetDescription, FieldsetDescriptionProps, FieldsetLegend, FieldsetLegendProps, FieldsetProps, FilterGroup, FilterGroupProps, Footer, FooterLinks, FooterLinksProps, FooterProps, Input, InputProps, Label, LabelProps, Link, LinkProps, Logo, LogoProps, MergeRight, Navbar, NavbarProps, Pagination, PaginationButton, PaginationButtonProps, PaginationItem, PaginationItemProps, PaginationProps, Popover, PopoverProps, PopoverTrigger, PopoverTriggerContext, PopoverTriggerContextProps, PopoverTriggerProps, Radio, RadioProps, Search, SearchProps, Select, SelectOptgroup, SelectOptgroupProps, SelectOption, SelectOptionProps, SelectProps, Selectfield, SelectfieldProps, SkipLink, SkipLinkProps, Spinner, SpinnerProps, StickyHeader, StickyHeaderProps, SubNavbar, SubNavbarProps, Switch, SwitchProps, Tab, TabProps, Tabs, TabsContext, TabsList, TabsListProps, TabsPanel, TabsPanelProps, TabsProps, Textarea, TextareaProps, Textfield, TextfieldProps, UseCheckboxGroupOptions, UseMediaQueryOptions, UsePaginationProps, ValidationMessage, ValidationMessageProps, useCheckboxGroup, useIsElementAboveViewport, useIsomorphicLayoutEffect, useMediaQuery, usePagination, useScrollDirection };
|