@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,171 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
$color-core-black-base: #050505;
|
|
5
|
+
$color-core-black-opacity-10: #0000001A;
|
|
6
|
+
$color-core-black-opacity-50: #00000080;
|
|
7
|
+
$color-core-blue-base: #249ABE;
|
|
8
|
+
$color-core-blue-dark: #1E71A1;
|
|
9
|
+
$color-core-blue-deep: #19618B;
|
|
10
|
+
$color-core-blue-light: #D4ECF7;
|
|
11
|
+
$color-core-blue-mid: #8DCFE8;
|
|
12
|
+
$color-core-forest-base: #4A9E5F;
|
|
13
|
+
$color-core-forest-dark: #3C8653;
|
|
14
|
+
$color-core-forest-deep: #2D7644;
|
|
15
|
+
$color-core-forest-light: #DBF0E1;
|
|
16
|
+
$color-core-forest-mid: #77C089;
|
|
17
|
+
$color-core-green-base: #749F4A;
|
|
18
|
+
$color-core-green-dark: #5B863C;
|
|
19
|
+
$color-core-green-deep: #46762D;
|
|
20
|
+
$color-core-green-light: #E5F0DB;
|
|
21
|
+
$color-core-green-mid: #9BC077;
|
|
22
|
+
$color-core-grey-base: #B1B1B1;
|
|
23
|
+
$color-core-grey-dark: #666666;
|
|
24
|
+
$color-core-grey-deep: #444444;
|
|
25
|
+
$color-core-grey-light: #EDEDED;
|
|
26
|
+
$color-core-grey-mid: #DADADA;
|
|
27
|
+
$color-core-grey-semi-dark: #8C8C8C;
|
|
28
|
+
$color-core-grey-ultra-deep: #252525;
|
|
29
|
+
$color-core-grey-ultra-light: #F8F8F8;
|
|
30
|
+
$color-core-orange-base: #F37A1F;
|
|
31
|
+
$color-core-orange-dark: #E9640C;
|
|
32
|
+
$color-core-orange-deep: #D9480F;
|
|
33
|
+
$color-core-orange-light: #FEE2CD;
|
|
34
|
+
$color-core-orange-mid: #F7A669;
|
|
35
|
+
$color-core-red-base: #D43B3B;
|
|
36
|
+
$color-core-red-dark: #B72427;
|
|
37
|
+
$color-core-red-deep: #A5181D;
|
|
38
|
+
$color-core-red-light: #EEBCBD;
|
|
39
|
+
$color-core-red-mid: #DA6B6D;
|
|
40
|
+
$color-core-white-base: #FFFFFF;
|
|
41
|
+
$color-core-white-opacity-15: #FFFFFF26;
|
|
42
|
+
$color-core-white-opacity-50: #FFFFFF80;
|
|
43
|
+
$color-core-yellow-base: #FDC543;
|
|
44
|
+
$color-core-yellow-dark: #F9A521;
|
|
45
|
+
$color-core-yellow-deep: #EE8F00;
|
|
46
|
+
$color-core-yellow-light: #FDECC3;
|
|
47
|
+
$color-core-yellow-mid: #FED277;
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
$theme-light-background-color-brand-disabled: $color-core-grey-mid;
|
|
51
|
+
$theme-light-background-color-brand-hover: $color-core-orange-dark;
|
|
52
|
+
$theme-light-background-color-brand-pressed: $color-core-orange-dark;
|
|
53
|
+
$theme-light-background-color-brand: $color-core-orange-base;
|
|
54
|
+
$theme-light-background-color-feedback-error: $color-core-red-light;
|
|
55
|
+
$theme-light-background-color-feedback-info: $color-core-grey-light;
|
|
56
|
+
$theme-light-background-color-feedback-success: $color-core-green-light;
|
|
57
|
+
$theme-light-background-color-feedback-warning: $color-core-yellow-light;
|
|
58
|
+
$theme-light-background-color-primary-disabled: $color-core-white-base;
|
|
59
|
+
$theme-light-background-color-primary-hover: $color-core-grey-light;
|
|
60
|
+
$theme-light-background-color-primary-inverse-disabled: $color-core-grey-mid;
|
|
61
|
+
$theme-light-background-color-primary-inverse-hover: $color-core-grey-deep;
|
|
62
|
+
$theme-light-background-color-primary-inverse-pressed: $color-core-grey-deep;
|
|
63
|
+
$theme-light-background-color-primary-inverse: $color-core-grey-ultra-deep;
|
|
64
|
+
$theme-light-background-color-primary-pressed: $color-core-grey-light;
|
|
65
|
+
$theme-light-background-color-primary: $color-core-white-base;
|
|
66
|
+
$theme-light-background-color-secondary-disabled: $color-core-grey-ultra-light;
|
|
67
|
+
$theme-light-background-color-secondary-inverse-disabled: $color-core-grey-mid;
|
|
68
|
+
$theme-light-background-color-secondary-inverse: $color-core-grey-deep;
|
|
69
|
+
$theme-light-background-color-secondary: $color-core-grey-ultra-light;
|
|
70
|
+
$theme-light-background-color-sustainability: $color-core-forest-light;
|
|
71
|
+
$theme-light-background-color-tertiary: $color-core-grey-light;
|
|
72
|
+
$theme-light-background-color-transparent-hover: $color-core-black-opacity-10;
|
|
73
|
+
$theme-light-background-color-transparent-pressed: $color-core-black-opacity-10;
|
|
74
|
+
$theme-light-background-color-transparent: $color-core-black-opacity-10;
|
|
75
|
+
$theme-light-border-color-feedback-error: $color-core-red-base;
|
|
76
|
+
$theme-light-border-color-feedback-info: $color-core-grey-dark;
|
|
77
|
+
$theme-light-border-color-feedback-success: $color-core-green-base;
|
|
78
|
+
$theme-light-border-color-feedback-warning: $color-core-yellow-base;
|
|
79
|
+
$theme-light-border-color-focus: $color-core-grey-ultra-deep;
|
|
80
|
+
$theme-light-border-color-primary-disabled: $color-core-black-opacity-50;
|
|
81
|
+
$theme-light-border-color-primary-inverse: $color-core-white-base;
|
|
82
|
+
$theme-light-border-color-primary: $color-core-grey-ultra-deep;
|
|
83
|
+
$theme-light-border-color-secondary-disabled: $color-core-black-opacity-10;
|
|
84
|
+
$theme-light-border-color-secondary: $color-core-grey-base;
|
|
85
|
+
$theme-light-border-color-tertiary: $color-core-grey-mid;
|
|
86
|
+
$theme-light-content-color-brand-disabled: $color-core-black-opacity-50;
|
|
87
|
+
$theme-light-content-color-brand-hover: $color-core-orange-deep;
|
|
88
|
+
$theme-light-content-color-brand-pressed: $color-core-orange-deep;
|
|
89
|
+
$theme-light-content-color-brand: $color-core-orange-dark;
|
|
90
|
+
$theme-light-content-color-feedback-error: $color-core-red-base;
|
|
91
|
+
$theme-light-content-color-feedback-info: $color-core-grey-base;
|
|
92
|
+
$theme-light-content-color-feedback-success: $color-core-green-base;
|
|
93
|
+
$theme-light-content-color-feedback-warning: $color-core-yellow-base;
|
|
94
|
+
$theme-light-content-color-interaction-accent-hover: $color-core-blue-deep;
|
|
95
|
+
$theme-light-content-color-interaction-accent-pressed: $color-core-blue-deep;
|
|
96
|
+
$theme-light-content-color-interaction-accent: $color-core-blue-dark;
|
|
97
|
+
$theme-light-content-color-interaction-neutral: $color-core-grey-ultra-deep;
|
|
98
|
+
$theme-light-content-color-primary-disabled: $color-core-black-opacity-50;
|
|
99
|
+
$theme-light-content-color-primary-inverse-disabled: $color-core-black-opacity-50;
|
|
100
|
+
$theme-light-content-color-primary-inverse: $color-core-white-base;
|
|
101
|
+
$theme-light-content-color-primary-on-brand-disabled: $color-core-black-opacity-50;
|
|
102
|
+
$theme-light-content-color-primary-on-brand: $color-core-grey-ultra-deep;
|
|
103
|
+
$theme-light-content-color-primary: $color-core-grey-ultra-deep;
|
|
104
|
+
$theme-light-content-color-secondary-disabled: $color-core-black-opacity-50;
|
|
105
|
+
$theme-light-content-color-secondary: $color-core-grey-dark;
|
|
106
|
+
$theme-light-content-color-sustainability: $color-core-forest-base;
|
|
107
|
+
$theme-light-content-color-tertiary-inverse-disabled: $color-core-black-opacity-10;
|
|
108
|
+
$theme-light-content-color-tertiary-inverse: $color-core-grey-semi-dark;
|
|
109
|
+
$theme-light-content-color-tertiary: $color-core-grey-base;
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
$theme-dark-background-color-brand-disabled: $color-core-grey-mid;
|
|
113
|
+
$theme-dark-background-color-brand-hover: $color-core-orange-dark;
|
|
114
|
+
$theme-dark-background-color-brand-pressed: $color-core-orange-dark;
|
|
115
|
+
$theme-dark-background-color-brand: $color-core-orange-base;
|
|
116
|
+
$theme-dark-background-color-feedback-error: $color-core-grey-deep;
|
|
117
|
+
$theme-dark-background-color-feedback-info: $color-core-grey-deep;
|
|
118
|
+
$theme-dark-background-color-feedback-success: $color-core-grey-deep;
|
|
119
|
+
$theme-dark-background-color-feedback-warning: $color-core-grey-deep;
|
|
120
|
+
$theme-dark-background-color-primary-disabled: $color-core-black-base;
|
|
121
|
+
$theme-dark-background-color-primary-hover: $color-core-grey-deep;
|
|
122
|
+
$theme-dark-background-color-primary-inverse-disabled: $color-core-grey-mid;
|
|
123
|
+
$theme-dark-background-color-primary-inverse-hover: $color-core-grey-mid;
|
|
124
|
+
$theme-dark-background-color-primary-inverse-pressed: $color-core-grey-mid;
|
|
125
|
+
$theme-dark-background-color-primary-inverse: $color-core-grey-ultra-light;
|
|
126
|
+
$theme-dark-background-color-primary-pressed: $color-core-grey-deep;
|
|
127
|
+
$theme-dark-background-color-primary: $color-core-black-base;
|
|
128
|
+
$theme-dark-background-color-secondary-disabled: $color-core-grey-ultra-deep;
|
|
129
|
+
$theme-dark-background-color-secondary-inverse-disabled: $color-core-grey-base;
|
|
130
|
+
$theme-dark-background-color-secondary-inverse: $color-core-grey-light;
|
|
131
|
+
$theme-dark-background-color-secondary: $color-core-grey-ultra-deep;
|
|
132
|
+
$theme-dark-background-color-sustainability: $color-core-grey-deep;
|
|
133
|
+
$theme-dark-background-color-tertiary: $color-core-grey-ultra-deep;
|
|
134
|
+
$theme-dark-background-color-transparent-hover: $color-core-white-opacity-15;
|
|
135
|
+
$theme-dark-background-color-transparent-pressed: $color-core-white-opacity-15;
|
|
136
|
+
$theme-dark-background-color-transparent: $color-core-white-opacity-15;
|
|
137
|
+
$theme-dark-border-color-feedback-error: $color-core-red-base;
|
|
138
|
+
$theme-dark-border-color-feedback-info: $color-core-grey-dark;
|
|
139
|
+
$theme-dark-border-color-feedback-success: $color-core-green-base;
|
|
140
|
+
$theme-dark-border-color-feedback-warning: $color-core-yellow-base;
|
|
141
|
+
$theme-dark-border-color-focus: $color-core-white-base;
|
|
142
|
+
$theme-dark-border-color-primary-disabled: $color-core-white-opacity-50;
|
|
143
|
+
$theme-dark-border-color-primary-inverse: $color-core-grey-ultra-deep;
|
|
144
|
+
$theme-dark-border-color-primary: $color-core-grey-ultra-light;
|
|
145
|
+
$theme-dark-border-color-secondary-disabled: $color-core-white-opacity-15;
|
|
146
|
+
$theme-dark-border-color-secondary: $color-core-grey-dark;
|
|
147
|
+
$theme-dark-border-color-tertiary: $color-core-grey-deep;
|
|
148
|
+
$theme-dark-content-color-brand-disabled: $color-core-white-opacity-50;
|
|
149
|
+
$theme-dark-content-color-brand-hover: $color-core-orange-mid;
|
|
150
|
+
$theme-dark-content-color-brand-pressed: $color-core-orange-mid;
|
|
151
|
+
$theme-dark-content-color-brand: $color-core-orange-base;
|
|
152
|
+
$theme-dark-content-color-feedback-error: $color-core-red-mid;
|
|
153
|
+
$theme-dark-content-color-feedback-info: $color-core-grey-base;
|
|
154
|
+
$theme-dark-content-color-feedback-success: $color-core-green-mid;
|
|
155
|
+
$theme-dark-content-color-feedback-warning: $color-core-yellow-mid;
|
|
156
|
+
$theme-dark-content-color-interaction-accent-hover: $color-core-blue-mid;
|
|
157
|
+
$theme-dark-content-color-interaction-accent-pressed: $color-core-blue-mid;
|
|
158
|
+
$theme-dark-content-color-interaction-accent: $color-core-blue-mid;
|
|
159
|
+
$theme-dark-content-color-interaction-neutral: $color-core-white-base;
|
|
160
|
+
$theme-dark-content-color-primary-disabled: $color-core-white-opacity-50;
|
|
161
|
+
$theme-dark-content-color-primary-inverse-disabled: $color-core-black-opacity-50;
|
|
162
|
+
$theme-dark-content-color-primary-inverse: $color-core-grey-ultra-deep;
|
|
163
|
+
$theme-dark-content-color-primary-on-brand-disabled: $color-core-black-opacity-50;
|
|
164
|
+
$theme-dark-content-color-primary-on-brand: $color-core-grey-ultra-deep;
|
|
165
|
+
$theme-dark-content-color-primary: $color-core-white-base;
|
|
166
|
+
$theme-dark-content-color-secondary-disabled: $color-core-white-opacity-50;
|
|
167
|
+
$theme-dark-content-color-secondary: $color-core-grey-base;
|
|
168
|
+
$theme-dark-content-color-sustainability: $color-core-forest-mid;
|
|
169
|
+
$theme-dark-content-color-tertiary-inverse-disabled: $color-core-white-opacity-15;
|
|
170
|
+
$theme-dark-content-color-tertiary-inverse: $color-core-grey-dark;
|
|
171
|
+
$theme-dark-content-color-tertiary: $color-core-grey-dark;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@use 'sass:list';
|
|
2
|
+
@use 'sass:map';
|
|
3
|
+
@use 'animation' as *;
|
|
4
|
+
|
|
5
|
+
@mixin transition($properties, $duration-key: '100', $easing-key: 'linear') {
|
|
6
|
+
@if list.length($properties) == 0 or $properties == null {
|
|
7
|
+
@error "[STIHL Design System] - [ds.transition()]: No properties provided for ds.transition() mixin.";
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
$duration: map.get($animation-durations, $duration-key);
|
|
11
|
+
$easing: map.get($animation-easing-functions, $easing-key);
|
|
12
|
+
|
|
13
|
+
@if not map.has-key($animation-durations, $duration-key) {
|
|
14
|
+
@error "[STIHL Design System] - [ds.transition()]: Duration key '#{$duration-key}' is not available in the ds.transition() mixin.";
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@if not map.has-key($animation-easing-functions, $easing-key) {
|
|
18
|
+
@error "[STIHL Design System] - [ds.transition()]: Easing key '#{$easing-key}' is not available in the ds.transition() mixin.";
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
$transition-values: ();
|
|
22
|
+
@each $prop in $properties {
|
|
23
|
+
$transition-values: list.append(
|
|
24
|
+
$transition-values,
|
|
25
|
+
#{$prop} #{$duration} #{$easing},
|
|
26
|
+
comma
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
& {
|
|
30
|
+
transition: $transition-values;
|
|
31
|
+
|
|
32
|
+
@media (prefers-reduced-motion: reduce) {
|
|
33
|
+
transition-duration: 0ms;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as O, jsx as h } from "react/jsx-runtime";
|
|
3
|
+
import { d as $ } from "./chunks/index.CgTHIF3K.js";
|
|
4
|
+
import { c as q } from "./chunks/index.CEyLAtio.js";
|
|
5
|
+
import { forwardRef as z } from "react";
|
|
6
|
+
import { D as A } from "./chunks/Icon.DGTYCv63.js";
|
|
7
|
+
import { DSSpinner as B } from "./spinner.Dht6FspZ.js";
|
|
8
|
+
import './assets/switch.Bc9KIyw9.css';const F = "ds-switch_root_gdcld_1", G = "ds-switch_root--label-right_gdcld_40", H = "ds-switch_root--stretched_gdcld_43", J = "ds-switch_loader_gdcld_53", K = "ds-switch_thumb_gdcld_111", M = "ds-switch_root--checked_gdcld_126", o = {
|
|
9
|
+
root: F,
|
|
10
|
+
rootLabelRight: G,
|
|
11
|
+
rootStretched: H,
|
|
12
|
+
switch: "ds-switch_switch_gdcld_48",
|
|
13
|
+
loader: J,
|
|
14
|
+
thumb: K,
|
|
15
|
+
rootChecked: M
|
|
16
|
+
}, P = z((C, N) => {
|
|
17
|
+
const t = $.c(38);
|
|
18
|
+
let c, l, i, s, r, m, f, _, b, g;
|
|
19
|
+
t[0] !== C ? ({
|
|
20
|
+
children: l,
|
|
21
|
+
aria: c,
|
|
22
|
+
alignLabel: m,
|
|
23
|
+
checked: f,
|
|
24
|
+
className: i,
|
|
25
|
+
disabled: _,
|
|
26
|
+
loading: b,
|
|
27
|
+
stretched: g,
|
|
28
|
+
onClick: s,
|
|
29
|
+
...r
|
|
30
|
+
} = C, t[0] = C, t[1] = c, t[2] = l, t[3] = i, t[4] = s, t[5] = r, t[6] = m, t[7] = f, t[8] = _, t[9] = b, t[10] = g) : (c = t[1], l = t[2], i = t[3], s = t[4], r = t[5], m = t[6], f = t[7], _ = t[8], b = t[9], g = t[10]);
|
|
31
|
+
const E = m === void 0 ? "left" : m, p = f === void 0 ? !1 : f, u = _ === void 0 ? !1 : _, e = b === void 0 ? !1 : b, I = g === void 0 ? !1 : g, D = p === !0, L = I === !0, v = E === "right";
|
|
32
|
+
let w;
|
|
33
|
+
t[11] !== i || t[12] !== D || t[13] !== L || t[14] !== v ? (w = q(o.root, i, {
|
|
34
|
+
[o.rootChecked]: D,
|
|
35
|
+
[o.rootStretched]: L,
|
|
36
|
+
[o.rootLabelRight]: v
|
|
37
|
+
}), t[11] = i, t[12] = D, t[13] = L, t[14] = v, t[15] = w) : w = t[15];
|
|
38
|
+
const x = w;
|
|
39
|
+
let k;
|
|
40
|
+
t[16] !== u || t[17] !== e || t[18] !== s ? (k = (j) => {
|
|
41
|
+
if (u || e) {
|
|
42
|
+
j.preventDefault();
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
s && s(j);
|
|
46
|
+
}, t[16] = u, t[17] = e, t[18] = s, t[19] = k) : k = t[19];
|
|
47
|
+
const y = k, R = u || e;
|
|
48
|
+
let a;
|
|
49
|
+
t[20] !== l ? (a = /* @__PURE__ */ h("span", { children: l }), t[20] = l, t[21] = a) : a = t[21];
|
|
50
|
+
let d;
|
|
51
|
+
t[22] !== e ? (d = !e && /* @__PURE__ */ h("span", { className: o.switch, children: /* @__PURE__ */ h("span", { className: o.thumb, children: /* @__PURE__ */ h(A, { name: "check", "aria-hidden": "true" }) }) }), t[22] = e, t[23] = d) : d = t[23];
|
|
52
|
+
let n;
|
|
53
|
+
t[24] !== e ? (n = e && /* @__PURE__ */ h("span", { className: o.loader, children: /* @__PURE__ */ h(B, { aria: {
|
|
54
|
+
"aria-label": "Loading state"
|
|
55
|
+
} }) }), t[24] = e, t[25] = n) : n = t[25];
|
|
56
|
+
let S;
|
|
57
|
+
return t[26] !== c || t[27] !== p || t[28] !== y || t[29] !== e || t[30] !== N || t[31] !== r || t[32] !== x || t[33] !== R || t[34] !== a || t[35] !== d || t[36] !== n ? (S = /* @__PURE__ */ O("button", { className: x, onClick: y, ...c, ...r, type: "button", role: "switch", "aria-checked": p, "aria-disabled": R, "aria-busy": e, ref: N, children: [
|
|
58
|
+
a,
|
|
59
|
+
d,
|
|
60
|
+
n
|
|
61
|
+
] }), t[26] = c, t[27] = p, t[28] = y, t[29] = e, t[30] = N, t[31] = r, t[32] = x, t[33] = R, t[34] = a, t[35] = d, t[36] = n, t[37] = S) : S = t[37], S;
|
|
62
|
+
});
|
|
63
|
+
P.displayName = "DSSwitch";
|
|
64
|
+
export {
|
|
65
|
+
P as DSSwitch
|
|
66
|
+
};
|
package/switch.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "react/jsx-runtime";
|
|
3
|
+
import "./chunks/index.CgTHIF3K.js";
|
|
4
|
+
import "./chunks/index.CEyLAtio.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import "./chunks/Icon.DGTYCv63.js";
|
|
7
|
+
import { D as s } from "./chunks/SystemFeedback.B9f67mjJ.js";
|
|
8
|
+
export {
|
|
9
|
+
s as DSSystemFeedback
|
|
10
|
+
};
|
package/systemfeedback.d.ts
CHANGED
package/tablist.d.ts
ADDED
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as v, jsxs as me } from "react/jsx-runtime";
|
|
3
|
+
import { d as ke } from "./chunks/index.CgTHIF3K.js";
|
|
4
|
+
import { c as re } from "./chunks/index.CEyLAtio.js";
|
|
5
|
+
import { useState as he, useRef as A, useEffect as xe } from "react";
|
|
6
|
+
import { g as b, i as be } from "./chunks/is-animation-disabled.CUl4N3LI.js";
|
|
7
|
+
import { h as Ce } from "./chunks/has-window.ut_-aShB.js";
|
|
8
|
+
import { g as Ee } from "./chunks/helpers.BbWkXTr3.js";
|
|
9
|
+
import { u as pe } from "./chunks/useIsomorphicLayoutEffect.CnJ9AMFS.js";
|
|
10
|
+
import { D as ye } from "./chunks/Button.B7xF1E19.js";
|
|
11
|
+
import { D as We } from "./chunks/Icon.DGTYCv63.js";
|
|
12
|
+
import { NumberIndicator as ze } from "./numberindicator.Ddf3ESi7.js";
|
|
13
|
+
import { g as Ae, a as we } from "./chunks/TabPane.utils.DG16Y2uD.js";
|
|
14
|
+
import { s as i, N as He } from "./chunks/NavigationTabList.dYFYTmWv.js";
|
|
15
|
+
const H = 48, Ye = (p) => {
|
|
16
|
+
const e = ke.c(62);
|
|
17
|
+
let g, T, d, M, I, o, X, P, $, m, c;
|
|
18
|
+
e[0] !== p ? ({
|
|
19
|
+
aria: g,
|
|
20
|
+
id: m,
|
|
21
|
+
selectedTabIndex: o,
|
|
22
|
+
setSelectedTabIndex: X,
|
|
23
|
+
tabs: c,
|
|
24
|
+
alignment: P,
|
|
25
|
+
className: T,
|
|
26
|
+
defaultSelectedTabIndex: $,
|
|
27
|
+
isNavigation: d,
|
|
28
|
+
onTabChange: M,
|
|
29
|
+
...I
|
|
30
|
+
} = p, e[0] = p, e[1] = g, e[2] = T, e[3] = d, e[4] = M, e[5] = I, e[6] = o, e[7] = X, e[8] = P, e[9] = $, e[10] = m, e[11] = c) : (g = e[1], T = e[2], d = e[3], M = e[4], I = e[5], o = e[6], X = e[7], P = e[8], $ = e[9], m = e[10], c = e[11]);
|
|
31
|
+
const j = P === void 0 ? "left" : P, Re = $ === void 0 ? 0 : $, [V, h] = he(Re), [Le, Se] = he(!1), [De, Ne] = he(!1);
|
|
32
|
+
let _;
|
|
33
|
+
e[12] === Symbol.for("react.memo_cache_sentinel") ? (_ = [], e[12] = _) : _ = e[12];
|
|
34
|
+
const y = A(_), w = A(null), a = A(null), f = A(null), O = A(!1), ve = A(o), se = () => {
|
|
35
|
+
Te(), Be();
|
|
36
|
+
};
|
|
37
|
+
let q;
|
|
38
|
+
e[13] === Symbol.for("react.memo_cache_sentinel") ? (q = [], e[13] = q) : q = e[13], pe(() => {
|
|
39
|
+
const s = new ResizeObserver(se);
|
|
40
|
+
return a.current && s.observe(a.current), () => {
|
|
41
|
+
s.disconnect();
|
|
42
|
+
};
|
|
43
|
+
}, q);
|
|
44
|
+
let F;
|
|
45
|
+
e[14] !== j || e[15] !== c ? (F = [c, j], e[14] = j, e[15] = c, e[16] = F) : F = e[16], pe(() => {
|
|
46
|
+
var n;
|
|
47
|
+
const s = ["18px 'STIHL Contraface Digital Text Regular'", "18px 'STIHL Contraface Digital Text Bold'", "14px 'STIHL Contraface Digital Text Demi'"];
|
|
48
|
+
Promise.all(s.map(Me)).then(() => {
|
|
49
|
+
ne(o), K("next", o, "instant"), Te(), O.current = !0;
|
|
50
|
+
}).catch(Pe);
|
|
51
|
+
const t = () => {
|
|
52
|
+
!O.current || !f.current || (r.matches ? f.current.style.transitionDuration = "0s" : f.current.style.transitionDuration = "");
|
|
53
|
+
}, r = window.matchMedia("(prefers-reduced-motion: reduce)");
|
|
54
|
+
return r.addEventListener("change", t), (n = a.current) == null || n.addEventListener("scroll", se), () => {
|
|
55
|
+
var l;
|
|
56
|
+
r.removeEventListener("change", t), (l = a.current) == null || l.removeEventListener("scroll", se);
|
|
57
|
+
};
|
|
58
|
+
}, F);
|
|
59
|
+
let G;
|
|
60
|
+
e[17] !== o ? (G = [o], e[17] = o, e[18] = G) : G = e[18], pe(() => {
|
|
61
|
+
if (O.current && (ne(o), d)) {
|
|
62
|
+
const s = ge(o);
|
|
63
|
+
h(o), K(s, o);
|
|
64
|
+
}
|
|
65
|
+
ve.current = o;
|
|
66
|
+
}, G);
|
|
67
|
+
let Q, J;
|
|
68
|
+
e[19] !== V ? (Q = () => {
|
|
69
|
+
var s;
|
|
70
|
+
O.current && ((s = y.current[V]) == null || s.focus());
|
|
71
|
+
}, J = [V], e[19] = V, e[20] = Q, e[21] = J) : (Q = e[20], J = e[21]), xe(Q, J);
|
|
72
|
+
const R = (s) => {
|
|
73
|
+
const t = ge(s);
|
|
74
|
+
X(s), h(s), K(t, s), M && M(s);
|
|
75
|
+
}, ge = (s) => {
|
|
76
|
+
const t = b(a.current), r = b(y.current[s]);
|
|
77
|
+
let n;
|
|
78
|
+
return r.left - H < t.left ? n = "prev" : r.right + H > t.right ? n = "next" : n = o < s ? "next" : "prev", n;
|
|
79
|
+
}, Te = () => {
|
|
80
|
+
if (a.current && w.current) {
|
|
81
|
+
const s = b(a.current), t = b(w.current);
|
|
82
|
+
Se(t.left < s.left), Ne(t.right > s.right + 4);
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
let U;
|
|
86
|
+
e[22] === Symbol.for("react.memo_cache_sentinel") ? (U = (s) => {
|
|
87
|
+
const t = s === void 0 ? 0 : s;
|
|
88
|
+
Ce && f.current && !be() && setTimeout(() => {
|
|
89
|
+
f.current && (f.current.style.transitionDuration = "250ms");
|
|
90
|
+
}, t);
|
|
91
|
+
}, e[22] = U) : U = e[22];
|
|
92
|
+
const Ie = U, Be = () => {
|
|
93
|
+
f.current && (f.current.style.transitionDuration = "0s", ne(ve.current), Ie());
|
|
94
|
+
}, ne = (s) => {
|
|
95
|
+
const t = f.current, r = b(y.current[s]), n = b(w.current), l = r.left - n.left;
|
|
96
|
+
t && (O.current ? (t.style.width = `${r.width}px`, t.style.transform = `translateX(${l}px)`) : (t.style.transitionDuration = "0s", t.style.transform = `translateX(${l}px)`, t.style.width = `${r.width}px`, Ie(50)));
|
|
97
|
+
}, oe = (s, t) => {
|
|
98
|
+
let r;
|
|
99
|
+
e: switch (s.key) {
|
|
100
|
+
case "ArrowLeft": {
|
|
101
|
+
r = (t > 0 ? t : c.length) - 1, h(r);
|
|
102
|
+
break e;
|
|
103
|
+
}
|
|
104
|
+
case "ArrowRight": {
|
|
105
|
+
r = (t + 1) % c.length, h(r);
|
|
106
|
+
break e;
|
|
107
|
+
}
|
|
108
|
+
case "Home": {
|
|
109
|
+
r = 0, h(r);
|
|
110
|
+
break e;
|
|
111
|
+
}
|
|
112
|
+
case "End": {
|
|
113
|
+
r = c.length - 1, h(r);
|
|
114
|
+
break e;
|
|
115
|
+
}
|
|
116
|
+
case "Enter":
|
|
117
|
+
case " ": {
|
|
118
|
+
R(t);
|
|
119
|
+
return;
|
|
120
|
+
}
|
|
121
|
+
default:
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
if (r !== void 0) {
|
|
125
|
+
const n = r > t ? "next" : "prev";
|
|
126
|
+
setTimeout(() => K(n, r), 0);
|
|
127
|
+
}
|
|
128
|
+
s.preventDefault();
|
|
129
|
+
}, le = (s, t) => {
|
|
130
|
+
let r;
|
|
131
|
+
e: switch (s.key) {
|
|
132
|
+
case "Tab": {
|
|
133
|
+
if (s.shiftKey) {
|
|
134
|
+
r = t - 1 < 0 ? 0 : t - 1, h(r), t !== 0 && s.preventDefault();
|
|
135
|
+
break e;
|
|
136
|
+
} else
|
|
137
|
+
r = t + 1 > c.length - 1 ? t : t + 1, h(r), t !== c.length - 1 && s.preventDefault();
|
|
138
|
+
break e;
|
|
139
|
+
}
|
|
140
|
+
case "Enter": {
|
|
141
|
+
R(t);
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
default:
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
147
|
+
if (r !== void 0) {
|
|
148
|
+
const n = r > t ? "next" : "prev";
|
|
149
|
+
setTimeout(() => K(n, r), 0);
|
|
150
|
+
}
|
|
151
|
+
}, K = (s, t, r) => {
|
|
152
|
+
const n = r === void 0 ? "smooth" : r, l = y.current[t], W = a.current, z = b(l), ue = b(W);
|
|
153
|
+
let de;
|
|
154
|
+
if (!(!l || !W)) {
|
|
155
|
+
if (s === "prev") {
|
|
156
|
+
if (z.left - H > ue.left)
|
|
157
|
+
return;
|
|
158
|
+
de = l.offsetLeft - H;
|
|
159
|
+
} else {
|
|
160
|
+
if (z.right + H < ue.right)
|
|
161
|
+
return;
|
|
162
|
+
de = l.offsetLeft + l.offsetWidth - ue.width + H;
|
|
163
|
+
}
|
|
164
|
+
W.scrollTo({
|
|
165
|
+
left: de,
|
|
166
|
+
behavior: be() ? "instant" : n
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
let u;
|
|
171
|
+
if (e[23] === Symbol.for("react.memo_cache_sentinel")) {
|
|
172
|
+
u = (t) => {
|
|
173
|
+
var n;
|
|
174
|
+
const r = s(t);
|
|
175
|
+
(n = a.current) == null || n.scrollTo({
|
|
176
|
+
left: r,
|
|
177
|
+
behavior: be() ? "instant" : "smooth"
|
|
178
|
+
});
|
|
179
|
+
};
|
|
180
|
+
const s = (t) => {
|
|
181
|
+
if (!w.current || !a.current)
|
|
182
|
+
return 0;
|
|
183
|
+
const {
|
|
184
|
+
scrollLeft: r,
|
|
185
|
+
offsetWidth: n
|
|
186
|
+
} = a.current, l = Math.round(n * 0.2);
|
|
187
|
+
return t === "next" ? r + l : r - l;
|
|
188
|
+
};
|
|
189
|
+
e[23] = u;
|
|
190
|
+
} else
|
|
191
|
+
u = e[23];
|
|
192
|
+
const ce = j === "center";
|
|
193
|
+
let Y;
|
|
194
|
+
e[24] !== ce ? (Y = re(i.scroller, {
|
|
195
|
+
[i.scrollerCentered]: ce
|
|
196
|
+
}), e[24] = ce, e[25] = Y) : Y = e[25];
|
|
197
|
+
const Z = Y, ae = d ? "nav" : "div";
|
|
198
|
+
let L;
|
|
199
|
+
e[26] !== T ? (L = re(i.tabsWrapper, T), e[26] = T, e[27] = L) : L = e[27];
|
|
200
|
+
let S;
|
|
201
|
+
e[28] !== oe || e[29] !== le || e[30] !== d || e[31] !== Z || e[32] !== o || e[33] !== R || e[34] !== m || e[35] !== c ? (S = d ? /* @__PURE__ */ v(He, { tabs: c, tabRefs: y, scrollerRef: w, handleNavigationKeydown: le, scrollerClass: Z, selectedTabIndex: o, setSelectedTab: R }) : /* @__PURE__ */ v("div", { role: "tablist", className: Z, ref: w, children: c.map((s, t) => {
|
|
202
|
+
const {
|
|
203
|
+
id: r,
|
|
204
|
+
label: n,
|
|
205
|
+
iconName: l,
|
|
206
|
+
numberIndicatorValue: W
|
|
207
|
+
} = s;
|
|
208
|
+
return /* @__PURE__ */ me("button", { id: we(m, r), role: "tab", "aria-selected": o === t, "aria-controls": Ae(m, r, t), tabIndex: o === t ? 0 : -1, className: i.tab, ref: (z) => {
|
|
209
|
+
y.current[t] = z;
|
|
210
|
+
}, onClick: () => R(t), onKeyDown: (z) => oe(z, t), children: [
|
|
211
|
+
l && /* @__PURE__ */ v(We, { name: l, "aria-hidden": "true" }),
|
|
212
|
+
n,
|
|
213
|
+
W && /* @__PURE__ */ v(ze, { label: W })
|
|
214
|
+
] }, we(m, r));
|
|
215
|
+
}) }), e[28] = oe, e[29] = le, e[30] = d, e[31] = Z, e[32] = o, e[33] = R, e[34] = m, e[35] = c, e[36] = S) : S = e[36];
|
|
216
|
+
let ee;
|
|
217
|
+
e[37] === Symbol.for("react.memo_cache_sentinel") ? (ee = /* @__PURE__ */ v("span", { className: i.indicator, ref: f }), e[37] = ee) : ee = e[37];
|
|
218
|
+
let D;
|
|
219
|
+
e[38] !== ae || e[39] !== g || e[40] !== S ? (D = /* @__PURE__ */ me(ae, { className: i.scrollWrapper, ref: a, ...g, children: [
|
|
220
|
+
S,
|
|
221
|
+
ee
|
|
222
|
+
] }), e[38] = ae, e[39] = g, e[40] = S, e[41] = D) : D = e[41];
|
|
223
|
+
const ie = !Le;
|
|
224
|
+
let N;
|
|
225
|
+
e[42] !== ie ? (N = re(i.scrollButton, {
|
|
226
|
+
[i.scrollButtonHidden]: ie
|
|
227
|
+
}), e[42] = ie, e[43] = N) : N = e[43];
|
|
228
|
+
let B;
|
|
229
|
+
e[44] !== u ? (B = () => u("prev"), e[44] = u, e[45] = B) : B = e[45];
|
|
230
|
+
let k;
|
|
231
|
+
e[46] !== N || e[47] !== B ? (k = /* @__PURE__ */ v(ye, { variant: "filled", className: N, hideLabel: !0, iconName: "chevron-left", tabIndex: -1, size: "small", onClick: B, children: "Left" }), e[46] = N, e[47] = B, e[48] = k) : k = e[48];
|
|
232
|
+
const fe = !De;
|
|
233
|
+
let x;
|
|
234
|
+
e[49] !== fe ? (x = re(i.scrollButton, i.scrollButtonRight, {
|
|
235
|
+
[i.scrollButtonHidden]: fe
|
|
236
|
+
}), e[49] = fe, e[50] = x) : x = e[50];
|
|
237
|
+
let C;
|
|
238
|
+
e[51] !== u ? (C = () => u("next"), e[51] = u, e[52] = C) : C = e[52];
|
|
239
|
+
let E;
|
|
240
|
+
e[53] !== x || e[54] !== C ? (E = /* @__PURE__ */ v(ye, { variant: "filled", className: x, hideLabel: !0, iconName: "chevron-right", tabIndex: -1, size: "small", onClick: C, children: "Right" }), e[53] = x, e[54] = C, e[55] = E) : E = e[55];
|
|
241
|
+
let te;
|
|
242
|
+
return e[56] !== I || e[57] !== L || e[58] !== D || e[59] !== k || e[60] !== E ? (te = /* @__PURE__ */ me("div", { className: L, ...I, children: [
|
|
243
|
+
D,
|
|
244
|
+
k,
|
|
245
|
+
E
|
|
246
|
+
] }), e[56] = I, e[57] = L, e[58] = D, e[59] = k, e[60] = E, e[61] = te) : te = e[61], te;
|
|
247
|
+
};
|
|
248
|
+
function Me(p) {
|
|
249
|
+
return document.fonts.load(p);
|
|
250
|
+
}
|
|
251
|
+
function Pe(p) {
|
|
252
|
+
throw new Error(Ee("DSTabs", `The component requires the fonts to be loaded: ${p}`));
|
|
253
|
+
}
|
|
254
|
+
export {
|
|
255
|
+
Ye as TabList
|
|
256
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as h } from "react/jsx-runtime";
|
|
3
|
+
import { d as T } from "./chunks/index.CgTHIF3K.js";
|
|
4
|
+
import { c as g } from "./chunks/index.CEyLAtio.js";
|
|
5
|
+
import { useRef as y, useState as F, useEffect as N } from "react";
|
|
6
|
+
import { c as P, g as v, a as R } from "./chunks/TabPane.utils.DG16Y2uD.js";
|
|
7
|
+
import './assets/tabpane.D1LTb432.css';const S = "ds-tabs_tabpane_30tnb_1", j = {
|
|
8
|
+
tabpane: S
|
|
9
|
+
}, k = (x) => {
|
|
10
|
+
const e = T.c(19), {
|
|
11
|
+
id: t,
|
|
12
|
+
content: s,
|
|
13
|
+
index: o,
|
|
14
|
+
selectedTabIndex: E,
|
|
15
|
+
tabListId: a,
|
|
16
|
+
className: f
|
|
17
|
+
} = x, m = y(null), [I, _] = F(!1);
|
|
18
|
+
let c;
|
|
19
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (c = () => {
|
|
20
|
+
m.current && _(P(m.current));
|
|
21
|
+
}, e[0] = c) : c = e[0];
|
|
22
|
+
let i;
|
|
23
|
+
e[1] !== s ? (i = [s], e[1] = s, e[2] = i) : i = e[2], N(c, i);
|
|
24
|
+
let r;
|
|
25
|
+
e[3] !== f ? (r = g(j.tabpane, f), e[3] = f, e[4] = r) : r = e[4];
|
|
26
|
+
const d = r;
|
|
27
|
+
let n;
|
|
28
|
+
e[5] !== t || e[6] !== o || e[7] !== a ? (n = v(a, t, o), e[5] = t, e[6] = o, e[7] = a, e[8] = n) : n = e[8];
|
|
29
|
+
let l;
|
|
30
|
+
e[9] !== t || e[10] !== a ? (l = R(a, t), e[9] = t, e[10] = a, e[11] = l) : l = e[11];
|
|
31
|
+
const p = E !== o, u = I ? void 0 : 0;
|
|
32
|
+
let b;
|
|
33
|
+
return e[12] !== s || e[13] !== n || e[14] !== l || e[15] !== p || e[16] !== u || e[17] !== d ? (b = /* @__PURE__ */ h("div", { id: n, role: "tabpanel", "aria-labelledby": l, hidden: p, tabIndex: u, ref: m, className: d, children: s }), e[12] = s, e[13] = n, e[14] = l, e[15] = p, e[16] = u, e[17] = d, e[18] = b) : b = e[18], b;
|
|
34
|
+
};
|
|
35
|
+
export {
|
|
36
|
+
k as TabPane
|
|
37
|
+
};
|
package/tabpane.d.ts
ADDED
package/tabs.d.ts
ADDED
package/tabs.oh9-wHPp.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "react/jsx-runtime";
|
|
3
|
+
import "./chunks/index.CgTHIF3K.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "./tablist.g_Nwu6GA.js";
|
|
6
|
+
import "./tabpane.CB-eudyw.js";
|
|
7
|
+
import "./chunks/TabPane.utils.DG16Y2uD.js";
|
|
8
|
+
import { D as a } from "./chunks/Tabs.CkVL8Jw8.js";
|
|
9
|
+
export {
|
|
10
|
+
a as DSTabs
|
|
11
|
+
};
|
package/text.ZOUuesnU.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "react/jsx-runtime";
|
|
3
|
+
import "./chunks/index.CgTHIF3K.js";
|
|
4
|
+
import "./chunks/index.CEyLAtio.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import "./chunks/helpers.BbWkXTr3.js";
|
|
7
|
+
import { D as s } from "./chunks/Text.DGWeWF1y.js";
|
|
8
|
+
export {
|
|
9
|
+
s as DSText
|
|
10
|
+
};
|
package/text.d.ts
CHANGED
package/textarea.d.ts
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "react/jsx-runtime";
|
|
3
|
+
import "./chunks/index.CEyLAtio.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "./chunks/helpers.BbWkXTr3.js";
|
|
6
|
+
import "./chunks/useBreakpoint.CMOR9ZOB.js";
|
|
7
|
+
import "./chunks/index.CgTHIF3K.js";
|
|
8
|
+
import "./asterisk.CR60hx8S.js";
|
|
9
|
+
import "./chunks/SystemFeedback.B9f67mjJ.js";
|
|
10
|
+
import { D } from "./chunks/Textarea.ORkJUx-S.js";
|
|
11
|
+
export {
|
|
12
|
+
D as DSTextarea
|
|
13
|
+
};
|