@midas-ds/components 15.1.3 → 15.2.2
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-8UtB6O1X.js → AccordionItem-B_49vBml.js} +58 -58
- package/AccordionItem-C-gkv3jn.cjs +1 -0
- package/{Breadcrumbs-BenPNv8Z.js → Breadcrumbs-BKft9SZ9.js} +8 -8
- package/{Breadcrumbs-BBDGxc68.cjs → Breadcrumbs-G8PykxwF.cjs} +1 -1
- package/{Button-DdXFHfXw.js → Button-Bb0wSnh4.js} +1 -1
- package/Button-BuelSBWx.cjs +1 -0
- package/{Button-BEWKXjlP.cjs → Button-CaPoPCq8.cjs} +1 -1
- package/{Button-BbfVT9Yl.js → Button-DQKRTkoz.js} +8 -8
- package/CHANGELOG.md +50 -0
- package/{Card-CdqGFff2.js → Card-BIx_JcUG.js} +4 -4
- package/{Card-Db9xdzJ0.cjs → Card-Du2Tzg4R.cjs} +1 -1
- package/CharacterCounter-C8PalBAH.cjs +1 -0
- package/CharacterCounter-mifF3s5f.js +22 -0
- package/Checkbox-CsITchPQ.js +281 -0
- package/Checkbox-LGIr8OfT.cjs +1 -0
- package/CheckboxGroup-BdcEnLWf.cjs +1 -0
- package/{CheckboxGroup-BkzQi1FB.js → CheckboxGroup-Cn5j_R5a.js} +45 -40
- package/{Collection-BkxwF21i.js → Collection-CXAXUgCh.js} +12 -12
- package/Collection-Dq97IKYm.cjs +1 -0
- package/ColorSchemeSwitch-AM8Xon5u.cjs +1 -0
- package/{ColorSchemeSwitch-aF2UxI20.js → ColorSchemeSwitch-DK2w93PC.js} +5 -23
- package/{ComboBox-t1RVXiiQ.js → ComboBox-BFfUWFb-.js} +157 -162
- package/{ComboBox-BISNYEw3.cjs → ComboBox-_fqwvHy1.cjs} +1 -1
- package/DateField-CJkMWNOU.js +45 -0
- package/DateField-CuEzECWT.cjs +1 -0
- package/{DateInputDivider-DOHpVaNE.js → DateInputDivider-DCOj8K0x.js} +43 -43
- package/DateInputDivider-DJN5KyLX.cjs +1 -0
- package/DateRangePicker-BleP75yR.cjs +1 -0
- package/{DateRangePicker-ezrFzzrO.js → DateRangePicker-Dwd6n5Ep.js} +207 -209
- package/{Dialog-DtOf0vWx.cjs → Dialog-DOXrOfUr.cjs} +1 -1
- package/{Dialog-D4Py85wi.js → Dialog-F3u8agGf.js} +43 -43
- package/{Dialog-CPuJA2fm.js → Dialog-OKCVfgWq.js} +11 -11
- package/Dialog-XOUP-FA_.cjs +6 -0
- package/{DragAndDrop-DF0VoPJw.js → DragAndDrop-37cBrgqG.js} +7 -7
- package/DragAndDrop-pskCjm3i.cjs +1 -0
- package/Dropdown-C-2k1le5.cjs +1 -0
- package/{Dropdown-B4lwe0Hn.js → Dropdown-yIguICs_.js} +4 -10
- package/FieldError-DQ61agyq.js +48 -0
- package/FieldError-DwYQXCwP.cjs +1 -0
- package/{FileUpload-DLBP3VPp.js → FileUpload-B3KSWqbo.js} +16 -16
- package/{FileUpload-C0TjNkuh.cjs → FileUpload-DsTi9F39.cjs} +2 -2
- package/{Group-B0Wj9pI8.cjs → Group-BGDzFZ4R.cjs} +1 -1
- package/{Group-BAd7alBM.js → Group-C-bh9aEE.js} +4 -4
- package/{Heading-CCoGfKQ8.js → Heading-BRErvUe8.js} +1 -1
- package/{Heading-x7y3xadc.cjs → Heading-DWSQCI4U.cjs} +1 -1
- package/InfoBanner-BY-ATC3B.cjs +1 -0
- package/InfoBanner-DU8GMggz.js +72 -0
- package/{Input-CQzv-D9g.js → Input-B6G4aU36.js} +4 -4
- package/{Input-Bda0PCu5.cjs → Input-CpMWCSE3.cjs} +1 -1
- package/Label-DkNtFYv5.cjs +1 -0
- package/Label-knQhhLVp.js +74 -0
- package/Layout-B6EeXI6A.cjs +1 -0
- package/Layout-DTTpCtPx.js +463 -0
- package/{Link-BudFjYrw.js → Link-BEXS7vVU.js} +5 -11
- package/Link-BPg_SBiF.cjs +1 -0
- package/{Link-DRU6Qzia.cjs → Link-MUiihlbG.cjs} +1 -1
- package/{Link-l-nMP-Zd.js → Link-bblcx0a9.js} +7 -7
- package/{LinkButton-DP9W-E32.js → LinkButton-Dr3wO2Gq.js} +5 -11
- package/LinkButton-zk257klG.cjs +1 -0
- package/ListBox-BDEzuwgf.cjs +1 -0
- package/ListBox-BJLtPJiW.cjs +1 -0
- package/{ListBox-5GK4ZRj1.js → ListBox-CEkHNTKf.js} +34 -34
- package/{ListBox-BP_jDOdE.js → ListBox-TsgvK95f.js} +51 -52
- package/{ListBoxLoadMoreItem-8dHDWs3w.cjs → ListBoxLoadMoreItem-Bpp_Sab2.cjs} +1 -1
- package/{ListBoxLoadMoreItem-BE5zpVVP.js → ListBoxLoadMoreItem-z7Cpu0NS.js} +4 -4
- package/ListBoxSection-C-7JFypr.js +51 -0
- package/ListBoxSection-DcajcZMK.cjs +1 -0
- package/ListKeyboardDelegate-6U5oNrPf.cjs +1 -0
- package/{ListKeyboardDelegate-BBmpJ-2O.js → ListKeyboardDelegate-RT2g6YNq.js} +9 -9
- package/{LocalizedStringFormatter-D-4Qyql0.js → LocalizedStringFormatter-B30riBJg.js} +1 -1
- package/LocalizedStringFormatter-COUSbzAQ.cjs +1 -0
- package/{Logo-DLlt576_.js → Logo-DJIcUslN.js} +1 -1
- package/{Logo-4tRnV4Su.cjs → Logo-YY9hQ8G3.cjs} +1 -1
- package/{OverlayArrow-CjGslX2c.js → OverlayArrow--IqDwz6a.js} +26 -26
- package/OverlayArrow-C2rMXHUL.cjs +1 -0
- package/{Popover-DpB0XDBp.cjs → Popover-DatBJsbE.cjs} +1 -1
- package/{Popover-CS8Yyfrq.js → Popover-wdMVjcxB.js} +2 -2
- package/PressResponder-DNelELQh.cjs +1 -0
- package/{PressResponder-BMj6Zvbn.js → PressResponder-zxT2DkkQ.js} +5 -5
- package/ProgressBar-Cp0-AYZG.js +53 -0
- package/ProgressBar-DkpC1juo.cjs +1 -0
- package/{Radio-DClH8mWz.js → Radio-BPNKJKOP.js} +45 -45
- package/Radio-BxWwVigT.cjs +1 -0
- package/RangeCalendar-BNrmWgzG.cjs +1 -0
- package/{RangeCalendar-DT_KVd80.js → RangeCalendar-vgnMNbq9.js} +125 -122
- package/{SearchField-Cd6X2rY4.js → SearchField-DPfxzKjv.js} +124 -131
- package/SearchField-o3f8qUIH.cjs +1 -0
- package/Select-CBDKZpHJ.js +672 -0
- package/Select-C_NA-Rmt.cjs +1 -0
- package/Select-CsKzomrZ.cjs +1 -0
- package/{Select-D4xRL7l2.js → Select-L_SkM5rY.js} +118 -118
- package/{SelectionIndicator-C2E23-zO.js → SelectionIndicator-B5J-eND9.js} +16 -16
- package/SelectionIndicator-CD2Lb431.cjs +1 -0
- package/SelectionManager-C4hvFZl0.cjs +1 -0
- package/{SelectionManager-DoNLJm8c.js → SelectionManager-bnxBDhgb.js} +20 -20
- package/{Separator-DCi4bnBr.cjs → Separator--v6lgpnX.cjs} +1 -1
- package/{Separator-CSyYDGNE.cjs → Separator-CYPstw7z.cjs} +1 -1
- package/{Separator-CQfDz_zr.js → Separator-Cxt7kicM.js} +6 -6
- package/{Separator-DLr4kUJD.js → Separator-DNzGXwgr.js} +4 -4
- package/{Spinner-D6Fcu_Dp.js → Spinner-BY-ql54i.js} +4 -10
- package/{Spinner-DIapnvIz.cjs → Spinner-Diy-6pvn.cjs} +1 -6
- package/{TabList-BBmBumm6.js → TabList-B3171e0b.js} +17 -17
- package/TabList-DPmDWfKk.cjs +1 -0
- package/Table-BUdVtD4F.cjs +1 -0
- package/{Table-DxqKDp7N.js → Table-CbogM0Ti.js} +49 -67
- package/Tag-Bd8ql_zX.cjs +1 -0
- package/{Tag-DX1X_NZE.js → Tag-DbNUEevV.js} +29 -29
- package/{Text-BBFWBNAH.js → Text-6Fdknq88.js} +10 -10
- package/{Text-bqP9NeVg.js → Text-B30xuDOt.js} +1 -1
- package/{Text-0wXj3J8E.cjs → Text-BiDSbNaP.cjs} +1 -1
- package/Text-D29KP4_q.cjs +1 -0
- package/{TextArea-CcKY4TI2.js → TextArea-CPNWfdbi.js} +10 -10
- package/{TextArea-D68vGjYJ.cjs → TextArea-CWEBjWY4.cjs} +1 -1
- package/{TextField-DyR61bjZ.js → TextField-1_-3gKYa.js} +11 -11
- package/{TextField-DtD9-arA.cjs → TextField-6v1u8c__.cjs} +1 -1
- package/TextField.module-D9xjQoiS.js +13 -0
- package/TextField.module-gwQfMD2x.cjs +1 -0
- package/Toast-Ds5Fo6h5.cjs +1 -0
- package/{Toast-B99bLWnh.js → Toast-_qUnywNt.js} +14 -14
- package/{ToggleButtonGroup-dnvnzkaD.cjs → ToggleButtonGroup-DWqPFJWL.cjs} +1 -1
- package/{ToggleButtonGroup-CFRutAZ4.js → ToggleButtonGroup-H5EyZXFC.js} +7 -7
- package/Tooltip-CPn8DVh8.cjs +1 -0
- package/{Tooltip-CUdmOznK.js → Tooltip-CTF8e-pm.js} +9 -9
- package/{VisuallyHidden-DuW70K-5.js → VisuallyHidden-BCa6ThRH.js} +2 -2
- package/{VisuallyHidden-BMelU6B0.cjs → VisuallyHidden-CrRi8fmq.cjs} +1 -1
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +1 -1
- package/arrow-right-CG_-Xh3g.cjs +1 -0
- package/arrow-right-DNeP8Eqv.js +8 -0
- package/assets/Card.css +1 -1
- package/assets/CharacterCounter.css +1 -1
- package/assets/Checkbox.css +1 -1
- package/assets/ComboBox.css +1 -1
- package/assets/DateField.css +1 -1
- package/assets/DateRangePicker.css +1 -1
- package/assets/Label.css +1 -1
- package/assets/Layout.css +1 -1
- package/assets/Link.css +1 -1
- package/assets/LinkButton.css +1 -1
- package/assets/ListBox.css +1 -1
- package/assets/Radio.css +1 -1
- package/assets/RangeCalendar.css +1 -1
- package/assets/SearchField.css +1 -1
- package/assets/Table.css +1 -1
- package/assets/Text.css +1 -1
- package/assets/TextField.css +1 -1
- package/assets/default.css +1 -1
- 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/CalendarGrid.d.ts +1 -0
- package/calendar/CalendarHeader.d.ts +3 -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/check-BxlvVsvD.js +5 -0
- package/check-DA2sdqW6.cjs +1 -0
- package/checkbox/index.cjs +1 -1
- package/checkbox/index.js +2 -2
- package/chevron-down-DgT-uSF9.js +5 -0
- package/chevron-down-DyBh7agb.cjs +1 -0
- package/chevron-right-BBue_o6c.cjs +1 -0
- package/chevron-right-GpyqdYK4.js +5 -0
- package/color-scheme-switch/index.cjs +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/combobox/ComboBox.d.ts +10 -3
- package/combobox/index.cjs +1 -1
- package/combobox/index.js +1 -1
- package/combobox/utils.d.ts +12 -3
- package/{createLucideIcon-XRdN60yz.js → createLucideIcon-D4r5Phnh.js} +0 -24
- package/createLucideIcon-H_Gy5FIB.cjs +1 -0
- package/date-field/index.cjs +1 -1
- package/date-field/index.js +2 -2
- package/date-picker/DatePicker.d.ts +1 -2
- package/date-picker/DatePickerInputField.d.ts +2 -5
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +1 -1
- package/dropdown/index.cjs +1 -1
- package/dropdown/index.js +1 -1
- package/field-error/index.cjs +1 -1
- package/field-error/index.js +1 -1
- package/file-upload/index.cjs +1 -1
- package/file-upload/index.js +1 -1
- package/{filterDOMProps-wsa9OcNI.js → filterDOMProps-BSVCO5jK.js} +1 -1
- package/{filterDOMProps-RRlKPKX0.cjs → filterDOMProps-WUskt27c.cjs} +1 -1
- package/{getScrollParent-DjULaF_q.cjs → getScrollParent-DL0OH1RF.cjs} +1 -1
- package/{getScrollParent-DFCzfqHG.js → getScrollParent-DcNANHTB.js} +1 -1
- package/heading/index.cjs +1 -1
- package/heading/index.js +1 -1
- package/icon-map-BzhRRdiZ.cjs +1 -0
- package/{icon-map-uS87FT_Q.js → icon-map-Ckc-nEUA.js} +3 -15
- package/{index-DEx4upZl.js → index-Cm_oKP6P.js} +0 -18
- package/index-DTHSUSyf.cjs +1 -0
- package/index.cjs +1 -1
- package/index.js +45 -45
- package/info-BxSJFLL7.cjs +1 -0
- package/info-banner/index.cjs +1 -1
- package/info-banner/index.js +1 -1
- package/info-kdfED7Wh.js +9 -0
- 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/legacy-select/Select.d.ts +1 -1
- package/legacy-select/index.cjs +1 -1
- package/legacy-select/index.js +1 -1
- package/legacy-select/types.d.ts +3 -0
- 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/ListBoxItem.d.ts +3 -9
- package/list-box/ListBoxSection.d.ts +6 -3
- package/list-box/index.cjs +1 -1
- package/list-box/index.js +3 -3
- package/list-box/types.d.ts +6 -0
- package/logo/index.cjs +1 -1
- package/logo/index.js +1 -1
- package/menu/index.cjs +1 -1
- package/menu/index.js +2 -2
- package/mergeProps-D9EPHb19.cjs +1 -0
- package/{mergeProps-Ct8m5-xW.js → mergeProps-oYrDoKjU.js} +1 -1
- package/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/package.json +2 -2
- 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/{scrollIntoView-BueMOyGp.cjs → scrollIntoView-CogxjvPU.cjs} +1 -1
- package/{scrollIntoView-BVI21Y4-.js → scrollIntoView-LRRMWgN9.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.js +1 -1
- package/spinner/index.cjs +1 -1
- package/spinner/index.js +1 -1
- package/square-arrow-out-up-right-BRD_p9sV.cjs +1 -0
- package/{square-arrow-out-up-right-ok0A3Ovo.js → square-arrow-out-up-right-XMqOAsOL.js} +1 -7
- package/table/index.cjs +1 -1
- package/table/index.js +1 -1
- package/tabs/index.cjs +1 -1
- package/tabs/index.js +1 -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/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/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/{useButton-C0r5nrqs.cjs → useButton-BuHg3SHI.cjs} +1 -1
- package/{useButton-CRgN6aZf.js → useButton-aiD_OMdm.js} +4 -4
- package/{useDateFormatter-Bs5A6Xtu.js → useDateFormatter-BjUtrG4h.js} +12 -12
- package/useDateFormatter-DsPmipft.cjs +1 -0
- package/{useDescription-BFwQx7Rp.js → useDescription-6jSV4EKe.js} +1 -1
- package/{useDescription-6BYtQxe6.cjs → useDescription-D-EGF3RO.cjs} +1 -1
- package/{useEvent-smuTnX4G.js → useEvent-ChPThFqF.js} +1 -1
- package/{useEvent-C125NAue.cjs → useEvent-DnWDW9C-.cjs} +1 -1
- package/{useField-Bx76iuoW.js → useField-Bf6sH2Px.js} +2 -2
- package/{useField-DvszkIMx.cjs → useField-yjDSH-M4.cjs} +1 -1
- package/{useFilter-Dn4vTT3G.js → useFilter-DMfUE0Pr.js} +1 -1
- package/{useFilter-eOgdlVLd.cjs → useFilter-Dg_Msy0o.cjs} +1 -1
- package/{useFocusRing-C-XVcAE5.cjs → useFocusRing-BV6zA8CX.cjs} +1 -1
- package/{useFocusRing-CcxI7nbg.js → useFocusRing-DAZgolYd.js} +2 -2
- package/{useFocusWithin-DhXBuB2O.js → useFocusWithin-Bfslfw41.js} +1 -1
- package/{useFocusWithin-GBjoTL5o.cjs → useFocusWithin-CrScjOpV.cjs} +1 -1
- package/{useFocusable-BJj-Bkig.js → useFocusable--wi5KJXc.js} +4 -4
- package/{useFocusable-M4se1KJt.cjs → useFocusable-Sz45n7Ye.cjs} +1 -1
- package/{useFormValidation-By7G-T7y.js → useFormValidation-BgOffXI-.js} +11 -11
- package/useFormValidation-pVNhWoaN.cjs +1 -0
- package/useHasTabbableChild-CdkTG0q5.cjs +1 -0
- package/{useHasTabbableChild-DpISgPsS.js → useHasTabbableChild-CqUFT0lE.js} +4 -4
- package/{useHighlightSelectionDescription-Zvo5KTxM.js → useHighlightSelectionDescription-Cb6lF44_.js} +5 -5
- package/{useHighlightSelectionDescription-CBZfyrhy.cjs → useHighlightSelectionDescription-P3sZZm15.cjs} +1 -1
- package/{useHover-DkC5FyNd.js → useHover-BkQu__4t.js} +4 -4
- package/useHover-DIDiFsU7.cjs +1 -0
- package/{useLabels-B5pmat1S.cjs → useLabels-CU8PN8IQ.cjs} +1 -1
- package/{useLabels-D24on06F.js → useLabels-Cu5Jf9jq.js} +1 -1
- package/useListState-BCVYtjD-.cjs +1 -0
- package/{useListState-CP7AKhOX.js → useListState-DeBExb3v.js} +8 -8
- package/{useLocalizedStringFormatter-CSEh15AZ.js → useLocalizedStringFormatter-D1ErlkJ8.js} +1 -1
- package/{useLocalizedStringFormatter-BSac43NO.cjs → useLocalizedStringFormatter-Dfow0G-0.cjs} +1 -1
- package/{useLocalizedStringFormatter-CHAo1AyN.cjs → useLocalizedStringFormatter-MAvCRfhy.cjs} +1 -1
- package/{useLocalizedStringFormatter-aOhh7wdl.js → useLocalizedStringFormatter-m7LExKN3.js} +1 -1
- package/usePress-BQdBua-S.cjs +7 -0
- package/{usePress-BqQIhkNY.js → usePress-DPxp2Cij.js} +14 -14
- package/{useSingleSelectListState-JCvbhUVI.cjs → useSingleSelectListState-CdlkYnNt.cjs} +1 -1
- package/{useSingleSelectListState-GSY0f4qW.js → useSingleSelectListState-HaZMDvFf.js} +1 -1
- package/{useTextField-I3QVGvyX.js → useTextField-BwMgd3fF.js} +6 -6
- package/{useTextField-CiWV3eeD.cjs → useTextField-CMt3kP3D.cjs} +1 -1
- package/{utils-D2iKpxcZ.js → utils-BJ6_Ry69.js} +1 -1
- package/utils-CByogC0r.cjs +1 -0
- package/{utils-Dxh86KaB.js → utils-DdKRtUsl.js} +4 -4
- package/{utils-CtICjCYt.cjs → utils-ZN3Na38z.cjs} +1 -1
- package/variables-BkqZ2WGF.js +5 -0
- package/variables-CVumCR9l.cjs +1 -0
- package/x-BXShoIAM.js +8 -0
- package/x-DRkCcaDU.cjs +1 -0
- package/AccordionItem-DKE794Si.cjs +0 -1
- package/Button-1sEX8jKn.cjs +0 -1
- package/CharacterCounter-CTpQ12f7.cjs +0 -1
- package/CharacterCounter-gbDGfize.js +0 -22
- package/Checkbox-BgrLxY6P.cjs +0 -1
- package/Checkbox-CdN1D5pD.js +0 -282
- package/CheckboxGroup-BdRG71EM.cjs +0 -1
- package/Collection-vGO6v3_U.cjs +0 -1
- package/ColorSchemeSwitch-Ckna0otR.cjs +0 -16
- package/DateField-B9Yxknuy.cjs +0 -1
- package/DateField-BUZ7i9eS.js +0 -47
- package/DateInputDivider-CCrXjsUB.cjs +0 -1
- package/DateRangePicker-mlnh0C1A.cjs +0 -6
- package/Dialog-DycTLpdr.cjs +0 -6
- package/DragAndDrop-Cs-V-9ak.cjs +0 -1
- package/Dropdown-_g9l5k07.cjs +0 -6
- package/FieldError-CIxlNQCM.js +0 -48
- package/FieldError-JWxR_EqN.cjs +0 -1
- package/InfoBanner-D7Ta-7PI.js +0 -72
- package/InfoBanner-_M_rGQiu.cjs +0 -1
- package/Label-BqvFQoEF.js +0 -74
- package/Label-C3ZSrB04.cjs +0 -1
- package/Layout-BrEuHajQ.cjs +0 -16
- package/Layout-Hd1e_MEA.js +0 -481
- package/Link-BvUSTIip.cjs +0 -6
- package/LinkButton-DGdnbTgR.cjs +0 -6
- package/ListBox-FD30iELk.cjs +0 -1
- package/ListBox-Rke-lL0z.cjs +0 -1
- package/ListBoxSection-7Xzi-bqq.cjs +0 -1
- package/ListBoxSection-AIWxdu1v.js +0 -53
- package/ListKeyboardDelegate-8zuIfwQ7.cjs +0 -1
- package/LocalizedStringFormatter-C0C54hjf.cjs +0 -1
- package/OverlayArrow-bcrb_syE.cjs +0 -1
- package/PressResponder-ChvCuOue.cjs +0 -1
- package/ProgressBar-BrtaxoR8.cjs +0 -1
- package/ProgressBar-DhVQOs4P.js +0 -53
- package/Radio-VFIiuJIR.cjs +0 -1
- package/RangeCalendar-CH0CyBui.cjs +0 -6
- package/SearchField-Cz5Pb0XE.cjs +0 -6
- package/Select-CHJefc5g.cjs +0 -1
- package/Select-DL5Mvadi.cjs +0 -1
- package/Select-zDwMkzOI.js +0 -678
- package/SelectionIndicator-ClG0GpJu.cjs +0 -1
- package/SelectionManager-CNJmHeCF.cjs +0 -1
- package/TabList-DVzXuGXA.cjs +0 -1
- package/Table-B1nxmW14.cjs +0 -16
- package/Tag-BL-_PONN.cjs +0 -1
- package/Text-D5OSv6Uv.cjs +0 -1
- package/TextField.module-BndKUn-7.js +0 -13
- package/TextField.module-Du0bmSGZ.cjs +0 -1
- package/Toast-DUZ5jfG1.cjs +0 -1
- package/Tooltip-D-ATlbIM.cjs +0 -1
- package/arrow-right-BGd86zzR.cjs +0 -6
- package/arrow-right-uemUGIg8.js +0 -14
- package/check-B0aKTFe5.cjs +0 -6
- package/check-B5h1DvDs.js +0 -11
- package/chevron-down-5hFlg_lR.cjs +0 -6
- package/chevron-down-DmZMdOiC.js +0 -11
- package/chevron-right-0-sUFBiR.cjs +0 -6
- package/chevron-right-BYYHEJjK.js +0 -11
- package/createLucideIcon-CTVXwe6i.cjs +0 -21
- package/icon-map-9XcghDra.cjs +0 -11
- package/index-hURPlN0u.cjs +0 -17
- package/info-CPK1vbOJ.js +0 -15
- package/info-Dj6SyPex.cjs +0 -6
- package/mergeProps-Du5A8xi8.cjs +0 -1
- package/square-arrow-out-up-right-xCFdJTzY.cjs +0 -6
- package/useDateFormatter-BrrFo4nY.cjs +0 -1
- package/useFormValidation-DV2Ioblb.cjs +0 -1
- package/useHasTabbableChild-BJ_VejL5.cjs +0 -1
- package/useHover-DULSfLuK.cjs +0 -1
- package/useListState-DZFWpD-x.cjs +0 -1
- package/usePress-DmU79HEg.cjs +0 -7
- package/utils-DRIRjPUS.cjs +0 -1
- package/x-C2xUHAEl.js +0 -14
- package/x-rV-nu490.cjs +0 -6
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import { jsxs as xe, jsx as A } from "react/jsx-runtime";
|
|
2
2
|
import _, { useRef as y, useMemo as J, useEffect as ce, useState as z, useCallback as de, forwardRef as bu, createContext as Ee } from "react";
|
|
3
|
-
import { f as ae, c as Te, e as De, $ as Cu } from "./Button-
|
|
4
|
-
import { $ as mu, c as xu, d as hu, e as fu, a as vu, f as Au } from "./utils-
|
|
5
|
-
import { $ as Bu, F as he } from "./FieldError-
|
|
3
|
+
import { f as ae, c as Te, e as De, $ as Cu } from "./Button-DQKRTkoz.js";
|
|
4
|
+
import { $ as mu, c as xu, d as hu, e as fu, a as vu, f as Au } from "./utils-BJ6_Ry69.js";
|
|
5
|
+
import { $ as Bu, F as he } from "./FieldError-DQ61agyq.js";
|
|
6
6
|
import { $ as Eu } from "./Form-CXcEMuBf.js";
|
|
7
|
-
import { $ as ye } from "./Group-
|
|
8
|
-
import { $ as Fe, a as Tu } from "./Input-
|
|
9
|
-
import { f as Du, g as yu, c as Se, d as Fu } from "./ListBox-
|
|
10
|
-
import { p as Su, h as Lu, i as gu, n as ku } from "./Dialog-
|
|
11
|
-
import { $ as Le } from "./Text-
|
|
12
|
-
import { b as Ku, c as
|
|
13
|
-
import { $ as Pu } from "./filterDOMProps-
|
|
14
|
-
import { a as Iu, g as
|
|
15
|
-
import { $ as
|
|
16
|
-
import { d as
|
|
17
|
-
import { e as
|
|
18
|
-
import { $ as zu } from "./useSingleSelectListState-
|
|
19
|
-
import { b as Nu } from "./useListState-
|
|
7
|
+
import { $ as ye } from "./Group-C-bh9aEE.js";
|
|
8
|
+
import { $ as Fe, a as Tu } from "./Input-B6G4aU36.js";
|
|
9
|
+
import { f as Du, g as yu, c as Se, d as Fu } from "./ListBox-CEkHNTKf.js";
|
|
10
|
+
import { p as Su, h as Lu, i as gu, n as ku } from "./Dialog-F3u8agGf.js";
|
|
11
|
+
import { $ as Le } from "./Text-B30xuDOt.js";
|
|
12
|
+
import { b as Ku, c as Ou } from "./Collection-CXAXUgCh.js";
|
|
13
|
+
import { $ as Pu } from "./filterDOMProps-BSVCO5jK.js";
|
|
14
|
+
import { a as Iu, g as Ru } from "./OverlayArrow--IqDwz6a.js";
|
|
15
|
+
import { $ as Vu } from "./useFilter-DMfUE0Pr.js";
|
|
16
|
+
import { d as wu, $ as Gu } from "./useFormValidation-BgOffXI-.js";
|
|
17
|
+
import { e as Mu, f as ge, i as ju } from "./SelectionManager-bnxBDhgb.js";
|
|
18
|
+
import { $ as zu } from "./useSingleSelectListState-HaZMDvFf.js";
|
|
19
|
+
import { b as Nu } from "./useListState-DeBExb3v.js";
|
|
20
20
|
import { $ as Uu } from "./useControlledState-u436Wbp1.js";
|
|
21
|
-
import { e as qu, a as fe } from "./mergeProps-
|
|
22
|
-
import { c as Wu, b as _u } from "./utils-
|
|
23
|
-
import { c as Xu } from "./usePress-
|
|
24
|
-
import { $ as ve } from "./useLabels-
|
|
21
|
+
import { e as qu, a as fe } from "./mergeProps-oYrDoKjU.js";
|
|
22
|
+
import { c as Wu, b as _u } from "./utils-DdKRtUsl.js";
|
|
23
|
+
import { c as Xu } from "./usePress-DPxp2Cij.js";
|
|
24
|
+
import { $ as ve } from "./useLabels-Cu5Jf9jq.js";
|
|
25
25
|
import { $ as Zu } from "./useUpdateEffect-CCDx8D4X.js";
|
|
26
|
-
import { o as be } from "./useHover-
|
|
27
|
-
import { $ as Hu } from "./useEvent-
|
|
28
|
-
import { b as Ju } from "./Separator-
|
|
29
|
-
import { a as Yu } from "./ListKeyboardDelegate-
|
|
30
|
-
import { $ as Qu } from "./useLocalizedStringFormatter-
|
|
31
|
-
import { $ as en } from "./useTextField-
|
|
26
|
+
import { o as be } from "./useHover-BkQu__4t.js";
|
|
27
|
+
import { $ as Hu } from "./useEvent-ChPThFqF.js";
|
|
28
|
+
import { b as Ju } from "./Separator-Cxt7kicM.js";
|
|
29
|
+
import { a as Yu } from "./ListKeyboardDelegate-RT2g6YNq.js";
|
|
30
|
+
import { $ as Qu } from "./useLocalizedStringFormatter-D1ErlkJ8.js";
|
|
31
|
+
import { $ as en } from "./useTextField-BwMgd3fF.js";
|
|
32
32
|
import { c as Ce } from "./clsx-jbLnTBqA.js";
|
|
33
|
-
import { a as un, L as nn } from "./Label-
|
|
34
|
-
import { T as Ae } from "./Text-
|
|
35
|
-
import { L as on } from "./ListBox-
|
|
36
|
-
import { a as tn, L as ln, b as cn } from "./ListBoxSection-
|
|
37
|
-
import { C as pn } from "./chevron-down-
|
|
38
|
-
import { u as dn } from "./useLocalizedStringFormatter-
|
|
33
|
+
import { a as un, L as nn } from "./Label-knQhhLVp.js";
|
|
34
|
+
import { T as Ae } from "./Text-6Fdknq88.js";
|
|
35
|
+
import { L as on } from "./ListBox-TsgvK95f.js";
|
|
36
|
+
import { a as tn, L as ln, b as cn } from "./ListBoxSection-C-7JFypr.js";
|
|
37
|
+
import { C as pn } from "./chevron-down-DgT-uSF9.js";
|
|
38
|
+
import { u as dn } from "./useLocalizedStringFormatter-m7LExKN3.js";
|
|
39
39
|
import './assets/ComboBox.css';var ke = {};
|
|
40
40
|
ke = {
|
|
41
41
|
buttonLabel: "عرض المقترحات",
|
|
@@ -76,8 +76,8 @@ Ke = {
|
|
|
76
76
|
listboxLabel: "Предложения",
|
|
77
77
|
selectedAnnouncement: (e) => `${e.optionText}, избрани`
|
|
78
78
|
};
|
|
79
|
-
var
|
|
80
|
-
|
|
79
|
+
var Oe = {};
|
|
80
|
+
Oe = {
|
|
81
81
|
buttonLabel: "Zobrazit doporučení",
|
|
82
82
|
countAnnouncement: (e, u) => `K dispozici ${u.plural(e.optionCount, {
|
|
83
83
|
one: () => `je ${u.number(e.optionCount)} možnost`,
|
|
@@ -136,8 +136,8 @@ Ie = {
|
|
|
136
136
|
listboxLabel: "Empfehlungen",
|
|
137
137
|
selectedAnnouncement: (e) => `${e.optionText}, ausgewählt`
|
|
138
138
|
};
|
|
139
|
-
var
|
|
140
|
-
|
|
139
|
+
var Re = {};
|
|
140
|
+
Re = {
|
|
141
141
|
buttonLabel: "Προβολή προτάσεων",
|
|
142
142
|
countAnnouncement: (e, u) => `${u.plural(e.optionCount, {
|
|
143
143
|
one: () => `${u.number(e.optionCount)} επιλογή`,
|
|
@@ -156,8 +156,8 @@ Oe = {
|
|
|
156
156
|
listboxLabel: "Προτάσεις",
|
|
157
157
|
selectedAnnouncement: (e) => `${e.optionText}, επιλέχθηκε`
|
|
158
158
|
};
|
|
159
|
-
var
|
|
160
|
-
|
|
159
|
+
var Ve = {};
|
|
160
|
+
Ve = {
|
|
161
161
|
focusAnnouncement: (e, u) => `${u.select({
|
|
162
162
|
true: () => `Entered group ${e.groupTitle}, with ${u.plural(e.groupCount, {
|
|
163
163
|
one: () => `${u.number(e.groupCount)} option`,
|
|
@@ -176,8 +176,8 @@ Re = {
|
|
|
176
176
|
buttonLabel: "Show suggestions",
|
|
177
177
|
listboxLabel: "Suggestions"
|
|
178
178
|
};
|
|
179
|
-
var
|
|
180
|
-
|
|
179
|
+
var we = {};
|
|
180
|
+
we = {
|
|
181
181
|
buttonLabel: "Mostrar sugerencias",
|
|
182
182
|
countAnnouncement: (e, u) => `${u.plural(e.optionCount, {
|
|
183
183
|
one: () => `${u.number(e.optionCount)} opción`,
|
|
@@ -196,8 +196,8 @@ Ve = {
|
|
|
196
196
|
listboxLabel: "Sugerencias",
|
|
197
197
|
selectedAnnouncement: (e) => `${e.optionText}, seleccionado`
|
|
198
198
|
};
|
|
199
|
-
var
|
|
200
|
-
|
|
199
|
+
var Ge = {};
|
|
200
|
+
Ge = {
|
|
201
201
|
buttonLabel: "Kuva soovitused",
|
|
202
202
|
countAnnouncement: (e, u) => `${u.plural(e.optionCount, {
|
|
203
203
|
one: () => `${u.number(e.optionCount)} valik`,
|
|
@@ -216,8 +216,8 @@ we = {
|
|
|
216
216
|
listboxLabel: "Soovitused",
|
|
217
217
|
selectedAnnouncement: (e) => `${e.optionText}, valitud`
|
|
218
218
|
};
|
|
219
|
-
var
|
|
220
|
-
|
|
219
|
+
var Me = {};
|
|
220
|
+
Me = {
|
|
221
221
|
buttonLabel: "Näytä ehdotukset",
|
|
222
222
|
countAnnouncement: (e, u) => `${u.plural(e.optionCount, {
|
|
223
223
|
one: () => `${u.number(e.optionCount)} vaihtoehto`,
|
|
@@ -236,8 +236,8 @@ Ge = {
|
|
|
236
236
|
listboxLabel: "Ehdotukset",
|
|
237
237
|
selectedAnnouncement: (e) => `${e.optionText}, valittu`
|
|
238
238
|
};
|
|
239
|
-
var
|
|
240
|
-
|
|
239
|
+
var je = {};
|
|
240
|
+
je = {
|
|
241
241
|
buttonLabel: "Afficher les suggestions",
|
|
242
242
|
countAnnouncement: (e, u) => `${u.plural(e.optionCount, {
|
|
243
243
|
one: () => `${u.number(e.optionCount)} option`,
|
|
@@ -720,15 +720,15 @@ var su = {};
|
|
|
720
720
|
su = {
|
|
721
721
|
"ar-AE": ke,
|
|
722
722
|
"bg-BG": Ke,
|
|
723
|
-
"cs-CZ":
|
|
723
|
+
"cs-CZ": Oe,
|
|
724
724
|
"da-DK": Pe,
|
|
725
725
|
"de-DE": Ie,
|
|
726
|
-
"el-GR":
|
|
727
|
-
"en-US":
|
|
728
|
-
"es-ES":
|
|
729
|
-
"et-EE":
|
|
730
|
-
"fi-FI":
|
|
731
|
-
"fr-FR":
|
|
726
|
+
"el-GR": Re,
|
|
727
|
+
"en-US": Ve,
|
|
728
|
+
"es-ES": we,
|
|
729
|
+
"et-EE": Ge,
|
|
730
|
+
"fi-FI": Me,
|
|
731
|
+
"fr-FR": je,
|
|
732
732
|
"he-IL": ze,
|
|
733
733
|
"hr-HR": Ne,
|
|
734
734
|
"hu-HU": Ue,
|
|
@@ -757,14 +757,14 @@ function rn(e) {
|
|
|
757
757
|
return e && e.__esModule ? e.default : e;
|
|
758
758
|
}
|
|
759
759
|
function sn(e, u) {
|
|
760
|
-
let { buttonRef: i, popoverRef: p, inputRef: t, listBoxRef: d, keyboardDelegate: B, layoutDelegate: b, shouldFocusWrap: x, isReadOnly:
|
|
760
|
+
let { buttonRef: i, popoverRef: p, inputRef: t, listBoxRef: d, keyboardDelegate: B, layoutDelegate: b, shouldFocusWrap: x, isReadOnly: E, isDisabled: g } = e, h = y(null);
|
|
761
761
|
i = i ?? h;
|
|
762
|
-
let
|
|
762
|
+
let T = Qu(rn(su), "@react-aria/combobox"), { menuTriggerProps: D, menuProps: F } = Su({
|
|
763
763
|
type: "listbox",
|
|
764
|
-
isDisabled: g ||
|
|
764
|
+
isDisabled: g || E
|
|
765
765
|
}, u, i);
|
|
766
766
|
Du.set(u, {
|
|
767
|
-
id:
|
|
767
|
+
id: F.id
|
|
768
768
|
});
|
|
769
769
|
let { collection: f } = u, { disabledKeys: S } = u.selectionManager, c = J(() => B || new Yu({
|
|
770
770
|
collection: f,
|
|
@@ -777,7 +777,7 @@ function sn(e, u) {
|
|
|
777
777
|
f,
|
|
778
778
|
S,
|
|
779
779
|
d
|
|
780
|
-
]), { collectionProps:
|
|
780
|
+
]), { collectionProps: R } = Mu({
|
|
781
781
|
selectionManager: u.selectionManager,
|
|
782
782
|
keyboardDelegate: c,
|
|
783
783
|
disallowTypeAhead: !0,
|
|
@@ -793,11 +793,11 @@ function sn(e, u) {
|
|
|
793
793
|
case "Tab":
|
|
794
794
|
if (u.isOpen && n.key === "Enter" && n.preventDefault(), u.isOpen && d.current && u.selectionManager.focusedKey != null) {
|
|
795
795
|
let o = u.collection.getItem(u.selectionManager.focusedKey);
|
|
796
|
-
if (o
|
|
796
|
+
if (o?.props.href) {
|
|
797
797
|
let r = d.current.querySelector(`[data-key="${CSS.escape(u.selectionManager.focusedKey.toString())}"]`);
|
|
798
798
|
n.key === "Enter" && r instanceof HTMLAnchorElement && Y.open(r, n, o.props.href, o.props.routerOptions), u.close();
|
|
799
799
|
break;
|
|
800
|
-
} else if (o
|
|
800
|
+
} else if (o?.props.onAction) {
|
|
801
801
|
o.props.onAction(), u.close();
|
|
802
802
|
break;
|
|
803
803
|
}
|
|
@@ -820,21 +820,21 @@ function sn(e, u) {
|
|
|
820
820
|
}
|
|
821
821
|
}, a = (n) => {
|
|
822
822
|
var o;
|
|
823
|
-
let r =
|
|
824
|
-
r ||
|
|
823
|
+
let r = i?.current && i.current === n.relatedTarget, M = (o = p.current) === null || o === void 0 ? void 0 : o.contains(n.relatedTarget);
|
|
824
|
+
r || M || (e.onBlur && e.onBlur(n), u.setFocused(!1));
|
|
825
825
|
}, N = (n) => {
|
|
826
826
|
u.isFocused || (e.onFocus && e.onFocus(n), u.setFocused(!0));
|
|
827
|
-
}, { isInvalid: ee, validationErrors:
|
|
827
|
+
}, { isInvalid: ee, validationErrors: O, validationDetails: k } = u.displayValidation, { labelProps: v, inputProps: X, descriptionProps: ue, errorMessageProps: U } = en({
|
|
828
828
|
...e,
|
|
829
829
|
onChange: u.setInputValue,
|
|
830
|
-
onKeyDown:
|
|
830
|
+
onKeyDown: E ? e.onKeyDown : qu(u.isOpen && R.onKeyDown, Q, e.onKeyDown),
|
|
831
831
|
onBlur: a,
|
|
832
832
|
value: u.inputValue,
|
|
833
833
|
defaultValue: u.defaultInputValue,
|
|
834
834
|
onFocus: N,
|
|
835
835
|
autoComplete: "off",
|
|
836
836
|
validate: void 0,
|
|
837
|
-
[
|
|
837
|
+
[wu]: u
|
|
838
838
|
}, t), ne = (n) => {
|
|
839
839
|
if (n.pointerType === "touch") {
|
|
840
840
|
var o;
|
|
@@ -846,37 +846,37 @@ function sn(e, u) {
|
|
|
846
846
|
(o = t.current) === null || o === void 0 || o.focus(), u.toggle(n.pointerType === "keyboard" || n.pointerType === "virtual" ? "first" : null, "manual");
|
|
847
847
|
}
|
|
848
848
|
}, P = ve({
|
|
849
|
-
id: T.id,
|
|
850
|
-
"aria-label": E.format("buttonLabel"),
|
|
851
|
-
"aria-labelledby": e["aria-labelledby"] || v.id
|
|
852
|
-
}), R = ve({
|
|
853
849
|
id: D.id,
|
|
854
|
-
"aria-label":
|
|
850
|
+
"aria-label": T.format("buttonLabel"),
|
|
851
|
+
"aria-labelledby": e["aria-labelledby"] || v.id
|
|
852
|
+
}), V = ve({
|
|
853
|
+
id: F.id,
|
|
854
|
+
"aria-label": T.format("listboxLabel"),
|
|
855
855
|
"aria-labelledby": e["aria-labelledby"] || v.id
|
|
856
856
|
}), L = y(0), oe = (n) => {
|
|
857
|
-
if (g ||
|
|
857
|
+
if (g || E) return;
|
|
858
858
|
if (n.timeStamp - L.current < 500) {
|
|
859
859
|
var o;
|
|
860
860
|
n.preventDefault(), (o = t.current) === null || o === void 0 || o.focus();
|
|
861
861
|
return;
|
|
862
862
|
}
|
|
863
|
-
let r = n.target.getBoundingClientRect(),
|
|
864
|
-
if (
|
|
863
|
+
let r = n.target.getBoundingClientRect(), M = n.changedTouches[0], H = Math.ceil(r.left + 0.5 * r.width), re = Math.ceil(r.top + 0.5 * r.height);
|
|
864
|
+
if (M.clientX === H && M.clientY === re) {
|
|
865
865
|
var ie;
|
|
866
866
|
n.preventDefault(), (ie = t.current) === null || ie === void 0 || ie.focus(), u.toggle(null, "manual"), L.current = n.timeStamp;
|
|
867
867
|
}
|
|
868
868
|
}, C = u.selectionManager.focusedKey != null && u.isOpen ? u.collection.getItem(u.selectionManager.focusedKey) : void 0;
|
|
869
869
|
var q;
|
|
870
|
-
let K = (q = C
|
|
870
|
+
let K = (q = C?.parentKey) !== null && q !== void 0 ? q : null;
|
|
871
871
|
var W;
|
|
872
|
-
let I = (W = u.selectionManager.focusedKey) !== null && W !== void 0 ? W : null, Z = y(K),
|
|
872
|
+
let I = (W = u.selectionManager.focusedKey) !== null && W !== void 0 ? W : null, Z = y(K), w = y(I);
|
|
873
873
|
ce(() => {
|
|
874
|
-
if (be() && C != null && I != null && I !==
|
|
875
|
-
let o = u.selectionManager.isSelected(I), r = K != null ? u.collection.getItem(K) : null,
|
|
874
|
+
if (be() && C != null && I != null && I !== w.current) {
|
|
875
|
+
let o = u.selectionManager.isSelected(I), r = K != null ? u.collection.getItem(K) : null, M = r?.["aria-label"] || (typeof r?.rendered == "string" ? r.rendered : "") || "";
|
|
876
876
|
var n;
|
|
877
|
-
let H =
|
|
877
|
+
let H = T.format("focusAnnouncement", {
|
|
878
878
|
isGroupChange: (n = r && K !== Z.current) !== null && n !== void 0 ? n : !1,
|
|
879
|
-
groupTitle:
|
|
879
|
+
groupTitle: M,
|
|
880
880
|
groupCount: r ? [
|
|
881
881
|
...ge(r, u.collection)
|
|
882
882
|
].length : 0,
|
|
@@ -885,23 +885,23 @@ function sn(e, u) {
|
|
|
885
885
|
});
|
|
886
886
|
ae(H);
|
|
887
887
|
}
|
|
888
|
-
Z.current = K,
|
|
888
|
+
Z.current = K, w.current = I;
|
|
889
889
|
});
|
|
890
|
-
let
|
|
890
|
+
let G = Ju(u.collection), te = y(G), le = y(u.isOpen);
|
|
891
891
|
ce(() => {
|
|
892
892
|
let n = u.isOpen !== le.current && (u.selectionManager.focusedKey == null || be());
|
|
893
|
-
if (u.isOpen && (n ||
|
|
894
|
-
let o =
|
|
895
|
-
optionCount:
|
|
893
|
+
if (u.isOpen && (n || G !== te.current)) {
|
|
894
|
+
let o = T.format("countAnnouncement", {
|
|
895
|
+
optionCount: G
|
|
896
896
|
});
|
|
897
897
|
ae(o);
|
|
898
898
|
}
|
|
899
|
-
te.current =
|
|
899
|
+
te.current = G, le.current = u.isOpen;
|
|
900
900
|
});
|
|
901
901
|
let pe = y(u.selectedKey);
|
|
902
902
|
return ce(() => {
|
|
903
903
|
if (be() && u.isFocused && u.selectedItem && u.selectedKey !== pe.current) {
|
|
904
|
-
let n = u.selectedItem["aria-label"] || u.selectedItem.textValue || "", o =
|
|
904
|
+
let n = u.selectedItem["aria-label"] || u.selectedItem.textValue || "", o = T.format("selectedAnnouncement", {
|
|
905
905
|
optionText: n
|
|
906
906
|
});
|
|
907
907
|
ae(o);
|
|
@@ -917,7 +917,7 @@ function sn(e, u) {
|
|
|
917
917
|
t,
|
|
918
918
|
p
|
|
919
919
|
]), Zu(() => {
|
|
920
|
-
!C && t.current && Wu(_u(t.current)) === t.current &&
|
|
920
|
+
!C && t.current && Wu(_u(t.current)) === t.current && ju(t.current, null);
|
|
921
921
|
}, [
|
|
922
922
|
C
|
|
923
923
|
]), Hu(d, "react-aria-item-action", u.isOpen ? () => {
|
|
@@ -925,18 +925,18 @@ function sn(e, u) {
|
|
|
925
925
|
} : void 0), {
|
|
926
926
|
labelProps: v,
|
|
927
927
|
buttonProps: {
|
|
928
|
-
...
|
|
928
|
+
...D,
|
|
929
929
|
...P,
|
|
930
930
|
excludeFromTabOrder: !0,
|
|
931
931
|
preventFocusOnPress: !0,
|
|
932
932
|
onPress: ne,
|
|
933
933
|
onPressStart: s,
|
|
934
|
-
isDisabled: g ||
|
|
934
|
+
isDisabled: g || E
|
|
935
935
|
},
|
|
936
936
|
inputProps: fe(X, {
|
|
937
937
|
role: "combobox",
|
|
938
|
-
"aria-expanded":
|
|
939
|
-
"aria-controls": u.isOpen ?
|
|
938
|
+
"aria-expanded": D["aria-expanded"],
|
|
939
|
+
"aria-controls": u.isOpen ? F.id : void 0,
|
|
940
940
|
// TODO: readd proper logic for completionMode = complete (aria-autocomplete: both)
|
|
941
941
|
"aria-autocomplete": "list",
|
|
942
942
|
"aria-activedescendant": C ? yu(u, C.key) : void 0,
|
|
@@ -946,7 +946,7 @@ function sn(e, u) {
|
|
|
946
946
|
// This disable's the macOS Safari spell check auto corrections.
|
|
947
947
|
spellCheck: "false"
|
|
948
948
|
}),
|
|
949
|
-
listBoxProps: fe(
|
|
949
|
+
listBoxProps: fe(F, V, {
|
|
950
950
|
autoFocus: u.focusStrategy || !0,
|
|
951
951
|
shouldUseVirtualFocus: !0,
|
|
952
952
|
shouldSelectOnPressUp: !0,
|
|
@@ -957,21 +957,21 @@ function sn(e, u) {
|
|
|
957
957
|
descriptionProps: ue,
|
|
958
958
|
errorMessageProps: U,
|
|
959
959
|
isInvalid: ee,
|
|
960
|
-
validationErrors:
|
|
960
|
+
validationErrors: O,
|
|
961
961
|
validationDetails: k
|
|
962
962
|
};
|
|
963
963
|
}
|
|
964
964
|
function $n(e) {
|
|
965
965
|
var u;
|
|
966
|
-
let { defaultFilter: i, menuTrigger: p = "input", allowsEmptyCollection: t = !1, allowsCustomValue: d, shouldCloseOnBlur: B = !0 } = e, [b, x] = z(!1), [
|
|
966
|
+
let { defaultFilter: i, menuTrigger: p = "input", allowsEmptyCollection: t = !1, allowsCustomValue: d, shouldCloseOnBlur: B = !0 } = e, [b, x] = z(!1), [E, g] = z(!1), [h, T] = z(null), D = (l) => {
|
|
967
967
|
e.onSelectionChange && e.onSelectionChange(l), l === c && (W(), C());
|
|
968
968
|
};
|
|
969
|
-
var
|
|
970
|
-
let { collection: f, selectionManager: S, selectedKey: c, setSelectedKey:
|
|
969
|
+
var F;
|
|
970
|
+
let { collection: f, selectionManager: S, selectedKey: c, setSelectedKey: R, selectedItem: Y, disabledKeys: Q } = zu({
|
|
971
971
|
...e,
|
|
972
|
-
onSelectionChange:
|
|
973
|
-
items: (
|
|
974
|
-
}), [a, N] = Uu(e.inputValue, Be(e.defaultInputValue, c, f) || "", e.onInputChange), [ee] = z(c), [
|
|
972
|
+
onSelectionChange: D,
|
|
973
|
+
items: (F = e.items) !== null && F !== void 0 ? F : e.defaultItems
|
|
974
|
+
}), [a, N] = Uu(e.inputValue, Be(e.defaultInputValue, c, f) || "", e.onInputChange), [ee] = z(c), [O] = z(a), k = f, v = J(() => (
|
|
975
975
|
// No default filter if items are controlled.
|
|
976
976
|
e.items != null || !i ? f : an(f, a, i)
|
|
977
977
|
), [
|
|
@@ -988,8 +988,8 @@ function $n(e) {
|
|
|
988
988
|
defaultOpen: void 0
|
|
989
989
|
}), P = (l = null, $) => {
|
|
990
990
|
let m = $ === "manual" || $ === "focus" && p === "focus";
|
|
991
|
-
(t || v.size > 0 || m && k.size > 0 || e.items) && (m && !s.isOpen && e.items === void 0 && x(!0), U.current = $,
|
|
992
|
-
},
|
|
991
|
+
(t || v.size > 0 || m && k.size > 0 || e.items) && (m && !s.isOpen && e.items === void 0 && x(!0), U.current = $, T(l), s.open());
|
|
992
|
+
}, V = (l = null, $) => {
|
|
993
993
|
let m = $ === "manual" || $ === "focus" && p === "focus";
|
|
994
994
|
!(t || v.size > 0 || m && k.size > 0 || e.items) && !s.isOpen || (m && !s.isOpen && e.items === void 0 && x(!0), s.isOpen || (U.current = $), oe(l));
|
|
995
995
|
}, L = de(() => {
|
|
@@ -999,7 +999,7 @@ function $n(e) {
|
|
|
999
999
|
k,
|
|
1000
1000
|
v
|
|
1001
1001
|
]), oe = de((l = null) => {
|
|
1002
|
-
s.isOpen && L(),
|
|
1002
|
+
s.isOpen && L(), T(l), s.toggle();
|
|
1003
1003
|
}, [
|
|
1004
1004
|
s,
|
|
1005
1005
|
L
|
|
@@ -1014,17 +1014,17 @@ function $n(e) {
|
|
|
1014
1014
|
K(m), N(m);
|
|
1015
1015
|
};
|
|
1016
1016
|
var I, Z;
|
|
1017
|
-
let
|
|
1018
|
-
var
|
|
1019
|
-
let te = y(c != null && (
|
|
1017
|
+
let w = y((Z = (I = e.selectedKey) !== null && I !== void 0 ? I : e.defaultSelectedKey) !== null && Z !== void 0 ? Z : null);
|
|
1018
|
+
var G;
|
|
1019
|
+
let te = y(c != null && (G = (u = f.getItem(c)) === null || u === void 0 ? void 0 : u.textValue) !== null && G !== void 0 ? G : "");
|
|
1020
1020
|
ce(() => {
|
|
1021
1021
|
var l;
|
|
1022
|
-
|
|
1022
|
+
E && (v.size > 0 || t) && !s.isOpen && a !== q && p !== "manual" && P(null, "input"), !b && !t && s.isOpen && v.size === 0 && C(), c != null && c !== w.current && C(), a !== q && (S.setFocusedKey(null), x(!1), a === "" && (e.inputValue === void 0 || e.selectedKey === void 0) && R(null)), c !== w.current && (e.inputValue === void 0 || e.selectedKey === void 0) ? W() : q !== a && K(a);
|
|
1023
1023
|
var $;
|
|
1024
1024
|
let m = c != null && ($ = (l = f.getItem(c)) === null || l === void 0 ? void 0 : l.textValue) !== null && $ !== void 0 ? $ : "";
|
|
1025
|
-
!
|
|
1025
|
+
!E && c != null && e.inputValue === void 0 && c === w.current && te.current !== m && (K(m), N(m)), w.current = c, te.current = m;
|
|
1026
1026
|
});
|
|
1027
|
-
let le =
|
|
1027
|
+
let le = Gu({
|
|
1028
1028
|
...e,
|
|
1029
1029
|
value: J(() => ({
|
|
1030
1030
|
inputValue: a,
|
|
@@ -1036,7 +1036,7 @@ function $n(e) {
|
|
|
1036
1036
|
}), pe = () => {
|
|
1037
1037
|
d && c == null ? n() : o();
|
|
1038
1038
|
}, n = () => {
|
|
1039
|
-
|
|
1039
|
+
w.current = null, R(null), C();
|
|
1040
1040
|
}, o = () => {
|
|
1041
1041
|
if (e.selectedKey !== void 0 && e.inputValue !== void 0) {
|
|
1042
1042
|
var l, $;
|
|
@@ -1055,8 +1055,8 @@ function $n(e) {
|
|
|
1055
1055
|
} else
|
|
1056
1056
|
o();
|
|
1057
1057
|
};
|
|
1058
|
-
let
|
|
1059
|
-
s.isOpen && S.focusedKey != null ? c === S.focusedKey ? o() :
|
|
1058
|
+
let M = () => {
|
|
1059
|
+
s.isOpen && S.focusedKey != null ? c === S.focusedKey ? o() : R(S.focusedKey) : r();
|
|
1060
1060
|
}, H = y(a), re = (l) => {
|
|
1061
1061
|
l ? (H.current = a, p === "focus" && !e.isReadOnly && P(null, "focus")) : (B && r(), a !== H.current && le.commitValidation()), g(l);
|
|
1062
1062
|
}, ie = J(() => s.isOpen ? b ? k : v : X, [
|
|
@@ -1073,22 +1073,22 @@ function $n(e) {
|
|
|
1073
1073
|
...le,
|
|
1074
1074
|
...s,
|
|
1075
1075
|
focusStrategy: h,
|
|
1076
|
-
toggle:
|
|
1076
|
+
toggle: V,
|
|
1077
1077
|
open: P,
|
|
1078
1078
|
close: r,
|
|
1079
1079
|
selectionManager: S,
|
|
1080
1080
|
selectedKey: c,
|
|
1081
1081
|
defaultSelectedKey: me,
|
|
1082
|
-
setSelectedKey:
|
|
1082
|
+
setSelectedKey: R,
|
|
1083
1083
|
disabledKeys: Q,
|
|
1084
|
-
isFocused:
|
|
1084
|
+
isFocused: E,
|
|
1085
1085
|
setFocused: re,
|
|
1086
1086
|
selectedItem: Y,
|
|
1087
1087
|
collection: ie,
|
|
1088
1088
|
inputValue: a,
|
|
1089
|
-
defaultInputValue: ($e = Be(e.defaultInputValue, me, f)) !== null && $e !== void 0 ? $e :
|
|
1089
|
+
defaultInputValue: ($e = Be(e.defaultInputValue, me, f)) !== null && $e !== void 0 ? $e : O,
|
|
1090
1090
|
setInputValue: N,
|
|
1091
|
-
commit:
|
|
1091
|
+
commit: M,
|
|
1092
1092
|
revert: pe
|
|
1093
1093
|
};
|
|
1094
1094
|
}
|
|
@@ -1162,7 +1162,7 @@ function hn({ props: e, collection: u, comboBoxRef: i }) {
|
|
|
1162
1162
|
d && (t = "text");
|
|
1163
1163
|
let { validationBehavior: B } = xu(Eu) || {};
|
|
1164
1164
|
var b, x;
|
|
1165
|
-
let
|
|
1165
|
+
let E = (x = (b = e.validationBehavior) !== null && b !== void 0 ? b : B) !== null && x !== void 0 ? x : "native", { contains: g } = Vu({
|
|
1166
1166
|
sensitivity: "base"
|
|
1167
1167
|
}), h = $n({
|
|
1168
1168
|
defaultFilter: e.defaultFilter || g,
|
|
@@ -1171,40 +1171,40 @@ function hn({ props: e, collection: u, comboBoxRef: i }) {
|
|
|
1171
1171
|
items: e.items,
|
|
1172
1172
|
children: void 0,
|
|
1173
1173
|
collection: u,
|
|
1174
|
-
validationBehavior:
|
|
1175
|
-
}),
|
|
1174
|
+
validationBehavior: E
|
|
1175
|
+
}), T = y(null), D = y(null), F = y(null), f = y(null), [S, c] = hu(!e["aria-label"] && !e["aria-labelledby"]), { buttonProps: R, inputProps: Y, listBoxProps: Q, labelProps: a, descriptionProps: N, errorMessageProps: ee, ...O } = sn({
|
|
1176
1176
|
...fu(e),
|
|
1177
1177
|
label: c,
|
|
1178
|
-
inputRef:
|
|
1179
|
-
buttonRef:
|
|
1180
|
-
listBoxRef:
|
|
1178
|
+
inputRef: D,
|
|
1179
|
+
buttonRef: T,
|
|
1180
|
+
listBoxRef: F,
|
|
1181
1181
|
popoverRef: f,
|
|
1182
1182
|
name: t === "text" ? p : void 0,
|
|
1183
|
-
validationBehavior:
|
|
1183
|
+
validationBehavior: E
|
|
1184
1184
|
}, h), [k, v] = z(null), X = de(() => {
|
|
1185
|
-
if (
|
|
1185
|
+
if (D.current) {
|
|
1186
1186
|
var P;
|
|
1187
|
-
let
|
|
1187
|
+
let V = (P = T.current) === null || P === void 0 ? void 0 : P.getBoundingClientRect(), L = D.current.getBoundingClientRect(), oe = V ? Math.min(V.left, L.left) : L.left, C = V ? Math.max(V.right, L.right) : L.right;
|
|
1188
1188
|
v(C - oe + "px");
|
|
1189
1189
|
}
|
|
1190
1190
|
}, [
|
|
1191
|
-
E,
|
|
1192
1191
|
T,
|
|
1192
|
+
D,
|
|
1193
1193
|
v
|
|
1194
1194
|
]);
|
|
1195
|
-
|
|
1196
|
-
ref:
|
|
1195
|
+
Ru({
|
|
1196
|
+
ref: D,
|
|
1197
1197
|
onResize: X
|
|
1198
1198
|
});
|
|
1199
1199
|
let ue = J(() => ({
|
|
1200
1200
|
isOpen: h.isOpen,
|
|
1201
1201
|
isDisabled: e.isDisabled || !1,
|
|
1202
|
-
isInvalid:
|
|
1202
|
+
isInvalid: O.isInvalid || !1,
|
|
1203
1203
|
isRequired: e.isRequired || !1
|
|
1204
1204
|
}), [
|
|
1205
1205
|
h.isOpen,
|
|
1206
1206
|
e.isDisabled,
|
|
1207
|
-
|
|
1207
|
+
O.isInvalid,
|
|
1208
1208
|
e.isRequired
|
|
1209
1209
|
]), U = vu({
|
|
1210
1210
|
...e,
|
|
@@ -1231,8 +1231,8 @@ function hn({ props: e, collection: u, comboBoxRef: i }) {
|
|
|
1231
1231
|
[
|
|
1232
1232
|
De,
|
|
1233
1233
|
{
|
|
1234
|
-
...
|
|
1235
|
-
ref:
|
|
1234
|
+
...R,
|
|
1235
|
+
ref: T,
|
|
1236
1236
|
isPressed: h.isOpen
|
|
1237
1237
|
}
|
|
1238
1238
|
],
|
|
@@ -1240,7 +1240,7 @@ function hn({ props: e, collection: u, comboBoxRef: i }) {
|
|
|
1240
1240
|
Fe,
|
|
1241
1241
|
{
|
|
1242
1242
|
...Y,
|
|
1243
|
-
ref:
|
|
1243
|
+
ref: D
|
|
1244
1244
|
}
|
|
1245
1245
|
],
|
|
1246
1246
|
[
|
|
@@ -1251,8 +1251,8 @@ function hn({ props: e, collection: u, comboBoxRef: i }) {
|
|
|
1251
1251
|
ku,
|
|
1252
1252
|
{
|
|
1253
1253
|
ref: f,
|
|
1254
|
-
triggerRef:
|
|
1255
|
-
scrollRef:
|
|
1254
|
+
triggerRef: D,
|
|
1255
|
+
scrollRef: F,
|
|
1256
1256
|
placement: "bottom start",
|
|
1257
1257
|
isNonModal: !0,
|
|
1258
1258
|
trigger: "ComboBox",
|
|
@@ -1266,7 +1266,7 @@ function hn({ props: e, collection: u, comboBoxRef: i }) {
|
|
|
1266
1266
|
Se,
|
|
1267
1267
|
{
|
|
1268
1268
|
...Q,
|
|
1269
|
-
ref:
|
|
1269
|
+
ref: F
|
|
1270
1270
|
}
|
|
1271
1271
|
],
|
|
1272
1272
|
[
|
|
@@ -1285,13 +1285,13 @@ function hn({ props: e, collection: u, comboBoxRef: i }) {
|
|
|
1285
1285
|
[
|
|
1286
1286
|
ye,
|
|
1287
1287
|
{
|
|
1288
|
-
isInvalid:
|
|
1288
|
+
isInvalid: O.isInvalid,
|
|
1289
1289
|
isDisabled: e.isDisabled || !1
|
|
1290
1290
|
}
|
|
1291
1291
|
],
|
|
1292
1292
|
[
|
|
1293
1293
|
Bu,
|
|
1294
|
-
|
|
1294
|
+
O
|
|
1295
1295
|
]
|
|
1296
1296
|
]
|
|
1297
1297
|
}, /* @__PURE__ */ _.createElement("div", {
|
|
@@ -1302,7 +1302,7 @@ function hn({ props: e, collection: u, comboBoxRef: i }) {
|
|
|
1302
1302
|
"data-focused": h.isFocused || void 0,
|
|
1303
1303
|
"data-open": h.isOpen || void 0,
|
|
1304
1304
|
"data-disabled": e.isDisabled || void 0,
|
|
1305
|
-
"data-invalid":
|
|
1305
|
+
"data-invalid": O.isInvalid || void 0,
|
|
1306
1306
|
"data-required": e.isRequired || void 0
|
|
1307
1307
|
}), p && t === "key" && /* @__PURE__ */ _.createElement("input", {
|
|
1308
1308
|
type: "hidden",
|
|
@@ -1311,7 +1311,7 @@ function hn({ props: e, collection: u, comboBoxRef: i }) {
|
|
|
1311
1311
|
value: (s = h.selectedKey) !== null && s !== void 0 ? s : ""
|
|
1312
1312
|
}));
|
|
1313
1313
|
}
|
|
1314
|
-
const fn = "
|
|
1314
|
+
const fn = "_combobox_ti2ot_1", vn = "_inputField_ti2ot_6", An = "_medium_ti2ot_28", Bn = "_wrap_ti2ot_74", En = "_button_ti2ot_80", Tn = "_icon_ti2ot_116", Dn = "_emptyState_ti2ot_122", j = {
|
|
1315
1315
|
combobox: fn,
|
|
1316
1316
|
inputField: vn,
|
|
1317
1317
|
medium: An,
|
|
@@ -1333,43 +1333,44 @@ function Co({
|
|
|
1333
1333
|
errorPosition: B = "top",
|
|
1334
1334
|
size: b = "large",
|
|
1335
1335
|
popover: x,
|
|
1336
|
-
...
|
|
1336
|
+
...E
|
|
1337
1337
|
}) {
|
|
1338
|
-
const g = _.useRef(null), h = dn(Sn),
|
|
1339
|
-
|
|
1340
|
-
T.currentTarget.value && ((D = g.current) == null || D.select());
|
|
1338
|
+
const g = _.useRef(null), h = dn(Sn), T = (D) => {
|
|
1339
|
+
D.currentTarget.value && g.current?.select();
|
|
1341
1340
|
};
|
|
1342
1341
|
return /* @__PURE__ */ xe(
|
|
1343
1342
|
mn,
|
|
1344
1343
|
{
|
|
1345
|
-
className: Ce(
|
|
1346
|
-
...
|
|
1344
|
+
className: Ce(j.combobox, d),
|
|
1345
|
+
...E,
|
|
1346
|
+
"data-readonly": E.isReadOnly || void 0,
|
|
1347
1347
|
children: [
|
|
1348
1348
|
/* @__PURE__ */ A(un, { popover: x, children: e && /* @__PURE__ */ A(nn, { children: e }) }),
|
|
1349
1349
|
u && /* @__PURE__ */ A(Ae, { slot: "description", children: u }),
|
|
1350
1350
|
B === "top" && /* @__PURE__ */ A(he, { "data-testid": "fieldError", children: i }),
|
|
1351
|
-
/* @__PURE__ */ xe("div", { className:
|
|
1351
|
+
/* @__PURE__ */ xe("div", { className: j.wrap, children: [
|
|
1352
1352
|
/* @__PURE__ */ A(
|
|
1353
1353
|
Tu,
|
|
1354
1354
|
{
|
|
1355
|
-
className: Ce(
|
|
1356
|
-
[
|
|
1355
|
+
className: Ce(j.inputField, {
|
|
1356
|
+
[j.medium]: b === "medium"
|
|
1357
1357
|
}),
|
|
1358
|
-
|
|
1358
|
+
"data-readonly": E.isReadOnly || void 0,
|
|
1359
|
+
onMouseUp: T,
|
|
1359
1360
|
ref: g
|
|
1360
1361
|
}
|
|
1361
1362
|
),
|
|
1362
1363
|
/* @__PURE__ */ A(
|
|
1363
1364
|
Cu,
|
|
1364
1365
|
{
|
|
1365
|
-
className: Ce(
|
|
1366
|
-
[
|
|
1366
|
+
className: Ce(j.button, {
|
|
1367
|
+
[j.medium]: b === "medium"
|
|
1367
1368
|
}),
|
|
1368
1369
|
"aria-label": h.format("showList"),
|
|
1369
1370
|
children: /* @__PURE__ */ A(
|
|
1370
1371
|
"div",
|
|
1371
1372
|
{
|
|
1372
|
-
className:
|
|
1373
|
+
className: j.icon,
|
|
1373
1374
|
"aria-hidden": "true",
|
|
1374
1375
|
children: /* @__PURE__ */ A(
|
|
1375
1376
|
pn,
|
|
@@ -1388,7 +1389,7 @@ function Co({
|
|
|
1388
1389
|
on,
|
|
1389
1390
|
{
|
|
1390
1391
|
items: t,
|
|
1391
|
-
renderEmptyState: () => /* @__PURE__ */ A(Ae, { className:
|
|
1392
|
+
renderEmptyState: () => /* @__PURE__ */ A(Ae, { className: j.emptyState, children: h.format("noResultsFound") }),
|
|
1392
1393
|
children: p
|
|
1393
1394
|
}
|
|
1394
1395
|
) })
|
|
@@ -1397,16 +1398,10 @@ function Co({
|
|
|
1397
1398
|
);
|
|
1398
1399
|
}
|
|
1399
1400
|
function Ln(e) {
|
|
1400
|
-
return /* @__PURE__ */ A(
|
|
1401
|
-
ln,
|
|
1402
|
-
{
|
|
1403
|
-
...e,
|
|
1404
|
-
hideSelectionIndicator: !0
|
|
1405
|
-
}
|
|
1406
|
-
);
|
|
1401
|
+
return /* @__PURE__ */ A(ln, { ...e });
|
|
1407
1402
|
}
|
|
1408
1403
|
function mo(e) {
|
|
1409
|
-
return /* @__PURE__ */ A(cn, { ...e, children: /* @__PURE__ */ A(
|
|
1404
|
+
return /* @__PURE__ */ A(cn, { ...e, children: /* @__PURE__ */ A(Ou, { items: e.children, children: (u) => /* @__PURE__ */ A(Ln, { children: u.name }, u.id) }) });
|
|
1410
1405
|
}
|
|
1411
1406
|
export {
|
|
1412
1407
|
Co as C,
|