@midas-ds/components 11.2.0 → 12.1.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-C9dBt-tQ.js +335 -0
- package/AccordionItem-SOfjXh3V.cjs +1 -0
- package/BadgeContainer-iNNgJKD9.js +37 -0
- package/{BadgeContainer-DWVHS5dn.cjs → BadgeContainer-su0iCJKy.cjs} +1 -1
- package/Breadcrumbs-BAHJMPsu.js +271 -0
- package/Breadcrumbs-DUcHHI_2.cjs +1 -0
- package/Button-CMIbSc4-.cjs +1 -0
- package/{Button-CepQFEit.js → Button-DD5_S-tD.js} +154 -160
- package/{Button-BjMaGya2.js → Button-DYcmg49Z.js} +2 -2
- package/{Button-Dq6ugqxT.cjs → Button-DrL5Jv-s.cjs} +1 -1
- package/Button.module-BNLcvARn.cjs +1 -0
- package/Button.module-Bax2YU6N.js +14 -0
- package/ButtonGroup-ClYTgaRc.cjs +1 -0
- package/{ButtonGroup-DvVvear6.js → ButtonGroup-WZZDPu9Z.js} +1 -1
- package/CHANGELOG.md +114 -0
- package/Card-BDDyGAMA.js +131 -0
- package/Card-mj5lCIR4.cjs +1 -0
- package/{CharacterCounter-DSFBv3Rw.cjs → CharacterCounter-CnRv-iUP.cjs} +1 -1
- package/{CharacterCounter-DpBDwvLw.js → CharacterCounter-DT7A0wWP.js} +8 -8
- package/Checkbox-BtM2rFh9.js +278 -0
- package/Checkbox-CvdIG43J.cjs +1 -0
- package/CheckboxGroup-C94as9Xt.cjs +1 -0
- package/CheckboxGroup-CjcDYBRk.js +157 -0
- package/Collection-B0_WAieZ.js +625 -0
- package/Collection-BvWp2xBd.cjs +1 -0
- package/{ColorSchemeSwitch-PiEHptw1.js → ColorSchemeSwitch-C4PMYeD5.js} +17 -25
- package/{ColorSchemeSwitch-owUryjYz.cjs → ColorSchemeSwitch-CKcoGZM1.cjs} +1 -1
- package/ComboBox-B2EmfOyr.cjs +1 -0
- package/{ComboBox-DfJ_aJrf.js → ComboBox-BWXJZyOR.js} +522 -511
- package/DateField-CcQJYDLD.js +47 -0
- package/DateField-IpCiF81R.cjs +1 -0
- package/{DateInputDivider-BmvqW1Hk.js → DateInputDivider-CXkUdlzc.js} +936 -839
- package/DateInputDivider-Cf5GZHlM.cjs +1 -0
- package/DateRangePicker-B2BJO1KC.js +889 -0
- package/DateRangePicker-Dfwe9RhJ.cjs +6 -0
- package/Dialog-B8swxl24.js +1643 -0
- package/Dialog-DR6nEqMT.cjs +1 -0
- package/Dialog-DgJobm71.cjs +1 -0
- package/Dialog-P3frHOdq.js +240 -0
- package/DragAndDrop-Dw8JZmrn.cjs +1 -0
- package/DragAndDrop-PrUJv--B.js +75 -0
- package/{Dropdown-Cpc2EszJ.js → Dropdown-CIvWpN3v.js} +33 -32
- package/Dropdown-DJ2vWAqk.cjs +6 -0
- package/FieldError-Cornph2A.cjs +1 -0
- package/{FieldError-CDCvUjK5.js → FieldError-DdvFyIf4.js} +16 -14
- package/{FileUpload-BokzdXVc.js → FileUpload-D2gnQKdn.js} +76 -74
- package/{FileUpload-Bz9md5zc.cjs → FileUpload-D3RaARDV.cjs} +2 -2
- package/{FocusScope-DMsfA3bj.js → FocusScope-Bj40Ir-g.js} +192 -195
- package/FocusScope-Uy3DiY0-.cjs +1 -0
- package/Grid-WbEkSCGh.cjs +1 -0
- package/{Grid--OhtgCo6.js → Grid-s8ovKDi8.js} +6 -9
- package/GridItem-CIVF1fRW.cjs +1 -0
- package/GridItem-D3FZyyO-.js +243 -0
- package/{Group-DOpbdoAi.cjs → Group-BKYGeOBr.cjs} +1 -1
- package/{Group-B0vQfHDy.js → Group-C73mD_-i.js} +6 -6
- package/Heading-BQlmb5Tm.js +46 -0
- package/Heading-D3FR_KXb.cjs +1 -0
- package/InfoBanner-CqjnTYaa.cjs +1 -0
- package/InfoBanner-CrA8MS3v.js +83 -0
- package/{Input-n-Z20KbW.js → Input-BLVRv0FK.js} +4 -4
- package/{Input-MJji5hhq.cjs → Input-CzMx2mfl.cjs} +1 -1
- package/{Label-endv1fkJ.js → Label-BG7G0iyG.js} +23 -27
- package/Label-C00qz3kQ.cjs +1 -0
- package/Layout-Bta_Cpq_.cjs +16 -0
- package/Layout-CG-Qxr_1.js +482 -0
- package/{Link-ovwNVMfg.js → Link-BtxKZ0h3.js} +16 -16
- package/Link-Bx6avHVl.cjs +6 -0
- package/Link-CbFSuEI1.js +73 -0
- package/Link-wM7cVPlS.cjs +1 -0
- package/LinkButton-BvXu6vAH.cjs +6 -0
- package/LinkButton-D3EnZ65v.js +69 -0
- package/ListBox-ICZKGluC.cjs +1 -0
- package/ListBox-LncMQt6I.js +523 -0
- package/ListBoxLoadMoreItem-Ceo73a2q.cjs +1 -0
- package/ListBoxLoadMoreItem-W11V-Lef.js +41 -0
- package/ListBoxSection-BCPv9H50.js +1085 -0
- package/ListBoxSection-Dx75ZinL.cjs +1 -0
- package/{ListKeyboardDelegate-CHki611g.js → ListKeyboardDelegate-CVxkAn5D.js} +13 -9
- package/ListKeyboardDelegate-C_X1wLkh.cjs +1 -0
- package/{Logo-BpH0HC91.cjs → Logo-CFjZc5u2.cjs} +1 -1
- package/{Logo-ME4ffCue.js → Logo-DkagDdKQ.js} +14 -18
- package/OverlayArrow-ByH6lM-H.cjs +1 -0
- package/OverlayArrow-CvNuu3e3.js +519 -0
- package/{Popover-BDvKByTT.cjs → Popover-Bi5yJEoE.cjs} +1 -1
- package/{Popover-Tniqbaes.js → Popover-CyEVqpJ6.js} +11 -11
- package/{PressResponder-C3APAKsz.js → PressResponder-CxVtArtP.js} +4 -4
- package/{PressResponder-4jE_HLu3.cjs → PressResponder-DbnYqwGB.cjs} +1 -1
- package/ProgressBar-CdXHEJh6.js +53 -0
- package/ProgressBar-CjuHokVZ.cjs +1 -0
- package/Radio-Bll-7H8O.cjs +1 -0
- package/Radio-DoWx2AE1.js +333 -0
- package/RangeCalendar-A4WQIG7P.cjs +6 -0
- package/{RangeCalendar-BCruEq9d.js → RangeCalendar-D7eFVAPP.js} +637 -629
- package/{SearchField-QFyuaT-K.cjs → SearchField-BbrUZpQm.cjs} +2 -2
- package/{SearchField-nwlyszwt.js → SearchField-F2FKgYds.js} +27 -31
- package/Select-BnbDXwgD.cjs +1 -0
- package/Select-Dpi3LhbI.js +654 -0
- package/{SelectionManager-BKrZ_mMO.js → SelectionManager-Bq-Gw1UT.js} +291 -282
- package/SelectionManager-BtbHoHpA.cjs +1 -0
- package/Separator-CM0KPvsX.js +105 -0
- package/Separator-Cfv2pbWf.cjs +1 -0
- package/Separator-DH-5wu9X.js +77 -0
- package/Separator-Dgin8BNW.cjs +1 -0
- package/Skeleton-BpYj25p8.js +37 -0
- package/Skeleton-DMOxEwnd.cjs +1 -0
- package/Spinner-D1UBuLy4.cjs +6 -0
- package/Spinner-DTKb_LAA.js +47 -0
- package/TabList-D4WwgQY3.cjs +1 -0
- package/TabList-D9tl2s85.js +397 -0
- package/Table-C6k3PiiC.cjs +16 -0
- package/{Table-DGTwyh7U.js → Table-CkN3y69S.js} +883 -804
- package/Tag-7dHEMQum.cjs +1 -0
- package/Tag-BUJ20HHw.js +765 -0
- package/Text-BAFsaON-.cjs +1 -0
- package/{Text-DcZqSUN9.js → Text-Be7WIOwv.js} +1 -1
- package/{Text-CfcjRtke.cjs → Text-BtPiT2P1.cjs} +1 -1
- package/Text-CmlsaWMA.js +32 -0
- package/TextArea-BCikUXaD.cjs +1 -0
- package/TextArea-h5_oBQH1.js +125 -0
- package/TextField-Bm5916AD.cjs +1 -0
- package/TextField-_UY8CXtW.js +134 -0
- package/TextField.module-C9Zm9unF.js +13 -0
- package/TextField.module-GTQtNO0r.cjs +1 -0
- package/{Toast-CWt_mNIg.js → Toast-BBkWczCk.js} +234 -253
- package/Toast-DclaxvZM.cjs +1 -0
- package/ToggleButtonGroup-BGG64PK1.js +214 -0
- package/ToggleButtonGroup-Da330GRT.cjs +1 -0
- package/Tooltip-BHAtsp9k.js +281 -0
- package/Tooltip-CZa9n5sT.cjs +1 -0
- package/{VisuallyHidden-CYfmTSCD.js → VisuallyHidden-CGEtjAP7.js} +2 -2
- package/{VisuallyHidden-Doyzl0F7.cjs → VisuallyHidden-EjrqodVh.cjs} +1 -1
- package/accordion/Accordion.d.ts +8 -2
- package/accordion/AccordionContext.d.ts +4 -0
- package/accordion/AccordionItem.d.ts +6 -4
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +1 -1
- package/assets/AccordionItem.css +1 -1
- package/assets/BadgeContainer.css +1 -1
- package/assets/Breadcrumbs.css +1 -1
- package/assets/Button.css +1 -1
- package/assets/ButtonGroup.css +1 -1
- package/assets/Card.css +1 -1
- package/assets/CharacterCounter.css +1 -1
- package/assets/Checkbox.css +1 -1
- package/assets/ComboBox.css +1 -1
- package/assets/DateField.css +1 -1
- package/assets/DateInputDivider.css +1 -1
- package/assets/DateRangePicker.css +1 -1
- package/assets/Dialog.css +1 -1
- package/assets/Dropdown.css +1 -1
- package/assets/FieldError.css +1 -1
- package/assets/FileUpload.css +1 -1
- package/assets/GridItem.css +1 -1
- package/assets/Heading.css +1 -1
- package/assets/InfoBanner.css +1 -1
- package/assets/Label.css +1 -1
- package/assets/Layout.css +1 -1
- package/assets/Link.css +1 -1
- package/assets/LinkButton.css +1 -1
- package/assets/ListBoxSection.css +1 -1
- package/assets/Logo.css +1 -1
- package/assets/Popover.css +1 -1
- package/assets/ProgressBar.css +1 -1
- package/assets/Radio.css +1 -1
- package/assets/RangeCalendar.css +1 -1
- package/assets/SearchField.css +1 -1
- package/assets/Select.css +1 -1
- package/assets/Separator.css +1 -0
- package/assets/Skeleton.css +1 -1
- package/assets/Spinner.css +1 -1
- package/assets/TabList.css +1 -1
- package/assets/Table.css +1 -1
- package/assets/Tag.css +1 -1
- package/assets/Text.css +1 -1
- package/assets/TextField.css +1 -1
- package/assets/Toast.css +1 -1
- package/assets/ToggleButtonGroup.css +1 -1
- package/assets/Tooltip.css +1 -1
- package/assets/theme.css +1 -0
- package/assets/variables.css +1 -0
- package/badge/index.cjs +1 -1
- package/badge/index.js +1 -1
- package/breadcrumbs/Breadcrumbs.d.ts +0 -2
- package/breadcrumbs/index.cjs +1 -1
- package/breadcrumbs/index.js +1 -1
- package/button/index.cjs +1 -1
- package/button/index.js +2 -2
- 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/checkbox/index.cjs +1 -1
- package/checkbox/index.js +2 -2
- package/chevron-right-0-sUFBiR.cjs +6 -0
- package/chevron-right-BYYHEJjK.js +11 -0
- package/color-scheme-switch/index.cjs +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/combobox/ComboBox.d.ts +0 -4
- package/combobox/index.cjs +1 -1
- package/combobox/index.d.ts +1 -2
- package/combobox/index.js +2 -3
- package/combobox/intl/translations.json.d.ts +4 -2
- package/combobox/types.d.ts +0 -13
- package/common/icon-map.d.ts +6 -0
- package/common/types.d.ts +8 -0
- package/date-field/index.cjs +1 -1
- package/date-field/index.js +2 -2
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +1 -1
- package/dropdown/Dropdown.d.ts +25 -1
- package/dropdown/index.cjs +1 -1
- package/dropdown/index.js +1 -1
- package/field-error/index.cjs +1 -1
- package/field-error/index.js +1 -1
- package/file-upload/index.cjs +1 -1
- package/file-upload/index.js +1 -1
- package/filterDOMProps-RRlKPKX0.cjs +1 -0
- package/filterDOMProps-wsa9OcNI.js +65 -0
- package/grid/Grid.d.ts +0 -8
- package/grid/GridItem.d.ts +0 -8
- package/grid/index.cjs +1 -1
- package/grid/index.d.ts +2 -2
- package/grid/index.js +4 -6
- package/heading/index.cjs +1 -1
- package/heading/index.js +1 -1
- package/icon-map-9XcghDra.cjs +11 -0
- package/icon-map-uS87FT_Q.js +43 -0
- package/{index-CGRFP4CC.js → index-BLPblar-.js} +34 -31
- package/index-DSFSh2sC.cjs +17 -0
- package/index.cjs +1 -1
- package/index.d.ts +2 -0
- package/index.js +133 -121
- package/info-banner/InfoBanner.d.ts +18 -10
- package/info-banner/index.cjs +1 -1
- package/info-banner/index.js +1 -1
- package/label/index.cjs +1 -1
- package/label/index.js +1 -1
- package/layout/index.cjs +1 -1
- package/layout/index.js +1 -1
- package/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/ListBoxLoadMoreItem.d.ts +4 -0
- package/list-box/index.cjs +1 -1
- package/list-box/index.d.ts +1 -0
- package/list-box/index.js +6 -5
- package/list-box/intl/translations.json.d.ts +11 -0
- package/logo/index.cjs +1 -1
- package/logo/index.js +1 -1
- package/menu/Menu.d.ts +13 -0
- package/menu/MenuItem.d.ts +5 -0
- package/menu/MenuPopover.d.ts +3 -0
- package/menu/MenuSection.d.ts +3 -0
- package/menu/Separator.d.ts +3 -0
- package/menu/index.cjs +1 -0
- package/menu/index.d.ts +5 -0
- package/menu/index.js +8 -0
- package/{mergeProps-C1U1OIeJ.js → mergeProps-BSsN7Bgk.js} +36 -34
- package/mergeProps-JhcJ7uJL.cjs +1 -0
- package/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/package.json +9 -4
- package/popover/index.cjs +1 -1
- package/popover/index.js +1 -1
- package/progress-bar/index.cjs +1 -1
- package/progress-bar/index.js +1 -1
- package/radio/index.cjs +1 -1
- package/radio/index.js +1 -1
- package/search-field/index.cjs +1 -1
- package/search-field/index.js +1 -1
- package/select/Select.d.ts +1 -1
- package/select/index.cjs +1 -1
- package/select/index.d.ts +1 -1
- package/select/index.js +1 -1
- package/select/types.d.ts +1 -13
- package/skeleton/index.cjs +1 -1
- package/skeleton/index.js +1 -1
- package/spinner/index.cjs +1 -1
- package/spinner/index.js +1 -1
- package/table/Table.d.ts +7 -12
- package/table/index.cjs +1 -1
- package/table/index.js +1 -1
- package/tabs/Tabs.d.ts +0 -12
- package/tabs/index.cjs +1 -1
- package/tabs/index.js +1 -1
- package/tag/Tag.d.ts +2 -1
- package/tag/index.cjs +1 -1
- package/tag/index.js +1 -1
- package/text/index.cjs +1 -1
- package/text/index.js +1 -1
- package/textfield/Input.d.ts +7 -2
- package/textfield/PasswordField.d.ts +1 -1
- package/textfield/index.cjs +1 -1
- package/textfield/index.js +1 -1
- package/theme/generated-object.d.ts +384 -0
- package/theme/generated-tokens.d.ts +334 -0
- package/theme/index.cjs +1 -1
- package/theme/index.d.ts +39 -12
- package/theme/index.js +4037 -13
- package/theme/tokens.d.ts +65 -18
- package/toast/Toast.d.ts +2 -1
- package/toast/index.cjs +1 -1
- package/toast/index.js +1 -1
- package/toggle-button/index.cjs +1 -1
- package/toggle-button/index.js +1 -1
- package/tokens-B3FfJ-rY.cjs +1 -0
- package/{tokens-CqvelUoA.js → tokens-B9ooUP4g.js} +69 -32
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/useButton-D6iUB8cN.js +56 -0
- package/useButton-R8-i3HLC.cjs +1 -0
- package/useDateFormatter-2B0vgHc-.cjs +1 -0
- package/{useDateFormatter-C7BJgoDR.js → useDateFormatter-BJ1ZyaH1.js} +431 -407
- package/{useDescription-DYfKjGGU.js → useDescription-BLmIkYCq.js} +1 -1
- package/{useDescription-CPo72trh.cjs → useDescription-BMuiAqI5.cjs} +1 -1
- package/{useEvent-DPxMu-X9.cjs → useEvent-3ZO5TPSH.cjs} +1 -1
- package/{useEvent-CigwyJOw.js → useEvent-DpBHTuHJ.js} +1 -1
- package/{useField-CefQB81E.js → useField-BMegM8fA.js} +2 -2
- package/{useField-D1UkzeaI.cjs → useField-DyeD7MLj.cjs} +1 -1
- package/{useFilter-DsOxD9JB.js → useFilter-BFnSe_Eq.js} +1 -1
- package/{useFilter-BhM2yVO3.cjs → useFilter-aoggM85n.cjs} +1 -1
- package/{useFocusRing-B-A1OLhU.cjs → useFocusRing-BcbYske2.cjs} +1 -1
- package/{useFocusRing-DOfBqnUN.js → useFocusRing-DMo8ctYV.js} +2 -2
- package/{useFocusWithin-T1ifEM_s.js → useFocusWithin-ClMkhYcq.js} +1 -1
- package/{useFocusWithin-CG8mAt2D.cjs → useFocusWithin-DTnk0e8a.cjs} +1 -1
- package/{useFocusable-D7I1ujkW.cjs → useFocusable-CsG-IPuC.cjs} +1 -1
- package/{useFocusable-BjE42axF.js → useFocusable-DXlMChFC.js} +4 -4
- package/useFormValidation-BQIRxgbU.cjs +1 -0
- package/useFormValidation-L0UHvOsP.js +217 -0
- package/{useHasTabbableChild-BgEe5J35.js → useHasTabbableChild-BDaxMsGu.js} +2 -2
- package/{useHasTabbableChild-CoQRpNbC.cjs → useHasTabbableChild-CJcLnolh.cjs} +1 -1
- package/{useHighlightSelectionDescription-xr_16pKd.js → useHighlightSelectionDescription-BkEv9Jye.js} +4 -4
- package/{useHighlightSelectionDescription-DmbDkFGY.cjs → useHighlightSelectionDescription-CQaG611l.cjs} +1 -1
- package/{useHover-DQvJ3Y-W.js → useHover-D6bNIkU0.js} +76 -74
- package/useHover-DGAmG7jt.cjs +1 -0
- package/{useLabels-CSU0kbtJ.cjs → useLabels-CvUk-yS3.cjs} +1 -1
- package/{useLabels-LrKQiY11.js → useLabels-Kmq5JCp_.js} +1 -1
- package/useListState-D2IEg6_e.cjs +1 -0
- package/{useListState-B3c3xcNW.js → useListState-pixYqSLl.js} +43 -42
- package/usePress-CicXV7UO.cjs +7 -0
- package/{usePress-BW47IcyU.js → usePress-DMUpU0GU.js} +153 -149
- package/{useSingleSelectListState-DdBsBWKG.js → useSingleSelectListState-BlvpP8y-.js} +1 -1
- package/{useSingleSelectListState-DlO5H9N-.cjs → useSingleSelectListState-CwWK_Dx2.cjs} +1 -1
- package/{useTextField-DjxayZsV.js → useTextField-BC5X_AO_.js} +30 -27
- package/useTextField-Cxpfu0U3.cjs +1 -0
- package/useToggleState-BVOqL4hI.js +21 -0
- package/useToggleState-SqDyNfRi.cjs +1 -0
- package/utils/types.d.ts +4 -0
- package/{utils-DHNZrQmj.cjs → utils-CMHKYKlz.cjs} +1 -1
- package/{utils-KLjWgdLR.js → utils-Cpcjg55U.js} +1 -1
- package/utils-DFIwp4PB.js +262 -0
- package/utils-__vrf9VZ.cjs +1 -0
- package/AccordionItem-BPOQqTkQ.js +0 -323
- package/AccordionItem-CS-QKqrU.cjs +0 -1
- package/BadgeContainer-CKBIZWsc.js +0 -37
- package/Breadcrumbs-BBzSV4SK.js +0 -262
- package/Breadcrumbs-CFUryOhf.cjs +0 -1
- package/Button-DExMoP5f.cjs +0 -1
- package/Button.module-D-mPLRxe.js +0 -14
- package/Button.module-goCEz5qs.cjs +0 -1
- package/ButtonGroup-DUqW5dzM.cjs +0 -1
- package/Card-BRs1FKX5.js +0 -131
- package/Card-cdL5669N.cjs +0 -1
- package/Checkbox-Co3h0hur.cjs +0 -1
- package/Checkbox-EB_SCBEo.js +0 -264
- package/CheckboxGroup-CT_eqERw.cjs +0 -1
- package/CheckboxGroup-DvrN1oyw.js +0 -159
- package/Collection-BtBX5IMY.cjs +0 -1
- package/Collection-D2jVTmDW.js +0 -577
- package/ComboBox-D_jh7TKo.cjs +0 -1
- package/DateField-BURrxhil.cjs +0 -1
- package/DateField-DKCbEonm.js +0 -47
- package/DateInputDivider-ToFY-yjB.cjs +0 -1
- package/DateRangePicker-B5vx9onl.js +0 -870
- package/DateRangePicker-DkIAEIIj.cjs +0 -6
- package/Dialog-CxHiZorC.cjs +0 -1
- package/Dialog-D5c_dUnB.js +0 -1611
- package/Dialog-DtHk3eXI.cjs +0 -1
- package/Dialog-DuGcBeNN.js +0 -212
- package/DragAndDrop-CSg60YQE.cjs +0 -1
- package/DragAndDrop-DOXLfJaA.js +0 -60
- package/Dropdown-CYakzdJg.cjs +0 -6
- package/FieldError-Bv3Q6ZP-.cjs +0 -1
- package/FocusScope-vcXLOQiu.cjs +0 -1
- package/Grid-DVQtOcu9.cjs +0 -1
- package/GridItem-DlbSdRmB.js +0 -246
- package/GridItem-XgHmZWXY.cjs +0 -1
- package/Heading-CKTR4sOz.cjs +0 -1
- package/Heading-D2y_kiC0.js +0 -46
- package/InfoBanner-CzwbOdRG.cjs +0 -1
- package/InfoBanner-D05poAe3.js +0 -91
- package/Label-ChjDdBlv.cjs +0 -1
- package/Layout-D0E1fOgZ.cjs +0 -16
- package/Layout-DtyhUz-G.js +0 -498
- package/Link-CibH8uRY.js +0 -72
- package/Link-CidjjqHb.cjs +0 -1
- package/Link-ESjrl63P.cjs +0 -6
- package/LinkButton-B6AWNiRn.cjs +0 -6
- package/LinkButton-BkZULm2a.js +0 -69
- package/ListBox-B0E1hdEt.cjs +0 -1
- package/ListBox-Djy7244v.js +0 -531
- package/ListBoxButton-CIqNRR3y.cjs +0 -1
- package/ListBoxButton-sqirI6I4.js +0 -15
- package/ListBoxSection-BYJccE4T.cjs +0 -1
- package/ListBoxSection-Cicbu8pS.js +0 -1058
- package/ListKeyboardDelegate-ZKBk2IId.cjs +0 -1
- package/OverlayArrow-DB_aVTVM.js +0 -507
- package/OverlayArrow-DpZ1FqOd.cjs +0 -1
- package/ProgressBar-ClysdvqU.cjs +0 -1
- package/ProgressBar-DTn23Zkr.js +0 -53
- package/Radio-CCN3o3s-.js +0 -313
- package/Radio-Cz0vLIBw.cjs +0 -1
- package/RangeCalendar-BY82hPRu.cjs +0 -11
- package/Select-MwvnbChP.js +0 -664
- package/Select-lhIwwJL7.cjs +0 -1
- package/SelectionManager-BJjqIWtf.cjs +0 -1
- package/Separator-DPLEx950.cjs +0 -1
- package/Separator-DvvVAypT.js +0 -59
- package/Skeleton-BAwbfKBW.cjs +0 -1
- package/Skeleton-BePDRmrO.js +0 -40
- package/Spinner-VSyPhiJ9.js +0 -51
- package/Spinner-vof0Y9Hh.cjs +0 -6
- package/TabList-CWMlbijV.cjs +0 -1
- package/TabList-VpTv_Xff.js +0 -435
- package/Table-DGYC-sDq.cjs +0 -16
- package/Tag-bYq-wf5D.cjs +0 -1
- package/Tag-rI-NhuT0.js +0 -748
- package/Text-BPcfhYQ9.js +0 -32
- package/Text-DBHWi5gA.cjs +0 -1
- package/TextArea-CrEALC58.js +0 -119
- package/TextArea-DJKHFKuI.cjs +0 -1
- package/TextField-BAX93sq7.cjs +0 -1
- package/TextField-Dma22dnD.js +0 -120
- package/TextField.module-BcpPBWnD.js +0 -13
- package/TextField.module-Dw5Rtn9y.cjs +0 -1
- package/Toast-DdmSvNaO.cjs +0 -1
- package/ToggleButtonGroup-98z8Dw8-.js +0 -211
- package/ToggleButtonGroup-DZ_wo0qx.cjs +0 -1
- package/Tooltip-DjNc93tV.js +0 -285
- package/Tooltip-pN5W3IK6.cjs +0 -1
- package/circle-check-BErh6TKu.js +0 -26
- package/circle-check-OVUGxwp9.cjs +0 -11
- package/filterDOMProps-BS2lrgFA.cjs +0 -1
- package/filterDOMProps-D6KHYVBX.js +0 -24
- package/index-Dsz3aiWt.cjs +0 -17
- package/mergeProps-B5KXZAI3.cjs +0 -1
- package/tokens-5PzK5zK7.cjs +0 -1
- package/triangle-alert-B_qAPmWC.js +0 -21
- package/triangle-alert-BviJNFjf.cjs +0 -6
- package/useButton-BoIV3kDJ.js +0 -47
- package/useButton-D60q0SQw.cjs +0 -1
- package/useDateFormatter-BJBt0jk_.cjs +0 -1
- package/useFormValidation-BlFGdPZB.cjs +0 -1
- package/useFormValidation-BzzruZKm.js +0 -215
- package/useHover-BE_XKZKe.cjs +0 -1
- package/useListState-wLau6fXo.cjs +0 -1
- package/usePress-BooY_CAy.cjs +0 -7
- package/useTextField-DnRrCg5o.cjs +0 -1
- package/useToggleState-Bz5rAf4C.js +0 -18
- package/useToggleState-DoIkSQdj.cjs +0 -1
- package/utils-CoCR_Fce.js +0 -234
- package/utils-Dvdohqm9.cjs +0 -1
package/link-button/index.js
CHANGED
package/list-box/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 o=require("../ListBoxSection-Dx75ZinL.cjs"),t=require("../ListBoxLoadMoreItem-Ceo73a2q.cjs");exports.ListBox=o.ListBox;exports.ListBoxItem=o.ListBoxItem;exports.ListBoxPopover=o.ListBoxPopover;exports.ListBoxSection=o.ListBoxSection;exports.ListBoxButton=t.ListBoxButton;exports.ListBoxLoadMoreItem=t.ListBoxLoadMoreItem;
|
package/list-box/index.d.ts
CHANGED
package/list-box/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { L as s, a
|
|
2
|
-
import { L as B } from "../
|
|
1
|
+
import { L as s, a, b as L, c as x } from "../ListBoxSection-BCPv9H50.js";
|
|
2
|
+
import { L as i, a as B } from "../ListBoxLoadMoreItem-W11V-Lef.js";
|
|
3
3
|
export {
|
|
4
4
|
s as ListBox,
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
i as ListBoxButton,
|
|
6
|
+
a as ListBoxItem,
|
|
7
|
+
B as ListBoxLoadMoreItem,
|
|
7
8
|
L as ListBoxPopover,
|
|
8
|
-
|
|
9
|
+
x as ListBoxSection
|
|
9
10
|
};
|
package/logo/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Logo-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Logo-CFjZc5u2.cjs");exports.Logo=o.Logo;
|
package/logo/index.js
CHANGED
package/menu/Menu.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MenuProps as AriaMenuProps } from 'react-aria-components';
|
|
2
|
+
import { Size } from '../common/types';
|
|
3
|
+
import { ExcludeKeysFrom } from '../utils/types';
|
|
4
|
+
export type MenuItemObject = ExcludeKeysFrom<{
|
|
5
|
+
[prop: string]: unknown;
|
|
6
|
+
}, 'href'>;
|
|
7
|
+
export interface MenuProps<T> extends AriaMenuProps<T> {
|
|
8
|
+
/** Component size (large: height 40px, medium: height 32px)
|
|
9
|
+
* @default 'large'
|
|
10
|
+
**/
|
|
11
|
+
size?: Size;
|
|
12
|
+
}
|
|
13
|
+
export declare const Menu: <T extends MenuItemObject>({ className, size, ...rest }: MenuProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { MenuItemProps as AriaMenuItemProps } from 'react-aria-components';
|
|
2
|
+
import { LinkDOMProps } from '@react-types/shared';
|
|
3
|
+
import { MenuItemObject } from '.';
|
|
4
|
+
export type MenuItemProps<T> = Omit<AriaMenuItemProps<T>, keyof LinkDOMProps>;
|
|
5
|
+
export declare const MenuItem: <T extends MenuItemObject>(props: MenuItemProps<T>) => import("react/jsx-runtime").JSX.Element;
|
package/menu/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Separator-Cfv2pbWf.cjs");exports.Menu=e.Menu;exports.MenuItem=e.MenuItem;exports.MenuPopover=e.MenuPopover;exports.MenuSection=e.MenuSection;exports.Separator=e.Separator;
|
package/menu/index.d.ts
ADDED
package/menu/index.js
ADDED
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { a as
|
|
3
|
-
import { c as
|
|
4
|
-
const i = typeof document < "u" ?
|
|
1
|
+
import $, { useRef as a, useCallback as b, useState as p, useEffect as y } from "react";
|
|
2
|
+
import { a as x } from "./SSRProvider-40TXmsUG.js";
|
|
3
|
+
import { c as m } from "./clsx-OuTLNxxd.js";
|
|
4
|
+
const i = typeof document < "u" ? $.useLayoutEffect : () => {
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
var d;
|
|
7
|
+
const v = (d = $.useInsertionEffect) !== null && d !== void 0 ? d : i;
|
|
8
|
+
function s(f) {
|
|
7
9
|
const e = a(null);
|
|
8
|
-
return
|
|
10
|
+
return v(() => {
|
|
9
11
|
e.current = f;
|
|
10
12
|
}, [
|
|
11
13
|
f
|
|
12
|
-
]),
|
|
14
|
+
]), b((...c) => {
|
|
13
15
|
const n = e.current;
|
|
14
16
|
return n == null ? void 0 : n(...c);
|
|
15
17
|
}, []);
|
|
16
18
|
}
|
|
17
|
-
function
|
|
18
|
-
let [e, c] =
|
|
19
|
+
function E(f) {
|
|
20
|
+
let [e, c] = p(f), n = a(null), t = s(() => {
|
|
19
21
|
if (!n.current) return;
|
|
20
22
|
let r = n.current.next();
|
|
21
23
|
if (r.done) {
|
|
@@ -27,34 +29,34 @@ function m(f) {
|
|
|
27
29
|
i(() => {
|
|
28
30
|
n.current && t();
|
|
29
31
|
});
|
|
30
|
-
let
|
|
32
|
+
let u = s((r) => {
|
|
31
33
|
n.current = r(e), t();
|
|
32
34
|
});
|
|
33
35
|
return [
|
|
34
36
|
e,
|
|
35
|
-
|
|
37
|
+
u
|
|
36
38
|
];
|
|
37
39
|
}
|
|
38
|
-
let
|
|
40
|
+
let I = !!(typeof window < "u" && window.document && window.document.createElement), l = /* @__PURE__ */ new Map(), o;
|
|
39
41
|
typeof FinalizationRegistry < "u" && (o = new FinalizationRegistry((f) => {
|
|
40
|
-
|
|
42
|
+
l.delete(f);
|
|
41
43
|
}));
|
|
42
|
-
function
|
|
43
|
-
let [e, c] =
|
|
44
|
-
if (o && o.register(
|
|
45
|
-
const r =
|
|
46
|
-
r && !r.includes(n) ? r.push(n) :
|
|
44
|
+
function g(f) {
|
|
45
|
+
let [e, c] = p(f), n = a(null), t = x(e), u = a(null);
|
|
46
|
+
if (o && o.register(u, t), I) {
|
|
47
|
+
const r = l.get(t);
|
|
48
|
+
r && !r.includes(n) ? r.push(n) : l.set(t, [
|
|
47
49
|
n
|
|
48
50
|
]);
|
|
49
51
|
}
|
|
50
52
|
return i(() => {
|
|
51
53
|
let r = t;
|
|
52
54
|
return () => {
|
|
53
|
-
o && o.unregister(
|
|
55
|
+
o && o.unregister(u), l.delete(r);
|
|
54
56
|
};
|
|
55
57
|
}, [
|
|
56
58
|
t
|
|
57
|
-
]),
|
|
59
|
+
]), y(() => {
|
|
58
60
|
let r = n.current;
|
|
59
61
|
return r && c(r), () => {
|
|
60
62
|
r && (n.current = null);
|
|
@@ -63,14 +65,14 @@ function v(f) {
|
|
|
63
65
|
}
|
|
64
66
|
function w(f, e) {
|
|
65
67
|
if (f === e) return f;
|
|
66
|
-
let c =
|
|
68
|
+
let c = l.get(f);
|
|
67
69
|
if (c)
|
|
68
70
|
return c.forEach((t) => t.current = e), e;
|
|
69
|
-
let n =
|
|
71
|
+
let n = l.get(e);
|
|
70
72
|
return n ? (n.forEach((t) => t.current = f), f) : e;
|
|
71
73
|
}
|
|
72
|
-
function
|
|
73
|
-
let e =
|
|
74
|
+
function C(f = []) {
|
|
75
|
+
let e = g(), [c, n] = E(e), t = b(() => {
|
|
74
76
|
n(function* () {
|
|
75
77
|
yield e, yield document.getElementById(e) ? e : void 0;
|
|
76
78
|
});
|
|
@@ -84,32 +86,32 @@ function k(f = []) {
|
|
|
84
86
|
...f
|
|
85
87
|
]), c;
|
|
86
88
|
}
|
|
87
|
-
function
|
|
89
|
+
function R(...f) {
|
|
88
90
|
return (...e) => {
|
|
89
91
|
for (let c of f) typeof c == "function" && c(...e);
|
|
90
92
|
};
|
|
91
93
|
}
|
|
92
|
-
function
|
|
94
|
+
function F(...f) {
|
|
93
95
|
let e = {
|
|
94
96
|
...f[0]
|
|
95
97
|
};
|
|
96
98
|
for (let c = 1; c < f.length; c++) {
|
|
97
99
|
let n = f[c];
|
|
98
100
|
for (let t in n) {
|
|
99
|
-
let
|
|
100
|
-
typeof
|
|
101
|
+
let u = e[t], r = n[t];
|
|
102
|
+
typeof u == "function" && typeof r == "function" && // This is a lot faster than a regex.
|
|
101
103
|
t[0] === "o" && t[1] === "n" && t.charCodeAt(2) >= /* 'A' */
|
|
102
104
|
65 && t.charCodeAt(2) <= /* 'Z' */
|
|
103
|
-
90 ? e[t] =
|
|
105
|
+
90 ? e[t] = R(u, r) : (t === "className" || t === "UNSAFE_className") && typeof u == "string" && typeof r == "string" ? e[t] = m(u, r) : t === "id" && u && r ? e.id = w(u, r) : e[t] = r !== void 0 ? r : u;
|
|
104
106
|
}
|
|
105
107
|
}
|
|
106
108
|
return e;
|
|
107
109
|
}
|
|
108
110
|
export {
|
|
109
111
|
i as $,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
d,
|
|
114
|
-
|
|
112
|
+
F as a,
|
|
113
|
+
C as b,
|
|
114
|
+
g as c,
|
|
115
|
+
s as d,
|
|
116
|
+
R as e
|
|
115
117
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const l=require("react"),p=require("./SSRProvider-Bc-sMhsT.cjs"),x=require("./clsx-C11secjj.cjs"),d=typeof document<"u"?l.useLayoutEffect:()=>{};var i;const y=(i=l.useInsertionEffect)!==null&&i!==void 0?i:d;function $(n){const e=l.useRef(null);return y(()=>{e.current=n},[n]),l.useCallback((...r)=>{const c=e.current;return c==null?void 0:c(...r)},[])}function v(n){let[e,r]=l.useState(n),c=l.useRef(null),t=$(()=>{if(!c.current)return;let f=c.current.next();if(f.done){c.current=null;return}e===f.value?t():r(f.value)});d(()=>{c.current&&t()});let u=$(f=>{c.current=f(e),t()});return[e,u]}let R=!!(typeof window<"u"&&window.document&&window.document.createElement),o=new Map,a;typeof FinalizationRegistry<"u"&&(a=new FinalizationRegistry(n=>{o.delete(n)}));function s(n){let[e,r]=l.useState(n),c=l.useRef(null),t=p.$b5e257d569688ac6$export$619500959fc48b26(e),u=l.useRef(null);if(a&&a.register(u,t),R){const f=o.get(t);f&&!f.includes(c)?f.push(c):o.set(t,[c])}return d(()=>{let f=t;return()=>{a&&a.unregister(u),o.delete(f)}},[t]),l.useEffect(()=>{let f=c.current;return f&&r(f),()=>{f&&(c.current=null)}}),t}function E(n,e){if(n===e)return n;let r=o.get(n);if(r)return r.forEach(t=>t.current=e),e;let c=o.get(e);return c?(c.forEach(t=>t.current=n),n):e}function I(n=[]){let e=s(),[r,c]=v(e),t=l.useCallback(()=>{c(function*(){yield e,yield document.getElementById(e)?e:void 0})},[e,c]);return d(t,[e,t,...n]),r}function b(...n){return(...e)=>{for(let r of n)typeof r=="function"&&r(...e)}}function g(...n){let e={...n[0]};for(let r=1;r<n.length;r++){let c=n[r];for(let t in c){let u=e[t],f=c[t];typeof u=="function"&&typeof f=="function"&&t[0]==="o"&&t[1]==="n"&&t.charCodeAt(2)>=65&&t.charCodeAt(2)<=90?e[t]=b(u,f):(t==="className"||t==="UNSAFE_className")&&typeof u=="string"&&typeof f=="string"?e[t]=x.clsx(u,f):t==="id"&&u&&f?e.id=E(u,f):e[t]=f!==void 0?f:u}}return e}exports.$3ef42575df84b30b$export$9d1611c77c2fe928=g;exports.$8ae05eaa5c114e9c$export$7f54fc3180508a52=$;exports.$bdb11010cef70236$export$b4cc09c592e8fdb8=I;exports.$bdb11010cef70236$export$f680877a34711e37=s;exports.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c=d;exports.$ff5963eb1fccf552$export$e08e3b67e392101e=b;
|
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-DgJobm71.cjs"),o=require("../Dialog-DR6nEqMT.cjs");exports.Modal=e.Modal;exports.DialogTrigger=o.$de32f1b87079253c$export$2e1e1122cf0cba88;
|
package/modal/index.js
CHANGED
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"description": "Midas Components",
|
|
15
15
|
"homepage": "https://designsystem.migrationsverket.se/",
|
|
16
16
|
"license": "CC0-1.0",
|
|
17
|
-
"version": "
|
|
17
|
+
"version": "12.1.0",
|
|
18
18
|
"main": "./index.cjs",
|
|
19
19
|
"module": "./index.js",
|
|
20
20
|
"types": "./index.d.ts",
|
|
@@ -46,11 +46,16 @@
|
|
|
46
46
|
},
|
|
47
47
|
"./global.css": {
|
|
48
48
|
"import": "./assets/global.css"
|
|
49
|
+
},
|
|
50
|
+
"./theme.css": {
|
|
51
|
+
"import": "./assets/theme.css"
|
|
52
|
+
},
|
|
53
|
+
"./variables.css": {
|
|
54
|
+
"import": "./assets/variables.css"
|
|
49
55
|
}
|
|
50
56
|
},
|
|
51
57
|
"dependencies": {
|
|
52
|
-
"react-aria": "^
|
|
53
|
-
"react-
|
|
54
|
-
"react-stately": "^3.36.1"
|
|
58
|
+
"react-aria-components": "^1.12.1",
|
|
59
|
+
"react-stately": "^3.39.0"
|
|
55
60
|
}
|
|
56
61
|
}
|
package/popover/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Popover-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Popover-Bi5yJEoE.cjs");exports.Popover=e.Popover;
|
package/popover/index.js
CHANGED
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-CjuHokVZ.cjs");exports.ProgressBar=r.ProgressBar;
|
package/progress-bar/index.js
CHANGED
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-Bll-7H8O.cjs");exports.Radio=o.Radio;exports.RadioGroup=o.RadioGroup;
|
package/radio/index.js
CHANGED
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-BbrUZpQm.cjs");exports.SearchField=e.SearchField;
|
package/search-field/index.js
CHANGED
package/select/Select.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SelectProps } from './types';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
export declare const Select: React.ForwardRefExoticComponent<Omit<SelectProps, "children" | "items"> & {
|
|
4
|
-
options: import('
|
|
4
|
+
options: import('..').ListBoxOption[];
|
|
5
5
|
} & React.RefAttributes<HTMLButtonElement>>;
|
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-BnbDXwgD.cjs");exports.Select=e.Select;
|
package/select/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from './Select';
|
|
2
|
-
export type { SelectContainerProps as SelectProps, SelectionMode,
|
|
2
|
+
export type { SelectContainerProps as SelectProps, SelectionMode, } from './types';
|
package/select/index.js
CHANGED
package/select/types.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { AriaListBoxOptions } from 'react-aria';
|
|
|
8
8
|
import { AriaButtonProps } from '@react-types/button';
|
|
9
9
|
import { AriaSelectProps } from '@react-types/select';
|
|
10
10
|
import { Size } from '../common/types';
|
|
11
|
-
import {
|
|
11
|
+
import { ListBoxOption } from '../list-box/';
|
|
12
12
|
/**
|
|
13
13
|
* Props used for setting up the list state
|
|
14
14
|
*/
|
|
@@ -174,15 +174,3 @@ export type SelectContainerProps = Omit<SelectProps, 'children' | 'items'> & {
|
|
|
174
174
|
/** Item objects in the collection. */
|
|
175
175
|
options: ListBoxOption[];
|
|
176
176
|
};
|
|
177
|
-
/**
|
|
178
|
-
* @deprecated since v10.1.0 please use `ListBoxOption` intead
|
|
179
|
-
*/
|
|
180
|
-
export type Option = ListBoxOption;
|
|
181
|
-
/**
|
|
182
|
-
* @deprecated since v10.1.0 please use `ListBoxItemElement` intead
|
|
183
|
-
*/
|
|
184
|
-
export type OptionItem = ListBoxItemElement;
|
|
185
|
-
/**
|
|
186
|
-
* @deprecated since v10.1.0 please use `ListBoxSectionElement` intead
|
|
187
|
-
*/
|
|
188
|
-
export type OptionSection = ListBoxSectionElement;
|
package/skeleton/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Skeleton-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Skeleton-DMOxEwnd.cjs");exports.Skeleton=e.Skeleton;
|
package/skeleton/index.js
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-D1UBuLy4.cjs");exports.Spinner=e.Spinner;
|
package/spinner/index.js
CHANGED
package/table/Table.d.ts
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import { RowProps, TableHeaderProps, ColumnProps, TableProps as AriaTableProps, CellProps,
|
|
1
|
+
import { RowProps, TableHeaderProps, ColumnProps, TableProps as AriaTableProps, CellProps, TableBodyProps } from 'react-aria-components';
|
|
2
2
|
import { Size } from '../common/types';
|
|
3
3
|
export interface TableProps extends AriaTableProps {
|
|
4
|
-
/**
|
|
5
|
-
* A more compact version of the table
|
|
6
|
-
* @deprecated since v10.1.1, please use the `size` prop instead.
|
|
7
|
-
*/
|
|
8
|
-
narrow?: boolean;
|
|
9
4
|
/** Row height (large: 48px, medium: 40px)
|
|
10
5
|
* @default 'large'
|
|
11
6
|
* */
|
|
@@ -15,9 +10,9 @@ export interface TableProps extends AriaTableProps {
|
|
|
15
10
|
*/
|
|
16
11
|
striped?: boolean;
|
|
17
12
|
}
|
|
18
|
-
export declare const Table: ({
|
|
19
|
-
export declare const TableHeader: <T extends object>({ columns, children, }: TableHeaderProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export declare const Row: <T extends object>({ id, columns, children, ...rest }: RowProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export declare const Column: ({ children, ...rest }: ColumnProps) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
export declare const Cell: ({ ...rest }: CellProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
export
|
|
13
|
+
export declare const Table: ({ size, striped, className, ...rest }: TableProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const TableHeader: <T extends object>({ columns, children, className, }: TableHeaderProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const Row: <T extends object>({ id, columns, children, className, ...rest }: RowProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare const Column: ({ children, className, ...rest }: ColumnProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare const Cell: ({ className, ...rest }: CellProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare const TableBody: <T extends object>({ className, ...rest }: TableBodyProps<T>) => import("react/jsx-runtime").JSX.Element;
|
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-C6k3PiiC.cjs");exports.Cell=e.Cell;exports.Column=e.Column;exports.Row=e.Row;exports.Table=e.Table;exports.TableBody=e.TableBody;exports.TableHeader=e.TableHeader;
|
package/table/index.js
CHANGED
package/tabs/Tabs.d.ts
CHANGED
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
import { TabsProps as AriaTabsProps } from 'react-aria-components';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
export interface TabsProps extends AriaTabsProps {
|
|
4
|
-
/**
|
|
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}
|
|
8
|
-
*/
|
|
9
|
-
tabs?: string[];
|
|
10
|
-
/**
|
|
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}
|
|
14
|
-
*/
|
|
15
|
-
label?: string;
|
|
16
4
|
/**
|
|
17
5
|
* The orientation of the tabs.
|
|
18
6
|
* Will adjust to screen size automatically if omitted
|
package/tabs/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../TabList-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../TabList-D4WwgQY3.cjs");exports.Tab=a.Tab;exports.TabList=a.TabList;exports.TabPanel=a.TabPanel;exports.Tabs=a.Tabs;
|
package/tabs/index.js
CHANGED
package/tag/Tag.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TagGroupProps as AriaTagGroupProps, TagProps as AriaTagProps } from 'react-aria-components';
|
|
2
|
+
import { FeedbackStatus } from '../common/types';
|
|
2
3
|
import * as React from 'react';
|
|
3
4
|
export interface TagGroupProp extends AriaTagGroupProps {
|
|
4
5
|
children: React.ReactNode;
|
|
@@ -6,7 +7,7 @@ export interface TagGroupProp extends AriaTagGroupProps {
|
|
|
6
7
|
export interface TagProps extends AriaTagProps {
|
|
7
8
|
children: React.ReactNode;
|
|
8
9
|
dismissable?: boolean;
|
|
9
|
-
type?:
|
|
10
|
+
type?: FeedbackStatus;
|
|
10
11
|
}
|
|
11
12
|
export declare const TagGroup: React.FC<TagGroupProp>;
|
|
12
13
|
export declare const Tag: React.FC<TagProps>;
|
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-7dHEMQum.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-BAFsaON-.cjs");exports.Text=e.Text;
|
package/text/index.js
CHANGED
package/textfield/Input.d.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
import { InputProps } from 'react-aria-components';
|
|
1
|
+
import { InputProps as AriaInputProps } from 'react-aria-components';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
export
|
|
3
|
+
export interface InputProps extends AriaInputProps {
|
|
4
|
+
/** If the component should use local props and ref instead of a parent context
|
|
5
|
+
* @default false
|
|
6
|
+
*/
|
|
7
|
+
skipContext?: boolean;
|
|
8
|
+
}
|
|
4
9
|
export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
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-BCikUXaD.cjs");exports.Input=e.Input;exports.TextArea=e.TextArea;exports.TextField=e.TextField;exports.TextFieldBase=e.TextFieldBase;
|
package/textfield/index.js
CHANGED