@midas-ds/components 12.0.0 → 12.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AccordionItem-C9dBt-tQ.js +335 -0
- package/AccordionItem-SOfjXh3V.cjs +1 -0
- package/{BadgeContainer-DGJGJMPi.js → BadgeContainer-iNNgJKD9.js} +8 -8
- package/BadgeContainer-su0iCJKy.cjs +1 -0
- package/Breadcrumbs-BAHJMPsu.js +271 -0
- package/Breadcrumbs-DUcHHI_2.cjs +1 -0
- package/Button-CMIbSc4-.cjs +1 -0
- package/{Button-DtC_ZOyd.js → Button-DD5_S-tD.js} +155 -161
- package/{Button-akT6Hvug.js → Button-DYcmg49Z.js} +2 -2
- package/{Button-DQm2iqKU.cjs → Button-DrL5Jv-s.cjs} +1 -1
- package/Button.module-BNLcvARn.cjs +1 -0
- package/Button.module-Bax2YU6N.js +14 -0
- package/ButtonGroup-ClYTgaRc.cjs +1 -0
- package/{ButtonGroup-DvVvear6.js → ButtonGroup-WZZDPu9Z.js} +1 -1
- package/CHANGELOG.md +65 -0
- package/Card-BDDyGAMA.js +131 -0
- package/Card-mj5lCIR4.cjs +1 -0
- package/{CharacterCounter-DQJVM-mZ.cjs → CharacterCounter-CnRv-iUP.cjs} +1 -1
- package/CharacterCounter-DT7A0wWP.js +22 -0
- package/Checkbox-BtM2rFh9.js +278 -0
- package/Checkbox-CvdIG43J.cjs +1 -0
- package/CheckboxGroup-C94as9Xt.cjs +1 -0
- package/CheckboxGroup-CjcDYBRk.js +157 -0
- package/Collection-B0_WAieZ.js +625 -0
- package/Collection-BvWp2xBd.cjs +1 -0
- package/{ColorSchemeSwitch-DyZ9FAKG.js → ColorSchemeSwitch-C4PMYeD5.js} +20 -28
- package/{ColorSchemeSwitch-DtyJ9-5B.cjs → ColorSchemeSwitch-CKcoGZM1.cjs} +3 -3
- package/ComboBox-B2EmfOyr.cjs +1 -0
- package/{ComboBox-Dn3tQzri.js → ComboBox-BWXJZyOR.js} +522 -507
- package/DateField-CcQJYDLD.js +47 -0
- package/DateField-IpCiF81R.cjs +1 -0
- package/{DateInputDivider-CJEGWmG0.js → DateInputDivider-CXkUdlzc.js} +936 -839
- package/DateInputDivider-Cf5GZHlM.cjs +1 -0
- package/DateRangePicker-B2BJO1KC.js +889 -0
- package/DateRangePicker-Dfwe9RhJ.cjs +6 -0
- package/Dialog-B8swxl24.js +1643 -0
- package/Dialog-DR6nEqMT.cjs +1 -0
- package/Dialog-DgJobm71.cjs +1 -0
- package/Dialog-P3frHOdq.js +240 -0
- package/DragAndDrop-Dw8JZmrn.cjs +1 -0
- package/DragAndDrop-PrUJv--B.js +75 -0
- package/{Dropdown-BWbdSQ9U.js → Dropdown-CIvWpN3v.js} +8 -8
- package/{Dropdown-CJ-sujKv.cjs → Dropdown-DJ2vWAqk.cjs} +2 -2
- package/FieldError-Cornph2A.cjs +1 -0
- package/FieldError-DdvFyIf4.js +48 -0
- package/{FileUpload-B89QfnCB.js → FileUpload-D2gnQKdn.js} +76 -74
- package/{FileUpload-KQ1XAKAc.cjs → FileUpload-D3RaARDV.cjs} +2 -2
- package/{FocusScope-CEgd3xCY.js → FocusScope-Bj40Ir-g.js} +192 -195
- package/FocusScope-Uy3DiY0-.cjs +1 -0
- package/{Grid-Db5wZrw6.cjs → Grid-WbEkSCGh.cjs} +1 -1
- package/{Grid-B2av0vt8.js → Grid-s8ovKDi8.js} +1 -1
- package/GridItem-CIVF1fRW.cjs +1 -0
- package/GridItem-D3FZyyO-.js +243 -0
- package/{Group-Cdy6z9ra.cjs → Group-BKYGeOBr.cjs} +1 -1
- package/{Group-B3mRMVy7.js → Group-C73mD_-i.js} +13 -13
- package/Heading-BQlmb5Tm.js +46 -0
- package/Heading-D3FR_KXb.cjs +1 -0
- package/{Hidden-B5ir3Lei.js → Hidden-C9KWUR7b.js} +2 -2
- package/InfoBanner-CqjnTYaa.cjs +1 -0
- package/InfoBanner-CrA8MS3v.js +83 -0
- package/{Input-BnpBRnJz.js → Input-BLVRv0FK.js} +9 -9
- package/{Input-DIhhWEPW.cjs → Input-CzMx2mfl.cjs} +1 -1
- package/{Label-ByWt6Lfh.js → Label-BG7G0iyG.js} +24 -28
- package/Label-C00qz3kQ.cjs +1 -0
- package/Layout-Bta_Cpq_.cjs +16 -0
- package/Layout-CG-Qxr_1.js +482 -0
- package/{Link-Dnnv00g9.js → Link-BtxKZ0h3.js} +16 -16
- package/Link-Bx6avHVl.cjs +6 -0
- package/Link-CbFSuEI1.js +73 -0
- package/Link-wM7cVPlS.cjs +1 -0
- package/LinkButton-BvXu6vAH.cjs +6 -0
- package/LinkButton-D3EnZ65v.js +69 -0
- package/ListBox-ICZKGluC.cjs +1 -0
- package/ListBox-LncMQt6I.js +523 -0
- package/ListBoxLoadMoreItem-Ceo73a2q.cjs +1 -0
- package/ListBoxLoadMoreItem-W11V-Lef.js +41 -0
- package/ListBoxSection-BCPv9H50.js +1085 -0
- package/ListBoxSection-Dx75ZinL.cjs +1 -0
- package/{ListKeyboardDelegate-mcrZobNa.js → ListKeyboardDelegate-CVxkAn5D.js} +13 -9
- package/ListKeyboardDelegate-C_X1wLkh.cjs +1 -0
- package/{Logo-BW5NXAdu.cjs → Logo-CFjZc5u2.cjs} +1 -1
- package/{Logo-qkVS1MCN.js → Logo-DkagDdKQ.js} +15 -19
- package/OverlayArrow-ByH6lM-H.cjs +1 -0
- package/OverlayArrow-CvNuu3e3.js +519 -0
- package/{Popover-C5chAY42.cjs → Popover-Bi5yJEoE.cjs} +1 -1
- package/{Popover-viLqHHX2.js → Popover-CyEVqpJ6.js} +11 -11
- package/{PressResponder-B_Zqu7b1.js → PressResponder-CxVtArtP.js} +9 -9
- package/PressResponder-DbnYqwGB.cjs +1 -0
- package/ProgressBar-CdXHEJh6.js +53 -0
- package/ProgressBar-CjuHokVZ.cjs +1 -0
- package/Radio-Bll-7H8O.cjs +1 -0
- package/Radio-DoWx2AE1.js +333 -0
- package/RangeCalendar-A4WQIG7P.cjs +6 -0
- package/{RangeCalendar-DGGMbb0j.js → RangeCalendar-D7eFVAPP.js} +638 -630
- package/{SSRProvider-D8lZ0o6A.js → SSRProvider-40TXmsUG.js} +5 -5
- package/{SSRProvider-DZRLwxPS.cjs → SSRProvider-Bc-sMhsT.cjs} +1 -1
- package/{SearchField-Ma3KB8Em.cjs → SearchField-BbrUZpQm.cjs} +2 -2
- package/{SearchField-B0dlPqsW.js → SearchField-F2FKgYds.js} +29 -33
- package/Select-BnbDXwgD.cjs +1 -0
- package/Select-Dpi3LhbI.js +654 -0
- package/{SelectionManager-BdKKuso-.js → SelectionManager-Bq-Gw1UT.js} +291 -282
- package/SelectionManager-BtbHoHpA.cjs +1 -0
- package/Separator-CM0KPvsX.js +105 -0
- package/Separator-Cfv2pbWf.cjs +1 -0
- package/Separator-DH-5wu9X.js +77 -0
- package/Separator-Dgin8BNW.cjs +1 -0
- package/Skeleton-BpYj25p8.js +37 -0
- package/Skeleton-DMOxEwnd.cjs +1 -0
- package/Spinner-D1UBuLy4.cjs +6 -0
- package/Spinner-DTKb_LAA.js +47 -0
- package/TabList-D4WwgQY3.cjs +1 -0
- package/TabList-D9tl2s85.js +397 -0
- package/Table-C6k3PiiC.cjs +16 -0
- package/{Table-CTS0J_sQ.js → Table-CkN3y69S.js} +856 -798
- package/Tag-7dHEMQum.cjs +1 -0
- package/Tag-BUJ20HHw.js +765 -0
- package/Text-BAFsaON-.cjs +1 -0
- package/{Text--KL3Auo7.js → Text-Be7WIOwv.js} +3 -3
- package/{Text-wuw0HQoa.cjs → Text-BtPiT2P1.cjs} +1 -1
- package/Text-CmlsaWMA.js +32 -0
- package/TextArea-BCikUXaD.cjs +1 -0
- package/TextArea-h5_oBQH1.js +125 -0
- package/TextField-Bm5916AD.cjs +1 -0
- package/TextField-_UY8CXtW.js +134 -0
- package/TextField.module-C9Zm9unF.js +13 -0
- package/TextField.module-GTQtNO0r.cjs +1 -0
- package/{Toast-BnzpC_5v.js → Toast-BBkWczCk.js} +202 -214
- package/{Toast-BEh5yYzO.cjs → Toast-DclaxvZM.cjs} +1 -1
- package/ToggleButtonGroup-BGG64PK1.js +214 -0
- package/ToggleButtonGroup-Da330GRT.cjs +1 -0
- package/Tooltip-BHAtsp9k.js +281 -0
- package/Tooltip-CZa9n5sT.cjs +1 -0
- package/{VisuallyHidden-BKslUoMJ.js → VisuallyHidden-CGEtjAP7.js} +8 -8
- package/{VisuallyHidden-DxDOcIsh.cjs → VisuallyHidden-EjrqodVh.cjs} +1 -1
- 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/Breadcrumbs.css +1 -1
- package/assets/Button.css +1 -1
- package/assets/ButtonGroup.css +1 -1
- package/assets/Card.css +1 -1
- package/assets/CharacterCounter.css +1 -1
- package/assets/Checkbox.css +1 -1
- package/assets/ComboBox.css +1 -1
- package/assets/DateField.css +1 -1
- package/assets/DateInputDivider.css +1 -1
- package/assets/DateRangePicker.css +1 -1
- package/assets/Dialog.css +1 -1
- package/assets/Dropdown.css +1 -1
- package/assets/FieldError.css +1 -1
- package/assets/FileUpload.css +1 -1
- package/assets/GridItem.css +1 -1
- package/assets/Heading.css +1 -1
- package/assets/InfoBanner.css +1 -1
- package/assets/Label.css +1 -1
- package/assets/Layout.css +1 -1
- package/assets/Link.css +1 -1
- package/assets/LinkButton.css +1 -1
- package/assets/ListBoxSection.css +1 -1
- package/assets/Logo.css +1 -1
- package/assets/Popover.css +1 -1
- package/assets/ProgressBar.css +1 -1
- package/assets/Radio.css +1 -1
- package/assets/RangeCalendar.css +1 -1
- package/assets/SearchField.css +1 -1
- package/assets/Select.css +1 -1
- package/assets/Separator.css +1 -0
- package/assets/Skeleton.css +1 -1
- package/assets/Spinner.css +1 -1
- package/assets/TabList.css +1 -1
- package/assets/Table.css +1 -1
- package/assets/Tag.css +1 -1
- package/assets/Text.css +1 -1
- package/assets/TextField.css +1 -1
- package/assets/Toast.css +1 -1
- package/assets/ToggleButtonGroup.css +1 -1
- package/assets/Tooltip.css +1 -1
- package/assets/theme.css +1 -1
- package/assets/variables.css +1 -0
- package/badge/index.cjs +1 -1
- package/badge/index.js +1 -1
- package/breadcrumbs/index.cjs +1 -1
- package/breadcrumbs/index.js +1 -1
- package/button/index.cjs +1 -1
- package/button/index.js +2 -2
- package/calendar/index.cjs +1 -1
- package/calendar/index.js +1 -1
- package/card/index.cjs +1 -1
- package/card/index.js +1 -1
- package/character-counter/index.cjs +1 -1
- package/character-counter/index.js +1 -1
- package/checkbox/index.cjs +1 -1
- package/checkbox/index.js +2 -2
- package/chevron-right-0-sUFBiR.cjs +6 -0
- package/chevron-right-BYYHEJjK.js +11 -0
- package/color-scheme-switch/index.cjs +1 -1
- package/color-scheme-switch/index.js +1 -1
- package/combobox/index.cjs +1 -1
- package/combobox/index.d.ts +1 -1
- package/combobox/index.js +1 -1
- package/combobox/intl/translations.json.d.ts +4 -2
- package/{context-Dl_saGB6.js → context-CGNJ3grH.js} +11 -11
- package/{context-UOrD6Zxk.cjs → context-Df3XbgBG.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 +18 -0
- 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/filterDOMProps-RRlKPKX0.cjs +1 -0
- package/filterDOMProps-wsa9OcNI.js +65 -0
- package/grid/index.cjs +1 -1
- package/grid/index.js +2 -2
- package/heading/index.cjs +1 -1
- package/heading/index.js +1 -1
- package/{index-BSMrH_Du.js → index-BLPblar-.js} +33 -30
- package/{index-D97L3EBk.cjs → index-DSFSh2sC.cjs} +3 -3
- package/index.cjs +1 -1
- package/index.d.ts +2 -0
- package/index.js +140 -125
- package/inertValue-B3AFhVG4.cjs +1 -0
- package/info-banner/index.cjs +1 -1
- package/info-banner/index.js +1 -1
- package/label/index.cjs +1 -1
- package/label/index.js +1 -1
- package/layout/index.cjs +1 -1
- package/layout/index.js +1 -1
- package/link/index.cjs +1 -1
- package/link/index.js +2 -2
- package/link-button/index.cjs +1 -1
- package/link-button/index.js +2 -2
- package/list-box/ListBoxLoadMoreItem.d.ts +4 -0
- package/list-box/index.cjs +1 -1
- package/list-box/index.d.ts +1 -0
- package/list-box/index.js +6 -5
- package/list-box/intl/translations.json.d.ts +11 -0
- package/logo/index.cjs +1 -1
- package/logo/index.js +1 -1
- package/menu/Menu.d.ts +13 -0
- package/menu/MenuItem.d.ts +5 -0
- package/menu/MenuPopover.d.ts +3 -0
- package/menu/MenuSection.d.ts +3 -0
- package/menu/Separator.d.ts +3 -0
- package/menu/index.cjs +1 -0
- package/menu/index.d.ts +5 -0
- package/menu/index.js +8 -0
- package/mergeProps-BSsN7Bgk.js +117 -0
- package/mergeProps-JhcJ7uJL.cjs +1 -0
- package/modal/index.cjs +1 -1
- package/modal/index.js +2 -2
- package/package.json +6 -4
- package/popover/index.cjs +1 -1
- package/popover/index.js +1 -1
- package/progress-bar/index.cjs +1 -1
- package/progress-bar/index.js +1 -1
- package/radio/index.cjs +1 -1
- package/radio/index.js +1 -1
- package/search-field/index.cjs +1 -1
- package/search-field/index.js +1 -1
- package/select/Select.d.ts +1 -1
- package/select/index.cjs +1 -1
- package/select/index.js +1 -1
- package/skeleton/index.cjs +1 -1
- package/skeleton/index.js +1 -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/index.cjs +1 -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/Input.d.ts +7 -2
- package/textfield/PasswordField.d.ts +1 -1
- package/textfield/index.cjs +1 -1
- package/textfield/index.js +1 -1
- package/theme/generated-object.d.ts +384 -0
- package/theme/generated-tokens.d.ts +334 -0
- package/theme/index.cjs +1 -1
- package/theme/index.d.ts +4 -1
- package/theme/index.js +4037 -14
- package/theme/tokens.d.ts +30 -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 → tokens-B3FfJ-rY.cjs} +1 -1
- package/{tokens-BtEBd3jO.js → tokens-B9ooUP4g.js} +1 -2
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/useButton-D6iUB8cN.js +56 -0
- package/useButton-R8-i3HLC.cjs +1 -0
- package/useDateFormatter-2B0vgHc-.cjs +1 -0
- package/{useDateFormatter-DiIUdTak.js → useDateFormatter-BJ1ZyaH1.js} +431 -407
- package/{useDescription-LmB1V4Tg.js → useDescription-BLmIkYCq.js} +1 -1
- package/{useDescription-ByNlNIRU.cjs → useDescription-BMuiAqI5.cjs} +1 -1
- package/useEvent-3ZO5TPSH.cjs +1 -0
- package/{useEvent-DqWz89vg.js → useEvent-DpBHTuHJ.js} +1 -1
- package/{useField-5CEdtfab.js → useField-BMegM8fA.js} +2 -2
- package/{useField-CoQAzygg.cjs → useField-DyeD7MLj.cjs} +1 -1
- package/{useFilter-BKQT28sh.js → useFilter-BFnSe_Eq.js} +1 -1
- package/{useFilter-Bjh5dq2Q.cjs → useFilter-aoggM85n.cjs} +1 -1
- package/{useFocusRing-BM-zcH6L.cjs → useFocusRing-BcbYske2.cjs} +1 -1
- package/{useFocusRing-HoJn20X5.js → useFocusRing-DMo8ctYV.js} +2 -2
- package/{useFocusWithin-Cn18Myw6.js → useFocusWithin-ClMkhYcq.js} +1 -1
- package/{useFocusWithin-o0WjCpEB.cjs → useFocusWithin-DTnk0e8a.cjs} +1 -1
- package/{useFocusable-DbmryjUH.cjs → useFocusable-CsG-IPuC.cjs} +1 -1
- package/{useFocusable-ZjCKo1ed.js → useFocusable-DXlMChFC.js} +14 -14
- package/useFormValidation-BQIRxgbU.cjs +1 -0
- package/useFormValidation-L0UHvOsP.js +217 -0
- package/{useHasTabbableChild-CyOmqumh.js → useHasTabbableChild-BDaxMsGu.js} +2 -2
- package/useHasTabbableChild-CJcLnolh.cjs +1 -0
- package/{useHighlightSelectionDescription-DTxHtOsw.js → useHighlightSelectionDescription-BkEv9Jye.js} +5 -5
- package/{useHighlightSelectionDescription-DAhPdEG6.cjs → useHighlightSelectionDescription-CQaG611l.cjs} +1 -1
- package/{useHover-D8fja4GW.js → useHover-D6bNIkU0.js} +81 -79
- package/useHover-DGAmG7jt.cjs +1 -0
- package/{useLabels-BtDN_ALM.cjs → useLabels-CvUk-yS3.cjs} +1 -1
- package/{useLabels-DZlvh4P4.js → useLabels-Kmq5JCp_.js} +1 -1
- package/useListState-D2IEg6_e.cjs +1 -0
- package/{useListState-e7cL-FOK.js → useListState-pixYqSLl.js} +43 -42
- package/{useLocalizedStringFormatter-BSac43NO.cjs → useLocalizedStringFormatter-BO2iZEL0.cjs} +1 -1
- package/useLocalizedStringFormatter-BiX5BTlb.cjs +1 -0
- package/{useLocalizedStringFormatter-CSEh15AZ.js → useLocalizedStringFormatter-CL9MUZ8A.js} +1 -1
- package/{useLocalizedStringFormatter-aOhh7wdl.js → useLocalizedStringFormatter-N0AyjzbM.js} +1 -1
- package/useObserveElement-MhzEsCkX.cjs +1 -0
- package/usePress-CicXV7UO.cjs +7 -0
- package/{usePress-B_jgTf4k.js → usePress-DMUpU0GU.js} +84 -80
- package/{useSingleSelectListState-D7LjjoUJ.js → useSingleSelectListState-BlvpP8y-.js} +1 -1
- package/{useSingleSelectListState-BiJMNaOl.cjs → useSingleSelectListState-CwWK_Dx2.cjs} +1 -1
- package/useTextField-BC5X_AO_.js +89 -0
- package/useTextField-Cxpfu0U3.cjs +1 -0
- package/useToggleState-BVOqL4hI.js +21 -0
- package/useToggleState-SqDyNfRi.cjs +1 -0
- package/{useUpdateEffect-sk3kiVGz.cjs → useUpdateEffect-C5YQs_1w.cjs} +1 -1
- package/utils/types.d.ts +4 -0
- package/{utils-BM2vxlNA.cjs → utils-CMHKYKlz.cjs} +1 -1
- package/{utils-KYuflGZt.js → utils-Cpcjg55U.js} +10 -10
- package/utils-DFIwp4PB.js +262 -0
- package/utils-__vrf9VZ.cjs +1 -0
- package/AccordionItem-DEiRuizp.js +0 -361
- package/AccordionItem-Dhr7uo8u.cjs +0 -1
- package/BadgeContainer-CxVmqJ7g.cjs +0 -1
- package/Breadcrumbs-CEyKlcGU.js +0 -262
- package/Breadcrumbs-CnGzvtbn.cjs +0 -1
- package/Button-DZzQGk-L.cjs +0 -1
- package/Button.module-D-mPLRxe.js +0 -14
- package/Button.module-goCEz5qs.cjs +0 -1
- package/ButtonGroup-DUqW5dzM.cjs +0 -1
- package/Card-CwwVnA_a.js +0 -131
- package/Card-DPfOZC7f.cjs +0 -1
- package/CharacterCounter-DPphWPzA.js +0 -22
- package/Checkbox-BN_3F2Hl.js +0 -264
- package/Checkbox-CZtCj4yR.cjs +0 -1
- package/CheckboxGroup--xgOT1Do.js +0 -159
- package/CheckboxGroup-DGHaqRvb.cjs +0 -1
- package/Collection-B1xL4EdF.cjs +0 -1
- package/Collection-C5vE9MtJ.js +0 -577
- package/ComboBox-UadZMhiR.cjs +0 -1
- package/DateField-CNEoLyf5.cjs +0 -1
- package/DateField-CZmLugT0.js +0 -47
- package/DateInputDivider-CCjiq90K.cjs +0 -1
- package/DateRangePicker-DhgLEa9P.cjs +0 -6
- package/DateRangePicker-WQ97Psz7.js +0 -870
- package/Dialog-BT0tVGQb.cjs +0 -1
- package/Dialog-BuJdAr0D.js +0 -1611
- package/Dialog-DYK8lySl.cjs +0 -1
- package/Dialog-L53DWF0Z.js +0 -220
- package/DragAndDrop-DKxsUpmW.js +0 -60
- package/DragAndDrop-Dgfq6uJ0.cjs +0 -1
- package/FieldError-BlKkw9YL.js +0 -46
- package/FieldError-BvU0sueN.cjs +0 -1
- package/FocusScope-CAgWgk3N.cjs +0 -1
- package/GridItem-BnyULDnc.cjs +0 -1
- package/GridItem-orSzD7H5.js +0 -243
- package/Heading-DDhdwRAW.js +0 -46
- package/Heading-OUPkdoEJ.cjs +0 -1
- package/InfoBanner-DpLcq_1R.cjs +0 -1
- package/InfoBanner-U5hxOipC.js +0 -99
- package/Label-COpr4xVt.cjs +0 -1
- package/Layout-BR3Or1Ga.cjs +0 -16
- package/Layout-Bdqauktv.js +0 -498
- package/Link-CM2N5Jq-.js +0 -72
- package/Link-Dq8IFDBx.cjs +0 -6
- package/Link-ceVlGaWQ.cjs +0 -1
- package/LinkButton-BJA9_HzL.cjs +0 -6
- package/LinkButton-DH3Nfdis.js +0 -69
- package/ListBox-D0u9svwm.cjs +0 -1
- package/ListBox-y_dw__MI.js +0 -531
- package/ListBoxButton-C2zp-gXD.cjs +0 -1
- package/ListBoxButton-DiseS_LX.js +0 -15
- package/ListBoxSection-Cv-gN76G.js +0 -1058
- package/ListBoxSection-DtsigmC1.cjs +0 -1
- package/ListKeyboardDelegate-fZKXmHAk.cjs +0 -1
- package/OverlayArrow-8praV_Xy.cjs +0 -1
- package/OverlayArrow-DfkRZlgG.js +0 -507
- package/PressResponder-Bm3_RM9c.cjs +0 -1
- package/ProgressBar-D5mNQTID.cjs +0 -1
- package/ProgressBar-wQirOG1N.js +0 -53
- package/Radio-BIomn_sP.js +0 -313
- package/Radio-CxvJ5Wrl.cjs +0 -1
- package/RangeCalendar-BvvZ2SBj.cjs +0 -11
- package/Select-769RSZ9V.js +0 -664
- package/Select-Go5x0zWl.cjs +0 -1
- package/SelectionManager-BvREZgeu.cjs +0 -1
- package/Separator-CggS0R7Q.js +0 -59
- package/Separator-DBsDhqCr.cjs +0 -1
- package/Skeleton-BAwbfKBW.cjs +0 -1
- package/Skeleton-BePDRmrO.js +0 -40
- package/Spinner-AXFRWuT6.js +0 -51
- package/Spinner-yHx_DX_4.cjs +0 -6
- package/TabList-0gj27e_e.js +0 -386
- package/TabList-Cqpup53E.cjs +0 -1
- package/Table-BhtlNY9P.cjs +0 -16
- package/Tag-B9M-nBTM.js +0 -748
- package/Tag-DkW6zaIS.cjs +0 -1
- package/Text-BUDAzDjW.js +0 -32
- package/Text-DA_gK6a2.cjs +0 -1
- package/TextArea-CSrrYY05.cjs +0 -1
- package/TextArea-DphcH6wE.js +0 -119
- package/TextField-CsyRTSEG.js +0 -120
- package/TextField-P5yICj5z.cjs +0 -1
- package/TextField.module-BcpPBWnD.js +0 -13
- package/TextField.module-Dw5Rtn9y.cjs +0 -1
- package/ToggleButtonGroup-BwFAhFEi.cjs +0 -1
- package/ToggleButtonGroup-CuxAKB3-.js +0 -211
- package/Tooltip-Bz0xCZSw.cjs +0 -1
- package/Tooltip-EuEQtHZj.js +0 -285
- package/filterDOMProps-BS2lrgFA.cjs +0 -1
- package/filterDOMProps-D6KHYVBX.js +0 -24
- package/inertValue-BWmZ1afe.cjs +0 -1
- package/mergeProps-BYJQ6N1s.js +0 -115
- package/mergeProps-C7Sx47fA.cjs +0 -1
- package/useButton-CWHoXYnj.js +0 -47
- package/useButton-CwOQUGtY.cjs +0 -1
- package/useDateFormatter-bzjwqA2K.cjs +0 -1
- package/useEvent-CGRyLM2c.cjs +0 -1
- package/useFormValidation-BW2NSTM4.js +0 -215
- package/useFormValidation-DSRwb9US.cjs +0 -1
- package/useHasTabbableChild-CogBR_6o.cjs +0 -1
- package/useHover-CaFzQrR_.cjs +0 -1
- package/useListState-TtWy_rDI.cjs +0 -1
- package/useLocalizedStringFormatter-CHAo1AyN.cjs +0 -1
- package/useObserveElement-BzEr5D32.cjs +0 -1
- package/usePress-BOGIOlm8.cjs +0 -7
- package/useTextField-BVIOd8Ld.cjs +0 -1
- package/useTextField-DFkSHoQN.js +0 -86
- package/useToggleState-Bz5rAf4C.js +0 -18
- package/useToggleState-DoIkSQdj.cjs +0 -1
- package/utils-C5-CzvX2.cjs +0 -1
- package/utils-CuqJqFqQ.js +0 -234
package/Layout-Bdqauktv.js
DELETED
|
@@ -1,498 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as l, Fragment as $ } from "react/jsx-runtime";
|
|
2
|
-
import { G as S } from "./GridItem-orSzD7H5.js";
|
|
3
|
-
import * as b from "react";
|
|
4
|
-
import { c as u } from "./clsx-OuTLNxxd.js";
|
|
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
|
-
import { c as T } from "./createLucideIcon-XRdN60yz.js";
|
|
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
|
-
import { X as D } from "./x-C2xUHAEl.js";
|
|
15
|
-
import './assets/Layout.css';/**
|
|
16
|
-
* @license lucide-react v0.525.0 - ISC
|
|
17
|
-
*
|
|
18
|
-
* This source code is licensed under the ISC license.
|
|
19
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
20
|
-
*/
|
|
21
|
-
const W = [
|
|
22
|
-
["path", { d: "M4 12h16", key: "1lakjw" }],
|
|
23
|
-
["path", { d: "M4 18h16", key: "19g7jn" }],
|
|
24
|
-
["path", { d: "M4 6h16", key: "1o0s65" }]
|
|
25
|
-
], q = T("menu", W);
|
|
26
|
-
/**
|
|
27
|
-
* @license lucide-react v0.525.0 - ISC
|
|
28
|
-
*
|
|
29
|
-
* This source code is licensed under the ISC license.
|
|
30
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
31
|
-
*/
|
|
32
|
-
const A = [
|
|
33
|
-
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
34
|
-
["path", { d: "M9 3v18", key: "fh3hqa" }],
|
|
35
|
-
["path", { d: "m16 15-3-3 3-3", key: "14y99z" }]
|
|
36
|
-
], F = T("panel-left-close", A);
|
|
37
|
-
/**
|
|
38
|
-
* @license lucide-react v0.525.0 - ISC
|
|
39
|
-
*
|
|
40
|
-
* This source code is licensed under the ISC license.
|
|
41
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
42
|
-
*/
|
|
43
|
-
const R = [
|
|
44
|
-
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
45
|
-
["path", { d: "M9 3v18", key: "fh3hqa" }],
|
|
46
|
-
["path", { d: "m14 9 3 3-3 3", key: "8010ee" }]
|
|
47
|
-
], X = T("panel-left-open", R), J = "_baseLayout_1ssmv_4", K = "_mainContent_1ssmv_13", Q = "_header_1ssmv_18", U = "_headerExternal_1ssmv_29", V = "_headerContent_1ssmv_44", Y = "_logo_1ssmv_63", Z = "_headerItems_1ssmv_72", ee = "_toggleButton_1ssmv_78", se = "_sidebar_1ssmv_86", ae = "_main_1ssmv_13", te = "_app_1ssmv_119", ne = "_sidebarOpened_1ssmv_127", ie = "_sidebarHeader_1ssmv_131", re = "_appName_1ssmv_143", oe = "_collapseButton_1ssmv_150", le = "_sidebarCollapsed_1ssmv_159", de = "_userName_1ssmv_169", ce = "_userTitle_1ssmv_188", me = "_title_1ssmv_200", pe = "_sidebarNav_1ssmv_211", _e = "_list_1ssmv_217", ve = "_listGroupTitle_1ssmv_224", ue = "_listItem_1ssmv_231", he = "_listItemCollapsed_1ssmv_236", be = "_listLink_1ssmv_240", fe = "_listLinkCollapsed_1ssmv_285", Ne = "_active_1ssmv_290", ke = "_backdrop_1ssmv_304", Ce = "_backdropOpened_1ssmv_314", xe = "_skipToContent_1ssmv_332", ge = "_navbar_1ssmv_346", ye = "_navbarList_1ssmv_358", Le = "_navbarItem_1ssmv_380", Me = "_headerContentExternal_1ssmv_420", Ee = "_logoExternalContainer_1ssmv_428", Te = "_logoExternal_1ssmv_428", Ie = "_logoExternalDesktop_1ssmv_440", Se = "_navbarWrapper_1ssmv_449", s = {
|
|
48
|
-
baseLayout: J,
|
|
49
|
-
mainContent: K,
|
|
50
|
-
header: Q,
|
|
51
|
-
headerExternal: U,
|
|
52
|
-
headerContent: V,
|
|
53
|
-
logo: Y,
|
|
54
|
-
headerItems: Z,
|
|
55
|
-
toggleButton: ee,
|
|
56
|
-
sidebar: se,
|
|
57
|
-
main: ae,
|
|
58
|
-
app: te,
|
|
59
|
-
sidebarOpened: ne,
|
|
60
|
-
sidebarHeader: ie,
|
|
61
|
-
appName: re,
|
|
62
|
-
collapseButton: oe,
|
|
63
|
-
sidebarCollapsed: le,
|
|
64
|
-
userName: de,
|
|
65
|
-
userTitle: ce,
|
|
66
|
-
title: me,
|
|
67
|
-
sidebarNav: pe,
|
|
68
|
-
list: _e,
|
|
69
|
-
listGroupTitle: ve,
|
|
70
|
-
listItem: ue,
|
|
71
|
-
listItemCollapsed: he,
|
|
72
|
-
listLink: be,
|
|
73
|
-
listLinkCollapsed: fe,
|
|
74
|
-
active: Ne,
|
|
75
|
-
backdrop: ke,
|
|
76
|
-
backdropOpened: Ce,
|
|
77
|
-
skipToContent: xe,
|
|
78
|
-
navbar: ge,
|
|
79
|
-
navbarList: ye,
|
|
80
|
-
navbarItem: Le,
|
|
81
|
-
headerContentExternal: Me,
|
|
82
|
-
logoExternalContainer: Ee,
|
|
83
|
-
logoExternal: Te,
|
|
84
|
-
logoExternalDesktop: Ie,
|
|
85
|
-
navbarWrapper: Se
|
|
86
|
-
}, P = b.createContext(
|
|
87
|
-
void 0
|
|
88
|
-
), ze = ({
|
|
89
|
-
items: n,
|
|
90
|
-
title: t,
|
|
91
|
-
user: i,
|
|
92
|
-
app: a,
|
|
93
|
-
children: r,
|
|
94
|
-
clientSideRouter: d,
|
|
95
|
-
clientSideHref: o,
|
|
96
|
-
headerChildren: p,
|
|
97
|
-
isCollapsed: _,
|
|
98
|
-
setIsCollapsed: v,
|
|
99
|
-
isOpened: f,
|
|
100
|
-
setIsOpened: m,
|
|
101
|
-
variant: h,
|
|
102
|
-
id: N
|
|
103
|
-
}) => /* @__PURE__ */ e(
|
|
104
|
-
P.Provider,
|
|
105
|
-
{
|
|
106
|
-
value: {
|
|
107
|
-
items: n,
|
|
108
|
-
title: t,
|
|
109
|
-
user: i,
|
|
110
|
-
app: a,
|
|
111
|
-
headerChildren: p,
|
|
112
|
-
isCollapsed: _,
|
|
113
|
-
setIsCollapsed: v,
|
|
114
|
-
isOpened: f,
|
|
115
|
-
setIsOpened: m,
|
|
116
|
-
clientSideRouter: d,
|
|
117
|
-
clientSideHref: o,
|
|
118
|
-
variant: h,
|
|
119
|
-
id: N
|
|
120
|
-
},
|
|
121
|
-
children: r
|
|
122
|
-
}
|
|
123
|
-
), k = () => {
|
|
124
|
-
const n = b.useContext(P);
|
|
125
|
-
if (!n)
|
|
126
|
-
throw new Error("useLayoutContext must be used within a LayoutProvider");
|
|
127
|
-
return n;
|
|
128
|
-
}, H = ({
|
|
129
|
-
title: n,
|
|
130
|
-
href: t,
|
|
131
|
-
icon: i,
|
|
132
|
-
active: a,
|
|
133
|
-
hasBadge: r
|
|
134
|
-
}) => {
|
|
135
|
-
const { isCollapsed: d, setIsOpened: o } = k(), [p, _] = b.useState(!1);
|
|
136
|
-
return b.useEffect(() => {
|
|
137
|
-
typeof window < "u" && _(a ?? window.location.pathname === t);
|
|
138
|
-
}, [a, t]), d ? /* @__PURE__ */ l(O, { children: [
|
|
139
|
-
/* @__PURE__ */ e(
|
|
140
|
-
y,
|
|
141
|
-
{
|
|
142
|
-
href: t,
|
|
143
|
-
"aria-label": n,
|
|
144
|
-
className: u(
|
|
145
|
-
s.listLink,
|
|
146
|
-
s.listLinkCollapsed,
|
|
147
|
-
p && s.active
|
|
148
|
-
),
|
|
149
|
-
onPress: () => o == null ? void 0 : o(!1),
|
|
150
|
-
children: /* @__PURE__ */ l(L, { children: [
|
|
151
|
-
/* @__PURE__ */ e(
|
|
152
|
-
i,
|
|
153
|
-
{
|
|
154
|
-
size: 20,
|
|
155
|
-
"aria-label": n
|
|
156
|
-
}
|
|
157
|
-
),
|
|
158
|
-
r && /* @__PURE__ */ e(M, {})
|
|
159
|
-
] })
|
|
160
|
-
}
|
|
161
|
-
),
|
|
162
|
-
/* @__PURE__ */ e(G, { placement: "right", children: n })
|
|
163
|
-
] }) : /* @__PURE__ */ l(
|
|
164
|
-
y,
|
|
165
|
-
{
|
|
166
|
-
href: t,
|
|
167
|
-
"aria-label": n,
|
|
168
|
-
className: u(s.listLink, p && s.active),
|
|
169
|
-
onPress: () => o == null ? void 0 : o(!1),
|
|
170
|
-
children: [
|
|
171
|
-
/* @__PURE__ */ l(L, { children: [
|
|
172
|
-
/* @__PURE__ */ e(i, { size: 20 }),
|
|
173
|
-
r && /* @__PURE__ */ e(M, {})
|
|
174
|
-
] }),
|
|
175
|
-
n
|
|
176
|
-
]
|
|
177
|
-
}
|
|
178
|
-
);
|
|
179
|
-
}, Be = {
|
|
180
|
-
closeMenu: "Close menu",
|
|
181
|
-
openMenu: "Open menu",
|
|
182
|
-
maximizeMenu: "Maximize menu",
|
|
183
|
-
minimizeMenu: "Minimize menu",
|
|
184
|
-
sidebarMenu: "Sidebar menu",
|
|
185
|
-
bottomMenu: "Bottom menu",
|
|
186
|
-
skipToContent: "Skip to main content"
|
|
187
|
-
}, we = {
|
|
188
|
-
closeMenu: "Stäng meny",
|
|
189
|
-
openMenu: "Öppna meny",
|
|
190
|
-
maximizeMenu: "Maximera meny",
|
|
191
|
-
minimizeMenu: "Minimera meny",
|
|
192
|
-
sidebarMenu: "Sidomeny",
|
|
193
|
-
bottomMenu: "Bottenmeny",
|
|
194
|
-
skipToContent: "Hoppa till huvudinnehåll"
|
|
195
|
-
}, x = {
|
|
196
|
-
en: Be,
|
|
197
|
-
sv: we
|
|
198
|
-
}, Pe = () => {
|
|
199
|
-
const {
|
|
200
|
-
items: n,
|
|
201
|
-
app: t,
|
|
202
|
-
isOpened: i,
|
|
203
|
-
isCollapsed: a,
|
|
204
|
-
setIsCollapsed: r,
|
|
205
|
-
setIsOpened: d,
|
|
206
|
-
clientSideRouter: o,
|
|
207
|
-
clientSideHref: p,
|
|
208
|
-
id: _
|
|
209
|
-
} = k(), v = C(x), f = ({ group: m }) => /* @__PURE__ */ e("ul", { className: s.list, children: m.items.map((h, N) => /* @__PURE__ */ e(
|
|
210
|
-
"li",
|
|
211
|
-
{
|
|
212
|
-
className: u(
|
|
213
|
-
s.listItem,
|
|
214
|
-
a && s.listItemCollapsed
|
|
215
|
-
),
|
|
216
|
-
children: /* @__PURE__ */ e(H, { ...h })
|
|
217
|
-
},
|
|
218
|
-
"link_" + N
|
|
219
|
-
)) });
|
|
220
|
-
return b.useEffect(() => {
|
|
221
|
-
const m = (h) => {
|
|
222
|
-
h.key === "Escape" && d !== void 0 && d(!1);
|
|
223
|
-
};
|
|
224
|
-
return window.addEventListener("keydown", m), () => {
|
|
225
|
-
window.removeEventListener("keydown", m);
|
|
226
|
-
};
|
|
227
|
-
}, [d]), /* @__PURE__ */ l(
|
|
228
|
-
"aside",
|
|
229
|
-
{
|
|
230
|
-
id: _,
|
|
231
|
-
className: u(
|
|
232
|
-
s.sidebar,
|
|
233
|
-
a && s.sidebarCollapsed,
|
|
234
|
-
i && s.sidebarOpened
|
|
235
|
-
),
|
|
236
|
-
children: [
|
|
237
|
-
/* @__PURE__ */ l("div", { className: s.sidebarHeader, children: [
|
|
238
|
-
!a && /* @__PURE__ */ e("p", { className: s.appName, children: t.name }),
|
|
239
|
-
/* @__PURE__ */ e(
|
|
240
|
-
E,
|
|
241
|
-
{
|
|
242
|
-
variant: "icon",
|
|
243
|
-
"aria-label": a ? v.format("maximizeMenu") : v.format("minimizeMenu"),
|
|
244
|
-
onPress: () => r(!a),
|
|
245
|
-
className: s.collapseButton,
|
|
246
|
-
children: a ? /* @__PURE__ */ e(X, { size: 20 }) : /* @__PURE__ */ e(F, { size: 20 })
|
|
247
|
-
}
|
|
248
|
-
)
|
|
249
|
-
] }),
|
|
250
|
-
/* @__PURE__ */ e(
|
|
251
|
-
"nav",
|
|
252
|
-
{
|
|
253
|
-
className: s.sidebarNav,
|
|
254
|
-
"aria-label": v.format("sidebarMenu"),
|
|
255
|
-
children: /* @__PURE__ */ e("ul", { className: s.list, children: n.map((m, h) => /* @__PURE__ */ l("li", { children: [
|
|
256
|
-
m.title && !a && /* @__PURE__ */ e("p", { className: s.listGroupTitle, children: m.title }),
|
|
257
|
-
o ? /* @__PURE__ */ e(
|
|
258
|
-
w,
|
|
259
|
-
{
|
|
260
|
-
navigate: o,
|
|
261
|
-
useHref: p,
|
|
262
|
-
children: /* @__PURE__ */ e(f, { group: m })
|
|
263
|
-
}
|
|
264
|
-
) : /* @__PURE__ */ e(f, { group: m })
|
|
265
|
-
] }, "list_" + h)) })
|
|
266
|
-
}
|
|
267
|
-
)
|
|
268
|
-
]
|
|
269
|
-
}
|
|
270
|
-
);
|
|
271
|
-
}, He = () => {
|
|
272
|
-
const {
|
|
273
|
-
title: n,
|
|
274
|
-
user: t,
|
|
275
|
-
app: i,
|
|
276
|
-
isOpened: a,
|
|
277
|
-
setIsOpened: r,
|
|
278
|
-
setIsCollapsed: d,
|
|
279
|
-
headerChildren: o,
|
|
280
|
-
variant: p,
|
|
281
|
-
id: _
|
|
282
|
-
} = k(), v = C(x);
|
|
283
|
-
return p === "external" ? /* @__PURE__ */ e("header", { className: u(s.header, s.headerExternal), children: /* @__PURE__ */ l("div", { className: s.headerContentExternal, children: [
|
|
284
|
-
/* @__PURE__ */ l("div", { className: s.logoExternalContainer, children: [
|
|
285
|
-
/* @__PURE__ */ e(
|
|
286
|
-
g,
|
|
287
|
-
{
|
|
288
|
-
size: "x-small",
|
|
289
|
-
padding: !1,
|
|
290
|
-
className: s.logoExternal
|
|
291
|
-
}
|
|
292
|
-
),
|
|
293
|
-
/* @__PURE__ */ e(
|
|
294
|
-
g,
|
|
295
|
-
{
|
|
296
|
-
size: "small",
|
|
297
|
-
padding: !1,
|
|
298
|
-
className: s.logoExternalDesktop
|
|
299
|
-
}
|
|
300
|
-
),
|
|
301
|
-
/* @__PURE__ */ l("div", { children: [
|
|
302
|
-
/* @__PURE__ */ e("p", { className: s.userName, children: t.name }),
|
|
303
|
-
/* @__PURE__ */ e("p", { className: s.userTitle, children: t.title })
|
|
304
|
-
] })
|
|
305
|
-
] }),
|
|
306
|
-
/* @__PURE__ */ e("div", { className: s.headerItems, children: o })
|
|
307
|
-
] }) }) : /* @__PURE__ */ l(
|
|
308
|
-
"header",
|
|
309
|
-
{
|
|
310
|
-
className: s.header,
|
|
311
|
-
style: {
|
|
312
|
-
borderTop: `solid 4px ${i.color ? i.color : j.brandPrimary}`
|
|
313
|
-
},
|
|
314
|
-
children: [
|
|
315
|
-
/* @__PURE__ */ l("div", { className: s.headerContent, children: [
|
|
316
|
-
/* @__PURE__ */ e("div", { className: s.logo, children: /* @__PURE__ */ e(
|
|
317
|
-
g,
|
|
318
|
-
{
|
|
319
|
-
size: "small",
|
|
320
|
-
padding: !1
|
|
321
|
-
}
|
|
322
|
-
) }),
|
|
323
|
-
a !== void 0 && /* @__PURE__ */ e(
|
|
324
|
-
E,
|
|
325
|
-
{
|
|
326
|
-
variant: "icon",
|
|
327
|
-
className: s.toggleButton,
|
|
328
|
-
"aria-label": a ? v.format("closeMenu") : v.format("openMenu"),
|
|
329
|
-
"aria-controls": _,
|
|
330
|
-
onPressStart: () => {
|
|
331
|
-
d(!1), r == null || r(!0);
|
|
332
|
-
},
|
|
333
|
-
children: a ? /* @__PURE__ */ e(
|
|
334
|
-
D,
|
|
335
|
-
{
|
|
336
|
-
size: 20,
|
|
337
|
-
"aria-hidden": "true"
|
|
338
|
-
}
|
|
339
|
-
) : /* @__PURE__ */ e(
|
|
340
|
-
q,
|
|
341
|
-
{
|
|
342
|
-
size: 20,
|
|
343
|
-
"aria-hidden": "true"
|
|
344
|
-
}
|
|
345
|
-
)
|
|
346
|
-
}
|
|
347
|
-
),
|
|
348
|
-
/* @__PURE__ */ l("div", { children: [
|
|
349
|
-
/* @__PURE__ */ e("p", { className: s.userName, children: t.name }),
|
|
350
|
-
/* @__PURE__ */ e("p", { className: s.userTitle, children: t.title }),
|
|
351
|
-
/* @__PURE__ */ e("p", { className: s.title, children: n })
|
|
352
|
-
] })
|
|
353
|
-
] }),
|
|
354
|
-
/* @__PURE__ */ e("div", { className: s.headerItems, children: o })
|
|
355
|
-
]
|
|
356
|
-
}
|
|
357
|
-
);
|
|
358
|
-
}, z = ({
|
|
359
|
-
id: n = "#main:first-of-type"
|
|
360
|
-
}) => {
|
|
361
|
-
const t = () => {
|
|
362
|
-
const a = document.querySelector(n);
|
|
363
|
-
a && (a.tabIndex = -1, a.focus(), setTimeout(() => a.removeAttribute("tabindex"), 1e3));
|
|
364
|
-
}, i = C(x);
|
|
365
|
-
return /* @__PURE__ */ e(
|
|
366
|
-
E,
|
|
367
|
-
{
|
|
368
|
-
onPress: t,
|
|
369
|
-
className: s.skipToContent,
|
|
370
|
-
children: i.format("skipToContent")
|
|
371
|
-
}
|
|
372
|
-
);
|
|
373
|
-
}, $e = () => {
|
|
374
|
-
const { isOpened: n, setIsOpened: t } = k();
|
|
375
|
-
return n ? /* @__PURE__ */ e(
|
|
376
|
-
"div",
|
|
377
|
-
{
|
|
378
|
-
className: u(s.backdrop, s.backdropOpened),
|
|
379
|
-
onClick: () => {
|
|
380
|
-
t == null || t(!1);
|
|
381
|
-
},
|
|
382
|
-
"aria-hidden": !0
|
|
383
|
-
}
|
|
384
|
-
) : null;
|
|
385
|
-
}, Oe = () => {
|
|
386
|
-
var d;
|
|
387
|
-
const { items: n, clientSideRouter: t, clientSideHref: i } = k(), a = C(x), r = (d = n.at(0)) == null ? void 0 : d.items;
|
|
388
|
-
return /* @__PURE__ */ e(
|
|
389
|
-
"nav",
|
|
390
|
-
{
|
|
391
|
-
className: s.navbar,
|
|
392
|
-
"aria-label": a.format("bottomMenu"),
|
|
393
|
-
children: r && /* @__PURE__ */ e("ul", { className: u(s.navbarList), children: t ? /* @__PURE__ */ e(
|
|
394
|
-
w,
|
|
395
|
-
{
|
|
396
|
-
navigate: t,
|
|
397
|
-
useHref: i,
|
|
398
|
-
children: /* @__PURE__ */ e(B, { items: r })
|
|
399
|
-
}
|
|
400
|
-
) : /* @__PURE__ */ e(B, { items: r }) })
|
|
401
|
-
}
|
|
402
|
-
);
|
|
403
|
-
}, B = ({
|
|
404
|
-
items: n
|
|
405
|
-
}) => /* @__PURE__ */ e($, { children: n.map(({ href: t, active: i, icon: a, title: r, hasBadge: d }, o) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ l(
|
|
406
|
-
y,
|
|
407
|
-
{
|
|
408
|
-
href: t,
|
|
409
|
-
className: u(s.navbarItem),
|
|
410
|
-
"data-active": i,
|
|
411
|
-
"aria-current": i && "page",
|
|
412
|
-
children: [
|
|
413
|
-
/* @__PURE__ */ l(L, { children: [
|
|
414
|
-
/* @__PURE__ */ e(a, { size: 20 }),
|
|
415
|
-
d && /* @__PURE__ */ e(M, {})
|
|
416
|
-
] }),
|
|
417
|
-
r
|
|
418
|
-
]
|
|
419
|
-
}
|
|
420
|
-
) }, o)) }), c = ({
|
|
421
|
-
items: n,
|
|
422
|
-
title: t,
|
|
423
|
-
user: i,
|
|
424
|
-
app: a,
|
|
425
|
-
children: r,
|
|
426
|
-
headerChildren: d,
|
|
427
|
-
clientSideRouter: o,
|
|
428
|
-
clientSideHref: p,
|
|
429
|
-
variant: _,
|
|
430
|
-
className: v
|
|
431
|
-
}) => {
|
|
432
|
-
const [f, m] = b.useState(!1), [h, N] = b.useState(!1), I = b.useId();
|
|
433
|
-
return _ === "external" ? /* @__PURE__ */ e(
|
|
434
|
-
c.Provider,
|
|
435
|
-
{
|
|
436
|
-
items: n,
|
|
437
|
-
title: t,
|
|
438
|
-
user: i,
|
|
439
|
-
app: a,
|
|
440
|
-
clientSideRouter: o,
|
|
441
|
-
clientSideHref: p,
|
|
442
|
-
headerChildren: d,
|
|
443
|
-
isCollapsed: f,
|
|
444
|
-
setIsCollapsed: m,
|
|
445
|
-
variant: _,
|
|
446
|
-
id: I,
|
|
447
|
-
children: /* @__PURE__ */ l("div", { className: u(s.baseLayout, v), children: [
|
|
448
|
-
/* @__PURE__ */ e(z, {}),
|
|
449
|
-
/* @__PURE__ */ e(c.Header, {}),
|
|
450
|
-
/* @__PURE__ */ l("div", { className: s.mainContent, children: [
|
|
451
|
-
/* @__PURE__ */ e(c.Sidebar, {}),
|
|
452
|
-
/* @__PURE__ */ e(S, { children: /* @__PURE__ */ e("main", { className: s.main, children: /* @__PURE__ */ e("div", { className: s.app, children: r }) }) }),
|
|
453
|
-
/* @__PURE__ */ e(c.Backdrop, {})
|
|
454
|
-
] }),
|
|
455
|
-
/* @__PURE__ */ e("div", { className: s.navbarWrapper, children: /* @__PURE__ */ e(c.Navbar, {}) })
|
|
456
|
-
] })
|
|
457
|
-
}
|
|
458
|
-
) : /* @__PURE__ */ e(
|
|
459
|
-
c.Provider,
|
|
460
|
-
{
|
|
461
|
-
items: n,
|
|
462
|
-
title: t,
|
|
463
|
-
user: i,
|
|
464
|
-
app: a,
|
|
465
|
-
clientSideRouter: o,
|
|
466
|
-
clientSideHref: p,
|
|
467
|
-
headerChildren: d,
|
|
468
|
-
isCollapsed: f,
|
|
469
|
-
setIsCollapsed: m,
|
|
470
|
-
isOpened: h,
|
|
471
|
-
setIsOpened: N,
|
|
472
|
-
variant: _,
|
|
473
|
-
id: I,
|
|
474
|
-
children: /* @__PURE__ */ l("div", { className: u(s.baseLayout, v), children: [
|
|
475
|
-
/* @__PURE__ */ e(z, {}),
|
|
476
|
-
/* @__PURE__ */ e(c.Header, {}),
|
|
477
|
-
/* @__PURE__ */ l("div", { className: s.mainContent, children: [
|
|
478
|
-
/* @__PURE__ */ e(c.Sidebar, {}),
|
|
479
|
-
/* @__PURE__ */ e(S, { children: /* @__PURE__ */ e("main", { className: s.main, children: /* @__PURE__ */ e("div", { className: s.app, children: r }) }) }),
|
|
480
|
-
/* @__PURE__ */ e(c.Backdrop, {})
|
|
481
|
-
] })
|
|
482
|
-
] })
|
|
483
|
-
}
|
|
484
|
-
);
|
|
485
|
-
};
|
|
486
|
-
c.Provider = ze;
|
|
487
|
-
c.Header = He;
|
|
488
|
-
c.Sidebar = Pe;
|
|
489
|
-
c.SidebarLink = H;
|
|
490
|
-
c.Navbar = Oe;
|
|
491
|
-
c.Backdrop = $e;
|
|
492
|
-
export {
|
|
493
|
-
He as H,
|
|
494
|
-
c as L,
|
|
495
|
-
Oe as N,
|
|
496
|
-
Pe as S,
|
|
497
|
-
H as a
|
|
498
|
-
};
|
package/Link-CM2N5Jq-.js
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { $ as v, a as h } from "./utils-KYuflGZt.js";
|
|
2
|
-
import C, { forwardRef as D, createContext as T } from "react";
|
|
3
|
-
import { a as b } from "./mergeProps-BYJQ6N1s.js";
|
|
4
|
-
import { $ as E } from "./filterDOMProps-D6KHYVBX.js";
|
|
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
|
-
function V(s, e) {
|
|
10
|
-
let { elementType: a = "a", onPress: n, onPressStart: l, onPressEnd: o, onClick: f, isDisabled: t, ...$ } = s, i = {};
|
|
11
|
-
a !== "a" && (i = {
|
|
12
|
-
role: "link",
|
|
13
|
-
tabIndex: t ? void 0 : 0
|
|
14
|
-
});
|
|
15
|
-
let { focusableProps: c } = L(s, e), { pressProps: d, isPressed: m } = F({
|
|
16
|
-
onPress: n,
|
|
17
|
-
onPressStart: l,
|
|
18
|
-
onPressEnd: o,
|
|
19
|
-
onClick: f,
|
|
20
|
-
isDisabled: t,
|
|
21
|
-
ref: e
|
|
22
|
-
}), p = E($, {
|
|
23
|
-
labelable: !0
|
|
24
|
-
}), x = b(c, d), P = H(), k = g(s);
|
|
25
|
-
return {
|
|
26
|
-
isPressed: m,
|
|
27
|
-
linkProps: b(p, k, {
|
|
28
|
-
...x,
|
|
29
|
-
...i,
|
|
30
|
-
"aria-disabled": t || void 0,
|
|
31
|
-
"aria-current": s["aria-current"],
|
|
32
|
-
onClick: (r) => {
|
|
33
|
-
var u;
|
|
34
|
-
(u = d.onClick) === null || u === void 0 || u.call(d, r), !P.isNative && r.currentTarget instanceof HTMLAnchorElement && r.currentTarget.href && // If props are applied to a router Link component, it may have already prevented default.
|
|
35
|
-
!r.isDefaultPrevented() && y(r.currentTarget, r) && s.href && (r.preventDefault(), P.open(r.currentTarget, r, s.href, s.routerOptions));
|
|
36
|
-
}
|
|
37
|
-
})
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
const N = /* @__PURE__ */ T(null), z = /* @__PURE__ */ D(function(e, a) {
|
|
41
|
-
[e, a] = v(e, a, N);
|
|
42
|
-
let n = e.href && !e.isDisabled ? "a" : "span", { linkProps: l, isPressed: o } = V({
|
|
43
|
-
...e,
|
|
44
|
-
elementType: n
|
|
45
|
-
}, a), { hoverProps: f, isHovered: t } = S(e), { focusProps: $, isFocused: i, isFocusVisible: c } = _(), d = h({
|
|
46
|
-
...e,
|
|
47
|
-
defaultClassName: "react-aria-Link",
|
|
48
|
-
values: {
|
|
49
|
-
isCurrent: !!e["aria-current"],
|
|
50
|
-
isDisabled: e.isDisabled || !1,
|
|
51
|
-
isPressed: o,
|
|
52
|
-
isHovered: t,
|
|
53
|
-
isFocused: i,
|
|
54
|
-
isFocusVisible: c
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
return /* @__PURE__ */ C.createElement(n, {
|
|
58
|
-
ref: a,
|
|
59
|
-
slot: e.slot || void 0,
|
|
60
|
-
...b(d, l, f, $),
|
|
61
|
-
"data-focused": i || void 0,
|
|
62
|
-
"data-hovered": t || void 0,
|
|
63
|
-
"data-pressed": o || void 0,
|
|
64
|
-
"data-focus-visible": c || void 0,
|
|
65
|
-
"data-current": !!e["aria-current"] || void 0,
|
|
66
|
-
"data-disabled": e.isDisabled || void 0
|
|
67
|
-
}, d.children);
|
|
68
|
-
});
|
|
69
|
-
export {
|
|
70
|
-
z as $,
|
|
71
|
-
N as a
|
|
72
|
-
};
|
package/Link-Dq8IFDBx.cjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/Link.css');const n=require("react/jsx-runtime"),h=require("./Link-ceVlGaWQ.cjs"),j=require("./clsx-C11secjj.cjs"),q=require("./createLucideIcon-CTVXwe6i.cjs"),k=require("./square-arrow-out-up-right-xCFdJTzY.cjs"),w=require("./arrow-right-BGd86zzR.cjs");/**
|
|
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 f=[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]],p=q.createLucideIcon("arrow-down-to-line",f),L="_link_txq8j_4",m="_icon_txq8j_50",R="_standalone_txq8j_54",g="_stretched_txq8j_71",t={link:L,icon:m,standalone:R,stretched:g},y=({children:o,standalone:r,target:c,stretched:i,download:a,icon:s,className:u,as:d,...l})=>{const x=d||h.$4f118338184dc1d9$export$a6c7ac8248d6e38a,_=({...e})=>s?n.jsx(s,{...e}):a?n.jsx(p,{...e}):c==="_blank"?n.jsx(k.SquareArrowOutUpRight,{...e}):r?n.jsx(w.ArrowRight,{...e}):null;return n.jsx(x,{className:j.clsx(t.link,r&&t.standalone,i&&t.stretched,u),...l,target:c,children:n.jsxs(n.Fragment,{children:[o,n.jsx(_,{size:16,className:t.icon})]})})};exports.Link=y;
|
package/Link-ceVlGaWQ.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const v=require("./utils-BM2vxlNA.cjs"),P=require("react"),x=require("./mergeProps-C7Sx47fA.cjs"),T=require("./filterDOMProps-BS2lrgFA.cjs"),l=require("./usePress-BOGIOlm8.cjs"),q=require("./useFocusable-DbmryjUH.cjs"),F=require("./useHover-CaFzQrR_.cjs"),g=require("./useFocusRing-BM-zcH6L.cjs");function E(s,e){let{elementType:d="a",onPress:n,onPressStart:f,onPressEnd:c,onClick:u,isDisabled:t,...$}=s,i={};d!=="a"&&(i={role:"link",tabIndex:t?void 0:0});let{focusableProps:o}=q.$f645667febf57a63$export$4c014de7c8940b4c(s,e),{pressProps:a,isPressed:h}=l.$f6c31cce2adf654f$export$45712eceda6fad21({onPress:n,onPressStart:f,onPressEnd:c,onClick:u,isDisabled:t,ref:e}),D=T.$65484d02dcb7eb3e$export$457c3d6518dd4c6f($,{labelable:!0}),m=x.$3ef42575df84b30b$export$9d1611c77c2fe928(o,a),p=l.$ea8dcbcb9ea1b556$export$9a302a45f65d0572(),C=l.$ea8dcbcb9ea1b556$export$7e924b3091a3bd18(s);return{isPressed:h,linkProps:x.$3ef42575df84b30b$export$9d1611c77c2fe928(D,C,{...m,...i,"aria-disabled":t||void 0,"aria-current":s["aria-current"],onClick:r=>{var b;(b=a.onClick)===null||b===void 0||b.call(a,r),!p.isNative&&r.currentTarget instanceof HTMLAnchorElement&&r.currentTarget.href&&!r.isDefaultPrevented()&&l.$ea8dcbcb9ea1b556$export$efa8c9099e530235(r.currentTarget,r)&&s.href&&(r.preventDefault(),p.open(r.currentTarget,r,s.href,s.routerOptions))}})}}const k=P.createContext(null),H=P.forwardRef(function(e,d){[e,d]=v.$64fa3d84918910a7$export$29f1550f4b0d4415(e,d,k);let n=e.href&&!e.isDisabled?"a":"span",{linkProps:f,isPressed:c}=E({...e,elementType:n},d),{hoverProps:u,isHovered:t}=F.$6179b936705e76d3$export$ae780daf29e6d456(e),{focusProps:$,isFocused:i,isFocusVisible:o}=g.$f7dceffc5ad7768b$export$4e328f61c538687f(),a=v.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-Link",values:{isCurrent:!!e["aria-current"],isDisabled:e.isDisabled||!1,isPressed:c,isHovered:t,isFocused:i,isFocusVisible:o}});return P.createElement(n,{ref:d,slot:e.slot||void 0,...x.$3ef42575df84b30b$export$9d1611c77c2fe928(a,f,u,$),"data-focused":i||void 0,"data-hovered":t||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},a.children)});exports.$4f118338184dc1d9$export$a6c7ac8248d6e38a=H;exports.$4f118338184dc1d9$export$e2509388b49734e7=k;
|
package/LinkButton-BJA9_HzL.cjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";require('./assets/LinkButton.css');const n=require("react/jsx-runtime"),f=require("./Link-ceVlGaWQ.cjs"),p=require("./clsx-C11secjj.cjs"),m=require("./square-arrow-out-up-right-xCFdJTzY.cjs"),y=require("./createLucideIcon-CTVXwe6i.cjs"),x=require("./arrow-right-BGd86zzR.cjs");/**
|
|
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 g=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],h=y.createLucideIcon("arrow-left",g),z="_linkButton_1klzp_4",w="_secondary_1klzp_55",B="_icon_1klzp_60",L="_tertiary_1klzp_85",q="_danger_1klzp_102",j="_iconBtn_1klzp_119",R="_medium_1klzp_141",A="_iconLeft_1klzp_146",N="_fullwidth_1klzp_150",t={linkButton:z,secondary:w,icon:B,tertiary:L,danger:q,iconBtn:j,medium:R,iconLeft:A,fullwidth:N},$=({children:i,variant:e,fullwidth:s,icon:o,iconPlacement:c,className:u,as:l,size:_="large",...d})=>{const a=l||f.$4f118338184dc1d9$export$a6c7ac8248d6e38a,k=({...r})=>o?n.jsx(o,{...r}):r.target==="_blank"?n.jsx(m.SquareArrowOutUpRight,{...r}):c==="left"?n.jsx(h,{...r}):n.jsx(x.ArrowRight,{...r});return n.jsxs(a,{className:p.clsx(t.linkButton,e==="primary"&&t.primary,e==="secondary"&&t.secondary,e==="tertiary"&&t.tertiary,e==="danger"&&t.danger,e==="icon"&&t.iconBtn,_==="medium"&&t.medium,s&&t.fullwidth,c==="left"&&t.iconLeft,u),...d,children:[i,n.jsx(k,{size:20,className:t.icon})]})};exports.LinkButton=$;
|
package/LinkButton-DH3Nfdis.js
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { jsxs as p, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { $ as u } from "./Link-CM2N5Jq-.js";
|
|
3
|
-
import { c as k } from "./clsx-OuTLNxxd.js";
|
|
4
|
-
import { S as y } from "./square-arrow-out-up-right-ok0A3Ovo.js";
|
|
5
|
-
import { c as z } from "./createLucideIcon-XRdN60yz.js";
|
|
6
|
-
import { A as g } from "./arrow-right-uemUGIg8.js";
|
|
7
|
-
import './assets/LinkButton.css';/**
|
|
8
|
-
* @license lucide-react v0.525.0 - ISC
|
|
9
|
-
*
|
|
10
|
-
* This source code is licensed under the ISC license.
|
|
11
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
12
|
-
*/
|
|
13
|
-
const h = [
|
|
14
|
-
["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
|
|
15
|
-
["path", { d: "M19 12H5", key: "x3x0zl" }]
|
|
16
|
-
], B = z("arrow-left", h), w = "_linkButton_1klzp_4", L = "_secondary_1klzp_55", x = "_icon_1klzp_60", A = "_tertiary_1klzp_85", $ = "_danger_1klzp_102", N = "_iconBtn_1klzp_119", j = "_medium_1klzp_141", R = "_iconLeft_1klzp_146", S = "_fullwidth_1klzp_150", t = {
|
|
17
|
-
linkButton: w,
|
|
18
|
-
secondary: L,
|
|
19
|
-
icon: x,
|
|
20
|
-
tertiary: A,
|
|
21
|
-
danger: $,
|
|
22
|
-
iconBtn: N,
|
|
23
|
-
medium: j,
|
|
24
|
-
iconLeft: R,
|
|
25
|
-
fullwidth: S
|
|
26
|
-
}, U = ({
|
|
27
|
-
children: e,
|
|
28
|
-
variant: o,
|
|
29
|
-
fullwidth: s,
|
|
30
|
-
icon: c,
|
|
31
|
-
iconPlacement: i,
|
|
32
|
-
className: l,
|
|
33
|
-
as: _,
|
|
34
|
-
size: a = "large",
|
|
35
|
-
...d
|
|
36
|
-
}) => {
|
|
37
|
-
const m = _ || u, f = ({ ...n }) => c ? /* @__PURE__ */ r(c, { ...n }) : n.target === "_blank" ? /* @__PURE__ */ r(y, { ...n }) : i === "left" ? /* @__PURE__ */ r(B, { ...n }) : /* @__PURE__ */ r(g, { ...n });
|
|
38
|
-
return /* @__PURE__ */ p(
|
|
39
|
-
m,
|
|
40
|
-
{
|
|
41
|
-
className: k(
|
|
42
|
-
t.linkButton,
|
|
43
|
-
o === "primary" && t.primary,
|
|
44
|
-
o === "secondary" && t.secondary,
|
|
45
|
-
o === "tertiary" && t.tertiary,
|
|
46
|
-
o === "danger" && t.danger,
|
|
47
|
-
o === "icon" && t.iconBtn,
|
|
48
|
-
a === "medium" && t.medium,
|
|
49
|
-
s && t.fullwidth,
|
|
50
|
-
i === "left" && t.iconLeft,
|
|
51
|
-
l
|
|
52
|
-
),
|
|
53
|
-
...d,
|
|
54
|
-
children: [
|
|
55
|
-
e,
|
|
56
|
-
/* @__PURE__ */ r(
|
|
57
|
-
f,
|
|
58
|
-
{
|
|
59
|
-
size: 20,
|
|
60
|
-
className: t.icon
|
|
61
|
-
}
|
|
62
|
-
)
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
);
|
|
66
|
-
};
|
|
67
|
-
export {
|
|
68
|
-
U as L
|
|
69
|
-
};
|