@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
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { $ as m } from "./
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
1
|
+
import { i as G, e as P, h as B, c as T, b as $, d as _, j as J, k as Y } from "./utils-CoCR_Fce.js";
|
|
2
|
+
import { $ as m } from "./mergeProps-C1U1OIeJ.js";
|
|
3
|
+
import { d as Q, e as X, f as Z } from "./useHover-DQvJ3Y-W.js";
|
|
4
|
+
import { a as O } from "./useFocusable-ChPA2Jc7.js";
|
|
5
|
+
import F, { useRef as g, useContext as ee, useMemo as L, useEffect as H } from "react";
|
|
5
6
|
class te {
|
|
6
7
|
get currentNode() {
|
|
7
8
|
return this._currentNode;
|
|
@@ -124,7 +125,7 @@ class te {
|
|
|
124
125
|
}
|
|
125
126
|
}
|
|
126
127
|
function re(r, e, t, n) {
|
|
127
|
-
return
|
|
128
|
+
return G() ? new te(r, e, t, n) : r.createTreeWalker(e, t, n);
|
|
128
129
|
}
|
|
129
130
|
function ne(r) {
|
|
130
131
|
const e = B(r);
|
|
@@ -141,12 +142,12 @@ function oe(r, e) {
|
|
|
141
142
|
return !r.hasAttribute("hidden") && // Ignore HiddenSelect when tree walking.
|
|
142
143
|
!r.hasAttribute("data-react-aria-prevent-focus") && (r.nodeName === "DETAILS" && e && e.nodeName !== "SUMMARY" ? r.hasAttribute("open") : !0);
|
|
143
144
|
}
|
|
144
|
-
function
|
|
145
|
-
return r.nodeName !== "#comment" && ne(r) && oe(r, e) && (!r.parentElement ||
|
|
145
|
+
function U(r, e) {
|
|
146
|
+
return r.nodeName !== "#comment" && ne(r) && oe(r, e) && (!r.parentElement || U(r.parentElement, r));
|
|
146
147
|
}
|
|
147
148
|
const W = /* @__PURE__ */ F.createContext(null), M = "react-aria-focus-scope-restore";
|
|
148
149
|
let h = null;
|
|
149
|
-
function
|
|
150
|
+
function ve(r) {
|
|
150
151
|
let { children: e, contain: t, restoreFocus: n, autoFocus: o } = r, a = g(null), l = g(null), i = g([]), { parentNode: f } = ee(W) || {}, u = L(() => new I({
|
|
151
152
|
scopeRef: i
|
|
152
153
|
}), [
|
|
@@ -177,7 +178,7 @@ function he(r) {
|
|
|
177
178
|
};
|
|
178
179
|
}, [
|
|
179
180
|
e
|
|
180
|
-
]), ue(i, n, t), ae(i, t), ce(i, n, t), le(i, o),
|
|
181
|
+
]), ue(i, n, t), ae(i, t), ce(i, n, t), le(i, o), H(() => {
|
|
181
182
|
const s = T($(i.current ? i.current[0] : void 0));
|
|
182
183
|
let b = null;
|
|
183
184
|
if (E(s, i.current)) {
|
|
@@ -291,7 +292,7 @@ function ae(r, e) {
|
|
|
291
292
|
(!h || R(h, r)) && E(_(u), r.current) ? (h = r, t.current = _(u)) : y(r) && !k(_(u), r) ? t.current ? t.current.focus() : h && h.current && D(h.current) : y(r) && (t.current = _(u));
|
|
292
293
|
}, f = (u) => {
|
|
293
294
|
n.current && cancelAnimationFrame(n.current), n.current = requestAnimationFrame(() => {
|
|
294
|
-
let d = Z(), c = (d === "virtual" || d === null) &&
|
|
295
|
+
let d = Z(), c = (d === "virtual" || d === null) && Q() && X(), s = T(a);
|
|
295
296
|
if (!c && s && y(r) && !k(s, r)) {
|
|
296
297
|
h = r;
|
|
297
298
|
let v = _(u);
|
|
@@ -314,7 +315,7 @@ function ae(r, e) {
|
|
|
314
315
|
n
|
|
315
316
|
]);
|
|
316
317
|
}
|
|
317
|
-
function
|
|
318
|
+
function j(r) {
|
|
318
319
|
return k(r);
|
|
319
320
|
}
|
|
320
321
|
function E(r, e) {
|
|
@@ -326,7 +327,7 @@ function k(r, e = null) {
|
|
|
326
327
|
if (t && E(r, t.current)) return !0;
|
|
327
328
|
return !1;
|
|
328
329
|
}
|
|
329
|
-
function
|
|
330
|
+
function Ne(r) {
|
|
330
331
|
return k(r, h);
|
|
331
332
|
}
|
|
332
333
|
function R(r, e) {
|
|
@@ -348,7 +349,7 @@ function p(r, e = !1) {
|
|
|
348
349
|
} catch {
|
|
349
350
|
}
|
|
350
351
|
}
|
|
351
|
-
function
|
|
352
|
+
function q(r, e = !0) {
|
|
352
353
|
let t = r[0].previousElementSibling, n = x(r), o = w(n, {
|
|
353
354
|
tabbable: e
|
|
354
355
|
}, r);
|
|
@@ -359,11 +360,11 @@ function G(r, e = !0) {
|
|
|
359
360
|
}, r), o.currentNode = t, a = o.nextNode()), a;
|
|
360
361
|
}
|
|
361
362
|
function D(r, e = !0) {
|
|
362
|
-
p(
|
|
363
|
+
p(q(r, e));
|
|
363
364
|
}
|
|
364
365
|
function le(r, e) {
|
|
365
366
|
const t = F.useRef(e);
|
|
366
|
-
|
|
367
|
+
H(() => {
|
|
367
368
|
if (t.current) {
|
|
368
369
|
h = r;
|
|
369
370
|
const n = $(r.current ? r.current[0] : void 0);
|
|
@@ -381,7 +382,7 @@ function ue(r, e, t) {
|
|
|
381
382
|
const o = $(n ? n[0] : void 0);
|
|
382
383
|
let a = (l) => {
|
|
383
384
|
let i = _(l);
|
|
384
|
-
E(i, r.current) ? h = r :
|
|
385
|
+
E(i, r.current) ? h = r : j(i) || (h = null);
|
|
385
386
|
};
|
|
386
387
|
return o.addEventListener("focusin", a, !1), n == null || n.forEach((l) => l.addEventListener("focusin", a, !1)), () => {
|
|
387
388
|
o.removeEventListener("focusin", a, !1), n == null || n.forEach((l) => l.removeEventListener("focusin", a, !1));
|
|
@@ -434,7 +435,7 @@ function ce(r, e, t) {
|
|
|
434
435
|
do
|
|
435
436
|
c = l.shiftKey ? d.previousNode() : d.nextNode();
|
|
436
437
|
while (k(c, r));
|
|
437
|
-
l.preventDefault(), l.stopPropagation(), c ? p(c, !0) :
|
|
438
|
+
l.preventDefault(), l.stopPropagation(), c ? p(c, !0) : j(u) ? p(u, !0) : i.blur();
|
|
438
439
|
}
|
|
439
440
|
};
|
|
440
441
|
return t || o.addEventListener("keydown", a, !0), () => {
|
|
@@ -468,7 +469,7 @@ function ce(r, e, t) {
|
|
|
468
469
|
}
|
|
469
470
|
for (c = d.getTreeNode(r); c; ) {
|
|
470
471
|
if (c.scopeRef && c.scopeRef.current && N.getTreeNode(c.scopeRef)) {
|
|
471
|
-
let s =
|
|
472
|
+
let s = q(c.scopeRef.current, !0);
|
|
472
473
|
z(s);
|
|
473
474
|
return;
|
|
474
475
|
}
|
|
@@ -491,15 +492,15 @@ function z(r) {
|
|
|
491
492
|
})) && p(r);
|
|
492
493
|
}
|
|
493
494
|
function w(r, e, t) {
|
|
494
|
-
let n = e != null && e.tabbable ?
|
|
495
|
+
let n = e != null && e.tabbable ? J : Y, o = (r == null ? void 0 : r.nodeType) === Node.ELEMENT_NODE ? r : null, a = $(o), l = re(a, r || a, NodeFilter.SHOW_ELEMENT, {
|
|
495
496
|
acceptNode(i) {
|
|
496
497
|
var f;
|
|
497
|
-
return !(e == null || (f = e.from) === null || f === void 0) && f.contains(i) ? NodeFilter.FILTER_REJECT : n(i) &&
|
|
498
|
+
return !(e == null || (f = e.from) === null || f === void 0) && f.contains(i) ? NodeFilter.FILTER_REJECT : n(i) && U(i) && (!t || E(i, t)) && (!(e != null && e.accept) || e.accept(i)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
498
499
|
}
|
|
499
500
|
});
|
|
500
501
|
return e != null && e.from && (l.currentNode = e.from), l;
|
|
501
502
|
}
|
|
502
|
-
function
|
|
503
|
+
function pe(r, e = {}) {
|
|
503
504
|
return {
|
|
504
505
|
focusNext(t = {}) {
|
|
505
506
|
let n = r.current;
|
|
@@ -619,7 +620,7 @@ class I {
|
|
|
619
620
|
let N = new K();
|
|
620
621
|
export {
|
|
621
622
|
w as $,
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
623
|
+
ve as a,
|
|
624
|
+
pe as b,
|
|
625
|
+
Ne as c
|
|
625
626
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const s=require("./utils-Dvdohqm9.cjs"),T=require("./mergeProps-B5KXZAI3.cjs"),R=require("./useHover-BE_XKZKe.cjs"),V=require("./useFocusable-D7I1ujkW.cjs"),N=require("react");class z{get currentNode(){return this._currentNode}set currentNode(e){if(!s.$d4ee10de306f2510$export$4282f70798064fe0(this.root,e))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");const t=[];let n=e,o=e;for(this._currentNode=e;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const i=n,a=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});t.push(a),a.currentNode=o,this._currentSetFor.add(a),n=o=i.host}else n=n.parentNode;const c=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});t.push(c),c.currentNode=o,this._currentSetFor.add(c),this._walkerStack=t}get doc(){return this._doc}firstChild(){let e=this.currentNode,t=this.nextNode();return s.$d4ee10de306f2510$export$4282f70798064fe0(e,t)?(t&&(this.currentNode=t),t):(this.currentNode=e,null)}lastChild(){let t=this._walkerStack[0].lastChild();return t&&(this.currentNode=t),t}nextNode(){const e=this._walkerStack[0].nextNode();if(e){if(e.shadowRoot){var t;let o;if(typeof this.filter=="function"?o=this.filter(e):!((t=this.filter)===null||t===void 0)&&t.acceptNode&&(o=this.filter.acceptNode(e)),o===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let c=this.nextNode();return c&&(this.currentNode=c),c}return e&&(this.currentNode=e),e}else if(this._walkerStack.length>1){this._walkerStack.shift();let n=this.nextNode();return n&&(this.currentNode=n),n}else return null}previousNode(){const e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e))if(this._currentSetFor.delete(e),this._walkerStack.length>1){this._walkerStack.shift();let o=this.previousNode();return o&&(this.currentNode=o),o}else return null;return null}const t=e.previousNode();if(t){if(t.shadowRoot){var n;let c;if(typeof this.filter=="function"?c=this.filter(t):!((n=this.filter)===null||n===void 0)&&n.acceptNode&&(c=this.filter.acceptNode(t)),c===NodeFilter.FILTER_ACCEPT)return t&&(this.currentNode=t),t;let i=this.lastChild();return i&&(this.currentNode=i),i}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let o=this.previousNode();return o&&(this.currentNode=o),o}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(e,t,n,o){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=i=>{if(i.nodeType===Node.ELEMENT_NODE){const b=i.shadowRoot;if(b){const d=this._doc.createTreeWalker(b,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(d),NodeFilter.FILTER_ACCEPT}else{var a;if(typeof this.filter=="function")return this.filter(i);if(!((a=this.filter)===null||a===void 0)&&a.acceptNode)return this.filter.acceptNode(i);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=t,this.filter=o??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=t,this._walkerStack.unshift(e.createTreeWalker(t,n,this._acceptNode));const c=t.shadowRoot;if(c){const i=this._doc.createTreeWalker(c,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(i)}}}function H(r,e,t,n){return s.$f4e2df6bd15f8569$export$98658e8c59125e6a()?new z(r,e,t,n):r.createTreeWalker(e,t,n)}function U(r){const e=s.$431fbd86ca7dc216$export$f21a1ffae260145a(r);if(!(r instanceof e.HTMLElement)&&!(r instanceof e.SVGElement))return!1;let{display:t,visibility:n}=r.style,o=t!=="none"&&n!=="hidden"&&n!=="collapse";if(o){const{getComputedStyle:c}=r.ownerDocument.defaultView;let{display:i,visibility:a}=c(r);o=i!=="none"&&a!=="hidden"&&a!=="collapse"}return o}function G(r,e){return!r.hasAttribute("hidden")&&!r.hasAttribute("data-react-aria-prevent-focus")&&(r.nodeName==="DETAILS"&&e&&e.nodeName!=="SUMMARY"?r.hasAttribute("open"):!0)}function P(r,e){return r.nodeName!=="#comment"&&U(r)&&G(r,e)&&(!r.parentElement||P(r.parentElement,r))}const D=N.createContext(null),C="react-aria-focus-scope-restore";let p=null;function j(r){let{children:e,contain:t,restoreFocus:n,autoFocus:o}=r,c=N.useRef(null),i=N.useRef(null),a=N.useRef([]),{parentNode:b}=N.useContext(D)||{},d=N.useMemo(()=>new M({scopeRef:a}),[a]);T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let f=b||v.root;if(v.getTreeNode(f.scopeRef)&&p&&!_(p,f.scopeRef)){let $=v.getTreeNode(p);$&&(f=$)}f.addChild(d),v.addNode(d)},[d,b]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let f=v.getTreeNode(a);f&&(f.contain=!!t)},[t]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{var f;let $=(f=c.current)===null||f===void 0?void 0:f.nextSibling,h=[],S=y=>y.stopPropagation();for(;$&&$!==i.current;)h.push($),$.addEventListener(C,S),$=$.nextSibling;return a.current=h,()=>{for(let y of h)y.removeEventListener(C,S)}},[e]),X(a,n,t),J(a,t),Z(a,n,t),Q(a,o),N.useEffect(()=>{const f=s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac(a.current?a.current[0]:void 0));let $=null;if(E(f,a.current)){for(let h of v.traverse())h.scopeRef&&E(f,h.scopeRef.current)&&($=h);$===v.getTreeNode(a)&&(p=$.scopeRef)}},[a]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>()=>{var f,$,h;let S=(h=($=v.getTreeNode(a))===null||$===void 0||(f=$.parent)===null||f===void 0?void 0:f.scopeRef)!==null&&h!==void 0?h:null;(a===p||_(a,p))&&(!S||v.getTreeNode(S))&&(p=S),v.removeTreeNode(a)},[a]);let u=N.useMemo(()=>B(a),[]),l=N.useMemo(()=>({focusManager:u,parentNode:d}),[d,u]);return N.createElement(D.Provider,{value:l},N.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:c}),e,N.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function B(r){return{focusNext(e={}){let t=r.current,{from:n,tabbable:o,wrap:c,accept:i}=e;var a;let b=n||s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac((a=t[0])!==null&&a!==void 0?a:void 0)),d=t[0].previousElementSibling,u=k(t),l=x(u,{tabbable:o,accept:i},t);l.currentNode=E(b,t)?b:d;let f=l.nextNode();return!f&&c&&(l.currentNode=d,f=l.nextNode()),f&&w(f,!0),f},focusPrevious(e={}){let t=r.current,{from:n,tabbable:o,wrap:c,accept:i}=e;var a;let b=n||s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac((a=t[0])!==null&&a!==void 0?a:void 0)),d=t[t.length-1].nextElementSibling,u=k(t),l=x(u,{tabbable:o,accept:i},t);l.currentNode=E(b,t)?b:d;let f=l.previousNode();return!f&&c&&(l.currentNode=d,f=l.previousNode()),f&&w(f,!0),f},focusFirst(e={}){let t=r.current,{tabbable:n,accept:o}=e,c=k(t),i=x(c,{tabbable:n,accept:o},t);i.currentNode=t[0].previousElementSibling;let a=i.nextNode();return a&&w(a,!0),a},focusLast(e={}){let t=r.current,{tabbable:n,accept:o}=e,c=k(t),i=x(c,{tabbable:n,accept:o},t);i.currentNode=t[t.length-1].nextElementSibling;let a=i.previousNode();return a&&w(a,!0),a}}}function k(r){return r[0].parentElement}function g(r){let e=v.getTreeNode(p);for(;e&&e.scopeRef!==r;){if(e.contain)return!1;e=e.parent}return!0}function J(r,e){let t=N.useRef(void 0),n=N.useRef(void 0);T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let o=r.current;if(!e){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const c=s.$431fbd86ca7dc216$export$b204af158042fbac(o?o[0]:void 0);let i=d=>{if(d.key!=="Tab"||d.altKey||d.ctrlKey||d.metaKey||!g(r)||d.isComposing)return;let u=s.$d4ee10de306f2510$export$cd4e5573fbe2b576(c),l=r.current;if(!l||!E(u,l))return;let f=k(l),$=x(f,{tabbable:!0},l);if(!u)return;$.currentNode=u;let h=d.shiftKey?$.previousNode():$.nextNode();h||($.currentNode=d.shiftKey?l[l.length-1].nextElementSibling:l[0].previousElementSibling,h=d.shiftKey?$.previousNode():$.nextNode()),d.preventDefault(),h&&w(h,!0)},a=d=>{(!p||_(p,r))&&E(s.$d4ee10de306f2510$export$e58f029f0fbfdb29(d),r.current)?(p=r,t.current=s.$d4ee10de306f2510$export$e58f029f0fbfdb29(d)):g(r)&&!m(s.$d4ee10de306f2510$export$e58f029f0fbfdb29(d),r)?t.current?t.current.focus():p&&p.current&&L(p.current):g(r)&&(t.current=s.$d4ee10de306f2510$export$e58f029f0fbfdb29(d))},b=d=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let u=R.$507fabe10e71c6fb$export$630ff653c5ada6a9(),l=(u==="virtual"||u===null)&&R.$c87311424ea30a05$export$a11b0059900ceec8()&&R.$c87311424ea30a05$export$6446a186d09e379e(),f=s.$d4ee10de306f2510$export$cd4e5573fbe2b576(c);if(!l&&f&&g(r)&&!m(f,r)){p=r;let h=s.$d4ee10de306f2510$export$e58f029f0fbfdb29(d);if(h&&h.isConnected){var $;t.current=h,($=t.current)===null||$===void 0||$.focus()}else p.current&&L(p.current)}})};return c.addEventListener("keydown",i,!1),c.addEventListener("focusin",a,!1),o==null||o.forEach(d=>d.addEventListener("focusin",a,!1)),o==null||o.forEach(d=>d.addEventListener("focusout",b,!1)),()=>{c.removeEventListener("keydown",i,!1),c.removeEventListener("focusin",a,!1),o==null||o.forEach(d=>d.removeEventListener("focusin",a,!1)),o==null||o.forEach(d=>d.removeEventListener("focusout",b,!1))}},[r,e]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function W(r){return m(r)}function E(r,e){return!r||!e?!1:e.some(t=>t.contains(r))}function m(r,e=null){if(r instanceof Element&&r.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:t}of v.traverse(v.getTreeNode(e)))if(t&&E(r,t.current))return!0;return!1}function Y(r){return m(r,p)}function _(r,e){var t;let n=(t=v.getTreeNode(e))===null||t===void 0?void 0:t.parent;for(;n;){if(n.scopeRef===r)return!0;n=n.parent}return!1}function w(r,e=!1){if(r!=null&&!e)try{(0,V.$3ad3f6e1647bc98d$export$80f3e147d781571c)(r)}catch{}else if(r!=null)try{r.focus()}catch{}}function q(r,e=!0){let t=r[0].previousElementSibling,n=k(r),o=x(n,{tabbable:e},r);o.currentNode=t;let c=o.nextNode();return e&&!c&&(n=k(r),o=x(n,{tabbable:!1},r),o.currentNode=t,c=o.nextNode()),c}function L(r,e=!0){w(q(r,e))}function Q(r,e){const t=N.useRef(e);N.useEffect(()=>{if(t.current){p=r;const n=s.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0);!E(s.$d4ee10de306f2510$export$cd4e5573fbe2b576(n),p.current)&&r.current&&L(r.current)}t.current=!1},[r])}function X(r,e,t){T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(e||t)return;let n=r.current;const o=s.$431fbd86ca7dc216$export$b204af158042fbac(n?n[0]:void 0);let c=i=>{let a=s.$d4ee10de306f2510$export$e58f029f0fbfdb29(i);E(a,r.current)?p=r:W(a)||(p=null)};return o.addEventListener("focusin",c,!1),n==null||n.forEach(i=>i.addEventListener("focusin",c,!1)),()=>{o.removeEventListener("focusin",c,!1),n==null||n.forEach(i=>i.removeEventListener("focusin",c,!1))}},[r,e,t])}function I(r){let e=v.getTreeNode(p);for(;e&&e.scopeRef!==r;){if(e.nodeToRestore)return!1;e=e.parent}return(e==null?void 0:e.scopeRef)===r}function Z(r,e,t){const n=N.useRef(typeof document<"u"?s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0)):null);T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let o=r.current;const c=s.$431fbd86ca7dc216$export$b204af158042fbac(o?o[0]:void 0);if(!e||t)return;let i=()=>{(!p||_(p,r))&&E(s.$d4ee10de306f2510$export$cd4e5573fbe2b576(c),r.current)&&(p=r)};return c.addEventListener("focusin",i,!1),o==null||o.forEach(a=>a.addEventListener("focusin",i,!1)),()=>{c.removeEventListener("focusin",i,!1),o==null||o.forEach(a=>a.removeEventListener("focusin",i,!1))}},[r,t]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{const o=s.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0);if(!e)return;let c=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!g(r)||i.isComposing)return;let a=o.activeElement;if(!m(a,r)||!I(r))return;let b=v.getTreeNode(r);if(!b)return;let d=b.nodeToRestore,u=x(o.body,{tabbable:!0});u.currentNode=a;let l=i.shiftKey?u.previousNode():u.nextNode();if((!d||!d.isConnected||d===o.body)&&(d=void 0,b.nodeToRestore=void 0),(!l||!m(l,r))&&d){u.currentNode=d;do l=i.shiftKey?u.previousNode():u.nextNode();while(m(l,r));i.preventDefault(),i.stopPropagation(),l?w(l,!0):W(d)?w(d,!0):a.blur()}};return t||o.addEventListener("keydown",c,!0),()=>{t||o.removeEventListener("keydown",c,!0)}},[r,e,t]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{const o=s.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0);if(!e)return;let c=v.getTreeNode(r);if(c){var i;return c.nodeToRestore=(i=n.current)!==null&&i!==void 0?i:void 0,()=>{let a=v.getTreeNode(r);if(!a)return;let b=a.nodeToRestore,d=s.$d4ee10de306f2510$export$cd4e5573fbe2b576(o);if(e&&b&&(d&&m(d,r)||d===o.body&&I(r))){let u=v.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let l=u.getTreeNode(r);for(;l;){if(l.nodeToRestore&&l.nodeToRestore.isConnected){K(l.nodeToRestore);return}l=l.parent}for(l=u.getTreeNode(r);l;){if(l.scopeRef&&l.scopeRef.current&&v.getTreeNode(l.scopeRef)){let f=q(l.scopeRef.current,!0);K(f);return}l=l.parent}}})}}}},[r,e])}function K(r){r.dispatchEvent(new CustomEvent(C,{bubbles:!0,cancelable:!0}))&&w(r)}function x(r,e,t){let n=e!=null&&e.tabbable?s.$b4b717babfbb907b$export$bebd5a1431fec25d:s.$b4b717babfbb907b$export$4c063cf1350e6fed,o=(r==null?void 0:r.nodeType)===Node.ELEMENT_NODE?r:null,c=s.$431fbd86ca7dc216$export$b204af158042fbac(o),i=H(c,r||c,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var b;return!(e==null||(b=e.from)===null||b===void 0)&&b.contains(a)?NodeFilter.FILTER_REJECT:n(a)&&P(a)&&(!t||E(a,t))&&(!(e!=null&&e.accept)||e.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return e!=null&&e.from&&(i.currentNode=e.from),i}function O(r,e={}){return{focusNext(t={}){let n=r.current;if(!n)return null;let{from:o,tabbable:c=e.tabbable,wrap:i=e.wrap,accept:a=e.accept}=t,b=o||s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac(n)),d=x(n,{tabbable:c,accept:a});n.contains(b)&&(d.currentNode=b);let u=d.nextNode();return!u&&i&&(d.currentNode=n,u=d.nextNode()),u&&w(u,!0),u},focusPrevious(t=e){let n=r.current;if(!n)return null;let{from:o,tabbable:c=e.tabbable,wrap:i=e.wrap,accept:a=e.accept}=t,b=o||s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac(n)),d=x(n,{tabbable:c,accept:a});if(n.contains(b))d.currentNode=b;else{let l=F(d);return l&&w(l,!0),l??null}let u=d.previousNode();if(!u&&i){d.currentNode=n;let l=F(d);if(!l)return null;u=l}return u&&w(u,!0),u??null},focusFirst(t=e){let n=r.current;if(!n)return null;let{tabbable:o=e.tabbable,accept:c=e.accept}=t,a=x(n,{tabbable:o,accept:c}).nextNode();return a&&w(a,!0),a},focusLast(t=e){let n=r.current;if(!n)return null;let{tabbable:o=e.tabbable,accept:c=e.accept}=t,i=x(n,{tabbable:o,accept:c}),a=F(i);return a&&w(a,!0),a??null}}}function F(r){let e,t;do t=r.lastChild(),t&&(e=t);while(t);return e}class A{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let o=this.fastMap.get(t??null);if(!o)return;let c=new M({scopeRef:e});o.addChild(c),c.parent=o,this.fastMap.set(e,c),n&&(c.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(e===null)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let c of this.traverse())c!==t&&t.nodeToRestore&&c.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&E(c.nodeToRestore,t.scopeRef.current)&&(c.nodeToRestore=t.nodeToRestore);let o=t.children;n&&(n.removeChild(t),o.size>0&&o.forEach(c=>n&&n.addChild(c))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(e.scopeRef!=null&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e;let t=new A;var n;for(let o of this.traverse())t.addTreeNode(o.scopeRef,(n=(e=o.parent)===null||e===void 0?void 0:e.scopeRef)!==null&&n!==void 0?n:null,o.nodeToRestore);return t}constructor(){this.fastMap=new Map,this.root=new M({scopeRef:null}),this.fastMap.set(null,this.root)}}class M{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let v=new A;exports.$9bf71ea28793e738$export$1258395f99bf9cbf=Y;exports.$9bf71ea28793e738$export$20e40289641fbbb6=j;exports.$9bf71ea28793e738$export$2d6ec8fc375ceafa=x;exports.$9bf71ea28793e738$export$c5251b9e124bf29=O;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { $ as m, a as H } from "./utils-DJhAJHk_.js";
|
|
2
|
+
import h, { forwardRef as x, createContext as p } from "react";
|
|
3
|
+
import { $ as F } from "./useHover-DQvJ3Y-W.js";
|
|
4
|
+
import { $ as P } from "./useFocusRing-DOfBqnUN.js";
|
|
5
|
+
import { a as _ } from "./mergeProps-C1U1OIeJ.js";
|
|
6
|
+
const C = /* @__PURE__ */ p({}), V = /* @__PURE__ */ x(function(e, d) {
|
|
7
|
+
[e, d] = m(e, d, C);
|
|
8
|
+
let { isDisabled: a, isInvalid: o, onHoverStart: f, onHoverChange: u, onHoverEnd: v, ...c } = e, { hoverProps: $, isHovered: s } = F({
|
|
9
|
+
onHoverStart: f,
|
|
10
|
+
onHoverChange: u,
|
|
11
|
+
onHoverEnd: v,
|
|
12
|
+
isDisabled: a
|
|
13
|
+
}), { isFocused: n, isFocusVisible: t, focusProps: b } = P({
|
|
14
|
+
within: !0
|
|
15
|
+
});
|
|
16
|
+
a ?? (a = !!e["aria-disabled"] && e["aria-disabled"] !== "false"), o ?? (o = !!e["aria-invalid"] && e["aria-invalid"] !== "false");
|
|
17
|
+
let l = H({
|
|
18
|
+
...e,
|
|
19
|
+
values: {
|
|
20
|
+
isHovered: s,
|
|
21
|
+
isFocusWithin: n,
|
|
22
|
+
isFocusVisible: t,
|
|
23
|
+
isDisabled: a,
|
|
24
|
+
isInvalid: o
|
|
25
|
+
},
|
|
26
|
+
defaultClassName: "react-aria-Group"
|
|
27
|
+
});
|
|
28
|
+
var i, r;
|
|
29
|
+
return /* @__PURE__ */ h.createElement("div", {
|
|
30
|
+
..._(c, b, $),
|
|
31
|
+
...l,
|
|
32
|
+
ref: d,
|
|
33
|
+
role: (i = e.role) !== null && i !== void 0 ? i : "group",
|
|
34
|
+
slot: (r = e.slot) !== null && r !== void 0 ? r : void 0,
|
|
35
|
+
"data-focus-within": n || void 0,
|
|
36
|
+
"data-hovered": s || void 0,
|
|
37
|
+
"data-focus-visible": t || void 0,
|
|
38
|
+
"data-disabled": a || void 0,
|
|
39
|
+
"data-invalid": o || void 0
|
|
40
|
+
}, l.children);
|
|
41
|
+
});
|
|
42
|
+
export {
|
|
43
|
+
V as $,
|
|
44
|
+
C as a
|
|
45
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const u=require("./utils-DHNZrQmj.cjs"),s=require("react"),F=require("./useHover-BE_XKZKe.cjs"),P=require("./useFocusRing-B-A1OLhU.cjs"),g=require("./mergeProps-B5KXZAI3.cjs"),c=s.createContext({}),p=s.forwardRef(function(e,o){[e,o]=u.$64fa3d84918910a7$export$29f1550f4b0d4415(e,o,c);let{isDisabled:d,isInvalid:i,onHoverStart:v,onHoverChange:$,onHoverEnd:b,...H}=e,{hoverProps:h,isHovered:n}=F.$6179b936705e76d3$export$ae780daf29e6d456({onHoverStart:v,onHoverChange:$,onHoverEnd:b,isDisabled:d}),{isFocused:t,isFocusVisible:l,focusProps:x}=P.$f7dceffc5ad7768b$export$4e328f61c538687f({within:!0});d??(d=!!e["aria-disabled"]&&e["aria-disabled"]!=="false"),i??(i=!!e["aria-invalid"]&&e["aria-invalid"]!=="false");let f=u.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:{isHovered:n,isFocusWithin:t,isFocusVisible:l,isDisabled:d,isInvalid:i},defaultClassName:"react-aria-Group"});var a,r;return s.createElement("div",{...g.$3ef42575df84b30b$export$9d1611c77c2fe928(H,x,h),...f,ref:o,role:(a=e.role)!==null&&a!==void 0?a:"group",slot:(r=e.slot)!==null&&r!==void 0?r:void 0,"data-focus-within":t||void 0,"data-hovered":n||void 0,"data-focus-visible":l||void 0,"data-disabled":d||void 0,"data-invalid":i||void 0},f.children)});exports.$a049562f99e7db0e$export$eb2fcfdbd7ba97d4=p;exports.$a049562f99e7db0e$export$f9c6924e160136d1=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./assets/Heading.css');const o=require("react/jsx-runtime"),i=require("./clsx-C11secjj.cjs"),u=require("./RSPContexts-D8hmBfGm.cjs"),_=require("./utils-
|
|
1
|
+
"use strict";require('./assets/Heading.css');const o=require("react/jsx-runtime"),i=require("./clsx-C11secjj.cjs"),u=require("./RSPContexts-D8hmBfGm.cjs"),_=require("./utils-DHNZrQmj.cjs"),f=require("react"),d=f.forwardRef(function(t,s){[t,s]=_.$64fa3d84918910a7$export$29f1550f4b0d4415(t,s,u.$4e85f108e88277b8$export$d688439359537581);let{children:c,level:h=3,className:n,...a}=t,l=`h${h}`;return f.createElement(l,{...a,ref:s,className:n??"react-aria-Heading"},c)}),$="_h1_f2fu6_4",x="_h2_f2fu6_5",m="_h3_f2fu6_6",q="_h4_f2fu6_7",v="_h5_f2fu6_8",g="_h6_f2fu6_9",e={h1:$,h2:x,h3:m,h4:q,h5:v,h6:g},H=({children:r,className:t,isExpressive:s=!1,level:c=3,elementType:h,...n})=>{const a=h&&parseInt(h.split("h")[1]);return o.jsx(d,{level:a||c,className:i.clsx([e.h1,e.h2,e.h3,e.h4,e.h5,e.h6][c-1],t),...s&&{"data-expressive":!0},...n,children:r})};exports.Heading=H;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { c as l } from "./clsx-OuTLNxxd.js";
|
|
3
3
|
import { $ as _ } from "./RSPContexts-BW2SEIqe.js";
|
|
4
|
-
import {
|
|
4
|
+
import { $ as m } from "./utils-DJhAJHk_.js";
|
|
5
5
|
import i, { forwardRef as d } from "react";
|
|
6
6
|
import './assets/Heading.css';const u = /* @__PURE__ */ d(function(t, a) {
|
|
7
7
|
[t, a] = m(t, a, _);
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { jsxs as t, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import * as p from "react";
|
|
3
|
-
import { c as
|
|
4
|
-
import { B as
|
|
5
|
-
import { T as
|
|
6
|
-
import { C as
|
|
7
|
-
import { I as
|
|
8
|
-
import { X as
|
|
9
|
-
import
|
|
10
|
-
|
|
3
|
+
import { c as h } from "./clsx-OuTLNxxd.js";
|
|
4
|
+
import { B as _ } from "./Button-BZUo7vsZ.js";
|
|
5
|
+
import { T as u } from "./triangle-alert-wxyxspAl.js";
|
|
6
|
+
import { C as z, a as k } from "./circle-check-B9HYcH7Z.js";
|
|
7
|
+
import { I as b } from "./info-BZwphdye.js";
|
|
8
|
+
import { X as x } from "./x-JK7i-TQC.js";
|
|
9
|
+
import { u as w } from "./useLocalizedStringFormatter-N0AyjzbM.js";
|
|
10
|
+
import './assets/InfoBanner.css';const v = '"../theme/tokens.css"', B = "_infoBanner_cszz3_4", N = "_success_cszz3_14", I = "_info_cszz3_4", C = "_important_cszz3_24", S = "_warning_cszz3_29", j = "_content_cszz3_38", y = "_heading_cszz3_44", A = "_text_cszz3_49", T = "_icon_cszz3_55", F = "_dismissable_cszz3_60", s = {
|
|
11
|
+
tokens: v,
|
|
11
12
|
"--font-family": '"Inter", sans-serif',
|
|
12
13
|
"--text-primary": "light-dark(#171717, #f2f2f2)",
|
|
13
14
|
"--line-height-40": "1.375rem",
|
|
@@ -19,36 +20,43 @@ import './assets/InfoBanner.css';const x = '"../theme/tokens.css"', w = "_infoBa
|
|
|
19
20
|
"--support-background-warning": "light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))",
|
|
20
21
|
"--support-border-important": "light-dark(#fdb813, #fdb813)",
|
|
21
22
|
"--support-background-important": "light-dark(#fff8e1, light-dark(#f2f2f2, #262626))",
|
|
22
|
-
infoBanner:
|
|
23
|
-
success:
|
|
24
|
-
info:
|
|
25
|
-
important:
|
|
26
|
-
warning:
|
|
27
|
-
content:
|
|
28
|
-
heading:
|
|
29
|
-
text:
|
|
30
|
-
icon:
|
|
31
|
-
dismissable:
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
23
|
+
infoBanner: B,
|
|
24
|
+
success: N,
|
|
25
|
+
info: I,
|
|
26
|
+
important: C,
|
|
27
|
+
warning: S,
|
|
28
|
+
content: j,
|
|
29
|
+
heading: y,
|
|
30
|
+
text: A,
|
|
31
|
+
icon: T,
|
|
32
|
+
dismissable: F
|
|
33
|
+
}, L = {
|
|
34
|
+
close: "Close"
|
|
35
|
+
}, M = {
|
|
36
|
+
close: "Stäng"
|
|
37
|
+
}, P = {
|
|
38
|
+
en: L,
|
|
39
|
+
sv: M
|
|
40
|
+
}, R = {
|
|
41
|
+
success: k,
|
|
42
|
+
info: b,
|
|
43
|
+
important: z,
|
|
44
|
+
warning: u
|
|
45
|
+
}, O = ({
|
|
46
|
+
title: o,
|
|
47
|
+
message: i,
|
|
48
|
+
type: r,
|
|
49
|
+
children: a,
|
|
42
50
|
dismissable: c = !1,
|
|
43
51
|
isDismissable: f = !1,
|
|
44
|
-
...
|
|
52
|
+
...e
|
|
45
53
|
}) => {
|
|
46
|
-
const d =
|
|
54
|
+
const d = R[r], [l, m] = p.useState(!0), g = w(P);
|
|
47
55
|
return l ? /* @__PURE__ */ t(
|
|
48
56
|
"div",
|
|
49
57
|
{
|
|
50
|
-
...
|
|
51
|
-
className:
|
|
58
|
+
...e,
|
|
59
|
+
className: h(s.infoBanner, s[r], e.className),
|
|
52
60
|
children: [
|
|
53
61
|
/* @__PURE__ */ n(
|
|
54
62
|
d,
|
|
@@ -59,19 +67,19 @@ import './assets/InfoBanner.css';const x = '"../theme/tokens.css"', w = "_infoBa
|
|
|
59
67
|
}
|
|
60
68
|
),
|
|
61
69
|
/* @__PURE__ */ t("div", { className: s.content, children: [
|
|
62
|
-
|
|
70
|
+
o && /* @__PURE__ */ n("strong", { className: s.heading, children: o }),
|
|
63
71
|
/* @__PURE__ */ t("div", { className: s.text, children: [
|
|
64
|
-
|
|
65
|
-
|
|
72
|
+
i,
|
|
73
|
+
a
|
|
66
74
|
] })
|
|
67
75
|
] }),
|
|
68
76
|
(c || f) && /* @__PURE__ */ n("div", { className: s.dismissable, children: /* @__PURE__ */ n(
|
|
69
|
-
|
|
77
|
+
_,
|
|
70
78
|
{
|
|
71
79
|
variant: "icon",
|
|
72
|
-
"aria-label": "
|
|
80
|
+
"aria-label": g.format("close"),
|
|
73
81
|
onPress: () => m(!1),
|
|
74
|
-
children: /* @__PURE__ */ n(
|
|
82
|
+
children: /* @__PURE__ */ n(x, { size: 20 })
|
|
75
83
|
}
|
|
76
84
|
) })
|
|
77
85
|
]
|
|
@@ -79,5 +87,5 @@ import './assets/InfoBanner.css';const x = '"../theme/tokens.css"', w = "_infoBa
|
|
|
79
87
|
) : null;
|
|
80
88
|
};
|
|
81
89
|
export {
|
|
82
|
-
|
|
90
|
+
O as I
|
|
83
91
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require('./assets/InfoBanner.css');const s=require("react/jsx-runtime"),_=require("react"),h=require("./clsx-C11secjj.cjs"),m=require("./Button-BXY5ZhqI.cjs"),p=require("./triangle-alert-DJW8U7jL.cjs"),i=require("./circle-check-BGo8gML8.cjs"),z=require("./info-CIEIENo6.cjs"),k=require("./x-H8Zrx8-x.cjs"),b=require("./useLocalizedStringFormatter-BO2iZEL0.cjs");function x(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const c=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,c.get?c:{enumerable:!0,get:()=>e[n]})}}return r.default=e,Object.freeze(r)}const j=x(_),q='"../theme/tokens.css"',w="_infoBanner_cszz3_4",v="_success_cszz3_14",B="_info_cszz3_4",N="_important_cszz3_24",S="_warning_cszz3_29",y="_content_cszz3_38",C="_heading_cszz3_44",I="_text_cszz3_49",O="_icon_cszz3_55",A="_dismissable_cszz3_60",t={tokens:q,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--line-height-40":"1.375rem","--support-border-success":"light-dark(#008d3c, #008d3c)","--support-background-success":"light-dark(#d5f2d9, light-dark(#f2f2f2, #262626))","--support-border-info":"light-dark(#0066cc, #0066cc)","--support-background-info":"light-dark(#eaf2f6, light-dark(#f2f2f2, #262626))","--support-border-warning":"light-dark(#e62323, #e62323)","--support-background-warning":"light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))","--support-border-important":"light-dark(#fdb813, #fdb813)","--support-background-important":"light-dark(#fff8e1, light-dark(#f2f2f2, #262626))",infoBanner:w,success:v,info:B,important:N,warning:S,content:y,heading:C,text:I,icon:O,dismissable:A},P={close:"Close"},R={close:"Stäng"},D={en:P,sv:R},F={success:i.CircleCheck,info:z.Info,important:i.CircleAlert,warning:p.TriangleAlert},L=({title:e,message:r,type:n,children:c,dismissable:a=!1,isDismissable:l=!1,...o})=>{const f=F[n],[d,u]=j.useState(!0),g=b.useLocalizedStringFormatter(D);return d?s.jsxs("div",{...o,className:h.clsx(t.infoBanner,t[n],o.className),children:[s.jsx(f,{size:20,"aria-hidden":!0,className:t.icon}),s.jsxs("div",{className:t.content,children:[e&&s.jsx("strong",{className:t.heading,children:e}),s.jsxs("div",{className:t.text,children:[r,c]})]}),(a||l)&&s.jsx("div",{className:t.dismissable,children:s.jsx(m.Button,{variant:"icon","aria-label":g.format("close"),onPress:()=>u(!1),children:s.jsx(k.X,{size:20})})})]}):null};exports.InfoBanner=L;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { $ as
|
|
3
|
-
import
|
|
4
|
-
import { $ as
|
|
5
|
-
import { $ as
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { $ as c, a as $ } from "./utils-DJhAJHk_.js";
|
|
2
|
+
import { $ as u } from "./Hidden-C9KWUR7b.js";
|
|
3
|
+
import l, { createContext as b } from "react";
|
|
4
|
+
import { $ as v } from "./useHover-DQvJ3Y-W.js";
|
|
5
|
+
import { $ as m } from "./useFocusRing-DOfBqnUN.js";
|
|
6
|
+
import { a as x } from "./mergeProps-C1U1OIeJ.js";
|
|
7
|
+
const H = /* @__PURE__ */ b({});
|
|
8
|
+
let p = (d) => {
|
|
8
9
|
let { onHoverStart: e, onHoverChange: a, onHoverEnd: t, ...o } = d;
|
|
9
10
|
return o;
|
|
10
11
|
};
|
|
11
|
-
const
|
|
12
|
+
const V = /* @__PURE__ */ u(function(e, a) {
|
|
12
13
|
[e, a] = c(e, a, H);
|
|
13
|
-
let { hoverProps: t, isHovered: o } =
|
|
14
|
+
let { hoverProps: t, isHovered: o } = v(e), { isFocused: i, isFocusVisible: r, focusProps: f } = m({
|
|
14
15
|
isTextInput: !0,
|
|
15
16
|
autoFocus: e.autoFocus
|
|
16
17
|
}), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", n = $({
|
|
@@ -24,8 +25,8 @@ const E = /* @__PURE__ */ l(function(e, a) {
|
|
|
24
25
|
},
|
|
25
26
|
defaultClassName: "react-aria-Input"
|
|
26
27
|
});
|
|
27
|
-
return /* @__PURE__ */
|
|
28
|
-
...
|
|
28
|
+
return /* @__PURE__ */ l.createElement("input", {
|
|
29
|
+
...x(p(e), f, t),
|
|
29
30
|
...n,
|
|
30
31
|
ref: a,
|
|
31
32
|
"data-focused": i || void 0,
|
|
@@ -37,5 +38,5 @@ const E = /* @__PURE__ */ l(function(e, a) {
|
|
|
37
38
|
});
|
|
38
39
|
export {
|
|
39
40
|
H as $,
|
|
40
|
-
|
|
41
|
+
V as a
|
|
41
42
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const c=require("./utils-DHNZrQmj.cjs"),l=require("./Hidden-BxRZGdEW.cjs"),n=require("react"),b=require("./useHover-BE_XKZKe.cjs"),v=require("./useFocusRing-B-A1OLhU.cjs"),x=require("./mergeProps-B5KXZAI3.cjs"),f=n.createContext({});let H=t=>{let{onHoverStart:e,onHoverChange:a,onHoverEnd:o,...d}=t;return d};const F=l.$f39a9eba43920ace$export$86427a43e3e48ebb(function(e,a){[e,a]=c.$64fa3d84918910a7$export$29f1550f4b0d4415(e,a,f);let{hoverProps:o,isHovered:d}=b.$6179b936705e76d3$export$ae780daf29e6d456(e),{isFocused:i,isFocusVisible:r,focusProps:u}=v.$f7dceffc5ad7768b$export$4e328f61c538687f({isTextInput:!0,autoFocus:e.autoFocus}),s=!!e["aria-invalid"]&&e["aria-invalid"]!=="false",$=c.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:{isHovered:d,isFocused:i,isFocusVisible:r,isDisabled:e.disabled||!1,isInvalid:s},defaultClassName:"react-aria-Input"});return n.createElement("input",{...x.$3ef42575df84b30b$export$9d1611c77c2fe928(H(e),u,o),...$,ref:a,"data-focused":i||void 0,"data-disabled":e.disabled||void 0,"data-hovered":d||void 0,"data-focus-visible":r||void 0,"data-invalid":s||void 0})});exports.$3985021b0ad6602f$export$37fb8590cf2c088c=f;exports.$3985021b0ad6602f$export$f5b8910cec6cf069=F;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require('./assets/Label.css');const t=require("react/jsx-runtime"),l=require("react"),p=require("./clsx-C11secjj.cjs"),b=require("./Button-DExMoP5f.cjs"),f=require("./Popover-CnAsw3wI.cjs"),d=require("./Button-BXY5ZhqI.cjs"),v=require("./Dialog-CSnN6baf.cjs"),g=require("./info-CIEIENo6.cjs"),m=require("./useLocalizedStringFormatter-BO2iZEL0.cjs");function x(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const P=x(l),j="_labelBase_khdpe_4",_={labelBase:j},I="_labelPopover_1ici8_4",q="_labelPopoverTrigger_1ici8_10",u={labelPopover:I,labelPopoverTrigger:q},L={moreInfo:"More info"},O={moreInfo:"Mer information"},T={en:L,sv:O},$=({children:e,"aria-label":o})=>{const[r,s]=l.useState(!1),n=l.useContext(c),a=m.useLocalizedStringFormatter(T);return t.jsxs(v.$de32f1b87079253c$export$2e1e1122cf0cba88,{isOpen:r,onOpenChange:s,children:[t.jsx(d.Button,{variant:"icon",size:"medium",className:u.labelPopoverTrigger,"aria-label":o||a.format("moreInfo"),id:n==null?void 0:n.popoverId,children:t.jsx(g.Info,{size:20})}),t.jsx(f.Popover,{children:e})]})},c=l.createContext(void 0),y=({children:e,popover:o})=>{const r=l.useId();return o?t.jsx(c.Provider,{value:{popoverId:r},children:t.jsxs("div",{className:u.labelPopover,children:[e,t.jsx($,{...o})]})}):e},i="label",B=({children:e,className:o,elementType:r=i,...s})=>{const n={className:p.clsx(_.labelBase,o),elementType:r||i,...s},a=P.useContext(c);return t.jsx(b.$01b77f81d0f07f68$export$b04be29aa201d4f5,{...n,"aria-describedby":a==null?void 0:a.popoverId,children:e})};exports.Label=B;exports.LabelWrapper=y;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { jsxs as c, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import * as f from "react";
|
|
3
|
+
import n from "react";
|
|
4
|
+
import { c as b } from "./clsx-OuTLNxxd.js";
|
|
5
|
+
import { d } from "./Button-CFYdzG0H.js";
|
|
6
|
+
import { P as v } from "./Popover-C8VY1YKi.js";
|
|
7
|
+
import { B as u } from "./Button-BZUo7vsZ.js";
|
|
8
|
+
import { $ as P } from "./Dialog-CtVrVuMr.js";
|
|
9
|
+
import { I as g } from "./info-BZwphdye.js";
|
|
10
|
+
import { u as _ } from "./useLocalizedStringFormatter-N0AyjzbM.js";
|
|
11
|
+
import './assets/Label.css';const I = "_labelBase_khdpe_4", x = {
|
|
12
|
+
labelBase: I
|
|
13
|
+
}, $ = "_labelPopover_1ici8_4", L = "_labelPopoverTrigger_1ici8_10", m = {
|
|
14
|
+
labelPopover: $,
|
|
15
|
+
labelPopoverTrigger: L
|
|
16
|
+
}, T = {
|
|
17
|
+
moreInfo: "More info"
|
|
18
|
+
}, B = {
|
|
19
|
+
moreInfo: "Mer information"
|
|
20
|
+
}, h = {
|
|
21
|
+
en: T,
|
|
22
|
+
sv: B
|
|
23
|
+
}, C = ({
|
|
24
|
+
children: e,
|
|
25
|
+
"aria-label": o
|
|
26
|
+
}) => {
|
|
27
|
+
const [s, l] = n.useState(!1), a = n.useContext(i), t = _(h);
|
|
28
|
+
return /* @__PURE__ */ c(
|
|
29
|
+
P,
|
|
30
|
+
{
|
|
31
|
+
isOpen: s,
|
|
32
|
+
onOpenChange: l,
|
|
33
|
+
children: [
|
|
34
|
+
/* @__PURE__ */ r(
|
|
35
|
+
u,
|
|
36
|
+
{
|
|
37
|
+
variant: "icon",
|
|
38
|
+
size: "medium",
|
|
39
|
+
className: m.labelPopoverTrigger,
|
|
40
|
+
"aria-label": o || t.format("moreInfo"),
|
|
41
|
+
id: a == null ? void 0 : a.popoverId,
|
|
42
|
+
children: /* @__PURE__ */ r(g, { size: 20 })
|
|
43
|
+
}
|
|
44
|
+
),
|
|
45
|
+
/* @__PURE__ */ r(v, { children: e })
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
);
|
|
49
|
+
}, i = n.createContext(void 0), S = ({ children: e, popover: o }) => {
|
|
50
|
+
const s = n.useId();
|
|
51
|
+
return o ? /* @__PURE__ */ r(i.Provider, { value: { popoverId: s }, children: /* @__PURE__ */ c("div", { className: m.labelPopover, children: [
|
|
52
|
+
e,
|
|
53
|
+
/* @__PURE__ */ r(C, { ...o })
|
|
54
|
+
] }) }) : e;
|
|
55
|
+
}, p = "label", W = ({
|
|
56
|
+
children: e,
|
|
57
|
+
className: o,
|
|
58
|
+
elementType: s = p,
|
|
59
|
+
...l
|
|
60
|
+
}) => {
|
|
61
|
+
const a = {
|
|
62
|
+
className: b(x.labelBase, o),
|
|
63
|
+
elementType: s || p,
|
|
64
|
+
...l
|
|
65
|
+
}, t = f.useContext(i);
|
|
66
|
+
return /* @__PURE__ */ r(
|
|
67
|
+
d,
|
|
68
|
+
{
|
|
69
|
+
...a,
|
|
70
|
+
"aria-describedby": t == null ? void 0 : t.popoverId,
|
|
71
|
+
children: e
|
|
72
|
+
}
|
|
73
|
+
);
|
|
74
|
+
};
|
|
75
|
+
export {
|
|
76
|
+
W as L,
|
|
77
|
+
S as a
|
|
78
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";require('./assets/Layout.css');const e=require("react/jsx-runtime"),I=require("./GridItem-XgHmZWXY.cjs"),$=require("react"),p=require("./clsx-C11secjj.cjs"),L=require("./Button-BXY5ZhqI.cjs"),C=require("./Link-CidjjqHb.cjs"),M=require("./Tooltip-pN5W3IK6.cjs"),j=require("./BadgeContainer-I1XA3OCl.cjs"),y=require("./createLucideIcon-Cg_wkoIA.cjs"),T=require("./usePress-BooY_CAy.cjs"),g=require("./useLocalizedStringFormatter-BO2iZEL0.cjs"),H=require("./tokens-BghDnMdO.cjs"),k=require("./Logo-BpH0HC91.cjs"),G=require("./x-H8Zrx8-x.cjs");function D(a){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const o in a)if(o!=="default"){const n=Object.getOwnPropertyDescriptor(a,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:()=>a[o]})}}return t.default=a,Object.freeze(t)}const _=D($);/**
|
|
2
|
+
* @license lucide-react v0.453.0 - ISC
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the ISC license.
|
|
5
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/const F=y.createLucideIcon("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
|
|
7
|
+
* @license lucide-react v0.453.0 - ISC
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the ISC license.
|
|
10
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/const R=y.createLucideIcon("PanelLeftClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]]);/**
|
|
12
|
+
* @license lucide-react v0.453.0 - ISC
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the ISC license.
|
|
15
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
+
*/const W=y.createLucideIcon("PanelLeftOpen",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]]),A="_baseLayout_12xoh_4",X="_mainContent_12xoh_13",J="_header_12xoh_18",K="_headerExternal_12xoh_29",Q="_headerContent_12xoh_44",U="_logo_12xoh_63",V="_headerItems_12xoh_72",Y="_toggleButton_12xoh_78",Z="_sidebar_12xoh_86",ee="_main_12xoh_13",se="_app_12xoh_123",ae="_sidebarOpened_12xoh_132",te="_sidebarHeader_12xoh_136",ne="_appName_12xoh_148",oe="_collapseButton_12xoh_155",re="_sidebarCollapsed_12xoh_164",ie="_userName_12xoh_174",le="_userTitle_12xoh_193",ce="_title_12xoh_205",de="_sidebarNav_12xoh_216",xe="_list_12xoh_222",me="_listGroupTitle_12xoh_229",ue="_listItem_12xoh_236",pe="_listItemCollapsed_12xoh_241",he="_listLink_12xoh_245",_e="_listLinkCollapsed_12xoh_290",be="_active_12xoh_295",je="_backdrop_12xoh_309",ve="_backdropOpened_12xoh_319",fe="_skipToContent_12xoh_337",ge="_navbar_12xoh_351",Ne="_navbarList_12xoh_363",ke="_navbarItem_12xoh_385",Ce="_headerContentExternal_12xoh_425",Le="_logoExternalContainer_12xoh_433",ye="_logoExternal_12xoh_433",Se="_logoExternalDesktop_12xoh_445",Ee="_navbarWrapper_12xoh_454",s={baseLayout:A,mainContent:X,header:J,headerExternal:K,headerContent:Q,logo:U,headerItems:V,toggleButton:Y,sidebar:Z,main:ee,app:se,sidebarOpened:ae,sidebarHeader:te,appName:ne,collapseButton:oe,sidebarCollapsed:re,userName:ie,userTitle:le,title:ce,sidebarNav:de,list:xe,listGroupTitle:me,listItem:ue,listItemCollapsed:pe,listLink:he,listLinkCollapsed:_e,active:be,backdrop:je,backdropOpened:ve,skipToContent:fe,navbar:ge,navbarList:Ne,navbarItem:ke,headerContentExternal:Ce,logoExternalContainer:Le,logoExternal:ye,logoExternalDesktop:Se,navbarWrapper:Ee},P=_.createContext(void 0),Ie=({items:a,title:t,user:o,app:n,children:r,clientSideRouter:l,clientSideHref:i,headerChildren:x,isCollapsed:m,setIsCollapsed:u,isOpened:b,setIsOpened:d,variant:h,id:v})=>e.jsx(P.Provider,{value:{items:a,title:t,user:o,app:n,headerChildren:x,isCollapsed:m,setIsCollapsed:u,isOpened:b,setIsOpened:d,clientSideRouter:l,clientSideHref:i,variant:h,id:v},children:r}),f=()=>{const a=_.useContext(P);if(!a)throw new Error("useLayoutContext must be used within a LayoutProvider");return a},S=({title:a,href:t,icon:o,active:n,hasBadge:r})=>{const{isCollapsed:l,setIsOpened:i}=f(),[x,m]=_.useState(!1);return _.useEffect(()=>{typeof window<"u"&&m(n??window.location.pathname===t)},[n,t]),l?e.jsxs(M.TooltipTrigger,{children:[e.jsx(C.$4f118338184dc1d9$export$a6c7ac8248d6e38a,{href:t,"aria-label":a,className:p.clsx(s.listLink,s.listLinkCollapsed,x&&s.active),onPress:()=>i==null?void 0:i(!1),children:e.jsxs(j.BadgeContainer,{children:[e.jsx(o,{size:20,"aria-label":a}),r&&e.jsx(j.Badge,{})]})}),e.jsx(M.Tooltip,{placement:"right",children:a})]}):e.jsxs(C.$4f118338184dc1d9$export$a6c7ac8248d6e38a,{href:t,"aria-label":a,className:p.clsx(s.listLink,x&&s.active),onPress:()=>i==null?void 0:i(!1),children:[e.jsxs(j.BadgeContainer,{children:[e.jsx(o,{size:20}),r&&e.jsx(j.Badge,{})]}),a]})},Me={closeMenu:"Close menu",openMenu:"Open menu",maximizeMenu:"Maximize menu",minimizeMenu:"Minimize menu",sidebarMenu:"Sidebar menu",bottomMenu:"Bottom menu",skipToContent:"Skip to main content"},ze={closeMenu:"Stäng meny",openMenu:"Öppna meny",maximizeMenu:"Maximera meny",minimizeMenu:"Minimera meny",sidebarMenu:"Sidomeny",bottomMenu:"Bottenmeny",skipToContent:"Hoppa till huvudinnehåll"},N={en:Me,sv:ze},q=()=>{const{items:a,app:t,isOpened:o,isCollapsed:n,setIsCollapsed:r,setIsOpened:l,clientSideRouter:i,clientSideHref:x,id:m}=f(),u=g.useLocalizedStringFormatter(N),b=({group:d})=>e.jsx("ul",{className:s.list,children:d.items.map((h,v)=>e.jsx("li",{className:p.clsx(s.listItem,n&&s.listItemCollapsed),children:e.jsx(S,{...h})},"link_"+v))});return _.useEffect(()=>{const d=h=>{h.key==="Escape"&&l!==void 0&&l(!1)};return window.addEventListener("keydown",d),()=>{window.removeEventListener("keydown",d)}},[l]),e.jsxs("aside",{id:m,className:p.clsx(s.sidebar,n&&s.sidebarCollapsed,o&&s.sidebarOpened),children:[e.jsxs("div",{className:s.sidebarHeader,children:[!n&&e.jsx("p",{className:s.appName,children:t.name}),e.jsx(L.Button,{variant:"icon","aria-label":n?u.format("maximizeMenu"):u.format("minimizeMenu"),onPress:()=>r(!n),className:s.collapseButton,children:n?e.jsx(W,{size:20}):e.jsx(R,{size:20})})]}),e.jsx("nav",{className:s.sidebarNav,"aria-label":u.format("sidebarMenu"),children:e.jsx("ul",{className:s.list,children:a.map((d,h)=>e.jsxs("li",{children:[d.title&&!n&&e.jsx("p",{className:s.listGroupTitle,children:d.title}),i?e.jsx(T.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb,{navigate:i,useHref:x,children:e.jsx(b,{group:d})}):e.jsx(b,{group:d})]},"list_"+h))})})]})},w=()=>{const{title:a,user:t,app:o,isOpened:n,setIsOpened:r,setIsCollapsed:l,headerChildren:i,variant:x,id:m}=f(),u=g.useLocalizedStringFormatter(N);return x==="external"?e.jsx("header",{className:p.clsx(s.header,s.headerExternal),children:e.jsxs("div",{className:s.headerContentExternal,children:[e.jsxs("div",{className:s.logoExternalContainer,children:[e.jsx(k.Logo,{size:"x-small",padding:!1,className:s.logoExternal}),e.jsx(k.Logo,{size:"small",padding:!1,className:s.logoExternalDesktop}),e.jsxs("div",{children:[e.jsx("p",{className:s.userName,children:t.name}),e.jsx("p",{className:s.userTitle,children:t.title})]})]}),e.jsx("div",{className:s.headerItems,children:i})]})}):e.jsxs("header",{className:s.header,style:{borderTop:`solid 4px ${o.color?o.color:H.semantic.brandPrimary}`},children:[e.jsxs("div",{className:s.headerContent,children:[e.jsx("div",{className:s.logo,children:e.jsx(k.Logo,{size:"small",padding:!1})}),n!==void 0&&e.jsx(L.Button,{variant:"icon",className:s.toggleButton,"aria-label":n?u.format("closeMenu"):u.format("openMenu"),"aria-controls":m,onPressStart:()=>{l(!1),r==null||r(!0)},children:n?e.jsx(G.X,{size:20,"aria-hidden":"true"}):e.jsx(F,{size:20,"aria-hidden":"true"})}),e.jsxs("div",{children:[e.jsx("p",{className:s.userName,children:t.name}),e.jsx("p",{className:s.userTitle,children:t.title}),e.jsx("p",{className:s.title,children:a})]})]}),e.jsx("div",{className:s.headerItems,children:i})]})},z=({id:a="#main:first-of-type"})=>{const t=()=>{const n=document.querySelector(a);n&&(n.tabIndex=-1,n.focus(),setTimeout(()=>n.removeAttribute("tabindex"),1e3))},o=g.useLocalizedStringFormatter(N);return e.jsx(L.Button,{onPress:t,className:s.skipToContent,children:o.format("skipToContent")})},Be=()=>{const{isOpened:a,setIsOpened:t}=f();return a?e.jsx("div",{className:p.clsx(s.backdrop,s.backdropOpened),onClick:()=>{t==null||t(!1)},"aria-hidden":!0}):null},O=()=>{var l;const{items:a,clientSideRouter:t,clientSideHref:o}=f(),n=g.useLocalizedStringFormatter(N),r=(l=a.at(0))==null?void 0:l.items;return e.jsx("nav",{className:s.navbar,"aria-label":n.format("bottomMenu"),children:r&&e.jsx("ul",{className:p.clsx(s.navbarList),children:t?e.jsx(T.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb,{navigate:t,useHref:o,children:e.jsx(B,{items:r})}):e.jsx(B,{items:r})})})},B=({items:a})=>e.jsx(e.Fragment,{children:a.map(({href:t,active:o,icon:n,title:r,hasBadge:l},i)=>e.jsx("li",{children:e.jsxs(C.$4f118338184dc1d9$export$a6c7ac8248d6e38a,{href:t,className:p.clsx(s.navbarItem),"data-active":o,"aria-current":o&&"page",children:[e.jsxs(j.BadgeContainer,{children:[e.jsx(n,{size:20}),l&&e.jsx(j.Badge,{})]}),r]})},i))}),c=({items:a,title:t,user:o,app:n,children:r,headerChildren:l,clientSideRouter:i,clientSideHref:x,variant:m,className:u})=>{const[b,d]=_.useState(!1),[h,v]=_.useState(!1),E=_.useId();return m==="external"?e.jsx(c.Provider,{items:a,title:t,user:o,app:n,clientSideRouter:i,clientSideHref:x,headerChildren:l,isCollapsed:b,setIsCollapsed:d,variant:m,id:E,children:e.jsxs("div",{className:p.clsx(s.baseLayout,u),children:[e.jsx(z,{}),e.jsx(c.Header,{}),e.jsxs("div",{className:s.mainContent,children:[e.jsx(c.Sidebar,{}),e.jsx(I.GridItem,{children:e.jsx("main",{className:s.main,children:e.jsx("div",{className:s.app,children:r})})}),e.jsx(c.Backdrop,{})]}),e.jsx("div",{className:s.navbarWrapper,children:e.jsx(c.Navbar,{})})]})}):e.jsx(c.Provider,{items:a,title:t,user:o,app:n,clientSideRouter:i,clientSideHref:x,headerChildren:l,isCollapsed:b,setIsCollapsed:d,isOpened:h,setIsOpened:v,variant:m,id:E,children:e.jsxs("div",{className:p.clsx(s.baseLayout,u),children:[e.jsx(z,{}),e.jsx(c.Header,{}),e.jsxs("div",{className:s.mainContent,children:[e.jsx(c.Sidebar,{}),e.jsx(I.GridItem,{children:e.jsx("main",{className:s.main,children:e.jsx("div",{className:s.app,children:r})})}),e.jsx(c.Backdrop,{})]})]})})};c.Provider=Ie;c.Header=w;c.Sidebar=q;c.SidebarLink=S;c.Navbar=O;c.Backdrop=Be;exports.Header=w;exports.Layout=c;exports.Navbar=O;exports.Sidebar=q;exports.SidebarLink=S;
|