@midas-ds/components 12.0.0 → 12.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AccordionItem-CV9Hrare.cjs +1 -0
- package/AccordionItem-Dd9VLdsb.js +335 -0
- package/{BadgeContainer-DGJGJMPi.js → BadgeContainer-iNNgJKD9.js} +8 -8
- package/BadgeContainer-su0iCJKy.cjs +1 -0
- package/Breadcrumbs-BQLxFZVm.cjs +1 -0
- package/Breadcrumbs-C6B4fyk3.js +271 -0
- package/Button-CMIbSc4-.cjs +1 -0
- package/{Button-akT6Hvug.js → Button-CUMHt7MG.js} +2 -2
- package/{Button-DtC_ZOyd.js → Button-DD5_S-tD.js} +155 -161
- package/{Button-DQm2iqKU.cjs → Button-D_tRdPW9.cjs} +1 -1
- package/Button.module-BT9wZenr.cjs +1 -0
- package/Button.module-CGIVvzVm.js +14 -0
- package/{ButtonGroup-DvVvear6.js → ButtonGroup-DC8925jD.js} +1 -1
- package/ButtonGroup-zx-9mxbJ.cjs +1 -0
- package/CHANGELOG.md +82 -0
- package/{Card-CwwVnA_a.js → Card-D2UbrhDW.js} +42 -42
- package/Card-UolcSL5O.cjs +1 -0
- package/{CharacterCounter-DQJVM-mZ.cjs → CharacterCounter-CnRv-iUP.cjs} +1 -1
- package/CharacterCounter-DT7A0wWP.js +22 -0
- package/Checkbox-DTuryJdM.js +278 -0
- package/Checkbox-dtZfsSfx.cjs +1 -0
- package/CheckboxGroup-BmCK0XG9.js +157 -0
- package/CheckboxGroup-DbmYdQEv.cjs +1 -0
- package/Collection-B0_WAieZ.js +625 -0
- package/Collection-BvWp2xBd.cjs +1 -0
- package/{ColorSchemeSwitch-DyZ9FAKG.js → ColorSchemeSwitch-CgZfgCG4.js} +20 -28
- package/{ColorSchemeSwitch-DtyJ9-5B.cjs → ColorSchemeSwitch-D5juAHPc.cjs} +3 -3
- package/{ComboBox-Dn3tQzri.js → ComboBox-Cl6jBB-8.js} +518 -503
- package/ComboBox-CvD0t2T2.cjs +1 -0
- package/DateField-D2IqGDL5.js +47 -0
- package/DateField-DJAQH95Q.cjs +1 -0
- package/DateInputDivider-BnSo_Aox.cjs +1 -0
- package/{DateInputDivider-CJEGWmG0.js → DateInputDivider-LxS0Kw1H.js} +936 -839
- package/DateRangePicker-CNPXbRqx.js +889 -0
- package/DateRangePicker-CljQy8oD.cjs +6 -0
- package/Dialog-B8swxl24.js +1643 -0
- package/Dialog-COpVrq8B.js +240 -0
- package/Dialog-DR6nEqMT.cjs +1 -0
- package/Dialog-doGnVsJJ.cjs +1 -0
- package/DragAndDrop-Dw8JZmrn.cjs +1 -0
- package/DragAndDrop-PrUJv--B.js +75 -0
- package/{Dropdown-CJ-sujKv.cjs → Dropdown-C_W6Sizy.cjs} +2 -2
- package/{Dropdown-BWbdSQ9U.js → Dropdown-DbeUiGYo.js} +8 -8
- package/FieldError-Cornph2A.cjs +1 -0
- package/FieldError-DdvFyIf4.js +48 -0
- package/{FileUpload-B89QfnCB.js → FileUpload-D2gnQKdn.js} +76 -74
- package/{FileUpload-KQ1XAKAc.cjs → FileUpload-D3RaARDV.cjs} +2 -2
- package/{FocusScope-CEgd3xCY.js → FocusScope-Bj40Ir-g.js} +192 -195
- package/FocusScope-Uy3DiY0-.cjs +1 -0
- package/{Grid-B2av0vt8.js → Grid-BmX6arAO.js} +1 -1
- package/{Grid-Db5wZrw6.cjs → Grid-Bn1bCTH8.cjs} +1 -1
- package/GridItem-BtO9kCX9.js +237 -0
- package/GridItem-luVsL9lu.cjs +1 -0
- package/{Group-Cdy6z9ra.cjs → Group-BKYGeOBr.cjs} +1 -1
- package/{Group-B3mRMVy7.js → Group-C73mD_-i.js} +13 -13
- package/Heading-BQlmb5Tm.js +46 -0
- package/Heading-D3FR_KXb.cjs +1 -0
- package/{Hidden-B5ir3Lei.js → Hidden-C9KWUR7b.js} +2 -2
- package/InfoBanner-CgmPdsH8.js +83 -0
- package/InfoBanner-Y-f3hKVR.cjs +1 -0
- package/{Input-BnpBRnJz.js → Input-BLVRv0FK.js} +9 -9
- package/{Input-DIhhWEPW.cjs → Input-CzMx2mfl.cjs} +1 -1
- package/{Label-ByWt6Lfh.js → Label-C5TNJ0Ku.js} +24 -28
- package/Label-Dp85Vue3.cjs +1 -0
- package/Layout-Bxd0-ao3.cjs +16 -0
- package/Layout-CcXu63hP.js +482 -0
- package/Link-CbFSuEI1.js +73 -0
- package/Link-ePZ3nrAW.cjs +6 -0
- package/Link-lO-Ke97K.js +60 -0
- package/Link-wM7cVPlS.cjs +1 -0
- package/LinkButton-CJyZh3BS.js +69 -0
- package/LinkButton-Cw73pOM2.cjs +6 -0
- package/ListBox-ICZKGluC.cjs +1 -0
- package/ListBox-LncMQt6I.js +523 -0
- package/ListBoxLoadMoreItem-3jGpi90m.cjs +1 -0
- package/ListBoxLoadMoreItem-CIFJ3liN.js +41 -0
- package/ListBoxSection-BBY8-t3_.js +1085 -0
- package/ListBoxSection-BeDwnVZx.cjs +1 -0
- package/{ListKeyboardDelegate-mcrZobNa.js → ListKeyboardDelegate-CVxkAn5D.js} +13 -9
- package/ListKeyboardDelegate-C_X1wLkh.cjs +1 -0
- package/{Logo-BW5NXAdu.cjs → Logo-CFjZc5u2.cjs} +1 -1
- package/{Logo-qkVS1MCN.js → Logo-DkagDdKQ.js} +15 -19
- package/OverlayArrow-ByH6lM-H.cjs +1 -0
- package/OverlayArrow-CvNuu3e3.js +519 -0
- package/{Popover-C5chAY42.cjs → Popover-Bi5yJEoE.cjs} +1 -1
- package/{Popover-viLqHHX2.js → Popover-CyEVqpJ6.js} +11 -11
- package/{PressResponder-B_Zqu7b1.js → PressResponder-CxVtArtP.js} +9 -9
- package/PressResponder-DbnYqwGB.cjs +1 -0
- package/ProgressBar-BYb9d2kC.js +53 -0
- package/ProgressBar-CgbE08QT.cjs +1 -0
- package/Radio-BagVPvJX.cjs +1 -0
- package/Radio-C98ly9yx.js +333 -0
- package/{RangeCalendar-DGGMbb0j.js → RangeCalendar-Bi9jc61A.js} +637 -629
- package/RangeCalendar-KcJooXYf.cjs +6 -0
- package/{SSRProvider-D8lZ0o6A.js → SSRProvider-40TXmsUG.js} +5 -5
- package/{SSRProvider-DZRLwxPS.cjs → SSRProvider-Bc-sMhsT.cjs} +1 -1
- package/{SearchField-Ma3KB8Em.cjs → SearchField-BA-X9dzb.cjs} +2 -2
- package/{SearchField-B0dlPqsW.js → SearchField-BevjTbcW.js} +52 -56
- package/Select-BECa8IyZ.js +654 -0
- package/Select-xBp51JSl.cjs +1 -0
- package/{SelectionManager-BdKKuso-.js → SelectionManager-Bq-Gw1UT.js} +291 -282
- package/SelectionManager-BtbHoHpA.cjs +1 -0
- package/Separator-CM0KPvsX.js +105 -0
- package/Separator-Cfv2pbWf.cjs +1 -0
- package/Separator-DH-5wu9X.js +77 -0
- package/Separator-Dgin8BNW.cjs +1 -0
- package/Skeleton-Iovq135_.js +35 -0
- package/Skeleton-MaBUPqhT.cjs +1 -0
- package/Spinner-BZ7i01Kt.js +47 -0
- package/{Spinner-yHx_DX_4.cjs → Spinner-DxWDMW6e.cjs} +2 -2
- package/TabList-BMyKYLlY.cjs +1 -0
- package/TabList-C0mZgIzV.js +397 -0
- package/Table-BHY1uCZ0.cjs +16 -0
- package/{Table-CTS0J_sQ.js → Table-DzbfeVO7.js} +856 -798
- package/Tag-BYUPXbhG.js +765 -0
- package/Tag-BweDKw1v.cjs +1 -0
- package/Text-BAFsaON-.cjs +1 -0
- package/{Text--KL3Auo7.js → Text-Be7WIOwv.js} +3 -3
- package/{Text-wuw0HQoa.cjs → Text-BtPiT2P1.cjs} +1 -1
- package/Text-CmlsaWMA.js +32 -0
- package/TextArea-CDoLq124.js +125 -0
- package/TextArea-DJCtwrqV.cjs +1 -0
- package/TextField-Bm5916AD.cjs +1 -0
- package/TextField-_UY8CXtW.js +134 -0
- package/TextField.module-CH39P8ZE.js +13 -0
- package/TextField.module-gJ-ruFra.cjs +1 -0
- package/{Toast-BEh5yYzO.cjs → Toast-BN3vRCsH.cjs} +1 -1
- package/{Toast-BnzpC_5v.js → Toast-DZnQTLDr.js} +129 -143
- package/ToggleButtonGroup-CwHPu7w5.js +214 -0
- package/ToggleButtonGroup-DY9S3USc.cjs +1 -0
- package/Tooltip-BHAtsp9k.js +281 -0
- package/Tooltip-CZa9n5sT.cjs +1 -0
- package/{VisuallyHidden-BKslUoMJ.js → VisuallyHidden-CGEtjAP7.js} +8 -8
- package/{VisuallyHidden-DxDOcIsh.cjs → VisuallyHidden-EjrqodVh.cjs} +1 -1
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +1 -1
- package/assets/AccordionItem.css +1 -1
- package/assets/BadgeContainer.css +1 -1
- package/assets/Breadcrumbs.css +1 -1
- package/assets/Button.css +1 -1
- package/assets/ButtonGroup.css +1 -1
- package/assets/Card.css +1 -1
- package/assets/CharacterCounter.css +1 -1
- package/assets/Checkbox.css +1 -1
- package/assets/ComboBox.css +1 -1
- package/assets/DateField.css +1 -1
- package/assets/DateInputDivider.css +1 -1
- package/assets/DateRangePicker.css +1 -1
- package/assets/Dialog.css +1 -1
- package/assets/Dropdown.css +1 -1
- package/assets/FieldError.css +1 -1
- package/assets/FileUpload.css +1 -1
- package/assets/GridItem.css +1 -1
- package/assets/Heading.css +1 -1
- package/assets/InfoBanner.css +1 -1
- package/assets/Label.css +1 -1
- package/assets/Layout.css +1 -1
- package/assets/Link.css +1 -1
- package/assets/LinkButton.css +1 -1
- package/assets/ListBoxSection.css +1 -1
- package/assets/Logo.css +1 -1
- package/assets/Popover.css +1 -1
- package/assets/ProgressBar.css +1 -1
- package/assets/Radio.css +1 -1
- package/assets/RangeCalendar.css +1 -1
- package/assets/SearchField.css +1 -1
- package/assets/Select.css +1 -1
- package/assets/Separator.css +1 -0
- package/assets/Skeleton.css +1 -1
- package/assets/Spinner.css +1 -1
- package/assets/TabList.css +1 -1
- package/assets/Table.css +1 -1
- package/assets/Tag.css +1 -1
- package/assets/Text.css +1 -1
- package/assets/TextField.css +1 -1
- package/assets/Toast.css +1 -1
- package/assets/ToggleButtonGroup.css +1 -1
- package/assets/Tooltip.css +1 -1
- package/assets/theme.css +1 -1
- package/assets/variables.css +1 -0
- package/badge/index.cjs +1 -1
- package/badge/index.js +1 -1
- package/breadcrumbs/index.cjs +1 -1
- package/breadcrumbs/index.js +1 -1
- package/button/index.cjs +1 -1
- package/button/index.js +2 -2
- package/calendar/index.cjs +1 -1
- package/calendar/index.js +1 -1
- package/card/index.cjs +1 -1
- package/card/index.js +1 -1
- package/character-counter/index.cjs +1 -1
- package/character-counter/index.js +1 -1
- package/checkbox/index.cjs +1 -1
- package/checkbox/index.js +2 -2
- package/chevron-right-0-sUFBiR.cjs +6 -0
- package/chevron-right-BYYHEJjK.js +11 -0
- package/color-scheme-switch/index.cjs +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/combobox/index.cjs +1 -1
- package/combobox/index.d.ts +1 -1
- package/combobox/index.js +1 -1
- package/combobox/intl/translations.json.d.ts +4 -2
- package/{context-Dl_saGB6.js → context-CGNJ3grH.js} +11 -11
- package/{context-UOrD6Zxk.cjs → context-Df3XbgBG.cjs} +1 -1
- package/date-field/index.cjs +1 -1
- package/date-field/index.js +2 -2
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +1 -1
- package/dropdown/Dropdown.d.ts +18 -0
- package/dropdown/index.cjs +1 -1
- package/dropdown/index.js +1 -1
- package/field-error/index.cjs +1 -1
- package/field-error/index.js +1 -1
- package/file-upload/index.cjs +1 -1
- package/file-upload/index.js +1 -1
- package/filterDOMProps-RRlKPKX0.cjs +1 -0
- package/filterDOMProps-wsa9OcNI.js +65 -0
- package/grid/index.cjs +1 -1
- package/grid/index.js +2 -2
- package/heading/index.cjs +1 -1
- package/heading/index.js +1 -1
- package/{index-BSMrH_Du.js → index-BLPblar-.js} +33 -30
- package/{index-D97L3EBk.cjs → index-DSFSh2sC.cjs} +3 -3
- package/index.cjs +1 -1
- package/index.d.ts +2 -0
- package/index.js +140 -125
- package/inertValue-B3AFhVG4.cjs +1 -0
- package/info-banner/index.cjs +1 -1
- package/info-banner/index.js +1 -1
- package/label/index.cjs +1 -1
- package/label/index.js +1 -1
- package/layout/index.cjs +1 -1
- package/layout/index.js +1 -1
- package/link/index.cjs +1 -1
- package/link/index.js +2 -2
- package/link-button/index.cjs +1 -1
- package/link-button/index.js +2 -2
- package/list-box/ListBoxLoadMoreItem.d.ts +4 -0
- package/list-box/index.cjs +1 -1
- package/list-box/index.d.ts +1 -0
- package/list-box/index.js +6 -5
- package/list-box/intl/translations.json.d.ts +11 -0
- package/logo/index.cjs +1 -1
- package/logo/index.js +1 -1
- package/menu/Menu.d.ts +13 -0
- package/menu/MenuItem.d.ts +5 -0
- package/menu/MenuPopover.d.ts +3 -0
- package/menu/MenuSection.d.ts +3 -0
- package/menu/Separator.d.ts +3 -0
- package/menu/index.cjs +1 -0
- package/menu/index.d.ts +5 -0
- package/menu/index.js +8 -0
- package/mergeProps-BSsN7Bgk.js +117 -0
- package/mergeProps-JhcJ7uJL.cjs +1 -0
- package/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/package.json +6 -4
- package/popover/index.cjs +1 -1
- package/popover/index.js +1 -1
- package/progress-bar/index.cjs +1 -1
- package/progress-bar/index.js +1 -1
- package/radio/index.cjs +1 -1
- package/radio/index.js +1 -1
- package/search-field/index.cjs +1 -1
- package/search-field/index.js +1 -1
- package/select/Select.d.ts +1 -1
- package/select/index.cjs +1 -1
- package/select/index.js +1 -1
- package/skeleton/index.cjs +1 -1
- package/skeleton/index.js +1 -1
- package/spinner/index.cjs +1 -1
- package/spinner/index.js +1 -1
- package/table/index.cjs +1 -1
- package/table/index.js +1 -1
- package/tabs/index.cjs +1 -1
- package/tabs/index.js +1 -1
- package/tag/index.cjs +1 -1
- package/tag/index.js +1 -1
- package/text/index.cjs +1 -1
- package/text/index.js +1 -1
- package/textfield/Input.d.ts +7 -2
- package/textfield/PasswordField.d.ts +1 -1
- package/textfield/index.cjs +1 -1
- package/textfield/index.js +1 -1
- package/theme/generated-object.d.ts +381 -0
- package/theme/generated-tokens.d.ts +331 -0
- package/theme/index.cjs +1 -1
- package/theme/index.d.ts +4 -1
- package/theme/index.js +3989 -14
- package/theme/tokens.d.ts +30 -1
- package/toast/index.cjs +1 -1
- package/toast/index.js +1 -1
- package/toggle-button/index.cjs +1 -1
- package/toggle-button/index.js +1 -1
- package/{tokens-BWo7EvNX.cjs → tokens-B3FfJ-rY.cjs} +1 -1
- package/{tokens-BtEBd3jO.js → tokens-B9ooUP4g.js} +1 -2
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/useButton-D6iUB8cN.js +56 -0
- package/useButton-R8-i3HLC.cjs +1 -0
- package/useDateFormatter-2B0vgHc-.cjs +1 -0
- package/{useDateFormatter-DiIUdTak.js → useDateFormatter-BJ1ZyaH1.js} +431 -407
- package/{useDescription-LmB1V4Tg.js → useDescription-BLmIkYCq.js} +1 -1
- package/{useDescription-ByNlNIRU.cjs → useDescription-BMuiAqI5.cjs} +1 -1
- package/useEvent-3ZO5TPSH.cjs +1 -0
- package/{useEvent-DqWz89vg.js → useEvent-DpBHTuHJ.js} +1 -1
- package/{useField-5CEdtfab.js → useField-BMegM8fA.js} +2 -2
- package/{useField-CoQAzygg.cjs → useField-DyeD7MLj.cjs} +1 -1
- package/{useFilter-BKQT28sh.js → useFilter-BFnSe_Eq.js} +1 -1
- package/{useFilter-Bjh5dq2Q.cjs → useFilter-aoggM85n.cjs} +1 -1
- package/{useFocusRing-BM-zcH6L.cjs → useFocusRing-BcbYske2.cjs} +1 -1
- package/{useFocusRing-HoJn20X5.js → useFocusRing-DMo8ctYV.js} +2 -2
- package/{useFocusWithin-Cn18Myw6.js → useFocusWithin-ClMkhYcq.js} +1 -1
- package/{useFocusWithin-o0WjCpEB.cjs → useFocusWithin-DTnk0e8a.cjs} +1 -1
- package/{useFocusable-DbmryjUH.cjs → useFocusable-CsG-IPuC.cjs} +1 -1
- package/{useFocusable-ZjCKo1ed.js → useFocusable-DXlMChFC.js} +14 -14
- package/useFormValidation-BQIRxgbU.cjs +1 -0
- package/useFormValidation-L0UHvOsP.js +217 -0
- package/{useHasTabbableChild-CyOmqumh.js → useHasTabbableChild-BDaxMsGu.js} +2 -2
- package/useHasTabbableChild-CJcLnolh.cjs +1 -0
- package/{useHighlightSelectionDescription-DTxHtOsw.js → useHighlightSelectionDescription-BkEv9Jye.js} +5 -5
- package/{useHighlightSelectionDescription-DAhPdEG6.cjs → useHighlightSelectionDescription-CQaG611l.cjs} +1 -1
- package/{useHover-D8fja4GW.js → useHover-D6bNIkU0.js} +81 -79
- package/useHover-DGAmG7jt.cjs +1 -0
- package/{useLabels-BtDN_ALM.cjs → useLabels-CvUk-yS3.cjs} +1 -1
- package/{useLabels-DZlvh4P4.js → useLabels-Kmq5JCp_.js} +1 -1
- package/useListState-D2IEg6_e.cjs +1 -0
- package/{useListState-e7cL-FOK.js → useListState-pixYqSLl.js} +43 -42
- package/{useLocalizedStringFormatter-BSac43NO.cjs → useLocalizedStringFormatter-BO2iZEL0.cjs} +1 -1
- package/useLocalizedStringFormatter-BiX5BTlb.cjs +1 -0
- package/{useLocalizedStringFormatter-CSEh15AZ.js → useLocalizedStringFormatter-CL9MUZ8A.js} +1 -1
- package/{useLocalizedStringFormatter-aOhh7wdl.js → useLocalizedStringFormatter-N0AyjzbM.js} +1 -1
- package/useObserveElement-MhzEsCkX.cjs +1 -0
- package/usePress-CicXV7UO.cjs +7 -0
- package/{usePress-B_jgTf4k.js → usePress-DMUpU0GU.js} +84 -80
- package/{useSingleSelectListState-D7LjjoUJ.js → useSingleSelectListState-BlvpP8y-.js} +1 -1
- package/{useSingleSelectListState-BiJMNaOl.cjs → useSingleSelectListState-CwWK_Dx2.cjs} +1 -1
- package/useTextField-BC5X_AO_.js +89 -0
- package/useTextField-Cxpfu0U3.cjs +1 -0
- package/useToggleState-BVOqL4hI.js +21 -0
- package/useToggleState-SqDyNfRi.cjs +1 -0
- package/{useUpdateEffect-sk3kiVGz.cjs → useUpdateEffect-C5YQs_1w.cjs} +1 -1
- package/utils/types.d.ts +4 -0
- package/{utils-BM2vxlNA.cjs → utils-CMHKYKlz.cjs} +1 -1
- package/{utils-KYuflGZt.js → utils-Cpcjg55U.js} +10 -10
- package/utils-DFIwp4PB.js +262 -0
- package/utils-__vrf9VZ.cjs +1 -0
- package/AccordionItem-DEiRuizp.js +0 -361
- package/AccordionItem-Dhr7uo8u.cjs +0 -1
- package/BadgeContainer-CxVmqJ7g.cjs +0 -1
- package/Breadcrumbs-CEyKlcGU.js +0 -262
- package/Breadcrumbs-CnGzvtbn.cjs +0 -1
- package/Button-DZzQGk-L.cjs +0 -1
- package/Button.module-D-mPLRxe.js +0 -14
- package/Button.module-goCEz5qs.cjs +0 -1
- package/ButtonGroup-DUqW5dzM.cjs +0 -1
- package/Card-DPfOZC7f.cjs +0 -1
- package/CharacterCounter-DPphWPzA.js +0 -22
- package/Checkbox-BN_3F2Hl.js +0 -264
- package/Checkbox-CZtCj4yR.cjs +0 -1
- package/CheckboxGroup--xgOT1Do.js +0 -159
- package/CheckboxGroup-DGHaqRvb.cjs +0 -1
- package/Collection-B1xL4EdF.cjs +0 -1
- package/Collection-C5vE9MtJ.js +0 -577
- package/ComboBox-UadZMhiR.cjs +0 -1
- package/DateField-CNEoLyf5.cjs +0 -1
- package/DateField-CZmLugT0.js +0 -47
- package/DateInputDivider-CCjiq90K.cjs +0 -1
- package/DateRangePicker-DhgLEa9P.cjs +0 -6
- package/DateRangePicker-WQ97Psz7.js +0 -870
- package/Dialog-BT0tVGQb.cjs +0 -1
- package/Dialog-BuJdAr0D.js +0 -1611
- package/Dialog-DYK8lySl.cjs +0 -1
- package/Dialog-L53DWF0Z.js +0 -220
- package/DragAndDrop-DKxsUpmW.js +0 -60
- package/DragAndDrop-Dgfq6uJ0.cjs +0 -1
- package/FieldError-BlKkw9YL.js +0 -46
- package/FieldError-BvU0sueN.cjs +0 -1
- package/FocusScope-CAgWgk3N.cjs +0 -1
- package/GridItem-BnyULDnc.cjs +0 -1
- package/GridItem-orSzD7H5.js +0 -243
- package/Heading-DDhdwRAW.js +0 -46
- package/Heading-OUPkdoEJ.cjs +0 -1
- package/InfoBanner-DpLcq_1R.cjs +0 -1
- package/InfoBanner-U5hxOipC.js +0 -99
- package/Label-COpr4xVt.cjs +0 -1
- package/Layout-BR3Or1Ga.cjs +0 -16
- package/Layout-Bdqauktv.js +0 -498
- package/Link-CM2N5Jq-.js +0 -72
- package/Link-Dnnv00g9.js +0 -60
- package/Link-Dq8IFDBx.cjs +0 -6
- package/Link-ceVlGaWQ.cjs +0 -1
- package/LinkButton-BJA9_HzL.cjs +0 -6
- package/LinkButton-DH3Nfdis.js +0 -69
- package/ListBox-D0u9svwm.cjs +0 -1
- package/ListBox-y_dw__MI.js +0 -531
- package/ListBoxButton-C2zp-gXD.cjs +0 -1
- package/ListBoxButton-DiseS_LX.js +0 -15
- package/ListBoxSection-Cv-gN76G.js +0 -1058
- package/ListBoxSection-DtsigmC1.cjs +0 -1
- package/ListKeyboardDelegate-fZKXmHAk.cjs +0 -1
- package/OverlayArrow-8praV_Xy.cjs +0 -1
- package/OverlayArrow-DfkRZlgG.js +0 -507
- package/PressResponder-Bm3_RM9c.cjs +0 -1
- package/ProgressBar-D5mNQTID.cjs +0 -1
- package/ProgressBar-wQirOG1N.js +0 -53
- package/Radio-BIomn_sP.js +0 -313
- package/Radio-CxvJ5Wrl.cjs +0 -1
- package/RangeCalendar-BvvZ2SBj.cjs +0 -11
- package/Select-769RSZ9V.js +0 -664
- package/Select-Go5x0zWl.cjs +0 -1
- package/SelectionManager-BvREZgeu.cjs +0 -1
- package/Separator-CggS0R7Q.js +0 -59
- package/Separator-DBsDhqCr.cjs +0 -1
- package/Skeleton-BAwbfKBW.cjs +0 -1
- package/Skeleton-BePDRmrO.js +0 -40
- package/Spinner-AXFRWuT6.js +0 -51
- package/TabList-0gj27e_e.js +0 -386
- package/TabList-Cqpup53E.cjs +0 -1
- package/Table-BhtlNY9P.cjs +0 -16
- package/Tag-B9M-nBTM.js +0 -748
- package/Tag-DkW6zaIS.cjs +0 -1
- package/Text-BUDAzDjW.js +0 -32
- package/Text-DA_gK6a2.cjs +0 -1
- package/TextArea-CSrrYY05.cjs +0 -1
- package/TextArea-DphcH6wE.js +0 -119
- package/TextField-CsyRTSEG.js +0 -120
- package/TextField-P5yICj5z.cjs +0 -1
- package/TextField.module-BcpPBWnD.js +0 -13
- package/TextField.module-Dw5Rtn9y.cjs +0 -1
- package/ToggleButtonGroup-BwFAhFEi.cjs +0 -1
- package/ToggleButtonGroup-CuxAKB3-.js +0 -211
- package/Tooltip-Bz0xCZSw.cjs +0 -1
- package/Tooltip-EuEQtHZj.js +0 -285
- package/filterDOMProps-BS2lrgFA.cjs +0 -1
- package/filterDOMProps-D6KHYVBX.js +0 -24
- package/inertValue-BWmZ1afe.cjs +0 -1
- package/mergeProps-BYJQ6N1s.js +0 -115
- package/mergeProps-C7Sx47fA.cjs +0 -1
- package/useButton-CWHoXYnj.js +0 -47
- package/useButton-CwOQUGtY.cjs +0 -1
- package/useDateFormatter-bzjwqA2K.cjs +0 -1
- package/useEvent-CGRyLM2c.cjs +0 -1
- package/useFormValidation-BW2NSTM4.js +0 -215
- package/useFormValidation-DSRwb9US.cjs +0 -1
- package/useHasTabbableChild-CogBR_6o.cjs +0 -1
- package/useHover-CaFzQrR_.cjs +0 -1
- package/useListState-TtWy_rDI.cjs +0 -1
- package/useLocalizedStringFormatter-CHAo1AyN.cjs +0 -1
- package/useObserveElement-BzEr5D32.cjs +0 -1
- package/usePress-BOGIOlm8.cjs +0 -7
- package/useTextField-BVIOd8Ld.cjs +0 -1
- package/useTextField-DFkSHoQN.js +0 -86
- package/useToggleState-Bz5rAf4C.js +0 -18
- package/useToggleState-DoIkSQdj.cjs +0 -1
- package/utils-C5-CzvX2.cjs +0 -1
- package/utils-CuqJqFqQ.js +0 -234
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { jsx as p, jsxs as
|
|
2
|
-
import { B as
|
|
3
|
-
import
|
|
4
|
-
import { createPortal as
|
|
5
|
-
import { c as
|
|
6
|
-
import { i as
|
|
7
|
-
import { s as N } from "./index-
|
|
8
|
-
import { $ as
|
|
9
|
-
import { m as E } from "./utils-
|
|
10
|
-
import { $ as
|
|
11
|
-
import { $ as Ne } from "./useFocusWithin-
|
|
12
|
-
import { $ as
|
|
13
|
-
import { $ as
|
|
14
|
-
import { X as
|
|
15
|
-
import './assets/Toast.css';const S = 1,
|
|
1
|
+
import { jsx as p, jsxs as L, Fragment as Te } from "react/jsx-runtime";
|
|
2
|
+
import { B as we } from "./Button-CUMHt7MG.js";
|
|
3
|
+
import A, { useState as g, useCallback as _, useEffect as T, useRef as v, useMemo as Le } from "react";
|
|
4
|
+
import { createPortal as _e, flushSync as Be } from "react-dom";
|
|
5
|
+
import { c as I } from "./clsx-OuTLNxxd.js";
|
|
6
|
+
import { i as ye } from "./icon-map-uS87FT_Q.js";
|
|
7
|
+
import { s as N } from "./index-BLPblar-.js";
|
|
8
|
+
import { $ as F, c as Ie, b as Ce, d as Pe, a as Ae } from "./mergeProps-BSsN7Bgk.js";
|
|
9
|
+
import { m as E } from "./utils-DFIwp4PB.js";
|
|
10
|
+
import { $ as ge, f as B } from "./useHover-D6bNIkU0.js";
|
|
11
|
+
import { $ as Ne } from "./useFocusWithin-ClMkhYcq.js";
|
|
12
|
+
import { $ as D } from "./useLocalizedStringFormatter-CL9MUZ8A.js";
|
|
13
|
+
import { $ as Fe } from "./filterDOMProps-wsa9OcNI.js";
|
|
14
|
+
import { X as De } from "./x-C2xUHAEl.js";
|
|
15
|
+
import './assets/Toast.css';const S = 1, y = Symbol.for("react-aria-landmark-manager");
|
|
16
16
|
function Se(t) {
|
|
17
17
|
return document.addEventListener("react-aria-landmark-manager-change", t), () => document.removeEventListener("react-aria-landmark-manager-change", t);
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function P() {
|
|
20
20
|
if (typeof document > "u") return null;
|
|
21
|
-
let t = document[
|
|
22
|
-
return t && t.version >= S ? t : (document[
|
|
21
|
+
let t = document[y];
|
|
22
|
+
return t && t.version >= S ? t : (document[y] = new Me(), document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")), document[y]);
|
|
23
23
|
}
|
|
24
|
-
function
|
|
25
|
-
return N.useSyncExternalStore(Se,
|
|
24
|
+
function Re() {
|
|
25
|
+
return N.useSyncExternalStore(Se, P, P);
|
|
26
26
|
}
|
|
27
|
-
class
|
|
27
|
+
class Me {
|
|
28
28
|
setupIfNeeded() {
|
|
29
29
|
this.isListening || (document.addEventListener("keydown", this.f6Handler, {
|
|
30
30
|
capture: !0
|
|
@@ -241,24 +241,24 @@ class Re {
|
|
|
241
241
|
this.landmarks = [], this.isListening = !1, this.refCount = 0, this.version = S, this.f6Handler = this.f6Handler.bind(this), this.focusinHandler = this.focusinHandler.bind(this), this.focusoutHandler = this.focusoutHandler.bind(this);
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function Oe(t, e) {
|
|
245
245
|
const { role: n, "aria-label": i, "aria-labelledby": o, focus: u } = t;
|
|
246
|
-
let r =
|
|
246
|
+
let r = Re(), a = i || o, [b, d] = g(!1), f = _(() => {
|
|
247
247
|
d(!0);
|
|
248
248
|
}, [
|
|
249
249
|
d
|
|
250
|
-
]),
|
|
250
|
+
]), $ = _(() => {
|
|
251
251
|
d(!1);
|
|
252
252
|
}, [
|
|
253
253
|
d
|
|
254
254
|
]);
|
|
255
|
-
return
|
|
255
|
+
return F(() => {
|
|
256
256
|
if (r) return r.registerLandmark({
|
|
257
257
|
ref: e,
|
|
258
258
|
label: a,
|
|
259
259
|
role: n,
|
|
260
260
|
focus: u || f,
|
|
261
|
-
blur:
|
|
261
|
+
blur: $
|
|
262
262
|
});
|
|
263
263
|
}, [
|
|
264
264
|
r,
|
|
@@ -267,8 +267,8 @@ function Me(t, e) {
|
|
|
267
267
|
n,
|
|
268
268
|
u,
|
|
269
269
|
f,
|
|
270
|
-
|
|
271
|
-
]),
|
|
270
|
+
$
|
|
271
|
+
]), T(() => {
|
|
272
272
|
var s;
|
|
273
273
|
b && ((s = e.current) === null || s === void 0 || s.focus());
|
|
274
274
|
}, [
|
|
@@ -283,48 +283,48 @@ function Me(t, e) {
|
|
|
283
283
|
}
|
|
284
284
|
};
|
|
285
285
|
}
|
|
286
|
-
var
|
|
287
|
-
|
|
286
|
+
var R = {};
|
|
287
|
+
R = {
|
|
288
288
|
close: "إغلاق",
|
|
289
289
|
notifications: (t, e) => `${e.plural(t.count, {
|
|
290
290
|
one: () => `${e.number(t.count)} إشعار`,
|
|
291
291
|
other: () => `${e.number(t.count)} إشعارات`
|
|
292
292
|
})}.`
|
|
293
293
|
};
|
|
294
|
-
var
|
|
295
|
-
|
|
294
|
+
var M = {};
|
|
295
|
+
M = {
|
|
296
296
|
close: "Затвори",
|
|
297
297
|
notifications: (t, e) => `${e.plural(t.count, {
|
|
298
298
|
one: () => `${e.number(t.count)} известие`,
|
|
299
299
|
other: () => `${e.number(t.count)} известия`
|
|
300
300
|
})}.`
|
|
301
301
|
};
|
|
302
|
-
var
|
|
303
|
-
|
|
302
|
+
var O = {};
|
|
303
|
+
O = {
|
|
304
304
|
close: "Zavřít",
|
|
305
305
|
notifications: (t, e) => `${e.plural(t.count, {
|
|
306
306
|
one: () => `${e.number(t.count)} oznámení`,
|
|
307
307
|
other: () => `${e.number(t.count)} oznámení`
|
|
308
308
|
})}.`
|
|
309
309
|
};
|
|
310
|
-
var
|
|
311
|
-
|
|
310
|
+
var H = {};
|
|
311
|
+
H = {
|
|
312
312
|
close: "Luk",
|
|
313
313
|
notifications: (t, e) => `${e.plural(t.count, {
|
|
314
314
|
one: () => `${e.number(t.count)} besked`,
|
|
315
315
|
other: () => `${e.number(t.count)} beskeder`
|
|
316
316
|
})}.`
|
|
317
317
|
};
|
|
318
|
-
var
|
|
319
|
-
|
|
318
|
+
var V = {};
|
|
319
|
+
V = {
|
|
320
320
|
close: "Schließen",
|
|
321
321
|
notifications: (t, e) => `${e.plural(t.count, {
|
|
322
322
|
one: () => `${e.number(t.count)} Benachrichtigung`,
|
|
323
323
|
other: () => `${e.number(t.count)} Benachrichtigungen`
|
|
324
324
|
})}.`
|
|
325
325
|
};
|
|
326
|
-
var
|
|
327
|
-
|
|
326
|
+
var U = {};
|
|
327
|
+
U = {
|
|
328
328
|
close: "Κλείσιμο",
|
|
329
329
|
notifications: (t, e) => `${e.plural(t.count, {
|
|
330
330
|
one: () => `${e.number(t.count)} ειδοποίηση`,
|
|
@@ -339,8 +339,8 @@ z = {
|
|
|
339
339
|
other: () => `${e.number(t.count)} notifications`
|
|
340
340
|
})}.`
|
|
341
341
|
};
|
|
342
|
-
var
|
|
343
|
-
|
|
342
|
+
var j = {};
|
|
343
|
+
j = {
|
|
344
344
|
close: "Cerrar",
|
|
345
345
|
notifications: (t, e) => `${e.plural(t.count, {
|
|
346
346
|
one: () => `${e.number(t.count)} notificación`,
|
|
@@ -544,32 +544,32 @@ me = {
|
|
|
544
544
|
other: () => `${e.number(t.count)} сповіщення`
|
|
545
545
|
})}.`
|
|
546
546
|
};
|
|
547
|
-
var
|
|
548
|
-
|
|
547
|
+
var $e = {};
|
|
548
|
+
$e = {
|
|
549
549
|
close: "关闭",
|
|
550
550
|
notifications: (t, e) => `${e.plural(t.count, {
|
|
551
551
|
one: () => `${e.number(t.count)} 个通知`,
|
|
552
552
|
other: () => `${e.number(t.count)} 个通知`
|
|
553
553
|
})}。`
|
|
554
554
|
};
|
|
555
|
-
var
|
|
556
|
-
|
|
555
|
+
var he = {};
|
|
556
|
+
he = {
|
|
557
557
|
close: "關閉",
|
|
558
558
|
notifications: (t, e) => `${e.plural(t.count, {
|
|
559
559
|
one: () => `${e.number(t.count)} 個通知`,
|
|
560
560
|
other: () => `${e.number(t.count)} 個通知`
|
|
561
561
|
})}。`
|
|
562
562
|
};
|
|
563
|
-
var
|
|
564
|
-
|
|
565
|
-
"ar-AE":
|
|
566
|
-
"bg-BG":
|
|
567
|
-
"cs-CZ":
|
|
568
|
-
"da-DK":
|
|
569
|
-
"de-DE":
|
|
570
|
-
"el-GR":
|
|
563
|
+
var C = {};
|
|
564
|
+
C = {
|
|
565
|
+
"ar-AE": R,
|
|
566
|
+
"bg-BG": M,
|
|
567
|
+
"cs-CZ": O,
|
|
568
|
+
"da-DK": H,
|
|
569
|
+
"de-DE": V,
|
|
570
|
+
"el-GR": U,
|
|
571
571
|
"en-US": z,
|
|
572
|
-
"es-ES":
|
|
572
|
+
"es-ES": j,
|
|
573
573
|
"et-EE": W,
|
|
574
574
|
"fi-FI": K,
|
|
575
575
|
"fr-FR": Z,
|
|
@@ -594,15 +594,15 @@ I = {
|
|
|
594
594
|
"sv-SE": fe,
|
|
595
595
|
"tr-TR": be,
|
|
596
596
|
"uk-UA": me,
|
|
597
|
-
"zh-CN":
|
|
598
|
-
"zh-TW":
|
|
597
|
+
"zh-CN": $e,
|
|
598
|
+
"zh-TW": he
|
|
599
599
|
};
|
|
600
|
-
function
|
|
600
|
+
function He(t) {
|
|
601
601
|
return t && t.__esModule ? t.default : t;
|
|
602
602
|
}
|
|
603
|
-
function
|
|
603
|
+
function Ve(t, e, n) {
|
|
604
604
|
let { key: i, timer: o, timeout: u } = t.toast;
|
|
605
|
-
|
|
605
|
+
T(() => {
|
|
606
606
|
if (!(o == null || u == null))
|
|
607
607
|
return o.reset(u), () => {
|
|
608
608
|
o.pause();
|
|
@@ -611,12 +611,12 @@ function He(t, e, n) {
|
|
|
611
611
|
o,
|
|
612
612
|
u
|
|
613
613
|
]);
|
|
614
|
-
let r =
|
|
615
|
-
return
|
|
614
|
+
let r = Ie(), a = Ce(), b = D(He(C), "@react-aria/toast"), [d, f] = g(!1);
|
|
615
|
+
return T(() => {
|
|
616
616
|
f(!0);
|
|
617
617
|
}, []), {
|
|
618
618
|
toastProps: {
|
|
619
|
-
...
|
|
619
|
+
...Fe(t, {
|
|
620
620
|
labelable: !0
|
|
621
621
|
}),
|
|
622
622
|
role: "alertdialog",
|
|
@@ -642,27 +642,27 @@ function He(t, e, n) {
|
|
|
642
642
|
}
|
|
643
643
|
};
|
|
644
644
|
}
|
|
645
|
-
function
|
|
645
|
+
function Ue(t) {
|
|
646
646
|
return t && t.__esModule ? t.default : t;
|
|
647
647
|
}
|
|
648
648
|
function ze(t, e, n) {
|
|
649
|
-
let i =
|
|
649
|
+
let i = D(Ue(C), "@react-aria/toast"), { landmarkProps: o } = Oe({
|
|
650
650
|
role: "region",
|
|
651
651
|
"aria-label": t["aria-label"] || i.format("notifications", {
|
|
652
652
|
count: e.visibleToasts.length
|
|
653
653
|
})
|
|
654
|
-
}, n), u = v(!1), r = v(!1), a =
|
|
654
|
+
}, n), u = v(!1), r = v(!1), a = Pe(() => {
|
|
655
655
|
u.current || r.current ? e.pauseAll() : e.resumeAll();
|
|
656
|
-
}), { hoverProps: b } =
|
|
656
|
+
}), { hoverProps: b } = ge({
|
|
657
657
|
onHoverStart: () => {
|
|
658
658
|
u.current = !0, a();
|
|
659
659
|
},
|
|
660
660
|
onHoverEnd: () => {
|
|
661
661
|
u.current = !1, a();
|
|
662
662
|
}
|
|
663
|
-
}), d = v([]), f = v(e.visibleToasts),
|
|
664
|
-
|
|
665
|
-
if (
|
|
663
|
+
}), d = v([]), f = v(e.visibleToasts), $ = v(null);
|
|
664
|
+
F(() => {
|
|
665
|
+
if ($.current === -1 || e.visibleToasts.length === 0 || !n.current) {
|
|
666
666
|
d.current = [], f.current = e.visibleToasts;
|
|
667
667
|
return;
|
|
668
668
|
}
|
|
@@ -675,15 +675,15 @@ function ze(t, e, n) {
|
|
|
675
675
|
let l = f.current.map((c, m) => ({
|
|
676
676
|
...c,
|
|
677
677
|
i: m,
|
|
678
|
-
isRemoved: !e.visibleToasts.some((
|
|
679
|
-
})),
|
|
680
|
-
if (
|
|
678
|
+
isRemoved: !e.visibleToasts.some((h) => c.key === h.key)
|
|
679
|
+
})), w = l.findIndex((c) => c.i === $.current && c.isRemoved);
|
|
680
|
+
if (w > -1) {
|
|
681
681
|
var k;
|
|
682
|
-
if (
|
|
682
|
+
if (B() === "pointer" && (!((k = s.current) === null || k === void 0) && k.isConnected)) E(s.current);
|
|
683
683
|
else {
|
|
684
|
-
let c = 0, m,
|
|
685
|
-
for (; c <=
|
|
686
|
-
l[c].isRemoved || (
|
|
684
|
+
let c = 0, m, h;
|
|
685
|
+
for (; c <= w; )
|
|
686
|
+
l[c].isRemoved || (h = Math.max(0, c - 1)), c++;
|
|
687
687
|
for (; c < l.length; ) {
|
|
688
688
|
if (!l[c].isRemoved) {
|
|
689
689
|
m = c - 1;
|
|
@@ -691,7 +691,7 @@ function ze(t, e, n) {
|
|
|
691
691
|
}
|
|
692
692
|
c++;
|
|
693
693
|
}
|
|
694
|
-
|
|
694
|
+
h === void 0 && m === void 0 && (h = 0), h >= 0 && h < d.current.length ? E(d.current[h]) : m >= 0 && m < d.current.length && E(d.current[m]);
|
|
695
695
|
}
|
|
696
696
|
}
|
|
697
697
|
f.current = e.visibleToasts;
|
|
@@ -708,19 +708,19 @@ function ze(t, e, n) {
|
|
|
708
708
|
r.current = !1, s.current = null, a();
|
|
709
709
|
}
|
|
710
710
|
});
|
|
711
|
-
return
|
|
711
|
+
return T(() => {
|
|
712
712
|
var l;
|
|
713
|
-
e.visibleToasts.length === 0 && (!((l = s.current) === null || l === void 0) && l.isConnected) && (
|
|
713
|
+
e.visibleToasts.length === 0 && (!((l = s.current) === null || l === void 0) && l.isConnected) && (B() === "pointer" ? E(s.current) : s.current.focus(), s.current = null);
|
|
714
714
|
}, [
|
|
715
715
|
n,
|
|
716
716
|
e.visibleToasts.length
|
|
717
|
-
]),
|
|
717
|
+
]), T(() => () => {
|
|
718
718
|
var l;
|
|
719
|
-
!((l = s.current) === null || l === void 0) && l.isConnected && (
|
|
719
|
+
!((l = s.current) === null || l === void 0) && l.isConnected && (B() === "pointer" ? E(s.current) : s.current.focus(), s.current = null);
|
|
720
720
|
}, [
|
|
721
721
|
n
|
|
722
722
|
]), {
|
|
723
|
-
regionProps:
|
|
723
|
+
regionProps: Ae(o, b, Ee, {
|
|
724
724
|
tabIndex: -1,
|
|
725
725
|
// Mark the toast region as a "top layer", so that it:
|
|
726
726
|
// - is not aria-hidden when opening an overlay
|
|
@@ -731,19 +731,19 @@ function ze(t, e, n) {
|
|
|
731
731
|
// listen to focus events separate from focuswithin because that will only fire once
|
|
732
732
|
// and we need to follow all focus changes
|
|
733
733
|
onFocus: (l) => {
|
|
734
|
-
let
|
|
735
|
-
|
|
734
|
+
let w = l.target.closest('[role="alertdialog"]');
|
|
735
|
+
$.current = d.current.findIndex((k) => k === w);
|
|
736
736
|
},
|
|
737
737
|
onBlur: () => {
|
|
738
|
-
|
|
738
|
+
$.current = -1;
|
|
739
739
|
}
|
|
740
740
|
})
|
|
741
741
|
};
|
|
742
742
|
}
|
|
743
743
|
function pe(t) {
|
|
744
|
-
let e =
|
|
744
|
+
let e = _((o) => t.subscribe(o), [
|
|
745
745
|
t
|
|
746
|
-
]), n =
|
|
746
|
+
]), n = _(() => t.visibleToasts, [
|
|
747
747
|
t
|
|
748
748
|
]);
|
|
749
749
|
return {
|
|
@@ -768,7 +768,7 @@ class ve {
|
|
|
768
768
|
...n,
|
|
769
769
|
content: e,
|
|
770
770
|
key: i,
|
|
771
|
-
timer: n.timeout ? new
|
|
771
|
+
timer: n.timeout ? new je(() => this.close(i), n.timeout) : void 0
|
|
772
772
|
};
|
|
773
773
|
return this.queue.unshift(o), this.updateVisibleToasts("add"), i;
|
|
774
774
|
}
|
|
@@ -805,7 +805,7 @@ class ve {
|
|
|
805
805
|
this.maxVisibleToasts = (n = e == null ? void 0 : e.maxVisibleToasts) !== null && n !== void 0 ? n : 1 / 0, this.wrapUpdate = e == null ? void 0 : e.wrapUpdate;
|
|
806
806
|
}
|
|
807
807
|
}
|
|
808
|
-
class
|
|
808
|
+
class je {
|
|
809
809
|
reset(e) {
|
|
810
810
|
this.remaining = e, this.resume();
|
|
811
811
|
}
|
|
@@ -821,52 +821,38 @@ class Ue {
|
|
|
821
821
|
this.startTime = null, this.remaining = n, this.callback = e;
|
|
822
822
|
}
|
|
823
823
|
}
|
|
824
|
-
const We =
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
"--z-index-toast": "1100",
|
|
839
|
-
toastRegion: Ke,
|
|
840
|
-
toast: Ze,
|
|
841
|
-
success: Ge,
|
|
842
|
-
info: Je,
|
|
843
|
-
important: Qe,
|
|
844
|
-
warning: Xe,
|
|
845
|
-
icon: qe,
|
|
846
|
-
toastContent: Ye,
|
|
847
|
-
toastMessage: et,
|
|
848
|
-
slideInTop: tt,
|
|
849
|
-
slideInEnd: nt,
|
|
850
|
-
slideOutTop: it,
|
|
851
|
-
slideOutEnd: ot
|
|
824
|
+
const We = "_toastRegion_xhwdf_49", Ke = "_toast_xhwdf_49", Ze = "_success_xhwdf_92", Ge = "_info_xhwdf_100", Je = "_important_xhwdf_108", Qe = "_warning_xhwdf_116", Xe = "_icon_xhwdf_124", qe = "_toastContent_xhwdf_134", Ye = "_toastMessage_xhwdf_141", et = "_slideInTop_xhwdf_1", tt = "_slideInEnd_xhwdf_1", nt = "_slideOutTop_xhwdf_1", it = "_slideOutEnd_xhwdf_1", x = {
|
|
825
|
+
toastRegion: We,
|
|
826
|
+
toast: Ke,
|
|
827
|
+
success: Ze,
|
|
828
|
+
info: Ge,
|
|
829
|
+
important: Je,
|
|
830
|
+
warning: Qe,
|
|
831
|
+
icon: Xe,
|
|
832
|
+
toastContent: qe,
|
|
833
|
+
toastMessage: Ye,
|
|
834
|
+
slideInTop: et,
|
|
835
|
+
slideInEnd: tt,
|
|
836
|
+
slideOutTop: nt,
|
|
837
|
+
slideOutEnd: it
|
|
852
838
|
}, xe = {
|
|
853
839
|
wrapUpdate(t) {
|
|
854
840
|
"startViewTransition" in document ? document.startViewTransition(() => {
|
|
855
|
-
|
|
841
|
+
Be(t);
|
|
856
842
|
}) : t();
|
|
857
843
|
},
|
|
858
844
|
maxVisibleToasts: 5
|
|
859
845
|
};
|
|
860
|
-
function
|
|
861
|
-
const { maxVisibleToasts: e = 1, wrapUpdate: n } = t, i =
|
|
846
|
+
function ot(t = {}) {
|
|
847
|
+
const { maxVisibleToasts: e = 1, wrapUpdate: n } = t, i = Le(
|
|
862
848
|
() => new ve({ maxVisibleToasts: e, wrapUpdate: n }),
|
|
863
849
|
[e, n]
|
|
864
850
|
);
|
|
865
851
|
return pe(i);
|
|
866
852
|
}
|
|
867
|
-
const
|
|
868
|
-
const e = pe(
|
|
869
|
-
return e.visibleToasts.length > 0 ?
|
|
853
|
+
const ut = new ve(xe), Et = (t) => {
|
|
854
|
+
const e = pe(ut);
|
|
855
|
+
return e.visibleToasts.length > 0 ? _e(
|
|
870
856
|
/* @__PURE__ */ p(
|
|
871
857
|
ke,
|
|
872
858
|
{
|
|
@@ -877,8 +863,8 @@ const rt = new ve(xe), gt = (t) => {
|
|
|
877
863
|
document.body
|
|
878
864
|
) : null;
|
|
879
865
|
}, Tt = ({ children: t, ...e }) => {
|
|
880
|
-
const n =
|
|
881
|
-
return /* @__PURE__ */
|
|
866
|
+
const n = ot(xe);
|
|
867
|
+
return /* @__PURE__ */ L(Te, { children: [
|
|
882
868
|
typeof t == "function" ? t(n) : t,
|
|
883
869
|
n.visibleToasts.length > 0 && /* @__PURE__ */ p(
|
|
884
870
|
ke,
|
|
@@ -894,15 +880,15 @@ function ke({
|
|
|
894
880
|
className: e,
|
|
895
881
|
...n
|
|
896
882
|
}) {
|
|
897
|
-
const i =
|
|
883
|
+
const i = A.useRef(null), { regionProps: o } = ze(n, t, i);
|
|
898
884
|
return /* @__PURE__ */ p(
|
|
899
885
|
"div",
|
|
900
886
|
{
|
|
901
887
|
...o,
|
|
902
888
|
ref: i,
|
|
903
|
-
className:
|
|
889
|
+
className: I(x.toastRegion, e),
|
|
904
890
|
children: t.visibleToasts.map((u) => /* @__PURE__ */ p(
|
|
905
|
-
|
|
891
|
+
rt,
|
|
906
892
|
{
|
|
907
893
|
toast: u,
|
|
908
894
|
state: t
|
|
@@ -912,32 +898,32 @@ function ke({
|
|
|
912
898
|
}
|
|
913
899
|
);
|
|
914
900
|
}
|
|
915
|
-
function
|
|
901
|
+
function rt({
|
|
916
902
|
state: t,
|
|
917
903
|
className: e,
|
|
918
904
|
...n
|
|
919
905
|
}) {
|
|
920
|
-
const i =
|
|
906
|
+
const i = A.useRef(null), { toastProps: o, contentProps: u, titleProps: r, closeButtonProps: a } = Ve(
|
|
921
907
|
n,
|
|
922
908
|
t
|
|
923
|
-
), b =
|
|
924
|
-
return /* @__PURE__ */
|
|
909
|
+
), b = ye[n.toast.content.type];
|
|
910
|
+
return /* @__PURE__ */ L(
|
|
925
911
|
"div",
|
|
926
912
|
{
|
|
927
913
|
...o,
|
|
928
914
|
ref: i,
|
|
929
|
-
className:
|
|
915
|
+
className: I(
|
|
930
916
|
x.toast,
|
|
931
917
|
x[n.toast.content.type],
|
|
932
918
|
e
|
|
933
919
|
),
|
|
934
920
|
style: { viewTransitionName: n.toast.key },
|
|
935
921
|
children: [
|
|
936
|
-
/* @__PURE__ */
|
|
922
|
+
/* @__PURE__ */ L(
|
|
937
923
|
"div",
|
|
938
924
|
{
|
|
939
925
|
...u,
|
|
940
|
-
className:
|
|
926
|
+
className: I(x.toastContent, u.className),
|
|
941
927
|
children: [
|
|
942
928
|
/* @__PURE__ */ p(
|
|
943
929
|
b,
|
|
@@ -947,7 +933,7 @@ function at({
|
|
|
947
933
|
"aria-hidden": !0
|
|
948
934
|
}
|
|
949
935
|
),
|
|
950
|
-
/* @__PURE__ */
|
|
936
|
+
/* @__PURE__ */ L("div", { children: [
|
|
951
937
|
/* @__PURE__ */ p(
|
|
952
938
|
"p",
|
|
953
939
|
{
|
|
@@ -962,12 +948,12 @@ function at({
|
|
|
962
948
|
}
|
|
963
949
|
),
|
|
964
950
|
/* @__PURE__ */ p(
|
|
965
|
-
|
|
951
|
+
we,
|
|
966
952
|
{
|
|
967
953
|
variant: "icon",
|
|
968
954
|
...a,
|
|
969
955
|
children: /* @__PURE__ */ p(
|
|
970
|
-
|
|
956
|
+
De,
|
|
971
957
|
{
|
|
972
958
|
size: 20,
|
|
973
959
|
"aria-hidden": !0
|
|
@@ -980,10 +966,10 @@ function at({
|
|
|
980
966
|
);
|
|
981
967
|
}
|
|
982
968
|
export {
|
|
983
|
-
|
|
969
|
+
Et as G,
|
|
984
970
|
Tt as T,
|
|
985
971
|
ke as a,
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
972
|
+
rt as b,
|
|
973
|
+
ut as t,
|
|
974
|
+
ot as u
|
|
989
975
|
};
|