@midas-ds/components 10.3.0 → 10.4.1
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-D2QYNgZS.cjs +1 -0
- package/{AccordionItem-ChHpW8EW.js → AccordionItem-oeN1Cc09.js} +41 -39
- package/{Breadcrumbs-CwDUNIqF.js → Breadcrumbs-D8ad6xvL.js} +77 -65
- package/Breadcrumbs-DkJIkGG5.cjs +1 -0
- package/{Button-DjBChs7s.js → Button-CFYdzG0H.js} +24 -23
- package/Button-DExMoP5f.cjs +1 -0
- package/{Button-BoJl6JGM.cjs → Button-Dq6ugqxT.cjs} +1 -1
- package/{Button-Csih3v23.js → Button-DtSrCAf6.js} +2 -2
- package/Button.module-D-mPLRxe.js +14 -0
- package/Button.module-goCEz5qs.cjs +1 -0
- package/CHANGELOG.md +41 -0
- package/{Card-yrtGzt70.js → Card-BzJ_OEe6.js} +4 -4
- package/{Card-0G0mj9q5.cjs → Card-cdL5669N.cjs} +1 -1
- package/{CharacterCounter-CHcTDHO-.cjs → CharacterCounter-DSFBv3Rw.cjs} +1 -1
- package/{CharacterCounter-BL_nZHya.js → CharacterCounter-cLhqPZlk.js} +4 -4
- package/Checkbox-Co3h0hur.cjs +1 -0
- package/{Checkbox-5HINZdGu.js → Checkbox-LuUwTZ3W.js} +69 -68
- package/CheckboxGroup-CcTfzurp.js +160 -0
- package/CheckboxGroup-DWxQTABg.cjs +1 -0
- package/{Collection-Brgjpkne.js → Collection--62xKPm9.js} +17 -16
- package/Collection-BtBX5IMY.cjs +1 -0
- package/ColorSchemeSwitch-owUryjYz.cjs +16 -0
- package/{ColorSchemeSwitch-BpzQ7g0b.js → ColorSchemeSwitch-y8qKczjQ.js} +53 -36
- package/{ComboBox-CVDyp2a-.js → ComboBox-CZyP8Dfh.js} +310 -299
- package/ComboBox-Dg2xhkLC.cjs +1 -0
- package/{DateField-DeDhiYnW.cjs → DateField-1w5J_iyF.cjs} +1 -1
- package/{DateField-DhU3q-rG.js → DateField-BTROlenJ.js} +4 -4
- package/DateInputDivider-3BvwXXa9.cjs +1 -0
- package/{DateInputDivider-CF4xWsMT.js → DateInputDivider-Bi5N-C0c.js} +90 -86
- package/DateRangePicker-CX3830ZF.cjs +6 -0
- package/{DateRangePicker-ziD1_k1W.js → DateRangePicker-DmZP9laM.js} +120 -117
- package/Dialog-0ZBhhPyd.js +221 -0
- package/Dialog-CSnN6baf.cjs +1 -0
- package/{Dialog-D14MbJ7o.js → Dialog-CtVrVuMr.js} +101 -98
- package/Dialog-DnMwnqiC.cjs +1 -0
- package/DragAndDrop-BoEd260f.cjs +1 -0
- package/{DragAndDrop-o3ruz_SR.js → DragAndDrop-DkSTL28C.js} +2 -2
- package/{Dropdown-Df58j43I.js → Dropdown-BEAMfAxj.js} +19 -19
- package/Dropdown-By91MEV2.cjs +6 -0
- package/FieldError-B3YFj-an.js +23 -0
- package/FieldError-BbR-29BM.js +28 -0
- package/FieldError-MVsU-Mgw.cjs +1 -0
- package/FieldError-bRTpchvr.cjs +1 -0
- package/{FileUpload-D6qoEAjn.js → FileUpload-DvQdIZ6k.js} +496 -475
- package/{FileUpload-CxCOtyB9.cjs → FileUpload-vf0oJd0K.cjs} +2 -2
- package/{FocusScope-CxkURfoc.js → FocusScope-D_hwN_TJ.js} +25 -24
- package/FocusScope-vcXLOQiu.cjs +1 -0
- package/Group-CpkUzEAs.js +45 -0
- package/Group-DOpbdoAi.cjs +1 -0
- package/{Heading-mHhCbGjY.cjs → Heading-CKTR4sOz.cjs} +1 -1
- package/{Heading-BFtiin0g.js → Heading-NxtGri2i.js} +1 -1
- package/InfoBanner-CzwbOdRG.cjs +1 -0
- package/{InfoBanner-BLM-TJJ6.js → InfoBanner-yj90XVEP.js} +47 -39
- package/{Input-BTzwcf72.js → Input-LnjmFI1x.js} +13 -12
- package/Input-MJji5hhq.cjs +1 -0
- package/Label-D2GmP8_2.js +78 -0
- package/Label-E3LhQfNv.cjs +1 -0
- package/Layout-BMNgqjXv.js +498 -0
- package/Layout-Ri7XQHFp.cjs +16 -0
- package/Link-BCVI5W_i.js +59 -0
- package/{Link-yNO2-sqx.js → Link-Bn8V3ZI0.js} +8 -7
- package/Link-CVvnCOGP.cjs +6 -0
- package/Link-CidjjqHb.cjs +1 -0
- package/LinkButton-B6AWNiRn.cjs +6 -0
- package/LinkButton-Cui-gvAk.js +69 -0
- package/ListBox-BCz5-23H.cjs +1 -0
- package/{ListBox-GnVK_Pdq.js → ListBox-C-isJIHL.js} +101 -99
- package/{ListBoxButton-D_J3jlP0.js → ListBoxButton-C_krklY0.js} +1 -1
- package/{ListBoxButton-DPBrtXyv.cjs → ListBoxButton-DNm3gvcT.cjs} +1 -1
- package/{ListBoxSection-C0BGnpB4.js → ListBoxSection-BVR2xtOH.js} +9 -9
- package/ListBoxSection-CfQZoURJ.cjs +1 -0
- package/{ListKeyboardDelegate-DTg9h4v6.cjs → ListKeyboardDelegate-CPsZ7D83.cjs} +1 -1
- package/{ListKeyboardDelegate-DNI8GQtX.js → ListKeyboardDelegate-CY6t6y1t.js} +3 -3
- package/LocalizedStringFormatter-C0C54hjf.cjs +1 -0
- package/LocalizedStringFormatter-D-4Qyql0.js +77 -0
- package/Logo-BpH0HC91.cjs +1 -0
- package/{Logo-BIrOEINM.js → Logo-ME4ffCue.js} +34 -26
- package/{OverlayArrow-CDLXPTew.js → OverlayArrow-CfhSYL46.js} +57 -56
- package/OverlayArrow-DpZ1FqOd.cjs +1 -0
- package/{Popover-BGGXeD54.js → Popover-C8VY1YKi.js} +2 -2
- package/{Popover-CqNWzPf-.cjs → Popover-CnAsw3wI.cjs} +1 -1
- package/{ProgressBar-DMSg-Prr.js → ProgressBar-Bpq-hyZa.js} +2 -2
- package/{ProgressBar-Jbg28j2a.cjs → ProgressBar-D4lOEhAh.cjs} +1 -1
- package/{Radio-Cz29wPXd.js → Radio-BPcq9kW5.js} +50 -47
- package/Radio-CwNbUGah.cjs +1 -0
- package/{RangeCalendar-RAlAHlNL.js → RangeCalendar-6miAJVoO.js} +349 -342
- package/RangeCalendar-CAI1PRDo.cjs +11 -0
- package/SSRProvider-40TXmsUG.js +50 -0
- package/SSRProvider-Bc-sMhsT.cjs +1 -0
- package/SearchField-CDyD5iWr.js +371 -0
- package/SearchField-DEoGi9xv.cjs +6 -0
- package/Select-B2wYDnAU.js +665 -0
- package/Select-nRN944QZ.cjs +1 -0
- package/SelectionManager-D0jYUYcy.cjs +1 -0
- package/{SelectionManager-B4ORduja.js → SelectionManager-zsWy3vsd.js} +91 -90
- package/{Separator-DECIYLtZ.cjs → Separator-CxF-3jhR.cjs} +1 -1
- package/{Separator-Cu9fYKUM.js → Separator-Dn5LYN5I.js} +4 -4
- package/Spinner-VSyPhiJ9.js +51 -0
- package/Spinner-vof0Y9Hh.cjs +6 -0
- package/TabList-CheXtBJm.cjs +1 -0
- package/TabList-D0qzIjSx.js +435 -0
- package/Table-DAhnYYIA.cjs +16 -0
- package/{Table-F4oYBtUM.js → Table-zKvjzd9t.js} +66 -64
- package/{Tag-Du7GvSv2.js → Tag-BoqT5nbh.js} +142 -140
- package/Tag-t-aJVo3W.cjs +1 -0
- package/Text-92cPh38G.js +15 -0
- package/{Text-B2K-BJKQ.cjs → Text-CfcjRtke.cjs} +1 -1
- package/{Text-3MNwRMpI.cjs → Text-DBHWi5gA.cjs} +1 -1
- package/{Text-jWWg0B20.js → Text-DlKqpvSa.js} +1 -1
- package/TextArea-B5und61h.cjs +1 -0
- package/TextArea-Pxr-eLXe.js +119 -0
- package/TextField-BdK9KEQ5.cjs +1 -0
- package/{TextField-C-hTPukq.js → TextField-ByDJkig9.js} +23 -22
- package/Toast-DdmSvNaO.cjs +1 -0
- package/{Toast-Btg21Xge.js → Toast-DfKiA5hp.js} +79 -72
- package/ToggleButtonGroup-DZ_wo0qx.cjs +1 -0
- package/{ToggleButtonGroup-B5yz1tm2.js → ToggleButtonGroup-DhlfvYGg.js} +47 -46
- package/{Tooltip-CMLs7WMw.js → Tooltip-5mLWn_wO.js} +29 -27
- package/Tooltip-pN5W3IK6.cjs +1 -0
- package/{VisuallyHidden-ZCYf65q4.js → VisuallyHidden-CYfmTSCD.js} +2 -2
- package/VisuallyHidden-Doyzl0F7.cjs +1 -0
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +1 -1
- package/arrow-right-BGd86zzR.cjs +6 -0
- package/{arrow-right-Dg8sttFO.js → arrow-right-uemUGIg8.js} +5 -5
- package/assets/Button.css +1 -1
- package/assets/Checkbox.css +1 -1
- package/assets/FileUpload.css +1 -1
- package/assets/LinkButton.css +1 -1
- package/assets/RangeCalendar.css +1 -1
- package/assets/SearchField.css +1 -1
- package/assets/Spinner.css +1 -1
- package/assets/TabList.css +1 -0
- package/assets/Tag.css +1 -1
- package/breadcrumbs/Breadcrumbs.d.ts +11 -7
- package/breadcrumbs/index.cjs +1 -1
- package/breadcrumbs/index.d.ts +1 -1
- package/breadcrumbs/index.js +1 -1
- package/button/index.cjs +1 -1
- package/button/index.js +1 -1
- package/calendar/CalendarGrid.d.ts +1 -0
- package/calendar/index.cjs +1 -1
- package/calendar/index.js +1 -1
- package/card/Card.d.ts +1 -1
- package/card/index.cjs +1 -1
- package/card/index.js +1 -1
- package/character-counter/index.cjs +1 -1
- package/character-counter/index.js +1 -1
- package/check-B0aKTFe5.cjs +6 -0
- package/check-B5h1DvDs.js +11 -0
- package/checkbox/Checkbox.d.ts +3 -1
- package/checkbox/index.cjs +1 -1
- package/checkbox/index.js +2 -2
- package/checkbox/intl/translations.json.d.ts +2 -30
- package/checkbox/types.d.ts +3 -1
- package/chevron-down-5hFlg_lR.cjs +6 -0
- package/chevron-down-DmZMdOiC.js +11 -0
- package/{circle-check-B9HYcH7Z.js → circle-check-BErh6TKu.js} +9 -9
- package/circle-check-OVUGxwp9.cjs +11 -0
- package/color-scheme-switch/ColorSchemeSwitch.d.ts +1 -0
- package/color-scheme-switch/index.cjs +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/color-scheme-switch/intl/translations.json.d.ts +15 -0
- package/combobox/index.cjs +1 -1
- package/combobox/index.js +1 -1
- package/combobox/intl/translations.json.d.ts +11 -0
- package/{context-C81gPYvC.js → context-CGNJ3grH.js} +1 -1
- package/context-Df3XbgBG.cjs +1 -0
- package/createLucideIcon-CTVXwe6i.cjs +21 -0
- package/createLucideIcon-XRdN60yz.js +94 -0
- package/date-field/index.cjs +1 -1
- package/date-field/index.js +2 -2
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +1 -1
- package/dropdown/index.cjs +1 -1
- package/dropdown/index.js +1 -1
- package/field-error/index.cjs +1 -1
- package/field-error/index.js +1 -1
- package/file-upload/FileUpload.d.ts +1 -0
- package/file-upload/index.cjs +1 -1
- package/file-upload/index.js +1 -1
- package/file-upload/intl/translations.json.d.ts +17 -0
- package/{getScrollParent-BhFcYrwL.js → getScrollParent-CT_L9LUr.js} +1 -1
- package/{getScrollParent-DDJu9WHU.cjs → getScrollParent-CsZ9ciml.cjs} +1 -1
- package/heading/index.cjs +1 -1
- package/heading/index.js +1 -1
- package/index.cjs +1 -1
- package/index.js +100 -97
- package/{info-BZwphdye.js → info-CPK1vbOJ.js} +5 -5
- package/info-Dj6SyPex.cjs +6 -0
- package/info-banner/index.cjs +1 -1
- package/info-banner/index.js +1 -1
- package/info-banner/intl/translations.json.d.ts +11 -0
- package/label/index.cjs +1 -1
- package/label/index.js +1 -1
- package/label/intl/translations.json.d.ts +11 -0
- package/layout/Layout.d.ts +1 -0
- package/layout/context/LayoutContext.d.ts +1 -0
- package/layout/index.cjs +1 -1
- package/layout/index.js +1 -1
- package/layout/intl/translations.json.d.ts +23 -0
- package/link/Link.d.ts +1 -1
- package/link/index.cjs +1 -1
- package/link/index.js +2 -2
- package/link-button/LinkButton.d.ts +1 -1
- package/link-button/index.cjs +1 -1
- package/link-button/index.js +2 -2
- package/list-box/index.cjs +1 -1
- package/list-box/index.js +2 -2
- package/logo/index.cjs +1 -1
- package/logo/index.js +1 -1
- package/logo/intl/translations.json.d.ts +11 -0
- package/mergeProps-B5KXZAI3.cjs +1 -0
- package/mergeProps-C1U1OIeJ.js +115 -0
- package/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/modal/intl/translations.json.d.ts +11 -0
- package/package.json +1 -1
- package/popover/index.cjs +1 -1
- package/popover/index.js +1 -1
- package/progress-bar/index.cjs +1 -1
- package/progress-bar/index.js +1 -1
- package/radio/Radio.d.ts +1 -4
- package/radio/index.cjs +1 -1
- package/radio/index.js +1 -1
- package/{scrollIntoView-Hwb_aaNf.js → scrollIntoView-BLnsPvFA.js} +1 -1
- package/scrollIntoView-joIyo-Jt.cjs +1 -0
- package/search-field/index.cjs +1 -1
- package/search-field/index.js +1 -1
- package/search-field/intl/translations.json.d.ts +11 -0
- package/select/index.cjs +1 -1
- package/select/index.js +1 -1
- package/select/intl/translations.json.d.ts +17 -0
- package/spinner/Spinner.d.ts +1 -0
- package/spinner/index.cjs +1 -1
- package/spinner/index.js +1 -1
- package/spinner/intl/translations.json.d.ts +11 -0
- package/{square-arrow-out-up-right-BkyqV2PN.js → square-arrow-out-up-right-ok0A3Ovo.js} +4 -4
- package/square-arrow-out-up-right-xCFdJTzY.cjs +6 -0
- package/table/index.cjs +1 -1
- package/table/index.js +1 -1
- package/tabs/Tab.d.ts +4 -0
- package/tabs/TabList.d.ts +3 -0
- package/tabs/TabPanel.d.ts +4 -0
- package/tabs/Tabs.d.ts +11 -5
- package/tabs/index.cjs +1 -1
- package/tabs/index.d.ts +3 -0
- package/tabs/index.js +5 -2
- package/tag/index.cjs +1 -1
- package/tag/index.js +1 -1
- package/text/index.cjs +1 -1
- package/text/index.js +1 -1
- package/textfield/index.cjs +1 -1
- package/textfield/index.js +1 -1
- package/textfield/intl/translations.json.d.ts +0 -72
- package/theme/index.cjs +1 -1
- package/theme/index.d.ts +5 -0
- package/theme/index.js +2 -2
- package/theme/tokens.d.ts +5 -0
- package/toast/Toast.d.ts +5 -2
- package/toast/index.cjs +1 -1
- package/toast/index.js +1 -1
- package/toggle-button/index.cjs +1 -1
- package/toggle-button/index.js +1 -1
- package/{tokens-p6pg1Cea.cjs → tokens-BghDnMdO.cjs} +1 -1
- package/{tokens-xp-7KMK7.js → tokens-fEwCQXDv.js} +16 -11
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/{triangle-alert-wxyxspAl.js → triangle-alert-B_qAPmWC.js} +5 -5
- package/triangle-alert-BviJNFjf.cjs +6 -0
- package/{useButton-B8dB9sot.js → useButton-1-Jf-oHj.js} +3 -3
- package/useButton-D60q0SQw.cjs +1 -0
- package/{useDateFormatter-CnxoJ4jF.cjs → useDateFormatter-BJBt0jk_.cjs} +1 -1
- package/{useDateFormatter-EHm4auIg.js → useDateFormatter-BVCkxVdw.js} +2 -2
- package/{useEvent-IsD2Awnh.js → useEvent-CigwyJOw.js} +3 -3
- package/useEvent-DPxMu-X9.cjs +1 -0
- package/{useField-DvpGZkw_.js → useField-BEBXv5Mh.js} +4 -4
- package/useField-D1UkzeaI.cjs +1 -0
- package/{useFilter-CUq74PQ2.js → useFilter-CousKe2K.js} +1 -1
- package/{useFilter-BTgDWHVx.cjs → useFilter-e2oIVF_O.cjs} +1 -1
- package/useFocusRing-B-A1OLhU.cjs +1 -0
- package/useFocusRing-DOfBqnUN.js +33 -0
- package/useFocusWithin-CG8mAt2D.cjs +1 -0
- package/useFocusWithin-T1ifEM_s.js +54 -0
- package/{useFocusable-C8uh8K4g.js → useFocusable-ChPA2Jc7.js} +20 -18
- package/useFocusable-D7I1ujkW.cjs +1 -0
- package/useFormValidation-BlFGdPZB.cjs +1 -0
- package/{useFormValidation-BIGzfO9h.js → useFormValidation-BzzruZKm.js} +2 -2
- package/{useHasTabbableChild-C-1mZUQe.js → useHasTabbableChild-BE81d_ab.js} +2 -2
- package/useHasTabbableChild-CoQRpNbC.cjs +1 -0
- package/useHighlightSelectionDescription-BfR_vGOe.cjs +1 -0
- package/{useHighlightSelectionDescription-CnBDT86u.js → useHighlightSelectionDescription-D73hrkmn.js} +5 -5
- package/useHover-BE_XKZKe.cjs +1 -0
- package/useHover-DQvJ3Y-W.js +262 -0
- package/useLabels-CSU0kbtJ.cjs +1 -0
- package/{useLabels-BDwkBYbE.js → useLabels-LrKQiY11.js} +1 -1
- package/{useListState-CrZFZffI.js → useListState-CebsX_1d.js} +1 -1
- package/{useListState-Bx8u4IFG.cjs → useListState-DymkJGDF.cjs} +1 -1
- package/useLocalizedStringFormatter-BO2iZEL0.cjs +1 -0
- package/useLocalizedStringFormatter-BiX5BTlb.cjs +1 -0
- package/useLocalizedStringFormatter-CL9MUZ8A.js +22 -0
- package/useLocalizedStringFormatter-N0AyjzbM.js +25 -0
- package/usePress-BooY_CAy.cjs +7 -0
- package/{usePress-CNjmDzap.js → usePress-DuR4pVsE.js} +129 -128
- package/{useSingleSelectListState-0AGHxvy3.js → useSingleSelectListState-BLXvGjLI.js} +1 -1
- package/{useSingleSelectListState-Cl3KV5E1.cjs → useSingleSelectListState-BPhlCU26.cjs} +1 -1
- package/{useTextField-Cw-33OP_.js → useTextField-C-sUypsx.js} +8 -8
- package/useTextField-DnRrCg5o.cjs +1 -0
- package/utils/intl/useLocalizedStringFormatter.d.ts +2 -0
- package/utils-CoCR_Fce.js +234 -0
- package/utils-DHNZrQmj.cjs +1 -0
- package/utils-DJhAJHk_.js +152 -0
- package/utils-Dvdohqm9.cjs +1 -0
- package/{x-JK7i-TQC.js → x-C2xUHAEl.js} +5 -5
- package/x-rV-nu490.cjs +6 -0
- package/AccordionItem-BGWiWjxA.cjs +0 -1
- package/Breadcrumbs-DtjJ1UmU.cjs +0 -1
- package/Button-htW9qIsS.cjs +0 -1
- package/Button.module-DEQtBYe5.cjs +0 -1
- package/Button.module-tti8HGxs.js +0 -14
- package/Checkbox-DqcPg5hz.cjs +0 -1
- package/CheckboxGroup-BBrSMuDY.cjs +0 -1
- package/CheckboxGroup-CLgixk2p.js +0 -243
- package/Collection-BIDsXNhi.cjs +0 -1
- package/ColorSchemeSwitch-C-qWuqkU.cjs +0 -16
- package/ComboBox-CWJUg9Xx.cjs +0 -1
- package/DateInputDivider-ADvOavHw.cjs +0 -1
- package/DateRangePicker-BsAHhy99.cjs +0 -6
- package/Dialog-B8GTYbvu.cjs +0 -1
- package/Dialog-BOrYdX50.cjs +0 -1
- package/Dialog-CXNu48AC.js +0 -208
- package/DragAndDrop-DNth776R.cjs +0 -1
- package/Dropdown-CJ6My6EI.cjs +0 -6
- package/FieldError-CAcjosk_.js +0 -46
- package/FieldError-CKBb2-mp.cjs +0 -1
- package/FocusScope-5c9SVBcR.cjs +0 -1
- package/Group-B6EslsHZ.js +0 -44
- package/Group-CgiqQHH1.cjs +0 -1
- package/InfoBanner-C2kTIsrB.cjs +0 -1
- package/Input-DKSAYvsw.cjs +0 -1
- package/Label-7Ybb99CE.cjs +0 -1
- package/Label-BwJrdqEE.js +0 -70
- package/Layout-1g6bMH62.cjs +0 -16
- package/Layout-Ey8flY7E.js +0 -468
- package/Link-B88l_oaE.cjs +0 -6
- package/Link-BQhauBuw.cjs +0 -1
- package/Link-DX5BbBnn.js +0 -59
- package/LinkButton-CBpGLETx.cjs +0 -6
- package/LinkButton-o6uS1XsR.js +0 -69
- package/ListBox-DP9M4H6R.cjs +0 -1
- package/ListBoxSection-BGaigBnG.cjs +0 -1
- package/Logo-DT2_2O43.cjs +0 -1
- package/OverlayArrow-D75k-EMl.cjs +0 -1
- package/Radio-BwqrdhQE.cjs +0 -1
- package/RangeCalendar-BehUaydF.cjs +0 -11
- package/SearchField-CxMwDeUM.cjs +0 -6
- package/SearchField-IlvZ3Kh6.js +0 -362
- package/Select-2q1iSzAX.cjs +0 -1
- package/Select-BVQZtoi9.js +0 -646
- package/SelectionManager-CwYux2h3.cjs +0 -1
- package/Spinner-D31SXm-U.js +0 -41
- package/Spinner-P35rvvsl.cjs +0 -6
- package/Table-B40CGLT-.cjs +0 -16
- package/Tabs-B4oZJkZG.js +0 -404
- package/Tabs-DA2qXhzb.cjs +0 -1
- package/Tag-DPAGmcMK.cjs +0 -1
- package/Text-BoXuUVVH.js +0 -15
- package/TextArea-C7JZ_pQd.cjs +0 -1
- package/TextArea-XeBCSyzl.js +0 -191
- package/TextField-BgNdhZi_.cjs +0 -1
- package/Toast-AbDA1BOs.cjs +0 -1
- package/ToggleButtonGroup-BFDoj0P6.cjs +0 -1
- package/Tooltip-DeBuBKhS.cjs +0 -1
- package/VisuallyHidden-CLWHbz2n.cjs +0 -1
- package/arrow-right-QJ2gXPKQ.cjs +0 -6
- package/assets/Tabs.css +0 -1
- package/check-CLF6Yxza.js +0 -11
- package/check-D_KoootC.cjs +0 -6
- package/chevron-down-Cd1bkzXT.js +0 -13
- package/chevron-down-jl83cllc.cjs +0 -6
- package/circle-check-BGo8gML8.cjs +0 -11
- package/context-DjwhtgxQ.cjs +0 -1
- package/createLucideIcon-Cg_wkoIA.cjs +0 -21
- package/createLucideIcon-DeWljiyi.js +0 -79
- package/info-CIEIENo6.cjs +0 -6
- package/scrollIntoView-C8doLzDd.cjs +0 -1
- package/square-arrow-out-up-right-V4Gd08uI.cjs +0 -6
- package/triangle-alert-DJW8U7jL.cjs +0 -6
- package/useButton-cpNi-fY4.cjs +0 -1
- package/useEvent-DxBxMX2V.cjs +0 -1
- package/useField-CXKYU74k.cjs +0 -1
- package/useFocusRing-CbImDrwF.cjs +0 -1
- package/useFocusRing-XnR3cZjO.js +0 -82
- package/useFocusable-NUVSFcRC.cjs +0 -1
- package/useFormValidation-ClximP89.cjs +0 -1
- package/useHasTabbableChild-DCBTulUQ.cjs +0 -1
- package/useHighlightSelectionDescription-CzYucm61.cjs +0 -1
- package/useHover-DjIHtjGN.js +0 -490
- package/useHover-_mv5J4_q.cjs +0 -1
- package/useLabels-BLOfc6Y-.cjs +0 -1
- package/useLocalizedStringFormatter-BKoxGZf1.js +0 -96
- package/useLocalizedStringFormatter-BsxLt89S.cjs +0 -1
- package/useLocalizedStringFormatter-D3JQyjb4.js +0 -21
- package/useLocalizedStringFormatter-ioacM-Yt.cjs +0 -1
- package/usePress-0AjDbW9R.cjs +0 -7
- package/useTextField--czJtyNd.cjs +0 -1
- package/utils-BNtZbAib.cjs +0 -1
- package/utils-DIMfEPAt.js +0 -308
- package/x-H8Zrx8-x.cjs +0 -6
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { $ as r, a as n } from "./useLocalizedStringFormatter-BKoxGZf1.js";
|
|
2
|
-
import { useMemo as i } from "react";
|
|
3
|
-
import { $ as f } from "./context-C81gPYvC.js";
|
|
4
|
-
const c = /* @__PURE__ */ new WeakMap();
|
|
5
|
-
function d(e) {
|
|
6
|
-
let a = c.get(e);
|
|
7
|
-
return a || (a = new n(e, "sv-SE"), c.set(e, a)), a;
|
|
8
|
-
}
|
|
9
|
-
function $(e, a) {
|
|
10
|
-
return d(e);
|
|
11
|
-
}
|
|
12
|
-
function b(e, a) {
|
|
13
|
-
const { locale: t } = f(), o = $(e);
|
|
14
|
-
return i(
|
|
15
|
-
() => new r(t, o),
|
|
16
|
-
[o, t]
|
|
17
|
-
);
|
|
18
|
-
}
|
|
19
|
-
export {
|
|
20
|
-
b as u
|
|
21
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const o=require("./useLocalizedStringFormatter-BsxLt89S.cjs"),n=require("react"),i=require("./context-DjwhtgxQ.cjs"),a=new WeakMap;function u(e){let t=a.get(e);return t||(t=new o.$5b160d28a433310d$export$c17fa47878dc55b6(e,"sv-SE"),a.set(e,t)),t}function d(e,t){return u(e)}function f(e,t){const{locale:c}=i.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),r=d(e);return n.useMemo(()=>new o.$6db58dc88e78b024$export$2f817fcdc4b89ae0(c,r),[r,c])}exports.useLocalizedStringFormatter=f;
|
package/usePress-0AjDbW9R.cjs
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";const i=require("./useHover-_mv5J4_q.cjs"),ne=require("./useFocusable-NUVSFcRC.cjs"),h=require("react"),E=require("./utils-BNtZbAib.cjs"),$e=require("react-dom"),ae=h.createContext({isNative:!0,open:be,useHref:t=>t});function pe(t){let{children:n,navigate:a,useHref:s}=t,d=h.useMemo(()=>({isNative:!1,open:(p,b,v,P)=>{fe(p,g=>{ie(g,b)?a(v,P):w(g,b)})},useHref:s||(p=>p)}),[a,s]);return h.createElement(ae.Provider,{value:d},n)}function V(){return h.useContext(ae)}function ie(t,n){let a=t.getAttribute("target");return(!a||a==="_self")&&t.origin===location.origin&&!t.hasAttribute("download")&&!n.metaKey&&!n.ctrlKey&&!n.altKey&&!n.shiftKey}function w(t,n,a=!0){var s,d;let{metaKey:p,ctrlKey:b,altKey:v,shiftKey:P}=n;i.$c87311424ea30a05$export$b7d78993b74f766d()&&(!((d=window.event)===null||d===void 0||(s=d.type)===null||s===void 0)&&s.startsWith("key"))&&t.target==="_blank"&&(i.$c87311424ea30a05$export$9ac100e40613ea10()?p=!0:b=!0);let g=i.$c87311424ea30a05$export$78551043582a6a98()&&i.$c87311424ea30a05$export$9ac100e40613ea10()&&!i.$c87311424ea30a05$export$7bef049ce92e4224()&&process.env.NODE_ENV!=="test"?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:p,ctrlKey:b,altKey:v,shiftKey:P}):new MouseEvent("click",{metaKey:p,ctrlKey:b,altKey:v,shiftKey:P,bubbles:!0,cancelable:!0});w.isOpening=a,i.$7215afc6de606d6b$export$de79e2c695e052f3(t),t.dispatchEvent(g),w.isOpening=!1}w.isOpening=!1;function fe(t,n){if(t instanceof HTMLAnchorElement)n(t);else if(t.hasAttribute("data-href")){let a=document.createElement("a");a.href=t.getAttribute("data-href"),t.hasAttribute("data-target")&&(a.target=t.getAttribute("data-target")),t.hasAttribute("data-rel")&&(a.rel=t.getAttribute("data-rel")),t.hasAttribute("data-download")&&(a.download=t.getAttribute("data-download")),t.hasAttribute("data-ping")&&(a.ping=t.getAttribute("data-ping")),t.hasAttribute("data-referrer-policy")&&(a.referrerPolicy=t.getAttribute("data-referrer-policy")),t.appendChild(a),n(a),t.removeChild(a)}}function be(t,n){fe(t,a=>w(a,n))}function ve(t){let n=V();var a;const s=n.useHref((a=t.href)!==null&&a!==void 0?a:"");return{"data-href":t.href?s:void 0,"data-target":t.target,"data-rel":t.rel,"data-download":t.download,"data-ping":t.ping,"data-referrer-policy":t.referrerPolicy}}function ge(t){let n=V();var a;const s=n.useHref((a=t==null?void 0:t.href)!==null&&a!==void 0?a:"");return{href:t!=null&&t.href?s:void 0,target:t==null?void 0:t.target,rel:t==null?void 0:t.rel,download:t==null?void 0:t.download,ping:t==null?void 0:t.ping,referrerPolicy:t==null?void 0:t.referrerPolicy}}let C="default",B="",H=new WeakMap;function W(t){if(i.$c87311424ea30a05$export$fedb369cb70207f1()){if(C==="default"){const n=i.$431fbd86ca7dc216$export$b204af158042fbac(t);B=n.documentElement.style.webkitUserSelect,n.documentElement.style.webkitUserSelect="none"}C="disabled"}else if(t instanceof HTMLElement||t instanceof SVGElement){let n="userSelect"in t.style?"userSelect":"webkitUserSelect";H.set(t,t.style[n]),t.style[n]="none"}}function N(t){if(i.$c87311424ea30a05$export$fedb369cb70207f1()){if(C!=="disabled")return;C="restoring",setTimeout(()=>{ne.$bbed8b41f857bcc0$export$24490316f764c430(()=>{if(C==="restoring"){const n=i.$431fbd86ca7dc216$export$b204af158042fbac(t);n.documentElement.style.webkitUserSelect==="none"&&(n.documentElement.style.webkitUserSelect=B||""),B="",C="default"}})},300)}else if((t instanceof HTMLElement||t instanceof SVGElement)&&t&&H.has(t)){let n=H.get(t),a="userSelect"in t.style?"userSelect":"webkitUserSelect";t.style[a]==="none"&&(t.style[a]=n),t.getAttribute("style")===""&&t.removeAttribute("style"),H.delete(t)}}const G=h.createContext({register:()=>{}});G.displayName="PressResponderContext";function ye(t,n){return n.get?n.get.call(t):n.value}function oe(t,n,a){if(!n.has(t))throw new TypeError("attempted to "+a+" private field on non-instance");return n.get(t)}function Te(t,n){var a=oe(t,n,"get");return ye(t,a)}function he(t,n){if(n.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function se(t,n,a){he(t,n),n.set(t,a)}function Pe(t,n,a){if(n.set)n.set.call(t,a);else{if(!n.writable)throw new TypeError("attempted to set read only private field");n.value=a}}function j(t,n,a){var s=oe(t,n,"set");return Pe(t,s,a),a}function xe(t){let n=h.useContext(G);if(n){let{register:a,...s}=n;t=E.$3ef42575df84b30b$export$9d1611c77c2fe928(s,t),a()}return ne.$e7801be82b4b2a53$export$4debdb1a3f0fa79e(n,t.ref),t}var U=new WeakMap;class D{continuePropagation(){j(this,U,!1)}get shouldStopPropagation(){return Te(this,U)}constructor(n,a,s,d){se(this,U,{writable:!0,value:void 0}),j(this,U,!0);var p;let b=(p=d==null?void 0:d.target)!==null&&p!==void 0?p:s.currentTarget;const v=b==null?void 0:b.getBoundingClientRect();let P,g=0,A,y=null;s.clientX!=null&&s.clientY!=null&&(A=s.clientX,y=s.clientY),v&&(A!=null&&y!=null?(P=A-v.left,g=y-v.top):(P=v.width/2,g=v.height/2)),this.type=n,this.pointerType=a,this.target=s.currentTarget,this.shiftKey=s.shiftKey,this.metaKey=s.metaKey,this.ctrlKey=s.ctrlKey,this.altKey=s.altKey,this.x=P,this.y=g}}const J=Symbol("linkClicked"),Q="react-aria-pressable-style",Z="data-react-aria-pressable";function Ee(t){let{onPress:n,onPressChange:a,onPressStart:s,onPressEnd:d,onPressUp:p,onClick:b,isDisabled:v,isPressed:P,preventFocusOnPress:g,shouldCancelOnPointerExit:A,allowTextSelectionOnPress:y,ref:Y,...ce}=xe(t),[de,z]=h.useState(!1),M=h.useRef({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:k,removeAllGlobalListeners:I}=i.$03deb23ff14920c4$export$4eaf04e54aa8eed6(),m=E.$8ae05eaa5c114e9c$export$7f54fc3180508a52((e,o)=>{let $=M.current;if(v||$.didFirePressStart)return!1;let f=!0;if($.isTriggeringEvent=!0,s){let u=new D("pressstart",o,e);s(u),f=u.shouldStopPropagation}return a&&a(!0),$.isTriggeringEvent=!1,$.didFirePressStart=!0,z(!0),f}),x=E.$8ae05eaa5c114e9c$export$7f54fc3180508a52((e,o,$=!0)=>{let f=M.current;if(!f.didFirePressStart)return!1;f.didFirePressStart=!1,f.isTriggeringEvent=!0;let u=!0;if(d){let r=new D("pressend",o,e);d(r),u=r.shouldStopPropagation}if(a&&a(!1),z(!1),n&&$&&!v){let r=new D("press",o,e);n(r),u&&(u=r.shouldStopPropagation)}return f.isTriggeringEvent=!1,u}),_=E.$8ae05eaa5c114e9c$export$7f54fc3180508a52((e,o)=>{let $=M.current;if(v)return!1;if(p){$.isTriggeringEvent=!0;let f=new D("pressup",o,e);return p(f),$.isTriggeringEvent=!1,f.shouldStopPropagation}return!0}),T=E.$8ae05eaa5c114e9c$export$7f54fc3180508a52(e=>{let o=M.current;if(o.isPressed&&o.target){o.didFirePressStart&&o.pointerType!=null&&x(O(o.target,e),o.pointerType,!1),o.isPressed=!1,o.isOverTarget=!1,o.activePointerId=null,o.pointerType=null,I(),y||N(o.target);for(let $ of o.disposables)$();o.disposables=[]}}),L=E.$8ae05eaa5c114e9c$export$7f54fc3180508a52(e=>{A&&T(e)}),R=E.$8ae05eaa5c114e9c$export$7f54fc3180508a52(e=>{b==null||b(e)}),X=E.$8ae05eaa5c114e9c$export$7f54fc3180508a52((e,o)=>{if(b){let $=new MouseEvent("click",e);i.$8a9cb279dc87e130$export$c2b7abe5d61ec696($,o),b(i.$8a9cb279dc87e130$export$525bc4921d56d4a($))}}),ue=h.useMemo(()=>{let e=M.current,o={onKeyDown(f){if(F(f.nativeEvent,f.currentTarget)&&i.$d4ee10de306f2510$export$4282f70798064fe0(f.currentTarget,i.$d4ee10de306f2510$export$e58f029f0fbfdb29(f.nativeEvent))){var u;re(i.$d4ee10de306f2510$export$e58f029f0fbfdb29(f.nativeEvent),f.key)&&f.preventDefault();let r=!0;if(!e.isPressed&&!f.repeat){e.target=f.currentTarget,e.isPressed=!0,e.pointerType="keyboard",r=m(f,"keyboard");let l=f.currentTarget,c=K=>{F(K,l)&&!K.repeat&&i.$d4ee10de306f2510$export$4282f70798064fe0(l,i.$d4ee10de306f2510$export$e58f029f0fbfdb29(K))&&e.target&&_(O(e.target,K),"keyboard")};k(i.$431fbd86ca7dc216$export$b204af158042fbac(f.currentTarget),"keyup",E.$ff5963eb1fccf552$export$e08e3b67e392101e(c,$),!0)}r&&f.stopPropagation(),f.metaKey&&i.$c87311424ea30a05$export$9ac100e40613ea10()&&((u=e.metaKeyEvents)===null||u===void 0||u.set(f.key,f.nativeEvent))}else f.key==="Meta"&&(e.metaKeyEvents=new Map)},onClick(f){if(!(f&&!i.$d4ee10de306f2510$export$4282f70798064fe0(f.currentTarget,i.$d4ee10de306f2510$export$e58f029f0fbfdb29(f.nativeEvent)))&&f&&f.button===0&&!e.isTriggeringEvent&&!w.isOpening){let u=!0;if(v&&f.preventDefault(),!e.ignoreEmulatedMouseEvents&&!e.isPressed&&(e.pointerType==="virtual"||i.$6a7db85432448f7f$export$60278871457622de(f.nativeEvent))){let r=m(f,"virtual"),l=_(f,"virtual"),c=x(f,"virtual");R(f),u=r&&l&&c}else if(e.isPressed&&e.pointerType!=="keyboard"){let r=e.pointerType||f.nativeEvent.pointerType||"virtual",l=_(O(f.currentTarget,f),r),c=x(O(f.currentTarget,f),r,!0);u=l&&c,e.isOverTarget=!1,R(f),T(f)}e.ignoreEmulatedMouseEvents=!1,u&&f.stopPropagation()}}},$=f=>{var u;if(e.isPressed&&e.target&&F(f,e.target)){var r;re(i.$d4ee10de306f2510$export$e58f029f0fbfdb29(f),f.key)&&f.preventDefault();let c=i.$d4ee10de306f2510$export$e58f029f0fbfdb29(f),K=i.$d4ee10de306f2510$export$4282f70798064fe0(e.target,i.$d4ee10de306f2510$export$e58f029f0fbfdb29(f));x(O(e.target,f),"keyboard",K),K&&X(f,e.target),I(),f.key!=="Enter"&&q(e.target)&&i.$d4ee10de306f2510$export$4282f70798064fe0(e.target,c)&&!f[J]&&(f[J]=!0,w(e.target,f,!1)),e.isPressed=!1,(r=e.metaKeyEvents)===null||r===void 0||r.delete(f.key)}else if(f.key==="Meta"&&(!((u=e.metaKeyEvents)===null||u===void 0)&&u.size)){var l;let c=e.metaKeyEvents;e.metaKeyEvents=void 0;for(let K of c.values())(l=e.target)===null||l===void 0||l.dispatchEvent(new KeyboardEvent("keyup",K))}};if(typeof PointerEvent<"u"){o.onPointerDown=r=>{if(r.button!==0||!i.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,i.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent)))return;if(i.$6a7db85432448f7f$export$29bf1b5f2c56cf63(r.nativeEvent)){e.pointerType="virtual";return}e.pointerType=r.pointerType;let l=!0;if(!e.isPressed){e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=r.pointerId,e.target=r.currentTarget,y||W(e.target),l=m(r,e.pointerType);let c=i.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent);"releasePointerCapture"in c&&c.releasePointerCapture(r.pointerId),k(i.$431fbd86ca7dc216$export$b204af158042fbac(r.currentTarget),"pointerup",f,!1),k(i.$431fbd86ca7dc216$export$b204af158042fbac(r.currentTarget),"pointercancel",u,!1)}l&&r.stopPropagation()},o.onMouseDown=r=>{if(i.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,i.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent))&&r.button===0){if(g){let l=i.$8a9cb279dc87e130$export$cabe61c495ee3649(r.target);l&&e.disposables.push(l)}r.stopPropagation()}},o.onPointerUp=r=>{!i.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,i.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent))||e.pointerType==="virtual"||r.button===0&&!e.isPressed&&_(r,e.pointerType||r.pointerType)},o.onPointerEnter=r=>{r.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!0,m(O(e.target,r),e.pointerType))},o.onPointerLeave=r=>{r.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!1,x(O(e.target,r),e.pointerType,!1),L(r))};let f=r=>{if(r.pointerId===e.activePointerId&&e.isPressed&&r.button===0&&e.target){if(i.$d4ee10de306f2510$export$4282f70798064fe0(e.target,i.$d4ee10de306f2510$export$e58f029f0fbfdb29(r))&&e.pointerType!=null){let l=!1,c=setTimeout(()=>{e.isPressed&&e.target instanceof HTMLElement&&(l?T(r):(i.$7215afc6de606d6b$export$de79e2c695e052f3(e.target),e.target.click()))},80);k(r.currentTarget,"click",()=>l=!0,!0),e.disposables.push(()=>clearTimeout(c))}else T(r);e.isOverTarget=!1}},u=r=>{T(r)};o.onDragStart=r=>{i.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,i.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent))&&T(r)}}else if(process.env.NODE_ENV==="test"){o.onMouseDown=r=>{if(r.button!==0||!i.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,i.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent)))return;if(e.ignoreEmulatedMouseEvents){r.stopPropagation();return}if(e.isPressed=!0,e.isOverTarget=!0,e.target=r.currentTarget,e.pointerType=i.$6a7db85432448f7f$export$60278871457622de(r.nativeEvent)?"virtual":"mouse",$e.flushSync(()=>m(r,e.pointerType))&&r.stopPropagation(),g){let c=i.$8a9cb279dc87e130$export$cabe61c495ee3649(r.target);c&&e.disposables.push(c)}k(i.$431fbd86ca7dc216$export$b204af158042fbac(r.currentTarget),"mouseup",f,!1)},o.onMouseEnter=r=>{if(!i.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,i.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent)))return;let l=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&e.pointerType!=null&&(e.isOverTarget=!0,l=m(r,e.pointerType)),l&&r.stopPropagation()},o.onMouseLeave=r=>{if(!i.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,i.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent)))return;let l=!0;e.isPressed&&!e.ignoreEmulatedMouseEvents&&e.pointerType!=null&&(e.isOverTarget=!1,l=x(r,e.pointerType,!1),L(r)),l&&r.stopPropagation()},o.onMouseUp=r=>{i.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,i.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent))&&!e.ignoreEmulatedMouseEvents&&r.button===0&&!e.isPressed&&_(r,e.pointerType||"mouse")};let f=r=>{if(r.button===0){if(e.ignoreEmulatedMouseEvents){e.ignoreEmulatedMouseEvents=!1;return}e.target&&e.target.contains(r.target)&&e.pointerType!=null||T(r),e.isOverTarget=!1}};o.onTouchStart=r=>{if(!i.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,i.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent)))return;let l=me(r.nativeEvent);if(!l)return;e.activePointerId=l.identifier,e.ignoreEmulatedMouseEvents=!0,e.isOverTarget=!0,e.isPressed=!0,e.target=r.currentTarget,e.pointerType="touch",y||W(e.target),m(S(e.target,r),e.pointerType)&&r.stopPropagation(),k(i.$431fbd86ca7dc216$export$f21a1ffae260145a(r.currentTarget),"scroll",u,!0)},o.onTouchMove=r=>{if(!i.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,i.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent)))return;if(!e.isPressed){r.stopPropagation();return}let l=ee(r.nativeEvent,e.activePointerId),c=!0;l&&te(l,r.currentTarget)?!e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!0,c=m(S(e.target,r),e.pointerType)):e.isOverTarget&&e.pointerType!=null&&(e.isOverTarget=!1,c=x(S(e.target,r),e.pointerType,!1),L(S(e.target,r))),c&&r.stopPropagation()},o.onTouchEnd=r=>{if(!i.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,i.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent)))return;if(!e.isPressed){r.stopPropagation();return}let l=ee(r.nativeEvent,e.activePointerId),c=!0;l&&te(l,r.currentTarget)&&e.pointerType!=null?(_(S(e.target,r),e.pointerType),c=x(S(e.target,r),e.pointerType),X(r.nativeEvent,e.target)):e.isOverTarget&&e.pointerType!=null&&(c=x(S(e.target,r),e.pointerType,!1)),c&&r.stopPropagation(),e.isPressed=!1,e.activePointerId=null,e.isOverTarget=!1,e.ignoreEmulatedMouseEvents=!0,e.target&&!y&&N(e.target),I()},o.onTouchCancel=r=>{i.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,i.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent))&&(r.stopPropagation(),e.isPressed&&T(S(e.target,r)))};let u=r=>{e.isPressed&&i.$d4ee10de306f2510$export$4282f70798064fe0(i.$d4ee10de306f2510$export$e58f029f0fbfdb29(r),e.target)&&T({currentTarget:e.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})};o.onDragStart=r=>{i.$d4ee10de306f2510$export$4282f70798064fe0(r.currentTarget,i.$d4ee10de306f2510$export$e58f029f0fbfdb29(r.nativeEvent))&&T(r)}}return o},[k,v,g,I,y,T,L,x,m,_,R,X]);return h.useEffect(()=>{if(!Y||process.env.NODE_ENV==="test")return;const e=i.$431fbd86ca7dc216$export$b204af158042fbac(Y.current);if(!e||!e.head||e.getElementById(Q))return;const o=e.createElement("style");o.id=Q,o.textContent=`
|
|
2
|
-
@layer {
|
|
3
|
-
[${Z}] {
|
|
4
|
-
touch-action: pan-x pan-y pinch-zoom;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
`.trim(),e.head.prepend(o)},[Y]),h.useEffect(()=>{let e=M.current;return()=>{var o;y||N((o=e.target)!==null&&o!==void 0?o:void 0);for(let $ of e.disposables)$();e.disposables=[]}},[y]),{isPressed:P||de,pressProps:E.$3ef42575df84b30b$export$9d1611c77c2fe928(ce,ue,{[Z]:!0})}}function q(t){return t.tagName==="A"&&t.hasAttribute("href")}function F(t,n){const{key:a,code:s}=t,d=n,p=d.getAttribute("role");return(a==="Enter"||a===" "||a==="Spacebar"||s==="Space")&&!(d instanceof i.$431fbd86ca7dc216$export$f21a1ffae260145a(d).HTMLInputElement&&!le(d,a)||d instanceof i.$431fbd86ca7dc216$export$f21a1ffae260145a(d).HTMLTextAreaElement||d.isContentEditable)&&!((p==="link"||!p&&q(d))&&a!=="Enter")}function me(t){const{targetTouches:n}=t;return n.length>0?n[0]:null}function ee(t,n){const a=t.changedTouches;for(let s=0;s<a.length;s++){const d=a[s];if(d.identifier===n)return d}return null}function S(t,n){let a=0,s=0;return n.targetTouches&&n.targetTouches.length===1&&(a=n.targetTouches[0].clientX,s=n.targetTouches[0].clientY),{currentTarget:t,shiftKey:n.shiftKey,ctrlKey:n.ctrlKey,metaKey:n.metaKey,altKey:n.altKey,clientX:a,clientY:s}}function O(t,n){let a=n.clientX,s=n.clientY;return{currentTarget:t,shiftKey:n.shiftKey,ctrlKey:n.ctrlKey,metaKey:n.metaKey,altKey:n.altKey,clientX:a,clientY:s}}function Ke(t){let n=0,a=0;return t.width!==void 0?n=t.width/2:t.radiusX!==void 0&&(n=t.radiusX),t.height!==void 0?a=t.height/2:t.radiusY!==void 0&&(a=t.radiusY),{top:t.clientY-a,right:t.clientX+n,bottom:t.clientY+a,left:t.clientX-n}}function Se(t,n){return!(t.left>n.right||n.left>t.right||t.top>n.bottom||n.top>t.bottom)}function te(t,n){let a=n.getBoundingClientRect(),s=Ke(t);return Se(a,s)}function we(t){return t instanceof HTMLInputElement?!1:t instanceof HTMLButtonElement?t.type!=="submit"&&t.type!=="reset":!q(t)}function re(t,n){return t instanceof HTMLInputElement?!le(t,n):we(t)}const ke=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function le(t,n){return t.type==="checkbox"||t.type==="radio"?n===" ":ke.has(t.type)}exports.$ae1eeba8b9eafd08$export$5165eccb35aaadb5=G;exports.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb=pe;exports.$ea8dcbcb9ea1b556$export$7e924b3091a3bd18=ge;exports.$ea8dcbcb9ea1b556$export$95185d699e05d4d7=w;exports.$ea8dcbcb9ea1b556$export$9a302a45f65d0572=V;exports.$ea8dcbcb9ea1b556$export$bdc77b0c0a3a85d6=ve;exports.$ea8dcbcb9ea1b556$export$efa8c9099e530235=ie;exports.$f6c31cce2adf654f$export$45712eceda6fad21=Ee;exports._class_private_field_init=se;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const q=require("./useHover-_mv5J4_q.cjs"),E=require("./utils-BNtZbAib.cjs"),I=require("./filterDOMProps-BS2lrgFA.cjs"),o=require("./useFormValidation-ClximP89.cjs"),M=require("./useControlledState-D0L6S_5r.cjs"),c=require("react"),D=require("./useField-CXKYU74k.cjs"),O=require("./useFocusable-NUVSFcRC.cjs");function S(e,a){let{inputElementType:f="input",isDisabled:$=!1,isRequired:r=!1,isReadOnly:b=!1,type:v="text",validationBehavior:l="aria"}=e,[i,d]=M.$458b0a5536c1a7cf$export$40bfa8c7b0832715(e.value,e.defaultValue||"",e.onChange),{focusableProps:m}=O.$f645667febf57a63$export$4c014de7c8940b4c(e,a),u=o.$e5be200c675c3b3a$export$fc1a364ae1f3ff10({...e,value:i}),{isInvalid:n,validationErrors:s,validationDetails:C}=u.displayValidation,{labelProps:P,fieldProps:g,descriptionProps:y,errorMessageProps:h}=D.$2baaea4c71418dea$export$294aa081a6c6f55d({...e,isInvalid:n,errorMessage:e.errorMessage||s}),x=I.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{labelable:!0});const p={type:v,pattern:e.pattern};return o.$99facab73266f662$export$5add1d006293d136(a,i,d),o.$e93e671b31057976$export$b8473d3665f3a75a(e,u,a),c.useEffect(()=>{if(a.current instanceof q.$431fbd86ca7dc216$export$f21a1ffae260145a(a.current).HTMLTextAreaElement){let t=a.current;Object.defineProperty(t,"defaultValue",{get:()=>t.value,set:()=>{},configurable:!0})}},[a]),{labelProps:P,inputProps:E.$3ef42575df84b30b$export$9d1611c77c2fe928(x,f==="input"?p:void 0,{disabled:$,readOnly:b,required:r&&l==="native","aria-required":r&&l==="aria"||void 0,"aria-invalid":n||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:i,onChange:t=>d(t.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,[parseInt(c.version,10)>=17?"enterKeyHint":"enterkeyhint"]:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...m,...g}),descriptionProps:y,errorMessageProps:h,isInvalid:n,validationErrors:s,validationDetails:C}}exports.$2d73ec29415bd339$export$712718f7aec83d5=S;
|
package/utils-BNtZbAib.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const u=require("react"),I=require("./clsx-C11secjj.cjs"),$=typeof document<"u"?u.useLayoutEffect:()=>{};function x(e){const t=u.useRef(null);return $(()=>{t.current=e},[e]),u.useCallback((...n)=>{const r=t.current;return r==null?void 0:r(...n)},[])}function N(e){let[t,n]=u.useState(e),r=u.useRef(null),f=x(()=>{if(!r.current)return;let c=r.current.next();if(c.done){r.current=null;return}t===c.value?f():n(c.value)});$(()=>{r.current&&f()});let l=x(c=>{r.current=c(t),f()});return[t,l]}const p={prefix:String(Math.round(Math.random()*1e10)),current:0},m=u.createContext(p),q=u.createContext(!1);let z=!!(typeof window<"u"&&window.document&&window.document.createElement),y=new WeakMap;function j(e=!1){let t=u.useContext(m),n=u.useRef(null);if(n.current===null&&!e){var r,f;let l=(f=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||f===void 0||(r=f.ReactCurrentOwner)===null||r===void 0?void 0:r.current;if(l){let c=y.get(l);c==null?y.set(l,{id:t.current,state:l.memoizedState}):l.memoizedState!==c.state&&(t.current=c.id,y.delete(l))}n.current=++t.current}return n.current}function P(e){let t=u.useContext(m);t===p&&!z&&process.env.NODE_ENV!=="production"&&console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let n=j(!!e),r=t===p&&process.env.NODE_ENV==="test"?"react-aria":`react-aria${t.prefix}`;return e||`${r}-${n}`}function E(e){let t=u.useId(),[n]=u.useState(S()),r=n||process.env.NODE_ENV==="test"?"react-aria":`react-aria${p.prefix}`;return e||`${r}-${t}`}const F=typeof u.useId=="function"?E:P;function H(){return!1}function K(){return!0}function G(e){return()=>{}}function S(){return typeof u.useSyncExternalStore=="function"?u.useSyncExternalStore(G,H,K):u.useContext(q)}let J=!!(typeof window<"u"&&window.document&&window.document.createElement),i=new Map,b;typeof FinalizationRegistry<"u"&&(b=new FinalizationRegistry(e=>{i.delete(e)}));function h(e){let[t,n]=u.useState(e),r=u.useRef(null),f=F(t),l=u.useRef(null);if(b&&b.register(l,f),J){const c=i.get(f);c&&!c.includes(r)?c.push(r):i.set(f,[r])}return $(()=>{let c=f;return()=>{b&&b.unregister(l),i.delete(c)}},[f]),u.useEffect(()=>{let c=r.current;return c&&n(c),()=>{c&&(r.current=null)}}),f}function Q(e,t){if(e===t)return e;let n=i.get(e);if(n)return n.forEach(f=>f.current=t),t;let r=i.get(t);return r?(r.forEach(f=>f.current=e),e):t}function X(e=[]){let t=h(),[n,r]=N(t),f=u.useCallback(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return $(f,[t,f,...e]),n}function C(...e){return(...t)=>{for(let n of e)typeof n=="function"&&n(...t)}}function g(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let f in r){let l=t[f],c=r[f];typeof l=="function"&&typeof c=="function"&&f[0]==="o"&&f[1]==="n"&&f.charCodeAt(2)>=65&&f.charCodeAt(2)<=90?t[f]=C(l,c):(f==="className"||f==="UNSAFE_className")&&typeof l=="string"&&typeof c=="string"?t[f]=I.clsx(l,c):f==="id"&&l&&c?t.id=Q(l,c):t[f]=c!==void 0?c:l}}return t}function w(...e){return e.length===1&&e[0]?e[0]:t=>{let n=!1;const r=e.map(f=>{const l=v(f,t);return n||(n=typeof l=="function"),l});if(n)return()=>{r.forEach((f,l)=>{typeof f=="function"?f():v(e[l],null)})}}}function v(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function M(e){const t=u.useRef(null),n=u.useRef(void 0),r=u.useCallback(f=>{if(typeof e=="function"){const l=e,c=l(f);return()=>{typeof c=="function"?c():l(null)}}else if(e)return e.current=f,()=>{e.current=null}},[e]);return u.useMemo(()=>({get current(){return t.current},set current(f){t.current=f,n.current&&(n.current(),n.current=void 0),f!=null&&(n.current=r(f))}}),[r])}const R=Symbol("default");function Z({values:e,children:t}){for(let[n,r]of e)t=u.createElement(n.Provider,{value:r},t);return t}function D(e){let{className:t,style:n,children:r,defaultClassName:f,defaultChildren:l,defaultStyle:c,values:d}=e;return u.useMemo(()=>{let a,s,o;return typeof t=="function"?a=t({...d,defaultClassName:f}):a=t,typeof n=="function"?s=n({...d,defaultStyle:c||{}}):s=n,typeof r=="function"?o=r({...d,defaultChildren:l}):r==null?o=l:o=r,{className:a??f,style:s||c?{...c,...s}:void 0,children:o??l,"data-rac":""}},[t,n,r,f,l,c,d])}function k(e,t){let n=u.useContext(e);if(t===null)return null;if(n&&typeof n=="object"&&"slots"in n&&n.slots){let r=t||R;if(!n.slots[r]){let f=new Intl.ListFormat().format(Object.keys(n.slots).map(c=>`"${c}"`)),l=t?`Invalid slot "${t}".`:"A slot prop is required.";throw new Error(`${l} Valid slot names are ${f}.`)}return n.slots[r]}return n}function W(e,t,n){let r=k(n,e.slot)||{},{ref:f,...l}=r,c=M(u.useMemo(()=>w(t,f),[t,f])),d=g(l,e);return"style"in l&&l.style&&"style"in e&&e.style&&(typeof l.style=="function"||typeof e.style=="function"?d.style=a=>{let s=typeof l.style=="function"?l.style(a):l.style,o={...a.defaultStyle,...s},V=typeof e.style=="function"?e.style({...a,defaultStyle:o}):e.style;return{...o,...V}}:d.style={...l.style,...e.style}),[d,c]}function A(e=!0){let[t,n]=u.useState(e),r=u.useRef(!1),f=u.useCallback(l=>{r.current=!0,n(!!l)},[]);return $(()=>{r.current||n(!1)},[]),[f,t]}function B(e){const t=/^(data-.*)$/;let n={};for(const r in e)t.test(r)||(n[r]=e[r]);return n}exports.$3ef42575df84b30b$export$9d1611c77c2fe928=g;exports.$5dc95899b306f630$export$c9058316764c140e=w;exports.$64fa3d84918910a7$export$2881499e37b75b9a=Z;exports.$64fa3d84918910a7$export$29f1550f4b0d4415=W;exports.$64fa3d84918910a7$export$4d86445c2cf5e3=D;exports.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8=A;exports.$64fa3d84918910a7$export$c62b8e45d58ddad9=R;exports.$64fa3d84918910a7$export$ef03459518577ad4=B;exports.$64fa3d84918910a7$export$fabf2dc03a41866e=k;exports.$8ae05eaa5c114e9c$export$7f54fc3180508a52=x;exports.$b5e257d569688ac6$export$535bd6ca7f90a273=S;exports.$bdb11010cef70236$export$b4cc09c592e8fdb8=X;exports.$bdb11010cef70236$export$f680877a34711e37=h;exports.$df56164dff5785e2$export$4338b53315abf666=M;exports.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c=$;exports.$ff5963eb1fccf552$export$e08e3b67e392101e=C;
|
package/utils-DIMfEPAt.js
DELETED
|
@@ -1,308 +0,0 @@
|
|
|
1
|
-
import o, { useRef as i, useCallback as x, useState as m, useContext as v, useEffect as V, useMemo as h } from "react";
|
|
2
|
-
import { c as k } from "./clsx-OuTLNxxd.js";
|
|
3
|
-
const y = typeof document < "u" ? o.useLayoutEffect : () => {
|
|
4
|
-
};
|
|
5
|
-
function g(e) {
|
|
6
|
-
const t = i(null);
|
|
7
|
-
return y(() => {
|
|
8
|
-
t.current = e;
|
|
9
|
-
}, [
|
|
10
|
-
e
|
|
11
|
-
]), x((...n) => {
|
|
12
|
-
const r = t.current;
|
|
13
|
-
return r == null ? void 0 : r(...n);
|
|
14
|
-
}, []);
|
|
15
|
-
}
|
|
16
|
-
function I(e) {
|
|
17
|
-
let [t, n] = m(e), r = i(null), l = g(() => {
|
|
18
|
-
if (!r.current) return;
|
|
19
|
-
let u = r.current.next();
|
|
20
|
-
if (u.done) {
|
|
21
|
-
r.current = null;
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
24
|
-
t === u.value ? l() : n(u.value);
|
|
25
|
-
});
|
|
26
|
-
y(() => {
|
|
27
|
-
r.current && l();
|
|
28
|
-
});
|
|
29
|
-
let f = g((u) => {
|
|
30
|
-
r.current = u(t), l();
|
|
31
|
-
});
|
|
32
|
-
return [
|
|
33
|
-
t,
|
|
34
|
-
f
|
|
35
|
-
];
|
|
36
|
-
}
|
|
37
|
-
const b = {
|
|
38
|
-
prefix: String(Math.round(Math.random() * 1e10)),
|
|
39
|
-
current: 0
|
|
40
|
-
}, C = /* @__PURE__ */ o.createContext(b), N = /* @__PURE__ */ o.createContext(!1);
|
|
41
|
-
let j = !!(typeof window < "u" && window.document && window.document.createElement), S = /* @__PURE__ */ new WeakMap();
|
|
42
|
-
function z(e = !1) {
|
|
43
|
-
let t = v(C), n = i(null);
|
|
44
|
-
if (n.current === null && !e) {
|
|
45
|
-
var r, l;
|
|
46
|
-
let f = (l = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === null || l === void 0 || (r = l.ReactCurrentOwner) === null || r === void 0 ? void 0 : r.current;
|
|
47
|
-
if (f) {
|
|
48
|
-
let u = S.get(f);
|
|
49
|
-
u == null ? S.set(f, {
|
|
50
|
-
id: t.current,
|
|
51
|
-
state: f.memoizedState
|
|
52
|
-
}) : f.memoizedState !== u.state && (t.current = u.id, S.delete(f));
|
|
53
|
-
}
|
|
54
|
-
n.current = ++t.current;
|
|
55
|
-
}
|
|
56
|
-
return n.current;
|
|
57
|
-
}
|
|
58
|
-
function P(e) {
|
|
59
|
-
let t = v(C);
|
|
60
|
-
t === b && !j && process.env.NODE_ENV !== "production" && console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
|
|
61
|
-
let n = z(!!e), r = t === b && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${t.prefix}`;
|
|
62
|
-
return e || `${r}-${n}`;
|
|
63
|
-
}
|
|
64
|
-
function R(e) {
|
|
65
|
-
let t = o.useId(), [n] = m(K()), r = n || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${b.prefix}`;
|
|
66
|
-
return e || `${r}-${t}`;
|
|
67
|
-
}
|
|
68
|
-
const q = typeof o.useId == "function" ? R : P;
|
|
69
|
-
function E() {
|
|
70
|
-
return !1;
|
|
71
|
-
}
|
|
72
|
-
function F() {
|
|
73
|
-
return !0;
|
|
74
|
-
}
|
|
75
|
-
function H(e) {
|
|
76
|
-
return () => {
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
function K() {
|
|
80
|
-
return typeof o.useSyncExternalStore == "function" ? o.useSyncExternalStore(H, E, F) : v(N);
|
|
81
|
-
}
|
|
82
|
-
let G = !!(typeof window < "u" && window.document && window.document.createElement), $ = /* @__PURE__ */ new Map(), p;
|
|
83
|
-
typeof FinalizationRegistry < "u" && (p = new FinalizationRegistry((e) => {
|
|
84
|
-
$.delete(e);
|
|
85
|
-
}));
|
|
86
|
-
function J(e) {
|
|
87
|
-
let [t, n] = m(e), r = i(null), l = q(t), f = i(null);
|
|
88
|
-
if (p && p.register(f, l), G) {
|
|
89
|
-
const u = $.get(l);
|
|
90
|
-
u && !u.includes(r) ? u.push(r) : $.set(l, [
|
|
91
|
-
r
|
|
92
|
-
]);
|
|
93
|
-
}
|
|
94
|
-
return y(() => {
|
|
95
|
-
let u = l;
|
|
96
|
-
return () => {
|
|
97
|
-
p && p.unregister(f), $.delete(u);
|
|
98
|
-
};
|
|
99
|
-
}, [
|
|
100
|
-
l
|
|
101
|
-
]), V(() => {
|
|
102
|
-
let u = r.current;
|
|
103
|
-
return u && n(u), () => {
|
|
104
|
-
u && (r.current = null);
|
|
105
|
-
};
|
|
106
|
-
}), l;
|
|
107
|
-
}
|
|
108
|
-
function Q(e, t) {
|
|
109
|
-
if (e === t) return e;
|
|
110
|
-
let n = $.get(e);
|
|
111
|
-
if (n)
|
|
112
|
-
return n.forEach((l) => l.current = t), t;
|
|
113
|
-
let r = $.get(t);
|
|
114
|
-
return r ? (r.forEach((l) => l.current = e), e) : t;
|
|
115
|
-
}
|
|
116
|
-
function L(e = []) {
|
|
117
|
-
let t = J(), [n, r] = I(t), l = x(() => {
|
|
118
|
-
r(function* () {
|
|
119
|
-
yield t, yield document.getElementById(t) ? t : void 0;
|
|
120
|
-
});
|
|
121
|
-
}, [
|
|
122
|
-
t,
|
|
123
|
-
r
|
|
124
|
-
]);
|
|
125
|
-
return y(l, [
|
|
126
|
-
t,
|
|
127
|
-
l,
|
|
128
|
-
...e
|
|
129
|
-
]), n;
|
|
130
|
-
}
|
|
131
|
-
function X(...e) {
|
|
132
|
-
return (...t) => {
|
|
133
|
-
for (let n of e) typeof n == "function" && n(...t);
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
function Z(...e) {
|
|
137
|
-
let t = {
|
|
138
|
-
...e[0]
|
|
139
|
-
};
|
|
140
|
-
for (let n = 1; n < e.length; n++) {
|
|
141
|
-
let r = e[n];
|
|
142
|
-
for (let l in r) {
|
|
143
|
-
let f = t[l], u = r[l];
|
|
144
|
-
typeof f == "function" && typeof u == "function" && // This is a lot faster than a regex.
|
|
145
|
-
l[0] === "o" && l[1] === "n" && l.charCodeAt(2) >= /* 'A' */
|
|
146
|
-
65 && l.charCodeAt(2) <= /* 'Z' */
|
|
147
|
-
90 ? t[l] = X(f, u) : (l === "className" || l === "UNSAFE_className") && typeof f == "string" && typeof u == "string" ? t[l] = k(f, u) : l === "id" && f && u ? t.id = Q(f, u) : t[l] = u !== void 0 ? u : f;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
return t;
|
|
151
|
-
}
|
|
152
|
-
function D(...e) {
|
|
153
|
-
return e.length === 1 && e[0] ? e[0] : (t) => {
|
|
154
|
-
let n = !1;
|
|
155
|
-
const r = e.map((l) => {
|
|
156
|
-
const f = w(l, t);
|
|
157
|
-
return n || (n = typeof f == "function"), f;
|
|
158
|
-
});
|
|
159
|
-
if (n) return () => {
|
|
160
|
-
r.forEach((l, f) => {
|
|
161
|
-
typeof l == "function" ? l() : w(e[f], null);
|
|
162
|
-
});
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
}
|
|
166
|
-
function w(e, t) {
|
|
167
|
-
if (typeof e == "function") return e(t);
|
|
168
|
-
e != null && (e.current = t);
|
|
169
|
-
}
|
|
170
|
-
function W(e) {
|
|
171
|
-
const t = i(null), n = i(void 0), r = x((l) => {
|
|
172
|
-
if (typeof e == "function") {
|
|
173
|
-
const f = e, u = f(l);
|
|
174
|
-
return () => {
|
|
175
|
-
typeof u == "function" ? u() : f(null);
|
|
176
|
-
};
|
|
177
|
-
} else if (e)
|
|
178
|
-
return e.current = l, () => {
|
|
179
|
-
e.current = null;
|
|
180
|
-
};
|
|
181
|
-
}, [
|
|
182
|
-
e
|
|
183
|
-
]);
|
|
184
|
-
return h(() => ({
|
|
185
|
-
get current() {
|
|
186
|
-
return t.current;
|
|
187
|
-
},
|
|
188
|
-
set current(l) {
|
|
189
|
-
t.current = l, n.current && (n.current(), n.current = void 0), l != null && (n.current = r(l));
|
|
190
|
-
}
|
|
191
|
-
}), [
|
|
192
|
-
r
|
|
193
|
-
]);
|
|
194
|
-
}
|
|
195
|
-
const A = Symbol("default");
|
|
196
|
-
function O({ values: e, children: t }) {
|
|
197
|
-
for (let [n, r] of e)
|
|
198
|
-
t = /* @__PURE__ */ o.createElement(n.Provider, {
|
|
199
|
-
value: r
|
|
200
|
-
}, t);
|
|
201
|
-
return t;
|
|
202
|
-
}
|
|
203
|
-
function T(e) {
|
|
204
|
-
let { className: t, style: n, children: r, defaultClassName: l, defaultChildren: f, defaultStyle: u, values: s } = e;
|
|
205
|
-
return h(() => {
|
|
206
|
-
let a, d, c;
|
|
207
|
-
return typeof t == "function" ? a = t({
|
|
208
|
-
...s,
|
|
209
|
-
defaultClassName: l
|
|
210
|
-
}) : a = t, typeof n == "function" ? d = n({
|
|
211
|
-
...s,
|
|
212
|
-
defaultStyle: u || {}
|
|
213
|
-
}) : d = n, typeof r == "function" ? c = r({
|
|
214
|
-
...s,
|
|
215
|
-
defaultChildren: f
|
|
216
|
-
}) : r == null ? c = f : c = r, {
|
|
217
|
-
className: a ?? l,
|
|
218
|
-
style: d || u ? {
|
|
219
|
-
...u,
|
|
220
|
-
...d
|
|
221
|
-
} : void 0,
|
|
222
|
-
children: c ?? f,
|
|
223
|
-
"data-rac": ""
|
|
224
|
-
};
|
|
225
|
-
}, [
|
|
226
|
-
t,
|
|
227
|
-
n,
|
|
228
|
-
r,
|
|
229
|
-
l,
|
|
230
|
-
f,
|
|
231
|
-
u,
|
|
232
|
-
s
|
|
233
|
-
]);
|
|
234
|
-
}
|
|
235
|
-
function B(e, t) {
|
|
236
|
-
let n = v(e);
|
|
237
|
-
if (t === null)
|
|
238
|
-
return null;
|
|
239
|
-
if (n && typeof n == "object" && "slots" in n && n.slots) {
|
|
240
|
-
let r = t || A;
|
|
241
|
-
if (!n.slots[r]) {
|
|
242
|
-
let l = new Intl.ListFormat().format(Object.keys(n.slots).map((u) => `"${u}"`)), f = t ? `Invalid slot "${t}".` : "A slot prop is required.";
|
|
243
|
-
throw new Error(`${f} Valid slot names are ${l}.`);
|
|
244
|
-
}
|
|
245
|
-
return n.slots[r];
|
|
246
|
-
}
|
|
247
|
-
return n;
|
|
248
|
-
}
|
|
249
|
-
function _(e, t, n) {
|
|
250
|
-
let r = B(n, e.slot) || {}, { ref: l, ...f } = r, u = W(h(() => D(t, l), [
|
|
251
|
-
t,
|
|
252
|
-
l
|
|
253
|
-
])), s = Z(f, e);
|
|
254
|
-
return "style" in f && f.style && "style" in e && e.style && (typeof f.style == "function" || typeof e.style == "function" ? s.style = (a) => {
|
|
255
|
-
let d = typeof f.style == "function" ? f.style(a) : f.style, c = {
|
|
256
|
-
...a.defaultStyle,
|
|
257
|
-
...d
|
|
258
|
-
}, M = typeof e.style == "function" ? e.style({
|
|
259
|
-
...a,
|
|
260
|
-
defaultStyle: c
|
|
261
|
-
}) : e.style;
|
|
262
|
-
return {
|
|
263
|
-
...c,
|
|
264
|
-
...M
|
|
265
|
-
};
|
|
266
|
-
} : s.style = {
|
|
267
|
-
...f.style,
|
|
268
|
-
...e.style
|
|
269
|
-
}), [
|
|
270
|
-
s,
|
|
271
|
-
u
|
|
272
|
-
];
|
|
273
|
-
}
|
|
274
|
-
function ee(e = !0) {
|
|
275
|
-
let [t, n] = m(e), r = i(!1), l = x((f) => {
|
|
276
|
-
r.current = !0, n(!!f);
|
|
277
|
-
}, []);
|
|
278
|
-
return y(() => {
|
|
279
|
-
r.current || n(!1);
|
|
280
|
-
}, []), [
|
|
281
|
-
l,
|
|
282
|
-
t
|
|
283
|
-
];
|
|
284
|
-
}
|
|
285
|
-
function te(e) {
|
|
286
|
-
const t = /^(data-.*)$/;
|
|
287
|
-
let n = {};
|
|
288
|
-
for (const r in e) t.test(r) || (n[r] = e[r]);
|
|
289
|
-
return n;
|
|
290
|
-
}
|
|
291
|
-
export {
|
|
292
|
-
y as $,
|
|
293
|
-
_ as a,
|
|
294
|
-
T as b,
|
|
295
|
-
Z as c,
|
|
296
|
-
L as d,
|
|
297
|
-
J as e,
|
|
298
|
-
g as f,
|
|
299
|
-
B as g,
|
|
300
|
-
ee as h,
|
|
301
|
-
te as i,
|
|
302
|
-
O as j,
|
|
303
|
-
K as k,
|
|
304
|
-
W as l,
|
|
305
|
-
D as m,
|
|
306
|
-
X as n,
|
|
307
|
-
A as o
|
|
308
|
-
};
|
package/x-H8Zrx8-x.cjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./createLucideIcon-Cg_wkoIA.cjs");/**
|
|
2
|
-
* @license lucide-react v0.453.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const c=e.createLucideIcon("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);exports.X=c;
|