@bi-digital/react 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -2
- package/dist/{alert-footer-BFTlBQCl.d.mts → alert-footer-CHHPzMiX.d.mts} +80 -73
- package/dist/{button-CDtQwUfp.mjs → button-Df0Se51p.mjs} +3 -3
- package/dist/button-Df0Se51p.mjs.map +1 -0
- package/dist/{card-action-CkWX8kB1.mjs → card-action-DAFhhfZ5.mjs} +2 -2
- package/dist/{card-action-CkWX8kB1.mjs.map → card-action-DAFhhfZ5.mjs.map} +1 -1
- package/dist/components/alert/alert-footer.d.mts +10 -10
- package/dist/components/alert/alert.d.mts +10 -10
- package/dist/components/alert/index.d.mts +10 -10
- package/dist/components/avatar/avatar.d.mts +10 -10
- package/dist/components/avatar/index.d.mts +10 -10
- package/dist/components/badge/badge.d.mts +10 -10
- package/dist/components/badge/index.d.mts +10 -10
- package/dist/components/button/button.d.mts +10 -10
- package/dist/components/button/button.mjs +1 -1
- package/dist/components/button/index.d.mts +10 -10
- package/dist/components/button/index.mjs +1 -1
- package/dist/components/card/card-action.d.mts +10 -10
- package/dist/components/card/card-action.mjs +2 -2
- package/dist/components/card/card-actions.d.mts +10 -10
- package/dist/components/card/card-content.d.mts +10 -10
- package/dist/components/card/card-date.d.mts +10 -10
- package/dist/components/card/card-header.d.mts +10 -10
- package/dist/components/card/card-media.d.mts +10 -10
- package/dist/components/card/card.d.mts +10 -10
- package/dist/components/card/index.d.mts +10 -10
- package/dist/components/card/index.mjs +2 -2
- package/dist/components/checkbox/checkbox-subsection.d.mts +10 -10
- package/dist/components/checkbox/checkbox.d.mts +10 -10
- package/dist/components/checkbox/index.d.mts +10 -10
- package/dist/components/chip/chip.d.mts +10 -10
- package/dist/components/chip/index.d.mts +10 -10
- package/dist/components/details/details-content.d.mts +10 -10
- package/dist/components/details/details-summary.d.mts +10 -10
- package/dist/components/details/details.d.mts +10 -10
- package/dist/components/details/index.d.mts +10 -10
- package/dist/components/dialog/dialog-close-button.d.mts +10 -10
- package/dist/components/dialog/dialog-close-button.mjs +2 -2
- package/dist/components/dialog/dialog-content.d.mts +10 -10
- package/dist/components/dialog/dialog-footer.d.mts +10 -10
- package/dist/components/dialog/dialog-header.d.mts +10 -10
- package/dist/components/dialog/dialog-trigger-context.d.mts +1 -1
- package/dist/components/dialog/dialog-trigger.d.mts +10 -10
- package/dist/components/dialog/dialog-trigger.mjs +2 -2
- package/dist/components/dialog/dialog.d.mts +10 -10
- package/dist/components/dialog/index.d.mts +10 -10
- package/dist/components/dialog/index.mjs +3 -3
- package/dist/components/drawer/drawer-close-button.d.mts +10 -10
- package/dist/components/drawer/drawer-close-button.mjs +4 -4
- package/dist/components/drawer/drawer-content.d.mts +10 -10
- package/dist/components/drawer/drawer-content.mjs +3 -3
- package/dist/components/drawer/drawer-footer.d.mts +10 -10
- package/dist/components/drawer/drawer-footer.mjs +3 -3
- package/dist/components/drawer/drawer-header.d.mts +10 -10
- package/dist/components/drawer/drawer-header.mjs +3 -3
- package/dist/components/drawer/drawer-trigger-context.d.mts +1 -1
- package/dist/components/drawer/drawer-trigger-context.mjs +3 -3
- package/dist/components/drawer/drawer-trigger.d.mts +10 -10
- package/dist/components/drawer/drawer-trigger.mjs +4 -4
- package/dist/components/drawer/drawer.d.mts +10 -10
- package/dist/components/drawer/drawer.mjs +3 -3
- package/dist/components/drawer/index.d.mts +10 -10
- package/dist/components/drawer/index.mjs +5 -5
- package/dist/components/dropdown/dropdown-button.d.mts +10 -10
- package/dist/components/dropdown/dropdown-button.mjs +2 -2
- package/dist/components/dropdown/dropdown-item.d.mts +1 -1
- package/dist/components/dropdown/dropdown-list.d.mts +1 -1
- package/dist/components/dropdown/dropdown-trigger-context.d.mts +10 -10
- package/dist/components/dropdown/dropdown-trigger-context.mjs +2 -2
- package/dist/components/dropdown/dropdown-trigger.d.mts +10 -10
- package/dist/components/dropdown/dropdown-trigger.mjs +3 -3
- package/dist/components/dropdown/dropdown.d.mts +10 -10
- package/dist/components/dropdown/dropdown.mjs +2 -2
- package/dist/components/dropdown/index.d.mts +10 -10
- package/dist/components/dropdown/index.mjs +4 -4
- package/dist/components/field/field-affix.d.mts +10 -10
- package/dist/components/field/field-description.d.mts +10 -10
- package/dist/components/field/field.d.mts +10 -10
- package/dist/components/field/index.d.mts +10 -10
- package/dist/components/fieldset/fieldset-description.d.mts +10 -10
- package/dist/components/fieldset/fieldset-legend.d.mts +10 -10
- package/dist/components/fieldset/fieldset.d.mts +10 -10
- package/dist/components/fieldset/index.d.mts +10 -10
- package/dist/components/filter-group/filter-group.d.mts +10 -10
- package/dist/components/filter-group/index.d.mts +10 -10
- package/dist/components/footer/footer-links.d.mts +1 -1
- package/dist/components/footer/footer.d.mts +10 -10
- package/dist/components/footer/footer.mjs +2 -2
- package/dist/components/footer/index.d.mts +10 -10
- package/dist/components/footer/index.mjs +2 -2
- package/dist/components/index.d.mts +10 -10
- package/dist/components/index.mjs +13 -13
- package/dist/components/input/index.d.mts +10 -10
- package/dist/components/input/input.d.mts +10 -10
- package/dist/components/label/index.d.mts +10 -10
- package/dist/components/label/label.d.mts +10 -10
- package/dist/components/link/index.d.mts +10 -10
- package/dist/components/link/link.d.mts +10 -10
- package/dist/components/logo/index.d.mts +10 -10
- package/dist/components/logo/logo.d.mts +10 -10
- package/dist/components/navbar/index.d.mts +10 -10
- package/dist/components/navbar/navbar.d.mts +10 -10
- package/dist/components/navbar/sub-navbar.d.mts +10 -10
- package/dist/components/pagination/index.d.mts +10 -10
- package/dist/components/pagination/index.mjs +2 -2
- package/dist/components/pagination/pagination-button.d.mts +10 -10
- package/dist/components/pagination/pagination-button.mjs +2 -2
- package/dist/components/pagination/pagination-item.d.mts +1 -1
- package/dist/components/pagination/pagination.d.mts +10 -10
- package/dist/components/popover/index.d.mts +10 -10
- package/dist/components/popover/index.mjs +2 -2
- package/dist/components/popover/popover-trigger-context.d.mts +1 -1
- package/dist/components/popover/popover-trigger.d.mts +10 -10
- package/dist/components/popover/popover-trigger.mjs +2 -2
- package/dist/components/popover/popover.d.mts +10 -10
- package/dist/components/radio/index.d.mts +10 -10
- package/dist/components/radio/radio.d.mts +10 -10
- package/dist/components/search/index.d.mts +10 -10
- package/dist/components/search/index.mjs +2 -2
- package/dist/components/search/search.d.mts +10 -10
- package/dist/components/search/search.mjs +2 -2
- package/dist/components/select/index.d.mts +10 -10
- package/dist/components/select/select-optgroup.d.mts +10 -10
- package/dist/components/select/select-option.d.mts +10 -10
- package/dist/components/select/select.d.mts +10 -10
- package/dist/components/selectfield/index.d.mts +10 -10
- package/dist/components/selectfield/selectfield.d.mts +10 -10
- package/dist/components/skip-link/index.d.mts +10 -10
- package/dist/components/skip-link/skip-link.d.mts +10 -10
- package/dist/components/spinner/index.d.mts +10 -10
- package/dist/components/spinner/spinner.d.mts +10 -10
- package/dist/components/sticky-header/index.d.mts +1 -1
- package/dist/components/sticky-header/sticky-header.d.mts +1 -1
- package/dist/components/switch/index.d.mts +10 -10
- package/dist/components/switch/switch.d.mts +10 -10
- package/dist/components/tabs/index.d.mts +10 -10
- package/dist/components/tabs/index.mjs +2 -2
- package/dist/components/tabs/tab.d.mts +10 -10
- package/dist/components/tabs/tab.mjs +2 -2
- package/dist/components/tabs/tabs-list.d.mts +10 -10
- package/dist/components/tabs/tabs-panel.d.mts +10 -10
- package/dist/components/tabs/tabs.d.mts +10 -10
- package/dist/components/textarea/index.d.mts +10 -10
- package/dist/components/textarea/textarea.d.mts +10 -10
- package/dist/components/textfield/index.d.mts +10 -10
- package/dist/components/textfield/textfield.d.mts +10 -10
- package/dist/components/validation-message/index.d.mts +10 -10
- package/dist/components/validation-message/validation-message.d.mts +10 -10
- package/dist/{dialog-close-button-BQiLlxh_.mjs → dialog-close-button-CJZrsHfN.mjs} +2 -2
- package/dist/{dialog-close-button-BQiLlxh_.mjs.map → dialog-close-button-CJZrsHfN.mjs.map} +1 -1
- package/dist/{dialog-trigger-BwjU9AQE.mjs → dialog-trigger-CEvyANEF.mjs} +2 -2
- package/dist/{dialog-trigger-BwjU9AQE.mjs.map → dialog-trigger-CEvyANEF.mjs.map} +1 -1
- package/dist/{dialog-trigger-context-BP2Q3KEA.d.mts → dialog-trigger-context-Dlf5Whq6.d.mts} +3 -3
- package/dist/{drawer-close-button-BzgfCB46.mjs → drawer-close-button-gjzgYKSw.mjs} +2 -2
- package/dist/{drawer-close-button-BzgfCB46.mjs.map → drawer-close-button-gjzgYKSw.mjs.map} +1 -1
- package/dist/{drawer-trigger-uVwwMXt_.mjs → drawer-trigger-CUFZtPLQ.mjs} +2 -2
- package/dist/{drawer-trigger-uVwwMXt_.mjs.map → drawer-trigger-CUFZtPLQ.mjs.map} +1 -1
- package/dist/{drawer-trigger-context-BuP2a1-8.d.mts → drawer-trigger-context-3hDiHR-k.d.mts} +3 -3
- package/dist/{dropdown-button-B6EgzSgh.mjs → dropdown-button-DFRD5c3-.mjs} +2 -2
- package/dist/{dropdown-button-B6EgzSgh.mjs.map → dropdown-button-DFRD5c3-.mjs.map} +1 -1
- package/dist/{dropdown-item-B9Toa4yI.d.mts → dropdown-item-wInrqt83.d.mts} +3 -3
- package/dist/{dropdown-list-Ce8CUTGr.d.mts → dropdown-list-z14BOCh4.d.mts} +3 -3
- package/dist/{dropdown-trigger-8zD-9jXF.mjs → dropdown-trigger-FhCAqY-W.mjs} +2 -2
- package/dist/{dropdown-trigger-8zD-9jXF.mjs.map → dropdown-trigger-FhCAqY-W.mjs.map} +1 -1
- package/dist/{footer-CMS77qh0.mjs → footer-TlcFTYFC.mjs} +2 -2
- package/dist/{footer-CMS77qh0.mjs.map → footer-TlcFTYFC.mjs.map} +1 -1
- package/dist/{footer-links-B8XVWRnL.d.mts → footer-links-C7vC-VD7.d.mts} +3 -3
- package/dist/main.d.mts +10 -10
- package/dist/main.mjs +13 -13
- package/dist/{pagination-button-DT0m4mTM.mjs → pagination-button-F_ZOuaN-.mjs} +2 -2
- package/dist/{pagination-button-DT0m4mTM.mjs.map → pagination-button-F_ZOuaN-.mjs.map} +1 -1
- package/dist/{pagination-item-DBpTl8iP.d.mts → pagination-item-cKOuhfhM.d.mts} +3 -3
- package/dist/{popover-trigger-T4NXzZPy.mjs → popover-trigger-BDYAK6jg.mjs} +2 -2
- package/dist/{popover-trigger-T4NXzZPy.mjs.map → popover-trigger-BDYAK6jg.mjs.map} +1 -1
- package/dist/{popover-trigger-context-HGF38PbW.d.mts → popover-trigger-context-sQGC75uf.d.mts} +3 -3
- package/dist/{search-CTkPGLRm.mjs → search-B9aa1_12.mjs} +4 -4
- package/dist/{search-CTkPGLRm.mjs.map → search-B9aa1_12.mjs.map} +1 -1
- package/dist/{sticky-header-CQ10VPji.d.mts → sticky-header-Y0uT-nWI.d.mts} +3 -3
- package/dist/{tab-qLMKkR-4.mjs → tab-Bm-746fZ.mjs} +2 -2
- package/dist/{tab-qLMKkR-4.mjs.map → tab-Bm-746fZ.mjs.map} +1 -1
- package/dist/useIsomorphicLayoutEffect-PJRUcTSc.d.mts +7 -0
- package/dist/utilities/hooks/index.d.mts +10 -10
- package/dist/utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.mts +1 -1
- package/dist/utilities/hooks/usePagination/usePagination.d.mts +10 -10
- package/dist/utilities/index.d.mts +10 -10
- package/package.json +3 -6
- package/dist/button-CDtQwUfp.mjs.map +0 -1
- package/dist/useIsomorphicLayoutEffect-gxToSQn7.d.mts +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-button-
|
|
1
|
+
{"version":3,"file":"dropdown-button-DFRD5c3-.mjs","names":[],"sources":["../src/components/dropdown/dropdown-button.tsx"],"sourcesContent":["import { Button, type ButtonProps } from '../button';\n\nexport type DropdownButtonProps = Omit<ButtonProps, 'variant'>;\n\nexport const DropdownButton = ({ ref, ...rest }: DropdownButtonProps) => {\n return <Button ref={ref} variant='text' {...rest} />;\n};\n"],"mappings":";;;;AAIA,MAAa,kBAAkB,EAAE,KAAK,GAAG,WAAgC;AACvE,QAAO,oBAAC;EAAY;EAAK,SAAQ;EAAO,GAAI;GAAQ"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime47 from "react/jsx-runtime";
|
|
2
2
|
import { HTMLAttributes, Ref } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/dropdown/dropdown-item.d.ts
|
|
@@ -8,7 +8,7 @@ type DropdownItemProps = HTMLAttributes<HTMLLIElement> & {
|
|
|
8
8
|
declare const DropdownItem: ({
|
|
9
9
|
ref,
|
|
10
10
|
...rest
|
|
11
|
-
}: DropdownItemProps) =>
|
|
11
|
+
}: DropdownItemProps) => react_jsx_runtime47.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { DropdownItemProps as n, DropdownItem as t };
|
|
14
|
-
//# sourceMappingURL=dropdown-item-
|
|
14
|
+
//# sourceMappingURL=dropdown-item-wInrqt83.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime63 from "react/jsx-runtime";
|
|
2
2
|
import { HTMLAttributes, Ref } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/dropdown/dropdown-list.d.ts
|
|
@@ -8,7 +8,7 @@ type DropdownListProps = HTMLAttributes<HTMLUListElement> & {
|
|
|
8
8
|
declare const DropdownList: ({
|
|
9
9
|
ref,
|
|
10
10
|
...rest
|
|
11
|
-
}: DropdownListProps) =>
|
|
11
|
+
}: DropdownListProps) => react_jsx_runtime63.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { DropdownListProps as n, DropdownList as t };
|
|
14
|
-
//# sourceMappingURL=dropdown-list-
|
|
14
|
+
//# sourceMappingURL=dropdown-list-z14BOCh4.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PopoverTrigger } from "./popover-trigger-
|
|
1
|
+
import { t as PopoverTrigger } from "./popover-trigger-BDYAK6jg.mjs";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/dropdown/dropdown-trigger.tsx
|
|
@@ -10,4 +10,4 @@ const DropdownTrigger = ({ ref, ...rest }) => /* @__PURE__ */ jsx(PopoverTrigger
|
|
|
10
10
|
|
|
11
11
|
//#endregion
|
|
12
12
|
export { DropdownTrigger as t };
|
|
13
|
-
//# sourceMappingURL=dropdown-trigger-
|
|
13
|
+
//# sourceMappingURL=dropdown-trigger-FhCAqY-W.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown-trigger-
|
|
1
|
+
{"version":3,"file":"dropdown-trigger-FhCAqY-W.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;CAAe,SAAQ;CAAY;CAAK,GAAI;EAAQ"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as Button } from "./button-
|
|
1
|
+
import { t as Button } from "./button-Df0Se51p.mjs";
|
|
2
2
|
import clsx from "clsx/lite";
|
|
3
3
|
import { FacebookIcon, InstagramIcon, LinkedinIcon, XIcon } from "@bi-digital/icons";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -108,4 +108,4 @@ const Footer = ({ dark, copyRightText = "Handelshøyskolen BI", hideAccreditatio
|
|
|
108
108
|
|
|
109
109
|
//#endregion
|
|
110
110
|
export { Footer as t };
|
|
111
|
-
//# sourceMappingURL=footer-
|
|
111
|
+
//# sourceMappingURL=footer-TlcFTYFC.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"footer-
|
|
1
|
+
{"version":3,"file":"footer-TlcFTYFC.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 dark,\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)} data-dark={dark} 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 dark={dark}>\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 dark={dark}>\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 dark={dark}>\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 dark={dark}>\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,MACA,gBAAgB,uBAChB,yBAAyB,OACzB,uBAAuB,OACvB,gBAAgB,OAChB,WACA,UACA,KACA,GAAG,YACc;AACjB,QACE,qBAAC;EAAO,WAAW,KAAK,aAAa,UAAU;EAAE,aAAW;EAAW;EAAK,GAAI;;GAC9E,oBAAC;IAAI,WAAU;IAA8B;KAAe;GAC3D,CAAC,0BACA,qBAAC;IAAI,WAAU;;KACb,oBAAC;MACC,cAAW;MACX,QAAO;MACP,MAAK;MACL,KAAI;gBAEJ,oBAAC,UAAK,WAAU,qBAAqB;OACnC;KACJ,oBAAC;MACC,cAAW;MACX,QAAO;MACP,MAAK;MACL,KAAI;gBAEJ,oBAAC,UAAK,WAAU,qBAAqB;OACnC;KACJ,oBAAC;MAAE,cAAW;MAAY,QAAO;MAAS,MAAK;MAAqC,KAAI;gBACtF,oBAAC,UAAK,WAAU,oBAAoB;OAClC;;KACA;GAEP,CAAC,wBACA,qBAAC;IAAI,WAAU;;KACb,oBAAC;MAAO,MAAK;MAAQ,SAAQ;MAAO;MAAK;MAAc;gBACrD,oBAAC;OAAE,QAAO;OAAS,MAAK;OAA+C,KAAI;iBACzE,oBAAC,gBAAa,OAAM,gBAAgB;QAClC;OACG;KACT,oBAAC;MAAO,MAAK;MAAQ,SAAQ;MAAO;MAAK;MAAc;gBACrD,oBAAC;OAAE,QAAO;OAAS,MAAK;OAAqC,KAAI;iBAC/D,oBAAC,SAAM,OAAM,SAAS;QACpB;OACG;KACT,oBAAC;MAAO,MAAK;MAAQ,SAAQ;MAAO;MAAK;MAAc;gBACrD,oBAAC;OACC,QAAO;OACP,MAAK;OACL,KAAI;iBAEJ,oBAAC,gBAAa,OAAM,gBAAgB;QAClC;OACG;KACT,oBAAC;MAAO,MAAK;MAAQ,SAAQ;MAAO;MAAK;MAAc;gBACrD,oBAAC;OAAE,QAAO;OAAS,MAAK;OAAsD,KAAI;iBAChF,oBAAC,iBAAc,OAAM,iBAAiB;QACpC;OACG;;KACL;GAEP,CAAC,iBAAiB,oBAAC;IAAE,WAAU;cAAwB,sBAAK,IAAI,MAAM,EAAC,aAAa,CAAC,GAAG;KAAoB;;GACtG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime74 from "react/jsx-runtime";
|
|
2
2
|
import { HTMLAttributes, Ref } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/footer/footer-links.d.ts
|
|
@@ -14,7 +14,7 @@ declare const FooterLinks: ({
|
|
|
14
14
|
children,
|
|
15
15
|
ref,
|
|
16
16
|
...props
|
|
17
|
-
}: FooterLinksProps) =>
|
|
17
|
+
}: FooterLinksProps) => react_jsx_runtime74.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { FooterLinksProps as n, FooterLinks as t };
|
|
20
|
-
//# sourceMappingURL=footer-links-
|
|
20
|
+
//# sourceMappingURL=footer-links-C7vC-VD7.d.mts.map
|
package/dist/main.d.mts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as useCheckboxGroup, t as UseCheckboxGroupOptions } from "./useCheckboxGroup-BUpI46_M.mjs";
|
|
2
|
-
import { t as useIsomorphicLayoutEffect } from "./useIsomorphicLayoutEffect-
|
|
2
|
+
import { t as useIsomorphicLayoutEffect } from "./useIsomorphicLayoutEffect-PJRUcTSc.mjs";
|
|
3
3
|
import "./types-Bgj7p8nD.mjs";
|
|
4
|
-
import { $ as FieldsetLegend, $t as DetailsContent, A as SelectOptionProps, An as AvatarProps, At as DrawerTriggerProps, B as PaginationProps, Bt as DialogCloseButtonProps, C as SkipLink, Cn as Card, Ct as PopoverTrigger, D as SelectOptgroup, Dn as Badge, Dt as DrawerCloseButton, E as SelectfieldProps, En as ButtonProps, Et as PopoverProps, F as Radio, Ft as DrawerContent, G as Logo, Gt as DialogHeader, H as SubNavbarProps, Ht as DialogTriggerProps, I as RadioProps, It as DrawerContentProps, J as LinkProps, Jt as DialogContentProps, K as LogoProps, Kt as DialogHeaderProps, L as PaginationButton, Lt as Drawer, M as SelectProps, Mn as AlertProps, Mt as DrawerFooterProps, N as Search, Nt as DrawerHeader, O as SelectOptgroupProps, On as BadgeProps, Ot as DrawerCloseButtonProps, P as SearchProps, Pt as DrawerHeaderProps, Q as FilterGroupProps, Qt as DetailsSummaryProps, R as PaginationButtonProps, Rt as DrawerProps, S as SpinnerProps, Sn as CardActionsProps, St as DropdownProps, T as Selectfield, Tn as Button, Tt as Popover, U as Navbar, Ut as DialogFooter, V as SubNavbar, Vt as DialogTrigger, W as NavbarProps, Wt as DialogFooterProps, X as FooterProps, Xt as DialogProps, Y as Footer, Yt as Dialog, Z as FilterGroup, Zt as DetailsSummary, _ as Tabs, _n as CardContent, _t as DropdownTrigger, a as ValidationMessage, an as CheckboxSubsection, at as Fieldset, b as SwitchProps, bn as CardActionProps, bt as DropdownButtonProps, c as TextfieldProps, cn as CheckboxProps, ct as FieldAffixProps, d as TabsPanel, dn as CardDate, dt as FieldDescription, en as DetailsContentProps, et as FieldsetLegendProps, f as TabsPanelProps, fn as CardDateProps, ft as FieldDescriptionProps, g as TabProps, gn as CardHeaderProps, gt as DropdownTriggerContextProps, h as Tab, hn as CardHeader, ht as DropdownTriggerContext, i as usePagination, in as ChipProps, it as FieldsetDescriptionProps, j as Select, jn as Alert, jt as DrawerFooter, k as SelectOption, kn as Avatar, kt as DrawerTrigger, l as Textarea, ln as Input, lt as FieldAffixes, m as TabsListProps, mn as CardMediaProps, mt as FieldProps, n as AlertFooterProps, nn as DetailsProps, nt as LabelProps, o as ValidationMessageProps, on as CheckboxSubsectionProps, ot as FieldsetProps, p as TabsList, pn as CardMedia, pt as Field, q as Link, qt as DialogContent, r as UsePaginationProps, rn as Chip, rt as FieldsetDescription, s as Textfield, sn as Checkbox, st as FieldAffix, t as AlertFooter, tn as Details, tt as Label, u as TextareaProps, un as InputProps, ut as FieldAffixesProps, v as TabsProps, vn as CardContentProps, vt as DropdownTriggerProps, w as SkipLinkProps, wn as CardProps, wt as PopoverTriggerProps, x as Spinner, xn as CardActions, xt as Dropdown, y as Switch, yn as CardAction, yt as DropdownButton, z as Pagination, zt as DialogCloseButton } from "./alert-footer-
|
|
5
|
-
import { n as DialogTriggerContext, r as DialogTriggerContextProps, t as Context } from "./dialog-trigger-context-
|
|
6
|
-
import { n as DrawerTriggerContextProps, t as DrawerTriggerContext } from "./drawer-trigger-context-
|
|
7
|
-
import { n as PopoverTriggerContext, r as PopoverTriggerContextProps } from "./popover-trigger-context-
|
|
8
|
-
import { n as DropdownItemProps, t as DropdownItem } from "./dropdown-item-
|
|
9
|
-
import { n as DropdownListProps, t as DropdownList } from "./dropdown-list-
|
|
10
|
-
import { n as FooterLinksProps, t as FooterLinks } from "./footer-links-
|
|
11
|
-
import { n as PaginationItemProps, t as PaginationItem } from "./pagination-item-
|
|
12
|
-
import { n as StickyHeaderProps, t as StickyHeader } from "./sticky-header-
|
|
4
|
+
import { $ as FieldsetLegend, $t as DetailsContent, A as SelectOptionProps, An as AvatarProps, At as DrawerTriggerProps, B as PaginationProps, Bt as DialogCloseButtonProps, C as SkipLink, Cn as Card, Ct as PopoverTrigger, D as SelectOptgroup, Dn as Badge, Dt as DrawerCloseButton, E as SelectfieldProps, En as ButtonProps, Et as PopoverProps, F as Radio, Ft as DrawerContent, G as Logo, Gt as DialogHeader, H as SubNavbarProps, Ht as DialogTriggerProps, I as RadioProps, It as DrawerContentProps, J as LinkProps, Jt as DialogContentProps, K as LogoProps, Kt as DialogHeaderProps, L as PaginationButton, Lt as Drawer, M as SelectProps, Mn as AlertProps, Mt as DrawerFooterProps, N as Search, Nt as DrawerHeader, O as SelectOptgroupProps, On as BadgeProps, Ot as DrawerCloseButtonProps, P as SearchProps, Pt as DrawerHeaderProps, Q as FilterGroupProps, Qt as DetailsSummaryProps, R as PaginationButtonProps, Rt as DrawerProps, S as SpinnerProps, Sn as CardActionsProps, St as DropdownProps, T as Selectfield, Tn as Button, Tt as Popover, U as Navbar, Ut as DialogFooter, V as SubNavbar, Vt as DialogTrigger, W as NavbarProps, Wt as DialogFooterProps, X as FooterProps, Xt as DialogProps, Y as Footer, Yt as Dialog, Z as FilterGroup, Zt as DetailsSummary, _ as Tabs, _n as CardContent, _t as DropdownTrigger, a as ValidationMessage, an as CheckboxSubsection, at as Fieldset, b as SwitchProps, bn as CardActionProps, bt as DropdownButtonProps, c as TextfieldProps, cn as CheckboxProps, ct as FieldAffixProps, d as TabsPanel, dn as CardDate, dt as FieldDescription, en as DetailsContentProps, et as FieldsetLegendProps, f as TabsPanelProps, fn as CardDateProps, ft as FieldDescriptionProps, g as TabProps, gn as CardHeaderProps, gt as DropdownTriggerContextProps, h as Tab, hn as CardHeader, ht as DropdownTriggerContext, i as usePagination, in as ChipProps, it as FieldsetDescriptionProps, j as Select, jn as Alert, jt as DrawerFooter, k as SelectOption, kn as Avatar, kt as DrawerTrigger, l as Textarea, ln as Input, lt as FieldAffixes, m as TabsListProps, mn as CardMediaProps, mt as FieldProps, n as AlertFooterProps, nn as DetailsProps, nt as LabelProps, o as ValidationMessageProps, on as CheckboxSubsectionProps, ot as FieldsetProps, p as TabsList, pn as CardMedia, pt as Field, q as Link, qt as DialogContent, r as UsePaginationProps, rn as Chip, rt as FieldsetDescription, s as Textfield, sn as Checkbox, st as FieldAffix, t as AlertFooter, tn as Details, tt as Label, u as TextareaProps, un as InputProps, ut as FieldAffixesProps, v as TabsProps, vn as CardContentProps, vt as DropdownTriggerProps, w as SkipLinkProps, wn as CardProps, wt as PopoverTriggerProps, x as Spinner, xn as CardActions, xt as Dropdown, y as Switch, yn as CardAction, yt as DropdownButton, z as Pagination, zt as DialogCloseButton } from "./alert-footer-CHHPzMiX.mjs";
|
|
5
|
+
import { n as DialogTriggerContext, r as DialogTriggerContextProps, t as Context } from "./dialog-trigger-context-Dlf5Whq6.mjs";
|
|
6
|
+
import { n as DrawerTriggerContextProps, t as DrawerTriggerContext } from "./drawer-trigger-context-3hDiHR-k.mjs";
|
|
7
|
+
import { n as PopoverTriggerContext, r as PopoverTriggerContextProps } from "./popover-trigger-context-sQGC75uf.mjs";
|
|
8
|
+
import { n as DropdownItemProps, t as DropdownItem } from "./dropdown-item-wInrqt83.mjs";
|
|
9
|
+
import { n as DropdownListProps, t as DropdownList } from "./dropdown-list-z14BOCh4.mjs";
|
|
10
|
+
import { n as FooterLinksProps, t as FooterLinks } from "./footer-links-C7vC-VD7.mjs";
|
|
11
|
+
import { n as PaginationItemProps, t as PaginationItem } from "./pagination-item-cKOuhfhM.mjs";
|
|
12
|
+
import { n as StickyHeaderProps, t as StickyHeader } from "./sticky-header-Y0uT-nWI.mjs";
|
|
13
13
|
import "./index-C3reD4RP.mjs";
|
|
14
14
|
import { t as useIsElementAboveViewport } from "./useIsElementAboveViewport-BcIGWQqn.mjs";
|
|
15
15
|
import { t as useScrollDirection } from "./useScrollDirection-Cm7w2CbB.mjs";
|
package/dist/main.mjs
CHANGED
|
@@ -7,11 +7,11 @@ import { t as Badge } from "./badge-tAjYsQEq.mjs";
|
|
|
7
7
|
import "./badge-D6dJHxi2.mjs";
|
|
8
8
|
import { t as Spinner } from "./spinner-xmvtWIZ0.mjs";
|
|
9
9
|
import "./spinner-C4Z-GQVz.mjs";
|
|
10
|
-
import { t as Button } from "./button-
|
|
10
|
+
import { t as Button } from "./button-Df0Se51p.mjs";
|
|
11
11
|
import "./button-BoSub8TT.mjs";
|
|
12
12
|
import { t as Card } from "./card-BwkKWLCT.mjs";
|
|
13
13
|
import { t as CardActions } from "./card-actions-DQXkkGKI.mjs";
|
|
14
|
-
import { t as CardAction } from "./card-action-
|
|
14
|
+
import { t as CardAction } from "./card-action-DAFhhfZ5.mjs";
|
|
15
15
|
import { t as CardContent } from "./card-content-zQQxsR9_.mjs";
|
|
16
16
|
import { t as CardHeader } from "./card-header-DkKr5o8N.mjs";
|
|
17
17
|
import { t as CardMedia } from "./card-media-Bv2VWU3K.mjs";
|
|
@@ -40,27 +40,27 @@ import { t as Dialog } from "./dialog-CRNSJEfp.mjs";
|
|
|
40
40
|
import { t as DialogContent } from "./dialog-content-CrbstN2A.mjs";
|
|
41
41
|
import { t as DialogHeader } from "./dialog-header-Duz76tEF.mjs";
|
|
42
42
|
import { t as DialogFooter } from "./dialog-footer-CFNIIiwS.mjs";
|
|
43
|
-
import { t as DialogTrigger } from "./dialog-trigger-
|
|
44
|
-
import { t as DialogCloseButton } from "./dialog-close-button-
|
|
43
|
+
import { t as DialogTrigger } from "./dialog-trigger-CEvyANEF.mjs";
|
|
44
|
+
import { t as DialogCloseButton } from "./dialog-close-button-CJZrsHfN.mjs";
|
|
45
45
|
import "./dialog-DOBwB8ll.mjs";
|
|
46
46
|
import { t as Drawer } from "./drawer-Ds2MkNjF.mjs";
|
|
47
47
|
import { t as DrawerContent } from "./drawer-content-DxY9zj19.mjs";
|
|
48
48
|
import { t as DrawerHeader } from "./drawer-header-8MFxFbKD.mjs";
|
|
49
49
|
import { t as DrawerFooter } from "./drawer-footer-DEZvKbZ9.mjs";
|
|
50
|
-
import { t as DrawerTrigger } from "./drawer-trigger-
|
|
50
|
+
import { t as DrawerTrigger } from "./drawer-trigger-CUFZtPLQ.mjs";
|
|
51
51
|
import { t as DrawerTriggerContext } from "./drawer-trigger-context-DUYTD43h.mjs";
|
|
52
|
-
import { t as DrawerCloseButton } from "./drawer-close-button-
|
|
52
|
+
import { t as DrawerCloseButton } from "./drawer-close-button-gjzgYKSw.mjs";
|
|
53
53
|
import "./drawer-DYVQZLML.mjs";
|
|
54
54
|
import { n as PopoverTriggerContext } from "./popover-trigger-context-DZFORTLq.mjs";
|
|
55
55
|
import "./popover-B8P0dE2-.mjs";
|
|
56
56
|
import { t as Popover } from "./popover-CGqBsAam.mjs";
|
|
57
|
-
import { t as PopoverTrigger } from "./popover-trigger-
|
|
57
|
+
import { t as PopoverTrigger } from "./popover-trigger-BDYAK6jg.mjs";
|
|
58
58
|
import "./popover-C_lxbEYu.mjs";
|
|
59
59
|
import { t as Dropdown } from "./dropdown-BZZfp-oa.mjs";
|
|
60
|
-
import { t as DropdownButton } from "./dropdown-button-
|
|
60
|
+
import { t as DropdownButton } from "./dropdown-button-DFRD5c3-.mjs";
|
|
61
61
|
import { t as DropdownItem } from "./dropdown-item-rKVicLWJ.mjs";
|
|
62
62
|
import { t as DropdownList } from "./dropdown-list-CCnbpP3r.mjs";
|
|
63
|
-
import { t as DropdownTrigger } from "./dropdown-trigger-
|
|
63
|
+
import { t as DropdownTrigger } from "./dropdown-trigger-FhCAqY-W.mjs";
|
|
64
64
|
import { t as DropdownTriggerContext } from "./dropdown-trigger-context-DnY5awW2.mjs";
|
|
65
65
|
import "./dropdown-4m7NoRv7.mjs";
|
|
66
66
|
import { t as Fieldset } from "./fieldset-CcTi6Dum.mjs";
|
|
@@ -69,7 +69,7 @@ import { t as FieldsetLegend } from "./fieldset-legend-CSlBCJxg.mjs";
|
|
|
69
69
|
import "./fieldset-EvlIWkNe.mjs";
|
|
70
70
|
import { t as FilterGroup } from "./filter-group-Djsr79gi.mjs";
|
|
71
71
|
import "./filter-group-CqgWY3I1.mjs";
|
|
72
|
-
import { t as Footer } from "./footer-
|
|
72
|
+
import { t as Footer } from "./footer-TlcFTYFC.mjs";
|
|
73
73
|
import { t as FooterLinks } from "./footer-links-CE3T7evI.mjs";
|
|
74
74
|
import "./footer-CFU5m0uE.mjs";
|
|
75
75
|
import { t as Link } from "./link-CU3kBJB8.mjs";
|
|
@@ -87,12 +87,12 @@ import "./hooks-DndqtgSU.mjs";
|
|
|
87
87
|
import { t as SubNavbar } from "./sub-navbar-Dke7jNvB.mjs";
|
|
88
88
|
import "./navbar-Ch7rJsaf.mjs";
|
|
89
89
|
import { t as Pagination } from "./pagination-Drbd1147.mjs";
|
|
90
|
-
import { t as PaginationButton } from "./pagination-button-
|
|
90
|
+
import { t as PaginationButton } from "./pagination-button-F_ZOuaN-.mjs";
|
|
91
91
|
import { t as PaginationItem } from "./pagination-item-BfCHe-dC.mjs";
|
|
92
92
|
import "./pagination-BK24_vW3.mjs";
|
|
93
93
|
import { t as Radio } from "./radio-CikbRUIb.mjs";
|
|
94
94
|
import "./radio-DoypqZjr.mjs";
|
|
95
|
-
import { t as Search } from "./search-
|
|
95
|
+
import { t as Search } from "./search-B9aa1_12.mjs";
|
|
96
96
|
import "./search-B71qkkhd.mjs";
|
|
97
97
|
import { t as Select } from "./select-vw7cl3d_.mjs";
|
|
98
98
|
import { t as SelectOption } from "./select-option-DLslGIIp.mjs";
|
|
@@ -109,7 +109,7 @@ import "./sticky-header-j3zwZtj_.mjs";
|
|
|
109
109
|
import { t as Switch } from "./switch-CJtJvYv6.mjs";
|
|
110
110
|
import "./switch-DZsMi5Uf.mjs";
|
|
111
111
|
import { t as Tabs } from "./tabs-BYYODpZJ.mjs";
|
|
112
|
-
import { t as Tab } from "./tab-
|
|
112
|
+
import { t as Tab } from "./tab-Bm-746fZ.mjs";
|
|
113
113
|
import { t as TabsList } from "./tabs-list-BAnPnTwx.mjs";
|
|
114
114
|
import { t as TabsPanel } from "./tabs-panel-GX2ZoOvH.mjs";
|
|
115
115
|
import "./tabs-Bdxundn7.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as Button } from "./button-
|
|
1
|
+
import { t as Button } from "./button-Df0Se51p.mjs";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-button.tsx
|
|
@@ -11,4 +11,4 @@ const PaginationButton = ({ ref, ...rest }) => /* @__PURE__ */ jsx(Button, {
|
|
|
11
11
|
|
|
12
12
|
//#endregion
|
|
13
13
|
export { PaginationButton as t };
|
|
14
|
-
//# sourceMappingURL=pagination-button-
|
|
14
|
+
//# sourceMappingURL=pagination-button-F_ZOuaN-.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination-button-
|
|
1
|
+
{"version":3,"file":"pagination-button-F_ZOuaN-.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;CAAO,SAAQ;CAAO;CAAU;CAAK,GAAI;EAAQ"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
2
2
|
import { HTMLAttributes, Ref } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pagination/pagination-item.d.ts
|
|
@@ -15,7 +15,7 @@ declare const PaginationItem: ({
|
|
|
15
15
|
asChild,
|
|
16
16
|
children,
|
|
17
17
|
...rest
|
|
18
|
-
}: PaginationItemProps) =>
|
|
18
|
+
}: PaginationItemProps) => react_jsx_runtime6.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { PaginationItemProps as n, PaginationItem as t };
|
|
21
|
-
//# sourceMappingURL=pagination-item-
|
|
21
|
+
//# sourceMappingURL=pagination-item-cKOuhfhM.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as Button } from "./button-
|
|
1
|
+
import { t as Button } from "./button-Df0Se51p.mjs";
|
|
2
2
|
import { t as Context } from "./popover-trigger-context-DZFORTLq.mjs";
|
|
3
3
|
import { Slot } from "@radix-ui/react-slot";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -41,4 +41,4 @@ const PopoverTrigger = ({ id, inline, asChild, ref, ...rest }) => {
|
|
|
41
41
|
|
|
42
42
|
//#endregion
|
|
43
43
|
export { PopoverTrigger as t };
|
|
44
|
-
//# sourceMappingURL=popover-trigger-
|
|
44
|
+
//# sourceMappingURL=popover-trigger-BDYAK6jg.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover-trigger-
|
|
1
|
+
{"version":3,"file":"popover-trigger-BDYAK6jg.mjs","names":[],"sources":["../src/components/popover/popover-trigger.tsx"],"sourcesContent":["import { Slot } from '@radix-ui/react-slot';\nimport { type HTMLAttributes, Ref, use } from 'react';\nimport type { DefaultProps } from '../../types';\nimport { Button, type ButtonProps } from '../button';\nimport { Context } from './popover-trigger-context';\n\nexport type PopoverTriggerProps =\n | ({\n /**\n * Will render the trigger as inline text.\n * @default false\n */\n inline?: true;\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<HTMLButtonElement>;\n } & HTMLAttributes<HTMLButtonElement> &\n DefaultProps)\n | ({\n /**\n * Will not render the trigger as inline text.\n * @default false\n */\n inline?: false;\n } & ButtonProps);\n\n/**\n * PopoverTrigger component, used to trigger a popover.\n *\n * @example\n * <PopoverTriggerContext>\n * <PopoverTrigger>Open Popover</PopoverTrigger>\n * <Popover>\n * Content\n * </Popover>\n * </PopoverTriggerContext>\n *\n * @example inline\n * <PopoverTriggerContext>\n * <Paragraph>\n * We can use it <PopoverTrigger inline={true}>inline</PopoverTrigger>.\n * </Paragraph>\n * <Popover>\n * Content\n * </Popover>\n * </PopoverTriggerContext>\n */\n// oxlint-disable-next-line no-unused-vars\nexport const PopoverTrigger = ({ id, inline, asChild, ref, ...rest }: PopoverTriggerProps) => {\n const { popoverId, popoverOpen, setPopoverOpen } = use(Context);\n const Component = asChild ? Slot : inline ? 'button' : Button;\n\n const popoverProps = Object.assign(\n {\n onClick: () => setPopoverOpen?.((prev) => !prev),\n 'aria-controls': popoverId,\n 'aria-expanded': popoverOpen,\n ...(inline\n ? {\n 'data-popover': 'inline',\n }\n : {}),\n },\n rest,\n );\n\n return <Component ref={ref} {...popoverProps} />;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmDA,MAAa,kBAAkB,EAAE,IAAI,QAAQ,SAAS,KAAK,GAAG,WAAgC;CAC5F,MAAM,EAAE,WAAW,aAAa,mBAAmB,IAAI,QAAQ;AAiB/D,QAAO,oBAhBW,UAAU,OAAO,SAAS,WAAW;EAgBhC;EAAK,GAdP,OAAO,OAC1B;GACE,eAAe,kBAAkB,SAAS,CAAC,KAAK;GAChD,iBAAiB;GACjB,iBAAiB;GACjB,GAAI,SACA,EACE,gBAAgB,UACjB,GACD,EAAE;GACP,EACD,KACD;GAE+C"}
|
package/dist/{popover-trigger-context-HGF38PbW.d.mts → popover-trigger-context-sQGC75uf.d.mts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
2
2
|
import * as react0 from "react";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
|
|
@@ -37,7 +37,7 @@ declare const PopoverTriggerContext: ({
|
|
|
37
37
|
children,
|
|
38
38
|
open,
|
|
39
39
|
onOpenChange
|
|
40
|
-
}: PopoverTriggerContextProps) =>
|
|
40
|
+
}: PopoverTriggerContextProps) => react_jsx_runtime9.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { PopoverTriggerContext as n, PopoverTriggerContextProps as r, Context as t };
|
|
43
|
-
//# sourceMappingURL=popover-trigger-context-
|
|
43
|
+
//# sourceMappingURL=popover-trigger-context-sQGC75uf.d.mts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as Button } from "./button-
|
|
1
|
+
import { t as Button } from "./button-Df0Se51p.mjs";
|
|
2
2
|
import { t as Field } from "./field-BIBlDQoi.mjs";
|
|
3
3
|
import { n as FieldAffixes, t as FieldAffix } from "./field-affix-DNZXWyx-.mjs";
|
|
4
4
|
import { t as Input } from "./input-DU_8Z4cN.mjs";
|
|
5
5
|
import clsx from "clsx/lite";
|
|
6
|
-
import { CrossSmallIcon,
|
|
6
|
+
import { CrossSmallIcon, MagnifyingGlassIcon } from "@bi-digital/icons";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
|
|
9
9
|
//#region src/components/search/search.tsx
|
|
@@ -25,7 +25,7 @@ const Search = ({ className, onSubmit, onReset, clearAriaLabel = "Clear", size =
|
|
|
25
25
|
onSubmit: handleSubmit,
|
|
26
26
|
onReset: handleReset,
|
|
27
27
|
children: /* @__PURE__ */ jsxs(FieldAffixes, { children: [
|
|
28
|
-
/* @__PURE__ */ jsx(FieldAffix, { children: /* @__PURE__ */ jsx(
|
|
28
|
+
/* @__PURE__ */ jsx(FieldAffix, { children: /* @__PURE__ */ jsx(MagnifyingGlassIcon, { size }) }),
|
|
29
29
|
/* @__PURE__ */ jsx(Input, {
|
|
30
30
|
type: "text",
|
|
31
31
|
ref,
|
|
@@ -55,4 +55,4 @@ const Search = ({ className, onSubmit, onReset, clearAriaLabel = "Clear", size =
|
|
|
55
55
|
|
|
56
56
|
//#endregion
|
|
57
57
|
export { Search as t };
|
|
58
|
-
//# sourceMappingURL=search-
|
|
58
|
+
//# sourceMappingURL=search-B9aa1_12.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-
|
|
1
|
+
{"version":3,"file":"search-B9aa1_12.mjs","names":[],"sources":["../src/components/search/search.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport { Field, FieldAffixes, FieldAffix } from '../field';\nimport { Input, type InputProps } from '../input';\nimport { CrossSmallIcon, MagnifyingGlassIcon } from '@bi-digital/icons';\nimport type { MergeRight } from '../../utilities';\nimport { Button } from '../button';\n\nexport type SearchProps = MergeRight<\n Omit<InputProps, 'type' | 'size'>,\n {\n /**\n * Size of the search.\n * @default 'medium'\n */\n size?: 'medium' | 'large';\n /** Called when the user presses enter. You can use this to for example navigate on submit. */\n onSubmit?: (value: string) => void;\n /** Called when the user resets the search input. */\n onReset?: (value: string) => void;\n /**\n * Aria-label for the clear button.\n * @default 'Clear'\n */\n clearAriaLabel?: string;\n /** If true, the selectfield will take up the full available width */\n fullwidth?: boolean;\n }\n>;\n\nexport const Search = ({\n className,\n onSubmit,\n onReset,\n clearAriaLabel = 'Clear',\n size = 'medium',\n ref,\n dark,\n style,\n fullwidth,\n ...props\n}: SearchProps) => {\n const handleSubmit = (e: React.FormEvent<HTMLFormElement>) => {\n e.preventDefault();\n if (onSubmit) {\n const input = e.currentTarget.querySelector('input');\n onSubmit(input?.value || '');\n }\n };\n const handleReset = () => {\n if (onReset) {\n onReset('');\n }\n };\n return (\n <Field className={clsx('bi-search', className)} data-dark={dark} style={style} fullwidth={fullwidth} asChild>\n <form onSubmit={handleSubmit} onReset={handleReset}>\n <FieldAffixes>\n <FieldAffix>\n <MagnifyingGlassIcon size={size} />\n </FieldAffix>\n <Input type='text' ref={ref} size={size} dark={dark} {...props} />\n <FieldAffix aria-hidden='false'>\n <Button aria-label={clearAriaLabel} icon size={size} dark={dark} variant='text' type='reset'>\n <CrossSmallIcon size={size} aria-hidden='true' />\n </Button>\n </FieldAffix>\n </FieldAffixes>\n </form>\n </Field>\n );\n};\n"],"mappings":";;;;;;;;;AA6BA,MAAa,UAAU,EACrB,WACA,UACA,SACA,iBAAiB,SACjB,OAAO,UACP,KACA,MACA,OACA,WACA,GAAG,YACc;CACjB,MAAM,gBAAgB,MAAwC;AAC5D,IAAE,gBAAgB;AAClB,MAAI,SAEF,UADc,EAAE,cAAc,cAAc,QAAQ,EACpC,SAAS,GAAG;;CAGhC,MAAM,oBAAoB;AACxB,MAAI,QACF,SAAQ,GAAG;;AAGf,QACE,oBAAC;EAAM,WAAW,KAAK,aAAa,UAAU;EAAE,aAAW;EAAa;EAAkB;EAAW;YACnG,oBAAC;GAAK,UAAU;GAAc,SAAS;aACrC,qBAAC;IACC,oBAAC,wBACC,oBAAC,uBAA0B,OAAQ,GACxB;IACb,oBAAC;KAAM,MAAK;KAAY;KAAW;KAAY;KAAM,GAAI;MAAS;IAClE,oBAAC;KAAW,eAAY;eACtB,oBAAC;MAAO,cAAY;MAAgB;MAAW;MAAY;MAAM,SAAQ;MAAO,MAAK;gBACnF,oBAAC;OAAqB;OAAM,eAAY;QAAS;OAC1C;MACE;OACA;IACV;GACD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/sticky-header/sticky-header.d.ts
|
|
@@ -13,7 +13,7 @@ type StickyHeaderProps = {
|
|
|
13
13
|
*/
|
|
14
14
|
declare const StickyHeader: ({
|
|
15
15
|
children
|
|
16
|
-
}: StickyHeaderProps) =>
|
|
16
|
+
}: StickyHeaderProps) => react_jsx_runtime25.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { StickyHeaderProps as n, StickyHeader as t };
|
|
19
|
-
//# sourceMappingURL=sticky-header-
|
|
19
|
+
//# sourceMappingURL=sticky-header-Y0uT-nWI.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as Button } from "./button-
|
|
1
|
+
import { t as Button } from "./button-Df0Se51p.mjs";
|
|
2
2
|
import clsx from "clsx/lite";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { Trigger } from "@radix-ui/react-tabs";
|
|
@@ -24,4 +24,4 @@ const Tab = ({ className, value, disabled, children, asChild, dark, ref, ...prop
|
|
|
24
24
|
|
|
25
25
|
//#endregion
|
|
26
26
|
export { Tab as t };
|
|
27
|
-
//# sourceMappingURL=tab-
|
|
27
|
+
//# sourceMappingURL=tab-Bm-746fZ.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab-
|
|
1
|
+
{"version":3,"file":"tab-Bm-746fZ.mjs","names":[],"sources":["../src/components/tabs/tab.tsx"],"sourcesContent":["import type { MergeRight } from '../../utilities';\nimport { Trigger } from '@radix-ui/react-tabs';\nimport clsx from 'clsx/lite';\nimport { Button, ButtonProps } from '../button';\n\nexport type TabProps = MergeRight<\n Omit<ButtonProps, 'variant' | 'type'>,\n {\n /** A unique value that associates the trigger with a content. */\n value: string;\n /**\n * When true, prevents the user from interacting with the tab.\n * @default false\n */\n disabled?: boolean;\n }\n>;\n\nexport const Tab = ({ className, value, disabled, children, asChild, dark, ref, ...props }: TabProps) => {\n return (\n <Trigger value={value} disabled={disabled} asChild>\n <Button\n ref={ref}\n variant='text'\n className={clsx('bi-tabs--tab', className)}\n disabled={disabled}\n asChild={asChild}\n dark={dark}\n {...props}\n >\n {children}\n </Button>\n </Trigger>\n );\n};\n"],"mappings":";;;;;;AAkBA,MAAa,OAAO,EAAE,WAAW,OAAO,UAAU,UAAU,SAAS,MAAM,KAAK,GAAG,YAAsB;AACvG,QACE,oBAAC;EAAe;EAAiB;EAAU;YACzC,oBAAC;GACM;GACL,SAAQ;GACR,WAAW,KAAK,gBAAgB,UAAU;GAChC;GACD;GACH;GACN,GAAI;GAEH;IACM;GACD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { useLayoutEffect } from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.ts
|
|
4
|
+
declare const useIsomorphicLayoutEffect: typeof useLayoutEffect;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { useIsomorphicLayoutEffect as t };
|
|
7
|
+
//# sourceMappingURL=useIsomorphicLayoutEffect-PJRUcTSc.d.mts.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as useCheckboxGroup, t as UseCheckboxGroupOptions } from "../../useCheckboxGroup-BUpI46_M.mjs";
|
|
2
|
-
import { t as useIsomorphicLayoutEffect } from "../../useIsomorphicLayoutEffect-
|
|
2
|
+
import { t as useIsomorphicLayoutEffect } from "../../useIsomorphicLayoutEffect-PJRUcTSc.mjs";
|
|
3
3
|
import "../../types-Bgj7p8nD.mjs";
|
|
4
|
-
import { i as usePagination, r as UsePaginationProps } from "../../alert-footer-
|
|
5
|
-
import "../../dialog-trigger-context-
|
|
6
|
-
import "../../drawer-trigger-context-
|
|
7
|
-
import "../../popover-trigger-context-
|
|
8
|
-
import "../../dropdown-item-
|
|
9
|
-
import "../../dropdown-list-
|
|
10
|
-
import "../../footer-links-
|
|
11
|
-
import "../../pagination-item-
|
|
12
|
-
import "../../sticky-header-
|
|
4
|
+
import { i as usePagination, r as UsePaginationProps } from "../../alert-footer-CHHPzMiX.mjs";
|
|
5
|
+
import "../../dialog-trigger-context-Dlf5Whq6.mjs";
|
|
6
|
+
import "../../drawer-trigger-context-3hDiHR-k.mjs";
|
|
7
|
+
import "../../popover-trigger-context-sQGC75uf.mjs";
|
|
8
|
+
import "../../dropdown-item-wInrqt83.mjs";
|
|
9
|
+
import "../../dropdown-list-z14BOCh4.mjs";
|
|
10
|
+
import "../../footer-links-C7vC-VD7.mjs";
|
|
11
|
+
import "../../pagination-item-cKOuhfhM.mjs";
|
|
12
|
+
import "../../sticky-header-Y0uT-nWI.mjs";
|
|
13
13
|
import "../../index-C3reD4RP.mjs";
|
|
14
14
|
import { t as useIsElementAboveViewport } from "../../useIsElementAboveViewport-BcIGWQqn.mjs";
|
|
15
15
|
import { t as useScrollDirection } from "../../useScrollDirection-Cm7w2CbB.mjs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as useIsomorphicLayoutEffect } from "../../../useIsomorphicLayoutEffect-
|
|
1
|
+
import { t as useIsomorphicLayoutEffect } from "../../../useIsomorphicLayoutEffect-PJRUcTSc.mjs";
|
|
2
2
|
export { useIsomorphicLayoutEffect };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "../../../useCheckboxGroup-BUpI46_M.mjs";
|
|
2
|
-
import "../../../useIsomorphicLayoutEffect-
|
|
2
|
+
import "../../../useIsomorphicLayoutEffect-PJRUcTSc.mjs";
|
|
3
3
|
import "../../../types-Bgj7p8nD.mjs";
|
|
4
|
-
import { i as usePagination, r as UsePaginationProps } from "../../../alert-footer-
|
|
5
|
-
import "../../../dialog-trigger-context-
|
|
6
|
-
import "../../../drawer-trigger-context-
|
|
7
|
-
import "../../../popover-trigger-context-
|
|
8
|
-
import "../../../dropdown-item-
|
|
9
|
-
import "../../../dropdown-list-
|
|
10
|
-
import "../../../footer-links-
|
|
11
|
-
import "../../../pagination-item-
|
|
12
|
-
import "../../../sticky-header-
|
|
4
|
+
import { i as usePagination, r as UsePaginationProps } from "../../../alert-footer-CHHPzMiX.mjs";
|
|
5
|
+
import "../../../dialog-trigger-context-Dlf5Whq6.mjs";
|
|
6
|
+
import "../../../drawer-trigger-context-3hDiHR-k.mjs";
|
|
7
|
+
import "../../../popover-trigger-context-sQGC75uf.mjs";
|
|
8
|
+
import "../../../dropdown-item-wInrqt83.mjs";
|
|
9
|
+
import "../../../dropdown-list-z14BOCh4.mjs";
|
|
10
|
+
import "../../../footer-links-C7vC-VD7.mjs";
|
|
11
|
+
import "../../../pagination-item-cKOuhfhM.mjs";
|
|
12
|
+
import "../../../sticky-header-Y0uT-nWI.mjs";
|
|
13
13
|
import "../../../index-C3reD4RP.mjs";
|
|
14
14
|
import "../../../useIsElementAboveViewport-BcIGWQqn.mjs";
|
|
15
15
|
export { UsePaginationProps, usePagination };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as useCheckboxGroup, t as UseCheckboxGroupOptions } from "../useCheckboxGroup-BUpI46_M.mjs";
|
|
2
|
-
import { t as useIsomorphicLayoutEffect } from "../useIsomorphicLayoutEffect-
|
|
2
|
+
import { t as useIsomorphicLayoutEffect } from "../useIsomorphicLayoutEffect-PJRUcTSc.mjs";
|
|
3
3
|
import "../types-Bgj7p8nD.mjs";
|
|
4
|
-
import { i as usePagination, r as UsePaginationProps } from "../alert-footer-
|
|
5
|
-
import "../dialog-trigger-context-
|
|
6
|
-
import "../drawer-trigger-context-
|
|
7
|
-
import "../popover-trigger-context-
|
|
8
|
-
import "../dropdown-item-
|
|
9
|
-
import "../dropdown-list-
|
|
10
|
-
import "../footer-links-
|
|
11
|
-
import "../pagination-item-
|
|
12
|
-
import "../sticky-header-
|
|
4
|
+
import { i as usePagination, r as UsePaginationProps } from "../alert-footer-CHHPzMiX.mjs";
|
|
5
|
+
import "../dialog-trigger-context-Dlf5Whq6.mjs";
|
|
6
|
+
import "../drawer-trigger-context-3hDiHR-k.mjs";
|
|
7
|
+
import "../popover-trigger-context-sQGC75uf.mjs";
|
|
8
|
+
import "../dropdown-item-wInrqt83.mjs";
|
|
9
|
+
import "../dropdown-list-z14BOCh4.mjs";
|
|
10
|
+
import "../footer-links-C7vC-VD7.mjs";
|
|
11
|
+
import "../pagination-item-cKOuhfhM.mjs";
|
|
12
|
+
import "../sticky-header-Y0uT-nWI.mjs";
|
|
13
13
|
import "../index-C3reD4RP.mjs";
|
|
14
14
|
import { t as useIsElementAboveViewport } from "../useIsElementAboveViewport-BcIGWQqn.mjs";
|
|
15
15
|
import { t as useScrollDirection } from "../useScrollDirection-Cm7w2CbB.mjs";
|
package/package.json
CHANGED
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bi-digital/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"engines": {
|
|
6
|
-
"node": "^20.19.0 || >=22.12.0"
|
|
7
|
-
},
|
|
4
|
+
"version": "0.9.0",
|
|
8
5
|
"description": "React components from BI Digital",
|
|
9
6
|
"author": "BI Digital",
|
|
10
7
|
"homepage": "https://designsystem.bi.no/",
|
|
@@ -41,7 +38,7 @@
|
|
|
41
38
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
42
39
|
"@radix-ui/react-use-controllable-state": "^1.2.2",
|
|
43
40
|
"clsx": "^2.1.1",
|
|
44
|
-
"@bi-digital/icons": "0.
|
|
41
|
+
"@bi-digital/icons": "0.9.0"
|
|
45
42
|
},
|
|
46
43
|
"devDependencies": {
|
|
47
44
|
"@testing-library/dom": "^10.4.1",
|
|
@@ -62,7 +59,7 @@
|
|
|
62
59
|
"peerDependencies": {
|
|
63
60
|
"react": "^19",
|
|
64
61
|
"react-dom": "^19",
|
|
65
|
-
"@bi-digital/css": "0.
|
|
62
|
+
"@bi-digital/css": "0.9.0"
|
|
66
63
|
},
|
|
67
64
|
"scripts": {
|
|
68
65
|
"build": "tsdown",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button-CDtQwUfp.mjs","names":[],"sources":["../src/components/button/button.tsx"],"sourcesContent":["import clsx from 'clsx/lite';\nimport type { ButtonHTMLAttributes, ReactNode, Ref } from 'react';\nimport { Slot, Slottable } from '@radix-ui/react-slot';\nimport { Spinner } from '../spinner';\nimport type { MergeRight } from '../../utilities';\nimport type { DefaultProps } from '../../types';\n\nexport type ButtonProps = MergeRight<\n DefaultProps & ButtonHTMLAttributes<HTMLButtonElement>,\n {\n /**\n * The button size.\n * @default 'medium'\n */\n size?: 'small' | 'medium' | 'large';\n /**\n * The button variant.\n * @default 'filled'\n */\n variant?: 'filled' | 'outlined' | 'text' | 'flat';\n /**\n * Stretch the button to the full width.\n * @default false\n */\n stretch?: boolean;\n /**\n * Display a loading animation with the Spinner-component.\n * Replaces the `startIcon` if used\n * @default false\n */\n submitting?: boolean;\n /**\n * Display as icon-button, only use when showing an icon as the label.\n * Not compatible with the icon-slots or `stretch`.\n * Always provide a descriptive aria-label for accessibility when set to true.\n * @default false\n */\n icon?: boolean;\n /** Set an icon before the button label, no effect if `icon=true` */\n startIcon?: ReactNode;\n /** Set an icon after the button label, no effect if `icon=true` */\n endIcon?: ReactNode;\n /** Make the button active by showing an active state. */\n active?: boolean;\n ref?: Ref<HTMLButtonElement>;\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 /**\n * Specify the type of button. Unset when `asChild` is true\n * @default 'button'\n */\n type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];\n }\n>;\n\nexport const Button = ({\n asChild,\n variant = 'filled',\n size = 'medium',\n stretch,\n dark,\n submitting,\n icon,\n children,\n className,\n startIcon,\n endIcon,\n active,\n ref,\n ...props\n}: ButtonProps) => {\n const Component = asChild ? Slot : 'button';\n\n return (\n <Component\n aria-busy={Boolean(submitting) || undefined}\n aria-disabled={Boolean(submitting) || undefined}\n className={clsx('bi-button', className)}\n data-variant={variant}\n data-size={size}\n data-stretch={stretch || undefined}\n data-dark={dark || undefined}\n data-icon={icon || undefined}\n data-active={active || undefined}\n ref={ref}\n /* don't set type when we use `asChild` */\n type={asChild ? undefined : 'button'}\n /* if consumers set type, our default does not set anything, as `rest` contains this */\n {...props}\n >\n {!icon &&\n (submitting ? (\n <Spinner aria-hidden='true' className='bi-button--start-icon' />\n ) : (\n startIcon && <span className='bi-button--start-icon'>{startIcon}</span>\n ))}\n <Slottable>{icon && submitting ? <Spinner aria-hidden='true' /> : children}</Slottable>\n {!icon && endIcon && <span className='bi-button--end-icon'>{endIcon}</span>}\n </Component>\n );\n};\n"],"mappings":";;;;;;AA0DA,MAAa,UAAU,EACrB,SACA,UAAU,UACV,OAAO,UACP,SACA,MACA,YACA,MACA,UACA,WACA,WACA,SACA,QACA,KACA,GAAG,YACc;AAGjB,QACE,qBAHgB,UAAU,OAAO;EAI/B,aAAW,QAAQ,WAAW,IAAI;EAClC,iBAAe,QAAQ,WAAW,IAAI;EACtC,WAAW,KAAK,aAAa,UAAU;EACvC,gBAAc;EACd,aAAW;EACX,gBAAc,WAAW;EACzB,aAAW,QAAQ;EACnB,aAAW,QAAQ;EACnB,eAAa,UAAU;EAClB;EAEL,MAAM,UAAU,SAAY;EAE5B,GAAI;;GAEH,CAAC,SACC,aACC,oBAAC;IAAQ,eAAY;IAAO,WAAU;KAA0B,GAEhE,aAAa,oBAAC;IAAK,WAAU;cAAyB;KAAiB;GAE3E,oBAAC,uBAAW,QAAQ,aAAa,oBAAC,WAAQ,eAAY,SAAS,GAAG,WAAqB;GACtF,CAAC,QAAQ,WAAW,oBAAC;IAAK,WAAU;cAAuB;KAAe;;GACjE"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { useEffect } from "react";
|
|
2
|
-
|
|
3
|
-
//#region src/utilities/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.d.ts
|
|
4
|
-
declare const useIsomorphicLayoutEffect: typeof useEffect;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { useIsomorphicLayoutEffect as t };
|
|
7
|
-
//# sourceMappingURL=useIsomorphicLayoutEffect-gxToSQn7.d.mts.map
|