@midas-ds/components 10.3.0 → 10.4.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-BcsoC78F.cjs +1 -0
- package/{AccordionItem-ChHpW8EW.js → AccordionItem-BqsgiVWV.js} +38 -36
- package/Breadcrumbs-CfW5IuyE.cjs +1 -0
- package/{Breadcrumbs-CwDUNIqF.js → Breadcrumbs-D7eoibWk.js} +77 -65
- package/{Button-BoJl6JGM.cjs → Button-BXY5ZhqI.cjs} +1 -1
- package/{Button-Csih3v23.js → Button-BZUo7vsZ.js} +1 -1
- package/{Button-DjBChs7s.js → Button-CFYdzG0H.js} +24 -23
- package/Button-DExMoP5f.cjs +1 -0
- package/CHANGELOG.md +28 -0
- package/{Card-yrtGzt70.js → Card-BaWSgtSF.js} +3 -3
- package/{Card-0G0mj9q5.cjs → Card-Cc1TNPcQ.cjs} +1 -1
- package/{CharacterCounter-CHcTDHO-.cjs → CharacterCounter-DSFBv3Rw.cjs} +1 -1
- package/{CharacterCounter-BL_nZHya.js → CharacterCounter-cLhqPZlk.js} +4 -4
- package/Checkbox-Co3h0hur.cjs +1 -0
- package/{Checkbox-5HINZdGu.js → Checkbox-LuUwTZ3W.js} +69 -68
- package/CheckboxGroup-CUA8_xSx.js +160 -0
- package/CheckboxGroup-DmUOM0xl.cjs +1 -0
- package/{Collection-Brgjpkne.js → Collection--62xKPm9.js} +17 -16
- package/Collection-BtBX5IMY.cjs +1 -0
- package/{ColorSchemeSwitch-BpzQ7g0b.js → ColorSchemeSwitch-Cwono7Ap.js} +51 -35
- package/ColorSchemeSwitch-DDXdSzqg.cjs +16 -0
- package/ComboBox-BBC7jhnm.cjs +1 -0
- package/{ComboBox-CVDyp2a-.js → ComboBox-HLIAbb2q.js} +309 -298
- package/{DateField-DeDhiYnW.cjs → DateField-B3VjOSde.cjs} +1 -1
- package/{DateField-DhU3q-rG.js → DateField-CnLEi7uX.js} +4 -4
- package/DateInputDivider-3BvwXXa9.cjs +1 -0
- package/{DateInputDivider-CF4xWsMT.js → DateInputDivider-Bi5N-C0c.js} +90 -86
- package/DateRangePicker-BPlZ12r8.cjs +6 -0
- package/{DateRangePicker-ziD1_k1W.js → DateRangePicker-CFOoGvut.js} +86 -83
- package/Dialog-CSnN6baf.cjs +1 -0
- package/{Dialog-D14MbJ7o.js → Dialog-CtVrVuMr.js} +101 -98
- package/Dialog-SqciohRY.js +221 -0
- package/Dialog-pSSy1zwf.cjs +1 -0
- package/DragAndDrop-BoEd260f.cjs +1 -0
- package/{DragAndDrop-o3ruz_SR.js → DragAndDrop-DkSTL28C.js} +2 -2
- package/{Dropdown-Df58j43I.js → Dropdown-CkBp70BH.js} +2 -2
- package/{Dropdown-CJ6My6EI.cjs → Dropdown-DAsVShlt.cjs} +1 -1
- package/FieldError-B3YFj-an.js +23 -0
- package/FieldError-BbR-29BM.js +28 -0
- package/FieldError-MVsU-Mgw.cjs +1 -0
- package/FieldError-bRTpchvr.cjs +1 -0
- package/{FileUpload-D6qoEAjn.js → FileUpload-B4rv-wke.js} +496 -475
- package/{FileUpload-CxCOtyB9.cjs → FileUpload-BwMhyLjG.cjs} +2 -2
- package/{FocusScope-CxkURfoc.js → FocusScope-D_hwN_TJ.js} +25 -24
- package/FocusScope-vcXLOQiu.cjs +1 -0
- package/Group-CpkUzEAs.js +45 -0
- package/Group-DOpbdoAi.cjs +1 -0
- package/{Heading-mHhCbGjY.cjs → Heading-CKTR4sOz.cjs} +1 -1
- package/{Heading-BFtiin0g.js → Heading-NxtGri2i.js} +1 -1
- package/{InfoBanner-BLM-TJJ6.js → InfoBanner-CBUoad7A.js} +47 -39
- package/InfoBanner-CVry6Y8i.cjs +1 -0
- package/{Input-BTzwcf72.js → Input-LnjmFI1x.js} +13 -12
- package/Input-MJji5hhq.cjs +1 -0
- package/Label-CNmTN1YY.cjs +1 -0
- package/Label-TVxwGZ-O.js +78 -0
- package/Layout-Dw-oCqxd.cjs +16 -0
- package/Layout-amz9BESl.js +498 -0
- package/{Link-yNO2-sqx.js → Link-Bn8V3ZI0.js} +8 -7
- package/Link-CidjjqHb.cjs +1 -0
- package/{Link-B88l_oaE.cjs → Link-D92ftFi2.cjs} +1 -1
- package/{Link-DX5BbBnn.js → Link-DegonJfl.js} +1 -1
- package/{LinkButton-o6uS1XsR.js → LinkButton-CckYzfJ8.js} +1 -1
- package/{LinkButton-CBpGLETx.cjs → LinkButton-DKZ4z6zu.cjs} +1 -1
- package/ListBox-BCz5-23H.cjs +1 -0
- package/{ListBox-GnVK_Pdq.js → ListBox-C-isJIHL.js} +101 -99
- package/{ListBoxButton-D_J3jlP0.js → ListBoxButton-C_krklY0.js} +1 -1
- package/{ListBoxButton-DPBrtXyv.cjs → ListBoxButton-DNm3gvcT.cjs} +1 -1
- package/{ListBoxSection-C0BGnpB4.js → ListBoxSection-BVR2xtOH.js} +9 -9
- package/ListBoxSection-CfQZoURJ.cjs +1 -0
- package/{ListKeyboardDelegate-DTg9h4v6.cjs → ListKeyboardDelegate-CPsZ7D83.cjs} +1 -1
- package/{ListKeyboardDelegate-DNI8GQtX.js → ListKeyboardDelegate-CY6t6y1t.js} +3 -3
- package/LocalizedStringFormatter-C0C54hjf.cjs +1 -0
- package/LocalizedStringFormatter-D-4Qyql0.js +77 -0
- package/Logo-BpH0HC91.cjs +1 -0
- package/{Logo-BIrOEINM.js → Logo-ME4ffCue.js} +34 -26
- package/{OverlayArrow-CDLXPTew.js → OverlayArrow-CfhSYL46.js} +57 -56
- package/OverlayArrow-DpZ1FqOd.cjs +1 -0
- package/{Popover-BGGXeD54.js → Popover-C8VY1YKi.js} +2 -2
- package/{Popover-CqNWzPf-.cjs → Popover-CnAsw3wI.cjs} +1 -1
- package/{ProgressBar-DMSg-Prr.js → ProgressBar-BNCjpcv8.js} +2 -2
- package/{ProgressBar-Jbg28j2a.cjs → ProgressBar-CcbxcWdT.cjs} +1 -1
- package/Radio-B2zfEFdq.cjs +1 -0
- package/{Radio-Cz29wPXd.js → Radio-CZYibh9r.js} +50 -47
- package/{RangeCalendar-RAlAHlNL.js → RangeCalendar-B16b6tJD.js} +304 -293
- package/RangeCalendar-C1LFeOVk.cjs +11 -0
- package/SSRProvider-40TXmsUG.js +50 -0
- package/SSRProvider-Bc-sMhsT.cjs +1 -0
- package/SearchField-CML0kjtn.cjs +6 -0
- package/{SearchField-IlvZ3Kh6.js → SearchField-giwECmXS.js} +175 -166
- package/Select-DKey6CeS.cjs +1 -0
- package/Select-mwaAv20X.js +665 -0
- package/SelectionManager-D0jYUYcy.cjs +1 -0
- package/{SelectionManager-B4ORduja.js → SelectionManager-zsWy3vsd.js} +91 -90
- package/{Separator-DECIYLtZ.cjs → Separator-CxF-3jhR.cjs} +1 -1
- package/{Separator-Cu9fYKUM.js → Separator-Dn5LYN5I.js} +4 -4
- package/Spinner-CbJ6YAz-.js +53 -0
- package/Spinner-yHcy8YHC.cjs +6 -0
- package/TabList-7VtCiXxX.cjs +1 -0
- package/TabList-CthsM5h6.js +435 -0
- package/{Table-F4oYBtUM.js → Table-BcQPvJT3.js} +46 -44
- package/Table-DkvNp6xm.cjs +16 -0
- package/{Tag-Du7GvSv2.js → Tag-Bs8T2Ei7.js} +131 -129
- package/Tag-CFWZ2LQW.cjs +1 -0
- package/Text-92cPh38G.js +15 -0
- package/{Text-B2K-BJKQ.cjs → Text-CfcjRtke.cjs} +1 -1
- package/{Text-3MNwRMpI.cjs → Text-DBHWi5gA.cjs} +1 -1
- package/{Text-jWWg0B20.js → Text-DlKqpvSa.js} +1 -1
- package/TextArea-DBNAVWqL.js +119 -0
- package/TextArea-XJDfeXRs.cjs +1 -0
- package/TextField-BdK9KEQ5.cjs +1 -0
- package/{TextField-C-hTPukq.js → TextField-ByDJkig9.js} +23 -22
- package/{Toast-Btg21Xge.js → Toast-DPPvPhrF.js} +75 -68
- package/Toast-l1bKo2oA.cjs +1 -0
- package/ToggleButtonGroup-DH8IgR4G.cjs +1 -0
- package/{ToggleButtonGroup-B5yz1tm2.js → ToggleButtonGroup-HOWNWtQZ.js} +46 -45
- package/{Tooltip-CMLs7WMw.js → Tooltip-5mLWn_wO.js} +29 -27
- package/Tooltip-pN5W3IK6.cjs +1 -0
- package/{VisuallyHidden-ZCYf65q4.js → VisuallyHidden-CYfmTSCD.js} +2 -2
- package/VisuallyHidden-Doyzl0F7.cjs +1 -0
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +1 -1
- package/assets/Checkbox.css +1 -1
- package/assets/FileUpload.css +1 -1
- package/assets/RangeCalendar.css +1 -1
- package/assets/SearchField.css +1 -1
- package/assets/Spinner.css +1 -1
- package/assets/TabList.css +1 -0
- package/breadcrumbs/Breadcrumbs.d.ts +11 -7
- package/breadcrumbs/index.cjs +1 -1
- package/breadcrumbs/index.d.ts +1 -1
- package/breadcrumbs/index.js +1 -1
- package/button/index.cjs +1 -1
- package/button/index.js +1 -1
- package/calendar/CalendarGrid.d.ts +1 -0
- 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/Checkbox.d.ts +3 -1
- package/checkbox/index.cjs +1 -1
- package/checkbox/index.js +2 -2
- package/checkbox/intl/translations.json.d.ts +2 -30
- package/checkbox/types.d.ts +3 -1
- package/color-scheme-switch/ColorSchemeSwitch.d.ts +1 -0
- package/color-scheme-switch/index.cjs +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/color-scheme-switch/intl/translations.json.d.ts +15 -0
- package/combobox/index.cjs +1 -1
- package/combobox/index.js +1 -1
- package/combobox/intl/translations.json.d.ts +11 -0
- package/{context-C81gPYvC.js → context-CGNJ3grH.js} +1 -1
- package/context-Df3XbgBG.cjs +1 -0
- 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/FileUpload.d.ts +1 -0
- package/file-upload/index.cjs +1 -1
- package/file-upload/index.js +1 -1
- package/file-upload/intl/translations.json.d.ts +17 -0
- package/{getScrollParent-BhFcYrwL.js → getScrollParent-CT_L9LUr.js} +1 -1
- package/{getScrollParent-DDJu9WHU.cjs → getScrollParent-CsZ9ciml.cjs} +1 -1
- package/heading/index.cjs +1 -1
- package/heading/index.js +1 -1
- package/index.cjs +1 -1
- package/index.js +100 -97
- package/info-banner/index.cjs +1 -1
- package/info-banner/index.js +1 -1
- package/info-banner/intl/translations.json.d.ts +11 -0
- package/label/index.cjs +1 -1
- package/label/index.js +1 -1
- package/label/intl/translations.json.d.ts +11 -0
- package/layout/Layout.d.ts +1 -0
- package/layout/context/LayoutContext.d.ts +1 -0
- package/layout/index.cjs +1 -1
- package/layout/index.js +1 -1
- package/layout/intl/translations.json.d.ts +23 -0
- 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/logo/intl/translations.json.d.ts +11 -0
- package/mergeProps-B5KXZAI3.cjs +1 -0
- package/mergeProps-C1U1OIeJ.js +115 -0
- package/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/modal/intl/translations.json.d.ts +11 -0
- package/package.json +1 -1
- package/popover/index.cjs +1 -1
- package/popover/index.js +1 -1
- package/progress-bar/index.cjs +1 -1
- package/progress-bar/index.js +1 -1
- package/radio/Radio.d.ts +1 -4
- package/radio/index.cjs +1 -1
- package/radio/index.js +1 -1
- package/{scrollIntoView-Hwb_aaNf.js → scrollIntoView-BLnsPvFA.js} +1 -1
- package/scrollIntoView-joIyo-Jt.cjs +1 -0
- package/search-field/index.cjs +1 -1
- package/search-field/index.js +1 -1
- package/search-field/intl/translations.json.d.ts +11 -0
- package/select/index.cjs +1 -1
- package/select/index.js +1 -1
- package/select/intl/translations.json.d.ts +17 -0
- package/spinner/Spinner.d.ts +1 -0
- package/spinner/index.cjs +1 -1
- package/spinner/index.js +1 -1
- package/spinner/intl/translations.json.d.ts +11 -0
- package/table/index.cjs +1 -1
- package/table/index.js +1 -1
- package/tabs/Tab.d.ts +4 -0
- package/tabs/TabList.d.ts +3 -0
- package/tabs/TabPanel.d.ts +4 -0
- package/tabs/Tabs.d.ts +11 -5
- package/tabs/index.cjs +1 -1
- package/tabs/index.d.ts +3 -0
- package/tabs/index.js +5 -2
- package/tag/index.cjs +1 -1
- package/tag/index.js +1 -1
- package/text/index.cjs +1 -1
- package/text/index.js +1 -1
- package/textfield/index.cjs +1 -1
- package/textfield/index.js +1 -1
- package/textfield/intl/translations.json.d.ts +0 -72
- package/theme/index.cjs +1 -1
- package/theme/index.d.ts +5 -0
- package/theme/index.js +2 -2
- package/theme/tokens.d.ts +5 -0
- package/toast/Toast.d.ts +5 -2
- 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-p6pg1Cea.cjs → tokens-BghDnMdO.cjs} +1 -1
- package/{tokens-xp-7KMK7.js → tokens-fEwCQXDv.js} +16 -11
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/{useButton-B8dB9sot.js → useButton-1-Jf-oHj.js} +3 -3
- package/useButton-D60q0SQw.cjs +1 -0
- package/{useDateFormatter-CnxoJ4jF.cjs → useDateFormatter-BJBt0jk_.cjs} +1 -1
- package/{useDateFormatter-EHm4auIg.js → useDateFormatter-BVCkxVdw.js} +2 -2
- package/{useEvent-IsD2Awnh.js → useEvent-CigwyJOw.js} +3 -3
- package/useEvent-DPxMu-X9.cjs +1 -0
- package/{useField-DvpGZkw_.js → useField-BEBXv5Mh.js} +4 -4
- package/useField-D1UkzeaI.cjs +1 -0
- package/{useFilter-CUq74PQ2.js → useFilter-CousKe2K.js} +1 -1
- package/{useFilter-BTgDWHVx.cjs → useFilter-e2oIVF_O.cjs} +1 -1
- package/useFocusRing-B-A1OLhU.cjs +1 -0
- package/useFocusRing-DOfBqnUN.js +33 -0
- package/useFocusWithin-CG8mAt2D.cjs +1 -0
- package/useFocusWithin-T1ifEM_s.js +54 -0
- package/{useFocusable-C8uh8K4g.js → useFocusable-ChPA2Jc7.js} +20 -18
- package/useFocusable-D7I1ujkW.cjs +1 -0
- package/useFormValidation-BlFGdPZB.cjs +1 -0
- package/{useFormValidation-BIGzfO9h.js → useFormValidation-BzzruZKm.js} +2 -2
- package/{useHasTabbableChild-C-1mZUQe.js → useHasTabbableChild-BE81d_ab.js} +2 -2
- package/useHasTabbableChild-CoQRpNbC.cjs +1 -0
- package/useHighlightSelectionDescription-BfR_vGOe.cjs +1 -0
- package/{useHighlightSelectionDescription-CnBDT86u.js → useHighlightSelectionDescription-D73hrkmn.js} +5 -5
- package/useHover-BE_XKZKe.cjs +1 -0
- package/useHover-DQvJ3Y-W.js +262 -0
- package/useLabels-CSU0kbtJ.cjs +1 -0
- package/{useLabels-BDwkBYbE.js → useLabels-LrKQiY11.js} +1 -1
- package/{useListState-CrZFZffI.js → useListState-CebsX_1d.js} +1 -1
- package/{useListState-Bx8u4IFG.cjs → useListState-DymkJGDF.cjs} +1 -1
- package/useLocalizedStringFormatter-BO2iZEL0.cjs +1 -0
- package/useLocalizedStringFormatter-BiX5BTlb.cjs +1 -0
- package/useLocalizedStringFormatter-CL9MUZ8A.js +22 -0
- package/useLocalizedStringFormatter-N0AyjzbM.js +25 -0
- package/usePress-BooY_CAy.cjs +7 -0
- package/{usePress-CNjmDzap.js → usePress-DuR4pVsE.js} +129 -128
- package/{useSingleSelectListState-0AGHxvy3.js → useSingleSelectListState-BLXvGjLI.js} +1 -1
- package/{useSingleSelectListState-Cl3KV5E1.cjs → useSingleSelectListState-BPhlCU26.cjs} +1 -1
- package/{useTextField-Cw-33OP_.js → useTextField-C-sUypsx.js} +8 -8
- package/useTextField-DnRrCg5o.cjs +1 -0
- package/utils/intl/useLocalizedStringFormatter.d.ts +2 -0
- package/utils-CoCR_Fce.js +234 -0
- package/utils-DHNZrQmj.cjs +1 -0
- package/utils-DJhAJHk_.js +152 -0
- package/utils-Dvdohqm9.cjs +1 -0
- package/AccordionItem-BGWiWjxA.cjs +0 -1
- package/Breadcrumbs-DtjJ1UmU.cjs +0 -1
- package/Button-htW9qIsS.cjs +0 -1
- package/Checkbox-DqcPg5hz.cjs +0 -1
- package/CheckboxGroup-BBrSMuDY.cjs +0 -1
- package/CheckboxGroup-CLgixk2p.js +0 -243
- package/Collection-BIDsXNhi.cjs +0 -1
- package/ColorSchemeSwitch-C-qWuqkU.cjs +0 -16
- package/ComboBox-CWJUg9Xx.cjs +0 -1
- package/DateInputDivider-ADvOavHw.cjs +0 -1
- package/DateRangePicker-BsAHhy99.cjs +0 -6
- package/Dialog-B8GTYbvu.cjs +0 -1
- package/Dialog-BOrYdX50.cjs +0 -1
- package/Dialog-CXNu48AC.js +0 -208
- package/DragAndDrop-DNth776R.cjs +0 -1
- package/FieldError-CAcjosk_.js +0 -46
- package/FieldError-CKBb2-mp.cjs +0 -1
- package/FocusScope-5c9SVBcR.cjs +0 -1
- package/Group-B6EslsHZ.js +0 -44
- package/Group-CgiqQHH1.cjs +0 -1
- package/InfoBanner-C2kTIsrB.cjs +0 -1
- package/Input-DKSAYvsw.cjs +0 -1
- package/Label-7Ybb99CE.cjs +0 -1
- package/Label-BwJrdqEE.js +0 -70
- package/Layout-1g6bMH62.cjs +0 -16
- package/Layout-Ey8flY7E.js +0 -468
- package/Link-BQhauBuw.cjs +0 -1
- package/ListBox-DP9M4H6R.cjs +0 -1
- package/ListBoxSection-BGaigBnG.cjs +0 -1
- package/Logo-DT2_2O43.cjs +0 -1
- package/OverlayArrow-D75k-EMl.cjs +0 -1
- package/Radio-BwqrdhQE.cjs +0 -1
- package/RangeCalendar-BehUaydF.cjs +0 -11
- package/SearchField-CxMwDeUM.cjs +0 -6
- package/Select-2q1iSzAX.cjs +0 -1
- package/Select-BVQZtoi9.js +0 -646
- package/SelectionManager-CwYux2h3.cjs +0 -1
- package/Spinner-D31SXm-U.js +0 -41
- package/Spinner-P35rvvsl.cjs +0 -6
- package/Table-B40CGLT-.cjs +0 -16
- package/Tabs-B4oZJkZG.js +0 -404
- package/Tabs-DA2qXhzb.cjs +0 -1
- package/Tag-DPAGmcMK.cjs +0 -1
- package/Text-BoXuUVVH.js +0 -15
- package/TextArea-C7JZ_pQd.cjs +0 -1
- package/TextArea-XeBCSyzl.js +0 -191
- package/TextField-BgNdhZi_.cjs +0 -1
- package/Toast-AbDA1BOs.cjs +0 -1
- package/ToggleButtonGroup-BFDoj0P6.cjs +0 -1
- package/Tooltip-DeBuBKhS.cjs +0 -1
- package/VisuallyHidden-CLWHbz2n.cjs +0 -1
- package/assets/Tabs.css +0 -1
- package/context-DjwhtgxQ.cjs +0 -1
- package/scrollIntoView-C8doLzDd.cjs +0 -1
- package/useButton-cpNi-fY4.cjs +0 -1
- package/useEvent-DxBxMX2V.cjs +0 -1
- package/useField-CXKYU74k.cjs +0 -1
- package/useFocusRing-CbImDrwF.cjs +0 -1
- package/useFocusRing-XnR3cZjO.js +0 -82
- package/useFocusable-NUVSFcRC.cjs +0 -1
- package/useFormValidation-ClximP89.cjs +0 -1
- package/useHasTabbableChild-DCBTulUQ.cjs +0 -1
- package/useHighlightSelectionDescription-CzYucm61.cjs +0 -1
- package/useHover-DjIHtjGN.js +0 -490
- package/useHover-_mv5J4_q.cjs +0 -1
- package/useLabels-BLOfc6Y-.cjs +0 -1
- package/useLocalizedStringFormatter-BKoxGZf1.js +0 -96
- package/useLocalizedStringFormatter-BsxLt89S.cjs +0 -1
- package/useLocalizedStringFormatter-D3JQyjb4.js +0 -21
- package/useLocalizedStringFormatter-ioacM-Yt.cjs +0 -1
- package/usePress-0AjDbW9R.cjs +0 -7
- package/useTextField--czJtyNd.cjs +0 -1
- package/utils-BNtZbAib.cjs +0 -1
- package/utils-DIMfEPAt.js +0 -308
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require('./assets/Toast.css');const b=require("react/jsx-runtime"),ge=require("./Button-BXY5ZhqI.cjs"),a=require("react"),j=require("react-dom"),w=require("./clsx-C11secjj.cjs"),A=require("./index-Dsz3aiWt.cjs"),k=require("./mergeProps-B5KXZAI3.cjs"),g=require("./utils-Dvdohqm9.cjs"),y=require("./useHover-BE_XKZKe.cjs"),Te=require("./useFocusWithin-CG8mAt2D.cjs"),P=require("./useLocalizedStringFormatter-BiX5BTlb.cjs"),ye=require("./filterDOMProps-BS2lrgFA.cjs"),Le=require("./triangle-alert-DJW8U7jL.cjs"),B=require("./circle-check-BGo8gML8.cjs"),we=require("./info-CIEIENo6.cjs"),_e=require("./x-H8Zrx8-x.cjs"),F=1,L=Symbol.for("react-aria-landmark-manager");function Ce(t){return document.addEventListener("react-aria-landmark-manager-change",t),()=>document.removeEventListener("react-aria-landmark-manager-change",t)}function I(){if(typeof document>"u")return null;let t=document[L];return t&&t.version>=F?t:(document[L]=new Ie,document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change")),document[L])}function Be(){return A.shimExports.useSyncExternalStore(Ce,I,I)}class Ie{setupIfNeeded(){this.isListening||(document.addEventListener("keydown",this.f6Handler,{capture:!0}),document.addEventListener("focusin",this.focusinHandler,{capture:!0}),document.addEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!0)}teardownIfNeeded(){!this.isListening||this.landmarks.length>0||this.refCount>0||(document.removeEventListener("keydown",this.f6Handler,{capture:!0}),document.removeEventListener("focusin",this.focusinHandler,{capture:!0}),document.removeEventListener("focusout",this.focusoutHandler,{capture:!0}),this.isListening=!1)}focusLandmark(e,n){var i,o;(o=this.landmarks.find(u=>u.ref.current===e))===null||o===void 0||(i=o.focus)===null||i===void 0||i.call(o,n)}getLandmarksByRole(e){return new Set(this.landmarks.filter(n=>n.role===e))}getLandmarkByRole(e){return this.landmarks.find(n=>n.role===e)}addLandmark(e){if(this.setupIfNeeded(),this.landmarks.find(o=>o.ref===e.ref)||!e.ref.current)return;if(this.landmarks.filter(o=>o.role==="main").length>1&&process.env.NODE_ENV!=="production"&&console.error('Page can contain no more than one landmark with the role "main".'),this.landmarks.length===0){this.landmarks=[e],this.checkLabels(e.role);return}let n=0,i=this.landmarks.length-1;for(;n<=i;){let o=Math.floor((n+i)/2),u=e.ref.current.compareDocumentPosition(this.landmarks[o].ref.current);!!(u&Node.DOCUMENT_POSITION_PRECEDING||u&Node.DOCUMENT_POSITION_CONTAINS)?n=o+1:i=o-1}this.landmarks.splice(n,0,e),this.checkLabels(e.role)}updateLandmark(e){let n=this.landmarks.findIndex(i=>i.ref===e.ref);n>=0&&(this.landmarks[n]={...this.landmarks[n],...e},this.checkLabels(this.landmarks[n].role))}removeLandmark(e){this.landmarks=this.landmarks.filter(n=>n.ref!==e),this.teardownIfNeeded()}checkLabels(e){let n=this.getLandmarksByRole(e);if(n.size>1){let i=[...n].filter(o=>!o.label);if(i.length>0&&process.env.NODE_ENV!=="production")console.warn(`Page contains more than one landmark with the '${e}' role. If two or more landmarks on a page share the same role, all must be labeled with an aria-label or aria-labelledby attribute: `,i.map(o=>o.ref.current));else if(process.env.NODE_ENV!=="production"){let o=[...n].map(r=>r.label);o.filter((r,s)=>o.indexOf(r)!==s).forEach(r=>{console.warn(`Page contains more than one landmark with the '${e}' role and '${r}' label. If two or more landmarks on a page share the same role, they must have unique labels: `,[...n].filter(s=>s.label===r).map(s=>s.ref.current))})}}}closestLandmark(e){let n=new Map(this.landmarks.map(o=>[o.ref.current,o])),i=e;for(;i&&!n.has(i)&&i!==document.body&&i.parentElement;)i=i.parentElement;return n.get(i)}getNextLandmark(e,{backward:n}){var i;let o=this.closestLandmark(e),u=n?this.landmarks.length-1:0;o&&(u=this.landmarks.indexOf(o)+(n?-1:1));let r=()=>{if(u<0){if(!e.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"backward"},bubbles:!0,cancelable:!0})))return!0;u=this.landmarks.length-1}else if(u>=this.landmarks.length){if(!e.dispatchEvent(new CustomEvent("react-aria-landmark-navigation",{detail:{direction:"forward"},bubbles:!0,cancelable:!0})))return!0;u=0}return u<0||u>=this.landmarks.length};if(r())return;let s=u;for(;!((i=this.landmarks[u].ref.current)===null||i===void 0)&&i.closest("[aria-hidden=true]");){if(u+=n?-1:1,r())return;if(u===s)break}return this.landmarks[u]}f6Handler(e){e.key==="F6"&&(e.altKey?this.focusMain():this.navigate(e.target,e.shiftKey))&&(e.preventDefault(),e.stopPropagation())}focusMain(){let e=this.getLandmarkByRole("main");return e&&e.ref.current&&document.contains(e.ref.current)?(this.focusLandmark(e.ref.current,"forward"),!0):!1}navigate(e,n){let i=this.getNextLandmark(e,{backward:n});if(!i)return!1;if(i.lastFocused){let o=i.lastFocused;if(document.body.contains(o))return o.focus(),!0}return i.ref.current&&document.contains(i.ref.current)?(this.focusLandmark(i.ref.current,n?"backward":"forward"),!0):!1}focusinHandler(e){let n=this.closestLandmark(e.target);n&&n.ref.current!==e.target&&this.updateLandmark({ref:n.ref,lastFocused:e.target});let i=e.relatedTarget;if(i){let o=this.closestLandmark(i);o&&o.ref.current===i&&o.blur()}}focusoutHandler(e){let n=e.target,i=e.relatedTarget;if(!i||i===document){let o=this.closestLandmark(n);o&&o.ref.current===n&&o.blur()}}createLandmarkController(){let e=this;return e.refCount++,e.setupIfNeeded(),{navigate(n,i){let o=(i==null?void 0:i.from)||document.activeElement;return e.navigate(o,n==="backward")},focusNext(n){let i=(n==null?void 0:n.from)||document.activeElement;return e.navigate(i,!1)},focusPrevious(n){let i=(n==null?void 0:n.from)||document.activeElement;return e.navigate(i,!0)},focusMain(){return e.focusMain()},dispose(){e&&(e.refCount--,e.teardownIfNeeded(),e=null)}}}registerLandmark(e){return this.landmarks.find(n=>n.ref===e.ref)?this.updateLandmark(e):this.addLandmark(e),()=>this.removeLandmark(e.ref)}constructor(){this.landmarks=[],this.isListening=!1,this.refCount=0,this.version=F,this.f6Handler=this.f6Handler.bind(this),this.focusinHandler=this.focusinHandler.bind(this),this.focusoutHandler=this.focusoutHandler.bind(this)}}function je(t,e){const{role:n,"aria-label":i,"aria-labelledby":o,focus:u}=t;let r=Be(),s=i||o,[h,f]=a.useState(!1),$=a.useCallback(()=>{f(!0)},[f]),p=a.useCallback(()=>{f(!1)},[f]);return k.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(r)return r.registerLandmark({ref:e,label:s,role:n,focus:u||$,blur:p})},[r,s,e,n,u,$,p]),a.useEffect(()=>{var c;h&&((c=e.current)===null||c===void 0||c.focus())},[h,e]),{landmarkProps:{role:n,tabIndex:h?-1:void 0,"aria-label":i,"aria-labelledby":o}}}var N={};N={close:"إغلاق",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} إشعار`,other:()=>`${e.number(t.count)} إشعارات`})}.`};var R={};R={close:"Затвори",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} известие`,other:()=>`${e.number(t.count)} известия`})}.`};var S={};S={close:"Zavřít",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} oznámení`,other:()=>`${e.number(t.count)} oznámení`})}.`};var D={};D={close:"Luk",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} besked`,other:()=>`${e.number(t.count)} beskeder`})}.`};var M={};M={close:"Schließen",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} Benachrichtigung`,other:()=>`${e.number(t.count)} Benachrichtigungen`})}.`};var O={};O={close:"Κλείσιμο",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} ειδοποίηση`,other:()=>`${e.number(t.count)} ειδοποιήσεις`})}.`};var H={};H={close:"Close",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} notification`,other:()=>`${e.number(t.count)} notifications`})}.`};var V={};V={close:"Cerrar",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} notificación`,other:()=>`${e.number(t.count)} notificaciones`})}.`};var q={};q={close:"Sule",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} teatis`,other:()=>`${e.number(t.count)} teatist`})}.`};var z={};z={close:"Sulje",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} ilmoitus`,other:()=>`${e.number(t.count)} ilmoitusta`})}.`};var U={};U={close:"Fermer",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} notification`,other:()=>`${e.number(t.count)} notifications`})}.`};var W={};W={close:"סגור",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} התראה`,other:()=>`${e.number(t.count)} התראות`})}.`};var K={};K={close:"Zatvori",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} obavijest`,other:()=>`${e.number(t.count)} obavijesti`})}.`};var Z={};Z={close:"Bezárás",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} értesítés`,other:()=>`${e.number(t.count)} értesítés`})}.`};var G={};G={close:"Chiudi",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} notifica`,other:()=>`${e.number(t.count)} notifiche`})}.`};var Q={};Q={close:"閉じる",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} 個の通知`,other:()=>`${e.number(t.count)} 個の通知`})}。`};var J={};J={close:"닫기",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)}개 알림`,other:()=>`${e.number(t.count)}개 알림`})}.`};var X={};X={close:"Uždaryti",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} pranešimas`,other:()=>`${e.number(t.count)} pranešimai`})}.`};var Y={};Y={close:"Aizvērt",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} paziņojums`,other:()=>`${e.number(t.count)} paziņojumi`})}.`};var ee={};ee={close:"Lukk",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} varsling`,other:()=>`${e.number(t.count)} varsler`})}.`};var te={};te={close:"Sluiten",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} melding`,other:()=>`${e.number(t.count)} meldingen`})}.`};var ne={};ne={close:"Zamknij",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} powiadomienie`,few:()=>`${e.number(t.count)} powiadomienia`,many:()=>`${e.number(t.count)} powiadomień`,other:()=>`${e.number(t.count)} powiadomienia`})}.`};var ie={};ie={close:"Fechar",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} notificação`,other:()=>`${e.number(t.count)} notificações`})}.`};var oe={};oe={close:"Fechar",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} notificação`,other:()=>`${e.number(t.count)} notificações`})}.`};var ue={};ue={close:"Închideţi",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} notificare`,other:()=>`${e.number(t.count)} notificări`})}.`};var re={};re={close:"Закрыть",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} уведомление`,other:()=>`${e.number(t.count)} уведомления`})}.`};var se={};se={close:"Zatvoriť",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} oznámenie`,few:()=>`${e.number(t.count)} oznámenia`,other:()=>`${e.number(t.count)} oznámení`})}.`};var ae={};ae={close:"Zapri",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} obvestilo`,two:()=>`${e.number(t.count)} obvestili`,few:()=>`${e.number(t.count)} obvestila`,other:()=>`${e.number(t.count)} obvestil`})}.`};var ce={};ce={close:"Zatvori",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} obaveštenje`,other:()=>`${e.number(t.count)} obaveštenja`})}.`};var le={};le={close:"Stäng",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} meddelande`,other:()=>`${e.number(t.count)} meddelanden`})}.`};var de={};de={close:"Kapat",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} bildirim`,other:()=>`${e.number(t.count)} bildirim`})}.`};var fe={};fe={close:"Закрити",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} сповіщення`,other:()=>`${e.number(t.count)} сповіщення`})}.`};var be={};be={close:"关闭",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} 个通知`,other:()=>`${e.number(t.count)} 个通知`})}。`};var $e={};$e={close:"關閉",notifications:(t,e)=>`${e.plural(t.count,{one:()=>`${e.number(t.count)} 個通知`,other:()=>`${e.number(t.count)} 個通知`})}。`};var _={};_={"ar-AE":N,"bg-BG":R,"cs-CZ":S,"da-DK":D,"de-DE":M,"el-GR":O,"en-US":H,"es-ES":V,"et-EE":q,"fi-FI":z,"fr-FR":U,"he-IL":W,"hr-HR":K,"hu-HU":Z,"it-IT":G,"ja-JP":Q,"ko-KR":J,"lt-LT":X,"lv-LV":Y,"nb-NO":ee,"nl-NL":te,"pl-PL":ne,"pt-BR":ie,"pt-PT":oe,"ro-RO":ue,"ru-RU":re,"sk-SK":se,"sl-SI":ae,"sr-SP":ce,"sv-SE":le,"tr-TR":de,"uk-UA":fe,"zh-CN":be,"zh-TW":$e};function Ae(t){return t&&t.__esModule?t.default:t}function Pe(t,e,n){let{key:i,timer:o,timeout:u}=t.toast;a.useEffect(()=>{if(!(o==null||u==null))return o.reset(u),()=>{o.pause()}},[o,u]);let r=k.$bdb11010cef70236$export$f680877a34711e37(),s=k.$bdb11010cef70236$export$b4cc09c592e8fdb8(),h=P.$fca6afa0e843324b$export$f12b703ca79dfbb1(Ae(_),"@react-aria/toast"),[f,$]=a.useState(!1);return a.useEffect(()=>{$(!0)},[]),{toastProps:{...ye.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(t,{labelable:!0}),role:"alertdialog","aria-modal":"false","aria-labelledby":t["aria-labelledby"]||r,"aria-describedby":t["aria-describedby"]||s,tabIndex:0},contentProps:{role:"alert","aria-atomic":"true","aria-hidden":f?void 0:"true"},titleProps:{id:r},descriptionProps:{id:s},closeButtonProps:{"aria-label":h.format("close"),onPress:()=>e.close(i)}}}function Fe(t){return t&&t.__esModule?t.default:t}function Ne(t,e,n){let i=P.$fca6afa0e843324b$export$f12b703ca79dfbb1(Fe(_),"@react-aria/toast"),{landmarkProps:o}=je({role:"region","aria-label":t["aria-label"]||i.format("notifications",{count:e.visibleToasts.length})},n),u=a.useRef(!1),r=a.useRef(!1),s=k.$8ae05eaa5c114e9c$export$7f54fc3180508a52(()=>{u.current||r.current?e.pauseAll():e.resumeAll()}),{hoverProps:h}=y.$6179b936705e76d3$export$ae780daf29e6d456({onHoverStart:()=>{u.current=!0,s()},onHoverEnd:()=>{u.current=!1,s()}}),f=a.useRef([]),$=a.useRef(e.visibleToasts),p=a.useRef(null);k.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(p.current===-1||e.visibleToasts.length===0||!n.current){f.current=[],$.current=e.visibleToasts;return}if(f.current=[...n.current.querySelectorAll('[role="alertdialog"]')],$.current.length===e.visibleToasts.length&&e.visibleToasts.every((d,m)=>d.key===$.current[m].key)){$.current=e.visibleToasts;return}let l=$.current.map((d,m)=>({...d,i:m,isRemoved:!e.visibleToasts.some(v=>d.key===v.key)})),T=l.findIndex(d=>d.i===p.current&&d.isRemoved);if(T>-1){var E;if(y.$507fabe10e71c6fb$export$630ff653c5ada6a9()==="pointer"&&(!((E=c.current)===null||E===void 0)&&E.isConnected))g.$7215afc6de606d6b$export$de79e2c695e052f3(c.current);else{let d=0,m,v;for(;d<=T;)l[d].isRemoved||(v=Math.max(0,d-1)),d++;for(;d<l.length;){if(!l[d].isRemoved){m=d-1;break}d++}v===void 0&&m===void 0&&(v=0),v>=0&&v<f.current.length?g.$7215afc6de606d6b$export$de79e2c695e052f3(f.current[v]):m>=0&&m<f.current.length&&g.$7215afc6de606d6b$export$de79e2c695e052f3(f.current[m])}}$.current=e.visibleToasts},[e.visibleToasts,n,s]);let c=a.useRef(null),{focusWithinProps:Ee}=Te.$9ab94262bd0047c7$export$420e68273165f4ec({onFocusWithin:l=>{r.current=!0,c.current=l.relatedTarget,s()},onBlurWithin:()=>{r.current=!1,c.current=null,s()}});return a.useEffect(()=>{var l;e.visibleToasts.length===0&&(!((l=c.current)===null||l===void 0)&&l.isConnected)&&(y.$507fabe10e71c6fb$export$630ff653c5ada6a9()==="pointer"?g.$7215afc6de606d6b$export$de79e2c695e052f3(c.current):c.current.focus(),c.current=null)},[n,e.visibleToasts.length]),a.useEffect(()=>()=>{var l;!((l=c.current)===null||l===void 0)&&l.isConnected&&(y.$507fabe10e71c6fb$export$630ff653c5ada6a9()==="pointer"?g.$7215afc6de606d6b$export$de79e2c695e052f3(c.current):c.current.focus(),c.current=null)},[n]),{regionProps:k.$3ef42575df84b30b$export$9d1611c77c2fe928(o,h,Ee,{tabIndex:-1,"data-react-aria-top-layer":!0,onFocus:l=>{let T=l.target.closest('[role="alertdialog"]');p.current=f.current.findIndex(E=>E===T)},onBlur:()=>{p.current=-1}})}}function he(t){let e=a.useCallback(o=>t.subscribe(o),[t]),n=a.useCallback(()=>t.visibleToasts,[t]);return{visibleToasts:A.shimExports.useSyncExternalStore(e,n,n),add:(o,u)=>t.add(o,u),close:o=>t.close(o),pauseAll:()=>t.pauseAll(),resumeAll:()=>t.resumeAll()}}class me{runWithWrapUpdate(e,n){this.wrapUpdate?this.wrapUpdate(e,n):e()}subscribe(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}add(e,n={}){let i="_"+Math.random().toString(36).slice(2),o={...n,content:e,key:i,timer:n.timeout?new Re(()=>this.close(i),n.timeout):void 0};return this.queue.unshift(o),this.updateVisibleToasts("add"),i}close(e){let n=this.queue.findIndex(u=>u.key===e);if(n>=0){var i,o;(i=(o=this.queue[n]).onClose)===null||i===void 0||i.call(o),this.queue.splice(n,1)}this.updateVisibleToasts("remove")}updateVisibleToasts(e){this.visibleToasts=this.queue.slice(0,this.maxVisibleToasts),this.runWithWrapUpdate(()=>{for(let n of this.subscriptions)n()},e)}pauseAll(){for(let e of this.visibleToasts)e.timer&&e.timer.pause()}resumeAll(){for(let e of this.visibleToasts)e.timer&&e.timer.resume()}clear(){this.queue=[],this.updateVisibleToasts("clear")}constructor(e){this.queue=[],this.subscriptions=new Set,this.visibleToasts=[];var n;this.maxVisibleToasts=(n=e==null?void 0:e.maxVisibleToasts)!==null&&n!==void 0?n:1/0,this.wrapUpdate=e==null?void 0:e.wrapUpdate}}class Re{reset(e){this.remaining=e,this.resume()}pause(){this.timerId!=null&&(clearTimeout(this.timerId),this.timerId=null,this.remaining-=Date.now()-this.startTime)}resume(){this.remaining<=0||(this.startTime=Date.now(),this.timerId=setTimeout(()=>{this.timerId=null,this.remaining=0,this.callback()},this.remaining))}constructor(e,n){this.startTime=null,this.remaining=n,this.callback=e}}const Se='"../theme/tokens.css"',De="_toastRegion_jgjyx_52",Me="_toast_jgjyx_52",Oe="_success_jgjyx_95",He="_info_jgjyx_103",Ve="_important_jgjyx_111",qe="_warning_jgjyx_119",ze="_icon_jgjyx_127",Ue="_toastContent_jgjyx_137",We="_toastMessage_jgjyx_144",Ke="_slideInTop_jgjyx_1",Ze="_slideInEnd_jgjyx_1",Ge="_slideOutTop_jgjyx_1",Qe="_slideOutEnd_jgjyx_1",x={tokens:Se,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--support-background-success":"light-dark(#d5f2d9, light-dark(#f2f2f2, #262626))","--support-border-success":"light-dark(#008d3c, #008d3c)","--support-background-info":"light-dark(#eaf2f6, light-dark(#f2f2f2, #262626))","--support-border-info":"light-dark(#0066cc, #0066cc)","--support-background-important":"light-dark(#fff8e1, light-dark(#f2f2f2, #262626))","--support-border-important":"light-dark(#fdb813, #fdb813)","--support-border-warning":"light-dark(#e62323, #e62323)","--support-background-warning":"light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))","--breakpoint-md":"(min-width: 768px)","--focus":"0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)","--z-index-toast":"1100",toastRegion:De,toast:Me,success:Oe,info:He,important:Ve,warning:qe,icon:ze,toastContent:Ue,toastMessage:We,slideInTop:Ke,slideInEnd:Ze,slideOutTop:Ge,slideOutEnd:Qe},Je={success:B.CircleCheck,info:we.Info,important:B.CircleAlert,warning:Le.TriangleAlert},pe={wrapUpdate(t){"startViewTransition"in document?document.startViewTransition(()=>{j.flushSync(t)}):t()},maxVisibleToasts:5};function ve(t={}){const{maxVisibleToasts:e=1,wrapUpdate:n}=t,i=a.useMemo(()=>new me({maxVisibleToasts:e,wrapUpdate:n}),[e,n]);return he(i)}const xe=new me(pe),Xe=t=>{const e=he(xe);return e.visibleToasts.length>0?j.createPortal(b.jsx(C,{...t,state:e}),document.body):null},Ye=({children:t,...e})=>{const n=ve(pe);return b.jsxs(b.Fragment,{children:[typeof t=="function"?t(n):t,n.visibleToasts.length>0&&b.jsx(C,{...e,state:n})]})};function C({state:t,className:e,...n}){const i=a.useRef(null),{regionProps:o}=Ne(n,t,i);return b.jsx("div",{...o,ref:i,className:w.clsx(x.toastRegion,e),children:t.visibleToasts.map(u=>b.jsx(ke,{toast:u,state:t},u.key))})}function ke({state:t,className:e,...n}){const i=a.useRef(null),{toastProps:o,contentProps:u,titleProps:r,closeButtonProps:s}=Pe(n,t),h=Je[n.toast.content.type];return b.jsxs("div",{...o,ref:i,className:w.clsx(x.toast,x[n.toast.content.type],e),style:{viewTransitionName:n.toast.key},children:[b.jsxs("div",{...u,className:w.clsx(x.toastContent,u.className),children:[b.jsx(h,{className:x.icon,size:20,"aria-hidden":!0}),b.jsxs("div",{children:[b.jsx("p",{className:x.toastMessage,...r,children:n.toast.content.message}),n.toast.content.children]})]}),b.jsx(ge.Button,{variant:"icon",...s,children:b.jsx(_e.X,{size:20,"aria-hidden":!0})})]})}exports.GlobalToastRegion=Xe;exports.Toast=ke;exports.ToastProvider=Ye;exports.ToastRegion=C;exports.toastQueue=xe;exports.useToastState=ve;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require('./assets/ToggleButtonGroup.css');const D=require("react/jsx-runtime"),x=require("./utils-DHNZrQmj.cjs"),a=require("react"),T=require("./useToggleState-DoIkSQdj.cjs"),w=require("./useFocusRing-B-A1OLhU.cjs"),S=require("./mergeProps-B5KXZAI3.cjs"),q=require("./useHover-BE_XKZKe.cjs"),y=require("./Button.module-DEQtBYe5.cjs"),h=require("./clsx-C11secjj.cjs"),C=require("./useControlledState-D0L6S_5r.cjs"),F=require("./useButton-D60q0SQw.cjs"),M=require("./FocusScope-vcXLOQiu.cjs"),p=require("./filterDOMProps-BS2lrgFA.cjs"),E=require("./context-Df3XbgBG.cjs");function m(t,e,d){const{isSelected:i}=e,{isPressed:o,buttonProps:l}=F.$701a24aa0da5b062$export$ea18c227d4417cc3({...t,onPress:S.$ff5963eb1fccf552$export$e08e3b67e392101e(e.toggle,t.onPress)},d);return{isPressed:o,isSelected:i,isDisabled:t.isDisabled||!1,buttonProps:S.$3ef42575df84b30b$export$9d1611c77c2fe928(l,{"aria-pressed":i})}}function N(t,e){const{"aria-label":d,"aria-labelledby":i,orientation:o="horizontal"}=t;let[l,r]=a.useState(!1);S.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{var s;r(!!(e.current&&(!((s=e.current.parentElement)===null||s===void 0)&&s.closest('[role="toolbar"]'))))});const{direction:n}=E.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),f=n==="rtl"&&o==="horizontal";let u=M.$9bf71ea28793e738$export$c5251b9e124bf29(e);const $=s=>{if(s.currentTarget.contains(s.target)){if(o==="horizontal"&&s.key==="ArrowRight"||o==="vertical"&&s.key==="ArrowDown")f?u.focusPrevious():u.focusNext();else if(o==="horizontal"&&s.key==="ArrowLeft"||o==="vertical"&&s.key==="ArrowUp")f?u.focusNext():u.focusPrevious();else if(s.key==="Tab"){s.stopPropagation(),c.current=document.activeElement,s.shiftKey?u.focusFirst():u.focusLast();return}else return;s.stopPropagation(),s.preventDefault()}},c=a.useRef(null),P=s=>{!s.currentTarget.contains(s.relatedTarget)&&!c.current&&(c.current=s.target)},g=s=>{var b;if(c.current&&!s.currentTarget.contains(s.relatedTarget)&&(!((b=e.current)===null||b===void 0)&&b.contains(s.target))){var v;(v=c.current)===null||v===void 0||v.focus(),c.current=null}};return{toolbarProps:{...p.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(t,{labelable:!0}),role:l?"group":"toolbar","aria-orientation":o,"aria-label":d,"aria-labelledby":d==null?i:void 0,onKeyDownCapture:l?void 0:$,onFocusCapture:l?void 0:g,onBlurCapture:l?void 0:P}}}function R(t,e,d){let{isDisabled:i}=t,{toolbarProps:o}=N(t,d);return{groupProps:{...o,role:e.selectionMode==="single"?"radiogroup":o.role,"aria-disabled":i}}}function _(t,e,d){let i={isSelected:e.selectedKeys.has(t.id),setSelected(f){e.setSelected(t.id,f)},toggle(){e.toggleKey(t.id)}},{isPressed:o,isSelected:l,isDisabled:r,buttonProps:n}=m({...t,id:void 0,isDisabled:t.isDisabled||e.isDisabled},i,d);return e.selectionMode==="single"&&(n.role="radio",n["aria-checked"]=i.isSelected,delete n["aria-pressed"]),{isPressed:o,isSelected:l,isDisabled:r,buttonProps:n}}function z(t){let{selectionMode:e="single",disallowEmptySelection:d,isDisabled:i=!1}=t,[o,l]=C.$458b0a5536c1a7cf$export$40bfa8c7b0832715(a.useMemo(()=>t.selectedKeys?new Set(t.selectedKeys):void 0,[t.selectedKeys]),a.useMemo(()=>t.defaultSelectedKeys?new Set(t.defaultSelectedKeys):new Set,[t.defaultSelectedKeys]),t.onSelectionChange);return{selectionMode:e,isDisabled:i,selectedKeys:o,setSelectedKeys:l,toggleKey(r){let n;e==="multiple"?(n=new Set(o),n.has(r)&&(!d||n.size>1)?n.delete(r):n.add(r)):n=new Set(o.has(r)&&!d?[]:[r]),l(n)},setSelected(r,n){n!==o.has(r)&&this.toggleKey(r)}}}const A=a.createContext({}),B=a.createContext(null),G=a.forwardRef(function(e,d){[e,d]=x.$64fa3d84918910a7$export$29f1550f4b0d4415(e,d,A);let i=z(e),{groupProps:o}=R(e,i,d),l=x.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:{isDisabled:i.isDisabled,state:i},defaultClassName:"react-aria-ToggleButtonGroup"});return a.createElement("div",{...o,...l,ref:d,slot:e.slot||void 0,"data-orientation":e.orientation||"horizontal","data-disabled":e.isDisabled||void 0},a.createElement(B.Provider,{value:i},l.children))}),H=a.createContext({}),L=a.forwardRef(function(e,d){[e,d]=x.$64fa3d84918910a7$export$29f1550f4b0d4415(e,d,H);let i=a.useContext(B),o=T.$3017fa7ffdddec74$export$8042c6c013fd5226(i&&e.id!=null?{isSelected:i.selectedKeys.has(e.id),onChange(b){i.setSelected(e.id,b)}}:e),{buttonProps:l,isPressed:r,isSelected:n,isDisabled:f}=i&&e.id!=null?_({...e,id:e.id},i,d):m({...e,id:e.id!=null?String(e.id):void 0},o,d),{focusProps:u,isFocused:$,isFocusVisible:c}=w.$f7dceffc5ad7768b$export$4e328f61c538687f(e),{hoverProps:P,isHovered:g}=q.$6179b936705e76d3$export$ae780daf29e6d456(e),s=x.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,id:void 0,values:{isHovered:g,isPressed:r,isFocused:$,isSelected:o.isSelected,isFocusVisible:c,isDisabled:f,state:o},defaultClassName:"react-aria-ToggleButton"});return a.createElement("button",{...S.$3ef42575df84b30b$export$9d1611c77c2fe928(l,u,P),...s,ref:d,slot:e.slot||void 0,"data-focused":$||void 0,"data-disabled":f||void 0,"data-pressed":r||void 0,"data-selected":n||void 0,"data-hovered":g||void 0,"data-focus-visible":c||void 0})}),j="_group_syep5_4",V="_toggleButton_syep5_13",K={group:j,toggleButton:V},k=({...t})=>D.jsx(L,{...t,className:h.clsx(y.ButtonStyles.button,y.ButtonStyles.iconBtn,K.toggleButton,t.className)}),I=({...t})=>D.jsx(G,{...t,className:h.clsx(K.group,t.className)});exports.ToggleButton=k;exports.ToggleButtonGroup=I;
|
|
@@ -1,36 +1,37 @@
|
|
|
1
1
|
import { jsx as y } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import P, { useState as
|
|
4
|
-
import { $ as
|
|
5
|
-
import { $ as
|
|
6
|
-
import { $ as
|
|
2
|
+
import { $ as D, a as h } from "./utils-DJhAJHk_.js";
|
|
3
|
+
import P, { useState as _, useRef as E, useMemo as x, forwardRef as K, createContext as S, useContext as F } from "react";
|
|
4
|
+
import { $ as N } from "./useToggleState-Bz5rAf4C.js";
|
|
5
|
+
import { $ as M } from "./useFocusRing-DOfBqnUN.js";
|
|
6
|
+
import { e as z, a as p, $ as R } from "./mergeProps-C1U1OIeJ.js";
|
|
7
|
+
import { $ as A } from "./useHover-DQvJ3Y-W.js";
|
|
7
8
|
import { B as v } from "./Button.module-tti8HGxs.js";
|
|
8
|
-
import { c as
|
|
9
|
+
import { c as B } from "./clsx-OuTLNxxd.js";
|
|
9
10
|
import { $ as L } from "./useControlledState-u436Wbp1.js";
|
|
10
|
-
import { $ as G } from "./useButton-
|
|
11
|
-
import { b as H } from "./FocusScope-
|
|
11
|
+
import { $ as G } from "./useButton-1-Jf-oHj.js";
|
|
12
|
+
import { b as H } from "./FocusScope-D_hwN_TJ.js";
|
|
12
13
|
import { $ as V } from "./filterDOMProps-D6KHYVBX.js";
|
|
13
|
-
import { $ as k } from "./context-
|
|
14
|
+
import { $ as k } from "./context-CGNJ3grH.js";
|
|
14
15
|
import './assets/ToggleButtonGroup.css';function w(t, e, d) {
|
|
15
16
|
const { isSelected: a } = e, { isPressed: s, buttonProps: l } = G({
|
|
16
17
|
...t,
|
|
17
|
-
onPress:
|
|
18
|
+
onPress: z(e.toggle, t.onPress)
|
|
18
19
|
}, d);
|
|
19
20
|
return {
|
|
20
21
|
isPressed: s,
|
|
21
22
|
isSelected: a,
|
|
22
23
|
isDisabled: t.isDisabled || !1,
|
|
23
|
-
buttonProps:
|
|
24
|
+
buttonProps: p(l, {
|
|
24
25
|
"aria-pressed": a
|
|
25
26
|
})
|
|
26
27
|
};
|
|
27
28
|
}
|
|
28
29
|
function I(t, e) {
|
|
29
30
|
const { "aria-label": d, "aria-labelledby": a, orientation: s = "horizontal" } = t;
|
|
30
|
-
let [l,
|
|
31
|
-
|
|
31
|
+
let [l, r] = _(!1);
|
|
32
|
+
R(() => {
|
|
32
33
|
var o;
|
|
33
|
-
|
|
34
|
+
r(!!(e.current && (!((o = e.current.parentElement) === null || o === void 0) && o.closest('[role="toolbar"]'))));
|
|
34
35
|
});
|
|
35
36
|
const { direction: i } = k(), u = i === "rtl" && s === "horizontal";
|
|
36
37
|
let c = H(e);
|
|
@@ -41,19 +42,19 @@ function I(t, e) {
|
|
|
41
42
|
else if (s === "horizontal" && o.key === "ArrowLeft" || s === "vertical" && o.key === "ArrowUp")
|
|
42
43
|
u ? c.focusNext() : c.focusPrevious();
|
|
43
44
|
else if (o.key === "Tab") {
|
|
44
|
-
o.stopPropagation(),
|
|
45
|
+
o.stopPropagation(), n.current = document.activeElement, o.shiftKey ? c.focusFirst() : c.focusLast();
|
|
45
46
|
return;
|
|
46
47
|
} else
|
|
47
48
|
return;
|
|
48
49
|
o.stopPropagation(), o.preventDefault();
|
|
49
50
|
}
|
|
50
|
-
},
|
|
51
|
-
!o.currentTarget.contains(o.relatedTarget) && !
|
|
51
|
+
}, n = E(null), g = (o) => {
|
|
52
|
+
!o.currentTarget.contains(o.relatedTarget) && !n.current && (n.current = o.target);
|
|
52
53
|
}, $ = (o) => {
|
|
53
54
|
var f;
|
|
54
|
-
if (
|
|
55
|
+
if (n.current && !o.currentTarget.contains(o.relatedTarget) && (!((f = e.current) === null || f === void 0) && f.contains(o.target))) {
|
|
55
56
|
var m;
|
|
56
|
-
(m =
|
|
57
|
+
(m = n.current) === null || m === void 0 || m.focus(), n.current = null;
|
|
57
58
|
}
|
|
58
59
|
};
|
|
59
60
|
return {
|
|
@@ -90,7 +91,7 @@ function U(t, e, d) {
|
|
|
90
91
|
toggle() {
|
|
91
92
|
e.toggleKey(t.id);
|
|
92
93
|
}
|
|
93
|
-
}, { isPressed: s, isSelected: l, isDisabled:
|
|
94
|
+
}, { isPressed: s, isSelected: l, isDisabled: r, buttonProps: i } = w({
|
|
94
95
|
...t,
|
|
95
96
|
id: void 0,
|
|
96
97
|
isDisabled: t.isDisabled || e.isDisabled
|
|
@@ -98,7 +99,7 @@ function U(t, e, d) {
|
|
|
98
99
|
return e.selectionMode === "single" && (i.role = "radio", i["aria-checked"] = a.isSelected, delete i["aria-pressed"]), {
|
|
99
100
|
isPressed: s,
|
|
100
101
|
isSelected: l,
|
|
101
|
-
isDisabled:
|
|
102
|
+
isDisabled: r,
|
|
102
103
|
buttonProps: i
|
|
103
104
|
};
|
|
104
105
|
}
|
|
@@ -113,20 +114,20 @@ function q(t) {
|
|
|
113
114
|
isDisabled: a,
|
|
114
115
|
selectedKeys: s,
|
|
115
116
|
setSelectedKeys: l,
|
|
116
|
-
toggleKey(
|
|
117
|
+
toggleKey(r) {
|
|
117
118
|
let i;
|
|
118
|
-
e === "multiple" ? (i = new Set(s), i.has(
|
|
119
|
-
|
|
119
|
+
e === "multiple" ? (i = new Set(s), i.has(r) && (!d || i.size > 1) ? i.delete(r) : i.add(r)) : i = new Set(s.has(r) && !d ? [] : [
|
|
120
|
+
r
|
|
120
121
|
]), l(i);
|
|
121
122
|
},
|
|
122
|
-
setSelected(
|
|
123
|
-
i !== s.has(
|
|
123
|
+
setSelected(r, i) {
|
|
124
|
+
i !== s.has(r) && this.toggleKey(r);
|
|
124
125
|
}
|
|
125
126
|
};
|
|
126
127
|
}
|
|
127
|
-
const J = /* @__PURE__ */ S({}), T = /* @__PURE__ */ S(null), O = /* @__PURE__ */
|
|
128
|
-
[e, d] =
|
|
129
|
-
let a = q(e), { groupProps: s } = j(e, a, d), l =
|
|
128
|
+
const J = /* @__PURE__ */ S({}), T = /* @__PURE__ */ S(null), O = /* @__PURE__ */ K(function(e, d) {
|
|
129
|
+
[e, d] = D(e, d, J);
|
|
130
|
+
let a = q(e), { groupProps: s } = j(e, a, d), l = h({
|
|
130
131
|
...e,
|
|
131
132
|
values: {
|
|
132
133
|
isDisabled: a.isDisabled,
|
|
@@ -144,67 +145,67 @@ const J = /* @__PURE__ */ S({}), T = /* @__PURE__ */ S(null), O = /* @__PURE__ *
|
|
|
144
145
|
}, /* @__PURE__ */ P.createElement(T.Provider, {
|
|
145
146
|
value: a
|
|
146
147
|
}, l.children));
|
|
147
|
-
}), Q = /* @__PURE__ */ S({}), W = /* @__PURE__ */
|
|
148
|
-
[e, d] =
|
|
149
|
-
let a =
|
|
148
|
+
}), Q = /* @__PURE__ */ S({}), W = /* @__PURE__ */ K(function(e, d) {
|
|
149
|
+
[e, d] = D(e, d, Q);
|
|
150
|
+
let a = F(T), s = N(a && e.id != null ? {
|
|
150
151
|
isSelected: a.selectedKeys.has(e.id),
|
|
151
152
|
onChange(f) {
|
|
152
153
|
a.setSelected(e.id, f);
|
|
153
154
|
}
|
|
154
|
-
} : e), { buttonProps: l, isPressed:
|
|
155
|
+
} : e), { buttonProps: l, isPressed: r, isSelected: i, isDisabled: u } = a && e.id != null ? U({
|
|
155
156
|
...e,
|
|
156
157
|
id: e.id
|
|
157
158
|
}, a, d) : w({
|
|
158
159
|
...e,
|
|
159
160
|
id: e.id != null ? String(e.id) : void 0
|
|
160
|
-
}, s, d), { focusProps: c, isFocused: b, isFocusVisible:
|
|
161
|
+
}, s, d), { focusProps: c, isFocused: b, isFocusVisible: n } = M(e), { hoverProps: g, isHovered: $ } = A(e), o = h({
|
|
161
162
|
...e,
|
|
162
163
|
id: void 0,
|
|
163
164
|
values: {
|
|
164
165
|
isHovered: $,
|
|
165
|
-
isPressed:
|
|
166
|
+
isPressed: r,
|
|
166
167
|
isFocused: b,
|
|
167
168
|
isSelected: s.isSelected,
|
|
168
|
-
isFocusVisible:
|
|
169
|
+
isFocusVisible: n,
|
|
169
170
|
isDisabled: u,
|
|
170
171
|
state: s
|
|
171
172
|
},
|
|
172
173
|
defaultClassName: "react-aria-ToggleButton"
|
|
173
174
|
});
|
|
174
175
|
return /* @__PURE__ */ P.createElement("button", {
|
|
175
|
-
...
|
|
176
|
+
...p(l, c, g),
|
|
176
177
|
...o,
|
|
177
178
|
ref: d,
|
|
178
179
|
slot: e.slot || void 0,
|
|
179
180
|
"data-focused": b || void 0,
|
|
180
181
|
"data-disabled": u || void 0,
|
|
181
|
-
"data-pressed":
|
|
182
|
+
"data-pressed": r || void 0,
|
|
182
183
|
"data-selected": i || void 0,
|
|
183
184
|
"data-hovered": $ || void 0,
|
|
184
|
-
"data-focus-visible":
|
|
185
|
+
"data-focus-visible": n || void 0
|
|
185
186
|
});
|
|
186
187
|
}), X = "_group_syep5_4", Y = "_toggleButton_syep5_13", C = {
|
|
187
188
|
group: X,
|
|
188
189
|
toggleButton: Y
|
|
189
|
-
},
|
|
190
|
+
}, be = ({ ...t }) => /* @__PURE__ */ y(
|
|
190
191
|
W,
|
|
191
192
|
{
|
|
192
193
|
...t,
|
|
193
|
-
className:
|
|
194
|
+
className: B(
|
|
194
195
|
v.button,
|
|
195
196
|
v.iconBtn,
|
|
196
197
|
C.toggleButton,
|
|
197
198
|
t.className
|
|
198
199
|
)
|
|
199
200
|
}
|
|
200
|
-
),
|
|
201
|
+
), $e = ({ ...t }) => /* @__PURE__ */ y(
|
|
201
202
|
O,
|
|
202
203
|
{
|
|
203
204
|
...t,
|
|
204
|
-
className:
|
|
205
|
+
className: B(C.group, t.className)
|
|
205
206
|
}
|
|
206
207
|
);
|
|
207
208
|
export {
|
|
208
|
-
|
|
209
|
-
|
|
209
|
+
be as T,
|
|
210
|
+
$e as a
|
|
210
211
|
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { c as
|
|
3
|
-
import { d as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
1
|
+
import { jsxs as N, jsx as h } from "react/jsx-runtime";
|
|
2
|
+
import { c as W } from "./clsx-OuTLNxxd.js";
|
|
3
|
+
import { d as k, a as U, b as j, e as K, c as V, f as z, $ as Y } from "./OverlayArrow-CfhSYL46.js";
|
|
4
|
+
import { $ as q, e as G, a as J } from "./utils-DJhAJHk_.js";
|
|
5
|
+
import { a as y, c as Q, $ as X } from "./mergeProps-C1U1OIeJ.js";
|
|
6
|
+
import { $ as Z, c as ee } from "./useFocusable-ChPA2Jc7.js";
|
|
7
|
+
import c, { useContext as E, useState as _, useMemo as L, useRef as m, useEffect as O, forwardRef as te, createContext as M } from "react";
|
|
8
|
+
import re from "react-dom";
|
|
9
|
+
import { $ as oe } from "./SSRProvider-40TXmsUG.js";
|
|
10
|
+
import { $ as H, f as le, a as ne } from "./useHover-DQvJ3Y-W.js";
|
|
9
11
|
import { $ as ae } from "./filterDOMProps-D6KHYVBX.js";
|
|
10
12
|
import './assets/Tooltip.css';const w = /* @__PURE__ */ c.createContext(null);
|
|
11
13
|
function ie(t) {
|
|
@@ -46,14 +48,14 @@ function de(t) {
|
|
|
46
48
|
return /* @__PURE__ */ c.createElement(ie, null, /* @__PURE__ */ c.createElement(fe, t));
|
|
47
49
|
}
|
|
48
50
|
function ue(t) {
|
|
49
|
-
let r =
|
|
51
|
+
let r = oe(), { portalContainer: e = r ? null : document.body, ...n } = t, { getContainer: a } = k();
|
|
50
52
|
if (!t.portalContainer && a && (e = a()), c.useEffect(() => {
|
|
51
53
|
if (e != null && e.closest("[data-overlay-container]")) throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.");
|
|
52
54
|
}, [
|
|
53
55
|
e
|
|
54
56
|
]), !e) return null;
|
|
55
57
|
let i = /* @__PURE__ */ c.createElement(de, n);
|
|
56
|
-
return /* @__PURE__ */
|
|
58
|
+
return /* @__PURE__ */ re.createPortal(i, e);
|
|
57
59
|
}
|
|
58
60
|
function se(t, r) {
|
|
59
61
|
let e = ae(t, {
|
|
@@ -69,7 +71,7 @@ function se(t, r) {
|
|
|
69
71
|
};
|
|
70
72
|
}
|
|
71
73
|
function $e(t, r, e) {
|
|
72
|
-
let { isDisabled: n, trigger: a } = t, i =
|
|
74
|
+
let { isDisabled: n, trigger: a } = t, i = Q(), l = m(!1), o = m(!1), u = () => {
|
|
73
75
|
(l.current || o.current) && r.open(o.current);
|
|
74
76
|
}, f = (g) => {
|
|
75
77
|
!l.current && !o.current && r.close(g);
|
|
@@ -96,11 +98,11 @@ function $e(t, r, e) {
|
|
|
96
98
|
ne() && (o.current = !0, u());
|
|
97
99
|
}, d = () => {
|
|
98
100
|
o.current = !1, l.current = !1, f(!0);
|
|
99
|
-
}, { hoverProps:
|
|
101
|
+
}, { hoverProps: A } = H({
|
|
100
102
|
isDisabled: n,
|
|
101
103
|
onHoverStart: b,
|
|
102
104
|
onHoverEnd: v
|
|
103
|
-
}), { focusableProps:
|
|
105
|
+
}), { focusableProps: F } = Z({
|
|
104
106
|
isDisabled: n,
|
|
105
107
|
onFocus: T,
|
|
106
108
|
onBlur: d
|
|
@@ -108,7 +110,7 @@ function $e(t, r, e) {
|
|
|
108
110
|
return {
|
|
109
111
|
triggerProps: {
|
|
110
112
|
"aria-describedby": r.isOpen ? i : void 0,
|
|
111
|
-
...y(
|
|
113
|
+
...y(F, A, {
|
|
112
114
|
onPointerDown: x,
|
|
113
115
|
onKeyDown: x,
|
|
114
116
|
tabIndex: void 0
|
|
@@ -122,7 +124,7 @@ function $e(t, r, e) {
|
|
|
122
124
|
const pe = 1500, D = 500;
|
|
123
125
|
let $ = {}, be = 0, P = !1, s = null, p = null;
|
|
124
126
|
function B(t = {}) {
|
|
125
|
-
let { delay: r = pe, closeDelay: e = D } = t, { isOpen: n, open: a, close: i } =
|
|
127
|
+
let { delay: r = pe, closeDelay: e = D } = t, { isOpen: n, open: a, close: i } = U(t), l = L(() => `${++be}`, []), o = m(null), u = m(i), f = () => {
|
|
126
128
|
$[l] = x;
|
|
127
129
|
}, b = () => {
|
|
128
130
|
for (let d in $) d !== l && ($[d](!0), delete $[d]);
|
|
@@ -158,7 +160,7 @@ function B(t = {}) {
|
|
|
158
160
|
const C = /* @__PURE__ */ M(null), I = /* @__PURE__ */ M(null);
|
|
159
161
|
function me(t) {
|
|
160
162
|
let r = B(t), e = m(null), { triggerProps: n, tooltipProps: a } = $e(t, r, e);
|
|
161
|
-
return /* @__PURE__ */ c.createElement(
|
|
163
|
+
return /* @__PURE__ */ c.createElement(G, {
|
|
162
164
|
values: [
|
|
163
165
|
[
|
|
164
166
|
C,
|
|
@@ -172,14 +174,14 @@ function me(t) {
|
|
|
172
174
|
}
|
|
173
175
|
]
|
|
174
176
|
]
|
|
175
|
-
}, /* @__PURE__ */ c.createElement(
|
|
177
|
+
}, /* @__PURE__ */ c.createElement(ee, {
|
|
176
178
|
...n,
|
|
177
179
|
ref: e
|
|
178
180
|
}, t.children));
|
|
179
181
|
}
|
|
180
|
-
const ve = /* @__PURE__ */
|
|
181
|
-
[e, n] =
|
|
182
|
-
let a = E(C), i = B(e), l = e.isOpen != null || e.defaultOpen != null || !a ? i : a, o =
|
|
182
|
+
const ve = /* @__PURE__ */ te(function({ UNSTABLE_portalContainer: r, ...e }, n) {
|
|
183
|
+
[e, n] = q(e, n, I);
|
|
184
|
+
let a = E(C), i = B(e), l = e.isOpen != null || e.defaultOpen != null || !a ? i : a, o = j(n, l.isOpen) || e.isExiting || !1;
|
|
183
185
|
return !l.isOpen && !o ? null : /* @__PURE__ */ c.createElement(ue, {
|
|
184
186
|
portalContainer: r
|
|
185
187
|
}, /* @__PURE__ */ c.createElement(xe, {
|
|
@@ -207,7 +209,7 @@ function xe(t) {
|
|
|
207
209
|
arrowBoundaryOffset: t.arrowBoundaryOffset,
|
|
208
210
|
shouldFlip: t.shouldFlip,
|
|
209
211
|
onClose: () => r.close(!0)
|
|
210
|
-
}), u = V(t.tooltipRef, !!o) || t.isEntering || !1, f =
|
|
212
|
+
}), u = V(t.tooltipRef, !!o) || t.isEntering || !1, f = J({
|
|
211
213
|
...t,
|
|
212
214
|
defaultClassName: "react-aria-Tooltip",
|
|
213
215
|
values: {
|
|
@@ -242,11 +244,11 @@ const ge = "_tooltip_1l8u8_4", Pe = "_arrow_1l8u8_17", S = {
|
|
|
242
244
|
tooltip: ge,
|
|
243
245
|
arrow: Pe
|
|
244
246
|
};
|
|
245
|
-
function
|
|
246
|
-
return /* @__PURE__ */
|
|
247
|
+
function Le({ children: t, className: r, ...e }) {
|
|
248
|
+
return /* @__PURE__ */ N(
|
|
247
249
|
ve,
|
|
248
250
|
{
|
|
249
|
-
className:
|
|
251
|
+
className: W(S.tooltip, r),
|
|
250
252
|
...e,
|
|
251
253
|
children: [
|
|
252
254
|
/* @__PURE__ */ h(Y, { className: S.arrow, children: /* @__PURE__ */ h(
|
|
@@ -263,7 +265,7 @@ function Se({ children: t, className: r, ...e }) {
|
|
|
263
265
|
}
|
|
264
266
|
);
|
|
265
267
|
}
|
|
266
|
-
function
|
|
268
|
+
function Me({
|
|
267
269
|
children: t,
|
|
268
270
|
delay: r = 0,
|
|
269
271
|
...e
|
|
@@ -278,6 +280,6 @@ function _e({
|
|
|
278
280
|
);
|
|
279
281
|
}
|
|
280
282
|
export {
|
|
281
|
-
|
|
282
|
-
|
|
283
|
+
Le as T,
|
|
284
|
+
Me as a
|
|
283
285
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require('./assets/Tooltip.css');const E=require("react/jsx-runtime"),B=require("./clsx-C11secjj.cjs"),b=require("./OverlayArrow-DpZ1FqOd.cjs"),C=require("./utils-DHNZrQmj.cjs"),T=require("./mergeProps-B5KXZAI3.cjs"),q=require("./useFocusable-D7I1ujkW.cjs"),o=require("react"),I=require("react-dom"),j=require("./SSRProvider-Bc-sMhsT.cjs"),h=require("./useHover-BE_XKZKe.cjs"),A=require("./filterDOMProps-BS2lrgFA.cjs"),w=o.createContext(null);function F(t){let{children:r}=t,e=o.useContext(w),[a,i]=o.useState(0),c=o.useMemo(()=>({parent:e,modalCount:a,addModal(){i(l=>l+1),e&&e.addModal()},removeModal(){i(l=>l-1),e&&e.removeModal()}}),[e,a]);return o.createElement(w.Provider,{value:c},r)}function N(){let t=o.useContext(w);return{modalProviderProps:{"aria-hidden":t&&t.modalCount>0?!0:void 0}}}function W(t){let{modalProviderProps:r}=N();return o.createElement("div",{"data-overlay-container":!0,...t,...r})}function k(t){return o.createElement(F,null,o.createElement(W,t))}function U(t){let r=j.$b5e257d569688ac6$export$535bd6ca7f90a273(),{portalContainer:e=r?null:document.body,...a}=t,{getContainer:i}=b.$96b38030c423d352$export$9fc1347d4195ccb3();if(!t.portalContainer&&i&&(e=i()),o.useEffect(()=>{if(e!=null&&e.closest("[data-overlay-container]"))throw new Error("An OverlayContainer must not be inside another container. Please change the portalContainer prop.")},[e]),!e)return null;let c=o.createElement(k,a);return I.createPortal(c,e)}function K(t,r){let e=A.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(t,{labelable:!0}),{hoverProps:a}=h.$6179b936705e76d3$export$ae780daf29e6d456({onHoverStart:()=>r==null?void 0:r.open(!0),onHoverEnd:()=>r==null?void 0:r.close()});return{tooltipProps:T.$3ef42575df84b30b$export$9d1611c77c2fe928(e,a,{role:"tooltip"})}}function V(t,r,e){let{isDisabled:a,trigger:i}=t,c=T.$bdb11010cef70236$export$f680877a34711e37(),l=o.useRef(!1),n=o.useRef(!1),d=()=>{(l.current||n.current)&&r.open(n.current)},u=g=>{!l.current&&!n.current&&r.close(g)};o.useEffect(()=>{let g=R=>{e&&e.current&&R.key==="Escape"&&(R.stopPropagation(),r.close(!0))};if(r.isOpen)return document.addEventListener("keydown",g,!0),()=>{document.removeEventListener("keydown",g,!0)}},[e,r]);let x=()=>{i!=="focus"&&(h.$507fabe10e71c6fb$export$630ff653c5ada6a9()==="pointer"?l.current=!0:l.current=!1,d())},m=()=>{i!=="focus"&&(n.current=!1,l.current=!1,u())},v=()=>{n.current=!1,l.current=!1,u(!0)},O=()=>{h.$507fabe10e71c6fb$export$b9b3dfddab17db27()&&(n.current=!0,d())},f=()=>{n.current=!1,l.current=!1,u(!0)},{hoverProps:L}=h.$6179b936705e76d3$export$ae780daf29e6d456({isDisabled:a,onHoverStart:x,onHoverEnd:m}),{focusableProps:_}=q.$f645667febf57a63$export$4c014de7c8940b4c({isDisabled:a,onFocus:O,onBlur:f},e);return{triggerProps:{"aria-describedby":r.isOpen?c:void 0,...T.$3ef42575df84b30b$export$9d1611c77c2fe928(_,L,{onPointerDown:v,onKeyDown:v,tabIndex:void 0})},tooltipProps:{id:c}}}const z=1500,S=500;let $={},Y=0,P=!1,s=null,p=null;function M(t={}){let{delay:r=z,closeDelay:e=S}=t,{isOpen:a,open:i,close:c}=b.$fc909762b330b746$export$61c6a8c84e605fb6(t),l=o.useMemo(()=>`${++Y}`,[]),n=o.useRef(null),d=o.useRef(c),u=()=>{$[l]=v},x=()=>{for(let f in $)f!==l&&($[f](!0),delete $[f])},m=()=>{n.current&&clearTimeout(n.current),n.current=null,x(),u(),P=!0,i(),s&&(clearTimeout(s),s=null),p&&(clearTimeout(p),p=null)},v=f=>{f||e<=0?(n.current&&clearTimeout(n.current),n.current=null,d.current()):n.current||(n.current=setTimeout(()=>{n.current=null,d.current()},e)),s&&(clearTimeout(s),s=null),P&&(p&&clearTimeout(p),p=setTimeout(()=>{delete $[l],p=null,P=!1},Math.max(S,e)))},O=()=>{x(),u(),!a&&!s&&!P?s=setTimeout(()=>{s=null,P=!0,m()},r):a||m()};return o.useEffect(()=>{d.current=c},[c]),o.useEffect(()=>()=>{n.current&&clearTimeout(n.current),$[l]&&delete $[l]},[l]),{isOpen:a,open:f=>{!f&&r>0&&!n.current?O():m()},close:v}}const y=o.createContext(null),H=o.createContext(null);function G(t){let r=M(t),e=o.useRef(null),{triggerProps:a,tooltipProps:i}=V(t,r,e);return o.createElement(C.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[y,r],[H,{...i,triggerRef:e}]]},o.createElement(q.$f645667febf57a63$export$13f3202a3e5ddd5,{...a,ref:e},t.children))}const J=o.forwardRef(function({UNSTABLE_portalContainer:r,...e},a){[e,a]=C.$64fa3d84918910a7$export$29f1550f4b0d4415(e,a,H);let i=o.useContext(y),c=M(e),l=e.isOpen!=null||e.defaultOpen!=null||!i?c:i,n=b.$d3f049242431219c$export$45fda7c47f93fd48(a,l.isOpen)||e.isExiting||!1;return!l.isOpen&&!n?null:o.createElement(U,{portalContainer:r},o.createElement(Q,{...e,tooltipRef:a,isExiting:n}))});function Q(t){let r=o.useContext(y),e=o.useRef(null),[a,i]=o.useState(0);T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{e.current&&r.isOpen&&i(e.current.getBoundingClientRect().width)},[r.isOpen,e]);let{overlayProps:c,arrowProps:l,placement:n}=b.$2a41e45df1593e64$export$d39e1813b3bdd0e1({placement:t.placement||"top",targetRef:t.triggerRef,overlayRef:t.tooltipRef,offset:t.offset,crossOffset:t.crossOffset,isOpen:r.isOpen,arrowSize:a,arrowBoundaryOffset:t.arrowBoundaryOffset,shouldFlip:t.shouldFlip,onClose:()=>r.close(!0)}),d=b.$d3f049242431219c$export$6d3443f2c48bfc20(t.tooltipRef,!!n)||t.isEntering||!1,u=C.$64fa3d84918910a7$export$4d86445c2cf5e3({...t,defaultClassName:"react-aria-Tooltip",values:{placement:n,isEntering:d,isExiting:t.isExiting,state:r}});t=T.$3ef42575df84b30b$export$9d1611c77c2fe928(t,c);let{tooltipProps:x}=K(t,r);return o.createElement("div",{...x,ref:t.tooltipRef,...u,style:{...c.style,...u.style},"data-placement":n??void 0,"data-entering":d||void 0,"data-exiting":t.isExiting||void 0},o.createElement(b.$44f671af83e7d9e0$export$2de4954e8ae13b9f.Provider,{value:{...l,placement:n,ref:e}},u.children))}const X="_tooltip_1l8u8_4",Z="_arrow_1l8u8_17",D={tooltip:X,arrow:Z};function ee({children:t,className:r,...e}){return E.jsxs(J,{className:B.clsx(D.tooltip,r),...e,children:[E.jsx(b.$44f671af83e7d9e0$export$746d02f47f4d381,{className:D.arrow,children:E.jsx("svg",{width:8,height:8,viewBox:"0 0 8 8",children:E.jsx("path",{d:"M0 0 L4 4 L8 0"})})}),t]})}function te({children:t,delay:r=0,...e}){return E.jsx(G,{delay:r,...e,children:t})}exports.Tooltip=ee;exports.TooltipTrigger=te;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as n } from "./mergeProps-C1U1OIeJ.js";
|
|
2
2
|
import d, { useState as u, useMemo as p } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { $ as f } from "./useFocusWithin-T1ifEM_s.js";
|
|
4
4
|
const a = {
|
|
5
5
|
border: 0,
|
|
6
6
|
clip: "rect(0 0 0 0)",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const u=require("./mergeProps-B5KXZAI3.cjs"),o=require("react"),f=require("./useFocusWithin-CG8mAt2D.cjs"),n={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"};function a(t={}){let{style:e,isFocusable:s}=t,[i,l]=o.useState(!1),{focusWithinProps:c}=f.$9ab94262bd0047c7$export$420e68273165f4ec({isDisabled:!s,onFocusWithinChange:d=>l(d)}),r=o.useMemo(()=>i?e:e?{...n,...e}:n,[i]);return{visuallyHiddenProps:{...c,style:r}}}function p(t){let{children:e,elementType:s="div",isFocusable:i,style:l,...c}=t,{visuallyHiddenProps:r}=a(t);return o.createElement(s,u.$3ef42575df84b30b$export$9d1611c77c2fe928(c,r),e)}exports.$5c3e21d68f1c4674$export$439d29a4e110a164=p;exports.$5c3e21d68f1c4674$export$a966af930f325cab=a;
|
package/accordion/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../AccordionItem-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../AccordionItem-BcsoC78F.cjs");exports.Accordion=o.Accordion;exports.AccordionItem=o.AccordionItem;
|
package/accordion/index.js
CHANGED
package/assets/Checkbox.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._checkboxInner_5vl7s_4{width:1rem;height:1rem;box-sizing:border-box;border:1px solid light-dark(#171717,#f2f2f2);transition:all .2s;align-items:center;justify-content:center;display:flex}@media (forced-colors: active){._checkboxInner_5vl7s_4{outline:3px solid highlight;outline-offset:-2px}}._checkboxInner_5vl7s_4 svg{width:1rem;height:1rem;fill:none;stroke:light-dark(#ffffff,#ffffff);stroke-width:2px;stroke-dasharray:22;stroke-dashoffset:66;transition:all .2s}._checkbox_5vl7s_4{font-family:Inter,sans-serif;font-weight:400;gap:.5rem;align-items:center;display:flex;width:max-content;cursor:pointer;color:light-dark(#171717,#f2f2f2);line-height:1.25rem}._checkbox_5vl7s_4:not(:last-child){margin-bottom:.5rem}._checkbox_5vl7s_4[data-hovered] div{border-color:light-dark(#25607f,#25607f)}._checkbox_5vl7s_4[data-pressed] div{border-color:light-dark(#2e7ca5,#143c50)}._checkbox_5vl7s_4[data-focus-visible],._checkbox_5vl7s_4:focus-visible{box-shadow:0 0 0 2px light-dark(white,black),0 0 0 4px light-dark(black,white);outline:none}._checkbox_5vl7s_4[data-selected] div,._checkbox_5vl7s_4[data-indeterminate] div{background:light-dark(#143c50,#2e7ca5);border-color:light-dark(#143c50,#2e7ca5)}._checkbox_5vl7s_4[data-invalid] div{border:2px solid light-dark(#e62323,#e62323)}._checkbox_5vl7s_4[data-disabled] div{pointer-events:none;border:1px solid light-dark(#bfbfbf,#525252)}._checkbox_5vl7s_4[data-selected]:hover div,._checkbox_5vl7s_4[data-indeterminate]:hover div{background:light-dark(#25607f,#25607f);border-color:light-dark(#25607f,#25607f)}._checkbox_5vl7s_4[data-selected][data-pressed] div,._checkbox_5vl7s_4[data-indeterminate][data-pressed] div{border-color:light-dark(#2e7ca5,#143c50);background:light-dark(#2e7ca5,#143c50)}._checkbox_5vl7s_4[data-selected] svg,._checkbox_5vl7s_4[data-indeterminate] svg{stroke-dashoffset:44}._checkbox_5vl7s_4[data-indeterminate] svg{stroke:none;fill:light-dark(#ffffff,#ffffff)}._checkbox_5vl7s_4[data-invalid]:hover div{opacity:.5;border-color:light-dark(#e62323,#e62323)}._checkbox_5vl7s_4[data-invalid][data-pressed] div{border-color:light-dark(#e62323,#e62323)}._checkbox_5vl7s_4[data-disabled]{color:light-dark(#bfbfbf,#525252);cursor:not-allowed}._checkbox_5vl7s_4[data-disabled][data-selected] div,._checkbox_5vl7s_4[data-disabled][data-indeterminate] div{pointer-events:none;border:none;background:light-dark(#f2f2f2,#262626)}._checkboxGroup_5vl7s_124{font-family:Inter,sans-serif;display:flex;flex-direction:column;font-size:1rem;min-width:150px}._checkboxGroup_5vl7s_124[data-disabled]{color:light-dark(#bfbfbf,#525252)}@media (max-width: 479px){._checkboxGroup_5vl7s_124 ._checkbox_5vl7s_4{padding:.875rem 1rem;border:1px solid light-dark(#171717,#f2f2f2);width:auto}._checkboxGroup_5vl7s_124 ._checkbox_5vl7s_4[data-hovered]{background-color:light-dark(#e6e6e6,#333333)}._checkboxGroup_5vl7s_124 ._checkbox_5vl7s_4[data-invalid]{border:2px solid light-dark(#e62323,#e62323)}._checkboxGroup_5vl7s_124 ._checkbox_5vl7s_4[data-disabled]{pointer-events:none;border-color:light-dark(#bfbfbf,#525252)}}
|
package/assets/FileUpload.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._box_1toox_4{background-color:light-dark(#f2f2f2,#262626);color:light-dark(#171717,#f2f2f2);display:flex;flex-flow:row wrap;justify-content:space-between;align-items:center;padding:.875rem 1rem;font-size:1rem}._box_1toox_4>span{word-wrap:break-all;overflow-wrap:break-word;text-wrap:balance;-webkit-hyphens:auto;hyphens:auto;flex:1 0 0%}._box_1toox_4 button{border:none;cursor:pointer;flex:0 0 auto}._list_1toox_29{display:flex;flex-direction:column;list-style-type:none;margin:8px 0 0;padding:0;gap:8px}._container_1toox_39{font-family:Inter,sans-serif;display:flex;flex-direction:column;align-content:flex-end}._container_1toox_39[data-disabled]{color:light-dark(#bfbfbf,#525252)}._label_1toox_50{font-size:1rem;font-weight:500;margin-bottom:8px}._text_1toox_56{font-size:14px;font-weight:400;margin-bottom:8px}._dropzone_1toox_62{grid-area:Input;border:1px dashed light-dark(#bfbfbf,#383838);padding:1.5rem;text-align:center;background-color:light-dark(#ffffff,#171717)}._dropzone_1toox_62[data-hovered]{background-color:light-dark(#e6e6e6,#212121)}._input_1toox_76{grid-area:Input}
|
package/assets/RangeCalendar.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._container_1mzkr_4{display:inline-flex;flex-direction:column}._calendar_1mzkr_9{padding:.5rem;background-color:light-dark(#f2f2f2,#262626);font-family:Inter,sans-serif;display:inline-block;flex-direction:column;align-items:center;margin:auto;color:light-dark(#171717,#f2f2f2)}._calendar_1mzkr_9 *{background:unset;color:unset;padding:unset;border:unset}._calendar_1mzkr_9 table{display:table;border-collapse:unset}._calendar_1mzkr_9 thead tr,._calendar_1mzkr_9 tbody tr{background-color:unset}._calendar_1mzkr_9 th,._calendar_1mzkr_9 ._day_1mzkr_30{text-align:center;min-width:2.25rem;box-sizing:content-box;line-height:initial}._calendar_1mzkr_9 th{font-weight:500;padding:.625rem 0}._calendar_1mzkr_9 ._day_1mzkr_30{padding:.5rem 0}._calendar_1mzkr_9 [data-unavailable]{color:light-dark(#bfbfbf,#525252)}._calendar_1mzkr_9 div:focus-visible,._calendar_1mzkr_9 div[data-focus-visible]{outline:2px solid light-dark(#171717,#f2f2f2)}@media (forced-colors: active){._calendar_1mzkr_9 div:focus-visible,._calendar_1mzkr_9 div[data-focus-visible]{outline:3px solid activeText;outline-offset:2px}}._calendar_1mzkr_9[data-disabled=true],._calendar_1mzkr_9[data-disabled=true] button{cursor:not-allowed;color:light-dark(#bfbfbf,#525252)}._calendar_1mzkr_9[data-invalid]{border:2px solid light-dark(#e62323,#e62323)}@media (forced-colors: active){._calendar_1mzkr_9{border:2px solid}}._header_1mzkr_83{display:flex;align-items:center;justify-content:space-between}._header_1mzkr_83 button{border:none;color:light-dark(#171717,#f2f2f2);padding:.5rem;background-color:light-dark(#f2f2f2,#262626);cursor:pointer}._header_1mzkr_83 button:hover:not([data-disabled]){background-color:light-dark(#e6e6e6,#333333)}._header_1mzkr_83 button:focus-visible,._header_1mzkr_83 button[data-focus-visible]{outline:none;box-shadow:0 0 0 2px light-dark(white,black),0 0 0 4px light-dark(black,white)}@media (forced-colors: active){._header_1mzkr_83 button:focus-visible,._header_1mzkr_83 button[data-focus-visible]{outline:3px solid;outline-offset:2px}}._header_1mzkr_83 [data-disabled]{color:light-dark(#bfbfbf,#525252)}._day_1mzkr_30{border:solid 2px light-dark(#f2f2f2,#262626);cursor:pointer}._day_1mzkr_30[data-hovered]:not([data-unavailable],[data-disabled],[data-selected]){background-color:light-dark(#e6e6e6,#333333);border-color:light-dark(#e6e6e6,#333333)}._day_1mzkr_30[data-selected=true]{color:light-dark(#f2f2f2,#171717);background-color:light-dark(#143c50,#5897b8);border-color:light-dark(#143c50,#5897b8)}@media (forced-colors: active){._day_1mzkr_30[data-selected=true]{background-color:highlight}}._day_1mzkr_30._range_1mzkr_135[data-selected=true]{color:light-dark(#171717,#f2f2f2);background-color:light-dark(#d5e5ed,#143c50);border-color:light-dark(#d5e5ed,#143c50)}._day_1mzkr_30._range_1mzkr_135[data-selection-start=true],._day_1mzkr_30._range_1mzkr_135[data-selection-end=true]{color:light-dark(#f2f2f2,#171717);background-color:light-dark(#143c50,#5897b8);border-color:light-dark(#143c50,#5897b8)}._day_1mzkr_30[data-disabled],._day_1mzkr_30[data-unavailable]{color:light-dark(#bfbfbf,#525252);cursor:not-allowed}._day_1mzkr_30._today_1mzkr_161{text-decoration:underline;text-underline-offset:3px}._day_1mzkr_30[data-outside-month=true]{display:none}
|
package/assets/SearchField.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._container_12x9u_4{font-family:Inter,sans-serif;color:light-dark(#171717,#f2f2f2)}._container_12x9u_4[data-disabled=true]{cursor:not-allowed}._inner_12x9u_13{display:flex;width:100%}._inputContainer_12x9u_18{display:flex;position:relative;height:3rem;width:100%}._inputContainer_12x9u_18._medium_12x9u_24{height:2.5rem}._icon_12x9u_29{color:light-dark(#171717,#f2f2f2);position:absolute;margin-left:.875rem;left:0;top:50%;transform:translateY(-50%)}._clear_12x9u_38{display:flex;align-items:center;position:absolute;padding:.875rem;border:none;right:0;top:50%;transform:translateY(-50%);background-color:transparent}._clear_12x9u_38._medium_12x9u_24{height:2.5rem;padding:.625rem .875rem}._input_12x9u_18{all:unset;color:light-dark(#171717,#f2f2f2);box-sizing:border-box;line-height:1rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:light-dark(#f2f2f2,#262626);width:100%;height:3rem;padding:.875rem 0 .875rem 3rem;border-bottom:1px solid light-dark(#171717,#f2f2f2)}._input_12x9u_18._medium_12x9u_24{height:2.5rem;padding:.625rem 0 .625rem 3rem}._input_12x9u_18:focus-visible{box-shadow:0 0 0 2px light-dark(white,black),0 0 0 4px light-dark(black,white)}@media (forced-colors: active){._input_12x9u_18:focus-visible{outline:3px solid highlight;outline-offset:2px}}._input_12x9u_18[aria-invalid=true]{border:2px solid light-dark(#e62323,#e62323)}._input_12x9u_18[data-disabled]{pointer-events:none}._input_12x9u_18::-webkit-search-decoration,._input_12x9u_18::-webkit-search-cancel-button,._input_12x9u_18::-webkit-search-results-button,._input_12x9u_18::-webkit-search-results-decoration{-webkit-appearance:none}
|
package/assets/Spinner.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._container_3nw95_4{display:inline-flex}._spinner_3nw95_8{color:light-dark(#171717,#f2f2f2);animation:_rotating_3nw95_1 1s linear infinite;stroke-linecap:square}@media (prefers-reduced-motion){._spinner_3nw95_8{animation-duration:2s}}._dark_3nw95_18{color:light-dark(#ffffff,#ffffff)}@keyframes _rotating_3nw95_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._container_iuog5_4{font-family:Inter,sans-serif}._list_iuog5_8{border-bottom:1px solid light-dark(#bfbfbf,#383838);display:flex;flex-flow:row wrap}._listItem_iuog5_14{border-bottom:.125rem solid light-dark(#bfbfbf,#383838);box-sizing:border-box;color:light-dark(#171717,#f2f2f2);height:2.5rem;padding:.625rem 1rem}._listItem_iuog5_14[data-disabled]{border-color:light-dark(#bfbfbf,#525252);color:light-dark(#bfbfbf,#525252)}._listItem_iuog5_14[data-selected]{font-weight:500;border-color:light-dark(#143c50,#2e7ca5)}._listItem_iuog5_14[data-selected][data-hovered]{border-color:light-dark(#143c50,#2e7ca5)}._listItem_iuog5_14[data-hovered]{border-color:light-dark(#737373,#8c8c8c);cursor:pointer}._listItem_iuog5_14[data-focus-visible]{outline:none;box-shadow:0 0 0 2px light-dark(white,black),0 0 0 4px light-dark(black,white)}@media (max-width: 479px){._listItem_iuog5_14{border-bottom:0;flex:0 0 100%}._listItem_iuog5_14[data-selected]{border-left:.125rem solid light-dark(#143c50,#2e7ca5);padding-left:.875rem}}._panel_iuog5_56{margin-top:1rem;color:light-dark(#171717,#f2f2f2)}._panel_iuog5_56[data-focus-visible]{outline:none;box-shadow:0 0 0 2px light-dark(white,black),0 0 0 4px light-dark(black,white)}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}[];
|
|
1
|
+
import { BreadcrumbsProps as AriaBreadcrumbsProps } from 'react-aria-components';
|
|
2
|
+
export interface BreadcrumbItem {
|
|
3
|
+
href: string;
|
|
4
|
+
title: string;
|
|
5
|
+
isDisabled?: boolean;
|
|
7
6
|
}
|
|
8
|
-
export
|
|
7
|
+
export interface BreadcrumbsProps<T extends BreadcrumbItem> extends AriaBreadcrumbsProps<T> {
|
|
8
|
+
items: T[];
|
|
9
|
+
}
|
|
10
|
+
export declare const Breadcrumbs: <T extends BreadcrumbItem>({ items, className, ...rest }: BreadcrumbsProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
/** @deprecated since v10.3.0 please use `BreadcrumbsProps` instead */
|
|
12
|
+
export type BreadcrumbProps<T extends BreadcrumbItem> = BreadcrumbsProps<T>;
|
package/breadcrumbs/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Breadcrumbs-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Breadcrumbs-CfW5IuyE.cjs");exports.Breadcrumbs=e.Breadcrumbs;
|
package/breadcrumbs/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './Breadcrumbs';
|
package/breadcrumbs/index.js
CHANGED
package/button/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../Button-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../Button-BXY5ZhqI.cjs"),o=require("../ButtonGroup-DUqW5dzM.cjs");exports.Button=t.Button;exports.ButtonGroup=o.ButtonGroup;
|
package/button/index.js
CHANGED
|
@@ -2,5 +2,6 @@ import { CalendarGridProps as AriaCalendarGridProps } from 'react-aria-component
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
export interface CalendarGridProps {
|
|
4
4
|
weekdayStyle?: AriaCalendarGridProps['weekdayStyle'];
|
|
5
|
+
isRange?: boolean;
|
|
5
6
|
}
|
|
6
7
|
export declare const CalendarGrid: React.FC<CalendarGridProps>;
|
package/calendar/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../RangeCalendar-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../RangeCalendar-C1LFeOVk.cjs");exports.Calendar=e.Calendar;exports.RangeCalendar=e.RangeCalendar;
|
package/calendar/index.js
CHANGED
package/card/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../Card-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../Card-Cc1TNPcQ.cjs");exports.Card=r.Card;exports.CardActionArea=r.CardActionArea;exports.CardActions=r.CardActions;exports.CardContent=r.CardContent;exports.CardImage=r.CardImage;exports.CardLink=r.CardLink;exports.CardTitle=r.CardTitle;
|