@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
|
@@ -1,17 +1,89 @@
|
|
|
1
1
|
import { Format } from '../shared';
|
|
2
|
-
|
|
2
|
+
import { JSX } from 'react';
|
|
3
3
|
type GetMetaIconLinksOptions = {
|
|
4
4
|
format?: Format;
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Retrieves meta icon links in the specified format to be injected into the <head> at build time.
|
|
8
|
+
* Additional information can be found here: https://main--63440bbb95889041542a5ba3.chromatic.com/?path=/docs/utilities-partials-meta-icons--documentation
|
|
9
|
+
*
|
|
10
|
+
* @param {GetMetaIconLinksOptions} [options] - Optional settings for formatting the returned <link> elements.
|
|
11
|
+
* @param {'html' | 'jsx' | 'cra'} [options.format='jsx'] - Specifies the format of the output.
|
|
12
|
+
* - 'jsx' (default): Returns a JSX.Element with meta icon links.
|
|
13
|
+
* - 'html': Returns the styles as a raw HTML string.
|
|
14
|
+
* - 'cra': Returns HTML formatted links similar to 'html', intended for Create React App usage.
|
|
15
|
+
* @returns {string | JSX.Element} - The meta icon links in the specified format.
|
|
16
|
+
*
|
|
17
|
+
* @throws {Error} Throws an error if executed in a browser environment.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* // Returns a JSX.Element with meta icon links
|
|
21
|
+
* const jsxLinks = getMetaIconLinks();
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* // Get styles as JSX element.
|
|
25
|
+
* const jsxLinks = getMetaIconLinks({ format: 'jsx' });
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* // Returns <link> elements as an HTML string.
|
|
29
|
+
* const htmlLinks = getMetaIconLinks({ format: 'cra' });
|
|
30
|
+
*/
|
|
31
|
+
export declare function getMetaIconLinks(options: {
|
|
7
32
|
format: 'html';
|
|
8
33
|
}): string;
|
|
9
|
-
export declare function getMetaIconLinks(
|
|
34
|
+
export declare function getMetaIconLinks(options?: {
|
|
10
35
|
format: 'jsx' | 'cra';
|
|
11
36
|
}): JSX.Element;
|
|
12
|
-
export declare function getMetaIconLinks(
|
|
37
|
+
export declare function getMetaIconLinks(options?: GetMetaIconLinksOptions): string | JSX.Element;
|
|
13
38
|
type GetResetStylesOptions = {
|
|
14
39
|
format?: Exclude<Format, 'cra'>;
|
|
15
40
|
};
|
|
16
|
-
|
|
41
|
+
/**
|
|
42
|
+
* Retrieves reset styles to be injected into the <head> at build time, that ensure a consistent look for all components across the supported browsers.
|
|
43
|
+
* Additional information can be found here: https://main--63440bbb95889041542a5ba3.chromatic.com/?path=/docs/utilities-partials-css-reset--documentation
|
|
44
|
+
*
|
|
45
|
+
* @param {GetResetStylesOptions} [options] - Optional settings for formatting the returned <style> elements.
|
|
46
|
+
* @param {'jsx' | 'html'} [options.format='jsx'] - Specifies the format of the output.
|
|
47
|
+
* - 'jsx' (default): Returns a JSX.Element with <style> elements.
|
|
48
|
+
* - 'html': Returns the styles as a raw HTML string.
|
|
49
|
+
* @returns {string | JSX.Element} The reset styles formatted as a string (HTML) or JSX element.
|
|
50
|
+
*
|
|
51
|
+
* @throws {Error} Throws an error if executed in a browser environment.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* // Get reset styles as JSX element.
|
|
55
|
+
* const jsxResetStyles: JSX.Element = getResetStyles();
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* // Get reset styles as an HTML string.
|
|
59
|
+
* const htmlResetStyles: string = getResetStyles({ format: 'html' });
|
|
60
|
+
*/
|
|
61
|
+
export declare function getResetStyles(options?: GetResetStylesOptions): string | JSX.Element;
|
|
62
|
+
type GetSSRStylesOptions = {
|
|
63
|
+
format?: Exclude<Format, 'cra'>;
|
|
64
|
+
};
|
|
65
|
+
declare const COMPONENT_NAME: readonly ["DSAccordion", "DSActionButton", "DSActionLink", "DSAriaLiveRegions", "DSBanner", "DSBreadcrumb", "DSButton", "DSButtonRound", "DSCheckbox", "DSCheckboxGroup", "DSChipGroup", "DSCombobox", "DSDialog", "DSDrawer", "DSFieldset", "DSFlag", "DSFloatingActionButton", "DSHeader", "DSHeading", "DSIcon", "DSInput", "DSInputFile", "DSInputNumber", "DSInputPassword", "DSInputSearch", "DSLink", "DSLinkButton", "DSLinkCard", "DSLogo", "DSMegaMenu", "DSNavigationTabs", "DSNotification", "DSPopover", "DSRadioGroup", "DSScroller", "DSSelect", "DSSkipToContent", "DSSlider", "DSSpinner", "DSStepper", "DSSwitch", "DSSystemFeedback", "DSTabs", "DSText", "DSTextarea", "DSTextUtility", "DSTitle", "DSToastManager", "DSTopBar"];
|
|
66
|
+
export type ComponentName = (typeof COMPONENT_NAME)[number];
|
|
67
|
+
/**
|
|
68
|
+
* Retrieves server-side rendered (SSR) styles for the specified components to be injected into the <head> at build time.
|
|
69
|
+
* Additional information can be found here: https://main--63440bbb95889041542a5ba3.chromatic.com/?path=/docs/utilities-partials-ssr-styles--documentation
|
|
70
|
+
*
|
|
71
|
+
* @param {ComponentName[]} componentNames - An array of component names for which styles are required.
|
|
72
|
+
* @param {GetSSRStylesOptions} [options] - Optional settings for formatting the returned <style> elements.
|
|
73
|
+
* @param {'jsx' | 'html'} [options.format='jsx'] - Specifies the format of the output.
|
|
74
|
+
* - 'jsx' (default): Returns a JSX.Element with <style> elements.
|
|
75
|
+
* - 'html': Returns styles as HTML string.
|
|
76
|
+
* @returns {string | JSX.Element} The styles for the specified components, formatted as either a string (HTML) or JSX element.
|
|
77
|
+
*
|
|
78
|
+
* @throws {Error} Throws an error if executed in a browser environment.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* // Get styles as JSX element.
|
|
82
|
+
* const jsxStyles: JSX.Element = getSSRStyles(['DSButton', 'DSTabs'], { format: 'jsx' });
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* // Get <style> elements as an HTML string.
|
|
86
|
+
* const htmlStyles: string = getSSRStyles(['DSButton', 'DSTabs'], { format: 'html' });
|
|
87
|
+
*/
|
|
88
|
+
export declare function getSSRStyles(componentNames: ComponentName[], options?: GetSSRStylesOptions): string | JSX.Element;
|
|
17
89
|
export {};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 512 512"><path fill="#F37A1F" d="M0 0h512v512H0z"/><path fill="#fff" fill-rule="evenodd" d="M44 222v30l212-96 212 96v-30l-212-96-212 96Zm26 35v129h28V274.5h316V386h28V257l-186-85-186 85Zm328 59v-26H114v26h284Z" clip-rule="evenodd"/></svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "react/jsx-runtime";
|
|
3
|
+
import "./chunks/index.cKLI89Eg.js";
|
|
4
|
+
import { D as a } from "./chunks/Popover.C5wtha5l.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import "./chunks/floating-ui.react.CP5A99-c.js";
|
|
7
|
+
import "./chunks/index.DQOqod3i.js";
|
|
8
|
+
import "./chunks/helpers.CexwVao7.js";
|
|
9
|
+
import "./chunks/Button.DpGeheky.js";
|
|
10
|
+
export {
|
|
11
|
+
a as DSPopover
|
|
12
|
+
};
|
package/popover.d.ts
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as x, jsxs as fe } from "react/jsx-runtime";
|
|
3
|
+
import { d as pe } from "./chunks/index.cKLI89Eg.js";
|
|
4
|
+
import { c as H } from "./chunks/index.DQOqod3i.js";
|
|
5
|
+
import { forwardRef as Ce, useRef as me, useState as ye, useEffect as ke } from "react";
|
|
6
|
+
import './assets/radio.l9OTraQU.css';const _e = (B) => B.replace(/\s+/g, ""), De = "ds-radio_root_14ige_1", Ne = "ds-radio_root--disabled_14ige_24", We = "ds-radio_root--with-custom-area_14ige_27", xe = "ds-radio_root--with-custom-area--above_14ige_30", He = "ds-radio_radio_14ige_38", Be = "ds-radio_dot_14ige_56", Ue = "ds-radio_radio--invalid_14ige_80", Ie = "ds-radio_label_14ige_85", Se = "ds-radio_label--bold_14ige_102", $e = "ds-radio_label--with-custom-area_14ige_113", we = "ds-radio_custom-area_14ige_117", je = "ds-radio_custom-area--disabled_14ige_125", Ee = "ds-radio_custom-area--above_14ige_128", Ve = "ds-radio_hint_14ige_135", Oe = "ds-radio_hint--visible_14ige_159", Re = "ds-radio_hint--unchecked-hidden_14ige_163", qe = "ds-radio_input_14ige_169", t = {
|
|
7
|
+
root: De,
|
|
8
|
+
rootDisabled: Ne,
|
|
9
|
+
rootWithCustomArea: We,
|
|
10
|
+
rootWithCustomAreaAbove: xe,
|
|
11
|
+
radio: He,
|
|
12
|
+
dot: Be,
|
|
13
|
+
radioInvalid: Ue,
|
|
14
|
+
label: Ie,
|
|
15
|
+
labelBold: Se,
|
|
16
|
+
labelWithCustomArea: $e,
|
|
17
|
+
customArea: we,
|
|
18
|
+
customAreaDisabled: je,
|
|
19
|
+
customAreaAbove: Ee,
|
|
20
|
+
hint: Ve,
|
|
21
|
+
hintVisible: Oe,
|
|
22
|
+
hintUncheckedHidden: Re,
|
|
23
|
+
input: qe
|
|
24
|
+
}, ze = Ce((B, _) => {
|
|
25
|
+
const e = pe.c(92);
|
|
26
|
+
let U, b, i, u, l, d, r, h, A, I, S, $, w, j, E, c;
|
|
27
|
+
e[0] !== B ? ({
|
|
28
|
+
label: d,
|
|
29
|
+
name: r,
|
|
30
|
+
value: c,
|
|
31
|
+
checked: U,
|
|
32
|
+
className: b,
|
|
33
|
+
customArea: i,
|
|
34
|
+
isCustomAreaAbove: I,
|
|
35
|
+
defaultChecked: S,
|
|
36
|
+
disabled: $,
|
|
37
|
+
fieldsetId: u,
|
|
38
|
+
hint: l,
|
|
39
|
+
invalid: w,
|
|
40
|
+
isBold: j,
|
|
41
|
+
hideUncheckedHint: E,
|
|
42
|
+
onChange: h,
|
|
43
|
+
...A
|
|
44
|
+
} = B, e[0] = B, e[1] = U, e[2] = b, e[3] = i, e[4] = u, e[5] = l, e[6] = d, e[7] = r, e[8] = h, e[9] = A, e[10] = I, e[11] = S, e[12] = $, e[13] = w, e[14] = j, e[15] = E, e[16] = c) : (U = e[1], b = e[2], i = e[3], u = e[4], l = e[5], d = e[6], r = e[7], h = e[8], A = e[9], I = e[10], S = e[11], $ = e[12], w = e[13], j = e[14], E = e[15], c = e[16]);
|
|
45
|
+
const f = I === void 0 ? !1 : I, be = S === void 0 ? !1 : S, s = $ === void 0 ? !1 : $, v = w === void 0 ? !1 : w, Z = j === void 0 ? !1 : j, n = E === void 0 ? !1 : E, Ae = me(null), o = me(null), [ve, ge] = ye(be), V = U !== void 0, a = V ? U : ve;
|
|
46
|
+
let O, R;
|
|
47
|
+
e[17] !== a || e[18] !== n ? (O = () => {
|
|
48
|
+
o.current && (n ? (o.current.style.height === "0px" || o.current.style.height === "") && a ? (o.current.style.height = `${o.current.scrollHeight}px`, o.current.style.opacity = "1") : a || (o.current.style.opacity = "0", o.current.style.height = "0px", o.current.style.pointerEvents = "none") : (o.current.style.height === "0px" || o.current.style.height === "") && (o.current.style.height = "auto", o.current.style.opacity = "1"));
|
|
49
|
+
}, R = [o, a, n], e[17] = a, e[18] = n, e[19] = O, e[20] = R) : (O = e[19], R = e[20]), ke(O, R);
|
|
50
|
+
const ee = !!i, te = !!i && f;
|
|
51
|
+
let q;
|
|
52
|
+
e[21] !== b || e[22] !== s || e[23] !== te || e[24] !== ee ? (q = H(t.root, {
|
|
53
|
+
[t.rootDisabled]: s,
|
|
54
|
+
[t.rootWithCustomArea]: ee,
|
|
55
|
+
[t.rootWithCustomAreaAbove]: te
|
|
56
|
+
}, b), e[21] = b, e[22] = s, e[23] = te, e[24] = ee, e[25] = q) : q = e[25];
|
|
57
|
+
const se = q, oe = !!i;
|
|
58
|
+
let z;
|
|
59
|
+
e[26] !== Z || e[27] !== oe ? (z = H(t.label, {
|
|
60
|
+
[t.labelBold]: Z,
|
|
61
|
+
[t.labelWithCustomArea]: oe
|
|
62
|
+
}), e[26] = Z, e[27] = oe, e[28] = z) : z = e[28];
|
|
63
|
+
const ie = z;
|
|
64
|
+
let F;
|
|
65
|
+
e[29] !== a || e[30] !== n || e[31] !== l ? (F = () => !n && l ? !0 : !!(n && l && a), e[29] = a, e[30] = n, e[31] = l, e[32] = F) : F = e[32];
|
|
66
|
+
const G = F, le = n && !G();
|
|
67
|
+
let J;
|
|
68
|
+
e[33] !== G || e[34] !== le ? (J = H(t.hint, {
|
|
69
|
+
[t.hintUncheckedHidden]: le,
|
|
70
|
+
[t.hintVisible]: G()
|
|
71
|
+
}), e[33] = G, e[34] = le, e[35] = J) : J = e[35];
|
|
72
|
+
const ae = J;
|
|
73
|
+
let K;
|
|
74
|
+
e[36] !== v ? (K = H(t.radio, {
|
|
75
|
+
[t.radioInvalid]: v
|
|
76
|
+
}), e[36] = v, e[37] = K) : K = e[37];
|
|
77
|
+
const re = K;
|
|
78
|
+
let L;
|
|
79
|
+
e[38] !== s ? (L = H(t.customArea, {
|
|
80
|
+
[t.customAreaDisabled]: s
|
|
81
|
+
}), e[38] = s, e[39] = L) : L = e[39];
|
|
82
|
+
const ce = L;
|
|
83
|
+
let M;
|
|
84
|
+
e[40] !== s ? (M = H(t.customArea, t.customAreaAbove, {
|
|
85
|
+
[t.customAreaDisabled]: s
|
|
86
|
+
}), e[40] = s, e[41] = M) : M = e[41];
|
|
87
|
+
const ne = M;
|
|
88
|
+
let P;
|
|
89
|
+
e[42] !== s || e[43] !== V || e[44] !== h ? (P = (m) => {
|
|
90
|
+
if (s) {
|
|
91
|
+
m.preventDefault();
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
V || ge(m.target.checked), h && h(m);
|
|
95
|
+
}, e[42] = s, e[43] = V, e[44] = h, e[45] = P) : P = e[45];
|
|
96
|
+
const de = P;
|
|
97
|
+
let Q;
|
|
98
|
+
e[46] !== l || e[47] !== r || e[48] !== c ? (Q = l ? `${_e(r)}-${_e(c)}-description` : void 0, e[46] = l, e[47] = r, e[48] = c, e[49] = Q) : Q = e[49];
|
|
99
|
+
const g = Q;
|
|
100
|
+
let T;
|
|
101
|
+
e[50] !== g || e[51] !== u || e[52] !== v ? (T = [v && u && `${u}-feedback`, g].filter(Boolean).join(" ") || void 0, e[50] = g, e[51] = u, e[52] = v, e[53] = T) : T = e[53];
|
|
102
|
+
const ue = T;
|
|
103
|
+
let p;
|
|
104
|
+
e[54] !== _ ? (p = (m) => {
|
|
105
|
+
typeof _ == "function" ? _(m) : _ !== null && (_.current = m), Ae.current = m;
|
|
106
|
+
}, e[54] = _, e[55] = p) : p = e[55];
|
|
107
|
+
const he = typeof d == "string" ? d : void 0;
|
|
108
|
+
let C;
|
|
109
|
+
e[56] !== ue || e[57] !== a || e[58] !== s || e[59] !== de || e[60] !== r || e[61] !== A || e[62] !== p || e[63] !== he || e[64] !== c ? (C = /* @__PURE__ */ x("input", { type: "radio", value: c, name: r, className: t.input, ref: p, onChange: de, ...A, disabled: s, checked: a, "aria-label": he, "aria-describedby": ue }), e[56] = ue, e[57] = a, e[58] = s, e[59] = de, e[60] = r, e[61] = A, e[62] = p, e[63] = he, e[64] = c, e[65] = C) : C = e[65];
|
|
110
|
+
let X;
|
|
111
|
+
e[66] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (X = /* @__PURE__ */ x("div", { className: t.dot }), e[66] = X) : X = e[66];
|
|
112
|
+
let y;
|
|
113
|
+
e[67] !== re ? (y = /* @__PURE__ */ x("span", { className: re, children: X }), e[67] = re, e[68] = y) : y = e[68];
|
|
114
|
+
let k;
|
|
115
|
+
e[69] !== i || e[70] !== ne || e[71] !== f ? (k = i && f && /* @__PURE__ */ x("div", { className: ne, children: i }), e[69] = i, e[70] = ne, e[71] = f, e[72] = k) : k = e[72];
|
|
116
|
+
let D;
|
|
117
|
+
e[73] !== i || e[74] !== ce || e[75] !== f ? (D = i && !f && /* @__PURE__ */ x("div", { className: ce, children: i }), e[73] = i, e[74] = ce, e[75] = f, e[76] = D) : D = e[76];
|
|
118
|
+
let N;
|
|
119
|
+
e[77] !== g || e[78] !== l || e[79] !== ae ? (N = /* @__PURE__ */ x("span", { id: g, className: ae, ref: o, children: l }), e[77] = g, e[78] = l, e[79] = ae, e[80] = N) : N = e[80];
|
|
120
|
+
let W;
|
|
121
|
+
e[81] !== d || e[82] !== ie || e[83] !== D || e[84] !== N ? (W = /* @__PURE__ */ fe("span", { className: ie, children: [
|
|
122
|
+
d,
|
|
123
|
+
D,
|
|
124
|
+
N
|
|
125
|
+
] }), e[81] = d, e[82] = ie, e[83] = D, e[84] = N, e[85] = W) : W = e[85];
|
|
126
|
+
let Y;
|
|
127
|
+
return e[86] !== se || e[87] !== C || e[88] !== y || e[89] !== k || e[90] !== W ? (Y = /* @__PURE__ */ fe("label", { className: se, children: [
|
|
128
|
+
C,
|
|
129
|
+
y,
|
|
130
|
+
k,
|
|
131
|
+
W
|
|
132
|
+
] }), e[86] = se, e[87] = C, e[88] = y, e[89] = k, e[90] = W, e[91] = Y) : Y = e[91], Y;
|
|
133
|
+
});
|
|
134
|
+
ze.displayName = "DSRadio";
|
|
135
|
+
export {
|
|
136
|
+
ze as DSRadio
|
|
137
|
+
};
|
package/radio.d.ts
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "react/jsx-runtime";
|
|
3
|
+
import "./chunks/index.cKLI89Eg.js";
|
|
4
|
+
import "./chunks/index.DQOqod3i.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import "./chunks/Fieldset.7WM7w62l.js";
|
|
7
|
+
import "./radio.DxdVKoxe.js";
|
|
8
|
+
import { D as s } from "./chunks/RadioGroup.B-qTH31u.js";
|
|
9
|
+
export {
|
|
10
|
+
s as DSRadioGroup
|
|
11
|
+
};
|
package/radiogroup.d.ts
CHANGED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as H, jsx as i } from "react/jsx-runtime";
|
|
3
|
+
import { c as a } from "./chunks/index.DQOqod3i.js";
|
|
4
|
+
import { forwardRef as I, useState as _, useRef as d } from "react";
|
|
5
|
+
import { i as v, g as S } from "./chunks/is-animation-disabled.B-V_68K-.js";
|
|
6
|
+
import { g as W } from "./chunks/helpers.CexwVao7.js";
|
|
7
|
+
import { u as R } from "./chunks/useIsomorphicLayoutEffect.CnJ9AMFS.js";
|
|
8
|
+
import "./chunks/index.cKLI89Eg.js";
|
|
9
|
+
import { D as L } from "./chunks/Button.DpGeheky.js";
|
|
10
|
+
import './assets/scroller.BGlPnnPD.css';function P(...u) {
|
|
11
|
+
return (l) => {
|
|
12
|
+
for (const s of u)
|
|
13
|
+
s && (typeof s == "function" ? s(l) : s.current = l);
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
const T = "ds-scroller_root_3ktti_1", M = "ds-scroller_scroll-wrapper_3ktti_6", j = "ds-scroller_scroller_3ktti_45", A = "ds-scroller_scroll-button_3ktti_60", O = "ds-scroller_scroll-button--hidden_3ktti_65", q = "ds-scroller_scroll-button--right_3ktti_69", o = {
|
|
17
|
+
root: T,
|
|
18
|
+
scrollWrapper: M,
|
|
19
|
+
scroller: j,
|
|
20
|
+
scrollButton: A,
|
|
21
|
+
scrollButtonHidden: O,
|
|
22
|
+
scrollButtonRight: q
|
|
23
|
+
}, V = I(({
|
|
24
|
+
children: u,
|
|
25
|
+
className: l,
|
|
26
|
+
scrollerClassName: s,
|
|
27
|
+
scrollerButtonClassName: h,
|
|
28
|
+
scrollToPosition: n,
|
|
29
|
+
...x
|
|
30
|
+
}, k) => {
|
|
31
|
+
const [m, w] = _(!1), [p, N] = _(!1), c = d(null), t = d(null), y = d(!1), f = () => {
|
|
32
|
+
g();
|
|
33
|
+
};
|
|
34
|
+
R(() => {
|
|
35
|
+
const r = new ResizeObserver(f);
|
|
36
|
+
return t.current && r.observe(t.current), () => {
|
|
37
|
+
r.disconnect();
|
|
38
|
+
};
|
|
39
|
+
}, []), R(() => {
|
|
40
|
+
const r = [
|
|
41
|
+
// utility large bold -- assuming that it is used with DSButton or DSLinkButton variant="navigation"
|
|
42
|
+
"18px 'STIHL Contraface Digital Text Bold'"
|
|
43
|
+
];
|
|
44
|
+
return Promise.all(r.map((e) => document.fonts.load(e))).then(() => {
|
|
45
|
+
y.current = !0, g(), D();
|
|
46
|
+
}).catch((e) => {
|
|
47
|
+
throw new Error(W("DSScroller", `The component requires the fonts to be loaded: ${e}`));
|
|
48
|
+
}), t.current?.addEventListener("scroll", f), () => {
|
|
49
|
+
t.current?.removeEventListener("scroll", f);
|
|
50
|
+
};
|
|
51
|
+
}, [n]);
|
|
52
|
+
const D = () => {
|
|
53
|
+
t.current && n?.scrollPosition && t.current.scrollTo({
|
|
54
|
+
left: n.scrollPosition,
|
|
55
|
+
behavior: v() || !n.isSmooth ? "instant" : "smooth"
|
|
56
|
+
});
|
|
57
|
+
}, g = () => {
|
|
58
|
+
if (t.current && c.current) {
|
|
59
|
+
const r = S(t.current), e = S(c.current);
|
|
60
|
+
w(e.left < r.left), N(e.right > r.right + 4);
|
|
61
|
+
}
|
|
62
|
+
}, b = (r) => {
|
|
63
|
+
const e = z(r);
|
|
64
|
+
t.current?.scrollTo({
|
|
65
|
+
left: e,
|
|
66
|
+
behavior: v() ? "instant" : "smooth"
|
|
67
|
+
});
|
|
68
|
+
}, z = (r) => {
|
|
69
|
+
if (!c.current || !t.current)
|
|
70
|
+
return 0;
|
|
71
|
+
const {
|
|
72
|
+
scrollLeft: e,
|
|
73
|
+
offsetWidth: E
|
|
74
|
+
} = t.current, B = Math.round(E * 0.2);
|
|
75
|
+
return r === "next" ? e + B : e - B;
|
|
76
|
+
}, C = a(o.scroller, s);
|
|
77
|
+
return /* @__PURE__ */ H("div", { className: a(o.root, l), ...x, children: [
|
|
78
|
+
/* @__PURE__ */ i(
|
|
79
|
+
"div",
|
|
80
|
+
{
|
|
81
|
+
className: o.scrollWrapper,
|
|
82
|
+
ref: P(t, k),
|
|
83
|
+
tabIndex: m || p ? 0 : -1,
|
|
84
|
+
children: /* @__PURE__ */ i("div", { className: C, ref: c, children: u })
|
|
85
|
+
}
|
|
86
|
+
),
|
|
87
|
+
/* @__PURE__ */ i(L, { variant: "filled", className: a(o.scrollButton, h, {
|
|
88
|
+
[o.scrollButtonHidden]: !m
|
|
89
|
+
}), hideLabel: !0, iconName: "chevron-left", tabIndex: -1, size: "small", type: "button", onClick: () => b("prev"), children: "Left" }),
|
|
90
|
+
/* @__PURE__ */ i(L, { variant: "filled", className: a(o.scrollButton, o.scrollButtonRight, h, {
|
|
91
|
+
[o.scrollButtonHidden]: !p
|
|
92
|
+
}), hideLabel: !0, iconName: "chevron-right", tabIndex: -1, size: "small", type: "button", onClick: () => b("next"), children: "Right" })
|
|
93
|
+
] });
|
|
94
|
+
});
|
|
95
|
+
V.displayName = "DSScroller";
|
|
96
|
+
export {
|
|
97
|
+
V as DSScroller
|
|
98
|
+
};
|
package/scroller.d.ts
ADDED
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "react/jsx-runtime";
|
|
3
|
+
import "./chunks/index.DQOqod3i.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "./chunks/useBreakpoint.1txsny17.js";
|
|
6
|
+
import "./chunks/index.cKLI89Eg.js";
|
|
7
|
+
import "./asterisk.Dwtdwpkq.js";
|
|
8
|
+
import "./chunks/Icon.m6sMB6vl.js";
|
|
9
|
+
import "./chunks/Popover.C5wtha5l.js";
|
|
10
|
+
import "./chunks/SystemFeedback.DFN6Y2cw.js";
|
|
11
|
+
import { D as S } from "./chunks/Select.DrDVi9lg.js";
|
|
12
|
+
export {
|
|
13
|
+
S as DSSelect
|
|
14
|
+
};
|
package/select.d.ts
CHANGED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
3
|
+
import { d as g } from "./chunks/index.cKLI89Eg.js";
|
|
4
|
+
import { c as w } from "./chunks/index.DQOqod3i.js";
|
|
5
|
+
import { g as S } from "./chunks/helpers.CexwVao7.js";
|
|
6
|
+
import { forwardRef as T } from "react";
|
|
7
|
+
import { D as _ } from "./chunks/LinkButton.CMjq2FKc.js";
|
|
8
|
+
import './assets/skiptocontent.CTSDC_kG.css';const v = "ds-skip-to-content_root_uqkjt_1", C = "ds-skip-to-content_root--dark_uqkjt_8", D = {
|
|
9
|
+
root: v,
|
|
10
|
+
rootDark: C
|
|
11
|
+
}, E = T((m, d) => {
|
|
12
|
+
const t = g.c(16);
|
|
13
|
+
let o, e, s, r, n;
|
|
14
|
+
t[0] !== m ? ({
|
|
15
|
+
children: s,
|
|
16
|
+
className: o,
|
|
17
|
+
targetElementId: r,
|
|
18
|
+
theme: n,
|
|
19
|
+
...e
|
|
20
|
+
} = m, t[0] = m, t[1] = o, t[2] = e, t[3] = s, t[4] = r, t[5] = n) : (o = t[1], e = t[2], s = t[3], r = t[4], n = t[5]);
|
|
21
|
+
const h = s === void 0 ? "Skip to main content" : s, a = r === void 0 ? "main" : r, i = n === void 0 ? "light" : n;
|
|
22
|
+
a.startsWith("#") && console.warn(S("DSSkipToContent", 'The targetElementId should not start with a "#" character. Please provide the id of the element you want to skip to.')), (a.startsWith("http") || a.startsWith(".")) && console.warn(S("DSSkipToContent", 'The targetElementId should not start with "http" or ".". Please provide the id of the element you want to skip to.'));
|
|
23
|
+
const p = i === "dark";
|
|
24
|
+
let l;
|
|
25
|
+
t[6] !== o || t[7] !== p ? (l = w(D.root, o, {
|
|
26
|
+
[D.rootDark]: p
|
|
27
|
+
}), t[6] = o, t[7] = p, t[8] = l) : l = t[8];
|
|
28
|
+
const k = l, f = `#${a}`;
|
|
29
|
+
let c;
|
|
30
|
+
return t[9] !== h || t[10] !== d || t[11] !== e || t[12] !== k || t[13] !== f || t[14] !== i ? (c = /* @__PURE__ */ u(_, { ...e, className: k, href: f, theme: i, ref: d, children: h }), t[9] = h, t[10] = d, t[11] = e, t[12] = k, t[13] = f, t[14] = i, t[15] = c) : c = t[15], c;
|
|
31
|
+
});
|
|
32
|
+
E.displayName = "DSSkipToContent";
|
|
33
|
+
export {
|
|
34
|
+
E as DSSkipToContent
|
|
35
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "react/jsx-runtime";
|
|
3
|
+
import "./chunks/index.cKLI89Eg.js";
|
|
4
|
+
import "./chunks/index.DQOqod3i.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import "./chunks/useBreakpoint.1txsny17.js";
|
|
7
|
+
import "./input.MZXe6rlg.js";
|
|
8
|
+
import "./chunks/Popover.C5wtha5l.js";
|
|
9
|
+
import { D } from "./chunks/Slider.DGMrDfWv.js";
|
|
10
|
+
export {
|
|
11
|
+
D as DSSlider
|
|
12
|
+
};
|
package/slider.d.ts
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as x, jsx as w } from "react/jsx-runtime";
|
|
3
|
+
import { d as y } from "./chunks/index.cKLI89Eg.js";
|
|
4
|
+
import { c as L } from "./chunks/index.DQOqod3i.js";
|
|
5
|
+
import { D as v } from "./chunks/Icon.m6sMB6vl.js";
|
|
6
|
+
import './assets/spinner.C7QSv7jc.css';const I = "ds-spinner_root_awbzc_1", N = "ds-spinner_root-size-small_awbzc_10", O = "ds-spinner_root-size-medium_awbzc_14", R = "ds-spinner_root-size-large_awbzc_18", D = "ds-spinner_root-size-x-large_awbzc_22", M = "ds-spinner_root-size-inherit_awbzc_26", X = "ds-spinner_screenReaderOnly_awbzc_51", o = {
|
|
7
|
+
root: I,
|
|
8
|
+
rootSizeSmall: N,
|
|
9
|
+
rootSizeMedium: O,
|
|
10
|
+
rootSizeLarge: R,
|
|
11
|
+
rootSizeXLarge: D,
|
|
12
|
+
rootSizeInherit: M,
|
|
13
|
+
screenReaderOnly: X
|
|
14
|
+
}, k = (d) => {
|
|
15
|
+
const e = y.c(21);
|
|
16
|
+
let l, t, r, i, n;
|
|
17
|
+
e[0] !== d ? ({
|
|
18
|
+
aria: l,
|
|
19
|
+
className: t,
|
|
20
|
+
size: i,
|
|
21
|
+
theme: n,
|
|
22
|
+
...r
|
|
23
|
+
} = d, e[0] = d, e[1] = l, e[2] = t, e[3] = r, e[4] = i, e[5] = n) : (l = e[1], t = e[2], r = e[3], i = e[4], n = e[5]);
|
|
24
|
+
const a = i === void 0 ? "small" : i, _ = n === void 0 ? "light" : n, S = a === "small", p = a === "medium", f = a === "large", g = a === "x-large", h = a === "inherit";
|
|
25
|
+
let c;
|
|
26
|
+
e[6] !== t || e[7] !== S || e[8] !== p || e[9] !== f || e[10] !== g || e[11] !== h ? (c = L(o.root, t, {
|
|
27
|
+
[o.rootSizeSmall]: S,
|
|
28
|
+
[o.rootSizeMedium]: p,
|
|
29
|
+
[o.rootSizeLarge]: f,
|
|
30
|
+
[o.rootSizeXLarge]: g,
|
|
31
|
+
[o.rootSizeInherit]: h
|
|
32
|
+
}), e[6] = t, e[7] = S, e[8] = p, e[9] = f, e[10] = g, e[11] = h, e[12] = c) : c = e[12];
|
|
33
|
+
const b = c, u = l?.["aria-label"] || void 0;
|
|
34
|
+
let m;
|
|
35
|
+
e[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ w("span", { className: o.screenReaderOnly, children: " " }), e[13] = m) : m = e[13];
|
|
36
|
+
let s;
|
|
37
|
+
e[14] !== _ ? (s = /* @__PURE__ */ w(v, { name: "loading-spinner", theme: _, focusable: "false", "aria-hidden": "true" }), e[14] = _, e[15] = s) : s = e[15];
|
|
38
|
+
let z;
|
|
39
|
+
return e[16] !== r || e[17] !== b || e[18] !== s || e[19] !== u ? (z = /* @__PURE__ */ x("span", { className: b, role: "alert", "aria-live": "assertive", "aria-label": u, ...r, children: [
|
|
40
|
+
m,
|
|
41
|
+
s
|
|
42
|
+
] }), e[16] = r, e[17] = b, e[18] = s, e[19] = u, e[20] = z) : z = e[20], z;
|
|
43
|
+
};
|
|
44
|
+
export {
|
|
45
|
+
k as DSSpinner
|
|
46
|
+
};
|
package/spinner.d.ts
CHANGED
package/step.C-LC5sKQ.js
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as o, jsxs as V } from "react/jsx-runtime";
|
|
3
|
+
import { d as P } from "./chunks/index.cKLI89Eg.js";
|
|
4
|
+
import { c as D } from "./chunks/index.DQOqod3i.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import { D as A } from "./chunks/Button.DpGeheky.js";
|
|
7
|
+
import { D as E } from "./chunks/Icon.m6sMB6vl.js";
|
|
8
|
+
import './assets/step.Ch508u7I.css';const I = "ds-stepper_step_f4kic_1", R = "ds-stepper_step-content_f4kic_5", q = "ds-stepper_step-button_f4kic_12", w = "ds-stepper_step-button--horizontal_f4kic_49", F = "ds-stepper_step-button--vertical_f4kic_58", G = "ds-stepper_step-button--current_f4kic_69", J = "ds-stepper_step-button--completed_f4kic_107", K = "ds-stepper_step-button--disabled_f4kic_135", M = "ds-stepper_step-number_f4kic_166", Q = "ds-stepper_step-label_f4kic_176", T = "ds-stepper_step-hint_f4kic_184", U = "ds-stepper_step-number--current_f4kic_212", W = "ds-stepper_step-label--current_f4kic_238", X = "ds-stepper_sr-only_f4kic_266", s = {
|
|
9
|
+
step: I,
|
|
10
|
+
stepContent: R,
|
|
11
|
+
stepButton: q,
|
|
12
|
+
stepButtonHorizontal: w,
|
|
13
|
+
stepButtonVertical: F,
|
|
14
|
+
stepButtonCurrent: G,
|
|
15
|
+
stepButtonCompleted: J,
|
|
16
|
+
stepButtonDisabled: K,
|
|
17
|
+
stepNumber: M,
|
|
18
|
+
stepLabel: Q,
|
|
19
|
+
stepHint: T,
|
|
20
|
+
stepNumberCurrent: U,
|
|
21
|
+
stepLabelCurrent: W,
|
|
22
|
+
srOnly: X
|
|
23
|
+
}, Y = (r, t, e, p, _) => {
|
|
24
|
+
const b = `${r("step")} ${t + 1} ${r("of")} ${e}`, f = _ ? r("current") : p.state === "completed" ? r("completed") : "";
|
|
25
|
+
return [b, p.label, f].filter(Boolean).join(" - ");
|
|
26
|
+
}, ot = (r) => {
|
|
27
|
+
const t = P.c(41), {
|
|
28
|
+
step: e,
|
|
29
|
+
index: p,
|
|
30
|
+
stepsCount: _,
|
|
31
|
+
t: b,
|
|
32
|
+
onStepClick: f,
|
|
33
|
+
buttonRef: S,
|
|
34
|
+
orientation: v
|
|
35
|
+
} = r, n = e.state === "current", l = e.disabled || !e.state;
|
|
36
|
+
let C;
|
|
37
|
+
t[0] !== p || t[1] !== n || t[2] !== e || t[3] !== _ || t[4] !== b ? (C = Y(b, p, _, e, n), t[0] = p, t[1] = n, t[2] = e, t[3] = _, t[4] = b, t[5] = C) : C = t[5];
|
|
38
|
+
const y = C, z = v === "horizontal" ? s.stepButtonHorizontal : s.stepButtonVertical, H = e.state === "completed";
|
|
39
|
+
let B;
|
|
40
|
+
t[6] !== n || t[7] !== l || t[8] !== z || t[9] !== H ? (B = D(s.stepButton, z, {
|
|
41
|
+
[s.stepButtonCurrent]: n,
|
|
42
|
+
[s.stepButtonCompleted]: H,
|
|
43
|
+
[s.stepButtonDisabled]: l
|
|
44
|
+
}), t[6] = n, t[7] = l, t[8] = z, t[9] = H, t[10] = B) : B = t[10];
|
|
45
|
+
const x = B;
|
|
46
|
+
let h;
|
|
47
|
+
t[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = D(s.stepContent), t[11] = h) : h = t[11];
|
|
48
|
+
const O = h;
|
|
49
|
+
let k;
|
|
50
|
+
t[12] !== n ? (k = D(s.stepNumber, {
|
|
51
|
+
[s.stepNumberCurrent]: n
|
|
52
|
+
}), t[12] = n, t[13] = k) : k = t[13];
|
|
53
|
+
const $ = k;
|
|
54
|
+
let N;
|
|
55
|
+
t[14] !== n ? (N = D(s.stepLabel, {
|
|
56
|
+
[s.stepLabelCurrent]: n
|
|
57
|
+
}), t[14] = n, t[15] = N) : N = t[15];
|
|
58
|
+
const g = N, j = n ? "step" : void 0;
|
|
59
|
+
let c;
|
|
60
|
+
t[16] !== p || t[17] !== e.state ? (c = e.state === "completed" ? /* @__PURE__ */ o(E, { name: "check", size: "medium", theme: "light" }) : p + 1, t[16] = p, t[17] = e.state, t[18] = c) : c = t[18];
|
|
61
|
+
let a;
|
|
62
|
+
t[19] !== $ || t[20] !== c ? (a = /* @__PURE__ */ o("span", { className: $, "aria-hidden": "true", children: c }), t[19] = $, t[20] = c, t[21] = a) : a = t[21];
|
|
63
|
+
let i;
|
|
64
|
+
t[22] !== e.label || t[23] !== g ? (i = /* @__PURE__ */ o("span", { className: g, children: e.label }), t[22] = e.label, t[23] = g, t[24] = i) : i = t[24];
|
|
65
|
+
let u;
|
|
66
|
+
t[25] !== e.hint ? (u = e.hint && /* @__PURE__ */ o("span", { className: s.stepHint, children: e.hint }), t[25] = e.hint, t[26] = u) : u = t[26];
|
|
67
|
+
let d;
|
|
68
|
+
t[27] !== y ? (d = /* @__PURE__ */ o("span", { className: s.srOnly, children: y }), t[27] = y, t[28] = d) : d = t[28];
|
|
69
|
+
let m;
|
|
70
|
+
t[29] !== a || t[30] !== i || t[31] !== u || t[32] !== d ? (m = /* @__PURE__ */ V("span", { className: O, children: [
|
|
71
|
+
a,
|
|
72
|
+
i,
|
|
73
|
+
u,
|
|
74
|
+
d
|
|
75
|
+
] }), t[29] = a, t[30] = i, t[31] = u, t[32] = d, t[33] = m) : m = t[33];
|
|
76
|
+
let L;
|
|
77
|
+
return t[34] !== S || t[35] !== l || t[36] !== f || t[37] !== x || t[38] !== m || t[39] !== j ? (L = /* @__PURE__ */ o("li", { className: s.step, children: /* @__PURE__ */ o(A, { type: "button", variant: "ghost", className: x, "aria-current": j, disabled: l, onClick: f, ref: S, children: m }) }), t[34] = S, t[35] = l, t[36] = f, t[37] = x, t[38] = m, t[39] = j, t[40] = L) : L = t[40], L;
|
|
78
|
+
};
|
|
79
|
+
export {
|
|
80
|
+
ot as StepperStep,
|
|
81
|
+
ot as default
|
|
82
|
+
};
|
package/step.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "react/jsx-runtime";
|
|
3
|
+
import "./chunks/index.DQOqod3i.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "./chunks/helpers.CexwVao7.js";
|
|
6
|
+
import "./chunks/is-animation-disabled.B-V_68K-.js";
|
|
7
|
+
import "./chunks/translate.nuU7uChI.js";
|
|
8
|
+
import "./chunks/useIsomorphicLayoutEffect.CnJ9AMFS.js";
|
|
9
|
+
import "./chunks/index.cKLI89Eg.js";
|
|
10
|
+
import "./chunks/AriaLiveRegions.utils.CLpOaVD9.js";
|
|
11
|
+
import "./scroller.DfhhZelk.js";
|
|
12
|
+
import { D as l } from "./chunks/Stepper.DptsFh5n.js";
|
|
13
|
+
import "./step.C-LC5sKQ.js";
|
|
14
|
+
export {
|
|
15
|
+
l as DSStepper
|
|
16
|
+
};
|
package/stepper.d.ts
ADDED
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@font-face{font-family:STIHL Contraface Digital Display Title;font-weight:400;font-style:normal;font-display:swap;src:url(./STIHLContrafaceDigitalDisplayTitling.woff2) format("woff2"),url(./STIHLContrafaceDigitalDisplayTitling.woff) format("woff")}@font-face{font-family:STIHL Contraface Digital Text Bold;font-weight:400;font-style:normal;font-display:swap;src:url(./STIHLContrafaceDigitalText-Bold.woff2) format("woff2"),url(./STIHLContrafaceDigitalText-Bold.woff) format("woff")}@font-face{font-family:STIHL Contraface Digital Text Regular;font-weight:400;font-style:normal;font-display:swap;src:url(./STIHLContrafaceDigitalText.woff2) format("woff2"),url(./STIHLContrafaceDigitalText.woff) format("woff")}
|
|
1
|
+
@font-face{font-family:STIHL Contraface Digital Display Title;font-weight:400;font-style:normal;font-display:swap;src:url(./STIHLContrafaceDigitalDisplayTitling.woff2) format("woff2"),url(./STIHLContrafaceDigitalDisplayTitling.woff) format("woff")}@font-face{font-family:STIHL Contraface Digital Text Bold;font-weight:400;font-style:normal;font-display:swap;src:url(./STIHLContrafaceDigitalText-Bold.woff2) format("woff2"),url(./STIHLContrafaceDigitalText-Bold.woff) format("woff")}@font-face{font-family:STIHL Contraface Digital Text Regular;font-weight:400;font-style:normal;font-display:swap;src:url(./STIHLContrafaceDigitalText.woff2) format("woff2"),url(./STIHLContrafaceDigitalText.woff) format("woff")}@font-face{font-family:STIHL Contraface Digital Text Demi;font-weight:400;font-style:normal;font-display:swap;src:url(./STIHLContrafaceDigitalTextDemi.woff2) format("woff2"),url(./STIHLContrafaceDigitalTextDemi.woff) format("woff")}
|