@midas-ds/components 12.0.0 → 12.1.1
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-CV9Hrare.cjs +1 -0
- package/AccordionItem-Dd9VLdsb.js +335 -0
- package/{BadgeContainer-DGJGJMPi.js → BadgeContainer-iNNgJKD9.js} +8 -8
- package/BadgeContainer-su0iCJKy.cjs +1 -0
- package/Breadcrumbs-BQLxFZVm.cjs +1 -0
- package/Breadcrumbs-C6B4fyk3.js +271 -0
- package/Button-CMIbSc4-.cjs +1 -0
- package/{Button-akT6Hvug.js → Button-CUMHt7MG.js} +2 -2
- package/{Button-DtC_ZOyd.js → Button-DD5_S-tD.js} +155 -161
- package/{Button-DQm2iqKU.cjs → Button-D_tRdPW9.cjs} +1 -1
- package/Button.module-BT9wZenr.cjs +1 -0
- package/Button.module-CGIVvzVm.js +14 -0
- package/{ButtonGroup-DvVvear6.js → ButtonGroup-DC8925jD.js} +1 -1
- package/ButtonGroup-zx-9mxbJ.cjs +1 -0
- package/CHANGELOG.md +82 -0
- package/{Card-CwwVnA_a.js → Card-D2UbrhDW.js} +42 -42
- package/Card-UolcSL5O.cjs +1 -0
- package/{CharacterCounter-DQJVM-mZ.cjs → CharacterCounter-CnRv-iUP.cjs} +1 -1
- package/CharacterCounter-DT7A0wWP.js +22 -0
- package/Checkbox-DTuryJdM.js +278 -0
- package/Checkbox-dtZfsSfx.cjs +1 -0
- package/CheckboxGroup-BmCK0XG9.js +157 -0
- package/CheckboxGroup-DbmYdQEv.cjs +1 -0
- package/Collection-B0_WAieZ.js +625 -0
- package/Collection-BvWp2xBd.cjs +1 -0
- package/{ColorSchemeSwitch-DyZ9FAKG.js → ColorSchemeSwitch-CgZfgCG4.js} +20 -28
- package/{ColorSchemeSwitch-DtyJ9-5B.cjs → ColorSchemeSwitch-D5juAHPc.cjs} +3 -3
- package/{ComboBox-Dn3tQzri.js → ComboBox-Cl6jBB-8.js} +518 -503
- package/ComboBox-CvD0t2T2.cjs +1 -0
- package/DateField-D2IqGDL5.js +47 -0
- package/DateField-DJAQH95Q.cjs +1 -0
- package/DateInputDivider-BnSo_Aox.cjs +1 -0
- package/{DateInputDivider-CJEGWmG0.js → DateInputDivider-LxS0Kw1H.js} +936 -839
- package/DateRangePicker-CNPXbRqx.js +889 -0
- package/DateRangePicker-CljQy8oD.cjs +6 -0
- package/Dialog-B8swxl24.js +1643 -0
- package/Dialog-COpVrq8B.js +240 -0
- package/Dialog-DR6nEqMT.cjs +1 -0
- package/Dialog-doGnVsJJ.cjs +1 -0
- package/DragAndDrop-Dw8JZmrn.cjs +1 -0
- package/DragAndDrop-PrUJv--B.js +75 -0
- package/{Dropdown-CJ-sujKv.cjs → Dropdown-C_W6Sizy.cjs} +2 -2
- package/{Dropdown-BWbdSQ9U.js → Dropdown-DbeUiGYo.js} +8 -8
- package/FieldError-Cornph2A.cjs +1 -0
- package/FieldError-DdvFyIf4.js +48 -0
- package/{FileUpload-B89QfnCB.js → FileUpload-D2gnQKdn.js} +76 -74
- package/{FileUpload-KQ1XAKAc.cjs → FileUpload-D3RaARDV.cjs} +2 -2
- package/{FocusScope-CEgd3xCY.js → FocusScope-Bj40Ir-g.js} +192 -195
- package/FocusScope-Uy3DiY0-.cjs +1 -0
- package/{Grid-B2av0vt8.js → Grid-BmX6arAO.js} +1 -1
- package/{Grid-Db5wZrw6.cjs → Grid-Bn1bCTH8.cjs} +1 -1
- package/GridItem-BtO9kCX9.js +237 -0
- package/GridItem-luVsL9lu.cjs +1 -0
- package/{Group-Cdy6z9ra.cjs → Group-BKYGeOBr.cjs} +1 -1
- package/{Group-B3mRMVy7.js → Group-C73mD_-i.js} +13 -13
- package/Heading-BQlmb5Tm.js +46 -0
- package/Heading-D3FR_KXb.cjs +1 -0
- package/{Hidden-B5ir3Lei.js → Hidden-C9KWUR7b.js} +2 -2
- package/InfoBanner-CgmPdsH8.js +83 -0
- package/InfoBanner-Y-f3hKVR.cjs +1 -0
- package/{Input-BnpBRnJz.js → Input-BLVRv0FK.js} +9 -9
- package/{Input-DIhhWEPW.cjs → Input-CzMx2mfl.cjs} +1 -1
- package/{Label-ByWt6Lfh.js → Label-C5TNJ0Ku.js} +24 -28
- package/Label-Dp85Vue3.cjs +1 -0
- package/Layout-Bxd0-ao3.cjs +16 -0
- package/Layout-CcXu63hP.js +482 -0
- package/Link-CbFSuEI1.js +73 -0
- package/Link-ePZ3nrAW.cjs +6 -0
- package/Link-lO-Ke97K.js +60 -0
- package/Link-wM7cVPlS.cjs +1 -0
- package/LinkButton-CJyZh3BS.js +69 -0
- package/LinkButton-Cw73pOM2.cjs +6 -0
- package/ListBox-ICZKGluC.cjs +1 -0
- package/ListBox-LncMQt6I.js +523 -0
- package/ListBoxLoadMoreItem-3jGpi90m.cjs +1 -0
- package/ListBoxLoadMoreItem-CIFJ3liN.js +41 -0
- package/ListBoxSection-BBY8-t3_.js +1085 -0
- package/ListBoxSection-BeDwnVZx.cjs +1 -0
- package/{ListKeyboardDelegate-mcrZobNa.js → ListKeyboardDelegate-CVxkAn5D.js} +13 -9
- package/ListKeyboardDelegate-C_X1wLkh.cjs +1 -0
- package/{Logo-BW5NXAdu.cjs → Logo-CFjZc5u2.cjs} +1 -1
- package/{Logo-qkVS1MCN.js → Logo-DkagDdKQ.js} +15 -19
- package/OverlayArrow-ByH6lM-H.cjs +1 -0
- package/OverlayArrow-CvNuu3e3.js +519 -0
- package/{Popover-C5chAY42.cjs → Popover-Bi5yJEoE.cjs} +1 -1
- package/{Popover-viLqHHX2.js → Popover-CyEVqpJ6.js} +11 -11
- package/{PressResponder-B_Zqu7b1.js → PressResponder-CxVtArtP.js} +9 -9
- package/PressResponder-DbnYqwGB.cjs +1 -0
- package/ProgressBar-BYb9d2kC.js +53 -0
- package/ProgressBar-CgbE08QT.cjs +1 -0
- package/Radio-BagVPvJX.cjs +1 -0
- package/Radio-C98ly9yx.js +333 -0
- package/{RangeCalendar-DGGMbb0j.js → RangeCalendar-Bi9jc61A.js} +637 -629
- package/RangeCalendar-KcJooXYf.cjs +6 -0
- package/{SSRProvider-D8lZ0o6A.js → SSRProvider-40TXmsUG.js} +5 -5
- package/{SSRProvider-DZRLwxPS.cjs → SSRProvider-Bc-sMhsT.cjs} +1 -1
- package/{SearchField-Ma3KB8Em.cjs → SearchField-BA-X9dzb.cjs} +2 -2
- package/{SearchField-B0dlPqsW.js → SearchField-BevjTbcW.js} +52 -56
- package/Select-BECa8IyZ.js +654 -0
- package/Select-xBp51JSl.cjs +1 -0
- package/{SelectionManager-BdKKuso-.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-Iovq135_.js +35 -0
- package/Skeleton-MaBUPqhT.cjs +1 -0
- package/Spinner-BZ7i01Kt.js +47 -0
- package/{Spinner-yHx_DX_4.cjs → Spinner-DxWDMW6e.cjs} +2 -2
- package/TabList-BMyKYLlY.cjs +1 -0
- package/TabList-C0mZgIzV.js +397 -0
- package/Table-BHY1uCZ0.cjs +16 -0
- package/{Table-CTS0J_sQ.js → Table-DzbfeVO7.js} +856 -798
- package/Tag-BYUPXbhG.js +765 -0
- package/Tag-BweDKw1v.cjs +1 -0
- package/Text-BAFsaON-.cjs +1 -0
- package/{Text--KL3Auo7.js → Text-Be7WIOwv.js} +3 -3
- package/{Text-wuw0HQoa.cjs → Text-BtPiT2P1.cjs} +1 -1
- package/Text-CmlsaWMA.js +32 -0
- package/TextArea-CDoLq124.js +125 -0
- package/TextArea-DJCtwrqV.cjs +1 -0
- package/TextField-Bm5916AD.cjs +1 -0
- package/TextField-_UY8CXtW.js +134 -0
- package/TextField.module-CH39P8ZE.js +13 -0
- package/TextField.module-gJ-ruFra.cjs +1 -0
- package/{Toast-BEh5yYzO.cjs → Toast-BN3vRCsH.cjs} +1 -1
- package/{Toast-BnzpC_5v.js → Toast-DZnQTLDr.js} +129 -143
- package/ToggleButtonGroup-CwHPu7w5.js +214 -0
- package/ToggleButtonGroup-DY9S3USc.cjs +1 -0
- package/Tooltip-BHAtsp9k.js +281 -0
- package/Tooltip-CZa9n5sT.cjs +1 -0
- package/{VisuallyHidden-BKslUoMJ.js → VisuallyHidden-CGEtjAP7.js} +8 -8
- package/{VisuallyHidden-DxDOcIsh.cjs → VisuallyHidden-EjrqodVh.cjs} +1 -1
- 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 -1
- package/assets/variables.css +1 -0
- package/badge/index.cjs +1 -1
- package/badge/index.js +1 -1
- package/breadcrumbs/index.cjs +1 -1
- package/breadcrumbs/index.js +1 -1
- package/button/index.cjs +1 -1
- package/button/index.js +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/index.cjs +1 -1
- package/combobox/index.d.ts +1 -1
- package/combobox/index.js +1 -1
- package/combobox/intl/translations.json.d.ts +4 -2
- package/{context-Dl_saGB6.js → context-CGNJ3grH.js} +11 -11
- package/{context-UOrD6Zxk.cjs → context-Df3XbgBG.cjs} +1 -1
- 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 +18 -0
- 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/index.cjs +1 -1
- package/grid/index.js +2 -2
- package/heading/index.cjs +1 -1
- package/heading/index.js +1 -1
- package/{index-BSMrH_Du.js → index-BLPblar-.js} +33 -30
- package/{index-D97L3EBk.cjs → index-DSFSh2sC.cjs} +3 -3
- package/index.cjs +1 -1
- package/index.d.ts +2 -0
- package/index.js +140 -125
- package/inertValue-B3AFhVG4.cjs +1 -0
- 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-BSsN7Bgk.js +117 -0
- package/mergeProps-JhcJ7uJL.cjs +1 -0
- package/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/package.json +6 -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.js +1 -1
- 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/index.cjs +1 -1
- package/table/index.js +1 -1
- package/tabs/index.cjs +1 -1
- package/tabs/index.js +1 -1
- package/tag/index.cjs +1 -1
- package/tag/index.js +1 -1
- package/text/index.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 +381 -0
- package/theme/generated-tokens.d.ts +331 -0
- package/theme/index.cjs +1 -1
- package/theme/index.d.ts +4 -1
- package/theme/index.js +3989 -14
- package/theme/tokens.d.ts +30 -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-BWo7EvNX.cjs → tokens-B3FfJ-rY.cjs} +1 -1
- package/{tokens-BtEBd3jO.js → tokens-B9ooUP4g.js} +1 -2
- 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-DiIUdTak.js → useDateFormatter-BJ1ZyaH1.js} +431 -407
- package/{useDescription-LmB1V4Tg.js → useDescription-BLmIkYCq.js} +1 -1
- package/{useDescription-ByNlNIRU.cjs → useDescription-BMuiAqI5.cjs} +1 -1
- package/useEvent-3ZO5TPSH.cjs +1 -0
- package/{useEvent-DqWz89vg.js → useEvent-DpBHTuHJ.js} +1 -1
- package/{useField-5CEdtfab.js → useField-BMegM8fA.js} +2 -2
- package/{useField-CoQAzygg.cjs → useField-DyeD7MLj.cjs} +1 -1
- package/{useFilter-BKQT28sh.js → useFilter-BFnSe_Eq.js} +1 -1
- package/{useFilter-Bjh5dq2Q.cjs → useFilter-aoggM85n.cjs} +1 -1
- package/{useFocusRing-BM-zcH6L.cjs → useFocusRing-BcbYske2.cjs} +1 -1
- package/{useFocusRing-HoJn20X5.js → useFocusRing-DMo8ctYV.js} +2 -2
- package/{useFocusWithin-Cn18Myw6.js → useFocusWithin-ClMkhYcq.js} +1 -1
- package/{useFocusWithin-o0WjCpEB.cjs → useFocusWithin-DTnk0e8a.cjs} +1 -1
- package/{useFocusable-DbmryjUH.cjs → useFocusable-CsG-IPuC.cjs} +1 -1
- package/{useFocusable-ZjCKo1ed.js → useFocusable-DXlMChFC.js} +14 -14
- package/useFormValidation-BQIRxgbU.cjs +1 -0
- package/useFormValidation-L0UHvOsP.js +217 -0
- package/{useHasTabbableChild-CyOmqumh.js → useHasTabbableChild-BDaxMsGu.js} +2 -2
- package/useHasTabbableChild-CJcLnolh.cjs +1 -0
- package/{useHighlightSelectionDescription-DTxHtOsw.js → useHighlightSelectionDescription-BkEv9Jye.js} +5 -5
- package/{useHighlightSelectionDescription-DAhPdEG6.cjs → useHighlightSelectionDescription-CQaG611l.cjs} +1 -1
- package/{useHover-D8fja4GW.js → useHover-D6bNIkU0.js} +81 -79
- package/useHover-DGAmG7jt.cjs +1 -0
- package/{useLabels-BtDN_ALM.cjs → useLabels-CvUk-yS3.cjs} +1 -1
- package/{useLabels-DZlvh4P4.js → useLabels-Kmq5JCp_.js} +1 -1
- package/useListState-D2IEg6_e.cjs +1 -0
- package/{useListState-e7cL-FOK.js → useListState-pixYqSLl.js} +43 -42
- package/{useLocalizedStringFormatter-BSac43NO.cjs → useLocalizedStringFormatter-BO2iZEL0.cjs} +1 -1
- package/useLocalizedStringFormatter-BiX5BTlb.cjs +1 -0
- package/{useLocalizedStringFormatter-CSEh15AZ.js → useLocalizedStringFormatter-CL9MUZ8A.js} +1 -1
- package/{useLocalizedStringFormatter-aOhh7wdl.js → useLocalizedStringFormatter-N0AyjzbM.js} +1 -1
- package/useObserveElement-MhzEsCkX.cjs +1 -0
- package/usePress-CicXV7UO.cjs +7 -0
- package/{usePress-B_jgTf4k.js → usePress-DMUpU0GU.js} +84 -80
- package/{useSingleSelectListState-D7LjjoUJ.js → useSingleSelectListState-BlvpP8y-.js} +1 -1
- package/{useSingleSelectListState-BiJMNaOl.cjs → useSingleSelectListState-CwWK_Dx2.cjs} +1 -1
- package/useTextField-BC5X_AO_.js +89 -0
- package/useTextField-Cxpfu0U3.cjs +1 -0
- package/useToggleState-BVOqL4hI.js +21 -0
- package/useToggleState-SqDyNfRi.cjs +1 -0
- package/{useUpdateEffect-sk3kiVGz.cjs → useUpdateEffect-C5YQs_1w.cjs} +1 -1
- package/utils/types.d.ts +4 -0
- package/{utils-BM2vxlNA.cjs → utils-CMHKYKlz.cjs} +1 -1
- package/{utils-KYuflGZt.js → utils-Cpcjg55U.js} +10 -10
- package/utils-DFIwp4PB.js +262 -0
- package/utils-__vrf9VZ.cjs +1 -0
- package/AccordionItem-DEiRuizp.js +0 -361
- package/AccordionItem-Dhr7uo8u.cjs +0 -1
- package/BadgeContainer-CxVmqJ7g.cjs +0 -1
- package/Breadcrumbs-CEyKlcGU.js +0 -262
- package/Breadcrumbs-CnGzvtbn.cjs +0 -1
- package/Button-DZzQGk-L.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-DPfOZC7f.cjs +0 -1
- package/CharacterCounter-DPphWPzA.js +0 -22
- package/Checkbox-BN_3F2Hl.js +0 -264
- package/Checkbox-CZtCj4yR.cjs +0 -1
- package/CheckboxGroup--xgOT1Do.js +0 -159
- package/CheckboxGroup-DGHaqRvb.cjs +0 -1
- package/Collection-B1xL4EdF.cjs +0 -1
- package/Collection-C5vE9MtJ.js +0 -577
- package/ComboBox-UadZMhiR.cjs +0 -1
- package/DateField-CNEoLyf5.cjs +0 -1
- package/DateField-CZmLugT0.js +0 -47
- package/DateInputDivider-CCjiq90K.cjs +0 -1
- package/DateRangePicker-DhgLEa9P.cjs +0 -6
- package/DateRangePicker-WQ97Psz7.js +0 -870
- package/Dialog-BT0tVGQb.cjs +0 -1
- package/Dialog-BuJdAr0D.js +0 -1611
- package/Dialog-DYK8lySl.cjs +0 -1
- package/Dialog-L53DWF0Z.js +0 -220
- package/DragAndDrop-DKxsUpmW.js +0 -60
- package/DragAndDrop-Dgfq6uJ0.cjs +0 -1
- package/FieldError-BlKkw9YL.js +0 -46
- package/FieldError-BvU0sueN.cjs +0 -1
- package/FocusScope-CAgWgk3N.cjs +0 -1
- package/GridItem-BnyULDnc.cjs +0 -1
- package/GridItem-orSzD7H5.js +0 -243
- package/Heading-DDhdwRAW.js +0 -46
- package/Heading-OUPkdoEJ.cjs +0 -1
- package/InfoBanner-DpLcq_1R.cjs +0 -1
- package/InfoBanner-U5hxOipC.js +0 -99
- package/Label-COpr4xVt.cjs +0 -1
- package/Layout-BR3Or1Ga.cjs +0 -16
- package/Layout-Bdqauktv.js +0 -498
- package/Link-CM2N5Jq-.js +0 -72
- package/Link-Dnnv00g9.js +0 -60
- package/Link-Dq8IFDBx.cjs +0 -6
- package/Link-ceVlGaWQ.cjs +0 -1
- package/LinkButton-BJA9_HzL.cjs +0 -6
- package/LinkButton-DH3Nfdis.js +0 -69
- package/ListBox-D0u9svwm.cjs +0 -1
- package/ListBox-y_dw__MI.js +0 -531
- package/ListBoxButton-C2zp-gXD.cjs +0 -1
- package/ListBoxButton-DiseS_LX.js +0 -15
- package/ListBoxSection-Cv-gN76G.js +0 -1058
- package/ListBoxSection-DtsigmC1.cjs +0 -1
- package/ListKeyboardDelegate-fZKXmHAk.cjs +0 -1
- package/OverlayArrow-8praV_Xy.cjs +0 -1
- package/OverlayArrow-DfkRZlgG.js +0 -507
- package/PressResponder-Bm3_RM9c.cjs +0 -1
- package/ProgressBar-D5mNQTID.cjs +0 -1
- package/ProgressBar-wQirOG1N.js +0 -53
- package/Radio-BIomn_sP.js +0 -313
- package/Radio-CxvJ5Wrl.cjs +0 -1
- package/RangeCalendar-BvvZ2SBj.cjs +0 -11
- package/Select-769RSZ9V.js +0 -664
- package/Select-Go5x0zWl.cjs +0 -1
- package/SelectionManager-BvREZgeu.cjs +0 -1
- package/Separator-CggS0R7Q.js +0 -59
- package/Separator-DBsDhqCr.cjs +0 -1
- package/Skeleton-BAwbfKBW.cjs +0 -1
- package/Skeleton-BePDRmrO.js +0 -40
- package/Spinner-AXFRWuT6.js +0 -51
- package/TabList-0gj27e_e.js +0 -386
- package/TabList-Cqpup53E.cjs +0 -1
- package/Table-BhtlNY9P.cjs +0 -16
- package/Tag-B9M-nBTM.js +0 -748
- package/Tag-DkW6zaIS.cjs +0 -1
- package/Text-BUDAzDjW.js +0 -32
- package/Text-DA_gK6a2.cjs +0 -1
- package/TextArea-CSrrYY05.cjs +0 -1
- package/TextArea-DphcH6wE.js +0 -119
- package/TextField-CsyRTSEG.js +0 -120
- package/TextField-P5yICj5z.cjs +0 -1
- package/TextField.module-BcpPBWnD.js +0 -13
- package/TextField.module-Dw5Rtn9y.cjs +0 -1
- package/ToggleButtonGroup-BwFAhFEi.cjs +0 -1
- package/ToggleButtonGroup-CuxAKB3-.js +0 -211
- package/Tooltip-Bz0xCZSw.cjs +0 -1
- package/Tooltip-EuEQtHZj.js +0 -285
- package/filterDOMProps-BS2lrgFA.cjs +0 -1
- package/filterDOMProps-D6KHYVBX.js +0 -24
- package/inertValue-BWmZ1afe.cjs +0 -1
- package/mergeProps-BYJQ6N1s.js +0 -115
- package/mergeProps-C7Sx47fA.cjs +0 -1
- package/useButton-CWHoXYnj.js +0 -47
- package/useButton-CwOQUGtY.cjs +0 -1
- package/useDateFormatter-bzjwqA2K.cjs +0 -1
- package/useEvent-CGRyLM2c.cjs +0 -1
- package/useFormValidation-BW2NSTM4.js +0 -215
- package/useFormValidation-DSRwb9US.cjs +0 -1
- package/useHasTabbableChild-CogBR_6o.cjs +0 -1
- package/useHover-CaFzQrR_.cjs +0 -1
- package/useListState-TtWy_rDI.cjs +0 -1
- package/useLocalizedStringFormatter-CHAo1AyN.cjs +0 -1
- package/useObserveElement-BzEr5D32.cjs +0 -1
- package/usePress-BOGIOlm8.cjs +0 -7
- package/useTextField-BVIOd8Ld.cjs +0 -1
- package/useTextField-DFkSHoQN.js +0 -86
- package/useToggleState-Bz5rAf4C.js +0 -18
- package/useToggleState-DoIkSQdj.cjs +0 -1
- package/utils-C5-CzvX2.cjs +0 -1
- package/utils-CuqJqFqQ.js +0 -234
|
@@ -0,0 +1,117 @@
|
|
|
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
|
+
};
|
|
6
|
+
var d;
|
|
7
|
+
const v = (d = $.useInsertionEffect) !== null && d !== void 0 ? d : i;
|
|
8
|
+
function s(f) {
|
|
9
|
+
const e = a(null);
|
|
10
|
+
return v(() => {
|
|
11
|
+
e.current = f;
|
|
12
|
+
}, [
|
|
13
|
+
f
|
|
14
|
+
]), b((...c) => {
|
|
15
|
+
const n = e.current;
|
|
16
|
+
return n == null ? void 0 : n(...c);
|
|
17
|
+
}, []);
|
|
18
|
+
}
|
|
19
|
+
function E(f) {
|
|
20
|
+
let [e, c] = p(f), n = a(null), t = s(() => {
|
|
21
|
+
if (!n.current) return;
|
|
22
|
+
let r = n.current.next();
|
|
23
|
+
if (r.done) {
|
|
24
|
+
n.current = null;
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
e === r.value ? t() : c(r.value);
|
|
28
|
+
});
|
|
29
|
+
i(() => {
|
|
30
|
+
n.current && t();
|
|
31
|
+
});
|
|
32
|
+
let u = s((r) => {
|
|
33
|
+
n.current = r(e), t();
|
|
34
|
+
});
|
|
35
|
+
return [
|
|
36
|
+
e,
|
|
37
|
+
u
|
|
38
|
+
];
|
|
39
|
+
}
|
|
40
|
+
let I = !!(typeof window < "u" && window.document && window.document.createElement), l = /* @__PURE__ */ new Map(), o;
|
|
41
|
+
typeof FinalizationRegistry < "u" && (o = new FinalizationRegistry((f) => {
|
|
42
|
+
l.delete(f);
|
|
43
|
+
}));
|
|
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, [
|
|
49
|
+
n
|
|
50
|
+
]);
|
|
51
|
+
}
|
|
52
|
+
return i(() => {
|
|
53
|
+
let r = t;
|
|
54
|
+
return () => {
|
|
55
|
+
o && o.unregister(u), l.delete(r);
|
|
56
|
+
};
|
|
57
|
+
}, [
|
|
58
|
+
t
|
|
59
|
+
]), y(() => {
|
|
60
|
+
let r = n.current;
|
|
61
|
+
return r && c(r), () => {
|
|
62
|
+
r && (n.current = null);
|
|
63
|
+
};
|
|
64
|
+
}), t;
|
|
65
|
+
}
|
|
66
|
+
function w(f, e) {
|
|
67
|
+
if (f === e) return f;
|
|
68
|
+
let c = l.get(f);
|
|
69
|
+
if (c)
|
|
70
|
+
return c.forEach((t) => t.current = e), e;
|
|
71
|
+
let n = l.get(e);
|
|
72
|
+
return n ? (n.forEach((t) => t.current = f), f) : e;
|
|
73
|
+
}
|
|
74
|
+
function C(f = []) {
|
|
75
|
+
let e = g(), [c, n] = E(e), t = b(() => {
|
|
76
|
+
n(function* () {
|
|
77
|
+
yield e, yield document.getElementById(e) ? e : void 0;
|
|
78
|
+
});
|
|
79
|
+
}, [
|
|
80
|
+
e,
|
|
81
|
+
n
|
|
82
|
+
]);
|
|
83
|
+
return i(t, [
|
|
84
|
+
e,
|
|
85
|
+
t,
|
|
86
|
+
...f
|
|
87
|
+
]), c;
|
|
88
|
+
}
|
|
89
|
+
function R(...f) {
|
|
90
|
+
return (...e) => {
|
|
91
|
+
for (let c of f) typeof c == "function" && c(...e);
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
function F(...f) {
|
|
95
|
+
let e = {
|
|
96
|
+
...f[0]
|
|
97
|
+
};
|
|
98
|
+
for (let c = 1; c < f.length; c++) {
|
|
99
|
+
let n = f[c];
|
|
100
|
+
for (let t in n) {
|
|
101
|
+
let u = e[t], r = n[t];
|
|
102
|
+
typeof u == "function" && typeof r == "function" && // This is a lot faster than a regex.
|
|
103
|
+
t[0] === "o" && t[1] === "n" && t.charCodeAt(2) >= /* 'A' */
|
|
104
|
+
65 && t.charCodeAt(2) <= /* 'Z' */
|
|
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;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
return e;
|
|
109
|
+
}
|
|
110
|
+
export {
|
|
111
|
+
i as $,
|
|
112
|
+
F as a,
|
|
113
|
+
C as b,
|
|
114
|
+
g as c,
|
|
115
|
+
s as d,
|
|
116
|
+
R as e
|
|
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-doGnVsJJ.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": "12.
|
|
17
|
+
"version": "12.1.1",
|
|
18
18
|
"main": "./index.cjs",
|
|
19
19
|
"module": "./index.js",
|
|
20
20
|
"types": "./index.d.ts",
|
|
@@ -49,11 +49,13 @@
|
|
|
49
49
|
},
|
|
50
50
|
"./theme.css": {
|
|
51
51
|
"import": "./assets/theme.css"
|
|
52
|
+
},
|
|
53
|
+
"./variables.css": {
|
|
54
|
+
"import": "./assets/variables.css"
|
|
52
55
|
}
|
|
53
56
|
},
|
|
54
57
|
"dependencies": {
|
|
55
|
-
"react-aria": "^
|
|
56
|
-
"react-
|
|
57
|
-
"react-stately": "^3.36.1"
|
|
58
|
+
"react-aria-components": "^1.12.1",
|
|
59
|
+
"react-stately": "^3.39.0"
|
|
58
60
|
}
|
|
59
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-CgbE08QT.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-BagVPvJX.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-BA-X9dzb.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-xBp51JSl.cjs");exports.Select=e.Select;
|
package/select/index.js
CHANGED
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-MaBUPqhT.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-DxWDMW6e.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-BHY1uCZ0.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/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-BMyKYLlY.cjs");exports.Tab=a.Tab;exports.TabList=a.TabList;exports.TabPanel=a.TabPanel;exports.Tabs=a.Tabs;
|
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-BweDKw1v.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-DJCtwrqV.cjs");exports.Input=e.Input;exports.TextArea=e.TextArea;exports.TextField=e.TextField;exports.TextFieldBase=e.TextFieldBase;
|
package/textfield/index.js
CHANGED