@stihl-design-system/components 1.0.0-RC.0 → 1.0.0-RC.10
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 +10 -1
- package/Visa.svg +2 -0
- package/accordion.B3UkxlAZ.js +10 -0
- package/accordion.d.ts +1 -0
- package/arialiveregions.BK4T7Vhk.js +27 -0
- package/arialiveregions.d.ts +1 -0
- package/assets/Accordion.lFv7Q_RG.css +1 -0
- package/assets/CustomReactSelect.CMkn-EGK.css +1 -0
- package/assets/Dialog.fiQvxJg_.css +1 -0
- package/assets/Drawer.BqBgbSuP.css +1 -0
- package/assets/Fieldset.qHYeUFZt.css +1 -0
- package/assets/Icon.Duy_0R8w.css +1 -0
- package/assets/InputPassword.Cf394z47.css +1 -0
- package/assets/InputSearch.eCRQoxjN.css +1 -0
- package/assets/InputStepper.B80KulYE.css +1 -0
- package/assets/Notification.DK6agBGS.css +1 -0
- package/assets/RadioGroup.Bz3_xkZU.css +1 -0
- package/assets/Select.BptsMxz4.css +1 -0
- package/assets/Textarea.CIIVh03G.css +1 -0
- package/assets/Toast.Dsvs1zdM.css +1 -0
- package/assets/arialiveregions.GsGx2USO.css +1 -0
- package/assets/asterisk.DlJ4YtSZ.css +1 -0
- package/assets/button.B1O7Yw3Q.css +1 -0
- package/assets/buttonround.DlH_ipDo.css +1 -0
- package/assets/checkbox.K4CVYK9g.css +1 -0
- package/assets/floatingactionbutton.DRYentYC.css +1 -0
- package/assets/heading.6bER-Eac.css +1 -0
- package/assets/input.C0MrSbQu.css +1 -0
- package/assets/link.vtTST2ki.css +1 -0
- package/assets/linkstandalone.BtAcziZ7.css +1 -0
- package/assets/logo.pETQEsvZ.css +1 -0
- package/assets/optioncheckbox.BJJAph5_.css +1 -0
- package/assets/radio.9kpIO3HC.css +1 -0
- package/assets/skiptocontent.CHcqLS7S.css +1 -0
- package/assets/spinner.D_Nnf1ZG.css +1 -0
- package/assets/switch.2DQF2zH-.css +1 -0
- package/assets/systemfeedback.Sq0bAIyf.css +1 -0
- package/assets/text.Dhb_l50R.css +1 -0
- package/assets/title.f74Bosn-.css +1 -0
- package/asterisk.DDn-yX4P.js +8 -0
- package/button.DH0h6uPs.js +135 -0
- package/buttonround.0mw4zzlU.js +118 -0
- package/checkbox.DETR3e3X.js +112 -0
- package/checkboxgroup.CZqrlF-x.js +9 -0
- package/chunks/360.CfjUtgxq.js +10 -0
- package/chunks/Accordion.pI3JyHJL.js +125 -0
- package/chunks/AriaLiveRegions.utils.D2ni4Yrf.js +34 -0
- package/chunks/CheckboxGroup.4J_gZ_XJ.js +87 -0
- package/chunks/CustomReactSelect.ChAtL6fu.js +3591 -0
- package/chunks/Dialog.Z5ESJQMi.js +148 -0
- package/chunks/Drawer.BdowMqE0.js +154 -0
- package/chunks/Fieldset.COGbZwry.js +99 -0
- package/chunks/Icon.C2o2seDb.js +223 -0
- package/chunks/{Input.utils.f8f3286f.js → Input.utils.ChV6RJsh.js} +24 -17
- package/chunks/InputPassword.Dgo95-PU.js +140 -0
- package/chunks/InputSearch.BFof0pBn.js +189 -0
- package/chunks/InputStepper.4IqLa5tX.js +291 -0
- package/chunks/Notification.BhwbaXqk.js +93 -0
- package/chunks/RadioGroup.C5jbCJM4.js +132 -0
- package/chunks/RadioGroup.module.BBZwHDjW.js +11 -0
- package/chunks/Select.fXeQJXtz.js +191 -0
- package/chunks/Textarea.Bewrp0Za.js +195 -0
- package/chunks/Toast.DA_CQ9J-.js +89 -0
- package/chunks/academic-cap.OBigTQQS.js +10 -0
- package/chunks/alarm-clock.CpK-AEZG.js +10 -0
- package/chunks/arrow-clockwise.BefOjGPg.js +10 -0
- package/chunks/arrow-counterclockwise.C7Ov32BZ.js +10 -0
- package/chunks/arrow-down-line.RDD2pRZY.js +10 -0
- package/chunks/arrow-down.XpokLh98.js +10 -0
- package/chunks/arrow-edge.CPA93M81.js +10 -0
- package/chunks/arrow-left.C8NG5I2X.js +10 -0
- package/chunks/arrow-out.CsHHHYN9.js +10 -0
- package/chunks/arrow-outline-left.Bhw_LzfV.js +10 -0
- package/chunks/arrow-right.HNwAz18h.js +10 -0
- package/chunks/arrow-up-arrow-down.BVyuVJP5.js +10 -0
- package/chunks/arrow-up.Ca1GnLaY.js +10 -0
- package/chunks/at.BNfdp4M0.js +10 -0
- package/chunks/barcode-scanner.D0olxB_m.js +10 -0
- package/chunks/battery.YCg9lYqC.js +10 -0
- package/chunks/bell.DbPxCAUM.js +10 -0
- package/chunks/bin-open.DsjIBW00.js +10 -0
- package/chunks/bin.ktpYUJmK.js +10 -0
- package/chunks/bluetooth.dW5tTwby.js +10 -0
- package/chunks/bookmark.B7Mbr-d6.js +10 -0
- package/chunks/burger.DLP81BXa.js +10 -0
- package/chunks/calendar.Cig7yG7m.js +10 -0
- package/chunks/camera.BoCB0Emp.js +10 -0
- package/chunks/cart-check.CYH0vTB8.js +10 -0
- package/chunks/cart-plus.DzXXFMZj.js +10 -0
- package/chunks/cart.CoEwMABr.js +10 -0
- package/chunks/catalog.CwV-J6Kb.js +10 -0
- package/chunks/certificate.Crs4RohK.js +10 -0
- package/chunks/chain-link.BMV2WV6k.js +10 -0
- package/chunks/chainsaw.CI1EYF7a.js +10 -0
- package/chunks/check.CuZKWgYj.js +10 -0
- package/chunks/chevron-down.5UkGOwK_.js +10 -0
- package/chunks/chevron-left.DRFQ-efY.js +10 -0
- package/chunks/chevron-line-left.SQvDJQ1t.js +10 -0
- package/chunks/chevron-line-right.CYQ3b2cQ.js +10 -0
- package/chunks/chevron-right.B_Ew9QUt.js +10 -0
- package/chunks/chevron-up.DqETUWqG.js +10 -0
- package/chunks/circle-check-colored.Bye_GwLy.js +10 -0
- package/chunks/circle-check-inverted.Cc2cUmWT.js +10 -0
- package/chunks/circle-info-colored.D2pp54gf.js +10 -0
- package/chunks/circle-info-inverted.D8Z0vTmu.js +10 -0
- package/chunks/circle-pause.DaRfXOff.js +10 -0
- package/chunks/circle-stroke.CWu_o3Gx.js +10 -0
- package/chunks/circle.471EUzv6.js +10 -0
- package/chunks/clock.Bw5ICIVH.js +10 -0
- package/chunks/coffee-cup.DIijzKx_.js +10 -0
- package/chunks/compare.BgktBbYD.js +10 -0
- package/chunks/connected-box-mobile.DboMCVxp.js +10 -0
- package/chunks/connected-box-stationary.CAPCPQ1d.js +10 -0
- package/chunks/connected-box.DVqJw-ws.js +10 -0
- package/chunks/cross.rEw3TuHs.js +10 -0
- package/chunks/diamond-exclamationmark-colored.WNKYwZ8q.js +10 -0
- package/chunks/diamond-exclamationmark-inverted.DzAIb8Nt.js +10 -0
- package/chunks/diamond.CXZHFpPC.js +10 -0
- package/chunks/diskette._0C2VZ9v.js +10 -0
- package/chunks/distance.FA6pTjcW.js +10 -0
- package/chunks/dots-connected.ZMYjHeNS.js +10 -0
- package/chunks/{download-complete.0b84a7cc.js → download-complete.CZVpzrvY.js} +3 -4
- package/chunks/envelope-open.CA4cE5lk.js +10 -0
- package/chunks/envelope.re-RxZVw.js +10 -0
- package/chunks/exclamationmark.DEbIGqGC.js +10 -0
- package/chunks/exit.Cgb8AB-k.js +10 -0
- package/chunks/eye-closed.CvqozUwK.js +10 -0
- package/chunks/eye.CRQMKZs4.js +10 -0
- package/chunks/{triangle.bff84ddf.js → facebook.CVcxa0rV.js} +2 -3
- package/chunks/filter.DrPSKpaG.js +10 -0
- package/chunks/finger-double-arrow.DDUZoPh8.js +10 -0
- package/chunks/flash.CgJJ1bUx.js +10 -0
- package/chunks/fullscreen.Be2rBj1i.js +10 -0
- package/chunks/gear.DEltGVSA.js +10 -0
- package/chunks/globe.DG6uw6fi.js +10 -0
- package/chunks/grid.DH1impeF.js +10 -0
- package/chunks/guidance.BBYB3JpW.js +10 -0
- package/chunks/haircross.D-whkit9.js +10 -0
- package/chunks/hanger.Bo8qtNo5.js +10 -0
- package/chunks/has-document.r9i9TxKV.js +5 -0
- package/chunks/headphones.DjWXOuJJ.js +10 -0
- package/chunks/heart.D-BnHMb-.js +10 -0
- package/chunks/hexagon-arrow-clockwise.D0eeDQQx.js +10 -0
- package/chunks/horizontal-ellipsis.ChdN6RnG.js +10 -0
- package/chunks/house.BohpDQ3q.js +10 -0
- package/chunks/imow.Dh1oMqcW.js +10 -0
- package/chunks/info.BZVg9FLA.js +10 -0
- package/chunks/instagram.CIlKb7xj.js +10 -0
- package/chunks/{jsx-runtime.5c071667.js → jsx-runtime.C115EyI4.js} +259 -256
- package/chunks/leave-fullscreen.BC5iwDur.js +10 -0
- package/chunks/lightbulb.DQ7TiRsr.js +10 -0
- package/chunks/linkedin.br5zvxco.js +10 -0
- package/chunks/list-three-rows.Cso4ybs8.js +10 -0
- package/chunks/list-two-rows.DOsZEv0-.js +10 -0
- package/chunks/loading-spinner.BukfMaU6.js +10 -0
- package/chunks/lock.Dw_GOpTn.js +10 -0
- package/chunks/magnifying-glass-minus.BYztw2P1.js +10 -0
- package/chunks/magnifying-glass-plus.BTgviDVh.js +10 -0
- package/chunks/magnifying-glass.C8DfRaIO.js +10 -0
- package/chunks/map.CXgG1iGz.js +10 -0
- package/chunks/minus.BkhCuIH4.js +10 -0
- package/chunks/mobile.C1Kj9VnC.js +10 -0
- package/chunks/nine-squares.DVsNAOzz.js +10 -0
- package/chunks/note-check.CM_kmt0M.js +10 -0
- package/chunks/note-plus.Bkn78EyA.js +10 -0
- package/chunks/note.CE0ACLn8.js +10 -0
- package/chunks/number-input.BLhoh5mh.js +10 -0
- package/chunks/paperclip.BMerX4rj.js +10 -0
- package/chunks/parcel.Ve9GL_EG.js +10 -0
- package/chunks/pause.B91Ejn-O.js +10 -0
- package/chunks/pdf.9kZbElrZ.js +10 -0
- package/chunks/pen.CvKw2PvE.js +10 -0
- package/chunks/percent.BlB6rG-B.js +10 -0
- package/chunks/petrol.Du6qAgp0.js +10 -0
- package/chunks/phone.DzdXfmNC.js +10 -0
- package/chunks/pin-s.DXgYuN9C.js +10 -0
- package/chunks/pin.DZfZr4El.js +10 -0
- package/chunks/pinterest.sUPAub_q.js +10 -0
- package/chunks/placeholder.Dbb0hT5R.js +10 -0
- package/chunks/play.BDiY2JrT.js +10 -0
- package/chunks/plug.DZozve4C.js +10 -0
- package/chunks/plus.zdu17kAe.js +10 -0
- package/chunks/printer.CaFaWfeS.js +10 -0
- package/chunks/prohibition-sign.DUFn0QiV.js +10 -0
- package/chunks/questionmark.QyDxanQy.js +10 -0
- package/chunks/security.DkLw5ym4.js +10 -0
- package/chunks/share.C3wwEl8n.js +10 -0
- package/chunks/shirt.BC8W-yCI.js +10 -0
- package/chunks/shop.DdPV35mK.js +10 -0
- package/chunks/sound-off.D4kGcehG.js +10 -0
- package/chunks/sound-on.Cynkb0_t.js +10 -0
- package/chunks/speechbubble.87vuoKUp.js +10 -0
- package/chunks/speechbubbles.CSFhpNJn.js +10 -0
- package/chunks/square.D6PgEi_r.js +10 -0
- package/chunks/star-half.DZTtM5Bw.js +10 -0
- package/chunks/star.BkjednvI.js +10 -0
- package/chunks/tag.yO7uMsHj.js +10 -0
- package/chunks/thumbs-down.DeBD6wnK.js +10 -0
- package/chunks/thumbs-up.D-44gexH.js +10 -0
- package/chunks/triangle-exclamationmark-colored.CbVC3Gzi.js +10 -0
- package/chunks/triangle-exclamationmark-inverted.BiGoK7TV.js +10 -0
- package/chunks/triangle.ibv6NDnt.js +10 -0
- package/chunks/truck.xIk5wW6T.js +10 -0
- package/chunks/two-people-screen.BBLouaW4.js +10 -0
- package/chunks/two-sheets.DWFmuL7N.js +10 -0
- package/chunks/upload.ZImTAIgx.js +10 -0
- package/chunks/user.BMARueuy.js +10 -0
- package/chunks/vertical-ellipsis.Bc9eBsDF.js +10 -0
- package/chunks/wc.gmKE1r5l.js +10 -0
- package/chunks/whatsapp.CPpu-7Nn.js +10 -0
- package/chunks/wifi-1bar.BcEP-r8w.js +10 -0
- package/chunks/wifi-2bars.jDOd4Q3q.js +10 -0
- package/chunks/wifi-off.D9xPqVWn.js +10 -0
- package/chunks/wifi.CuQykF6X.js +10 -0
- package/chunks/wind-rose.C-XcKdy-.js +10 -0
- package/chunks/wrench.DMFV2S9u.js +10 -0
- package/chunks/x.BqbpXd7O.js +10 -0
- package/chunks/xing.CiKYLbPq.js +10 -0
- package/chunks/youtube.DrImaRSP.js +10 -0
- package/combobox.JL1Dsn3E.js +47 -0
- package/components/Accordion/Accordion.d.ts +40 -0
- package/components/Accordion/Accordion.test.d.ts +1 -0
- package/components/Accordion/Accordion.utils.d.ts +15 -0
- package/components/Accordion/Acordion.utils.test.d.ts +1 -0
- package/components/AriaLiveRegions/AriaLiveRegions.d.ts +4 -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 +0 -1
- package/components/Button/Button.d.ts +33 -17
- package/components/ButtonRound/ButtonRound.d.ts +12 -4
- package/components/Checkbox/Checkbox.d.ts +21 -11
- package/components/CheckboxGroup/CheckboxGroup.d.ts +19 -12
- package/components/CheckboxGroup/CheckboxGroup.utils.d.ts +3 -2
- package/components/Combobox/Combobox.d.ts +12 -6
- package/components/Combobox/Combobox.utils.d.ts +4 -3
- package/components/CustomReactSelect/CustomReactSelect.d.ts +39 -26
- package/components/CustomReactSelect/CustomReactSelect.utils.d.ts +3 -2
- package/components/CustomReactSelect/OptionCheckbox.d.ts +2 -1
- package/components/Dialog/Dialog.d.ts +35 -0
- package/components/Dialog/Dialog.test.d.ts +1 -0
- package/components/Dialog/Dialog.utils.d.ts +12 -0
- package/components/Dialog/Dialog.utils.test.d.ts +1 -0
- package/components/Drawer/Drawer.d.ts +40 -0
- package/components/Drawer/Drawer.test.d.ts +1 -0
- package/components/Drawer/Drawer.utils.d.ts +14 -0
- package/components/Drawer/Drawer.utils.test.d.ts +1 -0
- package/components/Fieldset/Fieldset.d.ts +16 -10
- package/components/Fieldset/Fieldset.utils.d.ts +4 -3
- package/components/FloatingActionButton/FloatingActionButton.d.ts +7 -2
- package/components/Heading/Heading.d.ts +14 -7
- package/components/Heading/Heading.utils.d.ts +1 -1
- package/components/Icon/Icon.d.ts +15 -8
- package/components/Icon/Icon.utils.d.ts +4 -6
- package/components/Input/Input.d.ts +37 -23
- package/components/Input/Input.utils.d.ts +2 -1
- package/components/InputPassword/InputPassword.d.ts +35 -17
- package/components/InputPassword/InputPassword.utils.d.ts +2 -1
- package/components/InputSearch/InputSearch.d.ts +34 -18
- package/components/InputSearch/InputSearch.utils.d.ts +2 -1
- package/components/InputStepper/InputStepper.d.ts +47 -23
- package/components/InputStepper/InputStepper.utils.d.ts +2 -1
- package/components/Link/Link.d.ts +33 -20
- package/components/LinkStandalone/LinkStandalone.d.ts +8 -6
- package/components/Logo/Logo.d.ts +17 -8
- package/components/Logo/Logo.utils.d.ts +3 -1
- package/components/Notification/Notification.d.ts +36 -0
- package/components/Notification/Notification.test.d.ts +1 -0
- package/components/Notification/Notification.utils.d.ts +5 -0
- package/components/Radio/Radio.d.ts +31 -13
- package/components/RadioGroup/RadioGroup.d.ts +31 -21
- package/components/RadioGroup/RadioGroup.utils.d.ts +8 -5
- package/components/RadioGroup/RadioGroup.utils.test.d.ts +1 -0
- package/components/Select/Select.d.ts +26 -14
- package/components/Select/Select.utils.d.ts +4 -3
- package/components/SkipToContent/SkipToContent.d.ts +18 -0
- package/components/SkipToContent/SkipToContent.test.d.ts +1 -0
- package/components/Spinner/Spinner.d.ts +11 -6
- package/components/Switch/Switch.d.ts +23 -12
- package/components/SystemFeedback/SystemFeedback.d.ts +5 -4
- package/components/Text/Text.d.ts +17 -8
- package/components/Textarea/Textarea.d.ts +35 -17
- package/components/Textarea/Textarea.utils.d.ts +2 -1
- package/components/Title/Title.d.ts +14 -7
- package/components/Toast/Toast.d.ts +28 -0
- package/components/Toast/Toast.utils.d.ts +15 -0
- package/components/Toast/ToastManager.d.ts +10 -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/customreactselect.Dg8Kgq3e.js +13 -0
- package/dialog.D3bJ0rsW.js +9 -0
- package/dialog.d.ts +1 -0
- package/drawer.CNPF1-Kc.js +9 -0
- package/drawer.d.ts +1 -0
- package/fieldset.CTshPWYX.js +11 -0
- package/floatingactionbutton.CCIj9Fjr.js +87 -0
- package/heading.CAkraI2D.js +50 -0
- package/icon.BoMgOmC1.js +8 -0
- package/index.d.ts +32 -0
- package/index.es.js +158 -46
- package/input.CTgeAYdu.js +236 -0
- package/inputpassword.nsYu6YeB.js +12 -0
- package/inputsearch.ZGIrDrcv.js +13 -0
- package/inputstepper.BvY36hA1.js +13 -0
- package/link.DAZNwQ0a.js +116 -0
- package/linkstandalone.C9X3er7g.js +80 -0
- package/{logo.e6576fe3.js → logo.CEO6OV7u.js} +31 -34
- package/notification.BAS13UQ6.js +9 -0
- package/notification.d.ts +1 -0
- package/optioncheckbox.DZWwtx6f.js +43 -0
- package/package.json +60 -45
- 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 +25 -13
- 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 +914 -934
- package/partials/lib/partials.d.ts +2 -2
- 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/radio.CWGJtmKl.js +115 -0
- package/radiogroup.BhffFqN3.js +11 -0
- package/select.C4OZMB-V.js +12 -0
- package/skiptocontent.C4yQfWr2.js +46 -0
- package/skiptocontent.d.ts +1 -0
- package/spinner.D-xrotcu.js +58 -0
- package/styles/fonts/STIHLContrafaceDigitalDisplayTitling.woff +0 -0
- package/styles/fonts/STIHLContrafaceDigitalDisplayTitling.woff2 +0 -0
- package/styles/fonts/STIHLContrafaceDigitalText-Bold.woff +0 -0
- package/styles/fonts/STIHLContrafaceDigitalText-Bold.woff2 +0 -0
- package/styles/fonts/STIHLContrafaceDigitalText.woff +0 -0
- package/styles/fonts/STIHLContrafaceDigitalText.woff2 +0 -0
- package/styles/fonts/font-face.min.css +1 -1
- package/styles/scss/_index.scss +2 -0
- package/styles/scss/lib/_animation.scss +20 -5
- package/styles/scss/lib/_container-query.scss +3 -3
- package/styles/scss/lib/_focus.scss +2 -1
- package/styles/scss/lib/_grid-extended.scss +2 -2
- package/styles/scss/lib/_grid-narrow.scss +2 -0
- package/styles/scss/lib/_grid-sidebar-sidebar.scss +4 -2
- package/styles/scss/lib/_grid-sidebar.scss +35 -45
- package/styles/scss/lib/_grid.scss +15 -13
- package/styles/scss/lib/_heading.scss +69 -7
- package/styles/scss/lib/_helpers.scss +12 -0
- package/styles/scss/lib/_high-contrast.scss +24 -0
- package/styles/scss/lib/_link.scss +62 -91
- package/styles/scss/lib/_media-query.scss +3 -3
- package/styles/scss/lib/_shadow.scss +10 -0
- package/styles/scss/lib/_spacing.scss +14 -0
- package/styles/scss/lib/_text.scss +60 -13
- package/styles/scss/lib/_theme.scss +9 -7
- package/styles/scss/lib/_transition.scss +26 -7
- package/switch.CmpNUC7s.js +65 -0
- package/systemfeedback.ZzRUAVYX.js +25 -0
- package/text.rgDKQBrU.js +57 -0
- package/textarea.CtQtGqn5.js +12 -0
- package/title.LY1ylQsb.js +36 -0
- package/toast.DVd9dLs2.js +10 -0
- package/toast.d.ts +1 -0
- package/toastmanager.Dh0gzFkM.js +119 -0
- package/toastmanager.d.ts +1 -0
- package/types/icon-types.d.ts +1 -1
- package/utils/index.d.ts +2 -0
- package/utils/remove-spaces.d.ts +6 -0
- package/utils/remove-spaces.test.d.ts +1 -0
- package/utils/render-documentation.d.ts +0 -1
- package/utils/render-in-iframe.d.ts +15 -0
- package/utils/useBreakpoint.d.ts +2 -1
- package/utils/useIsomorphicLayoutEffect.d.ts +26 -0
- package/utils/vitest.setup.d.ts +5 -0
- package/assets/Asterisk.582f2067.css +0 -1
- package/assets/Button.684e8bda.css +0 -1
- package/assets/ButtonRound.ca8748cf.css +0 -1
- package/assets/Checkbox.84cf6398.css +0 -1
- package/assets/CustomReactSelect.d89ccccb.css +0 -1
- package/assets/Fieldset.5297efb8.css +0 -1
- package/assets/FloatingActionButton.de295f5d.css +0 -1
- package/assets/Heading.32278621.css +0 -1
- package/assets/Icon.8890ee9a.css +0 -1
- package/assets/Input.2c508b2f.css +0 -1
- package/assets/InputPassword.a534f047.css +0 -1
- package/assets/InputSearch.8f986307.css +0 -1
- package/assets/InputStepper.52fb45ca.css +0 -1
- package/assets/Link.03deeca0.css +0 -1
- package/assets/LinkStandalone.7e23a8ac.css +0 -1
- package/assets/Logo.09e48e82.css +0 -1
- package/assets/OptionCheckbox.9c20f6f1.css +0 -1
- package/assets/Radio.be8f06f5.css +0 -1
- package/assets/RadioGroup.8b55ee38.css +0 -1
- package/assets/Select.b2423b5f.css +0 -1
- package/assets/Spinner.af45d460.css +0 -1
- package/assets/Switch.f3ab20de.css +0 -1
- package/assets/SystemFeedback.f4421d60.css +0 -1
- package/assets/Text.4756effe.css +0 -1
- package/assets/Textarea.eecf04b3.css +0 -1
- package/assets/Title.60d50d3e.css +0 -1
- package/asterisk.91abccec.js +0 -8
- package/button.89b2675b.js +0 -135
- package/buttonround.c60c8034.js +0 -118
- package/checkbox.7d414047.js +0 -112
- package/checkboxgroup.e9e25471.js +0 -78
- package/chunks/360.3f3132d9.js +0 -11
- package/chunks/CustomReactSelect.9d0a378a.js +0 -5011
- package/chunks/Link.module.b8230547.js +0 -37
- package/chunks/RadioGroup.module.59ca486a.js +0 -11
- package/chunks/academic-cap.a6849ffc.js +0 -11
- package/chunks/alarm-clock.542230f3.js +0 -11
- package/chunks/arrow-clockwise.0496f663.js +0 -11
- package/chunks/arrow-counterclockwise.635a0130.js +0 -11
- package/chunks/arrow-down-line.0976611e.js +0 -11
- package/chunks/arrow-down.9780d975.js +0 -11
- package/chunks/arrow-edge.3288acdd.js +0 -11
- package/chunks/arrow-left.ace9c808.js +0 -11
- package/chunks/arrow-out.0499f39e.js +0 -11
- package/chunks/arrow-outline-left.efc33275.js +0 -11
- package/chunks/arrow-right.133feef2.js +0 -11
- package/chunks/arrow-up-arrow-down.b612e9b1.js +0 -11
- package/chunks/arrow-up.3be6430a.js +0 -11
- package/chunks/at.6279d12b.js +0 -11
- package/chunks/barcode-scanner.0a4a314d.js +0 -11
- package/chunks/battery.e1249ee1.js +0 -11
- package/chunks/bell.87fe4f0b.js +0 -11
- package/chunks/bin-open.be4290d8.js +0 -11
- package/chunks/bin.b36466f3.js +0 -11
- package/chunks/bluetooth.54b89b90.js +0 -11
- package/chunks/bookmark.4d5ce4c3.js +0 -11
- package/chunks/burger.1301d91e.js +0 -11
- package/chunks/calendar.ba39a664.js +0 -11
- package/chunks/camera.3bed4f3b.js +0 -11
- package/chunks/cart-check.9fb6abdb.js +0 -11
- package/chunks/cart-plus.fd5c4674.js +0 -11
- package/chunks/cart.7516d35c.js +0 -11
- package/chunks/catalog.bd0c7830.js +0 -11
- package/chunks/certificate.1639c28e.js +0 -11
- package/chunks/chain-link.45025ed0.js +0 -11
- package/chunks/chainsaw.56d43a9f.js +0 -11
- package/chunks/check.a08beeae.js +0 -11
- package/chunks/chevron-down.80b0dc85.js +0 -11
- package/chunks/chevron-left.f5feade0.js +0 -11
- package/chunks/chevron-line-left.17b172d1.js +0 -11
- package/chunks/chevron-line-right.7cd234b7.js +0 -11
- package/chunks/chevron-right.259bc1a3.js +0 -11
- package/chunks/chevron-up.d1335850.js +0 -11
- package/chunks/circle-check-colored.98e13ab9.js +0 -11
- package/chunks/circle-check-inverted.db29ab06.js +0 -11
- package/chunks/circle-info-colored.8da47e36.js +0 -11
- package/chunks/circle-info-inverted.0ed118fb.js +0 -11
- package/chunks/circle-pause.55300d1b.js +0 -11
- package/chunks/circle-stroke.203dd7aa.js +0 -11
- package/chunks/circle.33ec82eb.js +0 -11
- package/chunks/clock.3014a102.js +0 -11
- package/chunks/coffee-cup.98d6531f.js +0 -11
- package/chunks/compare.c76b221b.js +0 -11
- package/chunks/connected-box-mobile.9cd742dd.js +0 -11
- package/chunks/connected-box-stationary.191a3ed0.js +0 -11
- package/chunks/connected-box.fe21c39b.js +0 -11
- package/chunks/cross.fe709ee7.js +0 -11
- package/chunks/diamond-exclamationmark-colored.bf3ffccf.js +0 -11
- package/chunks/diamond-exclamationmark-inverted.b5648587.js +0 -11
- package/chunks/diamond.e962c289.js +0 -11
- package/chunks/diskette.04733444.js +0 -11
- package/chunks/distance.9e6b56ff.js +0 -11
- package/chunks/dots-connected.9869fae1.js +0 -11
- package/chunks/envelope-open.3c3fd714.js +0 -11
- package/chunks/envelope.5c9ff834.js +0 -11
- package/chunks/exclamationmark.92afe58f.js +0 -11
- package/chunks/exit.bde46887.js +0 -11
- package/chunks/eye-closed.0b517bb7.js +0 -11
- package/chunks/eye.8f4b311b.js +0 -11
- package/chunks/facebook.4a040606.js +0 -11
- package/chunks/filter.dee66683.js +0 -11
- package/chunks/finger-double-arrow.9cd4c623.js +0 -11
- package/chunks/flash.15646b5e.js +0 -11
- package/chunks/fullscreen.fdd976fe.js +0 -11
- package/chunks/gear.1f5f6fe9.js +0 -11
- package/chunks/globe.7f419498.js +0 -11
- package/chunks/grid.2c1cdc21.js +0 -11
- package/chunks/guidance.63bebf3e.js +0 -11
- package/chunks/haircross.0ac15319.js +0 -11
- package/chunks/hanger.edc848f4.js +0 -11
- package/chunks/headphones.a023699e.js +0 -11
- package/chunks/heart.d4440641.js +0 -11
- package/chunks/hexagon-arrow-clockwise.98e9b555.js +0 -11
- package/chunks/horizontal-ellipsis.84419429.js +0 -11
- package/chunks/house.70059642.js +0 -11
- package/chunks/imow.3374e620.js +0 -11
- package/chunks/info.1787448e.js +0 -11
- package/chunks/instagram.e12dd682.js +0 -11
- package/chunks/leave-fullscreen.def46043.js +0 -11
- package/chunks/lightbulb.b73d3ebf.js +0 -11
- package/chunks/linkedin.ce0c68cb.js +0 -11
- package/chunks/list-three-rows.ef44c7ef.js +0 -11
- package/chunks/list-two-rows.5ed8f1af.js +0 -11
- package/chunks/loading-spinner.8293421e.js +0 -11
- package/chunks/lock.3cbc8ced.js +0 -11
- package/chunks/magnifying-glass-minus.b0f906e5.js +0 -11
- package/chunks/magnifying-glass-plus.6ffc69c5.js +0 -11
- package/chunks/magnifying-glass.c297e41f.js +0 -11
- package/chunks/map.c96b1dcd.js +0 -11
- package/chunks/minus.7f6676e8.js +0 -11
- package/chunks/mobile.416ee5b0.js +0 -11
- package/chunks/nine-squares.34eeb0d4.js +0 -11
- package/chunks/note-check.aaf92ef9.js +0 -11
- package/chunks/note-plus.e7ab1b93.js +0 -11
- package/chunks/note.cc96375c.js +0 -11
- package/chunks/number-input.076fcf63.js +0 -11
- package/chunks/paperclip.e8831256.js +0 -11
- package/chunks/parcel.75534dbd.js +0 -11
- package/chunks/pause.901567cf.js +0 -11
- package/chunks/pdf.92c1781a.js +0 -11
- package/chunks/pen.ecbcb50d.js +0 -11
- package/chunks/percent.4b7fa587.js +0 -11
- package/chunks/petrol.41999bec.js +0 -11
- package/chunks/phone.3c23c041.js +0 -11
- package/chunks/pin-s.a5519070.js +0 -11
- package/chunks/pin.1137362d.js +0 -11
- package/chunks/pinterest.88763b51.js +0 -11
- package/chunks/placeholder.d6fdaf8f.js +0 -11
- package/chunks/play.dd0f1d8c.js +0 -11
- package/chunks/plug.00f114c4.js +0 -11
- package/chunks/plus.42721ebf.js +0 -11
- package/chunks/printer.5bb7ee0d.js +0 -11
- package/chunks/prohibition-sign.af5616b3.js +0 -11
- package/chunks/questionmark.db94a06d.js +0 -11
- package/chunks/security.2be491e3.js +0 -11
- package/chunks/share.ddae7aef.js +0 -11
- package/chunks/shirt.135d58c1.js +0 -11
- package/chunks/shop.f120426b.js +0 -11
- package/chunks/sound-off.c6f5ed43.js +0 -11
- package/chunks/sound-on.212c36bc.js +0 -11
- package/chunks/speechbubble.9428546e.js +0 -11
- package/chunks/speechbubbles.65cb946e.js +0 -11
- package/chunks/square.452f505f.js +0 -11
- package/chunks/star-half.1458bc5b.js +0 -11
- package/chunks/star.fab17456.js +0 -11
- package/chunks/tag.4d730d72.js +0 -11
- package/chunks/thumbs-down.cbf6e4ec.js +0 -11
- package/chunks/thumbs-up.435754e1.js +0 -11
- package/chunks/triangle-exclamationmark-colored.94025893.js +0 -11
- package/chunks/triangle-exclamationmark-inverted.bc4eed15.js +0 -11
- package/chunks/truck.a904d6d3.js +0 -11
- package/chunks/two-people-screen.3e509922.js +0 -11
- package/chunks/two-sheets.d1cfef0f.js +0 -11
- package/chunks/upload.7f1850a3.js +0 -11
- package/chunks/user.bf5b30a5.js +0 -11
- package/chunks/vertical-ellipsis.1cac00e5.js +0 -11
- package/chunks/wc.9d108bd0.js +0 -11
- package/chunks/wifi-1bar.b6fc33aa.js +0 -11
- package/chunks/wifi-2bars.27e9da59.js +0 -11
- package/chunks/wifi-off.e5daf3a9.js +0 -11
- package/chunks/wifi.40bb915d.js +0 -11
- package/chunks/wind-rose.27fa658a.js +0 -11
- package/chunks/wrench.69493ef3.js +0 -11
- package/chunks/x.d9da4202.js +0 -11
- package/chunks/xing.e17c1a24.js +0 -11
- package/chunks/youtube.dbf50787.js +0 -11
- package/combobox.f98a4472.js +0 -45
- package/customreactselect.a53f9932.js +0 -13
- package/fieldset.fb7b7e49.js +0 -98
- package/floatingactionbutton.281b5465.js +0 -87
- package/heading.cb7698f4.js +0 -44
- package/icon.b4211784.js +0 -215
- package/input.abb902e3.js +0 -228
- package/inputpassword.11c12c66.js +0 -139
- package/inputsearch.0c88e71a.js +0 -188
- package/inputstepper.b74dac4d.js +0 -284
- package/link.cd3720d1.js +0 -84
- package/linkstandalone.26b52de0.js +0 -80
- package/optioncheckbox.7195f001.js +0 -43
- package/radio.1b205d64.js +0 -79
- package/radiogroup.6a22fe96.js +0 -100
- package/select.2ff31eab.js +0 -188
- package/spinner.ee015469.js +0 -58
- package/styles/fonts/STIHLContrafaceDisplayTitling.woff +0 -0
- package/styles/fonts/STIHLContrafaceDisplayTitling.woff2 +0 -0
- package/styles/fonts/STIHLContrafaceText-Bold.woff +0 -0
- package/styles/fonts/STIHLContrafaceText-Bold.woff2 +0 -0
- package/styles/fonts/STIHLContrafaceText.woff +0 -0
- package/styles/fonts/STIHLContrafaceText.woff2 +0 -0
- package/switch.2f011fcc.js +0 -65
- package/systemfeedback.6bbd1505.js +0 -25
- package/text.8d80704f.js +0 -57
- package/textarea.e156b0ce.js +0 -189
- package/title.d855a8e4.js +0 -36
- /package/chunks/{helpers.ea3ca41a.js → helpers.B1JT5ShS.js} +0 -0
- /package/chunks/{index.8021d3e0.js → index.CvOaL64Y.js} +0 -0
- /package/chunks/{useBreakpoint.6c1b06c2.js → useBreakpoint.5xBNDiCf.js} +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
- /package/partials/{icon.svg → default-icon.svg} +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" fill="none"><g clip-path="url(#a)"><path fill="#F37A1F" d="M512 0H0v512h512V0Z"/><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"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h512v512H0z"/></clipPath></defs></svg>
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as i } from "./chunks/jsx-runtime.C115EyI4.js";
|
|
3
|
+
import { c as _ } from "./chunks/index.CvOaL64Y.js";
|
|
4
|
+
import { forwardRef as $, useRef as y, useState as E, useEffect as L, useCallback as O } from "react";
|
|
5
|
+
import { u as P } from "./chunks/useBreakpoint.5xBNDiCf.js";
|
|
6
|
+
import './assets/radio.9kpIO3HC.css';const C = (n) => n.replace(/\s+/g, ""), U = "_radio-root_o7n7v_76", q = "_radio-root--disabled_o7n7v_97", z = "_radio-root--with-custom-area_o7n7v_100", F = "_radio_o7n7v_76", G = "_dot_o7n7v_121", J = "_radio--invalid_o7n7v_145", K = "_label_o7n7v_150", M = "_label--bold_o7n7v_165", Q = "_label--hidden_o7n7v_177", T = "_label--with-custom-area_o7n7v_189", X = "_custom-area_o7n7v_193", Y = "_hint_o7n7v_201", Z = "_hint--visible_o7n7v_225", oo = "_hint--unchecked-hidden_o7n7v_229", eo = "_hint--hidden_o7n7v_234", to = "_input_o7n7v_247", o = {
|
|
7
|
+
"radio-root": "_radio-root_o7n7v_76",
|
|
8
|
+
radioRoot: U,
|
|
9
|
+
"radio-root--disabled": "_radio-root--disabled_o7n7v_97",
|
|
10
|
+
radioRootDisabled: q,
|
|
11
|
+
"radio-root--with-custom-area": "_radio-root--with-custom-area_o7n7v_100",
|
|
12
|
+
radioRootWithCustomArea: z,
|
|
13
|
+
radio: F,
|
|
14
|
+
dot: G,
|
|
15
|
+
"radio--invalid": "_radio--invalid_o7n7v_145",
|
|
16
|
+
radioInvalid: J,
|
|
17
|
+
label: K,
|
|
18
|
+
"label--bold": "_label--bold_o7n7v_165",
|
|
19
|
+
labelBold: M,
|
|
20
|
+
"label--hidden": "_label--hidden_o7n7v_177",
|
|
21
|
+
labelHidden: Q,
|
|
22
|
+
"label--with-custom-area": "_label--with-custom-area_o7n7v_189",
|
|
23
|
+
labelWithCustomArea: T,
|
|
24
|
+
"custom-area": "_custom-area_o7n7v_193",
|
|
25
|
+
customArea: X,
|
|
26
|
+
hint: Y,
|
|
27
|
+
"hint--visible": "_hint--visible_o7n7v_225",
|
|
28
|
+
hintVisible: Z,
|
|
29
|
+
"hint--unchecked-hidden": "_hint--unchecked-hidden_o7n7v_229",
|
|
30
|
+
hintUncheckedHidden: oo,
|
|
31
|
+
"hint--hidden": "_hint--hidden_o7n7v_234",
|
|
32
|
+
hintHidden: eo,
|
|
33
|
+
input: to
|
|
34
|
+
}, io = $(
|
|
35
|
+
({
|
|
36
|
+
label: n,
|
|
37
|
+
name: v,
|
|
38
|
+
value: b,
|
|
39
|
+
checked: m,
|
|
40
|
+
className: R,
|
|
41
|
+
customArea: a,
|
|
42
|
+
defaultChecked: x = !1,
|
|
43
|
+
disabled: s = !1,
|
|
44
|
+
hideLabel: k = !1,
|
|
45
|
+
hint: l,
|
|
46
|
+
invalid: j = !1,
|
|
47
|
+
isBold: N = !1,
|
|
48
|
+
hideUncheckedHint: r = !1,
|
|
49
|
+
onChange: h,
|
|
50
|
+
...g
|
|
51
|
+
}, d) => {
|
|
52
|
+
const H = y(null), e = y(null), [w, D] = E(x), u = m !== void 0, c = u ? m : w;
|
|
53
|
+
L(() => {
|
|
54
|
+
e.current && r && ((e.current.style.height === "0px" || e.current.style.height === "") && c ? (e.current.style.height = `${e.current.scrollHeight}px`, e.current.style.opacity = "1") : (e.current.style.opacity = "0", e.current.style.height = "0px"));
|
|
55
|
+
}, [e, c]);
|
|
56
|
+
const f = P(k), A = _(
|
|
57
|
+
o.radioRoot,
|
|
58
|
+
{
|
|
59
|
+
[o.radioRootDisabled]: s,
|
|
60
|
+
[o.radioRootWithCustomArea]: !!a
|
|
61
|
+
},
|
|
62
|
+
R
|
|
63
|
+
), W = _(o.label, {
|
|
64
|
+
[o.labelBold]: N,
|
|
65
|
+
// hide label only visually to keep them available for assistive technologies
|
|
66
|
+
[o.labelHidden]: f,
|
|
67
|
+
[o.labelWithCustomArea]: !!a
|
|
68
|
+
}), B = () => !r && l ? !0 : !!(r && l && c), V = _(o.hint, {
|
|
69
|
+
[o.hintHidden]: f,
|
|
70
|
+
[o.hintUncheckedHidden]: r,
|
|
71
|
+
[o.hintVisible]: B()
|
|
72
|
+
}), I = _(o.radio, {
|
|
73
|
+
[o.radioInvalid]: j
|
|
74
|
+
}), S = O(
|
|
75
|
+
(t) => {
|
|
76
|
+
if (s) {
|
|
77
|
+
t.preventDefault();
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
u || D(t.target.checked), h && h(t);
|
|
81
|
+
},
|
|
82
|
+
[s, u, h]
|
|
83
|
+
), p = l ? `${C(v)}-${C(b)}-description` : void 0;
|
|
84
|
+
return /* @__PURE__ */ i.jsxs("label", { className: A, children: [
|
|
85
|
+
/* @__PURE__ */ i.jsx(
|
|
86
|
+
"input",
|
|
87
|
+
{
|
|
88
|
+
type: "radio",
|
|
89
|
+
value: b,
|
|
90
|
+
name: v,
|
|
91
|
+
className: o.input,
|
|
92
|
+
ref: (t) => {
|
|
93
|
+
typeof d == "function" ? d(t) : d !== null && (d.current = t), H.current = t;
|
|
94
|
+
},
|
|
95
|
+
onChange: S,
|
|
96
|
+
...g,
|
|
97
|
+
disabled: s,
|
|
98
|
+
checked: c,
|
|
99
|
+
"aria-label": typeof n == "string" ? n : void 0,
|
|
100
|
+
"aria-describedby": p
|
|
101
|
+
}
|
|
102
|
+
),
|
|
103
|
+
/* @__PURE__ */ i.jsx("span", { className: I, children: /* @__PURE__ */ i.jsx("div", { className: o.dot }) }),
|
|
104
|
+
/* @__PURE__ */ i.jsxs("span", { className: W, children: [
|
|
105
|
+
n,
|
|
106
|
+
a && /* @__PURE__ */ i.jsx("div", { className: o.customArea, children: a }),
|
|
107
|
+
/* @__PURE__ */ i.jsx("span", { id: p, className: V, ref: e, children: l })
|
|
108
|
+
] })
|
|
109
|
+
] });
|
|
110
|
+
}
|
|
111
|
+
);
|
|
112
|
+
io.displayName = "DSRadio";
|
|
113
|
+
export {
|
|
114
|
+
io as DSRadio
|
|
115
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "./chunks/jsx-runtime.C115EyI4.js";
|
|
3
|
+
import "./chunks/index.CvOaL64Y.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "./chunks/Fieldset.COGbZwry.js";
|
|
6
|
+
import "./radio.CWGJtmKl.js";
|
|
7
|
+
import "./chunks/RadioGroup.module.BBZwHDjW.js";
|
|
8
|
+
import { D as s } from "./chunks/RadioGroup.C5jbCJM4.js";
|
|
9
|
+
export {
|
|
10
|
+
s as DSRadioGroup
|
|
11
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import "./chunks/jsx-runtime.C115EyI4.js";
|
|
3
|
+
import "./chunks/index.CvOaL64Y.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import "./chunks/useBreakpoint.5xBNDiCf.js";
|
|
6
|
+
import "./asterisk.DDn-yX4P.js";
|
|
7
|
+
import "./chunks/Icon.C2o2seDb.js";
|
|
8
|
+
import "./systemfeedback.ZzRUAVYX.js";
|
|
9
|
+
import { D as s } from "./chunks/Select.fXeQJXtz.js";
|
|
10
|
+
export {
|
|
11
|
+
s as DSSelect
|
|
12
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as p } from "./chunks/jsx-runtime.C115EyI4.js";
|
|
3
|
+
import { c as k } from "./chunks/index.CvOaL64Y.js";
|
|
4
|
+
import { g as n } from "./chunks/helpers.B1JT5ShS.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import { DSLink as c } from "./link.DAZNwQ0a.js";
|
|
7
|
+
import './assets/skiptocontent.CHcqLS7S.css';const h = "_skip-to-content_cxg2l_76", l = "_skip-to-content--dark_cxg2l_83", s = {
|
|
8
|
+
"skip-to-content": "_skip-to-content_cxg2l_76",
|
|
9
|
+
skipToContent: h,
|
|
10
|
+
"skip-to-content--dark": "_skip-to-content--dark_cxg2l_83",
|
|
11
|
+
skipToContentDark: l
|
|
12
|
+
}, f = ({
|
|
13
|
+
children: e = "Skip to main content",
|
|
14
|
+
className: i,
|
|
15
|
+
targetElementId: t = "main",
|
|
16
|
+
theme: o = "light",
|
|
17
|
+
...r
|
|
18
|
+
}) => {
|
|
19
|
+
t.startsWith("#") && console.warn(
|
|
20
|
+
n(
|
|
21
|
+
"DSSkipToContent",
|
|
22
|
+
'The targetElementId should not start with a "#" character. Please provide the id of the element you want to skip to.'
|
|
23
|
+
)
|
|
24
|
+
), (t.startsWith("http") || t.startsWith(".")) && console.warn(
|
|
25
|
+
n(
|
|
26
|
+
"DSSkipToContent",
|
|
27
|
+
'The targetElementId should not start with "http" or ".". Please provide the id of the element you want to skip to.'
|
|
28
|
+
)
|
|
29
|
+
);
|
|
30
|
+
const a = k(s.skipToContent, i, {
|
|
31
|
+
[s.skipToContentDark]: o === "dark"
|
|
32
|
+
});
|
|
33
|
+
return /* @__PURE__ */ p.jsx(
|
|
34
|
+
c,
|
|
35
|
+
{
|
|
36
|
+
...r,
|
|
37
|
+
className: a,
|
|
38
|
+
href: `#${t}`,
|
|
39
|
+
theme: o,
|
|
40
|
+
children: e
|
|
41
|
+
}
|
|
42
|
+
);
|
|
43
|
+
};
|
|
44
|
+
export {
|
|
45
|
+
f as DSSkipToContent
|
|
46
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/SkipToContent/SkipToContent'
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as r } from "./chunks/jsx-runtime.C115EyI4.js";
|
|
3
|
+
import { c as n } from "./chunks/index.CvOaL64Y.js";
|
|
4
|
+
import { D as _ } from "./chunks/Icon.C2o2seDb.js";
|
|
5
|
+
import './assets/spinner.D_Nnf1ZG.css';const m = "_root_11iwi_76", z = "_root-size-small_11iwi_82", c = "_root-size-medium_11iwi_86", S = "_root-size-large_11iwi_90", d = "_root-size-x-large_11iwi_94", g = "_root-size-inherit_11iwi_98", w = "_rotate_11iwi_1", u = "_screenReaderOnly_11iwi_123", e = {
|
|
6
|
+
root: m,
|
|
7
|
+
"root-size-small": "_root-size-small_11iwi_82",
|
|
8
|
+
rootSizeSmall: z,
|
|
9
|
+
"root-size-medium": "_root-size-medium_11iwi_86",
|
|
10
|
+
rootSizeMedium: c,
|
|
11
|
+
"root-size-large": "_root-size-large_11iwi_90",
|
|
12
|
+
rootSizeLarge: S,
|
|
13
|
+
"root-size-x-large": "_root-size-x-large_11iwi_94",
|
|
14
|
+
rootSizeXLarge: d,
|
|
15
|
+
"root-size-inherit": "_root-size-inherit_11iwi_98",
|
|
16
|
+
rootSizeInherit: g,
|
|
17
|
+
rotate: w,
|
|
18
|
+
screenReaderOnly: u
|
|
19
|
+
}, L = ({
|
|
20
|
+
aria: i,
|
|
21
|
+
className: t,
|
|
22
|
+
size: o = "small",
|
|
23
|
+
theme: s = "light",
|
|
24
|
+
...a
|
|
25
|
+
}) => {
|
|
26
|
+
const l = n(e.root, t, {
|
|
27
|
+
[e.rootSizeSmall]: o === "small",
|
|
28
|
+
[e.rootSizeMedium]: o === "medium",
|
|
29
|
+
[e.rootSizeLarge]: o === "large",
|
|
30
|
+
[e.rootSizeXLarge]: o === "x-large",
|
|
31
|
+
[e.rootSizeInherit]: o === "inherit"
|
|
32
|
+
});
|
|
33
|
+
return /* @__PURE__ */ r.jsxs(
|
|
34
|
+
"span",
|
|
35
|
+
{
|
|
36
|
+
className: l,
|
|
37
|
+
role: "alert",
|
|
38
|
+
"aria-live": "assertive",
|
|
39
|
+
"aria-label": (i == null ? void 0 : i["aria-label"]) || void 0,
|
|
40
|
+
...a,
|
|
41
|
+
children: [
|
|
42
|
+
/* @__PURE__ */ r.jsx("span", { className: e.screenReaderOnly, children: " " }),
|
|
43
|
+
/* @__PURE__ */ r.jsx(
|
|
44
|
+
_,
|
|
45
|
+
{
|
|
46
|
+
name: "loading-spinner",
|
|
47
|
+
theme: s,
|
|
48
|
+
focusable: "false",
|
|
49
|
+
"aria-hidden": "true"
|
|
50
|
+
}
|
|
51
|
+
)
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
};
|
|
56
|
+
export {
|
|
57
|
+
L as DSSpinner
|
|
58
|
+
};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@font-face{font-family:STIHL Contraface Display Title;font-weight:400;font-style:normal;font-display:swap;src:url(./
|
|
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")}
|
package/styles/scss/_index.scss
CHANGED
|
@@ -12,9 +12,11 @@
|
|
|
12
12
|
@import 'lib/_grid-sidebar-sidebar.scss';
|
|
13
13
|
@import 'lib/_heading.scss';
|
|
14
14
|
@import 'lib/_helpers.scss';
|
|
15
|
+
@import 'lib/_high-contrast.scss';
|
|
15
16
|
@import 'lib/_hover.scss';
|
|
16
17
|
@import 'lib/_link.scss';
|
|
17
18
|
@import 'lib/_media-query.scss';
|
|
19
|
+
@import 'lib/_shadow.scss';
|
|
18
20
|
@import 'lib/_spacing.scss';
|
|
19
21
|
@import 'lib/_text.scss';
|
|
20
22
|
@import 'lib/_theme.scss';
|
|
@@ -1,6 +1,21 @@
|
|
|
1
|
-
$ds-animation-duration-
|
|
2
|
-
$ds-animation-duration-
|
|
3
|
-
$ds-animation-duration-
|
|
1
|
+
$ds-animation-duration-100: var(--ds-animation-duration, 100ms);
|
|
2
|
+
$ds-animation-duration-250: var(--ds-animation-duration, 250ms);
|
|
3
|
+
$ds-animation-duration-400: var(--ds-animation-duration, 400ms);
|
|
4
4
|
|
|
5
|
-
$ds-animation-
|
|
6
|
-
$ds-animation-
|
|
5
|
+
$ds-animation-durations: (
|
|
6
|
+
'100': $ds-animation-duration-100,
|
|
7
|
+
'250': $ds-animation-duration-250,
|
|
8
|
+
'400': $ds-animation-duration-400,
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
$ds-motion-functional-linear: linear;
|
|
12
|
+
$ds-motion-functional-ease-in: cubic-bezier(0.5, 0, 1, 1);
|
|
13
|
+
$ds-motion-functional-ease-out: cubic-bezier(0, 0, 0.5, 1);
|
|
14
|
+
$ds-motion-functional-ease-in-out: cubic-bezier(0.5, 0, 0.5, 1);
|
|
15
|
+
|
|
16
|
+
$ds-animation-easing-functions: (
|
|
17
|
+
'linear': $ds-motion-functional-linear,
|
|
18
|
+
'ease-in': $ds-motion-functional-ease-in,
|
|
19
|
+
'ease-out': $ds-motion-functional-ease-out,
|
|
20
|
+
'ease-in-out': $ds-motion-functional-ease-in-out,
|
|
21
|
+
);
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
} @else {
|
|
16
|
-
@error "Passed #{$min} breakpoint is not available
|
|
16
|
+
@error "[STIHL Design System] - [ds-container-query-min()]: Passed '#{$min}' breakpoint is not available in ds-container-query-min() mixin.";
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
} @else {
|
|
33
|
-
@error "Passed #{$max} breakpoint is not available
|
|
33
|
+
@error "[STIHL Design System] - [ds-container-query-max()]: Passed '#{$max}' breakpoint is not available in ds-container-query-max() mixin.";
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
|
|
@@ -53,6 +53,6 @@
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
} @else {
|
|
56
|
-
@error "Passed #{$min} and/or #{$max} breakpoint is not available
|
|
56
|
+
@error "[STIHL Design System] - [ds-container-query-min-max()]: Passed '#{$min}' and/or '#{$max}' breakpoint is not available in ds-container-query-min-max() mixin.";
|
|
57
57
|
}
|
|
58
58
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import '_theme';
|
|
2
|
+
@import '_high-contrast';
|
|
2
3
|
|
|
3
4
|
@mixin outline($theme, $offset, $thickness: 2px) {
|
|
4
5
|
outline: $thickness solid;
|
|
@@ -9,7 +10,7 @@
|
|
|
9
10
|
);
|
|
10
11
|
outline-offset: $offset;
|
|
11
12
|
|
|
12
|
-
@
|
|
13
|
+
@include high-contrast-media-query {
|
|
13
14
|
forced-color-adjust: auto;
|
|
14
15
|
outline-color: Highlight;
|
|
15
16
|
}
|
|
@@ -5,7 +5,7 @@ $ds-grid-extended-column-end: extended-end;
|
|
|
5
5
|
grid-column: $ds-grid-extended-column-start / $ds-grid-extended-column-end;
|
|
6
6
|
|
|
7
7
|
@media (min-width: 1668px) {
|
|
8
|
-
margin-
|
|
9
|
-
margin-
|
|
8
|
+
margin-inline-start: -32px;
|
|
9
|
+
margin-inline-end: -32px;
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// The max-width of the narrow content center/left area in our grid.
|
|
2
|
+
$ds-grid-narrow-max-width: 948px;
|
|
1
3
|
$ds-grid-narrow-left-column-start: narrow-left-start;
|
|
2
4
|
$ds-grid-narrow-left-column-end: narrow-left-end;
|
|
3
5
|
$ds-grid-narrow-center-column-start: narrow-center-start;
|
|
@@ -15,6 +15,7 @@ $ds-grid-sidebar-sidebar-2-column-end: sidebar-2-end;
|
|
|
15
15
|
grid-row: span 300;
|
|
16
16
|
grid-column: $ds-grid-sidebar-sidebar-1-column-start /
|
|
17
17
|
$ds-grid-sidebar-sidebar-1-column-end;
|
|
18
|
+
margin-block-end: 0;
|
|
18
19
|
@if ($is-open == true) {
|
|
19
20
|
width: 264px;
|
|
20
21
|
max-width: 264px;
|
|
@@ -33,16 +34,17 @@ $ds-grid-sidebar-sidebar-2-column-end: sidebar-2-end;
|
|
|
33
34
|
// https://stackoverflow.com/a/49076465/2346207
|
|
34
35
|
// https://stackoverflow.com/a/56876772/2346207
|
|
35
36
|
grid-row: span 300;
|
|
37
|
+
margin-block-end: 0;
|
|
36
38
|
@if ($is-open == true) {
|
|
37
39
|
grid-column: $ds-grid-sidebar-sidebar-2-column-start /
|
|
38
40
|
$ds-grid-sidebar-sidebar-2-column-end;
|
|
39
41
|
display: unset;
|
|
40
42
|
width: 320px;
|
|
41
43
|
max-width: 320px;
|
|
42
|
-
margin-
|
|
44
|
+
margin-inline-start: -24px;
|
|
43
45
|
}
|
|
44
46
|
}
|
|
45
47
|
@media (min-width: 1535px) {
|
|
46
|
-
margin-
|
|
48
|
+
margin-inline-start: -32px;
|
|
47
49
|
}
|
|
48
50
|
}
|
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
@mixin ds-grid-sidebar($is-sidebar-1-open: false, $is-sidebar-2-open: false) {
|
|
4
4
|
@if $is-sidebar-1-open == false and $is-sidebar-2-open == true {
|
|
5
|
-
@error "Sidebar 1 cannot be visually closed when sidebar 2 is open";
|
|
5
|
+
@error "[STIHL Design System] - [ds-grid-sidebar()]: Sidebar 1 cannot be visually closed when sidebar 2 is open";
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
display: grid;
|
|
9
9
|
--ds-grid-sidebar-gap: 16px;
|
|
10
10
|
gap: var(--ds-grid-sidebar-gap);
|
|
11
11
|
min-width: 320px;
|
|
12
|
-
box-sizing: content-box;
|
|
13
12
|
grid-template-columns:
|
|
14
13
|
var(--ds-internal-grid-safe-zone)
|
|
15
14
|
[main-start] repeat(4, minmax(0, 1fr))
|
|
@@ -43,7 +42,7 @@
|
|
|
43
42
|
}
|
|
44
43
|
}
|
|
45
44
|
|
|
46
|
-
@media
|
|
45
|
+
@include ds-media-query-min('m') {
|
|
47
46
|
--ds-grid-sidebar-gap: 24px;
|
|
48
47
|
gap: var(--ds-grid-sidebar-gap);
|
|
49
48
|
grid-template-columns:
|
|
@@ -57,16 +56,14 @@
|
|
|
57
56
|
--ds-grid-span-one-quarter: span 3;
|
|
58
57
|
}
|
|
59
58
|
|
|
60
|
-
@media
|
|
59
|
+
@include ds-media-query-min('l') {
|
|
61
60
|
--ds-grid-sidebar-gap: 0px;
|
|
62
61
|
gap: var(--ds-grid-sidebar-gap);
|
|
63
62
|
column-gap: 24px;
|
|
64
|
-
// The children get a margin-
|
|
63
|
+
// The children get a margin-block-end to imitate row-gap behavior
|
|
65
64
|
// This is counteracted for the last row in the parent
|
|
66
|
-
margin-
|
|
67
|
-
|
|
68
|
-
margin-bottom: 24px;
|
|
69
|
-
}
|
|
65
|
+
margin-block-end: -24px;
|
|
66
|
+
|
|
70
67
|
@if $is-sidebar-1-open == false {
|
|
71
68
|
grid-template-columns:
|
|
72
69
|
[sidebar-1-start] fit-content(64px)
|
|
@@ -74,11 +71,6 @@
|
|
|
74
71
|
var(--ds-internal-grid-safe-zone-left)
|
|
75
72
|
[main-start] repeat(6, minmax(0, 1fr))
|
|
76
73
|
[main-end] var(--ds-internal-grid-safe-zone-right);
|
|
77
|
-
/* The safe zone + gap equal to what is called "margin" in the designs,
|
|
78
|
-
* the "margin" on the right differs based on the status of the sidebar 1 and 2
|
|
79
|
-
* 28 + 24 = 52
|
|
80
|
-
*/
|
|
81
|
-
--ds-internal-grid-safe-zone-right: 28px;
|
|
82
74
|
} @else if $is-sidebar-1-open == true and $is-sidebar-2-open == false {
|
|
83
75
|
grid-template-columns:
|
|
84
76
|
[sidebar-1-start] fit-content(264px)
|
|
@@ -86,11 +78,6 @@
|
|
|
86
78
|
var(--ds-internal-grid-safe-zone-left)
|
|
87
79
|
[main-start] repeat(6, minmax(0, 1fr))
|
|
88
80
|
[main-end] var(--ds-internal-grid-safe-zone-right);
|
|
89
|
-
/* The safe zone + gap equal to what is called "margin" in the designs,
|
|
90
|
-
* the "margin" on the right differs based on the status of the sidebar 1 and 2
|
|
91
|
-
* 26 + 24 = 50
|
|
92
|
-
*/
|
|
93
|
-
--ds-internal-grid-safe-zone-right: 26px;
|
|
94
81
|
} @else if $is-sidebar-1-open == true and $is-sidebar-2-open == true {
|
|
95
82
|
grid-template-columns:
|
|
96
83
|
[sidebar-1-start] fit-content(264px)
|
|
@@ -99,28 +86,33 @@
|
|
|
99
86
|
var(--ds-internal-grid-safe-zone-left)
|
|
100
87
|
[main-start] repeat(6, minmax(0, 1fr))
|
|
101
88
|
[main-end] var(--ds-internal-grid-safe-zone-right);
|
|
102
|
-
/* The safe zone + gap equal to what is called "margin" in the designs,
|
|
103
|
-
* the "margin" on the right differs based on the status of the sidebar 1 and 2
|
|
104
|
-
* 30 + 24 = 54
|
|
105
|
-
*/
|
|
106
|
-
--ds-internal-grid-safe-zone-right: 30px;
|
|
107
89
|
}
|
|
108
90
|
|
|
109
91
|
--ds-internal-grid-safe-zone-left: 2px;
|
|
92
|
+
/**
|
|
93
|
+
* The safe zone + gap equal to what is called "margin" in the designs.
|
|
94
|
+
* The "margin" on the right differs ONLY in Figma, based on the status of the sidebar 1 and 2.
|
|
95
|
+
* HOWEVER, in code, the margins are always the same!
|
|
96
|
+
* 26 + 24 = 50
|
|
97
|
+
*/
|
|
98
|
+
--ds-internal-grid-safe-zone-right: 26px;
|
|
110
99
|
|
|
111
100
|
--ds-grid-span-one-half: span 3;
|
|
112
101
|
--ds-grid-span-one-third: span 2;
|
|
113
102
|
--ds-grid-span-two-thirds: span 4;
|
|
114
|
-
}
|
|
115
103
|
|
|
116
|
-
|
|
117
|
-
column-gap: 32px;
|
|
118
|
-
// The children get a margin-bottom to imitate row-gap behavior
|
|
104
|
+
// The children get a margin-block-end to imitate row-gap behavior
|
|
119
105
|
// This is counteracted for the last row in the parent
|
|
120
|
-
margin-bottom: -32px;
|
|
121
106
|
& > * {
|
|
122
|
-
margin-
|
|
107
|
+
margin-block-end: 24px;
|
|
123
108
|
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@include ds-media-query-min('xl') {
|
|
112
|
+
column-gap: 32px;
|
|
113
|
+
// The children get a margin-block-end to imitate row-gap behavior
|
|
114
|
+
// This is counteracted for the last row in the parent
|
|
115
|
+
margin-block-end: -32px;
|
|
124
116
|
|
|
125
117
|
@if $is-sidebar-1-open == false {
|
|
126
118
|
grid-template-columns:
|
|
@@ -129,11 +121,6 @@
|
|
|
129
121
|
var(--ds-internal-grid-safe-zone-left)
|
|
130
122
|
[main-start] repeat(12, minmax(0, 1fr))
|
|
131
123
|
[main-end] var(--ds-internal-grid-safe-zone-right);
|
|
132
|
-
/* The safe zone + gap equal to what is called "margin" in the designs,
|
|
133
|
-
* the "margin" on the right differs based on the status of the sidebar 1 and 2
|
|
134
|
-
* 40 + 32 = 72
|
|
135
|
-
*/
|
|
136
|
-
--ds-internal-grid-safe-zone-right: 40px;
|
|
137
124
|
} @else if $is-sidebar-1-open == true and $is-sidebar-2-open == false {
|
|
138
125
|
grid-template-columns:
|
|
139
126
|
[sidebar-1-start] fit-content(264px)
|
|
@@ -141,11 +128,6 @@
|
|
|
141
128
|
var(--ds-internal-grid-safe-zone-left)
|
|
142
129
|
[main-start] repeat(12, minmax(0, 1fr))
|
|
143
130
|
[main-end] var(--ds-internal-grid-safe-zone-right);
|
|
144
|
-
/* The safe zone + gap equal to what is called "margin" in the designs,
|
|
145
|
-
* the "margin" on the right differs based on the status of the sidebar 1 and 2
|
|
146
|
-
* 32 + 32 = 64
|
|
147
|
-
*/
|
|
148
|
-
--ds-internal-grid-safe-zone-right: 32px;
|
|
149
131
|
} @else if $is-sidebar-1-open == true and $is-sidebar-2-open == true {
|
|
150
132
|
grid-template-columns:
|
|
151
133
|
[sidebar-1-start] fit-content(264px)
|
|
@@ -154,18 +136,26 @@
|
|
|
154
136
|
var(--ds-internal-grid-safe-zone-left)
|
|
155
137
|
[main-start] repeat(12, minmax(0, 1fr))
|
|
156
138
|
[main-end] var(--ds-internal-grid-safe-zone-right);
|
|
157
|
-
/* The safe zone + gap equal to what is called "margin" in the designs,
|
|
158
|
-
* the "margin" on the right differs based on the status of the sidebar 1 and 2
|
|
159
|
-
* 36 + 32 = 68
|
|
160
|
-
*/
|
|
161
|
-
--ds-internal-grid-safe-zone-right: 36px;
|
|
162
139
|
}
|
|
163
140
|
|
|
164
141
|
--ds-internal-grid-safe-zone-left: 0px;
|
|
142
|
+
/**
|
|
143
|
+
* The safe zone + gap equal to what is called "margin" in the designs.
|
|
144
|
+
* The "margin" on the right differs ONLY in Figma, based on the status of the sidebar 1 and 2.
|
|
145
|
+
* HOWEVER, in code, the margins are always the same!
|
|
146
|
+
* 32 + 32 = 64
|
|
147
|
+
*/
|
|
148
|
+
--ds-internal-grid-safe-zone-right: 32px;
|
|
165
149
|
|
|
166
150
|
--ds-grid-span-one-half: span 6;
|
|
167
151
|
--ds-grid-span-one-third: span 4;
|
|
168
152
|
--ds-grid-span-two-thirds: span 8;
|
|
153
|
+
|
|
154
|
+
// The children get a margin-block-end to imitate row-gap behavior
|
|
155
|
+
// This is counteracted for the last row in the parent
|
|
156
|
+
& > * {
|
|
157
|
+
margin-block-end: 32px;
|
|
158
|
+
}
|
|
169
159
|
}
|
|
170
160
|
|
|
171
161
|
@media (min-width: 2304px) {
|