@stihl-design-system/components 1.0.0-RC.3 → 1.0.0-RC.30
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.DkwtJy--.js +12 -0
- package/accordion.d.ts +2 -0
- package/actionbutton.d.ts +2 -0
- package/actionbutton.u1qp8oGC.js +11 -0
- package/actionlink.C7HzeIVa.js +11 -0
- package/actionlink.d.ts +2 -0
- package/arialiveregions.Fgcshs5k.js +18 -0
- package/arialiveregions.d.ts +2 -0
- package/assets/Accordion.BJb4TOG0.css +1 -0
- package/assets/ActionButton.oGVPTS1J.css +1 -0
- package/assets/ActionLink.CTh6IXrN.css +1 -0
- package/assets/Breadcrumb.BaYrwrYl.css +1 -0
- package/assets/Button.Dw8H5nFS.css +1 -0
- package/assets/Checkbox.BKHQN_tu.css +1 -0
- package/assets/CheckboxGroup.Dd-Huo7x.css +1 -0
- package/assets/Chip.dxIYIjj7.css +1 -0
- package/assets/CustomReactSelect.D0b1Hg1T.css +1 -0
- package/assets/Dialog.CGAg7bnN.css +1 -0
- package/assets/Drawer.VOvWQoEr.css +1 -0
- package/assets/Fieldset.CW9dBvAo.css +1 -0
- package/assets/Header.CNqtWTxB.css +1 -0
- package/assets/Icon.QeJ7TxZs.css +1 -0
- package/assets/InputFile.CCQxsulT.css +1 -0
- package/assets/InputPassword.124xVOiO.css +1 -0
- package/assets/InputSearch.Bkg-1urJ.css +1 -0
- package/assets/InputStepper.Dth4qZN_.css +1 -0
- package/assets/LinkButton.xMvg_ojf.css +1 -0
- package/assets/MegaMenu.DX9gChtY.css +1 -0
- package/assets/NavigationTabList.CFlVhUzS.css +1 -0
- package/assets/Notification.BOuaA5GT.css +1 -0
- package/assets/Popover.BDTDsPAt.css +1 -0
- package/assets/RadioGroup.CM2mYOzc.css +1 -0
- package/assets/Select.CYACicZ3.css +1 -0
- package/assets/Slider.DzwSjDPV.css +1 -0
- package/assets/SystemFeedback.RcrPepSZ.css +1 -0
- package/assets/Text.Dgpj61UP.css +1 -0
- package/assets/Textarea.BXWhXpXx.css +1 -0
- package/assets/Toast.CJ1zhDIT.css +1 -0
- package/assets/arialiveregions.e0Q16ZWi.css +1 -0
- package/assets/asterisk.B41DaZDe.css +1 -0
- package/assets/banner.BLdW5VF4.css +1 -0
- package/assets/buttonround.Cw9hnUan.css +1 -0
- package/assets/chipgroup.BGxjdSDX.css +1 -0
- package/assets/filelist.H_wKcSPX.css +1 -0
- package/assets/flag.C7i3MAAP.css +1 -0
- package/assets/floatingactionbutton.l0nvFiJU.css +1 -0
- package/assets/heading.B-rdLVZD.css +1 -0
- package/assets/input.ONbL-_C1.css +1 -0
- package/assets/link.CeJUHbdf.css +1 -0
- package/assets/logo._GqPgimo.css +1 -0
- package/assets/numberindicator.O6XwvtL0.css +1 -0
- package/assets/optioncheckbox.DAffEKvY.css +1 -0
- package/assets/radio.CgpGvYc-.css +1 -0
- package/assets/scroller.Hszs1Yq4.css +1 -0
- package/assets/skiptocontent.CTSDC_kG.css +1 -0
- package/assets/spinner.Ctn_YYBG.css +1 -0
- package/assets/switch.Bc9KIyw9.css +1 -0
- package/assets/tabpane.D1LTb432.css +1 -0
- package/assets/title.B0tsgJ-n.css +1 -0
- package/asterisk.CR60hx8S.js +13 -0
- package/asterisk.d.ts +1 -0
- package/banner.d.ts +2 -0
- package/banner.j9YpudOS.js +55 -0
- package/breadcrumb.BS-S3zUI.js +11 -0
- package/breadcrumb.d.ts +2 -0
- package/button.CPilCCUI.js +12 -0
- package/button.d.ts +1 -0
- package/buttonround.C426mO4d.js +81 -0
- package/buttonround.d.ts +1 -0
- package/checkbox.BtlUvs0z.js +12 -0
- package/checkbox.d.ts +1 -0
- package/checkboxgroup.C5NgyyQF.js +9 -0
- package/checkboxgroup.d.ts +1 -0
- package/chip.d.ts +2 -0
- package/chip.tVIG1ysH.js +11 -0
- package/chipgroup.CjIK0Z0x.js +209 -0
- package/chipgroup.d.ts +2 -0
- package/chunks/Accordion.C5V5IcM-.js +170 -0
- package/chunks/ActionButton.B8zFwOrJ.js +165 -0
- package/chunks/ActionLink.IX6oRXU3.js +138 -0
- package/chunks/AriaLiveRegions.utils.Cb327d_2.js +27 -0
- package/chunks/Breadcrumb.BGzwzvh8.js +105 -0
- package/chunks/Button.B7xF1E19.js +127 -0
- package/chunks/Checkbox.DxV7-F5W.js +88 -0
- package/chunks/CheckboxGroup.Dy_6tiGk.js +72 -0
- package/chunks/Chip.31UfPwQF.js +119 -0
- package/chunks/CustomReactSelect.iE5iTdez.js +3344 -0
- package/chunks/Dialog.B_2pKRnd.js +135 -0
- package/chunks/Drawer.HFlBTcqN.js +140 -0
- package/chunks/Fieldset.CjIfmN_5.js +74 -0
- package/chunks/Header.DqZRryB5.js +366 -0
- package/chunks/Icon.DGTYCv63.js +231 -0
- package/chunks/Input.utils.Cnnzvuk4.js +57 -0
- package/chunks/InputFile.DvOatDzg.js +220 -0
- package/chunks/InputPassword.DC2POUc1.js +136 -0
- package/chunks/InputSearch.B0aCuPRZ.js +174 -0
- package/chunks/InputStepper.B_ZjgY_f.js +263 -0
- package/chunks/LinkButton.DdTspmJz.js +117 -0
- package/chunks/MegaMenu.BY7eOnhj.js +189 -0
- package/chunks/NavigationTabList.dYFYTmWv.js +57 -0
- package/chunks/NavigationTabs.ClpVGcl0.js +63 -0
- package/chunks/Notification.DIdIhGTQ.js +92 -0
- package/chunks/Popover.NGetxKGg.js +159 -0
- package/chunks/RadioGroup.peTeMK45.js +104 -0
- package/chunks/Select.BDHLJ2ma.js +162 -0
- package/chunks/Slider.kyVr7BLk.js +292 -0
- package/chunks/SystemFeedback.B9f67mjJ.js +38 -0
- package/chunks/TabPane.utils.DG16Y2uD.js +10 -0
- package/chunks/Tabs.CkVL8Jw8.js +83 -0
- package/chunks/Text.DGWeWF1y.js +75 -0
- package/chunks/Textarea.ORkJUx-S.js +163 -0
- package/chunks/Toast.DHo4pLH3.js +76 -0
- package/chunks/accessibility.B57oX4yV.js +10 -0
- package/chunks/caret-down.CupuwAF6.js +10 -0
- package/chunks/caret-right.DKtu4PQe.js +10 -0
- package/chunks/{circle-info-colored.DLY6BTL4.js → circle-info-colored.D2pp54gf.js} +3 -3
- 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/document-magnifying-glass.DkvpNz-D.js +10 -0
- package/chunks/file-type-doc.DlovDOBh.js +10 -0
- package/chunks/file-type-image.Cg2NRd7y.js +10 -0
- package/chunks/file-type-pdf.Dm94xL2i.js +10 -0
- package/chunks/file-type-video.CFwfiP-D.js +10 -0
- package/chunks/file-type-zip.SNixmKhQ.js +10 -0
- package/chunks/file.DLgRXiem.js +10 -0
- package/chunks/floating-ui.dom.C9TD1WpB.js +950 -0
- package/chunks/floating-ui.react.x0F9CYgn.js +1637 -0
- package/chunks/has-window.ut_-aShB.js +5 -0
- package/chunks/helpers.BbWkXTr3.js +37 -0
- package/chunks/imow-icon.CyH72ySI.js +10 -0
- package/chunks/index.CEyLAtio.js +48 -0
- package/chunks/index.CgTHIF3K.js +293 -0
- package/chunks/is-animation-disabled.CUl4N3LI.js +20 -0
- package/chunks/mystihl-icon.xHpCyYJf.js +10 -0
- package/chunks/tiktok.BWJTDGYm.js +10 -0
- package/chunks/translate.nuU7uChI.js +8 -0
- package/chunks/twitch.C893cAK8.js +10 -0
- package/chunks/useBreakpoint.CMOR9ZOB.js +44 -0
- package/chunks/useIsomorphicLayoutEffect.CnJ9AMFS.js +7 -0
- package/combobox.Bk2ycofh.js +60 -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 +61 -0
- package/components/ActionButton/ActionButton.test.d.ts +1 -0
- package/components/ActionButton/ActionButton.utils.d.ts +22 -0
- package/components/ActionButton/ActionButton.utils.test.d.ts +1 -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 +5 -0
- package/components/AriaLiveRegions/AriaLiveRegions.utils.d.ts +5 -0
- package/components/AriaLiveRegions/AriaLiveRegions.utils.test.d.ts +1 -0
- 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 +32 -16
- package/components/Button/Button.utils.d.ts +18 -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 +21 -14
- package/components/CheckboxGroup/CheckboxGroup.utils.d.ts +1 -2
- package/components/ChipGroup/Chip.d.ts +12 -0
- package/components/ChipGroup/ChipGroup.d.ts +44 -0
- package/components/ChipGroup/ChipGroup.test.d.ts +1 -0
- package/components/ChipGroup/ChipGroup.utils.d.ts +60 -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 +6 -1
- package/components/{CustomReactSelect → Combobox/CustomReactSelect}/CustomReactSelect.d.ts +37 -25
- 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 +45 -0
- 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 +15 -9
- package/components/Fieldset/Fieldset.utils.d.ts +8 -2
- 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 +68 -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 +56 -25
- package/components/Input/Input.utils.d.ts +5 -6
- package/components/InputFile/InputFile.d.ts +91 -0
- package/components/InputFile/InputFile.test.d.ts +1 -0
- package/components/InputFile/InputFile.utils.d.ts +46 -0
- package/components/InputFile/InputFile.utils.test.d.ts +1 -0
- package/components/InputPassword/InputPassword.d.ts +43 -18
- package/components/InputPassword/InputPassword.utils.d.ts +0 -1
- package/components/InputSearch/InputSearch.d.ts +42 -18
- package/components/InputSearch/InputSearch.utils.d.ts +0 -1
- package/components/InputStepper/InputStepper.d.ts +64 -26
- package/components/InputStepper/InputStepper.utils.d.ts +0 -1
- package/components/Link/Link.d.ts +11 -43
- package/components/Link/Link.utils.d.ts +2 -8
- package/components/LinkButton/LinkButton.d.ts +64 -0
- package/components/LinkButton/LinkButton.test.d.ts +1 -0
- package/components/LinkButton/LinkButton.utils.d.ts +25 -0
- package/components/LinkButton/LinkButton.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/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 +40 -0
- package/components/Notification/Notification.test.d.ts +1 -0
- package/components/Notification/Notification.utils.d.ts +4 -0
- 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 +40 -0
- package/components/Popover/Popover.test.d.ts +1 -0
- package/components/Popover/Popover.utils.d.ts +53 -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 +30 -20
- package/components/RadioGroup/RadioGroup.utils.d.ts +5 -4
- package/components/RadioGroup/RadioGroup.utils.test.d.ts +1 -0
- package/components/Scroller/Scroller.d.ts +20 -0
- package/components/Scroller/Scroller.utils.d.ts +3 -0
- package/components/Select/Select.d.ts +24 -13
- package/components/Select/Select.utils.d.ts +0 -1
- package/components/SkipToContent/SkipToContent.d.ts +19 -0
- package/components/SkipToContent/SkipToContent.test.d.ts +1 -0
- package/components/Slider/Slider.d.ts +63 -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/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/Textarea/Textarea.d.ts +34 -16
- package/components/Textarea/Textarea.utils.d.ts +0 -1
- package/components/Title/Title.d.ts +13 -6
- package/components/Toast/Toast.d.ts +42 -0
- package/components/Toast/Toast.utils.d.ts +27 -0
- package/components/Toast/ToastManager.d.ts +9 -0
- package/components/Toast/ToastManager.test.d.ts +1 -0
- package/components/Toast/ToastManager.utils.d.ts +2 -0
- package/components/Toast/ToastManager.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.Hnch9LGg.js +14 -0
- package/customreactselect.d.ts +2 -1
- package/dialog.7sWoqGwL.js +10 -0
- package/dialog.d.ts +2 -0
- package/drawer.DsF4KIPn.js +10 -0
- package/drawer.d.ts +2 -0
- package/fieldset.DUFUMcT-.js +11 -0
- package/fieldset.d.ts +1 -0
- package/filelist.d.ts +2 -0
- package/filelist.nunJKxkv.js +161 -0
- package/flag.D_iN8iD6.js +50 -0
- package/flag.d.ts +2 -0
- package/floatingactionbutton.DOH2k0gv.js +72 -0
- package/floatingactionbutton.d.ts +1 -0
- package/github-mark-white.svg +1 -0
- package/github-mark.svg +1 -0
- package/header.QpNjE3N-.js +12 -0
- package/header.d.ts +2 -0
- package/heading.BXFBZhKv.js +46 -0
- package/heading.d.ts +1 -0
- package/icon.d.ts +1 -0
- package/icon.svg +1 -1
- package/icon.vMQcEBnH.js +9 -0
- package/imow-icon.svg +1 -0
- package/index.d.ts +66 -1
- package/index.es.js +212 -46
- package/input.BKHOY118.js +203 -0
- package/input.d.ts +1 -0
- package/inputfile.DK8759wV.js +17 -0
- package/inputfile.d.ts +2 -0
- package/inputpassword.d.ts +1 -0
- package/inputpassword.rV_ZZw5F.js +13 -0
- package/inputsearch.CmhakTpa.js +14 -0
- package/inputsearch.d.ts +1 -0
- package/inputstepper.5olvh4tk.js +16 -0
- package/inputstepper.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.D_FjTyoZ.js +66 -0
- package/link.d.ts +1 -0
- package/linkbutton.D2C4vykc.js +11 -0
- package/linkbutton.d.ts +2 -0
- package/logo.C96KaG1P.js +80 -0
- package/logo.d.ts +1 -0
- package/megamenu.CdHrEeoh.js +12 -0
- package/megamenu.d.ts +2 -0
- package/mystihl-icon.svg +1 -0
- package/navigationtablist.CVjh1k-b.js +9 -0
- package/navigationtablist.d.ts +2 -0
- package/navigationtabs.BGfi9AG2.js +9 -0
- package/navigationtabs.d.ts +2 -0
- package/notification.Dn-FZWEL.js +10 -0
- package/notification.d.ts +2 -0
- package/numberindicator.Ddf3ESi7.js +33 -0
- package/numberindicator.d.ts +2 -0
- package/optioncheckbox.D97W3zeW.js +48 -0
- package/optioncheckbox.d.ts +2 -1
- package/package.json +84 -57
- 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 +324 -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.DXxm1oWI.js +11 -0
- package/popover.d.ts +2 -0
- package/radio.7_N_alaS.js +126 -0
- package/radio.d.ts +1 -0
- package/radiogroup.J8WpEEo8.js +11 -0
- package/radiogroup.d.ts +1 -0
- package/scroller.BiRLQg__.js +123 -0
- package/scroller.d.ts +2 -0
- package/select-decision-tree-small.webp +0 -0
- package/select-decision-tree.webp +0 -0
- package/select.DIzGPVx3.js +13 -0
- package/select.d.ts +1 -0
- package/skiptocontent._F-d8y5b.js +35 -0
- package/skiptocontent.d.ts +2 -0
- package/slider.DuJK0RdB.js +11 -0
- package/slider.d.ts +2 -0
- package/spinner.Dht6FspZ.js +46 -0
- package/spinner.d.ts +1 -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/{lib → ds/lib/ds-internal}/_focus.scss +14 -16
- 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 +187 -0
- package/styles/scss/ds/lib/ds-internal/_link-button.scss +218 -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 +21 -0
- package/styles/scss/ds/lib/link.scss +74 -0
- package/styles/scss/ds/lib/media-query.scss +32 -0
- package/styles/scss/ds/lib/shadow.scss +10 -0
- 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.B37S4vfP.js +66 -0
- package/switch.d.ts +1 -0
- package/systemfeedback.C_2PhwKe.js +10 -0
- package/systemfeedback.d.ts +1 -0
- package/tablist.d.ts +2 -0
- package/tablist.g_Nwu6GA.js +256 -0
- package/tabpane.CB-eudyw.js +37 -0
- package/tabpane.d.ts +2 -0
- package/tabs.d.ts +2 -0
- package/tabs.oh9-wHPp.js +11 -0
- package/text.ZOUuesnU.js +10 -0
- package/text.d.ts +1 -0
- package/textarea.d.ts +1 -0
- package/textarea.dQ12-oYB.js +13 -0
- package/title.Bz_k5Vda.js +40 -0
- package/title.d.ts +1 -0
- package/toast.d.ts +2 -0
- package/toast.sMNbfKxi.js +11 -0
- package/toastmanager.CVamaS5T.js +116 -0
- package/toastmanager.d.ts +2 -0
- package/topbar.Dhy_TL0U.js +11 -0
- package/topbar.d.ts +2 -0
- package/types/icon-types.d.ts +1 -1
- 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 +6 -0
- package/utils/is-animation-disabled.d.ts +14 -0
- package/utils/is-animation-disabled.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/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 +4 -1
- package/assets/CustomReactSelect.BdwXfLLO.css +0 -1
- package/assets/RadioGroup.Ur8Ro-XL.css +0 -1
- package/assets/asterisk.C-o6rbGQ.css +0 -1
- package/assets/button.DJvR-58w.css +0 -1
- package/assets/buttonround.BlfQkmMV.css +0 -1
- package/assets/checkbox.BsFEWfQe.css +0 -1
- package/assets/fieldset.xazpUXJX.css +0 -1
- package/assets/floatingactionbutton.D7ywURL3.css +0 -1
- package/assets/heading.CGFucb-C.css +0 -1
- package/assets/icon.CB-KQmw4.css +0 -1
- package/assets/input.BcP5kkZ2.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/link.V7pJOW1p.css +0 -1
- package/assets/linkstandalone.D3RbBp23.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/select.D2qBxaHP.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/textarea.BKbocznb.css +0 -1
- package/assets/title.CE0Dm7PI.css +0 -1
- package/asterisk.DU8THnoC.js +0 -8
- package/button.BUUGRxIp.js +0 -135
- package/buttonround.CKc-a-hd.js +0 -118
- package/checkbox.C2Ga9yTK.js +0 -112
- package/checkboxgroup.Cfxz9bk6.js +0 -80
- package/chunks/CustomReactSelect.uzWNynay.js +0 -5027
- package/chunks/Input.utils.Bly6ZzLI.js +0 -106
- package/chunks/RadioGroup.module.bi3leRes.js +0 -11
- 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/useBreakpoint.5xBNDiCf.js +0 -48
- package/combobox.BXHAo4Wx.js +0 -47
- package/components/CustomReactSelect/CustomReactSelect.utils.d.ts +0 -16
- package/components/LinkStandalone/LinkStandalone.d.ts +0 -15
- package/components/LinkStandalone/LinkStandalone.utils.d.ts +0 -2
- package/customreactselect.CipgVXTR.js +0 -13
- package/fieldset.DGcIKzDI.js +0 -98
- package/floatingactionbutton.DzHD39NY.js +0 -87
- package/heading.DqGbFfj2.js +0 -50
- package/icon.PX9_1kNB.js +0 -215
- package/input.o8OT6rxJ.js +0 -236
- package/inputpassword.-MXq8baU.js +0 -139
- package/inputsearch.CoYTSjox.js +0 -188
- package/inputstepper.BBMQr6kM.js +0 -290
- package/link.BN6AZfhG.js +0 -115
- package/linkstandalone.4-fyRd08.js +0 -79
- package/linkstandalone.d.ts +0 -1
- package/logo.C_oJ8isW.js +0 -69
- package/optioncheckbox.-DRnW_ch.js +0 -43
- package/partials/icon.svg +0 -1
- package/radio.Bhu9OUY-.js +0 -79
- package/radiogroup.oILRMrX-.js +0 -102
- package/select.OGcreXnT.js +0 -190
- package/spinner.Diy_EeFY.js +0 -58
- package/styles/scss/_index.scss +0 -22
- package/styles/scss/lib/_a11y.scss +0 -15
- package/styles/scss/lib/_animation.scss +0 -6
- package/styles/scss/lib/_breakpoints.scss +0 -16
- package/styles/scss/lib/_container-query.scss +0 -58
- 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 -48
- 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 -155
- 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 -160
- package/styles/scss/lib/_transition.scss +0 -26
- package/switch.BjoFKMQC.js +0 -65
- package/systemfeedback.C7iXO5A1.js +0 -25
- package/text.CPU8IUqY.js +0 -57
- package/textarea.kc_Sfbgr.js +0 -193
- package/title.icX0VDiO.js +0 -36
- 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/{LinkStandalone/LinkStandalone.test.d.ts → Accordion/Acordion.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,263 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as S, jsxs as ft } from "react/jsx-runtime";
|
|
3
|
+
import { d as wt } from "./index.CgTHIF3K.js";
|
|
4
|
+
import { c as E } from "./index.CEyLAtio.js";
|
|
5
|
+
import { forwardRef as Lt, useState as ge, useRef as mt, useEffect as bt } from "react";
|
|
6
|
+
import { h as Et } from "./has-window.ut_-aShB.js";
|
|
7
|
+
import { u as Rt } from "./useBreakpoint.CMOR9ZOB.js";
|
|
8
|
+
import { u as gt } from "./useIsomorphicLayoutEffect.CnJ9AMFS.js";
|
|
9
|
+
import { Asterisk as kt } from "../asterisk.CR60hx8S.js";
|
|
10
|
+
import { D as xt } from "./Button.B7xF1E19.js";
|
|
11
|
+
import { M as _t, a as vt } from "./Input.utils.Cnnzvuk4.js";
|
|
12
|
+
import { D as Ct } from "./SystemFeedback.B9f67mjJ.js";
|
|
13
|
+
import { g as Ge } from "./helpers.BbWkXTr3.js";
|
|
14
|
+
import '../assets/InputStepper.Dth4qZN_.css';const Ft = "ds-input-stepper_input_favgq_1", Pt = "ds-input-stepper_input--small_favgq_9", $t = "ds-input-stepper_input--invalid_favgq_121", Ht = "ds-input-stepper_input--has-affix_favgq_197", Vt = "ds-input-stepper_input--is-ready_favgq_211", Tt = "ds-input-stepper_root_favgq_222", Wt = "ds-input-stepper_hint_favgq_231", Mt = "ds-input-stepper_label_favgq_231", Xt = "ds-input-stepper_wrapper_favgq_235", jt = "ds-input-stepper_affix_favgq_241", zt = "ds-input-stepper_affix--small_favgq_262", Gt = "ds-input-stepper_affix--disabled_favgq_275", Ot = "ds-input-stepper_prefix_favgq_283", Ut = "ds-input-stepper_affix--readonly_favgq_286", Jt = "ds-input-stepper_suffix_favgq_296", Kt = "ds-input-stepper_action-button_favgq_303", Qt = "ds-input-stepper_label--hidden_favgq_321", Yt = "ds-input-stepper_label--disabled_favgq_334", Zt = "ds-input-stepper_feedback_favgq_354", en = "ds-input-stepper_second-action-button_favgq_368", tn = "ds-input-stepper_value-announcer_favgq_372", t = {
|
|
15
|
+
input: Ft,
|
|
16
|
+
inputSmall: Pt,
|
|
17
|
+
inputInvalid: $t,
|
|
18
|
+
inputHasAffix: Ht,
|
|
19
|
+
inputIsReady: Vt,
|
|
20
|
+
root: Tt,
|
|
21
|
+
hint: Wt,
|
|
22
|
+
label: Mt,
|
|
23
|
+
wrapper: Xt,
|
|
24
|
+
affix: jt,
|
|
25
|
+
affixSmall: zt,
|
|
26
|
+
affixDisabled: Gt,
|
|
27
|
+
prefix: Ot,
|
|
28
|
+
affixReadonly: Ut,
|
|
29
|
+
suffix: Jt,
|
|
30
|
+
actionButton: Kt,
|
|
31
|
+
labelHidden: Qt,
|
|
32
|
+
labelDisabled: Yt,
|
|
33
|
+
feedback: Zt,
|
|
34
|
+
secondActionButton: en,
|
|
35
|
+
valueAnnouncer: tn
|
|
36
|
+
}, nn = ({
|
|
37
|
+
id: R,
|
|
38
|
+
label: I,
|
|
39
|
+
prefix: e,
|
|
40
|
+
suffix: p
|
|
41
|
+
}) => {
|
|
42
|
+
if (!R)
|
|
43
|
+
throw new Error(Ge("DSInputStepper", 'A unique "id" prop is required. Please add a unique "id" prop to the DSInputStepper component.'));
|
|
44
|
+
if (!I)
|
|
45
|
+
throw new Error(Ge("DSInputStepper", `A label is always required for a11y reasons. Please add a descriptive "label" prop to the DSInputStepper component. If you don't want to display a label, set hideLabel={true}.`));
|
|
46
|
+
e && e.length > _t && console.warn(Ge("DSInputStepper", `Prefix length must not exceed ${_t} characters.`)), p && p.length > vt && console.warn(Ge("DSInputStepper", `Suffix length must not exceed ${vt} characters.`));
|
|
47
|
+
}, sn = Lt((R, I) => {
|
|
48
|
+
const e = wt.c(187);
|
|
49
|
+
let p, k, m, s, C, b, _, l, A, a, d, te, ne, se, le, ae, ie, oe, re, ce, ue, v;
|
|
50
|
+
e[0] !== R ? ({
|
|
51
|
+
id: s,
|
|
52
|
+
label: b,
|
|
53
|
+
announcementText: te,
|
|
54
|
+
className: p,
|
|
55
|
+
disabled: se,
|
|
56
|
+
decreaseAmountButtonProps: k,
|
|
57
|
+
hint: m,
|
|
58
|
+
hideLabel: le,
|
|
59
|
+
invalid: ae,
|
|
60
|
+
increaseAmountButtonProps: C,
|
|
61
|
+
prefix: l,
|
|
62
|
+
max: ie,
|
|
63
|
+
min: oe,
|
|
64
|
+
readonly: re,
|
|
65
|
+
required: ce,
|
|
66
|
+
size: ue,
|
|
67
|
+
step: ne,
|
|
68
|
+
suffix: a,
|
|
69
|
+
systemFeedback: d,
|
|
70
|
+
value: v,
|
|
71
|
+
onChange: _,
|
|
72
|
+
...A
|
|
73
|
+
} = R, e[0] = R, e[1] = p, e[2] = k, e[3] = m, e[4] = s, e[5] = C, e[6] = b, e[7] = _, e[8] = l, e[9] = A, e[10] = a, e[11] = d, e[12] = te, e[13] = ne, e[14] = se, e[15] = le, e[16] = ae, e[17] = ie, e[18] = oe, e[19] = re, e[20] = ce, e[21] = ue, e[22] = v) : (p = e[1], k = e[2], m = e[3], s = e[4], C = e[5], b = e[6], _ = e[7], l = e[8], A = e[9], a = e[10], d = e[11], te = e[12], ne = e[13], se = e[14], le = e[15], ae = e[16], ie = e[17], oe = e[18], re = e[19], ce = e[20], ue = e[21], v = e[22]);
|
|
74
|
+
const de = te === void 0 ? "Value changed to" : te, c = se === void 0 ? !1 : se, yt = le === void 0 ? !1 : le, o = ae === void 0 ? !1 : ae, F = ie === void 0 ? 100 : ie, P = oe === void 0 ? 0 : oe, h = re === void 0 ? !1 : re, D = ce === void 0 ? !1 : ce, n = ue === void 0 ? "medium" : ue, pe = ne === void 0 ? 1 : ne;
|
|
75
|
+
process.env.NODE_ENV !== "production" && nn({
|
|
76
|
+
id: s,
|
|
77
|
+
label: b,
|
|
78
|
+
prefix: l,
|
|
79
|
+
suffix: a
|
|
80
|
+
});
|
|
81
|
+
let $;
|
|
82
|
+
e[23] !== k ? ($ = k || {}, e[23] = k, e[24] = $) : $ = e[24];
|
|
83
|
+
let H, fe;
|
|
84
|
+
e[25] !== $ ? ({
|
|
85
|
+
label: fe,
|
|
86
|
+
...H
|
|
87
|
+
} = $, e[25] = $, e[26] = H, e[27] = fe) : (H = e[26], fe = e[27]);
|
|
88
|
+
const Oe = fe === void 0 ? "Decrease" : fe;
|
|
89
|
+
let V;
|
|
90
|
+
e[28] !== C ? (V = C || {}, e[28] = C, e[29] = V) : V = e[29];
|
|
91
|
+
let T, me;
|
|
92
|
+
e[30] !== V ? ({
|
|
93
|
+
label: me,
|
|
94
|
+
...T
|
|
95
|
+
} = V, e[30] = V, e[31] = T, e[32] = me) : (T = e[31], me = e[32]);
|
|
96
|
+
const Ue = me === void 0 ? "Increase" : me, [be, St] = ge(!1), [g, Je] = ge(v), [x, ht] = ge(""), [Ke, It] = ge(!1);
|
|
97
|
+
let xe;
|
|
98
|
+
e[33] === Symbol.for("react.memo_cache_sentinel") ? (xe = {}, e[33] = xe) : xe = e[33];
|
|
99
|
+
const [_e, At] = ge(xe), y = mt(null);
|
|
100
|
+
let ye;
|
|
101
|
+
e[34] !== I ? (ye = (i) => {
|
|
102
|
+
y.current = i, typeof I == "function" ? I(i) : I && (I.current = i);
|
|
103
|
+
}, e[34] = I, e[35] = ye) : ye = e[35];
|
|
104
|
+
const ve = ye;
|
|
105
|
+
let Se;
|
|
106
|
+
e[36] !== l ? (Se = l == null ? void 0 : l.substring(0, _t), e[36] = l, e[37] = Se) : Se = e[37];
|
|
107
|
+
const Qe = Se, Ye = mt(null);
|
|
108
|
+
let Ie;
|
|
109
|
+
e[38] !== a ? (Ie = a == null ? void 0 : a.substring(0, vt), e[38] = a, e[39] = Ie) : Ie = e[39];
|
|
110
|
+
const Ze = Ie, et = mt(null), he = Rt(yt);
|
|
111
|
+
let Ae, De;
|
|
112
|
+
e[40] !== v ? (Ae = () => {
|
|
113
|
+
v && Je(v);
|
|
114
|
+
}, De = [v], e[40] = v, e[41] = Ae, e[42] = De) : (Ae = e[41], De = e[42]), bt(Ae, De);
|
|
115
|
+
let qe, Ne;
|
|
116
|
+
e[43] !== x ? (qe = () => {
|
|
117
|
+
if (x) {
|
|
118
|
+
const i = setTimeout(() => {
|
|
119
|
+
ht("");
|
|
120
|
+
}, 3e3);
|
|
121
|
+
return () => clearTimeout(i);
|
|
122
|
+
}
|
|
123
|
+
}, Ne = [x], e[43] = x, e[44] = qe, e[45] = Ne) : (qe = e[44], Ne = e[45]), bt(qe, Ne);
|
|
124
|
+
let Be, we;
|
|
125
|
+
e[46] === Symbol.for("react.memo_cache_sentinel") ? (Be = () => {
|
|
126
|
+
var f;
|
|
127
|
+
const i = ln;
|
|
128
|
+
return (f = y.current) == null || f.addEventListener("wheel", i, {
|
|
129
|
+
passive: !1
|
|
130
|
+
}), () => {
|
|
131
|
+
var u;
|
|
132
|
+
(u = y.current) == null || u.removeEventListener("wheel", i);
|
|
133
|
+
};
|
|
134
|
+
}, we = [], e[46] = Be, e[47] = we) : (Be = e[46], we = e[47]), bt(Be, we);
|
|
135
|
+
let Le;
|
|
136
|
+
e[48] !== n ? (Le = () => {
|
|
137
|
+
const i = n === "medium" ? 16 : 8, f = {};
|
|
138
|
+
if (Ye.current) {
|
|
139
|
+
const u = Ye.current.offsetWidth;
|
|
140
|
+
f.paddingInlineStart = i + u + "px";
|
|
141
|
+
}
|
|
142
|
+
if (et.current) {
|
|
143
|
+
const u = et.current.offsetWidth;
|
|
144
|
+
f.paddingInlineEnd = i + u + "px";
|
|
145
|
+
}
|
|
146
|
+
At(f), St(!0);
|
|
147
|
+
}, e[48] = n, e[49] = Le) : Le = e[49];
|
|
148
|
+
let Ee;
|
|
149
|
+
e[50] !== Ke || e[51] !== l || e[52] !== n || e[53] !== a ? (Ee = [l, a, n, Ke], e[50] = Ke, e[51] = l, e[52] = n, e[53] = a, e[54] = Ee) : Ee = e[54], gt(Le, Ee);
|
|
150
|
+
let Re, ke;
|
|
151
|
+
e[55] === Symbol.for("react.memo_cache_sentinel") ? (Re = () => {
|
|
152
|
+
Et && (async () => {
|
|
153
|
+
"fonts" in document && (await document.fonts.load('1em "STIHL Contraface Digital Text Regular"'), It(!0));
|
|
154
|
+
})();
|
|
155
|
+
}, ke = [], e[55] = Re, e[56] = ke) : (Re = e[55], ke = e[56]), gt(Re, ke);
|
|
156
|
+
const tt = n === "small";
|
|
157
|
+
let W, M, X, j, z, G, q, O, U, N, B, w, L;
|
|
158
|
+
if (e[57] !== de || e[58] !== p || e[59] !== c || e[60] !== Qe || e[61] !== Ze || e[62] !== ve || e[63] !== he || e[64] !== m || e[65] !== s || e[66] !== _e || e[67] !== g || e[68] !== o || e[69] !== be || e[70] !== b || e[71] !== F || e[72] !== P || e[73] !== _ || e[74] !== l || e[75] !== h || e[76] !== D || e[77] !== A || e[78] !== n || e[79] !== pe || e[80] !== a || e[81] !== d || e[82] !== tt || e[83] !== x) {
|
|
159
|
+
const i = E(t.affix, {
|
|
160
|
+
[t.affixSmall]: tt,
|
|
161
|
+
[t.affixDisabled]: c,
|
|
162
|
+
[t.affixReadonly]: h
|
|
163
|
+
}), f = `${s}-label`, u = `${s}-feedback`, Fe = `${s}-hint`, Y = `${s}-value-announcer`, Dt = m ? ` ${Fe}` : "";
|
|
164
|
+
let Pe;
|
|
165
|
+
e[97] !== p ? (Pe = E(t.root, p), e[97] = p, e[98] = Pe) : Pe = e[98];
|
|
166
|
+
const qt = Pe, lt = n === "small", at = l || a;
|
|
167
|
+
let $e;
|
|
168
|
+
e[99] !== o || e[100] !== be || e[101] !== lt || e[102] !== at ? ($e = E(t.input, {
|
|
169
|
+
[t.inputSmall]: lt,
|
|
170
|
+
[t.inputInvalid]: o,
|
|
171
|
+
[t.inputHasAffix]: at,
|
|
172
|
+
[t.inputIsReady]: be
|
|
173
|
+
}), e[99] = o, e[100] = be, e[101] = lt, e[102] = at, e[103] = $e) : $e = e[103];
|
|
174
|
+
const it = $e;
|
|
175
|
+
let He;
|
|
176
|
+
e[104] !== c || e[105] !== he ? (He = E(t.label, {
|
|
177
|
+
[t.labelHidden]: he,
|
|
178
|
+
[t.labelDisabled]: c
|
|
179
|
+
}), e[104] = c, e[105] = he, e[106] = He) : He = e[106];
|
|
180
|
+
const ot = He, rt = n === "small";
|
|
181
|
+
let Ve;
|
|
182
|
+
e[107] !== rt ? (Ve = E(t.secondActionButton, {
|
|
183
|
+
[t.secondActionButtonSmall]: rt
|
|
184
|
+
}), e[107] = rt, e[108] = Ve) : Ve = e[108], W = Ve;
|
|
185
|
+
const ct = n === "small";
|
|
186
|
+
let Te;
|
|
187
|
+
e[109] !== ct ? (Te = E(t.actionButton, {
|
|
188
|
+
[t.actionButtonSmall]: ct
|
|
189
|
+
}), e[109] = ct, e[110] = Te) : Te = e[110], j = Te;
|
|
190
|
+
let We;
|
|
191
|
+
e[111] !== o || e[112] !== d || e[113] !== u || e[114] !== Y ? (We = () => {
|
|
192
|
+
const r = [Y];
|
|
193
|
+
return o && d && r.push(u), r.join(" ");
|
|
194
|
+
}, e[111] = o, e[112] = d, e[113] = u, e[114] = Y, e[115] = We) : We = e[115];
|
|
195
|
+
const Nt = We;
|
|
196
|
+
let Me;
|
|
197
|
+
e[116] !== de ? (Me = () => {
|
|
198
|
+
var r;
|
|
199
|
+
if (y.current) {
|
|
200
|
+
Je(y.current.value);
|
|
201
|
+
const Bt = new Event("change", {
|
|
202
|
+
bubbles: !0
|
|
203
|
+
});
|
|
204
|
+
(r = y.current) == null || r.dispatchEvent(Bt), ht(`${de} ${y.current.value}`);
|
|
205
|
+
}
|
|
206
|
+
}, e[116] = de, e[117] = Me) : Me = e[117];
|
|
207
|
+
const Z = Me;
|
|
208
|
+
let Xe;
|
|
209
|
+
e[118] !== Z ? (Xe = () => {
|
|
210
|
+
var r;
|
|
211
|
+
(r = y.current) == null || r.stepDown(), Z();
|
|
212
|
+
}, e[118] = Z, e[119] = Xe) : Xe = e[119], M = Xe;
|
|
213
|
+
let je;
|
|
214
|
+
e[120] !== Z ? (je = () => {
|
|
215
|
+
var r;
|
|
216
|
+
(r = y.current) == null || r.stepUp(), Z();
|
|
217
|
+
}, e[120] = Z, e[121] = je) : je = e[121], X = je;
|
|
218
|
+
let ze;
|
|
219
|
+
e[122] !== _ ? (ze = (r) => {
|
|
220
|
+
Je(r.target.value), _ && _(r);
|
|
221
|
+
}, e[122] = _, e[123] = ze) : ze = e[123];
|
|
222
|
+
const ut = ze;
|
|
223
|
+
U = qt;
|
|
224
|
+
let ee;
|
|
225
|
+
e[124] !== D ? (ee = D && /* @__PURE__ */ S(kt, {}), e[124] = D, e[125] = ee) : ee = e[125], e[126] !== s || e[127] !== f || e[128] !== b || e[129] !== ot || e[130] !== ee ? (N = /* @__PURE__ */ ft("label", { className: ot, id: f, htmlFor: s, children: [
|
|
226
|
+
b,
|
|
227
|
+
ee
|
|
228
|
+
] }), e[126] = s, e[127] = f, e[128] = b, e[129] = ot, e[130] = ee, e[131] = N) : N = e[131], e[132] !== m || e[133] !== Fe ? (B = m && /* @__PURE__ */ S("div", { className: t.hint, id: Fe, children: m }), e[132] = m, e[133] = Fe, e[134] = B) : B = e[134], e[135] !== x || e[136] !== Y ? (w = /* @__PURE__ */ S("div", { "aria-live": "polite", "aria-atomic": "true", className: t.valueAnnouncer, id: Y, children: x }), e[135] = x, e[136] = Y, e[137] = w) : w = e[137], e[138] !== o || e[139] !== d || e[140] !== u ? (L = o && d && /* @__PURE__ */ S(Ct, { className: t.feedback, message: d, variant: "error", id: u }), e[138] = o, e[139] = d, e[140] = u, e[141] = L) : L = e[141], z = t.wrapper, G = l && /* @__PURE__ */ S("span", { className: E(i, t.prefix), ref: Ye, "aria-disabled": c, children: Qe });
|
|
229
|
+
const dt = `${f}${Dt}`, pt = Nt();
|
|
230
|
+
e[142] !== c || e[143] !== ve || e[144] !== ut || e[145] !== s || e[146] !== it || e[147] !== _e || e[148] !== g || e[149] !== o || e[150] !== F || e[151] !== P || e[152] !== h || e[153] !== D || e[154] !== A || e[155] !== pe || e[156] !== dt || e[157] !== pt ? (q = /* @__PURE__ */ S("input", { className: it, id: s, ...A, style: _e, ref: ve, "aria-labelledby": dt, "aria-describedby": pt, "aria-invalid": o, "aria-disabled": h, disabled: c, min: P, max: F, readOnly: h, required: D, step: pe, type: "number", value: g, onChange: ut }), e[142] = c, e[143] = ve, e[144] = ut, e[145] = s, e[146] = it, e[147] = _e, e[148] = g, e[149] = o, e[150] = F, e[151] = P, e[152] = h, e[153] = D, e[154] = A, e[155] = pe, e[156] = dt, e[157] = pt, e[158] = q) : q = e[158], O = a && /* @__PURE__ */ S("span", { className: E(i, t.suffix), ref: et, "aria-disabled": c, children: Ze }), e[57] = de, e[58] = p, e[59] = c, e[60] = Qe, e[61] = Ze, e[62] = ve, e[63] = he, e[64] = m, e[65] = s, e[66] = _e, e[67] = g, e[68] = o, e[69] = be, e[70] = b, e[71] = F, e[72] = P, e[73] = _, e[74] = l, e[75] = h, e[76] = D, e[77] = A, e[78] = n, e[79] = pe, e[80] = a, e[81] = d, e[82] = tt, e[83] = x, e[84] = W, e[85] = M, e[86] = X, e[87] = j, e[88] = z, e[89] = G, e[90] = q, e[91] = O, e[92] = U, e[93] = N, e[94] = B, e[95] = w, e[96] = L;
|
|
231
|
+
} else
|
|
232
|
+
W = e[84], M = e[85], X = e[86], j = e[87], z = e[88], G = e[89], q = e[90], O = e[91], U = e[92], N = e[93], B = e[94], w = e[95], L = e[96];
|
|
233
|
+
const nt = c || h || !!g && Number(g) <= Number(P);
|
|
234
|
+
let J;
|
|
235
|
+
e[159] !== W || e[160] !== Oe || e[161] !== M || e[162] !== H || e[163] !== n || e[164] !== nt ? (J = /* @__PURE__ */ S(xt, { ...H, hideLabel: !0, theme: "light", iconName: "minus", variant: "filled", className: W, size: n, onClick: M, disabled: nt, type: "button", children: Oe }), e[159] = W, e[160] = Oe, e[161] = M, e[162] = H, e[163] = n, e[164] = nt, e[165] = J) : J = e[165];
|
|
236
|
+
const st = c || h || !!g && Number(g) >= Number(F);
|
|
237
|
+
let K;
|
|
238
|
+
e[166] !== X || e[167] !== Ue || e[168] !== j || e[169] !== T || e[170] !== n || e[171] !== st ? (K = /* @__PURE__ */ S(xt, { ...T, hideLabel: !0, theme: "light", iconName: "plus", variant: "filled", className: j, size: n, onClick: X, disabled: st, type: "button", children: Ue }), e[166] = X, e[167] = Ue, e[168] = j, e[169] = T, e[170] = n, e[171] = st, e[172] = K) : K = e[172];
|
|
239
|
+
let Q;
|
|
240
|
+
e[173] !== z || e[174] !== G || e[175] !== q || e[176] !== O || e[177] !== J || e[178] !== K ? (Q = /* @__PURE__ */ ft("div", { className: z, children: [
|
|
241
|
+
G,
|
|
242
|
+
q,
|
|
243
|
+
O,
|
|
244
|
+
J,
|
|
245
|
+
K
|
|
246
|
+
] }), e[173] = z, e[174] = G, e[175] = q, e[176] = O, e[177] = J, e[178] = K, e[179] = Q) : Q = e[179];
|
|
247
|
+
let Ce;
|
|
248
|
+
return e[180] !== U || e[181] !== N || e[182] !== B || e[183] !== w || e[184] !== L || e[185] !== Q ? (Ce = /* @__PURE__ */ ft("div", { className: U, children: [
|
|
249
|
+
N,
|
|
250
|
+
B,
|
|
251
|
+
w,
|
|
252
|
+
L,
|
|
253
|
+
Q
|
|
254
|
+
] }), e[180] = U, e[181] = N, e[182] = B, e[183] = w, e[184] = L, e[185] = Q, e[186] = Ce) : Ce = e[186], Ce;
|
|
255
|
+
});
|
|
256
|
+
sn.displayName = "DSInputStepper";
|
|
257
|
+
function ln(R) {
|
|
258
|
+
R.preventDefault();
|
|
259
|
+
}
|
|
260
|
+
export {
|
|
261
|
+
sn as D,
|
|
262
|
+
nn as v
|
|
263
|
+
};
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as ro, jsx as io } from "react/jsx-runtime";
|
|
3
|
+
import { d as ao } from "./index.CgTHIF3K.js";
|
|
4
|
+
import { c as no } from "./index.CEyLAtio.js";
|
|
5
|
+
import { forwardRef as co } from "react";
|
|
6
|
+
import { u as lo } from "./useBreakpoint.CMOR9ZOB.js";
|
|
7
|
+
import { D as ho } from "./Icon.DGTYCv63.js";
|
|
8
|
+
import { g as so } from "./helpers.BbWkXTr3.js";
|
|
9
|
+
import '../assets/LinkButton.xMvg_ojf.css';const go = "ds-link-button_root_oblg9_1", uo = "ds-link-button_root--highlight_oblg9_75", _o = "ds-link-button_root--dark-highlight_oblg9_75", ko = "ds-link-button_root--filled_oblg9_151", mo = "ds-link-button_root--outline_oblg9_179", bo = "ds-link-button_root--ghost_oblg9_206", fo = "ds-link-button_root--ghost-flush_oblg9_231", vo = "ds-link-button_root--small_oblg9_237", Do = "ds-link-button_root--navigation_oblg9_317", po = "ds-link-button_root--dark-filled_oblg9_393", No = "ds-link-button_root--dark-outline_oblg9_450", Lo = "ds-link-button_root--dark-ghost_oblg9_506", Oo = "ds-link-button_root--dark-ghost-flush_oblg9_560", So = "ds-link-button_root--icon-left_oblg9_635", Fo = "ds-link-button_root--icon-only_oblg9_638", Io = "ds-link-button_root--icon-only-small_oblg9_647", Go = "ds-link-button_icon--navigation_oblg9_659", yo = "ds-link-button_label--hidden_oblg9_667", n = {
|
|
10
|
+
root: go,
|
|
11
|
+
rootHighlight: uo,
|
|
12
|
+
rootDarkHighlight: _o,
|
|
13
|
+
rootFilled: ko,
|
|
14
|
+
rootOutline: mo,
|
|
15
|
+
rootGhost: bo,
|
|
16
|
+
rootGhostFlush: fo,
|
|
17
|
+
rootSmall: vo,
|
|
18
|
+
rootNavigation: Do,
|
|
19
|
+
rootDarkFilled: po,
|
|
20
|
+
rootDarkOutline: No,
|
|
21
|
+
rootDarkGhost: Lo,
|
|
22
|
+
rootDarkGhostFlush: Oo,
|
|
23
|
+
rootIconLeft: So,
|
|
24
|
+
rootIconOnly: Fo,
|
|
25
|
+
rootIconOnlySmall: Io,
|
|
26
|
+
iconNavigation: Go,
|
|
27
|
+
labelHidden: yo
|
|
28
|
+
}, Co = ["medium", "small"], Vo = ["filled", "highlight", "outline", "ghost", "navigation"], Bo = ({
|
|
29
|
+
variant: f,
|
|
30
|
+
size: v,
|
|
31
|
+
theme: o
|
|
32
|
+
}) => {
|
|
33
|
+
if (f === "navigation" && (v === "small" && console.warn(so("DSLinkButton", 'A "size" prop should not be used in combination with variant="navigation". Please remove the "size" prop.')), o === "dark"))
|
|
34
|
+
throw new Error(so("DSLinkButton", 'A DSLinkButton with variant="navigation" does not support theme="dark". Please remove the "theme" prop.'));
|
|
35
|
+
}, Ho = co((f, v) => {
|
|
36
|
+
const o = ao.c(63);
|
|
37
|
+
let r, a, c, d, i, s, e, h, g, u, D, p, N, L, O, S, F;
|
|
38
|
+
o[0] !== f ? ({
|
|
39
|
+
children: a,
|
|
40
|
+
aria: r,
|
|
41
|
+
className: c,
|
|
42
|
+
download: d,
|
|
43
|
+
hideLabel: D,
|
|
44
|
+
href: i,
|
|
45
|
+
iconName: s,
|
|
46
|
+
iconPosition: p,
|
|
47
|
+
iconSource: e,
|
|
48
|
+
isFlush: N,
|
|
49
|
+
referrerPolicy: h,
|
|
50
|
+
rel: g,
|
|
51
|
+
size: L,
|
|
52
|
+
target: O,
|
|
53
|
+
theme: S,
|
|
54
|
+
variant: F,
|
|
55
|
+
...u
|
|
56
|
+
} = f, o[0] = f, o[1] = r, o[2] = a, o[3] = c, o[4] = d, o[5] = i, o[6] = s, o[7] = e, o[8] = h, o[9] = g, o[10] = u, o[11] = D, o[12] = p, o[13] = N, o[14] = L, o[15] = O, o[16] = S, o[17] = F) : (r = o[1], a = o[2], c = o[3], d = o[4], i = o[5], s = o[6], e = o[7], h = o[8], g = o[9], u = o[10], D = o[11], p = o[12], N = o[13], L = o[14], O = o[15], S = o[16], F = o[17]);
|
|
57
|
+
const T = D === void 0 ? !1 : D, eo = p === void 0 ? "left" : p, I = N === void 0 ? !1 : N, G = L === void 0 ? "medium" : L, P = O === void 0 ? "_self" : O, l = S === void 0 ? "light" : S, t = F === void 0 ? "filled" : F;
|
|
58
|
+
process.env.NODE_ENV !== "production" && Bo({
|
|
59
|
+
variant: t,
|
|
60
|
+
size: G,
|
|
61
|
+
theme: l
|
|
62
|
+
});
|
|
63
|
+
const E = t === "filled", x = t === "highlight", z = t === "outline", A = t === "ghost" && I !== !0, C = t === "navigation", V = t === "ghost" && I === !0, j = l === "dark" && t === "filled", K = l === "dark" && t === "highlight", R = l === "dark" && t === "outline", U = l === "dark" && t === "ghost" && I !== !0, M = l === "dark" && t === "ghost" && I === !0, Z = G === "small" || t === "navigation", $ = eo === "left", q = lo(T) && G === "medium" && t !== "navigation", J = lo(T) && G === "small" && t !== "navigation";
|
|
64
|
+
let y;
|
|
65
|
+
o[18] !== c || o[19] !== z || o[20] !== A || o[21] !== C || o[22] !== V || o[23] !== j || o[24] !== K || o[25] !== R || o[26] !== U || o[27] !== M || o[28] !== Z || o[29] !== $ || o[30] !== q || o[31] !== J || o[32] !== E || o[33] !== x ? (y = no(n.root, c, {
|
|
66
|
+
[n.rootFilled]: E,
|
|
67
|
+
[n.rootHighlight]: x,
|
|
68
|
+
[n.rootOutline]: z,
|
|
69
|
+
[n.rootGhost]: A,
|
|
70
|
+
[n.rootNavigation]: C,
|
|
71
|
+
[n.rootGhostFlush]: V,
|
|
72
|
+
[n.rootDarkFilled]: j,
|
|
73
|
+
[n.rootDarkHighlight]: K,
|
|
74
|
+
[n.rootDarkOutline]: R,
|
|
75
|
+
[n.rootDarkGhost]: U,
|
|
76
|
+
[n.rootDarkGhostFlush]: M,
|
|
77
|
+
[n.rootSmall]: Z,
|
|
78
|
+
[n.rootIconLeft]: $,
|
|
79
|
+
[n.rootIconOnly]: q,
|
|
80
|
+
[n.rootIconOnlySmall]: J
|
|
81
|
+
}), o[18] = c, o[19] = z, o[20] = A, o[21] = C, o[22] = V, o[23] = j, o[24] = K, o[25] = R, o[26] = U, o[27] = M, o[28] = Z, o[29] = $, o[30] = q, o[31] = J, o[32] = E, o[33] = x, o[34] = y) : y = o[34];
|
|
82
|
+
const Q = y, W = lo(T) && t !== "navigation";
|
|
83
|
+
let B;
|
|
84
|
+
o[35] !== W ? (B = no({
|
|
85
|
+
[n.labelHidden]: W
|
|
86
|
+
}), o[35] = W, o[36] = B) : B = o[36];
|
|
87
|
+
const X = B, Y = t === "navigation";
|
|
88
|
+
let H;
|
|
89
|
+
o[37] !== Y ? (H = no({
|
|
90
|
+
[n.iconNavigation]: Y
|
|
91
|
+
}), o[37] = Y, o[38] = H) : H = o[38];
|
|
92
|
+
const oo = H, to = l === "light" && t === "filled" || l === "dark" && t === "outline" || l === "dark" && t === "ghost" ? "dark" : "light", _ = i === void 0 ? "span" : "a";
|
|
93
|
+
let k;
|
|
94
|
+
o[39] !== _ || o[40] !== d || o[41] !== i || o[42] !== h || o[43] !== g || o[44] !== P ? (k = _ === "a" && {
|
|
95
|
+
href: i,
|
|
96
|
+
target: P,
|
|
97
|
+
rel: g,
|
|
98
|
+
referrerPolicy: h,
|
|
99
|
+
download: d
|
|
100
|
+
}, o[39] = _, o[40] = d, o[41] = i, o[42] = h, o[43] = g, o[44] = P, o[45] = k) : k = o[45];
|
|
101
|
+
let m;
|
|
102
|
+
o[46] !== a || o[47] !== X ? (m = /* @__PURE__ */ io("span", { className: X, children: a }), o[46] = a, o[47] = X, o[48] = m) : m = o[48];
|
|
103
|
+
let b;
|
|
104
|
+
o[49] !== oo || o[50] !== s || o[51] !== e || o[52] !== to ? (b = (s || e) && /* @__PURE__ */ io(ho, { name: s, theme: to, source: e, className: oo, "aria-hidden": "true" }), o[49] = oo, o[50] = s, o[51] = e, o[52] = to, o[53] = b) : b = o[53];
|
|
105
|
+
let w;
|
|
106
|
+
return o[54] !== _ || o[55] !== r || o[56] !== v || o[57] !== u || o[58] !== Q || o[59] !== k || o[60] !== m || o[61] !== b ? (w = /* @__PURE__ */ ro(_, { className: Q, ...k, ...r, ...u, ref: v, children: [
|
|
107
|
+
m,
|
|
108
|
+
b
|
|
109
|
+
] }), o[54] = _, o[55] = r, o[56] = v, o[57] = u, o[58] = Q, o[59] = k, o[60] = m, o[61] = b, o[62] = w) : w = o[62], w;
|
|
110
|
+
});
|
|
111
|
+
Ho.displayName = "DSLinkButton";
|
|
112
|
+
export {
|
|
113
|
+
Ho as D,
|
|
114
|
+
Co as L,
|
|
115
|
+
Vo as a,
|
|
116
|
+
Bo as v
|
|
117
|
+
};
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as b, jsxs as Q } from "react/jsx-runtime";
|
|
3
|
+
import { d as I } from "./index.CgTHIF3K.js";
|
|
4
|
+
import { isValidElement as G, useState as W, createContext as X, forwardRef as H, cloneElement as Y, useContext as q } from "react";
|
|
5
|
+
import { u as Z, a as A, b as B, c as R, d as ee, o as te, e as z, f as ne, F as se, g as oe, h as le } from "./floating-ui.react.x0F9CYgn.js";
|
|
6
|
+
import { c as j } from "./index.CEyLAtio.js";
|
|
7
|
+
import { g as P, c as T } from "./helpers.BbWkXTr3.js";
|
|
8
|
+
import { D as ce } from "./Header.DqZRryB5.js";
|
|
9
|
+
import { a as ae } from "./floating-ui.dom.C9TD1WpB.js";
|
|
10
|
+
import '../assets/MegaMenu.DX9gChtY.css';const re = "ds-mega-menu_root_11fw1_1", ie = "ds-mega-menu_content_11fw1_109", ue = "ds-mega-menu_content--variant-full_11fw1_134", de = "ds-mega-menu_backdrop_11fw1_139", V = {
|
|
11
|
+
root: re,
|
|
12
|
+
content: ie,
|
|
13
|
+
contentVariantFull: ue,
|
|
14
|
+
backdrop: de
|
|
15
|
+
}, fe = 9, me = (s) => {
|
|
16
|
+
const t = I.c(17);
|
|
17
|
+
let e;
|
|
18
|
+
t[0] !== s ? (e = s === void 0 ? {} : s, t[0] = s, t[1] = e) : e = t[1];
|
|
19
|
+
const {
|
|
20
|
+
initialOpen: n,
|
|
21
|
+
isOpen: o,
|
|
22
|
+
onOpenChange: c
|
|
23
|
+
} = e, m = n === void 0 ? !1 : n, [a, l] = W(m), d = o ?? a, r = c ?? l;
|
|
24
|
+
let i;
|
|
25
|
+
t[2] === Symbol.for("react.memo_cache_sentinel") ? (i = [te(fe)], t[2] = i) : i = t[2];
|
|
26
|
+
let u;
|
|
27
|
+
t[3] !== d || t[4] !== r ? (u = {
|
|
28
|
+
placement: "bottom-start",
|
|
29
|
+
open: d,
|
|
30
|
+
onOpenChange: r,
|
|
31
|
+
whileElementsMounted: ae,
|
|
32
|
+
strategy: "absolute",
|
|
33
|
+
transform: !1,
|
|
34
|
+
middleware: i
|
|
35
|
+
}, t[3] = d, t[4] = r, t[5] = u) : u = t[5];
|
|
36
|
+
const g = Z(u), _ = g.context;
|
|
37
|
+
let h;
|
|
38
|
+
t[6] === Symbol.for("react.memo_cache_sentinel") ? (h = {
|
|
39
|
+
enabled: !0
|
|
40
|
+
}, t[6] = h) : h = t[6];
|
|
41
|
+
const k = A(_, h), f = B(_);
|
|
42
|
+
let p;
|
|
43
|
+
t[7] === Symbol.for("react.memo_cache_sentinel") ? (p = {
|
|
44
|
+
role: "menu"
|
|
45
|
+
}, t[7] = p) : p = t[7];
|
|
46
|
+
const C = R(_, p);
|
|
47
|
+
let S;
|
|
48
|
+
t[8] !== k || t[9] !== f || t[10] !== C ? (S = [k, f, C], t[8] = k, t[9] = f, t[10] = C, t[11] = S) : S = t[11];
|
|
49
|
+
const D = ee(S);
|
|
50
|
+
let E, M;
|
|
51
|
+
return t[12] !== g || t[13] !== D || t[14] !== d || t[15] !== r ? (M = {
|
|
52
|
+
open: d,
|
|
53
|
+
setOpen: r,
|
|
54
|
+
...D,
|
|
55
|
+
...g
|
|
56
|
+
}, t[12] = g, t[13] = D, t[14] = d, t[15] = r, t[16] = M) : M = t[16], E = M, E;
|
|
57
|
+
}, Me = (s) => {
|
|
58
|
+
if (!G(s))
|
|
59
|
+
throw new Error(P("DSMegaMenu", "DSMegaMenu.Anchor child must be a valid React element."));
|
|
60
|
+
}, ge = ({
|
|
61
|
+
hasContent: s,
|
|
62
|
+
hasAnchor: t
|
|
63
|
+
}) => {
|
|
64
|
+
if (!s)
|
|
65
|
+
throw new Error(P("DSMegaMenu", "A DSMegaMenu must have a <DSMegaMenu.Content> component as a child. Please add it to the children of DSMegaMenu."));
|
|
66
|
+
if (!t)
|
|
67
|
+
throw new Error(P("DSMegaMenu", "A DSMegaMenu must have a <DSMegaMenu.Anchor> component as a child. Please add it to the children of DSMegaMenu."));
|
|
68
|
+
}, J = X(null), K = () => {
|
|
69
|
+
const s = q(J);
|
|
70
|
+
if (s == null)
|
|
71
|
+
throw new Error(P("DSMegaMenu", "Components like DSMegaMenu.Anchor or DSMegaMenu.Content must be wrapped in <DSMegaMenu />."));
|
|
72
|
+
return s;
|
|
73
|
+
}, $ = (s) => {
|
|
74
|
+
const t = I.c(9);
|
|
75
|
+
let e, n;
|
|
76
|
+
t[0] !== s ? ({
|
|
77
|
+
children: e,
|
|
78
|
+
...n
|
|
79
|
+
} = s, t[0] = s, t[1] = e, t[2] = n) : (e = t[1], n = t[2]);
|
|
80
|
+
let o;
|
|
81
|
+
t[3] !== n ? (o = {
|
|
82
|
+
...n
|
|
83
|
+
}, t[3] = n, t[4] = o) : o = t[4];
|
|
84
|
+
const c = me(o), m = T(e, $.Content), a = T(e, U);
|
|
85
|
+
process.env.NODE_ENV !== "production" && ge({
|
|
86
|
+
hasContent: m,
|
|
87
|
+
hasAnchor: a
|
|
88
|
+
});
|
|
89
|
+
let l;
|
|
90
|
+
return t[5] !== e || t[6] !== c || t[7] !== n ? (l = /* @__PURE__ */ b(J.Provider, { value: c, ...n, children: e }), t[5] = e, t[6] = c, t[7] = n, t[8] = l) : l = t[8], l;
|
|
91
|
+
}, U = H((s, t) => {
|
|
92
|
+
const e = I.c(12);
|
|
93
|
+
let n, o;
|
|
94
|
+
e[0] !== s ? ({
|
|
95
|
+
children: n,
|
|
96
|
+
...o
|
|
97
|
+
} = s, e[0] = s, e[1] = n, e[2] = o) : (n = e[1], o = e[2]), process.env.NODE_ENV !== "production" && Me(n);
|
|
98
|
+
const c = K(), m = n.ref;
|
|
99
|
+
let a;
|
|
100
|
+
e[3] !== m || e[4] !== c.refs.setReference || e[5] !== t ? (a = [c.refs.setReference, t, m], e[3] = m, e[4] = c.refs.setReference, e[5] = t, e[6] = a) : a = e[6];
|
|
101
|
+
const l = z(a);
|
|
102
|
+
if (G(n)) {
|
|
103
|
+
let d;
|
|
104
|
+
return e[7] !== n || e[8] !== c || e[9] !== o || e[10] !== l ? (d = Y(n, c.getReferenceProps({
|
|
105
|
+
ref: l,
|
|
106
|
+
...o,
|
|
107
|
+
...n.props,
|
|
108
|
+
"data-state": c.open ? "open" : "closed"
|
|
109
|
+
})), e[7] = n, e[8] = c, e[9] = o, e[10] = l, e[11] = d) : d = e[11], d;
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
U.displayName = "DSMegaMenu.Anchor";
|
|
113
|
+
const L = H((s, t) => {
|
|
114
|
+
const e = I.c(45);
|
|
115
|
+
let n, o, c;
|
|
116
|
+
e[0] !== s ? ({
|
|
117
|
+
style: c,
|
|
118
|
+
className: n,
|
|
119
|
+
...o
|
|
120
|
+
} = s, e[0] = s, e[1] = n, e[2] = o, e[3] = c) : (n = e[1], o = e[2], c = e[3]);
|
|
121
|
+
const m = K();
|
|
122
|
+
let a, l;
|
|
123
|
+
e[4] !== m ? ({
|
|
124
|
+
context: a,
|
|
125
|
+
...l
|
|
126
|
+
} = m, e[4] = m, e[5] = a, e[6] = l) : (a = e[5], l = e[6]);
|
|
127
|
+
const {
|
|
128
|
+
variant: d,
|
|
129
|
+
bannerAreaRef: r,
|
|
130
|
+
topBarAreaRef: i,
|
|
131
|
+
mainNavigationAreaRef: u
|
|
132
|
+
} = q(ce);
|
|
133
|
+
let g;
|
|
134
|
+
e[7] !== t || e[8] !== l.refs.setFloating ? (g = [l.refs.setFloating, t], e[7] = t, e[8] = l.refs.setFloating, e[9] = g) : g = e[9];
|
|
135
|
+
const _ = z(g);
|
|
136
|
+
let h;
|
|
137
|
+
e[10] === Symbol.for("react.memo_cache_sentinel") ? (h = {
|
|
138
|
+
duration: {
|
|
139
|
+
open: 400,
|
|
140
|
+
close: 400
|
|
141
|
+
}
|
|
142
|
+
}, e[10] = h) : h = e[10];
|
|
143
|
+
const {
|
|
144
|
+
isMounted: k,
|
|
145
|
+
status: f
|
|
146
|
+
} = ne(a, h);
|
|
147
|
+
let p;
|
|
148
|
+
e[11] !== n ? (p = j(V.root, n), e[11] = n, e[12] = p) : p = e[12];
|
|
149
|
+
const C = p, S = d === "full";
|
|
150
|
+
let D;
|
|
151
|
+
e[13] !== S ? (D = j(V.content, {
|
|
152
|
+
[V.contentVariantFull]: S
|
|
153
|
+
}), e[13] = S, e[14] = D) : D = e[14];
|
|
154
|
+
const E = D;
|
|
155
|
+
if (!k)
|
|
156
|
+
return null;
|
|
157
|
+
let M;
|
|
158
|
+
e[15] !== f ? (M = /* @__PURE__ */ b("div", { className: V.backdrop, "data-status": f }), e[15] = f, e[16] = M) : M = e[16];
|
|
159
|
+
let w;
|
|
160
|
+
e[17] !== (r == null ? void 0 : r.current) || e[18] !== (u == null ? void 0 : u.current) || e[19] !== (i == null ? void 0 : i.current) ? (w = () => [u == null ? void 0 : u.current, i == null ? void 0 : i.current, r == null ? void 0 : r.current].filter(Boolean), e[17] = r == null ? void 0 : r.current, e[18] = u == null ? void 0 : u.current, e[19] = i == null ? void 0 : i.current, e[20] = w) : w = e[20];
|
|
161
|
+
let x;
|
|
162
|
+
e[21] !== l.floatingStyles || e[22] !== c ? (x = {
|
|
163
|
+
...l.floatingStyles,
|
|
164
|
+
...c
|
|
165
|
+
}, e[21] = l.floatingStyles, e[22] = c, e[23] = x) : x = e[23];
|
|
166
|
+
let y;
|
|
167
|
+
e[24] !== o || e[25] !== l ? (y = l.getFloatingProps(o), e[24] = o, e[25] = l, e[26] = y) : y = e[26];
|
|
168
|
+
let F;
|
|
169
|
+
e[27] !== E || e[28] !== o.children || e[29] !== f ? (F = /* @__PURE__ */ b("div", { className: E, "data-status": f, children: o.children }), e[27] = E, e[28] = o.children, e[29] = f, e[30] = F) : F = e[30];
|
|
170
|
+
let O;
|
|
171
|
+
e[31] !== C || e[32] !== _ || e[33] !== f || e[34] !== y || e[35] !== F || e[36] !== x ? (O = /* @__PURE__ */ b("div", { ref: _, style: x, className: C, "data-status": f, ...y, children: F }), e[31] = C, e[32] = _, e[33] = f, e[34] = y, e[35] = F, e[36] = x, e[37] = O) : O = e[37];
|
|
172
|
+
let v;
|
|
173
|
+
e[38] !== a || e[39] !== O || e[40] !== w ? (v = /* @__PURE__ */ b(se, { context: a, modal: !1, outsideElementsInert: !0, getInsideElements: w, children: O }), e[38] = a, e[39] = O, e[40] = w, e[41] = v) : v = e[41];
|
|
174
|
+
let N;
|
|
175
|
+
return e[42] !== v || e[43] !== M ? (N = /* @__PURE__ */ b(oe, { children: /* @__PURE__ */ Q(le, { lockScroll: !0, children: [
|
|
176
|
+
M,
|
|
177
|
+
v
|
|
178
|
+
] }) }), e[42] = v, e[43] = M, e[44] = N) : N = e[44], N;
|
|
179
|
+
});
|
|
180
|
+
L.displayName = "DSMegaMenu.Content";
|
|
181
|
+
$.Anchor = U;
|
|
182
|
+
$.Content = L;
|
|
183
|
+
$.displayName = "DSMegaMenu";
|
|
184
|
+
export {
|
|
185
|
+
$ as D,
|
|
186
|
+
ge as a,
|
|
187
|
+
me as u,
|
|
188
|
+
Me as v
|
|
189
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as t, jsxs as g, Fragment as m } from "react/jsx-runtime";
|
|
3
|
+
import { isValidElement as h, cloneElement as f } from "react";
|
|
4
|
+
import { D as B } from "./Icon.DGTYCv63.js";
|
|
5
|
+
import { NumberIndicator as N } from "../numberindicator.Ddf3ESi7.js";
|
|
6
|
+
import '../assets/NavigationTabList.CFlVhUzS.css';const W = "ds-tabs_tabs-wrapper_ccgp4_1", w = "ds-tabs_scroll-wrapper_ccgp4_6", D = "ds-tabs_scroller_ccgp4_17", j = "ds-tabs_scroller--centered_ccgp4_28", v = "ds-tabs_tab_ccgp4_1", y = "ds-tabs_scroll-button_ccgp4_105", E = "ds-tabs_scroll-button--hidden_ccgp4_110", H = "ds-tabs_scroll-button--right_ccgp4_114", L = "ds-tabs_indicator_ccgp4_126", R = {
|
|
7
|
+
tabsWrapper: W,
|
|
8
|
+
scrollWrapper: w,
|
|
9
|
+
scroller: D,
|
|
10
|
+
scrollerCentered: j,
|
|
11
|
+
tab: v,
|
|
12
|
+
scrollButton: y,
|
|
13
|
+
scrollButtonHidden: E,
|
|
14
|
+
scrollButtonRight: H,
|
|
15
|
+
indicator: L
|
|
16
|
+
}, S = ({
|
|
17
|
+
tabs: n,
|
|
18
|
+
tabRefs: i,
|
|
19
|
+
scrollerClass: p,
|
|
20
|
+
scrollerRef: _,
|
|
21
|
+
selectedTabIndex: o,
|
|
22
|
+
handleNavigationKeydown: d,
|
|
23
|
+
setSelectedTab: b
|
|
24
|
+
}) => /* @__PURE__ */ t("ul", { className: p, ref: _, children: n.map(({
|
|
25
|
+
id: l,
|
|
26
|
+
linkComponent: r,
|
|
27
|
+
iconName: a,
|
|
28
|
+
numberIndicatorValue: e
|
|
29
|
+
}, s) => {
|
|
30
|
+
if (!h(r))
|
|
31
|
+
return null;
|
|
32
|
+
const u = f(r, {
|
|
33
|
+
// Add aria-current to the selected tab (https://www.w3.org/WAI/ARIA/apg/patterns/breadcrumb/examples/breadcrumb/)
|
|
34
|
+
"aria-current": o === s ? "page" : void 0,
|
|
35
|
+
children: /* @__PURE__ */ g(m, { children: [
|
|
36
|
+
a && /* @__PURE__ */ t(B, { name: a, "aria-hidden": "true" }),
|
|
37
|
+
r.props.children,
|
|
38
|
+
e && /* @__PURE__ */ t(N, { label: e })
|
|
39
|
+
] }),
|
|
40
|
+
className: R.tab,
|
|
41
|
+
id: l,
|
|
42
|
+
tabIndex: o === s ? 0 : -1,
|
|
43
|
+
// onKeyDown for focus handling and keyboard navigation
|
|
44
|
+
onKeyDown: (c) => d(c, s),
|
|
45
|
+
onClick: () => {
|
|
46
|
+
r.props.onClick && r.props.onClick(), b(s);
|
|
47
|
+
},
|
|
48
|
+
ref: (c) => {
|
|
49
|
+
i.current[s] = c;
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
return /* @__PURE__ */ t("li", { children: u }, l);
|
|
53
|
+
}) });
|
|
54
|
+
export {
|
|
55
|
+
S as N,
|
|
56
|
+
R as s
|
|
57
|
+
};
|