@midas-ds/components 12.0.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-DGJGJMPi.js → BadgeContainer-iNNgJKD9.js} +8 -8
- package/BadgeContainer-su0iCJKy.cjs +1 -0
- package/Breadcrumbs-BAHJMPsu.js +271 -0
- package/Breadcrumbs-DUcHHI_2.cjs +1 -0
- package/Button-CMIbSc4-.cjs +1 -0
- package/{Button-DtC_ZOyd.js → Button-DD5_S-tD.js} +155 -161
- package/{Button-akT6Hvug.js → Button-DYcmg49Z.js} +2 -2
- package/{Button-DQm2iqKU.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 +65 -0
- package/Card-BDDyGAMA.js +131 -0
- package/Card-mj5lCIR4.cjs +1 -0
- package/{CharacterCounter-DQJVM-mZ.cjs → CharacterCounter-CnRv-iUP.cjs} +1 -1
- package/CharacterCounter-DT7A0wWP.js +22 -0
- 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-DyZ9FAKG.js → ColorSchemeSwitch-C4PMYeD5.js} +20 -28
- package/{ColorSchemeSwitch-DtyJ9-5B.cjs → ColorSchemeSwitch-CKcoGZM1.cjs} +3 -3
- package/ComboBox-B2EmfOyr.cjs +1 -0
- package/{ComboBox-Dn3tQzri.js → ComboBox-BWXJZyOR.js} +522 -507
- package/DateField-CcQJYDLD.js +47 -0
- package/DateField-IpCiF81R.cjs +1 -0
- package/{DateInputDivider-CJEGWmG0.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-BWbdSQ9U.js → Dropdown-CIvWpN3v.js} +8 -8
- package/{Dropdown-CJ-sujKv.cjs → Dropdown-DJ2vWAqk.cjs} +2 -2
- 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-Db5wZrw6.cjs → Grid-WbEkSCGh.cjs} +1 -1
- package/{Grid-B2av0vt8.js → Grid-s8ovKDi8.js} +1 -1
- package/GridItem-CIVF1fRW.cjs +1 -0
- package/GridItem-D3FZyyO-.js +243 -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-CqjnTYaa.cjs +1 -0
- package/InfoBanner-CrA8MS3v.js +83 -0
- package/{Input-BnpBRnJz.js → Input-BLVRv0FK.js} +9 -9
- package/{Input-DIhhWEPW.cjs → Input-CzMx2mfl.cjs} +1 -1
- package/{Label-ByWt6Lfh.js → Label-BG7G0iyG.js} +24 -28
- package/Label-C00qz3kQ.cjs +1 -0
- package/Layout-Bta_Cpq_.cjs +16 -0
- package/Layout-CG-Qxr_1.js +482 -0
- package/{Link-Dnnv00g9.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-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-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-DGGMbb0j.js → RangeCalendar-D7eFVAPP.js} +638 -630
- package/{SSRProvider-D8lZ0o6A.js → SSRProvider-40TXmsUG.js} +5 -5
- package/{SSRProvider-DZRLwxPS.cjs → SSRProvider-Bc-sMhsT.cjs} +1 -1
- package/{SearchField-Ma3KB8Em.cjs → SearchField-BbrUZpQm.cjs} +2 -2
- package/{SearchField-B0dlPqsW.js → SearchField-F2FKgYds.js} +29 -33
- package/Select-BnbDXwgD.cjs +1 -0
- package/Select-Dpi3LhbI.js +654 -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-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-CTS0J_sQ.js → Table-CkN3y69S.js} +856 -798
- package/Tag-7dHEMQum.cjs +1 -0
- package/Tag-BUJ20HHw.js +765 -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-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-BnzpC_5v.js → Toast-BBkWczCk.js} +202 -214
- package/{Toast-BEh5yYzO.cjs → Toast-DclaxvZM.cjs} +1 -1
- 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-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 +384 -0
- package/theme/generated-tokens.d.ts +334 -0
- package/theme/index.cjs +1 -1
- package/theme/index.d.ts +4 -1
- package/theme/index.js +4037 -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-CwwVnA_a.js +0 -131
- 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-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/Spinner-yHx_DX_4.cjs +0 -6
- 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 @@
|
|
|
1
|
+
"use strict";const m=require("./utils-CMHKYKlz.cjs"),O=require("./Hidden-BxRZGdEW.cjs"),s=require("react"),R=require("./number-E0x3H9cL.cjs"),$=require("./mergeProps-JhcJ7uJL.cjs"),D=require("./filterDOMProps-RRlKPKX0.cjs"),j=require("./useLabels-CvUk-yS3.cjs"),B=require("./context-Df3XbgBG.cjs"),H=require("./useButton-R8-i3HLC.cjs"),S=require("./useFocusRing-BcbYske2.cjs"),_=require("./useHover-DGAmG7jt.cjs"),A=7e3;let d=null;function L(a,e="assertive",t=A){d?d.announce(a,e,t):(d=new U,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?d.announce(a,e,t):setTimeout(()=>{d!=null&&d.isAttached()&&(d==null||d.announce(a,e,t))},100))}function K(a){d&&d.clear(a)}class U{isAttached(){var e;return(e=this.node)===null||e===void 0?void 0:e.isConnected}createLog(e){let t=document.createElement("div");return t.setAttribute("role","log"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions"),t}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,t="assertive",i=A){var r,n;if(!this.node)return;let l=document.createElement("div");typeof e=="object"?(l.setAttribute("role","img"),l.setAttribute("aria-labelledby",e["aria-labelledby"])):l.textContent=e,t==="assertive"?(r=this.assertiveLog)===null||r===void 0||r.appendChild(l):(n=this.politeLog)===null||n===void 0||n.appendChild(l),e!==""&&setTimeout(()=>{l.remove()},i)}clear(e){this.node&&((!e||e==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!e||e==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}}let E=new Map,w=!1;try{w=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let g=!1;try{g=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const I={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class V{format(e){let t="";if(!w&&this.options.signDisplay!=null?t=k(this.numberFormatter,this.options.signDisplay,e):t=this.numberFormatter.format(e),this.options.style==="unit"&&!g){var i;let{unit:r,unitDisplay:n="short",locale:l}=this.resolvedOptions();if(!r)return t;let o=(i=I[r])===null||i===void 0?void 0:i[n];t+=o[l]||o.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(e,t);if(t<e)throw new RangeError("End date must be >= start date");return`${this.format(e)} – ${this.format(t)}`}formatRangeToParts(e,t){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw new RangeError("End date must be >= start date");let i=this.numberFormatter.formatToParts(e),r=this.numberFormatter.formatToParts(t);return[...i.map(n=>({...n,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(n=>({...n,source:"endRange"}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return!w&&this.options.signDisplay!=null&&(e={...e,signDisplay:this.options.signDisplay}),!g&&this.options.style==="unit"&&(e={...e,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}constructor(e,t={}){this.numberFormatter=Z(e,t),this.options=t}}function Z(a,e={}){let{numberingSystem:t}=e;if(t&&a.includes("-nu-")&&(a.includes("-u-")||(a+="-u-"),a+=`-nu-${t}`),e.style==="unit"&&!g){var i;let{unit:l,unitDisplay:o="short"}=e;if(!l)throw new Error('unit option must be provided with style: "unit"');if(!(!((i=I[l])===null||i===void 0)&&i[o]))throw new Error(`Unsupported unit ${l} with unitDisplay = ${o}`);e={...e,style:"decimal"}}let r=a+(e?Object.entries(e).sort((l,o)=>l[0]<o[0]?-1:1).join():"");if(E.has(r))return E.get(r);let n=new Intl.NumberFormat(a,e);return E.set(r,n),n}function k(a,e,t){if(e==="auto")return a.format(t);if(e==="never")return a.format(Math.abs(t));{let i=!1;if(e==="always"?i=t>0||Object.is(t,0):e==="exceptZero"&&(Object.is(t,-0)||Object.is(t,0)?t=Math.abs(t):i=t>0),i){let r=a.format(-t),n=a.format(t),l=r.replace(n,"").replace(/\u200e|\u061C/,"");return[...l].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),r.replace(n,"!!!").replace(l,"+").replace("!!!",n)}else return a.format(t)}}function z(a={}){let{locale:e}=B.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7();return s.useMemo(()=>new V(e,a),[e,a])}function N(a){let{id:e,label:t,"aria-labelledby":i,"aria-label":r,labelElementType:n="label"}=a;e=$.$bdb11010cef70236$export$f680877a34711e37(e);let l=$.$bdb11010cef70236$export$f680877a34711e37(),o={};t?(i=i?`${l} ${i}`:l,o={id:l,htmlFor:n==="label"?e:void 0}):!i&&!r&&process.env.NODE_ENV!=="production"&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let f=j.$313b98861ee5dd6c$export$d6875122194c7b44({id:e,"aria-label":r,"aria-labelledby":i});return{labelProps:o,fieldProps:f}}function G(a){let{value:e=0,minValue:t=0,maxValue:i=100,valueLabel:r,isIndeterminate:n,formatOptions:l={style:"percent"}}=a,o=D.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(a,{labelable:!0}),{labelProps:f,fieldProps:c}=N({...a,labelElementType:"span"});e=R.$9446cca9a3875146$export$7d15b64cf5a3a4c4(e,t,i);let h=(e-t)/(i-t),p=z(l);if(!n&&!r){let u=l.style==="percent"?h:e;r=p.format(u)}return{progressBarProps:$.$3ef42575df84b30b$export$9d1611c77c2fe928(o,{...c,"aria-valuenow":n?void 0:e,"aria-valuemin":t,"aria-valuemax":i,"aria-valuetext":n?void 0:r,role:"progressbar"}),labelProps:f}}const T=s.createContext({}),J=O.$f39a9eba43920ace$export$86427a43e3e48ebb(function(e,t){[e,t]=m.$64fa3d84918910a7$export$29f1550f4b0d4415(e,t,T);let{elementType:i="label",...r}=e;return s.createElement(i,{className:"react-aria-Label",...r,ref:t})}),M=s.createContext(null),W=s.forwardRef(function(e,t){[e,t]=m.$64fa3d84918910a7$export$29f1550f4b0d4415(e,t,M);let{value:i=0,minValue:r=0,maxValue:n=100,isIndeterminate:l=!1}=e;i=R.$9446cca9a3875146$export$7d15b64cf5a3a4c4(i,r,n);let[o,f]=m.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!e["aria-label"]&&!e["aria-labelledby"]),{progressBarProps:c,labelProps:h}=G({...e,label:f}),p=l?void 0:(i-r)/(n-r)*100,u=m.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-ProgressBar",values:{percentage:p,valueText:c["aria-valuetext"],isIndeterminate:l}}),v=D.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0});return s.createElement("div",{...$.$3ef42575df84b30b$export$9d1611c77c2fe928(v,u,c),ref:t,slot:e.slot||void 0},s.createElement(T.Provider,{value:{...h,ref:o,elementType:"span"}},u.children))}),q=s.createContext({}),Y=O.$f39a9eba43920ace$export$86427a43e3e48ebb(function(e,t){[e,t]=m.$64fa3d84918910a7$export$29f1550f4b0d4415(e,t,q),e=Q(e);let i=e,{isPending:r}=i,{buttonProps:n,isPressed:l}=H.$701a24aa0da5b062$export$ea18c227d4417cc3(e,t),{focusProps:o,isFocused:f,isFocusVisible:c}=S.$f7dceffc5ad7768b$export$4e328f61c538687f(e),{hoverProps:h,isHovered:p}=_.$6179b936705e76d3$export$ae780daf29e6d456({...e,isDisabled:e.isDisabled||r}),u={isHovered:p,isPressed:(i.isPressed||l)&&!r,isFocused:f,isFocusVisible:c,isDisabled:e.isDisabled||!1,isPending:r??!1},v=m.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:u,defaultClassName:"react-aria-Button"}),x=$.$bdb11010cef70236$export$f680877a34711e37(n.id),y=$.$bdb11010cef70236$export$f680877a34711e37(),b=n["aria-labelledby"];r&&(b?b=`${b} ${y}`:n["aria-label"]&&(b=`${x} ${y}`));let P=s.useRef(r);s.useEffect(()=>{let F={"aria-labelledby":b||x};(!P.current&&f&&r||P.current&&f&&!r)&&L(F,"assertive"),P.current=r},[r,f,b,x]);let C=D.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0});return delete C.onClick,s.createElement("button",{...$.$3ef42575df84b30b$export$9d1611c77c2fe928(C,v,n,o,h),type:n.type==="submit"&&r?"button":n.type,id:x,ref:t,"aria-labelledby":b,slot:e.slot||void 0,"aria-disabled":r?"true":n["aria-disabled"],"data-disabled":e.isDisabled||void 0,"data-pressed":u.isPressed||void 0,"data-hovered":p||void 0,"data-focused":f||void 0,"data-pending":r||void 0,"data-focus-visible":c||void 0},s.createElement(M.Provider,{value:{id:y}},v.children))});function Q(a){return a.isPending&&(a.onPress=void 0,a.onPressStart=void 0,a.onPressEnd=void 0,a.onPressChange=void 0,a.onPressUp=void 0,a.onKeyDown=void 0,a.onKeyUp=void 0,a.onClick=void 0,a.href=void 0),a}exports.$01b77f81d0f07f68$export$75b6ee27786ba447=T;exports.$01b77f81d0f07f68$export$b04be29aa201d4f5=J;exports.$0393f8ab869a0f1a$export$c17561cb55d4db30=W;exports.$319e236875307eab$export$a9b970dcc4ae71a9=L;exports.$319e236875307eab$export$d10ae4f68404609a=K;exports.$488c6ddbf4ef74c2$export$cc77c4ff7e8673c5=V;exports.$d191a55c9702f145$export$8467354a121f1b9f=N;exports.$d2b4bc8c273e7be6$export$24d547caef80ccd1=q;exports.$d2b4bc8c273e7be6$export$353f5b6fc5456de1=Y;
|
|
@@ -1,30 +1,78 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
import { $ as A } from "./Hidden-
|
|
3
|
-
import m, { useMemo as
|
|
4
|
-
import { $ as
|
|
5
|
-
import { c as
|
|
6
|
-
import { $ as
|
|
7
|
-
import { $ as
|
|
8
|
-
import { $ as
|
|
9
|
-
import { $ as
|
|
10
|
-
import { $ as
|
|
11
|
-
import { $ as
|
|
12
|
-
|
|
1
|
+
import { $ as L, d as _, a as R } from "./utils-Cpcjg55U.js";
|
|
2
|
+
import { $ as A } from "./Hidden-C9KWUR7b.js";
|
|
3
|
+
import m, { useMemo as B, createContext as w, forwardRef as S, useRef as H, useEffect as K } from "react";
|
|
4
|
+
import { $ as I } from "./number-BE8InLgI.js";
|
|
5
|
+
import { c as v, a as D } from "./mergeProps-BSsN7Bgk.js";
|
|
6
|
+
import { $ as T } from "./filterDOMProps-wsa9OcNI.js";
|
|
7
|
+
import { $ as U } from "./useLabels-Kmq5JCp_.js";
|
|
8
|
+
import { $ as Z } from "./context-CGNJ3grH.js";
|
|
9
|
+
import { $ as k } from "./useButton-D6iUB8cN.js";
|
|
10
|
+
import { $ as z } from "./useFocusRing-DMo8ctYV.js";
|
|
11
|
+
import { $ as G } from "./useHover-D6bNIkU0.js";
|
|
12
|
+
const V = 7e3;
|
|
13
|
+
let s = null;
|
|
14
|
+
function O(a, e = "assertive", t = V) {
|
|
15
|
+
s ? s.announce(a, e, t) : (s = new J(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? s.announce(a, e, t) : setTimeout(() => {
|
|
16
|
+
s != null && s.isAttached() && (s == null || s.announce(a, e, t));
|
|
17
|
+
}, 100));
|
|
18
|
+
}
|
|
19
|
+
function $e(a) {
|
|
20
|
+
s && s.clear(a);
|
|
21
|
+
}
|
|
22
|
+
class J {
|
|
23
|
+
isAttached() {
|
|
24
|
+
var e;
|
|
25
|
+
return (e = this.node) === null || e === void 0 ? void 0 : e.isConnected;
|
|
26
|
+
}
|
|
27
|
+
createLog(e) {
|
|
28
|
+
let t = document.createElement("div");
|
|
29
|
+
return t.setAttribute("role", "log"), t.setAttribute("aria-live", e), t.setAttribute("aria-relevant", "additions"), t;
|
|
30
|
+
}
|
|
31
|
+
destroy() {
|
|
32
|
+
this.node && (document.body.removeChild(this.node), this.node = null);
|
|
33
|
+
}
|
|
34
|
+
announce(e, t = "assertive", r = V) {
|
|
35
|
+
var i, l;
|
|
36
|
+
if (!this.node) return;
|
|
37
|
+
let n = document.createElement("div");
|
|
38
|
+
typeof e == "object" ? (n.setAttribute("role", "img"), n.setAttribute("aria-labelledby", e["aria-labelledby"])) : n.textContent = e, t === "assertive" ? (i = this.assertiveLog) === null || i === void 0 || i.appendChild(n) : (l = this.politeLog) === null || l === void 0 || l.appendChild(n), e !== "" && setTimeout(() => {
|
|
39
|
+
n.remove();
|
|
40
|
+
}, r);
|
|
41
|
+
}
|
|
42
|
+
clear(e) {
|
|
43
|
+
this.node && ((!e || e === "assertive") && this.assertiveLog && (this.assertiveLog.innerHTML = ""), (!e || e === "polite") && this.politeLog && (this.politeLog.innerHTML = ""));
|
|
44
|
+
}
|
|
45
|
+
constructor() {
|
|
46
|
+
this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {
|
|
47
|
+
border: 0,
|
|
48
|
+
clip: "rect(0 0 0 0)",
|
|
49
|
+
clipPath: "inset(50%)",
|
|
50
|
+
height: "1px",
|
|
51
|
+
margin: "-1px",
|
|
52
|
+
overflow: "hidden",
|
|
53
|
+
padding: 0,
|
|
54
|
+
position: "absolute",
|
|
55
|
+
width: "1px",
|
|
56
|
+
whiteSpace: "nowrap"
|
|
57
|
+
}), this.assertiveLog = this.createLog("assertive"), this.node.appendChild(this.assertiveLog), this.politeLog = this.createLog("polite"), this.node.appendChild(this.politeLog), document.body.prepend(this.node));
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
let x = /* @__PURE__ */ new Map(), E = !1;
|
|
13
61
|
try {
|
|
14
|
-
|
|
62
|
+
E = new Intl.NumberFormat("de-DE", {
|
|
15
63
|
signDisplay: "exceptZero"
|
|
16
64
|
}).resolvedOptions().signDisplay === "exceptZero";
|
|
17
65
|
} catch {
|
|
18
66
|
}
|
|
19
|
-
let
|
|
67
|
+
let y = !1;
|
|
20
68
|
try {
|
|
21
|
-
|
|
69
|
+
y = new Intl.NumberFormat("de-DE", {
|
|
22
70
|
style: "unit",
|
|
23
71
|
unit: "degree"
|
|
24
72
|
}).resolvedOptions().style === "unit";
|
|
25
73
|
} catch {
|
|
26
74
|
}
|
|
27
|
-
const
|
|
75
|
+
const N = {
|
|
28
76
|
degree: {
|
|
29
77
|
narrow: {
|
|
30
78
|
default: "°",
|
|
@@ -34,16 +82,16 @@ const O = {
|
|
|
34
82
|
}
|
|
35
83
|
}
|
|
36
84
|
};
|
|
37
|
-
class
|
|
85
|
+
class W {
|
|
38
86
|
/** Formats a number value as a string, according to the locale and options provided to the constructor. */
|
|
39
87
|
format(e) {
|
|
40
88
|
let t = "";
|
|
41
|
-
if (!
|
|
89
|
+
if (!E && this.options.signDisplay != null ? t = q(this.numberFormatter, this.options.signDisplay, e) : t = this.numberFormatter.format(e), this.options.style === "unit" && !y) {
|
|
42
90
|
var r;
|
|
43
|
-
let { unit: i, unitDisplay:
|
|
91
|
+
let { unit: i, unitDisplay: l = "short", locale: n } = this.resolvedOptions();
|
|
44
92
|
if (!i) return t;
|
|
45
|
-
let o = (r =
|
|
46
|
-
t += o[
|
|
93
|
+
let o = (r = N[i]) === null || r === void 0 ? void 0 : r[l];
|
|
94
|
+
t += o[n] || o.default;
|
|
47
95
|
}
|
|
48
96
|
return t;
|
|
49
97
|
}
|
|
@@ -63,8 +111,8 @@ class G {
|
|
|
63
111
|
if (t < e) throw new RangeError("End date must be >= start date");
|
|
64
112
|
let r = this.numberFormatter.formatToParts(e), i = this.numberFormatter.formatToParts(t);
|
|
65
113
|
return [
|
|
66
|
-
...r.map((
|
|
67
|
-
...
|
|
114
|
+
...r.map((l) => ({
|
|
115
|
+
...l,
|
|
68
116
|
source: "startRange"
|
|
69
117
|
})),
|
|
70
118
|
{
|
|
@@ -72,8 +120,8 @@ class G {
|
|
|
72
120
|
value: " – ",
|
|
73
121
|
source: "shared"
|
|
74
122
|
},
|
|
75
|
-
...i.map((
|
|
76
|
-
...
|
|
123
|
+
...i.map((l) => ({
|
|
124
|
+
...l,
|
|
77
125
|
source: "endRange"
|
|
78
126
|
}))
|
|
79
127
|
];
|
|
@@ -81,10 +129,10 @@ class G {
|
|
|
81
129
|
/** Returns the resolved formatting options based on the values passed to the constructor. */
|
|
82
130
|
resolvedOptions() {
|
|
83
131
|
let e = this.numberFormatter.resolvedOptions();
|
|
84
|
-
return !
|
|
132
|
+
return !E && this.options.signDisplay != null && (e = {
|
|
85
133
|
...e,
|
|
86
134
|
signDisplay: this.options.signDisplay
|
|
87
|
-
}), !
|
|
135
|
+
}), !y && this.options.style === "unit" && (e = {
|
|
88
136
|
...e,
|
|
89
137
|
style: "unit",
|
|
90
138
|
unit: this.options.unit,
|
|
@@ -92,103 +140,55 @@ class G {
|
|
|
92
140
|
}), e;
|
|
93
141
|
}
|
|
94
142
|
constructor(e, t = {}) {
|
|
95
|
-
this.numberFormatter =
|
|
143
|
+
this.numberFormatter = Y(e, t), this.options = t;
|
|
96
144
|
}
|
|
97
145
|
}
|
|
98
|
-
function
|
|
146
|
+
function Y(a, e = {}) {
|
|
99
147
|
let { numberingSystem: t } = e;
|
|
100
|
-
if (t && a.includes("-nu-") && (a.includes("-u-") || (a += "-u-"), a += `-nu-${t}`), e.style === "unit" && !
|
|
148
|
+
if (t && a.includes("-nu-") && (a.includes("-u-") || (a += "-u-"), a += `-nu-${t}`), e.style === "unit" && !y) {
|
|
101
149
|
var r;
|
|
102
|
-
let { unit:
|
|
103
|
-
if (!
|
|
104
|
-
if (!(!((r =
|
|
150
|
+
let { unit: n, unitDisplay: o = "short" } = e;
|
|
151
|
+
if (!n) throw new Error('unit option must be provided with style: "unit"');
|
|
152
|
+
if (!(!((r = N[n]) === null || r === void 0) && r[o])) throw new Error(`Unsupported unit ${n} with unitDisplay = ${o}`);
|
|
105
153
|
e = {
|
|
106
154
|
...e,
|
|
107
155
|
style: "decimal"
|
|
108
156
|
};
|
|
109
157
|
}
|
|
110
|
-
let i = a + (e ? Object.entries(e).sort((
|
|
111
|
-
if (
|
|
112
|
-
let
|
|
113
|
-
return
|
|
158
|
+
let i = a + (e ? Object.entries(e).sort((n, o) => n[0] < o[0] ? -1 : 1).join() : "");
|
|
159
|
+
if (x.has(i)) return x.get(i);
|
|
160
|
+
let l = new Intl.NumberFormat(a, e);
|
|
161
|
+
return x.set(i, l), l;
|
|
114
162
|
}
|
|
115
|
-
function
|
|
163
|
+
function q(a, e, t) {
|
|
116
164
|
if (e === "auto") return a.format(t);
|
|
117
165
|
if (e === "never") return a.format(Math.abs(t));
|
|
118
166
|
{
|
|
119
167
|
let r = !1;
|
|
120
168
|
if (e === "always" ? r = t > 0 || Object.is(t, 0) : e === "exceptZero" && (Object.is(t, -0) || Object.is(t, 0) ? t = Math.abs(t) : r = t > 0), r) {
|
|
121
|
-
let i = a.format(-t),
|
|
169
|
+
let i = a.format(-t), l = a.format(t), n = i.replace(l, "").replace(/\u200e|\u061C/, "");
|
|
122
170
|
return [
|
|
123
|
-
...
|
|
124
|
-
].length !== 1 && console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"), i.replace(
|
|
171
|
+
...n
|
|
172
|
+
].length !== 1 && console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"), i.replace(l, "!!!").replace(n, "+").replace("!!!", l);
|
|
125
173
|
} else return a.format(t);
|
|
126
174
|
}
|
|
127
175
|
}
|
|
128
|
-
function
|
|
129
|
-
let { locale: e } =
|
|
130
|
-
return
|
|
176
|
+
function Q(a = {}) {
|
|
177
|
+
let { locale: e } = Z();
|
|
178
|
+
return B(() => new W(e, a), [
|
|
131
179
|
e,
|
|
132
180
|
a
|
|
133
181
|
]);
|
|
134
182
|
}
|
|
135
|
-
|
|
136
|
-
let
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
function $e(a) {
|
|
143
|
-
s && s.clear(a);
|
|
144
|
-
}
|
|
145
|
-
class q {
|
|
146
|
-
isAttached() {
|
|
147
|
-
var e;
|
|
148
|
-
return (e = this.node) === null || e === void 0 ? void 0 : e.isConnected;
|
|
149
|
-
}
|
|
150
|
-
createLog(e) {
|
|
151
|
-
let t = document.createElement("div");
|
|
152
|
-
return t.setAttribute("role", "log"), t.setAttribute("aria-live", e), t.setAttribute("aria-relevant", "additions"), t;
|
|
153
|
-
}
|
|
154
|
-
destroy() {
|
|
155
|
-
this.node && (document.body.removeChild(this.node), this.node = null);
|
|
156
|
-
}
|
|
157
|
-
announce(e, t = "assertive", r = V) {
|
|
158
|
-
var i, n;
|
|
159
|
-
if (!this.node) return;
|
|
160
|
-
let l = document.createElement("div");
|
|
161
|
-
typeof e == "object" ? (l.setAttribute("role", "img"), l.setAttribute("aria-labelledby", e["aria-labelledby"])) : l.textContent = e, t === "assertive" ? (i = this.assertiveLog) === null || i === void 0 || i.appendChild(l) : (n = this.politeLog) === null || n === void 0 || n.appendChild(l), e !== "" && setTimeout(() => {
|
|
162
|
-
l.remove();
|
|
163
|
-
}, r);
|
|
164
|
-
}
|
|
165
|
-
clear(e) {
|
|
166
|
-
this.node && ((!e || e === "assertive") && this.assertiveLog && (this.assertiveLog.innerHTML = ""), (!e || e === "polite") && this.politeLog && (this.politeLog.innerHTML = ""));
|
|
167
|
-
}
|
|
168
|
-
constructor() {
|
|
169
|
-
this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {
|
|
170
|
-
border: 0,
|
|
171
|
-
clip: "rect(0 0 0 0)",
|
|
172
|
-
clipPath: "inset(50%)",
|
|
173
|
-
height: "1px",
|
|
174
|
-
margin: "-1px",
|
|
175
|
-
overflow: "hidden",
|
|
176
|
-
padding: 0,
|
|
177
|
-
position: "absolute",
|
|
178
|
-
width: "1px",
|
|
179
|
-
whiteSpace: "nowrap"
|
|
180
|
-
}), this.assertiveLog = this.createLog("assertive"), this.node.appendChild(this.assertiveLog), this.politeLog = this.createLog("polite"), this.node.appendChild(this.politeLog), document.body.prepend(this.node));
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
function Q(a) {
|
|
184
|
-
let { id: e, label: t, "aria-labelledby": r, "aria-label": i, labelElementType: n = "label" } = a;
|
|
185
|
-
e = h(e);
|
|
186
|
-
let l = h(), o = {};
|
|
187
|
-
t ? (r = r ? `${l} ${r}` : l, o = {
|
|
188
|
-
id: l,
|
|
189
|
-
htmlFor: n === "label" ? e : void 0
|
|
183
|
+
function X(a) {
|
|
184
|
+
let { id: e, label: t, "aria-labelledby": r, "aria-label": i, labelElementType: l = "label" } = a;
|
|
185
|
+
e = v(e);
|
|
186
|
+
let n = v(), o = {};
|
|
187
|
+
t ? (r = r ? `${n} ${r}` : n, o = {
|
|
188
|
+
id: n,
|
|
189
|
+
htmlFor: l === "label" ? e : void 0
|
|
190
190
|
}) : !r && !i && process.env.NODE_ENV !== "production" && console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");
|
|
191
|
-
let d =
|
|
191
|
+
let d = U({
|
|
192
192
|
id: e,
|
|
193
193
|
"aria-label": i,
|
|
194
194
|
"aria-labelledby": r
|
|
@@ -198,144 +198,138 @@ function Q(a) {
|
|
|
198
198
|
fieldProps: d
|
|
199
199
|
};
|
|
200
200
|
}
|
|
201
|
-
function
|
|
202
|
-
let { value: e = 0, minValue: t = 0, maxValue: r = 100, valueLabel: i, isIndeterminate:
|
|
201
|
+
function ee(a) {
|
|
202
|
+
let { value: e = 0, minValue: t = 0, maxValue: r = 100, valueLabel: i, isIndeterminate: l, formatOptions: n = {
|
|
203
203
|
style: "percent"
|
|
204
|
-
} } = a, o =
|
|
204
|
+
} } = a, o = T(a, {
|
|
205
205
|
labelable: !0
|
|
206
|
-
}), { labelProps: d, fieldProps: f } =
|
|
206
|
+
}), { labelProps: d, fieldProps: f } = X({
|
|
207
207
|
...a,
|
|
208
208
|
// Progress bar is not an HTML input element so it
|
|
209
209
|
// shouldn't be labeled by a <label> element.
|
|
210
210
|
labelElementType: "span"
|
|
211
211
|
});
|
|
212
|
-
e =
|
|
213
|
-
let $ = (e - t) / (r - t), b =
|
|
214
|
-
if (!
|
|
215
|
-
let u =
|
|
212
|
+
e = I(e, t, r);
|
|
213
|
+
let $ = (e - t) / (r - t), b = Q(n);
|
|
214
|
+
if (!l && !i) {
|
|
215
|
+
let u = n.style === "percent" ? $ : e;
|
|
216
216
|
i = b.format(u);
|
|
217
217
|
}
|
|
218
218
|
return {
|
|
219
|
-
progressBarProps:
|
|
219
|
+
progressBarProps: D(o, {
|
|
220
220
|
...f,
|
|
221
|
-
"aria-valuenow":
|
|
221
|
+
"aria-valuenow": l ? void 0 : e,
|
|
222
222
|
"aria-valuemin": t,
|
|
223
223
|
"aria-valuemax": r,
|
|
224
|
-
"aria-valuetext":
|
|
224
|
+
"aria-valuetext": l ? void 0 : i,
|
|
225
225
|
role: "progressbar"
|
|
226
226
|
}),
|
|
227
227
|
labelProps: d
|
|
228
228
|
};
|
|
229
229
|
}
|
|
230
|
-
const
|
|
231
|
-
[e, t] =
|
|
230
|
+
const M = /* @__PURE__ */ w({}), me = /* @__PURE__ */ A(function(e, t) {
|
|
231
|
+
[e, t] = L(e, t, M);
|
|
232
232
|
let { elementType: r = "label", ...i } = e;
|
|
233
233
|
return /* @__PURE__ */ m.createElement(r, {
|
|
234
234
|
className: "react-aria-Label",
|
|
235
235
|
...i,
|
|
236
236
|
ref: t
|
|
237
237
|
});
|
|
238
|
-
}),
|
|
239
|
-
[e, t] =
|
|
240
|
-
let { value: r = 0, minValue: i = 0, maxValue:
|
|
241
|
-
r =
|
|
242
|
-
let [o, d] =
|
|
238
|
+
}), j = /* @__PURE__ */ w(null), pe = /* @__PURE__ */ S(function(e, t) {
|
|
239
|
+
[e, t] = L(e, t, j);
|
|
240
|
+
let { value: r = 0, minValue: i = 0, maxValue: l = 100, isIndeterminate: n = !1 } = e;
|
|
241
|
+
r = I(r, i, l);
|
|
242
|
+
let [o, d] = _(!e["aria-label"] && !e["aria-labelledby"]), { progressBarProps: f, labelProps: $ } = ee({
|
|
243
243
|
...e,
|
|
244
244
|
label: d
|
|
245
|
-
}), b =
|
|
245
|
+
}), b = n ? void 0 : (r - i) / (l - i) * 100, u = R({
|
|
246
246
|
...e,
|
|
247
247
|
defaultClassName: "react-aria-ProgressBar",
|
|
248
248
|
values: {
|
|
249
249
|
percentage: b,
|
|
250
250
|
valueText: f["aria-valuetext"],
|
|
251
|
-
isIndeterminate:
|
|
251
|
+
isIndeterminate: n
|
|
252
252
|
}
|
|
253
|
+
}), p = T(e, {
|
|
254
|
+
global: !0
|
|
253
255
|
});
|
|
254
256
|
return /* @__PURE__ */ m.createElement("div", {
|
|
255
|
-
...f,
|
|
256
|
-
...u,
|
|
257
|
+
...D(p, u, f),
|
|
257
258
|
ref: t,
|
|
258
259
|
slot: e.slot || void 0
|
|
259
|
-
}, /* @__PURE__ */ m.createElement(
|
|
260
|
+
}, /* @__PURE__ */ m.createElement(M.Provider, {
|
|
260
261
|
value: {
|
|
261
262
|
...$,
|
|
262
263
|
ref: o,
|
|
263
264
|
elementType: "span"
|
|
264
265
|
}
|
|
265
266
|
}, u.children));
|
|
266
|
-
}),
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
"formEncType",
|
|
270
|
-
"formMethod",
|
|
271
|
-
"formNoValidate",
|
|
272
|
-
"formTarget",
|
|
273
|
-
"name",
|
|
274
|
-
"value"
|
|
275
|
-
]), te = /* @__PURE__ */ L({}), he = /* @__PURE__ */ A(function(e, t) {
|
|
276
|
-
[e, t] = E(e, t, te), e = ae(e);
|
|
277
|
-
let r = e, { isPending: i } = r, { buttonProps: n, isPressed: l } = Z(e, t), { focusProps: o, isFocused: d, isFocusVisible: f } = k(e), { hoverProps: $, isHovered: b } = z({
|
|
267
|
+
}), te = /* @__PURE__ */ w({}), he = /* @__PURE__ */ A(function(e, t) {
|
|
268
|
+
[e, t] = L(e, t, te), e = ae(e);
|
|
269
|
+
let r = e, { isPending: i } = r, { buttonProps: l, isPressed: n } = k(e, t), { focusProps: o, isFocused: d, isFocusVisible: f } = z(e), { hoverProps: $, isHovered: b } = G({
|
|
278
270
|
...e,
|
|
279
271
|
isDisabled: e.isDisabled || i
|
|
280
272
|
}), u = {
|
|
281
273
|
isHovered: b,
|
|
282
|
-
isPressed: (r.isPressed ||
|
|
274
|
+
isPressed: (r.isPressed || n) && !i,
|
|
283
275
|
isFocused: d,
|
|
284
276
|
isFocusVisible: f,
|
|
285
277
|
isDisabled: e.isDisabled || !1,
|
|
286
278
|
isPending: i ?? !1
|
|
287
|
-
},
|
|
279
|
+
}, p = R({
|
|
288
280
|
...e,
|
|
289
281
|
values: u,
|
|
290
282
|
defaultClassName: "react-aria-Button"
|
|
291
|
-
}),
|
|
292
|
-
i && (c ? c = `${c} ${
|
|
293
|
-
let
|
|
294
|
-
|
|
295
|
-
let
|
|
296
|
-
"aria-labelledby": c ||
|
|
283
|
+
}), h = v(l.id), g = v(), c = l["aria-labelledby"];
|
|
284
|
+
i && (c ? c = `${c} ${g}` : l["aria-label"] && (c = `${h} ${g}`));
|
|
285
|
+
let P = H(i);
|
|
286
|
+
K(() => {
|
|
287
|
+
let C = {
|
|
288
|
+
"aria-labelledby": c || h
|
|
297
289
|
};
|
|
298
|
-
(!
|
|
290
|
+
(!P.current && d && i || P.current && d && !i) && O(C, "assertive"), P.current = i;
|
|
299
291
|
}, [
|
|
300
292
|
i,
|
|
301
293
|
d,
|
|
302
294
|
c,
|
|
303
|
-
|
|
304
|
-
])
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
...
|
|
310
|
-
|
|
311
|
-
|
|
295
|
+
h
|
|
296
|
+
]);
|
|
297
|
+
let F = T(e, {
|
|
298
|
+
global: !0
|
|
299
|
+
});
|
|
300
|
+
return delete F.onClick, /* @__PURE__ */ m.createElement("button", {
|
|
301
|
+
...D(F, p, l, o, $),
|
|
302
|
+
// When the button is in a pending state, we want to stop implicit form submission (ie. when the user presses enter on a text input).
|
|
303
|
+
// We do this by changing the button's type to button.
|
|
304
|
+
type: l.type === "submit" && i ? "button" : l.type,
|
|
305
|
+
id: h,
|
|
312
306
|
ref: t,
|
|
313
307
|
"aria-labelledby": c,
|
|
314
308
|
slot: e.slot || void 0,
|
|
315
|
-
"aria-disabled": i ? "true" :
|
|
309
|
+
"aria-disabled": i ? "true" : l["aria-disabled"],
|
|
316
310
|
"data-disabled": e.isDisabled || void 0,
|
|
317
311
|
"data-pressed": u.isPressed || void 0,
|
|
318
312
|
"data-hovered": b || void 0,
|
|
319
313
|
"data-focused": d || void 0,
|
|
320
314
|
"data-pending": i || void 0,
|
|
321
315
|
"data-focus-visible": f || void 0
|
|
322
|
-
}, /* @__PURE__ */ m.createElement(
|
|
316
|
+
}, /* @__PURE__ */ m.createElement(j.Provider, {
|
|
323
317
|
value: {
|
|
324
|
-
id:
|
|
318
|
+
id: g
|
|
325
319
|
}
|
|
326
|
-
},
|
|
320
|
+
}, p.children));
|
|
327
321
|
});
|
|
328
322
|
function ae(a) {
|
|
329
323
|
return a.isPending && (a.onPress = void 0, a.onPressStart = void 0, a.onPressEnd = void 0, a.onPressChange = void 0, a.onPressUp = void 0, a.onKeyDown = void 0, a.onKeyUp = void 0, a.onClick = void 0, a.href = void 0), a;
|
|
330
324
|
}
|
|
331
325
|
export {
|
|
332
326
|
he as $,
|
|
333
|
-
|
|
334
|
-
|
|
327
|
+
X as a,
|
|
328
|
+
M as b,
|
|
335
329
|
pe as c,
|
|
336
330
|
me as d,
|
|
337
331
|
te as e,
|
|
338
|
-
|
|
339
|
-
|
|
332
|
+
O as f,
|
|
333
|
+
W as g,
|
|
340
334
|
$e as h
|
|
341
335
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o, jsxs as a, Fragment as l } from "react/jsx-runtime";
|
|
2
|
-
import { B as r } from "./Button.module-
|
|
3
|
-
import { $ as p } from "./Button-
|
|
2
|
+
import { B as r } from "./Button.module-Bax2YU6N.js";
|
|
3
|
+
import { $ as p } from "./Button-DD5_S-tD.js";
|
|
4
4
|
import { c as u } from "./clsx-OuTLNxxd.js";
|
|
5
5
|
const b = ({
|
|
6
6
|
variant: e = "primary",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),t=require("./Button.module-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),t=require("./Button.module-BNLcvARn.cjs"),y=require("./Button-CMIbSc4-.cjs"),d=require("./clsx-C11secjj.cjs"),B=({variant:e="primary",fullwidth:u,className:o,iconPlacement:i,size:c="large",icon:n,iconSize:l,...s})=>r.jsx(y.$d2b4bc8c273e7be6$export$353f5b6fc5456de1,{className:d.clsx(t.ButtonStyles.button,e==="primary"&&t.ButtonStyles.primary,e==="secondary"&&t.ButtonStyles.secondary,e==="tertiary"&&t.ButtonStyles.tertiary,e==="danger"&&t.ButtonStyles.danger,e==="icon"&&t.ButtonStyles.iconBtn,u&&t.ButtonStyles.fullwidth,c==="medium"&&t.ButtonStyles.medium,i==="right"&&t.ButtonStyles.iconRight,o),...s,children:r.jsxs(r.Fragment,{children:[n&&r.jsx(n,{"aria-hidden":!0,size:l??20}),s.children]})});exports.Button=B;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require('./assets/Button.css');const t="_button_1sgsx_4",s="_secondary_1sgsx_51",n="_tertiary_1sgsx_74",_="_iconBtn_1sgsx_94",o="_medium_1sgsx_114",i="_danger_1sgsx_119",c="_iconRight_1sgsx_141",r="_fullwidth_1sgsx_145",e="_primary_1sgsx_155",g={button:t,secondary:s,tertiary:n,iconBtn:_,medium:o,danger:i,iconRight:c,fullwidth:r,primary:e};exports.ButtonStyles=g;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import './assets/Button.css';const t = "_button_1sgsx_4", s = "_secondary_1sgsx_51", n = "_tertiary_1sgsx_74", _ = "_iconBtn_1sgsx_94", o = "_medium_1sgsx_114", i = "_danger_1sgsx_119", c = "_iconRight_1sgsx_141", r = "_fullwidth_1sgsx_145", g = "_primary_1sgsx_155", e = {
|
|
2
|
+
button: t,
|
|
3
|
+
secondary: s,
|
|
4
|
+
tertiary: n,
|
|
5
|
+
iconBtn: _,
|
|
6
|
+
medium: o,
|
|
7
|
+
danger: i,
|
|
8
|
+
iconRight: c,
|
|
9
|
+
fullwidth: r,
|
|
10
|
+
primary: g
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
e as B
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require('./assets/ButtonGroup.css');const s=require("react/jsx-runtime"),n=require("./clsx-C11secjj.cjs"),e="_buttonGroup_dinoh_4",c={buttonGroup:e},l=({children:t,className:o,"aria-label":u,...r})=>s.jsx("div",{role:"group","aria-label":u,className:n.clsx(c.buttonGroup,o),...r,children:t});exports.ButtonGroup=l;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { c as a } from "./clsx-OuTLNxxd.js";
|
|
3
|
-
import './assets/ButtonGroup.css';const n = "
|
|
3
|
+
import './assets/ButtonGroup.css';const n = "_buttonGroup_dinoh_4", p = {
|
|
4
4
|
buttonGroup: n
|
|
5
5
|
}, b = ({
|
|
6
6
|
children: o,
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,68 @@
|
|
|
1
|
+
## 12.1.0 (2025-09-10)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **menu:** new Menu component ([#744](https://github.com/migrationsverket/midas/pull/744))
|
|
6
|
+
- **combobox:** add loading indicator ([#772](https://github.com/migrationsverket/midas/pull/772), [#712](https://github.com/migrationsverket/midas/issues/712))
|
|
7
|
+
|
|
8
|
+
### 🩹 Fixes
|
|
9
|
+
|
|
10
|
+
- repair broken tokens ([e905bbf788](https://github.com/migrationsverket/midas/commit/e905bbf788))
|
|
11
|
+
- **select:** minor screen reader announcement bugs ([#775](https://github.com/migrationsverket/midas/pull/775))
|
|
12
|
+
- **accordion:** add margin for focus indicator ([#780](https://github.com/migrationsverket/midas/pull/780))
|
|
13
|
+
- broken tokens ([#782](https://github.com/migrationsverket/midas/pull/782))
|
|
14
|
+
- **layout:** add basepath to active link comparison ([4dec0a45ef](https://github.com/migrationsverket/midas/commit/4dec0a45ef))
|
|
15
|
+
- **badge:** change background color in dark mode ([f40f2dad67](https://github.com/migrationsverket/midas/commit/f40f2dad67))
|
|
16
|
+
- **select:** add aria label to checkbox ([e6cb387a7f](https://github.com/migrationsverket/midas/commit/e6cb387a7f))
|
|
17
|
+
- **components:** export missing listbox types from component lib ([1f06b98610](https://github.com/migrationsverket/midas/commit/1f06b98610))
|
|
18
|
+
- **textfield:** remove duplicate props spreading ([#769](https://github.com/migrationsverket/midas/pull/769))
|
|
19
|
+
- **textfield:** make textarea resizable and remove size from controls storybook ([6d04e25308](https://github.com/migrationsverket/midas/commit/6d04e25308))
|
|
20
|
+
|
|
21
|
+
### 💅 Refactors
|
|
22
|
+
|
|
23
|
+
- rename variables in \*.module.css ([42329bde56](https://github.com/migrationsverket/midas/commit/42329bde56))
|
|
24
|
+
- Migrate CSS custom properties from tokens.css to theme.css ([8a21fe5783](https://github.com/migrationsverket/midas/commit/8a21fe5783))
|
|
25
|
+
|
|
26
|
+
### 📖 Documentation changes
|
|
27
|
+
|
|
28
|
+
- update tokens page with headers and remove tokens from list that are only refs ([ded9bfa8c7](https://github.com/migrationsverket/midas/commit/ded9bfa8c7))
|
|
29
|
+
|
|
30
|
+
### 🔧 Maintenance
|
|
31
|
+
|
|
32
|
+
- **deps:** bump vite in the npm_and_yarn group across 1 directory ([7758e60274](https://github.com/migrationsverket/midas/commit/7758e60274))
|
|
33
|
+
- add css variable linting ([c39e488881](https://github.com/migrationsverket/midas/commit/c39e488881))
|
|
34
|
+
- add dummy comment ([0c12e51cec](https://github.com/migrationsverket/midas/commit/0c12e51cec))
|
|
35
|
+
- move sd config into components package ([4e61ffb05b](https://github.com/migrationsverket/midas/commit/4e61ffb05b))
|
|
36
|
+
- replace rgba() with hex color ([c03b3a7737](https://github.com/migrationsverket/midas/commit/c03b3a7737))
|
|
37
|
+
- set proper object relationship `white: {base: {$value: ...` ([a60bd1643e](https://github.com/migrationsverket/midas/commit/a60bd1643e))
|
|
38
|
+
- add comments to deprecations in tokens.ts ([1adf6a5ffa](https://github.com/migrationsverket/midas/commit/1adf6a5ffa))
|
|
39
|
+
- fix incorrect color generation for nested light-dark ([83b80912f9](https://github.com/migrationsverket/midas/commit/83b80912f9))
|
|
40
|
+
- deprecate tokens.ts and add a warning text to relevant docs ([3025708cc3](https://github.com/migrationsverket/midas/commit/3025708cc3))
|
|
41
|
+
- fix additional `base` variables ([f698b08f8f](https://github.com/migrationsverket/midas/commit/f698b08f8f))
|
|
42
|
+
- replace `@` with `base`, additional cleanup ([2c6bf1e35a](https://github.com/migrationsverket/midas/commit/2c6bf1e35a))
|
|
43
|
+
- correct badge style fixes ([dc8555d733](https://github.com/migrationsverket/midas/commit/dc8555d733))
|
|
44
|
+
- update new badge colors ([f287e78fab](https://github.com/migrationsverket/midas/commit/f287e78fab))
|
|
45
|
+
- add types to generated tokens ([ba3749bd68](https://github.com/migrationsverket/midas/commit/ba3749bd68))
|
|
46
|
+
- temporarily allow js to get a successful build ([2615fe4c40](https://github.com/migrationsverket/midas/commit/2615fe4c40))
|
|
47
|
+
- ignore variables.css in stylelint ([859dbfbd75](https://github.com/migrationsverket/midas/commit/859dbfbd75))
|
|
48
|
+
- start working on docs ([551e825e38](https://github.com/migrationsverket/midas/commit/551e825e38))
|
|
49
|
+
- clean and update style dictionary script ([4a9423ddb6](https://github.com/migrationsverket/midas/commit/4a9423ddb6))
|
|
50
|
+
- remove theme.css generator ([75adb9e1d5](https://github.com/migrationsverket/midas/commit/75adb9e1d5))
|
|
51
|
+
- rename custom css properties ([aa3eddcef9](https://github.com/migrationsverket/midas/commit/aa3eddcef9))
|
|
52
|
+
- update sd build script ([0b9eb9955e](https://github.com/migrationsverket/midas/commit/0b9eb9955e))
|
|
53
|
+
- add basic config and json input for style dictionary ([6af3212a6a](https://github.com/migrationsverket/midas/commit/6af3212a6a))
|
|
54
|
+
- **deps:** bump the npm_and_yarn group across 1 directory with 4 updates ([67b2b595a1](https://github.com/migrationsverket/midas/commit/67b2b595a1))
|
|
55
|
+
- relax stylelint config to allow media query syntax ([5b6955e604](https://github.com/migrationsverket/midas/commit/5b6955e604))
|
|
56
|
+
- remove check-values-import.js since it is no longer applicable ([f4c3ee95a4](https://github.com/migrationsverket/midas/commit/f4c3ee95a4))
|
|
57
|
+
- create separate storybook configs for serve and build ([642e155d8a](https://github.com/migrationsverket/midas/commit/642e155d8a))
|
|
58
|
+
- update dependencies ([#751](https://github.com/migrationsverket/midas/pull/751))
|
|
59
|
+
|
|
60
|
+
### 🧪 Tests updated
|
|
61
|
+
|
|
62
|
+
- **table:** add a11y test with links in a striped table ([f3cd83cee2](https://github.com/migrationsverket/midas/commit/f3cd83cee2))
|
|
63
|
+
- **table:** remove flaky test ([9b309c1ade](https://github.com/migrationsverket/midas/commit/9b309c1ade))
|
|
64
|
+
- **tag:** add textValue to mute console.warn ([d5d68e4363](https://github.com/migrationsverket/midas/commit/d5d68e4363))
|
|
65
|
+
|
|
1
66
|
# 12.0.0 (2025-08-27)
|
|
2
67
|
|
|
3
68
|
### 🚀 Features
|