@midas-ds/components 11.1.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AccordionItem-DEiRuizp.js +361 -0
- package/AccordionItem-Dhr7uo8u.cjs +1 -0
- package/BadgeContainer-CxVmqJ7g.cjs +1 -0
- package/BadgeContainer-DGJGJMPi.js +37 -0
- package/{Breadcrumbs-BBzSV4SK.js → Breadcrumbs-CEyKlcGU.js} +11 -11
- package/{Breadcrumbs-CFUryOhf.cjs → Breadcrumbs-CnGzvtbn.cjs} +1 -1
- package/{Button-Dq6ugqxT.cjs → Button-DQm2iqKU.cjs} +1 -1
- package/{Button-DExMoP5f.cjs → Button-DZzQGk-L.cjs} +1 -1
- package/{Button-CepQFEit.js → Button-DtC_ZOyd.js} +12 -12
- package/{Button-BjMaGya2.js → Button-akT6Hvug.js} +1 -1
- package/CHANGELOG.md +74 -0
- package/{Card-BRs1FKX5.js → Card-CwwVnA_a.js} +5 -5
- package/Card-DPfOZC7f.cjs +1 -0
- package/{CharacterCounter-DpBDwvLw.js → CharacterCounter-DPphWPzA.js} +5 -5
- package/{CharacterCounter-DSFBv3Rw.cjs → CharacterCounter-DQJVM-mZ.cjs} +1 -1
- package/{Checkbox-EB_SCBEo.js → Checkbox-BN_3F2Hl.js} +21 -21
- package/{Checkbox-Co3h0hur.cjs → Checkbox-CZtCj4yR.cjs} +1 -1
- package/{CheckboxGroup-oosHSGAt.js → CheckboxGroup--xgOT1Do.js} +11 -11
- package/{CheckboxGroup-CT_eqERw.cjs → CheckboxGroup-DGHaqRvb.cjs} +1 -1
- package/{Collection-BtBX5IMY.cjs → Collection-B1xL4EdF.cjs} +1 -1
- package/{Collection-D2jVTmDW.js → Collection-C5vE9MtJ.js} +11 -11
- package/{ColorSchemeSwitch-owUryjYz.cjs → ColorSchemeSwitch-DtyJ9-5B.cjs} +3 -3
- package/{ColorSchemeSwitch-Cnyb9EKC.js → ColorSchemeSwitch-DyZ9FAKG.js} +12 -12
- package/{ComboBox-D4MsSPBu.js → ComboBox-Dn3tQzri.js} +93 -97
- package/{ComboBox-CQ49PhNd.cjs → ComboBox-UadZMhiR.cjs} +1 -1
- package/{DateField-BURrxhil.cjs → DateField-CNEoLyf5.cjs} +1 -1
- package/{DateField-COs1-CkQ.js → DateField-CZmLugT0.js} +4 -4
- package/{DateInputDivider-ToFY-yjB.cjs → DateInputDivider-CCjiq90K.cjs} +1 -1
- package/{DateInputDivider-B3oE1_tB.js → DateInputDivider-CJEGWmG0.js} +22 -22
- package/DateRangePicker-DhgLEa9P.cjs +6 -0
- package/{DateRangePicker-CvEycxmX.js → DateRangePicker-WQ97Psz7.js} +184 -197
- package/{Dialog-DtHk3eXI.cjs → Dialog-BT0tVGQb.cjs} +1 -1
- package/{Dialog-DKHo0W9B.js → Dialog-BuJdAr0D.js} +48 -48
- package/Dialog-DYK8lySl.cjs +1 -0
- package/Dialog-L53DWF0Z.js +220 -0
- package/{DragAndDrop-DOXLfJaA.js → DragAndDrop-DKxsUpmW.js} +9 -9
- package/{DragAndDrop-CSg60YQE.cjs → DragAndDrop-Dgfq6uJ0.cjs} +1 -1
- package/{Dropdown-D6WCi_Ll.js → Dropdown-BWbdSQ9U.js} +35 -34
- package/Dropdown-CJ-sujKv.cjs +6 -0
- package/FieldError-BlKkw9YL.js +46 -0
- package/{FieldError-Bv3Q6ZP-.cjs → FieldError-BvU0sueN.cjs} +1 -1
- package/{FileUpload-BokzdXVc.js → FileUpload-B89QfnCB.js} +13 -13
- package/{FileUpload-Bz9md5zc.cjs → FileUpload-KQ1XAKAc.cjs} +1 -1
- package/{FocusScope-vcXLOQiu.cjs → FocusScope-CAgWgk3N.cjs} +1 -1
- package/{FocusScope-BCsrRPqD.js → FocusScope-CEgd3xCY.js} +17 -17
- package/{Grid--OhtgCo6.js → Grid-B2av0vt8.js} +6 -9
- package/Grid-Db5wZrw6.cjs +1 -0
- package/{GridItem-XgHmZWXY.cjs → GridItem-BnyULDnc.cjs} +1 -1
- package/{GridItem-DlbSdRmB.js → GridItem-orSzD7H5.js} +27 -30
- package/{Group-B0vQfHDy.js → Group-B3mRMVy7.js} +11 -11
- package/{Group-DOpbdoAi.cjs → Group-Cdy6z9ra.cjs} +1 -1
- package/{Heading-D2y_kiC0.js → Heading-DDhdwRAW.js} +7 -7
- package/Heading-OUPkdoEJ.cjs +1 -0
- package/{Hidden-C9KWUR7b.js → Hidden-B5ir3Lei.js} +2 -2
- package/InfoBanner-DpLcq_1R.cjs +1 -0
- package/InfoBanner-U5hxOipC.js +99 -0
- package/{Input-n-Z20KbW.js → Input-BnpBRnJz.js} +9 -9
- package/{Input-MJji5hhq.cjs → Input-DIhhWEPW.cjs} +1 -1
- package/{Label-DA6FZwy0.js → Label-ByWt6Lfh.js} +24 -24
- package/Label-COpr4xVt.cjs +1 -0
- package/Layout-BR3Or1Ga.cjs +16 -0
- package/Layout-Bdqauktv.js +498 -0
- package/{Link-CibH8uRY.js → Link-CM2N5Jq-.js} +7 -7
- package/{Link-ovwNVMfg.js → Link-Dnnv00g9.js} +1 -1
- package/{Link-ESjrl63P.cjs → Link-Dq8IFDBx.cjs} +1 -1
- package/{Link-CidjjqHb.cjs → Link-ceVlGaWQ.cjs} +1 -1
- package/{LinkButton-B6AWNiRn.cjs → LinkButton-BJA9_HzL.cjs} +1 -1
- package/{LinkButton-BkZULm2a.js → LinkButton-DH3Nfdis.js} +1 -1
- package/{ListBox-B0E1hdEt.cjs → ListBox-D0u9svwm.cjs} +1 -1
- package/{ListBox-CsxDGpCA.js → ListBox-y_dw__MI.js} +16 -16
- package/{ListBoxButton-BsuHFd_O.cjs → ListBoxButton-C2zp-gXD.cjs} +1 -1
- package/{ListBoxButton-DawRfuny.js → ListBoxButton-DiseS_LX.js} +1 -1
- package/{ListBoxSection-Cc2cx0_S.js → ListBoxSection-Cv-gN76G.js} +376 -376
- package/{ListBoxSection-C-Rz358T.cjs → ListBoxSection-DtsigmC1.cjs} +1 -1
- package/{ListKeyboardDelegate-ZKBk2IId.cjs → ListKeyboardDelegate-fZKXmHAk.cjs} +1 -1
- package/{ListKeyboardDelegate-C-sPNj0f.js → ListKeyboardDelegate-mcrZobNa.js} +2 -2
- package/{Logo-BpH0HC91.cjs → Logo-BW5NXAdu.cjs} +1 -1
- package/{Logo-ME4ffCue.js → Logo-qkVS1MCN.js} +1 -1
- package/{OverlayArrow-DpZ1FqOd.cjs → OverlayArrow-8praV_Xy.cjs} +1 -1
- package/{OverlayArrow-DB_aVTVM.js → OverlayArrow-DfkRZlgG.js} +4 -4
- package/{Popover-BDvKByTT.cjs → Popover-C5chAY42.cjs} +1 -1
- package/{Popover-DHoXfBp2.js → Popover-viLqHHX2.js} +2 -2
- package/{PressResponder-C3APAKsz.js → PressResponder-B_Zqu7b1.js} +9 -9
- package/PressResponder-Bm3_RM9c.cjs +1 -0
- package/{ProgressBar-ClysdvqU.cjs → ProgressBar-D5mNQTID.cjs} +1 -1
- package/{ProgressBar-C0IBfi5I.js → ProgressBar-wQirOG1N.js} +2 -2
- package/{Radio-B6N9dCtB.js → Radio-BIomn_sP.js} +23 -23
- package/{Radio-Cz0vLIBw.cjs → Radio-CxvJ5Wrl.cjs} +1 -1
- package/{RangeCalendar-BY82hPRu.cjs → RangeCalendar-BvvZ2SBj.cjs} +1 -1
- package/{RangeCalendar-BCruEq9d.js → RangeCalendar-DGGMbb0j.js} +19 -19
- package/{SSRProvider-40TXmsUG.js → SSRProvider-D8lZ0o6A.js} +5 -5
- package/{SSRProvider-Bc-sMhsT.cjs → SSRProvider-DZRLwxPS.cjs} +1 -1
- package/{SearchField-nwlyszwt.js → SearchField-B0dlPqsW.js} +6 -6
- package/{SearchField-QFyuaT-K.cjs → SearchField-Ma3KB8Em.cjs} +2 -2
- package/{Select-DMVj2lrG.js → Select-769RSZ9V.js} +114 -114
- package/{Select-DiCEyap1.cjs → Select-Go5x0zWl.cjs} +1 -1
- package/{SelectionManager-BubxiIKu.js → SelectionManager-BdKKuso-.js} +9 -9
- package/{SelectionManager-BJjqIWtf.cjs → SelectionManager-BvREZgeu.cjs} +1 -1
- package/{Separator-CEZ5y7tZ.js → Separator-CggS0R7Q.js} +4 -4
- package/{Separator-DPLEx950.cjs → Separator-DBsDhqCr.cjs} +1 -1
- package/{Spinner-VSyPhiJ9.js → Spinner-AXFRWuT6.js} +2 -2
- package/{Spinner-vof0Y9Hh.cjs → Spinner-yHx_DX_4.cjs} +1 -1
- package/TabList-0gj27e_e.js +386 -0
- package/TabList-Cqpup53E.cjs +1 -0
- package/Table-BhtlNY9P.cjs +16 -0
- package/{Table-B5Aine4F.js → Table-CTS0J_sQ.js} +289 -268
- package/{Tag-Byva_Xuy.js → Tag-B9M-nBTM.js} +49 -49
- package/{Tag-bYq-wf5D.cjs → Tag-DkW6zaIS.cjs} +1 -1
- package/{Text-DcZqSUN9.js → Text--KL3Auo7.js} +3 -3
- package/{Text-BPcfhYQ9.js → Text-BUDAzDjW.js} +1 -1
- package/{Text-DBHWi5gA.cjs → Text-DA_gK6a2.cjs} +1 -1
- package/{Text-CfcjRtke.cjs → Text-wuw0HQoa.cjs} +1 -1
- package/TextArea-CSrrYY05.cjs +1 -0
- package/{TextArea-eK7Jx3qs.js → TextArea-DphcH6wE.js} +16 -16
- package/{TextField-Dma22dnD.js → TextField-CsyRTSEG.js} +13 -13
- package/{TextField-BAX93sq7.cjs → TextField-P5yICj5z.cjs} +1 -1
- package/Toast-BEh5yYzO.cjs +1 -0
- package/{Toast-CWt_mNIg.js → Toast-BnzpC_5v.js} +130 -137
- package/{ToggleButtonGroup-DZ_wo0qx.cjs → ToggleButtonGroup-BwFAhFEi.cjs} +1 -1
- package/{ToggleButtonGroup-HjvaTYD4.js → ToggleButtonGroup-CuxAKB3-.js} +7 -7
- package/{Tooltip-pN5W3IK6.cjs → Tooltip-Bz0xCZSw.cjs} +1 -1
- package/{Tooltip-DjNc93tV.js → Tooltip-EuEQtHZj.js} +12 -12
- package/{VisuallyHidden-CYfmTSCD.js → VisuallyHidden-BKslUoMJ.js} +8 -8
- package/{VisuallyHidden-Doyzl0F7.cjs → VisuallyHidden-DxDOcIsh.cjs} +1 -1
- package/accordion/Accordion.d.ts +8 -2
- package/accordion/AccordionContext.d.ts +4 -0
- package/accordion/AccordionItem.d.ts +6 -4
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +1 -1
- package/assets/AccordionItem.css +1 -1
- package/assets/BadgeContainer.css +1 -1
- package/assets/Button.css +1 -1
- package/assets/DateRangePicker.css +1 -1
- package/assets/Dialog.css +1 -1
- package/assets/Layout.css +1 -1
- package/assets/LinkButton.css +1 -1
- package/assets/ListBoxSection.css +1 -1
- package/assets/Table.css +1 -1
- package/assets/theme.css +1 -0
- package/badge/index.cjs +1 -1
- package/badge/index.js +1 -1
- package/breadcrumbs/Breadcrumbs.d.ts +0 -2
- package/breadcrumbs/index.cjs +1 -1
- package/breadcrumbs/index.js +1 -1
- package/button/index.cjs +1 -1
- package/button/index.js +1 -1
- package/calendar/index.cjs +1 -1
- package/calendar/index.js +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/checkbox/index.cjs +1 -1
- package/checkbox/index.js +2 -2
- package/color-scheme-switch/index.cjs +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/combobox/ComboBox.d.ts +0 -4
- package/combobox/index.cjs +1 -1
- package/combobox/index.d.ts +1 -2
- package/combobox/index.js +2 -3
- package/combobox/types.d.ts +0 -13
- package/common/icon-map.d.ts +6 -0
- package/common/types.d.ts +8 -0
- package/{context-CGNJ3grH.js → context-Dl_saGB6.js} +11 -11
- package/{context-Df3XbgBG.cjs → context-UOrD6Zxk.cjs} +1 -1
- package/date-field/index.cjs +1 -1
- package/date-field/index.js +2 -2
- package/date-picker/DatePickerPopover.d.ts +1 -1
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +1 -1
- package/dropdown/Dropdown.d.ts +7 -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/index.cjs +1 -1
- package/file-upload/index.js +1 -1
- package/grid/Grid.d.ts +0 -8
- package/grid/GridItem.d.ts +0 -8
- package/grid/index.cjs +1 -1
- package/grid/index.d.ts +2 -2
- package/grid/index.js +4 -6
- package/heading/index.cjs +1 -1
- package/heading/index.js +1 -1
- package/icon-map-9XcghDra.cjs +11 -0
- package/icon-map-uS87FT_Q.js +43 -0
- package/{index-CGRFP4CC.js → index-BSMrH_Du.js} +7 -7
- package/{index-Dsz3aiWt.cjs → index-D97L3EBk.cjs} +2 -2
- package/index.cjs +1 -1
- package/index.js +108 -111
- package/inertValue-BWmZ1afe.cjs +1 -0
- package/info-banner/InfoBanner.d.ts +18 -10
- package/info-banner/index.cjs +1 -1
- package/info-banner/index.js +1 -1
- package/label/index.cjs +1 -1
- package/label/index.js +1 -1
- package/layout/index.cjs +1 -1
- package/layout/index.js +1 -1
- package/link/index.cjs +1 -1
- package/link/index.js +2 -2
- 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/{mergeProps-C1U1OIeJ.js → mergeProps-BYJQ6N1s.js} +11 -11
- package/{mergeProps-B5KXZAI3.cjs → mergeProps-C7Sx47fA.cjs} +1 -1
- package/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/package.json +4 -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/index.cjs +1 -1
- package/radio/index.js +1 -1
- package/search-field/index.cjs +1 -1
- package/search-field/index.js +1 -1
- package/select/index.cjs +1 -1
- package/select/index.d.ts +1 -1
- package/select/index.js +1 -1
- package/select/types.d.ts +1 -13
- package/spinner/index.cjs +1 -1
- package/spinner/index.js +1 -1
- package/table/Table.d.ts +7 -12
- package/table/index.cjs +1 -1
- package/table/index.js +1 -1
- package/tabs/Tabs.d.ts +0 -12
- package/tabs/index.cjs +1 -1
- package/tabs/index.js +1 -1
- package/tag/Tag.d.ts +2 -1
- 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/theme/index.cjs +1 -1
- package/theme/index.d.ts +37 -12
- package/theme/index.js +12 -11
- package/theme/tokens.d.ts +37 -18
- package/toast/Toast.d.ts +2 -1
- 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-BWo7EvNX.cjs +1 -0
- package/{tokens-r1r3wC04.js → tokens-BtEBd3jO.js} +82 -43
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/{useButton-BoIV3kDJ.js → useButton-CWHoXYnj.js} +3 -3
- package/{useButton-D60q0SQw.cjs → useButton-CwOQUGtY.cjs} +1 -1
- package/{useDateFormatter-C7BJgoDR.js → useDateFormatter-DiIUdTak.js} +2 -2
- package/{useDateFormatter-BJBt0jk_.cjs → useDateFormatter-bzjwqA2K.cjs} +1 -1
- package/{useDescription-CPo72trh.cjs → useDescription-ByNlNIRU.cjs} +1 -1
- package/{useDescription-DYfKjGGU.js → useDescription-LmB1V4Tg.js} +1 -1
- package/useEvent-CGRyLM2c.cjs +1 -0
- package/{useEvent-CigwyJOw.js → useEvent-DqWz89vg.js} +1 -1
- package/{useField-CefQB81E.js → useField-5CEdtfab.js} +2 -2
- package/{useField-D1UkzeaI.cjs → useField-CoQAzygg.cjs} +1 -1
- package/{useFilter-DginflOU.js → useFilter-BKQT28sh.js} +1 -1
- package/{useFilter-BhM2yVO3.cjs → useFilter-Bjh5dq2Q.cjs} +1 -1
- package/{useFocusRing-B-A1OLhU.cjs → useFocusRing-BM-zcH6L.cjs} +1 -1
- package/{useFocusRing-DOfBqnUN.js → useFocusRing-HoJn20X5.js} +2 -2
- package/{useFocusWithin-T1ifEM_s.js → useFocusWithin-Cn18Myw6.js} +1 -1
- package/{useFocusWithin-CG8mAt2D.cjs → useFocusWithin-o0WjCpEB.cjs} +1 -1
- package/{useFocusable-D7I1ujkW.cjs → useFocusable-DbmryjUH.cjs} +1 -1
- package/{useFocusable-BjE42axF.js → useFocusable-ZjCKo1ed.js} +14 -14
- package/{useFormValidation-BzzruZKm.js → useFormValidation-BW2NSTM4.js} +2 -2
- package/{useFormValidation-BlFGdPZB.cjs → useFormValidation-DSRwb9US.cjs} +1 -1
- package/useHasTabbableChild-CogBR_6o.cjs +1 -0
- package/{useHasTabbableChild-DP62kzkG.js → useHasTabbableChild-CyOmqumh.js} +2 -2
- package/{useHighlightSelectionDescription-DmbDkFGY.cjs → useHighlightSelectionDescription-DAhPdEG6.cjs} +1 -1
- package/{useHighlightSelectionDescription-xr_16pKd.js → useHighlightSelectionDescription-DTxHtOsw.js} +5 -5
- package/{useHover-BE_XKZKe.cjs → useHover-CaFzQrR_.cjs} +1 -1
- package/{useHover-DQvJ3Y-W.js → useHover-D8fja4GW.js} +6 -6
- package/{useLabels-CSU0kbtJ.cjs → useLabels-BtDN_ALM.cjs} +1 -1
- package/{useLabels-LrKQiY11.js → useLabels-DZlvh4P4.js} +1 -1
- package/{useListState-wLau6fXo.cjs → useListState-TtWy_rDI.cjs} +1 -1
- package/{useListState-DNB7JWoj.js → useListState-e7cL-FOK.js} +1 -1
- package/{useLocalizedStringFormatter-BO2iZEL0.cjs → useLocalizedStringFormatter-BSac43NO.cjs} +1 -1
- package/useLocalizedStringFormatter-CHAo1AyN.cjs +1 -0
- package/{useLocalizedStringFormatter-CL9MUZ8A.js → useLocalizedStringFormatter-CSEh15AZ.js} +1 -1
- package/{useLocalizedStringFormatter-N0AyjzbM.js → useLocalizedStringFormatter-aOhh7wdl.js} +1 -1
- package/useObserveElement-BzEr5D32.cjs +1 -0
- package/{usePress-BooY_CAy.cjs → usePress-BOGIOlm8.cjs} +2 -2
- package/{usePress-BW47IcyU.js → usePress-B_jgTf4k.js} +105 -105
- package/{useSingleSelectListState-DlO5H9N-.cjs → useSingleSelectListState-BiJMNaOl.cjs} +1 -1
- package/{useSingleSelectListState-B0OMoHd_.js → useSingleSelectListState-D7LjjoUJ.js} +1 -1
- package/{useTextField-DnRrCg5o.cjs → useTextField-BVIOd8Ld.cjs} +1 -1
- package/{useTextField-DjxayZsV.js → useTextField-DFkSHoQN.js} +11 -11
- package/{useUpdateEffect-C5YQs_1w.cjs → useUpdateEffect-sk3kiVGz.cjs} +1 -1
- package/{utils-DHNZrQmj.cjs → utils-BM2vxlNA.cjs} +1 -1
- package/{utils-Dvdohqm9.cjs → utils-C5-CzvX2.cjs} +1 -1
- package/{utils-CoCR_Fce.js → utils-CuqJqFqQ.js} +1 -1
- package/{utils-KLjWgdLR.js → utils-KYuflGZt.js} +10 -10
- package/AccordionItem-BPOQqTkQ.js +0 -323
- package/AccordionItem-CS-QKqrU.cjs +0 -1
- package/BadgeContainer-CKBIZWsc.js +0 -37
- package/BadgeContainer-DWVHS5dn.cjs +0 -1
- package/Card-cdL5669N.cjs +0 -1
- package/DateRangePicker-Bfibl08v.cjs +0 -6
- package/Dialog-B3R3WtL5.cjs +0 -1
- package/Dialog-BkUw6PlA.js +0 -221
- package/Dropdown-CYakzdJg.cjs +0 -6
- package/FieldError-CDCvUjK5.js +0 -46
- package/Grid-DVQtOcu9.cjs +0 -1
- package/Heading-CKTR4sOz.cjs +0 -1
- package/InfoBanner-CzwbOdRG.cjs +0 -1
- package/InfoBanner-D05poAe3.js +0 -91
- package/Label-ChjDdBlv.cjs +0 -1
- package/Layout-BwLxIwtY.cjs +0 -16
- package/Layout-CcADAhds.js +0 -498
- package/PressResponder-4jE_HLu3.cjs +0 -1
- package/TabList-BkSWzbDG.cjs +0 -1
- package/TabList-QApx8qRC.js +0 -435
- package/Table-DGYC-sDq.cjs +0 -16
- package/TextArea-DJKHFKuI.cjs +0 -1
- package/Toast-DdmSvNaO.cjs +0 -1
- package/circle-check-BErh6TKu.js +0 -26
- package/circle-check-OVUGxwp9.cjs +0 -11
- package/inertValue-B3AFhVG4.cjs +0 -1
- package/tokens-BF-dPard.cjs +0 -1
- package/triangle-alert-B_qAPmWC.js +0 -21
- package/triangle-alert-BviJNFjf.cjs +0 -6
- package/useEvent-DPxMu-X9.cjs +0 -1
- package/useHasTabbableChild-CoQRpNbC.cjs +0 -1
- package/useLocalizedStringFormatter-BiX5BTlb.cjs +0 -1
- package/useObserveElement-MhzEsCkX.cjs +0 -1
|
@@ -1,51 +1,50 @@
|
|
|
1
1
|
import { jsxs as H, jsx as $ } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { c as
|
|
5
|
-
import { $ as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { $ as
|
|
12
|
-
import {
|
|
13
|
-
import { $ as
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { a as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { $ as Xe } from "./
|
|
24
|
-
import { $ as He } from "./
|
|
25
|
-
import { $ as Je } from "./
|
|
26
|
-
import { $ as Qe } from "./
|
|
27
|
-
import { $ as Ye } from "./
|
|
28
|
-
import {
|
|
29
|
-
import
|
|
30
|
-
import './assets/DateRangePicker.css';function ga(e) {
|
|
2
|
+
import { c as J } from "./clsx-OuTLNxxd.js";
|
|
3
|
+
import { $ as ta, a as da, C as na, R as ra } from "./RangeCalendar-DGGMbb0j.js";
|
|
4
|
+
import { c as Ve, d as De, e as xe, f as oa, g as Fe, h as sa, i as q, j, k as ua, l as Re, a as ne, D as re, b as ca } from "./DateInputDivider-CJEGWmG0.js";
|
|
5
|
+
import { $ as Ce, F as Q } from "./FieldError-BlKkw9YL.js";
|
|
6
|
+
import { a as Oe, L as Te } from "./Label-ByWt6Lfh.js";
|
|
7
|
+
import { T as Ie } from "./Text-BUDAzDjW.js";
|
|
8
|
+
import { e as ce, b as fe, $ as fa } from "./Button-DtC_ZOyd.js";
|
|
9
|
+
import { $ as Ze, c as Me, d as Be, e as ke, a as _e, f as we } from "./utils-KYuflGZt.js";
|
|
10
|
+
import { i as Ee, m as pe, n as Se, a as ba, l as va } from "./Dialog-BuJdAr0D.js";
|
|
11
|
+
import { $ as Ne } from "./Form-CXcEMuBf.js";
|
|
12
|
+
import { a as be, $ as ma } from "./Group-B3mRMVy7.js";
|
|
13
|
+
import { $ as ve } from "./Text--KL3Auo7.js";
|
|
14
|
+
import { $ as ee } from "./filterDOMProps-D6KHYVBX.js";
|
|
15
|
+
import { a as Ue, g as We } from "./OverlayArrow-DfkRZlgG.js";
|
|
16
|
+
import Y, { useMemo as W, useRef as z, useState as L, forwardRef as Le, createContext as ae, useCallback as Ke } from "react";
|
|
17
|
+
import { $ as G, a as oe, b as se } from "./useDateFormatter-DiIUdTak.js";
|
|
18
|
+
import { d as ue, e as ye, c as Pe, $ as je } from "./useFormValidation-BW2NSTM4.js";
|
|
19
|
+
import { $ as ze } from "./useControlledState-u436Wbp1.js";
|
|
20
|
+
import { b as qe } from "./FocusScope-CEgd3xCY.js";
|
|
21
|
+
import { c as A, a as Ge } from "./mergeProps-BYJQ6N1s.js";
|
|
22
|
+
import { $ as Ae } from "./useDescription-LmB1V4Tg.js";
|
|
23
|
+
import { $ as Xe } from "./useFocusWithin-Cn18Myw6.js";
|
|
24
|
+
import { $ as He } from "./useField-5CEdtfab.js";
|
|
25
|
+
import { $ as Je } from "./context-Dl_saGB6.js";
|
|
26
|
+
import { $ as Qe } from "./useLocalizedStringFormatter-CSEh15AZ.js";
|
|
27
|
+
import { $ as Ye } from "./useFocusRing-HoJn20X5.js";
|
|
28
|
+
import { c as $a } from "./createLucideIcon-XRdN60yz.js";
|
|
29
|
+
import './assets/DateRangePicker.css';function ha(e) {
|
|
31
30
|
return e && e.__esModule ? e.default : e;
|
|
32
31
|
}
|
|
33
|
-
function
|
|
34
|
-
let f = A(), u = A(), c = A(), s =
|
|
32
|
+
function ga(e, a, i) {
|
|
33
|
+
let f = A(), u = A(), c = A(), s = Qe(ha(xe), "@react-aria/datepicker"), { isInvalid: t, validationErrors: l, validationDetails: x } = a.displayValidation, { labelProps: B, fieldProps: b, descriptionProps: k, errorMessageProps: F } = He({
|
|
35
34
|
...e,
|
|
36
35
|
labelElementType: "span",
|
|
37
36
|
isInvalid: t,
|
|
38
37
|
errorMessage: e.errorMessage || l
|
|
39
|
-
}), R =
|
|
38
|
+
}), R = Ve(a, i), C = b["aria-labelledby"] || b.id, { locale: v } = Je(), O = a.formatValue(v, {
|
|
40
39
|
month: "long"
|
|
41
40
|
}), d = O ? s.format("selectedDateDescription", {
|
|
42
41
|
date: O
|
|
43
|
-
}) : "", T =
|
|
42
|
+
}) : "", T = Ae(d), I = [
|
|
44
43
|
T["aria-describedby"],
|
|
45
44
|
b["aria-describedby"]
|
|
46
|
-
].filter(Boolean).join(" ") || void 0, P =
|
|
45
|
+
].filter(Boolean).join(" ") || void 0, P = ee(e), Z = W(() => qe(i), [
|
|
47
46
|
i
|
|
48
|
-
]), M = z(!1), { focusWithinProps: D } =
|
|
47
|
+
]), M = z(!1), { focusWithinProps: D } = Xe({
|
|
49
48
|
...e,
|
|
50
49
|
isDisabled: a.isOpen,
|
|
51
50
|
onBlurWithin: (y) => {
|
|
@@ -63,7 +62,7 @@ function ya(e, a, i) {
|
|
|
63
62
|
}
|
|
64
63
|
});
|
|
65
64
|
return {
|
|
66
|
-
groupProps:
|
|
65
|
+
groupProps: Ge(P, R, b, T, D, {
|
|
67
66
|
role: "group",
|
|
68
67
|
"aria-disabled": e.isDisabled || null,
|
|
69
68
|
"aria-labelledby": C,
|
|
@@ -84,7 +83,7 @@ function ya(e, a, i) {
|
|
|
84
83
|
fieldProps: {
|
|
85
84
|
...b,
|
|
86
85
|
id: c,
|
|
87
|
-
[
|
|
86
|
+
[De]: "presentation",
|
|
88
87
|
"aria-describedby": I,
|
|
89
88
|
value: a.value,
|
|
90
89
|
onChange: a.setValue,
|
|
@@ -137,39 +136,39 @@ function ya(e, a, i) {
|
|
|
137
136
|
validationDetails: x
|
|
138
137
|
};
|
|
139
138
|
}
|
|
140
|
-
function
|
|
139
|
+
function ya(e) {
|
|
141
140
|
return e && e.__esModule ? e.default : e;
|
|
142
141
|
}
|
|
143
|
-
function
|
|
142
|
+
function Pa(e, a, i) {
|
|
144
143
|
var f, u, c;
|
|
145
|
-
let s =
|
|
144
|
+
let s = Qe(ya(xe), "@react-aria/datepicker"), { isInvalid: t, validationErrors: l, validationDetails: x } = a.displayValidation, { labelProps: B, fieldProps: b, descriptionProps: k, errorMessageProps: F } = He({
|
|
146
145
|
...e,
|
|
147
146
|
labelElementType: "span",
|
|
148
147
|
isInvalid: t,
|
|
149
148
|
errorMessage: e.errorMessage || l
|
|
150
|
-
}), R = b["aria-labelledby"] || b.id, { locale: C } =
|
|
149
|
+
}), R = b["aria-labelledby"] || b.id, { locale: C } = Je(), v = a.formatValue(C, {
|
|
151
150
|
month: "long"
|
|
152
151
|
}), O = v ? s.format("selectedRangeDescription", {
|
|
153
152
|
startDate: v.start,
|
|
154
153
|
endDate: v.end
|
|
155
|
-
}) : "", d =
|
|
154
|
+
}) : "", d = Ae(O), T = {
|
|
156
155
|
"aria-label": s.format("startDate"),
|
|
157
156
|
"aria-labelledby": R
|
|
158
157
|
}, I = {
|
|
159
158
|
"aria-label": s.format("endDate"),
|
|
160
159
|
"aria-labelledby": R
|
|
161
|
-
}, P = A(), Z = A(), M =
|
|
160
|
+
}, P = A(), Z = A(), M = Ve(a, i), D = [
|
|
162
161
|
d["aria-describedby"],
|
|
163
162
|
b["aria-describedby"]
|
|
164
|
-
].filter(Boolean).join(" ") || void 0, y = W(() =>
|
|
163
|
+
].filter(Boolean).join(" ") || void 0, y = W(() => qe(i, {
|
|
165
164
|
// Exclude the button from the focus manager.
|
|
166
165
|
accept: (r) => r.id !== P
|
|
167
166
|
}), [
|
|
168
167
|
i,
|
|
169
168
|
P
|
|
170
169
|
]), V = {
|
|
171
|
-
[
|
|
172
|
-
[
|
|
170
|
+
[oa]: y,
|
|
171
|
+
[De]: "presentation",
|
|
173
172
|
"aria-describedby": D,
|
|
174
173
|
placeholderValue: e.placeholderValue,
|
|
175
174
|
hideTimeZone: e.hideTimeZone,
|
|
@@ -180,7 +179,7 @@ function Va(e, a, i) {
|
|
|
180
179
|
isReadOnly: e.isReadOnly,
|
|
181
180
|
isRequired: e.isRequired,
|
|
182
181
|
validationBehavior: e.validationBehavior
|
|
183
|
-
}, o =
|
|
182
|
+
}, o = ee(e), g = z(!1), { focusWithinProps: E } = Xe({
|
|
184
183
|
...e,
|
|
185
184
|
isDisabled: a.isOpen,
|
|
186
185
|
onBlurWithin: (r) => {
|
|
@@ -196,10 +195,10 @@ function Va(e, a, i) {
|
|
|
196
195
|
g.current = !0, (h = e.onFocus) === null || h === void 0 || h.call(e, r), (_ = e.onFocusChange) === null || _ === void 0 || _.call(e, !0);
|
|
197
196
|
}
|
|
198
197
|
}
|
|
199
|
-
}),
|
|
198
|
+
}), p = z(ye), X = z(ye);
|
|
200
199
|
var n, m;
|
|
201
200
|
return {
|
|
202
|
-
groupProps:
|
|
201
|
+
groupProps: Ge(o, M, b, d, E, {
|
|
203
202
|
role: "group",
|
|
204
203
|
"aria-disabled": e.isDisabled || null,
|
|
205
204
|
"aria-describedby": D,
|
|
@@ -242,7 +241,7 @@ function Va(e, a, i) {
|
|
|
242
241
|
realtimeValidation: a.realtimeValidation,
|
|
243
242
|
displayValidation: a.displayValidation,
|
|
244
243
|
updateValidation(r) {
|
|
245
|
-
|
|
244
|
+
p.current = r, a.updateValidation(Pe(r, X.current));
|
|
246
245
|
},
|
|
247
246
|
resetValidation: a.resetValidation,
|
|
248
247
|
commitValidation: a.commitValidation
|
|
@@ -258,7 +257,7 @@ function Va(e, a, i) {
|
|
|
258
257
|
realtimeValidation: a.realtimeValidation,
|
|
259
258
|
displayValidation: a.displayValidation,
|
|
260
259
|
updateValidation(r) {
|
|
261
|
-
X.current = r, a.updateValidation(
|
|
260
|
+
X.current = r, a.updateValidation(Pe(p.current, r));
|
|
262
261
|
},
|
|
263
262
|
resetValidation: a.resetValidation,
|
|
264
263
|
commitValidation: a.commitValidation
|
|
@@ -285,8 +284,8 @@ function Va(e, a, i) {
|
|
|
285
284
|
validationDetails: x
|
|
286
285
|
};
|
|
287
286
|
}
|
|
288
|
-
function
|
|
289
|
-
let a =
|
|
287
|
+
function Va(e) {
|
|
288
|
+
let a = Ue(e), [i, f] = ze(e.value, e.defaultValue || null, e.onChange), u = i || e.placeholderValue || null, [c, s] = Fe(u, e.granularity), t = i != null ? i.toDate(s ?? "UTC") : null, l = c === "hour" || c === "minute" || c === "second";
|
|
290
289
|
var x;
|
|
291
290
|
let B = (x = e.shouldCloseOnSelect) !== null && x !== void 0 ? x : !0, [b, k] = L(null), [F, R] = L(null);
|
|
292
291
|
if (i && (b = i, "hour" in i && (F = i)), u && !(c in u)) throw new Error("Invalid granularity " + c + " for value " + u.toString());
|
|
@@ -304,13 +303,13 @@ function Da(e) {
|
|
|
304
303
|
s,
|
|
305
304
|
e.hideTimeZone,
|
|
306
305
|
C
|
|
307
|
-
]), { minValue: O, maxValue: d, isDateUnavailable: T } = e, I = W(() =>
|
|
306
|
+
]), { minValue: O, maxValue: d, isDateUnavailable: T } = e, I = W(() => sa(i, O, d, T, v), [
|
|
308
307
|
i,
|
|
309
308
|
O,
|
|
310
309
|
d,
|
|
311
310
|
T,
|
|
312
311
|
v
|
|
313
|
-
]), P =
|
|
312
|
+
]), P = je({
|
|
314
313
|
...e,
|
|
315
314
|
value: i,
|
|
316
315
|
builtinValidation: I
|
|
@@ -340,21 +339,21 @@ function Da(e) {
|
|
|
340
339
|
isInvalid: Z,
|
|
341
340
|
formatValue(o, g) {
|
|
342
341
|
if (!t) return "";
|
|
343
|
-
let
|
|
344
|
-
return new G(o,
|
|
342
|
+
let E = q(g, v);
|
|
343
|
+
return new G(o, E).format(t);
|
|
345
344
|
},
|
|
346
345
|
getDateFormatter(o, g) {
|
|
347
|
-
let
|
|
346
|
+
let E = {
|
|
348
347
|
...v,
|
|
349
348
|
...g
|
|
350
|
-
},
|
|
351
|
-
return new G(o,
|
|
349
|
+
}, p = q({}, E);
|
|
350
|
+
return new G(o, p);
|
|
352
351
|
}
|
|
353
352
|
};
|
|
354
353
|
}
|
|
355
|
-
function
|
|
354
|
+
function Da(e) {
|
|
356
355
|
var a, i;
|
|
357
|
-
let f =
|
|
356
|
+
let f = Ue(e), [u, c] = ze(e.value, e.defaultValue || null, e.onChange), [s, t] = L(() => u || {
|
|
358
357
|
start: null,
|
|
359
358
|
end: null
|
|
360
359
|
});
|
|
@@ -367,7 +366,7 @@ function xa(e) {
|
|
|
367
366
|
start: null,
|
|
368
367
|
end: null
|
|
369
368
|
}), N(n) ? c(n) : c(null);
|
|
370
|
-
}, B = (l == null ? void 0 : l.start) || (l == null ? void 0 : l.end) || e.placeholderValue || null, [b, k] =
|
|
369
|
+
}, B = (l == null ? void 0 : l.start) || (l == null ? void 0 : l.end) || e.placeholderValue || null, [b, k] = Fe(B, e.granularity), F = b === "hour" || b === "minute" || b === "second";
|
|
371
370
|
var R;
|
|
372
371
|
let C = (R = e.shouldCloseOnSelect) !== null && R !== void 0 ? R : !0, [v, O] = L(null), [d, T] = L(null);
|
|
373
372
|
l && N(l) && (v = l, "hour" in l.start && (d = l));
|
|
@@ -375,13 +374,13 @@ function xa(e) {
|
|
|
375
374
|
x({
|
|
376
375
|
start: "timeZone" in m.start ? m.start.set(se(n.start)) : oe(n.start, m.start),
|
|
377
376
|
end: "timeZone" in m.end ? m.end.set(se(n.end)) : oe(n.end, m.end)
|
|
378
|
-
}), O(null), T(null),
|
|
377
|
+
}), O(null), T(null), E.commitValidation();
|
|
379
378
|
}, P = (n) => {
|
|
380
379
|
let m = typeof C == "function" ? C() : C;
|
|
381
380
|
F ? N(n) && (m || d != null && d.start && (d != null && d.end)) ? I(n, {
|
|
382
381
|
start: (d == null ? void 0 : d.start) || j(e.placeholderValue),
|
|
383
382
|
end: (d == null ? void 0 : d.end) || j(e.placeholderValue)
|
|
384
|
-
}) : O(n) : N(n) ? (x(n),
|
|
383
|
+
}) : O(n) : N(n) ? (x(n), E.commitValidation()) : O(n), m && f.setOpen(!1);
|
|
385
384
|
}, Z = (n) => {
|
|
386
385
|
N(v) && N(n) ? I(v, n) : T(n);
|
|
387
386
|
}, 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(() => ({
|
|
@@ -398,13 +397,13 @@ function xa(e) {
|
|
|
398
397
|
k,
|
|
399
398
|
e.hideTimeZone,
|
|
400
399
|
M
|
|
401
|
-
]), { minValue: y, maxValue: V, isDateUnavailable: o } = e, g = W(() =>
|
|
400
|
+
]), { minValue: y, maxValue: V, isDateUnavailable: o } = e, g = W(() => ua(l, y, V, o, D), [
|
|
402
401
|
l,
|
|
403
402
|
y,
|
|
404
403
|
V,
|
|
405
404
|
o,
|
|
406
405
|
D
|
|
407
|
-
]),
|
|
406
|
+
]), E = je({
|
|
408
407
|
...e,
|
|
409
408
|
value: u,
|
|
410
409
|
name: W(() => [
|
|
@@ -415,9 +414,9 @@ function xa(e) {
|
|
|
415
414
|
e.endName
|
|
416
415
|
]),
|
|
417
416
|
builtinValidation: g
|
|
418
|
-
}),
|
|
417
|
+
}), p = E.displayValidation.isInvalid, X = e.validationState || (p ? "invalid" : null);
|
|
419
418
|
return {
|
|
420
|
-
...
|
|
419
|
+
...E,
|
|
421
420
|
value: l,
|
|
422
421
|
setValue: x,
|
|
423
422
|
dateRange: v,
|
|
@@ -464,30 +463,30 @@ function xa(e) {
|
|
|
464
463
|
}), f.setOpen(n);
|
|
465
464
|
},
|
|
466
465
|
validationState: X,
|
|
467
|
-
isInvalid:
|
|
466
|
+
isInvalid: p,
|
|
468
467
|
formatValue(n, m) {
|
|
469
468
|
if (!l || !l.start || !l.end) return null;
|
|
470
|
-
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"),
|
|
469
|
+
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"), ia = q(m, {
|
|
471
470
|
granularity: h,
|
|
472
471
|
timeZone: r,
|
|
473
472
|
hideTimeZone: e.hideTimeZone,
|
|
474
473
|
hourCycle: e.hourCycle,
|
|
475
474
|
showEra: l.start.calendar.identifier === "gregory" && l.start.era === "BC" || l.end.calendar.identifier === "gregory" && l.end.era === "BC"
|
|
476
|
-
}),
|
|
475
|
+
}), me = l.start.toDate(r || "UTC"), $e = l.end.toDate(_ || "UTC"), le = new G(n, ia), ie;
|
|
477
476
|
if (r === _ && h === K && l.start.compare(l.end) !== 0) {
|
|
478
477
|
try {
|
|
479
|
-
let S = le.formatRangeToParts($e
|
|
478
|
+
let S = le.formatRangeToParts(me, $e), te = -1;
|
|
480
479
|
for (let w = 0; w < S.length; w++) {
|
|
481
480
|
let de = S[w];
|
|
482
481
|
if (de.source === "shared" && de.type === "literal") te = w;
|
|
483
482
|
else if (de.source === "endRange") break;
|
|
484
483
|
}
|
|
485
|
-
let
|
|
484
|
+
let he = "", ge = "";
|
|
486
485
|
for (let w = 0; w < S.length; w++)
|
|
487
|
-
w < te ?
|
|
486
|
+
w < te ? he += S[w].value : w > te && (ge += S[w].value);
|
|
488
487
|
return {
|
|
489
|
-
start:
|
|
490
|
-
end:
|
|
488
|
+
start: he,
|
|
489
|
+
end: ge
|
|
491
490
|
};
|
|
492
491
|
} catch {
|
|
493
492
|
}
|
|
@@ -502,8 +501,8 @@ function xa(e) {
|
|
|
502
501
|
ie = new G(n, S);
|
|
503
502
|
}
|
|
504
503
|
return {
|
|
505
|
-
start: le.format(
|
|
506
|
-
end: ie.format(
|
|
504
|
+
start: le.format(me),
|
|
505
|
+
end: ie.format($e)
|
|
507
506
|
};
|
|
508
507
|
},
|
|
509
508
|
getDateFormatter(n, m) {
|
|
@@ -518,32 +517,32 @@ function xa(e) {
|
|
|
518
517
|
function N(e) {
|
|
519
518
|
return (e == null ? void 0 : e.start) != null && e.end != null;
|
|
520
519
|
}
|
|
521
|
-
const
|
|
522
|
-
ve,
|
|
523
|
-
fe,
|
|
520
|
+
const xa = /* @__PURE__ */ ae(null), Fa = /* @__PURE__ */ ae(null), Ra = /* @__PURE__ */ ae(null), Ca = /* @__PURE__ */ ae(null), ea = [
|
|
524
521
|
be,
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
522
|
+
ce,
|
|
523
|
+
fe,
|
|
524
|
+
ve
|
|
525
|
+
], Oa = /* @__PURE__ */ Le(function(a, i) {
|
|
526
|
+
[a, i] = Ze(a, i, xa);
|
|
527
|
+
let { validationBehavior: f } = Me(Ne) || {};
|
|
529
528
|
var u, c;
|
|
530
|
-
let s = (c = (u = a.validationBehavior) !== null && u !== void 0 ? u : f) !== null && c !== void 0 ? c : "native", t =
|
|
529
|
+
let s = (c = (u = a.validationBehavior) !== null && u !== void 0 ? u : f) !== null && c !== void 0 ? c : "native", t = Va({
|
|
531
530
|
...a,
|
|
532
531
|
validationBehavior: s
|
|
533
|
-
}), l = z(null), [x, B] =
|
|
534
|
-
...
|
|
532
|
+
}), l = z(null), [x, B] = Be(!a["aria-label"] && !a["aria-labelledby"]), { groupProps: b, labelProps: k, fieldProps: F, buttonProps: R, dialogProps: C, calendarProps: v, descriptionProps: O, errorMessageProps: d, ...T } = ga({
|
|
533
|
+
...ke(a),
|
|
535
534
|
label: B,
|
|
536
535
|
validationBehavior: s
|
|
537
|
-
}, t, l), [I, P] = L(null), Z =
|
|
536
|
+
}, t, l), [I, P] = L(null), Z = Ke(() => {
|
|
538
537
|
l.current && P(l.current.offsetWidth + "px");
|
|
539
538
|
}, []);
|
|
540
|
-
|
|
539
|
+
We({
|
|
541
540
|
ref: l,
|
|
542
541
|
onResize: Z
|
|
543
542
|
});
|
|
544
|
-
let { focusProps: M, isFocused: D, isFocusVisible: y } =
|
|
543
|
+
let { focusProps: M, isFocused: D, isFocusVisible: y } = Ye({
|
|
545
544
|
within: !0
|
|
546
|
-
}), V =
|
|
545
|
+
}), V = _e({
|
|
547
546
|
...a,
|
|
548
547
|
values: {
|
|
549
548
|
state: t,
|
|
@@ -554,15 +553,15 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
554
553
|
isOpen: t.isOpen
|
|
555
554
|
},
|
|
556
555
|
defaultClassName: "react-aria-DatePicker"
|
|
557
|
-
}), o =
|
|
558
|
-
return delete o.id, /* @__PURE__ */
|
|
556
|
+
}), o = ee(a);
|
|
557
|
+
return delete o.id, /* @__PURE__ */ Y.createElement(we, {
|
|
559
558
|
values: [
|
|
560
559
|
[
|
|
561
|
-
|
|
560
|
+
Ra,
|
|
562
561
|
t
|
|
563
562
|
],
|
|
564
563
|
[
|
|
565
|
-
|
|
564
|
+
be,
|
|
566
565
|
{
|
|
567
566
|
...b,
|
|
568
567
|
ref: l,
|
|
@@ -570,18 +569,18 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
570
569
|
}
|
|
571
570
|
],
|
|
572
571
|
[
|
|
573
|
-
|
|
572
|
+
Re,
|
|
574
573
|
F
|
|
575
574
|
],
|
|
576
575
|
[
|
|
577
|
-
|
|
576
|
+
ce,
|
|
578
577
|
{
|
|
579
578
|
...R,
|
|
580
579
|
isPressed: t.isOpen
|
|
581
580
|
}
|
|
582
581
|
],
|
|
583
582
|
[
|
|
584
|
-
|
|
583
|
+
fe,
|
|
585
584
|
{
|
|
586
585
|
...k,
|
|
587
586
|
ref: x,
|
|
@@ -589,15 +588,15 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
589
588
|
}
|
|
590
589
|
],
|
|
591
590
|
[
|
|
592
|
-
|
|
591
|
+
ta,
|
|
593
592
|
v
|
|
594
593
|
],
|
|
595
594
|
[
|
|
596
|
-
|
|
595
|
+
Ee,
|
|
597
596
|
t
|
|
598
597
|
],
|
|
599
598
|
[
|
|
600
|
-
|
|
599
|
+
pe,
|
|
601
600
|
{
|
|
602
601
|
trigger: "DatePicker",
|
|
603
602
|
triggerRef: l,
|
|
@@ -605,15 +604,15 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
605
604
|
style: {
|
|
606
605
|
"--trigger-width": I
|
|
607
606
|
},
|
|
608
|
-
clearContexts:
|
|
607
|
+
clearContexts: ea
|
|
609
608
|
}
|
|
610
609
|
],
|
|
611
610
|
[
|
|
612
|
-
|
|
611
|
+
Se,
|
|
613
612
|
C
|
|
614
613
|
],
|
|
615
614
|
[
|
|
616
|
-
|
|
615
|
+
ve,
|
|
617
616
|
{
|
|
618
617
|
slots: {
|
|
619
618
|
description: O,
|
|
@@ -622,11 +621,11 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
622
621
|
}
|
|
623
622
|
],
|
|
624
623
|
[
|
|
625
|
-
|
|
624
|
+
Ce,
|
|
626
625
|
T
|
|
627
626
|
]
|
|
628
627
|
]
|
|
629
|
-
}, /* @__PURE__ */
|
|
628
|
+
}, /* @__PURE__ */ Y.createElement("div", {
|
|
630
629
|
...M,
|
|
631
630
|
...o,
|
|
632
631
|
...V,
|
|
@@ -638,27 +637,27 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
638
637
|
"data-disabled": a.isDisabled || void 0,
|
|
639
638
|
"data-open": t.isOpen || void 0
|
|
640
639
|
}));
|
|
641
|
-
}),
|
|
642
|
-
[a, i] =
|
|
643
|
-
let { validationBehavior: f } =
|
|
640
|
+
}), Ta = /* @__PURE__ */ Le(function(a, i) {
|
|
641
|
+
[a, i] = Ze(a, i, Fa);
|
|
642
|
+
let { validationBehavior: f } = Me(Ne) || {};
|
|
644
643
|
var u, c;
|
|
645
|
-
let s = (c = (u = a.validationBehavior) !== null && u !== void 0 ? u : f) !== null && c !== void 0 ? c : "native", t =
|
|
644
|
+
let s = (c = (u = a.validationBehavior) !== null && u !== void 0 ? u : f) !== null && c !== void 0 ? c : "native", t = Da({
|
|
646
645
|
...a,
|
|
647
646
|
validationBehavior: s
|
|
648
|
-
}), l = z(null), [x, B] =
|
|
649
|
-
...
|
|
647
|
+
}), l = z(null), [x, B] = Be(!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 } = Pa({
|
|
648
|
+
...ke(a),
|
|
650
649
|
label: B,
|
|
651
650
|
validationBehavior: s
|
|
652
|
-
}, t, l), [P, Z] = L(null), M =
|
|
651
|
+
}, t, l), [P, Z] = L(null), M = Ke(() => {
|
|
653
652
|
l.current && Z(l.current.offsetWidth + "px");
|
|
654
653
|
}, []);
|
|
655
|
-
|
|
654
|
+
We({
|
|
656
655
|
ref: l,
|
|
657
656
|
onResize: M
|
|
658
657
|
});
|
|
659
|
-
let { focusProps: D, isFocused: y, isFocusVisible: V } =
|
|
658
|
+
let { focusProps: D, isFocused: y, isFocusVisible: V } = Ye({
|
|
660
659
|
within: !0
|
|
661
|
-
}), o =
|
|
660
|
+
}), o = _e({
|
|
662
661
|
...a,
|
|
663
662
|
values: {
|
|
664
663
|
state: t,
|
|
@@ -669,15 +668,15 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
669
668
|
isOpen: t.isOpen
|
|
670
669
|
},
|
|
671
670
|
defaultClassName: "react-aria-DateRangePicker"
|
|
672
|
-
}), g =
|
|
673
|
-
return delete g.id, /* @__PURE__ */
|
|
671
|
+
}), g = ee(a);
|
|
672
|
+
return delete g.id, /* @__PURE__ */ Y.createElement(we, {
|
|
674
673
|
values: [
|
|
675
674
|
[
|
|
676
|
-
|
|
675
|
+
Ca,
|
|
677
676
|
t
|
|
678
677
|
],
|
|
679
678
|
[
|
|
680
|
-
|
|
679
|
+
be,
|
|
681
680
|
{
|
|
682
681
|
...b,
|
|
683
682
|
ref: l,
|
|
@@ -685,14 +684,14 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
685
684
|
}
|
|
686
685
|
],
|
|
687
686
|
[
|
|
688
|
-
|
|
687
|
+
ce,
|
|
689
688
|
{
|
|
690
689
|
...C,
|
|
691
690
|
isPressed: t.isOpen
|
|
692
691
|
}
|
|
693
692
|
],
|
|
694
693
|
[
|
|
695
|
-
|
|
694
|
+
fe,
|
|
696
695
|
{
|
|
697
696
|
...k,
|
|
698
697
|
ref: x,
|
|
@@ -700,15 +699,15 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
700
699
|
}
|
|
701
700
|
],
|
|
702
701
|
[
|
|
703
|
-
|
|
702
|
+
da,
|
|
704
703
|
O
|
|
705
704
|
],
|
|
706
705
|
[
|
|
707
|
-
|
|
706
|
+
Ee,
|
|
708
707
|
t
|
|
709
708
|
],
|
|
710
709
|
[
|
|
711
|
-
|
|
710
|
+
pe,
|
|
712
711
|
{
|
|
713
712
|
trigger: "DateRangePicker",
|
|
714
713
|
triggerRef: l,
|
|
@@ -716,15 +715,15 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
716
715
|
style: {
|
|
717
716
|
"--trigger-width": P
|
|
718
717
|
},
|
|
719
|
-
clearContexts:
|
|
718
|
+
clearContexts: ea
|
|
720
719
|
}
|
|
721
720
|
],
|
|
722
721
|
[
|
|
723
|
-
|
|
722
|
+
Se,
|
|
724
723
|
v
|
|
725
724
|
],
|
|
726
725
|
[
|
|
727
|
-
|
|
726
|
+
Re,
|
|
728
727
|
{
|
|
729
728
|
slots: {
|
|
730
729
|
start: F,
|
|
@@ -733,7 +732,7 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
733
732
|
}
|
|
734
733
|
],
|
|
735
734
|
[
|
|
736
|
-
|
|
735
|
+
ve,
|
|
737
736
|
{
|
|
738
737
|
slots: {
|
|
739
738
|
description: d,
|
|
@@ -742,11 +741,11 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
742
741
|
}
|
|
743
742
|
],
|
|
744
743
|
[
|
|
745
|
-
|
|
744
|
+
Ce,
|
|
746
745
|
I
|
|
747
746
|
]
|
|
748
747
|
]
|
|
749
|
-
}, /* @__PURE__ */
|
|
748
|
+
}, /* @__PURE__ */ Y.createElement("div", {
|
|
750
749
|
...D,
|
|
751
750
|
...g,
|
|
752
751
|
...o,
|
|
@@ -765,7 +764,7 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
|
|
|
765
764
|
* This source code is licensed under the ISC license.
|
|
766
765
|
* See the LICENSE file in the root directory of this source tree.
|
|
767
766
|
*/
|
|
768
|
-
const
|
|
767
|
+
const Ia = [
|
|
769
768
|
["path", { d: "M8 2v4", key: "1cmpym" }],
|
|
770
769
|
["path", { d: "M16 2v4", key: "4m81vk" }],
|
|
771
770
|
["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
|
|
@@ -776,35 +775,35 @@ const Za = [
|
|
|
776
775
|
["path", { d: "M8 18h.01", key: "lrp35t" }],
|
|
777
776
|
["path", { d: "M12 18h.01", key: "mhygvu" }],
|
|
778
777
|
["path", { d: "M16 18h.01", key: "kzsmim" }]
|
|
779
|
-
],
|
|
780
|
-
datePicker:
|
|
781
|
-
inputField:
|
|
782
|
-
medium:
|
|
783
|
-
calendarButton:
|
|
784
|
-
dialog:
|
|
785
|
-
},
|
|
778
|
+
], Za = $a("calendar-days", Ia), Ma = "_datePicker_1sfdl_4", Ba = "_inputField_1sfdl_11", ka = "_medium_1sfdl_23", _a = "_calendarButton_1sfdl_50", wa = "_dialog_1sfdl_94", U = {
|
|
779
|
+
datePicker: Ma,
|
|
780
|
+
inputField: Ba,
|
|
781
|
+
medium: ka,
|
|
782
|
+
calendarButton: _a,
|
|
783
|
+
dialog: wa
|
|
784
|
+
}, aa = ({
|
|
786
785
|
children: e,
|
|
787
786
|
isDisabled: a,
|
|
788
787
|
isInvalid: i,
|
|
789
788
|
size: f = "large"
|
|
790
789
|
}) => /* @__PURE__ */ H(
|
|
791
|
-
|
|
790
|
+
ma,
|
|
792
791
|
{
|
|
793
|
-
className:
|
|
792
|
+
className: J(U.inputField, {
|
|
794
793
|
[U.medium]: f === "medium"
|
|
795
794
|
}),
|
|
796
795
|
children: [
|
|
797
796
|
e,
|
|
798
797
|
/* @__PURE__ */ $(
|
|
799
|
-
|
|
798
|
+
fa,
|
|
800
799
|
{
|
|
801
|
-
className:
|
|
800
|
+
className: J(U.calendarButton, {
|
|
802
801
|
[U.medium]: f === "medium"
|
|
803
802
|
}),
|
|
804
803
|
"data-invalid": i || void 0,
|
|
805
804
|
isDisabled: a,
|
|
806
805
|
children: /* @__PURE__ */ $(
|
|
807
|
-
|
|
806
|
+
Za,
|
|
808
807
|
{
|
|
809
808
|
"aria-hidden": !0,
|
|
810
809
|
size: 20
|
|
@@ -814,13 +813,9 @@ const Za = [
|
|
|
814
813
|
)
|
|
815
814
|
]
|
|
816
815
|
}
|
|
817
|
-
),
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
UNSTABLE_portalContainer: typeof a != "function" && (a == null ? void 0 : a.current) || void 0,
|
|
821
|
-
children: /* @__PURE__ */ $(ma, { className: U.dialog, children: e })
|
|
822
|
-
}
|
|
823
|
-
)), cl = ({
|
|
816
|
+
), la = ({
|
|
817
|
+
children: e
|
|
818
|
+
}) => /* @__PURE__ */ $(ba, { children: /* @__PURE__ */ $(va, { className: U.dialog, children: e }) }), ul = ({
|
|
824
819
|
className: e,
|
|
825
820
|
description: a,
|
|
826
821
|
errorMessage: i,
|
|
@@ -828,25 +823,21 @@ const Za = [
|
|
|
828
823
|
label: u,
|
|
829
824
|
popover: c,
|
|
830
825
|
...s
|
|
831
|
-
}) =>
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
children:
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
]
|
|
847
|
-
}
|
|
848
|
-
);
|
|
849
|
-
}, fl = ({
|
|
826
|
+
}) => /* @__PURE__ */ H(
|
|
827
|
+
Oa,
|
|
828
|
+
{
|
|
829
|
+
className: J(U.datePicker, e),
|
|
830
|
+
...s,
|
|
831
|
+
children: [
|
|
832
|
+
/* @__PURE__ */ $(Oe, { popover: c, children: u && /* @__PURE__ */ $(Te, { children: u }) }),
|
|
833
|
+
a && /* @__PURE__ */ $(Ie, { slot: "description", children: a }),
|
|
834
|
+
f === "top" && /* @__PURE__ */ $(Q, { children: i }),
|
|
835
|
+
/* @__PURE__ */ $(aa, { ...s, children: /* @__PURE__ */ $(ne, { children: (t) => /* @__PURE__ */ $(re, { segment: t }) }) }),
|
|
836
|
+
f === "bottom" && /* @__PURE__ */ $(Q, { children: i }),
|
|
837
|
+
/* @__PURE__ */ $(la, { children: /* @__PURE__ */ $(na, {}) })
|
|
838
|
+
]
|
|
839
|
+
}
|
|
840
|
+
), cl = ({
|
|
850
841
|
className: e,
|
|
851
842
|
description: a,
|
|
852
843
|
errorMessage: i,
|
|
@@ -854,30 +845,26 @@ const Za = [
|
|
|
854
845
|
label: u,
|
|
855
846
|
popover: c,
|
|
856
847
|
...s
|
|
857
|
-
}) =>
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
children:
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
/* @__PURE__ */
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
]
|
|
877
|
-
}
|
|
878
|
-
);
|
|
879
|
-
};
|
|
848
|
+
}) => /* @__PURE__ */ H(
|
|
849
|
+
Ta,
|
|
850
|
+
{
|
|
851
|
+
className: J(U.datePicker, e),
|
|
852
|
+
...s,
|
|
853
|
+
children: [
|
|
854
|
+
/* @__PURE__ */ $(Oe, { popover: c, children: u && /* @__PURE__ */ $(Te, { children: u }) }),
|
|
855
|
+
a && /* @__PURE__ */ $(Ie, { slot: "description", children: a }),
|
|
856
|
+
f === "top" && /* @__PURE__ */ $(Q, { children: i }),
|
|
857
|
+
/* @__PURE__ */ H(aa, { ...s, children: [
|
|
858
|
+
/* @__PURE__ */ $(ne, { slot: "start", children: (t) => /* @__PURE__ */ $(re, { segment: t }) }),
|
|
859
|
+
/* @__PURE__ */ $(ca, {}),
|
|
860
|
+
/* @__PURE__ */ $(ne, { slot: "end", children: (t) => /* @__PURE__ */ $(re, { segment: t }) })
|
|
861
|
+
] }),
|
|
862
|
+
f === "bottom" && /* @__PURE__ */ $(Q, { children: i }),
|
|
863
|
+
/* @__PURE__ */ $(la, { children: /* @__PURE__ */ $(ra, {}) })
|
|
864
|
+
]
|
|
865
|
+
}
|
|
866
|
+
);
|
|
880
867
|
export {
|
|
881
|
-
|
|
882
|
-
|
|
868
|
+
ul as D,
|
|
869
|
+
cl as a
|
|
883
870
|
};
|