@bi-digital/react 0.12.3 → 0.12.4
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-B80k5mkX.d.mts → alert-footer-BoTu7E1s.d.mts} +194 -599
- package/dist/components/alert/alert-footer.d.mts +1 -1
- package/dist/components/alert/alert-footer.mjs.map +1 -1
- package/dist/components/alert/alert.d.mts +1 -1
- package/dist/components/alert/alert.mjs +1 -1
- package/dist/components/alert/alert.mjs.map +1 -1
- package/dist/components/alert/index.d.mts +2 -2
- package/dist/components/avatar/avatar.d.mts +1 -1
- package/dist/components/avatar/avatar.mjs.map +1 -1
- package/dist/components/avatar/index.d.mts +2 -2
- package/dist/components/badge/badge.d.mts +1 -1
- package/dist/components/badge/badge.mjs.map +1 -1
- package/dist/components/badge/index.d.mts +2 -2
- package/dist/components/button/button.d.mts +1 -1
- package/dist/components/button/button.mjs.map +1 -1
- package/dist/components/button/index.d.mts +2 -2
- package/dist/components/card/card-action.d.mts +1 -1
- package/dist/components/card/card-action.mjs.map +1 -1
- package/dist/components/card/card-actions.d.mts +1 -1
- package/dist/components/card/card-actions.mjs.map +1 -1
- package/dist/components/card/card-content.d.mts +1 -1
- package/dist/components/card/card-content.mjs.map +1 -1
- package/dist/components/card/card-date.d.mts +1 -1
- package/dist/components/card/card-date.mjs.map +1 -1
- package/dist/components/card/card-header.d.mts +1 -1
- package/dist/components/card/card-header.mjs.map +1 -1
- package/dist/components/card/card-media.d.mts +1 -1
- package/dist/components/card/card-media.mjs.map +1 -1
- package/dist/components/card/card.d.mts +1 -1
- package/dist/components/card/card.mjs.map +1 -1
- package/dist/components/card/index.d.mts +2 -2
- package/dist/components/checkbox/checkbox-subsection.d.mts +1 -1
- package/dist/components/checkbox/checkbox-subsection.mjs.map +1 -1
- package/dist/components/checkbox/checkbox.d.mts +1 -1
- package/dist/components/checkbox/checkbox.mjs.map +1 -1
- package/dist/components/checkbox/index.d.mts +2 -2
- package/dist/components/chip/chip.d.mts +1 -1
- package/dist/components/chip/chip.mjs.map +1 -1
- package/dist/components/chip/index.d.mts +2 -2
- package/dist/components/details/details-content.d.mts +1 -1
- package/dist/components/details/details-content.mjs.map +1 -1
- package/dist/components/details/details-summary.d.mts +1 -1
- package/dist/components/details/details-summary.mjs.map +1 -1
- package/dist/components/details/details.d.mts +1 -1
- package/dist/components/details/details.mjs.map +1 -1
- package/dist/components/details/index.d.mts +2 -2
- package/dist/components/dialog/dialog-close-button.d.mts +1 -1
- package/dist/components/dialog/dialog-close-button.mjs.map +1 -1
- package/dist/components/dialog/dialog-content.d.mts +1 -1
- package/dist/components/dialog/dialog-content.mjs.map +1 -1
- package/dist/components/dialog/dialog-footer.d.mts +1 -1
- package/dist/components/dialog/dialog-footer.mjs.map +1 -1
- package/dist/components/dialog/dialog-header.d.mts +1 -1
- package/dist/components/dialog/dialog-header.mjs.map +1 -1
- package/dist/components/dialog/dialog-trigger-context.d.mts +1 -1
- package/dist/components/dialog/dialog-trigger-context.mjs.map +1 -1
- package/dist/components/dialog/dialog-trigger.d.mts +1 -1
- package/dist/components/dialog/dialog-trigger.mjs.map +1 -1
- package/dist/components/dialog/dialog.d.mts +1 -1
- package/dist/components/dialog/dialog.mjs.map +1 -1
- package/dist/components/dialog/index.d.mts +3 -3
- package/dist/components/dropdown/dropdown-button.d.mts +1 -1
- package/dist/components/dropdown/dropdown-button.mjs.map +1 -1
- package/dist/components/dropdown/dropdown-item.d.mts +1 -1
- package/dist/components/dropdown/dropdown-item.mjs.map +1 -1
- package/dist/components/dropdown/dropdown-list.d.mts +1 -1
- package/dist/components/dropdown/dropdown-list.mjs.map +1 -1
- package/dist/components/dropdown/dropdown-trigger-context.d.mts +1 -1
- package/dist/components/dropdown/dropdown-trigger-context.mjs.map +1 -1
- package/dist/components/dropdown/dropdown-trigger.d.mts +1 -1
- package/dist/components/dropdown/dropdown-trigger.mjs.map +1 -1
- package/dist/components/dropdown/dropdown.d.mts +1 -1
- package/dist/components/dropdown/dropdown.mjs.map +1 -1
- package/dist/components/dropdown/index.d.mts +4 -4
- package/dist/components/field/field-affix.d.mts +1 -1
- package/dist/components/field/field-affix.mjs.map +1 -1
- package/dist/components/field/field-description.d.mts +1 -1
- package/dist/components/field/field-description.mjs.map +1 -1
- package/dist/components/field/field.d.mts +1 -1
- package/dist/components/field/field.mjs.map +1 -1
- package/dist/components/field/index.d.mts +2 -2
- package/dist/components/fieldset/fieldset-description.d.mts +1 -1
- package/dist/components/fieldset/fieldset-description.mjs.map +1 -1
- package/dist/components/fieldset/fieldset-legend.d.mts +1 -1
- package/dist/components/fieldset/fieldset-legend.mjs.map +1 -1
- package/dist/components/fieldset/fieldset.d.mts +1 -1
- package/dist/components/fieldset/fieldset.mjs.map +1 -1
- package/dist/components/fieldset/index.d.mts +2 -2
- package/dist/components/filter-group/filter-group.d.mts +1 -1
- package/dist/components/filter-group/filter-group.mjs.map +1 -1
- package/dist/components/filter-group/index.d.mts +2 -2
- package/dist/components/footer/footer-links.d.mts +1 -1
- package/dist/components/footer/footer-links.mjs.map +1 -1
- package/dist/components/footer/footer.d.mts +1 -1
- package/dist/components/footer/footer.mjs.map +1 -1
- package/dist/components/footer/index.d.mts +3 -3
- package/dist/components/index.d.mts +9 -9
- package/dist/components/input/index.d.mts +2 -2
- package/dist/components/input/input.d.mts +1 -1
- package/dist/components/input/input.mjs.map +1 -1
- package/dist/components/label/index.d.mts +2 -2
- package/dist/components/label/label.d.mts +1 -1
- package/dist/components/label/label.mjs.map +1 -1
- package/dist/components/link/index.d.mts +2 -2
- package/dist/components/link/link.d.mts +1 -1
- package/dist/components/link/link.mjs +1 -2
- package/dist/components/link/link.mjs.map +1 -1
- package/dist/components/logo/index.d.mts +2 -2
- package/dist/components/logo/logo.d.mts +1 -1
- package/dist/components/logo/logo.mjs.map +1 -1
- package/dist/components/navbar/index.d.mts +2 -2
- package/dist/components/navbar/navbar.d.mts +1 -1
- package/dist/components/navbar/navbar.mjs.map +1 -1
- package/dist/components/navbar/sub-navbar.d.mts +1 -1
- package/dist/components/navbar/sub-navbar.mjs.map +1 -1
- package/dist/components/pagination/index.d.mts +3 -3
- package/dist/components/pagination/pagination-button.d.mts +1 -1
- package/dist/components/pagination/pagination-button.mjs.map +1 -1
- package/dist/components/pagination/pagination-item.d.mts +1 -1
- package/dist/components/pagination/pagination-item.mjs.map +1 -1
- package/dist/components/pagination/pagination.d.mts +1 -1
- package/dist/components/pagination/pagination.mjs.map +1 -1
- package/dist/components/popover/index.d.mts +3 -3
- package/dist/components/popover/popover-trigger-context.d.mts +1 -1
- package/dist/components/popover/popover-trigger-context.mjs +2 -1
- package/dist/components/popover/popover-trigger-context.mjs.map +1 -1
- package/dist/components/popover/popover-trigger.d.mts +1 -1
- package/dist/components/popover/popover-trigger.mjs +9 -7
- package/dist/components/popover/popover-trigger.mjs.map +1 -1
- package/dist/components/popover/popover.d.mts +1 -1
- package/dist/components/popover/popover.mjs.map +1 -1
- package/dist/components/radio/index.d.mts +2 -2
- package/dist/components/radio/radio.d.mts +1 -1
- package/dist/components/radio/radio.mjs.map +1 -1
- package/dist/components/search/index.d.mts +2 -2
- package/dist/components/search/search.d.mts +1 -1
- package/dist/components/search/search.mjs.map +1 -1
- package/dist/components/select/index.d.mts +2 -2
- package/dist/components/select/select-optgroup.d.mts +1 -1
- package/dist/components/select/select-optgroup.mjs.map +1 -1
- package/dist/components/select/select-option.d.mts +1 -1
- package/dist/components/select/select-option.mjs.map +1 -1
- package/dist/components/select/select.d.mts +1 -1
- package/dist/components/select/select.mjs.map +1 -1
- package/dist/components/selectfield/index.d.mts +2 -2
- package/dist/components/selectfield/selectfield.d.mts +1 -1
- package/dist/components/selectfield/selectfield.mjs.map +1 -1
- package/dist/components/skip-link/index.d.mts +2 -2
- package/dist/components/skip-link/skip-link.d.mts +1 -1
- package/dist/components/skip-link/skip-link.mjs.map +1 -1
- package/dist/components/spinner/index.d.mts +2 -2
- package/dist/components/spinner/spinner.d.mts +1 -1
- package/dist/components/spinner/spinner.mjs.map +1 -1
- package/dist/components/sticky-header/index.d.mts +3 -2
- package/dist/components/sticky-header/sticky-header.d.mts +1 -1
- package/dist/components/sticky-header/sticky-header.mjs.map +1 -1
- package/dist/components/switch/index.d.mts +2 -2
- package/dist/components/switch/switch.d.mts +1 -1
- package/dist/components/switch/switch.mjs.map +1 -1
- package/dist/components/tabs/index.d.mts +2 -2
- package/dist/components/tabs/tab.d.mts +1 -1
- package/dist/components/tabs/tab.mjs.map +1 -1
- package/dist/components/tabs/tabs-list.d.mts +1 -1
- package/dist/components/tabs/tabs-list.mjs.map +1 -1
- package/dist/components/tabs/tabs-panel.d.mts +1 -1
- package/dist/components/tabs/tabs-panel.mjs.map +1 -1
- package/dist/components/tabs/tabs.d.mts +1 -1
- package/dist/components/tabs/tabs.mjs.map +1 -1
- package/dist/components/textarea/index.d.mts +2 -2
- package/dist/components/textarea/textarea.d.mts +1 -1
- package/dist/components/textarea/textarea.mjs.map +1 -1
- package/dist/components/textfield/index.d.mts +2 -2
- package/dist/components/textfield/textfield.d.mts +1 -1
- package/dist/components/textfield/textfield.mjs.map +1 -1
- package/dist/components/tooltip/index.d.mts +2 -2
- package/dist/components/tooltip/tooltip.d.mts +1 -1
- package/dist/components/tooltip/tooltip.mjs.map +1 -1
- package/dist/components/validation-message/index.d.mts +2 -2
- package/dist/components/validation-message/validation-message.d.mts +1 -1
- package/dist/components/validation-message/validation-message.mjs.map +1 -1
- package/dist/{dialog-trigger-context-DbUhxoNL.d.mts → dialog-trigger-context-Orqo_NHj.d.mts} +3 -8
- package/dist/{dropdown-item-bA64wFOZ.d.mts → dropdown-item-B6Ahk6en.d.mts} +2 -7
- package/dist/{dropdown-list-CaYz-O1j.d.mts → dropdown-list-CXM9VhRl.d.mts} +2 -7
- package/dist/{footer-links-DwBghNrz.d.mts → footer-links-Dk977Qoi.d.mts} +2 -9
- package/dist/index-CaxrMD1A.d.mts +1 -0
- package/dist/index-Dqg5-Rt-.d.mts +1 -0
- package/dist/main.d.mts +15 -15
- package/dist/{pagination-item-DJicBrIN.d.mts → pagination-item-DqbKxAHU.d.mts} +2 -9
- package/dist/{popover-trigger-context-BLjAozBn.d.mts → popover-trigger-context-DeCbAC6V.d.mts} +3 -10
- package/dist/react-types.d.ts +43 -1
- package/dist/{sticky-header-CVfE0TUC.d.mts → sticky-header-BXlBWEWo.d.mts} +2 -6
- package/dist/{types-C0q7hMe_.d.mts → types-BoBDvyAZ.d.mts} +1 -2
- package/dist/{types-74lJC5tL.d.mts → types-oMo2uOVa.d.mts} +1 -1
- package/dist/types.d.mts +1 -1
- package/dist/{useCheckboxGroup-Boc_tLJ3.d.mts → useCheckboxGroup-BTzX7PfS.d.mts} +4 -7
- package/dist/{useIsElementAboveViewport-Cxt9TwLS.d.mts → useIsElementAboveViewport-Db7ndg3S.d.mts} +1 -2
- package/dist/{useIsomorphicLayoutEffect-DXCY5AxR.d.mts → useIsomorphicLayoutEffect-D-Mi76vH.d.mts} +1 -2
- package/dist/{useMediaQuery-Di0fXraw.d.mts → useMediaQuery-c1R0kas_.d.mts} +2 -5
- package/dist/{useScrollDirection-6pq5a8B3.d.mts → useScrollDirection-DS9Rfs_K.d.mts} +1 -1
- package/dist/utilities/hooks/index.d.mts +7 -7
- package/dist/utilities/hooks/useCheckboxGroup/useCheckboxGroup.d.mts +1 -1
- package/dist/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.map +1 -1
- package/dist/utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.mts +1 -1
- package/dist/utilities/hooks/useMediaQuery/useMediaQuery.d.mts +1 -1
- package/dist/utilities/hooks/useMediaQuery/useMediaQuery.mjs +2 -4
- package/dist/utilities/hooks/useMediaQuery/useMediaQuery.mjs.map +1 -1
- package/dist/utilities/hooks/useMergeRefs/useMergeRefs.d.mts +0 -1
- package/dist/utilities/hooks/useMergeRefs/useMergeRefs.mjs.map +1 -1
- package/dist/utilities/hooks/usePagination/usePagination.d.mts +1 -1
- package/dist/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.map +1 -1
- package/dist/utilities/index.d.mts +8 -8
- package/dist/utilities/types.d.mts +1 -1
- package/dist/vanilla/dropdown/index.d.mts +3 -9
- package/dist/vanilla/dropdown/index.mjs.map +1 -1
- package/dist/vanilla/index.d.mts +1 -0
- package/dist/vanilla/popover/index.d.mts +3 -9
- package/dist/vanilla/popover/index.mjs +1 -3
- package/dist/vanilla/popover/index.mjs.map +1 -1
- package/dist/vanilla/sub-navbar/index.d.mts +1 -3
- package/dist/vanilla/sub-navbar/index.mjs.map +1 -1
- package/dist/vanilla/tooltip/index.d.mts +1 -1
- package/dist/vanilla/tooltip/index.mjs.map +1 -1
- package/dist/vite-env.d.mts +1 -1
- package/package.json +19 -19
- package/dist/index-D9zIjQH9.d.mts +0 -1
- package/dist/index-Dc-SdpIe.d.mts +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-item.mjs","names":[],"sources":["../../../src/components/dropdown/dropdown-item.tsx"],"sourcesContent":["import type { HTMLAttributes, Ref } from 'react';\n\nexport type DropdownItemProps = HTMLAttributes<HTMLLIElement> & {\n ref?: Ref<HTMLLIElement>;\n};\n\nexport const DropdownItem = ({ ref, ...rest }: DropdownItemProps) => <li ref={ref} {...rest} />;\n"],"mappings":";;AAMA,MAAa,gBAAgB,EAAE,KAAK,GAAG,WAA8B,oBAAC,MAAD;CAAS;CAAK,GAAI;
|
|
1
|
+
{"version":3,"file":"dropdown-item.mjs","names":[],"sources":["../../../src/components/dropdown/dropdown-item.tsx"],"sourcesContent":["import type { HTMLAttributes, Ref } from 'react';\n\nexport type DropdownItemProps = HTMLAttributes<HTMLLIElement> & {\n ref?: Ref<HTMLLIElement>;\n};\n\nexport const DropdownItem = ({ ref, ...rest }: DropdownItemProps) => <li ref={ref} {...rest} />;\n"],"mappings":";;AAMA,MAAa,gBAAgB,EAAE,KAAK,GAAG,WAA8B,oBAAC,MAAD;CAAS;CAAK,GAAI;AAAO,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as DropdownListProps, t as DropdownList } from "../../dropdown-list-
|
|
1
|
+
import { n as DropdownListProps, t as DropdownList } from "../../dropdown-list-CXM9VhRl.mjs";
|
|
2
2
|
export { DropdownList, DropdownListProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-list.mjs","names":[],"sources":["../../../src/components/dropdown/dropdown-list.tsx"],"sourcesContent":["import type { HTMLAttributes, Ref } from 'react';\n\nexport type DropdownListProps = HTMLAttributes<HTMLUListElement> & {\n ref?: Ref<HTMLUListElement>;\n};\n\nexport const DropdownList = ({ ref, ...rest }: DropdownListProps) => <ul ref={ref} {...rest} />;\n"],"mappings":";;AAMA,MAAa,gBAAgB,EAAE,KAAK,GAAG,WAA8B,oBAAC,MAAD;CAAS;CAAK,GAAI;
|
|
1
|
+
{"version":3,"file":"dropdown-list.mjs","names":[],"sources":["../../../src/components/dropdown/dropdown-list.tsx"],"sourcesContent":["import type { HTMLAttributes, Ref } from 'react';\n\nexport type DropdownListProps = HTMLAttributes<HTMLUListElement> & {\n ref?: Ref<HTMLUListElement>;\n};\n\nexport const DropdownList = ({ ref, ...rest }: DropdownListProps) => <ul ref={ref} {...rest} />;\n"],"mappings":";;AAMA,MAAa,gBAAgB,EAAE,KAAK,GAAG,WAA8B,oBAAC,MAAD;CAAS;CAAK,GAAI;AAAO,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { bt as DropdownTriggerContextProps, yt as DropdownTriggerContext } from "../../alert-footer-
|
|
1
|
+
import { bt as DropdownTriggerContextProps, yt as DropdownTriggerContext } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
2
|
export { DropdownTriggerContext, DropdownTriggerContextProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-trigger-context.mjs","names":[],"sources":["../../../src/components/dropdown/dropdown-trigger-context.tsx"],"sourcesContent":["import { PopoverTriggerContext, type PopoverTriggerContextProps } from '../popover';\n\nexport type DropdownTriggerContextProps = PopoverTriggerContextProps;\n\n/**\n * DropdownTriggerContext component, use to wrap a DropdownTrigger and Dropdown.\n *\n * @example\n * <DropdownTriggerContext>\n * <DropdownTrigger>Dropdown</DropdownTrigger>\n * <Dropdown>\n * <DropdownHeading>Heading</DropdownHeading>\n * <DropdownList>\n * <DropdownItem>\n * <DropdownButton>Button</DropdownButton>\n * </DropdownItem>\n * </DropdownList>\n * </Dropdown>\n * </DropdownTriggerContext>\n */\nexport const DropdownTriggerContext = ({ children, ...props }: DropdownTriggerContextProps) => (\n <PopoverTriggerContext {...props}>{children}</PopoverTriggerContext>\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAoBA,MAAa,0BAA0B,EAAE,UAAU,GAAG,YACpD,oBAAC,uBAAD;CAAuB,GAAI;CAAQ;
|
|
1
|
+
{"version":3,"file":"dropdown-trigger-context.mjs","names":[],"sources":["../../../src/components/dropdown/dropdown-trigger-context.tsx"],"sourcesContent":["import { PopoverTriggerContext, type PopoverTriggerContextProps } from '../popover';\n\nexport type DropdownTriggerContextProps = PopoverTriggerContextProps;\n\n/**\n * DropdownTriggerContext component, use to wrap a DropdownTrigger and Dropdown.\n *\n * @example\n * <DropdownTriggerContext>\n * <DropdownTrigger>Dropdown</DropdownTrigger>\n * <Dropdown>\n * <DropdownHeading>Heading</DropdownHeading>\n * <DropdownList>\n * <DropdownItem>\n * <DropdownButton>Button</DropdownButton>\n * </DropdownItem>\n * </DropdownList>\n * </Dropdown>\n * </DropdownTriggerContext>\n */\nexport const DropdownTriggerContext = ({ children, ...props }: DropdownTriggerContextProps) => (\n <PopoverTriggerContext {...props}>{children}</PopoverTriggerContext>\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAoBA,MAAa,0BAA0B,EAAE,UAAU,GAAG,YACpD,oBAAC,uBAAD;CAAuB,GAAI;CAAQ;AAAgC,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { St as DropdownTriggerProps, xt as DropdownTrigger } from "../../alert-footer-
|
|
1
|
+
import { St as DropdownTriggerProps, xt as DropdownTrigger } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
2
|
export { DropdownTrigger, DropdownTriggerProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-trigger.mjs","names":[],"sources":["../../../src/components/dropdown/dropdown-trigger.tsx"],"sourcesContent":["import { PopoverTrigger, type PopoverTriggerProps } from '../popover';\n\nexport type DropdownTriggerProps = PopoverTriggerProps;\n\nexport const DropdownTrigger = ({ ref, ...rest }: DropdownTriggerProps) => (\n <PopoverTrigger variant='text' ref={ref} {...rest} />\n);\n"],"mappings":";;;;AAIA,MAAa,mBAAmB,EAAE,KAAK,GAAG,WACxC,oBAAC,gBAAD;CAAgB,SAAQ;CAAY;CAAK,GAAI;
|
|
1
|
+
{"version":3,"file":"dropdown-trigger.mjs","names":[],"sources":["../../../src/components/dropdown/dropdown-trigger.tsx"],"sourcesContent":["import { PopoverTrigger, type PopoverTriggerProps } from '../popover';\n\nexport type DropdownTriggerProps = PopoverTriggerProps;\n\nexport const DropdownTrigger = ({ ref, ...rest }: DropdownTriggerProps) => (\n <PopoverTrigger variant='text' ref={ref} {...rest} />\n);\n"],"mappings":";;;;AAIA,MAAa,mBAAmB,EAAE,KAAK,GAAG,WACxC,oBAAC,gBAAD;CAAgB,SAAQ;CAAY;CAAK,GAAI;AAAO,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Et as DropdownProps, Tt as Dropdown } from "../../alert-footer-
|
|
1
|
+
import { Et as DropdownProps, Tt as Dropdown } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
2
|
export { Dropdown, DropdownProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.mjs","names":[],"sources":["../../../src/components/dropdown/dropdown.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\nimport { Popover, type PopoverProps } from '../popover';\n\nexport type DropdownProps = MergeRight<\n DefaultProps & PopoverProps,\n {\n /**\n * The placement of the dropdown\n * @default bottom-end\n */\n placement?: PopoverProps['placement'];\n }\n>;\n\n/**\n * Dropdown component, used to display a list of options.\n *\n * @example with TriggerContext\n * <DropdownTriggerContext>\n * <DropdownTrigger>Dropdown trigger</DropdownTrigger>\n * <Dropdown placement='bottom-end'>\n * <DropdownHeading>Dropdown</DropdownHeading>\n * <DropdownList>\n * <DropdownItem>\n * <DropdownButton>Item</DropdownButton>\n * </DropdownItem>\n * </DropdownList>\n * </Dropdown>\n * </DropdownTriggerContext>\n *\n * @example without TriggerContext\n * <Button aria-controls=\"some-dropdown\" aria-expanded={open}>Trigger</Button>\n * <Dropdown id=\"some-dropdown\" open={open} onOpenChange={onOpenChange}>\n * <DropdownHeading>Heading</DropdownHeading>\n * <DropdownList>\n * <DropdownItem>\n * <DropdownButton>Item</DropdownButton>\n * </DropdownItem>\n * </DropdownList>\n * </Dropdown>\n */\nexport const Dropdown = ({ placement = 'bottom-end', className, ref, ...rest }: DropdownProps) => {\n return <Popover className={clsx('bi-dropdown', className)} placement={placement} ref={ref} {...rest} />;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2CA,MAAa,YAAY,EAAE,YAAY,cAAc,WAAW,KAAK,GAAG,WAA0B;CAChG,OAAO,oBAAC,SAAD;EAAS,WAAW,KAAK,eAAe,
|
|
1
|
+
{"version":3,"file":"dropdown.mjs","names":[],"sources":["../../../src/components/dropdown/dropdown.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\nimport { Popover, type PopoverProps } from '../popover';\n\nexport type DropdownProps = MergeRight<\n DefaultProps & PopoverProps,\n {\n /**\n * The placement of the dropdown\n * @default bottom-end\n */\n placement?: PopoverProps['placement'];\n }\n>;\n\n/**\n * Dropdown component, used to display a list of options.\n *\n * @example with TriggerContext\n * <DropdownTriggerContext>\n * <DropdownTrigger>Dropdown trigger</DropdownTrigger>\n * <Dropdown placement='bottom-end'>\n * <DropdownHeading>Dropdown</DropdownHeading>\n * <DropdownList>\n * <DropdownItem>\n * <DropdownButton>Item</DropdownButton>\n * </DropdownItem>\n * </DropdownList>\n * </Dropdown>\n * </DropdownTriggerContext>\n *\n * @example without TriggerContext\n * <Button aria-controls=\"some-dropdown\" aria-expanded={open}>Trigger</Button>\n * <Dropdown id=\"some-dropdown\" open={open} onOpenChange={onOpenChange}>\n * <DropdownHeading>Heading</DropdownHeading>\n * <DropdownList>\n * <DropdownItem>\n * <DropdownButton>Item</DropdownButton>\n * </DropdownItem>\n * </DropdownList>\n * </Dropdown>\n */\nexport const Dropdown = ({ placement = 'bottom-end', className, ref, ...rest }: DropdownProps) => {\n return <Popover className={clsx('bi-dropdown', className)} placement={placement} ref={ref} {...rest} />;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2CA,MAAa,YAAY,EAAE,YAAY,cAAc,WAAW,KAAK,GAAG,WAA0B;CAChG,OAAO,oBAAC,SAAD;EAAS,WAAW,KAAK,eAAe,SAAS;EAAc;EAAgB;EAAK,GAAI;CAAO,CAAA;AACxG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ct as DropdownButton, Et as DropdownProps, St as DropdownTriggerProps, Tt as Dropdown, bt as DropdownTriggerContextProps, wt as DropdownButtonProps, xt as DropdownTrigger, yt as DropdownTriggerContext } from "../../alert-footer-
|
|
2
|
-
import { n as DropdownItemProps, t as DropdownItem } from "../../dropdown-item-
|
|
3
|
-
import { n as DropdownListProps, t as DropdownList } from "../../dropdown-list-
|
|
4
|
-
export { Dropdown, DropdownButton, DropdownButtonProps, DropdownItem, DropdownItemProps, DropdownList, DropdownListProps, DropdownProps, DropdownTrigger, DropdownTriggerContext, DropdownTriggerContextProps, DropdownTriggerProps };
|
|
1
|
+
import { Ct as DropdownButton, Et as DropdownProps, St as DropdownTriggerProps, Tt as Dropdown, bt as DropdownTriggerContextProps, wt as DropdownButtonProps, xt as DropdownTrigger, yt as DropdownTriggerContext } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
|
+
import { n as DropdownItemProps, t as DropdownItem } from "../../dropdown-item-B6Ahk6en.mjs";
|
|
3
|
+
import { n as DropdownListProps, t as DropdownList } from "../../dropdown-list-CXM9VhRl.mjs";
|
|
4
|
+
export { Dropdown, DropdownButton, type DropdownButtonProps, DropdownItem, type DropdownItemProps, DropdownList, type DropdownListProps, type DropdownProps, DropdownTrigger, DropdownTriggerContext, type DropdownTriggerContextProps, type DropdownTriggerProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { dt as FieldAffix, ft as FieldAffixProps, mt as FieldAffixesProps, pt as FieldAffixes } from "../../alert-footer-
|
|
1
|
+
import { dt as FieldAffix, ft as FieldAffixProps, mt as FieldAffixesProps, pt as FieldAffixes } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
2
|
export { FieldAffix, FieldAffixProps, FieldAffixes, FieldAffixesProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-affix.mjs","names":[],"sources":["../../../src/components/field/field-affix.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { HTMLAttributes, Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\nimport type { AsChildProps } from '../../types';\nimport { Slot } from '@radix-ui/react-slot';\n\nexport type FieldAffixesProps = MergeRight<\n AsChildProps & Omit<HTMLAttributes<HTMLDivElement>, 'prefix'>,\n {\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\n/**\n * FieldAffixes component, used to wrap a form field.\n *\n * @example\n * <FieldAffixes>\n * <FieldAffix>+47</FieldAffix>\n * <Input />\n * <FieldAffix>kr</FieldAffix>\n * </FieldAffixes>\n */\nexport const FieldAffixes = ({ className, asChild, ref, ...rest }: FieldAffixesProps) => {\n const Component = asChild ? Slot : 'div';\n return <Component className={clsx('bi-field--affixes', className)} ref={ref} {...rest} />;\n};\n\nexport type FieldAffixProps = MergeRight<\n AsChildProps & Omit<HTMLAttributes<HTMLSpanElement>, 'prefix'>,\n {\n ref?: Ref<HTMLSpanElement>;\n }\n>;\n\n/**\n * FieldAffix component, used to display prefix/suffix for a form field.\n * Use inside the `FieldAffixes` component.\n *\n * @example\n * <FieldAffixes>\n * <FieldAffix>+47</FieldAffix>\n * <Input />\n * <FieldAffix>kr</FieldAffix>\n * </FieldAffixes>\n */\nexport const FieldAffix = ({ className, asChild, ref, ...rest }: FieldAffixProps) => {\n const Component = asChild ? Slot : 'span';\n return <Component className={clsx('bi-field--affix', className)} aria-hidden='true' ref={ref} {...rest} />;\n};\n"],"mappings":";;;;;;;;;;;;;;AAuBA,MAAa,gBAAgB,EAAE,WAAW,SAAS,KAAK,GAAG,WAA8B;CAEvF,OAAO,oBADW,UAAU,OAAO,OAC5B;EAAW,WAAW,KAAK,qBAAqB,
|
|
1
|
+
{"version":3,"file":"field-affix.mjs","names":[],"sources":["../../../src/components/field/field-affix.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { HTMLAttributes, Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\nimport type { AsChildProps } from '../../types';\nimport { Slot } from '@radix-ui/react-slot';\n\nexport type FieldAffixesProps = MergeRight<\n AsChildProps & Omit<HTMLAttributes<HTMLDivElement>, 'prefix'>,\n {\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\n/**\n * FieldAffixes component, used to wrap a form field.\n *\n * @example\n * <FieldAffixes>\n * <FieldAffix>+47</FieldAffix>\n * <Input />\n * <FieldAffix>kr</FieldAffix>\n * </FieldAffixes>\n */\nexport const FieldAffixes = ({ className, asChild, ref, ...rest }: FieldAffixesProps) => {\n const Component = asChild ? Slot : 'div';\n return <Component className={clsx('bi-field--affixes', className)} ref={ref} {...rest} />;\n};\n\nexport type FieldAffixProps = MergeRight<\n AsChildProps & Omit<HTMLAttributes<HTMLSpanElement>, 'prefix'>,\n {\n ref?: Ref<HTMLSpanElement>;\n }\n>;\n\n/**\n * FieldAffix component, used to display prefix/suffix for a form field.\n * Use inside the `FieldAffixes` component.\n *\n * @example\n * <FieldAffixes>\n * <FieldAffix>+47</FieldAffix>\n * <Input />\n * <FieldAffix>kr</FieldAffix>\n * </FieldAffixes>\n */\nexport const FieldAffix = ({ className, asChild, ref, ...rest }: FieldAffixProps) => {\n const Component = asChild ? Slot : 'span';\n return <Component className={clsx('bi-field--affix', className)} aria-hidden='true' ref={ref} {...rest} />;\n};\n"],"mappings":";;;;;;;;;;;;;;AAuBA,MAAa,gBAAgB,EAAE,WAAW,SAAS,KAAK,GAAG,WAA8B;CAEvF,OAAO,oBADW,UAAU,OAAO,OAC5B;EAAW,WAAW,KAAK,qBAAqB,SAAS;EAAQ;EAAK,GAAI;CAAO,CAAA;AAC1F;;;;;;;;;;;;AAoBA,MAAa,cAAc,EAAE,WAAW,SAAS,KAAK,GAAG,WAA4B;CAEnF,OAAO,oBADW,UAAU,OAAO,QAC5B;EAAW,WAAW,KAAK,mBAAmB,SAAS;EAAG,eAAY;EAAY;EAAK,GAAI;CAAO,CAAA;AAC3G"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { gt as FieldDescriptionProps, ht as FieldDescription } from "../../alert-footer-
|
|
1
|
+
import { gt as FieldDescriptionProps, ht as FieldDescription } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
2
|
export { FieldDescription, FieldDescriptionProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-description.mjs","names":[],"sources":["../../../src/components/field/field-description.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot';\nimport clsx from 'clsx/lite';\nimport type { HTMLAttributes, Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\nimport type { AsChildProps } from '../../types';\n\nexport type FieldDescriptionProps = MergeRight<\n AsChildProps & HTMLAttributes<HTMLDivElement>,\n {\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nexport const FieldDescription = ({ asChild, className, ref, ...props }: FieldDescriptionProps) => {\n const Component = asChild ? Slot : 'div';\n\n return <Component className={clsx('bi-field--description', className)} ref={ref} {...props} />;\n};\n"],"mappings":";;;;AAaA,MAAa,oBAAoB,EAAE,SAAS,WAAW,KAAK,GAAG,YAAmC;CAGhG,OAAO,oBAFW,UAAU,OAAO,OAE5B;EAAW,WAAW,KAAK,yBAAyB,
|
|
1
|
+
{"version":3,"file":"field-description.mjs","names":[],"sources":["../../../src/components/field/field-description.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot';\nimport clsx from 'clsx/lite';\nimport type { HTMLAttributes, Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\nimport type { AsChildProps } from '../../types';\n\nexport type FieldDescriptionProps = MergeRight<\n AsChildProps & HTMLAttributes<HTMLDivElement>,\n {\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nexport const FieldDescription = ({ asChild, className, ref, ...props }: FieldDescriptionProps) => {\n const Component = asChild ? Slot : 'div';\n\n return <Component className={clsx('bi-field--description', className)} ref={ref} {...props} />;\n};\n"],"mappings":";;;;AAaA,MAAa,oBAAoB,EAAE,SAAS,WAAW,KAAK,GAAG,YAAmC;CAGhG,OAAO,oBAFW,UAAU,OAAO,OAE5B;EAAW,WAAW,KAAK,yBAAyB,SAAS;EAAQ;EAAK,GAAI;CAAQ,CAAA;AAC/F"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _t as Field, vt as FieldProps } from "../../alert-footer-
|
|
1
|
+
import { _t as Field, vt as FieldProps } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
2
|
export { Field, FieldProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field.mjs","names":[],"sources":["../../../src/components/field/field.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot';\nimport clsx from 'clsx/lite';\nimport type { HTMLAttributes, Ref } from 'react';\nimport type { DefaultProps, AsChildProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\n\nexport type FieldProps = MergeRight<\n DefaultProps & AsChildProps & HTMLAttributes<HTMLDivElement>,\n {\n /**\n * Position of toggle-type inputs (radio, checkbox) in the field\n * @default start\n */\n position?: 'start' | 'end';\n /** Set width: 100% */\n fullwidth?: boolean;\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\n/**\n * The Field component is used to wrap a form field.\n *\n * @example\n * <Field>\n * <Label>Kort beskrivelse</Label>\n * <FieldDescription>Beskrivelse</FieldDescription>\n * <Input />\n * <ValidationMessage>Feilmelding</ValidationMessage>\n * </Field>\n */\nexport const Field = ({ className, position, fullwidth, asChild, ref, ...props }: FieldProps) => {\n const Component = asChild ? Slot : 'div';\n\n return (\n <Component\n className={clsx('bi-field', className)}\n data-position={position}\n data-fullwidth={fullwidth}\n ref={ref}\n {...props}\n />\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;AA+BA,MAAa,SAAS,EAAE,WAAW,UAAU,WAAW,SAAS,KAAK,GAAG,YAAwB;CAG/F,OACE,oBAHgB,UAAU,OAAO,OAGjC;EACE,WAAW,KAAK,YAAY,
|
|
1
|
+
{"version":3,"file":"field.mjs","names":[],"sources":["../../../src/components/field/field.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot';\nimport clsx from 'clsx/lite';\nimport type { HTMLAttributes, Ref } from 'react';\nimport type { DefaultProps, AsChildProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\n\nexport type FieldProps = MergeRight<\n DefaultProps & AsChildProps & HTMLAttributes<HTMLDivElement>,\n {\n /**\n * Position of toggle-type inputs (radio, checkbox) in the field\n * @default start\n */\n position?: 'start' | 'end';\n /** Set width: 100% */\n fullwidth?: boolean;\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\n/**\n * The Field component is used to wrap a form field.\n *\n * @example\n * <Field>\n * <Label>Kort beskrivelse</Label>\n * <FieldDescription>Beskrivelse</FieldDescription>\n * <Input />\n * <ValidationMessage>Feilmelding</ValidationMessage>\n * </Field>\n */\nexport const Field = ({ className, position, fullwidth, asChild, ref, ...props }: FieldProps) => {\n const Component = asChild ? Slot : 'div';\n\n return (\n <Component\n className={clsx('bi-field', className)}\n data-position={position}\n data-fullwidth={fullwidth}\n ref={ref}\n {...props}\n />\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;AA+BA,MAAa,SAAS,EAAE,WAAW,UAAU,WAAW,SAAS,KAAK,GAAG,YAAwB;CAG/F,OACE,oBAHgB,UAAU,OAAO,OAGjC;EACE,WAAW,KAAK,YAAY,SAAS;EACrC,iBAAe;EACf,kBAAgB;EACX;EACL,GAAI;CACL,CAAA;AAEL"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _t as Field, dt as FieldAffix, ft as FieldAffixProps, gt as FieldDescriptionProps, ht as FieldDescription, mt as FieldAffixesProps, pt as FieldAffixes, vt as FieldProps } from "../../alert-footer-
|
|
2
|
-
export { Field, FieldAffix, FieldAffixProps, FieldAffixes, FieldAffixesProps, FieldDescription, FieldDescriptionProps, FieldProps };
|
|
1
|
+
import { _t as Field, dt as FieldAffix, ft as FieldAffixProps, gt as FieldDescriptionProps, ht as FieldDescription, mt as FieldAffixesProps, pt as FieldAffixes, vt as FieldProps } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
|
+
export { Field, FieldAffix, type FieldAffixProps, FieldAffixes, type FieldAffixesProps, FieldDescription, type FieldDescriptionProps, type FieldProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ct as FieldsetDescriptionProps, st as FieldsetDescription } from "../../alert-footer-
|
|
1
|
+
import { ct as FieldsetDescriptionProps, st as FieldsetDescription } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
2
|
export { FieldsetDescription, FieldsetDescriptionProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fieldset-description.mjs","names":[],"sources":["../../../src/components/fieldset/fieldset-description.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot';\nimport type { HTMLAttributes, Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\nimport type { AsChildProps } from '../../types';\n\nexport type FieldsetDescriptionProps = MergeRight<\n AsChildProps & HTMLAttributes<HTMLParagraphElement>,\n {\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nexport const FieldsetDescription = ({ asChild, ref, ...props }: FieldsetDescriptionProps) => {\n const Component = asChild ? Slot : 'p';\n\n return <Component ref={ref} {...props} />;\n};\n"],"mappings":";;;AAYA,MAAa,uBAAuB,EAAE,SAAS,KAAK,GAAG,YAAsC;CAG3F,OAAO,oBAFW,UAAU,OAAO,KAE5B;EAAgB;EAAK,GAAI;
|
|
1
|
+
{"version":3,"file":"fieldset-description.mjs","names":[],"sources":["../../../src/components/fieldset/fieldset-description.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot';\nimport type { HTMLAttributes, Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\nimport type { AsChildProps } from '../../types';\n\nexport type FieldsetDescriptionProps = MergeRight<\n AsChildProps & HTMLAttributes<HTMLParagraphElement>,\n {\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nexport const FieldsetDescription = ({ asChild, ref, ...props }: FieldsetDescriptionProps) => {\n const Component = asChild ? Slot : 'p';\n\n return <Component ref={ref} {...props} />;\n};\n"],"mappings":";;;AAYA,MAAa,uBAAuB,EAAE,SAAS,KAAK,GAAG,YAAsC;CAG3F,OAAO,oBAFW,UAAU,OAAO,KAE5B;EAAgB;EAAK,GAAI;CAAQ,CAAA;AAC1C"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { it as FieldsetLegendProps, rt as FieldsetLegend } from "../../alert-footer-
|
|
1
|
+
import { it as FieldsetLegendProps, rt as FieldsetLegend } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
2
|
export { FieldsetLegend, FieldsetLegendProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fieldset-legend.mjs","names":[],"sources":["../../../src/components/fieldset/fieldset-legend.tsx"],"sourcesContent":["import type { HTMLAttributes, Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\nimport { Label, type LabelProps } from '../label';\n\nexport type FieldsetLegendProps = MergeRight<\n LabelProps & HTMLAttributes<HTMLLegendElement>,\n {\n ref?: Ref<HTMLLegendElement>;\n }\n>;\n\nexport const FieldsetLegend = ({ children, ref, ...props }: FieldsetLegendProps) => {\n return (\n <Label asChild>\n <legend ref={ref} {...props}>\n {children}\n </legend>\n </Label>\n );\n};\n"],"mappings":";;;;AAWA,MAAa,kBAAkB,EAAE,UAAU,KAAK,GAAG,YAAiC;CAClF,OACE,oBAAC,OAAD;EAAO,SAAA;
|
|
1
|
+
{"version":3,"file":"fieldset-legend.mjs","names":[],"sources":["../../../src/components/fieldset/fieldset-legend.tsx"],"sourcesContent":["import type { HTMLAttributes, Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\nimport { Label, type LabelProps } from '../label';\n\nexport type FieldsetLegendProps = MergeRight<\n LabelProps & HTMLAttributes<HTMLLegendElement>,\n {\n ref?: Ref<HTMLLegendElement>;\n }\n>;\n\nexport const FieldsetLegend = ({ children, ref, ...props }: FieldsetLegendProps) => {\n return (\n <Label asChild>\n <legend ref={ref} {...props}>\n {children}\n </legend>\n </Label>\n );\n};\n"],"mappings":";;;;AAWA,MAAa,kBAAkB,EAAE,UAAU,KAAK,GAAG,YAAiC;CAClF,OACE,oBAAC,OAAD;EAAO,SAAA;EACL,UAAA,oBAAC,UAAD;GAAa;GAAK,GAAI;GACnB;EACK,CAAA;CACH,CAAA;AAEX"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { lt as Fieldset, ut as FieldsetProps } from "../../alert-footer-
|
|
1
|
+
import { lt as Fieldset, ut as FieldsetProps } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
2
|
export { Fieldset, FieldsetProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fieldset.mjs","names":[],"sources":["../../../src/components/fieldset/fieldset.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { FieldsetHTMLAttributes, Ref } from 'react';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\n\nexport type FieldsetProps = MergeRight<\n DefaultProps & FieldsetHTMLAttributes<HTMLFieldSetElement>,\n {\n ref?: Ref<HTMLFieldSetElement>;\n }\n>;\n\nexport const Fieldset = ({ children, className, ref, ...props }: FieldsetProps) => {\n return (\n <fieldset className={clsx('bi-fieldset', className)} ref={ref} {...props}>\n {children}\n </fieldset>\n );\n};\n"],"mappings":";;;AAYA,MAAa,YAAY,EAAE,UAAU,WAAW,KAAK,GAAG,YAA2B;CACjF,OACE,oBAAC,YAAD;EAAU,WAAW,KAAK,eAAe,
|
|
1
|
+
{"version":3,"file":"fieldset.mjs","names":[],"sources":["../../../src/components/fieldset/fieldset.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { FieldsetHTMLAttributes, Ref } from 'react';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\n\nexport type FieldsetProps = MergeRight<\n DefaultProps & FieldsetHTMLAttributes<HTMLFieldSetElement>,\n {\n ref?: Ref<HTMLFieldSetElement>;\n }\n>;\n\nexport const Fieldset = ({ children, className, ref, ...props }: FieldsetProps) => {\n return (\n <fieldset className={clsx('bi-fieldset', className)} ref={ref} {...props}>\n {children}\n </fieldset>\n );\n};\n"],"mappings":";;;AAYA,MAAa,YAAY,EAAE,UAAU,WAAW,KAAK,GAAG,YAA2B;CACjF,OACE,oBAAC,YAAD;EAAU,WAAW,KAAK,eAAe,SAAS;EAAQ;EAAK,GAAI;EAChE;CACO,CAAA;AAEd"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ct as FieldsetDescriptionProps, it as FieldsetLegendProps, lt as Fieldset, rt as FieldsetLegend, st as FieldsetDescription, ut as FieldsetProps } from "../../alert-footer-
|
|
2
|
-
export { Fieldset, FieldsetDescription, FieldsetDescriptionProps, FieldsetLegend, FieldsetLegendProps, FieldsetProps };
|
|
1
|
+
import { ct as FieldsetDescriptionProps, it as FieldsetLegendProps, lt as Fieldset, rt as FieldsetLegend, st as FieldsetDescription, ut as FieldsetProps } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
|
+
export { Fieldset, FieldsetDescription, type FieldsetDescriptionProps, FieldsetLegend, type FieldsetLegendProps, type FieldsetProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { nt as FilterGroupProps, tt as FilterGroup } from "../../alert-footer-
|
|
1
|
+
import { nt as FilterGroupProps, tt as FilterGroup } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
2
|
export { FilterGroup, FilterGroupProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-group.mjs","names":[],"sources":["../../../src/components/filter-group/filter-group.tsx"],"sourcesContent":["import { useControllableState } from '@radix-ui/react-use-controllable-state';\nimport clsx from 'clsx';\nimport { type Ref, useId, type HtmlHTMLAttributes, type ReactNode } from 'react';\nimport type { AsChildProps, DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\nimport { ChevronDownIcon, ChevronUpIcon } from '@bi-digital/icons';\n\nexport type FilterGroupProps = MergeRight<\n DefaultProps & AsChildProps & HtmlHTMLAttributes<HTMLDivElement>,\n {\n /** Icon displayed in the filter group */\n icon: ReactNode;\n /** Label of the filter group */\n label: ReactNode;\n /** Default open state of the filter group, should not be used together with `open` */\n defaultOpen?: boolean;\n /** Control the open state of the filter group */\n open?: boolean;\n /** Callback when the open state changes */\n onOpenChange?: (open: boolean) => void;\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nexport const FilterGroup = ({\n icon,\n label,\n defaultOpen = false,\n open,\n onOpenChange,\n children,\n className,\n ref,\n ...props\n}: FilterGroupProps) => {\n const filterContentId = useId();\n const [isOpen, setIsOpen] = useControllableState({\n prop: open,\n onChange: onOpenChange,\n defaultProp: defaultOpen,\n caller: 'FilterGroup',\n });\n return (\n <div className={clsx('bi-filter-group', className)} data-expanded={isOpen} {...props} ref={ref}>\n <button onClick={() => setIsOpen((prev) => !prev)} aria-expanded={isOpen} aria-controls={filterContentId}>\n {icon}\n <h3>{label}</h3>\n {isOpen ? <ChevronUpIcon /> : <ChevronDownIcon />}\n </button>\n <div id={filterContentId}>{children}</div>\n </div>\n );\n};\n"],"mappings":";;;;;;AAwBA,MAAa,eAAe,EAC1B,MACA,OACA,cAAc,OACd,MACA,cACA,UACA,WACA,KACA,GAAG,YACmB;CACtB,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"filter-group.mjs","names":[],"sources":["../../../src/components/filter-group/filter-group.tsx"],"sourcesContent":["import { useControllableState } from '@radix-ui/react-use-controllable-state';\nimport clsx from 'clsx';\nimport { type Ref, useId, type HtmlHTMLAttributes, type ReactNode } from 'react';\nimport type { AsChildProps, DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\nimport { ChevronDownIcon, ChevronUpIcon } from '@bi-digital/icons';\n\nexport type FilterGroupProps = MergeRight<\n DefaultProps & AsChildProps & HtmlHTMLAttributes<HTMLDivElement>,\n {\n /** Icon displayed in the filter group */\n icon: ReactNode;\n /** Label of the filter group */\n label: ReactNode;\n /** Default open state of the filter group, should not be used together with `open` */\n defaultOpen?: boolean;\n /** Control the open state of the filter group */\n open?: boolean;\n /** Callback when the open state changes */\n onOpenChange?: (open: boolean) => void;\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nexport const FilterGroup = ({\n icon,\n label,\n defaultOpen = false,\n open,\n onOpenChange,\n children,\n className,\n ref,\n ...props\n}: FilterGroupProps) => {\n const filterContentId = useId();\n const [isOpen, setIsOpen] = useControllableState({\n prop: open,\n onChange: onOpenChange,\n defaultProp: defaultOpen,\n caller: 'FilterGroup',\n });\n return (\n <div className={clsx('bi-filter-group', className)} data-expanded={isOpen} {...props} ref={ref}>\n <button onClick={() => setIsOpen((prev) => !prev)} aria-expanded={isOpen} aria-controls={filterContentId}>\n {icon}\n <h3>{label}</h3>\n {isOpen ? <ChevronUpIcon /> : <ChevronDownIcon />}\n </button>\n <div id={filterContentId}>{children}</div>\n </div>\n );\n};\n"],"mappings":";;;;;;AAwBA,MAAa,eAAe,EAC1B,MACA,OACA,cAAc,OACd,MACA,cACA,UACA,WACA,KACA,GAAG,YACmB;CACtB,MAAM,kBAAkB,MAAM;CAC9B,MAAM,CAAC,QAAQ,aAAa,qBAAqB;EAC/C,MAAM;EACN,UAAU;EACV,aAAa;EACb,QAAQ;CACV,CAAC;CACD,OACE,qBAAC,OAAD;EAAK,WAAW,KAAK,mBAAmB,SAAS;EAAG,iBAAe;EAAQ,GAAI;EAAY;EAA3F,UAAA,CACE,qBAAC,UAAD;GAAQ,eAAe,WAAW,SAAS,CAAC,IAAI;GAAG,iBAAe;GAAQ,iBAAe;GAAzF,UAAA;IACG;IACD,oBAAC,MAAD,EAAA,UAAK,MAAU,CAAA;IACd,SAAS,oBAAC,eAAD,CAAgB,CAAA,IAAI,oBAAC,iBAAD,CAAkB,CAAA;GAC1C;EACR,CAAA,GAAA,oBAAC,OAAD;GAAK,IAAI;GAAkB;EAAc,CAAA,CACtC;;AAET"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { nt as FilterGroupProps, tt as FilterGroup } from "../../alert-footer-
|
|
2
|
-
export { FilterGroup, FilterGroupProps };
|
|
1
|
+
import { nt as FilterGroupProps, tt as FilterGroup } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
|
+
export { FilterGroup, type FilterGroupProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as FooterLinksProps, t as FooterLinks } from "../../footer-links-
|
|
1
|
+
import { n as FooterLinksProps, t as FooterLinks } from "../../footer-links-Dk977Qoi.mjs";
|
|
2
2
|
export { FooterLinks, FooterLinksProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"footer-links.mjs","names":[],"sources":["../../../src/components/footer/footer-links.tsx"],"sourcesContent":["import type { HTMLAttributes, Ref } from 'react';\n\nexport type FooterLinksProps = HTMLAttributes<HTMLDivElement> & {\n /**\n * Optional leading text to display before the links.\n */\n leadingText?: string;\n ref?: Ref<HTMLDivElement>;\n};\n\nexport const FooterLinks = ({ leadingText, children, ref, ...props }: FooterLinksProps) => {\n return (\n <div className='bi-footer--links' ref={ref} {...props}>\n {leadingText && <p>{leadingText}:</p>}\n <div>{children}</div>\n </div>\n );\n};\n"],"mappings":";;AAUA,MAAa,eAAe,EAAE,aAAa,UAAU,KAAK,GAAG,YAA8B;CACzF,OACE,qBAAC,OAAD;EAAK,WAAU;EAAwB;EAAK,GAAI;
|
|
1
|
+
{"version":3,"file":"footer-links.mjs","names":[],"sources":["../../../src/components/footer/footer-links.tsx"],"sourcesContent":["import type { HTMLAttributes, Ref } from 'react';\n\nexport type FooterLinksProps = HTMLAttributes<HTMLDivElement> & {\n /**\n * Optional leading text to display before the links.\n */\n leadingText?: string;\n ref?: Ref<HTMLDivElement>;\n};\n\nexport const FooterLinks = ({ leadingText, children, ref, ...props }: FooterLinksProps) => {\n return (\n <div className='bi-footer--links' ref={ref} {...props}>\n {leadingText && <p>{leadingText}:</p>}\n <div>{children}</div>\n </div>\n );\n};\n"],"mappings":";;AAUA,MAAa,eAAe,EAAE,aAAa,UAAU,KAAK,GAAG,YAA8B;CACzF,OACE,qBAAC,OAAD;EAAK,WAAU;EAAwB;EAAK,GAAI;EAAhD,UAAA,CACG,eAAe,qBAAC,KAAD,EAAA,UAAA,CAAI,aAAY,GAAI,EAAA,CAAA,GACpC,oBAAC,OAAD,EAAM,SAAc,CAAA,CACjB;;AAET"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as Footer, et as FooterProps } from "../../alert-footer-
|
|
1
|
+
import { $ as Footer, et as FooterProps } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
2
|
export { Footer, FooterProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"footer.mjs","names":[],"sources":["../../../src/components/footer/footer.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { HTMLAttributes, Ref } from 'react';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\nimport { FacebookIcon, XIcon, LinkedinIcon, InstagramIcon } from '@bi-digital/icons';\nimport { Button } from '../button';\n\nexport type FooterProps = MergeRight<\n DefaultProps & HTMLAttributes<HTMLDivElement>,\n {\n /**\n * The text to display in the copyright section.\n * @default 'Handelshøyskolen BI'\n */\n copyRightText?: string;\n /**\n * Whether to hide the accreditation icons.\n * @default false\n */\n hideAccreditationIcons?: boolean;\n /**\n * Whether to hide the social media icons.\n * @default false\n */\n hideSocialMediaIcons?: boolean;\n /**\n * Whether to hide the copyright text.\n * @default false\n */\n hideCopyRight?: boolean;\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nexport const Footer = ({\n copyRightText = 'Handelshøyskolen BI',\n hideAccreditationIcons = false,\n hideSocialMediaIcons = false,\n hideCopyRight = false,\n className,\n children,\n ref,\n ...props\n}: FooterProps) => {\n return (\n <footer className={clsx('bi-footer', className)} ref={ref} {...props}>\n <div className='bi-footer--links-container'>{children}</div>\n {!hideAccreditationIcons && (\n <div className='bi-footer--accreditations'>\n <a\n aria-label='AACSB-link'\n target='_blank'\n href='https://www.aacsb.edu/accreditation'\n rel='noopener noreferrer'\n >\n <span className='bi-footer--aacsb' />\n </a>\n <a\n aria-label='Equis-link'\n target='_blank'\n href='https://www.efmdglobal.org/accreditations/business-schools/equis/'\n rel='noopener noreferrer'\n >\n <span className='bi-footer--equis' />\n </a>\n <a aria-label='AMBA-link' target='_blank' href='https://www.associationofmbas.com/' rel='noopener noreferrer'>\n <span className='bi-footer--amba' />\n </a>\n </div>\n )}\n {!hideSocialMediaIcons && (\n <div className='bi-footer--socials'>\n <Button size='large' variant='text' icon asChild>\n <a target='_blank' href='https://www.facebook.com/HandelshoyskolenBI/' rel='noopener noreferrer'>\n <FacebookIcon title='BI Facebook' />\n </a>\n </Button>\n <Button size='large' variant='text' icon asChild>\n <a target='_blank' href='https://twitter.com/handelshoyskbi' rel='noopener noreferrer'>\n <XIcon title='BI X' />\n </a>\n </Button>\n <Button size='large' variant='text' icon asChild>\n <a\n target='_blank'\n href='https://www.linkedin.com/school/bi-norwegian-business-school/'\n rel='noopener noreferrer'\n >\n <LinkedinIcon title='BI LinkedIn' />\n </a>\n </Button>\n <Button size='large' variant='text' icon asChild>\n <a target='_blank' href='https://www.instagram.com/binorwegianbusinesschool/' rel='noopener noreferrer'>\n <InstagramIcon title='BI Instagram' />\n </a>\n </Button>\n </div>\n )}\n {!hideCopyRight && <p className='bi-footer--copyright'>{`© ${new Date().getFullYear()} ${copyRightText}`}</p>}\n </footer>\n );\n};\n"],"mappings":";;;;;;AAkCA,MAAa,UAAU,EACrB,gBAAgB,uBAChB,yBAAyB,OACzB,uBAAuB,OACvB,gBAAgB,OAChB,WACA,UACA,KACA,GAAG,YACc;CACjB,OACE,qBAAC,UAAD;EAAQ,WAAW,KAAK,aAAa,
|
|
1
|
+
{"version":3,"file":"footer.mjs","names":[],"sources":["../../../src/components/footer/footer.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { HTMLAttributes, Ref } from 'react';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\nimport { FacebookIcon, XIcon, LinkedinIcon, InstagramIcon } from '@bi-digital/icons';\nimport { Button } from '../button';\n\nexport type FooterProps = MergeRight<\n DefaultProps & HTMLAttributes<HTMLDivElement>,\n {\n /**\n * The text to display in the copyright section.\n * @default 'Handelshøyskolen BI'\n */\n copyRightText?: string;\n /**\n * Whether to hide the accreditation icons.\n * @default false\n */\n hideAccreditationIcons?: boolean;\n /**\n * Whether to hide the social media icons.\n * @default false\n */\n hideSocialMediaIcons?: boolean;\n /**\n * Whether to hide the copyright text.\n * @default false\n */\n hideCopyRight?: boolean;\n ref?: Ref<HTMLDivElement>;\n }\n>;\n\nexport const Footer = ({\n copyRightText = 'Handelshøyskolen BI',\n hideAccreditationIcons = false,\n hideSocialMediaIcons = false,\n hideCopyRight = false,\n className,\n children,\n ref,\n ...props\n}: FooterProps) => {\n return (\n <footer className={clsx('bi-footer', className)} ref={ref} {...props}>\n <div className='bi-footer--links-container'>{children}</div>\n {!hideAccreditationIcons && (\n <div className='bi-footer--accreditations'>\n <a\n aria-label='AACSB-link'\n target='_blank'\n href='https://www.aacsb.edu/accreditation'\n rel='noopener noreferrer'\n >\n <span className='bi-footer--aacsb' />\n </a>\n <a\n aria-label='Equis-link'\n target='_blank'\n href='https://www.efmdglobal.org/accreditations/business-schools/equis/'\n rel='noopener noreferrer'\n >\n <span className='bi-footer--equis' />\n </a>\n <a aria-label='AMBA-link' target='_blank' href='https://www.associationofmbas.com/' rel='noopener noreferrer'>\n <span className='bi-footer--amba' />\n </a>\n </div>\n )}\n {!hideSocialMediaIcons && (\n <div className='bi-footer--socials'>\n <Button size='large' variant='text' icon asChild>\n <a target='_blank' href='https://www.facebook.com/HandelshoyskolenBI/' rel='noopener noreferrer'>\n <FacebookIcon title='BI Facebook' />\n </a>\n </Button>\n <Button size='large' variant='text' icon asChild>\n <a target='_blank' href='https://twitter.com/handelshoyskbi' rel='noopener noreferrer'>\n <XIcon title='BI X' />\n </a>\n </Button>\n <Button size='large' variant='text' icon asChild>\n <a\n target='_blank'\n href='https://www.linkedin.com/school/bi-norwegian-business-school/'\n rel='noopener noreferrer'\n >\n <LinkedinIcon title='BI LinkedIn' />\n </a>\n </Button>\n <Button size='large' variant='text' icon asChild>\n <a target='_blank' href='https://www.instagram.com/binorwegianbusinesschool/' rel='noopener noreferrer'>\n <InstagramIcon title='BI Instagram' />\n </a>\n </Button>\n </div>\n )}\n {!hideCopyRight && <p className='bi-footer--copyright'>{`© ${new Date().getFullYear()} ${copyRightText}`}</p>}\n </footer>\n );\n};\n"],"mappings":";;;;;;AAkCA,MAAa,UAAU,EACrB,gBAAgB,uBAChB,yBAAyB,OACzB,uBAAuB,OACvB,gBAAgB,OAChB,WACA,UACA,KACA,GAAG,YACc;CACjB,OACE,qBAAC,UAAD;EAAQ,WAAW,KAAK,aAAa,SAAS;EAAQ;EAAK,GAAI;EAA/D,UAAA;GACE,oBAAC,OAAD;IAAK,WAAU;IAA8B;GAAc,CAAA;GAC1D,CAAC,0BACA,qBAAC,OAAD;IAAK,WAAU;IAAf,UAAA;KACE,oBAAC,KAAD;MACE,cAAW;MACX,QAAO;MACP,MAAK;MACL,KAAI;MAEJ,UAAA,oBAAC,QAAD,EAAM,WAAU,mBAAoB,CAAA;KACnC,CAAA;KACH,oBAAC,KAAD;MACE,cAAW;MACX,QAAO;MACP,MAAK;MACL,KAAI;MAEJ,UAAA,oBAAC,QAAD,EAAM,WAAU,mBAAoB,CAAA;KACnC,CAAA;KACH,oBAAC,KAAD;MAAG,cAAW;MAAY,QAAO;MAAS,MAAK;MAAqC,KAAI;MACtF,UAAA,oBAAC,QAAD,EAAM,WAAU,kBAAmB,CAAA;KAClC,CAAA;IACA;;GAEN,CAAC,wBACA,qBAAC,OAAD;IAAK,WAAU;IAAf,UAAA;KACE,oBAAC,QAAD;MAAQ,MAAK;MAAQ,SAAQ;MAAO,MAAA;MAAK,SAAA;MACvC,UAAA,oBAAC,KAAD;OAAG,QAAO;OAAS,MAAK;OAA+C,KAAI;OACzE,UAAA,oBAAC,cAAD,EAAc,OAAM,cAAe,CAAA;MAClC,CAAA;KACG,CAAA;KACR,oBAAC,QAAD;MAAQ,MAAK;MAAQ,SAAQ;MAAO,MAAA;MAAK,SAAA;MACvC,UAAA,oBAAC,KAAD;OAAG,QAAO;OAAS,MAAK;OAAqC,KAAI;OAC/D,UAAA,oBAAC,OAAD,EAAO,OAAM,OAAQ,CAAA;MACpB,CAAA;KACG,CAAA;KACR,oBAAC,QAAD;MAAQ,MAAK;MAAQ,SAAQ;MAAO,MAAA;MAAK,SAAA;MACvC,UAAA,oBAAC,KAAD;OACE,QAAO;OACP,MAAK;OACL,KAAI;OAEJ,UAAA,oBAAC,cAAD,EAAc,OAAM,cAAe,CAAA;MAClC,CAAA;KACG,CAAA;KACR,oBAAC,QAAD;MAAQ,MAAK;MAAQ,SAAQ;MAAO,MAAA;MAAK,SAAA;MACvC,UAAA,oBAAC,KAAD;OAAG,QAAO;OAAS,MAAK;OAAsD,KAAI;OAChF,UAAA,oBAAC,eAAD,EAAe,OAAM,eAAgB,CAAA;MACpC,CAAA;KACG,CAAA;IACL;;GAEN,CAAC,iBAAiB,oBAAC,KAAD;IAAG,WAAU;IAAwB,UAAA,sBAAK,IAAI,KAAK,EAAA,CAAE,YAAY,EAAE,GAAG;GAAmB,CAAA;EACtG;;AAEZ"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as Footer, et as FooterProps } from "../../alert-footer-
|
|
2
|
-
import { n as FooterLinksProps, t as FooterLinks } from "../../footer-links-
|
|
3
|
-
export { Footer, FooterLinks, FooterLinksProps, FooterProps };
|
|
1
|
+
import { $ as Footer, et as FooterProps } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
|
+
import { n as FooterLinksProps, t as FooterLinks } from "../../footer-links-Dk977Qoi.mjs";
|
|
3
|
+
export { Footer, FooterLinks, type FooterLinksProps, type FooterProps };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { $ as Footer, $t as Checkbox, A as SelectfieldProps, At as PopoverProps, B as RadioProps, Bt as DialogContentProps, C as Switch, Cn as Alert, Ct as DropdownButton, D as SkipLink, Dt as PopoverTrigger, E as SpinnerProps, Et as DropdownProps, F as Select, Ft as DialogFooter, G as SubNavbar, Gt as DetailsContent, H as PaginationButtonProps, Ht as DialogProps, I as SelectProps, It as DialogFooterProps, J as NavbarProps, Jt as DetailsProps, K as SubNavbarProps, Kt as DetailsContentProps, L as Search, Lt as DialogHeader, M as SelectOptgroupProps, Mt as DialogCloseButtonProps, N as SelectOption, Nt as DialogTrigger, O as SkipLinkProps, Ot as PopoverTriggerProps, P as SelectOptionProps, Pt as DialogTriggerProps, Q as LinkProps, Qt as CheckboxSubsectionProps, R as SearchProps, Rt as DialogHeaderProps, S as TabsProps, Sn as AvatarProps, St as DropdownTriggerProps, T as Spinner, Tt as Dropdown, U as Pagination, Ut as DetailsSummary, V as PaginationButton, Vt as Dialog, W as PaginationProps, Wt as DetailsSummaryProps, X as LogoProps, Xt as ChipProps, Y as Logo, Yt as Chip, Z as Link, Zt as CheckboxSubsection, _ as Tab, _n as Button, _t as Field, a as ValidationMessage, an as CardMedia, at as Label, b as Tabs, bn as BadgeProps, bt as DropdownTriggerContextProps, c as TooltipProps, cn as CardHeaderProps, ct as FieldsetDescriptionProps, d as Textarea, dn as CardAction, dt as FieldAffix, en as CheckboxProps, et as FooterProps, f as TextareaProps, fn as CardActionProps, ft as FieldAffixProps, g as TabsListProps, gn as CardProps, gt as FieldDescriptionProps, h as TabsList, hn as Card, ht as FieldDescription, in as CardDateProps, it as FieldsetLegendProps, j as SelectOptgroup, jt as DialogCloseButton, k as Selectfield, kt as Popover, l as Textfield, ln as CardContent, lt as Fieldset, m as TabsPanelProps, mn as CardActionsProps, mt as FieldAffixesProps, n as AlertFooterProps, nn as InputProps, nt as FilterGroupProps, o as ValidationMessageProps, on as CardMediaProps, ot as LabelProps, p as TabsPanel, pn as CardActions, pt as FieldAffixes, q as Navbar, qt as Details, rn as CardDate, rt as FieldsetLegend, s as Tooltip, sn as CardHeader, st as FieldsetDescription, t as AlertFooter, tn as Input, tt as FilterGroup, u as TextfieldProps, un as CardContentProps, ut as FieldsetProps, v as TabProps, vn as ButtonProps, vt as FieldProps, w as SwitchProps, wn as AlertProps, wt as DropdownButtonProps, x as TabsContext, xn as Avatar, xt as DropdownTrigger, yn as Badge, yt as DropdownTriggerContext, z as Radio, zt as DialogContent } from "../alert-footer-
|
|
2
|
-
import { n as DialogTriggerContext, r as DialogTriggerContextProps, t as Context } from "../dialog-trigger-context-
|
|
3
|
-
import { n as PopoverTriggerContext, r as PopoverTriggerContextProps } from "../popover-trigger-context-
|
|
4
|
-
import { n as DropdownItemProps, t as DropdownItem } from "../dropdown-item-
|
|
5
|
-
import { n as DropdownListProps, t as DropdownList } from "../dropdown-list-
|
|
6
|
-
import { n as FooterLinksProps, t as FooterLinks } from "../footer-links-
|
|
7
|
-
import { n as PaginationItemProps, t as PaginationItem } from "../pagination-item-
|
|
8
|
-
import { n as StickyHeaderProps, t as StickyHeader } from "../sticky-header-
|
|
9
|
-
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, 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, 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, Tooltip, TooltipProps, ValidationMessage, ValidationMessageProps };
|
|
1
|
+
import { $ as Footer, $t as Checkbox, A as SelectfieldProps, At as PopoverProps, B as RadioProps, Bt as DialogContentProps, C as Switch, Cn as Alert, Ct as DropdownButton, D as SkipLink, Dt as PopoverTrigger, E as SpinnerProps, Et as DropdownProps, F as Select, Ft as DialogFooter, G as SubNavbar, Gt as DetailsContent, H as PaginationButtonProps, Ht as DialogProps, I as SelectProps, It as DialogFooterProps, J as NavbarProps, Jt as DetailsProps, K as SubNavbarProps, Kt as DetailsContentProps, L as Search, Lt as DialogHeader, M as SelectOptgroupProps, Mt as DialogCloseButtonProps, N as SelectOption, Nt as DialogTrigger, O as SkipLinkProps, Ot as PopoverTriggerProps, P as SelectOptionProps, Pt as DialogTriggerProps, Q as LinkProps, Qt as CheckboxSubsectionProps, R as SearchProps, Rt as DialogHeaderProps, S as TabsProps, Sn as AvatarProps, St as DropdownTriggerProps, T as Spinner, Tt as Dropdown, U as Pagination, Ut as DetailsSummary, V as PaginationButton, Vt as Dialog, W as PaginationProps, Wt as DetailsSummaryProps, X as LogoProps, Xt as ChipProps, Y as Logo, Yt as Chip, Z as Link, Zt as CheckboxSubsection, _ as Tab, _n as Button, _t as Field, a as ValidationMessage, an as CardMedia, at as Label, b as Tabs, bn as BadgeProps, bt as DropdownTriggerContextProps, c as TooltipProps, cn as CardHeaderProps, ct as FieldsetDescriptionProps, d as Textarea, dn as CardAction, dt as FieldAffix, en as CheckboxProps, et as FooterProps, f as TextareaProps, fn as CardActionProps, ft as FieldAffixProps, g as TabsListProps, gn as CardProps, gt as FieldDescriptionProps, h as TabsList, hn as Card, ht as FieldDescription, in as CardDateProps, it as FieldsetLegendProps, j as SelectOptgroup, jt as DialogCloseButton, k as Selectfield, kt as Popover, l as Textfield, ln as CardContent, lt as Fieldset, m as TabsPanelProps, mn as CardActionsProps, mt as FieldAffixesProps, n as AlertFooterProps, nn as InputProps, nt as FilterGroupProps, o as ValidationMessageProps, on as CardMediaProps, ot as LabelProps, p as TabsPanel, pn as CardActions, pt as FieldAffixes, q as Navbar, qt as Details, rn as CardDate, rt as FieldsetLegend, s as Tooltip, sn as CardHeader, st as FieldsetDescription, t as AlertFooter, tn as Input, tt as FilterGroup, u as TextfieldProps, un as CardContentProps, ut as FieldsetProps, v as TabProps, vn as ButtonProps, vt as FieldProps, w as SwitchProps, wn as AlertProps, wt as DropdownButtonProps, x as TabsContext, xn as Avatar, xt as DropdownTrigger, yn as Badge, yt as DropdownTriggerContext, z as Radio, zt as DialogContent } from "../alert-footer-BoTu7E1s.mjs";
|
|
2
|
+
import { n as DialogTriggerContext, r as DialogTriggerContextProps, t as Context } from "../dialog-trigger-context-Orqo_NHj.mjs";
|
|
3
|
+
import { n as PopoverTriggerContext, r as PopoverTriggerContextProps } from "../popover-trigger-context-DeCbAC6V.mjs";
|
|
4
|
+
import { n as DropdownItemProps, t as DropdownItem } from "../dropdown-item-B6Ahk6en.mjs";
|
|
5
|
+
import { n as DropdownListProps, t as DropdownList } from "../dropdown-list-CXM9VhRl.mjs";
|
|
6
|
+
import { n as FooterLinksProps, t as FooterLinks } from "../footer-links-Dk977Qoi.mjs";
|
|
7
|
+
import { n as PaginationItemProps, t as PaginationItem } from "../pagination-item-DqbKxAHU.mjs";
|
|
8
|
+
import { n as StickyHeaderProps, t as StickyHeader } from "../sticky-header-BXlBWEWo.mjs";
|
|
9
|
+
export { Alert, AlertFooter, type AlertFooterProps, type AlertProps, Avatar, type AvatarProps, Badge, type BadgeProps, Button, type ButtonProps, Card, CardAction, type CardActionProps, CardActions, type CardActionsProps, CardContent, type CardContentProps, CardDate, type CardDateProps, CardHeader, type CardHeaderProps, CardMedia, type CardMediaProps, type CardProps, Checkbox, type CheckboxProps, CheckboxSubsection, type CheckboxSubsectionProps, Chip, type ChipProps, type Context, Details, DetailsContent, type DetailsContentProps, type DetailsProps, DetailsSummary, type DetailsSummaryProps, Dialog, DialogCloseButton, type DialogCloseButtonProps, DialogContent, type DialogContentProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, type DialogProps, DialogTrigger, DialogTriggerContext, type DialogTriggerContextProps, type DialogTriggerProps, Dropdown, DropdownButton, type DropdownButtonProps, DropdownItem, type DropdownItemProps, DropdownList, type DropdownListProps, type DropdownProps, DropdownTrigger, DropdownTriggerContext, type DropdownTriggerContextProps, type DropdownTriggerProps, Field, FieldAffix, type FieldAffixProps, FieldAffixes, type FieldAffixesProps, FieldDescription, type FieldDescriptionProps, type FieldProps, Fieldset, FieldsetDescription, type FieldsetDescriptionProps, FieldsetLegend, type FieldsetLegendProps, type FieldsetProps, FilterGroup, type FilterGroupProps, Footer, FooterLinks, type FooterLinksProps, type FooterProps, Input, type InputProps, Label, type LabelProps, Link, type LinkProps, Logo, type LogoProps, Navbar, type NavbarProps, Pagination, PaginationButton, type PaginationButtonProps, PaginationItem, type PaginationItemProps, type PaginationProps, Popover, type PopoverProps, PopoverTrigger, PopoverTriggerContext, type PopoverTriggerContextProps, type PopoverTriggerProps, Radio, type RadioProps, Search, type SearchProps, Select, SelectOptgroup, type SelectOptgroupProps, SelectOption, type SelectOptionProps, type SelectProps, Selectfield, type SelectfieldProps, SkipLink, type SkipLinkProps, Spinner, type SpinnerProps, StickyHeader, type StickyHeaderProps, SubNavbar, type SubNavbarProps, Switch, type SwitchProps, Tab, type TabProps, Tabs, type TabsContext, TabsList, type TabsListProps, TabsPanel, type TabsPanelProps, type TabsProps, Textarea, type TextareaProps, Textfield, type TextfieldProps, Tooltip, type TooltipProps, ValidationMessage, type ValidationMessageProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { nn as InputProps, tn as Input } from "../../alert-footer-
|
|
2
|
-
export { Input, InputProps };
|
|
1
|
+
import { nn as InputProps, tn as Input } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
|
+
export { Input, type InputProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { nn as InputProps, tn as Input } from "../../alert-footer-
|
|
1
|
+
import { nn as InputProps, tn as Input } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
2
|
export { Input, InputProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.mjs","names":[],"sources":["../../../src/components/input/input.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { InputHTMLAttributes, Ref } from 'react';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\n\nexport type InputProps = MergeRight<\n DefaultProps & Omit<InputHTMLAttributes<HTMLInputElement>, 'prefix' | 'type'>,\n {\n /**\n * Size of the input field.\n * @default 'medium'\n */\n size?: 'medium' | 'large';\n /**\n * The `input` type\n * @default 'text'\n * */\n type?:\n | 'checkbox'\n | 'color'\n | 'date'\n | 'datetime-local'\n | 'email'\n | 'file'\n | 'hidden'\n | 'month'\n | 'number'\n | 'password'\n | 'radio'\n | 'search'\n | 'tel'\n | 'text'\n | 'time'\n | 'url'\n | 'week';\n /** Set the visible width, in characters, of the `Input` component. */\n visibleWidth?: number;\n /**\n * Disable the element.\n * Avoid using if possible for accessibility purposes\n */\n disabled?: boolean;\n /** Toggle `readOnly` */\n readOnly?: boolean;\n ref?: Ref<HTMLInputElement>;\n }\n>;\n\nexport const Input = ({\n type = 'text',\n size = 'medium',\n visibleWidth,\n className,\n onChange,\n onClick,\n readOnly,\n ref,\n ...props\n}: InputProps) => {\n return (\n <input\n className={clsx('bi-input', className)}\n data-size={size}\n ref={ref}\n type={type}\n readOnly={readOnly}\n onChange={(event) => readOnly || onChange?.(event)} // Make readonly work for [type=\"checkbox\"]/[type=\"radio\"]\n onClick={(event) => {\n if (readOnly) event.preventDefault(); // Make readonly work for [type=\"checkbox\"]/[type=\"radio\"]\n onClick?.(event);\n }}\n size={visibleWidth}\n {...props}\n />\n );\n};\n"],"mappings":";;;AAgDA,MAAa,SAAS,EACpB,OAAO,QACP,OAAO,UACP,cACA,WACA,UACA,SACA,UACA,KACA,GAAG,YACa;CAChB,OACE,oBAAC,SAAD;EACE,WAAW,KAAK,YAAY,
|
|
1
|
+
{"version":3,"file":"input.mjs","names":[],"sources":["../../../src/components/input/input.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { InputHTMLAttributes, Ref } from 'react';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\n\nexport type InputProps = MergeRight<\n DefaultProps & Omit<InputHTMLAttributes<HTMLInputElement>, 'prefix' | 'type'>,\n {\n /**\n * Size of the input field.\n * @default 'medium'\n */\n size?: 'medium' | 'large';\n /**\n * The `input` type\n * @default 'text'\n * */\n type?:\n | 'checkbox'\n | 'color'\n | 'date'\n | 'datetime-local'\n | 'email'\n | 'file'\n | 'hidden'\n | 'month'\n | 'number'\n | 'password'\n | 'radio'\n | 'search'\n | 'tel'\n | 'text'\n | 'time'\n | 'url'\n | 'week';\n /** Set the visible width, in characters, of the `Input` component. */\n visibleWidth?: number;\n /**\n * Disable the element.\n * Avoid using if possible for accessibility purposes\n */\n disabled?: boolean;\n /** Toggle `readOnly` */\n readOnly?: boolean;\n ref?: Ref<HTMLInputElement>;\n }\n>;\n\nexport const Input = ({\n type = 'text',\n size = 'medium',\n visibleWidth,\n className,\n onChange,\n onClick,\n readOnly,\n ref,\n ...props\n}: InputProps) => {\n return (\n <input\n className={clsx('bi-input', className)}\n data-size={size}\n ref={ref}\n type={type}\n readOnly={readOnly}\n onChange={(event) => readOnly || onChange?.(event)} // Make readonly work for [type=\"checkbox\"]/[type=\"radio\"]\n onClick={(event) => {\n if (readOnly) event.preventDefault(); // Make readonly work for [type=\"checkbox\"]/[type=\"radio\"]\n onClick?.(event);\n }}\n size={visibleWidth}\n {...props}\n />\n );\n};\n"],"mappings":";;;AAgDA,MAAa,SAAS,EACpB,OAAO,QACP,OAAO,UACP,cACA,WACA,UACA,SACA,UACA,KACA,GAAG,YACa;CAChB,OACE,oBAAC,SAAD;EACE,WAAW,KAAK,YAAY,SAAS;EACrC,aAAW;EACN;EACC;EACI;EACV,WAAW,UAAU,YAAY,WAAW,KAAK;EACjD,UAAU,UAAU;GAClB,IAAI,UAAU,MAAM,eAAe;GACnC,UAAU,KAAK;EACjB;EACA,MAAM;EACN,GAAI;CACL,CAAA;AAEL"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { at as Label, ot as LabelProps } from "../../alert-footer-
|
|
2
|
-
export { Label, LabelProps };
|
|
1
|
+
import { at as Label, ot as LabelProps } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
|
+
export { Label, type LabelProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { at as Label, ot as LabelProps } from "../../alert-footer-
|
|
1
|
+
import { at as Label, ot as LabelProps } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
2
|
export { Label, LabelProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.mjs","names":[],"sources":["../../../src/components/label/label.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot';\nimport clsx from 'clsx/lite';\nimport type { LabelHTMLAttributes, Ref } from 'react';\nimport type { AsChildProps, DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\n\nexport type LabelProps = MergeRight<\n DefaultProps & AsChildProps & LabelHTMLAttributes<HTMLLabelElement>,\n {\n /**\n * Sets the font weight of the label. Use this when you have a label hierarchy, such as checkboxes/radios in a fieldset\n * @default 'semibold'\n */\n weight?: 'regular' | 'medium' | 'semibold';\n ref?: Ref<HTMLLabelElement>;\n }\n>;\n\nexport const Label = ({ className, weight = 'semibold', asChild, ref, ...props }: LabelProps) => {\n const Component = asChild ? Slot : 'label';\n\n return <Component ref={ref} className={clsx('bi-label', className)} data-weight={weight} {...props} />;\n};\n"],"mappings":";;;;AAkBA,MAAa,SAAS,EAAE,WAAW,SAAS,YAAY,SAAS,KAAK,GAAG,YAAwB;CAG/F,OAAO,oBAFW,UAAU,OAAO,SAE5B;EAAgB;EAAK,WAAW,KAAK,YAAY,
|
|
1
|
+
{"version":3,"file":"label.mjs","names":[],"sources":["../../../src/components/label/label.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot';\nimport clsx from 'clsx/lite';\nimport type { LabelHTMLAttributes, Ref } from 'react';\nimport type { AsChildProps, DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\n\nexport type LabelProps = MergeRight<\n DefaultProps & AsChildProps & LabelHTMLAttributes<HTMLLabelElement>,\n {\n /**\n * Sets the font weight of the label. Use this when you have a label hierarchy, such as checkboxes/radios in a fieldset\n * @default 'semibold'\n */\n weight?: 'regular' | 'medium' | 'semibold';\n ref?: Ref<HTMLLabelElement>;\n }\n>;\n\nexport const Label = ({ className, weight = 'semibold', asChild, ref, ...props }: LabelProps) => {\n const Component = asChild ? Slot : 'label';\n\n return <Component ref={ref} className={clsx('bi-label', className)} data-weight={weight} {...props} />;\n};\n"],"mappings":";;;;AAkBA,MAAa,SAAS,EAAE,WAAW,SAAS,YAAY,SAAS,KAAK,GAAG,YAAwB;CAG/F,OAAO,oBAFW,UAAU,OAAO,SAE5B;EAAgB;EAAK,WAAW,KAAK,YAAY,SAAS;EAAG,eAAa;EAAQ,GAAI;CAAQ,CAAA;AACvG"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Q as LinkProps, Z as Link } from "../../alert-footer-
|
|
2
|
-
export { Link, LinkProps };
|
|
1
|
+
import { Q as LinkProps, Z as Link } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
|
+
export { Link, type LinkProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Q as LinkProps, Z as Link } from "../../alert-footer-
|
|
1
|
+
import { Q as LinkProps, Z as Link } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
2
|
export { Link, LinkProps };
|
|
@@ -2,10 +2,9 @@ import { Slot } from "@radix-ui/react-slot";
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
//#region src/components/link/link.tsx
|
|
5
|
-
const Link = ({ asChild, className,
|
|
5
|
+
const Link = ({ asChild, className, underline, ref, ...rest }) => {
|
|
6
6
|
return /* @__PURE__ */ jsx(asChild ? Slot : "a", {
|
|
7
7
|
className: clsx("bi-link", className),
|
|
8
|
-
"data-color": color,
|
|
9
8
|
"data-underline": underline,
|
|
10
9
|
ref,
|
|
11
10
|
...rest
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link.mjs","names":[],"sources":["../../../src/components/link/link.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot';\nimport clsx from 'clsx';\nimport type { AnchorHTMLAttributes, ReactNode, Ref } from 'react';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\n\nexport type LinkProps = MergeRight<\n DefaultProps & AnchorHTMLAttributes<HTMLAnchorElement>,\n {\n /**\n *
|
|
1
|
+
{"version":3,"file":"link.mjs","names":[],"sources":["../../../src/components/link/link.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot';\nimport clsx from 'clsx';\nimport type { AnchorHTMLAttributes, ReactNode, Ref } from 'react';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\n\nexport type LinkProps = MergeRight<\n DefaultProps & AnchorHTMLAttributes<HTMLAnchorElement>,\n {\n /**\n * Control the underline style of the link.\n * - 'always': The link is always underlined.\n * - 'hover': The link is underlined only on hover.\n * @default 'always'\n */\n underline?: 'always' | 'hover';\n children: ReactNode;\n /**\n * Change the default rendered element for the one passed as a child, merging their props and behavior.\n * @default false\n */\n asChild?: boolean;\n ref?: Ref<HTMLAnchorElement>;\n }\n>;\n\nexport const Link = ({ asChild, className, underline, ref, ...rest }: LinkProps) => {\n const Component = asChild ? Slot : 'a';\n\n return <Component className={clsx('bi-link', className)} data-underline={underline} ref={ref} {...rest} />;\n};\n"],"mappings":";;;;AA0BA,MAAa,QAAQ,EAAE,SAAS,WAAW,WAAW,KAAK,GAAG,WAAsB;CAGlF,OAAO,oBAFW,UAAU,OAAO,KAE5B;EAAW,WAAW,KAAK,WAAW,SAAS;EAAG,kBAAgB;EAAgB;EAAK,GAAI;CAAO,CAAA;AAC3G"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { X as LogoProps, Y as Logo } from "../../alert-footer-
|
|
2
|
-
export { Logo, LogoProps };
|
|
1
|
+
import { X as LogoProps, Y as Logo } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
|
+
export { Logo, type LogoProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { X as LogoProps, Y as Logo } from "../../alert-footer-
|
|
1
|
+
import { X as LogoProps, Y as Logo } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
2
|
export { Logo, LogoProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logo.mjs","names":[],"sources":["../../../src/components/logo/logo.tsx"],"sourcesContent":["import clsx from 'clsx';\nimport type { HTMLAttributes, Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\nimport type { DefaultProps } from '../../types';\n\nexport type LogoProps = MergeRight<\n DefaultProps & Omit<HTMLAttributes<HTMLSpanElement>, 'children'>,\n {\n /**\n * Enable the pride logo variant. This will override the default logo with a pride-themed logo.\n * @default false\n */\n pride?: boolean;\n /**\n * Determines if the international logo should be used.\n * @default false\n */\n international?: boolean;\n /**\n * Determines if the logo text should be displayed vertically.\n * Only applies when `international` is `true`.\n * @default false\n */\n vertical?: boolean;\n /**\n * Determines the height of the logo.\n * @default 'medium'\n */\n size?: 'xs' | 'small' | 'medium' | 'large' | 'xl' | 'xxl';\n ref?: Ref<HTMLSpanElement>;\n }\n>;\n\nexport const Logo = ({\n pride = false,\n international = false,\n vertical = false,\n size = 'medium',\n className,\n ref,\n ...props\n}: LogoProps) => {\n return (\n <span\n {...props}\n className={clsx('bi-logo', className)}\n data-pride={pride}\n data-international={international}\n data-vertical={vertical}\n data-size={size}\n ref={ref}\n />\n );\n};\n"],"mappings":";;;AAiCA,MAAa,QAAQ,EACnB,QAAQ,OACR,gBAAgB,OAChB,WAAW,OACX,OAAO,UACP,WACA,KACA,GAAG,YACY;CACf,OACE,oBAAC,QAAD;EACE,GAAI;EACJ,WAAW,KAAK,WAAW,
|
|
1
|
+
{"version":3,"file":"logo.mjs","names":[],"sources":["../../../src/components/logo/logo.tsx"],"sourcesContent":["import clsx from 'clsx';\nimport type { HTMLAttributes, Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\nimport type { DefaultProps } from '../../types';\n\nexport type LogoProps = MergeRight<\n DefaultProps & Omit<HTMLAttributes<HTMLSpanElement>, 'children'>,\n {\n /**\n * Enable the pride logo variant. This will override the default logo with a pride-themed logo.\n * @default false\n */\n pride?: boolean;\n /**\n * Determines if the international logo should be used.\n * @default false\n */\n international?: boolean;\n /**\n * Determines if the logo text should be displayed vertically.\n * Only applies when `international` is `true`.\n * @default false\n */\n vertical?: boolean;\n /**\n * Determines the height of the logo.\n * @default 'medium'\n */\n size?: 'xs' | 'small' | 'medium' | 'large' | 'xl' | 'xxl';\n ref?: Ref<HTMLSpanElement>;\n }\n>;\n\nexport const Logo = ({\n pride = false,\n international = false,\n vertical = false,\n size = 'medium',\n className,\n ref,\n ...props\n}: LogoProps) => {\n return (\n <span\n {...props}\n className={clsx('bi-logo', className)}\n data-pride={pride}\n data-international={international}\n data-vertical={vertical}\n data-size={size}\n ref={ref}\n />\n );\n};\n"],"mappings":";;;AAiCA,MAAa,QAAQ,EACnB,QAAQ,OACR,gBAAgB,OAChB,WAAW,OACX,OAAO,UACP,WACA,KACA,GAAG,YACY;CACf,OACE,oBAAC,QAAD;EACE,GAAI;EACJ,WAAW,KAAK,WAAW,SAAS;EACpC,cAAY;EACZ,sBAAoB;EACpB,iBAAe;EACf,aAAW;EACN;CACN,CAAA;AAEL"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { G as SubNavbar, J as NavbarProps, K as SubNavbarProps, q as Navbar } from "../../alert-footer-
|
|
2
|
-
export { Navbar, NavbarProps, SubNavbar, SubNavbarProps };
|
|
1
|
+
import { G as SubNavbar, J as NavbarProps, K as SubNavbarProps, q as Navbar } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
|
+
export { Navbar, type NavbarProps, SubNavbar, type SubNavbarProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { J as NavbarProps, q as Navbar } from "../../alert-footer-
|
|
1
|
+
import { J as NavbarProps, q as Navbar } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
2
|
export { Navbar, NavbarProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navbar.mjs","names":[],"sources":["../../../src/components/navbar/navbar.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { HTMLAttributes, ReactNode, Ref } from 'react';\nimport { Logo } from '../logo';\nimport type { MergeRight } from '../../utilities';\nimport type { DefaultProps } from '../../types';\n\nexport type NavbarProps = MergeRight<\n DefaultProps & HTMLAttributes<HTMLDivElement>,\n {\n /**\n * Skip link.\n */\n skipLink?: ReactNode;\n /**\n * Determines if the navbar should be fixed.\n * @default false\n */\n fixed?: boolean;\n /**\n * Aria label for the home link.\n */\n homeAriaLabel: string;\n /**\n * Href for the home link.\n */\n homeHref: string;\n /**\n * Override the default logo\n */\n logo?: ReactNode;\n /**\n * When `true`, the navbar is transparent and does not take up layout height (content may sit behind it).\n * If `fixed` is also `true`, it starts transparent and reveals its background color after the user scrolls a distance equal to the navbar height.\n * Otherwise, it stays transparent.\n * @default false\n */\n transparent?: boolean;\n ref?: Ref<HTMLElement>;\n }\n>;\n\nexport const Navbar = ({\n fixed = false,\n transparent = false,\n homeAriaLabel,\n skipLink,\n homeHref,\n logo,\n children,\n className,\n ref,\n ...props\n}: NavbarProps) => {\n return (\n <nav\n data-color='primary'\n {...props}\n className={clsx('bi-navbar', className)}\n data-fixed={fixed}\n data-transparent={transparent}\n ref={ref}\n >\n {skipLink}\n <header>\n <a aria-label={homeAriaLabel} href={homeHref}>\n {logo || <Logo />}\n </a>\n {children}\n </header>\n </nav>\n );\n};\n"],"mappings":";;;;;AAyCA,MAAa,UAAU,EACrB,QAAQ,OACR,cAAc,OACd,eACA,UACA,UACA,MACA,UACA,WACA,KACA,GAAG,YACc;CACjB,OACE,qBAAC,OAAD;EACE,cAAW;EACX,GAAI;EACJ,WAAW,KAAK,aAAa,
|
|
1
|
+
{"version":3,"file":"navbar.mjs","names":[],"sources":["../../../src/components/navbar/navbar.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { HTMLAttributes, ReactNode, Ref } from 'react';\nimport { Logo } from '../logo';\nimport type { MergeRight } from '../../utilities';\nimport type { DefaultProps } from '../../types';\n\nexport type NavbarProps = MergeRight<\n DefaultProps & HTMLAttributes<HTMLDivElement>,\n {\n /**\n * Skip link.\n */\n skipLink?: ReactNode;\n /**\n * Determines if the navbar should be fixed.\n * @default false\n */\n fixed?: boolean;\n /**\n * Aria label for the home link.\n */\n homeAriaLabel: string;\n /**\n * Href for the home link.\n */\n homeHref: string;\n /**\n * Override the default logo\n */\n logo?: ReactNode;\n /**\n * When `true`, the navbar is transparent and does not take up layout height (content may sit behind it).\n * If `fixed` is also `true`, it starts transparent and reveals its background color after the user scrolls a distance equal to the navbar height.\n * Otherwise, it stays transparent.\n * @default false\n */\n transparent?: boolean;\n ref?: Ref<HTMLElement>;\n }\n>;\n\nexport const Navbar = ({\n fixed = false,\n transparent = false,\n homeAriaLabel,\n skipLink,\n homeHref,\n logo,\n children,\n className,\n ref,\n ...props\n}: NavbarProps) => {\n return (\n <nav\n data-color='primary'\n {...props}\n className={clsx('bi-navbar', className)}\n data-fixed={fixed}\n data-transparent={transparent}\n ref={ref}\n >\n {skipLink}\n <header>\n <a aria-label={homeAriaLabel} href={homeHref}>\n {logo || <Logo />}\n </a>\n {children}\n </header>\n </nav>\n );\n};\n"],"mappings":";;;;;AAyCA,MAAa,UAAU,EACrB,QAAQ,OACR,cAAc,OACd,eACA,UACA,UACA,MACA,UACA,WACA,KACA,GAAG,YACc;CACjB,OACE,qBAAC,OAAD;EACE,cAAW;EACX,GAAI;EACJ,WAAW,KAAK,aAAa,SAAS;EACtC,cAAY;EACZ,oBAAkB;EACb;EANP,UAAA,CAQG,UACD,qBAAC,UAAD,EAAA,UAAA,CACE,oBAAC,KAAD;GAAG,cAAY;GAAe,MAAM;GACjC,UAAA,QAAQ,oBAAC,MAAD,CAAO,CAAA;EACf,CAAA,GACF,QACK,EAAA,CAAA,CACL;;AAET"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { G as SubNavbar, K as SubNavbarProps } from "../../alert-footer-
|
|
1
|
+
import { G as SubNavbar, K as SubNavbarProps } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
2
|
export { SubNavbar, SubNavbarProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sub-navbar.mjs","names":[],"sources":["../../../src/components/navbar/sub-navbar.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport { useRef, type HTMLAttributes, type Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\nimport type { DefaultProps } from '../../types';\nimport { useIsElementAboveViewport, useScrollDirection } from '../../utilities/hooks';\n\nexport type SubNavbarProps = MergeRight<\n DefaultProps & HTMLAttributes<HTMLDivElement>,\n {\n ref?: Ref<HTMLElement>;\n }\n>;\n\nexport const SubNavbar = ({ children, className, ref, ...props }: SubNavbarProps) => {\n const elementRef = useRef<HTMLDivElement>(null);\n const fixed = useIsElementAboveViewport(elementRef);\n const scrollDirection = useScrollDirection();\n\n /**\n * A sub-navbar can only become fixed by scrolling down past its origin, so default the\n * direction to 'down' until the scroll tracker reports one. Without this, there is a window\n * on the first scroll (the element becomes fixed after ~1px, but the direction only registers\n * after the 5px threshold) where data-fixed is set without data-scroll-dir, which drops the\n * sub-navbar to top:0 underneath a fixed, transparent navbar so both are visible at once.\n */\n const scrollDir = fixed ? (scrollDirection ?? 'down') : undefined;\n\n return (\n <div className='bi-sub-navbar--wrapper'>\n <div ref={elementRef} />\n <nav\n className={clsx('bi-sub-navbar', className)}\n data-color='primary'\n data-fixed={fixed}\n data-scroll-dir={scrollDir}\n {...props}\n ref={ref}\n >\n {children}\n </nav>\n </div>\n );\n};\n"],"mappings":";;;;;;;AAaA,MAAa,aAAa,EAAE,UAAU,WAAW,KAAK,GAAG,YAA4B;CACnF,MAAM,aAAa,OAAuB,
|
|
1
|
+
{"version":3,"file":"sub-navbar.mjs","names":[],"sources":["../../../src/components/navbar/sub-navbar.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport { useRef, type HTMLAttributes, type Ref } from 'react';\nimport type { MergeRight } from '../../utilities';\nimport type { DefaultProps } from '../../types';\nimport { useIsElementAboveViewport, useScrollDirection } from '../../utilities/hooks';\n\nexport type SubNavbarProps = MergeRight<\n DefaultProps & HTMLAttributes<HTMLDivElement>,\n {\n ref?: Ref<HTMLElement>;\n }\n>;\n\nexport const SubNavbar = ({ children, className, ref, ...props }: SubNavbarProps) => {\n const elementRef = useRef<HTMLDivElement>(null);\n const fixed = useIsElementAboveViewport(elementRef);\n const scrollDirection = useScrollDirection();\n\n /**\n * A sub-navbar can only become fixed by scrolling down past its origin, so default the\n * direction to 'down' until the scroll tracker reports one. Without this, there is a window\n * on the first scroll (the element becomes fixed after ~1px, but the direction only registers\n * after the 5px threshold) where data-fixed is set without data-scroll-dir, which drops the\n * sub-navbar to top:0 underneath a fixed, transparent navbar so both are visible at once.\n */\n const scrollDir = fixed ? (scrollDirection ?? 'down') : undefined;\n\n return (\n <div className='bi-sub-navbar--wrapper'>\n <div ref={elementRef} />\n <nav\n className={clsx('bi-sub-navbar', className)}\n data-color='primary'\n data-fixed={fixed}\n data-scroll-dir={scrollDir}\n {...props}\n ref={ref}\n >\n {children}\n </nav>\n </div>\n );\n};\n"],"mappings":";;;;;;;AAaA,MAAa,aAAa,EAAE,UAAU,WAAW,KAAK,GAAG,YAA4B;CACnF,MAAM,aAAa,OAAuB,IAAI;CAC9C,MAAM,QAAQ,0BAA0B,UAAU;CAClD,MAAM,kBAAkB,mBAAmB;;;;;;;;CAS3C,MAAM,YAAY,QAAS,mBAAmB,SAAU,KAAA;CAExD,OACE,qBAAC,OAAD;EAAK,WAAU;EAAf,UAAA,CACE,oBAAC,OAAD,EAAK,KAAK,WAAa,CAAA,GACvB,oBAAC,OAAD;GACE,WAAW,KAAK,iBAAiB,SAAS;GAC1C,cAAW;GACX,cAAY;GACZ,mBAAiB;GACjB,GAAI;GACC;GAEJ;EACE,CAAA,CACF;;AAET"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { H as PaginationButtonProps, U as Pagination, V as PaginationButton, W as PaginationProps } from "../../alert-footer-
|
|
2
|
-
import { n as PaginationItemProps, t as PaginationItem } from "../../pagination-item-
|
|
3
|
-
export { Pagination, PaginationButton, PaginationButtonProps, PaginationItem, PaginationItemProps, PaginationProps };
|
|
1
|
+
import { H as PaginationButtonProps, U as Pagination, V as PaginationButton, W as PaginationProps } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
|
+
import { n as PaginationItemProps, t as PaginationItem } from "../../pagination-item-DqbKxAHU.mjs";
|
|
3
|
+
export { Pagination, PaginationButton, type PaginationButtonProps, PaginationItem, type PaginationItemProps, type PaginationProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { H as PaginationButtonProps, V as PaginationButton } from "../../alert-footer-
|
|
1
|
+
import { H as PaginationButtonProps, V as PaginationButton } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
2
|
export { PaginationButton, PaginationButtonProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination-button.mjs","names":[],"sources":["../../../src/components/pagination/pagination-button.tsx"],"sourcesContent":["import { AriaAttributes } from 'react';\nimport { Button, type ButtonProps } from '../button';\n\nexport type PaginationButtonProps = ButtonProps & {\n /**\n * Toggle button as active\n * @default false\n */\n 'aria-current'?: AriaAttributes['aria-current'];\n};\n\nexport const PaginationButton = ({ ref, ...rest }: PaginationButtonProps) => (\n <Button variant='text' icon ref={ref} {...rest} />\n);\n"],"mappings":";;;;AAWA,MAAa,oBAAoB,EAAE,KAAK,GAAG,WACzC,oBAAC,QAAD;CAAQ,SAAQ;CAAO,MAAA;CAAU;CAAK,GAAI;
|
|
1
|
+
{"version":3,"file":"pagination-button.mjs","names":[],"sources":["../../../src/components/pagination/pagination-button.tsx"],"sourcesContent":["import { AriaAttributes } from 'react';\nimport { Button, type ButtonProps } from '../button';\n\nexport type PaginationButtonProps = ButtonProps & {\n /**\n * Toggle button as active\n * @default false\n */\n 'aria-current'?: AriaAttributes['aria-current'];\n};\n\nexport const PaginationButton = ({ ref, ...rest }: PaginationButtonProps) => (\n <Button variant='text' icon ref={ref} {...rest} />\n);\n"],"mappings":";;;;AAWA,MAAa,oBAAoB,EAAE,KAAK,GAAG,WACzC,oBAAC,QAAD;CAAQ,SAAQ;CAAO,MAAA;CAAU;CAAK,GAAI;AAAO,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PaginationItemProps, t as PaginationItem } from "../../pagination-item-
|
|
1
|
+
import { n as PaginationItemProps, t as PaginationItem } from "../../pagination-item-DqbKxAHU.mjs";
|
|
2
2
|
export { PaginationItem, PaginationItemProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination-item.mjs","names":[],"sources":["../../../src/components/pagination/pagination-item.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot';\nimport { HTMLAttributes, Ref } from 'react';\n\nexport type PaginationItemProps = HTMLAttributes<HTMLLIElement> & {\n /**\n * Change the default rendered element for the one passed as a child, merging their props and behavior.\n * @default false\n */\n asChild?: boolean;\n ref?: Ref<HTMLLIElement>;\n};\n\nexport const PaginationItem = ({ ref, asChild, children, ...rest }: PaginationItemProps) => {\n const Component = asChild ? Slot : 'li';\n return (\n <Component ref={ref} {...rest}>\n {children}\n </Component>\n );\n};\n"],"mappings":";;;AAYA,MAAa,kBAAkB,EAAE,KAAK,SAAS,UAAU,GAAG,WAAgC;CAE1F,OACE,oBAFgB,UAAU,OAAO,MAEjC;EAAgB;EAAK,GAAI;EACtB;
|
|
1
|
+
{"version":3,"file":"pagination-item.mjs","names":[],"sources":["../../../src/components/pagination/pagination-item.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot';\nimport { HTMLAttributes, Ref } from 'react';\n\nexport type PaginationItemProps = HTMLAttributes<HTMLLIElement> & {\n /**\n * Change the default rendered element for the one passed as a child, merging their props and behavior.\n * @default false\n */\n asChild?: boolean;\n ref?: Ref<HTMLLIElement>;\n};\n\nexport const PaginationItem = ({ ref, asChild, children, ...rest }: PaginationItemProps) => {\n const Component = asChild ? Slot : 'li';\n return (\n <Component ref={ref} {...rest}>\n {children}\n </Component>\n );\n};\n"],"mappings":";;;AAYA,MAAa,kBAAkB,EAAE,KAAK,SAAS,UAAU,GAAG,WAAgC;CAE1F,OACE,oBAFgB,UAAU,OAAO,MAEjC;EAAgB;EAAK,GAAI;EACtB;CACQ,CAAA;AAEf"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { U as Pagination, W as PaginationProps } from "../../alert-footer-
|
|
1
|
+
import { U as Pagination, W as PaginationProps } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
2
|
export { Pagination, PaginationProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.mjs","names":[],"sources":["../../../src/components/pagination/pagination.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { HTMLAttributes, Ref } from 'react';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\n\nexport type PaginationProps = MergeRight<\n DefaultProps & HTMLAttributes<HTMLDivElement>,\n {\n ref?: Ref<HTMLUListElement>;\n }\n>;\n\nexport const Pagination = ({ className, ref, children, ...props }: PaginationProps) => {\n return (\n <nav className={clsx('bi-pagination', className)} ref={ref} {...props}>\n <ul>{children}</ul>\n </nav>\n );\n};\n"],"mappings":";;;AAYA,MAAa,cAAc,EAAE,WAAW,KAAK,UAAU,GAAG,YAA6B;CACrF,OACE,oBAAC,OAAD;EAAK,WAAW,KAAK,iBAAiB,
|
|
1
|
+
{"version":3,"file":"pagination.mjs","names":[],"sources":["../../../src/components/pagination/pagination.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { HTMLAttributes, Ref } from 'react';\nimport type { DefaultProps } from '../../types';\nimport type { MergeRight } from '../../utilities';\n\nexport type PaginationProps = MergeRight<\n DefaultProps & HTMLAttributes<HTMLDivElement>,\n {\n ref?: Ref<HTMLUListElement>;\n }\n>;\n\nexport const Pagination = ({ className, ref, children, ...props }: PaginationProps) => {\n return (\n <nav className={clsx('bi-pagination', className)} ref={ref} {...props}>\n <ul>{children}</ul>\n </nav>\n );\n};\n"],"mappings":";;;AAYA,MAAa,cAAc,EAAE,WAAW,KAAK,UAAU,GAAG,YAA6B;CACrF,OACE,oBAAC,OAAD;EAAK,WAAW,KAAK,iBAAiB,SAAS;EAAQ;EAAK,GAAI;EAC9D,UAAA,oBAAC,MAAD,EAAK,SAAa,CAAA;CACf,CAAA;AAET"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { At as PopoverProps, Dt as PopoverTrigger, Ot as PopoverTriggerProps, kt as Popover } from "../../alert-footer-
|
|
2
|
-
import { n as PopoverTriggerContext, r as PopoverTriggerContextProps } from "../../popover-trigger-context-
|
|
3
|
-
export { Popover, PopoverProps, PopoverTrigger, PopoverTriggerContext, PopoverTriggerContextProps, PopoverTriggerProps };
|
|
1
|
+
import { At as PopoverProps, Dt as PopoverTrigger, Ot as PopoverTriggerProps, kt as Popover } from "../../alert-footer-BoTu7E1s.mjs";
|
|
2
|
+
import { n as PopoverTriggerContext, r as PopoverTriggerContextProps } from "../../popover-trigger-context-DeCbAC6V.mjs";
|
|
3
|
+
export { Popover, type PopoverProps, PopoverTrigger, PopoverTriggerContext, type PopoverTriggerContextProps, type PopoverTriggerProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PopoverTriggerContext, r as PopoverTriggerContextProps, t as Context } from "../../popover-trigger-context-
|
|
1
|
+
import { n as PopoverTriggerContext, r as PopoverTriggerContextProps, t as Context } from "../../popover-trigger-context-DeCbAC6V.mjs";
|
|
2
2
|
export { Context, PopoverTriggerContext, PopoverTriggerContextProps };
|
|
@@ -15,7 +15,8 @@ const Context = createContext({});
|
|
|
15
15
|
* </PopoverTriggerContext>
|
|
16
16
|
*/
|
|
17
17
|
const PopoverTriggerContext = ({ children, open, onOpenChange }) => {
|
|
18
|
-
const
|
|
18
|
+
const randomPopoverId = useId();
|
|
19
|
+
const [popoverId, setPopoverId] = useState(randomPopoverId);
|
|
19
20
|
const [popoverOpen, setPopoverOpen] = useControllableState({
|
|
20
21
|
prop: open,
|
|
21
22
|
onChange: onOpenChange,
|