@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,39 +1,39 @@
|
|
|
1
|
-
import { jsxs as be, jsx as
|
|
1
|
+
import { jsxs as be, jsx as E } from "react/jsx-runtime";
|
|
2
2
|
import X, { useRef as T, useMemo as ee, useEffect as pe, useState as Q, useCallback as se, forwardRef as su, createContext as he } from "react";
|
|
3
|
-
import { f as re, b as fe, e as ve, $ as ru } from "./Button-
|
|
4
|
-
import { $ as $u, c as au, d as bu, e as Cu, a as xu, f as mu } from "./utils-
|
|
5
|
-
import { $ as hu, F as Ce } from "./FieldError-
|
|
3
|
+
import { f as re, b as fe, e as ve, $ as ru } from "./Button-DtC_ZOyd.js";
|
|
4
|
+
import { $ as $u, c as au, d as bu, e as Cu, a as xu, f as mu } from "./utils-KYuflGZt.js";
|
|
5
|
+
import { $ as hu, F as Ce } from "./FieldError-BlKkw9YL.js";
|
|
6
6
|
import { $ as fu } from "./Form-CXcEMuBf.js";
|
|
7
|
-
import { a as Ae } from "./Group-
|
|
8
|
-
import { $ as Be, a as vu } from "./Input-
|
|
9
|
-
import { c as Au, d as Bu, e as Ee, f as Eu } from "./ListBox-
|
|
10
|
-
import { o as Tu, h as Du, i as Fu, m as yu } from "./Dialog-
|
|
11
|
-
import { $ as Te } from "./Text
|
|
12
|
-
import { b as Lu, c as Su } from "./Collection-
|
|
7
|
+
import { a as Ae } from "./Group-B3mRMVy7.js";
|
|
8
|
+
import { $ as Be, a as vu } from "./Input-BnpBRnJz.js";
|
|
9
|
+
import { c as Au, d as Bu, e as Ee, f as Eu } from "./ListBox-y_dw__MI.js";
|
|
10
|
+
import { o as Tu, h as Du, i as Fu, m as yu } from "./Dialog-BuJdAr0D.js";
|
|
11
|
+
import { $ as Te } from "./Text--KL3Auo7.js";
|
|
12
|
+
import { b as Lu, c as Su } from "./Collection-C5vE9MtJ.js";
|
|
13
13
|
import { $ as gu } from "./filterDOMProps-D6KHYVBX.js";
|
|
14
|
-
import { a as ku, g as Pu } from "./OverlayArrow-
|
|
15
|
-
import { $ as Ku } from "./useFilter-
|
|
16
|
-
import { d as Ou, $ as Iu } from "./useFormValidation-
|
|
17
|
-
import { e as Ru, f as De, h as wu } from "./SelectionManager-
|
|
18
|
-
import { $ as Gu } from "./useSingleSelectListState-
|
|
19
|
-
import { b as zu } from "./useListState-
|
|
14
|
+
import { a as ku, g as Pu } from "./OverlayArrow-DfkRZlgG.js";
|
|
15
|
+
import { $ as Ku } from "./useFilter-BKQT28sh.js";
|
|
16
|
+
import { d as Ou, $ as Iu } from "./useFormValidation-BW2NSTM4.js";
|
|
17
|
+
import { e as Ru, f as De, h as wu } from "./SelectionManager-BdKKuso-.js";
|
|
18
|
+
import { $ as Gu } from "./useSingleSelectListState-D7LjjoUJ.js";
|
|
19
|
+
import { b as zu } from "./useListState-e7cL-FOK.js";
|
|
20
20
|
import { $ as Vu } from "./useControlledState-u436Wbp1.js";
|
|
21
|
-
import { e as Mu, a as xe } from "./mergeProps-
|
|
22
|
-
import { c as ju, b as Nu } from "./utils-
|
|
23
|
-
import { c as Uu } from "./usePress-
|
|
24
|
-
import { $ as me } from "./useLabels-
|
|
21
|
+
import { e as Mu, a as xe } from "./mergeProps-BYJQ6N1s.js";
|
|
22
|
+
import { c as ju, b as Nu } from "./utils-CuqJqFqQ.js";
|
|
23
|
+
import { c as Uu } from "./usePress-B_jgTf4k.js";
|
|
24
|
+
import { $ as me } from "./useLabels-DZlvh4P4.js";
|
|
25
25
|
import { $ as qu } from "./useUpdateEffect-CCDx8D4X.js";
|
|
26
|
-
import { o as $e } from "./useHover-
|
|
27
|
-
import { a as Wu } from "./Separator-
|
|
28
|
-
import { a as Xu } from "./ListKeyboardDelegate-
|
|
29
|
-
import { $ as Zu } from "./useLocalizedStringFormatter-
|
|
30
|
-
import { $ as Hu } from "./useTextField-
|
|
26
|
+
import { o as $e } from "./useHover-D8fja4GW.js";
|
|
27
|
+
import { a as Wu } from "./Separator-CggS0R7Q.js";
|
|
28
|
+
import { a as Xu } from "./ListKeyboardDelegate-mcrZobNa.js";
|
|
29
|
+
import { $ as Zu } from "./useLocalizedStringFormatter-CSEh15AZ.js";
|
|
30
|
+
import { $ as Hu } from "./useTextField-DFkSHoQN.js";
|
|
31
31
|
import { c as ae } from "./clsx-OuTLNxxd.js";
|
|
32
|
-
import { a as Ju, L as Yu } from "./Label-
|
|
33
|
-
import { T as _u } from "./Text-
|
|
34
|
-
import { b as Qu, L as en, a as un, c as nn } from "./ListBoxSection-
|
|
32
|
+
import { a as Ju, L as Yu } from "./Label-ByWt6Lfh.js";
|
|
33
|
+
import { T as _u } from "./Text-BUDAzDjW.js";
|
|
34
|
+
import { b as Qu, L as en, a as un, c as nn } from "./ListBoxSection-Cv-gN76G.js";
|
|
35
35
|
import { C as on } from "./chevron-down-DmZMdOiC.js";
|
|
36
|
-
import { u as tn } from "./useLocalizedStringFormatter-
|
|
36
|
+
import { u as tn } from "./useLocalizedStringFormatter-aOhh7wdl.js";
|
|
37
37
|
import './assets/ComboBox.css';var Fe = {};
|
|
38
38
|
Fe = {
|
|
39
39
|
buttonLabel: "عرض المقترحات",
|
|
@@ -755,22 +755,22 @@ function ln(e) {
|
|
|
755
755
|
return e && e.__esModule ? e.default : e;
|
|
756
756
|
}
|
|
757
757
|
function cn(e, u) {
|
|
758
|
-
let { buttonRef: i, popoverRef: a, inputRef: t, listBoxRef: d, keyboardDelegate:
|
|
758
|
+
let { buttonRef: i, popoverRef: a, inputRef: t, listBoxRef: d, keyboardDelegate: f, layoutDelegate: b, shouldFocusWrap: x, isReadOnly: F, isDisabled: g } = e, m = T(null);
|
|
759
759
|
i = i ?? m;
|
|
760
|
-
let
|
|
760
|
+
let v = Zu(ln(iu), "@react-aria/combobox"), { menuTriggerProps: A, menuProps: B } = Tu({
|
|
761
761
|
type: "listbox",
|
|
762
762
|
isDisabled: g || F
|
|
763
763
|
}, u, i);
|
|
764
764
|
Au.set(u, {
|
|
765
|
-
id:
|
|
765
|
+
id: B.id
|
|
766
766
|
});
|
|
767
|
-
let { collection: h } = u, { disabledKeys: S } = u.selectionManager, l = ee(() =>
|
|
767
|
+
let { collection: h } = u, { disabledKeys: S } = u.selectionManager, l = ee(() => f || new Xu({
|
|
768
768
|
collection: h,
|
|
769
769
|
disabledKeys: S,
|
|
770
770
|
ref: d,
|
|
771
771
|
layoutDelegate: b
|
|
772
772
|
}), [
|
|
773
|
-
|
|
773
|
+
f,
|
|
774
774
|
b,
|
|
775
775
|
h,
|
|
776
776
|
S,
|
|
@@ -839,12 +839,12 @@ function cn(e, u) {
|
|
|
839
839
|
(c = t.current) === null || c === void 0 || c.focus(), u.toggle(n.pointerType === "keyboard" || n.pointerType === "virtual" ? "first" : null, "manual");
|
|
840
840
|
}
|
|
841
841
|
}, r = me({
|
|
842
|
-
id:
|
|
843
|
-
"aria-label":
|
|
842
|
+
id: A.id,
|
|
843
|
+
"aria-label": v.format("buttonLabel"),
|
|
844
844
|
"aria-labelledby": e["aria-labelledby"] || y.id
|
|
845
845
|
}), k = me({
|
|
846
|
-
id:
|
|
847
|
-
"aria-label":
|
|
846
|
+
id: B.id,
|
|
847
|
+
"aria-label": v.format("listboxLabel"),
|
|
848
848
|
"aria-labelledby": e["aria-labelledby"] || y.id
|
|
849
849
|
}), I = T(0), M = (n) => {
|
|
850
850
|
if (g || F) return;
|
|
@@ -867,7 +867,7 @@ function cn(e, u) {
|
|
|
867
867
|
if ($e() && D != null && w != null && w !== Y.current) {
|
|
868
868
|
let c = u.selectionManager.isSelected(w), p = R != null ? u.collection.getItem(R) : null, O = (p == null ? void 0 : p["aria-label"]) || (typeof (p == null ? void 0 : p.rendered) == "string" ? p.rendered : "") || "";
|
|
869
869
|
var n;
|
|
870
|
-
let ie =
|
|
870
|
+
let ie = v.format("focusAnnouncement", {
|
|
871
871
|
isGroupChange: (n = p && R !== J.current) !== null && n !== void 0 ? n : !1,
|
|
872
872
|
groupTitle: O,
|
|
873
873
|
groupCount: p ? [
|
|
@@ -884,7 +884,7 @@ function cn(e, u) {
|
|
|
884
884
|
pe(() => {
|
|
885
885
|
let n = u.isOpen !== te.current && (u.selectionManager.focusedKey == null || $e());
|
|
886
886
|
if (u.isOpen && (n || K !== _.current)) {
|
|
887
|
-
let c =
|
|
887
|
+
let c = v.format("countAnnouncement", {
|
|
888
888
|
optionCount: K
|
|
889
889
|
});
|
|
890
890
|
re(c);
|
|
@@ -894,7 +894,7 @@ function cn(e, u) {
|
|
|
894
894
|
let le = T(u.selectedKey);
|
|
895
895
|
return pe(() => {
|
|
896
896
|
if ($e() && u.isFocused && u.selectedItem && u.selectedKey !== le.current) {
|
|
897
|
-
let n = u.selectedItem["aria-label"] || u.selectedItem.textValue || "", c =
|
|
897
|
+
let n = u.selectedItem["aria-label"] || u.selectedItem.textValue || "", c = v.format("selectedAnnouncement", {
|
|
898
898
|
optionText: n
|
|
899
899
|
});
|
|
900
900
|
re(c);
|
|
@@ -916,7 +916,7 @@ function cn(e, u) {
|
|
|
916
916
|
]), {
|
|
917
917
|
labelProps: y,
|
|
918
918
|
buttonProps: {
|
|
919
|
-
...
|
|
919
|
+
...A,
|
|
920
920
|
...r,
|
|
921
921
|
excludeFromTabOrder: !0,
|
|
922
922
|
preventFocusOnPress: !0,
|
|
@@ -926,8 +926,8 @@ function cn(e, u) {
|
|
|
926
926
|
},
|
|
927
927
|
inputProps: xe(L, {
|
|
928
928
|
role: "combobox",
|
|
929
|
-
"aria-expanded":
|
|
930
|
-
"aria-controls": u.isOpen ?
|
|
929
|
+
"aria-expanded": A["aria-expanded"],
|
|
930
|
+
"aria-controls": u.isOpen ? B.id : void 0,
|
|
931
931
|
// TODO: readd proper logic for completionMode = complete (aria-autocomplete: both)
|
|
932
932
|
"aria-autocomplete": "list",
|
|
933
933
|
"aria-activedescendant": D ? Bu(u, D.key) : void 0,
|
|
@@ -937,7 +937,7 @@ function cn(e, u) {
|
|
|
937
937
|
// This disable's the macOS Safari spell check auto corrections.
|
|
938
938
|
spellCheck: "false"
|
|
939
939
|
}),
|
|
940
|
-
listBoxProps: xe(
|
|
940
|
+
listBoxProps: xe(B, k, {
|
|
941
941
|
autoFocus: u.focusStrategy || !0,
|
|
942
942
|
shouldUseVirtualFocus: !0,
|
|
943
943
|
shouldSelectOnPressUp: !0,
|
|
@@ -953,14 +953,14 @@ function cn(e, u) {
|
|
|
953
953
|
}
|
|
954
954
|
function pn(e) {
|
|
955
955
|
var u;
|
|
956
|
-
let { defaultFilter: i, menuTrigger: a = "input", allowsEmptyCollection: t = !1, allowsCustomValue: d, shouldCloseOnBlur:
|
|
956
|
+
let { defaultFilter: i, menuTrigger: a = "input", allowsEmptyCollection: t = !1, allowsCustomValue: d, shouldCloseOnBlur: f = !0 } = e, [b, x] = Q(!1), [F, g] = Q(!1), [m, v] = Q(null), A = (o) => {
|
|
957
957
|
e.onSelectionChange && e.onSelectionChange(o), o === l && (w(), P());
|
|
958
958
|
};
|
|
959
|
-
var
|
|
959
|
+
var B;
|
|
960
960
|
let { collection: h, selectionManager: S, selectedKey: l, setSelectedKey: G, selectedItem: ue, disabledKeys: ne } = Gu({
|
|
961
961
|
...e,
|
|
962
|
-
onSelectionChange:
|
|
963
|
-
items: (
|
|
962
|
+
onSelectionChange: A,
|
|
963
|
+
items: (B = e.items) !== null && B !== void 0 ? B : e.defaultItems
|
|
964
964
|
}), z = e.defaultInputValue;
|
|
965
965
|
if (z == null) {
|
|
966
966
|
var N, U;
|
|
@@ -983,7 +983,7 @@ function pn(e) {
|
|
|
983
983
|
defaultOpen: void 0
|
|
984
984
|
}), k = (o = null, $) => {
|
|
985
985
|
let C = $ === "manual" || $ === "focus" && a === "focus";
|
|
986
|
-
(t || L.size > 0 || C && y.size > 0 || e.items) && (C && !r.isOpen && e.items === void 0 && x(!0), V.current = $,
|
|
986
|
+
(t || L.size > 0 || C && y.size > 0 || e.items) && (C && !r.isOpen && e.items === void 0 && x(!0), V.current = $, v(o), r.open());
|
|
987
987
|
}, I = (o = null, $) => {
|
|
988
988
|
let C = $ === "manual" || $ === "focus" && a === "focus";
|
|
989
989
|
!(t || L.size > 0 || C && y.size > 0 || e.items) && !r.isOpen || (C && !r.isOpen && e.items === void 0 && x(!0), r.isOpen || (V.current = $), D(o));
|
|
@@ -994,7 +994,7 @@ function pn(e) {
|
|
|
994
994
|
y,
|
|
995
995
|
L
|
|
996
996
|
]), D = se((o = null) => {
|
|
997
|
-
r.isOpen && M(),
|
|
997
|
+
r.isOpen && M(), v(o), r.toggle();
|
|
998
998
|
}, [
|
|
999
999
|
r,
|
|
1000
1000
|
M
|
|
@@ -1053,7 +1053,7 @@ function pn(e) {
|
|
|
1053
1053
|
let ie = () => {
|
|
1054
1054
|
r.isOpen && S.focusedKey != null ? l === S.focusedKey ? p() : G(S.focusedKey) : O();
|
|
1055
1055
|
}, de = T(s), ce = (o) => {
|
|
1056
|
-
o ? (de.current = s, a === "focus" && !e.isReadOnly && k(null, "focus")) : (
|
|
1056
|
+
o ? (de.current = s, a === "focus" && !e.isReadOnly && k(null, "focus")) : (f && O(), s !== de.current && le.commitValidation()), g(o);
|
|
1057
1057
|
}, pu = ee(() => r.isOpen ? b ? y : L : Z, [
|
|
1058
1058
|
r.isOpen,
|
|
1059
1059
|
y,
|
|
@@ -1089,12 +1089,12 @@ function cu(e, u, i, a) {
|
|
|
1089
1089
|
let t = [];
|
|
1090
1090
|
for (let d of u)
|
|
1091
1091
|
if (d.type === "section" && d.hasChildNodes) {
|
|
1092
|
-
let
|
|
1092
|
+
let f = cu(e, De(d, e), i, a);
|
|
1093
1093
|
[
|
|
1094
|
-
...
|
|
1094
|
+
...f
|
|
1095
1095
|
].some((b) => b.type === "item") && t.push({
|
|
1096
1096
|
...d,
|
|
1097
|
-
childNodes:
|
|
1097
|
+
childNodes: f
|
|
1098
1098
|
});
|
|
1099
1099
|
} else d.type === "item" && a(d.textValue, i) ? t.push({
|
|
1100
1100
|
...d
|
|
@@ -1105,7 +1105,7 @@ function cu(e, u, i, a) {
|
|
|
1105
1105
|
}
|
|
1106
1106
|
const sn = /* @__PURE__ */ he(null), rn = /* @__PURE__ */ he(null), $n = /* @__PURE__ */ su(function(u, i) {
|
|
1107
1107
|
[u, i] = $u(u, i, sn);
|
|
1108
|
-
let { children: a, isDisabled: t = !1, isInvalid: d = !1, isRequired:
|
|
1108
|
+
let { children: a, isDisabled: t = !1, isInvalid: d = !1, isRequired: f = !1 } = u, b = ee(() => {
|
|
1109
1109
|
var x;
|
|
1110
1110
|
return /* @__PURE__ */ X.createElement(Ee.Provider, {
|
|
1111
1111
|
value: {
|
|
@@ -1115,14 +1115,14 @@ const sn = /* @__PURE__ */ he(null), rn = /* @__PURE__ */ he(null), $n = /* @__P
|
|
|
1115
1115
|
isOpen: !1,
|
|
1116
1116
|
isDisabled: t,
|
|
1117
1117
|
isInvalid: d,
|
|
1118
|
-
isRequired:
|
|
1118
|
+
isRequired: f,
|
|
1119
1119
|
defaultChildren: null
|
|
1120
1120
|
}) : a);
|
|
1121
1121
|
}, [
|
|
1122
1122
|
a,
|
|
1123
1123
|
t,
|
|
1124
1124
|
d,
|
|
1125
|
-
|
|
1125
|
+
f,
|
|
1126
1126
|
u.items,
|
|
1127
1127
|
u.defaultItems
|
|
1128
1128
|
]);
|
|
@@ -1143,9 +1143,9 @@ const sn = /* @__PURE__ */ he(null), rn = /* @__PURE__ */ he(null), $n = /* @__P
|
|
|
1143
1143
|
function bn({ props: e, collection: u, comboBoxRef: i }) {
|
|
1144
1144
|
let { name: a, formValue: t = "key", allowsCustomValue: d } = e;
|
|
1145
1145
|
d && (t = "text");
|
|
1146
|
-
let { validationBehavior:
|
|
1146
|
+
let { validationBehavior: f } = au(fu) || {};
|
|
1147
1147
|
var b, x;
|
|
1148
|
-
let F = (x = (b = e.validationBehavior) !== null && b !== void 0 ? b :
|
|
1148
|
+
let F = (x = (b = e.validationBehavior) !== null && b !== void 0 ? b : f) !== null && x !== void 0 ? x : "native", { contains: g } = Ku({
|
|
1149
1149
|
sensitivity: "base"
|
|
1150
1150
|
}), m = pn({
|
|
1151
1151
|
defaultFilter: e.defaultFilter || g,
|
|
@@ -1155,28 +1155,28 @@ function bn({ props: e, collection: u, comboBoxRef: i }) {
|
|
|
1155
1155
|
children: void 0,
|
|
1156
1156
|
collection: u,
|
|
1157
1157
|
validationBehavior: F
|
|
1158
|
-
}),
|
|
1158
|
+
}), v = T(null), A = T(null), B = T(null), h = T(null), [S, l] = bu(!e["aria-label"] && !e["aria-labelledby"]), { buttonProps: G, inputProps: ue, listBoxProps: ne, labelProps: z, descriptionProps: N, errorMessageProps: U, ...s } = cn({
|
|
1159
1159
|
...Cu(e),
|
|
1160
1160
|
label: l,
|
|
1161
|
-
inputRef:
|
|
1162
|
-
buttonRef:
|
|
1163
|
-
listBoxRef:
|
|
1161
|
+
inputRef: A,
|
|
1162
|
+
buttonRef: v,
|
|
1163
|
+
listBoxRef: B,
|
|
1164
1164
|
popoverRef: h,
|
|
1165
1165
|
name: t === "text" ? a : void 0,
|
|
1166
1166
|
validationBehavior: F
|
|
1167
1167
|
}, m), [q, y] = Q(null), L = se(() => {
|
|
1168
|
-
if (
|
|
1168
|
+
if (A.current) {
|
|
1169
1169
|
var r;
|
|
1170
|
-
let k = (r =
|
|
1170
|
+
let k = (r = v.current) === null || r === void 0 ? void 0 : r.getBoundingClientRect(), I = A.current.getBoundingClientRect(), M = k ? Math.min(k.left, I.left) : I.left, D = k ? Math.max(k.right, I.right) : I.right;
|
|
1171
1171
|
y(D - M + "px");
|
|
1172
1172
|
}
|
|
1173
1173
|
}, [
|
|
1174
|
+
v,
|
|
1174
1175
|
A,
|
|
1175
|
-
B,
|
|
1176
1176
|
y
|
|
1177
1177
|
]);
|
|
1178
1178
|
Pu({
|
|
1179
|
-
ref:
|
|
1179
|
+
ref: A,
|
|
1180
1180
|
onResize: L
|
|
1181
1181
|
});
|
|
1182
1182
|
let Z = ee(() => ({
|
|
@@ -1213,7 +1213,7 @@ function bn({ props: e, collection: u, comboBoxRef: i }) {
|
|
|
1213
1213
|
ve,
|
|
1214
1214
|
{
|
|
1215
1215
|
...G,
|
|
1216
|
-
ref:
|
|
1216
|
+
ref: v,
|
|
1217
1217
|
isPressed: m.isOpen
|
|
1218
1218
|
}
|
|
1219
1219
|
],
|
|
@@ -1221,7 +1221,7 @@ function bn({ props: e, collection: u, comboBoxRef: i }) {
|
|
|
1221
1221
|
Be,
|
|
1222
1222
|
{
|
|
1223
1223
|
...ue,
|
|
1224
|
-
ref:
|
|
1224
|
+
ref: A
|
|
1225
1225
|
}
|
|
1226
1226
|
],
|
|
1227
1227
|
[
|
|
@@ -1232,8 +1232,8 @@ function bn({ props: e, collection: u, comboBoxRef: i }) {
|
|
|
1232
1232
|
yu,
|
|
1233
1233
|
{
|
|
1234
1234
|
ref: h,
|
|
1235
|
-
triggerRef:
|
|
1236
|
-
scrollRef:
|
|
1235
|
+
triggerRef: A,
|
|
1236
|
+
scrollRef: B,
|
|
1237
1237
|
placement: "bottom start",
|
|
1238
1238
|
isNonModal: !0,
|
|
1239
1239
|
trigger: "ComboBox",
|
|
@@ -1247,7 +1247,7 @@ function bn({ props: e, collection: u, comboBoxRef: i }) {
|
|
|
1247
1247
|
Ee,
|
|
1248
1248
|
{
|
|
1249
1249
|
...ne,
|
|
1250
|
-
ref:
|
|
1250
|
+
ref: B
|
|
1251
1251
|
}
|
|
1252
1252
|
],
|
|
1253
1253
|
[
|
|
@@ -1306,21 +1306,21 @@ const Cn = "_combobox_zftmk_4", xn = "_inputField_zftmk_9", mn = "_medium_zftmk_
|
|
|
1306
1306
|
en: An,
|
|
1307
1307
|
sv: Bn
|
|
1308
1308
|
};
|
|
1309
|
-
function
|
|
1309
|
+
function co({
|
|
1310
1310
|
label: e,
|
|
1311
1311
|
description: u,
|
|
1312
1312
|
errorMessage: i,
|
|
1313
1313
|
children: a,
|
|
1314
1314
|
items: t,
|
|
1315
1315
|
className: d,
|
|
1316
|
-
errorPosition:
|
|
1316
|
+
errorPosition: f = "top",
|
|
1317
1317
|
size: b = "large",
|
|
1318
1318
|
popover: x,
|
|
1319
1319
|
...F
|
|
1320
1320
|
}) {
|
|
1321
|
-
const g = X.useRef(null), m = tn(En),
|
|
1322
|
-
var
|
|
1323
|
-
|
|
1321
|
+
const g = X.useRef(null), m = tn(En), v = (A) => {
|
|
1322
|
+
var B;
|
|
1323
|
+
A.currentTarget.value && ((B = g.current) == null || B.select());
|
|
1324
1324
|
};
|
|
1325
1325
|
return /* @__PURE__ */ be(
|
|
1326
1326
|
$n,
|
|
@@ -1328,33 +1328,33 @@ function po({
|
|
|
1328
1328
|
className: ae(W.combobox, d),
|
|
1329
1329
|
...F,
|
|
1330
1330
|
children: [
|
|
1331
|
-
/* @__PURE__ */
|
|
1332
|
-
u && /* @__PURE__ */
|
|
1333
|
-
|
|
1331
|
+
/* @__PURE__ */ E(Ju, { popover: x, children: e && /* @__PURE__ */ E(Yu, { children: e }) }),
|
|
1332
|
+
u && /* @__PURE__ */ E(_u, { slot: "description", children: u }),
|
|
1333
|
+
f === "top" && /* @__PURE__ */ E(Ce, { "data-testid": "fieldError", children: i }),
|
|
1334
1334
|
/* @__PURE__ */ be("div", { className: W.wrap, children: [
|
|
1335
|
-
/* @__PURE__ */
|
|
1335
|
+
/* @__PURE__ */ E(
|
|
1336
1336
|
vu,
|
|
1337
1337
|
{
|
|
1338
1338
|
className: ae(W.inputField, {
|
|
1339
1339
|
[W.medium]: b === "medium"
|
|
1340
1340
|
}),
|
|
1341
|
-
onMouseUp:
|
|
1341
|
+
onMouseUp: v,
|
|
1342
1342
|
ref: g
|
|
1343
1343
|
}
|
|
1344
1344
|
),
|
|
1345
|
-
/* @__PURE__ */
|
|
1345
|
+
/* @__PURE__ */ E(
|
|
1346
1346
|
ru,
|
|
1347
1347
|
{
|
|
1348
1348
|
className: ae(W.button, {
|
|
1349
1349
|
[W.medium]: b === "medium"
|
|
1350
1350
|
}),
|
|
1351
1351
|
"aria-label": m.format("showList"),
|
|
1352
|
-
children: /* @__PURE__ */
|
|
1352
|
+
children: /* @__PURE__ */ E(
|
|
1353
1353
|
"div",
|
|
1354
1354
|
{
|
|
1355
1355
|
className: W.icon,
|
|
1356
1356
|
"aria-hidden": "true",
|
|
1357
|
-
children: /* @__PURE__ */
|
|
1357
|
+
children: /* @__PURE__ */ E(
|
|
1358
1358
|
on,
|
|
1359
1359
|
{
|
|
1360
1360
|
size: 20,
|
|
@@ -1366,24 +1366,20 @@ function po({
|
|
|
1366
1366
|
}
|
|
1367
1367
|
)
|
|
1368
1368
|
] }),
|
|
1369
|
-
|
|
1370
|
-
/* @__PURE__ */
|
|
1369
|
+
f === "bottom" && /* @__PURE__ */ E(Ce, { "data-testid": "fieldError", children: i }),
|
|
1370
|
+
/* @__PURE__ */ E(Qu, { children: /* @__PURE__ */ E(en, { items: t, children: a }) })
|
|
1371
1371
|
]
|
|
1372
1372
|
}
|
|
1373
1373
|
);
|
|
1374
1374
|
}
|
|
1375
1375
|
function Tn(e) {
|
|
1376
|
-
return /* @__PURE__ */
|
|
1377
|
-
}
|
|
1378
|
-
function Dn(e) {
|
|
1379
|
-
return /* @__PURE__ */ f(nn, { ...e, children: /* @__PURE__ */ f(Su, { items: e.children, children: (u) => /* @__PURE__ */ f(Tn, { children: u.name }, u.id) }) });
|
|
1376
|
+
return /* @__PURE__ */ E(un, { ...e });
|
|
1380
1377
|
}
|
|
1381
|
-
function
|
|
1382
|
-
return /* @__PURE__ */
|
|
1378
|
+
function po(e) {
|
|
1379
|
+
return /* @__PURE__ */ E(nn, { ...e, children: /* @__PURE__ */ E(Su, { items: e.children, children: (u) => /* @__PURE__ */ E(Tn, { children: u.name }, u.id) }) });
|
|
1383
1380
|
}
|
|
1384
1381
|
export {
|
|
1385
|
-
|
|
1382
|
+
co as C,
|
|
1386
1383
|
Tn as a,
|
|
1387
|
-
|
|
1388
|
-
so as c
|
|
1384
|
+
po as b
|
|
1389
1385
|
};
|