@midas-ds/components 11.2.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 +49 -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-DvrN1oyw.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-PiEHptw1.js → ColorSchemeSwitch-DyZ9FAKG.js} +12 -12
- package/{ComboBox-DfJ_aJrf.js → ComboBox-Dn3tQzri.js} +93 -97
- package/{ComboBox-D_jh7TKo.cjs → ComboBox-UadZMhiR.cjs} +1 -1
- package/{DateField-BURrxhil.cjs → DateField-CNEoLyf5.cjs} +1 -1
- package/{DateField-DKCbEonm.js → DateField-CZmLugT0.js} +4 -4
- package/{DateInputDivider-ToFY-yjB.cjs → DateInputDivider-CCjiq90K.cjs} +1 -1
- package/{DateInputDivider-BmvqW1Hk.js → DateInputDivider-CJEGWmG0.js} +22 -22
- package/{DateRangePicker-DkIAEIIj.cjs → DateRangePicker-DhgLEa9P.cjs} +2 -2
- package/{DateRangePicker-B5vx9onl.js → DateRangePicker-WQ97Psz7.js} +22 -22
- package/{Dialog-DtHk3eXI.cjs → Dialog-BT0tVGQb.cjs} +1 -1
- package/{Dialog-D5c_dUnB.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-Cpc2EszJ.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-DMsfA3bj.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-endv1fkJ.js → Label-ByWt6Lfh.js} +24 -24
- package/Label-COpr4xVt.cjs +1 -0
- package/{Layout-D0E1fOgZ.cjs → Layout-BR3Or1Ga.cjs} +2 -2
- package/{Layout-DtyhUz-G.js → Layout-Bdqauktv.js} +17 -17
- 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-Djy7244v.js → ListBox-y_dw__MI.js} +16 -16
- package/{ListBoxButton-CIqNRR3y.cjs → ListBoxButton-C2zp-gXD.cjs} +1 -1
- package/{ListBoxButton-sqirI6I4.js → ListBoxButton-DiseS_LX.js} +1 -1
- package/{ListBoxSection-Cicbu8pS.js → ListBoxSection-Cv-gN76G.js} +9 -9
- package/{ListBoxSection-BYJccE4T.cjs → ListBoxSection-DtsigmC1.cjs} +1 -1
- package/{ListKeyboardDelegate-ZKBk2IId.cjs → ListKeyboardDelegate-fZKXmHAk.cjs} +1 -1
- package/{ListKeyboardDelegate-CHki611g.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-Tniqbaes.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-DTn23Zkr.js → ProgressBar-wQirOG1N.js} +2 -2
- package/{Radio-CCN3o3s-.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-MwvnbChP.js → Select-769RSZ9V.js} +114 -114
- package/{Select-lhIwwJL7.cjs → Select-Go5x0zWl.cjs} +1 -1
- package/{SelectionManager-BKrZ_mMO.js → SelectionManager-BdKKuso-.js} +9 -9
- package/{SelectionManager-BJjqIWtf.cjs → SelectionManager-BvREZgeu.cjs} +1 -1
- package/{Separator-DvvVAypT.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-DGTwyh7U.js → Table-CTS0J_sQ.js} +289 -268
- package/{Tag-rI-NhuT0.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-CrEALC58.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-98z8Dw8-.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/LinkButton.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/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 +36 -12
- package/theme/index.js +12 -11
- package/theme/tokens.d.ts +36 -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-CqvelUoA.js → tokens-BtEBd3jO.js} +69 -31
- 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-DsOxD9JB.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-BgEe5J35.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-B3c3xcNW.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-DdBsBWKG.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/Dialog-CxHiZorC.cjs +0 -1
- package/Dialog-DuGcBeNN.js +0 -212
- 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/PressResponder-4jE_HLu3.cjs +0 -1
- package/TabList-CWMlbijV.cjs +0 -1
- package/TabList-VpTv_Xff.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-5PzK5zK7.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
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import { jsx as $, jsxs as h } from "react/jsx-runtime";
|
|
2
|
+
import { e as z, f as H, g as I, h as j, i as x, j as A, k as U, l as K } from "./Dialog-BuJdAr0D.js";
|
|
3
|
+
import { $ as V, b as O, h as F, a as w, f as W } from "./utils-KYuflGZt.js";
|
|
4
|
+
import { a as g } from "./mergeProps-BYJQ6N1s.js";
|
|
5
|
+
import { $ as R } from "./filterDOMProps-D6KHYVBX.js";
|
|
6
|
+
import c, { useState as k, useEffect as _, forwardRef as C, useContext as u, createContext as P, useRef as X, useMemo as q } from "react";
|
|
7
|
+
import { $ as S } from "./SSRProvider-D8lZ0o6A.js";
|
|
8
|
+
import { a as G, b as E, c as D } from "./OverlayArrow-DfkRZlgG.js";
|
|
9
|
+
import { B as J } from "./Button-akT6Hvug.js";
|
|
10
|
+
import { H as Q } from "./Heading-DDhdwRAW.js";
|
|
11
|
+
import { u as Y } from "./useLocalizedStringFormatter-aOhh7wdl.js";
|
|
12
|
+
import { X as Z } from "./x-C2xUHAEl.js";
|
|
13
|
+
import './assets/Dialog.css';let l = typeof document < "u" && window.visualViewport;
|
|
14
|
+
function ee() {
|
|
15
|
+
let a = S(), [e, t] = k(() => a ? {
|
|
16
|
+
width: 0,
|
|
17
|
+
height: 0
|
|
18
|
+
} : p());
|
|
19
|
+
return _(() => {
|
|
20
|
+
let i = () => {
|
|
21
|
+
t((n) => {
|
|
22
|
+
let d = p();
|
|
23
|
+
return d.width === n.width && d.height === n.height ? n : d;
|
|
24
|
+
});
|
|
25
|
+
};
|
|
26
|
+
return l ? l.addEventListener("resize", i) : window.addEventListener("resize", i), () => {
|
|
27
|
+
l ? l.removeEventListener("resize", i) : window.removeEventListener("resize", i);
|
|
28
|
+
};
|
|
29
|
+
}, []), e;
|
|
30
|
+
}
|
|
31
|
+
function p() {
|
|
32
|
+
return {
|
|
33
|
+
width: l && (l == null ? void 0 : l.width) || window.innerWidth,
|
|
34
|
+
height: l && (l == null ? void 0 : l.height) || window.innerHeight
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function te(a, e, t) {
|
|
38
|
+
let { overlayProps: i, underlayProps: n } = z({
|
|
39
|
+
...a,
|
|
40
|
+
isOpen: e.isOpen,
|
|
41
|
+
onClose: e.close
|
|
42
|
+
}, t);
|
|
43
|
+
return H({
|
|
44
|
+
isDisabled: !e.isOpen
|
|
45
|
+
}), I(), _(() => {
|
|
46
|
+
if (e.isOpen && t.current) return j([
|
|
47
|
+
t.current
|
|
48
|
+
]);
|
|
49
|
+
}, [
|
|
50
|
+
e.isOpen,
|
|
51
|
+
t
|
|
52
|
+
]), {
|
|
53
|
+
modalProps: g(i),
|
|
54
|
+
underlayProps: n
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
const ae = /* @__PURE__ */ P(null), v = /* @__PURE__ */ P(null), ie = /* @__PURE__ */ C(function(e, t) {
|
|
58
|
+
if (u(v)) return /* @__PURE__ */ c.createElement(y, {
|
|
59
|
+
...e,
|
|
60
|
+
modalRef: t
|
|
61
|
+
}, e.children);
|
|
62
|
+
let { isDismissable: n, isKeyboardDismissDisabled: d, isOpen: r, defaultOpen: s, onOpenChange: f, children: o, isEntering: b, isExiting: N, UNSTABLE_portalContainer: B, shouldCloseOnInteractOutside: L, ...T } = e;
|
|
63
|
+
return /* @__PURE__ */ c.createElement(M, {
|
|
64
|
+
isDismissable: n,
|
|
65
|
+
isKeyboardDismissDisabled: d,
|
|
66
|
+
isOpen: r,
|
|
67
|
+
defaultOpen: s,
|
|
68
|
+
onOpenChange: f,
|
|
69
|
+
isEntering: b,
|
|
70
|
+
isExiting: N,
|
|
71
|
+
UNSTABLE_portalContainer: B,
|
|
72
|
+
shouldCloseOnInteractOutside: L
|
|
73
|
+
}, /* @__PURE__ */ c.createElement(y, {
|
|
74
|
+
...T,
|
|
75
|
+
modalRef: t
|
|
76
|
+
}, o));
|
|
77
|
+
});
|
|
78
|
+
function ne(a, e) {
|
|
79
|
+
[a, e] = V(a, e, ae);
|
|
80
|
+
let t = u(x), i = G(a), n = a.isOpen != null || a.defaultOpen != null || !t ? i : t, d = O(e), r = X(null), s = E(d, n.isOpen), f = E(r, n.isOpen), o = s || f || a.isExiting || !1, b = S();
|
|
81
|
+
return !n.isOpen && !o || b ? null : /* @__PURE__ */ c.createElement(de, {
|
|
82
|
+
...a,
|
|
83
|
+
state: n,
|
|
84
|
+
isExiting: o,
|
|
85
|
+
overlayRef: d,
|
|
86
|
+
modalRef: r
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
const M = /* @__PURE__ */ C(ne);
|
|
90
|
+
function de({ UNSTABLE_portalContainer: a, ...e }) {
|
|
91
|
+
let t = e.modalRef, { state: i } = e, { modalProps: n, underlayProps: d } = te(e, i, t), r = D(e.overlayRef) || e.isEntering || !1, s = w({
|
|
92
|
+
...e,
|
|
93
|
+
defaultClassName: "react-aria-ModalOverlay",
|
|
94
|
+
values: {
|
|
95
|
+
isEntering: r,
|
|
96
|
+
isExiting: e.isExiting,
|
|
97
|
+
state: i
|
|
98
|
+
}
|
|
99
|
+
}), f = ee(), o = {
|
|
100
|
+
...s.style,
|
|
101
|
+
"--visual-viewport-height": f.height + "px"
|
|
102
|
+
};
|
|
103
|
+
return /* @__PURE__ */ c.createElement(U, {
|
|
104
|
+
isExiting: e.isExiting,
|
|
105
|
+
portalContainer: a
|
|
106
|
+
}, /* @__PURE__ */ c.createElement("div", {
|
|
107
|
+
...g(R(e), d),
|
|
108
|
+
...s,
|
|
109
|
+
style: o,
|
|
110
|
+
ref: e.overlayRef,
|
|
111
|
+
"data-entering": r || void 0,
|
|
112
|
+
"data-exiting": e.isExiting || void 0
|
|
113
|
+
}, /* @__PURE__ */ c.createElement(W, {
|
|
114
|
+
values: [
|
|
115
|
+
[
|
|
116
|
+
v,
|
|
117
|
+
{
|
|
118
|
+
modalProps: n,
|
|
119
|
+
modalRef: t,
|
|
120
|
+
isExiting: e.isExiting,
|
|
121
|
+
isDismissable: e.isDismissable
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
[
|
|
125
|
+
x,
|
|
126
|
+
i
|
|
127
|
+
]
|
|
128
|
+
]
|
|
129
|
+
}, s.children)));
|
|
130
|
+
}
|
|
131
|
+
function y(a) {
|
|
132
|
+
let { modalProps: e, modalRef: t, isExiting: i, isDismissable: n } = u(v), d = u(x), r = q(() => F(a.modalRef, t), [
|
|
133
|
+
a.modalRef,
|
|
134
|
+
t
|
|
135
|
+
]), s = O(r), f = D(s), o = w({
|
|
136
|
+
...a,
|
|
137
|
+
defaultClassName: "react-aria-Modal",
|
|
138
|
+
values: {
|
|
139
|
+
isEntering: f,
|
|
140
|
+
isExiting: i,
|
|
141
|
+
state: d
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
return /* @__PURE__ */ c.createElement("div", {
|
|
145
|
+
...g(R(a), e),
|
|
146
|
+
...o,
|
|
147
|
+
ref: s,
|
|
148
|
+
"data-entering": f || void 0,
|
|
149
|
+
"data-exiting": i || void 0
|
|
150
|
+
}, n && /* @__PURE__ */ c.createElement(A, {
|
|
151
|
+
onDismiss: d.close
|
|
152
|
+
}), o.children);
|
|
153
|
+
}
|
|
154
|
+
const le = "_modal_x9enn_4", se = "_overlay_x9enn_26", re = "_modalHeader_x9enn_47", oe = "_modalTitle_x9enn_57", ce = "_modalBody_x9enn_63", m = {
|
|
155
|
+
modal: le,
|
|
156
|
+
overlay: se,
|
|
157
|
+
modalHeader: re,
|
|
158
|
+
modalTitle: oe,
|
|
159
|
+
modalBody: ce
|
|
160
|
+
}, fe = {
|
|
161
|
+
close: "Close"
|
|
162
|
+
}, $e = {
|
|
163
|
+
close: "Stäng"
|
|
164
|
+
}, me = {
|
|
165
|
+
en: fe,
|
|
166
|
+
sv: $e
|
|
167
|
+
}, _e = ({
|
|
168
|
+
children: a,
|
|
169
|
+
title: e,
|
|
170
|
+
...t
|
|
171
|
+
}) => {
|
|
172
|
+
const i = Y(me);
|
|
173
|
+
return /* @__PURE__ */ $(
|
|
174
|
+
M,
|
|
175
|
+
{
|
|
176
|
+
...t,
|
|
177
|
+
className: m.overlay,
|
|
178
|
+
children: /* @__PURE__ */ $(
|
|
179
|
+
ie,
|
|
180
|
+
{
|
|
181
|
+
...t,
|
|
182
|
+
className: m.modal,
|
|
183
|
+
children: /* @__PURE__ */ h(K, { ...t, children: [
|
|
184
|
+
/* @__PURE__ */ h("div", { className: m.modalHeader, children: [
|
|
185
|
+
/* @__PURE__ */ $("div", { className: m.modalTitle, children: e && /* @__PURE__ */ $(
|
|
186
|
+
Q,
|
|
187
|
+
{
|
|
188
|
+
level: 3,
|
|
189
|
+
elementType: "h2",
|
|
190
|
+
children: e
|
|
191
|
+
}
|
|
192
|
+
) }),
|
|
193
|
+
/* @__PURE__ */ $(
|
|
194
|
+
J,
|
|
195
|
+
{
|
|
196
|
+
slot: "close",
|
|
197
|
+
variant: "tertiary",
|
|
198
|
+
icon: Z,
|
|
199
|
+
iconPlacement: "right",
|
|
200
|
+
children: i.format("close")
|
|
201
|
+
}
|
|
202
|
+
)
|
|
203
|
+
] }),
|
|
204
|
+
/* @__PURE__ */ $(
|
|
205
|
+
"div",
|
|
206
|
+
{
|
|
207
|
+
className: m.modalBody,
|
|
208
|
+
tabIndex: -1,
|
|
209
|
+
children: a
|
|
210
|
+
}
|
|
211
|
+
)
|
|
212
|
+
] })
|
|
213
|
+
}
|
|
214
|
+
)
|
|
215
|
+
}
|
|
216
|
+
);
|
|
217
|
+
};
|
|
218
|
+
export {
|
|
219
|
+
_e as M
|
|
220
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { $ } from "./getScrollParent-Ru2U2LlM.js";
|
|
2
|
-
import { d, $ as b } from "./mergeProps-
|
|
3
|
-
import
|
|
2
|
+
import { d, $ as b } from "./mergeProps-BYJQ6N1s.js";
|
|
3
|
+
import o, { useRef as v, createContext as f, useCallback as s, forwardRef as g, useMemo as x, useContext as m } from "react";
|
|
4
4
|
function w(r, e) {
|
|
5
5
|
let { collection: i, onLoadMore: n, scrollOffset: l = 1 } = r, c = v(null), t = d((u) => {
|
|
6
|
-
for (let
|
|
7
|
-
|
|
6
|
+
for (let a of u)
|
|
7
|
+
a.isIntersecting && n && n();
|
|
8
8
|
});
|
|
9
9
|
b(() => (e.current && (c.current = new IntersectionObserver(t, {
|
|
10
10
|
root: $(e == null ? void 0 : e.current),
|
|
@@ -19,13 +19,13 @@ function w(r, e) {
|
|
|
19
19
|
]);
|
|
20
20
|
}
|
|
21
21
|
const C = /* @__PURE__ */ f({}), I = /* @__PURE__ */ f(null), y = /* @__PURE__ */ g(function(e, i) {
|
|
22
|
-
let { render: n } =
|
|
23
|
-
return /* @__PURE__ */
|
|
22
|
+
let { render: n } = m(I);
|
|
23
|
+
return /* @__PURE__ */ o.createElement(o.Fragment, null, n(e, i));
|
|
24
24
|
});
|
|
25
25
|
function L(r, e) {
|
|
26
26
|
var i;
|
|
27
27
|
let n = r == null ? void 0 : r.renderDropIndicator, l = r == null || (i = r.isVirtualDragging) === null || i === void 0 ? void 0 : i.call(r), c = s((t) => {
|
|
28
|
-
if (l || e != null && e.isDropTarget(t)) return n ? n(t) : /* @__PURE__ */
|
|
28
|
+
if (l || e != null && e.isDropTarget(t)) return n ? n(t) : /* @__PURE__ */ o.createElement(y, {
|
|
29
29
|
target: t
|
|
30
30
|
});
|
|
31
31
|
}, [
|
|
@@ -43,10 +43,10 @@ function R(r, e, i) {
|
|
|
43
43
|
var u;
|
|
44
44
|
i.target.dropPosition === "after" && (t = (u = i.collection.getKeyAfter(t)) !== null && u !== void 0 ? u : t);
|
|
45
45
|
}
|
|
46
|
-
return
|
|
46
|
+
return x(() => new Set([
|
|
47
47
|
c,
|
|
48
48
|
t
|
|
49
|
-
].filter((
|
|
49
|
+
].filter((a) => a != null)), [
|
|
50
50
|
c,
|
|
51
51
|
t
|
|
52
52
|
]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const f=require("./getScrollParent-DuKmPmUa.cjs")
|
|
1
|
+
"use strict";const f=require("./getScrollParent-DuKmPmUa.cjs"),b=require("./mergeProps-C7Sx47fA.cjs"),l=require("react");function d(r,e){let{collection:t,onLoadMore:i,scrollOffset:c=1}=r,u=l.useRef(null),n=b.$8ae05eaa5c114e9c$export$7f54fc3180508a52(o=>{for(let $ of o)$.isIntersecting&&i&&i()});b.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>(e.current&&(u.current=new IntersectionObserver(n,{root:f.$62d8ded9296f3872$export$cfa2225e87938781(e==null?void 0:e.current),rootMargin:`0px ${100*c}% ${100*c}% ${100*c}%`}),u.current.observe(e.current)),()=>{u.current&&u.current.disconnect()}),[t,n,e,c])}const v=l.createContext({}),a=l.createContext(null),s=l.forwardRef(function(e,t){let{render:i}=l.useContext(a);return l.createElement(l.Fragment,null,i(e,t))});function x(r,e){var t;let i=r==null?void 0:r.renderDropIndicator,c=r==null||(t=r.isVirtualDragging)===null||t===void 0?void 0:t.call(r),u=l.useCallback(n=>{if(c||e!=null&&e.isDropTarget(n))return i?i(n):l.createElement(s,{target:n})},[e==null?void 0:e.target,c,i]);return r!=null&&r.useDropIndicator?u:void 0}function g(r,e,t){var i,c;let u=r.focusedKey,n=null;if(!(e==null||(i=e.isVirtualDragging)===null||i===void 0)&&i.call(e)&&(t==null||(c=t.target)===null||c===void 0?void 0:c.type)==="item"){n=t.target.key;var o;t.target.dropPosition==="after"&&(n=(o=t.collection.getKeyAfter(n))!==null&&o!==void 0?o:n)}return l.useMemo(()=>new Set([u,n].filter($=>$!=null)),[u,n])}exports.$612b8eb6cb90e02d$export$971707d8a129a1f7=x;exports.$612b8eb6cb90e02d$export$d188a835a7bc5783=v;exports.$612b8eb6cb90e02d$export$d1e8e3fbb7461f6=g;exports.$612b8eb6cb90e02d$export$f55761759794cf55=a;exports.$a5fa973c1850dd36$export$90a12e6abf95cbe0=d;
|
|
@@ -1,38 +1,39 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { b as
|
|
3
|
-
import { B as
|
|
4
|
-
import { c as
|
|
5
|
-
import { c as
|
|
1
|
+
import { jsxs as i, jsx as c, Fragment as l } from "react/jsx-runtime";
|
|
2
|
+
import { b as s, a as d, c as m, d as u } from "./Dialog-BuJdAr0D.js";
|
|
3
|
+
import { B as b } from "./Button-akT6Hvug.js";
|
|
4
|
+
import { c as f } from "./clsx-OuTLNxxd.js";
|
|
5
|
+
import { c as x } from "./createLucideIcon-XRdN60yz.js";
|
|
6
6
|
import './assets/Dropdown.css';/**
|
|
7
7
|
* @license lucide-react v0.525.0 - ISC
|
|
8
8
|
*
|
|
9
9
|
* This source code is licensed under the ISC license.
|
|
10
10
|
* See the LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
|
-
const
|
|
12
|
+
const h = [
|
|
13
13
|
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
14
14
|
["circle", { cx: "12", cy: "5", r: "1", key: "gxeob9" }],
|
|
15
15
|
["circle", { cx: "12", cy: "19", r: "1", key: "lyex9k" }]
|
|
16
|
-
],
|
|
17
|
-
dropDownMenu:
|
|
18
|
-
menuItem:
|
|
16
|
+
], $ = x("ellipsis-vertical", h), y = "_dropDownMenu_1rzf1_4", _ = "_menuItem_1rzf1_15", a = {
|
|
17
|
+
dropDownMenu: y,
|
|
18
|
+
menuItem: _
|
|
19
19
|
};
|
|
20
|
-
function
|
|
20
|
+
function N({
|
|
21
21
|
label: e,
|
|
22
|
-
title:
|
|
23
|
-
children:
|
|
24
|
-
|
|
22
|
+
title: r,
|
|
23
|
+
children: n,
|
|
24
|
+
icon: o = $,
|
|
25
|
+
...t
|
|
25
26
|
}) {
|
|
26
|
-
return /* @__PURE__ */
|
|
27
|
-
/* @__PURE__ */
|
|
28
|
-
|
|
27
|
+
return /* @__PURE__ */ i(s, { ...t, children: [
|
|
28
|
+
/* @__PURE__ */ i(
|
|
29
|
+
b,
|
|
29
30
|
{
|
|
30
|
-
"aria-label": e ||
|
|
31
|
+
"aria-label": e || t["aria-label"],
|
|
31
32
|
variant: "icon",
|
|
32
33
|
children: [
|
|
33
|
-
|
|
34
|
+
r,
|
|
34
35
|
/* @__PURE__ */ c(
|
|
35
|
-
|
|
36
|
+
o,
|
|
36
37
|
{
|
|
37
38
|
size: 20,
|
|
38
39
|
"aria-hidden": !0
|
|
@@ -41,32 +42,32 @@ function I({
|
|
|
41
42
|
]
|
|
42
43
|
}
|
|
43
44
|
),
|
|
44
|
-
/* @__PURE__ */ c(
|
|
45
|
-
|
|
45
|
+
/* @__PURE__ */ c(d, { children: /* @__PURE__ */ c(
|
|
46
|
+
m,
|
|
46
47
|
{
|
|
47
|
-
...
|
|
48
|
+
...t,
|
|
48
49
|
className: a.dropDownMenu,
|
|
49
|
-
children:
|
|
50
|
+
children: n
|
|
50
51
|
}
|
|
51
52
|
) })
|
|
52
53
|
] });
|
|
53
54
|
}
|
|
54
|
-
function
|
|
55
|
-
const
|
|
55
|
+
function g(e) {
|
|
56
|
+
const r = e.textValue || (typeof e.children == "string" ? e.children : void 0);
|
|
56
57
|
return /* @__PURE__ */ c(
|
|
57
|
-
|
|
58
|
+
u,
|
|
58
59
|
{
|
|
59
60
|
...e,
|
|
60
|
-
textValue:
|
|
61
|
-
className: ({ isFocused:
|
|
61
|
+
textValue: r,
|
|
62
|
+
className: ({ isFocused: n, isOpen: o }) => f(
|
|
62
63
|
a.menuItem,
|
|
63
64
|
e.className,
|
|
64
|
-
|
|
65
|
-
|
|
65
|
+
n && "focused",
|
|
66
|
+
o && "open"
|
|
66
67
|
),
|
|
67
|
-
children: ({ hasSubmenu:
|
|
68
|
+
children: ({ hasSubmenu: n }) => /* @__PURE__ */ i(l, { children: [
|
|
68
69
|
e.children,
|
|
69
|
-
|
|
70
|
+
n && /* @__PURE__ */ c(
|
|
70
71
|
"svg",
|
|
71
72
|
{
|
|
72
73
|
className: "chevron",
|
|
@@ -79,6 +80,6 @@ function N(e) {
|
|
|
79
80
|
);
|
|
80
81
|
}
|
|
81
82
|
export {
|
|
82
|
-
|
|
83
|
-
|
|
83
|
+
N as D,
|
|
84
|
+
g as a
|
|
84
85
|
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";require('./assets/Dropdown.css');const e=require("react/jsx-runtime"),r=require("./Dialog-BT0tVGQb.cjs"),l=require("./Button-DQm2iqKU.cjs"),d=require("./clsx-C11secjj.cjs"),a=require("./createLucideIcon-CTVXwe6i.cjs");/**
|
|
2
|
+
* @license lucide-react v0.525.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 u=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],x=a.createLucideIcon("ellipsis-vertical",u),m="_dropDownMenu_1rzf1_4",b="_menuItem_1rzf1_15",s={dropDownMenu:m,menuItem:b};function h({label:c,title:t,children:n,icon:i=x,...o}){return e.jsxs(r.$3674c52c6b3c5bce$export$27d2ad3c5815583e,{...o,children:[e.jsxs(l.Button,{"aria-label":c||o["aria-label"],variant:"icon",children:[t,e.jsx(i,{size:20,"aria-hidden":!0})]}),e.jsx(r.$07b14b47974efb58$export$5b6b19405a83ff9d,{children:e.jsx(r.$3674c52c6b3c5bce$export$d9b273488cd8ce6f,{...o,className:s.dropDownMenu,children:n})})]})}function $(c){const t=c.textValue||(typeof c.children=="string"?c.children:void 0);return e.jsx(r.$3674c52c6b3c5bce$export$2ce376c2cc3355c8,{...c,textValue:t,className:({isFocused:n,isOpen:i})=>d.clsx(s.menuItem,c.className,n&&"focused",i&&"open"),children:({hasSubmenu:n})=>e.jsxs(e.Fragment,{children:[c.children,n&&e.jsx("svg",{className:"chevron",viewBox:"0 0 24 24",children:e.jsx("path",{d:"m9 18 6-6-6-6"})})]})})}exports.Dropdown=h;exports.DropdownItem=$;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import * as d from "react";
|
|
3
|
+
import f, { createContext as $, forwardRef as s, useContext as c } from "react";
|
|
4
|
+
import { a as m } from "./utils-KYuflGZt.js";
|
|
5
|
+
import { a as u } from "./Text--KL3Auo7.js";
|
|
6
|
+
import { $ as E } from "./filterDOMProps-D6KHYVBX.js";
|
|
7
|
+
import { c as p } from "./clsx-OuTLNxxd.js";
|
|
8
|
+
import { T as v } from "./Text-BUDAzDjW.js";
|
|
9
|
+
import './assets/FieldError.css';const l = /* @__PURE__ */ $(null), x = /* @__PURE__ */ s(function(o, r) {
|
|
10
|
+
let t = c(l);
|
|
11
|
+
return t != null && t.isInvalid ? /* @__PURE__ */ f.createElement(b, {
|
|
12
|
+
...o,
|
|
13
|
+
ref: r
|
|
14
|
+
}) : null;
|
|
15
|
+
}), b = /* @__PURE__ */ s((e, o) => {
|
|
16
|
+
let r = c(l), t = E(e), a = m({
|
|
17
|
+
...e,
|
|
18
|
+
defaultClassName: "react-aria-FieldError",
|
|
19
|
+
defaultChildren: r.validationErrors.length === 0 ? void 0 : r.validationErrors.join(" "),
|
|
20
|
+
values: r
|
|
21
|
+
});
|
|
22
|
+
return a.children == null ? null : /* @__PURE__ */ f.createElement(u, {
|
|
23
|
+
slot: "errorMessage",
|
|
24
|
+
...t,
|
|
25
|
+
...a,
|
|
26
|
+
ref: o
|
|
27
|
+
});
|
|
28
|
+
}), C = "_fieldError_17ine_4", F = {
|
|
29
|
+
fieldError: C
|
|
30
|
+
}, w = d.forwardRef(
|
|
31
|
+
(e, o) => {
|
|
32
|
+
const { children: r, isInvalid: t } = e, a = p(F.fieldError, e.className), n = d.useContext(l);
|
|
33
|
+
return !n && t && typeof r != "function" ? /* @__PURE__ */ i(v, { className: a, children: r }) : n != null && n.isInvalid ? /* @__PURE__ */ i(
|
|
34
|
+
x,
|
|
35
|
+
{
|
|
36
|
+
...e,
|
|
37
|
+
ref: o,
|
|
38
|
+
className: a
|
|
39
|
+
}
|
|
40
|
+
) : null;
|
|
41
|
+
}
|
|
42
|
+
);
|
|
43
|
+
export {
|
|
44
|
+
l as $,
|
|
45
|
+
w as F
|
|
46
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./assets/FieldError.css');const
|
|
1
|
+
"use strict";require('./assets/FieldError.css');const a=require("react/jsx-runtime"),o=require("react"),d=require("./utils-BM2vxlNA.cjs"),f=require("./Text-wuw0HQoa.cjs"),u=require("./filterDOMProps-BS2lrgFA.cjs"),$=require("./clsx-C11secjj.cjs"),x=require("./Text-DA_gK6a2.cjs");function b(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,t.get?t:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const s=b(o),i=o.createContext(null),E=o.forwardRef(function(n,r){let t=o.useContext(i);return t!=null&&t.isInvalid?o.createElement(v,{...n,ref:r}):null}),v=o.forwardRef((e,n)=>{let r=o.useContext(i),t=u.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e),c=d.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-FieldError",defaultChildren:r.validationErrors.length===0?void 0:r.validationErrors.join(" "),values:r});return c.children==null?null:o.createElement(f.$514c0188e459b4c0$export$5f1af8db9871e1d6,{slot:"errorMessage",...t,...c,ref:n})}),m="_fieldError_17ine_4",p={fieldError:m},j=s.forwardRef((e,n)=>{const{children:r,isInvalid:t}=e,c=$.clsx(p.fieldError,e.className),l=s.useContext(i);return!l&&t&&typeof r!="function"?a.jsx(x.Text,{className:c,children:r}):l!=null&&l.isInvalid?a.jsx(E,{...e,ref:n,className:c}):null});exports.$ee014567cb39d3f0$export$ff05c3ac10437e03=i;exports.FieldError=j;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx as X } from "react/jsx-runtime";
|
|
2
|
-
import { $ as Ae, b as W, a as fe, f as he } from "./utils-
|
|
3
|
-
import { $ as Fe } from "./Text
|
|
4
|
-
import { d as b, $ as ve, e as ye, b as Te, a as Z } from "./mergeProps-
|
|
2
|
+
import { $ as Ae, b as W, a as fe, f as he } from "./utils-KYuflGZt.js";
|
|
3
|
+
import { $ as Fe } from "./Text--KL3Auo7.js";
|
|
4
|
+
import { d as b, $ as ve, e as ye, b as Te, a as Z } from "./mergeProps-BYJQ6N1s.js";
|
|
5
5
|
import { $ as J } from "./filterDOMProps-D6KHYVBX.js";
|
|
6
|
-
import { $ as ze } from "./useLabels-
|
|
7
|
-
import { k as Se } from "./utils-
|
|
6
|
+
import { $ as ze } from "./useLabels-DZlvh4P4.js";
|
|
7
|
+
import { k as Se } from "./utils-CuqJqFqQ.js";
|
|
8
8
|
import k, { useState as Q, useEffect as _, useRef as O, forwardRef as uu, createContext as Pe } from "react";
|
|
9
|
-
import { p as Ke, h as Ie, k as je, c as Ve, $ as we } from "./useHover-
|
|
10
|
-
import { $ as Le } from "./useDescription-
|
|
11
|
-
import { $ as eu } from "./useLocalizedStringFormatter-
|
|
12
|
-
import { $ as Re } from "./useButton-
|
|
13
|
-
import { $ as Oe } from "./useFocusRing-
|
|
14
|
-
import { $ as Ne } from "./VisuallyHidden-
|
|
15
|
-
import { a as Ze } from "./Input-
|
|
16
|
-
import { $ as Ue } from "./PressResponder-
|
|
9
|
+
import { p as Ke, h as Ie, k as je, c as Ve, $ as we } from "./useHover-D8fja4GW.js";
|
|
10
|
+
import { $ as Le } from "./useDescription-LmB1V4Tg.js";
|
|
11
|
+
import { $ as eu } from "./useLocalizedStringFormatter-CSEh15AZ.js";
|
|
12
|
+
import { $ as Re } from "./useButton-CWHoXYnj.js";
|
|
13
|
+
import { $ as Oe } from "./useFocusRing-HoJn20X5.js";
|
|
14
|
+
import { $ as Ne } from "./VisuallyHidden-BKslUoMJ.js";
|
|
15
|
+
import { a as Ze } from "./Input-BnpBRnJz.js";
|
|
16
|
+
import { $ as Ue } from "./PressResponder-B_Zqu7b1.js";
|
|
17
17
|
import { c as qe } from "./clsx-OuTLNxxd.js";
|
|
18
18
|
import './assets/FileUpload.css';var D = /* @__PURE__ */ function(u) {
|
|
19
19
|
return u[u.none = 0] = "none", u[u.cancel = 0] = "cancel", u[u.move = 1] = "move", u[u.copy = 2] = "copy", u[u.link = 4] = "link", u[u.all = 7] = "all", u;
|