@midas-ds/components 13.0.1 → 14.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-CAi-XFOc.js +343 -0
- package/AccordionItem-tWS22wDv.cjs +1 -0
- package/BadgeContainer-BZl6mSeb.cjs +1 -0
- package/{BadgeContainer-iNNgJKD9.js → BadgeContainer-DilMiV6u.js} +9 -9
- package/{Breadcrumbs-BQLxFZVm.cjs → Breadcrumbs-BBDGxc68.cjs} +1 -1
- package/{Breadcrumbs-C6B4fyk3.js → Breadcrumbs-BenPNv8Z.js} +15 -15
- package/Button-1sEX8jKn.cjs +1 -0
- package/{Button-D_tRdPW9.cjs → Button-BEWKXjlP.cjs} +1 -1
- package/{Button-CUMHt7MG.js → Button-CF97piBl.js} +10 -4
- package/{Button-DD5_S-tD.js → Button-CGe3Nyos.js} +122 -116
- package/Button.module-COONZqNU.cjs +1 -0
- package/Button.module-Cm0H98vy.js +14 -0
- package/{ButtonGroup-zx-9mxbJ.cjs → ButtonGroup-BpvDDECt.cjs} +1 -1
- package/{ButtonGroup-DC8925jD.js → ButtonGroup-Swh2E6Es.js} +1 -1
- package/CHANGELOG.md +59 -0
- package/Card-DJ8E5Rzd.js +131 -0
- package/Card-Db9xdzJ0.cjs +1 -0
- package/{CharacterCounter-CnRv-iUP.cjs → CharacterCounter-CTpQ12f7.cjs} +1 -1
- package/{CharacterCounter-DT7A0wWP.js → CharacterCounter-gbDGfize.js} +8 -8
- package/Checkbox-BgrLxY6P.cjs +1 -0
- package/{Checkbox-DTuryJdM.js → Checkbox-CdN1D5pD.js} +91 -87
- package/{CheckboxGroup-BmFdy-K6.js → CheckboxGroup-B1b-6bKq.js} +12 -12
- package/{CheckboxGroup-LrqCwPET.cjs → CheckboxGroup-BfZyy5yU.cjs} +1 -1
- package/{Collection-B0_WAieZ.js → Collection-BkxwF21i.js} +205 -213
- package/Collection-vGO6v3_U.cjs +1 -0
- package/{ColorSchemeSwitch-D5juAHPc.cjs → ColorSchemeSwitch-BOooU0iy.cjs} +3 -3
- package/{ColorSchemeSwitch-CgZfgCG4.js → ColorSchemeSwitch-KjnsdbDr.js} +10 -10
- package/{ComboBox-B2btGwWe.js → ComboBox-D1ZSZ6m-.js} +286 -278
- package/ComboBox-Dztk_jtC.cjs +1 -0
- package/DateField-BogEOseq.cjs +1 -0
- package/DateField-lsr_1fw4.js +47 -0
- package/{DateInputDivider-LxS0Kw1H.js → DateInputDivider-CRv3YuXd.js} +199 -196
- package/DateInputDivider-CYqm6PZP.cjs +1 -0
- package/{DateRangePicker-BmPPDZIF.js → DateRangePicker-5k1swaEt.js} +123 -119
- package/DateRangePicker-CgNXWOT6.cjs +6 -0
- package/Dialog-B1N4Ndyx.js +256 -0
- package/{Dialog-COeUapMW.js → Dialog-BUAp30Wc.js} +710 -692
- package/Dialog-BgSxz1JW.cjs +1 -0
- package/Dialog-PrnV8KTh.cjs +6 -0
- package/{DragAndDrop-Dw8JZmrn.cjs → DragAndDrop-Cs-V-9ak.cjs} +1 -1
- package/{DragAndDrop-PrUJv--B.js → DragAndDrop-DF0VoPJw.js} +2 -2
- package/{Dropdown-C_W6Sizy.cjs → Dropdown-DBFLb8Tl.cjs} +2 -2
- package/{Dropdown-CGQbf7OT.js → Dropdown-DaARa89l.js} +8 -8
- package/FieldError-Cimgm8qD.cjs +1 -0
- package/FieldError-l3xULRa0.js +48 -0
- package/{FileUpload-D2gnQKdn.js → FileUpload-CN0HNJ_Y.js} +14 -14
- package/{FileUpload-D3RaARDV.cjs → FileUpload-DHmsupSe.cjs} +1 -1
- package/{Grid-BmX6arAO.js → Grid-0XOQPryP.js} +2 -2
- package/{Grid-Bn1bCTH8.cjs → Grid-B6G4PWn5.cjs} +1 -1
- package/{GridItem-luVsL9lu.cjs → GridItem-BZ8eOXMB.cjs} +1 -1
- package/{GridItem-BtO9kCX9.js → GridItem-YtIpL5V2.js} +1 -1
- package/Group-B0Wj9pI8.cjs +1 -0
- package/Group-BAd7alBM.js +46 -0
- package/Heading-CCoGfKQ8.js +48 -0
- package/Heading-x7y3xadc.cjs +1 -0
- package/{Hidden-C9KWUR7b.js → Hidden-B5ir3Lei.js} +2 -2
- package/InfoBanner-BW3vy9mc.js +72 -0
- package/InfoBanner-_M_rGQiu.cjs +1 -0
- package/{Input-CzMx2mfl.cjs → Input-Bda0PCu5.cjs} +1 -1
- package/{Input-BLVRv0FK.js → Input-CQzv-D9g.js} +9 -9
- package/{Label-1N6ddn5w.js → Label-BGMXsSFb.js} +15 -15
- package/Label-CNTODOFg.cjs +1 -0
- package/Layout-BrEuHajQ.cjs +16 -0
- package/{Layout-B-A-s7B0.js → Layout-JL9l-y7w.js} +144 -145
- package/{Link-lO-Ke97K.js → Link-BudFjYrw.js} +22 -22
- package/Link-BvUSTIip.cjs +6 -0
- package/{Link-wM7cVPlS.cjs → Link-DRU6Qzia.cjs} +1 -1
- package/{Link-CbFSuEI1.js → Link-l-nMP-Zd.js} +10 -10
- package/LinkButton-DGdnbTgR.cjs +6 -0
- package/LinkButton-DP9W-E32.js +69 -0
- package/ListBox-TGCxrXIJ.cjs +1 -0
- package/ListBox-mOCZvKD4.js +534 -0
- package/{ListBoxLoadMoreItem-C4jnDcYH.js → ListBoxLoadMoreItem-CLdTe6-z.js} +5 -5
- package/{ListBoxLoadMoreItem-3jGpi90m.cjs → ListBoxLoadMoreItem-UX0jFQN4.cjs} +1 -1
- package/ListBoxSection-BNBHosou.cjs +1 -0
- package/{ListBoxSection-D7BcbjUt.js → ListBoxSection-D_kTkvgG.js} +139 -140
- package/{ListKeyboardDelegate-CVxkAn5D.js → ListKeyboardDelegate-BHnZMUhW.js} +36 -40
- package/ListKeyboardDelegate-CLRlDto7.cjs +1 -0
- package/{Logo-CFjZc5u2.cjs → Logo-4tRnV4Su.cjs} +1 -1
- package/{Logo-DkagDdKQ.js → Logo-DLlt576_.js} +17 -17
- package/{OverlayArrow-CvNuu3e3.js → OverlayArrow-CjGslX2c.js} +4 -4
- package/{OverlayArrow-ByH6lM-H.cjs → OverlayArrow-bcrb_syE.cjs} +1 -1
- package/{Popover-Bf5YH53o.js → Popover-CZFi2YGz.js} +13 -13
- package/Popover-uYTWBGHa.cjs +1 -0
- package/{PressResponder-CxVtArtP.js → PressResponder-BMj6Zvbn.js} +9 -9
- package/PressResponder-ChvCuOue.cjs +1 -0
- package/ProgressBar-BGemuJIq.cjs +1 -0
- package/ProgressBar-DhRmckYM.js +53 -0
- package/{RSPContexts-BW2SEIqe.js → RSPContexts-B0lEq7qq.js} +5 -3
- package/RSPContexts-XUvspq3j.cjs +1 -0
- package/Radio-Bp_31Z59.js +340 -0
- package/Radio-D3RGVrEd.cjs +1 -0
- package/{RangeCalendar-Bi9jc61A.js → RangeCalendar-9C96gMvy.js} +146 -145
- package/RangeCalendar-ChfmP_ql.cjs +6 -0
- package/{SSRProvider-40TXmsUG.js → SSRProvider-D8lZ0o6A.js} +5 -5
- package/{SSRProvider-Bc-sMhsT.cjs → SSRProvider-DZRLwxPS.cjs} +1 -1
- package/{SearchField-BevjTbcW.js → SearchField-DrEdzWAy.js} +44 -44
- package/SearchField-JaDXLq5W.cjs +6 -0
- package/Select-BCUH-Z7q.cjs +1 -0
- package/{Select-CEwJo1BT.js → Select-CpPE78Ke.js} +210 -188
- package/SelectionIndicator-BiSN1toV.cjs +1 -0
- package/{FocusScope-Bj40Ir-g.js → SelectionIndicator-ant6jeC1.js} +256 -165
- package/SelectionManager-C469yQeD.js +1063 -0
- package/SelectionManager-uFYC4wpu.cjs +1 -0
- package/{Separator-Bj24aGrT.js → Separator-B6l5qSpR.js} +28 -28
- package/{Separator-CM0KPvsX.js → Separator-BWAnBMVN.js} +5 -5
- package/Separator-DbhmtwDa.cjs +1 -0
- package/{Separator-Dgin8BNW.cjs → Separator-J0pLW4BN.cjs} +1 -1
- package/Skeleton-8onymGEG.cjs +1 -0
- package/Skeleton-BjTEGRpe.js +35 -0
- package/Spinner-D6Fcu_Dp.js +54 -0
- package/Spinner-DIapnvIz.cjs +6 -0
- package/TabList-C0tRVI6Q.cjs +1 -0
- package/TabList-DmkxO7MM.js +394 -0
- package/Table-BLqjyYKk.cjs +16 -0
- package/{Table-BzJktg2G.js → Table-CyWZO9uf.js} +710 -706
- package/Tag-DJqYiBLR.js +774 -0
- package/Tag-FDHGu_WP.cjs +1 -0
- package/{Text-BtPiT2P1.cjs → Text-0wXj3J8E.cjs} +1 -1
- package/Text-BBFWBNAH.js +32 -0
- package/{Text-BAFsaON-.cjs → Text-D5OSv6Uv.cjs} +1 -1
- package/{Text-Be7WIOwv.js → Text-bqP9NeVg.js} +3 -3
- package/TextArea-CZxwvBcS.cjs +1 -0
- package/TextArea-CrY7P18c.js +125 -0
- package/{TextField-_UY8CXtW.js → TextField-BWea-IT-.js} +26 -26
- package/TextField-DsN-kBfh.cjs +1 -0
- package/TextField.module-C03d0VY9.js +13 -0
- package/TextField.module-DmRrFHra.cjs +1 -0
- package/{Toast-Cs0CEbRr.cjs → Toast-DUZ5jfG1.cjs} +1 -1
- package/{Toast-B74PMVL9.js → Toast-Di3h8A14.js} +101 -101
- package/{ToggleButtonGroup-CwHPu7w5.js → ToggleButtonGroup-Bh4hP6Lk.js} +83 -79
- package/ToggleButtonGroup-D7r34GCt.cjs +1 -0
- package/{Tooltip-BHAtsp9k.js → Tooltip-CUdmOznK.js} +13 -13
- package/{Tooltip-CZa9n5sT.cjs → Tooltip-D-ATlbIM.cjs} +1 -1
- package/{VisuallyHidden-EjrqodVh.cjs → VisuallyHidden-BMelU6B0.cjs} +1 -1
- package/{VisuallyHidden-CGEtjAP7.js → VisuallyHidden-DuW70K-5.js} +8 -8
- package/accordion/Accordion.d.ts +0 -1
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +2 -3
- package/assets/AccordionItem.css +1 -1
- package/assets/Button.css +1 -1
- package/assets/Card.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/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 -1
- package/assets/Skeleton.css +1 -1
- package/assets/Spinner.css +1 -1
- package/assets/TabList.css +1 -1
- package/assets/Text.css +1 -1
- package/assets/TextField.css +1 -1
- package/assets/Toast.css +1 -1
- package/assets/Tooltip.css +1 -1
- package/assets/default.css +1 -1
- 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/clsx-DKOfLqne.cjs +1 -0
- package/clsx-jbLnTBqA.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.js +1 -1
- package/{context-CGNJ3grH.js → context-Dl_saGB6.js} +11 -11
- package/{context-Df3XbgBG.cjs → context-UOrD6Zxk.cjs} +1 -1
- package/date-field/index.cjs +1 -1
- package/date-field/index.js +2 -2
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +1 -1
- package/dropdown/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/{getScrollParent-Ru2U2LlM.js → getScrollParent-DFCzfqHG.js} +1 -1
- package/{getScrollParent-DuKmPmUa.cjs → getScrollParent-DjULaF_q.cjs} +1 -1
- package/grid/index.cjs +1 -1
- package/grid/index.js +2 -2
- package/heading/Heading.d.ts +6 -0
- package/heading/index.cjs +1 -1
- package/heading/index.js +1 -1
- package/{index-BLPblar-.js → index-DEx4upZl.js} +19 -19
- package/{index-DSFSh2sC.cjs → index-hURPlN0u.cjs} +2 -2
- package/index.cjs +1 -1
- package/index.js +126 -127
- package/inertValue-BWmZ1afe.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/index.cjs +1 -1
- package/list-box/index.js +2 -2
- package/logo/index.cjs +1 -1
- package/logo/index.js +1 -1
- package/menu/index.cjs +1 -1
- package/menu/index.js +2 -2
- package/{mergeProps-BSsN7Bgk.js → mergeProps-Ct8m5-xW.js} +1 -1
- package/{mergeProps-JhcJ7uJL.cjs → mergeProps-Du5A8xi8.cjs} +1 -1
- package/modal/Dialog.d.ts +16 -3
- package/modal/index.cjs +1 -1
- package/modal/index.d.ts +1 -1
- package/modal/index.js +2 -2
- package/package.json +4 -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/scrollIntoView-BVI21Y4-.js +65 -0
- package/scrollIntoView-BueMOyGp.cjs +1 -0
- package/search-field/index.cjs +1 -1
- package/search-field/index.js +1 -1
- package/select/index.cjs +1 -1
- package/select/index.js +1 -1
- package/select/types.d.ts +1 -1
- package/select/useMultiSelect.d.ts +2 -2
- package/skeleton/index.cjs +1 -1
- package/skeleton/index.js +1 -1
- package/spinner/Spinner.d.ts +5 -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/Tabs.d.ts +2 -9
- package/tabs/index.cjs +1 -1
- package/tabs/index.d.ts +0 -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/TextArea.d.ts +3 -2
- package/textfield/TextField.d.ts +3 -2
- package/textfield/index.cjs +1 -1
- package/textfield/index.js +1 -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/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/{useButton-R8-i3HLC.cjs → useButton-C0r5nrqs.cjs} +1 -1
- package/{useButton-D6iUB8cN.js → useButton-CRgN6aZf.js} +3 -3
- package/useDateFormatter-BrrFo4nY.cjs +1 -0
- package/{useDateFormatter-BJ1ZyaH1.js → useDateFormatter-Bs5A6Xtu.js} +353 -322
- package/{useDescription-BMuiAqI5.cjs → useDescription-6BYtQxe6.cjs} +1 -1
- package/{useDescription-BLmIkYCq.js → useDescription-BFwQx7Rp.js} +1 -1
- package/useEvent-C125NAue.cjs +1 -0
- package/{useEvent-DpBHTuHJ.js → useEvent-smuTnX4G.js} +1 -1
- package/{useField-BMegM8fA.js → useField-BhJ9dM2g.js} +2 -2
- package/{useField-DyeD7MLj.cjs → useField-DvszkIMx.cjs} +1 -1
- package/{useFilter-BFnSe_Eq.js → useFilter-BdUU-HQZ.js} +1 -1
- package/{useFilter-aoggM85n.cjs → useFilter-R2IPvbS8.cjs} +1 -1
- package/{useFocusRing-BcbYske2.cjs → useFocusRing-C-XVcAE5.cjs} +1 -1
- package/{useFocusRing-DMo8ctYV.js → useFocusRing-CcxI7nbg.js} +2 -2
- package/{useFocusWithin-ClMkhYcq.js → useFocusWithin-DhXBuB2O.js} +1 -1
- package/{useFocusWithin-DTnk0e8a.cjs → useFocusWithin-GBjoTL5o.cjs} +1 -1
- package/{useFocusable-DXlMChFC.js → useFocusable-BJj-Bkig.js} +14 -14
- package/{useFocusable-CsG-IPuC.cjs → useFocusable-M4se1KJt.cjs} +1 -1
- package/{useFormValidation-L0UHvOsP.js → useFormValidation-By7G-T7y.js} +2 -2
- package/{useFormValidation-BQIRxgbU.cjs → useFormValidation-DV2Ioblb.cjs} +1 -1
- package/useHasTabbableChild-CIZGg_iG.cjs +1 -0
- package/{useHasTabbableChild-BDaxMsGu.js → useHasTabbableChild-CnpSoDuJ.js} +2 -2
- package/{useHighlightSelectionDescription-CQaG611l.cjs → useHighlightSelectionDescription-CBZfyrhy.cjs} +1 -1
- package/{useHighlightSelectionDescription-BkEv9Jye.js → useHighlightSelectionDescription-DPiqOr_Z.js} +5 -5
- package/{useHover-DGAmG7jt.cjs → useHover-DULSfLuK.cjs} +1 -1
- package/{useHover-D6bNIkU0.js → useHover-DkC5FyNd.js} +5 -5
- package/{useLabels-CvUk-yS3.cjs → useLabels-B5pmat1S.cjs} +1 -1
- package/{useLabels-Kmq5JCp_.js → useLabels-D24on06F.js} +1 -1
- package/{useListState-D2IEg6_e.cjs → useListState-DBawAMhF.cjs} +1 -1
- package/{useListState-pixYqSLl.js → useListState-PZF3ahpk.js} +1 -1
- package/{useLocalizedStringFormatter-BO2iZEL0.cjs → useLocalizedStringFormatter-BSac43NO.cjs} +1 -1
- package/useLocalizedStringFormatter-CHAo1AyN.cjs +1 -0
- package/{useLocalizedStringFormatter-CL9MUZ8A.js → useLocalizedStringFormatter-CSEh15AZ.js} +1 -1
- package/{useLocalizedStringFormatter-N0AyjzbM.js → useLocalizedStringFormatter-aOhh7wdl.js} +1 -1
- package/{usePress-DMUpU0GU.js → usePress-BqQIhkNY.js} +54 -54
- package/usePress-DmU79HEg.cjs +7 -0
- package/{useSingleSelectListState-BlvpP8y-.js → useSingleSelectListState-BLRBEJC7.js} +1 -1
- package/{useSingleSelectListState-CwWK_Dx2.cjs → useSingleSelectListState-CNETmoj5.cjs} +1 -1
- package/{useTextField-BC5X_AO_.js → useTextField-B8pM0p6X.js} +7 -7
- package/{useTextField-Cxpfu0U3.cjs → useTextField-CiWV3eeD.cjs} +1 -1
- package/useToggleState-DaxmInOW.cjs +1 -0
- package/{useUpdateEffect-C5YQs_1w.cjs → useUpdateEffect-sk3kiVGz.cjs} +1 -1
- package/utils/clsx.d.ts +8 -0
- package/utils/types.d.ts +5 -0
- package/utils-CtICjCYt.cjs +1 -0
- package/{utils-Cpcjg55U.js → utils-D2iKpxcZ.js} +47 -43
- package/utils-DRIRjPUS.cjs +1 -0
- package/{utils-DFIwp4PB.js → utils-Dxh86KaB.js} +20 -18
- package/AccordionItem-Bq8nUKg4.cjs +0 -1
- package/AccordionItem-D2Y0gJZB.js +0 -335
- package/BadgeContainer-su0iCJKy.cjs +0 -1
- package/Button-CMIbSc4-.cjs +0 -1
- package/Button.module-BT9wZenr.cjs +0 -1
- package/Button.module-CGIVvzVm.js +0 -14
- package/Card-D2UbrhDW.js +0 -131
- package/Card-UolcSL5O.cjs +0 -1
- package/Checkbox-dtZfsSfx.cjs +0 -1
- package/Collection-BvWp2xBd.cjs +0 -1
- package/ComboBox-uMsVrOYu.cjs +0 -1
- package/DateField-B5dlDwdH.cjs +0 -1
- package/DateField-CEpRn4wR.js +0 -47
- package/DateInputDivider-BnSo_Aox.cjs +0 -1
- package/DateRangePicker-It4M98bT.cjs +0 -6
- package/Dialog-B1HuzqOX.js +0 -240
- package/Dialog-DR6nEqMT.cjs +0 -1
- package/Dialog-doGnVsJJ.cjs +0 -1
- package/FieldError-Cornph2A.cjs +0 -1
- package/FieldError-DdvFyIf4.js +0 -48
- package/FocusScope-Uy3DiY0-.cjs +0 -1
- package/Group-BKYGeOBr.cjs +0 -1
- package/Group-C73mD_-i.js +0 -45
- package/Heading-BQlmb5Tm.js +0 -46
- package/Heading-D3FR_KXb.cjs +0 -1
- package/InfoBanner-C82hcpzj.cjs +0 -1
- package/InfoBanner-Dz_0wVSa.js +0 -83
- package/Label-06gf6yKQ.cjs +0 -1
- package/Layout-DlE30BHE.cjs +0 -16
- package/Link-ePZ3nrAW.cjs +0 -6
- package/LinkButton-CJyZh3BS.js +0 -69
- package/LinkButton-Cw73pOM2.cjs +0 -6
- package/ListBox-ICZKGluC.cjs +0 -1
- package/ListBox-LncMQt6I.js +0 -523
- package/ListBoxSection-BeDwnVZx.cjs +0 -1
- package/ListKeyboardDelegate-C_X1wLkh.cjs +0 -1
- package/Popover-DIq3kp6B.cjs +0 -1
- package/PressResponder-DbnYqwGB.cjs +0 -1
- package/ProgressBar-DRhXkSE6.js +0 -53
- package/ProgressBar-i7almbvK.cjs +0 -1
- package/RSPContexts-D8hmBfGm.cjs +0 -1
- package/Radio-BpQoJB8e.cjs +0 -1
- package/Radio-D4wUZfW9.js +0 -333
- package/RangeCalendar-KcJooXYf.cjs +0 -6
- package/SearchField-BA-X9dzb.cjs +0 -6
- package/Select-1QuVY4f5.cjs +0 -1
- package/SelectionManager-Bq-Gw1UT.js +0 -1043
- package/SelectionManager-BtbHoHpA.cjs +0 -1
- package/Separator-Cfv2pbWf.cjs +0 -1
- package/Skeleton-Iovq135_.js +0 -35
- package/Skeleton-MaBUPqhT.cjs +0 -1
- package/Spinner-BZ7i01Kt.js +0 -47
- package/Spinner-DxWDMW6e.cjs +0 -6
- package/TabList-3fErCDyP.cjs +0 -1
- package/TabList-CXaxruLg.js +0 -397
- package/Table-Dyqa6_rE.cjs +0 -16
- package/Tag-BYUPXbhG.js +0 -765
- package/Tag-BweDKw1v.cjs +0 -1
- package/Text-CmlsaWMA.js +0 -32
- package/TextArea-B4BZUoJp.cjs +0 -1
- package/TextArea-Df1fR5R4.js +0 -124
- package/TextField-Bm5916AD.cjs +0 -1
- package/TextField.module-CH39P8ZE.js +0 -13
- package/TextField.module-gJ-ruFra.cjs +0 -1
- package/ToggleButtonGroup-DY9S3USc.cjs +0 -1
- package/inertValue-B3AFhVG4.cjs +0 -1
- package/scrollIntoView-ClEACHUk.js +0 -57
- package/scrollIntoView-DRSoJp89.cjs +0 -1
- package/useDateFormatter-2B0vgHc-.cjs +0 -1
- package/useEvent-3ZO5TPSH.cjs +0 -1
- package/useHasTabbableChild-CJcLnolh.cjs +0 -1
- package/useLocalizedStringFormatter-BiX5BTlb.cjs +0 -1
- package/useObserveElement-BdI4zgd7.js +0 -27
- package/useObserveElement-MhzEsCkX.cjs +0 -1
- package/usePress-CicXV7UO.cjs +0 -7
- package/useToggleState-SqDyNfRi.cjs +0 -1
- package/utils/storybook.d.ts +0 -5
- package/utils/test.d.ts +0 -11
- package/utils-CMHKYKlz.cjs +0 -1
- package/utils-__vrf9VZ.cjs +0 -1
- package/variables-B3KEYyhW.cjs +0 -1
- package/variables-DzXcMW2k.js +0 -5
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { jsx as p, jsxs as _, Fragment as Te } from "react/jsx-runtime";
|
|
2
|
-
import { B as Le } from "./Button-
|
|
3
|
-
import
|
|
2
|
+
import { B as Le } from "./Button-CF97piBl.js";
|
|
3
|
+
import g, { useState as A, useCallback as w, useEffect as T, useRef as v, useMemo as _e } from "react";
|
|
4
4
|
import { createPortal as we, flushSync as Be } from "react-dom";
|
|
5
|
-
import { c as I } from "./clsx-
|
|
5
|
+
import { c as I } from "./clsx-jbLnTBqA.js";
|
|
6
6
|
import { i as ye } from "./icon-map-uS87FT_Q.js";
|
|
7
|
-
import { s as N } from "./index-
|
|
8
|
-
import { $ as F, c as Ie, b as Ce, d as Pe, a as
|
|
9
|
-
import { m as E } from "./utils-
|
|
10
|
-
import { $ as
|
|
11
|
-
import { $ as Ne } from "./useFocusWithin-
|
|
12
|
-
import { $ as
|
|
7
|
+
import { s as N } from "./index-DEx4upZl.js";
|
|
8
|
+
import { $ as F, c as Ie, b as Ce, d as Pe, a as ge } from "./mergeProps-Ct8m5-xW.js";
|
|
9
|
+
import { m as E } from "./utils-Dxh86KaB.js";
|
|
10
|
+
import { $ as Ae, g as B } from "./useHover-DkC5FyNd.js";
|
|
11
|
+
import { $ as Ne } from "./useFocusWithin-DhXBuB2O.js";
|
|
12
|
+
import { $ as S } from "./useLocalizedStringFormatter-CSEh15AZ.js";
|
|
13
13
|
import { $ as Fe } from "./filterDOMProps-wsa9OcNI.js";
|
|
14
|
-
import { X as
|
|
15
|
-
import './assets/Toast.css';const
|
|
16
|
-
function
|
|
14
|
+
import { X as Se } from "./x-C2xUHAEl.js";
|
|
15
|
+
import './assets/Toast.css';const D = 1, y = Symbol.for("react-aria-landmark-manager");
|
|
16
|
+
function De(t) {
|
|
17
17
|
return document.addEventListener("react-aria-landmark-manager-change", t), () => document.removeEventListener("react-aria-landmark-manager-change", t);
|
|
18
18
|
}
|
|
19
19
|
function P() {
|
|
20
20
|
if (typeof document > "u") return null;
|
|
21
21
|
let t = document[y];
|
|
22
|
-
return t && t.version >=
|
|
22
|
+
return t && t.version >= D ? t : (document[y] = new ze(), document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")), document[y]);
|
|
23
23
|
}
|
|
24
24
|
function Re() {
|
|
25
|
-
return N.useSyncExternalStore(
|
|
25
|
+
return N.useSyncExternalStore(De, P, P);
|
|
26
26
|
}
|
|
27
|
-
class
|
|
27
|
+
class ze {
|
|
28
28
|
setupIfNeeded() {
|
|
29
29
|
this.isListening || (document.addEventListener("keydown", this.f6Handler, {
|
|
30
30
|
capture: !0
|
|
@@ -238,12 +238,12 @@ class Me {
|
|
|
238
238
|
return this.landmarks.find((n) => n.ref === e.ref) ? this.updateLandmark(e) : this.addLandmark(e), () => this.removeLandmark(e.ref);
|
|
239
239
|
}
|
|
240
240
|
constructor() {
|
|
241
|
-
this.landmarks = [], this.isListening = !1, this.refCount = 0, this.version =
|
|
241
|
+
this.landmarks = [], this.isListening = !1, this.refCount = 0, this.version = D, 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 Me(t, e) {
|
|
245
245
|
const { role: n, "aria-label": i, "aria-labelledby": o, focus: u } = t;
|
|
246
|
-
let r = Re(), a = i || o, [b, d] =
|
|
246
|
+
let r = Re(), a = i || o, [b, d] = A(!1), f = w(() => {
|
|
247
247
|
d(!0);
|
|
248
248
|
}, [
|
|
249
249
|
d
|
|
@@ -291,120 +291,120 @@ R = {
|
|
|
291
291
|
other: () => `${e.number(t.count)} إشعارات`
|
|
292
292
|
})}.`
|
|
293
293
|
};
|
|
294
|
-
var
|
|
295
|
-
|
|
294
|
+
var z = {};
|
|
295
|
+
z = {
|
|
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 M = {};
|
|
303
|
+
M = {
|
|
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 O = {};
|
|
311
|
+
O = {
|
|
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 H = {};
|
|
319
|
+
H = {
|
|
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 V = {};
|
|
327
|
+
V = {
|
|
328
328
|
close: "Κλείσιμο",
|
|
329
329
|
notifications: (t, e) => `${e.plural(t.count, {
|
|
330
330
|
one: () => `${e.number(t.count)} ειδοποίηση`,
|
|
331
331
|
other: () => `${e.number(t.count)} ειδοποιήσεις`
|
|
332
332
|
})}.`
|
|
333
333
|
};
|
|
334
|
-
var
|
|
335
|
-
|
|
334
|
+
var U = {};
|
|
335
|
+
U = {
|
|
336
336
|
close: "Close",
|
|
337
337
|
notifications: (t, e) => `${e.plural(t.count, {
|
|
338
338
|
one: () => `${e.number(t.count)} notification`,
|
|
339
339
|
other: () => `${e.number(t.count)} notifications`
|
|
340
340
|
})}.`
|
|
341
341
|
};
|
|
342
|
-
var
|
|
343
|
-
|
|
342
|
+
var q = {};
|
|
343
|
+
q = {
|
|
344
344
|
close: "Cerrar",
|
|
345
345
|
notifications: (t, e) => `${e.plural(t.count, {
|
|
346
346
|
one: () => `${e.number(t.count)} notificación`,
|
|
347
347
|
other: () => `${e.number(t.count)} notificaciones`
|
|
348
348
|
})}.`
|
|
349
349
|
};
|
|
350
|
-
var
|
|
351
|
-
|
|
350
|
+
var j = {};
|
|
351
|
+
j = {
|
|
352
352
|
close: "Sule",
|
|
353
353
|
notifications: (t, e) => `${e.plural(t.count, {
|
|
354
354
|
one: () => `${e.number(t.count)} teatis`,
|
|
355
355
|
other: () => `${e.number(t.count)} teatist`
|
|
356
356
|
})}.`
|
|
357
357
|
};
|
|
358
|
-
var
|
|
359
|
-
|
|
358
|
+
var W = {};
|
|
359
|
+
W = {
|
|
360
360
|
close: "Sulje",
|
|
361
361
|
notifications: (t, e) => `${e.plural(t.count, {
|
|
362
362
|
one: () => `${e.number(t.count)} ilmoitus`,
|
|
363
363
|
other: () => `${e.number(t.count)} ilmoitusta`
|
|
364
364
|
})}.`
|
|
365
365
|
};
|
|
366
|
-
var
|
|
367
|
-
|
|
366
|
+
var K = {};
|
|
367
|
+
K = {
|
|
368
368
|
close: "Fermer",
|
|
369
369
|
notifications: (t, e) => `${e.plural(t.count, {
|
|
370
370
|
one: () => `${e.number(t.count)} notification`,
|
|
371
371
|
other: () => `${e.number(t.count)} notifications`
|
|
372
372
|
})}.`
|
|
373
373
|
};
|
|
374
|
-
var
|
|
375
|
-
|
|
374
|
+
var Z = {};
|
|
375
|
+
Z = {
|
|
376
376
|
close: "סגור",
|
|
377
377
|
notifications: (t, e) => `${e.plural(t.count, {
|
|
378
378
|
one: () => `${e.number(t.count)} התראה`,
|
|
379
379
|
other: () => `${e.number(t.count)} התראות`
|
|
380
380
|
})}.`
|
|
381
381
|
};
|
|
382
|
-
var
|
|
383
|
-
|
|
382
|
+
var G = {};
|
|
383
|
+
G = {
|
|
384
384
|
close: "Zatvori",
|
|
385
385
|
notifications: (t, e) => `${e.plural(t.count, {
|
|
386
386
|
one: () => `${e.number(t.count)} obavijest`,
|
|
387
387
|
other: () => `${e.number(t.count)} obavijesti`
|
|
388
388
|
})}.`
|
|
389
389
|
};
|
|
390
|
-
var
|
|
391
|
-
|
|
390
|
+
var J = {};
|
|
391
|
+
J = {
|
|
392
392
|
close: "Bezárás",
|
|
393
393
|
notifications: (t, e) => `${e.plural(t.count, {
|
|
394
394
|
one: () => `${e.number(t.count)} értesítés`,
|
|
395
395
|
other: () => `${e.number(t.count)} értesítés`
|
|
396
396
|
})}.`
|
|
397
397
|
};
|
|
398
|
-
var
|
|
399
|
-
|
|
398
|
+
var Q = {};
|
|
399
|
+
Q = {
|
|
400
400
|
close: "Chiudi",
|
|
401
401
|
notifications: (t, e) => `${e.plural(t.count, {
|
|
402
402
|
one: () => `${e.number(t.count)} notifica`,
|
|
403
403
|
other: () => `${e.number(t.count)} notifiche`
|
|
404
404
|
})}.`
|
|
405
405
|
};
|
|
406
|
-
var
|
|
407
|
-
|
|
406
|
+
var X = {};
|
|
407
|
+
X = {
|
|
408
408
|
close: "閉じる",
|
|
409
409
|
notifications: (t, e) => `${e.plural(t.count, {
|
|
410
410
|
one: () => `${e.number(t.count)} 個の通知`,
|
|
@@ -563,21 +563,21 @@ he = {
|
|
|
563
563
|
var C = {};
|
|
564
564
|
C = {
|
|
565
565
|
"ar-AE": R,
|
|
566
|
-
"bg-BG":
|
|
567
|
-
"cs-CZ":
|
|
568
|
-
"da-DK":
|
|
569
|
-
"de-DE":
|
|
570
|
-
"el-GR":
|
|
571
|
-
"en-US":
|
|
572
|
-
"es-ES":
|
|
573
|
-
"et-EE":
|
|
574
|
-
"fi-FI":
|
|
575
|
-
"fr-FR":
|
|
576
|
-
"he-IL":
|
|
577
|
-
"hr-HR":
|
|
578
|
-
"hu-HU":
|
|
579
|
-
"it-IT":
|
|
580
|
-
"ja-JP":
|
|
566
|
+
"bg-BG": z,
|
|
567
|
+
"cs-CZ": M,
|
|
568
|
+
"da-DK": O,
|
|
569
|
+
"de-DE": H,
|
|
570
|
+
"el-GR": V,
|
|
571
|
+
"en-US": U,
|
|
572
|
+
"es-ES": q,
|
|
573
|
+
"et-EE": j,
|
|
574
|
+
"fi-FI": W,
|
|
575
|
+
"fr-FR": K,
|
|
576
|
+
"he-IL": Z,
|
|
577
|
+
"hr-HR": G,
|
|
578
|
+
"hu-HU": J,
|
|
579
|
+
"it-IT": Q,
|
|
580
|
+
"ja-JP": X,
|
|
581
581
|
"ko-KR": Y,
|
|
582
582
|
"lt-LT": ee,
|
|
583
583
|
"lv-LV": te,
|
|
@@ -597,10 +597,10 @@ C = {
|
|
|
597
597
|
"zh-CN": $e,
|
|
598
598
|
"zh-TW": he
|
|
599
599
|
};
|
|
600
|
-
function
|
|
600
|
+
function Oe(t) {
|
|
601
601
|
return t && t.__esModule ? t.default : t;
|
|
602
602
|
}
|
|
603
|
-
function
|
|
603
|
+
function He(t, e, n) {
|
|
604
604
|
let { key: i, timer: o, timeout: u } = t.toast;
|
|
605
605
|
T(() => {
|
|
606
606
|
if (!(o == null || u == null))
|
|
@@ -611,7 +611,7 @@ function Ve(t, e, n) {
|
|
|
611
611
|
o,
|
|
612
612
|
u
|
|
613
613
|
]);
|
|
614
|
-
let r = Ie(), a = Ce(), b =
|
|
614
|
+
let r = Ie(), a = Ce(), b = S(Oe(C), "@react-aria/toast"), [d, f] = A(!1);
|
|
615
615
|
return T(() => {
|
|
616
616
|
f(!0);
|
|
617
617
|
}, []), {
|
|
@@ -642,18 +642,18 @@ function Ve(t, e, n) {
|
|
|
642
642
|
}
|
|
643
643
|
};
|
|
644
644
|
}
|
|
645
|
-
function
|
|
645
|
+
function Ve(t) {
|
|
646
646
|
return t && t.__esModule ? t.default : t;
|
|
647
647
|
}
|
|
648
|
-
function
|
|
649
|
-
let i =
|
|
648
|
+
function Ue(t, e, n) {
|
|
649
|
+
let i = S(Ve(C), "@react-aria/toast"), { landmarkProps: o } = Me({
|
|
650
650
|
role: "region",
|
|
651
651
|
"aria-label": t["aria-label"] || i.format("notifications", {
|
|
652
652
|
count: e.visibleToasts.length
|
|
653
653
|
})
|
|
654
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 } = Ae({
|
|
657
657
|
onHoverStart: () => {
|
|
658
658
|
u.current = !0, a();
|
|
659
659
|
},
|
|
@@ -678,8 +678,8 @@ function ze(t, e, n) {
|
|
|
678
678
|
isRemoved: !e.visibleToasts.some((h) => c.key === h.key)
|
|
679
679
|
})), L = l.findIndex((c) => c.i === $.current && c.isRemoved);
|
|
680
680
|
if (L > -1) {
|
|
681
|
-
var
|
|
682
|
-
if (B() === "pointer" && (!((
|
|
681
|
+
var k;
|
|
682
|
+
if (B() === "pointer" && (!((k = s.current) === null || k === void 0) && k.isConnected)) E(s.current);
|
|
683
683
|
else {
|
|
684
684
|
let c = 0, m, h;
|
|
685
685
|
for (; c <= L; )
|
|
@@ -720,7 +720,7 @@ function ze(t, e, n) {
|
|
|
720
720
|
}, [
|
|
721
721
|
n
|
|
722
722
|
]), {
|
|
723
|
-
regionProps:
|
|
723
|
+
regionProps: ge(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
|
|
@@ -732,7 +732,7 @@ function ze(t, e, n) {
|
|
|
732
732
|
// and we need to follow all focus changes
|
|
733
733
|
onFocus: (l) => {
|
|
734
734
|
let L = l.target.closest('[role="alertdialog"]');
|
|
735
|
-
$.current = d.current.findIndex((
|
|
735
|
+
$.current = d.current.findIndex((k) => k === L);
|
|
736
736
|
},
|
|
737
737
|
onBlur: () => {
|
|
738
738
|
$.current = -1;
|
|
@@ -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 qe(() => 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 qe {
|
|
809
809
|
reset(e) {
|
|
810
810
|
this.remaining = e, this.resume();
|
|
811
811
|
}
|
|
@@ -821,21 +821,21 @@ class je {
|
|
|
821
821
|
this.startTime = null, this.remaining = n, this.callback = e;
|
|
822
822
|
}
|
|
823
823
|
}
|
|
824
|
-
const We = "
|
|
825
|
-
toastRegion:
|
|
826
|
-
toast:
|
|
827
|
-
success:
|
|
828
|
-
info:
|
|
829
|
-
important:
|
|
830
|
-
warning:
|
|
831
|
-
icon:
|
|
832
|
-
toastContent:
|
|
824
|
+
const je = "_toastRegion_3qumz_49", We = "_toast_3qumz_49", Ke = "_success_3qumz_97", Ze = "_info_3qumz_105", Ge = "_important_3qumz_113", Je = "_warning_3qumz_121", Qe = "_icon_3qumz_129", Xe = "_toastContent_3qumz_143", Ye = "_toastMessage_3qumz_150", et = "_slideInTop_3qumz_1", tt = "_slideInEnd_3qumz_1", nt = "_slideOutTop_3qumz_1", it = "_slideOutEnd_3qumz_1", x = {
|
|
825
|
+
toastRegion: je,
|
|
826
|
+
toast: We,
|
|
827
|
+
success: Ke,
|
|
828
|
+
info: Ze,
|
|
829
|
+
important: Ge,
|
|
830
|
+
warning: Je,
|
|
831
|
+
icon: Qe,
|
|
832
|
+
toastContent: Xe,
|
|
833
833
|
toastMessage: Ye,
|
|
834
834
|
slideInTop: et,
|
|
835
835
|
slideInEnd: tt,
|
|
836
836
|
slideOutTop: nt,
|
|
837
837
|
slideOutEnd: it
|
|
838
|
-
},
|
|
838
|
+
}, xe = {
|
|
839
839
|
wrapUpdate(t) {
|
|
840
840
|
"startViewTransition" in document ? document.startViewTransition(() => {
|
|
841
841
|
Be(t);
|
|
@@ -850,11 +850,11 @@ function ot(t = {}) {
|
|
|
850
850
|
);
|
|
851
851
|
return pe(i);
|
|
852
852
|
}
|
|
853
|
-
const ut = new ve(
|
|
853
|
+
const ut = new ve(xe), Et = (t) => {
|
|
854
854
|
const e = pe(ut);
|
|
855
855
|
return e.visibleToasts.length > 0 ? we(
|
|
856
856
|
/* @__PURE__ */ p(
|
|
857
|
-
|
|
857
|
+
ke,
|
|
858
858
|
{
|
|
859
859
|
...t,
|
|
860
860
|
state: e
|
|
@@ -863,11 +863,11 @@ const ut = new ve(ke), Et = (t) => {
|
|
|
863
863
|
document.body
|
|
864
864
|
) : null;
|
|
865
865
|
}, Tt = ({ children: t, ...e }) => {
|
|
866
|
-
const n = ot(
|
|
866
|
+
const n = ot(xe);
|
|
867
867
|
return /* @__PURE__ */ _(Te, { children: [
|
|
868
868
|
typeof t == "function" ? t(n) : t,
|
|
869
869
|
n.visibleToasts.length > 0 && /* @__PURE__ */ p(
|
|
870
|
-
|
|
870
|
+
ke,
|
|
871
871
|
{
|
|
872
872
|
...e,
|
|
873
873
|
state: n
|
|
@@ -875,18 +875,18 @@ const ut = new ve(ke), Et = (t) => {
|
|
|
875
875
|
)
|
|
876
876
|
] });
|
|
877
877
|
};
|
|
878
|
-
function
|
|
878
|
+
function ke({
|
|
879
879
|
state: t,
|
|
880
880
|
className: e,
|
|
881
881
|
...n
|
|
882
882
|
}) {
|
|
883
|
-
const i =
|
|
883
|
+
const i = g.useRef(null), { regionProps: o } = Ue(n, t, i);
|
|
884
884
|
return /* @__PURE__ */ p(
|
|
885
885
|
"div",
|
|
886
886
|
{
|
|
887
887
|
...o,
|
|
888
888
|
ref: i,
|
|
889
|
-
className: I(
|
|
889
|
+
className: I(x.toastRegion, e),
|
|
890
890
|
children: t.visibleToasts.map((u) => /* @__PURE__ */ p(
|
|
891
891
|
rt,
|
|
892
892
|
{
|
|
@@ -903,7 +903,7 @@ function rt({
|
|
|
903
903
|
className: e,
|
|
904
904
|
...n
|
|
905
905
|
}) {
|
|
906
|
-
const i =
|
|
906
|
+
const i = g.useRef(null), { toastProps: o, contentProps: u, titleProps: r, closeButtonProps: a } = He(
|
|
907
907
|
n,
|
|
908
908
|
t
|
|
909
909
|
), b = ye[n.toast.content.type];
|
|
@@ -913,8 +913,8 @@ function rt({
|
|
|
913
913
|
...o,
|
|
914
914
|
ref: i,
|
|
915
915
|
className: I(
|
|
916
|
-
|
|
917
|
-
|
|
916
|
+
x.toast,
|
|
917
|
+
x[n.toast.content.type],
|
|
918
918
|
e
|
|
919
919
|
),
|
|
920
920
|
style: { viewTransitionName: n.toast.key },
|
|
@@ -923,12 +923,12 @@ function rt({
|
|
|
923
923
|
"div",
|
|
924
924
|
{
|
|
925
925
|
...u,
|
|
926
|
-
className: I(
|
|
926
|
+
className: I(x.toastContent, u.className),
|
|
927
927
|
children: [
|
|
928
928
|
/* @__PURE__ */ p(
|
|
929
929
|
b,
|
|
930
930
|
{
|
|
931
|
-
className:
|
|
931
|
+
className: x.icon,
|
|
932
932
|
size: 20,
|
|
933
933
|
"aria-hidden": !0
|
|
934
934
|
}
|
|
@@ -937,7 +937,7 @@ function rt({
|
|
|
937
937
|
/* @__PURE__ */ p(
|
|
938
938
|
"p",
|
|
939
939
|
{
|
|
940
|
-
className:
|
|
940
|
+
className: x.toastMessage,
|
|
941
941
|
...r,
|
|
942
942
|
children: n.toast.content.message
|
|
943
943
|
}
|
|
@@ -953,7 +953,7 @@ function rt({
|
|
|
953
953
|
variant: "icon",
|
|
954
954
|
...a,
|
|
955
955
|
children: /* @__PURE__ */ p(
|
|
956
|
-
|
|
956
|
+
Se,
|
|
957
957
|
{
|
|
958
958
|
size: 20,
|
|
959
959
|
"aria-hidden": !0
|
|
@@ -968,7 +968,7 @@ function rt({
|
|
|
968
968
|
export {
|
|
969
969
|
Et as G,
|
|
970
970
|
Tt as T,
|
|
971
|
-
|
|
971
|
+
ke as a,
|
|
972
972
|
rt as b,
|
|
973
973
|
ut as t,
|
|
974
974
|
ot as u
|