@midas-ds/components 10.2.0 → 10.4.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-BcsoC78F.cjs +1 -0
- package/{AccordionItem-DZT76sWu.js → AccordionItem-BqsgiVWV.js} +43 -41
- package/{BadgeContainer-D3RtqcPF.js → BadgeContainer-DM8TdyMT.js} +4 -4
- package/{BadgeContainer-DeUgqGqb.cjs → BadgeContainer-I1XA3OCl.cjs} +1 -1
- package/Breadcrumbs-CfW5IuyE.cjs +1 -0
- package/{Breadcrumbs-CmZXtTiS.js → Breadcrumbs-D7eoibWk.js} +85 -73
- package/{Button-iSiWjocA.cjs → Button-BXY5ZhqI.cjs} +1 -1
- package/{Button-CbFRzRrF.js → Button-BZUo7vsZ.js} +2 -2
- package/Button-CFYdzG0H.js +341 -0
- package/Button-DExMoP5f.cjs +1 -0
- package/Button.module-DEQtBYe5.cjs +1 -0
- package/Button.module-tti8HGxs.js +14 -0
- package/CHANGELOG.md +48 -0
- package/{Card-CaKKKv9k.js → Card-BaWSgtSF.js} +5 -5
- package/Card-Cc1TNPcQ.cjs +1 -0
- package/{CharacterCounter-CrY8QRuY.cjs → CharacterCounter-DSFBv3Rw.cjs} +1 -1
- package/CharacterCounter-cLhqPZlk.js +22 -0
- package/Checkbox-Co3h0hur.cjs +1 -0
- package/Checkbox-LuUwTZ3W.js +264 -0
- package/CheckboxGroup-CUA8_xSx.js +160 -0
- package/CheckboxGroup-DmUOM0xl.cjs +1 -0
- package/{Collection-C5ONNBqd.js → Collection--62xKPm9.js} +19 -18
- package/Collection-BtBX5IMY.cjs +1 -0
- package/{ColorSchemeSwitch-CbAWIJCg.js → ColorSchemeSwitch-Cwono7Ap.js} +48 -32
- package/ColorSchemeSwitch-DDXdSzqg.cjs +16 -0
- package/ComboBox-BBC7jhnm.cjs +1 -0
- package/{ComboBox-BCaqPEIH.js → ComboBox-HLIAbb2q.js} +360 -345
- package/DateField-B3VjOSde.cjs +1 -0
- package/DateField-CnLEi7uX.js +47 -0
- package/DateInputDivider-3BvwXXa9.cjs +1 -0
- package/{DateInputDivider-Dx8n1Lxp.js → DateInputDivider-Bi5N-C0c.js} +73 -73
- package/DateRangePicker-BPlZ12r8.cjs +6 -0
- package/{DateRangePicker-BmBvwqo6.js → DateRangePicker-CFOoGvut.js} +192 -189
- package/Dialog-CSnN6baf.cjs +1 -0
- package/{Dialog-CYxThuMl.js → Dialog-CtVrVuMr.js} +565 -538
- package/Dialog-SqciohRY.js +221 -0
- package/Dialog-pSSy1zwf.cjs +1 -0
- package/DragAndDrop-BoEd260f.cjs +1 -0
- package/{DragAndDrop-CSwmPhxC.js → DragAndDrop-DkSTL28C.js} +8 -8
- package/{Dropdown-nkjzsVYX.js → Dropdown-CkBp70BH.js} +2 -2
- package/{Dropdown-CaGon9OR.cjs → Dropdown-DAsVShlt.cjs} +1 -1
- package/FieldError-B3YFj-an.js +23 -0
- package/{FieldError-CZikNDxX.js → FieldError-BbR-29BM.js} +8 -8
- package/{FieldError-DqdfJ3fs.cjs → FieldError-MVsU-Mgw.cjs} +1 -1
- package/{FieldError-BZw8UzBk.cjs → FieldError-bRTpchvr.cjs} +1 -1
- package/{FileUpload-ULwcYDxs.js → FileUpload-B4rv-wke.js} +502 -480
- package/{FileUpload-DYRZ0M9F.cjs → FileUpload-BwMhyLjG.cjs} +2 -2
- package/{FocusScope-DwIqdYpQ.js → FocusScope-D_hwN_TJ.js} +38 -37
- package/FocusScope-vcXLOQiu.cjs +1 -0
- package/Group-CpkUzEAs.js +45 -0
- package/Group-DOpbdoAi.cjs +1 -0
- package/Heading-CKTR4sOz.cjs +1 -0
- package/{Heading-BY5-QN4S.js → Heading-NxtGri2i.js} +7 -7
- package/{Hidden-B5ir3Lei.js → Hidden-C9KWUR7b.js} +2 -2
- package/{InfoBanner-CVIBFSWx.js → InfoBanner-CBUoad7A.js} +45 -36
- package/InfoBanner-CVry6Y8i.cjs +1 -0
- package/Input-LnjmFI1x.js +42 -0
- package/Input-MJji5hhq.cjs +1 -0
- package/Label-CNmTN1YY.cjs +1 -0
- package/Label-TVxwGZ-O.js +78 -0
- package/Layout-Dw-oCqxd.cjs +16 -0
- package/Layout-amz9BESl.js +498 -0
- package/{Link-B-nus-FT.js → Link-Bn8V3ZI0.js} +20 -19
- package/Link-CidjjqHb.cjs +1 -0
- package/{Link-DsnCtNeI.cjs → Link-D92ftFi2.cjs} +1 -1
- package/{Link-uFowN4qv.js → Link-DegonJfl.js} +1 -1
- package/LinkButton-CckYzfJ8.js +69 -0
- package/LinkButton-DKZ4z6zu.cjs +6 -0
- package/ListBox-BCz5-23H.cjs +1 -0
- package/{ListBox-DOi_y_Lt.js → ListBox-C-isJIHL.js} +56 -55
- package/{ListBoxButton-O6zN3P4W.js → ListBoxButton-C_krklY0.js} +1 -1
- package/{ListBoxButton-CFeNhJhr.cjs → ListBoxButton-DNm3gvcT.cjs} +1 -1
- package/{ListBoxSection-C1aLKL9p.js → ListBoxSection-BVR2xtOH.js} +9 -9
- package/ListBoxSection-CfQZoURJ.cjs +1 -0
- package/ListKeyboardDelegate-CPsZ7D83.cjs +1 -0
- package/{ListKeyboardDelegate-DNOzQ8nc.js → ListKeyboardDelegate-CY6t6y1t.js} +24 -15
- package/Logo-BpH0HC91.cjs +1 -0
- package/{Logo-BIrOEINM.js → Logo-ME4ffCue.js} +34 -26
- package/{OverlayArrow-DorA4Rbr.js → OverlayArrow-CfhSYL46.js} +28 -27
- package/OverlayArrow-DpZ1FqOd.cjs +1 -0
- package/Popover-C8VY1YKi.js +38 -0
- package/Popover-CnAsw3wI.cjs +1 -0
- package/{ProgressBar-gmAzSsrz.js → ProgressBar-BNCjpcv8.js} +2 -2
- package/ProgressBar-CcbxcWdT.cjs +1 -0
- package/Radio-B2zfEFdq.cjs +1 -0
- package/{Radio-_ukSkxPT.js → Radio-CZYibh9r.js} +81 -78
- package/{RangeCalendar-uXwoBL-O.js → RangeCalendar-B16b6tJD.js} +303 -294
- package/RangeCalendar-C1LFeOVk.cjs +11 -0
- package/SSRProvider-40TXmsUG.js +50 -0
- package/SSRProvider-Bc-sMhsT.cjs +1 -0
- package/SearchField-CML0kjtn.cjs +6 -0
- package/{SearchField-DYl2uo7o.js → SearchField-giwECmXS.js} +175 -166
- package/Select-DKey6CeS.cjs +1 -0
- package/Select-mwaAv20X.js +665 -0
- package/SelectionManager-D0jYUYcy.cjs +1 -0
- package/{SelectionManager-6H88Cv6B.js → SelectionManager-zsWy3vsd.js} +86 -86
- package/Separator-CxF-3jhR.cjs +1 -0
- package/{Separator-LYnFqh4L.js → Separator-Dn5LYN5I.js} +19 -20
- package/Spinner-CbJ6YAz-.js +53 -0
- package/Spinner-yHcy8YHC.cjs +6 -0
- package/TabList-7VtCiXxX.cjs +1 -0
- package/TabList-CthsM5h6.js +435 -0
- package/{Table-B_N7wUmA.js → Table-BcQPvJT3.js} +67 -69
- package/Table-DkvNp6xm.cjs +16 -0
- package/{Tag-g6HN-YCv.js → Tag-Bs8T2Ei7.js} +140 -141
- package/Tag-CFWZ2LQW.cjs +1 -0
- package/{Text-B_H68Tvq.js → Text-92cPh38G.js} +3 -3
- package/{Text-B2K-BJKQ.cjs → Text-CfcjRtke.cjs} +1 -1
- package/{Text-3MNwRMpI.cjs → Text-DBHWi5gA.cjs} +1 -1
- package/{Text-BN-g1iWi.js → Text-DlKqpvSa.js} +1 -1
- package/TextArea-DBNAVWqL.js +119 -0
- package/TextArea-XJDfeXRs.cjs +1 -0
- package/TextField-BdK9KEQ5.cjs +1 -0
- package/{TextField-DBaRuNj7.js → TextField-ByDJkig9.js} +22 -21
- package/{Toast-CjpldAI8.js → Toast-DPPvPhrF.js} +95 -87
- package/Toast-l1bKo2oA.cjs +1 -0
- package/ToggleButtonGroup-DH8IgR4G.cjs +1 -0
- package/{ToggleButtonGroup-Ceh9_yBM.js → ToggleButtonGroup-HOWNWtQZ.js} +47 -46
- package/{Tooltip-BAIjaYax.js → Tooltip-5mLWn_wO.js} +53 -51
- package/Tooltip-pN5W3IK6.cjs +1 -0
- package/{VisuallyHidden-D-4z1VgU.js → VisuallyHidden-CYfmTSCD.js} +8 -8
- package/VisuallyHidden-Doyzl0F7.cjs +1 -0
- 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/Checkbox.css +1 -1
- package/assets/FileUpload.css +1 -1
- package/assets/Label.css +1 -1
- package/assets/LinkButton.css +1 -1
- package/assets/Popover.css +1 -0
- package/assets/RangeCalendar.css +1 -1
- package/assets/SearchField.css +1 -1
- package/assets/Spinner.css +1 -1
- package/assets/TabList.css +1 -0
- package/badge/index.cjs +1 -1
- package/badge/index.js +1 -1
- package/breadcrumbs/Breadcrumbs.d.ts +11 -7
- package/breadcrumbs/index.cjs +1 -1
- package/breadcrumbs/index.d.ts +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/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 +4 -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 +7 -0
- package/checkbox/types.d.ts +16 -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/ColorSchemeSwitch.d.ts +1 -0
- package/color-scheme-switch/index.cjs +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/color-scheme-switch/intl/translations.json.d.ts +15 -0
- package/combobox/ComboBox.d.ts +3 -1
- package/combobox/index.cjs +1 -1
- package/combobox/index.js +1 -1
- package/combobox/intl/translations.json.d.ts +11 -0
- package/{context-B8cn10po.js → context-CGNJ3grH.js} +11 -11
- package/context-Df3XbgBG.cjs +1 -0
- 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 +4 -0
- package/file-upload/index.cjs +1 -1
- package/file-upload/index.js +1 -1
- package/file-upload/intl/translations.json.d.ts +17 -0
- package/{getScrollParent-Ru2U2LlM.js → getScrollParent-CT_L9LUr.js} +1 -1
- package/{getScrollParent-DuKmPmUa.cjs → getScrollParent-CsZ9ciml.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 +105 -100
- 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/info-banner/intl/translations.json.d.ts +11 -0
- 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/label/intl/translations.json.d.ts +11 -0
- package/layout/Layout.d.ts +1 -0
- package/layout/context/LayoutContext.d.ts +1 -0
- package/layout/index.cjs +1 -1
- package/layout/index.js +1 -1
- package/layout/intl/translations.json.d.ts +23 -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/index.cjs +1 -1
- package/list-box/index.js +2 -2
- package/logo/index.cjs +1 -1
- package/logo/index.js +1 -1
- package/logo/intl/translations.json.d.ts +11 -0
- package/mergeProps-B5KXZAI3.cjs +1 -0
- package/mergeProps-C1U1OIeJ.js +115 -0
- package/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/modal/intl/translations.json.d.ts +11 -0
- 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 +4 -4
- package/radio/index.cjs +1 -1
- package/radio/index.js +1 -1
- package/scrollIntoView-BLnsPvFA.js +87 -0
- package/scrollIntoView-joIyo-Jt.cjs +1 -0
- package/search-field/index.cjs +1 -1
- package/search-field/index.js +1 -1
- package/search-field/intl/translations.json.d.ts +11 -0
- package/select/index.cjs +1 -1
- package/select/index.js +1 -1
- package/select/intl/translations.json.d.ts +17 -0
- package/spinner/Spinner.d.ts +1 -0
- package/spinner/index.cjs +1 -1
- package/spinner/index.js +1 -1
- package/spinner/intl/translations.json.d.ts +11 -0
- 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/Tab.d.ts +4 -0
- package/tabs/TabList.d.ts +3 -0
- package/tabs/TabPanel.d.ts +4 -0
- package/tabs/Tabs.d.ts +11 -5
- package/tabs/index.cjs +1 -1
- package/tabs/index.d.ts +3 -0
- package/tabs/index.js +5 -2
- 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/TextFieldBase.d.ts +2 -0
- package/textfield/index.cjs +1 -1
- package/textfield/index.js +1 -1
- package/textfield/intl/translations.json.d.ts +0 -72
- package/theme/index.cjs +1 -1
- package/theme/index.d.ts +5 -0
- package/theme/index.js +2 -2
- package/theme/tokens.d.ts +5 -0
- package/toast/Toast.d.ts +5 -2
- package/toast/index.cjs +1 -1
- package/toast/index.js +1 -1
- package/toggle-button/index.cjs +1 -1
- package/toggle-button/index.js +1 -1
- package/{tokens-p6pg1Cea.cjs → tokens-BghDnMdO.cjs} +1 -1
- package/{tokens-xp-7KMK7.js → tokens-fEwCQXDv.js} +16 -11
- 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-1-Jf-oHj.js} +6 -6
- package/useButton-D60q0SQw.cjs +1 -0
- package/{useDateFormatter-g2maMTGH.cjs → useDateFormatter-BJBt0jk_.cjs} +1 -1
- package/{useDateFormatter-C53Uxdli.js → useDateFormatter-BVCkxVdw.js} +2 -2
- package/{useEvent-Cyd2ZL0c.js → useEvent-CigwyJOw.js} +3 -3
- package/useEvent-DPxMu-X9.cjs +1 -0
- package/{useField-BPMAlIbU.js → useField-BEBXv5Mh.js} +7 -7
- package/useField-D1UkzeaI.cjs +1 -0
- package/{useFilter-ChIbnALW.js → useFilter-CousKe2K.js} +1 -1
- package/useFilter-e2oIVF_O.cjs +1 -0
- package/useFocusRing-B-A1OLhU.cjs +1 -0
- package/useFocusRing-DOfBqnUN.js +33 -0
- package/useFocusWithin-CG8mAt2D.cjs +1 -0
- package/useFocusWithin-T1ifEM_s.js +54 -0
- package/useFocusable-ChPA2Jc7.js +127 -0
- package/useFocusable-D7I1ujkW.cjs +1 -0
- package/useFormValidation-BlFGdPZB.cjs +1 -0
- package/{useFormValidation-R8hQIjWP.js → useFormValidation-BzzruZKm.js} +5 -5
- package/{useHasTabbableChild-DsD9AJwE.js → useHasTabbableChild-BE81d_ab.js} +2 -2
- package/useHasTabbableChild-CoQRpNbC.cjs +1 -0
- package/useHighlightSelectionDescription-BfR_vGOe.cjs +1 -0
- package/{useHighlightSelectionDescription-DFfcgbUj.js → useHighlightSelectionDescription-D73hrkmn.js} +14 -14
- package/useHover-BE_XKZKe.cjs +1 -0
- package/useHover-DQvJ3Y-W.js +262 -0
- package/useLabels-CSU0kbtJ.cjs +1 -0
- package/{useLabels-BZjoZA1Z.js → useLabels-LrKQiY11.js} +1 -1
- package/{useListState-DFQ9d-uE.js → useListState-CebsX_1d.js} +7 -7
- package/{useListState-Ca2-uZMO.cjs → useListState-DymkJGDF.cjs} +1 -1
- package/useLocalizedStringFormatter-BO2iZEL0.cjs +1 -0
- package/useLocalizedStringFormatter-BiX5BTlb.cjs +1 -0
- package/{useLocalizedStringFormatter-D07YB2e1.js → useLocalizedStringFormatter-CL9MUZ8A.js} +1 -1
- package/useLocalizedStringFormatter-N0AyjzbM.js +25 -0
- package/useObserveElement-MhzEsCkX.cjs +1 -0
- package/usePress-BooY_CAy.cjs +7 -0
- package/{usePress-CUJ3pMOw.js → usePress-DuR4pVsE.js} +154 -153
- package/{useSingleSelectListState-C-nB8cug.js → useSingleSelectListState-BLXvGjLI.js} +1 -1
- package/{useSingleSelectListState-MGNxUTum.cjs → useSingleSelectListState-BPhlCU26.cjs} +1 -1
- package/{useTextField-5OZQPyOW.js → useTextField-C-sUypsx.js} +14 -14
- package/useTextField-DnRrCg5o.cjs +1 -0
- package/{useUpdateEffect-sk3kiVGz.cjs → useUpdateEffect-C5YQs_1w.cjs} +1 -1
- package/utils/intl/useLocalizedStringFormatter.d.ts +2 -0
- package/utils-CoCR_Fce.js +234 -0
- package/utils-DHNZrQmj.cjs +1 -0
- package/utils-DJhAJHk_.js +152 -0
- package/utils-Dvdohqm9.cjs +1 -0
- package/{x-CvxiAZTW.cjs → x-H8Zrx8-x.cjs} +1 -1
- package/AccordionItem-Z_c9MpAM.cjs +0 -1
- package/Breadcrumbs-Cx09jwZZ.cjs +0 -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/Collection-Csx3L9gh.cjs +0 -1
- package/ColorSchemeSwitch-JRrCyYVv.cjs +0 -16
- 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/Dialog-Bxx8cBEq.js +0 -208
- package/Dialog-CwTEAujZ.cjs +0 -1
- package/DragAndDrop-HvycSrKY.cjs +0 -1
- package/FieldError-Dv3bBEjh.js +0 -23
- package/FocusScope-NaPbvuuS.cjs +0 -1
- package/Group-CeSsSQVC.js +0 -44
- package/Group-CgiqQHH1.cjs +0 -1
- package/Heading-DoJAtYZf.cjs +0 -1
- package/InfoBanner-BS-dAfzO.cjs +0 -1
- package/Input-D8Ku_FQz.js +0 -41
- package/Input-DKSAYvsw.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/Layout-BWeHHnqU.cjs +0 -16
- package/Layout-CCt_2L1k.js +0 -468
- package/Link-SHMbeyIP.cjs +0 -1
- package/LinkButton-CuBilDML.js +0 -69
- package/LinkButton-CymMrcGL.cjs +0 -6
- package/ListBox-CDOsQChA.cjs +0 -1
- package/ListBoxSection-DGCP6xpf.cjs +0 -1
- package/ListKeyboardDelegate-BqMETvPv.cjs +0 -1
- package/LiveAnnouncer-B6177m92.js +0 -51
- package/LiveAnnouncer-CwEWPU8b.cjs +0 -1
- package/Logo-DT2_2O43.cjs +0 -1
- package/NumberFormatter-DewVDY5w.cjs +0 -1
- package/NumberFormatter-DgOUVrge.js +0 -119
- package/OverlayArrow-D75k-EMl.cjs +0 -1
- 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/SearchField-6yBGiojX.cjs +0 -6
- package/Select-CpHjd1tp.cjs +0 -1
- package/Select-PvCqY7Lp.js +0 -646
- package/SelectionManager-C5NGBzvz.cjs +0 -1
- package/Separator-nPra6kD-.cjs +0 -1
- package/Spinner-D31SXm-U.js +0 -41
- package/Spinner-DAJtfxqJ.cjs +0 -6
- package/Table-D9vNc_y-.cjs +0 -16
- package/Tabs-Ct6D83aR.js +0 -404
- package/Tabs-Dtcl2oK2.cjs +0 -1
- package/Tag-CVFkzg3s.cjs +0 -1
- 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/ToggleButtonGroup-BuU_6dYe.cjs +0 -1
- package/Tooltip-CiWg4zIC.cjs +0 -1
- package/VisuallyHidden-CtXvK_Tw.cjs +0 -1
- package/assets/Tabs.css +0 -1
- package/context-DjwhtgxQ.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/useButton-B1Fa-6qE.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/useEvent-CjkbBniY.cjs +0 -1
- package/useField-B1RU0GKs.cjs +0 -1
- package/useFilter-CtIwF2qW.cjs +0 -1
- package/useFocusRing-BDGH3lpn.js +0 -82
- package/useFocusRing-CbImDrwF.cjs +0 -1
- package/useFocusable-CaedRTpB.js +0 -74
- package/useFocusable-CuPQ7Cm5.cjs +0 -1
- package/useFormValidation-ClximP89.cjs +0 -1
- package/useHasTabbableChild-DgphNvnk.cjs +0 -1
- package/useHighlightSelectionDescription-BizKjvPU.cjs +0 -1
- package/useHover-_mv5J4_q.cjs +0 -1
- package/useHover-qRAon4nS.js +0 -490
- package/useLabel-DDdAJ1JO.js +0 -23
- package/useLabel-m_S5xkHy.cjs +0 -1
- package/useLabels-BLOfc6Y-.cjs +0 -1
- package/useLocalizedStringFormatter-u9SJaOwk.cjs +0 -1
- package/useObserveElement-BzEr5D32.cjs +0 -1
- package/usePress-BFa6cT9o.cjs +0 -7
- package/useTextField-CtUDWsUl.cjs +0 -1
- package/utils-BNtZbAib.cjs +0 -1
- package/utils-HNTsIwux.js +0 -308
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { h as y } from "./utils-CoCR_Fce.js";
|
|
2
|
+
import { a as x } from "./mergeProps-C1U1OIeJ.js";
|
|
3
3
|
import { $ as E } from "./filterDOMProps-D6KHYVBX.js";
|
|
4
|
-
import { $ as I, a as M, b as
|
|
5
|
-
import { $ as
|
|
6
|
-
import
|
|
7
|
-
import { $ as
|
|
8
|
-
import { $ as q } from "./useFocusable-
|
|
4
|
+
import { $ as I, a as M, b as D } from "./useFormValidation-BzzruZKm.js";
|
|
5
|
+
import { $ as L } from "./useControlledState-u436Wbp1.js";
|
|
6
|
+
import O, { useEffect as R } from "react";
|
|
7
|
+
import { $ as S } from "./useField-BEBXv5Mh.js";
|
|
8
|
+
import { $ as q } from "./useFocusable-ChPA2Jc7.js";
|
|
9
9
|
function _(e, a) {
|
|
10
|
-
let { inputElementType: u = "input", isDisabled: c = !1, isRequired: o = !1, isReadOnly: f = !1, type: m = "text", validationBehavior: r = "aria" } = e, [i, l] =
|
|
10
|
+
let { inputElementType: u = "input", isDisabled: c = !1, isRequired: o = !1, isReadOnly: f = !1, type: m = "text", validationBehavior: r = "aria" } = e, [i, l] = L(e.value, e.defaultValue || "", e.onChange), { focusableProps: $ } = q(e, a), d = I({
|
|
11
11
|
...e,
|
|
12
12
|
value: i
|
|
13
|
-
}), { isInvalid: n, validationErrors: s, validationDetails: b } = d.displayValidation, { labelProps: v, fieldProps: C, descriptionProps: p, errorMessageProps: P } =
|
|
13
|
+
}), { isInvalid: n, validationErrors: s, validationDetails: b } = d.displayValidation, { labelProps: v, fieldProps: C, descriptionProps: p, errorMessageProps: P } = S({
|
|
14
14
|
...e,
|
|
15
15
|
isInvalid: n,
|
|
16
16
|
errorMessage: e.errorMessage || s
|
|
17
17
|
}), g = E(e, {
|
|
18
18
|
labelable: !0
|
|
19
19
|
});
|
|
20
|
-
const
|
|
20
|
+
const h = {
|
|
21
21
|
type: m,
|
|
22
22
|
pattern: e.pattern
|
|
23
23
|
};
|
|
24
|
-
return M(a, i, l),
|
|
25
|
-
if (a.current instanceof
|
|
24
|
+
return M(a, i, l), D(e, d, a), R(() => {
|
|
25
|
+
if (a.current instanceof y(a.current).HTMLTextAreaElement) {
|
|
26
26
|
let t = a.current;
|
|
27
27
|
Object.defineProperty(t, "defaultValue", {
|
|
28
28
|
get: () => t.value,
|
|
@@ -35,7 +35,7 @@ function _(e, a) {
|
|
|
35
35
|
a
|
|
36
36
|
]), {
|
|
37
37
|
labelProps: v,
|
|
38
|
-
inputProps: x(g, u === "input" ?
|
|
38
|
+
inputProps: x(g, u === "input" ? h : void 0, {
|
|
39
39
|
disabled: c,
|
|
40
40
|
readOnly: f,
|
|
41
41
|
required: o && r === "native",
|
|
@@ -57,7 +57,7 @@ function _(e, a) {
|
|
|
57
57
|
inputMode: e.inputMode,
|
|
58
58
|
autoCorrect: e.autoCorrect,
|
|
59
59
|
spellCheck: e.spellCheck,
|
|
60
|
-
[parseInt(
|
|
60
|
+
[parseInt(O.version, 10) >= 17 ? "enterKeyHint" : "enterkeyhint"]: e.enterKeyHint,
|
|
61
61
|
// Clipboard events
|
|
62
62
|
onCopy: e.onCopy,
|
|
63
63
|
onCut: e.onCut,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const q=require("./utils-Dvdohqm9.cjs"),E=require("./mergeProps-B5KXZAI3.cjs"),I=require("./filterDOMProps-BS2lrgFA.cjs"),o=require("./useFormValidation-BlFGdPZB.cjs"),M=require("./useControlledState-D0L6S_5r.cjs"),c=require("react"),D=require("./useField-D1UkzeaI.cjs"),O=require("./useFocusable-D7I1ujkW.cjs");function S(e,a){let{inputElementType:f="input",isDisabled:$=!1,isRequired:r=!1,isReadOnly:b=!1,type:v="text",validationBehavior:l="aria"}=e,[i,d]=M.$458b0a5536c1a7cf$export$40bfa8c7b0832715(e.value,e.defaultValue||"",e.onChange),{focusableProps:m}=O.$f645667febf57a63$export$4c014de7c8940b4c(e,a),u=o.$e5be200c675c3b3a$export$fc1a364ae1f3ff10({...e,value:i}),{isInvalid:n,validationErrors:s,validationDetails:C}=u.displayValidation,{labelProps:P,fieldProps:g,descriptionProps:y,errorMessageProps:h}=D.$2baaea4c71418dea$export$294aa081a6c6f55d({...e,isInvalid:n,errorMessage:e.errorMessage||s}),x=I.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{labelable:!0});const p={type:v,pattern:e.pattern};return o.$99facab73266f662$export$5add1d006293d136(a,i,d),o.$e93e671b31057976$export$b8473d3665f3a75a(e,u,a),c.useEffect(()=>{if(a.current instanceof q.$431fbd86ca7dc216$export$f21a1ffae260145a(a.current).HTMLTextAreaElement){let t=a.current;Object.defineProperty(t,"defaultValue",{get:()=>t.value,set:()=>{},configurable:!0})}},[a]),{labelProps:P,inputProps:E.$3ef42575df84b30b$export$9d1611c77c2fe928(x,f==="input"?p:void 0,{disabled:$,readOnly:b,required:r&&l==="native","aria-required":r&&l==="aria"||void 0,"aria-invalid":n||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:i,onChange:t=>d(t.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,[parseInt(c.version,10)>=17?"enterKeyHint":"enterkeyhint"]:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...m,...g}),descriptionProps:y,errorMessageProps:h,isInvalid:n,validationErrors:s,validationDetails:C}}exports.$2d73ec29415bd339$export$712718f7aec83d5=S;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("react");function
|
|
1
|
+
"use strict";const t=require("react");function l(c,r){const e=t.useRef(!0),f=t.useRef(null);t.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.useEffect(()=>{let u=f.current;e.current?e.current=!1:(!u||r.some((s,n)=>!Object.is(s,u[n])))&&c(),f.current=r},r)}exports.$4f58c5f72bcf79f7$export$496315a1608d9602=l;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { LocalizedString, LocalizedStringDictionary, LocalizedStringFormatter, LocalizedStrings } from '@internationalized/string';
|
|
2
|
+
import { I18nProvider } from 'react-aria-components';
|
|
2
3
|
/**
|
|
3
4
|
* Returns a cached LocalizedStringDictionary for the given strings.
|
|
4
5
|
*/
|
|
@@ -9,3 +10,4 @@ export declare function useLocalizedStringDictionary<K extends string = string,
|
|
|
9
10
|
* @param strings - A mapping of languages to localized strings by key.
|
|
10
11
|
*/
|
|
11
12
|
export declare function useLocalizedStringFormatter<K extends string = string, T extends LocalizedString = string>(strings: LocalizedStrings<K, T>, packageName?: string): LocalizedStringFormatter<K, T>;
|
|
13
|
+
export { I18nProvider };
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import { useRef as p, useCallback as u, useEffect as E } from "react";
|
|
2
|
+
import { $ as L, d as h } from "./mergeProps-C1U1OIeJ.js";
|
|
3
|
+
const T = (e) => {
|
|
4
|
+
var t;
|
|
5
|
+
return (t = e == null ? void 0 : e.ownerDocument) !== null && t !== void 0 ? t : document;
|
|
6
|
+
}, g = (e) => e && "window" in e && e.window === e ? e : T(e).defaultView || window;
|
|
7
|
+
function w(e) {
|
|
8
|
+
return e !== null && typeof e == "object" && "nodeType" in e && typeof e.nodeType == "number";
|
|
9
|
+
}
|
|
10
|
+
function x(e) {
|
|
11
|
+
return w(e) && e.nodeType === Node.DOCUMENT_FRAGMENT_NODE && "host" in e;
|
|
12
|
+
}
|
|
13
|
+
let S = !1, F = !1;
|
|
14
|
+
function j() {
|
|
15
|
+
return S;
|
|
16
|
+
}
|
|
17
|
+
function b() {
|
|
18
|
+
return F;
|
|
19
|
+
}
|
|
20
|
+
function B(e, t) {
|
|
21
|
+
if (!b()) return t && e ? e.contains(t) : !1;
|
|
22
|
+
if (!e || !t) return !1;
|
|
23
|
+
let n = t;
|
|
24
|
+
for (; n !== null; ) {
|
|
25
|
+
if (n === e) return !0;
|
|
26
|
+
n.tagName === "SLOT" && n.assignedSlot ? n = n.assignedSlot.parentNode : x(n) ? n = n.host : n = n.parentNode;
|
|
27
|
+
}
|
|
28
|
+
return !1;
|
|
29
|
+
}
|
|
30
|
+
const G = (e = document) => {
|
|
31
|
+
var t;
|
|
32
|
+
if (!b()) return e.activeElement;
|
|
33
|
+
let n = e.activeElement;
|
|
34
|
+
for (; n && "shadowRoot" in n && (!((t = n.shadowRoot) === null || t === void 0) && t.activeElement); ) n = n.shadowRoot.activeElement;
|
|
35
|
+
return n;
|
|
36
|
+
};
|
|
37
|
+
function C(e) {
|
|
38
|
+
return b() && e.target.shadowRoot && e.composedPath ? e.composedPath()[0] : e.target;
|
|
39
|
+
}
|
|
40
|
+
function m(e) {
|
|
41
|
+
if (P()) e.focus({
|
|
42
|
+
preventScroll: !0
|
|
43
|
+
});
|
|
44
|
+
else {
|
|
45
|
+
let t = M(e);
|
|
46
|
+
e.focus(), y(t);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
let f = null;
|
|
50
|
+
function P() {
|
|
51
|
+
if (f == null) {
|
|
52
|
+
f = !1;
|
|
53
|
+
try {
|
|
54
|
+
document.createElement("div").focus({
|
|
55
|
+
get preventScroll() {
|
|
56
|
+
return f = !0, !0;
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
} catch {
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
return f;
|
|
63
|
+
}
|
|
64
|
+
function M(e) {
|
|
65
|
+
let t = e.parentNode, n = [], r = document.scrollingElement || document.documentElement;
|
|
66
|
+
for (; t instanceof HTMLElement && t !== r; )
|
|
67
|
+
(t.offsetHeight < t.scrollHeight || t.offsetWidth < t.scrollWidth) && n.push({
|
|
68
|
+
element: t,
|
|
69
|
+
scrollTop: t.scrollTop,
|
|
70
|
+
scrollLeft: t.scrollLeft
|
|
71
|
+
}), t = t.parentNode;
|
|
72
|
+
return r instanceof HTMLElement && n.push({
|
|
73
|
+
element: r,
|
|
74
|
+
scrollTop: r.scrollTop,
|
|
75
|
+
scrollLeft: r.scrollLeft
|
|
76
|
+
}), n;
|
|
77
|
+
}
|
|
78
|
+
function y(e) {
|
|
79
|
+
for (let { element: t, scrollTop: n, scrollLeft: r } of e)
|
|
80
|
+
t.scrollTop = n, t.scrollLeft = r;
|
|
81
|
+
}
|
|
82
|
+
function D() {
|
|
83
|
+
let e = p(/* @__PURE__ */ new Map()), t = u((o, c, a, l) => {
|
|
84
|
+
let s = l != null && l.once ? (...i) => {
|
|
85
|
+
e.current.delete(a), a(...i);
|
|
86
|
+
} : a;
|
|
87
|
+
e.current.set(a, {
|
|
88
|
+
type: c,
|
|
89
|
+
eventTarget: o,
|
|
90
|
+
fn: s,
|
|
91
|
+
options: l
|
|
92
|
+
}), o.addEventListener(c, s, l);
|
|
93
|
+
}, []), n = u((o, c, a, l) => {
|
|
94
|
+
var s;
|
|
95
|
+
let i = ((s = e.current.get(a)) === null || s === void 0 ? void 0 : s.fn) || a;
|
|
96
|
+
o.removeEventListener(c, i, l), e.current.delete(a);
|
|
97
|
+
}, []), r = u(() => {
|
|
98
|
+
e.current.forEach((o, c) => {
|
|
99
|
+
n(o.eventTarget, o.type, c, o.options);
|
|
100
|
+
});
|
|
101
|
+
}, [
|
|
102
|
+
n
|
|
103
|
+
]);
|
|
104
|
+
return E(() => r, [
|
|
105
|
+
r
|
|
106
|
+
]), {
|
|
107
|
+
addGlobalListener: t,
|
|
108
|
+
removeGlobalListener: n,
|
|
109
|
+
removeAllGlobalListeners: r
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
const $ = [
|
|
113
|
+
"input:not([disabled]):not([type=hidden])",
|
|
114
|
+
"select:not([disabled])",
|
|
115
|
+
"textarea:not([disabled])",
|
|
116
|
+
"button:not([disabled])",
|
|
117
|
+
"a[href]",
|
|
118
|
+
"area[href]",
|
|
119
|
+
"summary",
|
|
120
|
+
"iframe",
|
|
121
|
+
"object",
|
|
122
|
+
"embed",
|
|
123
|
+
"audio[controls]",
|
|
124
|
+
"video[controls]",
|
|
125
|
+
'[contenteditable]:not([contenteditable^="false"])'
|
|
126
|
+
], N = $.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
|
|
127
|
+
$.push('[tabindex]:not([tabindex="-1"]):not([disabled])');
|
|
128
|
+
const O = $.join(':not([hidden]):not([tabindex="-1"]),');
|
|
129
|
+
function R(e) {
|
|
130
|
+
return e.matches(N);
|
|
131
|
+
}
|
|
132
|
+
function I(e) {
|
|
133
|
+
return e.matches(O);
|
|
134
|
+
}
|
|
135
|
+
function A(e) {
|
|
136
|
+
let t = e;
|
|
137
|
+
return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {
|
|
138
|
+
}, t;
|
|
139
|
+
}
|
|
140
|
+
function k(e, t) {
|
|
141
|
+
Object.defineProperty(e, "target", {
|
|
142
|
+
value: t
|
|
143
|
+
}), Object.defineProperty(e, "currentTarget", {
|
|
144
|
+
value: t
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
function U(e) {
|
|
148
|
+
let t = p({
|
|
149
|
+
isFocused: !1,
|
|
150
|
+
observer: null
|
|
151
|
+
});
|
|
152
|
+
L(() => {
|
|
153
|
+
const r = t.current;
|
|
154
|
+
return () => {
|
|
155
|
+
r.observer && (r.observer.disconnect(), r.observer = null);
|
|
156
|
+
};
|
|
157
|
+
}, []);
|
|
158
|
+
let n = h((r) => {
|
|
159
|
+
e == null || e(r);
|
|
160
|
+
});
|
|
161
|
+
return u((r) => {
|
|
162
|
+
if (r.target instanceof HTMLButtonElement || r.target instanceof HTMLInputElement || r.target instanceof HTMLTextAreaElement || r.target instanceof HTMLSelectElement) {
|
|
163
|
+
t.current.isFocused = !0;
|
|
164
|
+
let o = r.target, c = (a) => {
|
|
165
|
+
if (t.current.isFocused = !1, o.disabled) {
|
|
166
|
+
let l = A(a);
|
|
167
|
+
n(l);
|
|
168
|
+
}
|
|
169
|
+
t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);
|
|
170
|
+
};
|
|
171
|
+
o.addEventListener("focusout", c, {
|
|
172
|
+
once: !0
|
|
173
|
+
}), t.current.observer = new MutationObserver(() => {
|
|
174
|
+
if (t.current.isFocused && o.disabled) {
|
|
175
|
+
var a;
|
|
176
|
+
(a = t.current.observer) === null || a === void 0 || a.disconnect();
|
|
177
|
+
let l = o === document.activeElement ? null : document.activeElement;
|
|
178
|
+
o.dispatchEvent(new FocusEvent("blur", {
|
|
179
|
+
relatedTarget: l
|
|
180
|
+
})), o.dispatchEvent(new FocusEvent("focusout", {
|
|
181
|
+
bubbles: !0,
|
|
182
|
+
relatedTarget: l
|
|
183
|
+
}));
|
|
184
|
+
}
|
|
185
|
+
}), t.current.observer.observe(o, {
|
|
186
|
+
attributes: !0,
|
|
187
|
+
attributeFilter: [
|
|
188
|
+
"disabled"
|
|
189
|
+
]
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
}, [
|
|
193
|
+
n
|
|
194
|
+
]);
|
|
195
|
+
}
|
|
196
|
+
let v = !1;
|
|
197
|
+
function W(e) {
|
|
198
|
+
for (; e && !R(e); ) e = e.parentElement;
|
|
199
|
+
let t = g(e), n = t.document.activeElement;
|
|
200
|
+
if (!n || n === e) return;
|
|
201
|
+
v = !0;
|
|
202
|
+
let r = !1, o = (d) => {
|
|
203
|
+
(d.target === n || r) && d.stopImmediatePropagation();
|
|
204
|
+
}, c = (d) => {
|
|
205
|
+
(d.target === n || r) && (d.stopImmediatePropagation(), !e && !r && (r = !0, m(n), s()));
|
|
206
|
+
}, a = (d) => {
|
|
207
|
+
(d.target === e || r) && d.stopImmediatePropagation();
|
|
208
|
+
}, l = (d) => {
|
|
209
|
+
(d.target === e || r) && (d.stopImmediatePropagation(), r || (r = !0, m(n), s()));
|
|
210
|
+
};
|
|
211
|
+
t.addEventListener("blur", o, !0), t.addEventListener("focusout", c, !0), t.addEventListener("focusin", l, !0), t.addEventListener("focus", a, !0);
|
|
212
|
+
let s = () => {
|
|
213
|
+
cancelAnimationFrame(i), t.removeEventListener("blur", o, !0), t.removeEventListener("focusout", c, !0), t.removeEventListener("focusin", l, !0), t.removeEventListener("focus", a, !0), v = !1, r = !1;
|
|
214
|
+
}, i = requestAnimationFrame(s);
|
|
215
|
+
return s;
|
|
216
|
+
}
|
|
217
|
+
export {
|
|
218
|
+
D as $,
|
|
219
|
+
U as a,
|
|
220
|
+
T as b,
|
|
221
|
+
G as c,
|
|
222
|
+
C as d,
|
|
223
|
+
B as e,
|
|
224
|
+
k as f,
|
|
225
|
+
A as g,
|
|
226
|
+
g as h,
|
|
227
|
+
b as i,
|
|
228
|
+
I as j,
|
|
229
|
+
R as k,
|
|
230
|
+
v as l,
|
|
231
|
+
m,
|
|
232
|
+
W as n,
|
|
233
|
+
j as o
|
|
234
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const $=require("./mergeProps-B5KXZAI3.cjs"),r=require("react");function y(...e){return e.length===1&&e[0]?e[0]:l=>{let t=!1;const n=e.map(a=>{const f=i(a,l);return t||(t=typeof f=="function"),f});if(t)return()=>{n.forEach((a,f)=>{typeof a=="function"?a():i(e[f],null)})}}}function i(e,l){if(typeof e=="function")return e(l);e!=null&&(e.current=l)}function p(e){const l=r.useRef(null),t=r.useRef(void 0),n=r.useCallback(a=>{if(typeof e=="function"){const f=e,u=f(a);return()=>{typeof u=="function"?u():f(null)}}else if(e)return e.current=a,()=>{e.current=null}},[e]);return r.useMemo(()=>({get current(){return l.current},set current(a){l.current=a,t.current&&(t.current(),t.current=void 0),a!=null&&(t.current=n(a))}}),[n])}const b=Symbol("default");function C({values:e,children:l}){for(let[t,n]of e)l=r.createElement(t.Provider,{value:n},l);return l}function S(e){let{className:l,style:t,children:n,defaultClassName:a,defaultChildren:f,defaultStyle:u,values:s}=e;return r.useMemo(()=>{let o,d,c;return typeof l=="function"?o=l({...s,defaultClassName:a}):o=l,typeof t=="function"?d=t({...s,defaultStyle:u||{}}):d=t,typeof n=="function"?c=n({...s,defaultChildren:f}):n==null?c=f:c=n,{className:o??a,style:d||u?{...u,...d}:void 0,children:c??f,"data-rac":""}},[l,t,n,a,f,u,s])}function x(e,l){let t=r.useContext(e);if(l===null)return null;if(t&&typeof t=="object"&&"slots"in t&&t.slots){let n=l||b;if(!t.slots[n]){let a=new Intl.ListFormat().format(Object.keys(t.slots).map(u=>`"${u}"`)),f=l?`Invalid slot "${l}".`:"A slot prop is required.";throw new Error(`${f} Valid slot names are ${a}.`)}return t.slots[n]}return t}function h(e,l,t){let n=x(t,e.slot)||{},{ref:a,...f}=n,u=p(r.useMemo(()=>y(l,a),[l,a])),s=$.$3ef42575df84b30b$export$9d1611c77c2fe928(f,e);return"style"in f&&f.style&&"style"in e&&e.style&&(typeof f.style=="function"||typeof e.style=="function"?s.style=o=>{let d=typeof f.style=="function"?f.style(o):f.style,c={...o.defaultStyle,...d},m=typeof e.style=="function"?e.style({...o,defaultStyle:c}):e.style;return{...c,...m}}:s.style={...f.style,...e.style}),[s,u]}function R(e=!0){let[l,t]=r.useState(e),n=r.useRef(!1),a=r.useCallback(f=>{n.current=!0,t(!!f)},[]);return $.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{n.current||t(!1)},[]),[a,l]}function v(e){const l=/^(data-.*)$/;let t={};for(const n in e)l.test(n)||(t[n]=e[n]);return t}exports.$5dc95899b306f630$export$c9058316764c140e=y;exports.$64fa3d84918910a7$export$2881499e37b75b9a=C;exports.$64fa3d84918910a7$export$29f1550f4b0d4415=h;exports.$64fa3d84918910a7$export$4d86445c2cf5e3=S;exports.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8=R;exports.$64fa3d84918910a7$export$c62b8e45d58ddad9=b;exports.$64fa3d84918910a7$export$ef03459518577ad4=v;exports.$64fa3d84918910a7$export$fabf2dc03a41866e=x;exports.$df56164dff5785e2$export$4338b53315abf666=p;
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { a as p, $ as b } from "./mergeProps-C1U1OIeJ.js";
|
|
2
|
+
import x, { useRef as d, useCallback as $, useMemo as i, useContext as C, useState as h } from "react";
|
|
3
|
+
function S(...e) {
|
|
4
|
+
return e.length === 1 && e[0] ? e[0] : (l) => {
|
|
5
|
+
let t = !1;
|
|
6
|
+
const f = e.map((a) => {
|
|
7
|
+
const n = y(a, l);
|
|
8
|
+
return t || (t = typeof n == "function"), n;
|
|
9
|
+
});
|
|
10
|
+
if (t) return () => {
|
|
11
|
+
f.forEach((a, n) => {
|
|
12
|
+
typeof a == "function" ? a() : y(e[n], null);
|
|
13
|
+
});
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function y(e, l) {
|
|
18
|
+
if (typeof e == "function") return e(l);
|
|
19
|
+
e != null && (e.current = l);
|
|
20
|
+
}
|
|
21
|
+
function v(e) {
|
|
22
|
+
const l = d(null), t = d(void 0), f = $((a) => {
|
|
23
|
+
if (typeof e == "function") {
|
|
24
|
+
const n = e, u = n(a);
|
|
25
|
+
return () => {
|
|
26
|
+
typeof u == "function" ? u() : n(null);
|
|
27
|
+
};
|
|
28
|
+
} else if (e)
|
|
29
|
+
return e.current = a, () => {
|
|
30
|
+
e.current = null;
|
|
31
|
+
};
|
|
32
|
+
}, [
|
|
33
|
+
e
|
|
34
|
+
]);
|
|
35
|
+
return i(() => ({
|
|
36
|
+
get current() {
|
|
37
|
+
return l.current;
|
|
38
|
+
},
|
|
39
|
+
set current(a) {
|
|
40
|
+
l.current = a, t.current && (t.current(), t.current = void 0), a != null && (t.current = f(a));
|
|
41
|
+
}
|
|
42
|
+
}), [
|
|
43
|
+
f
|
|
44
|
+
]);
|
|
45
|
+
}
|
|
46
|
+
const R = Symbol("default");
|
|
47
|
+
function j({ values: e, children: l }) {
|
|
48
|
+
for (let [t, f] of e)
|
|
49
|
+
l = /* @__PURE__ */ x.createElement(t.Provider, {
|
|
50
|
+
value: f
|
|
51
|
+
}, l);
|
|
52
|
+
return l;
|
|
53
|
+
}
|
|
54
|
+
function k(e) {
|
|
55
|
+
let { className: l, style: t, children: f, defaultClassName: a, defaultChildren: n, defaultStyle: u, values: o } = e;
|
|
56
|
+
return i(() => {
|
|
57
|
+
let r, c, s;
|
|
58
|
+
return typeof l == "function" ? r = l({
|
|
59
|
+
...o,
|
|
60
|
+
defaultClassName: a
|
|
61
|
+
}) : r = l, typeof t == "function" ? c = t({
|
|
62
|
+
...o,
|
|
63
|
+
defaultStyle: u || {}
|
|
64
|
+
}) : c = t, typeof f == "function" ? s = f({
|
|
65
|
+
...o,
|
|
66
|
+
defaultChildren: n
|
|
67
|
+
}) : f == null ? s = n : s = f, {
|
|
68
|
+
className: r ?? a,
|
|
69
|
+
style: c || u ? {
|
|
70
|
+
...u,
|
|
71
|
+
...c
|
|
72
|
+
} : void 0,
|
|
73
|
+
children: s ?? n,
|
|
74
|
+
"data-rac": ""
|
|
75
|
+
};
|
|
76
|
+
}, [
|
|
77
|
+
l,
|
|
78
|
+
t,
|
|
79
|
+
f,
|
|
80
|
+
a,
|
|
81
|
+
n,
|
|
82
|
+
u,
|
|
83
|
+
o
|
|
84
|
+
]);
|
|
85
|
+
}
|
|
86
|
+
function N(e, l) {
|
|
87
|
+
let t = C(e);
|
|
88
|
+
if (l === null)
|
|
89
|
+
return null;
|
|
90
|
+
if (t && typeof t == "object" && "slots" in t && t.slots) {
|
|
91
|
+
let f = l || R;
|
|
92
|
+
if (!t.slots[f]) {
|
|
93
|
+
let a = new Intl.ListFormat().format(Object.keys(t.slots).map((u) => `"${u}"`)), n = l ? `Invalid slot "${l}".` : "A slot prop is required.";
|
|
94
|
+
throw new Error(`${n} Valid slot names are ${a}.`);
|
|
95
|
+
}
|
|
96
|
+
return t.slots[f];
|
|
97
|
+
}
|
|
98
|
+
return t;
|
|
99
|
+
}
|
|
100
|
+
function w(e, l, t) {
|
|
101
|
+
let f = N(t, e.slot) || {}, { ref: a, ...n } = f, u = v(i(() => S(l, a), [
|
|
102
|
+
l,
|
|
103
|
+
a
|
|
104
|
+
])), o = p(n, e);
|
|
105
|
+
return "style" in n && n.style && "style" in e && e.style && (typeof n.style == "function" || typeof e.style == "function" ? o.style = (r) => {
|
|
106
|
+
let c = typeof n.style == "function" ? n.style(r) : n.style, s = {
|
|
107
|
+
...r.defaultStyle,
|
|
108
|
+
...c
|
|
109
|
+
}, m = typeof e.style == "function" ? e.style({
|
|
110
|
+
...r,
|
|
111
|
+
defaultStyle: s
|
|
112
|
+
}) : e.style;
|
|
113
|
+
return {
|
|
114
|
+
...s,
|
|
115
|
+
...m
|
|
116
|
+
};
|
|
117
|
+
} : o.style = {
|
|
118
|
+
...n.style,
|
|
119
|
+
...e.style
|
|
120
|
+
}), [
|
|
121
|
+
o,
|
|
122
|
+
u
|
|
123
|
+
];
|
|
124
|
+
}
|
|
125
|
+
function I(e = !0) {
|
|
126
|
+
let [l, t] = h(e), f = d(!1), a = $((n) => {
|
|
127
|
+
f.current = !0, t(!!n);
|
|
128
|
+
}, []);
|
|
129
|
+
return b(() => {
|
|
130
|
+
f.current || t(!1);
|
|
131
|
+
}, []), [
|
|
132
|
+
a,
|
|
133
|
+
l
|
|
134
|
+
];
|
|
135
|
+
}
|
|
136
|
+
function M(e) {
|
|
137
|
+
const l = /^(data-.*)$/;
|
|
138
|
+
let t = {};
|
|
139
|
+
for (const f in e) l.test(f) || (t[f] = e[f]);
|
|
140
|
+
return t;
|
|
141
|
+
}
|
|
142
|
+
export {
|
|
143
|
+
w as $,
|
|
144
|
+
k as a,
|
|
145
|
+
N as b,
|
|
146
|
+
I as c,
|
|
147
|
+
M as d,
|
|
148
|
+
j as e,
|
|
149
|
+
v as f,
|
|
150
|
+
R as g,
|
|
151
|
+
S as h
|
|
152
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const s=require("react"),v=require("./mergeProps-B5KXZAI3.cjs"),m=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},E=e=>e&&"window"in e&&e.window===e?e:m(e).defaultView||window;function h(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function T(e){return h(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let g=!1,w=!1;function P(){return g}function u(){return w}function S(e,t){if(!u())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let r=t;for(;r!==null;){if(r===e)return!0;r.tagName==="SLOT"&&r.assignedSlot?r=r.assignedSlot.parentNode:T(r)?r=r.host:r=r.parentNode}return!1}const F=(e=document)=>{var t;if(!u())return e.activeElement;let r=e.activeElement;for(;r&&"shadowRoot"in r&&(!((t=r.shadowRoot)===null||t===void 0)&&t.activeElement);)r=r.shadowRoot.activeElement;return r};function M(e){return u()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function $(e){if(R())e.focus({preventScroll:!0});else{let t=y(e);e.focus(),N(t)}}let b=null;function R(){if(b==null){b=!1;try{document.createElement("div").focus({get preventScroll(){return b=!0,!0}})}catch{}}return b}function y(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}function N(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}function O(){let e=s.useRef(new Map),t=s.useCallback((o,d,c,a)=>{let l=a!=null&&a.once?(...i)=>{e.current.delete(c),c(...i)}:c;e.current.set(c,{type:d,eventTarget:o,fn:l,options:a}),o.addEventListener(d,l,a)},[]),r=s.useCallback((o,d,c,a)=>{var l;let i=((l=e.current.get(c))===null||l===void 0?void 0:l.fn)||c;o.removeEventListener(d,i,a),e.current.delete(c)},[]),n=s.useCallback(()=>{e.current.forEach((o,d)=>{r(o.eventTarget,o.type,d,o.options)})},[r]);return s.useEffect(()=>n,[n]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:n}}const p=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])'],A=p.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";p.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const C=p.join(':not([hidden]):not([tabindex="-1"]),');function x(e){return e.matches(A)}function H(e){return e.matches(C)}function L(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function _(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function B(e){let t=s.useRef({isFocused:!1,observer:null});v.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{const n=t.current;return()=>{n.observer&&(n.observer.disconnect(),n.observer=null)}},[]);let r=v.$8ae05eaa5c114e9c$export$7f54fc3180508a52(n=>{e==null||e(n)});return s.useCallback(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let o=n.target,d=c=>{if(t.current.isFocused=!1,o.disabled){let a=L(c);r(a)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};o.addEventListener("focusout",d,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&o.disabled){var c;(c=t.current.observer)===null||c===void 0||c.disconnect();let a=o===document.activeElement?null:document.activeElement;o.dispatchEvent(new FocusEvent("blur",{relatedTarget:a})),o.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:a}))}}),t.current.observer.observe(o,{attributes:!0,attributeFilter:["disabled"]})}},[r])}exports.$8a9cb279dc87e130$export$fda7da73ab5d4c48=!1;function G(e){for(;e&&!x(e);)e=e.parentElement;let t=E(e),r=t.document.activeElement;if(!r||r===e)return;exports.$8a9cb279dc87e130$export$fda7da73ab5d4c48=!0;let n=!1,o=f=>{(f.target===r||n)&&f.stopImmediatePropagation()},d=f=>{(f.target===r||n)&&(f.stopImmediatePropagation(),!e&&!n&&(n=!0,$(r),l()))},c=f=>{(f.target===e||n)&&f.stopImmediatePropagation()},a=f=>{(f.target===e||n)&&(f.stopImmediatePropagation(),n||(n=!0,$(r),l()))};t.addEventListener("blur",o,!0),t.addEventListener("focusout",d,!0),t.addEventListener("focusin",a,!0),t.addEventListener("focus",c,!0);let l=()=>{cancelAnimationFrame(i),t.removeEventListener("blur",o,!0),t.removeEventListener("focusout",d,!0),t.removeEventListener("focusin",a,!0),t.removeEventListener("focus",c,!0),exports.$8a9cb279dc87e130$export$fda7da73ab5d4c48=!1,n=!1},i=requestAnimationFrame(l);return l}exports.$03deb23ff14920c4$export$4eaf04e54aa8eed6=O;exports.$431fbd86ca7dc216$export$b204af158042fbac=m;exports.$431fbd86ca7dc216$export$f21a1ffae260145a=E;exports.$7215afc6de606d6b$export$de79e2c695e052f3=$;exports.$8a9cb279dc87e130$export$525bc4921d56d4a=L;exports.$8a9cb279dc87e130$export$715c682d09d639cc=B;exports.$8a9cb279dc87e130$export$c2b7abe5d61ec696=_;exports.$8a9cb279dc87e130$export$cabe61c495ee3649=G;exports.$b4b717babfbb907b$export$4c063cf1350e6fed=x;exports.$b4b717babfbb907b$export$bebd5a1431fec25d=H;exports.$d4ee10de306f2510$export$4282f70798064fe0=S;exports.$d4ee10de306f2510$export$cd4e5573fbe2b576=F;exports.$d4ee10de306f2510$export$e58f029f0fbfdb29=M;exports.$f4e2df6bd15f8569$export$1b00cb14a96194e6=P;exports.$f4e2df6bd15f8569$export$98658e8c59125e6a=u;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/AccordionItem.css');const f=require("react/jsx-runtime"),p=require("./clsx-C11secjj.cjs"),m=require("./Button-DnhqHU01.cjs"),l=require("./utils-BNtZbAib.cjs"),g=require("./filterDOMProps-BS2lrgFA.cjs"),a=require("react"),E=require("./useControlledState-D0L6S_5r.cjs"),q=require("react-dom"),S=require("./useEvent-CjkbBniY.cjs"),y=require("./useFocusRing-CbImDrwF.cjs"),M=require("./Button-iSiWjocA.cjs"),N=require("./Heading-DoJAtYZf.cjs"),A=require("./chevron-down-C2E7aZ3N.cjs"),K=require("./triangle-alert-C0lvfCYH.cjs"),B=require("./check-Dw9c62O4.cjs"),j="_root_1t40y_4",F="_contained_1t40y_13",T="_item_1t40y_22",k="_success_1t40y_23",V="_warning_1t40y_30",W="_uncontained_1t40y_43",O="_content_1t40y_44",z="_triggerButton_1t40y_52",G="_trigger_1t40y_52",H="_triggerMainContent_1t40y_77",J="_triggerText_1t40y_81",L="_chevronIcon_1t40y_95",Q="_statusIcon_1t40y_101",U="_panel_1t40y_119",X="_hasBackground_1t40y_136",r={root:j,contained:F,item:T,success:k,warning:V,uncontained:W,content:O,triggerButton:z,trigger:G,triggerMainContent:H,triggerText:J,chevronIcon:L,statusIcon:Q,panel:U,hasBackground:X};function Y(d,e,n){let{isDisabled:t}=d,s=l.$bdb11010cef70236$export$f680877a34711e37(),c=l.$bdb11010cef70236$export$f680877a34711e37(),u=!l.$b5e257d569688ac6$export$535bd6ca7f90a273()&&"onbeforematch"in document.body,o=a.useRef(null),$=a.useCallback(()=>{o.current=requestAnimationFrame(()=>{n.current&&n.current.setAttribute("hidden","until-found")}),q.flushSync(()=>{e.toggle()})},[n,e]);return S.$e9faafb641e167db$export$90fc3a17d93f704c(n,"beforematch",u?$:null),l.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{o.current&&cancelAnimationFrame(o.current),u&&n.current&&!t&&(e.isExpanded?n.current.removeAttribute("hidden"):n.current.setAttribute("hidden","until-found"))},[t,n,e.isExpanded,u]),a.useEffect(()=>()=>{o.current&&cancelAnimationFrame(o.current)},[]),{buttonProps:{id:s,"aria-expanded":e.isExpanded,"aria-controls":c,onPress:x=>{!t&&x.pointerType!=="keyboard"&&e.toggle()},isDisabled:t,onPressStart(x){x.pointerType==="keyboard"&&!t&&e.toggle()}},panelProps:{id:c,role:"group","aria-labelledby":s,"aria-hidden":!e.isExpanded,hidden:u?!0:!e.isExpanded}}}function Z(d){let[e,n]=E.$458b0a5536c1a7cf$export$40bfa8c7b0832715(d.isExpanded,d.defaultExpanded||!1,d.onExpandedChange);const t=a.useCallback(()=>{n(!0)},[n]),s=a.useCallback(()=>{n(!1)},[n]),c=a.useCallback(()=>{n(!e)},[n,e]);return{isExpanded:e,setExpanded:n,expand:t,collapse:s,toggle:c}}function ee(d){let{allowsMultipleExpanded:e=!1,isDisabled:n=!1}=d,[t,s]=E.$458b0a5536c1a7cf$export$40bfa8c7b0832715(a.useMemo(()=>d.expandedKeys?new Set(d.expandedKeys):void 0,[d.expandedKeys]),a.useMemo(()=>d.defaultExpandedKeys?new Set(d.defaultExpandedKeys):new Set,[d.defaultExpandedKeys]),d.onExpandedChange);return a.useEffect(()=>{if(!e&&t.size>1){let c=t.values().next().value;c!=null&&s(new Set([c]))}}),{allowsMultipleExpanded:e,isDisabled:n,expandedKeys:t,setExpandedKeys:s,toggleKey(c){let i;e?(i=new Set(t),i.has(c)?i.delete(c):i.add(c)):i=new Set(t.has(c)?[]:[c]),s(i)}}}const v=a.createContext(null),te=a.forwardRef(function(e,n){let t=ee(e),s=l.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-DisclosureGroup",values:{isDisabled:t.isDisabled,state:t}}),c=g.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e);return a.createElement("div",{...c,...s,ref:n,"data-disabled":e.isDisabled||void 0},a.createElement(v.Provider,{value:t},s.children))}),ne=a.createContext(null),ae=a.createContext(null),C=a.createContext(null),de=a.forwardRef(function(e,n){[e,n]=l.$64fa3d84918910a7$export$29f1550f4b0d4415(e,n,ne);let t=a.useContext(v),{id:s,...c}=e,i=l.$bdb11010cef70236$export$f680877a34711e37();s||(s=i);let u=t?t.expandedKeys.has(s):e.isExpanded,o=Z({...e,isExpanded:u,onExpandedChange(R){var b;t&&t.toggleKey(s),(b=e.onExpandedChange)===null||b===void 0||b.call(e,R)}}),$=a.useRef(null),x=e.isDisabled||(t==null?void 0:t.isDisabled)||!1,{buttonProps:D,panelProps:P}=Y({...e,isExpanded:u,isDisabled:x},o,$),{isFocusVisible:h,focusProps:w}=y.$f7dceffc5ad7768b$export$4e328f61c538687f({within:!0}),_=l.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,id:void 0,defaultClassName:"react-aria-Disclosure",values:{isExpanded:o.isExpanded,isDisabled:x,isFocusVisibleWithin:h,state:o}}),I=g.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(c);return a.createElement(l.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[m.$d2b4bc8c273e7be6$export$24d547caef80ccd1,{slots:{[l.$64fa3d84918910a7$export$c62b8e45d58ddad9]:{},trigger:D}}],[C,{panelProps:P,panelRef:$}],[ae,o]]},a.createElement("div",{ref:n,"data-expanded":o.isExpanded||void 0,"data-disabled":x||void 0,"data-focus-visible-within":h||void 0,...I,...w,..._},_.children))}),se=a.forwardRef(function(e,n){let{role:t="group"}=e,{panelProps:s,panelRef:c}=a.useContext(C),{isFocusVisible:i,focusProps:u}=y.$f7dceffc5ad7768b$export$4e328f61c538687f({within:!0}),o=l.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-DisclosurePanel",values:{isFocusVisibleWithin:i}}),$=g.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e);return a.createElement("div",{...$,ref:l.$5dc95899b306f630$export$c9058316764c140e(n,c),...l.$3ef42575df84b30b$export$9d1611c77c2fe928(s,u),...o,role:t,"data-focus-visible-within":i||void 0},a.createElement(l.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[m.$d2b4bc8c273e7be6$export$24d547caef80ccd1,null]]},e.children))}),ce="accordion",re=({variant:d="uncontained",children:e,className:n,...t})=>f.jsx(te,{"data-testid":ce,className:p.clsx(r.root,d==="contained"?r.contained:r.uncontained,n),...t,children:e}),ie=({title:d,children:e,className:n,headingLevel:t="h2",type:s,hasBackground:c=!0,...i})=>{const u=typeof d=="object",$={success:B.Check,warning:K.TriangleAlert,default:null}[s||"default"],x=$?f.jsx($,{size:20,className:r.statusIcon}):null;return f.jsxs(de,{...i,className:p.clsx(r.item,s==="success"&&r.success,s==="warning"&&r.warning,n),children:[f.jsx("div",{className:r.trigger,children:f.jsxs(M.Button,{className:r.triggerButton,slot:"trigger",variant:"icon",children:[f.jsx(A.ChevronDown,{size:20,className:r.chevronIcon}),f.jsx("div",{className:r.triggerMainContent,children:u?d:f.jsx(N.Heading,{level:3,elementType:t,className:r.triggerText,children:d})}),x]})}),f.jsx(se,{className:r.panel,children:f.jsx("div",{className:p.clsx(r.content,c&&r.hasBackground),children:e})})]})};exports.Accordion=re;exports.AccordionItem=ie;
|
package/Breadcrumbs-Cx09jwZZ.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/Breadcrumbs.css');const o=require("react/jsx-runtime"),s=require("./Collection-Csx3L9gh.cjs"),$=require("./utils-BNtZbAib.cjs"),Z=require("./Link-SHMbeyIP.cjs"),l=require("./filterDOMProps-BS2lrgFA.cjs"),a=require("react"),Q=require("./useLocalizedStringFormatter-u9SJaOwk.cjs"),X=require("./Link-DsnCtNeI.cjs");var f={};f={breadcrumbs:"عناصر الواجهة"};var m={};m={breadcrumbs:"Трохи хляб"};var x={};x={breadcrumbs:"Popis cesty"};var p={};p={breadcrumbs:"Brødkrummer"};var v={};v={breadcrumbs:"Breadcrumbs"};var D={};D={breadcrumbs:"Πλοηγήσεις breadcrumb"};var C={};C={breadcrumbs:"Breadcrumbs"};var B={};B={breadcrumbs:"Migas de pan"};var E={};E={breadcrumbs:"Lingiread"};var k={};k={breadcrumbs:"Navigointilinkit"};var h={};h={breadcrumbs:"Chemin de navigation"};var P={};P={breadcrumbs:"שבילי ניווט"};var g={};g={breadcrumbs:"Navigacijski putovi"};var L={};L={breadcrumbs:"Morzsamenü"};var N={};N={breadcrumbs:"Breadcrumb"};var R={};R={breadcrumbs:"パンくずリスト"};var A={};A={breadcrumbs:"탐색 표시"};var j={};j={breadcrumbs:"Naršymo kelias"};var F={};F={breadcrumbs:"Atpakaļceļi"};var S={};S={breadcrumbs:"Navigasjonsstier"};var y={};y={breadcrumbs:"Broodkruimels"};var q={};q={breadcrumbs:"Struktura nawigacyjna"};var _={};_={breadcrumbs:"Caminho detalhado"};var z={};z={breadcrumbs:"Categorias"};var M={};M={breadcrumbs:"Miez de pâine"};var T={};T={breadcrumbs:"Навигация"};var I={};I={breadcrumbs:"Navigačné prvky Breadcrumbs"};var K={};K={breadcrumbs:"Drobtine"};var U={};U={breadcrumbs:"Putanje navigacije"};var w={};w={breadcrumbs:"Sökvägar"};var O={};O={breadcrumbs:"İçerik haritaları"};var G={};G={breadcrumbs:"Навігаційна стежка"};var H={};H={breadcrumbs:"导航栏"};var J={};J={breadcrumbs:"導覽列"};var V={};V={"ar-AE":f,"bg-BG":m,"cs-CZ":x,"da-DK":p,"de-DE":v,"el-GR":D,"en-US":C,"es-ES":B,"et-EE":E,"fi-FI":k,"fr-FR":h,"he-IL":P,"hr-HR":g,"hu-HU":L,"it-IT":N,"ja-JP":R,"ko-KR":A,"lt-LT":j,"lv-LV":F,"nb-NO":S,"nl-NL":y,"pl-PL":q,"pt-BR":_,"pt-PT":z,"ro-RO":M,"ru-RU":T,"sk-SK":I,"sl-SI":K,"sr-SP":U,"sv-SE":w,"tr-TR":O,"uk-UA":G,"zh-CN":H,"zh-TW":J};function Y(r){return r&&r.__esModule?r.default:r}function ee(r){let{"aria-label":e,...u}=r,c=Q.$fca6afa0e843324b$export$f12b703ca79dfbb1(Y(V),"@react-aria/breadcrumbs");return{navProps:{...l.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(u,{labelable:!0}),"aria-label":e||c.format("breadcrumbs")}}}const n=a.createContext(null),re=a.forwardRef(function(e,u){[e,u]=$.$64fa3d84918910a7$export$29f1550f4b0d4415(e,u,n);let{CollectionRoot:c}=a.useContext(s.$7135fc7d473fd974$export$4feb769f8ddf26c5),{navProps:t}=ee(e);return a.createElement(s.$e1995378a142960e$export$bf788dd355e3a401,{content:a.createElement(s.$e1995378a142960e$export$fb8073518f34e6ec,e)},b=>{var d;return a.createElement("ol",{ref:u,...t,slot:e.slot||void 0,style:e.style,className:(d=e.className)!==null&&d!==void 0?d:"react-aria-Breadcrumbs"},a.createElement(n.Provider,{value:e},a.createElement(c,{collection:b})))})}),ae=s.$e1995378a142960e$export$18af5c7a9e9b3664("item",function(e,u,c){let t=c.nextKey==null,{isDisabled:b,onAction:d}=$.$64fa3d84918910a7$export$fabf2dc03a41866e(n),W={"aria-current":t?"page":null,isDisabled:b||t,onPress:()=>d==null?void 0:d(c.key)},i=$.$64fa3d84918910a7$export$4d86445c2cf5e3({...c.props,children:c.rendered,values:{isDisabled:b||t,isCurrent:t},defaultClassName:"react-aria-Breadcrumb"});return a.createElement("li",{...l.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e),...i,ref:u,"data-disabled":b||t||void 0,"data-current":t||void 0},a.createElement(Z.$4f118338184dc1d9$export$e2509388b49734e7.Provider,{value:W},i.children))}),ue="_container_1fsfi_4",ce={container:ue},te=({items:r})=>o.jsx(re,{className:ce.container,children:r.map((e,u)=>o.jsx(ae,{children:o.jsx(X.Link,{href:e.href,isDisabled:e.isDisabled,children:e.title})},e.title.toLocaleLowerCase()+u))});exports.Breadcrumbs=te;
|
package/Button-DnhqHU01.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const s=require("./utils-BNtZbAib.cjs"),D=require("./ProgressBar-Bkw9zavs.cjs"),g=require("./LiveAnnouncer-CwEWPU8b.cjs"),F=require("./Hidden-BxRZGdEW.cjs"),H=require("./filterDOMProps-BS2lrgFA.cjs"),r=require("react"),B=require("./useButton-B1Fa-6qE.cjs"),E=require("./useFocusRing-CbImDrwF.cjs"),V=require("./useHover-_mv5J4_q.cjs"),C=new Set(["form","formAction","formEncType","formMethod","formNoValidate","formTarget","name","value"]),m=r.createContext({}),w=F.$f39a9eba43920ace$export$86427a43e3e48ebb(function(e,c){[e,c]=s.$64fa3d84918910a7$export$29f1550f4b0d4415(e,c,m),e=A(e);let u=e,{isPending:d}=u,{buttonProps:t,isPressed:y}=B.$701a24aa0da5b062$export$ea18c227d4417cc3(e,c),{focusProps:q,isFocused:n,isFocusVisible:$}=E.$f7dceffc5ad7768b$export$4e328f61c538687f(e),{hoverProps:h,isHovered:l}=V.$6179b936705e76d3$export$ae780daf29e6d456({...e,isDisabled:e.isDisabled||d}),P={isHovered:l,isPressed:(u.isPressed||y)&&!d,isFocused:n,isFocusVisible:$,isDisabled:e.isDisabled||!1,isPending:d??!1},x=s.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:P,defaultClassName:"react-aria-Button"}),o=s.$bdb11010cef70236$export$f680877a34711e37(t.id),b=s.$bdb11010cef70236$export$f680877a34711e37(),a=t["aria-labelledby"];d&&(a?a=`${a} ${b}`:t["aria-label"]&&(a=`${o} ${b}`));let f=r.useRef(d);return r.useEffect(()=>{let v={"aria-labelledby":a||o};(!f.current&&n&&d||f.current&&n&&!d)&&g.$319e236875307eab$export$a9b970dcc4ae71a9(v,"assertive"),f.current=d},[d,n,a,o]),r.createElement("button",{...H.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{propNames:C}),...s.$3ef42575df84b30b$export$9d1611c77c2fe928(t,q,h),...x,type:t.type==="submit"&&d?"button":t.type,id:o,ref:c,"aria-labelledby":a,slot:e.slot||void 0,"aria-disabled":d?"true":t["aria-disabled"],"data-disabled":e.isDisabled||void 0,"data-pressed":P.isPressed||void 0,"data-hovered":l||void 0,"data-focused":n||void 0,"data-pending":d||void 0,"data-focus-visible":$||void 0},r.createElement(D.$0393f8ab869a0f1a$export$e9f3bf65a26ce129.Provider,{value:{id:b}},x.children))});function A(i){return i.isPending&&(i.onPress=void 0,i.onPressStart=void 0,i.onPressEnd=void 0,i.onPressChange=void 0,i.onPressUp=void 0,i.onKeyDown=void 0,i.onKeyUp=void 0,i.onClick=void 0,i.href=void 0),i}exports.$d2b4bc8c273e7be6$export$24d547caef80ccd1=m;exports.$d2b4bc8c273e7be6$export$353f5b6fc5456de1=w;
|
package/Button-ZOQy9Ivu.js
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { a as D, b as F, c as P, d as E } from "./utils-HNTsIwux.js";
|
|
2
|
-
import { $ as V } from "./ProgressBar-CEX2WNoW.js";
|
|
3
|
-
import { $ as v } from "./LiveAnnouncer-B6177m92.js";
|
|
4
|
-
import { $ as C } from "./Hidden-B5ir3Lei.js";
|
|
5
|
-
import { $ as H } from "./filterDOMProps-D6KHYVBX.js";
|
|
6
|
-
import x, { createContext as w, useRef as B, useEffect as N } from "react";
|
|
7
|
-
import { $ as S } from "./useButton-C-Lq7CNY.js";
|
|
8
|
-
import { $ as T } from "./useFocusRing-BDGH3lpn.js";
|
|
9
|
-
import { $ as A } from "./useHover-qRAon4nS.js";
|
|
10
|
-
const I = /* @__PURE__ */ new Set([
|
|
11
|
-
"form",
|
|
12
|
-
"formAction",
|
|
13
|
-
"formEncType",
|
|
14
|
-
"formMethod",
|
|
15
|
-
"formNoValidate",
|
|
16
|
-
"formTarget",
|
|
17
|
-
"name",
|
|
18
|
-
"value"
|
|
19
|
-
]), K = /* @__PURE__ */ w({}), J = /* @__PURE__ */ C(function(e, n) {
|
|
20
|
-
[e, n] = D(e, n, K), e = L(e);
|
|
21
|
-
let b = e, { isPending: d } = b, { buttonProps: i, isPressed: g } = S(e, n), { focusProps: y, isFocused: s, isFocusVisible: c } = T(e), { hoverProps: h, isHovered: l } = A({
|
|
22
|
-
...e,
|
|
23
|
-
isDisabled: e.isDisabled || d
|
|
24
|
-
}), $ = {
|
|
25
|
-
isHovered: l,
|
|
26
|
-
isPressed: (b.isPressed || g) && !d,
|
|
27
|
-
isFocused: s,
|
|
28
|
-
isFocusVisible: c,
|
|
29
|
-
isDisabled: e.isDisabled || !1,
|
|
30
|
-
isPending: d ?? !1
|
|
31
|
-
}, u = F({
|
|
32
|
-
...e,
|
|
33
|
-
values: $,
|
|
34
|
-
defaultClassName: "react-aria-Button"
|
|
35
|
-
}), r = P(i.id), f = P(), t = i["aria-labelledby"];
|
|
36
|
-
d && (t ? t = `${t} ${f}` : i["aria-label"] && (t = `${r} ${f}`));
|
|
37
|
-
let o = B(d);
|
|
38
|
-
return N(() => {
|
|
39
|
-
let m = {
|
|
40
|
-
"aria-labelledby": t || r
|
|
41
|
-
};
|
|
42
|
-
!o.current && s && d ? v(m, "assertive") : o.current && s && !d && v(m, "assertive"), o.current = d;
|
|
43
|
-
}, [
|
|
44
|
-
d,
|
|
45
|
-
s,
|
|
46
|
-
t,
|
|
47
|
-
r
|
|
48
|
-
]), /* @__PURE__ */ x.createElement("button", {
|
|
49
|
-
...H(e, {
|
|
50
|
-
propNames: I
|
|
51
|
-
}),
|
|
52
|
-
...E(i, y, h),
|
|
53
|
-
...u,
|
|
54
|
-
type: i.type === "submit" && d ? "button" : i.type,
|
|
55
|
-
id: r,
|
|
56
|
-
ref: n,
|
|
57
|
-
"aria-labelledby": t,
|
|
58
|
-
slot: e.slot || void 0,
|
|
59
|
-
"aria-disabled": d ? "true" : i["aria-disabled"],
|
|
60
|
-
"data-disabled": e.isDisabled || void 0,
|
|
61
|
-
"data-pressed": $.isPressed || void 0,
|
|
62
|
-
"data-hovered": l || void 0,
|
|
63
|
-
"data-focused": s || void 0,
|
|
64
|
-
"data-pending": d || void 0,
|
|
65
|
-
"data-focus-visible": c || void 0
|
|
66
|
-
}, /* @__PURE__ */ x.createElement(V.Provider, {
|
|
67
|
-
value: {
|
|
68
|
-
id: f
|
|
69
|
-
}
|
|
70
|
-
}, u.children));
|
|
71
|
-
});
|
|
72
|
-
function L(a) {
|
|
73
|
-
return a.isPending && (a.onPress = void 0, a.onPressStart = void 0, a.onPressEnd = void 0, a.onPressChange = void 0, a.onPressUp = void 0, a.onKeyDown = void 0, a.onKeyUp = void 0, a.onClick = void 0, a.href = void 0), a;
|
|
74
|
-
}
|
|
75
|
-
export {
|
|
76
|
-
J as $,
|
|
77
|
-
K as a
|
|
78
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import './assets/Button.css';const t = "_button_1rwlo_4", o = "_secondary_1rwlo_49", n = "_tertiary_1rwlo_72", r = "_iconBtn_1rwlo_93", _ = "_danger_1rwlo_114", i = "_iconRight_1rwlo_136", c = "_fullwidth_1rwlo_140", l = "_medium_1rwlo_144", s = "_primary_1rwlo_150", e = {
|
|
2
|
-
button: t,
|
|
3
|
-
secondary: o,
|
|
4
|
-
tertiary: n,
|
|
5
|
-
iconBtn: r,
|
|
6
|
-
danger: _,
|
|
7
|
-
iconRight: i,
|
|
8
|
-
fullwidth: c,
|
|
9
|
-
medium: l,
|
|
10
|
-
primary: s
|
|
11
|
-
};
|
|
12
|
-
export {
|
|
13
|
-
e as B
|
|
14
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/Button.css');const t="_button_1rwlo_4",o="_secondary_1rwlo_49",n="_tertiary_1rwlo_72",r="_iconBtn_1rwlo_93",_="_danger_1rwlo_114",i="_iconRight_1rwlo_136",c="_fullwidth_1rwlo_140",l="_medium_1rwlo_144",s="_primary_1rwlo_150",e={button:t,secondary:o,tertiary:n,iconBtn:r,danger:_,iconRight:i,fullwidth:c,medium:l,primary:s};exports.ButtonStyles=e;
|
package/Card-C0BFW3wJ.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/Card.css');const a=require("react/jsx-runtime"),o=require("./clsx-C11secjj.cjs"),l=require("react"),u=require("./Heading-DoJAtYZf.cjs"),C=require("./Button-DnhqHU01.cjs"),x=require("./Link-SHMbeyIP.cjs"),_=require("./arrow-right-Cw48o2oW.cjs");function h(e){const c=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(c,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return c.default=e,Object.freeze(c)}const s=h(l),m="_card_1hl11_4",A="_horizontal_1hl11_10",g="_cardLink_1hl11_15",I="_cardContent_1hl11_20",b="_cardActions_1hl11_39",j="_cardActionArea_1hl11_49",f="_cardImage_1hl11_82",k="_cardLinkIcon_1hl11_114",r={card:m,horizontal:A,cardLink:g,cardContent:I,cardActions:b,cardActionArea:j,cardImage:f,cardLinkIcon:k},i=s.createContext({horizontal:void 0,titleId:void 0}),z=({horizontal:e,className:c,children:t,...n})=>{const d=`card-title-${s.useId()}`;return a.jsx(i.Provider,{value:{horizontal:e,titleId:d},children:a.jsx("div",{...n,className:o.clsx(r.card,e&&r.horizontal,c),children:t})})},L=({children:e,...c})=>{const{horizontal:t}=s.useContext(i);return a.jsx("div",{...c,className:o.clsx(r.cardContent,t&&r.horizontal),children:e})},$=({elementType:e="h2",children:c})=>{const{horizontal:t,titleId:n}=s.useContext(i);return a.jsx(u.Heading,{level:t?5:3,elementType:e,isExpressive:t,className:o.clsx(r.cardTitle,t&&r.horizontal),id:n,children:c})},p=({children:e,...c})=>{const{horizontal:t}=s.useContext(i);return a.jsx("div",{...c,className:o.clsx(r.cardActions,t&&r.horizontal),children:e})},v=({children:e,className:c,...t})=>{const{titleId:n}=s.useContext(i);return a.jsx(C.$d2b4bc8c273e7be6$export$353f5b6fc5456de1,{...t,"aria-labelledby":n,className:o.clsx(r.cardActionArea,c),children:e})},N=({as:e="img",className:c,...t})=>a.jsx(e,{...t,className:o.clsx(r.cardImage,c)}),q=({children:e,as:c,...t})=>{const n=c||x.$4f118338184dc1d9$export$a6c7ac8248d6e38a;return a.jsxs(n,{...t,className:o.clsx(r.cardLink,t.className),children:[e,a.jsx(_.ArrowRight,{className:r.cardLinkIcon,size:24})]})};exports.Card=z;exports.CardActionArea=v;exports.CardActions=p;exports.CardContent=L;exports.CardImage=N;exports.CardLink=q;exports.CardTitle=$;
|