@midas-ds/components 11.2.0 → 12.0.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-DEiRuizp.js +361 -0
- package/AccordionItem-Dhr7uo8u.cjs +1 -0
- package/BadgeContainer-CxVmqJ7g.cjs +1 -0
- package/BadgeContainer-DGJGJMPi.js +37 -0
- package/{Breadcrumbs-BBzSV4SK.js → Breadcrumbs-CEyKlcGU.js} +11 -11
- package/{Breadcrumbs-CFUryOhf.cjs → Breadcrumbs-CnGzvtbn.cjs} +1 -1
- package/{Button-Dq6ugqxT.cjs → Button-DQm2iqKU.cjs} +1 -1
- package/{Button-DExMoP5f.cjs → Button-DZzQGk-L.cjs} +1 -1
- package/{Button-CepQFEit.js → Button-DtC_ZOyd.js} +12 -12
- package/{Button-BjMaGya2.js → Button-akT6Hvug.js} +1 -1
- package/CHANGELOG.md +49 -0
- package/{Card-BRs1FKX5.js → Card-CwwVnA_a.js} +5 -5
- package/Card-DPfOZC7f.cjs +1 -0
- package/{CharacterCounter-DpBDwvLw.js → CharacterCounter-DPphWPzA.js} +5 -5
- package/{CharacterCounter-DSFBv3Rw.cjs → CharacterCounter-DQJVM-mZ.cjs} +1 -1
- package/{Checkbox-EB_SCBEo.js → Checkbox-BN_3F2Hl.js} +21 -21
- package/{Checkbox-Co3h0hur.cjs → Checkbox-CZtCj4yR.cjs} +1 -1
- package/{CheckboxGroup-DvrN1oyw.js → CheckboxGroup--xgOT1Do.js} +11 -11
- package/{CheckboxGroup-CT_eqERw.cjs → CheckboxGroup-DGHaqRvb.cjs} +1 -1
- package/{Collection-BtBX5IMY.cjs → Collection-B1xL4EdF.cjs} +1 -1
- package/{Collection-D2jVTmDW.js → Collection-C5vE9MtJ.js} +11 -11
- package/{ColorSchemeSwitch-owUryjYz.cjs → ColorSchemeSwitch-DtyJ9-5B.cjs} +3 -3
- package/{ColorSchemeSwitch-PiEHptw1.js → ColorSchemeSwitch-DyZ9FAKG.js} +12 -12
- package/{ComboBox-DfJ_aJrf.js → ComboBox-Dn3tQzri.js} +93 -97
- package/{ComboBox-D_jh7TKo.cjs → ComboBox-UadZMhiR.cjs} +1 -1
- package/{DateField-BURrxhil.cjs → DateField-CNEoLyf5.cjs} +1 -1
- package/{DateField-DKCbEonm.js → DateField-CZmLugT0.js} +4 -4
- package/{DateInputDivider-ToFY-yjB.cjs → DateInputDivider-CCjiq90K.cjs} +1 -1
- package/{DateInputDivider-BmvqW1Hk.js → DateInputDivider-CJEGWmG0.js} +22 -22
- package/{DateRangePicker-DkIAEIIj.cjs → DateRangePicker-DhgLEa9P.cjs} +2 -2
- package/{DateRangePicker-B5vx9onl.js → DateRangePicker-WQ97Psz7.js} +22 -22
- package/{Dialog-DtHk3eXI.cjs → Dialog-BT0tVGQb.cjs} +1 -1
- package/{Dialog-D5c_dUnB.js → Dialog-BuJdAr0D.js} +48 -48
- package/Dialog-DYK8lySl.cjs +1 -0
- package/Dialog-L53DWF0Z.js +220 -0
- package/{DragAndDrop-DOXLfJaA.js → DragAndDrop-DKxsUpmW.js} +9 -9
- package/{DragAndDrop-CSg60YQE.cjs → DragAndDrop-Dgfq6uJ0.cjs} +1 -1
- package/{Dropdown-Cpc2EszJ.js → Dropdown-BWbdSQ9U.js} +35 -34
- package/Dropdown-CJ-sujKv.cjs +6 -0
- package/FieldError-BlKkw9YL.js +46 -0
- package/{FieldError-Bv3Q6ZP-.cjs → FieldError-BvU0sueN.cjs} +1 -1
- package/{FileUpload-BokzdXVc.js → FileUpload-B89QfnCB.js} +13 -13
- package/{FileUpload-Bz9md5zc.cjs → FileUpload-KQ1XAKAc.cjs} +1 -1
- package/{FocusScope-vcXLOQiu.cjs → FocusScope-CAgWgk3N.cjs} +1 -1
- package/{FocusScope-DMsfA3bj.js → FocusScope-CEgd3xCY.js} +17 -17
- package/{Grid--OhtgCo6.js → Grid-B2av0vt8.js} +6 -9
- package/Grid-Db5wZrw6.cjs +1 -0
- package/{GridItem-XgHmZWXY.cjs → GridItem-BnyULDnc.cjs} +1 -1
- package/{GridItem-DlbSdRmB.js → GridItem-orSzD7H5.js} +27 -30
- package/{Group-B0vQfHDy.js → Group-B3mRMVy7.js} +11 -11
- package/{Group-DOpbdoAi.cjs → Group-Cdy6z9ra.cjs} +1 -1
- package/{Heading-D2y_kiC0.js → Heading-DDhdwRAW.js} +7 -7
- package/Heading-OUPkdoEJ.cjs +1 -0
- package/{Hidden-C9KWUR7b.js → Hidden-B5ir3Lei.js} +2 -2
- package/InfoBanner-DpLcq_1R.cjs +1 -0
- package/InfoBanner-U5hxOipC.js +99 -0
- package/{Input-n-Z20KbW.js → Input-BnpBRnJz.js} +9 -9
- package/{Input-MJji5hhq.cjs → Input-DIhhWEPW.cjs} +1 -1
- package/{Label-endv1fkJ.js → Label-ByWt6Lfh.js} +24 -24
- package/Label-COpr4xVt.cjs +1 -0
- package/{Layout-D0E1fOgZ.cjs → Layout-BR3Or1Ga.cjs} +2 -2
- package/{Layout-DtyhUz-G.js → Layout-Bdqauktv.js} +17 -17
- package/{Link-CibH8uRY.js → Link-CM2N5Jq-.js} +7 -7
- package/{Link-ovwNVMfg.js → Link-Dnnv00g9.js} +1 -1
- package/{Link-ESjrl63P.cjs → Link-Dq8IFDBx.cjs} +1 -1
- package/{Link-CidjjqHb.cjs → Link-ceVlGaWQ.cjs} +1 -1
- package/{LinkButton-B6AWNiRn.cjs → LinkButton-BJA9_HzL.cjs} +1 -1
- package/{LinkButton-BkZULm2a.js → LinkButton-DH3Nfdis.js} +1 -1
- package/{ListBox-B0E1hdEt.cjs → ListBox-D0u9svwm.cjs} +1 -1
- package/{ListBox-Djy7244v.js → ListBox-y_dw__MI.js} +16 -16
- package/{ListBoxButton-CIqNRR3y.cjs → ListBoxButton-C2zp-gXD.cjs} +1 -1
- package/{ListBoxButton-sqirI6I4.js → ListBoxButton-DiseS_LX.js} +1 -1
- package/{ListBoxSection-Cicbu8pS.js → ListBoxSection-Cv-gN76G.js} +9 -9
- package/{ListBoxSection-BYJccE4T.cjs → ListBoxSection-DtsigmC1.cjs} +1 -1
- package/{ListKeyboardDelegate-ZKBk2IId.cjs → ListKeyboardDelegate-fZKXmHAk.cjs} +1 -1
- package/{ListKeyboardDelegate-CHki611g.js → ListKeyboardDelegate-mcrZobNa.js} +2 -2
- package/{Logo-BpH0HC91.cjs → Logo-BW5NXAdu.cjs} +1 -1
- package/{Logo-ME4ffCue.js → Logo-qkVS1MCN.js} +1 -1
- package/{OverlayArrow-DpZ1FqOd.cjs → OverlayArrow-8praV_Xy.cjs} +1 -1
- package/{OverlayArrow-DB_aVTVM.js → OverlayArrow-DfkRZlgG.js} +4 -4
- package/{Popover-BDvKByTT.cjs → Popover-C5chAY42.cjs} +1 -1
- package/{Popover-Tniqbaes.js → Popover-viLqHHX2.js} +2 -2
- package/{PressResponder-C3APAKsz.js → PressResponder-B_Zqu7b1.js} +9 -9
- package/PressResponder-Bm3_RM9c.cjs +1 -0
- package/{ProgressBar-ClysdvqU.cjs → ProgressBar-D5mNQTID.cjs} +1 -1
- package/{ProgressBar-DTn23Zkr.js → ProgressBar-wQirOG1N.js} +2 -2
- package/{Radio-CCN3o3s-.js → Radio-BIomn_sP.js} +23 -23
- package/{Radio-Cz0vLIBw.cjs → Radio-CxvJ5Wrl.cjs} +1 -1
- package/{RangeCalendar-BY82hPRu.cjs → RangeCalendar-BvvZ2SBj.cjs} +1 -1
- package/{RangeCalendar-BCruEq9d.js → RangeCalendar-DGGMbb0j.js} +19 -19
- package/{SSRProvider-40TXmsUG.js → SSRProvider-D8lZ0o6A.js} +5 -5
- package/{SSRProvider-Bc-sMhsT.cjs → SSRProvider-DZRLwxPS.cjs} +1 -1
- package/{SearchField-nwlyszwt.js → SearchField-B0dlPqsW.js} +6 -6
- package/{SearchField-QFyuaT-K.cjs → SearchField-Ma3KB8Em.cjs} +2 -2
- package/{Select-MwvnbChP.js → Select-769RSZ9V.js} +114 -114
- package/{Select-lhIwwJL7.cjs → Select-Go5x0zWl.cjs} +1 -1
- package/{SelectionManager-BKrZ_mMO.js → SelectionManager-BdKKuso-.js} +9 -9
- package/{SelectionManager-BJjqIWtf.cjs → SelectionManager-BvREZgeu.cjs} +1 -1
- package/{Separator-DvvVAypT.js → Separator-CggS0R7Q.js} +4 -4
- package/{Separator-DPLEx950.cjs → Separator-DBsDhqCr.cjs} +1 -1
- package/{Spinner-VSyPhiJ9.js → Spinner-AXFRWuT6.js} +2 -2
- package/{Spinner-vof0Y9Hh.cjs → Spinner-yHx_DX_4.cjs} +1 -1
- package/TabList-0gj27e_e.js +386 -0
- package/TabList-Cqpup53E.cjs +1 -0
- package/Table-BhtlNY9P.cjs +16 -0
- package/{Table-DGTwyh7U.js → Table-CTS0J_sQ.js} +289 -268
- package/{Tag-rI-NhuT0.js → Tag-B9M-nBTM.js} +49 -49
- package/{Tag-bYq-wf5D.cjs → Tag-DkW6zaIS.cjs} +1 -1
- package/{Text-DcZqSUN9.js → Text--KL3Auo7.js} +3 -3
- package/{Text-BPcfhYQ9.js → Text-BUDAzDjW.js} +1 -1
- package/{Text-DBHWi5gA.cjs → Text-DA_gK6a2.cjs} +1 -1
- package/{Text-CfcjRtke.cjs → Text-wuw0HQoa.cjs} +1 -1
- package/TextArea-CSrrYY05.cjs +1 -0
- package/{TextArea-CrEALC58.js → TextArea-DphcH6wE.js} +16 -16
- package/{TextField-Dma22dnD.js → TextField-CsyRTSEG.js} +13 -13
- package/{TextField-BAX93sq7.cjs → TextField-P5yICj5z.cjs} +1 -1
- package/Toast-BEh5yYzO.cjs +1 -0
- package/{Toast-CWt_mNIg.js → Toast-BnzpC_5v.js} +130 -137
- package/{ToggleButtonGroup-DZ_wo0qx.cjs → ToggleButtonGroup-BwFAhFEi.cjs} +1 -1
- package/{ToggleButtonGroup-98z8Dw8-.js → ToggleButtonGroup-CuxAKB3-.js} +7 -7
- package/{Tooltip-pN5W3IK6.cjs → Tooltip-Bz0xCZSw.cjs} +1 -1
- package/{Tooltip-DjNc93tV.js → Tooltip-EuEQtHZj.js} +12 -12
- package/{VisuallyHidden-CYfmTSCD.js → VisuallyHidden-BKslUoMJ.js} +8 -8
- package/{VisuallyHidden-Doyzl0F7.cjs → VisuallyHidden-DxDOcIsh.cjs} +1 -1
- package/accordion/Accordion.d.ts +8 -2
- package/accordion/AccordionContext.d.ts +4 -0
- package/accordion/AccordionItem.d.ts +6 -4
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +1 -1
- package/assets/AccordionItem.css +1 -1
- package/assets/BadgeContainer.css +1 -1
- package/assets/Button.css +1 -1
- package/assets/DateRangePicker.css +1 -1
- package/assets/Dialog.css +1 -1
- package/assets/LinkButton.css +1 -1
- package/assets/Table.css +1 -1
- package/assets/theme.css +1 -0
- package/badge/index.cjs +1 -1
- package/badge/index.js +1 -1
- package/breadcrumbs/Breadcrumbs.d.ts +0 -2
- package/breadcrumbs/index.cjs +1 -1
- package/breadcrumbs/index.js +1 -1
- package/button/index.cjs +1 -1
- package/button/index.js +1 -1
- package/calendar/index.cjs +1 -1
- package/calendar/index.js +1 -1
- package/card/index.cjs +1 -1
- package/card/index.js +1 -1
- package/character-counter/index.cjs +1 -1
- package/character-counter/index.js +1 -1
- package/checkbox/index.cjs +1 -1
- package/checkbox/index.js +2 -2
- package/color-scheme-switch/index.cjs +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/combobox/ComboBox.d.ts +0 -4
- package/combobox/index.cjs +1 -1
- package/combobox/index.d.ts +1 -2
- package/combobox/index.js +2 -3
- package/combobox/types.d.ts +0 -13
- package/common/icon-map.d.ts +6 -0
- package/common/types.d.ts +8 -0
- package/{context-CGNJ3grH.js → context-Dl_saGB6.js} +11 -11
- package/{context-Df3XbgBG.cjs → context-UOrD6Zxk.cjs} +1 -1
- package/date-field/index.cjs +1 -1
- package/date-field/index.js +2 -2
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +1 -1
- package/dropdown/Dropdown.d.ts +7 -1
- package/dropdown/index.cjs +1 -1
- package/dropdown/index.js +1 -1
- package/field-error/index.cjs +1 -1
- package/field-error/index.js +1 -1
- package/file-upload/index.cjs +1 -1
- package/file-upload/index.js +1 -1
- package/grid/Grid.d.ts +0 -8
- package/grid/GridItem.d.ts +0 -8
- package/grid/index.cjs +1 -1
- package/grid/index.d.ts +2 -2
- package/grid/index.js +4 -6
- package/heading/index.cjs +1 -1
- package/heading/index.js +1 -1
- package/icon-map-9XcghDra.cjs +11 -0
- package/icon-map-uS87FT_Q.js +43 -0
- package/{index-CGRFP4CC.js → index-BSMrH_Du.js} +7 -7
- package/{index-Dsz3aiWt.cjs → index-D97L3EBk.cjs} +2 -2
- package/index.cjs +1 -1
- package/index.js +108 -111
- package/inertValue-BWmZ1afe.cjs +1 -0
- package/info-banner/InfoBanner.d.ts +18 -10
- package/info-banner/index.cjs +1 -1
- package/info-banner/index.js +1 -1
- package/label/index.cjs +1 -1
- package/label/index.js +1 -1
- package/layout/index.cjs +1 -1
- package/layout/index.js +1 -1
- package/link/index.cjs +1 -1
- package/link/index.js +2 -2
- package/link-button/index.cjs +1 -1
- package/link-button/index.js +2 -2
- package/list-box/index.cjs +1 -1
- package/list-box/index.js +2 -2
- package/logo/index.cjs +1 -1
- package/logo/index.js +1 -1
- package/{mergeProps-C1U1OIeJ.js → mergeProps-BYJQ6N1s.js} +11 -11
- package/{mergeProps-B5KXZAI3.cjs → mergeProps-C7Sx47fA.cjs} +1 -1
- package/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/package.json +4 -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/index.cjs +1 -1
- package/radio/index.js +1 -1
- package/search-field/index.cjs +1 -1
- package/search-field/index.js +1 -1
- package/select/index.cjs +1 -1
- package/select/index.d.ts +1 -1
- package/select/index.js +1 -1
- package/select/types.d.ts +1 -13
- package/spinner/index.cjs +1 -1
- package/spinner/index.js +1 -1
- package/table/Table.d.ts +7 -12
- package/table/index.cjs +1 -1
- package/table/index.js +1 -1
- package/tabs/Tabs.d.ts +0 -12
- package/tabs/index.cjs +1 -1
- package/tabs/index.js +1 -1
- package/tag/Tag.d.ts +2 -1
- package/tag/index.cjs +1 -1
- package/tag/index.js +1 -1
- package/text/index.cjs +1 -1
- package/text/index.js +1 -1
- package/textfield/index.cjs +1 -1
- package/textfield/index.js +1 -1
- package/theme/index.cjs +1 -1
- package/theme/index.d.ts +36 -12
- package/theme/index.js +12 -11
- package/theme/tokens.d.ts +36 -18
- package/toast/Toast.d.ts +2 -1
- package/toast/index.cjs +1 -1
- package/toast/index.js +1 -1
- package/toggle-button/index.cjs +1 -1
- package/toggle-button/index.js +1 -1
- package/tokens-BWo7EvNX.cjs +1 -0
- package/{tokens-CqvelUoA.js → tokens-BtEBd3jO.js} +69 -31
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/{useButton-BoIV3kDJ.js → useButton-CWHoXYnj.js} +3 -3
- package/{useButton-D60q0SQw.cjs → useButton-CwOQUGtY.cjs} +1 -1
- package/{useDateFormatter-C7BJgoDR.js → useDateFormatter-DiIUdTak.js} +2 -2
- package/{useDateFormatter-BJBt0jk_.cjs → useDateFormatter-bzjwqA2K.cjs} +1 -1
- package/{useDescription-CPo72trh.cjs → useDescription-ByNlNIRU.cjs} +1 -1
- package/{useDescription-DYfKjGGU.js → useDescription-LmB1V4Tg.js} +1 -1
- package/useEvent-CGRyLM2c.cjs +1 -0
- package/{useEvent-CigwyJOw.js → useEvent-DqWz89vg.js} +1 -1
- package/{useField-CefQB81E.js → useField-5CEdtfab.js} +2 -2
- package/{useField-D1UkzeaI.cjs → useField-CoQAzygg.cjs} +1 -1
- package/{useFilter-DsOxD9JB.js → useFilter-BKQT28sh.js} +1 -1
- package/{useFilter-BhM2yVO3.cjs → useFilter-Bjh5dq2Q.cjs} +1 -1
- package/{useFocusRing-B-A1OLhU.cjs → useFocusRing-BM-zcH6L.cjs} +1 -1
- package/{useFocusRing-DOfBqnUN.js → useFocusRing-HoJn20X5.js} +2 -2
- package/{useFocusWithin-T1ifEM_s.js → useFocusWithin-Cn18Myw6.js} +1 -1
- package/{useFocusWithin-CG8mAt2D.cjs → useFocusWithin-o0WjCpEB.cjs} +1 -1
- package/{useFocusable-D7I1ujkW.cjs → useFocusable-DbmryjUH.cjs} +1 -1
- package/{useFocusable-BjE42axF.js → useFocusable-ZjCKo1ed.js} +14 -14
- package/{useFormValidation-BzzruZKm.js → useFormValidation-BW2NSTM4.js} +2 -2
- package/{useFormValidation-BlFGdPZB.cjs → useFormValidation-DSRwb9US.cjs} +1 -1
- package/useHasTabbableChild-CogBR_6o.cjs +1 -0
- package/{useHasTabbableChild-BgEe5J35.js → useHasTabbableChild-CyOmqumh.js} +2 -2
- package/{useHighlightSelectionDescription-DmbDkFGY.cjs → useHighlightSelectionDescription-DAhPdEG6.cjs} +1 -1
- package/{useHighlightSelectionDescription-xr_16pKd.js → useHighlightSelectionDescription-DTxHtOsw.js} +5 -5
- package/{useHover-BE_XKZKe.cjs → useHover-CaFzQrR_.cjs} +1 -1
- package/{useHover-DQvJ3Y-W.js → useHover-D8fja4GW.js} +6 -6
- package/{useLabels-CSU0kbtJ.cjs → useLabels-BtDN_ALM.cjs} +1 -1
- package/{useLabels-LrKQiY11.js → useLabels-DZlvh4P4.js} +1 -1
- package/{useListState-wLau6fXo.cjs → useListState-TtWy_rDI.cjs} +1 -1
- package/{useListState-B3c3xcNW.js → useListState-e7cL-FOK.js} +1 -1
- package/{useLocalizedStringFormatter-BO2iZEL0.cjs → useLocalizedStringFormatter-BSac43NO.cjs} +1 -1
- package/useLocalizedStringFormatter-CHAo1AyN.cjs +1 -0
- package/{useLocalizedStringFormatter-CL9MUZ8A.js → useLocalizedStringFormatter-CSEh15AZ.js} +1 -1
- package/{useLocalizedStringFormatter-N0AyjzbM.js → useLocalizedStringFormatter-aOhh7wdl.js} +1 -1
- package/useObserveElement-BzEr5D32.cjs +1 -0
- package/{usePress-BooY_CAy.cjs → usePress-BOGIOlm8.cjs} +2 -2
- package/{usePress-BW47IcyU.js → usePress-B_jgTf4k.js} +105 -105
- package/{useSingleSelectListState-DlO5H9N-.cjs → useSingleSelectListState-BiJMNaOl.cjs} +1 -1
- package/{useSingleSelectListState-DdBsBWKG.js → useSingleSelectListState-D7LjjoUJ.js} +1 -1
- package/{useTextField-DnRrCg5o.cjs → useTextField-BVIOd8Ld.cjs} +1 -1
- package/{useTextField-DjxayZsV.js → useTextField-DFkSHoQN.js} +11 -11
- package/{useUpdateEffect-C5YQs_1w.cjs → useUpdateEffect-sk3kiVGz.cjs} +1 -1
- package/{utils-DHNZrQmj.cjs → utils-BM2vxlNA.cjs} +1 -1
- package/{utils-Dvdohqm9.cjs → utils-C5-CzvX2.cjs} +1 -1
- package/{utils-CoCR_Fce.js → utils-CuqJqFqQ.js} +1 -1
- package/{utils-KLjWgdLR.js → utils-KYuflGZt.js} +10 -10
- package/AccordionItem-BPOQqTkQ.js +0 -323
- package/AccordionItem-CS-QKqrU.cjs +0 -1
- package/BadgeContainer-CKBIZWsc.js +0 -37
- package/BadgeContainer-DWVHS5dn.cjs +0 -1
- package/Card-cdL5669N.cjs +0 -1
- package/Dialog-CxHiZorC.cjs +0 -1
- package/Dialog-DuGcBeNN.js +0 -212
- package/Dropdown-CYakzdJg.cjs +0 -6
- package/FieldError-CDCvUjK5.js +0 -46
- package/Grid-DVQtOcu9.cjs +0 -1
- package/Heading-CKTR4sOz.cjs +0 -1
- package/InfoBanner-CzwbOdRG.cjs +0 -1
- package/InfoBanner-D05poAe3.js +0 -91
- package/Label-ChjDdBlv.cjs +0 -1
- package/PressResponder-4jE_HLu3.cjs +0 -1
- package/TabList-CWMlbijV.cjs +0 -1
- package/TabList-VpTv_Xff.js +0 -435
- package/Table-DGYC-sDq.cjs +0 -16
- package/TextArea-DJKHFKuI.cjs +0 -1
- package/Toast-DdmSvNaO.cjs +0 -1
- package/circle-check-BErh6TKu.js +0 -26
- package/circle-check-OVUGxwp9.cjs +0 -11
- package/inertValue-B3AFhVG4.cjs +0 -1
- package/tokens-5PzK5zK7.cjs +0 -1
- package/triangle-alert-B_qAPmWC.js +0 -21
- package/triangle-alert-BviJNFjf.cjs +0 -6
- package/useEvent-DPxMu-X9.cjs +0 -1
- package/useHasTabbableChild-CoQRpNbC.cjs +0 -1
- package/useLocalizedStringFormatter-BiX5BTlb.cjs +0 -1
- package/useObserveElement-MhzEsCkX.cjs +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
import './assets/GridItem.css';const
|
|
4
|
-
tokens:
|
|
1
|
+
import { jsx as q } from "react/jsx-runtime";
|
|
2
|
+
import { c as m } from "./clsx-OuTLNxxd.js";
|
|
3
|
+
import './assets/GridItem.css';const x = '"../theme/tokens.css"', d = "_container_1cqrr_4", a = "_removeMargins_1cqrr_16", g = "_contained_1cqrr_20", u = "_flex_1cqrr_26", i = "_fluid_1cqrr_55", h = "_col_1cqrr_61", c = {
|
|
4
|
+
tokens: x,
|
|
5
5
|
"--breakpoint-xs": "(max-width: 479px)",
|
|
6
6
|
"--breakpoint-sm": "(min-width: 480px)",
|
|
7
7
|
"--breakpoint-md": "(min-width: 768px)",
|
|
8
8
|
"--breakpoint-lg": "(min-width: 1024px)",
|
|
9
9
|
"--breakpoint-xl": "(min-width: 1280px)",
|
|
10
|
-
container:
|
|
11
|
-
removeMargins:
|
|
12
|
-
contained:
|
|
13
|
-
flex:
|
|
14
|
-
fluid:
|
|
15
|
-
col:
|
|
10
|
+
container: d,
|
|
11
|
+
removeMargins: a,
|
|
12
|
+
contained: g,
|
|
13
|
+
flex: u,
|
|
14
|
+
fluid: i,
|
|
15
|
+
col: h,
|
|
16
16
|
"col-1": "_col-1_1cqrr_69",
|
|
17
17
|
"col-2": "_col-2_1cqrr_73",
|
|
18
18
|
"col-3": "_col-3_1cqrr_79",
|
|
@@ -211,36 +211,33 @@ import './assets/GridItem.css';const a = '"../theme/tokens.css"', g = "_containe
|
|
|
211
211
|
"offset-xl-10": "_offset-xl-10_1cqrr_1012",
|
|
212
212
|
"offset-xl-11": "_offset-xl-11_1cqrr_1018",
|
|
213
213
|
"offset-xl-auto": "_offset-xl-auto_1cqrr_1024"
|
|
214
|
-
},
|
|
214
|
+
}, b = ({
|
|
215
215
|
children: _,
|
|
216
|
-
col: r,
|
|
217
216
|
size: o,
|
|
218
|
-
offset:
|
|
219
|
-
...
|
|
217
|
+
offset: r,
|
|
218
|
+
...f
|
|
220
219
|
}) => {
|
|
221
|
-
const
|
|
222
|
-
return /* @__PURE__ */
|
|
220
|
+
const s = r ? `offset-${r}` : "", t = n(o), e = w(r);
|
|
221
|
+
return /* @__PURE__ */ q(
|
|
223
222
|
"div",
|
|
224
223
|
{
|
|
225
|
-
...
|
|
226
|
-
className:
|
|
224
|
+
...f,
|
|
225
|
+
className: m(
|
|
227
226
|
c.col,
|
|
228
|
-
c[
|
|
229
|
-
c[
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
s.className
|
|
227
|
+
c[s],
|
|
228
|
+
t.map((l) => c[l]),
|
|
229
|
+
e.map((l) => c[l]),
|
|
230
|
+
f.className
|
|
233
231
|
),
|
|
234
232
|
children: _
|
|
235
233
|
}
|
|
236
234
|
);
|
|
237
|
-
},
|
|
238
|
-
([
|
|
239
|
-
) : [`col-${_}`] : [],
|
|
240
|
-
([
|
|
241
|
-
) : [`offset-${_}`] : []
|
|
235
|
+
}, n = (_) => _ ? typeof _ == "object" ? Object.entries(_).map(
|
|
236
|
+
([o, r]) => o === "xs" ? `col-${r}` : `col-${o}-${r}`
|
|
237
|
+
) : [`col-${_}`] : [], w = (_) => _ ? typeof _ == "object" ? Object.entries(_).map(
|
|
238
|
+
([o, r]) => o === "xs" ? `offset-${r}` : `offset-${o}-${r}`
|
|
239
|
+
) : [`offset-${_}`] : [];
|
|
242
240
|
export {
|
|
243
|
-
|
|
244
|
-
p as G,
|
|
241
|
+
b as G,
|
|
245
242
|
c as s
|
|
246
243
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { $ as m, a as H } from "./utils-
|
|
1
|
+
import { $ as m, a as H } from "./utils-KYuflGZt.js";
|
|
2
2
|
import h, { forwardRef as x, createContext as p } from "react";
|
|
3
|
-
import { $ as F } from "./useHover-
|
|
4
|
-
import { $ as P } from "./useFocusRing-
|
|
5
|
-
import { a as _ } from "./mergeProps-
|
|
6
|
-
const C = /* @__PURE__ */ p({}), V = /* @__PURE__ */ x(function(e,
|
|
7
|
-
[e,
|
|
8
|
-
let { isDisabled: a, isInvalid:
|
|
3
|
+
import { $ as F } from "./useHover-D8fja4GW.js";
|
|
4
|
+
import { $ as P } from "./useFocusRing-HoJn20X5.js";
|
|
5
|
+
import { a as _ } from "./mergeProps-BYJQ6N1s.js";
|
|
6
|
+
const C = /* @__PURE__ */ p({}), V = /* @__PURE__ */ x(function(e, o) {
|
|
7
|
+
[e, o] = m(e, o, C);
|
|
8
|
+
let { isDisabled: a, isInvalid: d, onHoverStart: f, onHoverChange: u, onHoverEnd: v, ...c } = e, { hoverProps: $, isHovered: s } = F({
|
|
9
9
|
onHoverStart: f,
|
|
10
10
|
onHoverChange: u,
|
|
11
11
|
onHoverEnd: v,
|
|
@@ -13,7 +13,7 @@ const C = /* @__PURE__ */ p({}), V = /* @__PURE__ */ x(function(e, d) {
|
|
|
13
13
|
}), { isFocused: n, isFocusVisible: t, focusProps: b } = P({
|
|
14
14
|
within: !0
|
|
15
15
|
});
|
|
16
|
-
a ?? (a = !!e["aria-disabled"] && e["aria-disabled"] !== "false"),
|
|
16
|
+
a ?? (a = !!e["aria-disabled"] && e["aria-disabled"] !== "false"), d ?? (d = !!e["aria-invalid"] && e["aria-invalid"] !== "false");
|
|
17
17
|
let l = H({
|
|
18
18
|
...e,
|
|
19
19
|
values: {
|
|
@@ -21,7 +21,7 @@ const C = /* @__PURE__ */ p({}), V = /* @__PURE__ */ x(function(e, d) {
|
|
|
21
21
|
isFocusWithin: n,
|
|
22
22
|
isFocusVisible: t,
|
|
23
23
|
isDisabled: a,
|
|
24
|
-
isInvalid:
|
|
24
|
+
isInvalid: d
|
|
25
25
|
},
|
|
26
26
|
defaultClassName: "react-aria-Group"
|
|
27
27
|
});
|
|
@@ -29,14 +29,14 @@ const C = /* @__PURE__ */ p({}), V = /* @__PURE__ */ x(function(e, d) {
|
|
|
29
29
|
return /* @__PURE__ */ h.createElement("div", {
|
|
30
30
|
..._(c, b, $),
|
|
31
31
|
...l,
|
|
32
|
-
ref:
|
|
32
|
+
ref: o,
|
|
33
33
|
role: (i = e.role) !== null && i !== void 0 ? i : "group",
|
|
34
34
|
slot: (r = e.slot) !== null && r !== void 0 ? r : void 0,
|
|
35
35
|
"data-focus-within": n || void 0,
|
|
36
36
|
"data-hovered": s || void 0,
|
|
37
37
|
"data-focus-visible": t || void 0,
|
|
38
38
|
"data-disabled": a || void 0,
|
|
39
|
-
"data-invalid":
|
|
39
|
+
"data-invalid": d || void 0
|
|
40
40
|
}, l.children);
|
|
41
41
|
});
|
|
42
42
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const u=require("./utils-
|
|
1
|
+
"use strict";const u=require("./utils-BM2vxlNA.cjs"),s=require("react"),F=require("./useHover-CaFzQrR_.cjs"),P=require("./useFocusRing-BM-zcH6L.cjs"),g=require("./mergeProps-C7Sx47fA.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,9 +1,9 @@
|
|
|
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 { $ as m } from "./utils-
|
|
4
|
+
import { $ as m } from "./utils-KYuflGZt.js";
|
|
5
5
|
import i, { forwardRef as d } from "react";
|
|
6
|
-
import './assets/Heading.css';const
|
|
6
|
+
import './assets/Heading.css';const $ = /* @__PURE__ */ d(function(t, a) {
|
|
7
7
|
[t, a] = m(t, a, _);
|
|
8
8
|
let { children: f, level: h = 3, className: s, ...o } = t, c = `h${h}`;
|
|
9
9
|
return /* @__PURE__ */ i.createElement(c, {
|
|
@@ -11,13 +11,13 @@ import './assets/Heading.css';const u = /* @__PURE__ */ d(function(t, a) {
|
|
|
11
11
|
ref: a,
|
|
12
12
|
className: s ?? "react-aria-Heading"
|
|
13
13
|
}, f);
|
|
14
|
-
}),
|
|
15
|
-
h1:
|
|
14
|
+
}), u = "_h1_f2fu6_4", p = "_h2_f2fu6_5", x = "_h3_f2fu6_6", v = "_h4_f2fu6_7", b = "_h5_f2fu6_8", H = "_h6_f2fu6_9", e = {
|
|
15
|
+
h1: u,
|
|
16
16
|
h2: p,
|
|
17
17
|
h3: x,
|
|
18
18
|
h4: v,
|
|
19
|
-
h5:
|
|
20
|
-
h6:
|
|
19
|
+
h5: b,
|
|
20
|
+
h6: H
|
|
21
21
|
}, w = ({
|
|
22
22
|
children: r,
|
|
23
23
|
className: t,
|
|
@@ -28,7 +28,7 @@ import './assets/Heading.css';const u = /* @__PURE__ */ d(function(t, a) {
|
|
|
28
28
|
}) => {
|
|
29
29
|
const o = h && parseInt(h.split("h")[1]);
|
|
30
30
|
return /* @__PURE__ */ n(
|
|
31
|
-
|
|
31
|
+
$,
|
|
32
32
|
{
|
|
33
33
|
level: o || f,
|
|
34
34
|
className: l(
|
|
@@ -0,0 +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-BM2vxlNA.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:a=3,className:n,...h}=t,l=`h${a}`;return f.createElement(l,{...h,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",b="_h6_f2fu6_9",e={h1:$,h2:x,h3:m,h4:q,h5:v,h6:b},g=({children:r,className:t,isExpressive:s=!1,level:c=3,elementType:a,...n})=>{const h=a&&parseInt(a.split("h")[1]);return o.jsx(d,{level:h||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=g;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require('./assets/InfoBanner.css');const t=require("react/jsx-runtime"),x=require("./icon-map-9XcghDra.cjs"),j=require("react"),v=require("./clsx-C11secjj.cjs"),B=require("./Button-DQm2iqKU.cjs"),N=require("./x-rV-nu490.cjs"),S=require("./useLocalizedStringFormatter-BSac43NO.cjs");function q(s){const c=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const e in s)if(e!=="default"){const o=Object.getOwnPropertyDescriptor(s,e);Object.defineProperty(c,e,o.get?o:{enumerable:!0,get:()=>s[e]})}}return c.default=s,Object.freeze(c)}const f=q(j),w='"../theme/tokens.css"',y="_infoBanner_cszz3_4",R="_success_cszz3_14",$="_info_cszz3_4",I="_important_cszz3_24",M="_warning_cszz3_29",P="_content_cszz3_38",D="_heading_cszz3_44",F="_text_cszz3_49",L="_icon_cszz3_55",E="_dismissable_cszz3_60",n={tokens:w,"--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:y,success:R,info:$,important:I,warning:M,content:P,heading:D,text:F,icon:L,dismissable:E},T={close:"Close"},X={close:"Stäng"},A={en:T,sv:X},G=({title:s,message:c,type:e,children:o,isDismissable:g=!1,defaultOpen:m=!0,isOpen:a,onOpenChange:r,...d})=>{const l=f.useRef(!0),i=typeof a<"u",[z,u]=f.useState(i?a:m),b=x.iconMap[e],k=S.useLocalizedStringFormatter(A),p=()=>{r==null||r(!1),i||u(!1)};return f.useEffect(()=>{if(l.current){l.current=!1;return}u(h=>{const _=i&&a||!i&&!h;return _&&(r==null||r(!0)),_})},[a,i,r]),z?t.jsxs("div",{...d,className:v.clsx(n.infoBanner,n[e],d.className),children:[t.jsx(b,{size:20,"aria-hidden":!0,className:n.icon}),t.jsxs("div",{className:n.content,children:[s&&t.jsx("strong",{className:n.heading,children:s}),t.jsxs("div",{className:n.text,children:[c,o]})]}),g&&t.jsx("div",{className:n.dismissable,children:t.jsx(B.Button,{variant:"icon","aria-label":k.format("close"),onPress:p,children:t.jsx(N.X,{size:20})})})]}):null};exports.InfoBanner=G;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { jsxs as c, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { i as v } from "./icon-map-uS87FT_Q.js";
|
|
3
|
+
import * as o from "react";
|
|
4
|
+
import { c as B } from "./clsx-OuTLNxxd.js";
|
|
5
|
+
import { B as N } from "./Button-akT6Hvug.js";
|
|
6
|
+
import { X as w } from "./x-C2xUHAEl.js";
|
|
7
|
+
import { u as S } from "./useLocalizedStringFormatter-aOhh7wdl.js";
|
|
8
|
+
import './assets/InfoBanner.css';const y = '"../theme/tokens.css"', I = "_infoBanner_cszz3_4", R = "_success_cszz3_14", j = "_info_cszz3_4", $ = "_important_cszz3_24", E = "_warning_cszz3_29", F = "_content_cszz3_38", L = "_heading_cszz3_44", M = "_text_cszz3_49", P = "_icon_cszz3_55", X = "_dismissable_cszz3_60", t = {
|
|
9
|
+
tokens: y,
|
|
10
|
+
"--font-family": '"Inter", sans-serif',
|
|
11
|
+
"--text-primary": "light-dark(#171717, #f2f2f2)",
|
|
12
|
+
"--line-height-40": "1.375rem",
|
|
13
|
+
"--support-border-success": "light-dark(#008d3c, #008d3c)",
|
|
14
|
+
"--support-background-success": "light-dark(#d5f2d9, light-dark(#f2f2f2, #262626))",
|
|
15
|
+
"--support-border-info": "light-dark(#0066cc, #0066cc)",
|
|
16
|
+
"--support-background-info": "light-dark(#eaf2f6, light-dark(#f2f2f2, #262626))",
|
|
17
|
+
"--support-border-warning": "light-dark(#e62323, #e62323)",
|
|
18
|
+
"--support-background-warning": "light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))",
|
|
19
|
+
"--support-border-important": "light-dark(#fdb813, #fdb813)",
|
|
20
|
+
"--support-background-important": "light-dark(#fff8e1, light-dark(#f2f2f2, #262626))",
|
|
21
|
+
infoBanner: I,
|
|
22
|
+
success: R,
|
|
23
|
+
info: j,
|
|
24
|
+
important: $,
|
|
25
|
+
warning: E,
|
|
26
|
+
content: F,
|
|
27
|
+
heading: L,
|
|
28
|
+
text: M,
|
|
29
|
+
icon: P,
|
|
30
|
+
dismissable: X
|
|
31
|
+
}, q = {
|
|
32
|
+
close: "Close"
|
|
33
|
+
}, A = {
|
|
34
|
+
close: "Stäng"
|
|
35
|
+
}, D = {
|
|
36
|
+
en: q,
|
|
37
|
+
sv: A
|
|
38
|
+
}, U = ({
|
|
39
|
+
title: e,
|
|
40
|
+
message: u,
|
|
41
|
+
type: a,
|
|
42
|
+
children: _,
|
|
43
|
+
isDismissable: g = !1,
|
|
44
|
+
defaultOpen: z = !0,
|
|
45
|
+
isOpen: n,
|
|
46
|
+
onOpenChange: s,
|
|
47
|
+
...f
|
|
48
|
+
}) => {
|
|
49
|
+
const d = o.useRef(!0), r = typeof n < "u", [p, l] = o.useState(
|
|
50
|
+
r ? n : z
|
|
51
|
+
), k = v[a], h = S(D), b = () => {
|
|
52
|
+
s == null || s(!1), r || l(!1);
|
|
53
|
+
};
|
|
54
|
+
return o.useEffect(() => {
|
|
55
|
+
if (d.current) {
|
|
56
|
+
d.current = !1;
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
l((x) => {
|
|
60
|
+
const m = r && n || !r && !x;
|
|
61
|
+
return m && (s == null || s(!0)), m;
|
|
62
|
+
});
|
|
63
|
+
}, [n, r, s]), p ? /* @__PURE__ */ c(
|
|
64
|
+
"div",
|
|
65
|
+
{
|
|
66
|
+
...f,
|
|
67
|
+
className: B(t.infoBanner, t[a], f.className),
|
|
68
|
+
children: [
|
|
69
|
+
/* @__PURE__ */ i(
|
|
70
|
+
k,
|
|
71
|
+
{
|
|
72
|
+
size: 20,
|
|
73
|
+
"aria-hidden": !0,
|
|
74
|
+
className: t.icon
|
|
75
|
+
}
|
|
76
|
+
),
|
|
77
|
+
/* @__PURE__ */ c("div", { className: t.content, children: [
|
|
78
|
+
e && /* @__PURE__ */ i("strong", { className: t.heading, children: e }),
|
|
79
|
+
/* @__PURE__ */ c("div", { className: t.text, children: [
|
|
80
|
+
u,
|
|
81
|
+
_
|
|
82
|
+
] })
|
|
83
|
+
] }),
|
|
84
|
+
g && /* @__PURE__ */ i("div", { className: t.dismissable, children: /* @__PURE__ */ i(
|
|
85
|
+
N,
|
|
86
|
+
{
|
|
87
|
+
variant: "icon",
|
|
88
|
+
"aria-label": h.format("close"),
|
|
89
|
+
onPress: b,
|
|
90
|
+
children: /* @__PURE__ */ i(w, { size: 20 })
|
|
91
|
+
}
|
|
92
|
+
) })
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
) : null;
|
|
96
|
+
};
|
|
97
|
+
export {
|
|
98
|
+
U as I
|
|
99
|
+
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { $ as u } from "./Hidden-
|
|
1
|
+
import { $, a as c } from "./utils-KYuflGZt.js";
|
|
2
|
+
import { $ as u } from "./Hidden-B5ir3Lei.js";
|
|
3
3
|
import l, { createContext as b } from "react";
|
|
4
|
-
import { $ as v } from "./useHover-
|
|
5
|
-
import { $ as m } from "./useFocusRing-
|
|
6
|
-
import { a as x } from "./mergeProps-
|
|
4
|
+
import { $ as v } from "./useHover-D8fja4GW.js";
|
|
5
|
+
import { $ as m } from "./useFocusRing-HoJn20X5.js";
|
|
6
|
+
import { a as x } from "./mergeProps-BYJQ6N1s.js";
|
|
7
7
|
const H = /* @__PURE__ */ b({});
|
|
8
8
|
let p = (d) => {
|
|
9
9
|
let { onHoverStart: e, onHoverChange: a, onHoverEnd: t, ...o } = d;
|
|
10
10
|
return o;
|
|
11
11
|
};
|
|
12
|
-
const
|
|
13
|
-
[e, a] =
|
|
12
|
+
const S = /* @__PURE__ */ u(function(e, a) {
|
|
13
|
+
[e, a] = $(e, a, H);
|
|
14
14
|
let { hoverProps: t, isHovered: o } = v(e), { isFocused: i, isFocusVisible: r, focusProps: f } = m({
|
|
15
15
|
isTextInput: !0,
|
|
16
16
|
autoFocus: e.autoFocus
|
|
17
|
-
}), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", n =
|
|
17
|
+
}), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", n = c({
|
|
18
18
|
...e,
|
|
19
19
|
values: {
|
|
20
20
|
isHovered: o,
|
|
@@ -38,5 +38,5 @@ const V = /* @__PURE__ */ u(function(e, a) {
|
|
|
38
38
|
});
|
|
39
39
|
export {
|
|
40
40
|
H as $,
|
|
41
|
-
|
|
41
|
+
S as a
|
|
42
42
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const c=require("./utils-
|
|
1
|
+
"use strict";const c=require("./utils-BM2vxlNA.cjs"),l=require("./Hidden-BxRZGdEW.cjs"),n=require("react"),b=require("./useHover-CaFzQrR_.cjs"),v=require("./useFocusRing-BM-zcH6L.cjs"),x=require("./mergeProps-C7Sx47fA.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:r,isFocusVisible:i,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:r,isFocusVisible:i,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":r||void 0,"data-disabled":e.disabled||void 0,"data-hovered":d||void 0,"data-focus-visible":i||void 0,"data-invalid":s||void 0})});exports.$3985021b0ad6602f$export$37fb8590cf2c088c=f;exports.$3985021b0ad6602f$export$f5b8910cec6cf069=F;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsxs as c, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
2
|
+
import * as b from "react";
|
|
3
3
|
import n from "react";
|
|
4
|
-
import { c as
|
|
5
|
-
import { d } from "./Button-
|
|
6
|
-
import { P as v } from "./Popover-
|
|
7
|
-
import { B as u } from "./Button-
|
|
8
|
-
import { $ as P } from "./Dialog-
|
|
4
|
+
import { c as f } from "./clsx-OuTLNxxd.js";
|
|
5
|
+
import { d } from "./Button-DtC_ZOyd.js";
|
|
6
|
+
import { P as v } from "./Popover-viLqHHX2.js";
|
|
7
|
+
import { B as u } from "./Button-akT6Hvug.js";
|
|
8
|
+
import { $ as P } from "./Dialog-BuJdAr0D.js";
|
|
9
9
|
import { I as g } from "./info-CPK1vbOJ.js";
|
|
10
|
-
import { u as _ } from "./useLocalizedStringFormatter-
|
|
11
|
-
import './assets/Label.css';const
|
|
12
|
-
labelBase:
|
|
13
|
-
},
|
|
14
|
-
labelPopover:
|
|
10
|
+
import { u as _ } from "./useLocalizedStringFormatter-aOhh7wdl.js";
|
|
11
|
+
import './assets/Label.css';const $ = "_labelBase_khdpe_4", I = {
|
|
12
|
+
labelBase: $
|
|
13
|
+
}, x = "_labelPopover_1ici8_4", L = "_labelPopoverTrigger_1ici8_10", m = {
|
|
14
|
+
labelPopover: x,
|
|
15
15
|
labelPopoverTrigger: L
|
|
16
16
|
}, T = {
|
|
17
17
|
moreInfo: "More info"
|
|
@@ -24,11 +24,11 @@ import './assets/Label.css';const I = "_labelBase_khdpe_4", x = {
|
|
|
24
24
|
children: e,
|
|
25
25
|
"aria-label": o
|
|
26
26
|
}) => {
|
|
27
|
-
const [
|
|
27
|
+
const [a, l] = n.useState(!1), s = n.useContext(i), t = _(h);
|
|
28
28
|
return /* @__PURE__ */ c(
|
|
29
29
|
P,
|
|
30
30
|
{
|
|
31
|
-
isOpen:
|
|
31
|
+
isOpen: a,
|
|
32
32
|
onOpenChange: l,
|
|
33
33
|
children: [
|
|
34
34
|
/* @__PURE__ */ r(
|
|
@@ -38,7 +38,7 @@ import './assets/Label.css';const I = "_labelBase_khdpe_4", x = {
|
|
|
38
38
|
size: "medium",
|
|
39
39
|
className: m.labelPopoverTrigger,
|
|
40
40
|
"aria-label": o || t.format("moreInfo"),
|
|
41
|
-
id:
|
|
41
|
+
id: s == null ? void 0 : s.popoverId,
|
|
42
42
|
children: /* @__PURE__ */ r(g, { size: 20 })
|
|
43
43
|
}
|
|
44
44
|
),
|
|
@@ -46,27 +46,27 @@ import './assets/Label.css';const I = "_labelBase_khdpe_4", x = {
|
|
|
46
46
|
]
|
|
47
47
|
}
|
|
48
48
|
);
|
|
49
|
-
}, i = n.createContext(void 0),
|
|
50
|
-
const
|
|
51
|
-
return o ? /* @__PURE__ */ r(i.Provider, { value: { popoverId:
|
|
49
|
+
}, i = n.createContext(void 0), R = ({ children: e, popover: o }) => {
|
|
50
|
+
const a = n.useId();
|
|
51
|
+
return o ? /* @__PURE__ */ r(i.Provider, { value: { popoverId: a }, children: /* @__PURE__ */ c("div", { className: m.labelPopover, children: [
|
|
52
52
|
e,
|
|
53
53
|
/* @__PURE__ */ r(C, { ...o })
|
|
54
54
|
] }) }) : e;
|
|
55
55
|
}, p = "label", W = ({
|
|
56
56
|
children: e,
|
|
57
57
|
className: o,
|
|
58
|
-
elementType:
|
|
58
|
+
elementType: a = p,
|
|
59
59
|
...l
|
|
60
60
|
}) => {
|
|
61
|
-
const
|
|
62
|
-
className:
|
|
63
|
-
elementType:
|
|
61
|
+
const s = {
|
|
62
|
+
className: f(I.labelBase, o),
|
|
63
|
+
elementType: a || p,
|
|
64
64
|
...l
|
|
65
|
-
}, t =
|
|
65
|
+
}, t = b.useContext(i);
|
|
66
66
|
return /* @__PURE__ */ r(
|
|
67
67
|
d,
|
|
68
68
|
{
|
|
69
|
-
...
|
|
69
|
+
...s,
|
|
70
70
|
"aria-describedby": t == null ? void 0 : t.popoverId,
|
|
71
71
|
children: e
|
|
72
72
|
}
|
|
@@ -74,5 +74,5 @@ import './assets/Label.css';const I = "_labelBase_khdpe_4", x = {
|
|
|
74
74
|
};
|
|
75
75
|
export {
|
|
76
76
|
W as L,
|
|
77
|
-
|
|
77
|
+
R as a
|
|
78
78
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require('./assets/Label.css');const t=require("react/jsx-runtime"),l=require("react"),u=require("./clsx-C11secjj.cjs"),p=require("./Button-DZzQGk-L.cjs"),d=require("./Popover-C5chAY42.cjs"),f=require("./Button-DQm2iqKU.cjs"),v=require("./Dialog-BT0tVGQb.cjs"),g=require("./info-Dj6SyPex.cjs"),m=require("./useLocalizedStringFormatter-BSac43NO.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},$="_labelPopover_1ici8_4",I="_labelPopoverTrigger_1ici8_10",b={labelPopover:$,labelPopoverTrigger:I},q={moreInfo:"More info"},L={moreInfo:"Mer information"},O={en:q,sv:L},T=({children:e,"aria-label":o})=>{const[r,s]=l.useState(!1),n=l.useContext(c),a=m.useLocalizedStringFormatter(O);return t.jsxs(v.$de32f1b87079253c$export$2e1e1122cf0cba88,{isOpen:r,onOpenChange:s,children:[t.jsx(f.Button,{variant:"icon",size:"medium",className:b.labelPopoverTrigger,"aria-label":o||a.format("moreInfo"),id:n==null?void 0:n.popoverId,children:t.jsx(g.Info,{size:20})}),t.jsx(d.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:b.labelPopover,children:[e,t.jsx(T,{...o})]})}):e},i="label",B=({children:e,className:o,elementType:r=i,...s})=>{const n={className:u.clsx(_.labelBase,o),elementType:r||i,...s},a=P.useContext(c);return t.jsx(p.$01b77f81d0f07f68$export$b04be29aa201d4f5,{...n,"aria-describedby":a==null?void 0:a.popoverId,children:e})};exports.Label=B;exports.LabelWrapper=y;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";require('./assets/Layout.css');const e=require("react/jsx-runtime"),E=require("./GridItem-
|
|
1
|
+
"use strict";require('./assets/Layout.css');const e=require("react/jsx-runtime"),E=require("./GridItem-BnyULDnc.cjs"),O=require("react"),p=require("./clsx-C11secjj.cjs"),L=require("./Button-DQm2iqKU.cjs"),C=require("./Link-ceVlGaWQ.cjs"),I=require("./Tooltip-Bz0xCZSw.cjs"),b=require("./BadgeContainer-CxVmqJ7g.cjs"),y=require("./createLucideIcon-CTVXwe6i.cjs"),T=require("./usePress-BOGIOlm8.cjs"),f=require("./useLocalizedStringFormatter-BSac43NO.cjs"),H=require("./tokens-BWo7EvNX.cjs"),k=require("./Logo-BW5NXAdu.cjs"),G=require("./x-rV-nu490.cjs");function D(a){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const r in a)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(a,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>a[r]})}}return t.default=a,Object.freeze(t)}const v=D(O);/**
|
|
2
2
|
* @license lucide-react v0.525.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -13,4 +13,4 @@
|
|
|
13
13
|
*
|
|
14
14
|
* This source code is licensed under the ISC license.
|
|
15
15
|
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/const X=[["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"}]],J=y.createLucideIcon("panel-left-open",X),K="_baseLayout_1ssmv_4",Q="_mainContent_1ssmv_13",U="_header_1ssmv_18",V="_headerExternal_1ssmv_29",Y="_headerContent_1ssmv_44",Z="_logo_1ssmv_63",ee="_headerItems_1ssmv_72",se="_toggleButton_1ssmv_78",ae="_sidebar_1ssmv_86",te="_main_1ssmv_13",ne="_app_1ssmv_119",re="_sidebarOpened_1ssmv_127",ie="_sidebarHeader_1ssmv_131",oe="_appName_1ssmv_143",le="_collapseButton_1ssmv_150",ce="_sidebarCollapsed_1ssmv_159",de="_userName_1ssmv_169",me="_userTitle_1ssmv_188",ue="_title_1ssmv_200",xe="_sidebarNav_1ssmv_211",pe="_list_1ssmv_217",_e="_listGroupTitle_1ssmv_224",ve="_listItem_1ssmv_231",he="_listItemCollapsed_1ssmv_236",be="_listLink_1ssmv_240",je="_listLinkCollapsed_1ssmv_285",Ne="_active_1ssmv_290",fe="_backdrop_1ssmv_304",ge="_backdropOpened_1ssmv_314",ke="_skipToContent_1ssmv_332",Ce="_navbar_1ssmv_346",Le="_navbarList_1ssmv_358",ye="_navbarItem_1ssmv_380",
|
|
16
|
+
*/const X=[["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"}]],J=y.createLucideIcon("panel-left-open",X),K="_baseLayout_1ssmv_4",Q="_mainContent_1ssmv_13",U="_header_1ssmv_18",V="_headerExternal_1ssmv_29",Y="_headerContent_1ssmv_44",Z="_logo_1ssmv_63",ee="_headerItems_1ssmv_72",se="_toggleButton_1ssmv_78",ae="_sidebar_1ssmv_86",te="_main_1ssmv_13",ne="_app_1ssmv_119",re="_sidebarOpened_1ssmv_127",ie="_sidebarHeader_1ssmv_131",oe="_appName_1ssmv_143",le="_collapseButton_1ssmv_150",ce="_sidebarCollapsed_1ssmv_159",de="_userName_1ssmv_169",me="_userTitle_1ssmv_188",ue="_title_1ssmv_200",xe="_sidebarNav_1ssmv_211",pe="_list_1ssmv_217",_e="_listGroupTitle_1ssmv_224",ve="_listItem_1ssmv_231",he="_listItemCollapsed_1ssmv_236",be="_listLink_1ssmv_240",je="_listLinkCollapsed_1ssmv_285",Ne="_active_1ssmv_290",fe="_backdrop_1ssmv_304",ge="_backdropOpened_1ssmv_314",ke="_skipToContent_1ssmv_332",Ce="_navbar_1ssmv_346",Le="_navbarList_1ssmv_358",ye="_navbarItem_1ssmv_380",Se="_headerContentExternal_1ssmv_420",Me="_logoExternalContainer_1ssmv_428",Ee="_logoExternal_1ssmv_428",Ie="_logoExternalDesktop_1ssmv_440",ze="_navbarWrapper_1ssmv_449",s={baseLayout:K,mainContent:Q,header:U,headerExternal:V,headerContent:Y,logo:Z,headerItems:ee,toggleButton:se,sidebar:ae,main:te,app:ne,sidebarOpened:re,sidebarHeader:ie,appName:oe,collapseButton:le,sidebarCollapsed:ce,userName:de,userTitle:me,title:ue,sidebarNav:xe,list:pe,listGroupTitle:_e,listItem:ve,listItemCollapsed:he,listLink:be,listLinkCollapsed:je,active:Ne,backdrop:fe,backdropOpened:ge,skipToContent:ke,navbar:Ce,navbarList:Le,navbarItem:ye,headerContentExternal:Se,logoExternalContainer:Me,logoExternal:Ee,logoExternalDesktop:Ie,navbarWrapper:ze},$=v.createContext(void 0),Be=({items:a,title:t,user:r,app:n,children:i,clientSideRouter:l,clientSideHref:o,headerChildren:m,isCollapsed:u,setIsCollapsed:x,isOpened:h,setIsOpened:d,variant:_,id:j})=>e.jsx($.Provider,{value:{items:a,title:t,user:r,app:n,headerChildren:m,isCollapsed:u,setIsCollapsed:x,isOpened:h,setIsOpened:d,clientSideRouter:l,clientSideHref:o,variant:_,id:j},children:i}),N=()=>{const a=v.useContext($);if(!a)throw new Error("useLayoutContext must be used within a LayoutProvider");return a},S=({title:a,href:t,icon:r,active:n,hasBadge:i})=>{const{isCollapsed:l,setIsOpened:o}=N(),[m,u]=v.useState(!1);return v.useEffect(()=>{typeof window<"u"&&u(n??window.location.pathname===t)},[n,t]),l?e.jsxs(I.TooltipTrigger,{children:[e.jsx(C.$4f118338184dc1d9$export$a6c7ac8248d6e38a,{href:t,"aria-label":a,className:p.clsx(s.listLink,s.listLinkCollapsed,m&&s.active),onPress:()=>o==null?void 0:o(!1),children:e.jsxs(b.BadgeContainer,{children:[e.jsx(r,{size:20,"aria-label":a}),i&&e.jsx(b.Badge,{})]})}),e.jsx(I.Tooltip,{placement:"right",children:a})]}):e.jsxs(C.$4f118338184dc1d9$export$a6c7ac8248d6e38a,{href:t,"aria-label":a,className:p.clsx(s.listLink,m&&s.active),onPress:()=>o==null?void 0:o(!1),children:[e.jsxs(b.BadgeContainer,{children:[e.jsx(r,{size:20}),i&&e.jsx(b.Badge,{})]}),a]})},Te={closeMenu:"Close menu",openMenu:"Open menu",maximizeMenu:"Maximize menu",minimizeMenu:"Minimize menu",sidebarMenu:"Sidebar menu",bottomMenu:"Bottom menu",skipToContent:"Skip to main content"},$e={closeMenu:"Stäng meny",openMenu:"Öppna meny",maximizeMenu:"Maximera meny",minimizeMenu:"Minimera meny",sidebarMenu:"Sidomeny",bottomMenu:"Bottenmeny",skipToContent:"Hoppa till huvudinnehåll"},g={en:Te,sv:$e},q=()=>{const{items:a,app:t,isOpened:r,isCollapsed:n,setIsCollapsed:i,setIsOpened:l,clientSideRouter:o,clientSideHref:m,id:u}=N(),x=f.useLocalizedStringFormatter(g),h=({group:d})=>e.jsx("ul",{className:s.list,children:d.items.map((_,j)=>e.jsx("li",{className:p.clsx(s.listItem,n&&s.listItemCollapsed),children:e.jsx(S,{..._})},"link_"+j))});return v.useEffect(()=>{const d=_=>{_.key==="Escape"&&l!==void 0&&l(!1)};return window.addEventListener("keydown",d),()=>{window.removeEventListener("keydown",d)}},[l]),e.jsxs("aside",{id:u,className:p.clsx(s.sidebar,n&&s.sidebarCollapsed,r&&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?x.format("maximizeMenu"):x.format("minimizeMenu"),onPress:()=>i(!n),className:s.collapseButton,children:n?e.jsx(J,{size:20}):e.jsx(A,{size:20})})]}),e.jsx("nav",{className:s.sidebarNav,"aria-label":x.format("sidebarMenu"),children:e.jsx("ul",{className:s.list,children:a.map((d,_)=>e.jsxs("li",{children:[d.title&&!n&&e.jsx("p",{className:s.listGroupTitle,children:d.title}),o?e.jsx(T.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb,{navigate:o,useHref:m,children:e.jsx(h,{group:d})}):e.jsx(h,{group:d})]},"list_"+_))})})]})},w=()=>{const{title:a,user:t,app:r,isOpened:n,setIsOpened:i,setIsCollapsed:l,headerChildren:o,variant:m,id:u}=N(),x=f.useLocalizedStringFormatter(g);return m==="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:o})]})}):e.jsxs("header",{className:s.header,style:{borderTop:`solid 4px ${r.color?r.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?x.format("closeMenu"):x.format("openMenu"),"aria-controls":u,onPressStart:()=>{l(!1),i==null||i(!0)},children:n?e.jsx(G.X,{size:20,"aria-hidden":"true"}):e.jsx(R,{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:o})]})},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))},r=f.useLocalizedStringFormatter(g);return e.jsx(L.Button,{onPress:t,className:s.skipToContent,children:r.format("skipToContent")})},qe=()=>{const{isOpened:a,setIsOpened:t}=N();return a?e.jsx("div",{className:p.clsx(s.backdrop,s.backdropOpened),onClick:()=>{t==null||t(!1)},"aria-hidden":!0}):null},P=()=>{var l;const{items:a,clientSideRouter:t,clientSideHref:r}=N(),n=f.useLocalizedStringFormatter(g),i=(l=a.at(0))==null?void 0:l.items;return e.jsx("nav",{className:s.navbar,"aria-label":n.format("bottomMenu"),children:i&&e.jsx("ul",{className:p.clsx(s.navbarList),children:t?e.jsx(T.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb,{navigate:t,useHref:r,children:e.jsx(B,{items:i})}):e.jsx(B,{items:i})})})},B=({items:a})=>e.jsx(e.Fragment,{children:a.map(({href:t,active:r,icon:n,title:i,hasBadge:l},o)=>e.jsx("li",{children:e.jsxs(C.$4f118338184dc1d9$export$a6c7ac8248d6e38a,{href:t,className:p.clsx(s.navbarItem),"data-active":r,"aria-current":r&&"page",children:[e.jsxs(b.BadgeContainer,{children:[e.jsx(n,{size:20}),l&&e.jsx(b.Badge,{})]}),i]})},o))}),c=({items:a,title:t,user:r,app:n,children:i,headerChildren:l,clientSideRouter:o,clientSideHref:m,variant:u,className:x})=>{const[h,d]=v.useState(!1),[_,j]=v.useState(!1),M=v.useId();return u==="external"?e.jsx(c.Provider,{items:a,title:t,user:r,app:n,clientSideRouter:o,clientSideHref:m,headerChildren:l,isCollapsed:h,setIsCollapsed:d,variant:u,id:M,children:e.jsxs("div",{className:p.clsx(s.baseLayout,x),children:[e.jsx(z,{}),e.jsx(c.Header,{}),e.jsxs("div",{className:s.mainContent,children:[e.jsx(c.Sidebar,{}),e.jsx(E.GridItem,{children:e.jsx("main",{className:s.main,children:e.jsx("div",{className:s.app,children:i})})}),e.jsx(c.Backdrop,{})]}),e.jsx("div",{className:s.navbarWrapper,children:e.jsx(c.Navbar,{})})]})}):e.jsx(c.Provider,{items:a,title:t,user:r,app:n,clientSideRouter:o,clientSideHref:m,headerChildren:l,isCollapsed:h,setIsCollapsed:d,isOpened:_,setIsOpened:j,variant:u,id:M,children:e.jsxs("div",{className:p.clsx(s.baseLayout,x),children:[e.jsx(z,{}),e.jsx(c.Header,{}),e.jsxs("div",{className:s.mainContent,children:[e.jsx(c.Sidebar,{}),e.jsx(E.GridItem,{children:e.jsx("main",{className:s.main,children:e.jsx("div",{className:s.app,children:i})})}),e.jsx(c.Backdrop,{})]})]})})};c.Provider=Be;c.Header=w;c.Sidebar=q;c.SidebarLink=S;c.Navbar=P;c.Backdrop=qe;exports.Header=w;exports.Layout=c;exports.Navbar=P;exports.Sidebar=q;exports.SidebarLink=S;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { jsx as e, jsxs as l, Fragment as
|
|
2
|
-
import { G as S } from "./GridItem-
|
|
1
|
+
import { jsx as e, jsxs as l, Fragment as $ } from "react/jsx-runtime";
|
|
2
|
+
import { G as S } from "./GridItem-orSzD7H5.js";
|
|
3
3
|
import * as b from "react";
|
|
4
4
|
import { c as u } from "./clsx-OuTLNxxd.js";
|
|
5
|
-
import { B as E } from "./Button-
|
|
6
|
-
import { $ as y } from "./Link-
|
|
7
|
-
import { a as
|
|
8
|
-
import { a as L, B as M } from "./BadgeContainer-
|
|
5
|
+
import { B as E } from "./Button-akT6Hvug.js";
|
|
6
|
+
import { $ as y } from "./Link-CM2N5Jq-.js";
|
|
7
|
+
import { a as O, T as G } from "./Tooltip-EuEQtHZj.js";
|
|
8
|
+
import { a as L, B as M } from "./BadgeContainer-DGJGJMPi.js";
|
|
9
9
|
import { c as T } from "./createLucideIcon-XRdN60yz.js";
|
|
10
|
-
import { $ as w } from "./usePress-
|
|
11
|
-
import { u as C } from "./useLocalizedStringFormatter-
|
|
12
|
-
import { f as j } from "./tokens-
|
|
13
|
-
import { L as g } from "./Logo-
|
|
10
|
+
import { $ as w } from "./usePress-B_jgTf4k.js";
|
|
11
|
+
import { u as C } from "./useLocalizedStringFormatter-aOhh7wdl.js";
|
|
12
|
+
import { f as j } from "./tokens-BtEBd3jO.js";
|
|
13
|
+
import { L as g } from "./Logo-qkVS1MCN.js";
|
|
14
14
|
import { X as D } from "./x-C2xUHAEl.js";
|
|
15
15
|
import './assets/Layout.css';/**
|
|
16
16
|
* @license lucide-react v0.525.0 - ISC
|
|
@@ -135,7 +135,7 @@ const R = [
|
|
|
135
135
|
const { isCollapsed: d, setIsOpened: o } = k(), [p, _] = b.useState(!1);
|
|
136
136
|
return b.useEffect(() => {
|
|
137
137
|
typeof window < "u" && _(a ?? window.location.pathname === t);
|
|
138
|
-
}, [a, t]), d ? /* @__PURE__ */ l(
|
|
138
|
+
}, [a, t]), d ? /* @__PURE__ */ l(O, { children: [
|
|
139
139
|
/* @__PURE__ */ e(
|
|
140
140
|
y,
|
|
141
141
|
{
|
|
@@ -370,7 +370,7 @@ const R = [
|
|
|
370
370
|
children: i.format("skipToContent")
|
|
371
371
|
}
|
|
372
372
|
);
|
|
373
|
-
},
|
|
373
|
+
}, $e = () => {
|
|
374
374
|
const { isOpened: n, setIsOpened: t } = k();
|
|
375
375
|
return n ? /* @__PURE__ */ e(
|
|
376
376
|
"div",
|
|
@@ -382,7 +382,7 @@ const R = [
|
|
|
382
382
|
"aria-hidden": !0
|
|
383
383
|
}
|
|
384
384
|
) : null;
|
|
385
|
-
},
|
|
385
|
+
}, Oe = () => {
|
|
386
386
|
var d;
|
|
387
387
|
const { items: n, clientSideRouter: t, clientSideHref: i } = k(), a = C(x), r = (d = n.at(0)) == null ? void 0 : d.items;
|
|
388
388
|
return /* @__PURE__ */ e(
|
|
@@ -402,7 +402,7 @@ const R = [
|
|
|
402
402
|
);
|
|
403
403
|
}, B = ({
|
|
404
404
|
items: n
|
|
405
|
-
}) => /* @__PURE__ */ e(
|
|
405
|
+
}) => /* @__PURE__ */ e($, { children: n.map(({ href: t, active: i, icon: a, title: r, hasBadge: d }, o) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ l(
|
|
406
406
|
y,
|
|
407
407
|
{
|
|
408
408
|
href: t,
|
|
@@ -487,12 +487,12 @@ c.Provider = ze;
|
|
|
487
487
|
c.Header = He;
|
|
488
488
|
c.Sidebar = Pe;
|
|
489
489
|
c.SidebarLink = H;
|
|
490
|
-
c.Navbar =
|
|
491
|
-
c.Backdrop =
|
|
490
|
+
c.Navbar = Oe;
|
|
491
|
+
c.Backdrop = $e;
|
|
492
492
|
export {
|
|
493
493
|
He as H,
|
|
494
494
|
c as L,
|
|
495
|
-
|
|
495
|
+
Oe as N,
|
|
496
496
|
Pe as S,
|
|
497
497
|
H as a
|
|
498
498
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { $ as v, a as h } from "./utils-
|
|
1
|
+
import { $ as v, a as h } from "./utils-KYuflGZt.js";
|
|
2
2
|
import C, { forwardRef as D, createContext as T } from "react";
|
|
3
|
-
import { a as b } from "./mergeProps-
|
|
3
|
+
import { a as b } from "./mergeProps-BYJQ6N1s.js";
|
|
4
4
|
import { $ as E } from "./filterDOMProps-D6KHYVBX.js";
|
|
5
|
-
import { b as F, c as H, d as g, e as y } from "./usePress-
|
|
6
|
-
import { a as L } from "./useFocusable-
|
|
7
|
-
import { $ as
|
|
8
|
-
import { $ as
|
|
5
|
+
import { b as F, c as H, d as g, e as y } from "./usePress-B_jgTf4k.js";
|
|
6
|
+
import { a as L } from "./useFocusable-ZjCKo1ed.js";
|
|
7
|
+
import { $ as S } from "./useHover-D8fja4GW.js";
|
|
8
|
+
import { $ as _ } from "./useFocusRing-HoJn20X5.js";
|
|
9
9
|
function V(s, e) {
|
|
10
10
|
let { elementType: a = "a", onPress: n, onPressStart: l, onPressEnd: o, onClick: f, isDisabled: t, ...$ } = s, i = {};
|
|
11
11
|
a !== "a" && (i = {
|
|
@@ -42,7 +42,7 @@ const N = /* @__PURE__ */ T(null), z = /* @__PURE__ */ D(function(e, a) {
|
|
|
42
42
|
let n = e.href && !e.isDisabled ? "a" : "span", { linkProps: l, isPressed: o } = V({
|
|
43
43
|
...e,
|
|
44
44
|
elementType: n
|
|
45
|
-
}, a), { hoverProps: f, isHovered: t } =
|
|
45
|
+
}, a), { hoverProps: f, isHovered: t } = S(e), { focusProps: $, isFocused: i, isFocusVisible: c } = _(), d = h({
|
|
46
46
|
...e,
|
|
47
47
|
defaultClassName: "react-aria-Link",
|
|
48
48
|
values: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o, jsxs as p, Fragment as h } from "react/jsx-runtime";
|
|
2
|
-
import { $ as u } from "./Link-
|
|
2
|
+
import { $ as u } from "./Link-CM2N5Jq-.js";
|
|
3
3
|
import { c as x } from "./clsx-OuTLNxxd.js";
|
|
4
4
|
import { c as k } from "./createLucideIcon-XRdN60yz.js";
|
|
5
5
|
import { S as j } from "./square-arrow-out-up-right-ok0A3Ovo.js";
|