@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
package/assets/Spinner.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._container_3nw95_4{display:inline-flex}._spinner_3nw95_8{color:light-dark(#171717,#f2f2f2);animation:_rotating_3nw95_1 1s linear infinite;stroke-linecap:square}@media (prefers-reduced-motion){._spinner_3nw95_8{animation-duration:2s}}._dark_3nw95_18{color:light-dark(#ffffff,#ffffff)}@keyframes _rotating_3nw95_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._container_iuog5_4{font-family:Inter,sans-serif}._list_iuog5_8{border-bottom:1px solid light-dark(#bfbfbf,#383838);display:flex;flex-flow:row wrap}._listItem_iuog5_14{border-bottom:.125rem solid light-dark(#bfbfbf,#383838);box-sizing:border-box;color:light-dark(#171717,#f2f2f2);height:2.5rem;padding:.625rem 1rem}._listItem_iuog5_14[data-disabled]{border-color:light-dark(#bfbfbf,#525252);color:light-dark(#bfbfbf,#525252)}._listItem_iuog5_14[data-selected]{font-weight:500;border-color:light-dark(#143c50,#2e7ca5)}._listItem_iuog5_14[data-selected][data-hovered]{border-color:light-dark(#143c50,#2e7ca5)}._listItem_iuog5_14[data-hovered]{border-color:light-dark(#737373,#8c8c8c);cursor:pointer}._listItem_iuog5_14[data-focus-visible]{outline:none;box-shadow:0 0 0 2px light-dark(white,black),0 0 0 4px light-dark(black,white)}@media (max-width: 479px){._listItem_iuog5_14{border-bottom:0;flex:0 0 100%}._listItem_iuog5_14[data-selected]{border-left:.125rem solid light-dark(#143c50,#2e7ca5);padding-left:.875rem}}._panel_iuog5_56{margin-top:1rem;color:light-dark(#171717,#f2f2f2)}._panel_iuog5_56[data-focus-visible]{outline:none;box-shadow:0 0 0 2px light-dark(white,black),0 0 0 4px light-dark(black,white)}
|
package/badge/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../BadgeContainer-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../BadgeContainer-I1XA3OCl.cjs");exports.Badge=e.Badge;exports.BadgeContainer=e.BadgeContainer;
|
package/badge/index.js
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}[];
|
|
1
|
+
import { BreadcrumbsProps as AriaBreadcrumbsProps } from 'react-aria-components';
|
|
2
|
+
export interface BreadcrumbItem {
|
|
3
|
+
href: string;
|
|
4
|
+
title: string;
|
|
5
|
+
isDisabled?: boolean;
|
|
7
6
|
}
|
|
8
|
-
export
|
|
7
|
+
export interface BreadcrumbsProps<T extends BreadcrumbItem> extends AriaBreadcrumbsProps<T> {
|
|
8
|
+
items: T[];
|
|
9
|
+
}
|
|
10
|
+
export declare const Breadcrumbs: <T extends BreadcrumbItem>({ items, className, ...rest }: BreadcrumbsProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
/** @deprecated since v10.3.0 please use `BreadcrumbsProps` instead */
|
|
12
|
+
export type BreadcrumbProps<T extends BreadcrumbItem> = BreadcrumbsProps<T>;
|
package/breadcrumbs/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Breadcrumbs-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Breadcrumbs-CfW5IuyE.cjs");exports.Breadcrumbs=e.Breadcrumbs;
|
package/breadcrumbs/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './Breadcrumbs';
|
package/breadcrumbs/index.js
CHANGED
package/button/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../Button-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../Button-BXY5ZhqI.cjs"),o=require("../ButtonGroup-DUqW5dzM.cjs");exports.Button=t.Button;exports.ButtonGroup=o.ButtonGroup;
|
package/button/index.js
CHANGED
|
@@ -2,5 +2,6 @@ import { CalendarGridProps as AriaCalendarGridProps } from 'react-aria-component
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
export interface CalendarGridProps {
|
|
4
4
|
weekdayStyle?: AriaCalendarGridProps['weekdayStyle'];
|
|
5
|
+
isRange?: boolean;
|
|
5
6
|
}
|
|
6
7
|
export declare const CalendarGrid: React.FC<CalendarGridProps>;
|
package/calendar/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../RangeCalendar-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../RangeCalendar-C1LFeOVk.cjs");exports.Calendar=e.Calendar;exports.RangeCalendar=e.RangeCalendar;
|
package/calendar/index.js
CHANGED
package/card/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../Card-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../Card-Cc1TNPcQ.cjs");exports.Card=r.Card;exports.CardActionArea=r.CardActionArea;exports.CardActions=r.CardActions;exports.CardContent=r.CardContent;exports.CardImage=r.CardImage;exports.CardLink=r.CardLink;exports.CardTitle=r.CardTitle;
|
package/card/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../CharacterCounter-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../CharacterCounter-DSFBv3Rw.cjs");exports.CharacterCounter=e.CharacterCounter;
|
package/checkbox/Checkbox.d.ts
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const Checkbox: (
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const Checkbox: React.ForwardRefExoticComponent<import('react-aria').AriaCheckboxProps & import('react-aria-components').SlotProps & {
|
|
3
|
+
className?: string;
|
|
4
|
+
} & React.RefAttributes<HTMLLabelElement>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
description?: string;
|
|
1
|
+
import { AriaCheckboxGroupProps } from 'react-aria';
|
|
2
|
+
import { InfoPopoverProps } from '../label';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export interface CheckboxGroupProps extends AriaCheckboxGroupProps {
|
|
5
|
+
children: React.ReactNode;
|
|
7
6
|
showSelectAll?: boolean;
|
|
8
|
-
|
|
7
|
+
selectAllLabel?: string;
|
|
9
8
|
errorPosition?: 'top' | 'bottom';
|
|
9
|
+
popover?: InfoPopoverProps;
|
|
10
10
|
}
|
|
11
|
-
export declare
|
|
11
|
+
export declare function CheckboxGroup(props: CheckboxGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CheckboxGroupState } from 'react-stately';
|
|
2
|
+
import { CheckboxGroupProps } from './CheckboxGroup';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
interface CheckboxGroupFieldErrorProps extends CheckboxGroupProps {
|
|
5
|
+
state: CheckboxGroupState;
|
|
6
|
+
}
|
|
7
|
+
export declare const CheckboxGroupFieldError: React.FC<CheckboxGroupFieldErrorProps>;
|
|
8
|
+
export {};
|
package/checkbox/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Checkbox-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Checkbox-Co3h0hur.cjs"),o=require("../CheckboxGroup-DmUOM0xl.cjs");exports.Checkbox=e.Checkbox;exports.CheckboxGroup=o.CheckboxGroup;
|
package/checkbox/index.d.ts
CHANGED
package/checkbox/index.js
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AriaCheckboxProps, CheckboxAria, FocusRingAria, HoverResult, PressResult } from 'react-aria';
|
|
2
|
+
import { SlotProps } from 'react-aria-components';
|
|
3
|
+
import { CheckboxGroupState } from 'react-stately';
|
|
4
|
+
export type CheckboxProps = AriaCheckboxProps & SlotProps & {
|
|
5
|
+
className?: string;
|
|
6
|
+
};
|
|
7
|
+
export interface CheckboxComponentProps extends CheckboxProps {
|
|
8
|
+
focusRingAria: FocusRingAria;
|
|
9
|
+
pressResult: PressResult;
|
|
10
|
+
hoverResult: HoverResult;
|
|
11
|
+
inputRef: React.RefObject<HTMLInputElement>;
|
|
12
|
+
}
|
|
13
|
+
export interface CheckboxGroupItemProps extends CheckboxComponentProps {
|
|
14
|
+
state: CheckboxGroupState;
|
|
15
|
+
}
|
|
16
|
+
export type CheckboxInnerProps = CheckboxComponentProps & CheckboxAria;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CheckboxGroupState } from 'react-stately';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export declare const useSelectAll: (children: React.ReactNode, { value: selectedItems }: CheckboxGroupState) => {
|
|
4
|
+
allSelected: boolean;
|
|
5
|
+
someSelected: boolean;
|
|
6
|
+
checkboxValues: string[];
|
|
7
|
+
};
|
|
@@ -5,7 +5,7 @@ import { c as e } from "./createLucideIcon-DeWljiyi.js";
|
|
|
5
5
|
* This source code is licensed under the ISC license.
|
|
6
6
|
* See the LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
|
-
const
|
|
8
|
+
const r = e("CircleAlert", [
|
|
9
9
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
10
10
|
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
11
11
|
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
@@ -16,23 +16,11 @@ const y = e("CircleAlert", [
|
|
|
16
16
|
* This source code is licensed under the ISC license.
|
|
17
17
|
* See the LICENSE file in the root directory of this source tree.
|
|
18
18
|
*/
|
|
19
|
-
const
|
|
19
|
+
const y = e("CircleCheck", [
|
|
20
20
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
21
21
|
["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
|
|
22
22
|
]);
|
|
23
|
-
/**
|
|
24
|
-
* @license lucide-react v0.453.0 - ISC
|
|
25
|
-
*
|
|
26
|
-
* This source code is licensed under the ISC license.
|
|
27
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
28
|
-
*/
|
|
29
|
-
const l = e("Info", [
|
|
30
|
-
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
31
|
-
["path", { d: "M12 16v-4", key: "1dtifu" }],
|
|
32
|
-
["path", { d: "M12 8h.01", key: "e9boi3" }]
|
|
33
|
-
]);
|
|
34
23
|
export {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
r as a
|
|
24
|
+
r as C,
|
|
25
|
+
y as a
|
|
38
26
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("./createLucideIcon-
|
|
1
|
+
"use strict";const e=require("./createLucideIcon-Cg_wkoIA.cjs");/**
|
|
2
2
|
* @license lucide-react v0.453.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -8,9 +8,4 @@
|
|
|
8
8
|
*
|
|
9
9
|
* This source code is licensed under the ISC license.
|
|
10
10
|
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/const r=e.createLucideIcon("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])
|
|
12
|
-
* @license lucide-react v0.453.0 - ISC
|
|
13
|
-
*
|
|
14
|
-
* This source code is licensed under the ISC license.
|
|
15
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/const i=e.createLucideIcon("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);exports.CircleAlert=c;exports.CircleCheck=r;exports.Info=i;
|
|
11
|
+
*/const r=e.createLucideIcon("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);exports.CircleAlert=c;exports.CircleCheck=r;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../ColorSchemeSwitch-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../ColorSchemeSwitch-DDXdSzqg.cjs");exports.ColorSchemeSwitch=e.ColorSchemeSwitch;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"en": {
|
|
3
|
+
"darkMode": "Dark Mode",
|
|
4
|
+
"lightMode": "Light Mode",
|
|
5
|
+
"system": "System Setting"
|
|
6
|
+
},
|
|
7
|
+
"sv": {
|
|
8
|
+
"darkMode": "Mörkt läge",
|
|
9
|
+
"lightMode": "Ljust läge",
|
|
10
|
+
"system": "Systeminställning"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
;
|
|
14
|
+
|
|
15
|
+
export default _default;
|
package/combobox/ComboBox.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ComboBoxProps as AriaComboBoxProps, ListBoxItemProps, ValidationResult } from 'react-aria-components';
|
|
3
|
+
import { InfoPopoverProps } from '../label';
|
|
3
4
|
import { Size } from '../common/types';
|
|
4
5
|
import { ListBoxOption, ListBoxItemElement, ListBoxSectionElement } from '../list-box';
|
|
5
6
|
export interface ComboBoxProps<T extends ListBoxOption> extends Omit<AriaComboBoxProps<T>, 'children'> {
|
|
@@ -14,8 +15,9 @@ export interface ComboBoxProps<T extends ListBoxOption> extends Omit<AriaComboBo
|
|
|
14
15
|
* @default 'large'
|
|
15
16
|
* */
|
|
16
17
|
size?: Size;
|
|
18
|
+
popover: InfoPopoverProps;
|
|
17
19
|
}
|
|
18
|
-
export declare function ComboBox<T extends ListBoxOption>({ label, description, errorMessage, children, items, className, errorPosition, size, ...props }: ComboBoxProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare function ComboBox<T extends ListBoxOption>({ label, description, errorMessage, children, items, className, errorPosition, size, popover, ...props }: ComboBoxProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
19
21
|
export declare function ComboBoxItem<T extends ListBoxItemElement>(props: ListBoxItemProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
20
22
|
/**
|
|
21
23
|
* @deprecated since v.10.1.0 please use `ComboBoxSection` instead
|
package/combobox/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../ComboBox-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../ComboBox-BBC7jhnm.cjs");exports.ComboBox=o.ComboBox;exports.ComboBoxItem=o.ComboBoxItem;exports.ComboBoxSection=o.ComboBoxSection;exports.ComboBoxSelection=o.ComboBoxSelection;
|
package/combobox/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import l, { useState as
|
|
2
|
-
import {
|
|
1
|
+
import l, { useState as i, useEffect as d, useContext as $ } from "react";
|
|
2
|
+
import { $ as u } from "./SSRProvider-40TXmsUG.js";
|
|
3
3
|
const s = /* @__PURE__ */ new Set([
|
|
4
4
|
"Arab",
|
|
5
5
|
"Syrc",
|
|
@@ -34,9 +34,9 @@ const s = /* @__PURE__ */ new Set([
|
|
|
34
34
|
]);
|
|
35
35
|
function p(e) {
|
|
36
36
|
if (Intl.Locale) {
|
|
37
|
-
let
|
|
38
|
-
if (
|
|
39
|
-
if (
|
|
37
|
+
let t = new Intl.Locale(e).maximize(), r = typeof t.getTextInfo == "function" ? t.getTextInfo() : t.textInfo;
|
|
38
|
+
if (r) return r.direction === "rtl";
|
|
39
|
+
if (t.script) return s.has(t.script);
|
|
40
40
|
}
|
|
41
41
|
let n = e.split("-")[0];
|
|
42
42
|
return b.has(n);
|
|
@@ -56,15 +56,15 @@ function c() {
|
|
|
56
56
|
direction: p(e) ? "rtl" : "ltr"
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
|
-
let
|
|
59
|
+
let o = c(), a = /* @__PURE__ */ new Set();
|
|
60
60
|
function f() {
|
|
61
|
-
|
|
62
|
-
for (let e of
|
|
61
|
+
o = c();
|
|
62
|
+
for (let e of a) e(o);
|
|
63
63
|
}
|
|
64
64
|
function x() {
|
|
65
|
-
let e = u(), [n,
|
|
66
|
-
return
|
|
67
|
-
|
|
65
|
+
let e = u(), [n, t] = i(o);
|
|
66
|
+
return d(() => (a.size === 0 && window.addEventListener("languagechange", f), a.add(t), () => {
|
|
67
|
+
a.delete(t), a.size === 0 && window.removeEventListener("languagechange", f);
|
|
68
68
|
}), []), e ? {
|
|
69
69
|
locale: "en-US",
|
|
70
70
|
direction: "ltr"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("react"),i=require("./SSRProvider-Bc-sMhsT.cjs"),d=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),$=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function u(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),f=typeof t.getTextInfo=="function"?t.getTextInfo():t.textInfo;if(f)return f.direction==="rtl";if(t.script)return d.has(t.script)}let n=e.split("-")[0];return $.has(n)}const s=Symbol.for("react-aria.i18n.locale");function l(){let e=typeof window<"u"&&window[s]||typeof navigator<"u"&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:u(e)?"rtl":"ltr"}}let o=l(),a=new Set;function c(){o=l();for(let e of a)e(o)}function b(){let e=i.$b5e257d569688ac6$export$535bd6ca7f90a273(),[n,t]=r.useState(o);return r.useEffect(()=>(a.size===0&&window.addEventListener("languagechange",c),a.add(t),()=>{a.delete(t),a.size===0&&window.removeEventListener("languagechange",c)}),[]),e?{locale:"en-US",direction:"ltr"}:n}const g=r.createContext(null);function p(){let e=b();return r.useContext(g)||e}exports.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7=p;
|
|
@@ -18,4 +18,4 @@
|
|
|
18
18
|
*
|
|
19
19
|
* This source code is licensed under the ISC license.
|
|
20
20
|
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
-
*/const
|
|
21
|
+
*/const h=(e,r)=>{const t=a.forwardRef(({className:o,...s},n)=>a.createElement(g,{ref:n,iconNode:r,className:c(`lucide-${w(e)}`,o),...s}));return t.displayName=`${e}`,t};exports.createLucideIcon=h;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DateFieldProps as AriaDateFieldProps, DateValue, ValidationResult } from 'react-aria-components';
|
|
2
|
+
import { InfoPopoverProps } from '../label';
|
|
2
3
|
import { Size } from '../common/types';
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
export interface DateFieldProps extends AriaDateFieldProps<DateValue> {
|
|
@@ -10,5 +11,7 @@ export interface DateFieldProps extends AriaDateFieldProps<DateValue> {
|
|
|
10
11
|
* @default 'large'
|
|
11
12
|
* */
|
|
12
13
|
size?: Size;
|
|
14
|
+
/** An assistive text that helps the user understand the field better. Will be hidden in a popover with an info icon button. */
|
|
15
|
+
popover?: InfoPopoverProps;
|
|
13
16
|
}
|
|
14
17
|
export declare const DateField: React.FC<DateFieldProps>;
|
package/date-field/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../DateField-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../DateField-B3VjOSde.cjs"),e=require("../DateInputDivider-3BvwXXa9.cjs");exports.DateField=t.DateField;exports.DateInput=e.DateInput;exports.DateInputDivider=e.DateInputDivider;exports.DateSegment=e.DateSegment;
|
package/date-field/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as t } from "../DateField-
|
|
2
|
-
import { a as r, b as o, D as p } from "../DateInputDivider-
|
|
1
|
+
import { D as t } from "../DateField-CnLEi7uX.js";
|
|
2
|
+
import { a as r, b as o, D as p } from "../DateInputDivider-Bi5N-C0c.js";
|
|
3
3
|
export {
|
|
4
4
|
t as DateField,
|
|
5
5
|
r as DateInput,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DatePickerProps as AriaDatePickerProps, DateValue, ValidationResult } from 'react-aria-components';
|
|
2
|
+
import { InfoPopoverProps } from '../label';
|
|
2
3
|
import { Size } from '../common/types';
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
interface DatePickerProps extends AriaDatePickerProps<DateValue> {
|
|
@@ -10,6 +11,8 @@ interface DatePickerProps extends AriaDatePickerProps<DateValue> {
|
|
|
10
11
|
* @default 'large'
|
|
11
12
|
* */
|
|
12
13
|
size?: Size;
|
|
14
|
+
/** An assistive text that helps the user understand the field better. Will be hidden in a popover with an info icon button. */
|
|
15
|
+
popover?: InfoPopoverProps;
|
|
13
16
|
}
|
|
14
17
|
export declare const DatePicker: React.FC<DatePickerProps>;
|
|
15
18
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DateRangePickerProps as AriaDateRangePickerProps, DateValue, ValidationResult } from 'react-aria-components';
|
|
2
|
+
import { InfoPopoverProps } from '../label';
|
|
2
3
|
import { Size } from '../common/types';
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
export interface DateRangePickerProps extends AriaDateRangePickerProps<DateValue> {
|
|
@@ -10,5 +11,7 @@ export interface DateRangePickerProps extends AriaDateRangePickerProps<DateValue
|
|
|
10
11
|
* @default 'large'
|
|
11
12
|
* */
|
|
12
13
|
size?: Size;
|
|
14
|
+
/** An assistive text that helps the user understand the field better. Will be hidden in a popover with an info icon button. */
|
|
15
|
+
popover?: InfoPopoverProps;
|
|
13
16
|
}
|
|
14
17
|
export declare const DateRangePicker: React.FC<DateRangePickerProps>;
|
package/date-picker/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../DateRangePicker-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../DateRangePicker-BPlZ12r8.cjs");exports.DatePicker=e.DatePicker;exports.DateRangePicker=e.DateRangePicker;
|
package/date-picker/index.js
CHANGED
package/dropdown/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Dropdown-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Dropdown-DAsVShlt.cjs");exports.Dropdown=o.Dropdown;exports.DropdownItem=o.DropdownItem;
|
package/dropdown/index.js
CHANGED
package/field-error/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../FieldError-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../FieldError-bRTpchvr.cjs");exports.FieldError=r.FieldError;
|
package/field-error/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FileTriggerProps as AriaFileTriggerProps } from 'react-aria-components';
|
|
2
|
+
import { InfoPopoverProps } from '../label';
|
|
2
3
|
import * as React from 'react';
|
|
3
4
|
export interface FileTriggerProps extends AriaFileTriggerProps {
|
|
4
5
|
/** Label for the file upload button */
|
|
@@ -7,5 +8,8 @@ export interface FileTriggerProps extends AriaFileTriggerProps {
|
|
|
7
8
|
description?: string;
|
|
8
9
|
/** Use DropZone version */
|
|
9
10
|
dropzone?: boolean;
|
|
11
|
+
/** An assistive text that helps the user understand the field better. Will be hidden in a popover with an info icon button. */
|
|
12
|
+
popover?: InfoPopoverProps;
|
|
13
|
+
className?: string;
|
|
10
14
|
}
|
|
11
15
|
export declare const FileUpload: React.FC<FileTriggerProps>;
|
package/file-upload/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../FileUpload-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../FileUpload-BwMhyLjG.cjs");exports.FileUpload=e.FileUpload;
|
package/file-upload/index.js
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"en": {
|
|
3
|
+
"chooseFile": "Choose file",
|
|
4
|
+
"chooseFiles": "Choose files",
|
|
5
|
+
"dragAndDrop": "Drag and drop files here or click to select",
|
|
6
|
+
"removeFile": "Remove file"
|
|
7
|
+
},
|
|
8
|
+
"sv": {
|
|
9
|
+
"chooseFile": "Välj fil",
|
|
10
|
+
"chooseFiles": "Välj filer",
|
|
11
|
+
"dragAndDrop": "Dra och släpp filer här eller klicka för att välja",
|
|
12
|
+
"removeFile": "Ta bort fil"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
;
|
|
16
|
+
|
|
17
|
+
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const c=require("./scrollIntoView-
|
|
1
|
+
"use strict";const c=require("./scrollIntoView-joIyo-Jt.cjs");function d(n,t){let e=n;for(c.$cc38e7bd3fc7b213$export$2bb74740c4e19def(e,t)&&(e=e.parentElement);e&&!c.$cc38e7bd3fc7b213$export$2bb74740c4e19def(e,t);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}exports.$62d8ded9296f3872$export$cfa2225e87938781=d;
|
package/heading/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Heading-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Heading-CKTR4sOz.cjs");exports.Heading=e.Heading;
|
package/heading/index.js
CHANGED