@stihl-design-system/components 1.0.0-RC.4 → 1.0.0-RC.40
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/Klarna.svg +1 -0
- package/Mastercard.svg +2 -0
- package/Notification-additional-information.jpeg +0 -0
- package/Notification-confirm-error.jpg +0 -0
- package/Notification-confirm-warn.jpeg +0 -0
- package/Notification-overview.jpeg +0 -0
- package/Notification-success.jpeg +0 -0
- package/PayPal.svg +2 -0
- package/Placeholder.svg +1 -0
- package/README.md +2 -11
- package/Visa.svg +2 -0
- package/accordion.d.ts +2 -0
- package/accordion.nt0Foequ.js +12 -0
- package/actionbutton.Ctea6drN.js +12 -0
- package/actionbutton.d.ts +2 -0
- package/actionlink.VX1OMtm-.js +12 -0
- package/actionlink.d.ts +2 -0
- package/arialiveregions.B0AV2JcV.js +18 -0
- package/arialiveregions.d.ts +1 -0
- package/assets/Accordion.Cr1dbVTH.css +1 -0
- package/assets/ActionButton.BLOWs6IZ.css +1 -0
- package/assets/ActionLink.BJDUVdT7.css +1 -0
- package/assets/Breadcrumb.BavNNzAA.css +1 -0
- package/assets/Button.C-UYIggc.css +1 -0
- package/assets/Checkbox.ZAPIO2N8.css +1 -0
- package/assets/CheckboxGroup.Dd-Huo7x.css +1 -0
- package/assets/Chip.D3vV0wyV.css +1 -0
- package/assets/CustomReactSelect.Ctze4SRN.css +1 -0
- package/assets/Dialog.DyiHUgTp.css +1 -0
- package/assets/Drawer.UugEajR2.css +1 -0
- package/assets/Fieldset.DmxbjOm1.css +1 -0
- package/assets/Header.BNYL2Y78.css +1 -0
- package/assets/Icon.i2P_Jf3Q.css +1 -0
- package/assets/InputFile.BUMCNCrj.css +1 -0
- package/assets/InputNumber.Bmz8cNKg.css +1 -0
- package/assets/InputPassword.CutbykTm.css +1 -0
- package/assets/InputSearch.Sr9jVpKt.css +1 -0
- package/assets/LinkButton.BEbmxP7h.css +1 -0
- package/assets/LinkCard.C6HtgbjH.css +1 -0
- package/assets/MegaMenu.Dw-oLSCX.css +1 -0
- package/assets/NavigationTabList.CzAiHz7G.css +1 -0
- package/assets/Notification.DBGpHzov.css +1 -0
- package/assets/Popover.mL5g23EK.css +1 -0
- package/assets/RadioGroup.q1lQ-HIZ.css +1 -0
- package/assets/Select.BZYb_HAG.css +1 -0
- package/assets/Slider.vnSU0ya0.css +1 -0
- package/assets/Stepper.tXJl15yL.css +1 -0
- package/assets/SystemFeedback.PKzqnXUe.css +1 -0
- package/assets/TextUtility.CEBJaKBG.css +1 -0
- package/assets/Textarea.BIgA9_fl.css +1 -0
- package/assets/Toast.DgRXxA0s.css +1 -0
- package/assets/arialiveregions.e0Q16ZWi.css +1 -0
- package/assets/asterisk.B41DaZDe.css +1 -0
- package/assets/banner.DFvdtgMp.css +1 -0
- package/assets/buttonround.BTC-HthI.css +1 -0
- package/assets/chipgroup.BGxjdSDX.css +1 -0
- package/assets/filelist.H_wKcSPX.css +1 -0
- package/assets/flag.CyCIPu_J.css +1 -0
- package/assets/floatingactionbutton.CTbMRM9Q.css +1 -0
- package/assets/heading.mGwg9pVU.css +1 -0
- package/assets/input.BEOus9jX.css +1 -0
- package/assets/link.BemYqm4d.css +1 -0
- package/assets/logo.SVrBe1T8.css +1 -0
- package/assets/logo100years.CQrEg-Vo.css +1 -0
- package/assets/numberindicator.BYIPwkAK.css +1 -0
- package/assets/optioncheckbox.6zYgifUk.css +1 -0
- package/assets/radio.l9OTraQU.css +1 -0
- package/assets/scroller.BGlPnnPD.css +1 -0
- package/assets/skiptocontent.CTSDC_kG.css +1 -0
- package/assets/spinner.C7QSv7jc.css +1 -0
- package/assets/step.Ch508u7I.css +1 -0
- package/assets/switch.DYamtd9O.css +1 -0
- package/assets/tabpane.o34hshTz.css +1 -0
- package/assets/text.BA1eUihR.css +1 -0
- package/assets/title.N-QcA7Re.css +1 -0
- package/assets/tooltip.BPcysHGE.css +1 -0
- package/asterisk.Dwtdwpkq.js +13 -0
- package/asterisk.d.ts +1 -0
- package/banner.S_c1UQJe.js +55 -0
- package/banner.d.ts +2 -0
- package/breadcrumb.DiuuVblR.js +11 -0
- package/breadcrumb.d.ts +2 -0
- package/button.Z7Mmvwhv.js +12 -0
- package/button.d.ts +1 -0
- package/buttonround.Bqi8Ej-y.js +96 -0
- package/buttonround.d.ts +1 -0
- package/card-example-image-1.webp +0 -0
- package/card-example-image-2.webp +0 -0
- package/card-example-image-3.webp +0 -0
- package/card-example-image-4.webp +0 -0
- package/card-example-image-5.webp +0 -0
- package/card-example-image-6.webp +0 -0
- package/card-example-image-7.webp +0 -0
- package/card-example-image-8.webp +0 -0
- package/card-example-image-square.webp +0 -0
- package/card-example-image.webp +0 -0
- package/checkbox.DtSSduSH.js +12 -0
- package/checkbox.d.ts +1 -0
- package/checkboxgroup.CSP1DOCW.js +9 -0
- package/checkboxgroup.d.ts +1 -0
- package/chip.CyypeY5M.js +12 -0
- package/chip.d.ts +2 -0
- package/chipgroup.d.ts +2 -0
- package/chipgroup.i5SOv6LA.js +199 -0
- package/chunks/Accordion.B-0pf8Fq.js +168 -0
- package/chunks/ActionButton.wdWh7E2b.js +182 -0
- package/chunks/ActionLink.DwUP-Kgm.js +155 -0
- package/chunks/AriaLiveRegions.utils.CLpOaVD9.js +27 -0
- package/chunks/Breadcrumb.nflDJoKs.js +103 -0
- package/chunks/Button.DpGeheky.js +139 -0
- package/chunks/Checkbox.B3NeB54s.js +88 -0
- package/chunks/CheckboxGroup.BYZSvqF7.js +74 -0
- package/chunks/Chip.SiGIIHR-.js +133 -0
- package/chunks/CustomReactSelect.DBsnmMPl.js +3379 -0
- package/chunks/Dialog.C-rcs_Up.js +102 -0
- package/chunks/Drawer.D0d557c5.js +107 -0
- package/chunks/Fieldset.7WM7w62l.js +81 -0
- package/chunks/Header.DyqOlV8L.js +402 -0
- package/chunks/Icon.m6sMB6vl.js +232 -0
- package/chunks/Input.utils.D78E4MGO.js +59 -0
- package/chunks/InputFile.DRGNdtY0.js +236 -0
- package/chunks/InputNumber.a44HnJ9B.js +240 -0
- package/chunks/InputPassword.B1E0Maub.js +121 -0
- package/chunks/InputSearch.C7AvD7Eu.js +149 -0
- package/chunks/LinkButton.CMjq2FKc.js +140 -0
- package/chunks/LinkCard.CJ5P0ews.js +199 -0
- package/chunks/MegaMenu.CiSiMlE3.js +188 -0
- package/chunks/NavigationTabList.C2f-lWex.js +67 -0
- package/chunks/NavigationTabs.D2QrnlL2.js +62 -0
- package/chunks/Notification.COwLndR0.js +91 -0
- package/chunks/Popover.C5wtha5l.js +214 -0
- package/chunks/RadioGroup.B-qTH31u.js +125 -0
- package/chunks/Select.DrDVi9lg.js +147 -0
- package/chunks/Slider.DGMrDfWv.js +306 -0
- package/chunks/Stepper.DptsFh5n.js +152 -0
- package/chunks/SystemFeedback.DFN6Y2cw.js +38 -0
- package/chunks/TabPane.utils.DG16Y2uD.js +10 -0
- package/chunks/Tabs.2JTenRcr.js +83 -0
- package/chunks/Text.utils.D_iOyOSH.js +11 -0
- package/chunks/TextUtility.Wbd4oQXI.js +82 -0
- package/chunks/Textarea.ymNCbcvH.js +181 -0
- package/chunks/Toast.RUzRjojQ.js +76 -0
- package/chunks/accessibility.B57oX4yV.js +10 -0
- package/chunks/{arrow-clockwise.BefOjGPg.js → arrow-clockwise.C4iOgjOc.js} +1 -1
- package/chunks/{arrow-counterclockwise.C7Ov32BZ.js → arrow-counterclockwise.CgQAuBUe.js} +1 -1
- package/chunks/battery-charge-0.DxlgEAto.js +10 -0
- package/chunks/battery-charge-100.D0Cax7dU.js +10 -0
- package/chunks/{battery.YCg9lYqC.js → battery.6Idoickg.js} +3 -3
- package/chunks/bluetooth-off.BzZCh4Q8.js +10 -0
- package/chunks/caret-down.CupuwAF6.js +10 -0
- package/chunks/caret-right.DKtu4PQe.js +10 -0
- package/chunks/{circle-check-colored.Bye_GwLy.js → circle-check-colored.qP2s3vjI.js} +1 -1
- package/chunks/collapse.Dvv3mgkv.js +10 -0
- package/chunks/connected-icon.BEijTRDG.js +10 -0
- package/chunks/default-icon.D_-oBHyT.js +10 -0
- package/chunks/{diamond-exclamationmark-colored.WNKYwZ8q.js → diamond-exclamationmark-colored.CzYiaTZ0.js} +1 -1
- package/chunks/document-magnifying-glass.DkvpNz-D.js +10 -0
- package/chunks/document-s.CoOp0kBK.js +10 -0
- package/chunks/feather.l1E4nFBx.js +10 -0
- package/chunks/file-type-doc.B_RSSYbu.js +10 -0
- package/chunks/file-type-image.Cg2NRd7y.js +10 -0
- package/chunks/file-type-pdf.Dm94xL2i.js +10 -0
- package/chunks/{map.CXgG1iGz.js → file-type-video.CFwfiP-D.js} +1 -1
- package/chunks/file-type-zip.SNixmKhQ.js +10 -0
- package/chunks/file.DLgRXiem.js +10 -0
- package/chunks/floating-ui.react.CP5A99-c.js +2980 -0
- package/chunks/has-window.ut_-aShB.js +5 -0
- package/chunks/helpers.CexwVao7.js +38 -0
- package/chunks/imow-icon.CyH72ySI.js +10 -0
- package/chunks/index.DQOqod3i.js +43 -0
- package/chunks/index.cKLI89Eg.js +281 -0
- package/chunks/is-animation-disabled.B-V_68K-.js +20 -0
- package/chunks/map.DNl7PF61.js +10 -0
- package/chunks/moon.5yILPYXs.js +10 -0
- package/chunks/muscle.DbNjWasV.js +10 -0
- package/chunks/mystihl-icon.xHpCyYJf.js +10 -0
- package/chunks/petrol.BGWwCsTw.js +10 -0
- package/chunks/sun.CY6ttzTL.js +10 -0
- package/chunks/tiktok.BWJTDGYm.js +10 -0
- package/chunks/translate.nuU7uChI.js +8 -0
- package/chunks/{triangle-exclamationmark-colored.CbVC3Gzi.js → triangle-exclamationmark-colored.e93zvQ6Q.js} +1 -1
- package/chunks/twitch.C893cAK8.js +10 -0
- package/chunks/upload.BogDfonx.js +10 -0
- package/chunks/useBreakpoint.1txsny17.js +45 -0
- package/chunks/useIsomorphicLayoutEffect.CnJ9AMFS.js +7 -0
- package/chunks/variants.-R3_RCW8.js +10 -0
- package/chunks/weight.DUPu2UT0.js +10 -0
- package/combobox.DzSEFo_5.js +69 -0
- package/combobox.d.ts +1 -0
- package/components/Accordion/Accordion.d.ts +43 -0
- package/components/Accordion/Accordion.utils.d.ts +16 -0
- package/components/ActionButton/ActionButton.d.ts +63 -0
- package/components/ActionButton/ActionButton.utils.d.ts +22 -0
- package/components/ActionLink/ActionLink.d.ts +38 -0
- package/components/ActionLink/ActionLink.test.d.ts +1 -0
- package/components/ActionLink/ActionLink.utils.d.ts +19 -0
- package/components/ActionLink/ActionLink.utils.test.d.ts +1 -0
- package/components/AriaLiveRegions/AriaLiveRegions.d.ts +1 -0
- package/components/AriaLiveRegions/AriaLiveRegions.utils.d.ts +2 -2
- package/components/Asterisk/Asterisk.d.ts +1 -0
- package/components/Banner/Banner.d.ts +32 -0
- package/components/Banner/Banner.test.d.ts +1 -0
- package/components/Banner/Banner.utils.d.ts +2 -0
- package/components/Breadcrumb/Breadcrumb.d.ts +45 -0
- package/components/Breadcrumb/Breadcrumb.test.d.ts +1 -0
- package/components/Breadcrumb/Breadcrumb.utils.d.ts +4 -0
- package/components/Button/Button.d.ts +41 -16
- package/components/Button/Button.utils.d.ts +17 -1
- package/components/Button/Button.utils.test.d.ts +1 -0
- package/components/ButtonRound/ButtonRound.d.ts +12 -3
- package/components/Checkbox/Checkbox.d.ts +25 -9
- package/components/Checkbox/Checkbox.utils.d.ts +11 -0
- package/components/Checkbox/Checkbox.utils.test.d.ts +1 -0
- package/components/CheckboxGroup/CheckboxGroup.d.ts +34 -14
- package/components/CheckboxGroup/CheckboxGroup.utils.d.ts +0 -1
- package/components/ChipGroup/Chip.d.ts +13 -0
- package/components/ChipGroup/ChipGroup.d.ts +48 -0
- package/components/ChipGroup/ChipGroup.test.d.ts +1 -0
- package/components/ChipGroup/ChipGroup.utils.d.ts +58 -0
- package/components/ChipGroup/ChipGroup.utils.test.d.ts +1 -0
- package/components/Combobox/Combobox.d.ts +27 -6
- package/components/Combobox/Combobox.utils.d.ts +14 -7
- package/components/Combobox/CustomReactSelect/CustomReactSelect.d.ts +88 -0
- package/components/Combobox/CustomReactSelect/CustomReactSelect.utils.d.ts +3 -0
- package/components/Combobox/CustomReactSelect/CustomReactSelect.utils.test.d.ts +1 -0
- package/components/{CustomReactSelect → Combobox/CustomReactSelect}/OptionCheckbox.d.ts +1 -2
- package/components/Dialog/Dialog.d.ts +40 -6
- package/components/Dialog/Dialog.test.d.ts +1 -0
- package/components/Dialog/Dialog.utils.d.ts +11 -0
- package/components/Dialog/Dialog.utils.test.d.ts +1 -0
- package/components/Drawer/Drawer.d.ts +49 -0
- package/components/Drawer/Drawer.test.d.ts +1 -0
- package/components/Drawer/Drawer.utils.d.ts +13 -0
- package/components/Drawer/Drawer.utils.test.d.ts +1 -0
- package/components/Fieldset/Fieldset.d.ts +29 -10
- package/components/Fieldset/Fieldset.utils.d.ts +7 -1
- package/components/FileList/FileList.d.ts +13 -0
- package/components/FileList/FileList.test.d.ts +1 -0
- package/components/FileList/FileList.utils.d.ts +18 -0
- package/components/FileList/FileList.utils.test.d.ts +1 -0
- package/components/Flag/Flag.d.ts +26 -0
- package/components/Flag/Flag.test.d.ts +1 -0
- package/components/Flag/Flag.utils.d.ts +2 -0
- package/components/FloatingActionButton/FloatingActionButton.d.ts +8 -2
- package/components/Header/Header.d.ts +67 -0
- package/components/Header/Header.utils.d.ts +17 -0
- package/components/Header/Header.utils.test.d.ts +1 -0
- package/components/Heading/Heading.d.ts +13 -6
- package/components/Icon/Icon.d.ts +14 -7
- package/components/Icon/Icon.utils.d.ts +1 -2
- package/components/Input/Input.d.ts +69 -25
- package/components/Input/Input.utils.d.ts +5 -6
- package/components/InputFile/InputFile.d.ts +104 -0
- package/components/InputFile/InputFile.test.d.ts +1 -0
- package/components/InputFile/InputFile.utils.d.ts +48 -0
- package/components/InputFile/InputFile.utils.test.d.ts +1 -0
- package/components/InputNumber/InputNumber.d.ts +110 -0
- package/components/InputNumber/InputNumber.test.d.ts +1 -0
- package/components/InputNumber/InputNumber.utils.d.ts +13 -0
- package/components/InputNumber/InputNumber.utils.test.d.ts +1 -0
- package/components/InputPassword/InputPassword.d.ts +56 -18
- package/components/InputPassword/InputPassword.utils.d.ts +2 -3
- package/components/InputSearch/InputSearch.d.ts +55 -18
- package/components/InputSearch/InputSearch.utils.d.ts +2 -3
- package/components/Link/Link.d.ts +11 -43
- package/components/Link/Link.utils.d.ts +2 -8
- package/components/LinkButton/LinkButton.d.ts +71 -0
- package/components/LinkButton/LinkButton.test.d.ts +1 -0
- package/components/LinkButton/LinkButton.utils.d.ts +24 -0
- package/components/LinkButton/LinkButton.utils.test.d.ts +1 -0
- package/components/LinkCard/LinkCard.d.ts +96 -0
- package/components/LinkCard/LinkCard.test.d.ts +1 -0
- package/components/LinkCard/LinkCard.utils.d.ts +10 -0
- package/components/LinkCard/LinkCard.utils.test.d.ts +1 -0
- package/components/Logo/Logo.d.ts +18 -10
- package/components/Logo/Logo.test.d.ts +1 -0
- package/components/Logo/Logo.utils.d.ts +2 -2
- package/components/Logo100Years/Logo100Years.d.ts +1 -0
- package/components/MegaMenu/MegaMenu.d.ts +32 -0
- package/components/MegaMenu/MegaMenu.test.d.ts +1 -0
- package/components/MegaMenu/MegaMenu.utils.d.ts +52 -0
- package/components/MegaMenu/MegaMenu.utils.test.d.ts +1 -0
- package/components/NavigationTabs/NavigationTabs.d.ts +43 -0
- package/components/NavigationTabs/NavigationTabs.test.d.ts +1 -0
- package/components/NavigationTabs/NavigationTabs.utils.d.ts +6 -0
- package/components/Notification/Notification.d.ts +25 -11
- package/components/Notification/Notification.utils.d.ts +0 -1
- package/components/NumberIndicator/NumberIndicator.d.ts +13 -0
- package/components/NumberIndicator/NumberIndicator.test.d.ts +1 -0
- package/components/NumberIndicator/NumberIndicator.utils.d.ts +2 -0
- package/components/Popover/Popover.d.ts +62 -0
- package/components/Popover/Popover.test.d.ts +1 -0
- package/components/Popover/Popover.utils.d.ts +84 -0
- package/components/Popover/Popover.utils.test.d.ts +1 -0
- package/components/Radio/Radio.d.ts +32 -14
- package/components/RadioGroup/RadioGroup.d.ts +43 -20
- package/components/RadioGroup/RadioGroup.utils.d.ts +6 -4
- package/components/RadioGroup/RadioGroup.utils.test.d.ts +1 -0
- package/components/Scroller/Scroller.d.ts +24 -0
- package/components/Scroller/Scroller.test.d.ts +1 -0
- package/components/Scroller/Scroller.utils.d.ts +3 -0
- package/components/Select/Select.d.ts +37 -13
- package/components/Select/Select.utils.d.ts +2 -3
- package/components/SkipToContent/SkipToContent.d.ts +19 -0
- package/components/SkipToContent/SkipToContent.test.d.ts +1 -0
- package/components/Slider/Slider.d.ts +76 -0
- package/components/Slider/Slider.test.d.ts +1 -0
- package/components/Slider/Slider.utils.d.ts +65 -0
- package/components/Slider/Slider.utils.test.d.ts +1 -0
- package/components/Spinner/Spinner.d.ts +14 -5
- package/components/Stepper/Step.d.ts +33 -0
- package/components/Stepper/Step.utils.d.ts +5 -0
- package/components/Stepper/Stepper.d.ts +56 -0
- package/components/Stepper/Stepper.test.d.ts +1 -0
- package/components/Stepper/Stepper.utils.d.ts +30 -0
- package/components/Stepper/Stepper.utils.test.d.ts +1 -0
- package/components/Switch/Switch.d.ts +23 -12
- package/components/SystemFeedback/SystemFeedback.d.ts +16 -7
- package/components/SystemFeedback/SystemFeedback.utils.d.ts +4 -7
- package/components/Tabs/TabList/NavigationTabList/NavigationTabList.d.ts +22 -0
- package/components/Tabs/TabList/TabList.d.ts +38 -0
- package/components/Tabs/TabList/TabList.utils.d.ts +2 -0
- package/components/Tabs/TabPane/TabPane.d.ts +10 -0
- package/components/Tabs/TabPane/TabPane.utils.d.ts +3 -0
- package/components/Tabs/TabPane/TabPane.utils.test.d.ts +1 -0
- package/components/Tabs/Tabs.d.ts +51 -0
- package/components/Tabs/Tabs.test.d.ts +1 -0
- package/components/Tabs/Tabs.utils.d.ts +6 -0
- package/components/Text/Text.d.ts +19 -10
- package/components/Text/Text.utils.d.ts +14 -1
- package/components/TextUtility/TextUtility.d.ts +30 -0
- package/components/TextUtility/TextUtility.test.d.ts +1 -0
- package/components/TextUtility/TextUtility.utils.d.ts +10 -0
- package/components/TextUtility/TextUtility.utils.test.d.ts +1 -0
- package/components/Textarea/Textarea.d.ts +47 -16
- package/components/Textarea/Textarea.utils.d.ts +2 -3
- package/components/Title/Title.d.ts +13 -6
- package/components/Toast/Toast.d.ts +28 -7
- package/components/Toast/Toast.utils.d.ts +19 -1
- package/components/Toast/ToastManager.d.ts +7 -4
- package/components/Tooltip/Tooltip.d.ts +40 -0
- package/components/Tooltip/Tooltip.test.d.ts +1 -0
- package/components/Tooltip/Tooltip.utils.d.ts +70 -0
- package/components/Tooltip/Tooltip.utils.test.d.ts +1 -0
- package/components/TopBar/TopBar.d.ts +54 -0
- package/components/TopBar/TopBar.utils.d.ts +14 -0
- package/components/TopBar/TopBar.utils.test.d.ts +1 -0
- package/connected-icon.svg +1 -0
- package/customreactselect.D7YraWJ7.js +15 -0
- package/customreactselect.d.ts +2 -1
- package/dialog.CBovd8em.js +9 -0
- package/dialog.d.ts +1 -0
- package/drawer.D5F0KXI2.js +9 -0
- package/drawer.d.ts +2 -0
- package/fieldset.DgbZ_K_l.js +12 -0
- package/fieldset.d.ts +1 -0
- package/filelist.CDEBo3Pi.js +160 -0
- package/filelist.d.ts +2 -0
- package/flag.D-wrUioF.js +50 -0
- package/flag.d.ts +2 -0
- package/floatingactionbutton.CE-Rz0dx.js +87 -0
- package/floatingactionbutton.d.ts +1 -0
- package/github-mark-white.svg +1 -0
- package/github-mark.svg +1 -0
- package/header.BtGgmM59.js +12 -0
- package/header.d.ts +2 -0
- package/heading.BHSklXho.js +46 -0
- package/heading.d.ts +1 -0
- package/icon.ByLYRkPZ.js +9 -0
- package/icon.d.ts +1 -0
- package/icon.svg +1 -1
- package/imow-icon.svg +1 -0
- package/index.d.ts +51 -4
- package/index.es.js +235 -138
- package/input.MZXe6rlg.js +188 -0
- package/input.d.ts +1 -0
- package/inputfile.BO4wDnzQ.js +18 -0
- package/inputfile.d.ts +2 -0
- package/inputnumber.DevQudIX.js +17 -0
- package/inputnumber.d.ts +2 -0
- package/inputpassword.C-XYK-JP.js +13 -0
- package/inputpassword.d.ts +1 -0
- package/inputsearch.CmJdxnzX.js +15 -0
- package/inputsearch.d.ts +1 -0
- package/intro-design-spacings01.webp +0 -0
- package/intro-design-spacings02.webp +0 -0
- package/intro-design-spacings03.webp +0 -0
- package/link.R1lfD5aN.js +81 -0
- package/link.d.ts +1 -0
- package/linkbutton.Y-ET1tc9.js +12 -0
- package/linkbutton.d.ts +2 -0
- package/linkcard.CayqoQNo.js +12 -0
- package/linkcard.d.ts +2 -0
- package/logo.D7LnRA1E.js +80 -0
- package/logo.d.ts +1 -0
- package/logo100years.C0IojOp9.js +24 -0
- package/logo100years.d.ts +2 -0
- package/megamenu.CUjk3_h2.js +12 -0
- package/megamenu.d.ts +2 -0
- package/mystihl-icon.svg +1 -0
- package/navigationtablist.CKPpQrme.js +10 -0
- package/navigationtablist.d.ts +2 -0
- package/navigationtabs.VUAOwesQ.js +9 -0
- package/navigationtabs.d.ts +2 -0
- package/notification.d.ts +1 -0
- package/notification.u_LLz-O0.js +10 -0
- package/numberindicator.ZGVRSmqf.js +36 -0
- package/numberindicator.d.ts +2 -0
- package/optioncheckbox.d.ts +2 -1
- package/optioncheckbox.v8Plcgeg.js +48 -0
- package/package.json +77 -59
- package/partials/assets.const.js +2 -0
- package/partials/connected-apple-icon.png +0 -0
- package/partials/connected-favicon.ico +0 -0
- package/partials/connected-icon-192.png +0 -0
- package/partials/connected-icon-512.png +0 -0
- package/partials/connected-icon.svg +1 -0
- package/partials/copyAssets.js +27 -13
- package/partials/default-icon.svg +1 -0
- package/partials/imow-apple-icon.png +0 -0
- package/partials/imow-favicon.ico +0 -0
- package/partials/imow-icon-192.png +0 -0
- package/partials/imow-icon-512.png +0 -0
- package/partials/imow-icon.svg +1 -0
- package/partials/index.js +342 -2159
- package/partials/lib/partials.d.ts +77 -5
- package/partials/mystihl-apple-icon.png +0 -0
- package/partials/mystihl-favicon.ico +0 -0
- package/partials/mystihl-icon-192.png +0 -0
- package/partials/mystihl-icon-512.png +0 -0
- package/partials/mystihl-icon.svg +1 -0
- package/popover.T7-imfkx.js +12 -0
- package/popover.d.ts +2 -0
- package/radio.DxdVKoxe.js +137 -0
- package/radio.d.ts +1 -0
- package/radiogroup.CAh4wto1.js +11 -0
- package/radiogroup.d.ts +1 -0
- package/scroller.DfhhZelk.js +98 -0
- package/scroller.d.ts +2 -0
- package/select-decision-tree-small.webp +0 -0
- package/select-decision-tree.webp +0 -0
- package/select.CSCc_-6d.js +14 -0
- package/select.d.ts +1 -0
- package/skiptocontent.C2HpZt5q.js +35 -0
- package/skiptocontent.d.ts +2 -0
- package/slider.B2aQwfc2.js +12 -0
- package/slider.d.ts +2 -0
- package/spinner.CRVyui04.js +46 -0
- package/spinner.d.ts +1 -0
- package/step.C-LC5sKQ.js +82 -0
- package/step.d.ts +6 -0
- package/stepper.CRljfUF8.js +16 -0
- package/stepper.d.ts +2 -0
- package/styles/fonts/STIHLContrafaceDigitalTextDemi.woff +0 -0
- package/styles/fonts/STIHLContrafaceDigitalTextDemi.woff2 +0 -0
- package/styles/fonts/font-face.min.css +1 -1
- package/styles/js/index.d.ts +4 -0
- package/styles/js/index.es.js +249 -0
- package/styles/js/lib/animation.d.ts +13 -0
- package/styles/js/lib/breakpoint.d.ts +9 -0
- package/styles/js/lib/spacing.d.ts +22 -0
- package/styles/js/lib/theme.d.ts +202 -0
- package/styles/scss/ds/index.scss +20 -0
- package/styles/scss/ds/lib/animation.scss +21 -0
- package/styles/scss/ds/lib/breakpoints.scss +17 -0
- package/styles/scss/ds/lib/container-query.scss +54 -0
- package/styles/scss/ds/lib/ds-internal/_a11y.scss +15 -0
- package/styles/scss/ds/lib/ds-internal/_focus.scss +60 -0
- package/styles/scss/ds/lib/ds-internal/_heading.scss +37 -0
- package/styles/scss/ds/lib/ds-internal/_helpers.scss +32 -0
- package/styles/scss/ds/lib/ds-internal/_high-contrast.scss +6 -0
- package/styles/scss/ds/lib/ds-internal/_hover.scss +6 -0
- package/styles/scss/ds/lib/ds-internal/_index.scss +11 -0
- package/styles/scss/ds/lib/ds-internal/_input.scss +196 -0
- package/styles/scss/ds/lib/ds-internal/_link-button.scss +226 -0
- package/styles/scss/ds/lib/ds-internal/_link.scss +62 -0
- package/styles/scss/ds/lib/ds-internal/_spacing-dynamic.scss +53 -0
- package/styles/scss/ds/lib/ds-internal/_text.scss +30 -0
- package/styles/scss/ds/lib/grid-extended.scss +14 -0
- package/styles/scss/ds/lib/grid-full.scss +6 -0
- package/styles/scss/ds/lib/grid-main.scss +122 -0
- package/styles/scss/ds/lib/grid-narrow.scss +14 -0
- package/styles/scss/ds/lib/grid-sidebar.scss +57 -0
- package/styles/scss/ds/lib/grid.scss +92 -0
- package/styles/scss/ds/lib/heading.scss +75 -0
- package/styles/scss/ds/lib/input.scss +26 -0
- package/styles/scss/ds/lib/link-button.scss +29 -0
- package/styles/scss/ds/lib/link.scss +74 -0
- package/styles/scss/ds/lib/media-query.scss +32 -0
- package/styles/scss/{lib/_shadow.scss → ds/lib/shadow.scss} +7 -2
- package/styles/scss/ds/lib/spacing-dynamic.scss +7 -0
- package/styles/scss/ds/lib/spacing.scss +20 -0
- package/styles/scss/ds/lib/text.scss +107 -0
- package/styles/scss/ds/lib/theme.scss +171 -0
- package/styles/scss/ds/lib/transition.scss +36 -0
- package/switch.DgKgzm-j.js +66 -0
- package/switch.d.ts +1 -0
- package/systemfeedback.BKLsE5sY.js +10 -0
- package/systemfeedback.d.ts +1 -0
- package/tablist.d.ts +2 -0
- package/tablist.hMHdX1V8.js +210 -0
- package/tabpane.7vMXUKFX.js +37 -0
- package/tabpane.d.ts +2 -0
- package/tabs.d.ts +2 -0
- package/tabs.t-gR7dGc.js +11 -0
- package/text.D_e3JBvf.js +72 -0
- package/text.d.ts +1 -0
- package/textarea.CDXY-OVz.js +14 -0
- package/textarea.d.ts +1 -0
- package/textutility.CNWCGYOy.js +11 -0
- package/textutility.d.ts +2 -0
- package/title.d.ts +1 -0
- package/title.kJ48FkPU.js +40 -0
- package/toast.Bev-Rfuw.js +11 -0
- package/toast.d.ts +1 -0
- package/toastmanager.DII20_9k.js +89 -0
- package/toastmanager.d.ts +1 -0
- package/tooltip._lP4aMV2.js +177 -0
- package/tooltip.d.ts +2 -0
- package/topbar.Z9NNkxKU.js +12 -0
- package/topbar.d.ts +2 -0
- package/types/icon-types.d.ts +1 -1
- package/types/prettier-plugin-organize-imports.d.ts +1 -0
- package/utils/get-rect.d.ts +4 -0
- package/utils/get-rect.test.d.ts +1 -0
- package/utils/helpers.d.ts +17 -0
- package/utils/index.d.ts +8 -0
- package/utils/is-animation-disabled.d.ts +14 -0
- package/utils/is-animation-disabled.test.d.ts +1 -0
- package/utils/mergeRefs.d.ts +5 -0
- package/utils/mergeRefs.test.d.ts +1 -0
- package/utils/remove-spaces.d.ts +6 -0
- package/utils/remove-spaces.test.d.ts +1 -0
- package/utils/render-documentation.d.ts +1 -0
- package/utils/translate.d.ts +11 -0
- package/utils/translate.test.d.ts +1 -0
- package/utils/useBreakpoint.d.ts +0 -1
- package/utils/useElementSize.d.ts +14 -0
- package/utils/useElementSize.test.d.ts +1 -0
- package/utils/useIsomorphicLayoutEffect.d.ts +25 -0
- package/utils/useScrollDirection.d.ts +9 -0
- package/utils/useScrollDirection.test.d.ts +1 -0
- package/utils/vitest.setup.d.ts +2 -1
- package/arialiveregions.49Zyf6mj.js +0 -27
- package/assets/CustomReactSelect.B0rJLjN0.css +0 -1
- package/assets/Fieldset.xazpUXJX.css +0 -1
- package/assets/Icon.CB-KQmw4.css +0 -1
- package/assets/InputPassword.C3Uyj7oA.css +0 -1
- package/assets/InputSearch.tL3e9-Ob.css +0 -1
- package/assets/InputStepper.paPJix5A.css +0 -1
- package/assets/Notification.CCCbfXEz.css +0 -1
- package/assets/RadioGroup.Ur8Ro-XL.css +0 -1
- package/assets/Select.D2qBxaHP.css +0 -1
- package/assets/Textarea.BKbocznb.css +0 -1
- package/assets/Toast.CAP_EwDX.css +0 -1
- package/assets/arialiveregions.VnhjP8Gr.css +0 -1
- package/assets/asterisk.C-o6rbGQ.css +0 -1
- package/assets/button.BuIpnG-S.css +0 -1
- package/assets/buttonround.C3ph5Yyu.css +0 -1
- package/assets/checkbox.BsFEWfQe.css +0 -1
- package/assets/dialog.BGK3mgk7.css +0 -1
- package/assets/floatingactionbutton.D7ywURL3.css +0 -1
- package/assets/heading.CGFucb-C.css +0 -1
- package/assets/input.BcP5kkZ2.css +0 -1
- package/assets/link.DQy_OhwC.css +0 -1
- package/assets/linkstandalone.Dh6bE5Fb.css +0 -1
- package/assets/logo.BbHYgnWo.css +0 -1
- package/assets/optioncheckbox.C-K1FLhc.css +0 -1
- package/assets/radio.CSHQGdpr.css +0 -1
- package/assets/spinner.C5rBmKiF.css +0 -1
- package/assets/switch.sqve8ApJ.css +0 -1
- package/assets/systemfeedback.WE3wClZ3.css +0 -1
- package/assets/text.DDAveG7E.css +0 -1
- package/assets/title.CE0Dm7PI.css +0 -1
- package/asterisk.DU8THnoC.js +0 -8
- package/button.DX_nxoJC.js +0 -135
- package/buttonround.CXsBk9nL.js +0 -118
- package/checkbox.B43oeMeC.js +0 -112
- package/checkboxgroup.C7aCjYds.js +0 -9
- package/chunks/AriaLiveRegions.utils.DzWI5KCU.js +0 -31
- package/chunks/CheckboxGroup.CS6Q_TeZ.js +0 -87
- package/chunks/CustomReactSelect.DtmbYZUf.js +0 -5033
- package/chunks/Fieldset.BokeZzG5.js +0 -99
- package/chunks/Icon.9gDIp6p4.js +0 -217
- package/chunks/Input.utils.AKWCNkpA.js +0 -110
- package/chunks/InputPassword.jpUCijp7.js +0 -140
- package/chunks/InputSearch.BmOtAZcR.js +0 -190
- package/chunks/InputStepper.DTKjUL4U.js +0 -291
- package/chunks/Notification.CUPOlHAX.js +0 -93
- package/chunks/RadioGroup.DpwnVv7u.js +0 -110
- package/chunks/RadioGroup.module.bi3leRes.js +0 -11
- package/chunks/Select.DkDZo0ky.js +0 -193
- package/chunks/Textarea.C938p79X.js +0 -195
- package/chunks/Toast.CLYrwQVO.js +0 -89
- package/chunks/helpers.B1JT5ShS.js +0 -7
- package/chunks/index.CvOaL64Y.js +0 -45
- package/chunks/jsx-runtime.C-kxDJ4g.js +0 -639
- package/chunks/pdf.9kZbElrZ.js +0 -10
- package/chunks/petrol.Du6qAgp0.js +0 -10
- package/chunks/upload.ZImTAIgx.js +0 -10
- package/chunks/useBreakpoint.5xBNDiCf.js +0 -48
- package/combobox.BaSkiD6f.js +0 -47
- package/components/CustomReactSelect/CustomReactSelect.d.ts +0 -60
- package/components/CustomReactSelect/CustomReactSelect.utils.d.ts +0 -16
- package/components/InputStepper/InputStepper.d.ts +0 -53
- package/components/InputStepper/InputStepper.utils.d.ts +0 -13
- package/components/LinkStandalone/LinkStandalone.d.ts +0 -15
- package/components/LinkStandalone/LinkStandalone.utils.d.ts +0 -2
- package/customreactselect.LTbjaBN2.js +0 -13
- package/dialog.BkXwcbUh.js +0 -45
- package/fieldset.BXOWK-B-.js +0 -11
- package/floatingactionbutton.-nDRRiXY.js +0 -87
- package/heading.DqGbFfj2.js +0 -50
- package/icon.Cpp_9L1I.js +0 -8
- package/input.BM6tyRUm.js +0 -236
- package/inputpassword.DUxH1K_k.js +0 -12
- package/inputsearch.B-vePHle.js +0 -13
- package/inputstepper.C2ypADPI.js +0 -13
- package/inputstepper.d.ts +0 -1
- package/link.B4XZoLDj.js +0 -115
- package/linkstandalone.BSfd95Pd.js +0 -79
- package/linkstandalone.d.ts +0 -1
- package/logo.C_oJ8isW.js +0 -69
- package/notification.CxxAOdNV.js +0 -9
- package/optioncheckbox.CUV1MQhh.js +0 -43
- package/partials/icon.svg +0 -1
- package/radio.Bhu9OUY-.js +0 -79
- package/radiogroup.CMJ1b38q.js +0 -11
- package/select.DFJK2mHF.js +0 -12
- package/spinner.BskX4ovu.js +0 -58
- package/styles/scss/_index.scss +0 -23
- package/styles/scss/lib/_a11y.scss +0 -15
- package/styles/scss/lib/_animation.scss +0 -20
- package/styles/scss/lib/_breakpoints.scss +0 -16
- package/styles/scss/lib/_container-query.scss +0 -58
- package/styles/scss/lib/_focus.scss +0 -62
- package/styles/scss/lib/_grid-extended.scss +0 -11
- package/styles/scss/lib/_grid-full.scss +0 -6
- package/styles/scss/lib/_grid-main.scss +0 -117
- package/styles/scss/lib/_grid-narrow.scss +0 -14
- package/styles/scss/lib/_grid-sidebar-sidebar.scss +0 -50
- package/styles/scss/lib/_grid-sidebar.scss +0 -157
- package/styles/scss/lib/_grid.scss +0 -88
- package/styles/scss/lib/_heading.scss +0 -66
- package/styles/scss/lib/_helpers.scss +0 -3
- package/styles/scss/lib/_high-contrast.scss +0 -24
- package/styles/scss/lib/_hover.scss +0 -10
- package/styles/scss/lib/_link.scss +0 -156
- package/styles/scss/lib/_media-query.scss +0 -32
- package/styles/scss/lib/_spacing.scss +0 -30
- package/styles/scss/lib/_text.scss +0 -67
- package/styles/scss/lib/_theme.scss +0 -162
- package/styles/scss/lib/_transition.scss +0 -26
- package/switch.Bx2tDKx0.js +0 -65
- package/systemfeedback.4Hkfigi-.js +0 -25
- package/text.CPU8IUqY.js +0 -57
- package/textarea.DPy3TJJf.js +0 -12
- package/title.icX0VDiO.js +0 -36
- package/toast.C-Yg5EoE.js +0 -10
- package/toastmanager.DQ_-eTrx.js +0 -96
- package/utils/has-document.d.ts +0 -1
- /package/components/{CustomReactSelect/CustomReactSelect.utils.test.d.ts → Accordion/Accordion.test.d.ts} +0 -0
- /package/components/{InputStepper/InputStepper.test.d.ts → Accordion/Acordion.utils.test.d.ts} +0 -0
- /package/components/{InputStepper/InputStepper.utils.test.d.ts → ActionButton/ActionButton.test.d.ts} +0 -0
- /package/components/{LinkStandalone/LinkStandalone.test.d.ts → ActionButton/ActionButton.utils.test.d.ts} +0 -0
- /package/partials/{apple-icon.png → default-apple-icon.png} +0 -0
- /package/partials/{favicon.ico → default-favicon.ico} +0 -0
- /package/partials/{icon-192.png → default-icon-192.png} +0 -0
- /package/partials/{icon-512.png → default-icon-512.png} +0 -0
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as P, jsx as h, Fragment as Ve } from "react/jsx-runtime";
|
|
3
|
+
import { d as Ae } from "./index.cKLI89Eg.js";
|
|
4
|
+
import { c as n } from "./index.DQOqod3i.js";
|
|
5
|
+
import { isValidElement as Be, cloneElement as Ie } from "react";
|
|
6
|
+
import { DSFlag as He } from "../flag.D-wrUioF.js";
|
|
7
|
+
import { DSHeading as Oe } from "../heading.BHSklXho.js";
|
|
8
|
+
import { D as qe } from "./LinkButton.CMjq2FKc.js";
|
|
9
|
+
import { g as j } from "./helpers.CexwVao7.js";
|
|
10
|
+
import '../assets/LinkCard.C6HtgbjH.css';const Me = "ds-link-card_root_h40nd_1", Re = "ds-link-card_root--horizontal_h40nd_53", $e = "ds-link-card_image-wrapper_h40nd_58", Ge = "ds-link-card_content_h40nd_68", Je = "ds-link-card_header_h40nd_97", Ke = "ds-link-card_footer_h40nd_98", Qe = "ds-link-card_heading_h40nd_109", Ue = "ds-link-card_link_h40nd_113", Xe = "ds-link-card_description_h40nd_118", Ye = "ds-link-card_meta-data_h40nd_135", Ze = "ds-link-card_decorative-link_h40nd_152", et = "ds-link-card_flags_h40nd_156", tt = "ds-link-card_brand-flag_h40nd_165", i = {
|
|
11
|
+
root: Me,
|
|
12
|
+
rootHorizontal: Re,
|
|
13
|
+
imageWrapper: $e,
|
|
14
|
+
content: Ge,
|
|
15
|
+
header: Je,
|
|
16
|
+
footer: Ke,
|
|
17
|
+
heading: Qe,
|
|
18
|
+
link: Ue,
|
|
19
|
+
description: Xe,
|
|
20
|
+
metaData: Ye,
|
|
21
|
+
decorativeLink: Ze,
|
|
22
|
+
flags: et,
|
|
23
|
+
brandFlag: tt
|
|
24
|
+
}, at = ({
|
|
25
|
+
href: p,
|
|
26
|
+
linkComponent: e,
|
|
27
|
+
flags: t,
|
|
28
|
+
flagListAriaLabel: m,
|
|
29
|
+
heading: f,
|
|
30
|
+
img: g,
|
|
31
|
+
brandFlag: o
|
|
32
|
+
}) => {
|
|
33
|
+
if (!p && !e)
|
|
34
|
+
throw new Error(j("DSLinkCard", "Please provide either the 'href' prop or a custom 'linkComponent'."));
|
|
35
|
+
if (p && e)
|
|
36
|
+
throw new Error(j("DSLinkCard", "Please provide either the 'href' prop or a custom 'linkComponent', but not both."));
|
|
37
|
+
if (!f)
|
|
38
|
+
throw new Error(j("DSLinkCard", "The 'heading' prop is required and must be provided."));
|
|
39
|
+
t && t.length > 6 && console.warn(j("DSLinkCard", "It is recommended to provide a maximum of 6 flags for optimal display.")), t && t.length > 0 && !m && console.warn(j("DSLinkCard", "When providing flags, please also ensure to add the 'flagListAriaLabel' to describe the list of flags for non sighted screen reader users.")), o && g === void 0 && console.warn(j("DSLinkCard", "The 'brandFlag' prop is set to true, but no 'img' prop is provided. The 'brandFlag' will have no effect without an image."));
|
|
40
|
+
}, it = (p) => {
|
|
41
|
+
const e = Ae.c(112);
|
|
42
|
+
let t, m, f, g, o, s, l, d, r, a, k, b, v, _;
|
|
43
|
+
e[0] !== p ? ({
|
|
44
|
+
heading: l,
|
|
45
|
+
brandFlag: t,
|
|
46
|
+
className: f,
|
|
47
|
+
cardClassNames: m,
|
|
48
|
+
decorativeLinkButtonProps: g,
|
|
49
|
+
description: o,
|
|
50
|
+
flagListAriaLabel: s,
|
|
51
|
+
flags: v,
|
|
52
|
+
href: d,
|
|
53
|
+
img: r,
|
|
54
|
+
linkComponent: a,
|
|
55
|
+
metaData: k,
|
|
56
|
+
orientation: _,
|
|
57
|
+
...b
|
|
58
|
+
} = p, e[0] = p, e[1] = t, e[2] = m, e[3] = f, e[4] = g, e[5] = o, e[6] = s, e[7] = l, e[8] = d, e[9] = r, e[10] = a, e[11] = k, e[12] = b, e[13] = v, e[14] = _) : (t = e[1], m = e[2], f = e[3], g = e[4], o = e[5], s = e[6], l = e[7], d = e[8], r = e[9], a = e[10], k = e[11], b = e[12], v = e[13], _ = e[14]);
|
|
59
|
+
let c, A;
|
|
60
|
+
e[15] !== t || e[16] !== s || e[17] !== l || e[18] !== d || e[19] !== r || e[20] !== a || e[21] !== v || e[22] !== _ ? (c = v === void 0 ? [] : v, A = _ === void 0 ? "vertical" : _, process.env.NODE_ENV !== "production" && at({
|
|
61
|
+
href: d,
|
|
62
|
+
linkComponent: a,
|
|
63
|
+
heading: l,
|
|
64
|
+
flags: c,
|
|
65
|
+
flagListAriaLabel: s,
|
|
66
|
+
img: r,
|
|
67
|
+
brandFlag: t
|
|
68
|
+
}), e[15] = t, e[16] = s, e[17] = l, e[18] = d, e[19] = r, e[20] = a, e[21] = v, e[22] = _, e[23] = c, e[24] = A) : (c = e[23], A = e[24]);
|
|
69
|
+
let B;
|
|
70
|
+
e[25] !== g ? (B = g || {}, e[25] = g, e[26] = B) : B = e[26];
|
|
71
|
+
const {
|
|
72
|
+
label: V,
|
|
73
|
+
iconName: ae,
|
|
74
|
+
variant: Pe,
|
|
75
|
+
hideLabel: ie,
|
|
76
|
+
size: Ee
|
|
77
|
+
} = B, ne = Ee === void 0 ? "small" : Ee, I = Pe === "ghost" ? "ghost" : "filled", re = k || c.length > 0 || V;
|
|
78
|
+
let O;
|
|
79
|
+
e[27] !== m ? (O = m || {}, e[27] = m, e[28] = O) : O = e[28];
|
|
80
|
+
const {
|
|
81
|
+
brandFlag: oe,
|
|
82
|
+
contentWrapper: se,
|
|
83
|
+
descriptionWrapper: le,
|
|
84
|
+
decorativeLink: de,
|
|
85
|
+
flagsWrapper: ce,
|
|
86
|
+
footerWrapper: he,
|
|
87
|
+
headerWrapper: pe,
|
|
88
|
+
heading: me,
|
|
89
|
+
imageWrapper: fe,
|
|
90
|
+
metaDataWrapper: ge
|
|
91
|
+
} = O, ke = A === "horizontal";
|
|
92
|
+
let q;
|
|
93
|
+
e[29] !== f || e[30] !== ke ? (q = n(i.root, f, {
|
|
94
|
+
[i.rootHorizontal]: ke
|
|
95
|
+
}), e[29] = f, e[30] = ke, e[31] = q) : q = e[31];
|
|
96
|
+
const ve = q;
|
|
97
|
+
let M;
|
|
98
|
+
e[32] !== oe ? (M = n(i.brandFlag, oe), e[32] = oe, e[33] = M) : M = e[33];
|
|
99
|
+
const _e = M;
|
|
100
|
+
let R;
|
|
101
|
+
e[34] !== se ? (R = n(i.content, se), e[34] = se, e[35] = R) : R = e[35];
|
|
102
|
+
const Le = R;
|
|
103
|
+
let $;
|
|
104
|
+
e[36] !== le ? ($ = n(i.description, le), e[36] = le, e[37] = $) : $ = e[37];
|
|
105
|
+
const be = $;
|
|
106
|
+
let G;
|
|
107
|
+
e[38] !== de ? (G = n(i.decorativeLink, de), e[38] = de, e[39] = G) : G = e[39];
|
|
108
|
+
const Ce = G;
|
|
109
|
+
let J;
|
|
110
|
+
e[40] !== ce ? (J = n(i.flags, ce), e[40] = ce, e[41] = J) : J = e[41];
|
|
111
|
+
const ue = J;
|
|
112
|
+
let K;
|
|
113
|
+
e[42] !== he ? (K = n(i.footer, he), e[42] = he, e[43] = K) : K = e[43];
|
|
114
|
+
const Ne = K;
|
|
115
|
+
let Q;
|
|
116
|
+
e[44] !== pe ? (Q = n(i.header, pe), e[44] = pe, e[45] = Q) : Q = e[45];
|
|
117
|
+
const De = Q;
|
|
118
|
+
let U;
|
|
119
|
+
e[46] !== me ? (U = n(i.heading, me), e[46] = me, e[47] = U) : U = e[47];
|
|
120
|
+
const Se = U;
|
|
121
|
+
let X;
|
|
122
|
+
e[48] !== fe ? (X = n(i.imageWrapper, fe), e[48] = fe, e[49] = X) : X = e[49];
|
|
123
|
+
const we = X;
|
|
124
|
+
let Y;
|
|
125
|
+
e[50] !== ge ? (Y = n(i.metaData, ge), e[50] = ge, e[51] = Y) : Y = e[51];
|
|
126
|
+
const Fe = Y;
|
|
127
|
+
let C, u, N, D, S, w, F, z;
|
|
128
|
+
e[52] !== b ? ({
|
|
129
|
+
download: u,
|
|
130
|
+
hrefLang: N,
|
|
131
|
+
ping: D,
|
|
132
|
+
referrerPolicy: S,
|
|
133
|
+
rel: w,
|
|
134
|
+
target: F,
|
|
135
|
+
type: z,
|
|
136
|
+
...C
|
|
137
|
+
} = b, e[52] = b, e[53] = C, e[54] = u, e[55] = N, e[56] = D, e[57] = S, e[58] = w, e[59] = F, e[60] = z) : (C = e[53], u = e[54], N = e[55], D = e[56], S = e[57], w = e[58], F = e[59], z = e[60]);
|
|
138
|
+
let Z;
|
|
139
|
+
e[61] !== u || e[62] !== d || e[63] !== N || e[64] !== a || e[65] !== D || e[66] !== S || e[67] !== w || e[68] !== F || e[69] !== z ? (Z = (L) => a && Be(a) ? Ie(a, {
|
|
140
|
+
...a.props,
|
|
141
|
+
className: n(i.link, a.props.className),
|
|
142
|
+
children: /* @__PURE__ */ P(Ve, { children: [
|
|
143
|
+
L,
|
|
144
|
+
" ",
|
|
145
|
+
a.props.children
|
|
146
|
+
] })
|
|
147
|
+
}) : /* @__PURE__ */ h("a", { href: d, className: i.link, download: u, hrefLang: N, ping: D, referrerPolicy: S, rel: w, target: F, type: z, children: L }), e[61] = u, e[62] = d, e[63] = N, e[64] = a, e[65] = D, e[66] = S, e[67] = w, e[68] = F, e[69] = z, e[70] = Z) : Z = e[70];
|
|
148
|
+
const ze = Z;
|
|
149
|
+
let ee;
|
|
150
|
+
e[71] !== ze || e[72] !== Se ? (ee = (L) => {
|
|
151
|
+
const Te = typeof L == "object" && L !== void 0, {
|
|
152
|
+
headingText: je,
|
|
153
|
+
headingSize: xe,
|
|
154
|
+
headingTag: ye
|
|
155
|
+
} = Te ? L : {
|
|
156
|
+
headingText: L
|
|
157
|
+
};
|
|
158
|
+
return /* @__PURE__ */ h(Oe, { tag: ye === void 0 ? "h3" : ye, size: xe === void 0 ? "medium" : xe, className: Se, children: ze(je) });
|
|
159
|
+
}, e[71] = ze, e[72] = Se, e[73] = ee) : ee = e[73];
|
|
160
|
+
const We = ee;
|
|
161
|
+
let W;
|
|
162
|
+
e[74] !== We || e[75] !== l ? (W = We(l), e[74] = We, e[75] = l, e[76] = W) : W = e[76];
|
|
163
|
+
let E;
|
|
164
|
+
e[77] !== o || e[78] !== be ? (E = o && /* @__PURE__ */ h("div", { className: be, children: o }), e[77] = o, e[78] = be, e[79] = E) : E = e[79];
|
|
165
|
+
let T;
|
|
166
|
+
e[80] !== De || e[81] !== W || e[82] !== E ? (T = /* @__PURE__ */ P("div", { className: De, children: [
|
|
167
|
+
W,
|
|
168
|
+
E
|
|
169
|
+
] }), e[80] = De, e[81] = W, e[82] = E, e[83] = T) : T = e[83];
|
|
170
|
+
let x;
|
|
171
|
+
e[84] !== I || e[85] !== Ce || e[86] !== ie || e[87] !== ae || e[88] !== V || e[89] !== ne || e[90] !== s || e[91] !== c || e[92] !== ue || e[93] !== Ne || e[94] !== re || e[95] !== k || e[96] !== Fe ? (x = re && /* @__PURE__ */ P("div", { className: Ne, children: [
|
|
172
|
+
k && /* @__PURE__ */ h("div", { className: Fe, children: k }),
|
|
173
|
+
c.length > 0 && /* @__PURE__ */ h("ul", { className: ue, "aria-label": s, children: c.map(nt) }),
|
|
174
|
+
V && /* @__PURE__ */ h(qe, { iconName: ae, iconPosition: "right", variant: I, hideLabel: ie, size: ne, isFlush: I === "ghost", "aria-hidden": !0, className: Ce, children: V })
|
|
175
|
+
] }), e[84] = I, e[85] = Ce, e[86] = ie, e[87] = ae, e[88] = V, e[89] = ne, e[90] = s, e[91] = c, e[92] = ue, e[93] = Ne, e[94] = re, e[95] = k, e[96] = Fe, e[97] = x) : x = e[97];
|
|
176
|
+
let y;
|
|
177
|
+
e[98] !== Le || e[99] !== T || e[100] !== x ? (y = /* @__PURE__ */ P("div", { className: Le, children: [
|
|
178
|
+
T,
|
|
179
|
+
x
|
|
180
|
+
] }), e[98] = Le, e[99] = T, e[100] = x, e[101] = y) : y = e[101];
|
|
181
|
+
let H;
|
|
182
|
+
e[102] !== t || e[103] !== _e || e[104] !== we || e[105] !== r ? (H = r && /* @__PURE__ */ P("div", { className: we, children: [
|
|
183
|
+
t && /* @__PURE__ */ h(He, { color: "orange-base", className: _e, children: t }),
|
|
184
|
+
r
|
|
185
|
+
] }), e[102] = t, e[103] = _e, e[104] = we, e[105] = r, e[106] = H) : H = e[106];
|
|
186
|
+
let te;
|
|
187
|
+
return e[107] !== C || e[108] !== ve || e[109] !== y || e[110] !== H ? (te = /* @__PURE__ */ P("div", { ...C, className: ve, children: [
|
|
188
|
+
y,
|
|
189
|
+
H
|
|
190
|
+
] }), e[107] = C, e[108] = ve, e[109] = y, e[110] = H, e[111] = te) : te = e[111], te;
|
|
191
|
+
};
|
|
192
|
+
it.displayName = "DSLinkCard";
|
|
193
|
+
function nt(p, e) {
|
|
194
|
+
return /* @__PURE__ */ h("li", { children: /* @__PURE__ */ h(He, { color: "grey-light", children: p }) }, e);
|
|
195
|
+
}
|
|
196
|
+
export {
|
|
197
|
+
it as D,
|
|
198
|
+
at as v
|
|
199
|
+
};
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as N, jsxs as ne } from "react/jsx-runtime";
|
|
3
|
+
import { d as P } from "./index.cKLI89Eg.js";
|
|
4
|
+
import { isValidElement as J, useState as se, createContext as oe, forwardRef as K, cloneElement as ae, useContext as L } from "react";
|
|
5
|
+
import { o as le, u as re, b as ce, c as ie, d as ue, e as fe, a as de, f as Q, g as me, F as Me, h as ge, i as he } from "./floating-ui.react.CP5A99-c.js";
|
|
6
|
+
import { c as q } from "./index.DQOqod3i.js";
|
|
7
|
+
import { g as V, c as z } from "./helpers.CexwVao7.js";
|
|
8
|
+
import { D as pe } from "./Header.DyqOlV8L.js";
|
|
9
|
+
import '../assets/MegaMenu.Dw-oLSCX.css';const Se = "ds-mega-menu_root_11fw1_1", De = "ds-mega-menu_content_11fw1_109", _e = "ds-mega-menu_content--variant-full_11fw1_134", Ce = "ds-mega-menu_backdrop_11fw1_139", R = {
|
|
10
|
+
root: Se,
|
|
11
|
+
content: De,
|
|
12
|
+
contentVariantFull: _e,
|
|
13
|
+
backdrop: Ce
|
|
14
|
+
}, ve = 9, Ee = (s) => {
|
|
15
|
+
const t = P.c(17);
|
|
16
|
+
let e;
|
|
17
|
+
t[0] !== s ? (e = s === void 0 ? {} : s, t[0] = s, t[1] = e) : e = t[1];
|
|
18
|
+
const {
|
|
19
|
+
initialOpen: n,
|
|
20
|
+
isOpen: c,
|
|
21
|
+
onOpenChange: a
|
|
22
|
+
} = e, d = n === void 0 ? !1 : n, [i, o] = se(d), r = c ?? i, u = a ?? o;
|
|
23
|
+
let f;
|
|
24
|
+
t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = [le(ve)], t[2] = f) : f = t[2];
|
|
25
|
+
let C;
|
|
26
|
+
t[3] !== r || t[4] !== u ? (C = {
|
|
27
|
+
placement: "bottom-start",
|
|
28
|
+
open: r,
|
|
29
|
+
onOpenChange: u,
|
|
30
|
+
whileElementsMounted: de,
|
|
31
|
+
strategy: "absolute",
|
|
32
|
+
transform: !1,
|
|
33
|
+
middleware: f
|
|
34
|
+
}, t[3] = r, t[4] = u, t[5] = C) : C = t[5];
|
|
35
|
+
const M = re(C), D = M.context;
|
|
36
|
+
let g;
|
|
37
|
+
t[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = {
|
|
38
|
+
enabled: !0
|
|
39
|
+
}, t[6] = g) : g = t[6];
|
|
40
|
+
const h = ce(D, g), _ = ie(D);
|
|
41
|
+
let m;
|
|
42
|
+
t[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = {
|
|
43
|
+
role: "menu"
|
|
44
|
+
}, t[7] = m) : m = t[7];
|
|
45
|
+
const O = ue(D, m);
|
|
46
|
+
let l;
|
|
47
|
+
t[8] !== h || t[9] !== _ || t[10] !== O ? (l = [h, _, O], t[8] = h, t[9] = _, t[10] = O, t[11] = l) : l = t[11];
|
|
48
|
+
const p = fe(l);
|
|
49
|
+
let S;
|
|
50
|
+
return t[12] !== M || t[13] !== p || t[14] !== r || t[15] !== u ? (S = {
|
|
51
|
+
open: r,
|
|
52
|
+
setOpen: u,
|
|
53
|
+
...p,
|
|
54
|
+
...M
|
|
55
|
+
}, t[12] = M, t[13] = p, t[14] = r, t[15] = u, t[16] = S) : S = t[16], S;
|
|
56
|
+
}, we = (s) => {
|
|
57
|
+
if (!J(s))
|
|
58
|
+
throw new Error(V("DSMegaMenu", "DSMegaMenu.Anchor child must be a valid React element."));
|
|
59
|
+
}, be = ({
|
|
60
|
+
hasContent: s,
|
|
61
|
+
hasAnchor: t
|
|
62
|
+
}) => {
|
|
63
|
+
if (!s)
|
|
64
|
+
throw new Error(V("DSMegaMenu", "A DSMegaMenu must have a <DSMegaMenu.Content> component as a child. Please add it to the children of DSMegaMenu."));
|
|
65
|
+
if (!t)
|
|
66
|
+
throw new Error(V("DSMegaMenu", "A DSMegaMenu must have a <DSMegaMenu.Anchor> component as a child. Please add it to the children of DSMegaMenu."));
|
|
67
|
+
}, W = oe(null), X = () => {
|
|
68
|
+
const s = L(W);
|
|
69
|
+
if (s == null)
|
|
70
|
+
throw new Error(V("DSMegaMenu", "Components like DSMegaMenu.Anchor or DSMegaMenu.Content must be wrapped in <DSMegaMenu />."));
|
|
71
|
+
return s;
|
|
72
|
+
}, T = (s) => {
|
|
73
|
+
const t = P.c(9);
|
|
74
|
+
let e, n;
|
|
75
|
+
t[0] !== s ? ({
|
|
76
|
+
children: e,
|
|
77
|
+
...n
|
|
78
|
+
} = s, t[0] = s, t[1] = e, t[2] = n) : (e = t[1], n = t[2]);
|
|
79
|
+
let c;
|
|
80
|
+
t[3] !== n ? (c = {
|
|
81
|
+
...n
|
|
82
|
+
}, t[3] = n, t[4] = c) : c = t[4];
|
|
83
|
+
const a = Ee(c), d = z(e, T.Content), i = z(e, H);
|
|
84
|
+
process.env.NODE_ENV !== "production" && be({
|
|
85
|
+
hasContent: d,
|
|
86
|
+
hasAnchor: i
|
|
87
|
+
});
|
|
88
|
+
let o;
|
|
89
|
+
return t[5] !== e || t[6] !== a || t[7] !== n ? (o = /* @__PURE__ */ N(W.Provider, { value: a, ...n, children: e }), t[5] = e, t[6] = a, t[7] = n, t[8] = o) : o = t[8], o;
|
|
90
|
+
}, H = K((s, t) => {
|
|
91
|
+
const e = P.c(4), {
|
|
92
|
+
children: n,
|
|
93
|
+
...c
|
|
94
|
+
} = s;
|
|
95
|
+
process.env.NODE_ENV !== "production" && we(n);
|
|
96
|
+
const a = X(), d = n.ref;
|
|
97
|
+
let i;
|
|
98
|
+
e[0] !== d || e[1] !== a.refs.setReference || e[2] !== t ? (i = [a.refs.setReference, t, d], e[0] = d, e[1] = a.refs.setReference, e[2] = t, e[3] = i) : i = e[3];
|
|
99
|
+
const o = Q(i);
|
|
100
|
+
if (J(n))
|
|
101
|
+
return ae(n, a.getReferenceProps({
|
|
102
|
+
ref: o,
|
|
103
|
+
...c,
|
|
104
|
+
...n.props,
|
|
105
|
+
"data-state": a.open ? "open" : "closed"
|
|
106
|
+
}));
|
|
107
|
+
});
|
|
108
|
+
H.displayName = "DSMegaMenu.Anchor";
|
|
109
|
+
const Y = K((s, t) => {
|
|
110
|
+
const e = P.c(45), {
|
|
111
|
+
style: n,
|
|
112
|
+
className: c,
|
|
113
|
+
children: a,
|
|
114
|
+
...d
|
|
115
|
+
} = s, i = X();
|
|
116
|
+
let o, r, u, f;
|
|
117
|
+
e[0] !== i ? ({
|
|
118
|
+
context: o,
|
|
119
|
+
floatingStyles: r,
|
|
120
|
+
getFloatingProps: u,
|
|
121
|
+
...f
|
|
122
|
+
} = i, e[0] = i, e[1] = o, e[2] = r, e[3] = u, e[4] = f) : (o = e[1], r = e[2], u = e[3], f = e[4]);
|
|
123
|
+
const {
|
|
124
|
+
variant: C,
|
|
125
|
+
bannerAreaRef: M,
|
|
126
|
+
topBarAreaRef: D,
|
|
127
|
+
mainNavigationAreaRef: g
|
|
128
|
+
} = L(pe);
|
|
129
|
+
let h;
|
|
130
|
+
e[5] !== t || e[6] !== f.refs.setFloating ? (h = [f.refs.setFloating, t], e[5] = t, e[6] = f.refs.setFloating, e[7] = h) : h = e[7];
|
|
131
|
+
const _ = Q(h);
|
|
132
|
+
let m;
|
|
133
|
+
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = {
|
|
134
|
+
duration: {
|
|
135
|
+
open: 400,
|
|
136
|
+
close: 400
|
|
137
|
+
}
|
|
138
|
+
}, e[8] = m) : m = e[8];
|
|
139
|
+
const {
|
|
140
|
+
isMounted: O,
|
|
141
|
+
status: l
|
|
142
|
+
} = me(o, m);
|
|
143
|
+
let p;
|
|
144
|
+
e[9] !== c ? (p = q(R.root, c), e[9] = c, e[10] = p) : p = e[10];
|
|
145
|
+
const S = p, I = C === "full";
|
|
146
|
+
let y;
|
|
147
|
+
e[11] !== I ? (y = q(R.content, {
|
|
148
|
+
[R.contentVariantFull]: I
|
|
149
|
+
}), e[11] = I, e[12] = y) : y = e[12];
|
|
150
|
+
const $ = y;
|
|
151
|
+
if (!O)
|
|
152
|
+
return null;
|
|
153
|
+
const U = he, j = ge, Z = !0;
|
|
154
|
+
let v;
|
|
155
|
+
e[13] !== l ? (v = /* @__PURE__ */ N("div", { className: R.backdrop, "data-status": l }), e[13] = l, e[14] = v) : v = e[14];
|
|
156
|
+
const B = Me, ee = !1, te = !0;
|
|
157
|
+
let E;
|
|
158
|
+
e[15] !== M || e[16] !== g || e[17] !== D ? (E = () => [g?.current, D?.current, M?.current].filter(Boolean), e[15] = M, e[16] = g, e[17] = D, e[18] = E) : E = e[18];
|
|
159
|
+
let w;
|
|
160
|
+
e[19] !== r || e[20] !== n ? (w = {
|
|
161
|
+
...r,
|
|
162
|
+
...n
|
|
163
|
+
}, e[19] = r, e[20] = n, e[21] = w) : w = e[21];
|
|
164
|
+
const G = u(d);
|
|
165
|
+
let b;
|
|
166
|
+
e[22] !== a || e[23] !== $ || e[24] !== l ? (b = /* @__PURE__ */ N("div", { className: $, "data-status": l, children: a }), e[22] = a, e[23] = $, e[24] = l, e[25] = b) : b = e[25];
|
|
167
|
+
let x;
|
|
168
|
+
e[26] !== S || e[27] !== _ || e[28] !== l || e[29] !== w || e[30] !== G || e[31] !== b ? (x = /* @__PURE__ */ N("div", { ref: _, style: w, className: S, "data-status": l, ...G, children: b }), e[26] = S, e[27] = _, e[28] = l, e[29] = w, e[30] = G, e[31] = b, e[32] = x) : x = e[32];
|
|
169
|
+
let F;
|
|
170
|
+
e[33] !== B || e[34] !== o || e[35] !== E || e[36] !== x ? (F = /* @__PURE__ */ N(B, { context: o, modal: ee, outsideElementsInert: te, getInsideElements: E, children: x }), e[33] = B, e[34] = o, e[35] = E, e[36] = x, e[37] = F) : F = e[37];
|
|
171
|
+
let A;
|
|
172
|
+
e[38] !== j || e[39] !== F || e[40] !== v ? (A = /* @__PURE__ */ ne(j, { lockScroll: Z, children: [
|
|
173
|
+
v,
|
|
174
|
+
F
|
|
175
|
+
] }), e[38] = j, e[39] = F, e[40] = v, e[41] = A) : A = e[41];
|
|
176
|
+
let k;
|
|
177
|
+
return e[42] !== U || e[43] !== A ? (k = /* @__PURE__ */ N(U, { children: A }), e[42] = U, e[43] = A, e[44] = k) : k = e[44], k;
|
|
178
|
+
});
|
|
179
|
+
Y.displayName = "DSMegaMenu.Content";
|
|
180
|
+
T.Anchor = H;
|
|
181
|
+
T.Content = Y;
|
|
182
|
+
T.displayName = "DSMegaMenu";
|
|
183
|
+
export {
|
|
184
|
+
T as D,
|
|
185
|
+
be as a,
|
|
186
|
+
Ee as u,
|
|
187
|
+
we as v
|
|
188
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as B, Fragment as k, jsx as d } from "react/jsx-runtime";
|
|
3
|
+
import { d as I } from "./index.cKLI89Eg.js";
|
|
4
|
+
import { isValidElement as w, cloneElement as R } from "react";
|
|
5
|
+
import { D as W } from "./Icon.m6sMB6vl.js";
|
|
6
|
+
import { NumberIndicator as v } from "../numberindicator.ZGVRSmqf.js";
|
|
7
|
+
import '../assets/NavigationTabList.CzAiHz7G.css';const y = "ds-tabs_tabs-wrapper_ccgp4_1", D = "ds-tabs_scroll-wrapper_ccgp4_6", E = "ds-tabs_scroller_ccgp4_17", T = "ds-tabs_scroller--centered_ccgp4_28", j = "ds-tabs_tab_ccgp4_1", x = "ds-tabs_scroll-button_ccgp4_105", H = "ds-tabs_scroll-button--hidden_ccgp4_110", K = "ds-tabs_scroll-button--right_ccgp4_114", L = "ds-tabs_indicator_ccgp4_126", S = {
|
|
8
|
+
tabsWrapper: y,
|
|
9
|
+
scrollWrapper: D,
|
|
10
|
+
scroller: E,
|
|
11
|
+
scrollerCentered: T,
|
|
12
|
+
tab: j,
|
|
13
|
+
scrollButton: x,
|
|
14
|
+
scrollButtonHidden: H,
|
|
15
|
+
scrollButtonRight: K,
|
|
16
|
+
indicator: L
|
|
17
|
+
}, A = (h) => {
|
|
18
|
+
const t = I.c(15), {
|
|
19
|
+
tabs: p,
|
|
20
|
+
tabRefs: e,
|
|
21
|
+
scrollerClass: b,
|
|
22
|
+
scrollerRef: _,
|
|
23
|
+
selectedTabIndex: r,
|
|
24
|
+
handleNavigationKeydown: o,
|
|
25
|
+
setSelectedTab: c
|
|
26
|
+
} = h;
|
|
27
|
+
let s;
|
|
28
|
+
if (t[0] !== o || t[1] !== r || t[2] !== c || t[3] !== e || t[4] !== p) {
|
|
29
|
+
let i;
|
|
30
|
+
t[6] !== o || t[7] !== r || t[8] !== c || t[9] !== e ? (i = (C, l) => {
|
|
31
|
+
const {
|
|
32
|
+
id: u,
|
|
33
|
+
linkComponent: n,
|
|
34
|
+
iconName: g,
|
|
35
|
+
numberIndicatorValue: f
|
|
36
|
+
} = C;
|
|
37
|
+
if (!w(n))
|
|
38
|
+
return null;
|
|
39
|
+
const N = R(n, {
|
|
40
|
+
"aria-current": r === l ? "page" : void 0,
|
|
41
|
+
children: /* @__PURE__ */ B(k, { children: [
|
|
42
|
+
g && /* @__PURE__ */ d(W, { name: g, "aria-hidden": "true" }),
|
|
43
|
+
n.props.children,
|
|
44
|
+
f && /* @__PURE__ */ d(v, { label: f })
|
|
45
|
+
] }),
|
|
46
|
+
className: S.tab,
|
|
47
|
+
id: u,
|
|
48
|
+
tabIndex: r === l ? 0 : -1,
|
|
49
|
+
onKeyDown: (m) => o(m, l),
|
|
50
|
+
onClick: () => {
|
|
51
|
+
n.props.onClick && n.props.onClick(), c(l);
|
|
52
|
+
},
|
|
53
|
+
ref: (m) => {
|
|
54
|
+
e.current[l] = m;
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
return /* @__PURE__ */ d("li", { children: N }, u);
|
|
58
|
+
}, t[6] = o, t[7] = r, t[8] = c, t[9] = e, t[10] = i) : i = t[10], s = p.map(i), t[0] = o, t[1] = r, t[2] = c, t[3] = e, t[4] = p, t[5] = s;
|
|
59
|
+
} else
|
|
60
|
+
s = t[5];
|
|
61
|
+
let a;
|
|
62
|
+
return t[11] !== b || t[12] !== _ || t[13] !== s ? (a = /* @__PURE__ */ d("ul", { className: b, ref: _, children: s }), t[11] = b, t[12] = _, t[13] = s, t[14] = a) : a = t[14], a;
|
|
63
|
+
};
|
|
64
|
+
export {
|
|
65
|
+
A as N,
|
|
66
|
+
S as s
|
|
67
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as v } from "react/jsx-runtime";
|
|
3
|
+
import { d as u } from "./index.cKLI89Eg.js";
|
|
4
|
+
import { useState as T, useEffect as y } from "react";
|
|
5
|
+
import { TabList as h } from "../tablist.hMHdX1V8.js";
|
|
6
|
+
import { g as m, r as E } from "./helpers.CexwVao7.js";
|
|
7
|
+
const _ = ["left", "center"], j = ["prev", "next"], S = ({
|
|
8
|
+
aria: a,
|
|
9
|
+
tabs: e,
|
|
10
|
+
activeTabIndex: t
|
|
11
|
+
}) => {
|
|
12
|
+
if (!a || typeof a != "object" || Object.keys(a).length === 0 || !a["aria-label"] && !a["aria-labelledby"] || a["aria-label"]?.trim() === "" && a["aria-labelledby"]?.trim() === "")
|
|
13
|
+
throw new Error(m("DSNavigationTabs", 'A valid "aria-label" or "aria-labelledby" property is required. Ensure the "aria" prop is a non-empty object and includes either "aria-label" or "aria-labelledby" with a non-empty string value.'));
|
|
14
|
+
if (Array.isArray(e)) {
|
|
15
|
+
if (e.length === 0)
|
|
16
|
+
throw new Error(m("DSNavigationTabs", "The tabs array must not be empty."));
|
|
17
|
+
} else throw new Error(m("DSNavigationTabs", E("tabs", "DSNavigationTabs")));
|
|
18
|
+
if (t != null && (t < 0 || t >= e.length))
|
|
19
|
+
throw new Error(m("DSNavigationTabs", `Invalid activeTabIndex: ${t}. It must be between 0 and ${e.length - 1}.`));
|
|
20
|
+
}, x = (a) => {
|
|
21
|
+
const e = u.c(19);
|
|
22
|
+
let t, r, l, s, o, i;
|
|
23
|
+
e[0] !== a ? ({
|
|
24
|
+
aria: r,
|
|
25
|
+
tabs: i,
|
|
26
|
+
activeTabIndex: t,
|
|
27
|
+
alignment: o,
|
|
28
|
+
className: l,
|
|
29
|
+
...s
|
|
30
|
+
} = a, e[0] = a, e[1] = t, e[2] = r, e[3] = l, e[4] = s, e[5] = o, e[6] = i) : (t = e[1], r = e[2], l = e[3], s = e[4], o = e[5], i = e[6]);
|
|
31
|
+
const p = o === void 0 ? "left" : o;
|
|
32
|
+
process.env.NODE_ENV !== "production" && S({
|
|
33
|
+
aria: r,
|
|
34
|
+
tabs: i,
|
|
35
|
+
activeTabIndex: t
|
|
36
|
+
});
|
|
37
|
+
const [c, N] = T(t);
|
|
38
|
+
let n, b;
|
|
39
|
+
e[7] !== t ? (n = () => {
|
|
40
|
+
t != null && N(t);
|
|
41
|
+
}, b = [t], e[7] = t, e[8] = n, e[9] = b) : (n = e[8], b = e[9]), y(n, b);
|
|
42
|
+
let f;
|
|
43
|
+
e[10] !== p || e[11] !== r || e[12] !== l || e[13] !== s || e[14] !== c || e[15] !== i ? (f = {
|
|
44
|
+
aria: r,
|
|
45
|
+
tabs: i,
|
|
46
|
+
setSelectedTabIndex: N,
|
|
47
|
+
selectedTabIndex: c,
|
|
48
|
+
alignment: p,
|
|
49
|
+
className: l,
|
|
50
|
+
isNavigation: !0,
|
|
51
|
+
...s
|
|
52
|
+
}, e[10] = p, e[11] = r, e[12] = l, e[13] = s, e[14] = c, e[15] = i, e[16] = f) : f = e[16];
|
|
53
|
+
const g = f;
|
|
54
|
+
let d;
|
|
55
|
+
return e[17] !== g ? (d = /* @__PURE__ */ v(h, { ...g }), e[17] = g, e[18] = d) : d = e[18], d;
|
|
56
|
+
};
|
|
57
|
+
export {
|
|
58
|
+
x as D,
|
|
59
|
+
_ as N,
|
|
60
|
+
j as a,
|
|
61
|
+
S as v
|
|
62
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as H, jsxs as F } from "react/jsx-runtime";
|
|
3
|
+
import { d as R } from "./index.cKLI89Eg.js";
|
|
4
|
+
import { c as k } from "./index.DQOqod3i.js";
|
|
5
|
+
import { D as W } from "./Button.DpGeheky.js";
|
|
6
|
+
import { D as j } from "./Icon.m6sMB6vl.js";
|
|
7
|
+
import '../assets/Notification.DBGpHzov.css';const y = "ds-notification_root_trmu0_1", L = "ds-notification_root--success_trmu0_29", P = "ds-notification_root--error_trmu0_33", V = "ds-notification_root--warning_trmu0_37", z = "ds-notification_root--hide-icon_trmu0_41", Y = "ds-notification_content_trmu0_55", $ = "ds-notification_content--hide-close-button_trmu0_62", q = "ds-notification_content--hide-icon_trmu0_65", G = "ds-notification_icon_trmu0_69", J = "ds-notification_message_trmu0_73", K = "ds-notification_custom-action-area_trmu0_170", e = {
|
|
8
|
+
root: y,
|
|
9
|
+
rootSuccess: L,
|
|
10
|
+
rootError: P,
|
|
11
|
+
rootWarning: V,
|
|
12
|
+
rootHideIcon: z,
|
|
13
|
+
content: Y,
|
|
14
|
+
contentHideCloseButton: $,
|
|
15
|
+
contentHideIcon: q,
|
|
16
|
+
icon: G,
|
|
17
|
+
message: J,
|
|
18
|
+
customActionArea: K
|
|
19
|
+
}, et = ["success", "error", "warning", "info"], M = {
|
|
20
|
+
success: "circle-check-colored",
|
|
21
|
+
error: "diamond-exclamationmark-colored",
|
|
22
|
+
warning: "triangle-exclamationmark-colored",
|
|
23
|
+
info: "circle-info-colored"
|
|
24
|
+
}, Q = {
|
|
25
|
+
error: "alert",
|
|
26
|
+
warning: "alert",
|
|
27
|
+
info: "status",
|
|
28
|
+
success: "status"
|
|
29
|
+
}, nt = (S) => {
|
|
30
|
+
const t = R.c(46);
|
|
31
|
+
let i, r, a, s, n, l, h, A;
|
|
32
|
+
t[0] !== S ? ({
|
|
33
|
+
children: i,
|
|
34
|
+
variant: h,
|
|
35
|
+
className: r,
|
|
36
|
+
closeButtonProps: a,
|
|
37
|
+
customActionArea: s,
|
|
38
|
+
hideIcon: A,
|
|
39
|
+
onClose: n,
|
|
40
|
+
...l
|
|
41
|
+
} = S, t[0] = S, t[1] = i, t[2] = r, t[3] = a, t[4] = s, t[5] = n, t[6] = l, t[7] = h, t[8] = A) : (i = t[1], r = t[2], a = t[3], s = t[4], n = t[5], l = t[6], h = t[7], A = t[8]);
|
|
42
|
+
const c = h === void 0 ? "info" : h, o = A === void 0 ? !1 : A;
|
|
43
|
+
let d;
|
|
44
|
+
t[9] !== a ? (d = a || {}, t[9] = a, t[10] = d) : d = t[10];
|
|
45
|
+
let m, g;
|
|
46
|
+
t[11] !== d ? ({
|
|
47
|
+
label: g,
|
|
48
|
+
...m
|
|
49
|
+
} = d, t[11] = d, t[12] = m, t[13] = g) : (m = t[12], g = t[13]);
|
|
50
|
+
const O = g === void 0 ? "Close notification" : g, T = c === "success", x = c === "error", B = c === "warning";
|
|
51
|
+
let C;
|
|
52
|
+
t[14] !== r || t[15] !== o || t[16] !== T || t[17] !== x || t[18] !== B ? (C = k(e.root, r, {
|
|
53
|
+
[e.rootSuccess]: T,
|
|
54
|
+
[e.rootError]: x,
|
|
55
|
+
[e.rootWarning]: B,
|
|
56
|
+
[e.rootHideIcon]: o
|
|
57
|
+
}), t[14] = r, t[15] = o, t[16] = T, t[17] = x, t[18] = B, t[19] = C) : C = t[19];
|
|
58
|
+
const D = C, b = !n;
|
|
59
|
+
let p;
|
|
60
|
+
t[20] !== o || t[21] !== b ? (p = k(e.content, {
|
|
61
|
+
[e.contentHideCloseButton]: b,
|
|
62
|
+
[e.contentHideIcon]: o
|
|
63
|
+
}), t[20] = o, t[21] = b, t[22] = p) : p = t[22];
|
|
64
|
+
const w = p, E = Q[c];
|
|
65
|
+
let u;
|
|
66
|
+
t[23] !== o || t[24] !== c ? (u = !o && /* @__PURE__ */ H(j, { name: M[c], className: e.icon, "aria-hidden": "true" }), t[23] = o, t[24] = c, t[25] = u) : u = t[25];
|
|
67
|
+
let _;
|
|
68
|
+
t[26] !== i ? (_ = /* @__PURE__ */ H("div", { className: e.message, children: i }), t[26] = i, t[27] = _) : _ = t[27];
|
|
69
|
+
let f;
|
|
70
|
+
t[28] !== O || t[29] !== n || t[30] !== m ? (f = n && /* @__PURE__ */ H(W, { ...m, hideLabel: !0, iconName: "cross", isFlush: !0, variant: "ghost", size: "small", onClick: n, type: "button", children: O }), t[28] = O, t[29] = n, t[30] = m, t[31] = f) : f = t[31];
|
|
71
|
+
let I;
|
|
72
|
+
t[32] !== w || t[33] !== u || t[34] !== _ || t[35] !== f ? (I = /* @__PURE__ */ F("div", { className: w, children: [
|
|
73
|
+
u,
|
|
74
|
+
_,
|
|
75
|
+
f
|
|
76
|
+
] }), t[32] = w, t[33] = u, t[34] = _, t[35] = f, t[36] = I) : I = t[36];
|
|
77
|
+
let N;
|
|
78
|
+
t[37] !== s || t[38] !== o ? (N = s && /* @__PURE__ */ H("div", { className: k({
|
|
79
|
+
[e.customActionArea]: !o
|
|
80
|
+
}), children: s }), t[37] = s, t[38] = o, t[39] = N) : N = t[39];
|
|
81
|
+
let v;
|
|
82
|
+
return t[40] !== l || t[41] !== D || t[42] !== E || t[43] !== I || t[44] !== N ? (v = /* @__PURE__ */ F("div", { className: D, ...l, role: E, children: [
|
|
83
|
+
I,
|
|
84
|
+
N
|
|
85
|
+
] }), t[40] = l, t[41] = D, t[42] = E, t[43] = I, t[44] = N, t[45] = v) : v = t[45], v;
|
|
86
|
+
};
|
|
87
|
+
export {
|
|
88
|
+
nt as D,
|
|
89
|
+
et as N,
|
|
90
|
+
M as a
|
|
91
|
+
};
|