@midas-ds/components 14.0.0 → 15.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-DTbu3lqx.js +343 -0
- package/AccordionItem-tWS22wDv.cjs +1 -0
- package/{Breadcrumbs-DpUPChG9.cjs → Breadcrumbs-BBDGxc68.cjs} +1 -1
- package/{Breadcrumbs-CV3rVTjR.js → Breadcrumbs-BenPNv8Z.js} +4 -4
- package/Button-1sEX8jKn.cjs +1 -0
- package/{Button-xc8A29pm.cjs → Button-BEWKXjlP.cjs} +1 -1
- package/{Button-B6lxIKPk.js → Button-BbfVT9Yl.js} +122 -116
- package/{Button-CRIYvCRM.js → Button-DdXFHfXw.js} +1 -1
- package/CHANGELOG.md +49 -0
- package/{Card-CfosvMF5.js → Card-CdqGFff2.js} +3 -3
- package/{Card-D2E3gviQ.cjs → Card-Db9xdzJ0.cjs} +1 -1
- package/{CharacterCounter-C-PFKoGg.cjs → CharacterCounter-CTpQ12f7.cjs} +1 -1
- package/{CharacterCounter-DpFONstE.js → CharacterCounter-gbDGfize.js} +2 -2
- package/Checkbox-BgrLxY6P.cjs +1 -0
- package/{Checkbox-Cr3MmHPE.js → Checkbox-CdN1D5pD.js} +94 -90
- package/{CheckboxGroup-DEY3JDEL.js → CheckboxGroup-CtJJqk_q.js} +7 -7
- package/{CheckboxGroup-f9Oa1MhQ.cjs → CheckboxGroup-thvsvOqD.cjs} +1 -1
- package/{Collection-j_iWeuZo.js → Collection-BkxwF21i.js} +205 -213
- package/Collection-vGO6v3_U.cjs +1 -0
- package/{ColorSchemeSwitch-Cur7zN5_.cjs → ColorSchemeSwitch-Ckna0otR.cjs} +1 -1
- package/{ColorSchemeSwitch-ChFSNntp.js → ColorSchemeSwitch-aF2UxI20.js} +2 -2
- package/{ComboBox-D7eKe-M5.js → ComboBox-BDX4BYWJ.js} +244 -229
- package/ComboBox-DFPrJUoV.cjs +1 -0
- package/{DateField-BszKZodr.cjs → DateField-B92Cqf9K.cjs} +1 -1
- package/{DateField-xyhyDy7u.js → DateField-BPRWrVcu.js} +4 -4
- package/DateInputDivider-CCrXjsUB.cjs +1 -0
- package/{DateInputDivider-2Wf2hlXA.js → DateInputDivider-DOHpVaNE.js} +191 -188
- package/DateRangePicker-COSTCOt8.cjs +6 -0
- package/{DateRangePicker-YwKi0ukr.js → DateRangePicker-Cmt9NC35.js} +119 -115
- package/Dialog-CPuJA2fm.js +256 -0
- package/{Dialog-DOyFzvUa.js → Dialog-D4Py85wi.js} +712 -694
- package/Dialog-DtOf0vWx.cjs +1 -0
- package/Dialog-DycTLpdr.cjs +6 -0
- package/{DragAndDrop-DQ_6tl6K.cjs → DragAndDrop-Cs-V-9ak.cjs} +1 -1
- package/{DragAndDrop-DPRU3Y0Y.js → DragAndDrop-DF0VoPJw.js} +1 -1
- package/{Dropdown-uC9wc8vd.js → Dropdown-B4lwe0Hn.js} +2 -2
- package/{Dropdown-5rmvcHD_.cjs → Dropdown-_g9l5k07.cjs} +1 -1
- package/{FieldError-C4kD4yJZ.js → FieldError-CIxlNQCM.js} +13 -13
- package/{FieldError-C4WBoCRc.cjs → FieldError-JWxR_EqN.cjs} +1 -1
- package/{FileUpload-CTbh7Gic.cjs → FileUpload-C0TjNkuh.cjs} +2 -2
- package/{FileUpload-01wGpykv.js → FileUpload-DLBP3VPp.js} +260 -534
- package/Group-B0Wj9pI8.cjs +1 -0
- package/Group-BAd7alBM.js +46 -0
- package/{Heading-CEx2LJyM.js → Heading-CCoGfKQ8.js} +9 -9
- package/{Heading-CUShN98j.cjs → Heading-x7y3xadc.cjs} +1 -1
- package/{InfoBanner-CRSz8DK2.js → InfoBanner-D7Ta-7PI.js} +1 -1
- package/{InfoBanner-D_pNj1J2.cjs → InfoBanner-_M_rGQiu.cjs} +1 -1
- package/{Input-CCuE9Sc5.cjs → Input-Bda0PCu5.cjs} +1 -1
- package/{Input-CkTOajNJ.js → Input-CQzv-D9g.js} +3 -3
- package/{Label-CkIRTC0_.cjs → Label-DpY2SZdQ.cjs} +1 -1
- package/{Label-CV9p0K2n.js → Label-FfEnd4ai.js} +4 -4
- package/Layout-BrEuHajQ.cjs +16 -0
- package/{Layout-IeVrHpT0.js → Layout-Hd1e_MEA.js} +62 -63
- package/{Link-BFvUN5Sq.js → Link-BudFjYrw.js} +1 -1
- package/{Link-D2K7bDd3.cjs → Link-BvUSTIip.cjs} +1 -1
- package/{Link-a3Ymcnoa.cjs → Link-DRU6Qzia.cjs} +1 -1
- package/{Link-B9CQXWzE.js → Link-l-nMP-Zd.js} +5 -5
- package/{LinkButton-BCn5gR10.cjs → LinkButton-DGdnbTgR.cjs} +1 -1
- package/{LinkButton-DN3J1Agu.js → LinkButton-DP9W-E32.js} +1 -1
- package/{ListBox-2eEa1l0M.js → ListBox-5GK4ZRj1.js} +189 -178
- package/ListBox-FD30iELk.cjs +1 -0
- package/{ListBoxSection-dksiACMZ.js → ListBox-LJ3VgZMr.js} +230 -266
- package/ListBox-u6ZXp5Yi.cjs +1 -0
- package/{ListBoxLoadMoreItem-IcGb_XwN.js → ListBoxLoadMoreItem-B4GFbdYf.js} +3 -3
- package/ListBoxLoadMoreItem-DMUOzVtt.cjs +1 -0
- package/ListBoxSection-CBlpg0AG.cjs +1 -0
- package/ListBoxSection-DjGs1ndn.js +51 -0
- package/ListKeyboardDelegate-8zuIfwQ7.cjs +1 -0
- package/{ListKeyboardDelegate-Dyu4eFtP.js → ListKeyboardDelegate-BBmpJ-2O.js} +36 -40
- package/{OverlayArrow-Bh_G2tJ3.js → OverlayArrow-CjGslX2c.js} +2 -2
- package/{OverlayArrow-DJ4nNscD.cjs → OverlayArrow-bcrb_syE.cjs} +1 -1
- package/Popover-CS8Yyfrq.js +39 -0
- package/Popover-DpB0XDBp.cjs +1 -0
- package/{PressResponder-DUhG97jJ.js → PressResponder-BMj6Zvbn.js} +3 -3
- package/{PressResponder-AXK2I_yx.cjs → PressResponder-ChvCuOue.cjs} +1 -1
- package/{ProgressBar-B-TOuoAC.cjs → ProgressBar-BZqAQTV3.cjs} +1 -1
- package/{ProgressBar-B0WEQkyq.js → ProgressBar-BpsvPCKk.js} +12 -12
- package/{RSPContexts-BW2SEIqe.js → RSPContexts-B0lEq7qq.js} +5 -3
- package/RSPContexts-XUvspq3j.cjs +1 -0
- package/Radio-B3FBTn4F.cjs +1 -0
- package/Radio-LevFYAg4.js +340 -0
- package/{RangeCalendar-B6zKSDju.cjs → RangeCalendar-CH0CyBui.cjs} +2 -2
- package/{RangeCalendar-D5TMu8GI.js → RangeCalendar-DT_KVd80.js} +58 -58
- package/{SearchField-DnBBlPT7.cjs → SearchField-BX7P7BgV.cjs} +1 -1
- package/{SearchField-wojUSY2S.js → SearchField-C-TFzcJF.js} +3 -3
- package/Select-C-ykeY_T.js +773 -0
- package/Select-CiCng7ZP.js +678 -0
- package/Select-D4wi-0Jw.cjs +1 -0
- package/Select-JIDW2mN8.cjs +1 -0
- package/{FocusScope-8ILtcq9W.js → SelectionIndicator-C2E23-zO.js} +270 -174
- package/SelectionIndicator-ClG0GpJu.cjs +1 -0
- package/SelectionManager-CNJmHeCF.cjs +1 -0
- package/SelectionManager-DoNLJm8c.js +1063 -0
- package/{Separator-COlhRmJF.js → Separator-CQfDz_zr.js} +10 -10
- package/{Separator-DcbM84B8.cjs → Separator-CSyYDGNE.cjs} +1 -1
- package/{Separator-BQkxEZC9.cjs → Separator-DCi4bnBr.cjs} +1 -1
- package/{Separator--4b7vckr.js → Separator-DLr4kUJD.js} +2 -2
- package/Spinner-D6Fcu_Dp.js +54 -0
- package/Spinner-DIapnvIz.cjs +6 -0
- package/TabList-BBmBumm6.js +394 -0
- package/TabList-DVzXuGXA.cjs +1 -0
- package/Table-B1nxmW14.cjs +16 -0
- package/{Table-cCSOrPkK.js → Table-DxqKDp7N.js} +707 -703
- package/Tag-BL-_PONN.cjs +1 -0
- package/Tag-DX1X_NZE.js +774 -0
- package/{Text-CkhG15SU.cjs → Text-0wXj3J8E.cjs} +1 -1
- package/{Text-BQe1I4-r.js → Text-BBFWBNAH.js} +1 -1
- package/{Text-CkhZTTV5.cjs → Text-D5OSv6Uv.cjs} +1 -1
- package/{Text-BpERRete.js → Text-bqP9NeVg.js} +1 -1
- package/{TextArea-B5TsyJxa.cjs → TextArea-Bjf8CBp0.cjs} +1 -1
- package/{TextArea-Cado2arG.js → TextArea-CJPBvogq.js} +8 -8
- package/TextField-DtD9-arA.cjs +1 -0
- package/{TextField-5AI6T1ol.js → TextField-DyR61bjZ.js} +10 -10
- package/{Toast-CgXRE33Y.js → Toast-B99bLWnh.js} +12 -12
- package/{Toast-Cs-Uvf1p.cjs → Toast-DUZ5jfG1.cjs} +1 -1
- package/{ToggleButtonGroup-SKGgfFs4.js → ToggleButtonGroup-CFRutAZ4.js} +82 -78
- package/ToggleButtonGroup-dnvnzkaD.cjs +1 -0
- package/{Tooltip-txk48Qof.js → Tooltip-CUdmOznK.js} +4 -4
- package/{Tooltip-BrupFzaI.cjs → Tooltip-D-ATlbIM.cjs} +1 -1
- package/{VisuallyHidden-Awup6QxT.cjs → VisuallyHidden-BMelU6B0.cjs} +1 -1
- package/{VisuallyHidden-D2ZXHTJs.js → VisuallyHidden-DuW70K-5.js} +1 -1
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +1 -1
- package/assets/AccordionItem.css +1 -1
- package/assets/FieldError.css +1 -1
- package/assets/ListBox.css +1 -0
- package/assets/Popover.css +1 -1
- package/assets/RangeCalendar.css +1 -1
- package/assets/Select.css +1 -1
- package/assets/Select2.css +1 -0
- package/assets/Spinner.css +1 -1
- package/assets/TabList.css +1 -1
- package/assets/Tag.css +1 -1
- package/assets/default.css +1 -1
- 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/index.cjs +1 -1
- package/combobox/index.js +1 -1
- package/date-field/index.cjs +1 -1
- package/date-field/index.js +2 -2
- package/date-picker/index.cjs +1 -1
- package/date-picker/index.js +1 -1
- package/dropdown/index.cjs +1 -1
- package/dropdown/index.js +1 -1
- package/field-error/index.cjs +1 -1
- package/field-error/index.js +1 -1
- package/file-upload/index.cjs +1 -1
- package/file-upload/index.js +1 -1
- package/{getScrollParent-Ru2U2LlM.js → getScrollParent-DFCzfqHG.js} +1 -1
- package/{getScrollParent-DuKmPmUa.cjs → getScrollParent-DjULaF_q.cjs} +1 -1
- package/heading/index.cjs +1 -1
- package/heading/index.js +1 -1
- package/index.cjs +1 -1
- package/index.d.ts +1 -0
- package/index.js +99 -95
- package/info-banner/index.cjs +1 -1
- package/info-banner/index.js +1 -1
- package/intlStrings-Cd44R5hT.js +278 -0
- package/intlStrings-ClBuC6xN.cjs +1 -0
- 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/legacy-select/Select.d.ts +8 -0
- package/legacy-select/SelectTrigger.d.ts +10 -0
- package/legacy-select/index.cjs +1 -0
- package/legacy-select/index.d.ts +2 -0
- package/legacy-select/index.js +4 -0
- package/legacy-select/intl/translations.json.d.ts +17 -0
- package/{select → legacy-select}/types.d.ts +2 -2
- package/legacy-select/useMultiSelect.d.ts +5 -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/ListBox.d.ts +1 -2
- package/list-box/ListBoxHeader.d.ts +3 -0
- package/list-box/ListBoxItem.d.ts +9 -3
- package/list-box/ListBoxSection.d.ts +1 -1
- package/list-box/index.cjs +1 -1
- package/list-box/index.d.ts +1 -0
- package/list-box/index.js +9 -7
- package/menu/index.cjs +1 -1
- package/menu/index.js +2 -2
- package/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/package.json +4 -4
- package/popover/Popover.d.ts +2 -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/scrollIntoView-BVI21Y4-.js +65 -0
- package/scrollIntoView-BueMOyGp.cjs +1 -0
- package/search-field/index.cjs +1 -1
- package/search-field/index.js +1 -1
- package/select/Select.d.ts +33 -4
- package/select/SelectAll.d.ts +1 -0
- package/select/SelectTags.d.ts +4 -0
- package/select/SelectTrigger.d.ts +4 -8
- package/select/SelectValueTag.d.ts +5 -0
- package/select/index.cjs +1 -1
- package/select/index.d.ts +1 -2
- package/select/index.js +1 -1
- package/select/intl/translations.json.d.ts +2 -2
- package/spinner/Spinner.d.ts +5 -1
- package/spinner/index.cjs +1 -1
- package/spinner/index.js +1 -1
- package/table/index.cjs +1 -1
- package/table/index.js +1 -1
- package/tabs/Tabs.d.ts +2 -9
- package/tabs/index.cjs +1 -1
- package/tabs/index.d.ts +0 -1
- package/tabs/index.js +1 -1
- package/tag/index.cjs +1 -1
- package/tag/index.js +1 -1
- package/text/index.cjs +1 -1
- package/text/index.js +1 -1
- package/textfield/TextArea.d.ts +3 -2
- package/textfield/TextField.d.ts +3 -2
- package/textfield/index.cjs +1 -1
- package/textfield/index.js +1 -1
- package/toast/index.cjs +1 -1
- package/toast/index.js +1 -1
- package/toggle-button/index.cjs +1 -1
- package/toggle-button/index.js +1 -1
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/{useButton-Bh3duhYL.cjs → useButton-C0r5nrqs.cjs} +1 -1
- package/{useButton-A-VOfwuT.js → useButton-CRgN6aZf.js} +2 -2
- package/useDateFormatter-BrrFo4nY.cjs +1 -0
- package/{useDateFormatter-CxlJTAki.js → useDateFormatter-Bs5A6Xtu.js} +353 -322
- package/{useField-sSWPm-He.js → useField-Bx76iuoW.js} +1 -1
- package/{useField-CY4OYE5a.cjs → useField-DvszkIMx.cjs} +1 -1
- package/{useFilter-DHcouDzv.js → useFilter-Dn4vTT3G.js} +1 -1
- package/{useFilter-DlZLqsJD.cjs → useFilter-eOgdlVLd.cjs} +1 -1
- package/{useFocusRing-Cig5Y0l-.cjs → useFocusRing-C-XVcAE5.cjs} +1 -1
- package/{useFocusRing-Copf_tx8.js → useFocusRing-CcxI7nbg.js} +2 -2
- package/{useFocusWithin-BKopz9sr.js → useFocusWithin-DhXBuB2O.js} +1 -1
- package/{useFocusWithin-TryC2Kkw.cjs → useFocusWithin-GBjoTL5o.cjs} +1 -1
- package/{useFocusable-CCh54GIw.js → useFocusable-BJj-Bkig.js} +3 -3
- package/{useFocusable-DhdAtEw8.cjs → useFocusable-M4se1KJt.cjs} +1 -1
- package/{useFormValidation-DdIIVZ5j.js → useFormValidation-By7G-T7y.js} +1 -1
- package/{useFormValidation-BJNizNDf.cjs → useFormValidation-DV2Ioblb.cjs} +1 -1
- package/useHasTabbableChild-BJ_VejL5.cjs +1 -0
- package/{useHasTabbableChild-BbgOpdGQ.js → useHasTabbableChild-DpISgPsS.js} +1 -1
- package/{useHighlightSelectionDescription-D6F-YO6b.cjs → useHighlightSelectionDescription-CBZfyrhy.cjs} +1 -1
- package/{useHighlightSelectionDescription-BL_02EKv.js → useHighlightSelectionDescription-Zvo5KTxM.js} +2 -2
- package/{useHover-eU40luVI.cjs → useHover-DULSfLuK.cjs} +1 -1
- package/{useHover-zCCNtF6g.js → useHover-DkC5FyNd.js} +4 -4
- package/{useListState-D2yPZrFZ.js → useListState-CP7AKhOX.js} +1 -1
- package/{useListState-BdC308Sq.cjs → useListState-DZFWpD-x.cjs} +1 -1
- package/{usePress-4yZ5a87p.js → usePress-BqQIhkNY.js} +43 -43
- package/usePress-DmU79HEg.cjs +7 -0
- package/{useSingleSelectListState-lyai-bC_.js → useSingleSelectListState-GSY0f4qW.js} +1 -1
- package/{useSingleSelectListState-b_SPhYG4.cjs → useSingleSelectListState-JCvbhUVI.cjs} +1 -1
- package/{useTextField-DUEQl6sr.cjs → useTextField-CiWV3eeD.cjs} +1 -1
- package/{useTextField-DjxrmW7d.js → useTextField-I3QVGvyX.js} +4 -4
- package/utils/types.d.ts +5 -0
- package/utils-CtICjCYt.cjs +1 -0
- package/{utils-BMBoiyL7.js → utils-D2iKpxcZ.js} +43 -39
- package/utils-DRIRjPUS.cjs +1 -0
- package/{utils-CrT5PVBA.js → utils-Dxh86KaB.js} +19 -17
- package/AccordionItem-BJw5IKe0.js +0 -334
- package/AccordionItem-DhMimhYo.cjs +0 -1
- package/Button-BTX5G3le.cjs +0 -1
- package/Checkbox-D-CFY6QF.cjs +0 -1
- package/Collection-DaZzboRu.cjs +0 -1
- package/ComboBox-C4NybZ32.cjs +0 -1
- package/DateInputDivider-BgXKFwB0.cjs +0 -1
- package/DateRangePicker-DTPkr3hX.cjs +0 -6
- package/Dialog-DLnopN3Z.js +0 -237
- package/Dialog-DNu42oLH.cjs +0 -1
- package/Dialog-w6EBWT__.cjs +0 -1
- package/FocusScope-Dv0F-mG2.cjs +0 -1
- package/Group-C2hEIsGV.js +0 -45
- package/Group-cuyk9Hsy.cjs +0 -1
- package/Layout-CVnlO10z.cjs +0 -16
- package/ListBox-Bx9M5vqb.cjs +0 -1
- package/ListBoxLoadMoreItem-BBE3OF4J.cjs +0 -1
- package/ListBoxSection-kujY2gUl.cjs +0 -1
- package/ListKeyboardDelegate-DJDPir-w.cjs +0 -1
- package/Popover-BI2Koco0.cjs +0 -1
- package/Popover-D7_IfJ3o.js +0 -38
- package/RSPContexts-D8hmBfGm.cjs +0 -1
- package/Radio-D6KNkSA2.js +0 -333
- package/Radio-DsVsutMH.cjs +0 -1
- package/Select-D9h_RQ2k.cjs +0 -1
- package/Select-Dc6y8gPR.js +0 -654
- package/SelectionManager-D-4ThfPZ.js +0 -1043
- package/SelectionManager-FYrDfe5v.cjs +0 -1
- package/Spinner-CTha503N.js +0 -47
- package/Spinner-DKQ9_SQB.cjs +0 -6
- package/TabList-BhC96APe.cjs +0 -1
- package/TabList-P5HnizZt.js +0 -393
- package/Table-BB8Ag5_3.cjs +0 -16
- package/Tag-D2vh0KRD.js +0 -765
- package/Tag-D32MGLjS.cjs +0 -1
- package/TextField-4xfAzdBI.cjs +0 -1
- package/ToggleButtonGroup-CiX2eXB8.cjs +0 -1
- package/assets/ListBoxSection.css +0 -1
- package/scrollIntoView-ClEACHUk.js +0 -57
- package/scrollIntoView-DRSoJp89.cjs +0 -1
- package/select/useMultiSelect.d.ts +0 -4
- package/useDateFormatter-D0bVjgIb.cjs +0 -1
- package/useHasTabbableChild-wH3RCjTd.cjs +0 -1
- package/useObserveElement-BdI4zgd7.js +0 -27
- package/useObserveElement-BzEr5D32.cjs +0 -1
- package/usePress-Dj3t18Pf.cjs +0 -7
- package/utils-I-LGXGYH.cjs +0 -1
- package/utils-cBvgilDa.cjs +0 -1
- package/variables-B3KEYyhW.cjs +0 -1
- package/variables-DzXcMW2k.js +0 -5
- /package/{select → legacy-select}/HiddenMultiSelect.d.ts +0 -0
- /package/{select → legacy-select}/MultiSelectValueTag.d.ts +0 -0
- /package/{select → legacy-select}/SelectFieldError.d.ts +0 -0
- /package/{select → legacy-select}/SelectListBox.d.ts +0 -0
- /package/{select → legacy-select}/useMultiSelectListState.d.ts +0 -0
- /package/{select → legacy-select}/useMultiSelectState.d.ts +0 -0
- /package/{select → legacy-select}/utils.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const u=require("./utils-CtICjCYt.cjs"),n=require("react"),P=require("./useHover-DULSfLuK.cjs"),g=require("./useFocusRing-C-XVcAE5.cjs"),p=require("./mergeProps-Du5A8xi8.cjs"),c=n.createContext({}),q=n.forwardRef(function(e,a){[e,a]=u.$64fa3d84918910a7$export$29f1550f4b0d4415(e,a,c);let{isDisabled:d,isInvalid:i,isReadOnly:v,onHoverStart:$,onHoverChange:b,onHoverEnd:H,...h}=e,{hoverProps:x,isHovered:s}=P.$6179b936705e76d3$export$ae780daf29e6d456({onHoverStart:$,onHoverChange:b,onHoverEnd:H,isDisabled:d}),{isFocused:t,isFocusVisible:l,focusProps:F}=g.$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:s,isFocusWithin:t,isFocusVisible:l,isDisabled:d,isInvalid:i},defaultClassName:"react-aria-Group"});var o,r;return n.createElement("div",{...p.$3ef42575df84b30b$export$9d1611c77c2fe928(h,F,x),...f,ref:a,role:(o=e.role)!==null&&o!==void 0?o:"group",slot:(r=e.slot)!==null&&r!==void 0?r:void 0,"data-focus-within":t||void 0,"data-hovered":s||void 0,"data-focus-visible":l||void 0,"data-disabled":d||void 0,"data-invalid":i||void 0,"data-readonly":v||void 0},f.children)});exports.$a049562f99e7db0e$export$eb2fcfdbd7ba97d4=q;exports.$a049562f99e7db0e$export$f9c6924e160136d1=c;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { $ as H, a as h } from "./utils-D2iKpxcZ.js";
|
|
2
|
+
import x, { forwardRef as p, createContext as F } from "react";
|
|
3
|
+
import { $ as P } from "./useHover-DkC5FyNd.js";
|
|
4
|
+
import { $ as _ } from "./useFocusRing-CcxI7nbg.js";
|
|
5
|
+
import { a as C } from "./mergeProps-Ct8m5-xW.js";
|
|
6
|
+
const g = /* @__PURE__ */ F({}), I = /* @__PURE__ */ p(function(e, i) {
|
|
7
|
+
[e, i] = H(e, i, g);
|
|
8
|
+
let { isDisabled: a, isInvalid: d, isReadOnly: f, onHoverStart: u, onHoverChange: v, onHoverEnd: c, ...$ } = e, { hoverProps: b, isHovered: s } = P({
|
|
9
|
+
onHoverStart: u,
|
|
10
|
+
onHoverChange: v,
|
|
11
|
+
onHoverEnd: c,
|
|
12
|
+
isDisabled: a
|
|
13
|
+
}), { isFocused: n, isFocusVisible: t, focusProps: m } = _({
|
|
14
|
+
within: !0
|
|
15
|
+
});
|
|
16
|
+
a ?? (a = !!e["aria-disabled"] && e["aria-disabled"] !== "false"), d ?? (d = !!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: d
|
|
25
|
+
},
|
|
26
|
+
defaultClassName: "react-aria-Group"
|
|
27
|
+
});
|
|
28
|
+
var o, r;
|
|
29
|
+
return /* @__PURE__ */ x.createElement("div", {
|
|
30
|
+
...C($, m, b),
|
|
31
|
+
...l,
|
|
32
|
+
ref: i,
|
|
33
|
+
role: (o = e.role) !== null && o !== void 0 ? o : "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": d || void 0,
|
|
40
|
+
"data-readonly": f || void 0
|
|
41
|
+
}, l.children);
|
|
42
|
+
});
|
|
43
|
+
export {
|
|
44
|
+
g as $,
|
|
45
|
+
I as a
|
|
46
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import { c as _ } from "./clsx-jbLnTBqA.js";
|
|
3
|
-
import {
|
|
4
|
-
import { $ as f } from "./utils-
|
|
3
|
+
import { a as m } from "./RSPContexts-B0lEq7qq.js";
|
|
4
|
+
import { $ as f } from "./utils-D2iKpxcZ.js";
|
|
5
5
|
import i, { forwardRef as d } from "react";
|
|
6
|
-
import './assets/Heading.css';const $ = /* @__PURE__ */ d(function(
|
|
7
|
-
[
|
|
8
|
-
let { children: h, level: r = 3, className: e, ...o } =
|
|
6
|
+
import './assets/Heading.css';const $ = /* @__PURE__ */ d(function(t, s) {
|
|
7
|
+
[t, s] = f(t, s, m);
|
|
8
|
+
let { children: h, level: r = 3, className: e, ...o } = t, c = `h${r}`;
|
|
9
9
|
return /* @__PURE__ */ i.createElement(c, {
|
|
10
10
|
...o,
|
|
11
11
|
ref: s,
|
|
12
12
|
className: e ?? "react-aria-Heading"
|
|
13
13
|
}, h);
|
|
14
|
-
}), p = "_h1_155q3_1", u = "_h2_155q3_2", x = "_h3_155q3_3", q = "_h4_155q3_4", v = "_h5_155q3_5", b = "_h6_155q3_6",
|
|
14
|
+
}), p = "_h1_155q3_1", u = "_h2_155q3_2", x = "_h3_155q3_3", q = "_h4_155q3_4", v = "_h5_155q3_5", b = "_h6_155q3_6", a = {
|
|
15
15
|
h1: p,
|
|
16
16
|
h2: u,
|
|
17
17
|
h3: x,
|
|
@@ -20,7 +20,7 @@ import './assets/Heading.css';const $ = /* @__PURE__ */ d(function(a, s) {
|
|
|
20
20
|
h6: b
|
|
21
21
|
}, j = ({
|
|
22
22
|
children: n,
|
|
23
|
-
className:
|
|
23
|
+
className: t,
|
|
24
24
|
enableMargins: s = !1,
|
|
25
25
|
isExpressive: h = !1,
|
|
26
26
|
level: r = 3,
|
|
@@ -33,8 +33,8 @@ import './assets/Heading.css';const $ = /* @__PURE__ */ d(function(a, s) {
|
|
|
33
33
|
{
|
|
34
34
|
level: c || r,
|
|
35
35
|
className: _(
|
|
36
|
-
[
|
|
37
|
-
|
|
36
|
+
[a.h1, a.h2, a.h3, a.h4, a.h5, a.h6][r - 1],
|
|
37
|
+
t
|
|
38
38
|
),
|
|
39
39
|
...h && { "data-expressive": !0 },
|
|
40
40
|
...s && { "data-margin": !0 },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./assets/Heading.css');const i=require("react/jsx-runtime"),_=require("./clsx-DKOfLqne.cjs"),d=require("./RSPContexts-
|
|
1
|
+
"use strict";require('./assets/Heading.css');const i=require("react/jsx-runtime"),_=require("./clsx-DKOfLqne.cjs"),d=require("./RSPContexts-XUvspq3j.cjs"),u=require("./utils-CtICjCYt.cjs"),o=require("react"),$=o.forwardRef(function(s,a){[s,a]=u.$64fa3d84918910a7$export$29f1550f4b0d4415(s,a,d.$4e85f108e88277b8$export$d688439359537581);let{children:c,level:n=3,className:e,...r}=s,h=`h${n}`;return o.createElement(h,{...r,ref:a,className:e??"react-aria-Heading"},c)}),f="_h1_155q3_1",q="_h2_155q3_2",m="_h3_155q3_3",x="_h4_155q3_4",g="_h5_155q3_5",v="_h6_155q3_6",t={h1:f,h2:q,h3:m,h4:x,h5:g,h6:v},b=({children:l,className:s,enableMargins:a=!1,isExpressive:c=!1,level:n=3,elementType:e,...r})=>{const h=e&&parseInt(e.split("h")[1]);return i.jsx($,{level:h||n,className:_.clsx([t.h1,t.h2,t.h3,t.h4,t.h5,t.h6][n-1],s),...c&&{"data-expressive":!0},...a&&{"data-margin":!0},...r,children:l})};exports.Heading=b;
|
|
@@ -2,7 +2,7 @@ import { jsxs as i, jsx as n } from "react/jsx-runtime";
|
|
|
2
2
|
import { i as h } from "./icon-map-uS87FT_Q.js";
|
|
3
3
|
import * as x from "react";
|
|
4
4
|
import { c as B } from "./clsx-jbLnTBqA.js";
|
|
5
|
-
import { B as N } from "./Button-
|
|
5
|
+
import { B as N } from "./Button-DdXFHfXw.js";
|
|
6
6
|
import { X as b } from "./x-C2xUHAEl.js";
|
|
7
7
|
import { u as v } from "./useLocalizedStringFormatter-aOhh7wdl.js";
|
|
8
8
|
import './assets/InfoBanner.css';const S = "_infoBanner_1oj11_1", w = "_success_1oj11_11", z = "_info_1oj11_1", I = "_important_1oj11_21", $ = "_warning_1oj11_26", y = "_content_1oj11_40", F = "_heading_1oj11_46", L = "_text_1oj11_51", M = "_icon_1oj11_57", P = "_dismissable_1oj11_66", s = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./assets/InfoBanner.css');const e=require("react/jsx-runtime"),g=require("./icon-map-9XcghDra.cjs"),b=require("react"),p=require("./clsx-DKOfLqne.cjs"),h=require("./Button-
|
|
1
|
+
"use strict";require('./assets/InfoBanner.css');const e=require("react/jsx-runtime"),g=require("./icon-map-9XcghDra.cjs"),b=require("react"),p=require("./clsx-DKOfLqne.cjs"),h=require("./Button-BEWKXjlP.cjs"),B=require("./x-rV-nu490.cjs"),N=require("./useLocalizedStringFormatter-BSac43NO.cjs");function S(s){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(s){for(const n in s)if(n!=="default"){const c=Object.getOwnPropertyDescriptor(s,n);Object.defineProperty(o,n,c.get?c:{enumerable:!0,get:()=>s[n]})}}return o.default=s,Object.freeze(o)}const q=S(b),v="_infoBanner_1oj11_1",z="_success_1oj11_11",w="_info_1oj11_1",y="_important_1oj11_21",$="_warning_1oj11_26",I="_content_1oj11_40",M="_heading_1oj11_46",O="_text_1oj11_51",P="_icon_1oj11_57",R="_dismissable_1oj11_66",t={infoBanner:v,success:z,info:w,important:y,warning:$,content:I,heading:M,text:O,icon:P,dismissable:R},D={close:"Close"},F={close:"Stäng"},L={en:D,sv:F},k=({title:s,message:o,type:n,children:c,isDismissable:u=!1,defaultOpen:_=!0,isOpen:a,onOpenChange:i,...l})=>{const r=typeof a<"u",[d,f]=q.useState(_),j=g.iconMap[n],m=N.useLocalizedStringFormatter(L),x=()=>{i==null||i(!1),r||f(!1)};return r&&a||!r&&d?e.jsxs("div",{...l,className:p.clsx(t.infoBanner,t[n],l.className),children:[e.jsx(j,{size:20,"aria-hidden":!0,className:t.icon}),e.jsxs("div",{className:t.content,children:[s&&e.jsx("strong",{className:t.heading,children:s}),e.jsxs("div",{className:t.text,children:[o,c]})]}),u&&e.jsx("div",{className:t.dismissable,children:e.jsx(h.Button,{variant:"icon","aria-label":m.format("close"),onPress:x,children:e.jsx(B.X,{size:20})})})]}):null};exports.InfoBanner=k;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const c=require("./utils-
|
|
1
|
+
"use strict";const c=require("./utils-CtICjCYt.cjs"),l=require("./Hidden-BxRZGdEW.cjs"),n=require("react"),b=require("./useHover-DULSfLuK.cjs"),v=require("./useFocusRing-C-XVcAE5.cjs"),x=require("./mergeProps-Du5A8xi8.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,8 +1,8 @@
|
|
|
1
|
-
import { $, a as c } from "./utils-
|
|
1
|
+
import { $, a as c } from "./utils-D2iKpxcZ.js";
|
|
2
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-
|
|
4
|
+
import { $ as v } from "./useHover-DkC5FyNd.js";
|
|
5
|
+
import { $ as m } from "./useFocusRing-CcxI7nbg.js";
|
|
6
6
|
import { a as x } from "./mergeProps-Ct8m5-xW.js";
|
|
7
7
|
const H = /* @__PURE__ */ b({});
|
|
8
8
|
let p = (d) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('./assets/Label.css');const t=require("react/jsx-runtime"),l=require("react"),u=require("./clsx-DKOfLqne.cjs"),p=require("./Button-
|
|
1
|
+
"use strict";require('./assets/Label.css');const t=require("react/jsx-runtime"),l=require("react"),u=require("./clsx-DKOfLqne.cjs"),p=require("./Button-1sEX8jKn.cjs"),d=require("./Popover-DpB0XDBp.cjs"),f=require("./Button-BEWKXjlP.cjs"),v=require("./Dialog-DycTLpdr.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_16cj3_1",_={labelBase:j},$="_labelPopover_1iatl_1",I="_labelPopoverTrigger_1iatl_7",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;
|
|
@@ -2,10 +2,10 @@ import { jsxs as c, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import * as b from "react";
|
|
3
3
|
import l from "react";
|
|
4
4
|
import { c as f } from "./clsx-jbLnTBqA.js";
|
|
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-
|
|
5
|
+
import { d } from "./Button-BbfVT9Yl.js";
|
|
6
|
+
import { P as v } from "./Popover-CS8Yyfrq.js";
|
|
7
|
+
import { B as u } from "./Button-DdXFHfXw.js";
|
|
8
|
+
import { $ as P } from "./Dialog-D4Py85wi.js";
|
|
9
9
|
import { I as g } from "./info-CPK1vbOJ.js";
|
|
10
10
|
import { u as _ } from "./useLocalizedStringFormatter-aOhh7wdl.js";
|
|
11
11
|
import './assets/Label.css';const $ = "_labelBase_16cj3_1", I = {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";require('./assets/Layout.css');const e=require("react/jsx-runtime"),E=require("./GridItem-BZ8eOXMB.cjs"),O=require("react"),p=require("./clsx-DKOfLqne.cjs"),L=require("./Button-BEWKXjlP.cjs"),C=require("./Link-DRU6Qzia.cjs"),I=require("./Tooltip-D-ATlbIM.cjs"),j=require("./BadgeContainer-BZl6mSeb.cjs"),y=require("./createLucideIcon-CTVXwe6i.cjs"),T=require("./usePress-DmU79HEg.cjs"),N=require("./useLocalizedStringFormatter-BSac43NO.cjs"),k=require("./Logo-4tRnV4Su.cjs"),H=require("./x-rV-nu490.cjs");function G(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 b=G(O);/**
|
|
2
|
+
* @license lucide-react v0.525.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 D=[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]],F=y.createLucideIcon("menu",D);/**
|
|
7
|
+
* @license lucide-react v0.525.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 W=[["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"}]],R=y.createLucideIcon("panel-left-close",W);/**
|
|
12
|
+
* @license lucide-react v0.525.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 A=[["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"}]],X=y.createLucideIcon("panel-left-open",A),J="_baseLayout_7ccl4_1",K="_mainContent_7ccl4_10",Q="_header_7ccl4_15",U="_headerExternal_7ccl4_26",V="_headerContent_7ccl4_41",Y="_logo_7ccl4_60",Z="_headerItems_7ccl4_69",ee="_toggleButton_7ccl4_75",se="_sidebar_7ccl4_83",ae="_main_7ccl4_10",te="_app_7ccl4_116",ne="_sidebarOpened_7ccl4_124",re="_sidebarHeader_7ccl4_128",ie="_appName_7ccl4_140",ce="_collapseButton_7ccl4_147",oe="_sidebarCollapsed_7ccl4_156",le="_userName_7ccl4_166",de="_userTitle_7ccl4_184",me="_title_7ccl4_196",ue="_sidebarNav_7ccl4_207",xe="_list_7ccl4_213",pe="_listGroupTitle_7ccl4_219",_e="_listItem_7ccl4_226",he="_listItemCollapsed_7ccl4_231",be="_listLink_7ccl4_235",je="_listLinkCollapsed_7ccl4_298",ve="_active_7ccl4_303",fe="_backdrop_7ccl4_330",Ne="_backdropOpened_7ccl4_340",ge="_skipToContent_7ccl4_358",ke="_navbar_7ccl4_372",Ce="_navbarList_7ccl4_384",Le="_navbarItem_7ccl4_406",ye="_headerContentExternal_7ccl4_457",Se="_logoExternalContainer_7ccl4_465",Me="_logoExternal_7ccl4_465",Ee="_logoExternalDesktop_7ccl4_477",Ie="_navbarWrapper_7ccl4_486",s={baseLayout:J,mainContent:K,header:Q,headerExternal:U,headerContent:V,logo:Y,headerItems:Z,toggleButton:ee,sidebar:se,main:ae,app:te,sidebarOpened:ne,sidebarHeader:re,appName:ie,collapseButton:ce,sidebarCollapsed:oe,userName:le,userTitle:de,title:me,sidebarNav:ue,list:xe,listGroupTitle:pe,listItem:_e,listItemCollapsed:he,listLink:be,listLinkCollapsed:je,active:ve,backdrop:fe,backdropOpened:Ne,skipToContent:ge,navbar:ke,navbarList:Ce,navbarItem:Le,headerContentExternal:ye,logoExternalContainer:Se,logoExternal:Me,logoExternalDesktop:Ee,navbarWrapper:Ie},$=b.createContext(void 0),Be=({items:a,title:t,user:r,app:n,children:i,clientSideRouter:o,clientSideHref:c,headerChildren:x,isCollapsed:u,setIsCollapsed:d,isOpened:_,setIsOpened:m,variant:h,id:v})=>e.jsx($.Provider,{value:{items:a,title:t,user:r,app:n,headerChildren:x,isCollapsed:u,setIsCollapsed:d,isOpened:_,setIsOpened:m,clientSideRouter:o,clientSideHref:c,variant:h,id:v},children:i}),f=()=>{const a=b.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:o,setIsOpened:c,clientSideHref:x}=f(),u=x?x(t):t,[d,_]=b.useState(!1);return b.useEffect(()=>{typeof window<"u"&&_(n??window.location.pathname===u)},[n,u]),o?e.jsxs(I.TooltipTrigger,{children:[e.jsx(C.$4f118338184dc1d9$export$a6c7ac8248d6e38a,{href:t,"aria-label":a,className:p.clsx(s.listLink,s.listLinkCollapsed,d&&s.active),onPress:()=>c==null?void 0:c(!1),children:e.jsxs(j.BadgeContainer,{children:[e.jsx(r,{size:20,"aria-label":a}),i&&e.jsx(j.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,d&&s.active),onPress:()=>c==null?void 0:c(!1),children:[e.jsxs(j.BadgeContainer,{children:[e.jsx(r,{size:20}),i&&e.jsx(j.Badge,{})]}),a]})},ze={closeMenu:"Close menu",openMenu:"Open menu",maximizeMenu:"Maximize menu",minimizeMenu:"Minimize menu",sidebarMenu:"Sidebar menu",bottomMenu:"Bottom menu",skipToContent:"Skip to main content"},Te={closeMenu:"Stäng meny",openMenu:"Öppna meny",maximizeMenu:"Maximera meny",minimizeMenu:"Minimera meny",sidebarMenu:"Sidomeny",bottomMenu:"Bottenmeny",skipToContent:"Hoppa till huvudinnehåll"},g={en:ze,sv:Te},P=()=>{const{items:a,app:t,isOpened:r,isCollapsed:n,setIsCollapsed:i,setIsOpened:o,clientSideRouter:c,clientSideHref:x,id:u}=f(),d=N.useLocalizedStringFormatter(g),_=({group:m})=>e.jsx("ul",{className:s.list,children:m.items.map((h,v)=>e.jsx("li",{className:p.clsx(s.listItem,n&&s.listItemCollapsed),children:e.jsx(S,{...h})},"link_"+v))});return b.useEffect(()=>{const m=h=>{h.key==="Escape"&&o!==void 0&&o(!1)};return window.addEventListener("keydown",m),()=>{window.removeEventListener("keydown",m)}},[o]),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?d.format("maximizeMenu"):d.format("minimizeMenu"),onPress:()=>i(!n),className:s.collapseButton,children:n?e.jsx(X,{size:20}):e.jsx(R,{size:20})})]}),e.jsx("nav",{className:s.sidebarNav,"aria-label":d.format("sidebarMenu"),children:e.jsx("ul",{className:s.list,children:a.map((m,h)=>e.jsxs("li",{children:[m.title&&!n&&e.jsx("p",{className:s.listGroupTitle,children:m.title}),c?e.jsx(T.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb,{navigate:c,useHref:x,children:e.jsx(_,{group:m})}):e.jsx(_,{group:m})]},"list_"+h))})})]})},$e="light-dark(#b90835, #b90835)",w=()=>{const{title:a,user:t,app:r,isOpened:n,setIsOpened:i,setIsCollapsed:o,headerChildren:c,variant:x,id:u}=f(),d=N.useLocalizedStringFormatter(g);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:c})]})}):e.jsxs("header",{className:s.header,style:{borderTop:`solid 4px ${r.color?r.color:$e}`},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?d.format("closeMenu"):d.format("openMenu"),"aria-controls":u,onPressStart:()=>{o(!1),i==null||i(!0)},children:n?e.jsx(H.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:c})]})},B=({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=N.useLocalizedStringFormatter(g);return e.jsx(L.Button,{onPress:t,className:s.skipToContent,children:r.format("skipToContent")})},Pe=()=>{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},q=()=>{var o;const{items:a,clientSideRouter:t,clientSideHref:r}=f(),n=N.useLocalizedStringFormatter(g),i=(o=a.at(0))==null?void 0:o.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(z,{items:i})}):e.jsx(z,{items:i})})})},z=({items:a})=>e.jsx(e.Fragment,{children:a.map(({href:t,active:r,icon:n,title:i,hasBadge:o},c)=>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(j.BadgeContainer,{children:[e.jsx(n,{size:20}),o&&e.jsx(j.Badge,{})]}),i]})},c))}),l=({items:a,title:t,user:r,app:n,children:i,headerChildren:o,clientSideRouter:c,clientSideHref:x,variant:u,className:d})=>{const[_,m]=b.useState(!1),[h,v]=b.useState(!1),M=b.useId();return u==="external"?e.jsx(l.Provider,{items:a,title:t,user:r,app:n,clientSideRouter:c,clientSideHref:x,headerChildren:o,isCollapsed:_,setIsCollapsed:m,variant:u,id:M,children:e.jsxs("div",{className:p.clsx(s.baseLayout,d),children:[e.jsx(B,{}),e.jsx(l.Header,{}),e.jsxs("div",{className:s.mainContent,children:[e.jsx(l.Sidebar,{}),e.jsx(E.GridItem,{children:e.jsx("main",{className:s.main,children:e.jsx("div",{className:s.app,children:i})})}),e.jsx(l.Backdrop,{})]}),e.jsx("div",{className:s.navbarWrapper,children:e.jsx(l.Navbar,{})})]})}):e.jsx(l.Provider,{items:a,title:t,user:r,app:n,clientSideRouter:c,clientSideHref:x,headerChildren:o,isCollapsed:_,setIsCollapsed:m,isOpened:h,setIsOpened:v,variant:u,id:M,children:e.jsxs("div",{className:p.clsx(s.baseLayout,d),children:[e.jsx(B,{}),e.jsx(l.Header,{}),e.jsxs("div",{className:s.mainContent,children:[e.jsx(l.Sidebar,{}),e.jsx(E.GridItem,{children:e.jsx("main",{className:s.main,children:e.jsx("div",{className:s.app,children:i})})}),e.jsx(l.Backdrop,{})]})]})})};l.Provider=Be;l.Header=w;l.Sidebar=P;l.SidebarLink=S;l.Navbar=q;l.Backdrop=Pe;exports.Header=w;exports.Layout=l;exports.Navbar=q;exports.Sidebar=P;exports.SidebarLink=S;
|
|
@@ -2,90 +2,89 @@ import { jsx as e, jsxs as l, Fragment as $ } from "react/jsx-runtime";
|
|
|
2
2
|
import { G as I } from "./GridItem-YtIpL5V2.js";
|
|
3
3
|
import * as f from "react";
|
|
4
4
|
import { c as h } from "./clsx-jbLnTBqA.js";
|
|
5
|
-
import { B as E } from "./Button-
|
|
6
|
-
import { $ as y } from "./Link-
|
|
7
|
-
import { a as O, T as G } from "./Tooltip-
|
|
5
|
+
import { B as E } from "./Button-DdXFHfXw.js";
|
|
6
|
+
import { $ as y } from "./Link-l-nMP-Zd.js";
|
|
7
|
+
import { a as O, T as G } from "./Tooltip-CUdmOznK.js";
|
|
8
8
|
import { a as L, B as M } from "./BadgeContainer-DilMiV6u.js";
|
|
9
9
|
import { c as T } from "./createLucideIcon-XRdN60yz.js";
|
|
10
|
-
import { $ as w } from "./usePress-
|
|
10
|
+
import { $ as w } from "./usePress-BqQIhkNY.js";
|
|
11
11
|
import { u as C } from "./useLocalizedStringFormatter-aOhh7wdl.js";
|
|
12
|
-
import { b as W } from "./variables-DzXcMW2k.js";
|
|
13
12
|
import { L as g } from "./Logo-DLlt576_.js";
|
|
14
|
-
import { X as
|
|
13
|
+
import { X as W } from "./x-C2xUHAEl.js";
|
|
15
14
|
import './assets/Layout.css';/**
|
|
16
15
|
* @license lucide-react v0.525.0 - ISC
|
|
17
16
|
*
|
|
18
17
|
* This source code is licensed under the ISC license.
|
|
19
18
|
* See the LICENSE file in the root directory of this source tree.
|
|
20
19
|
*/
|
|
21
|
-
const
|
|
20
|
+
const j = [
|
|
22
21
|
["path", { d: "M4 12h16", key: "1lakjw" }],
|
|
23
22
|
["path", { d: "M4 18h16", key: "19g7jn" }],
|
|
24
23
|
["path", { d: "M4 6h16", key: "1o0s65" }]
|
|
25
|
-
],
|
|
24
|
+
], D = T("menu", j);
|
|
26
25
|
/**
|
|
27
26
|
* @license lucide-react v0.525.0 - ISC
|
|
28
27
|
*
|
|
29
28
|
* This source code is licensed under the ISC license.
|
|
30
29
|
* See the LICENSE file in the root directory of this source tree.
|
|
31
30
|
*/
|
|
32
|
-
const
|
|
31
|
+
const q = [
|
|
33
32
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
34
33
|
["path", { d: "M9 3v18", key: "fh3hqa" }],
|
|
35
34
|
["path", { d: "m16 15-3-3 3-3", key: "14y99z" }]
|
|
36
|
-
],
|
|
35
|
+
], A = T("panel-left-close", q);
|
|
37
36
|
/**
|
|
38
37
|
* @license lucide-react v0.525.0 - ISC
|
|
39
38
|
*
|
|
40
39
|
* This source code is licensed under the ISC license.
|
|
41
40
|
* See the LICENSE file in the root directory of this source tree.
|
|
42
41
|
*/
|
|
43
|
-
const
|
|
42
|
+
const F = [
|
|
44
43
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
45
44
|
["path", { d: "M9 3v18", key: "fh3hqa" }],
|
|
46
45
|
["path", { d: "m14 9 3 3-3 3", key: "8010ee" }]
|
|
47
|
-
],
|
|
48
|
-
baseLayout:
|
|
49
|
-
mainContent:
|
|
50
|
-
header:
|
|
51
|
-
headerExternal:
|
|
52
|
-
headerContent:
|
|
53
|
-
logo:
|
|
54
|
-
headerItems:
|
|
55
|
-
toggleButton:
|
|
56
|
-
sidebar:
|
|
57
|
-
main:
|
|
58
|
-
app:
|
|
59
|
-
sidebarOpened:
|
|
60
|
-
sidebarHeader:
|
|
61
|
-
appName:
|
|
62
|
-
collapseButton:
|
|
63
|
-
sidebarCollapsed:
|
|
64
|
-
userName:
|
|
65
|
-
userTitle:
|
|
66
|
-
title:
|
|
67
|
-
sidebarNav:
|
|
68
|
-
list:
|
|
69
|
-
listGroupTitle:
|
|
70
|
-
listItem:
|
|
71
|
-
listItemCollapsed:
|
|
72
|
-
listLink:
|
|
73
|
-
listLinkCollapsed:
|
|
74
|
-
active:
|
|
75
|
-
backdrop:
|
|
76
|
-
backdropOpened:
|
|
77
|
-
skipToContent:
|
|
78
|
-
navbar:
|
|
79
|
-
navbarList:
|
|
80
|
-
navbarItem:
|
|
81
|
-
headerContentExternal:
|
|
82
|
-
logoExternalContainer:
|
|
83
|
-
logoExternal:
|
|
84
|
-
logoExternalDesktop:
|
|
85
|
-
navbarWrapper:
|
|
46
|
+
], R = T("panel-left-open", F), X = "_baseLayout_7ccl4_1", J = "_mainContent_7ccl4_10", K = "_header_7ccl4_15", Q = "_headerExternal_7ccl4_26", U = "_headerContent_7ccl4_41", V = "_logo_7ccl4_60", Y = "_headerItems_7ccl4_69", Z = "_toggleButton_7ccl4_75", ee = "_sidebar_7ccl4_83", ae = "_main_7ccl4_10", te = "_app_7ccl4_116", ne = "_sidebarOpened_7ccl4_124", se = "_sidebarHeader_7ccl4_128", ie = "_appName_7ccl4_140", re = "_collapseButton_7ccl4_147", oe = "_sidebarCollapsed_7ccl4_156", le = "_userName_7ccl4_166", ce = "_userTitle_7ccl4_184", de = "_title_7ccl4_196", me = "_sidebarNav_7ccl4_207", pe = "_list_7ccl4_213", _e = "_listGroupTitle_7ccl4_219", ue = "_listItem_7ccl4_226", he = "_listItemCollapsed_7ccl4_231", be = "_listLink_7ccl4_235", ve = "_listLinkCollapsed_7ccl4_298", fe = "_active_7ccl4_303", Ne = "_backdrop_7ccl4_330", ke = "_backdropOpened_7ccl4_340", Ce = "_skipToContent_7ccl4_358", xe = "_navbar_7ccl4_372", ge = "_navbarList_7ccl4_384", ye = "_navbarItem_7ccl4_406", Le = "_headerContentExternal_7ccl4_457", Me = "_logoExternalContainer_7ccl4_465", Ee = "_logoExternal_7ccl4_465", Te = "_logoExternalDesktop_7ccl4_477", Se = "_navbarWrapper_7ccl4_486", a = {
|
|
47
|
+
baseLayout: X,
|
|
48
|
+
mainContent: J,
|
|
49
|
+
header: K,
|
|
50
|
+
headerExternal: Q,
|
|
51
|
+
headerContent: U,
|
|
52
|
+
logo: V,
|
|
53
|
+
headerItems: Y,
|
|
54
|
+
toggleButton: Z,
|
|
55
|
+
sidebar: ee,
|
|
56
|
+
main: ae,
|
|
57
|
+
app: te,
|
|
58
|
+
sidebarOpened: ne,
|
|
59
|
+
sidebarHeader: se,
|
|
60
|
+
appName: ie,
|
|
61
|
+
collapseButton: re,
|
|
62
|
+
sidebarCollapsed: oe,
|
|
63
|
+
userName: le,
|
|
64
|
+
userTitle: ce,
|
|
65
|
+
title: de,
|
|
66
|
+
sidebarNav: me,
|
|
67
|
+
list: pe,
|
|
68
|
+
listGroupTitle: _e,
|
|
69
|
+
listItem: ue,
|
|
70
|
+
listItemCollapsed: he,
|
|
71
|
+
listLink: be,
|
|
72
|
+
listLinkCollapsed: ve,
|
|
73
|
+
active: fe,
|
|
74
|
+
backdrop: Ne,
|
|
75
|
+
backdropOpened: ke,
|
|
76
|
+
skipToContent: Ce,
|
|
77
|
+
navbar: xe,
|
|
78
|
+
navbarList: ge,
|
|
79
|
+
navbarItem: ye,
|
|
80
|
+
headerContentExternal: Le,
|
|
81
|
+
logoExternalContainer: Me,
|
|
82
|
+
logoExternal: Ee,
|
|
83
|
+
logoExternalDesktop: Te,
|
|
84
|
+
navbarWrapper: Se
|
|
86
85
|
}, P = f.createContext(
|
|
87
86
|
void 0
|
|
88
|
-
),
|
|
87
|
+
), Ie = ({
|
|
89
88
|
items: s,
|
|
90
89
|
title: n,
|
|
91
90
|
user: i,
|
|
@@ -176,10 +175,10 @@ const R = [
|
|
|
176
175
|
]
|
|
177
176
|
}
|
|
178
177
|
);
|
|
179
|
-
},
|
|
180
|
-
en:
|
|
181
|
-
sv:
|
|
182
|
-
},
|
|
178
|
+
}, ze = { closeMenu: "Close menu", openMenu: "Open menu", maximizeMenu: "Maximize menu", minimizeMenu: "Minimize menu", sidebarMenu: "Sidebar menu", bottomMenu: "Bottom menu", skipToContent: "Skip to main content" }, Be = { closeMenu: "Stäng meny", openMenu: "Öppna meny", maximizeMenu: "Maximera meny", minimizeMenu: "Minimera meny", sidebarMenu: "Sidomeny", bottomMenu: "Bottenmeny", skipToContent: "Hoppa till huvudinnehåll" }, x = {
|
|
179
|
+
en: ze,
|
|
180
|
+
sv: Be
|
|
181
|
+
}, we = () => {
|
|
183
182
|
const {
|
|
184
183
|
items: s,
|
|
185
184
|
app: n,
|
|
@@ -227,7 +226,7 @@ const R = [
|
|
|
227
226
|
"aria-label": t ? m.format("maximizeMenu") : m.format("minimizeMenu"),
|
|
228
227
|
onPress: () => r(!t),
|
|
229
228
|
className: a.collapseButton,
|
|
230
|
-
children: t ? /* @__PURE__ */ e(
|
|
229
|
+
children: t ? /* @__PURE__ */ e(R, { size: 20 }) : /* @__PURE__ */ e(A, { size: 20 })
|
|
231
230
|
}
|
|
232
231
|
)
|
|
233
232
|
] }),
|
|
@@ -252,7 +251,7 @@ const R = [
|
|
|
252
251
|
]
|
|
253
252
|
}
|
|
254
253
|
);
|
|
255
|
-
}, He = () => {
|
|
254
|
+
}, Pe = "light-dark(#b90835, #b90835)", He = () => {
|
|
256
255
|
const {
|
|
257
256
|
title: s,
|
|
258
257
|
user: n,
|
|
@@ -293,7 +292,7 @@ const R = [
|
|
|
293
292
|
{
|
|
294
293
|
className: a.header,
|
|
295
294
|
style: {
|
|
296
|
-
borderTop: `solid 4px ${i.color ? i.color :
|
|
295
|
+
borderTop: `solid 4px ${i.color ? i.color : Pe}`
|
|
297
296
|
},
|
|
298
297
|
children: [
|
|
299
298
|
/* @__PURE__ */ l("div", { className: a.headerContent, children: [
|
|
@@ -315,13 +314,13 @@ const R = [
|
|
|
315
314
|
c(!1), r == null || r(!0);
|
|
316
315
|
},
|
|
317
316
|
children: t ? /* @__PURE__ */ e(
|
|
318
|
-
|
|
317
|
+
W,
|
|
319
318
|
{
|
|
320
319
|
size: 20,
|
|
321
320
|
"aria-hidden": "true"
|
|
322
321
|
}
|
|
323
322
|
) : /* @__PURE__ */ e(
|
|
324
|
-
|
|
323
|
+
D,
|
|
325
324
|
{
|
|
326
325
|
size: 20,
|
|
327
326
|
"aria-hidden": "true"
|
|
@@ -467,9 +466,9 @@ const R = [
|
|
|
467
466
|
}
|
|
468
467
|
);
|
|
469
468
|
};
|
|
470
|
-
d.Provider =
|
|
469
|
+
d.Provider = Ie;
|
|
471
470
|
d.Header = He;
|
|
472
|
-
d.Sidebar =
|
|
471
|
+
d.Sidebar = we;
|
|
473
472
|
d.SidebarLink = H;
|
|
474
473
|
d.Navbar = Oe;
|
|
475
474
|
d.Backdrop = $e;
|
|
@@ -477,6 +476,6 @@ export {
|
|
|
477
476
|
He as H,
|
|
478
477
|
d as L,
|
|
479
478
|
Oe as N,
|
|
480
|
-
|
|
479
|
+
we as S,
|
|
481
480
|
H as a
|
|
482
481
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o, jsxs as u, Fragment as p } from "react/jsx-runtime";
|
|
2
|
-
import { $ as h } from "./Link-
|
|
2
|
+
import { $ as h } from "./Link-l-nMP-Zd.js";
|
|
3
3
|
import { c as k } from "./clsx-jbLnTBqA.js";
|
|
4
4
|
import { c as w } from "./createLucideIcon-XRdN60yz.js";
|
|
5
5
|
import { S as g } from "./square-arrow-out-up-right-ok0A3Ovo.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";require('./assets/Link.css');const n=require("react/jsx-runtime"),x=require("./Link-
|
|
1
|
+
"use strict";require('./assets/Link.css');const n=require("react/jsx-runtime"),x=require("./Link-DRU6Qzia.cjs"),k=require("./clsx-DKOfLqne.cjs"),j=require("./createLucideIcon-CTVXwe6i.cjs"),w=require("./square-arrow-out-up-right-xCFdJTzY.cjs"),f=require("./arrow-right-BGd86zzR.cjs");/**
|
|
2
2
|
* @license lucide-react v0.525.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const p=require("./utils-
|
|
1
|
+
"use strict";const p=require("./utils-CtICjCYt.cjs"),P=require("./mergeProps-Du5A8xi8.cjs"),v=require("./filterDOMProps-RRlKPKX0.cjs"),x=require("react"),l=require("./usePress-DmU79HEg.cjs"),h=require("./useFocusable-M4se1KJt.cjs"),E=require("./useHover-DULSfLuK.cjs"),H=require("./useFocusRing-C-XVcAE5.cjs");function y(s,e){let{elementType:r="a",onPress:i,onPressStart:f,onPressEnd:c,onClick:$,isDisabled:d,...u}=s,a={};r!=="a"&&(a={role:"link",tabIndex:d?void 0:0});let{focusableProps:o}=h.$f645667febf57a63$export$4c014de7c8940b4c(s,e),{pressProps:t,isPressed:n}=l.$f6c31cce2adf654f$export$45712eceda6fad21({onPress:i,onPressStart:f,onPressEnd:c,onClick:$,isDisabled:d,ref:e}),D=v.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(u,{labelable:!0}),m=P.$3ef42575df84b30b$export$9d1611c77c2fe928(o,t),q=l.$ea8dcbcb9ea1b556$export$9a302a45f65d0572(),F=l.$ea8dcbcb9ea1b556$export$7e924b3091a3bd18(s);return{isPressed:n,linkProps:P.$3ef42575df84b30b$export$9d1611c77c2fe928(D,F,{...m,...a,"aria-disabled":d||void 0,"aria-current":s["aria-current"],onClick:k=>{var b;(b=t.onClick)===null||b===void 0||b.call(t,k),l.$ea8dcbcb9ea1b556$export$13aea1a3cb5e3f1f(k,q,s.href,s.routerOptions)}})}}const C=x.createContext(null),S=x.forwardRef(function(e,r){[e,r]=p.$64fa3d84918910a7$export$29f1550f4b0d4415(e,r,C);let i=e.href&&!e.isDisabled?"a":"span",{linkProps:f,isPressed:c}=y({...e,elementType:i},r),{hoverProps:$,isHovered:d}=E.$6179b936705e76d3$export$ae780daf29e6d456(e),{focusProps:u,isFocused:a,isFocusVisible:o}=H.$f7dceffc5ad7768b$export$4e328f61c538687f(),t=p.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-Link",values:{isCurrent:!!e["aria-current"],isDisabled:e.isDisabled||!1,isPressed:c,isHovered:d,isFocused:a,isFocusVisible:o}}),n=v.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0});return delete n.onClick,x.createElement(i,{ref:r,slot:e.slot||void 0,...P.$3ef42575df84b30b$export$9d1611c77c2fe928(n,t,f,$,u),"data-focused":a||void 0,"data-hovered":d||void 0,"data-pressed":c||void 0,"data-focus-visible":o||void 0,"data-current":!!e["aria-current"]||void 0,"data-disabled":e.isDisabled||void 0},t.children)});exports.$4f118338184dc1d9$export$a6c7ac8248d6e38a=S;exports.$4f118338184dc1d9$export$e2509388b49734e7=C;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { $ as C, a as D } from "./utils-
|
|
1
|
+
import { $ as C, a as D } from "./utils-D2iKpxcZ.js";
|
|
2
2
|
import { a as u } from "./mergeProps-Ct8m5-xW.js";
|
|
3
3
|
import { $ as m } from "./filterDOMProps-wsa9OcNI.js";
|
|
4
4
|
import h, { forwardRef as F, createContext as E } from "react";
|
|
5
|
-
import { b as y, c as H, d as S, e as T } from "./usePress-
|
|
6
|
-
import { a as _ } from "./useFocusable-
|
|
7
|
-
import { $ as L } from "./useHover-
|
|
8
|
-
import { $ as V } from "./useFocusRing-
|
|
5
|
+
import { b as y, c as H, d as S, e as T } from "./usePress-BqQIhkNY.js";
|
|
6
|
+
import { a as _ } from "./useFocusable-BJj-Bkig.js";
|
|
7
|
+
import { $ as L } from "./useHover-DkC5FyNd.js";
|
|
8
|
+
import { $ as V } from "./useFocusRing-CcxI7nbg.js";
|
|
9
9
|
function O(s, e) {
|
|
10
10
|
let { elementType: a = "a", onPress: t, onPressStart: c, onPressEnd: o, onClick: f, isDisabled: r, ...$ } = s, i = {};
|
|
11
11
|
a !== "a" && (i = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";require('./assets/LinkButton.css');const n=require("react/jsx-runtime"),f=require("./Link-
|
|
1
|
+
"use strict";require('./assets/LinkButton.css');const n=require("react/jsx-runtime"),f=require("./Link-DRU6Qzia.cjs"),m=require("./clsx-DKOfLqne.cjs"),y=require("./square-arrow-out-up-right-xCFdJTzY.cjs"),x=require("./createLucideIcon-CTVXwe6i.cjs"),g=require("./arrow-right-BGd86zzR.cjs");/**
|
|
2
2
|
* @license lucide-react v0.525.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as u, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { $ as j } from "./Link-
|
|
2
|
+
import { $ as j } from "./Link-l-nMP-Zd.js";
|
|
3
3
|
import { c as y } from "./clsx-jbLnTBqA.js";
|
|
4
4
|
import { S as p } from "./square-arrow-out-up-right-ok0A3Ovo.js";
|
|
5
5
|
import { c as g } from "./createLucideIcon-XRdN60yz.js";
|