@midas-ds/components 10.2.0 → 10.3.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-Z_c9MpAM.cjs → AccordionItem-BGWiWjxA.cjs} +1 -1
- package/{AccordionItem-DZT76sWu.js → AccordionItem-ChHpW8EW.js} +11 -11
- package/{BadgeContainer-D3RtqcPF.js → BadgeContainer-DM8TdyMT.js} +4 -4
- package/{BadgeContainer-DeUgqGqb.cjs → BadgeContainer-I1XA3OCl.cjs} +1 -1
- package/{Breadcrumbs-CmZXtTiS.js → Breadcrumbs-CwDUNIqF.js} +34 -34
- package/{Breadcrumbs-Cx09jwZZ.cjs → Breadcrumbs-DtjJ1UmU.cjs} +1 -1
- package/{Button-iSiWjocA.cjs → Button-BoJl6JGM.cjs} +1 -1
- package/{Button-CbFRzRrF.js → Button-Csih3v23.js} +2 -2
- package/Button-DjBChs7s.js +340 -0
- package/Button-htW9qIsS.cjs +1 -0
- package/Button.module-DEQtBYe5.cjs +1 -0
- package/Button.module-tti8HGxs.js +14 -0
- package/CHANGELOG.md +20 -0
- package/Card-0G0mj9q5.cjs +1 -0
- package/{Card-CaKKKv9k.js → Card-yrtGzt70.js} +5 -5
- package/CharacterCounter-BL_nZHya.js +22 -0
- package/{CharacterCounter-CrY8QRuY.cjs → CharacterCounter-CHcTDHO-.cjs} +1 -1
- package/Checkbox-5HINZdGu.js +263 -0
- package/Checkbox-DqcPg5hz.cjs +1 -0
- package/CheckboxGroup-BBrSMuDY.cjs +1 -0
- package/CheckboxGroup-CLgixk2p.js +243 -0
- package/{Collection-Csx3L9gh.cjs → Collection-BIDsXNhi.cjs} +1 -1
- package/{Collection-C5ONNBqd.js → Collection-Brgjpkne.js} +4 -4
- package/{ColorSchemeSwitch-CbAWIJCg.js → ColorSchemeSwitch-BpzQ7g0b.js} +9 -9
- package/{ColorSchemeSwitch-JRrCyYVv.cjs → ColorSchemeSwitch-C-qWuqkU.cjs} +2 -2
- package/{ComboBox-BCaqPEIH.js → ComboBox-CVDyp2a-.js} +331 -327
- package/ComboBox-CWJUg9Xx.cjs +1 -0
- package/DateField-DeDhiYnW.cjs +1 -0
- package/DateField-DhU3q-rG.js +47 -0
- package/DateInputDivider-ADvOavHw.cjs +1 -0
- package/{DateInputDivider-Dx8n1Lxp.js → DateInputDivider-CF4xWsMT.js} +71 -75
- package/DateRangePicker-BsAHhy99.cjs +6 -0
- package/{DateRangePicker-BmBvwqo6.js → DateRangePicker-ziD1_k1W.js} +194 -194
- package/Dialog-B8GTYbvu.cjs +1 -0
- package/{Dialog-CwTEAujZ.cjs → Dialog-BOrYdX50.cjs} +1 -1
- package/{Dialog-Bxx8cBEq.js → Dialog-CXNu48AC.js} +25 -25
- package/{Dialog-CYxThuMl.js → Dialog-D14MbJ7o.js} +564 -540
- package/{DragAndDrop-HvycSrKY.cjs → DragAndDrop-DNth776R.cjs} +1 -1
- package/{DragAndDrop-CSwmPhxC.js → DragAndDrop-o3ruz_SR.js} +8 -8
- package/{Dropdown-CaGon9OR.cjs → Dropdown-CJ6My6EI.cjs} +1 -1
- package/{Dropdown-nkjzsVYX.js → Dropdown-Df58j43I.js} +2 -2
- package/FieldError-CAcjosk_.js +46 -0
- package/FieldError-CKBb2-mp.cjs +1 -0
- package/{FileUpload-DYRZ0M9F.cjs → FileUpload-CxCOtyB9.cjs} +2 -2
- package/{FileUpload-ULwcYDxs.js → FileUpload-D6qoEAjn.js} +149 -148
- package/FocusScope-5c9SVBcR.cjs +1 -0
- package/{FocusScope-DwIqdYpQ.js → FocusScope-CxkURfoc.js} +16 -16
- package/{Group-CeSsSQVC.js → Group-B6EslsHZ.js} +5 -5
- package/{Heading-BY5-QN4S.js → Heading-BFtiin0g.js} +7 -7
- package/{Heading-DoJAtYZf.cjs → Heading-mHhCbGjY.cjs} +1 -1
- package/{Hidden-B5ir3Lei.js → Hidden-C9KWUR7b.js} +2 -2
- package/{InfoBanner-CVIBFSWx.js → InfoBanner-BLM-TJJ6.js} +15 -14
- package/InfoBanner-C2kTIsrB.cjs +1 -0
- package/{Input-D8Ku_FQz.js → Input-BTzwcf72.js} +10 -10
- package/Label-7Ybb99CE.cjs +1 -0
- package/Label-BwJrdqEE.js +70 -0
- package/{Layout-BWeHHnqU.cjs → Layout-1g6bMH62.cjs} +2 -2
- package/{Layout-CCt_2L1k.js → Layout-Ey8flY7E.js} +9 -9
- package/{Link-DsnCtNeI.cjs → Link-B88l_oaE.cjs} +1 -1
- package/{Link-SHMbeyIP.cjs → Link-BQhauBuw.cjs} +1 -1
- package/{Link-uFowN4qv.js → Link-DX5BbBnn.js} +1 -1
- package/{Link-B-nus-FT.js → Link-yNO2-sqx.js} +17 -17
- package/LinkButton-CBpGLETx.cjs +6 -0
- package/LinkButton-o6uS1XsR.js +69 -0
- package/ListBox-DP9M4H6R.cjs +1 -0
- package/{ListBox-DOi_y_Lt.js → ListBox-GnVK_Pdq.js} +72 -73
- package/{ListBoxButton-CFeNhJhr.cjs → ListBoxButton-DPBrtXyv.cjs} +1 -1
- package/{ListBoxButton-O6zN3P4W.js → ListBoxButton-D_J3jlP0.js} +1 -1
- package/{ListBoxSection-DGCP6xpf.cjs → ListBoxSection-BGaigBnG.cjs} +1 -1
- package/{ListBoxSection-C1aLKL9p.js → ListBoxSection-C0BGnpB4.js} +9 -9
- package/{ListKeyboardDelegate-DNOzQ8nc.js → ListKeyboardDelegate-DNI8GQtX.js} +24 -15
- package/ListKeyboardDelegate-DTg9h4v6.cjs +1 -0
- package/{OverlayArrow-DorA4Rbr.js → OverlayArrow-CDLXPTew.js} +44 -44
- package/Popover-BGGXeD54.js +38 -0
- package/Popover-CqNWzPf-.cjs +1 -0
- package/{ProgressBar-gmAzSsrz.js → ProgressBar-DMSg-Prr.js} +2 -2
- package/ProgressBar-Jbg28j2a.cjs +1 -0
- package/Radio-BwqrdhQE.cjs +1 -0
- package/{Radio-_ukSkxPT.js → Radio-Cz29wPXd.js} +71 -71
- package/RangeCalendar-BehUaydF.cjs +11 -0
- package/{RangeCalendar-uXwoBL-O.js → RangeCalendar-RAlAHlNL.js} +25 -27
- package/{SearchField-6yBGiojX.cjs → SearchField-CxMwDeUM.cjs} +2 -2
- package/{SearchField-DYl2uo7o.js → SearchField-IlvZ3Kh6.js} +11 -11
- package/Select-2q1iSzAX.cjs +1 -0
- package/{Select-PvCqY7Lp.js → Select-BVQZtoi9.js} +232 -232
- package/{SelectionManager-6H88Cv6B.js → SelectionManager-B4ORduja.js} +26 -27
- package/SelectionManager-CwYux2h3.cjs +1 -0
- package/{Separator-LYnFqh4L.js → Separator-Cu9fYKUM.js} +19 -20
- package/Separator-DECIYLtZ.cjs +1 -0
- package/{Spinner-DAJtfxqJ.cjs → Spinner-P35rvvsl.cjs} +1 -1
- package/Table-B40CGLT-.cjs +16 -0
- package/{Table-B_N7wUmA.js → Table-F4oYBtUM.js} +69 -73
- package/{Tabs-Ct6D83aR.js → Tabs-B4oZJkZG.js} +39 -39
- package/{Tabs-Dtcl2oK2.cjs → Tabs-DA2qXhzb.cjs} +1 -1
- package/Tag-DPAGmcMK.cjs +1 -0
- package/{Tag-g6HN-YCv.js → Tag-Du7GvSv2.js} +151 -154
- package/Text-BoXuUVVH.js +15 -0
- package/{Text-BN-g1iWi.js → Text-jWWg0B20.js} +1 -1
- package/TextArea-C7JZ_pQd.cjs +1 -0
- package/TextArea-XeBCSyzl.js +191 -0
- package/TextField-BgNdhZi_.cjs +1 -0
- package/{TextField-DBaRuNj7.js → TextField-C-hTPukq.js} +16 -16
- package/Toast-AbDA1BOs.cjs +1 -0
- package/{Toast-CjpldAI8.js → Toast-Btg21Xge.js} +32 -31
- package/{ToggleButtonGroup-Ceh9_yBM.js → ToggleButtonGroup-B5yz1tm2.js} +7 -7
- package/{ToggleButtonGroup-BuU_6dYe.cjs → ToggleButtonGroup-BFDoj0P6.cjs} +1 -1
- package/{Tooltip-BAIjaYax.js → Tooltip-CMLs7WMw.js} +33 -33
- package/{Tooltip-CiWg4zIC.cjs → Tooltip-DeBuBKhS.cjs} +1 -1
- package/{VisuallyHidden-CtXvK_Tw.cjs → VisuallyHidden-CLWHbz2n.cjs} +1 -1
- package/{VisuallyHidden-D-4z1VgU.js → VisuallyHidden-ZCYf65q4.js} +8 -8
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +1 -1
- package/{arrow-right-Cw48o2oW.cjs → arrow-right-QJ2gXPKQ.cjs} +1 -1
- package/assets/Button.css +1 -1
- package/assets/Label.css +1 -1
- package/assets/LinkButton.css +1 -1
- package/assets/Popover.css +1 -0
- package/badge/index.cjs +1 -1
- package/badge/index.js +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/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-Dw9c62O4.cjs → check-D_KoootC.cjs} +1 -1
- package/checkbox/Checkbox.d.ts +2 -2
- package/checkbox/CheckboxGroup.d.ts +8 -8
- package/checkbox/CheckboxGroupFieldError.d.ts +8 -0
- package/checkbox/CheckboxGroupItem.d.ts +3 -0
- package/checkbox/CheckboxInner.d.ts +2 -0
- package/checkbox/SingleCheckbox.d.ts +3 -0
- package/checkbox/context.d.ts +3 -0
- package/checkbox/index.cjs +1 -1
- package/checkbox/index.d.ts +2 -1
- package/checkbox/index.js +2 -2
- package/checkbox/intl/translations.json.d.ts +35 -0
- package/checkbox/types.d.ts +14 -0
- package/checkbox/useSelectAll.d.ts +7 -0
- package/{chevron-down-C2E7aZ3N.cjs → chevron-down-jl83cllc.cjs} +1 -1
- package/{info-DkzVqB8I.js → circle-check-B9HYcH7Z.js} +4 -16
- package/{info-DlzSeKbc.cjs → circle-check-BGo8gML8.cjs} +2 -7
- package/color-scheme-switch/index.cjs +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/combobox/ComboBox.d.ts +3 -1
- package/combobox/index.cjs +1 -1
- package/combobox/index.js +1 -1
- package/{context-B8cn10po.js → context-C81gPYvC.js} +11 -11
- package/{createLucideIcon-DAY4oS-S.cjs → createLucideIcon-Cg_wkoIA.cjs} +1 -1
- package/date-field/DateField.d.ts +3 -0
- package/date-field/index.cjs +1 -1
- package/date-field/index.js +2 -2
- package/date-picker/DatePicker.d.ts +3 -0
- package/date-picker/DateRangePicker.d.ts +3 -0
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +1 -1
- package/dropdown/index.cjs +1 -1
- package/dropdown/index.js +1 -1
- package/field-error/index.cjs +1 -1
- package/field-error/index.js +1 -1
- package/file-upload/FileUpload.d.ts +3 -0
- package/file-upload/index.cjs +1 -1
- package/file-upload/index.js +1 -1
- package/{getScrollParent-Ru2U2LlM.js → getScrollParent-BhFcYrwL.js} +1 -1
- package/{getScrollParent-DuKmPmUa.cjs → getScrollParent-DDJu9WHU.cjs} +1 -1
- package/heading/index.cjs +1 -1
- package/heading/index.js +1 -1
- package/{index-BSMrH_Du.js → index-CGRFP4CC.js} +7 -7
- package/{index-D97L3EBk.cjs → index-Dsz3aiWt.cjs} +2 -2
- package/index.cjs +1 -1
- package/index.d.ts +1 -0
- package/index.js +80 -78
- package/inertValue-B3AFhVG4.cjs +1 -0
- package/info-BZwphdye.js +15 -0
- package/info-CIEIENo6.cjs +6 -0
- package/info-banner/index.cjs +1 -1
- package/info-banner/index.js +1 -1
- package/label/InfoPopover.d.ts +9 -0
- package/label/LabelWrapper.d.ts +11 -0
- package/label/index.cjs +1 -1
- package/label/index.d.ts +1 -0
- 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/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/package.json +1 -1
- package/popover/Popover.d.ts +7 -0
- package/popover/index.cjs +1 -0
- package/popover/index.d.ts +1 -0
- package/popover/index.js +4 -0
- package/progress-bar/index.cjs +1 -1
- package/progress-bar/index.js +1 -1
- package/radio/Radio.d.ts +3 -0
- package/radio/index.cjs +1 -1
- package/radio/index.js +1 -1
- package/scrollIntoView-C8doLzDd.cjs +1 -0
- package/scrollIntoView-Hwb_aaNf.js +87 -0
- 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/{square-arrow-out-up-right-BCAO2eJs.cjs → square-arrow-out-up-right-V4Gd08uI.cjs} +1 -1
- 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.js +1 -1
- package/textfield/TextFieldBase.d.ts +2 -0
- 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/{triangle-alert-C0lvfCYH.cjs → triangle-alert-DJW8U7jL.cjs} +1 -1
- package/{useButton-C-Lq7CNY.js → useButton-B8dB9sot.js} +6 -6
- package/{useButton-B1Fa-6qE.cjs → useButton-cpNi-fY4.cjs} +1 -1
- package/{useDateFormatter-g2maMTGH.cjs → useDateFormatter-CnxoJ4jF.cjs} +1 -1
- package/{useDateFormatter-C53Uxdli.js → useDateFormatter-EHm4auIg.js} +2 -2
- package/{useEvent-CjkbBniY.cjs → useEvent-DxBxMX2V.cjs} +1 -1
- package/{useEvent-Cyd2ZL0c.js → useEvent-IsD2Awnh.js} +1 -1
- package/useField-CXKYU74k.cjs +1 -0
- package/{useField-BPMAlIbU.js → useField-DvpGZkw_.js} +7 -7
- package/useFilter-BTgDWHVx.cjs +1 -0
- package/{useFilter-ChIbnALW.js → useFilter-CUq74PQ2.js} +1 -1
- package/{useFocusRing-BDGH3lpn.js → useFocusRing-XnR3cZjO.js} +1 -1
- package/useFocusable-C8uh8K4g.js +125 -0
- package/useFocusable-NUVSFcRC.cjs +1 -0
- package/{useFormValidation-R8hQIjWP.js → useFormValidation-BIGzfO9h.js} +5 -5
- package/{useHasTabbableChild-DsD9AJwE.js → useHasTabbableChild-C-1mZUQe.js} +2 -2
- package/useHasTabbableChild-DCBTulUQ.cjs +1 -0
- package/{useHighlightSelectionDescription-DFfcgbUj.js → useHighlightSelectionDescription-CnBDT86u.js} +14 -14
- package/useHighlightSelectionDescription-CzYucm61.cjs +1 -0
- package/{useHover-qRAon4nS.js → useHover-DjIHtjGN.js} +17 -17
- package/{useLabels-BZjoZA1Z.js → useLabels-BDwkBYbE.js} +1 -1
- package/{useListState-Ca2-uZMO.cjs → useListState-Bx8u4IFG.cjs} +1 -1
- package/{useListState-DFQ9d-uE.js → useListState-CrZFZffI.js} +7 -7
- package/useLocalizedStringFormatter-BKoxGZf1.js +96 -0
- package/useLocalizedStringFormatter-BsxLt89S.cjs +1 -0
- package/useLocalizedStringFormatter-D3JQyjb4.js +21 -0
- package/useLocalizedStringFormatter-ioacM-Yt.cjs +1 -0
- package/useObserveElement-MhzEsCkX.cjs +1 -0
- package/usePress-0AjDbW9R.cjs +7 -0
- package/{usePress-CUJ3pMOw.js → usePress-CNjmDzap.js} +48 -48
- package/{useSingleSelectListState-C-nB8cug.js → useSingleSelectListState-0AGHxvy3.js} +1 -1
- package/{useSingleSelectListState-MGNxUTum.cjs → useSingleSelectListState-Cl3KV5E1.cjs} +1 -1
- package/{useTextField-CtUDWsUl.cjs → useTextField--czJtyNd.cjs} +1 -1
- package/{useTextField-5OZQPyOW.js → useTextField-Cw-33OP_.js} +11 -11
- package/{useUpdateEffect-sk3kiVGz.cjs → useUpdateEffect-C5YQs_1w.cjs} +1 -1
- package/{utils-HNTsIwux.js → utils-DIMfEPAt.js} +10 -10
- package/{x-CvxiAZTW.cjs → x-H8Zrx8-x.cjs} +1 -1
- package/Button-DnhqHU01.cjs +0 -1
- package/Button-ZOQy9Ivu.js +0 -78
- package/Button.module-CMMhIrkn.js +0 -14
- package/Button.module-DO5s9hOk.cjs +0 -1
- package/Card-C0BFW3wJ.cjs +0 -1
- package/CharacterCounter-CPGdboVJ.js +0 -22
- package/Checkbox-CvFsn_FL.js +0 -380
- package/Checkbox-DSxGAJX2.cjs +0 -1
- package/CheckboxGroup-Bk9DPq4I.cjs +0 -1
- package/CheckboxGroup-Dij9zKlF.js +0 -54
- package/ComboBox-gveQKHU3.cjs +0 -1
- package/DateField-CAQlzuDD.js +0 -46
- package/DateField-deVVFwKA.cjs +0 -1
- package/DateInputDivider-DnUxETEC.cjs +0 -1
- package/DateRangePicker-BzfitoK0.cjs +0 -6
- package/Dialog-Bd5hK360.cjs +0 -1
- package/FieldError-BZw8UzBk.cjs +0 -1
- package/FieldError-CZikNDxX.js +0 -28
- package/FieldError-DqdfJ3fs.cjs +0 -1
- package/FieldError-Dv3bBEjh.js +0 -23
- package/FocusScope-NaPbvuuS.cjs +0 -1
- package/InfoBanner-BS-dAfzO.cjs +0 -1
- package/Label-C9ivwkAd.js +0 -21
- package/Label-CUV21CAv.cjs +0 -1
- package/Label-DkDOsmUF.js +0 -16
- package/Label-IMWAyoKb.cjs +0 -1
- package/LinkButton-CuBilDML.js +0 -69
- package/LinkButton-CymMrcGL.cjs +0 -6
- package/ListBox-CDOsQChA.cjs +0 -1
- package/ListKeyboardDelegate-BqMETvPv.cjs +0 -1
- package/LiveAnnouncer-B6177m92.js +0 -51
- package/LiveAnnouncer-CwEWPU8b.cjs +0 -1
- package/LocalizedStringFormatter-C0C54hjf.cjs +0 -1
- package/LocalizedStringFormatter-D-4Qyql0.js +0 -77
- package/NumberFormatter-DewVDY5w.cjs +0 -1
- package/NumberFormatter-DgOUVrge.js +0 -119
- package/PressResponder-C06O3Z5P.cjs +0 -1
- package/PressResponder-CVEg5kND.js +0 -33
- package/ProgressBar-Bkw9zavs.cjs +0 -1
- package/ProgressBar-CEX2WNoW.js +0 -77
- package/ProgressBar-Dqh3ftSP.cjs +0 -1
- package/Radio-CDKrvQe4.cjs +0 -1
- package/RangeCalendar-cbCKBPZv.cjs +0 -11
- package/Select-CpHjd1tp.cjs +0 -1
- package/SelectionManager-C5NGBzvz.cjs +0 -1
- package/Separator-nPra6kD-.cjs +0 -1
- package/Table-D9vNc_y-.cjs +0 -16
- package/Tag-CVFkzg3s.cjs +0 -1
- package/Text-B_H68Tvq.js +0 -15
- package/TextArea-DSiQ578a.js +0 -206
- package/TextArea-cVyGBRbL.cjs +0 -1
- package/TextField-B70CL2qz.cjs +0 -1
- package/Toast-DrkOGy4d.cjs +0 -1
- package/focusSafely-Bqfo_DH7.cjs +0 -1
- package/focusSafely-C48ucRUz.js +0 -56
- package/inertValue-BWmZ1afe.cjs +0 -1
- package/scrollIntoView-ClEACHUk.js +0 -57
- package/scrollIntoView-DRSoJp89.cjs +0 -1
- package/useCollator-C_ozeWLo.cjs +0 -1
- package/useCollator-CgZcHC8N.js +0 -11
- package/useDescription-CVKhFa3c.js +0 -32
- package/useDescription-DmQYSEES.cjs +0 -1
- package/useField-B1RU0GKs.cjs +0 -1
- package/useFilter-CtIwF2qW.cjs +0 -1
- package/useFocusable-CaedRTpB.js +0 -74
- package/useFocusable-CuPQ7Cm5.cjs +0 -1
- package/useHasTabbableChild-DgphNvnk.cjs +0 -1
- package/useHighlightSelectionDescription-BizKjvPU.cjs +0 -1
- package/useLabel-DDdAJ1JO.js +0 -23
- package/useLabel-m_S5xkHy.cjs +0 -1
- package/useLocalizedStringFormatter-D07YB2e1.js +0 -22
- package/useLocalizedStringFormatter-u9SJaOwk.cjs +0 -1
- package/useObserveElement-BzEr5D32.cjs +0 -1
- package/usePress-BFa6cT9o.cjs +0 -7
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as b, a as v, b as h } from "./utils-DIMfEPAt.js";
|
|
2
2
|
import C, { forwardRef as D, createContext as T } from "react";
|
|
3
3
|
import { $ as E } from "./filterDOMProps-D6KHYVBX.js";
|
|
4
|
-
import {
|
|
5
|
-
import { $ as L } from "./useFocusable-
|
|
6
|
-
import { $ as
|
|
7
|
-
import { $ as
|
|
4
|
+
import { a as F, b as H, c as g, d as y } from "./usePress-CNjmDzap.js";
|
|
5
|
+
import { $ as L } from "./useFocusable-C8uh8K4g.js";
|
|
6
|
+
import { $ as _ } from "./useHover-DjIHtjGN.js";
|
|
7
|
+
import { $ as S } from "./useFocusRing-XnR3cZjO.js";
|
|
8
8
|
function V(s, e) {
|
|
9
|
-
let { elementType: a = "a", onPress: n, onPressStart: l, onPressEnd: o, onClick: f, isDisabled:
|
|
9
|
+
let { elementType: a = "a", onPress: n, onPressStart: l, onPressEnd: o, onClick: f, isDisabled: t, ...$ } = s, i = {};
|
|
10
10
|
a !== "a" && (i = {
|
|
11
11
|
role: "link",
|
|
12
|
-
tabIndex:
|
|
12
|
+
tabIndex: t ? void 0 : 0
|
|
13
13
|
});
|
|
14
|
-
let { focusableProps: c } = L(s, e), { pressProps:
|
|
14
|
+
let { focusableProps: c } = L(s, e), { pressProps: d, isPressed: m } = F({
|
|
15
15
|
onPress: n,
|
|
16
16
|
onPressStart: l,
|
|
17
17
|
onPressEnd: o,
|
|
18
18
|
onClick: f,
|
|
19
|
-
isDisabled:
|
|
19
|
+
isDisabled: t,
|
|
20
20
|
ref: e
|
|
21
21
|
}), p = E($, {
|
|
22
22
|
labelable: !0
|
|
23
|
-
}), x = b(c,
|
|
23
|
+
}), x = b(c, d), P = H(), k = g(s);
|
|
24
24
|
return {
|
|
25
25
|
isPressed: m,
|
|
26
26
|
linkProps: b(p, k, {
|
|
27
27
|
...x,
|
|
28
28
|
...i,
|
|
29
|
-
"aria-disabled":
|
|
29
|
+
"aria-disabled": t || void 0,
|
|
30
30
|
"aria-current": s["aria-current"],
|
|
31
31
|
onClick: (r) => {
|
|
32
32
|
var u;
|
|
33
|
-
(u =
|
|
33
|
+
(u = d.onClick) === null || u === void 0 || u.call(d, r), !P.isNative && r.currentTarget instanceof HTMLAnchorElement && r.currentTarget.href && // If props are applied to a router Link component, it may have already prevented default.
|
|
34
34
|
!r.isDefaultPrevented() && y(r.currentTarget, r) && s.href && (r.preventDefault(), P.open(r.currentTarget, r, s.href, s.routerOptions));
|
|
35
35
|
}
|
|
36
36
|
})
|
|
@@ -41,14 +41,14 @@ const N = /* @__PURE__ */ T(null), q = /* @__PURE__ */ D(function(e, a) {
|
|
|
41
41
|
let n = e.href && !e.isDisabled ? "a" : "span", { linkProps: l, isPressed: o } = V({
|
|
42
42
|
...e,
|
|
43
43
|
elementType: n
|
|
44
|
-
}, a), { hoverProps: f, isHovered:
|
|
44
|
+
}, a), { hoverProps: f, isHovered: t } = _(e), { focusProps: $, isFocused: i, isFocusVisible: c } = S(), d = h({
|
|
45
45
|
...e,
|
|
46
46
|
defaultClassName: "react-aria-Link",
|
|
47
47
|
values: {
|
|
48
48
|
isCurrent: !!e["aria-current"],
|
|
49
49
|
isDisabled: e.isDisabled || !1,
|
|
50
50
|
isPressed: o,
|
|
51
|
-
isHovered:
|
|
51
|
+
isHovered: t,
|
|
52
52
|
isFocused: i,
|
|
53
53
|
isFocusVisible: c
|
|
54
54
|
}
|
|
@@ -56,14 +56,14 @@ const N = /* @__PURE__ */ T(null), q = /* @__PURE__ */ D(function(e, a) {
|
|
|
56
56
|
return /* @__PURE__ */ C.createElement(n, {
|
|
57
57
|
ref: a,
|
|
58
58
|
slot: e.slot || void 0,
|
|
59
|
-
...b(
|
|
59
|
+
...b(d, l, f, $),
|
|
60
60
|
"data-focused": i || void 0,
|
|
61
|
-
"data-hovered":
|
|
61
|
+
"data-hovered": t || void 0,
|
|
62
62
|
"data-pressed": o || void 0,
|
|
63
63
|
"data-focus-visible": c || void 0,
|
|
64
64
|
"data-current": !!e["aria-current"] || void 0,
|
|
65
65
|
"data-disabled": e.isDisabled || void 0
|
|
66
|
-
},
|
|
66
|
+
}, d.children);
|
|
67
67
|
});
|
|
68
68
|
export {
|
|
69
69
|
q as $,
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";require('./assets/LinkButton.css');const t=require("react/jsx-runtime"),f=require("./Link-BQhauBuw.cjs"),m=require("./clsx-C11secjj.cjs"),y=require("./square-arrow-out-up-right-V4Gd08uI.cjs"),x=require("./createLucideIcon-Cg_wkoIA.cjs"),g=require("./arrow-right-QJ2gXPKQ.cjs");/**
|
|
2
|
+
* @license lucide-react v0.453.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 h=x.createLucideIcon("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]),z="_linkButton_qz9cn_4",L="_secondary_qz9cn_55",k="_icon_qz9cn_60",w="_tertiary_qz9cn_85",B="_danger_qz9cn_102",j="_iconBtn_qz9cn_119",p="_medium_qz9cn_141",A="_iconLeft_qz9cn_146",R="_fullwidth_qz9cn_150",n={linkButton:z,secondary:L,icon:k,tertiary:w,danger:B,iconBtn:j,medium:p,iconLeft:A,fullwidth:R},$=({children:i,variant:c,fullwidth:s,icon:r,iconPlacement:o,className:u,as:_,size:d="large",...a})=>{const l=_||f.$4f118338184dc1d9$export$a6c7ac8248d6e38a,q=({...e})=>r?t.jsx(r,{...e}):e.target==="_blank"?t.jsx(y.SquareArrowOutUpRight,{...e}):o==="left"?t.jsx(h,{...e}):t.jsx(g.ArrowRight,{...e});return t.jsxs(l,{className:m.clsx(n.linkButton,c==="primary"&&n.primary,c==="secondary"&&n.secondary,c==="tertiary"&&n.tertiary,c==="danger"&&n.danger,c==="icon"&&n.iconBtn,d==="medium"&&n.medium,s&&n.fullwidth,o==="left"&&n.iconLeft,u),...a,children:[i,t.jsx(q,{size:20,className:n.icon})]})};exports.LinkButton=$;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { jsxs as u, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { $ as y } from "./Link-yNO2-sqx.js";
|
|
3
|
+
import { c as p } from "./clsx-OuTLNxxd.js";
|
|
4
|
+
import { S as z } from "./square-arrow-out-up-right-BkyqV2PN.js";
|
|
5
|
+
import { c as q } from "./createLucideIcon-DeWljiyi.js";
|
|
6
|
+
import { A as g } from "./arrow-right-Dg8sttFO.js";
|
|
7
|
+
import './assets/LinkButton.css';/**
|
|
8
|
+
* @license lucide-react v0.453.0 - ISC
|
|
9
|
+
*
|
|
10
|
+
* This source code is licensed under the ISC license.
|
|
11
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
12
|
+
*/
|
|
13
|
+
const h = q("ArrowLeft", [
|
|
14
|
+
["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
|
|
15
|
+
["path", { d: "M19 12H5", key: "x3x0zl" }]
|
|
16
|
+
]), B = "_linkButton_qz9cn_4", L = "_secondary_qz9cn_55", k = "_icon_qz9cn_60", w = "_tertiary_qz9cn_85", x = "_danger_qz9cn_102", A = "_iconBtn_qz9cn_119", $ = "_medium_qz9cn_141", j = "_iconLeft_qz9cn_146", N = "_fullwidth_qz9cn_150", n = {
|
|
17
|
+
linkButton: B,
|
|
18
|
+
secondary: L,
|
|
19
|
+
icon: k,
|
|
20
|
+
tertiary: w,
|
|
21
|
+
danger: x,
|
|
22
|
+
iconBtn: A,
|
|
23
|
+
medium: $,
|
|
24
|
+
iconLeft: j,
|
|
25
|
+
fullwidth: N
|
|
26
|
+
}, O = ({
|
|
27
|
+
children: e,
|
|
28
|
+
variant: t,
|
|
29
|
+
fullwidth: s,
|
|
30
|
+
icon: c,
|
|
31
|
+
iconPlacement: i,
|
|
32
|
+
className: a,
|
|
33
|
+
as: _,
|
|
34
|
+
size: d = "large",
|
|
35
|
+
...m
|
|
36
|
+
}) => {
|
|
37
|
+
const f = _ || y, l = ({ ...o }) => c ? /* @__PURE__ */ r(c, { ...o }) : o.target === "_blank" ? /* @__PURE__ */ r(z, { ...o }) : i === "left" ? /* @__PURE__ */ r(h, { ...o }) : /* @__PURE__ */ r(g, { ...o });
|
|
38
|
+
return /* @__PURE__ */ u(
|
|
39
|
+
f,
|
|
40
|
+
{
|
|
41
|
+
className: p(
|
|
42
|
+
n.linkButton,
|
|
43
|
+
t === "primary" && n.primary,
|
|
44
|
+
t === "secondary" && n.secondary,
|
|
45
|
+
t === "tertiary" && n.tertiary,
|
|
46
|
+
t === "danger" && n.danger,
|
|
47
|
+
t === "icon" && n.iconBtn,
|
|
48
|
+
d === "medium" && n.medium,
|
|
49
|
+
s && n.fullwidth,
|
|
50
|
+
i === "left" && n.iconLeft,
|
|
51
|
+
a
|
|
52
|
+
),
|
|
53
|
+
...m,
|
|
54
|
+
children: [
|
|
55
|
+
e,
|
|
56
|
+
/* @__PURE__ */ r(
|
|
57
|
+
l,
|
|
58
|
+
{
|
|
59
|
+
size: 20,
|
|
60
|
+
className: n.icon
|
|
61
|
+
}
|
|
62
|
+
)
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
);
|
|
66
|
+
};
|
|
67
|
+
export {
|
|
68
|
+
O as L
|
|
69
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const P=require("./Collection-BIDsXNhi.cjs"),c=require("./utils-BNtZbAib.cjs"),m=require("./DragAndDrop-DNth776R.cjs"),_=require("./Separator-DECIYLtZ.cjs"),re=require("./Text-B2K-BJKQ.cjs"),A=require("./filterDOMProps-BS2lrgFA.cjs"),ae=require("./inertValue-B3AFhVG4.cjs"),t=require("react"),de=require("./usePress-0AjDbW9R.cjs"),w=require("./useHover-_mv5J4_q.cjs"),ie=require("./SelectionManager-CwYux2h3.cjs"),X=require("./useFocusRing-CbImDrwF.cjs"),le=require("./Button-htW9qIsS.cjs"),Y=require("./useListState-Bx8u4IFG.cjs"),ne=require("./context-DjwhtgxQ.cjs"),Q=require("./ListKeyboardDelegate-DTg9h4v6.cjs"),ce=require("./FocusScope-5c9SVBcR.cjs"),q=new WeakMap;function se(o){return typeof o=="string"?o.replace(/\s*/g,""):""+o}function Z(o,e){let d=q.get(o);if(!d)throw new Error("Unknown list");return`${d.id}-option-${se(e)}`}function ue(o,e,d){let i=A.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(o,{labelable:!0}),l=o.selectionBehavior||"toggle",n=o.linkBehavior||(l==="replace"?"action":"override");l==="toggle"&&n==="action"&&(n="override");let{listProps:r}=_.$982254629710d113$export$b95089534ab7c1fd({...o,ref:d,selectionManager:e.selectionManager,collection:e.collection,disabledKeys:e.disabledKeys,linkBehavior:n}),{focusWithinProps:a}=X.$9ab94262bd0047c7$export$420e68273165f4ec({onFocusWithin:o.onFocus,onBlurWithin:o.onBlur,onFocusWithinChange:o.onFocusChange}),f=c.$bdb11010cef70236$export$f680877a34711e37(o.id);q.set(e,{id:f,shouldUseVirtualFocus:o.shouldUseVirtualFocus,shouldSelectOnPressUp:o.shouldSelectOnPressUp,shouldFocusOnHover:o.shouldFocusOnHover,isVirtualized:o.isVirtualized,onAction:o.onAction,linkBehavior:n});let{labelProps:g,fieldProps:s}=le.$d191a55c9702f145$export$8467354a121f1b9f({...o,id:f,labelElementType:"span"});return{labelProps:g,listBoxProps:c.$3ef42575df84b30b$export$9d1611c77c2fe928(i,a,e.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...c.$3ef42575df84b30b$export$9d1611c77c2fe928(s,r)})}}function fe(o,e,d){var i,l;let{key:n}=o,r=q.get(e);var a;let f=(a=o.isDisabled)!==null&&a!==void 0?a:e.selectionManager.isDisabled(n);var g;let s=(g=o.isSelected)!==null&&g!==void 0?g:e.selectionManager.isSelected(n);var p;let u=(p=o.shouldSelectOnPressUp)!==null&&p!==void 0?p:r==null?void 0:r.shouldSelectOnPressUp;var $;let h=($=o.shouldFocusOnHover)!==null&&$!==void 0?$:r==null?void 0:r.shouldFocusOnHover;var x;let v=(x=o.shouldUseVirtualFocus)!==null&&x!==void 0?x:r==null?void 0:r.shouldUseVirtualFocus;var D;let y=(D=o.isVirtualized)!==null&&D!==void 0?D:r==null?void 0:r.isVirtualized,F=c.$bdb11010cef70236$export$b4cc09c592e8fdb8(),V=c.$bdb11010cef70236$export$b4cc09c592e8fdb8(),S={role:"option","aria-disabled":f||void 0,"aria-selected":e.selectionManager.selectionMode!=="none"?s:void 0};w.$c87311424ea30a05$export$9ac100e40613ea10()&&w.$c87311424ea30a05$export$78551043582a6a98()||(S["aria-label"]=o["aria-label"],S["aria-labelledby"]=F,S["aria-describedby"]=V);let b=e.collection.getItem(n);if(y){let E=Number(b==null?void 0:b.index);S["aria-posinset"]=Number.isNaN(E)?void 0:E+1,S["aria-setsize"]=_.$453cc9f0df89c0a5$export$77d5aafae4e095b2(e.collection)}let H=r!=null&&r.onAction?()=>{var E;return r==null||(E=r.onAction)===null||E===void 0?void 0:E.call(r,n)}:void 0,T=Z(e,n),{itemProps:z,isPressed:N,isFocused:M,hasAction:k,allowsSelection:C}=ie.$880e95eb8b93ba9a$export$ecf600387e221c37({selectionManager:e.selectionManager,key:n,ref:d,shouldSelectOnPressUp:u,allowsDifferentPressOrigin:u&&h,isVirtualized:y,shouldUseVirtualFocus:v,isDisabled:f,onAction:H||!(b==null||(i=b.props)===null||i===void 0)&&i.onAction?c.$ff5963eb1fccf552$export$e08e3b67e392101e(b==null||(l=b.props)===null||l===void 0?void 0:l.onAction,H):void 0,linkBehavior:r==null?void 0:r.linkBehavior,id:T}),{hoverProps:I}=w.$6179b936705e76d3$export$ae780daf29e6d456({isDisabled:f||!h,onHoverStart(){w.$507fabe10e71c6fb$export$b9b3dfddab17db27()||(e.selectionManager.setFocused(!0),e.selectionManager.setFocusedKey(n))}}),L=A.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(b==null?void 0:b.props);delete L.id;let O=de.$ea8dcbcb9ea1b556$export$7e924b3091a3bd18(b==null?void 0:b.props);return{optionProps:{...S,...c.$3ef42575df84b30b$export$9d1611c77c2fe928(L,z,I,O),id:T},labelProps:{id:F},descriptionProps:{id:V},isFocused:M,isFocusVisible:M&&e.selectionManager.isFocused&&w.$507fabe10e71c6fb$export$b9b3dfddab17db27(),isSelected:s,isDisabled:f,isPressed:N,allowsSelection:C,hasAction:k}}function $e(o){let{heading:e,"aria-label":d}=o,i=c.$bdb11010cef70236$export$f680877a34711e37();return{itemProps:{role:"presentation"},headingProps:e?{id:i,role:"presentation"}:{},groupProps:{role:"group","aria-label":d,"aria-labelledby":e?i:void 0}}}const K=t.createContext(null),B=t.createContext(null),be=t.forwardRef(function(e,d){[e,d]=c.$64fa3d84918910a7$export$29f1550f4b0d4415(e,d,K);let i=t.useContext(B);return i?t.createElement(ee,{state:i,props:e,listBoxRef:d}):t.createElement(P.$e1995378a142960e$export$bf788dd355e3a401,{content:t.createElement(P.$e1995378a142960e$export$fb8073518f34e6ec,e)},l=>t.createElement(pe,{props:e,listBoxRef:d,collection:l}))});function pe({props:o,listBoxRef:e,collection:d}){o={...o,collection:d,children:null,items:null};let{layoutDelegate:i}=t.useContext(P.$7135fc7d473fd974$export$4feb769f8ddf26c5),l=Y.$e72dd72e1c76a225$export$2f645645f7bca764({...o,layoutDelegate:i});return t.createElement(ee,{state:l,props:o,listBoxRef:e})}function ee({state:o,props:e,listBoxRef:d}){var i;let{filter:l,collectionProps:n,collectionRef:r}=t.useContext(_.$d2f53cda644affe3$export$65d2a03b8800d6e3)||{};e=t.useMemo(()=>n?{...e,...n}:e,[e,n]);let{dragAndDropHooks:a,layout:f="stack",orientation:g="vertical"}=e;d=c.$df56164dff5785e2$export$4338b53315abf666(t.useMemo(()=>c.$5dc95899b306f630$export$c9058316764c140e(d,r!==void 0?r:null),[r,d]));let s=Y.$e72dd72e1c76a225$export$ba9d38c0f1bf2b36(o,l),{collection:p,selectionManager:u}=s,$=!!(a!=null&&a.useDraggableCollectionState),h=!!(a!=null&&a.useDroppableCollectionState),{direction:x}=ne.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),{disabledBehavior:v,disabledKeys:D}=u,y=Q.$325a3faab7a68acd$export$a16aca283550c30d({usage:"search",sensitivity:"base"}),{isVirtualized:F,layoutDelegate:V,dropTargetDelegate:S,CollectionRoot:b}=t.useContext(P.$7135fc7d473fd974$export$4feb769f8ddf26c5),H=t.useMemo(()=>e.keyboardDelegate||new Q.$2a25aae57d74318e$export$a05409b8bb224a5a({collection:p,collator:y,ref:d,disabledKeys:D,disabledBehavior:v,layout:f,orientation:g,direction:x,layoutDelegate:V}),[p,y,d,v,D,g,x,e.keyboardDelegate,f,V]),{listBoxProps:T}=ue({...e,shouldSelectOnPressUp:$||e.shouldSelectOnPressUp,keyboardDelegate:H,isVirtualized:F},s,d),z=t.useRef($),N=t.useRef(h);t.useEffect(()=>{process.env.NODE_ENV!=="production"&&(z.current!==$&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),N.current!==h&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."))},[$,h]);let M,k,C,I=!1,L=null,O=t.useRef(null);if($&&a){M=a.useDraggableCollectionState({collection:p,selectionManager:u,preview:a.renderDragPreview?O:void 0}),a.useDraggableCollection({},M,d);let R=a.DragPreview;L=a.renderDragPreview?t.createElement(R,{ref:O},a.renderDragPreview):null}if(h&&a){k=a.useDroppableCollectionState({collection:p,selectionManager:u});let R=a.dropTargetDelegate||S||new a.ListDropTargetDelegate(p,d,{orientation:g,layout:f,direction:x});C=a.useDroppableCollection({keyboardDelegate:H,dropTargetDelegate:R},k,d),I=k.isDropTarget({type:"root"})}let{focusProps:E,isFocused:W,isFocusVisible:j}=X.$f7dceffc5ad7768b$export$4e328f61c538687f(),U=s.collection.size===0||s.collection.size===1&&((i=s.collection.getItem(s.collection.getFirstKey()))===null||i===void 0?void 0:i.type)==="loader",G={isDropTarget:I,isEmpty:U,isFocused:W,isFocusVisible:j,layout:e.layout||"stack",state:s},te=c.$64fa3d84918910a7$export$4d86445c2cf5e3({className:e.className,style:e.style,defaultClassName:"react-aria-ListBox",values:G}),J=null;return U&&e.renderEmptyState&&(J=t.createElement("div",{role:"option",style:{display:"contents"}},e.renderEmptyState(G))),t.createElement(ce.$9bf71ea28793e738$export$20e40289641fbbb6,null,t.createElement("div",{...A.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e),...c.$3ef42575df84b30b$export$9d1611c77c2fe928(T,E,C==null?void 0:C.collectionProps),...te,ref:d,slot:e.slot||void 0,onScroll:e.onScroll,"data-drop-target":I||void 0,"data-empty":U||void 0,"data-focused":W||void 0,"data-focus-visible":j||void 0,"data-layout":e.layout||"stack","data-orientation":e.orientation||"vertical"},t.createElement(c.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[K,e],[B,s],[m.$612b8eb6cb90e02d$export$d188a835a7bc5783,{dragAndDropHooks:a,dragState:M,dropState:k}],[_.$431f98aba6844401$export$6615d83f6de245ce,{elementType:"div"}],[m.$612b8eb6cb90e02d$export$f55761759794cf55,{render:xe}],[P.$7135fc7d473fd974$export$d40e14dec8b060a8,{name:"ListBoxSection",render:oe}]]},t.createElement(b,{collection:p,scrollRef:d,persistedKeys:m.$612b8eb6cb90e02d$export$d1e8e3fbb7461f6(u,a,k),renderDropIndicator:m.$612b8eb6cb90e02d$export$971707d8a129a1f7(a,k)})),J,L))}function oe(o,e,d,i="react-aria-ListBoxSection"){let l=t.useContext(B),{dragAndDropHooks:n,dropState:r}=t.useContext(m.$612b8eb6cb90e02d$export$d188a835a7bc5783),{CollectionBranch:a}=t.useContext(P.$7135fc7d473fd974$export$4feb769f8ddf26c5),[f,g]=c.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8();var s;let{headingProps:p,groupProps:u}=$e({heading:g,"aria-label":(s=o["aria-label"])!==null&&s!==void 0?s:void 0}),$=c.$64fa3d84918910a7$export$4d86445c2cf5e3({defaultClassName:i,className:o.className,style:o.style,values:{}});return t.createElement("section",{...A.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(o),...u,...$,ref:e},t.createElement(_.$72a5793c14baf454$export$e0e4026c12a8bdbb.Provider,{value:{...p,ref:f}},t.createElement(a,{collection:l.collection,parent:d,renderDropIndicator:m.$612b8eb6cb90e02d$export$971707d8a129a1f7(n,r)})))}const ge=P.$e1995378a142960e$export$e953bb1cd0f19726("section",oe),ve=P.$e1995378a142960e$export$18af5c7a9e9b3664("item",function(e,d,i){let l=c.$df56164dff5785e2$export$4338b53315abf666(d),n=t.useContext(B),{dragAndDropHooks:r,dragState:a,dropState:f}=t.useContext(m.$612b8eb6cb90e02d$export$d188a835a7bc5783),{optionProps:g,labelProps:s,descriptionProps:p,...u}=fe({key:i.key,"aria-label":e==null?void 0:e["aria-label"]},n,l),{hoverProps:$,isHovered:h}=w.$6179b936705e76d3$export$ae780daf29e6d456({isDisabled:!u.allowsSelection&&!u.hasAction,onHoverStart:i.props.onHoverStart,onHoverChange:i.props.onHoverChange,onHoverEnd:i.props.onHoverEnd}),x=null;a&&r&&(x=r.useDraggableItem({key:i.key},a));let v=null;f&&r&&(v=r.useDroppableItem({target:{type:"item",key:i.key,dropPosition:"on"}},f,l));let D=a&&a.isDragging(i.key),y=c.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,id:void 0,children:e.children,defaultClassName:"react-aria-ListBoxItem",values:{...u,isHovered:h,selectionMode:n.selectionManager.selectionMode,selectionBehavior:n.selectionManager.selectionBehavior,allowsDragging:!!a,isDragging:D,isDropTarget:v==null?void 0:v.isDropTarget}});t.useEffect(()=>{!i.textValue&&process.env.NODE_ENV!=="production"&&console.warn("A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.")},[i.textValue]);let F=e.href?"a":"div";return t.createElement(F,{...c.$3ef42575df84b30b$export$9d1611c77c2fe928(g,$,x==null?void 0:x.dragProps,v==null?void 0:v.dropProps),...y,ref:l,"data-allows-dragging":!!a||void 0,"data-selected":u.isSelected||void 0,"data-disabled":u.isDisabled||void 0,"data-hovered":h||void 0,"data-focused":u.isFocused||void 0,"data-focus-visible":u.isFocusVisible||void 0,"data-pressed":u.isPressed||void 0,"data-dragging":D||void 0,"data-drop-target":(v==null?void 0:v.isDropTarget)||void 0,"data-selection-mode":n.selectionManager.selectionMode==="none"?void 0:n.selectionManager.selectionMode},t.createElement(c.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[re.$514c0188e459b4c0$export$9afb8bc826b033ea,{slots:{[c.$64fa3d84918910a7$export$c62b8e45d58ddad9]:s,label:s,description:p}}]]},y.children))});function xe(o,e){e=c.$df56164dff5785e2$export$4338b53315abf666(e);let{dragAndDropHooks:d,dropState:i}=t.useContext(m.$612b8eb6cb90e02d$export$d188a835a7bc5783),{dropIndicatorProps:l,isHidden:n,isDropTarget:r}=d.useDropIndicator(o,i,e);return n?null:t.createElement(Pe,{...o,dropIndicatorProps:l,isDropTarget:r,ref:e})}function he(o,e){let{dropIndicatorProps:d,isDropTarget:i,...l}=o,n=c.$64fa3d84918910a7$export$4d86445c2cf5e3({...l,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:i}});return t.createElement("div",{...d,...n,role:"option",ref:e,"data-drop-target":i||void 0})}const Pe=t.forwardRef(he);P.$e1995378a142960e$export$18af5c7a9e9b3664("loader",function(e,d,i){let l=t.useContext(B),{isVirtualized:n}=t.useContext(P.$7135fc7d473fd974$export$4feb769f8ddf26c5),{isLoading:r,onLoadMore:a,scrollOffset:f,...g}=e,s=t.useRef(null),p=t.useMemo(()=>({onLoadMore:a,collection:l==null?void 0:l.collection,sentinelRef:s,scrollOffset:f}),[a,f,l==null?void 0:l.collection]);m.$a5fa973c1850dd36$export$90a12e6abf95cbe0(p,s);let u=c.$64fa3d84918910a7$export$4d86445c2cf5e3({...g,id:void 0,children:i.rendered,defaultClassName:"react-aria-ListBoxLoadingIndicator",values:null}),$={tabIndex:-1};return n&&($["aria-posinset"]=i.index+1,$["aria-setsize"]=l.collection.size),t.createElement(t.Fragment,null,t.createElement("div",{style:{position:"relative",width:0,height:0},inert:ae.$cdc5a6778b766db2$export$a9d04c5684123369(!0)},t.createElement("div",{"data-testid":"loadMoreSentinel",ref:s,style:{position:"absolute",height:1,width:1}})),r&&u.children&&t.createElement("div",{...c.$3ef42575df84b30b$export$9d1611c77c2fe928(A.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e),$),...u,role:"option",ref:d},u.children))});exports.$b1f0cad8af73213b$export$3585ede4d035bf14=q;exports.$b1f0cad8af73213b$export$9145995848b05025=Z;exports.$eed445e0843c11d0$export$41f133550aa26f48=be;exports.$eed445e0843c11d0$export$7c5906fe4f1f2af2=B;exports.$eed445e0843c11d0$export$7ff8f37d2d81a48d=K;exports.$eed445e0843c11d0$export$a11e76429ed99b4=ve;exports.$eed445e0843c11d0$export$dca12b0bb56e4fc=ge;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
import { $ as ee, a as fe, b as pe, c as $e, d as z, e as be } from "./Collection-
|
|
2
|
-
import {
|
|
3
|
-
import { $ as N, a as Pe, b as ae, c as De, d as ye } from "./DragAndDrop-
|
|
4
|
-
import { $ as Se, a as ke, b as Ee, c as Fe, d as Me } from "./Separator-
|
|
5
|
-
import {
|
|
1
|
+
import { $ as ee, a as fe, b as pe, c as $e, d as z, e as be } from "./Collection-Brgjpkne.js";
|
|
2
|
+
import { e as oe, c as M, d as Y, n as ve, a as ge, l as j, b as H, j as te, o as me, m as he, h as xe } from "./utils-DIMfEPAt.js";
|
|
3
|
+
import { $ as N, a as Pe, b as ae, c as De, d as ye } from "./DragAndDrop-o3ruz_SR.js";
|
|
4
|
+
import { $ as Se, a as ke, b as Ee, c as Fe, d as Me } from "./Separator-Cu9fYKUM.js";
|
|
5
|
+
import { $ as we } from "./Text-BoXuUVVH.js";
|
|
6
6
|
import { $ as L } from "./filterDOMProps-D6KHYVBX.js";
|
|
7
7
|
import { $ as Be } from "./inertValue-B7loUihk.js";
|
|
8
|
-
import s, { forwardRef as re, createContext as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { d as Le } from "./SelectionManager-
|
|
12
|
-
import { a as _e, $ as Ae } from "./useFocusRing-
|
|
13
|
-
import {
|
|
14
|
-
import { a as Ce, $ as Oe } from "./useListState-
|
|
15
|
-
import { $ as ze } from "./context-
|
|
16
|
-
import { $ as Ne } from "./
|
|
17
|
-
import {
|
|
18
|
-
import { a as Ke } from "./FocusScope-DwIqdYpQ.js";
|
|
8
|
+
import s, { forwardRef as re, createContext as le, useContext as m, useEffect as ie, useMemo as C, useRef as O } from "react";
|
|
9
|
+
import { c as Ie } from "./usePress-CNjmDzap.js";
|
|
10
|
+
import { t as Ve, u as He, $ as de, j as Z } from "./useHover-DjIHtjGN.js";
|
|
11
|
+
import { d as Le } from "./SelectionManager-B4ORduja.js";
|
|
12
|
+
import { a as _e, $ as Ae } from "./useFocusRing-XnR3cZjO.js";
|
|
13
|
+
import { a as Te } from "./Button-DjBChs7s.js";
|
|
14
|
+
import { a as Ce, $ as Oe } from "./useListState-CrZFZffI.js";
|
|
15
|
+
import { $ as ze } from "./context-C81gPYvC.js";
|
|
16
|
+
import { $ as Ne, a as Ue } from "./ListKeyboardDelegate-DNI8GQtX.js";
|
|
17
|
+
import { a as Ke } from "./FocusScope-CxkURfoc.js";
|
|
19
18
|
const q = /* @__PURE__ */ new WeakMap();
|
|
20
19
|
function Re(o) {
|
|
21
20
|
return typeof o == "string" ? o.replace(/\s*/g, "") : "" + o;
|
|
@@ -26,10 +25,10 @@ function We(o, e) {
|
|
|
26
25
|
return `${r.id}-option-${Re(e)}`;
|
|
27
26
|
}
|
|
28
27
|
function je(o, e, r) {
|
|
29
|
-
let
|
|
28
|
+
let l = L(o, {
|
|
30
29
|
labelable: !0
|
|
31
|
-
}),
|
|
32
|
-
|
|
30
|
+
}), i = o.selectionBehavior || "toggle", d = o.linkBehavior || (i === "replace" ? "action" : "override");
|
|
31
|
+
i === "toggle" && d === "action" && (d = "override");
|
|
33
32
|
let { listProps: t } = Se({
|
|
34
33
|
...o,
|
|
35
34
|
ref: r,
|
|
@@ -60,7 +59,7 @@ function je(o, e, r) {
|
|
|
60
59
|
});
|
|
61
60
|
return {
|
|
62
61
|
labelProps: b,
|
|
63
|
-
listBoxProps: M(
|
|
62
|
+
listBoxProps: M(l, a, e.selectionManager.selectionMode === "multiple" ? {
|
|
64
63
|
"aria-multiselectable": "true"
|
|
65
64
|
} : {}, {
|
|
66
65
|
role: "listbox",
|
|
@@ -69,7 +68,7 @@ function je(o, e, r) {
|
|
|
69
68
|
};
|
|
70
69
|
}
|
|
71
70
|
function qe(o, e, r) {
|
|
72
|
-
var
|
|
71
|
+
var l, i;
|
|
73
72
|
let { key: d } = o, t = q.get(e);
|
|
74
73
|
var a;
|
|
75
74
|
let u = (a = o.isDisabled) !== null && a !== void 0 ? a : e.selectionManager.isDisabled(d);
|
|
@@ -105,7 +104,7 @@ function qe(o, e, r) {
|
|
|
105
104
|
isVirtualized: P,
|
|
106
105
|
shouldUseVirtualFocus: v,
|
|
107
106
|
isDisabled: u,
|
|
108
|
-
onAction: B || !(p == null || (
|
|
107
|
+
onAction: B || !(p == null || (l = p.props) === null || l === void 0) && l.onAction ? ve(p == null || (i = p.props) === null || i === void 0 ? void 0 : i.onAction, B) : void 0,
|
|
109
108
|
linkBehavior: t == null ? void 0 : t.linkBehavior,
|
|
110
109
|
id: A
|
|
111
110
|
}), { hoverProps: I } = de({
|
|
@@ -138,7 +137,7 @@ function qe(o, e, r) {
|
|
|
138
137
|
};
|
|
139
138
|
}
|
|
140
139
|
function Ge(o) {
|
|
141
|
-
let { heading: e, "aria-label": r } = o,
|
|
140
|
+
let { heading: e, "aria-label": r } = o, l = oe();
|
|
142
141
|
return {
|
|
143
142
|
itemProps: {
|
|
144
143
|
role: "presentation"
|
|
@@ -147,29 +146,29 @@ function Ge(o) {
|
|
|
147
146
|
// Techincally, listbox cannot contain headings according to ARIA.
|
|
148
147
|
// We hide the heading from assistive technology, using role="presentation",
|
|
149
148
|
// and only use it as a visual label for the nested group.
|
|
150
|
-
id:
|
|
149
|
+
id: l,
|
|
151
150
|
role: "presentation"
|
|
152
151
|
} : {},
|
|
153
152
|
groupProps: {
|
|
154
153
|
role: "group",
|
|
155
154
|
"aria-label": r,
|
|
156
|
-
"aria-labelledby": e ?
|
|
155
|
+
"aria-labelledby": e ? l : void 0
|
|
157
156
|
}
|
|
158
157
|
};
|
|
159
158
|
}
|
|
160
|
-
const ne = /* @__PURE__ */
|
|
159
|
+
const ne = /* @__PURE__ */ le(null), _ = /* @__PURE__ */ le(null), go = /* @__PURE__ */ re(function(e, r) {
|
|
161
160
|
[e, r] = ge(e, r, ne);
|
|
162
|
-
let
|
|
163
|
-
return
|
|
164
|
-
state:
|
|
161
|
+
let l = m(_);
|
|
162
|
+
return l ? /* @__PURE__ */ s.createElement(se, {
|
|
163
|
+
state: l,
|
|
165
164
|
props: e,
|
|
166
165
|
listBoxRef: r
|
|
167
166
|
}) : /* @__PURE__ */ s.createElement(pe, {
|
|
168
167
|
content: /* @__PURE__ */ s.createElement($e, e)
|
|
169
|
-
}, (
|
|
168
|
+
}, (i) => /* @__PURE__ */ s.createElement(Je, {
|
|
170
169
|
props: e,
|
|
171
170
|
listBoxRef: r,
|
|
172
|
-
collection:
|
|
171
|
+
collection: i
|
|
173
172
|
}));
|
|
174
173
|
});
|
|
175
174
|
function Je({ props: o, listBoxRef: e, collection: r }) {
|
|
@@ -179,19 +178,19 @@ function Je({ props: o, listBoxRef: e, collection: r }) {
|
|
|
179
178
|
children: null,
|
|
180
179
|
items: null
|
|
181
180
|
};
|
|
182
|
-
let { layoutDelegate:
|
|
181
|
+
let { layoutDelegate: l } = m(z), i = Oe({
|
|
183
182
|
...o,
|
|
184
|
-
layoutDelegate:
|
|
183
|
+
layoutDelegate: l
|
|
185
184
|
});
|
|
186
185
|
return /* @__PURE__ */ s.createElement(se, {
|
|
187
|
-
state:
|
|
186
|
+
state: i,
|
|
188
187
|
props: o,
|
|
189
188
|
listBoxRef: e
|
|
190
189
|
});
|
|
191
190
|
}
|
|
192
191
|
function se({ state: o, props: e, listBoxRef: r }) {
|
|
193
|
-
var
|
|
194
|
-
let { filter:
|
|
192
|
+
var l;
|
|
193
|
+
let { filter: i, collectionProps: d, collectionRef: t } = m(Ee) || {};
|
|
195
194
|
e = C(() => d ? {
|
|
196
195
|
...e,
|
|
197
196
|
...d
|
|
@@ -204,7 +203,7 @@ function se({ state: o, props: e, listBoxRef: r }) {
|
|
|
204
203
|
t,
|
|
205
204
|
r
|
|
206
205
|
]));
|
|
207
|
-
let n = Ce(o,
|
|
206
|
+
let n = Ce(o, i), { collection: $, selectionManager: c } = n, f = !!(a != null && a.useDraggableCollectionState), h = !!(a != null && a.useDroppableCollectionState), { direction: g } = ze(), { disabledBehavior: v, disabledKeys: x } = c, P = Ne({
|
|
208
207
|
usage: "search",
|
|
209
208
|
sensitivity: "base"
|
|
210
209
|
}), { isVirtualized: k, layoutDelegate: w, dropTargetDelegate: D, CollectionRoot: p } = m(z), B = C(() => e.keyboardDelegate || new Ue({
|
|
@@ -234,7 +233,7 @@ function se({ state: o, props: e, listBoxRef: r }) {
|
|
|
234
233
|
keyboardDelegate: B,
|
|
235
234
|
isVirtualized: k
|
|
236
235
|
}, n, r), U = O(f), K = O(h);
|
|
237
|
-
|
|
236
|
+
ie(() => {
|
|
238
237
|
process.env.NODE_ENV !== "production" && (U.current !== f && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), K.current !== h && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."));
|
|
239
238
|
}, [
|
|
240
239
|
f,
|
|
@@ -269,7 +268,7 @@ function se({ state: o, props: e, listBoxRef: r }) {
|
|
|
269
268
|
type: "root"
|
|
270
269
|
});
|
|
271
270
|
}
|
|
272
|
-
let { focusProps: S, isFocused: G, isFocusVisible: J } = Ae(), R = n.collection.size === 0 || n.collection.size === 1 && ((
|
|
271
|
+
let { focusProps: S, isFocused: G, isFocusVisible: J } = Ae(), R = n.collection.size === 0 || n.collection.size === 1 && ((l = n.collection.getItem(n.collection.getFirstKey())) === null || l === void 0 ? void 0 : l.type) === "loader", Q = {
|
|
273
272
|
isDropTarget: I,
|
|
274
273
|
isEmpty: R,
|
|
275
274
|
isFocused: G,
|
|
@@ -346,14 +345,14 @@ function se({ state: o, props: e, listBoxRef: r }) {
|
|
|
346
345
|
renderDropIndicator: ae(a, y)
|
|
347
346
|
})), X, V));
|
|
348
347
|
}
|
|
349
|
-
function ce(o, e, r,
|
|
350
|
-
let
|
|
348
|
+
function ce(o, e, r, l = "react-aria-ListBoxSection") {
|
|
349
|
+
let i = m(_), { dragAndDropHooks: d, dropState: t } = m(N), { CollectionBranch: a } = m(z), [u, b] = xe();
|
|
351
350
|
var n;
|
|
352
351
|
let { headingProps: $, groupProps: c } = Ge({
|
|
353
352
|
heading: b,
|
|
354
353
|
"aria-label": (n = o["aria-label"]) !== null && n !== void 0 ? n : void 0
|
|
355
354
|
}), f = H({
|
|
356
|
-
defaultClassName:
|
|
355
|
+
defaultClassName: l,
|
|
357
356
|
className: o.className,
|
|
358
357
|
style: o.style,
|
|
359
358
|
values: {}
|
|
@@ -369,33 +368,33 @@ function ce(o, e, r, i = "react-aria-ListBoxSection") {
|
|
|
369
368
|
ref: u
|
|
370
369
|
}
|
|
371
370
|
}, /* @__PURE__ */ s.createElement(a, {
|
|
372
|
-
collection:
|
|
371
|
+
collection: i.collection,
|
|
373
372
|
parent: r,
|
|
374
373
|
renderDropIndicator: ae(d, t)
|
|
375
374
|
})));
|
|
376
375
|
}
|
|
377
|
-
const
|
|
378
|
-
let
|
|
379
|
-
key:
|
|
376
|
+
const mo = /* @__PURE__ */ fe("section", ce), ho = /* @__PURE__ */ ee("item", function(e, r, l) {
|
|
377
|
+
let i = j(r), d = m(_), { dragAndDropHooks: t, dragState: a, dropState: u } = m(N), { optionProps: b, labelProps: n, descriptionProps: $, ...c } = qe({
|
|
378
|
+
key: l.key,
|
|
380
379
|
"aria-label": e == null ? void 0 : e["aria-label"]
|
|
381
|
-
}, d,
|
|
380
|
+
}, d, i), { hoverProps: f, isHovered: h } = de({
|
|
382
381
|
isDisabled: !c.allowsSelection && !c.hasAction,
|
|
383
|
-
onHoverStart:
|
|
384
|
-
onHoverChange:
|
|
385
|
-
onHoverEnd:
|
|
382
|
+
onHoverStart: l.props.onHoverStart,
|
|
383
|
+
onHoverChange: l.props.onHoverChange,
|
|
384
|
+
onHoverEnd: l.props.onHoverEnd
|
|
386
385
|
}), g = null;
|
|
387
386
|
a && t && (g = t.useDraggableItem({
|
|
388
|
-
key:
|
|
387
|
+
key: l.key
|
|
389
388
|
}, a));
|
|
390
389
|
let v = null;
|
|
391
390
|
u && t && (v = t.useDroppableItem({
|
|
392
391
|
target: {
|
|
393
392
|
type: "item",
|
|
394
|
-
key:
|
|
393
|
+
key: l.key,
|
|
395
394
|
dropPosition: "on"
|
|
396
395
|
}
|
|
397
|
-
}, u,
|
|
398
|
-
let x = a && a.isDragging(
|
|
396
|
+
}, u, i));
|
|
397
|
+
let x = a && a.isDragging(l.key), P = H({
|
|
399
398
|
...e,
|
|
400
399
|
id: void 0,
|
|
401
400
|
children: e.children,
|
|
@@ -410,16 +409,16 @@ const ho = /* @__PURE__ */ fe("section", ce), xo = /* @__PURE__ */ ee("item", fu
|
|
|
410
409
|
isDropTarget: v == null ? void 0 : v.isDropTarget
|
|
411
410
|
}
|
|
412
411
|
});
|
|
413
|
-
|
|
414
|
-
!
|
|
412
|
+
ie(() => {
|
|
413
|
+
!l.textValue && process.env.NODE_ENV !== "production" && console.warn("A `textValue` prop is required for <ListBoxItem> elements with non-plain text children in order to support accessibility features such as type to select.");
|
|
415
414
|
}, [
|
|
416
|
-
|
|
415
|
+
l.textValue
|
|
417
416
|
]);
|
|
418
417
|
let k = e.href ? "a" : "div";
|
|
419
418
|
return /* @__PURE__ */ s.createElement(k, {
|
|
420
419
|
...M(b, f, g == null ? void 0 : g.dragProps, v == null ? void 0 : v.dropProps),
|
|
421
420
|
...P,
|
|
422
|
-
ref:
|
|
421
|
+
ref: i,
|
|
423
422
|
"data-allows-dragging": !!a || void 0,
|
|
424
423
|
"data-selected": c.isSelected || void 0,
|
|
425
424
|
"data-disabled": c.isDisabled || void 0,
|
|
@@ -447,20 +446,20 @@ const ho = /* @__PURE__ */ fe("section", ce), xo = /* @__PURE__ */ ee("item", fu
|
|
|
447
446
|
});
|
|
448
447
|
function Qe(o, e) {
|
|
449
448
|
e = j(e);
|
|
450
|
-
let { dragAndDropHooks: r, dropState:
|
|
449
|
+
let { dragAndDropHooks: r, dropState: l } = m(N), { dropIndicatorProps: i, isHidden: d, isDropTarget: t } = r.useDropIndicator(o, l, e);
|
|
451
450
|
return d ? null : /* @__PURE__ */ s.createElement(Ye, {
|
|
452
451
|
...o,
|
|
453
|
-
dropIndicatorProps:
|
|
452
|
+
dropIndicatorProps: i,
|
|
454
453
|
isDropTarget: t,
|
|
455
454
|
ref: e
|
|
456
455
|
});
|
|
457
456
|
}
|
|
458
457
|
function Xe(o, e) {
|
|
459
|
-
let { dropIndicatorProps: r, isDropTarget:
|
|
460
|
-
...
|
|
458
|
+
let { dropIndicatorProps: r, isDropTarget: l, ...i } = o, d = H({
|
|
459
|
+
...i,
|
|
461
460
|
defaultClassName: "react-aria-DropIndicator",
|
|
462
461
|
values: {
|
|
463
|
-
isDropTarget:
|
|
462
|
+
isDropTarget: l
|
|
464
463
|
}
|
|
465
464
|
});
|
|
466
465
|
return /* @__PURE__ */ s.createElement("div", {
|
|
@@ -469,33 +468,33 @@ function Xe(o, e) {
|
|
|
469
468
|
// eslint-disable-next-line
|
|
470
469
|
role: "option",
|
|
471
470
|
ref: e,
|
|
472
|
-
"data-drop-target":
|
|
471
|
+
"data-drop-target": l || void 0
|
|
473
472
|
});
|
|
474
473
|
}
|
|
475
474
|
const Ye = /* @__PURE__ */ re(Xe);
|
|
476
|
-
ee("loader", function(e, r,
|
|
477
|
-
let
|
|
475
|
+
ee("loader", function(e, r, l) {
|
|
476
|
+
let i = m(_), { isVirtualized: d } = m(z), { isLoading: t, onLoadMore: a, scrollOffset: u, ...b } = e, n = O(null), $ = C(() => ({
|
|
478
477
|
onLoadMore: a,
|
|
479
|
-
collection:
|
|
478
|
+
collection: i == null ? void 0 : i.collection,
|
|
480
479
|
sentinelRef: n,
|
|
481
480
|
scrollOffset: u
|
|
482
481
|
}), [
|
|
483
482
|
a,
|
|
484
483
|
u,
|
|
485
|
-
|
|
484
|
+
i == null ? void 0 : i.collection
|
|
486
485
|
]);
|
|
487
486
|
ye($, n);
|
|
488
487
|
let c = H({
|
|
489
488
|
...b,
|
|
490
489
|
id: void 0,
|
|
491
|
-
children:
|
|
490
|
+
children: l.rendered,
|
|
492
491
|
defaultClassName: "react-aria-ListBoxLoadingIndicator",
|
|
493
492
|
values: null
|
|
494
493
|
}), f = {
|
|
495
494
|
// For Android talkback
|
|
496
495
|
tabIndex: -1
|
|
497
496
|
};
|
|
498
|
-
return d && (f["aria-posinset"] =
|
|
497
|
+
return d && (f["aria-posinset"] = l.index + 1, f["aria-setsize"] = i.collection.size), /* @__PURE__ */ s.createElement(s.Fragment, null, /* @__PURE__ */ s.createElement("div", {
|
|
499
498
|
style: {
|
|
500
499
|
position: "relative",
|
|
501
500
|
width: 0,
|
|
@@ -520,9 +519,9 @@ ee("loader", function(e, r, i) {
|
|
|
520
519
|
}, c.children));
|
|
521
520
|
});
|
|
522
521
|
export {
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
522
|
+
go as $,
|
|
523
|
+
ho as a,
|
|
524
|
+
mo as b,
|
|
526
525
|
q as c,
|
|
527
526
|
We as d,
|
|
528
527
|
ne as e,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),n=require("./clsx-C11secjj.cjs"),t=require("./ListBoxSection-
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),n=require("./clsx-C11secjj.cjs"),t=require("./ListBoxSection-BGaigBnG.cjs"),u=({className:s,children:o,...e})=>i.jsx("button",{type:"button",className:n.clsx(t.styles.listBoxItem,t.styles.listBoxButton,s),...e,children:o});exports.ListBoxButton=u;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { c as i } from "./clsx-OuTLNxxd.js";
|
|
3
|
-
import { s as t } from "./ListBoxSection-
|
|
3
|
+
import { s as t } from "./ListBoxSection-C0BGnpB4.js";
|
|
4
4
|
const l = ({ className: o, children: s, ...m }) => /* @__PURE__ */ r(
|
|
5
5
|
"button",
|
|
6
6
|
{
|