@midas-ds/components 11.2.0 → 12.0.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-DEiRuizp.js +361 -0
- package/AccordionItem-Dhr7uo8u.cjs +1 -0
- package/BadgeContainer-CxVmqJ7g.cjs +1 -0
- package/BadgeContainer-DGJGJMPi.js +37 -0
- package/{Breadcrumbs-BBzSV4SK.js → Breadcrumbs-CEyKlcGU.js} +11 -11
- package/{Breadcrumbs-CFUryOhf.cjs → Breadcrumbs-CnGzvtbn.cjs} +1 -1
- package/{Button-Dq6ugqxT.cjs → Button-DQm2iqKU.cjs} +1 -1
- package/{Button-DExMoP5f.cjs → Button-DZzQGk-L.cjs} +1 -1
- package/{Button-CepQFEit.js → Button-DtC_ZOyd.js} +12 -12
- package/{Button-BjMaGya2.js → Button-akT6Hvug.js} +1 -1
- package/CHANGELOG.md +49 -0
- package/{Card-BRs1FKX5.js → Card-CwwVnA_a.js} +5 -5
- package/Card-DPfOZC7f.cjs +1 -0
- package/{CharacterCounter-DpBDwvLw.js → CharacterCounter-DPphWPzA.js} +5 -5
- package/{CharacterCounter-DSFBv3Rw.cjs → CharacterCounter-DQJVM-mZ.cjs} +1 -1
- package/{Checkbox-EB_SCBEo.js → Checkbox-BN_3F2Hl.js} +21 -21
- package/{Checkbox-Co3h0hur.cjs → Checkbox-CZtCj4yR.cjs} +1 -1
- package/{CheckboxGroup-DvrN1oyw.js → CheckboxGroup--xgOT1Do.js} +11 -11
- package/{CheckboxGroup-CT_eqERw.cjs → CheckboxGroup-DGHaqRvb.cjs} +1 -1
- package/{Collection-BtBX5IMY.cjs → Collection-B1xL4EdF.cjs} +1 -1
- package/{Collection-D2jVTmDW.js → Collection-C5vE9MtJ.js} +11 -11
- package/{ColorSchemeSwitch-owUryjYz.cjs → ColorSchemeSwitch-DtyJ9-5B.cjs} +3 -3
- package/{ColorSchemeSwitch-PiEHptw1.js → ColorSchemeSwitch-DyZ9FAKG.js} +12 -12
- package/{ComboBox-DfJ_aJrf.js → ComboBox-Dn3tQzri.js} +93 -97
- package/{ComboBox-D_jh7TKo.cjs → ComboBox-UadZMhiR.cjs} +1 -1
- package/{DateField-BURrxhil.cjs → DateField-CNEoLyf5.cjs} +1 -1
- package/{DateField-DKCbEonm.js → DateField-CZmLugT0.js} +4 -4
- package/{DateInputDivider-ToFY-yjB.cjs → DateInputDivider-CCjiq90K.cjs} +1 -1
- package/{DateInputDivider-BmvqW1Hk.js → DateInputDivider-CJEGWmG0.js} +22 -22
- package/{DateRangePicker-DkIAEIIj.cjs → DateRangePicker-DhgLEa9P.cjs} +2 -2
- package/{DateRangePicker-B5vx9onl.js → DateRangePicker-WQ97Psz7.js} +22 -22
- package/{Dialog-DtHk3eXI.cjs → Dialog-BT0tVGQb.cjs} +1 -1
- package/{Dialog-D5c_dUnB.js → Dialog-BuJdAr0D.js} +48 -48
- package/Dialog-DYK8lySl.cjs +1 -0
- package/Dialog-L53DWF0Z.js +220 -0
- package/{DragAndDrop-DOXLfJaA.js → DragAndDrop-DKxsUpmW.js} +9 -9
- package/{DragAndDrop-CSg60YQE.cjs → DragAndDrop-Dgfq6uJ0.cjs} +1 -1
- package/{Dropdown-Cpc2EszJ.js → Dropdown-BWbdSQ9U.js} +35 -34
- package/Dropdown-CJ-sujKv.cjs +6 -0
- package/FieldError-BlKkw9YL.js +46 -0
- package/{FieldError-Bv3Q6ZP-.cjs → FieldError-BvU0sueN.cjs} +1 -1
- package/{FileUpload-BokzdXVc.js → FileUpload-B89QfnCB.js} +13 -13
- package/{FileUpload-Bz9md5zc.cjs → FileUpload-KQ1XAKAc.cjs} +1 -1
- package/{FocusScope-vcXLOQiu.cjs → FocusScope-CAgWgk3N.cjs} +1 -1
- package/{FocusScope-DMsfA3bj.js → FocusScope-CEgd3xCY.js} +17 -17
- package/{Grid--OhtgCo6.js → Grid-B2av0vt8.js} +6 -9
- package/Grid-Db5wZrw6.cjs +1 -0
- package/{GridItem-XgHmZWXY.cjs → GridItem-BnyULDnc.cjs} +1 -1
- package/{GridItem-DlbSdRmB.js → GridItem-orSzD7H5.js} +27 -30
- package/{Group-B0vQfHDy.js → Group-B3mRMVy7.js} +11 -11
- package/{Group-DOpbdoAi.cjs → Group-Cdy6z9ra.cjs} +1 -1
- package/{Heading-D2y_kiC0.js → Heading-DDhdwRAW.js} +7 -7
- package/Heading-OUPkdoEJ.cjs +1 -0
- package/{Hidden-C9KWUR7b.js → Hidden-B5ir3Lei.js} +2 -2
- package/InfoBanner-DpLcq_1R.cjs +1 -0
- package/InfoBanner-U5hxOipC.js +99 -0
- package/{Input-n-Z20KbW.js → Input-BnpBRnJz.js} +9 -9
- package/{Input-MJji5hhq.cjs → Input-DIhhWEPW.cjs} +1 -1
- package/{Label-endv1fkJ.js → Label-ByWt6Lfh.js} +24 -24
- package/Label-COpr4xVt.cjs +1 -0
- package/{Layout-D0E1fOgZ.cjs → Layout-BR3Or1Ga.cjs} +2 -2
- package/{Layout-DtyhUz-G.js → Layout-Bdqauktv.js} +17 -17
- package/{Link-CibH8uRY.js → Link-CM2N5Jq-.js} +7 -7
- package/{Link-ovwNVMfg.js → Link-Dnnv00g9.js} +1 -1
- package/{Link-ESjrl63P.cjs → Link-Dq8IFDBx.cjs} +1 -1
- package/{Link-CidjjqHb.cjs → Link-ceVlGaWQ.cjs} +1 -1
- package/{LinkButton-B6AWNiRn.cjs → LinkButton-BJA9_HzL.cjs} +1 -1
- package/{LinkButton-BkZULm2a.js → LinkButton-DH3Nfdis.js} +1 -1
- package/{ListBox-B0E1hdEt.cjs → ListBox-D0u9svwm.cjs} +1 -1
- package/{ListBox-Djy7244v.js → ListBox-y_dw__MI.js} +16 -16
- package/{ListBoxButton-CIqNRR3y.cjs → ListBoxButton-C2zp-gXD.cjs} +1 -1
- package/{ListBoxButton-sqirI6I4.js → ListBoxButton-DiseS_LX.js} +1 -1
- package/{ListBoxSection-Cicbu8pS.js → ListBoxSection-Cv-gN76G.js} +9 -9
- package/{ListBoxSection-BYJccE4T.cjs → ListBoxSection-DtsigmC1.cjs} +1 -1
- package/{ListKeyboardDelegate-ZKBk2IId.cjs → ListKeyboardDelegate-fZKXmHAk.cjs} +1 -1
- package/{ListKeyboardDelegate-CHki611g.js → ListKeyboardDelegate-mcrZobNa.js} +2 -2
- package/{Logo-BpH0HC91.cjs → Logo-BW5NXAdu.cjs} +1 -1
- package/{Logo-ME4ffCue.js → Logo-qkVS1MCN.js} +1 -1
- package/{OverlayArrow-DpZ1FqOd.cjs → OverlayArrow-8praV_Xy.cjs} +1 -1
- package/{OverlayArrow-DB_aVTVM.js → OverlayArrow-DfkRZlgG.js} +4 -4
- package/{Popover-BDvKByTT.cjs → Popover-C5chAY42.cjs} +1 -1
- package/{Popover-Tniqbaes.js → Popover-viLqHHX2.js} +2 -2
- package/{PressResponder-C3APAKsz.js → PressResponder-B_Zqu7b1.js} +9 -9
- package/PressResponder-Bm3_RM9c.cjs +1 -0
- package/{ProgressBar-ClysdvqU.cjs → ProgressBar-D5mNQTID.cjs} +1 -1
- package/{ProgressBar-DTn23Zkr.js → ProgressBar-wQirOG1N.js} +2 -2
- package/{Radio-CCN3o3s-.js → Radio-BIomn_sP.js} +23 -23
- package/{Radio-Cz0vLIBw.cjs → Radio-CxvJ5Wrl.cjs} +1 -1
- package/{RangeCalendar-BY82hPRu.cjs → RangeCalendar-BvvZ2SBj.cjs} +1 -1
- package/{RangeCalendar-BCruEq9d.js → RangeCalendar-DGGMbb0j.js} +19 -19
- package/{SSRProvider-40TXmsUG.js → SSRProvider-D8lZ0o6A.js} +5 -5
- package/{SSRProvider-Bc-sMhsT.cjs → SSRProvider-DZRLwxPS.cjs} +1 -1
- package/{SearchField-nwlyszwt.js → SearchField-B0dlPqsW.js} +6 -6
- package/{SearchField-QFyuaT-K.cjs → SearchField-Ma3KB8Em.cjs} +2 -2
- package/{Select-MwvnbChP.js → Select-769RSZ9V.js} +114 -114
- package/{Select-lhIwwJL7.cjs → Select-Go5x0zWl.cjs} +1 -1
- package/{SelectionManager-BKrZ_mMO.js → SelectionManager-BdKKuso-.js} +9 -9
- package/{SelectionManager-BJjqIWtf.cjs → SelectionManager-BvREZgeu.cjs} +1 -1
- package/{Separator-DvvVAypT.js → Separator-CggS0R7Q.js} +4 -4
- package/{Separator-DPLEx950.cjs → Separator-DBsDhqCr.cjs} +1 -1
- package/{Spinner-VSyPhiJ9.js → Spinner-AXFRWuT6.js} +2 -2
- package/{Spinner-vof0Y9Hh.cjs → Spinner-yHx_DX_4.cjs} +1 -1
- package/TabList-0gj27e_e.js +386 -0
- package/TabList-Cqpup53E.cjs +1 -0
- package/Table-BhtlNY9P.cjs +16 -0
- package/{Table-DGTwyh7U.js → Table-CTS0J_sQ.js} +289 -268
- package/{Tag-rI-NhuT0.js → Tag-B9M-nBTM.js} +49 -49
- package/{Tag-bYq-wf5D.cjs → Tag-DkW6zaIS.cjs} +1 -1
- package/{Text-DcZqSUN9.js → Text--KL3Auo7.js} +3 -3
- package/{Text-BPcfhYQ9.js → Text-BUDAzDjW.js} +1 -1
- package/{Text-DBHWi5gA.cjs → Text-DA_gK6a2.cjs} +1 -1
- package/{Text-CfcjRtke.cjs → Text-wuw0HQoa.cjs} +1 -1
- package/TextArea-CSrrYY05.cjs +1 -0
- package/{TextArea-CrEALC58.js → TextArea-DphcH6wE.js} +16 -16
- package/{TextField-Dma22dnD.js → TextField-CsyRTSEG.js} +13 -13
- package/{TextField-BAX93sq7.cjs → TextField-P5yICj5z.cjs} +1 -1
- package/Toast-BEh5yYzO.cjs +1 -0
- package/{Toast-CWt_mNIg.js → Toast-BnzpC_5v.js} +130 -137
- package/{ToggleButtonGroup-DZ_wo0qx.cjs → ToggleButtonGroup-BwFAhFEi.cjs} +1 -1
- package/{ToggleButtonGroup-98z8Dw8-.js → ToggleButtonGroup-CuxAKB3-.js} +7 -7
- package/{Tooltip-pN5W3IK6.cjs → Tooltip-Bz0xCZSw.cjs} +1 -1
- package/{Tooltip-DjNc93tV.js → Tooltip-EuEQtHZj.js} +12 -12
- package/{VisuallyHidden-CYfmTSCD.js → VisuallyHidden-BKslUoMJ.js} +8 -8
- package/{VisuallyHidden-Doyzl0F7.cjs → VisuallyHidden-DxDOcIsh.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/Button.css +1 -1
- package/assets/DateRangePicker.css +1 -1
- package/assets/Dialog.css +1 -1
- package/assets/LinkButton.css +1 -1
- package/assets/Table.css +1 -1
- package/assets/theme.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 +1 -1
- 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/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/types.d.ts +0 -13
- package/common/icon-map.d.ts +6 -0
- package/common/types.d.ts +8 -0
- package/{context-CGNJ3grH.js → context-Dl_saGB6.js} +11 -11
- package/{context-Df3XbgBG.cjs → context-UOrD6Zxk.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 +7 -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/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-BSMrH_Du.js} +7 -7
- package/{index-Dsz3aiWt.cjs → index-D97L3EBk.cjs} +2 -2
- package/index.cjs +1 -1
- package/index.js +108 -111
- package/inertValue-BWmZ1afe.cjs +1 -0
- 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/index.cjs +1 -1
- package/list-box/index.js +2 -2
- package/logo/index.cjs +1 -1
- package/logo/index.js +1 -1
- package/{mergeProps-C1U1OIeJ.js → mergeProps-BYJQ6N1s.js} +11 -11
- package/{mergeProps-B5KXZAI3.cjs → mergeProps-C7Sx47fA.cjs} +1 -1
- package/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/package.json +4 -1
- 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/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/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/index.cjs +1 -1
- package/textfield/index.js +1 -1
- package/theme/index.cjs +1 -1
- package/theme/index.d.ts +36 -12
- package/theme/index.js +12 -11
- package/theme/tokens.d.ts +36 -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-BWo7EvNX.cjs +1 -0
- package/{tokens-CqvelUoA.js → tokens-BtEBd3jO.js} +69 -31
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/{useButton-BoIV3kDJ.js → useButton-CWHoXYnj.js} +3 -3
- package/{useButton-D60q0SQw.cjs → useButton-CwOQUGtY.cjs} +1 -1
- package/{useDateFormatter-C7BJgoDR.js → useDateFormatter-DiIUdTak.js} +2 -2
- package/{useDateFormatter-BJBt0jk_.cjs → useDateFormatter-bzjwqA2K.cjs} +1 -1
- package/{useDescription-CPo72trh.cjs → useDescription-ByNlNIRU.cjs} +1 -1
- package/{useDescription-DYfKjGGU.js → useDescription-LmB1V4Tg.js} +1 -1
- package/useEvent-CGRyLM2c.cjs +1 -0
- package/{useEvent-CigwyJOw.js → useEvent-DqWz89vg.js} +1 -1
- package/{useField-CefQB81E.js → useField-5CEdtfab.js} +2 -2
- package/{useField-D1UkzeaI.cjs → useField-CoQAzygg.cjs} +1 -1
- package/{useFilter-DsOxD9JB.js → useFilter-BKQT28sh.js} +1 -1
- package/{useFilter-BhM2yVO3.cjs → useFilter-Bjh5dq2Q.cjs} +1 -1
- package/{useFocusRing-B-A1OLhU.cjs → useFocusRing-BM-zcH6L.cjs} +1 -1
- package/{useFocusRing-DOfBqnUN.js → useFocusRing-HoJn20X5.js} +2 -2
- package/{useFocusWithin-T1ifEM_s.js → useFocusWithin-Cn18Myw6.js} +1 -1
- package/{useFocusWithin-CG8mAt2D.cjs → useFocusWithin-o0WjCpEB.cjs} +1 -1
- package/{useFocusable-D7I1ujkW.cjs → useFocusable-DbmryjUH.cjs} +1 -1
- package/{useFocusable-BjE42axF.js → useFocusable-ZjCKo1ed.js} +14 -14
- package/{useFormValidation-BzzruZKm.js → useFormValidation-BW2NSTM4.js} +2 -2
- package/{useFormValidation-BlFGdPZB.cjs → useFormValidation-DSRwb9US.cjs} +1 -1
- package/useHasTabbableChild-CogBR_6o.cjs +1 -0
- package/{useHasTabbableChild-BgEe5J35.js → useHasTabbableChild-CyOmqumh.js} +2 -2
- package/{useHighlightSelectionDescription-DmbDkFGY.cjs → useHighlightSelectionDescription-DAhPdEG6.cjs} +1 -1
- package/{useHighlightSelectionDescription-xr_16pKd.js → useHighlightSelectionDescription-DTxHtOsw.js} +5 -5
- package/{useHover-BE_XKZKe.cjs → useHover-CaFzQrR_.cjs} +1 -1
- package/{useHover-DQvJ3Y-W.js → useHover-D8fja4GW.js} +6 -6
- package/{useLabels-CSU0kbtJ.cjs → useLabels-BtDN_ALM.cjs} +1 -1
- package/{useLabels-LrKQiY11.js → useLabels-DZlvh4P4.js} +1 -1
- package/{useListState-wLau6fXo.cjs → useListState-TtWy_rDI.cjs} +1 -1
- package/{useListState-B3c3xcNW.js → useListState-e7cL-FOK.js} +1 -1
- package/{useLocalizedStringFormatter-BO2iZEL0.cjs → useLocalizedStringFormatter-BSac43NO.cjs} +1 -1
- package/useLocalizedStringFormatter-CHAo1AyN.cjs +1 -0
- package/{useLocalizedStringFormatter-CL9MUZ8A.js → useLocalizedStringFormatter-CSEh15AZ.js} +1 -1
- package/{useLocalizedStringFormatter-N0AyjzbM.js → useLocalizedStringFormatter-aOhh7wdl.js} +1 -1
- package/useObserveElement-BzEr5D32.cjs +1 -0
- package/{usePress-BooY_CAy.cjs → usePress-BOGIOlm8.cjs} +2 -2
- package/{usePress-BW47IcyU.js → usePress-B_jgTf4k.js} +105 -105
- package/{useSingleSelectListState-DlO5H9N-.cjs → useSingleSelectListState-BiJMNaOl.cjs} +1 -1
- package/{useSingleSelectListState-DdBsBWKG.js → useSingleSelectListState-D7LjjoUJ.js} +1 -1
- package/{useTextField-DnRrCg5o.cjs → useTextField-BVIOd8Ld.cjs} +1 -1
- package/{useTextField-DjxayZsV.js → useTextField-DFkSHoQN.js} +11 -11
- package/{useUpdateEffect-C5YQs_1w.cjs → useUpdateEffect-sk3kiVGz.cjs} +1 -1
- package/{utils-DHNZrQmj.cjs → utils-BM2vxlNA.cjs} +1 -1
- package/{utils-Dvdohqm9.cjs → utils-C5-CzvX2.cjs} +1 -1
- package/{utils-CoCR_Fce.js → utils-CuqJqFqQ.js} +1 -1
- package/{utils-KLjWgdLR.js → utils-KYuflGZt.js} +10 -10
- package/AccordionItem-BPOQqTkQ.js +0 -323
- package/AccordionItem-CS-QKqrU.cjs +0 -1
- package/BadgeContainer-CKBIZWsc.js +0 -37
- package/BadgeContainer-DWVHS5dn.cjs +0 -1
- package/Card-cdL5669N.cjs +0 -1
- package/Dialog-CxHiZorC.cjs +0 -1
- package/Dialog-DuGcBeNN.js +0 -212
- package/Dropdown-CYakzdJg.cjs +0 -6
- package/FieldError-CDCvUjK5.js +0 -46
- package/Grid-DVQtOcu9.cjs +0 -1
- package/Heading-CKTR4sOz.cjs +0 -1
- package/InfoBanner-CzwbOdRG.cjs +0 -1
- package/InfoBanner-D05poAe3.js +0 -91
- package/Label-ChjDdBlv.cjs +0 -1
- package/PressResponder-4jE_HLu3.cjs +0 -1
- package/TabList-CWMlbijV.cjs +0 -1
- package/TabList-VpTv_Xff.js +0 -435
- package/Table-DGYC-sDq.cjs +0 -16
- package/TextArea-DJKHFKuI.cjs +0 -1
- package/Toast-DdmSvNaO.cjs +0 -1
- package/circle-check-BErh6TKu.js +0 -26
- package/circle-check-OVUGxwp9.cjs +0 -11
- package/inertValue-B3AFhVG4.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/useEvent-DPxMu-X9.cjs +0 -1
- package/useHasTabbableChild-CoQRpNbC.cjs +0 -1
- package/useLocalizedStringFormatter-BiX5BTlb.cjs +0 -1
- package/useObserveElement-MhzEsCkX.cjs +0 -1
package/link-button/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../LinkButton-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../LinkButton-BJA9_HzL.cjs"),t=require("../usePress-BOGIOlm8.cjs");exports.LinkButton=e.LinkButton;exports.RouterProvider=t.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb;
|
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 t=require("../ListBoxSection-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../ListBoxSection-DtsigmC1.cjs"),o=require("../ListBoxButton-C2zp-gXD.cjs");exports.ListBox=t.ListBox;exports.ListBoxItem=t.ListBoxItem;exports.ListBoxPopover=t.ListBoxPopover;exports.ListBoxSection=t.ListBoxSection;exports.ListBoxButton=o.ListBoxButton;
|
package/list-box/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as s, a as x, b as L, c as a } from "../ListBoxSection-
|
|
2
|
-
import { L as B } from "../ListBoxButton-
|
|
1
|
+
import { L as s, a as x, b as L, c as a } from "../ListBoxSection-Cv-gN76G.js";
|
|
2
|
+
import { L as B } from "../ListBoxButton-DiseS_LX.js";
|
|
3
3
|
export {
|
|
4
4
|
s as ListBox,
|
|
5
5
|
B as ListBoxButton,
|
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-BW5NXAdu.cjs");exports.Logo=o.Logo;
|
package/logo/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import b, { useRef as a, useCallback as s, useState as $, useEffect as p } from "react";
|
|
2
|
-
import { a as y } from "./SSRProvider-
|
|
2
|
+
import { a as y } from "./SSRProvider-D8lZ0o6A.js";
|
|
3
3
|
import { c as x } from "./clsx-OuTLNxxd.js";
|
|
4
|
-
const
|
|
4
|
+
const d = typeof document < "u" ? b.useLayoutEffect : () => {
|
|
5
5
|
};
|
|
6
|
-
function
|
|
6
|
+
function i(f) {
|
|
7
7
|
const e = a(null);
|
|
8
|
-
return
|
|
8
|
+
return d(() => {
|
|
9
9
|
e.current = f;
|
|
10
10
|
}, [
|
|
11
11
|
f
|
|
@@ -15,7 +15,7 @@ function d(f) {
|
|
|
15
15
|
}, []);
|
|
16
16
|
}
|
|
17
17
|
function m(f) {
|
|
18
|
-
let [e, c] = $(f), n = a(null), t =
|
|
18
|
+
let [e, c] = $(f), n = a(null), t = i(() => {
|
|
19
19
|
if (!n.current) return;
|
|
20
20
|
let r = n.current.next();
|
|
21
21
|
if (r.done) {
|
|
@@ -24,10 +24,10 @@ function m(f) {
|
|
|
24
24
|
}
|
|
25
25
|
e === r.value ? t() : c(r.value);
|
|
26
26
|
});
|
|
27
|
-
|
|
27
|
+
d(() => {
|
|
28
28
|
n.current && t();
|
|
29
29
|
});
|
|
30
|
-
let l =
|
|
30
|
+
let l = i((r) => {
|
|
31
31
|
n.current = r(e), t();
|
|
32
32
|
});
|
|
33
33
|
return [
|
|
@@ -47,7 +47,7 @@ function v(f) {
|
|
|
47
47
|
n
|
|
48
48
|
]);
|
|
49
49
|
}
|
|
50
|
-
return
|
|
50
|
+
return d(() => {
|
|
51
51
|
let r = t;
|
|
52
52
|
return () => {
|
|
53
53
|
o && o.unregister(l), u.delete(r);
|
|
@@ -78,7 +78,7 @@ function k(f = []) {
|
|
|
78
78
|
e,
|
|
79
79
|
n
|
|
80
80
|
]);
|
|
81
|
-
return
|
|
81
|
+
return d(t, [
|
|
82
82
|
e,
|
|
83
83
|
t,
|
|
84
84
|
...f
|
|
@@ -106,10 +106,10 @@ function C(...f) {
|
|
|
106
106
|
return e;
|
|
107
107
|
}
|
|
108
108
|
export {
|
|
109
|
-
|
|
109
|
+
d as $,
|
|
110
110
|
C as a,
|
|
111
111
|
k as b,
|
|
112
112
|
v as c,
|
|
113
|
-
d,
|
|
113
|
+
i as d,
|
|
114
114
|
I as e
|
|
115
115
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const l=require("react"),b=require("./SSRProvider-
|
|
1
|
+
"use strict";const l=require("react"),b=require("./SSRProvider-DZRLwxPS.cjs"),p=require("./clsx-C11secjj.cjs"),a=typeof document<"u"?l.useLayoutEffect:()=>{};function i(r){const e=l.useRef(null);return a(()=>{e.current=r},[r]),l.useCallback((...c)=>{const f=e.current;return f==null?void 0:f(...c)},[])}function x(r){let[e,c]=l.useState(r),f=l.useRef(null),t=i(()=>{if(!f.current)return;let n=f.current.next();if(n.done){f.current=null;return}e===n.value?t():c(n.value)});a(()=>{f.current&&t()});let u=i(n=>{f.current=n(e),t()});return[e,u]}let y=!!(typeof window<"u"&&window.document&&window.document.createElement),o=new Map,d;typeof FinalizationRegistry<"u"&&(d=new FinalizationRegistry(r=>{o.delete(r)}));function $(r){let[e,c]=l.useState(r),f=l.useRef(null),t=b.$b5e257d569688ac6$export$619500959fc48b26(e),u=l.useRef(null);if(d&&d.register(u,t),y){const n=o.get(t);n&&!n.includes(f)?n.push(f):o.set(t,[f])}return a(()=>{let n=t;return()=>{d&&d.unregister(u),o.delete(n)}},[t]),l.useEffect(()=>{let n=f.current;return n&&c(n),()=>{n&&(f.current=null)}}),t}function R(r,e){if(r===e)return r;let c=o.get(r);if(c)return c.forEach(t=>t.current=e),e;let f=o.get(e);return f?(f.forEach(t=>t.current=r),r):e}function v(r=[]){let e=$(),[c,f]=x(e),t=l.useCallback(()=>{f(function*(){yield e,yield document.getElementById(e)?e:void 0})},[e,f]);return a(t,[e,t,...r]),c}function s(...r){return(...e)=>{for(let c of r)typeof c=="function"&&c(...e)}}function g(...r){let e={...r[0]};for(let c=1;c<r.length;c++){let f=r[c];for(let t in f){let u=e[t],n=f[t];typeof u=="function"&&typeof n=="function"&&t[0]==="o"&&t[1]==="n"&&t.charCodeAt(2)>=65&&t.charCodeAt(2)<=90?e[t]=s(u,n):(t==="className"||t==="UNSAFE_className")&&typeof u=="string"&&typeof n=="string"?e[t]=p.clsx(u,n):t==="id"&&u&&n?e.id=R(u,n):e[t]=n!==void 0?n:u}}return e}exports.$3ef42575df84b30b$export$9d1611c77c2fe928=g;exports.$8ae05eaa5c114e9c$export$7f54fc3180508a52=i;exports.$bdb11010cef70236$export$b4cc09c592e8fdb8=v;exports.$bdb11010cef70236$export$f680877a34711e37=$;exports.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c=a;exports.$ff5963eb1fccf552$export$e08e3b67e392101e=s;
|
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-DYK8lySl.cjs"),o=require("../Dialog-BT0tVGQb.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.0.0",
|
|
18
18
|
"main": "./index.cjs",
|
|
19
19
|
"module": "./index.js",
|
|
20
20
|
"types": "./index.d.ts",
|
|
@@ -46,6 +46,9 @@
|
|
|
46
46
|
},
|
|
47
47
|
"./global.css": {
|
|
48
48
|
"import": "./assets/global.css"
|
|
49
|
+
},
|
|
50
|
+
"./theme.css": {
|
|
51
|
+
"import": "./assets/theme.css"
|
|
49
52
|
}
|
|
50
53
|
},
|
|
51
54
|
"dependencies": {
|
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-C5chAY42.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-D5mNQTID.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-CxvJ5Wrl.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-Ma3KB8Em.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-Go5x0zWl.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/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-yHx_DX_4.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-BhtlNY9P.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-Cqpup53E.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-DkW6zaIS.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-DA_gK6a2.cjs");exports.Text=e.Text;
|
package/text/index.js
CHANGED
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-CSrrYY05.cjs");exports.Input=e.Input;exports.TextArea=e.TextArea;exports.TextField=e.TextField;exports.TextFieldBase=e.TextFieldBase;
|
package/textfield/index.js
CHANGED
package/theme/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 s=require("../tokens-BWo7EvNX.cjs"),e={...s.tokens};exports.baseColors=s.baseColors;exports.breakpoints=s.breakpoints;exports.semantic=s.semantic;exports.sizing=s.sizing;exports.spacing=s.spacing;exports.states=s.states;exports.transitions=s.transitions;exports.typography=s.typography;exports.windowSizes=s.windowSizes;exports.zIndex=s.zIndex;exports.theme=e;
|
package/theme/index.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ export declare const theme: {
|
|
|
47
47
|
signalGreen30: string;
|
|
48
48
|
signalGreen100: string;
|
|
49
49
|
signalYellow10: string;
|
|
50
|
+
signalYellow20: string;
|
|
50
51
|
signalYellow100: string;
|
|
51
52
|
signalRed10: string;
|
|
52
53
|
signalRed20: string;
|
|
@@ -71,16 +72,16 @@ export declare const theme: {
|
|
|
71
72
|
};
|
|
72
73
|
typography: {
|
|
73
74
|
fontFamily: string;
|
|
74
|
-
lineHeight10:
|
|
75
|
-
lineHeight20:
|
|
76
|
-
lineHeight30:
|
|
77
|
-
lineHeight40:
|
|
78
|
-
lineHeight50:
|
|
79
|
-
lineHeight60:
|
|
80
|
-
lineHeight70:
|
|
81
|
-
lineHeight80:
|
|
82
|
-
lineHeight90:
|
|
83
|
-
lineHeight100:
|
|
75
|
+
lineHeight10: string;
|
|
76
|
+
lineHeight20: string;
|
|
77
|
+
lineHeight30: string;
|
|
78
|
+
lineHeight40: string;
|
|
79
|
+
lineHeight50: string;
|
|
80
|
+
lineHeight60: string;
|
|
81
|
+
lineHeight70: string;
|
|
82
|
+
lineHeight80: string;
|
|
83
|
+
lineHeight90: string;
|
|
84
|
+
lineHeight100: string;
|
|
84
85
|
fontSize10: string;
|
|
85
86
|
fontSize20: string;
|
|
86
87
|
fontSize30: string;
|
|
@@ -117,6 +118,7 @@ export declare const theme: {
|
|
|
117
118
|
};
|
|
118
119
|
states: {
|
|
119
120
|
focus: string;
|
|
121
|
+
focusInset: string;
|
|
120
122
|
};
|
|
121
123
|
transitions: {
|
|
122
124
|
slow: string;
|
|
@@ -170,7 +172,6 @@ export declare const theme: {
|
|
|
170
172
|
fieldHover02: string;
|
|
171
173
|
fieldActive02: string;
|
|
172
174
|
fieldDisabled: string;
|
|
173
|
-
fieldSkeleton: string;
|
|
174
175
|
skeleton01: string;
|
|
175
176
|
skeleton02: string;
|
|
176
177
|
iconPrimary: string;
|
|
@@ -217,9 +218,11 @@ export declare const theme: {
|
|
|
217
218
|
buttonBackgroundDangerHover: string;
|
|
218
219
|
buttonBackgroundDangerActive: string;
|
|
219
220
|
buttonBackgroundDisabled: string;
|
|
220
|
-
buttonBackgroundSkeleton: string;
|
|
221
221
|
buttonBorderSecondary: string;
|
|
222
|
+
buttonBackgroundIconHover: string;
|
|
223
|
+
buttonBackgroundIconActive: string;
|
|
222
224
|
badgeBackground: string;
|
|
225
|
+
badgeLabel: string;
|
|
223
226
|
calendarDateBackgroundHover: string;
|
|
224
227
|
calendarDateBackgroundSelected: string;
|
|
225
228
|
calendarDateBackgroundStartRange: string;
|
|
@@ -237,4 +240,25 @@ export declare const theme: {
|
|
|
237
240
|
toast: number;
|
|
238
241
|
skipToContent: number;
|
|
239
242
|
};
|
|
243
|
+
sizing: {
|
|
244
|
+
'00': string;
|
|
245
|
+
'05': string;
|
|
246
|
+
'10': string;
|
|
247
|
+
'15': string;
|
|
248
|
+
'20': string;
|
|
249
|
+
'30': string;
|
|
250
|
+
'40': string;
|
|
251
|
+
'50': string;
|
|
252
|
+
'60': string;
|
|
253
|
+
'70': string;
|
|
254
|
+
'75': string;
|
|
255
|
+
'80': string;
|
|
256
|
+
'90': string;
|
|
257
|
+
'100': string;
|
|
258
|
+
'110': string;
|
|
259
|
+
'120': string;
|
|
260
|
+
'130': string;
|
|
261
|
+
'140': string;
|
|
262
|
+
'150': string;
|
|
263
|
+
};
|
|
240
264
|
};
|
package/theme/index.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { t as s } from "../tokens-
|
|
2
|
-
import { b as
|
|
1
|
+
import { t as s } from "../tokens-BtEBd3jO.js";
|
|
2
|
+
import { b as i, e as n, f as r, g as p, s as m, c, d as g, a as z, w as b, z as d } from "../tokens-BtEBd3jO.js";
|
|
3
3
|
const t = { ...s };
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
p as
|
|
9
|
-
m as
|
|
5
|
+
i as baseColors,
|
|
6
|
+
n as breakpoints,
|
|
7
|
+
r as semantic,
|
|
8
|
+
p as sizing,
|
|
9
|
+
m as spacing,
|
|
10
|
+
c as states,
|
|
10
11
|
t as theme,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
g as transitions,
|
|
13
|
+
z as typography,
|
|
14
|
+
b as windowSizes,
|
|
15
|
+
d as zIndex
|
|
15
16
|
};
|
package/theme/tokens.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export declare const baseColors: {
|
|
|
45
45
|
signalGreen30: string;
|
|
46
46
|
signalGreen100: string;
|
|
47
47
|
signalYellow10: string;
|
|
48
|
+
signalYellow20: string;
|
|
48
49
|
signalYellow100: string;
|
|
49
50
|
signalRed10: string;
|
|
50
51
|
signalRed20: string;
|
|
@@ -69,16 +70,16 @@ export declare const baseColors: {
|
|
|
69
70
|
};
|
|
70
71
|
export declare const typography: {
|
|
71
72
|
fontFamily: string;
|
|
72
|
-
lineHeight10:
|
|
73
|
-
lineHeight20:
|
|
74
|
-
lineHeight30:
|
|
75
|
-
lineHeight40:
|
|
76
|
-
lineHeight50:
|
|
77
|
-
lineHeight60:
|
|
78
|
-
lineHeight70:
|
|
79
|
-
lineHeight80:
|
|
80
|
-
lineHeight90:
|
|
81
|
-
lineHeight100:
|
|
73
|
+
lineHeight10: string;
|
|
74
|
+
lineHeight20: string;
|
|
75
|
+
lineHeight30: string;
|
|
76
|
+
lineHeight40: string;
|
|
77
|
+
lineHeight50: string;
|
|
78
|
+
lineHeight60: string;
|
|
79
|
+
lineHeight70: string;
|
|
80
|
+
lineHeight80: string;
|
|
81
|
+
lineHeight90: string;
|
|
82
|
+
lineHeight100: string;
|
|
82
83
|
fontSize10: string;
|
|
83
84
|
fontSize20: string;
|
|
84
85
|
fontSize30: string;
|
|
@@ -115,6 +116,7 @@ export declare const spacing: {
|
|
|
115
116
|
};
|
|
116
117
|
export declare const states: {
|
|
117
118
|
focus: string;
|
|
119
|
+
focusInset: string;
|
|
118
120
|
};
|
|
119
121
|
export declare const transitions: {
|
|
120
122
|
slow: string;
|
|
@@ -168,10 +170,6 @@ export declare const semantic: {
|
|
|
168
170
|
fieldHover02: string;
|
|
169
171
|
fieldActive02: string;
|
|
170
172
|
fieldDisabled: string;
|
|
171
|
-
/**
|
|
172
|
-
* @deprecated since v10.2.0, please use the `skeleton01` instead.
|
|
173
|
-
*/
|
|
174
|
-
fieldSkeleton: string;
|
|
175
173
|
skeleton01: string;
|
|
176
174
|
skeleton02: string;
|
|
177
175
|
iconPrimary: string;
|
|
@@ -218,12 +216,11 @@ export declare const semantic: {
|
|
|
218
216
|
buttonBackgroundDangerHover: string;
|
|
219
217
|
buttonBackgroundDangerActive: string;
|
|
220
218
|
buttonBackgroundDisabled: string;
|
|
221
|
-
/**
|
|
222
|
-
* @deprecated since v10.2.0, please use the `skeleton01` instead.
|
|
223
|
-
*/
|
|
224
|
-
buttonBackgroundSkeleton: string;
|
|
225
219
|
buttonBorderSecondary: string;
|
|
220
|
+
buttonBackgroundIconHover: string;
|
|
221
|
+
buttonBackgroundIconActive: string;
|
|
226
222
|
badgeBackground: string;
|
|
223
|
+
badgeLabel: string;
|
|
227
224
|
calendarDateBackgroundHover: string;
|
|
228
225
|
calendarDateBackgroundSelected: string;
|
|
229
226
|
calendarDateBackgroundStartRange: string;
|
|
@@ -241,3 +238,24 @@ export declare const zIndex: {
|
|
|
241
238
|
toast: number;
|
|
242
239
|
skipToContent: number;
|
|
243
240
|
};
|
|
241
|
+
export declare const sizing: {
|
|
242
|
+
'00': string;
|
|
243
|
+
'05': string;
|
|
244
|
+
'10': string;
|
|
245
|
+
'15': string;
|
|
246
|
+
'20': string;
|
|
247
|
+
'30': string;
|
|
248
|
+
'40': string;
|
|
249
|
+
'50': string;
|
|
250
|
+
'60': string;
|
|
251
|
+
'70': string;
|
|
252
|
+
'75': string;
|
|
253
|
+
'80': string;
|
|
254
|
+
'90': string;
|
|
255
|
+
'100': string;
|
|
256
|
+
'110': string;
|
|
257
|
+
'120': string;
|
|
258
|
+
'130': string;
|
|
259
|
+
'140': string;
|
|
260
|
+
'150': string;
|
|
261
|
+
};
|
package/toast/Toast.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { AriaToastProps, AriaToastRegionProps } from 'react-aria';
|
|
2
2
|
import { QueuedToast, ToastQueue, ToastState, ToastStateProps } from 'react-stately';
|
|
3
3
|
import { default as React } from 'react';
|
|
4
|
+
import { FeedbackStatus } from '../common/types.ts';
|
|
4
5
|
export interface MidasToast {
|
|
5
6
|
message: string;
|
|
6
|
-
type:
|
|
7
|
+
type: FeedbackStatus;
|
|
7
8
|
children?: React.ReactNode;
|
|
8
9
|
}
|
|
9
10
|
export interface ToastRegionProps<T> extends AriaToastRegionProps {
|
package/toast/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Toast-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Toast-BEh5yYzO.cjs");exports.GlobalToastRegion=o.GlobalToastRegion;exports.Toast=o.Toast;exports.ToastProvider=o.ToastProvider;exports.ToastRegion=o.ToastRegion;exports.toastQueue=o.toastQueue;exports.useToastState=o.useToastState;
|
package/toast/index.js
CHANGED
package/toggle-button/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../ToggleButtonGroup-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../ToggleButtonGroup-BwFAhFEi.cjs");exports.ToggleButton=o.ToggleButton;exports.ToggleButtonGroup=o.ToggleButtonGroup;
|
package/toggle-button/index.js
CHANGED