@midas-ds/components 10.1.1 → 10.2.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/AccordionItem-DZT76sWu.js +320 -0
- package/AccordionItem-Z_c9MpAM.cjs +1 -0
- package/BadgeContainer-D3RtqcPF.js +37 -0
- package/BadgeContainer-DeUgqGqb.cjs +1 -0
- package/Breadcrumbs-CmZXtTiS.js +250 -0
- package/Breadcrumbs-Cx09jwZZ.cjs +1 -0
- package/Button-CbFRzRrF.js +38 -0
- package/Button-DnhqHU01.cjs +1 -0
- package/Button-ZOQy9Ivu.js +78 -0
- package/Button-iSiWjocA.cjs +1 -0
- package/Button.module-CMMhIrkn.js +14 -0
- package/Button.module-DO5s9hOk.cjs +1 -0
- package/ButtonGroup-DUqW5dzM.cjs +1 -0
- package/ButtonGroup-DvVvear6.js +22 -0
- package/CHANGELOG.md +48 -0
- package/Card-C0BFW3wJ.cjs +1 -0
- package/Card-CaKKKv9k.js +131 -0
- package/CharacterCounter-CPGdboVJ.js +22 -0
- package/CharacterCounter-CrY8QRuY.cjs +1 -0
- package/Checkbox-CvFsn_FL.js +380 -0
- package/Checkbox-DSxGAJX2.cjs +1 -0
- package/CheckboxGroup-Bk9DPq4I.cjs +1 -0
- package/CheckboxGroup-Dij9zKlF.js +54 -0
- package/Collection-C5ONNBqd.js +576 -0
- package/Collection-Csx3L9gh.cjs +1 -0
- package/ColorSchemeSwitch-CbAWIJCg.js +106 -0
- package/ColorSchemeSwitch-JRrCyYVv.cjs +16 -0
- package/ComboBox-BCaqPEIH.js +1375 -0
- package/ComboBox-gveQKHU3.cjs +1 -0
- package/DateField-CAQlzuDD.js +46 -0
- package/DateField-deVVFwKA.cjs +1 -0
- package/DateInputDivider-DnUxETEC.cjs +1 -0
- package/DateInputDivider-Dx8n1Lxp.js +2908 -0
- package/DateRangePicker-BmBvwqo6.js +881 -0
- package/DateRangePicker-BzfitoK0.cjs +6 -0
- package/Dialog-Bd5hK360.cjs +1 -0
- package/Dialog-Bxx8cBEq.js +208 -0
- package/Dialog-CYxThuMl.js +1609 -0
- package/Dialog-CwTEAujZ.cjs +1 -0
- package/DragAndDrop-CSwmPhxC.js +60 -0
- package/DragAndDrop-HvycSrKY.cjs +1 -0
- package/Dropdown-CaGon9OR.cjs +6 -0
- package/Dropdown-nkjzsVYX.js +84 -0
- package/FieldError-BZw8UzBk.cjs +1 -0
- package/FieldError-CZikNDxX.js +28 -0
- package/FieldError-DqdfJ3fs.cjs +1 -0
- package/FieldError-Dv3bBEjh.js +23 -0
- package/FileUpload-DYRZ0M9F.cjs +2 -0
- package/FileUpload-ULwcYDxs.js +2372 -0
- package/FocusScope-DwIqdYpQ.js +625 -0
- package/FocusScope-NaPbvuuS.cjs +1 -0
- package/Form-BuOomA4T.cjs +1 -0
- package/Form-CXcEMuBf.js +5 -0
- package/Grid--OhtgCo6.js +27 -0
- package/Grid-DVQtOcu9.cjs +1 -0
- package/GridItem-DlbSdRmB.js +246 -0
- package/GridItem-XgHmZWXY.cjs +1 -0
- package/Group-CeSsSQVC.js +44 -0
- package/Group-CgiqQHH1.cjs +1 -0
- package/Heading-BY5-QN4S.js +46 -0
- package/Heading-DoJAtYZf.cjs +1 -0
- package/Hidden-B5ir3Lei.js +34 -0
- package/Hidden-BxRZGdEW.cjs +1 -0
- package/InfoBanner-BS-dAfzO.cjs +1 -0
- package/InfoBanner-CVIBFSWx.js +82 -0
- package/Input-D8Ku_FQz.js +41 -0
- package/Input-DKSAYvsw.cjs +1 -0
- package/Label-C9ivwkAd.js +21 -0
- package/Label-CUV21CAv.cjs +1 -0
- package/Label-DkDOsmUF.js +16 -0
- package/Label-IMWAyoKb.cjs +1 -0
- package/Layout-BWeHHnqU.cjs +16 -0
- package/Layout-CCt_2L1k.js +468 -0
- package/Link-B-nus-FT.js +71 -0
- package/Link-DsnCtNeI.cjs +6 -0
- package/Link-SHMbeyIP.cjs +1 -0
- package/Link-uFowN4qv.js +59 -0
- package/LinkButton-CuBilDML.js +69 -0
- package/LinkButton-CymMrcGL.cjs +6 -0
- package/ListBox-CDOsQChA.cjs +1 -0
- package/ListBox-DOi_y_Lt.js +530 -0
- package/ListBoxButton-CFeNhJhr.cjs +1 -0
- package/ListBoxButton-O6zN3P4W.js +15 -0
- package/ListBoxSection-C1aLKL9p.js +1058 -0
- package/ListBoxSection-DGCP6xpf.cjs +1 -0
- package/ListKeyboardDelegate-BqMETvPv.cjs +1 -0
- package/ListKeyboardDelegate-DNOzQ8nc.js +158 -0
- package/LiveAnnouncer-B6177m92.js +51 -0
- package/LiveAnnouncer-CwEWPU8b.cjs +1 -0
- package/LocalizedStringFormatter-C0C54hjf.cjs +1 -0
- package/LocalizedStringFormatter-D-4Qyql0.js +77 -0
- package/Logo-BIrOEINM.js +133 -0
- package/Logo-DT2_2O43.cjs +1 -0
- package/NumberFormatter-DewVDY5w.cjs +1 -0
- package/NumberFormatter-DgOUVrge.js +119 -0
- package/OverlayArrow-D75k-EMl.cjs +1 -0
- package/OverlayArrow-DorA4Rbr.js +506 -0
- package/PressResponder-C06O3Z5P.cjs +1 -0
- package/PressResponder-CVEg5kND.js +33 -0
- package/ProgressBar-Bkw9zavs.cjs +1 -0
- package/ProgressBar-CEX2WNoW.js +77 -0
- package/ProgressBar-Dqh3ftSP.cjs +1 -0
- package/ProgressBar-gmAzSsrz.js +53 -0
- package/RSPContexts-BW2SEIqe.js +11 -0
- package/RSPContexts-D8hmBfGm.cjs +1 -0
- package/Radio-CDKrvQe4.cjs +1 -0
- package/Radio-_ukSkxPT.js +311 -0
- package/RangeCalendar-cbCKBPZv.cjs +11 -0
- package/RangeCalendar-uXwoBL-O.js +1685 -0
- package/SearchField-6yBGiojX.cjs +6 -0
- package/SearchField-DYl2uo7o.js +362 -0
- package/Select-CpHjd1tp.cjs +1 -0
- package/Select-PvCqY7Lp.js +646 -0
- package/SelectionManager-6H88Cv6B.js +1033 -0
- package/SelectionManager-C5NGBzvz.cjs +1 -0
- package/Separator-LYnFqh4L.js +60 -0
- package/Separator-nPra6kD-.cjs +1 -0
- package/Skeleton-BAwbfKBW.cjs +1 -0
- package/Skeleton-BePDRmrO.js +40 -0
- package/Spinner-D31SXm-U.js +41 -0
- package/Spinner-DAJtfxqJ.cjs +6 -0
- package/Table-B_N7wUmA.js +2451 -0
- package/Table-D9vNc_y-.cjs +16 -0
- package/Tabs-Ct6D83aR.js +404 -0
- package/Tabs-Dtcl2oK2.cjs +1 -0
- package/Tag-CVFkzg3s.cjs +1 -0
- package/Tag-g6HN-YCv.js +748 -0
- package/Text-3MNwRMpI.cjs +1 -0
- package/Text-B2K-BJKQ.cjs +1 -0
- package/Text-BN-g1iWi.js +32 -0
- package/Text-B_H68Tvq.js +15 -0
- package/TextArea-DSiQ578a.js +206 -0
- package/TextArea-cVyGBRbL.cjs +1 -0
- package/TextField-B70CL2qz.cjs +1 -0
- package/TextField-DBaRuNj7.js +119 -0
- package/TextField.module-BcpPBWnD.js +13 -0
- package/TextField.module-Dw5Rtn9y.cjs +1 -0
- package/Toast-CjpldAI8.js +988 -0
- package/Toast-DrkOGy4d.cjs +1 -0
- package/ToggleButtonGroup-BuU_6dYe.cjs +1 -0
- package/ToggleButtonGroup-Ceh9_yBM.js +210 -0
- package/Tooltip-BAIjaYax.js +283 -0
- package/Tooltip-CiWg4zIC.cjs +1 -0
- package/VisuallyHidden-CtXvK_Tw.cjs +1 -0
- package/VisuallyHidden-D-4z1VgU.js +40 -0
- package/accordion/index.cjs +1 -0
- package/accordion/index.js +5 -0
- package/arrow-right-Cw48o2oW.cjs +6 -0
- package/arrow-right-Dg8sttFO.js +14 -0
- package/assets/AccordionItem.css +1 -0
- package/assets/BadgeContainer.css +1 -0
- package/assets/Breadcrumbs.css +1 -0
- package/assets/Button.css +1 -0
- package/assets/ButtonGroup.css +1 -0
- package/assets/Card.css +1 -0
- package/assets/CharacterCounter.css +1 -0
- package/assets/Checkbox.css +1 -0
- package/assets/ColorSchemeSwitch.css +1 -0
- package/assets/ComboBox.css +1 -0
- package/assets/DateField.css +1 -0
- package/assets/DateInputDivider.css +1 -0
- package/assets/DateRangePicker.css +1 -0
- package/assets/Dialog.css +1 -0
- package/assets/Dropdown.css +1 -0
- package/assets/FieldError.css +1 -0
- package/assets/FileUpload.css +1 -0
- package/assets/GridItem.css +1 -0
- package/assets/Heading.css +1 -0
- package/assets/InfoBanner.css +1 -0
- package/assets/Label.css +1 -0
- package/assets/Layout.css +1 -0
- package/assets/Link.css +1 -0
- package/assets/LinkButton.css +1 -0
- package/assets/ListBoxSection.css +1 -0
- package/assets/Logo.css +1 -0
- package/assets/ProgressBar.css +1 -0
- package/assets/Radio.css +1 -0
- package/assets/RangeCalendar.css +1 -0
- package/assets/SearchField.css +1 -0
- package/assets/Select.css +1 -0
- package/assets/Skeleton.css +1 -0
- package/assets/Spinner.css +1 -0
- package/assets/Table.css +1 -0
- package/assets/Tabs.css +1 -0
- package/assets/Tag.css +1 -0
- package/assets/Text.css +1 -0
- package/assets/TextField.css +1 -0
- package/assets/Toast.css +1 -0
- package/assets/ToggleButtonGroup.css +1 -0
- package/assets/Tooltip.css +1 -0
- package/badge/index.cjs +1 -0
- package/badge/index.js +5 -0
- package/breadcrumbs/index.cjs +1 -0
- package/breadcrumbs/index.js +4 -0
- package/button/index.cjs +1 -0
- package/button/index.js +6 -0
- package/calendar/CalendarHeader.d.ts +2 -1
- package/calendar/index.cjs +1 -0
- package/calendar/index.js +5 -0
- package/card/index.cjs +1 -0
- package/card/index.js +10 -0
- package/character-counter/index.cjs +1 -0
- package/character-counter/index.js +4 -0
- package/check-CLF6Yxza.js +11 -0
- package/check-Dw9c62O4.cjs +6 -0
- package/checkbox/index.cjs +1 -0
- package/checkbox/index.js +6 -0
- package/chevron-down-C2E7aZ3N.cjs +6 -0
- package/chevron-down-Cd1bkzXT.js +13 -0
- package/clsx-C11secjj.cjs +1 -0
- package/clsx-OuTLNxxd.js +16 -0
- package/color-scheme-switch/index.cjs +1 -0
- package/color-scheme-switch/index.js +4 -0
- package/combobox/index.cjs +1 -0
- package/combobox/index.js +7 -0
- package/common/types.d.ts +2 -0
- package/context-B8cn10po.js +80 -0
- package/context-DjwhtgxQ.cjs +1 -0
- package/createLucideIcon-DAY4oS-S.cjs +21 -0
- package/createLucideIcon-DeWljiyi.js +79 -0
- package/date-field/index.cjs +1 -0
- package/date-field/index.js +8 -0
- package/date-picker/index.cjs +1 -0
- package/date-picker/index.js +5 -0
- package/dropdown/index.cjs +1 -0
- package/dropdown/index.js +5 -0
- package/field-error/FieldError.d.ts +4 -1
- package/field-error/index.cjs +1 -0
- package/field-error/index.js +4 -0
- package/file-upload/index.cjs +1 -0
- package/file-upload/index.js +4 -0
- package/filterDOMProps-BS2lrgFA.cjs +1 -0
- package/filterDOMProps-D6KHYVBX.js +24 -0
- package/focusSafely-Bqfo_DH7.cjs +1 -0
- package/focusSafely-C48ucRUz.js +56 -0
- package/getScrollParent-DuKmPmUa.cjs +1 -0
- package/getScrollParent-Ru2U2LlM.js +9 -0
- package/grid/Grid.d.ts +15 -4
- package/grid/GridItem.d.ts +31 -2
- package/grid/index.cjs +1 -0
- package/grid/index.d.ts +2 -2
- package/grid/index.js +8 -0
- package/heading/index.cjs +1 -0
- package/heading/index.js +4 -0
- package/index-BSMrH_Du.js +120 -0
- package/index-D97L3EBk.cjs +17 -0
- package/index.cjs +1 -169
- package/index.d.ts +0 -1
- package/index.js +127 -29979
- package/inertValue-B7loUihk.js +8 -0
- package/inertValue-BWmZ1afe.cjs +1 -0
- package/info-DkzVqB8I.js +38 -0
- package/info-DlzSeKbc.cjs +16 -0
- package/info-banner/index.cjs +1 -0
- package/info-banner/index.js +4 -0
- package/label/index.cjs +1 -0
- package/label/index.js +4 -0
- package/layout/index.cjs +1 -0
- package/layout/index.js +8 -0
- package/link/index.cjs +1 -0
- package/link/index.js +6 -0
- package/link-button/index.cjs +1 -0
- package/link-button/index.js +6 -0
- package/list-box/index.cjs +1 -0
- package/list-box/index.js +9 -0
- package/logo/index.cjs +1 -0
- package/logo/index.js +4 -0
- package/modal/index.cjs +1 -0
- package/modal/index.js +6 -0
- package/number-BE8InLgI.js +6 -0
- package/number-E0x3H9cL.cjs +1 -0
- package/package.json +4 -4
- package/progress-bar/index.cjs +1 -0
- package/progress-bar/index.js +4 -0
- package/radio/index.cjs +1 -0
- package/radio/index.js +5 -0
- package/scrollIntoView-ClEACHUk.js +57 -0
- package/scrollIntoView-DRSoJp89.cjs +1 -0
- package/search-field/index.cjs +1 -0
- package/search-field/index.js +4 -0
- package/select/index.cjs +1 -0
- package/select/index.js +4 -0
- package/skeleton/Skeleton.d.ts +5 -0
- package/skeleton/index.cjs +1 -0
- package/skeleton/index.js +4 -0
- package/spinner/index.cjs +1 -0
- package/spinner/index.js +4 -0
- package/square-arrow-out-up-right-BCAO2eJs.cjs +6 -0
- package/square-arrow-out-up-right-BkyqV2PN.js +15 -0
- package/table/Table.d.ts +7 -1
- package/table/index.cjs +1 -0
- package/table/index.js +9 -0
- package/tabs/index.cjs +1 -0
- package/tabs/index.js +4 -0
- package/tag/index.cjs +1 -0
- package/tag/index.js +5 -0
- package/text/index.cjs +1 -0
- package/text/index.js +4 -0
- package/textfield/index.cjs +1 -0
- package/textfield/index.js +7 -0
- package/theme/index.cjs +1 -0
- package/theme/index.d.ts +4 -0
- package/{theme.js → theme/index.js} +2 -2
- package/theme/tokens.d.ts +10 -0
- package/toast/index.cjs +1 -0
- package/toast/index.js +9 -0
- package/toggle-button/index.cjs +1 -0
- package/toggle-button/index.js +5 -0
- package/tokens-p6pg1Cea.cjs +1 -0
- package/{tokens-C0U7hdoO.js → tokens-xp-7KMK7.js} +18 -8
- package/tooltip/index.cjs +1 -0
- package/tooltip/index.js +5 -0
- package/triangle-alert-C0lvfCYH.cjs +6 -0
- package/triangle-alert-wxyxspAl.js +21 -0
- package/useButton-B1Fa-6qE.cjs +1 -0
- package/useButton-C-Lq7CNY.js +47 -0
- package/useCollator-C_ozeWLo.cjs +1 -0
- package/useCollator-CgZcHC8N.js +11 -0
- package/useControlledState-D0L6S_5r.cjs +1 -0
- package/useControlledState-u436Wbp1.js +30 -0
- package/useDateFormatter-C53Uxdli.js +1571 -0
- package/useDateFormatter-g2maMTGH.cjs +1 -0
- package/useDescription-CVKhFa3c.js +32 -0
- package/useDescription-DmQYSEES.cjs +1 -0
- package/useEvent-CjkbBniY.cjs +1 -0
- package/useEvent-Cyd2ZL0c.js +21 -0
- package/useField-B1RU0GKs.cjs +1 -0
- package/useField-BPMAlIbU.js +35 -0
- package/useFilter-ChIbnALW.js +35 -0
- package/useFilter-CtIwF2qW.cjs +1 -0
- package/useFocusRing-BDGH3lpn.js +82 -0
- package/useFocusRing-CbImDrwF.cjs +1 -0
- package/useFocusable-CaedRTpB.js +74 -0
- package/useFocusable-CuPQ7Cm5.cjs +1 -0
- package/useFormValidation-ClximP89.cjs +1 -0
- package/useFormValidation-R8hQIjWP.js +215 -0
- package/useHasTabbableChild-DgphNvnk.cjs +1 -0
- package/useHasTabbableChild-DsD9AJwE.js +34 -0
- package/useHighlightSelectionDescription-BizKjvPU.cjs +1 -0
- package/useHighlightSelectionDescription-DFfcgbUj.js +567 -0
- package/useHover-_mv5J4_q.cjs +1 -0
- package/useHover-qRAon4nS.js +490 -0
- package/useLabel-DDdAJ1JO.js +23 -0
- package/useLabel-m_S5xkHy.cjs +1 -0
- package/useLabels-BLOfc6Y-.cjs +1 -0
- package/useLabels-BZjoZA1Z.js +17 -0
- package/useListState-Ca2-uZMO.cjs +1 -0
- package/useListState-DFQ9d-uE.js +132 -0
- package/useLocalizedStringFormatter-D07YB2e1.js +22 -0
- package/useLocalizedStringFormatter-u9SJaOwk.cjs +1 -0
- package/useObserveElement-BdI4zgd7.js +27 -0
- package/useObserveElement-BzEr5D32.cjs +1 -0
- package/usePress-BFa6cT9o.cjs +7 -0
- package/usePress-CUJ3pMOw.js +542 -0
- package/useSingleSelectListState-C-nB8cug.js +34 -0
- package/useSingleSelectListState-MGNxUTum.cjs +1 -0
- package/useTextField-5OZQPyOW.js +86 -0
- package/useTextField-CtUDWsUl.cjs +1 -0
- package/useToggleState-Bz5rAf4C.js +18 -0
- package/useToggleState-DoIkSQdj.cjs +1 -0
- package/useUpdateEffect-CCDx8D4X.js +13 -0
- package/useUpdateEffect-sk3kiVGz.cjs +1 -0
- package/utils-BNtZbAib.cjs +1 -0
- package/utils-HNTsIwux.js +308 -0
- package/x-CvxiAZTW.cjs +6 -0
- package/x-JK7i-TQC.js +14 -0
- package/flex/Flex.d.ts +0 -17
- package/flex/FlexItem.d.ts +0 -15
- package/flex/index.d.ts +0 -2
- package/index.css +0 -1
- package/theme.cjs +0 -1
- package/tokens-COoF1t17.cjs +0 -1
- /package/{global.css → assets/global.css} +0 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { forwardRef as c, createElement as a } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.453.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const p = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), i = (...e) => e.filter((r, t, o) => !!r && o.indexOf(r) === t).join(" ");
|
|
9
|
+
/**
|
|
10
|
+
* @license lucide-react v0.453.0 - ISC
|
|
11
|
+
*
|
|
12
|
+
* This source code is licensed under the ISC license.
|
|
13
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
14
|
+
*/
|
|
15
|
+
var f = {
|
|
16
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
17
|
+
width: 24,
|
|
18
|
+
height: 24,
|
|
19
|
+
viewBox: "0 0 24 24",
|
|
20
|
+
fill: "none",
|
|
21
|
+
stroke: "currentColor",
|
|
22
|
+
strokeWidth: 2,
|
|
23
|
+
strokeLinecap: "round",
|
|
24
|
+
strokeLinejoin: "round"
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @license lucide-react v0.453.0 - ISC
|
|
28
|
+
*
|
|
29
|
+
* This source code is licensed under the ISC license.
|
|
30
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
31
|
+
*/
|
|
32
|
+
const g = c(
|
|
33
|
+
({
|
|
34
|
+
color: e = "currentColor",
|
|
35
|
+
size: r = 24,
|
|
36
|
+
strokeWidth: t = 2,
|
|
37
|
+
absoluteStrokeWidth: o,
|
|
38
|
+
className: s = "",
|
|
39
|
+
children: n,
|
|
40
|
+
iconNode: u,
|
|
41
|
+
...l
|
|
42
|
+
}, d) => a(
|
|
43
|
+
"svg",
|
|
44
|
+
{
|
|
45
|
+
ref: d,
|
|
46
|
+
...f,
|
|
47
|
+
width: r,
|
|
48
|
+
height: r,
|
|
49
|
+
stroke: e,
|
|
50
|
+
strokeWidth: o ? Number(t) * 24 / Number(r) : t,
|
|
51
|
+
className: i("lucide", s),
|
|
52
|
+
...l
|
|
53
|
+
},
|
|
54
|
+
[
|
|
55
|
+
...u.map(([m, w]) => a(m, w)),
|
|
56
|
+
...Array.isArray(n) ? n : [n]
|
|
57
|
+
]
|
|
58
|
+
)
|
|
59
|
+
);
|
|
60
|
+
/**
|
|
61
|
+
* @license lucide-react v0.453.0 - ISC
|
|
62
|
+
*
|
|
63
|
+
* This source code is licensed under the ISC license.
|
|
64
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
65
|
+
*/
|
|
66
|
+
const C = (e, r) => {
|
|
67
|
+
const t = c(
|
|
68
|
+
({ className: o, ...s }, n) => a(g, {
|
|
69
|
+
ref: n,
|
|
70
|
+
iconNode: r,
|
|
71
|
+
className: i(`lucide-${p(e)}`, o),
|
|
72
|
+
...s
|
|
73
|
+
})
|
|
74
|
+
);
|
|
75
|
+
return t.displayName = `${e}`, t;
|
|
76
|
+
};
|
|
77
|
+
export {
|
|
78
|
+
C as c
|
|
79
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../DateField-deVVFwKA.cjs"),e=require("../DateInputDivider-DnUxETEC.cjs");exports.DateField=t.DateField;exports.DateInput=e.DateInput;exports.DateInputDivider=e.DateInputDivider;exports.DateSegment=e.DateSegment;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../DateRangePicker-BzfitoK0.cjs");exports.DatePicker=e.DatePicker;exports.DateRangePicker=e.DateRangePicker;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Dropdown-CaGon9OR.cjs");exports.Dropdown=o.Dropdown;exports.DropdownItem=o.DropdownItem;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import { FieldErrorProps } from 'react-aria-components';
|
|
1
|
+
import { FieldErrorProps as AriaFieldErrorProps } from 'react-aria-components';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
+
export interface FieldErrorProps extends AriaFieldErrorProps {
|
|
4
|
+
isInvalid?: boolean;
|
|
5
|
+
}
|
|
3
6
|
export declare const FieldError: React.ForwardRefExoticComponent<FieldErrorProps & React.RefAttributes<HTMLElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../FieldError-BZw8UzBk.cjs");exports.FieldError=r.FieldError;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../FileUpload-DYRZ0M9F.cjs");exports.FileUpload=e.FileUpload;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=new Set(["id"]),c=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),i=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),s=/^(data-.*)$/;function n(a,t={}){let{labelable:l,isLink:b,propNames:r}=t,d={};for(const e in a)Object.prototype.hasOwnProperty.call(a,e)&&(o.has(e)||l&&c.has(e)||b&&i.has(e)||r!=null&&r.has(e)||s.test(e))&&(d[e]=a[e]);return d}exports.$65484d02dcb7eb3e$export$457c3d6518dd4c6f=n;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const b = /* @__PURE__ */ new Set([
|
|
2
|
+
"id"
|
|
3
|
+
]), i = /* @__PURE__ */ new Set([
|
|
4
|
+
"aria-label",
|
|
5
|
+
"aria-labelledby",
|
|
6
|
+
"aria-describedby",
|
|
7
|
+
"aria-details"
|
|
8
|
+
]), n = /* @__PURE__ */ new Set([
|
|
9
|
+
"href",
|
|
10
|
+
"hrefLang",
|
|
11
|
+
"target",
|
|
12
|
+
"rel",
|
|
13
|
+
"download",
|
|
14
|
+
"ping",
|
|
15
|
+
"referrerPolicy"
|
|
16
|
+
]), s = /^(data-.*)$/;
|
|
17
|
+
function c(a, t = {}) {
|
|
18
|
+
let { labelable: d, isLink: o, propNames: r } = t, l = {};
|
|
19
|
+
for (const e in a) Object.prototype.hasOwnProperty.call(a, e) && (b.has(e) || d && i.has(e) || o && n.has(e) || r != null && r.has(e) || s.test(e)) && (l[e] = a[e]);
|
|
20
|
+
return l;
|
|
21
|
+
}
|
|
22
|
+
export {
|
|
23
|
+
c as $
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const $=require("./utils-BNtZbAib.cjs"),a=require("./useHover-_mv5J4_q.cjs");let r=new Map,c=new Set;function f(){if(typeof window>"u")return;function e(t){return"propertyName"in t}let d=t=>{if(!e(t)||!t.target)return;let n=r.get(t.target);n||(n=new Set,r.set(t.target,n),t.target.addEventListener("transitioncancel",i,{once:!0})),n.add(t.propertyName)},i=t=>{if(!e(t)||!t.target)return;let n=r.get(t.target);if(n&&(n.delete(t.propertyName),n.size===0&&(t.target.removeEventListener("transitioncancel",i),r.delete(t.target)),r.size===0)){for(let b of c)b();c.clear()}};document.body.addEventListener("transitionrun",d),document.body.addEventListener("transitionend",i)}typeof document<"u"&&(document.readyState!=="loading"?f():document.addEventListener("DOMContentLoaded",f));function s(){for(const[e]of r)"isConnected"in e&&!e.isConnected&&r.delete(e)}function o(e){requestAnimationFrame(()=>{s(),r.size===0?e():c.add(e)})}function u(e,d){$.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(e&&e.ref&&d)return e.ref.current=d.current,()=>{e.ref&&(e.ref.current=null)}})}function l(e){const d=a.$431fbd86ca7dc216$export$b204af158042fbac(e),i=a.$d4ee10de306f2510$export$cd4e5573fbe2b576(d);if(a.$507fabe10e71c6fb$export$630ff653c5ada6a9()==="virtual"){let t=i;o(()=>{a.$d4ee10de306f2510$export$cd4e5573fbe2b576(d)===t&&e.isConnected&&a.$7215afc6de606d6b$export$de79e2c695e052f3(e)})}else a.$7215afc6de606d6b$export$de79e2c695e052f3(e)}exports.$3ad3f6e1647bc98d$export$80f3e147d781571c=l;exports.$bbed8b41f857bcc0$export$24490316f764c430=o;exports.$e7801be82b4b2a53$export$4debdb1a3f0fa79e=u;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { $ as b } from "./utils-HNTsIwux.js";
|
|
2
|
+
import { d as $, e as o, r as u, s as f } from "./useHover-qRAon4nS.js";
|
|
3
|
+
let r = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Set();
|
|
4
|
+
function c() {
|
|
5
|
+
if (typeof window > "u") return;
|
|
6
|
+
function e(t) {
|
|
7
|
+
return "propertyName" in t;
|
|
8
|
+
}
|
|
9
|
+
let a = (t) => {
|
|
10
|
+
if (!e(t) || !t.target) return;
|
|
11
|
+
let n = r.get(t.target);
|
|
12
|
+
n || (n = /* @__PURE__ */ new Set(), r.set(t.target, n), t.target.addEventListener("transitioncancel", i, {
|
|
13
|
+
once: !0
|
|
14
|
+
})), n.add(t.propertyName);
|
|
15
|
+
}, i = (t) => {
|
|
16
|
+
if (!e(t) || !t.target) return;
|
|
17
|
+
let n = r.get(t.target);
|
|
18
|
+
if (n && (n.delete(t.propertyName), n.size === 0 && (t.target.removeEventListener("transitioncancel", i), r.delete(t.target)), r.size === 0)) {
|
|
19
|
+
for (let s of d) s();
|
|
20
|
+
d.clear();
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
document.body.addEventListener("transitionrun", a), document.body.addEventListener("transitionend", i);
|
|
24
|
+
}
|
|
25
|
+
typeof document < "u" && (document.readyState !== "loading" ? c() : document.addEventListener("DOMContentLoaded", c));
|
|
26
|
+
function l() {
|
|
27
|
+
for (const [e] of r)
|
|
28
|
+
"isConnected" in e && !e.isConnected && r.delete(e);
|
|
29
|
+
}
|
|
30
|
+
function p(e) {
|
|
31
|
+
requestAnimationFrame(() => {
|
|
32
|
+
l(), r.size === 0 ? e() : d.add(e);
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
function g(e, a) {
|
|
36
|
+
b(() => {
|
|
37
|
+
if (e && e.ref && a)
|
|
38
|
+
return e.ref.current = a.current, () => {
|
|
39
|
+
e.ref && (e.ref.current = null);
|
|
40
|
+
};
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
function E(e) {
|
|
44
|
+
const a = $(e), i = o(a);
|
|
45
|
+
if (u() === "virtual") {
|
|
46
|
+
let t = i;
|
|
47
|
+
p(() => {
|
|
48
|
+
o(a) === t && e.isConnected && f(e);
|
|
49
|
+
});
|
|
50
|
+
} else f(e);
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
g as $,
|
|
54
|
+
E as a,
|
|
55
|
+
p as b
|
|
56
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const c=require("./scrollIntoView-DRSoJp89.cjs");function d(n,t){let e=n;for(c.$cc38e7bd3fc7b213$export$2bb74740c4e19def(e,t)&&(e=e.parentElement);e&&!c.$cc38e7bd3fc7b213$export$2bb74740c4e19def(e,t);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}exports.$62d8ded9296f3872$export$cfa2225e87938781=d;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { $ as n } from "./scrollIntoView-ClEACHUk.js";
|
|
2
|
+
function c(l, t) {
|
|
3
|
+
let e = l;
|
|
4
|
+
for (n(e, t) && (e = e.parentElement); e && !n(e, t); ) e = e.parentElement;
|
|
5
|
+
return e || document.scrollingElement || document.documentElement;
|
|
6
|
+
}
|
|
7
|
+
export {
|
|
8
|
+
c as $
|
|
9
|
+
};
|
package/grid/Grid.d.ts
CHANGED
|
@@ -1,16 +1,27 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
interface GridProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
2
|
+
export interface GridProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
3
3
|
children: React.ReactNode;
|
|
4
|
-
/** Removes outer margins for nested use. First
|
|
4
|
+
/** Removes outer margins for nested use. First Grid on a page should have outer margins.
|
|
5
|
+
* @deprecated since v10.2.0 Use `isContained` prop instead.
|
|
6
|
+
*/
|
|
5
7
|
fluid?: boolean;
|
|
8
|
+
/** A contained grid has a max-width and centered positioning on large screens. */
|
|
9
|
+
isContained?: boolean;
|
|
10
|
+
/** Removes outer margins. */
|
|
11
|
+
removeMargins?: boolean;
|
|
6
12
|
}
|
|
7
13
|
/**
|
|
8
|
-
* Grid based on display:
|
|
14
|
+
* Grid based on display: flex;
|
|
9
15
|
* Calculates breakpoints and distributes columns according to MV specifications
|
|
10
16
|
*
|
|
11
17
|
* ### Children
|
|
12
18
|
* Use GridItem to manage each column.
|
|
13
19
|
* GridItem accepts values of 1 through 12 and auto.
|
|
20
|
+
*
|
|
21
|
+
* @see {@link: https://migrationsverket.se/components/grid}
|
|
14
22
|
*/
|
|
15
23
|
export declare const Grid: React.FC<GridProps>;
|
|
16
|
-
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated since v10.2.0 Use `Grid` instead.
|
|
26
|
+
*/
|
|
27
|
+
export declare const Flex: React.FC<GridProps>;
|
package/grid/GridItem.d.ts
CHANGED
|
@@ -1,7 +1,36 @@
|
|
|
1
|
+
import { ColumnSize, OffsetSize } from '../common/types';
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
export interface GridItemProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
3
4
|
children: React.ReactNode;
|
|
4
|
-
/** Column size and behaviour
|
|
5
|
-
|
|
5
|
+
/** Column size and behaviour
|
|
6
|
+
* @deprecated since v10.2.0 Use `size` prop instead.
|
|
7
|
+
*/
|
|
8
|
+
col?: ColumnSize;
|
|
9
|
+
/** Column size and behaviour across different breakpoints */
|
|
10
|
+
size?: ColumnSize | {
|
|
11
|
+
xs?: ColumnSize;
|
|
12
|
+
sm?: ColumnSize;
|
|
13
|
+
md?: ColumnSize;
|
|
14
|
+
lg?: ColumnSize;
|
|
15
|
+
xl?: ColumnSize;
|
|
16
|
+
};
|
|
17
|
+
/** Additional spacing between columns */
|
|
18
|
+
offset?: OffsetSize | {
|
|
19
|
+
xs?: OffsetSize;
|
|
20
|
+
sm?: OffsetSize;
|
|
21
|
+
md?: OffsetSize;
|
|
22
|
+
lg?: OffsetSize;
|
|
23
|
+
xl?: OffsetSize;
|
|
24
|
+
};
|
|
6
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Columns based on display: flex;
|
|
28
|
+
* GridItem accepts values of 1 through 12 and auto.
|
|
29
|
+
*
|
|
30
|
+
* @see {@link: https://migrationsverket.se/components/flex}
|
|
31
|
+
*/
|
|
7
32
|
export declare const GridItem: React.FC<GridItemProps>;
|
|
33
|
+
/**
|
|
34
|
+
* @deprecated since v10.2.0 Use `GridItem` instead.
|
|
35
|
+
*/
|
|
36
|
+
export declare const FlexItem: React.FC<GridItemProps>;
|
package/grid/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Grid-DVQtOcu9.cjs"),r=require("../GridItem-XgHmZWXY.cjs");exports.Flex=e.Flex;exports.Grid=e.Grid;exports.FlexItem=r.FlexItem;exports.GridItem=r.GridItem;
|
package/grid/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Grid } from './Grid';
|
|
2
|
-
export { GridItem } from './GridItem';
|
|
1
|
+
export { Grid, Flex } from './Grid';
|
|
2
|
+
export { GridItem, FlexItem } from './GridItem';
|
package/grid/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Heading-DoJAtYZf.cjs");exports.Heading=e.Heading;
|
package/heading/index.js
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import w from "react";
|
|
2
|
+
var m = { exports: {} }, y = {};
|
|
3
|
+
/**
|
|
4
|
+
* @license React
|
|
5
|
+
* use-sync-external-store-shim.production.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
var L;
|
|
13
|
+
function T() {
|
|
14
|
+
if (L) return y;
|
|
15
|
+
L = 1;
|
|
16
|
+
var s = w;
|
|
17
|
+
function l(t, o) {
|
|
18
|
+
return t === o && (t !== 0 || 1 / t === 1 / o) || t !== t && o !== o;
|
|
19
|
+
}
|
|
20
|
+
var c = typeof Object.is == "function" ? Object.is : l, _ = s.useState, u = s.useEffect, S = s.useLayoutEffect, p = s.useDebugValue;
|
|
21
|
+
function E(t, o) {
|
|
22
|
+
var e = o(), n = _({ inst: { value: e, getSnapshot: o } }), r = n[0].inst, a = n[1];
|
|
23
|
+
return S(
|
|
24
|
+
function() {
|
|
25
|
+
r.value = e, r.getSnapshot = o, f(r) && a({ inst: r });
|
|
26
|
+
},
|
|
27
|
+
[t, e, o]
|
|
28
|
+
), u(
|
|
29
|
+
function() {
|
|
30
|
+
return f(r) && a({ inst: r }), t(function() {
|
|
31
|
+
f(r) && a({ inst: r });
|
|
32
|
+
});
|
|
33
|
+
},
|
|
34
|
+
[t]
|
|
35
|
+
), p(e), e;
|
|
36
|
+
}
|
|
37
|
+
function f(t) {
|
|
38
|
+
var o = t.getSnapshot;
|
|
39
|
+
t = t.value;
|
|
40
|
+
try {
|
|
41
|
+
var e = o();
|
|
42
|
+
return !c(t, e);
|
|
43
|
+
} catch {
|
|
44
|
+
return !0;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
function O(t, o) {
|
|
48
|
+
return o();
|
|
49
|
+
}
|
|
50
|
+
var d = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? O : E;
|
|
51
|
+
return y.useSyncExternalStore = s.useSyncExternalStore !== void 0 ? s.useSyncExternalStore : d, y;
|
|
52
|
+
}
|
|
53
|
+
var h = {};
|
|
54
|
+
/**
|
|
55
|
+
* @license React
|
|
56
|
+
* use-sync-external-store-shim.development.js
|
|
57
|
+
*
|
|
58
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
59
|
+
*
|
|
60
|
+
* This source code is licensed under the MIT license found in the
|
|
61
|
+
* LICENSE file in the root directory of this source tree.
|
|
62
|
+
*/
|
|
63
|
+
var x;
|
|
64
|
+
function A() {
|
|
65
|
+
return x || (x = 1, process.env.NODE_ENV !== "production" && function() {
|
|
66
|
+
function s(e, n) {
|
|
67
|
+
return e === n && (e !== 0 || 1 / e === 1 / n) || e !== e && n !== n;
|
|
68
|
+
}
|
|
69
|
+
function l(e, n) {
|
|
70
|
+
d || u.startTransition === void 0 || (d = !0, console.error(
|
|
71
|
+
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
72
|
+
));
|
|
73
|
+
var r = n();
|
|
74
|
+
if (!t) {
|
|
75
|
+
var a = n();
|
|
76
|
+
S(r, a) || (console.error(
|
|
77
|
+
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
78
|
+
), t = !0);
|
|
79
|
+
}
|
|
80
|
+
a = p({
|
|
81
|
+
inst: { value: r, getSnapshot: n }
|
|
82
|
+
});
|
|
83
|
+
var i = a[0].inst, v = a[1];
|
|
84
|
+
return f(
|
|
85
|
+
function() {
|
|
86
|
+
i.value = r, i.getSnapshot = n, c(i) && v({ inst: i });
|
|
87
|
+
},
|
|
88
|
+
[e, r, n]
|
|
89
|
+
), E(
|
|
90
|
+
function() {
|
|
91
|
+
return c(i) && v({ inst: i }), e(function() {
|
|
92
|
+
c(i) && v({ inst: i });
|
|
93
|
+
});
|
|
94
|
+
},
|
|
95
|
+
[e]
|
|
96
|
+
), O(r), r;
|
|
97
|
+
}
|
|
98
|
+
function c(e) {
|
|
99
|
+
var n = e.getSnapshot;
|
|
100
|
+
e = e.value;
|
|
101
|
+
try {
|
|
102
|
+
var r = n();
|
|
103
|
+
return !S(e, r);
|
|
104
|
+
} catch {
|
|
105
|
+
return !0;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
function _(e, n) {
|
|
109
|
+
return n();
|
|
110
|
+
}
|
|
111
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
112
|
+
var u = w, S = typeof Object.is == "function" ? Object.is : s, p = u.useState, E = u.useEffect, f = u.useLayoutEffect, O = u.useDebugValue, d = !1, t = !1, o = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? _ : l;
|
|
113
|
+
h.useSyncExternalStore = u.useSyncExternalStore !== void 0 ? u.useSyncExternalStore : o, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
114
|
+
}()), h;
|
|
115
|
+
}
|
|
116
|
+
process.env.NODE_ENV === "production" ? m.exports = T() : m.exports = A();
|
|
117
|
+
var D = m.exports;
|
|
118
|
+
export {
|
|
119
|
+
D as s
|
|
120
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";const w=require("react");var L={exports:{}},y={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* use-sync-external-store-shim.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var m;function T(){if(m)return y;m=1;var s=w;function l(t,o){return t===o&&(t!==0||1/t===1/o)||t!==t&&o!==o}var c=typeof Object.is=="function"?Object.is:l,_=s.useState,u=s.useEffect,S=s.useLayoutEffect,E=s.useDebugValue;function p(t,o){var e=o(),n=_({inst:{value:e,getSnapshot:o}}),r=n[0].inst,a=n[1];return S(function(){r.value=e,r.getSnapshot=o,f(r)&&a({inst:r})},[t,e,o]),u(function(){return f(r)&&a({inst:r}),t(function(){f(r)&&a({inst:r})})},[t]),E(e),e}function f(t){var o=t.getSnapshot;t=t.value;try{var e=o();return!c(t,e)}catch{return!0}}function O(t,o){return o()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?O:p;return y.useSyncExternalStore=s.useSyncExternalStore!==void 0?s.useSyncExternalStore:d,y}var h={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* use-sync-external-store-shim.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var x;function A(){return x||(x=1,process.env.NODE_ENV!=="production"&&function(){function s(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}function l(e,n){d||u.startTransition===void 0||(d=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var r=n();if(!t){var a=n();S(r,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),t=!0)}a=E({inst:{value:r,getSnapshot:n}});var i=a[0].inst,v=a[1];return f(function(){i.value=r,i.getSnapshot=n,c(i)&&v({inst:i})},[e,r,n]),p(function(){return c(i)&&v({inst:i}),e(function(){c(i)&&v({inst:i})})},[e]),O(r),r}function c(e){var n=e.getSnapshot;e=e.value;try{var r=n();return!S(e,r)}catch{return!0}}function _(e,n){return n()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var u=w,S=typeof Object.is=="function"?Object.is:s,E=u.useState,p=u.useEffect,f=u.useLayoutEffect,O=u.useDebugValue,d=!1,t=!1,o=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?_:l;h.useSyncExternalStore=u.useSyncExternalStore!==void 0?u.useSyncExternalStore:o,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),h}process.env.NODE_ENV==="production"?L.exports=T():L.exports=A();var g=L.exports;exports.shimExports=g;
|