@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
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import b, { useRef as a, useCallback as s, useState as $, useEffect as p } from "react";
|
|
2
|
+
import { a as y } from "./SSRProvider-40TXmsUG.js";
|
|
3
|
+
import { c as x } from "./clsx-OuTLNxxd.js";
|
|
4
|
+
const i = typeof document < "u" ? b.useLayoutEffect : () => {
|
|
5
|
+
};
|
|
6
|
+
function d(f) {
|
|
7
|
+
const e = a(null);
|
|
8
|
+
return i(() => {
|
|
9
|
+
e.current = f;
|
|
10
|
+
}, [
|
|
11
|
+
f
|
|
12
|
+
]), s((...c) => {
|
|
13
|
+
const n = e.current;
|
|
14
|
+
return n == null ? void 0 : n(...c);
|
|
15
|
+
}, []);
|
|
16
|
+
}
|
|
17
|
+
function m(f) {
|
|
18
|
+
let [e, c] = $(f), n = a(null), t = d(() => {
|
|
19
|
+
if (!n.current) return;
|
|
20
|
+
let r = n.current.next();
|
|
21
|
+
if (r.done) {
|
|
22
|
+
n.current = null;
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
e === r.value ? t() : c(r.value);
|
|
26
|
+
});
|
|
27
|
+
i(() => {
|
|
28
|
+
n.current && t();
|
|
29
|
+
});
|
|
30
|
+
let l = d((r) => {
|
|
31
|
+
n.current = r(e), t();
|
|
32
|
+
});
|
|
33
|
+
return [
|
|
34
|
+
e,
|
|
35
|
+
l
|
|
36
|
+
];
|
|
37
|
+
}
|
|
38
|
+
let g = !!(typeof window < "u" && window.document && window.document.createElement), u = /* @__PURE__ */ new Map(), o;
|
|
39
|
+
typeof FinalizationRegistry < "u" && (o = new FinalizationRegistry((f) => {
|
|
40
|
+
u.delete(f);
|
|
41
|
+
}));
|
|
42
|
+
function v(f) {
|
|
43
|
+
let [e, c] = $(f), n = a(null), t = y(e), l = a(null);
|
|
44
|
+
if (o && o.register(l, t), g) {
|
|
45
|
+
const r = u.get(t);
|
|
46
|
+
r && !r.includes(n) ? r.push(n) : u.set(t, [
|
|
47
|
+
n
|
|
48
|
+
]);
|
|
49
|
+
}
|
|
50
|
+
return i(() => {
|
|
51
|
+
let r = t;
|
|
52
|
+
return () => {
|
|
53
|
+
o && o.unregister(l), u.delete(r);
|
|
54
|
+
};
|
|
55
|
+
}, [
|
|
56
|
+
t
|
|
57
|
+
]), p(() => {
|
|
58
|
+
let r = n.current;
|
|
59
|
+
return r && c(r), () => {
|
|
60
|
+
r && (n.current = null);
|
|
61
|
+
};
|
|
62
|
+
}), t;
|
|
63
|
+
}
|
|
64
|
+
function w(f, e) {
|
|
65
|
+
if (f === e) return f;
|
|
66
|
+
let c = u.get(f);
|
|
67
|
+
if (c)
|
|
68
|
+
return c.forEach((t) => t.current = e), e;
|
|
69
|
+
let n = u.get(e);
|
|
70
|
+
return n ? (n.forEach((t) => t.current = f), f) : e;
|
|
71
|
+
}
|
|
72
|
+
function k(f = []) {
|
|
73
|
+
let e = v(), [c, n] = m(e), t = s(() => {
|
|
74
|
+
n(function* () {
|
|
75
|
+
yield e, yield document.getElementById(e) ? e : void 0;
|
|
76
|
+
});
|
|
77
|
+
}, [
|
|
78
|
+
e,
|
|
79
|
+
n
|
|
80
|
+
]);
|
|
81
|
+
return i(t, [
|
|
82
|
+
e,
|
|
83
|
+
t,
|
|
84
|
+
...f
|
|
85
|
+
]), c;
|
|
86
|
+
}
|
|
87
|
+
function I(...f) {
|
|
88
|
+
return (...e) => {
|
|
89
|
+
for (let c of f) typeof c == "function" && c(...e);
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
function C(...f) {
|
|
93
|
+
let e = {
|
|
94
|
+
...f[0]
|
|
95
|
+
};
|
|
96
|
+
for (let c = 1; c < f.length; c++) {
|
|
97
|
+
let n = f[c];
|
|
98
|
+
for (let t in n) {
|
|
99
|
+
let l = e[t], r = n[t];
|
|
100
|
+
typeof l == "function" && typeof r == "function" && // This is a lot faster than a regex.
|
|
101
|
+
t[0] === "o" && t[1] === "n" && t.charCodeAt(2) >= /* 'A' */
|
|
102
|
+
65 && t.charCodeAt(2) <= /* 'Z' */
|
|
103
|
+
90 ? e[t] = I(l, r) : (t === "className" || t === "UNSAFE_className") && typeof l == "string" && typeof r == "string" ? e[t] = x(l, r) : t === "id" && l && r ? e.id = w(l, r) : e[t] = r !== void 0 ? r : l;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
return e;
|
|
107
|
+
}
|
|
108
|
+
export {
|
|
109
|
+
i as $,
|
|
110
|
+
C as a,
|
|
111
|
+
k as b,
|
|
112
|
+
v as c,
|
|
113
|
+
d,
|
|
114
|
+
I as e
|
|
115
|
+
};
|
package/modal/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Dialog-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Dialog-pSSy1zwf.cjs"),o=require("../Dialog-CSnN6baf.cjs");exports.Modal=e.Modal;exports.DialogTrigger=o.$de32f1b87079253c$export$2e1e1122cf0cba88;
|
package/modal/index.js
CHANGED
package/package.json
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PopoverProps } from 'react-aria-components';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
interface MidasPopoverProps extends Omit<PopoverProps, 'children'> {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export declare function Popover({ children, className, offset, ...props }: MidasPopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Popover-CnAsw3wI.cjs");exports.Popover=e.Popover;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Popover';
|
package/popover/index.js
ADDED
package/progress-bar/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../ProgressBar-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../ProgressBar-CcbxcWdT.cjs");exports.ProgressBar=r.ProgressBar;
|
package/progress-bar/index.js
CHANGED
package/radio/Radio.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { RadioGroupProps, RadioProps, ValidationResult } from 'react-aria-components';
|
|
2
|
+
import { InfoPopoverProps } from '../label';
|
|
2
3
|
import * as React from 'react';
|
|
3
4
|
interface MVDSRadioGroupProps extends Omit<RadioGroupProps, 'children'> {
|
|
4
5
|
children?: React.ReactNode;
|
|
@@ -9,13 +10,12 @@ interface MVDSRadioGroupProps extends Omit<RadioGroupProps, 'children'> {
|
|
|
9
10
|
/** String to display as error message or function to handle the result and produce the error message */
|
|
10
11
|
errorMessage?: string | ((validation: ValidationResult) => string);
|
|
11
12
|
errorPosition?: 'top' | 'bottom';
|
|
13
|
+
/** An assistive text that helps the user understand the field better. Will be hidden in a popover with an info icon button. */
|
|
14
|
+
popover?: InfoPopoverProps;
|
|
12
15
|
}
|
|
13
16
|
/**
|
|
14
17
|
* RadioGroup is used to group several radio items together
|
|
15
18
|
*/
|
|
16
19
|
export declare const RadioGroup: React.FC<MVDSRadioGroupProps>;
|
|
17
|
-
|
|
18
|
-
* Radio item
|
|
19
|
-
* */
|
|
20
|
-
export declare const Radio: (props: RadioProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare const Radio: ({ className, ...rest }: RadioProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
export {};
|
package/radio/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Radio-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Radio-B2zfEFdq.cjs");exports.Radio=o.Radio;exports.RadioGroup=o.RadioGroup;
|
package/radio/index.js
CHANGED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { $ as T } from "./mergeProps-C1U1OIeJ.js";
|
|
2
|
+
import { useState as y } from "react";
|
|
3
|
+
function W(e, o) {
|
|
4
|
+
if (!e) return !1;
|
|
5
|
+
let l = window.getComputedStyle(e), t = /(auto|scroll)/.test(l.overflow + l.overflowX + l.overflowY);
|
|
6
|
+
return t && o && (t = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), t;
|
|
7
|
+
}
|
|
8
|
+
function I(e, o) {
|
|
9
|
+
const l = [];
|
|
10
|
+
for (; e && e !== document.documentElement; )
|
|
11
|
+
W(e, o) && l.push(e), e = e.parentElement;
|
|
12
|
+
return l;
|
|
13
|
+
}
|
|
14
|
+
let S = 0;
|
|
15
|
+
const u = /* @__PURE__ */ new Map();
|
|
16
|
+
function R(e) {
|
|
17
|
+
let [o, l] = y();
|
|
18
|
+
return T(() => {
|
|
19
|
+
if (!e) return;
|
|
20
|
+
let t = u.get(e);
|
|
21
|
+
if (t)
|
|
22
|
+
l(t.element.id);
|
|
23
|
+
else {
|
|
24
|
+
let d = `react-aria-description-${S++}`;
|
|
25
|
+
l(d);
|
|
26
|
+
let f = document.createElement("div");
|
|
27
|
+
f.id = d, f.style.display = "none", f.textContent = e, document.body.appendChild(f), t = {
|
|
28
|
+
refCount: 0,
|
|
29
|
+
element: f
|
|
30
|
+
}, u.set(e, t);
|
|
31
|
+
}
|
|
32
|
+
return t.refCount++, () => {
|
|
33
|
+
t && --t.refCount === 0 && (t.element.remove(), u.delete(e));
|
|
34
|
+
};
|
|
35
|
+
}, [
|
|
36
|
+
e
|
|
37
|
+
]), {
|
|
38
|
+
"aria-describedby": e ? o : void 0
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function k(e, o) {
|
|
42
|
+
let l = m(e, o, "left"), t = m(e, o, "top"), d = o.offsetWidth, f = o.offsetHeight, r = e.scrollLeft, n = e.scrollTop, { borderTopWidth: i, borderLeftWidth: c, scrollPaddingTop: a, scrollPaddingRight: s, scrollPaddingBottom: x, scrollPaddingLeft: C } = getComputedStyle(e), L = r + parseInt(c, 10), b = n + parseInt(i, 10), p = L + e.clientWidth, $ = b + e.clientHeight, v = parseInt(a, 10) || 0, P = parseInt(x, 10) || 0, h = parseInt(s, 10) || 0, g = parseInt(C, 10) || 0;
|
|
43
|
+
l <= r + g ? r = l - parseInt(c, 10) - g : l + d > p - h && (r += l + d - p + h), t <= b + v ? n = t - parseInt(i, 10) - v : t + f > $ - P && (n += t + f - $ + P), e.scrollLeft = r, e.scrollTop = n;
|
|
44
|
+
}
|
|
45
|
+
function m(e, o, l) {
|
|
46
|
+
const t = l === "left" ? "offsetLeft" : "offsetTop";
|
|
47
|
+
let d = 0;
|
|
48
|
+
for (; o.offsetParent && (d += o[t], o.offsetParent !== e); ) {
|
|
49
|
+
if (o.offsetParent.contains(e)) {
|
|
50
|
+
d -= e[t];
|
|
51
|
+
break;
|
|
52
|
+
}
|
|
53
|
+
o = o.offsetParent;
|
|
54
|
+
}
|
|
55
|
+
return d;
|
|
56
|
+
}
|
|
57
|
+
function H(e, o) {
|
|
58
|
+
if (e && document.contains(e)) {
|
|
59
|
+
let r = document.scrollingElement || document.documentElement;
|
|
60
|
+
if (window.getComputedStyle(r).overflow === "hidden") {
|
|
61
|
+
let i = I(e);
|
|
62
|
+
for (let c of i) k(c, e);
|
|
63
|
+
} else {
|
|
64
|
+
var l;
|
|
65
|
+
let { left: i, top: c } = e.getBoundingClientRect();
|
|
66
|
+
e == null || (l = e.scrollIntoView) === null || l === void 0 || l.call(e, {
|
|
67
|
+
block: "nearest"
|
|
68
|
+
});
|
|
69
|
+
let { left: a, top: s } = e.getBoundingClientRect();
|
|
70
|
+
if (Math.abs(i - a) > 1 || Math.abs(c - s) > 1) {
|
|
71
|
+
var t, d, f;
|
|
72
|
+
o == null || (d = o.containingElement) === null || d === void 0 || (t = d.scrollIntoView) === null || t === void 0 || t.call(d, {
|
|
73
|
+
block: "center",
|
|
74
|
+
inline: "center"
|
|
75
|
+
}), (f = e.scrollIntoView) === null || f === void 0 || f.call(e, {
|
|
76
|
+
block: "nearest"
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export {
|
|
83
|
+
W as $,
|
|
84
|
+
R as a,
|
|
85
|
+
k as b,
|
|
86
|
+
H as c
|
|
87
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const W=require("./mergeProps-B5KXZAI3.cjs"),I=require("react");function C(e,o){if(!e)return!1;let l=window.getComputedStyle(e),t=/(auto|scroll)/.test(l.overflow+l.overflowX+l.overflowY);return t&&o&&(t=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),t}function S(e,o){const l=[];for(;e&&e!==document.documentElement;)C(e,o)&&l.push(e),e=e.parentElement;return l}let R=0;const u=new Map;function k(e){let[o,l]=I.useState();return W.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(!e)return;let t=u.get(e);if(t)l(t.element.id);else{let d=`react-aria-description-${R++}`;l(d);let f=document.createElement("div");f.id=d,f.style.display="none",f.textContent=e,document.body.appendChild(f),t={refCount:0,element:f},u.set(e,t)}return t.refCount++,()=>{t&&--t.refCount===0&&(t.element.remove(),u.delete(e))}},[e]),{"aria-describedby":e?o:void 0}}function L(e,o){let l=g(e,o,"left"),t=g(e,o,"top"),d=o.offsetWidth,f=o.offsetHeight,r=e.scrollLeft,n=e.scrollTop,{borderTopWidth:c,borderLeftWidth:i,scrollPaddingTop:a,scrollPaddingRight:s,scrollPaddingBottom:T,scrollPaddingLeft:m}=getComputedStyle(e),y=r+parseInt(i,10),b=n+parseInt(c,10),$=y+e.clientWidth,p=b+e.clientHeight,v=parseInt(a,10)||0,P=parseInt(T,10)||0,h=parseInt(s,10)||0,x=parseInt(m,10)||0;l<=r+x?r=l-parseInt(i,10)-x:l+d>$-h&&(r+=l+d-$+h),t<=b+v?n=t-parseInt(c,10)-v:t+f>p-P&&(n+=t+f-p+P),e.scrollLeft=r,e.scrollTop=n}function g(e,o,l){const t=l==="left"?"offsetLeft":"offsetTop";let d=0;for(;o.offsetParent&&(d+=o[t],o.offsetParent!==e);){if(o.offsetParent.contains(e)){d-=e[t];break}o=o.offsetParent}return d}function B(e,o){if(e&&document.contains(e)){let r=document.scrollingElement||document.documentElement;if(window.getComputedStyle(r).overflow==="hidden"){let c=S(e);for(let i of c)L(i,e)}else{var l;let{left:c,top:i}=e.getBoundingClientRect();e==null||(l=e.scrollIntoView)===null||l===void 0||l.call(e,{block:"nearest"});let{left:a,top:s}=e.getBoundingClientRect();if(Math.abs(c-a)>1||Math.abs(i-s)>1){var t,d,f;o==null||(d=o.containingElement)===null||d===void 0||(t=d.scrollIntoView)===null||t===void 0||t.call(d,{block:"center",inline:"center"}),(f=e.scrollIntoView)===null||f===void 0||f.call(e,{block:"nearest"})}}}}exports.$2f04cbc44ee30ce0$export$53a0910f038337bd=L;exports.$2f04cbc44ee30ce0$export$c826860796309d1b=B;exports.$cc38e7bd3fc7b213$export$2bb74740c4e19def=C;exports.$ef06256079686ba0$export$f8aeda7b10753fa1=k;
|
package/search-field/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../SearchField-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../SearchField-CML0kjtn.cjs");exports.SearchField=e.SearchField;
|
package/search-field/index.js
CHANGED
package/select/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Select-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Select-DKey6CeS.cjs");exports.Select=e.Select;
|
package/select/index.js
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"en": {
|
|
3
|
+
"clearAll": "Clear all",
|
|
4
|
+
"selectAll": "Select all",
|
|
5
|
+
"selectedItems": "Selected items",
|
|
6
|
+
"chosen": "chosen"
|
|
7
|
+
},
|
|
8
|
+
"sv": {
|
|
9
|
+
"clearAll": "Rensa alla",
|
|
10
|
+
"selectAll": "Välj alla",
|
|
11
|
+
"selectedItems": "Valda objekt",
|
|
12
|
+
"chosen": "valda"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
;
|
|
16
|
+
|
|
17
|
+
export default _default;
|
package/spinner/Spinner.d.ts
CHANGED
package/spinner/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Spinner-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Spinner-yHcy8YHC.cjs");exports.Spinner=e.Spinner;
|
package/spinner/index.js
CHANGED
package/table/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Table-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Table-DkvNp6xm.cjs");exports.Cell=e.Cell;exports.Column=e.Column;exports.Row=e.Row;exports.Table=e.Table;exports.TableBody=e.$1910c06f0ca9905e$export$76ccd210b9029917;exports.TableHeader=e.TableHeader;
|
package/table/index.js
CHANGED
package/tabs/Tab.d.ts
ADDED
package/tabs/Tabs.d.ts
CHANGED
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
import { TabsProps as AriaTabsProps } from 'react-aria-components';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
export interface TabsProps extends
|
|
3
|
+
export interface TabsProps extends AriaTabsProps {
|
|
4
4
|
/**
|
|
5
5
|
* An array of tab titles
|
|
6
|
+
* @deprecated since v.10.3.0 please use the declarative API
|
|
7
|
+
* @see {@link https://designsystem.migrationsverket.se/components/tabs/|Tabs}
|
|
6
8
|
*/
|
|
7
|
-
tabs
|
|
9
|
+
tabs?: string[];
|
|
8
10
|
/**
|
|
9
11
|
* Label for accessibility
|
|
12
|
+
* @deprecated since v.10.3.0 please use the declarative API and use the `aria-label` prop on TabList instead
|
|
13
|
+
* @see {@link https://designsystem.migrationsverket.se/components/tabs/|Tabs}
|
|
10
14
|
*/
|
|
11
|
-
label
|
|
15
|
+
label?: string;
|
|
12
16
|
/**
|
|
13
|
-
*
|
|
17
|
+
* The orientation of the tabs.
|
|
18
|
+
* Will adjust to screen size automatically if omitted
|
|
19
|
+
* @default undefined
|
|
14
20
|
*/
|
|
15
|
-
|
|
21
|
+
orientation?: AriaTabsProps['orientation'];
|
|
16
22
|
}
|
|
17
23
|
export declare const Tabs: React.FC<TabsProps>;
|
package/tabs/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../TabList-7VtCiXxX.cjs");exports.Tab=a.Tab;exports.TabList=a.TabList;exports.TabPanel=a.TabPanel;exports.Tabs=a.Tabs;
|
package/tabs/index.d.ts
CHANGED
package/tabs/index.js
CHANGED
package/tag/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Tag-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Tag-CFWZ2LQW.cjs");exports.Tag=e.Tag;exports.TagGroup=e.TagGroup;
|
package/tag/index.js
CHANGED
package/text/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Text-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Text-DBHWi5gA.cjs");exports.Text=e.Text;
|
package/text/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TextFieldProps, ValidationResult } from 'react-aria-components';
|
|
2
2
|
import { Size } from '../common/types';
|
|
3
|
+
import { InfoPopoverProps } from '../label';
|
|
3
4
|
import * as React from 'react';
|
|
4
5
|
export interface TextFieldBaseProps extends Omit<TextFieldProps, 'className'> {
|
|
5
6
|
children?: React.ReactNode;
|
|
@@ -20,5 +21,6 @@ export interface TextFieldBaseProps extends Omit<TextFieldProps, 'className'> {
|
|
|
20
21
|
* @default 'large'
|
|
21
22
|
* */
|
|
22
23
|
size?: Size;
|
|
24
|
+
popover?: InfoPopoverProps;
|
|
23
25
|
}
|
|
24
26
|
export declare const TextFieldBase: React.ForwardRefExoticComponent<TextFieldBaseProps & React.RefAttributes<HTMLDivElement>>;
|
package/textfield/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../TextArea-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../TextArea-XJDfeXRs.cjs");exports.Input=e.Input;exports.TextArea=e.TextArea;exports.TextField=e.TextField;exports.TextFieldBase=e.TextFieldBase;
|
package/textfield/index.js
CHANGED
|
@@ -6,78 +6,6 @@ declare const _default: {
|
|
|
6
6
|
"sv": {
|
|
7
7
|
"hide": "Dölj",
|
|
8
8
|
"show": "Visa"
|
|
9
|
-
},
|
|
10
|
-
"es": {
|
|
11
|
-
"hide": "Ocultar",
|
|
12
|
-
"show": "Mostrar"
|
|
13
|
-
},
|
|
14
|
-
"fr": {
|
|
15
|
-
"hide": "Cacher",
|
|
16
|
-
"show": "Afficher"
|
|
17
|
-
},
|
|
18
|
-
"de": {
|
|
19
|
-
"hide": "Verstecken",
|
|
20
|
-
"show": "Anzeigen"
|
|
21
|
-
},
|
|
22
|
-
"ja": {
|
|
23
|
-
"hide": "隠す",
|
|
24
|
-
"show": "表示"
|
|
25
|
-
},
|
|
26
|
-
"zh": {
|
|
27
|
-
"hide": "隐藏",
|
|
28
|
-
"show": "显示"
|
|
29
|
-
},
|
|
30
|
-
"ar": {
|
|
31
|
-
"hide": "إخفاء",
|
|
32
|
-
"show": "إظهار"
|
|
33
|
-
},
|
|
34
|
-
"ru": {
|
|
35
|
-
"hide": "Скрыть",
|
|
36
|
-
"show": "Показать"
|
|
37
|
-
},
|
|
38
|
-
"pt": {
|
|
39
|
-
"hide": "Ocultar",
|
|
40
|
-
"show": "Mostrar"
|
|
41
|
-
},
|
|
42
|
-
"it": {
|
|
43
|
-
"hide": "Nascondi",
|
|
44
|
-
"show": "Mostra"
|
|
45
|
-
},
|
|
46
|
-
"ko": {
|
|
47
|
-
"hide": "숨기기",
|
|
48
|
-
"show": "보여주기"
|
|
49
|
-
},
|
|
50
|
-
"hi": {
|
|
51
|
-
"hide": "छुपाएँ",
|
|
52
|
-
"show": "दिखाएँ"
|
|
53
|
-
},
|
|
54
|
-
"nl": {
|
|
55
|
-
"hide": "Verbergen",
|
|
56
|
-
"show": "Tonen"
|
|
57
|
-
},
|
|
58
|
-
"pl": {
|
|
59
|
-
"hide": "Ukryj",
|
|
60
|
-
"show": "Pokaż"
|
|
61
|
-
},
|
|
62
|
-
"tr": {
|
|
63
|
-
"hide": "Gizle",
|
|
64
|
-
"show": "Göster"
|
|
65
|
-
},
|
|
66
|
-
"vi": {
|
|
67
|
-
"hide": "Ẩn",
|
|
68
|
-
"show": "Hiện"
|
|
69
|
-
},
|
|
70
|
-
"th": {
|
|
71
|
-
"hide": "ซ่อน",
|
|
72
|
-
"show": "แสดง"
|
|
73
|
-
},
|
|
74
|
-
"id": {
|
|
75
|
-
"hide": "Sembunyikan",
|
|
76
|
-
"show": "Tampilkan"
|
|
77
|
-
},
|
|
78
|
-
"ms": {
|
|
79
|
-
"hide": "Sembunyikan",
|
|
80
|
-
"show": "Tunjukkan"
|
|
81
9
|
}
|
|
82
10
|
}
|
|
83
11
|
;
|
package/theme/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../tokens-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../tokens-BghDnMdO.cjs"),s={...e.tokens};exports.baseColors=e.baseColors;exports.breakpoints=e.breakpoints;exports.semantic=e.semantic;exports.spacing=e.spacing;exports.states=e.states;exports.transitions=e.transitions;exports.typography=e.typography;exports.windowSizes=e.windowSizes;exports.zIndex=e.zIndex;exports.theme=s;
|
package/theme/index.d.ts
CHANGED
|
@@ -219,6 +219,11 @@ export declare const theme: {
|
|
|
219
219
|
buttonBackgroundDisabled: string;
|
|
220
220
|
buttonBackgroundSkeleton: string;
|
|
221
221
|
buttonBorderSecondary: string;
|
|
222
|
+
calendarDateBackgroundHover: string;
|
|
223
|
+
calendarDateBackgroundSelected: string;
|
|
224
|
+
calendarDateBackgroundStartRange: string;
|
|
225
|
+
calendarDateBackgroundInRange: string;
|
|
226
|
+
calendarDateBackgroundEndRange: string;
|
|
222
227
|
logoPrimary: string;
|
|
223
228
|
menuItemBackgroundHover: string;
|
|
224
229
|
menuItemBackgroundSelected: string;
|
package/theme/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as s } from "../tokens-
|
|
2
|
-
import { b as n, e as r, f as i, s as p, c as m, d as c, a as b, w as d, z as f } from "../tokens-
|
|
1
|
+
import { t as s } from "../tokens-fEwCQXDv.js";
|
|
2
|
+
import { b as n, e as r, f as i, s as p, c as m, d as c, a as b, w as d, z as f } from "../tokens-fEwCQXDv.js";
|
|
3
3
|
const t = { ...s };
|
|
4
4
|
export {
|
|
5
5
|
n as baseColors,
|