@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
|
@@ -2,46 +2,49 @@ import { jsxs as H, jsx as $ } from "react/jsx-runtime";
|
|
|
2
2
|
import * as ce from "react";
|
|
3
3
|
import J, { useMemo as W, useRef as z, useState as L, forwardRef as De, createContext as ee, useCallback as xe } from "react";
|
|
4
4
|
import { c as Q } from "./clsx-OuTLNxxd.js";
|
|
5
|
-
import { $ as da, a as na, C as ra, R as oa } from "./RangeCalendar-
|
|
6
|
-
import { c as Fe, d as Re, e as Ce, f as sa, g as Oe, h as ua, i as q, j, k as ca, l as Te, a as ne, D as re, b as fa } from "./DateInputDivider-
|
|
7
|
-
import {
|
|
8
|
-
import { a as
|
|
9
|
-
import { T as
|
|
10
|
-
import { e as fe,
|
|
11
|
-
import {
|
|
12
|
-
import { i as
|
|
13
|
-
import { $ as
|
|
14
|
-
import {
|
|
15
|
-
import { $ as
|
|
5
|
+
import { $ as da, a as na, C as ra, R as oa } from "./RangeCalendar-6miAJVoO.js";
|
|
6
|
+
import { c as Fe, d as Re, e as Ce, f as sa, g as Oe, h as ua, i as q, j, k as ca, l as Te, a as ne, D as re, b as fa } from "./DateInputDivider-Bi5N-C0c.js";
|
|
7
|
+
import { F as Y } from "./FieldError-B3YFj-an.js";
|
|
8
|
+
import { a as Ie, L as Ze } from "./Label-D2GmP8_2.js";
|
|
9
|
+
import { T as Me } from "./Text-DlKqpvSa.js";
|
|
10
|
+
import { e as fe, c as be, $ as ba } from "./Button-CFYdzG0H.js";
|
|
11
|
+
import { $ as Be, b as ke, c as _e, d as we, a as pe, e as Ee } from "./utils-DJhAJHk_.js";
|
|
12
|
+
import { i as Se, m as Ne, n as Ue, a as va, l as ma } from "./Dialog-CtVrVuMr.js";
|
|
13
|
+
import { $ as We } from "./FieldError-BbR-29BM.js";
|
|
14
|
+
import { $ as Le } from "./Form-CXcEMuBf.js";
|
|
15
|
+
import { a as ve, $ as $a } from "./Group-CpkUzEAs.js";
|
|
16
|
+
import { a as me } from "./Text-92cPh38G.js";
|
|
16
17
|
import { $ as ae } from "./filterDOMProps-D6KHYVBX.js";
|
|
17
|
-
import { a as
|
|
18
|
-
import { $ as
|
|
19
|
-
import { d as ue, e as Pe, c as Ve, $ as
|
|
20
|
-
import { $ as
|
|
21
|
-
import { b as
|
|
22
|
-
import { a as
|
|
23
|
-
import { a as
|
|
24
|
-
import { $ as
|
|
25
|
-
import { $ as
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
18
|
+
import { a as Ke, g as je } from "./OverlayArrow-CfhSYL46.js";
|
|
19
|
+
import { $ as G, a as oe, b as se } from "./useDateFormatter-BVCkxVdw.js";
|
|
20
|
+
import { d as ue, e as Pe, c as Ve, $ as ze } from "./useFormValidation-BzzruZKm.js";
|
|
21
|
+
import { $ as qe } from "./useControlledState-u436Wbp1.js";
|
|
22
|
+
import { b as Ge } from "./FocusScope-D_hwN_TJ.js";
|
|
23
|
+
import { c as A, a as Ae } from "./mergeProps-C1U1OIeJ.js";
|
|
24
|
+
import { a as Xe } from "./scrollIntoView-BLnsPvFA.js";
|
|
25
|
+
import { $ as He } from "./useFocusWithin-T1ifEM_s.js";
|
|
26
|
+
import { $ as Je } from "./useField-BEBXv5Mh.js";
|
|
27
|
+
import { $ as Qe } from "./context-CGNJ3grH.js";
|
|
28
|
+
import { $ as Ye } from "./useLocalizedStringFormatter-CL9MUZ8A.js";
|
|
29
|
+
import { $ as ea } from "./useFocusRing-DOfBqnUN.js";
|
|
30
|
+
import { c as ha } from "./createLucideIcon-XRdN60yz.js";
|
|
28
31
|
import './assets/DateRangePicker.css';function ga(e) {
|
|
29
32
|
return e && e.__esModule ? e.default : e;
|
|
30
33
|
}
|
|
31
34
|
function ya(e, a, i) {
|
|
32
|
-
let f =
|
|
35
|
+
let f = A(), u = A(), c = A(), s = Ye(ga(Ce), "@react-aria/datepicker"), { isInvalid: t, validationErrors: l, validationDetails: x } = a.displayValidation, { labelProps: B, fieldProps: b, descriptionProps: k, errorMessageProps: F } = Je({
|
|
33
36
|
...e,
|
|
34
37
|
labelElementType: "span",
|
|
35
38
|
isInvalid: t,
|
|
36
39
|
errorMessage: e.errorMessage || l
|
|
37
|
-
}), R = Fe(a, i), C = b["aria-labelledby"] || b.id, { locale: v } =
|
|
40
|
+
}), R = Fe(a, i), C = b["aria-labelledby"] || b.id, { locale: v } = Qe(), O = a.formatValue(v, {
|
|
38
41
|
month: "long"
|
|
39
42
|
}), d = O ? s.format("selectedDateDescription", {
|
|
40
43
|
date: O
|
|
41
44
|
}) : "", T = Xe(d), I = [
|
|
42
45
|
T["aria-describedby"],
|
|
43
46
|
b["aria-describedby"]
|
|
44
|
-
].filter(Boolean).join(" ") || void 0, P = ae(e), Z = W(() =>
|
|
47
|
+
].filter(Boolean).join(" ") || void 0, P = ae(e), Z = W(() => Ge(i), [
|
|
45
48
|
i
|
|
46
49
|
]), M = z(!1), { focusWithinProps: D } = He({
|
|
47
50
|
...e,
|
|
@@ -61,7 +64,7 @@ function ya(e, a, i) {
|
|
|
61
64
|
}
|
|
62
65
|
});
|
|
63
66
|
return {
|
|
64
|
-
groupProps:
|
|
67
|
+
groupProps: Ae(P, R, b, T, D, {
|
|
65
68
|
role: "group",
|
|
66
69
|
"aria-disabled": e.isDisabled || null,
|
|
67
70
|
"aria-labelledby": C,
|
|
@@ -140,12 +143,12 @@ function Pa(e) {
|
|
|
140
143
|
}
|
|
141
144
|
function Va(e, a, i) {
|
|
142
145
|
var f, u, c;
|
|
143
|
-
let s =
|
|
146
|
+
let s = Ye(Pa(Ce), "@react-aria/datepicker"), { isInvalid: t, validationErrors: l, validationDetails: x } = a.displayValidation, { labelProps: B, fieldProps: b, descriptionProps: k, errorMessageProps: F } = Je({
|
|
144
147
|
...e,
|
|
145
148
|
labelElementType: "span",
|
|
146
149
|
isInvalid: t,
|
|
147
150
|
errorMessage: e.errorMessage || l
|
|
148
|
-
}), R = b["aria-labelledby"] || b.id, { locale: C } =
|
|
151
|
+
}), R = b["aria-labelledby"] || b.id, { locale: C } = Qe(), v = a.formatValue(C, {
|
|
149
152
|
month: "long"
|
|
150
153
|
}), O = v ? s.format("selectedRangeDescription", {
|
|
151
154
|
startDate: v.start,
|
|
@@ -156,10 +159,10 @@ function Va(e, a, i) {
|
|
|
156
159
|
}, I = {
|
|
157
160
|
"aria-label": s.format("endDate"),
|
|
158
161
|
"aria-labelledby": R
|
|
159
|
-
}, P =
|
|
162
|
+
}, P = A(), Z = A(), M = Fe(a, i), D = [
|
|
160
163
|
d["aria-describedby"],
|
|
161
164
|
b["aria-describedby"]
|
|
162
|
-
].filter(Boolean).join(" ") || void 0, y = W(() =>
|
|
165
|
+
].filter(Boolean).join(" ") || void 0, y = W(() => Ge(i, {
|
|
163
166
|
// Exclude the button from the focus manager.
|
|
164
167
|
accept: (r) => r.id !== P
|
|
165
168
|
}), [
|
|
@@ -178,26 +181,26 @@ function Va(e, a, i) {
|
|
|
178
181
|
isReadOnly: e.isReadOnly,
|
|
179
182
|
isRequired: e.isRequired,
|
|
180
183
|
validationBehavior: e.validationBehavior
|
|
181
|
-
}, o = ae(e), g = z(!1), { focusWithinProps:
|
|
184
|
+
}, o = ae(e), g = z(!1), { focusWithinProps: p } = He({
|
|
182
185
|
...e,
|
|
183
186
|
isDisabled: a.isOpen,
|
|
184
187
|
onBlurWithin: (r) => {
|
|
185
188
|
let h = document.getElementById(Z);
|
|
186
189
|
if (!(h != null && h.contains(r.relatedTarget))) {
|
|
187
|
-
var
|
|
188
|
-
g.current = !1, (
|
|
190
|
+
var _, K;
|
|
191
|
+
g.current = !1, (_ = e.onBlur) === null || _ === void 0 || _.call(e, r), (K = e.onFocusChange) === null || K === void 0 || K.call(e, !1);
|
|
189
192
|
}
|
|
190
193
|
},
|
|
191
194
|
onFocusWithin: (r) => {
|
|
192
195
|
if (!g.current) {
|
|
193
|
-
var h,
|
|
194
|
-
g.current = !0, (h = e.onFocus) === null || h === void 0 || h.call(e, r), (
|
|
196
|
+
var h, _;
|
|
197
|
+
g.current = !0, (h = e.onFocus) === null || h === void 0 || h.call(e, r), (_ = e.onFocusChange) === null || _ === void 0 || _.call(e, !0);
|
|
195
198
|
}
|
|
196
199
|
}
|
|
197
|
-
}),
|
|
200
|
+
}), E = z(Pe), X = z(Pe);
|
|
198
201
|
var n, m;
|
|
199
202
|
return {
|
|
200
|
-
groupProps:
|
|
203
|
+
groupProps: Ae(o, M, b, d, p, {
|
|
201
204
|
role: "group",
|
|
202
205
|
"aria-disabled": e.isDisabled || null,
|
|
203
206
|
"aria-describedby": D,
|
|
@@ -240,7 +243,7 @@ function Va(e, a, i) {
|
|
|
240
243
|
realtimeValidation: a.realtimeValidation,
|
|
241
244
|
displayValidation: a.displayValidation,
|
|
242
245
|
updateValidation(r) {
|
|
243
|
-
|
|
246
|
+
E.current = r, a.updateValidation(Ve(r, X.current));
|
|
244
247
|
},
|
|
245
248
|
resetValidation: a.resetValidation,
|
|
246
249
|
commitValidation: a.commitValidation
|
|
@@ -256,7 +259,7 @@ function Va(e, a, i) {
|
|
|
256
259
|
realtimeValidation: a.realtimeValidation,
|
|
257
260
|
displayValidation: a.displayValidation,
|
|
258
261
|
updateValidation(r) {
|
|
259
|
-
X.current = r, a.updateValidation(Ve(
|
|
262
|
+
X.current = r, a.updateValidation(Ve(E.current, r));
|
|
260
263
|
},
|
|
261
264
|
resetValidation: a.resetValidation,
|
|
262
265
|
commitValidation: a.commitValidation
|
|
@@ -284,7 +287,7 @@ function Va(e, a, i) {
|
|
|
284
287
|
};
|
|
285
288
|
}
|
|
286
289
|
function Da(e) {
|
|
287
|
-
let a =
|
|
290
|
+
let a = Ke(e), [i, f] = qe(e.value, e.defaultValue || null, e.onChange), u = i || e.placeholderValue || null, [c, s] = Oe(u, e.granularity), t = i != null ? i.toDate(s ?? "UTC") : null, l = c === "hour" || c === "minute" || c === "second";
|
|
288
291
|
var x;
|
|
289
292
|
let B = (x = e.shouldCloseOnSelect) !== null && x !== void 0 ? x : !0, [b, k] = L(null), [F, R] = L(null);
|
|
290
293
|
if (i && (b = i, "hour" in i && (F = i)), u && !(c in u)) throw new Error("Invalid granularity " + c + " for value " + u.toString());
|
|
@@ -308,7 +311,7 @@ function Da(e) {
|
|
|
308
311
|
d,
|
|
309
312
|
T,
|
|
310
313
|
v
|
|
311
|
-
]), P =
|
|
314
|
+
]), P = ze({
|
|
312
315
|
...e,
|
|
313
316
|
value: i,
|
|
314
317
|
builtinValidation: I
|
|
@@ -338,21 +341,21 @@ function Da(e) {
|
|
|
338
341
|
isInvalid: Z,
|
|
339
342
|
formatValue(o, g) {
|
|
340
343
|
if (!t) return "";
|
|
341
|
-
let
|
|
342
|
-
return new
|
|
344
|
+
let p = q(g, v);
|
|
345
|
+
return new G(o, p).format(t);
|
|
343
346
|
},
|
|
344
347
|
getDateFormatter(o, g) {
|
|
345
|
-
let
|
|
348
|
+
let p = {
|
|
346
349
|
...v,
|
|
347
350
|
...g
|
|
348
|
-
},
|
|
349
|
-
return new
|
|
351
|
+
}, E = q({}, p);
|
|
352
|
+
return new G(o, E);
|
|
350
353
|
}
|
|
351
354
|
};
|
|
352
355
|
}
|
|
353
356
|
function xa(e) {
|
|
354
357
|
var a, i;
|
|
355
|
-
let f =
|
|
358
|
+
let f = Ke(e), [u, c] = qe(e.value, e.defaultValue || null, e.onChange), [s, t] = L(() => u || {
|
|
356
359
|
start: null,
|
|
357
360
|
end: null
|
|
358
361
|
});
|
|
@@ -364,24 +367,24 @@ function xa(e) {
|
|
|
364
367
|
t(n || {
|
|
365
368
|
start: null,
|
|
366
369
|
end: null
|
|
367
|
-
}),
|
|
370
|
+
}), N(n) ? c(n) : c(null);
|
|
368
371
|
}, B = (l == null ? void 0 : l.start) || (l == null ? void 0 : l.end) || e.placeholderValue || null, [b, k] = Oe(B, e.granularity), F = b === "hour" || b === "minute" || b === "second";
|
|
369
372
|
var R;
|
|
370
373
|
let C = (R = e.shouldCloseOnSelect) !== null && R !== void 0 ? R : !0, [v, O] = L(null), [d, T] = L(null);
|
|
371
|
-
l &&
|
|
374
|
+
l && N(l) && (v = l, "hour" in l.start && (d = l));
|
|
372
375
|
let I = (n, m) => {
|
|
373
376
|
x({
|
|
374
377
|
start: "timeZone" in m.start ? m.start.set(se(n.start)) : oe(n.start, m.start),
|
|
375
378
|
end: "timeZone" in m.end ? m.end.set(se(n.end)) : oe(n.end, m.end)
|
|
376
|
-
}), O(null), T(null),
|
|
379
|
+
}), O(null), T(null), p.commitValidation();
|
|
377
380
|
}, P = (n) => {
|
|
378
381
|
let m = typeof C == "function" ? C() : C;
|
|
379
|
-
F ?
|
|
382
|
+
F ? N(n) && (m || d != null && d.start && (d != null && d.end)) ? I(n, {
|
|
380
383
|
start: (d == null ? void 0 : d.start) || j(e.placeholderValue),
|
|
381
384
|
end: (d == null ? void 0 : d.end) || j(e.placeholderValue)
|
|
382
|
-
}) : O(n) :
|
|
385
|
+
}) : O(n) : N(n) ? (x(n), p.commitValidation()) : O(n), m && f.setOpen(!1);
|
|
383
386
|
}, Z = (n) => {
|
|
384
|
-
|
|
387
|
+
N(v) && N(n) ? I(v, n) : T(n);
|
|
385
388
|
}, M = (l == null || (a = l.start) === null || a === void 0 ? void 0 : a.calendar.identifier) === "gregory" && l.start.era === "BC" || (l == null || (i = l.end) === null || i === void 0 ? void 0 : i.calendar.identifier) === "gregory" && l.end.era === "BC", D = W(() => ({
|
|
386
389
|
granularity: b,
|
|
387
390
|
timeZone: k,
|
|
@@ -402,7 +405,7 @@ function xa(e) {
|
|
|
402
405
|
V,
|
|
403
406
|
o,
|
|
404
407
|
D
|
|
405
|
-
]),
|
|
408
|
+
]), p = ze({
|
|
406
409
|
...e,
|
|
407
410
|
value: u,
|
|
408
411
|
name: W(() => [
|
|
@@ -413,9 +416,9 @@ function xa(e) {
|
|
|
413
416
|
e.endName
|
|
414
417
|
]),
|
|
415
418
|
builtinValidation: g
|
|
416
|
-
}),
|
|
419
|
+
}), E = p.displayValidation.isInvalid, X = e.validationState || (E ? "invalid" : null);
|
|
417
420
|
return {
|
|
418
|
-
...
|
|
421
|
+
...p,
|
|
419
422
|
value: l,
|
|
420
423
|
setValue: x,
|
|
421
424
|
dateRange: v,
|
|
@@ -456,33 +459,33 @@ function xa(e) {
|
|
|
456
459
|
setTimeRange: Z,
|
|
457
460
|
...f,
|
|
458
461
|
setOpen(n) {
|
|
459
|
-
!n && !(l != null && l.start && (l != null && l.end)) &&
|
|
462
|
+
!n && !(l != null && l.start && (l != null && l.end)) && N(v) && F && I(v, {
|
|
460
463
|
start: (d == null ? void 0 : d.start) || j(e.placeholderValue),
|
|
461
464
|
end: (d == null ? void 0 : d.end) || j(e.placeholderValue)
|
|
462
465
|
}), f.setOpen(n);
|
|
463
466
|
},
|
|
464
467
|
validationState: X,
|
|
465
|
-
isInvalid:
|
|
468
|
+
isInvalid: E,
|
|
466
469
|
formatValue(n, m) {
|
|
467
470
|
if (!l || !l.start || !l.end) return null;
|
|
468
|
-
let r = "timeZone" in l.start ? l.start.timeZone : void 0, h = e.granularity || (l.start && "minute" in l.start ? "minute" : "day"),
|
|
471
|
+
let r = "timeZone" in l.start ? l.start.timeZone : void 0, h = e.granularity || (l.start && "minute" in l.start ? "minute" : "day"), _ = "timeZone" in l.end ? l.end.timeZone : void 0, K = e.granularity || (l.end && "minute" in l.end ? "minute" : "day"), ta = q(m, {
|
|
469
472
|
granularity: h,
|
|
470
473
|
timeZone: r,
|
|
471
474
|
hideTimeZone: e.hideTimeZone,
|
|
472
475
|
hourCycle: e.hourCycle,
|
|
473
476
|
showEra: l.start.calendar.identifier === "gregory" && l.start.era === "BC" || l.end.calendar.identifier === "gregory" && l.end.era === "BC"
|
|
474
|
-
}), $e = l.start.toDate(r || "UTC"), he = l.end.toDate(
|
|
475
|
-
if (r ===
|
|
477
|
+
}), $e = l.start.toDate(r || "UTC"), he = l.end.toDate(_ || "UTC"), le = new G(n, ta), ie;
|
|
478
|
+
if (r === _ && h === K && l.start.compare(l.end) !== 0) {
|
|
476
479
|
try {
|
|
477
480
|
let S = le.formatRangeToParts($e, he), te = -1;
|
|
478
|
-
for (let
|
|
479
|
-
let de = S[
|
|
480
|
-
if (de.source === "shared" && de.type === "literal") te =
|
|
481
|
+
for (let w = 0; w < S.length; w++) {
|
|
482
|
+
let de = S[w];
|
|
483
|
+
if (de.source === "shared" && de.type === "literal") te = w;
|
|
481
484
|
else if (de.source === "endRange") break;
|
|
482
485
|
}
|
|
483
486
|
let ge = "", ye = "";
|
|
484
|
-
for (let
|
|
485
|
-
|
|
487
|
+
for (let w = 0; w < S.length; w++)
|
|
488
|
+
w < te ? ge += S[w].value : w > te && (ye += S[w].value);
|
|
486
489
|
return {
|
|
487
490
|
start: ge,
|
|
488
491
|
end: ye
|
|
@@ -493,11 +496,11 @@ function xa(e) {
|
|
|
493
496
|
} else {
|
|
494
497
|
let S = q(m, {
|
|
495
498
|
granularity: K,
|
|
496
|
-
timeZone:
|
|
499
|
+
timeZone: _,
|
|
497
500
|
hideTimeZone: e.hideTimeZone,
|
|
498
501
|
hourCycle: e.hourCycle
|
|
499
502
|
});
|
|
500
|
-
ie = new
|
|
503
|
+
ie = new G(n, S);
|
|
501
504
|
}
|
|
502
505
|
return {
|
|
503
506
|
start: le.format($e),
|
|
@@ -509,11 +512,11 @@ function xa(e) {
|
|
|
509
512
|
...D,
|
|
510
513
|
...m
|
|
511
514
|
}, h = q({}, r);
|
|
512
|
-
return new
|
|
515
|
+
return new G(n, h);
|
|
513
516
|
}
|
|
514
517
|
};
|
|
515
518
|
}
|
|
516
|
-
function
|
|
519
|
+
function N(e) {
|
|
517
520
|
return (e == null ? void 0 : e.start) != null && e.end != null;
|
|
518
521
|
}
|
|
519
522
|
const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__PURE__ */ ee(null), Oa = /* @__PURE__ */ ee(null), aa = [
|
|
@@ -522,26 +525,26 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
522
525
|
be,
|
|
523
526
|
me
|
|
524
527
|
], Ta = /* @__PURE__ */ De(function(a, i) {
|
|
525
|
-
[a, i] =
|
|
526
|
-
let { validationBehavior: f } =
|
|
528
|
+
[a, i] = Be(a, i, Fa);
|
|
529
|
+
let { validationBehavior: f } = ke(Le) || {};
|
|
527
530
|
var u, c;
|
|
528
531
|
let s = (c = (u = a.validationBehavior) !== null && u !== void 0 ? u : f) !== null && c !== void 0 ? c : "native", t = Da({
|
|
529
532
|
...a,
|
|
530
533
|
validationBehavior: s
|
|
531
|
-
}), l = z(null), [x, B] =
|
|
532
|
-
...
|
|
534
|
+
}), l = z(null), [x, B] = _e(!a["aria-label"] && !a["aria-labelledby"]), { groupProps: b, labelProps: k, fieldProps: F, buttonProps: R, dialogProps: C, calendarProps: v, descriptionProps: O, errorMessageProps: d, ...T } = ya({
|
|
535
|
+
...we(a),
|
|
533
536
|
label: B,
|
|
534
537
|
validationBehavior: s
|
|
535
538
|
}, t, l), [I, P] = L(null), Z = xe(() => {
|
|
536
539
|
l.current && P(l.current.offsetWidth + "px");
|
|
537
540
|
}, []);
|
|
538
|
-
|
|
541
|
+
je({
|
|
539
542
|
ref: l,
|
|
540
543
|
onResize: Z
|
|
541
544
|
});
|
|
542
|
-
let { focusProps: M, isFocused: D, isFocusVisible: y } =
|
|
545
|
+
let { focusProps: M, isFocused: D, isFocusVisible: y } = ea({
|
|
543
546
|
within: !0
|
|
544
|
-
}), V =
|
|
547
|
+
}), V = pe({
|
|
545
548
|
...a,
|
|
546
549
|
values: {
|
|
547
550
|
state: t,
|
|
@@ -553,7 +556,7 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
553
556
|
},
|
|
554
557
|
defaultClassName: "react-aria-DatePicker"
|
|
555
558
|
}), o = ae(a);
|
|
556
|
-
return delete o.id, /* @__PURE__ */ J.createElement(
|
|
559
|
+
return delete o.id, /* @__PURE__ */ J.createElement(Ee, {
|
|
557
560
|
values: [
|
|
558
561
|
[
|
|
559
562
|
Ca,
|
|
@@ -591,11 +594,11 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
591
594
|
v
|
|
592
595
|
],
|
|
593
596
|
[
|
|
594
|
-
|
|
597
|
+
Se,
|
|
595
598
|
t
|
|
596
599
|
],
|
|
597
600
|
[
|
|
598
|
-
|
|
601
|
+
Ne,
|
|
599
602
|
{
|
|
600
603
|
trigger: "DatePicker",
|
|
601
604
|
triggerRef: l,
|
|
@@ -607,7 +610,7 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
607
610
|
}
|
|
608
611
|
],
|
|
609
612
|
[
|
|
610
|
-
|
|
613
|
+
Ue,
|
|
611
614
|
C
|
|
612
615
|
],
|
|
613
616
|
[
|
|
@@ -620,7 +623,7 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
620
623
|
}
|
|
621
624
|
],
|
|
622
625
|
[
|
|
623
|
-
|
|
626
|
+
We,
|
|
624
627
|
T
|
|
625
628
|
]
|
|
626
629
|
]
|
|
@@ -637,26 +640,26 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
637
640
|
"data-open": t.isOpen || void 0
|
|
638
641
|
}));
|
|
639
642
|
}), Ia = /* @__PURE__ */ De(function(a, i) {
|
|
640
|
-
[a, i] =
|
|
641
|
-
let { validationBehavior: f } =
|
|
643
|
+
[a, i] = Be(a, i, Ra);
|
|
644
|
+
let { validationBehavior: f } = ke(Le) || {};
|
|
642
645
|
var u, c;
|
|
643
646
|
let s = (c = (u = a.validationBehavior) !== null && u !== void 0 ? u : f) !== null && c !== void 0 ? c : "native", t = xa({
|
|
644
647
|
...a,
|
|
645
648
|
validationBehavior: s
|
|
646
|
-
}), l = z(null), [x, B] =
|
|
647
|
-
...
|
|
649
|
+
}), l = z(null), [x, B] = _e(!a["aria-label"] && !a["aria-labelledby"]), { groupProps: b, labelProps: k, startFieldProps: F, endFieldProps: R, buttonProps: C, dialogProps: v, calendarProps: O, descriptionProps: d, errorMessageProps: T, ...I } = Va({
|
|
650
|
+
...we(a),
|
|
648
651
|
label: B,
|
|
649
652
|
validationBehavior: s
|
|
650
653
|
}, t, l), [P, Z] = L(null), M = xe(() => {
|
|
651
654
|
l.current && Z(l.current.offsetWidth + "px");
|
|
652
655
|
}, []);
|
|
653
|
-
|
|
656
|
+
je({
|
|
654
657
|
ref: l,
|
|
655
658
|
onResize: M
|
|
656
659
|
});
|
|
657
|
-
let { focusProps: D, isFocused: y, isFocusVisible: V } =
|
|
660
|
+
let { focusProps: D, isFocused: y, isFocusVisible: V } = ea({
|
|
658
661
|
within: !0
|
|
659
|
-
}), o =
|
|
662
|
+
}), o = pe({
|
|
660
663
|
...a,
|
|
661
664
|
values: {
|
|
662
665
|
state: t,
|
|
@@ -668,7 +671,7 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
668
671
|
},
|
|
669
672
|
defaultClassName: "react-aria-DateRangePicker"
|
|
670
673
|
}), g = ae(a);
|
|
671
|
-
return delete g.id, /* @__PURE__ */ J.createElement(
|
|
674
|
+
return delete g.id, /* @__PURE__ */ J.createElement(Ee, {
|
|
672
675
|
values: [
|
|
673
676
|
[
|
|
674
677
|
Oa,
|
|
@@ -702,11 +705,11 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
702
705
|
O
|
|
703
706
|
],
|
|
704
707
|
[
|
|
705
|
-
|
|
708
|
+
Se,
|
|
706
709
|
t
|
|
707
710
|
],
|
|
708
711
|
[
|
|
709
|
-
|
|
712
|
+
Ne,
|
|
710
713
|
{
|
|
711
714
|
trigger: "DateRangePicker",
|
|
712
715
|
triggerRef: l,
|
|
@@ -718,7 +721,7 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
718
721
|
}
|
|
719
722
|
],
|
|
720
723
|
[
|
|
721
|
-
|
|
724
|
+
Ue,
|
|
722
725
|
v
|
|
723
726
|
],
|
|
724
727
|
[
|
|
@@ -740,7 +743,7 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
740
743
|
}
|
|
741
744
|
],
|
|
742
745
|
[
|
|
743
|
-
|
|
746
|
+
We,
|
|
744
747
|
I
|
|
745
748
|
]
|
|
746
749
|
]
|
|
@@ -758,12 +761,12 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
758
761
|
}));
|
|
759
762
|
});
|
|
760
763
|
/**
|
|
761
|
-
* @license lucide-react v0.
|
|
764
|
+
* @license lucide-react v0.525.0 - ISC
|
|
762
765
|
*
|
|
763
766
|
* This source code is licensed under the ISC license.
|
|
764
767
|
* See the LICENSE file in the root directory of this source tree.
|
|
765
768
|
*/
|
|
766
|
-
const Za =
|
|
769
|
+
const Za = [
|
|
767
770
|
["path", { d: "M8 2v4", key: "1cmpym" }],
|
|
768
771
|
["path", { d: "M16 2v4", key: "4m81vk" }],
|
|
769
772
|
["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
|
|
@@ -774,12 +777,12 @@ const Za = ha("CalendarDays", [
|
|
|
774
777
|
["path", { d: "M8 18h.01", key: "lrp35t" }],
|
|
775
778
|
["path", { d: "M12 18h.01", key: "mhygvu" }],
|
|
776
779
|
["path", { d: "M16 18h.01", key: "kzsmim" }]
|
|
777
|
-
]
|
|
778
|
-
datePicker:
|
|
779
|
-
inputField:
|
|
780
|
-
medium:
|
|
780
|
+
], Ma = ha("calendar-days", Za), Ba = "_datePicker_1ro4s_4", ka = "_inputField_1ro4s_11", _a = "_medium_1ro4s_23", wa = "_calendarButton_1ro4s_50", pa = "_dialog_1ro4s_97", U = {
|
|
781
|
+
datePicker: Ba,
|
|
782
|
+
inputField: ka,
|
|
783
|
+
medium: _a,
|
|
781
784
|
calendarButton: wa,
|
|
782
|
-
dialog:
|
|
785
|
+
dialog: pa
|
|
783
786
|
}, la = ({
|
|
784
787
|
children: e,
|
|
785
788
|
isDisabled: a,
|
|
@@ -788,21 +791,21 @@ const Za = ha("CalendarDays", [
|
|
|
788
791
|
}) => /* @__PURE__ */ H(
|
|
789
792
|
$a,
|
|
790
793
|
{
|
|
791
|
-
className: Q(
|
|
792
|
-
[
|
|
794
|
+
className: Q(U.inputField, {
|
|
795
|
+
[U.medium]: f === "medium"
|
|
793
796
|
}),
|
|
794
797
|
children: [
|
|
795
798
|
e,
|
|
796
799
|
/* @__PURE__ */ $(
|
|
797
800
|
ba,
|
|
798
801
|
{
|
|
799
|
-
className: Q(
|
|
800
|
-
[
|
|
802
|
+
className: Q(U.calendarButton, {
|
|
803
|
+
[U.medium]: f === "medium"
|
|
801
804
|
}),
|
|
802
805
|
"data-invalid": i || void 0,
|
|
803
806
|
isDisabled: a,
|
|
804
807
|
children: /* @__PURE__ */ $(
|
|
805
|
-
|
|
808
|
+
Ma,
|
|
806
809
|
{
|
|
807
810
|
"aria-hidden": !0,
|
|
808
811
|
size: 20
|
|
@@ -816,9 +819,9 @@ const Za = ha("CalendarDays", [
|
|
|
816
819
|
va,
|
|
817
820
|
{
|
|
818
821
|
UNSTABLE_portalContainer: typeof a != "function" && (a == null ? void 0 : a.current) || void 0,
|
|
819
|
-
children: /* @__PURE__ */ $(ma, { className:
|
|
822
|
+
children: /* @__PURE__ */ $(ma, { className: U.dialog, children: e })
|
|
820
823
|
}
|
|
821
|
-
)),
|
|
824
|
+
)), fl = ({
|
|
822
825
|
className: e,
|
|
823
826
|
description: a,
|
|
824
827
|
errorMessage: i,
|
|
@@ -831,12 +834,12 @@ const Za = ha("CalendarDays", [
|
|
|
831
834
|
return /* @__PURE__ */ H(
|
|
832
835
|
Ta,
|
|
833
836
|
{
|
|
834
|
-
className: Q(
|
|
837
|
+
className: Q(U.datePicker, e),
|
|
835
838
|
ref: t,
|
|
836
839
|
...s,
|
|
837
840
|
children: [
|
|
838
|
-
/* @__PURE__ */ $(
|
|
839
|
-
a && /* @__PURE__ */ $(
|
|
841
|
+
/* @__PURE__ */ $(Ie, { popover: c, children: u && /* @__PURE__ */ $(Ze, { children: u }) }),
|
|
842
|
+
a && /* @__PURE__ */ $(Me, { slot: "description", children: a }),
|
|
840
843
|
f === "top" && /* @__PURE__ */ $(Y, { children: i }),
|
|
841
844
|
/* @__PURE__ */ $(la, { ...s, children: /* @__PURE__ */ $(ne, { children: (l) => /* @__PURE__ */ $(re, { segment: l }) }) }),
|
|
842
845
|
f === "bottom" && /* @__PURE__ */ $(Y, { children: i }),
|
|
@@ -844,7 +847,7 @@ const Za = ha("CalendarDays", [
|
|
|
844
847
|
]
|
|
845
848
|
}
|
|
846
849
|
);
|
|
847
|
-
},
|
|
850
|
+
}, bl = ({
|
|
848
851
|
className: e,
|
|
849
852
|
description: a,
|
|
850
853
|
errorMessage: i,
|
|
@@ -857,12 +860,12 @@ const Za = ha("CalendarDays", [
|
|
|
857
860
|
return /* @__PURE__ */ H(
|
|
858
861
|
Ia,
|
|
859
862
|
{
|
|
860
|
-
className: Q(
|
|
863
|
+
className: Q(U.datePicker, e),
|
|
861
864
|
ref: t,
|
|
862
865
|
...s,
|
|
863
866
|
children: [
|
|
864
|
-
/* @__PURE__ */ $(
|
|
865
|
-
a && /* @__PURE__ */ $(
|
|
867
|
+
/* @__PURE__ */ $(Ie, { popover: c, children: u && /* @__PURE__ */ $(Ze, { children: u }) }),
|
|
868
|
+
a && /* @__PURE__ */ $(Me, { slot: "description", children: a }),
|
|
866
869
|
f === "top" && /* @__PURE__ */ $(Y, { children: i }),
|
|
867
870
|
/* @__PURE__ */ H(la, { ...s, children: [
|
|
868
871
|
/* @__PURE__ */ $(ne, { slot: "start", children: (l) => /* @__PURE__ */ $(re, { segment: l }) }),
|
|
@@ -876,6 +879,6 @@ const Za = ha("CalendarDays", [
|
|
|
876
879
|
);
|
|
877
880
|
};
|
|
878
881
|
export {
|
|
879
|
-
|
|
880
|
-
|
|
882
|
+
fl as D,
|
|
883
|
+
bl as a
|
|
881
884
|
};
|