@stihl-design-system/components 1.0.0-RC.1 → 1.0.0-RC.3
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/README.md +1 -1
- package/assets/CustomReactSelect.BdwXfLLO.css +1 -0
- package/assets/RadioGroup.Ur8Ro-XL.css +1 -0
- package/assets/asterisk.C-o6rbGQ.css +1 -0
- package/assets/button.DJvR-58w.css +1 -0
- package/assets/buttonround.BlfQkmMV.css +1 -0
- package/assets/checkbox.BsFEWfQe.css +1 -0
- package/assets/fieldset.xazpUXJX.css +1 -0
- package/assets/floatingactionbutton.D7ywURL3.css +1 -0
- package/assets/heading.CGFucb-C.css +1 -0
- package/assets/icon.CB-KQmw4.css +1 -0
- package/assets/input.BcP5kkZ2.css +1 -0
- package/assets/inputpassword.C3Uyj7oA.css +1 -0
- package/assets/inputsearch.tL3e9-Ob.css +1 -0
- package/assets/inputstepper.paPJix5A.css +1 -0
- package/assets/link.V7pJOW1p.css +1 -0
- package/assets/linkstandalone.D3RbBp23.css +1 -0
- package/assets/logo.BbHYgnWo.css +1 -0
- package/assets/optioncheckbox.C-K1FLhc.css +1 -0
- package/assets/radio.CSHQGdpr.css +1 -0
- package/assets/select.D2qBxaHP.css +1 -0
- package/assets/spinner.C5rBmKiF.css +1 -0
- package/assets/switch.sqve8ApJ.css +1 -0
- package/assets/{SystemFeedback.c30264c0.css → systemfeedback.WE3wClZ3.css} +1 -1
- package/assets/text.DDAveG7E.css +1 -0
- package/assets/textarea.BKbocznb.css +1 -0
- package/assets/title.CE0Dm7PI.css +1 -0
- package/asterisk.DU8THnoC.js +8 -0
- package/button.BUUGRxIp.js +135 -0
- package/buttonround.CKc-a-hd.js +118 -0
- package/{checkbox.42617f46.js → checkbox.C2Ga9yTK.js} +30 -30
- package/checkboxgroup.Cfxz9bk6.js +80 -0
- package/chunks/360.CfjUtgxq.js +10 -0
- package/chunks/{CustomReactSelect.2e4e7ba0.js → CustomReactSelect.uzWNynay.js} +797 -785
- package/chunks/{Input.utils.f8f3286f.js → Input.utils.Bly6ZzLI.js} +1 -1
- package/chunks/RadioGroup.module.bi3leRes.js +11 -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.DLY6BTL4.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/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.C-kxDJ4g.js} +263 -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.BXHAo4Wx.js +47 -0
- package/components/Asterisk/Asterisk.d.ts +0 -1
- package/components/Button/Button.d.ts +5 -4
- package/components/ButtonRound/ButtonRound.d.ts +3 -3
- package/components/Checkbox/Checkbox.d.ts +4 -3
- package/components/CheckboxGroup/CheckboxGroup.d.ts +5 -4
- package/components/CheckboxGroup/CheckboxGroup.utils.d.ts +2 -1
- package/components/Combobox/Combobox.d.ts +3 -3
- package/components/Combobox/Combobox.utils.d.ts +4 -3
- package/components/CustomReactSelect/CustomReactSelect.d.ts +7 -7
- package/components/CustomReactSelect/CustomReactSelect.utils.d.ts +3 -2
- package/components/CustomReactSelect/OptionCheckbox.d.ts +2 -1
- package/components/Fieldset/Fieldset.d.ts +4 -3
- package/components/Fieldset/Fieldset.utils.d.ts +3 -2
- package/components/FloatingActionButton/FloatingActionButton.d.ts +2 -2
- package/components/Heading/Heading.d.ts +4 -3
- package/components/Heading/Heading.utils.d.ts +1 -1
- package/components/Icon/Icon.d.ts +4 -3
- package/components/Icon/Icon.utils.d.ts +4 -6
- package/components/Input/Input.d.ts +5 -4
- package/components/Input/Input.utils.d.ts +2 -1
- package/components/InputPassword/InputPassword.d.ts +5 -4
- package/components/InputPassword/InputPassword.utils.d.ts +2 -1
- package/components/InputSearch/InputSearch.d.ts +5 -4
- package/components/InputSearch/InputSearch.utils.d.ts +2 -1
- package/components/InputStepper/InputStepper.d.ts +5 -4
- package/components/InputStepper/InputStepper.utils.d.ts +2 -1
- package/components/Link/Link.d.ts +4 -4
- package/components/LinkStandalone/LinkStandalone.d.ts +3 -3
- package/components/Logo/Logo.d.ts +7 -4
- package/components/Logo/Logo.utils.d.ts +3 -1
- package/components/Radio/Radio.d.ts +4 -3
- package/components/RadioGroup/RadioGroup.d.ts +6 -5
- package/components/RadioGroup/RadioGroup.utils.d.ts +3 -2
- package/components/Select/Select.d.ts +4 -3
- package/components/Select/Select.utils.d.ts +4 -3
- package/components/Spinner/Spinner.d.ts +4 -3
- package/components/Switch/Switch.d.ts +4 -3
- package/components/SystemFeedback/SystemFeedback.d.ts +3 -2
- package/components/Text/Text.d.ts +4 -3
- package/components/Textarea/Textarea.d.ts +4 -3
- package/components/Textarea/Textarea.utils.d.ts +2 -1
- package/components/Title/Title.d.ts +4 -3
- package/customreactselect.CipgVXTR.js +13 -0
- package/fieldset.DGcIKzDI.js +98 -0
- package/floatingactionbutton.DzHD39NY.js +87 -0
- package/heading.DqGbFfj2.js +50 -0
- package/icon.PX9_1kNB.js +215 -0
- package/index.es.js +23 -23
- package/input.o8OT6rxJ.js +236 -0
- package/inputpassword.-MXq8baU.js +139 -0
- package/{inputsearch.6e913fc6.js → inputsearch.CoYTSjox.js} +50 -50
- package/inputstepper.BBMQr6kM.js +290 -0
- package/link.BN6AZfhG.js +115 -0
- package/linkstandalone.4-fyRd08.js +79 -0
- package/{logo.e6576fe3.js → logo.C_oJ8isW.js} +31 -30
- package/optioncheckbox.-DRnW_ch.js +43 -0
- package/package.json +42 -42
- package/partials/index.js +938 -930
- package/partials/lib/partials.d.ts +2 -2
- package/radio.Bhu9OUY-.js +79 -0
- package/radiogroup.oILRMrX-.js +102 -0
- package/select.OGcreXnT.js +190 -0
- package/spinner.Diy_EeFY.js +58 -0
- package/styles/scss/_index.scss +1 -0
- package/styles/scss/lib/_focus.scss +2 -1
- package/styles/scss/lib/_grid-extended.scss +2 -2
- package/styles/scss/lib/_grid-sidebar-sidebar.scss +2 -2
- package/styles/scss/lib/_grid-sidebar.scss +23 -40
- package/styles/scss/lib/_grid.scss +15 -13
- package/styles/scss/lib/_heading.scss +14 -1
- package/styles/scss/lib/_high-contrast.scss +24 -0
- package/styles/scss/lib/_link.scss +9 -9
- package/styles/scss/lib/_spacing.scss +12 -0
- package/styles/scss/lib/_text.scss +4 -0
- package/styles/scss/lib/_theme.scss +2 -2
- package/switch.BjoFKMQC.js +65 -0
- package/systemfeedback.C7iXO5A1.js +25 -0
- package/text.CPU8IUqY.js +57 -0
- package/textarea.kc_Sfbgr.js +193 -0
- package/title.icX0VDiO.js +36 -0
- package/types/icon-types.d.ts +1 -1
- package/utils/render-documentation.d.ts +0 -1
- package/utils/useBreakpoint.d.ts +2 -1
- package/utils/vitest.setup.d.ts +1 -0
- package/assets/Asterisk.288a3f48.css +0 -1
- package/assets/Button.c09c516e.css +0 -1
- package/assets/ButtonRound.fd628e54.css +0 -1
- package/assets/Checkbox.cde01607.css +0 -1
- package/assets/CustomReactSelect.cdb5f164.css +0 -1
- package/assets/Fieldset.729910fe.css +0 -1
- package/assets/FloatingActionButton.de295f5d.css +0 -1
- package/assets/Heading.50f5e903.css +0 -1
- package/assets/Icon.8890ee9a.css +0 -1
- package/assets/Input.92913cfe.css +0 -1
- package/assets/InputPassword.d7b9c937.css +0 -1
- package/assets/InputSearch.888f630a.css +0 -1
- package/assets/InputStepper.969db0d2.css +0 -1
- package/assets/Link.75834750.css +0 -1
- package/assets/LinkStandalone.19bdab0d.css +0 -1
- package/assets/Logo.09e48e82.css +0 -1
- package/assets/OptionCheckbox.c56568a3.css +0 -1
- package/assets/Radio.79d98dde.css +0 -1
- package/assets/RadioGroup.8b55ee38.css +0 -1
- package/assets/Select.b9c135c2.css +0 -1
- package/assets/Spinner.af45d460.css +0 -1
- package/assets/Switch.781e3de6.css +0 -1
- package/assets/Text.ac70cc84.css +0 -1
- package/assets/Textarea.12046393.css +0 -1
- package/assets/Title.e9e5a7e6.css +0 -1
- package/asterisk.cb74ea72.js +0 -8
- package/button.87ad387c.js +0 -135
- package/buttonround.ecb24c29.js +0 -118
- package/checkboxgroup.fa110fdf.js +0 -78
- package/chunks/360.3f3132d9.js +0 -11
- package/chunks/Link.module.15dedc23.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.d93091e0.js +0 -45
- package/customreactselect.7c77375a.js +0 -13
- package/fieldset.fdd84bda.js +0 -98
- package/floatingactionbutton.281b5465.js +0 -87
- package/heading.c02dcb70.js +0 -44
- package/icon.b4211784.js +0 -215
- package/input.064e0bbf.js +0 -230
- package/inputpassword.f76c2f62.js +0 -139
- package/inputstepper.2047ec77.js +0 -286
- package/link.5eb13d6e.js +0 -84
- package/linkstandalone.edfd6288.js +0 -80
- package/optioncheckbox.2369560b.js +0 -43
- package/radio.fd841ab0.js +0 -79
- package/radiogroup.e1c8ea3d.js +0 -100
- package/select.88d40c51.js +0 -188
- package/spinner.ee015469.js +0 -58
- package/switch.96fd1689.js +0 -65
- package/systemfeedback.8515a4e0.js +0 -25
- package/text.de8facb9.js +0 -57
- package/textarea.b8c40c8b.js +0 -189
- package/title.7be43d50.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
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
--ds-grid-gap: 16px;
|
|
4
4
|
gap: var(--ds-grid-gap);
|
|
5
5
|
min-width: 320px;
|
|
6
|
-
box-sizing: content-box;
|
|
7
6
|
grid-template-columns:
|
|
8
7
|
[full-start extended-start] var(--ds-internal-grid-safe-zone)
|
|
9
8
|
[main-start narrow-left-start narrow-center-start] repeat(4, minmax(0, 1fr))
|
|
@@ -11,14 +10,14 @@
|
|
|
11
10
|
--ds-internal-grid-safe-zone
|
|
12
11
|
)
|
|
13
12
|
[extended-end full-end];
|
|
14
|
-
// The safe zone + gap equal to what is called "margin" in the designs 0+16 = 16
|
|
13
|
+
// The safe zone + gap equal to what is called "margin" in the figma designs 0+16 = 16
|
|
15
14
|
--ds-internal-grid-safe-zone: 0;
|
|
16
15
|
--ds-grid-span-one-half: span 4;
|
|
17
16
|
--ds-grid-span-one-third: span 4;
|
|
18
17
|
--ds-grid-span-two-thirds: span 4;
|
|
19
18
|
--ds-grid-span-one-quarter: span 2;
|
|
20
19
|
|
|
21
|
-
@media
|
|
20
|
+
@include ds-media-query-min('m') {
|
|
22
21
|
--ds-grid-gap: 24px;
|
|
23
22
|
gap: var(--ds-grid-gap);
|
|
24
23
|
grid-template-columns:
|
|
@@ -31,7 +30,7 @@
|
|
|
31
30
|
--ds-internal-grid-safe-zone
|
|
32
31
|
)
|
|
33
32
|
[extended-end full-end];
|
|
34
|
-
// The safe zone + gap equal to what is called "margin" in the designs 9+24 = 33
|
|
33
|
+
// The safe zone + gap equal to what is called "margin" in the figma designs 9+24 = 33
|
|
35
34
|
--ds-internal-grid-safe-zone: 9px;
|
|
36
35
|
--ds-grid-span-one-half: span 3;
|
|
37
36
|
--ds-grid-span-one-third: span 2;
|
|
@@ -39,7 +38,7 @@
|
|
|
39
38
|
--ds-grid-span-one-quarter: span 3;
|
|
40
39
|
}
|
|
41
40
|
|
|
42
|
-
@media
|
|
41
|
+
@include ds-media-query-min('l') {
|
|
43
42
|
grid-template-columns:
|
|
44
43
|
[full-start extended-start] var(--ds-internal-grid-safe-zone)
|
|
45
44
|
[main-start narrow-left-start] repeat(2, minmax(0, 1fr))
|
|
@@ -48,14 +47,14 @@
|
|
|
48
47
|
[narrow-center-end] repeat(2, minmax(0, 1fr))
|
|
49
48
|
[main-end] var(--ds-internal-grid-safe-zone)
|
|
50
49
|
[extended-end full-end];
|
|
51
|
-
// The safe zone + gap equal to what is called "margin" in the designs 26+24 = 50
|
|
50
|
+
// The safe zone + gap equal to what is called "margin" in the figma designs 26+24 = 50
|
|
52
51
|
--ds-internal-grid-safe-zone: 26px;
|
|
53
52
|
--ds-grid-span-one-half: span 6;
|
|
54
53
|
--ds-grid-span-one-third: span 4;
|
|
55
54
|
--ds-grid-span-two-thirds: span 8;
|
|
56
55
|
}
|
|
57
56
|
|
|
58
|
-
@media
|
|
57
|
+
@include ds-media-query-min('xl') {
|
|
59
58
|
--ds-grid-gap: 32px;
|
|
60
59
|
gap: var(--ds-grid-gap);
|
|
61
60
|
grid-template-columns:
|
|
@@ -66,18 +65,21 @@
|
|
|
66
65
|
[narrow-center-end] repeat(3, minmax(0, 1fr))
|
|
67
66
|
[main-end] var(--ds-internal-grid-safe-zone)
|
|
68
67
|
[extended-end full-end];
|
|
69
|
-
// The safe zone + gap equal to what is called "margin" in the designs 32+32 = 64
|
|
68
|
+
// The safe zone + gap equal to what is called "margin" in the figma designs 32+32 = 64
|
|
70
69
|
--ds-internal-grid-safe-zone: 32px;
|
|
71
70
|
}
|
|
72
71
|
|
|
73
|
-
@media
|
|
72
|
+
@include ds-media-query-min('xxl') {
|
|
73
|
+
// the calculation here is based on the fact
|
|
74
|
+
// that we want the main area (main-start till main-end) maximum width to be exactly 1540px
|
|
75
|
+
// so we have to pick 1584px and divide that by 16
|
|
74
76
|
grid-template-columns:
|
|
75
77
|
[full-start] auto
|
|
76
78
|
[extended-start] var(--ds-internal-grid-safe-zone)
|
|
77
|
-
[main-start narrow-left-start] repeat(3, minmax(0, calc(
|
|
78
|
-
[narrow-center-start] repeat(3, minmax(0, calc(
|
|
79
|
-
[narrow-left-end] repeat(3, minmax(0, calc(
|
|
80
|
-
[narrow-center-end] repeat(3, minmax(0, calc(
|
|
79
|
+
[main-start narrow-left-start] repeat(3, minmax(0, calc(1584px / 16)))
|
|
80
|
+
[narrow-center-start] repeat(3, minmax(0, calc(1584px / 16)))
|
|
81
|
+
[narrow-left-end] repeat(3, minmax(0, calc(1584px / 16)))
|
|
82
|
+
[narrow-center-end] repeat(3, minmax(0, calc(1584px / 16)))
|
|
81
83
|
[main-end] var(--ds-internal-grid-safe-zone)
|
|
82
84
|
[extended-end]
|
|
83
85
|
auto [full-end];
|
|
@@ -18,7 +18,13 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
// Mixins for specific heading sizes
|
|
21
|
+
// XL
|
|
21
22
|
@mixin ds-heading-x-large {
|
|
23
|
+
@include base-heading('STIHL Contraface Digital Text Bold', 1.625rem, 1.2);
|
|
24
|
+
@include responsive-heading('l', 1.875rem, 1.25);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@mixin ds-heading-x-large-uppercase {
|
|
22
28
|
@include base-heading(
|
|
23
29
|
'STIHL Contraface Digital Display Title',
|
|
24
30
|
1.625rem,
|
|
@@ -27,7 +33,13 @@
|
|
|
27
33
|
@include responsive-heading('l', 1.875rem, 1.25);
|
|
28
34
|
}
|
|
29
35
|
|
|
36
|
+
// Large
|
|
30
37
|
@mixin ds-heading-large {
|
|
38
|
+
@include base-heading('STIHL Contraface Digital Text Bold', 1.375rem, 1.25);
|
|
39
|
+
@include responsive-heading('l', 1.625rem, 1.2);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@mixin ds-heading-large-uppercase {
|
|
31
43
|
@include base-heading(
|
|
32
44
|
'STIHL Contraface Digital Display Title',
|
|
33
45
|
1.375rem,
|
|
@@ -36,6 +48,7 @@
|
|
|
36
48
|
@include responsive-heading('l', 1.625rem, 1.2);
|
|
37
49
|
}
|
|
38
50
|
|
|
51
|
+
// Medium
|
|
39
52
|
@mixin ds-heading-medium {
|
|
40
53
|
@include base-heading('STIHL Contraface Digital Text Bold', 1.25rem, 1.2);
|
|
41
54
|
}
|
|
@@ -44,10 +57,10 @@
|
|
|
44
57
|
@include base-heading('STIHL Contraface Digital Display Title', 1.25rem, 1.2);
|
|
45
58
|
}
|
|
46
59
|
|
|
60
|
+
// Small
|
|
47
61
|
@mixin ds-heading-small {
|
|
48
62
|
@include base-heading('STIHL Contraface Digital Text Bold', 1rem, 1.5);
|
|
49
63
|
}
|
|
50
|
-
|
|
51
64
|
@mixin ds-heading-small-uppercase {
|
|
52
65
|
@include base-heading('STIHL Contraface Digital Display Title', 1rem, 1.5);
|
|
53
66
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This mixin provides a utility to wrap styles within a media query specifically
|
|
3
|
+
* targeting devices that have forced-colors active and thus are in high-contrast mode.
|
|
4
|
+
*
|
|
5
|
+
* You can use the following keywords to set specific colors for elements in high contrast mode:
|
|
6
|
+
* @example
|
|
7
|
+
* ```markdown
|
|
8
|
+
* | Content | Keyword |
|
|
9
|
+
* |--------------------------|---------------|
|
|
10
|
+
* | Text | CanvasText |
|
|
11
|
+
* | Hyperlinks | LinkText |
|
|
12
|
+
* | Disabled Text | GrayText |
|
|
13
|
+
* | Selected Text, foreground| HighlightText |
|
|
14
|
+
* | Selected Text, background| Highlight |
|
|
15
|
+
* | Buttons, foreground | ButtonText |
|
|
16
|
+
* | Buttons, background | ButtonFace |
|
|
17
|
+
* | Backgrounds | Canvas |
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
@mixin high-contrast-media-query {
|
|
21
|
+
@media screen and (forced-colors: active) {
|
|
22
|
+
@content;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -101,10 +101,10 @@
|
|
|
101
101
|
@include link-underline;
|
|
102
102
|
|
|
103
103
|
display: inline;
|
|
104
|
-
padding-
|
|
105
|
-
padding-
|
|
106
|
-
padding-
|
|
107
|
-
padding-
|
|
104
|
+
padding-inline-end: $ds-spacing-2;
|
|
105
|
+
padding-inline-start: $ds-spacing-2;
|
|
106
|
+
padding-block-start: 0;
|
|
107
|
+
padding-block-end: 0;
|
|
108
108
|
line-height: inherit;
|
|
109
109
|
font-size: inherit;
|
|
110
110
|
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
:where(&)[href^="https://"]::after,
|
|
116
116
|
:where(&)[href^='#']::after {
|
|
117
117
|
display: inline-block;
|
|
118
|
-
margin-
|
|
118
|
+
margin-inline-start: 0.375em;
|
|
119
119
|
width: 0.75em;
|
|
120
120
|
height: 0.75em;
|
|
121
121
|
}
|
|
@@ -136,10 +136,10 @@
|
|
|
136
136
|
display: inline-flex;
|
|
137
137
|
align-items: center;
|
|
138
138
|
gap: $ds-spacing-6;
|
|
139
|
-
padding-
|
|
140
|
-
padding-
|
|
141
|
-
padding-
|
|
142
|
-
padding-
|
|
139
|
+
padding-inline-end: $ds-spacing-4;
|
|
140
|
+
padding-inline-start: $ds-spacing-4;
|
|
141
|
+
padding-block-start: $ds-spacing-2;
|
|
142
|
+
padding-block-end: $ds-spacing-2;
|
|
143
143
|
// Set color to transparent instead of text-decoration: none to support forced colors link decoration
|
|
144
144
|
text-decoration-color: transparent;
|
|
145
145
|
|
|
@@ -16,3 +16,15 @@ $ds-spacing-80: 80px;
|
|
|
16
16
|
$ds-spacing-96: 96px;
|
|
17
17
|
$ds-spacing-128: 128px;
|
|
18
18
|
$ds-spacing-160: 160px;
|
|
19
|
+
|
|
20
|
+
// Functions to adjust spacing to account for the inner border of an element as designed in Figma.
|
|
21
|
+
// This is necessary to ensure that the spacing matches the design specifications
|
|
22
|
+
// where the border is included inside the element, causing an effective reduction
|
|
23
|
+
// in the available space by the width of the border.
|
|
24
|
+
@function adjust-spacing-for-border-1($spacing) {
|
|
25
|
+
@return #{calc($spacing - $ds-spacing-1)};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@function adjust-spacing-for-border-2($spacing) {
|
|
29
|
+
@return #{calc($spacing - $ds-spacing-2)};
|
|
30
|
+
}
|
|
@@ -76,7 +76,7 @@ $ds-theme-light-border-color-focus: $ds-color-core-grey-ultra-deep;
|
|
|
76
76
|
$ds-theme-light-border-color-primary-disabled: $ds-color-core-black-opacity-50;
|
|
77
77
|
$ds-theme-light-border-color-primary-inverse: $ds-color-core-white-base;
|
|
78
78
|
$ds-theme-light-border-color-primary: $ds-color-core-grey-ultra-deep;
|
|
79
|
-
$ds-theme-light-border-color-secondary-disabled: $ds-color-core-black-opacity-
|
|
79
|
+
$ds-theme-light-border-color-secondary-disabled: $ds-color-core-black-opacity-10;
|
|
80
80
|
$ds-theme-light-border-color-secondary: $ds-color-core-grey-base;
|
|
81
81
|
$ds-theme-light-border-color-tertiary: $ds-color-core-grey-mid;
|
|
82
82
|
$ds-theme-light-content-color-brand-disabled: $ds-color-core-black-opacity-50;
|
|
@@ -133,7 +133,7 @@ $ds-theme-dark-border-color-focus: $ds-color-core-white-base;
|
|
|
133
133
|
$ds-theme-dark-border-color-primary-disabled: $ds-color-core-white-opacity-50;
|
|
134
134
|
$ds-theme-dark-border-color-primary-inverse: $ds-color-core-grey-ultra-deep;
|
|
135
135
|
$ds-theme-dark-border-color-primary: $ds-color-core-grey-ultra-light;
|
|
136
|
-
$ds-theme-dark-border-color-secondary-disabled: $ds-color-core-white-opacity-
|
|
136
|
+
$ds-theme-dark-border-color-secondary-disabled: $ds-color-core-white-opacity-15;
|
|
137
137
|
$ds-theme-dark-border-color-secondary: $ds-color-core-grey-dark;
|
|
138
138
|
$ds-theme-dark-border-color-tertiary: $ds-color-core-grey-deep;
|
|
139
139
|
$ds-theme-dark-content-color-brand-disabled: $ds-color-core-white-opacity-50;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as t } from "./chunks/jsx-runtime.C-kxDJ4g.js";
|
|
3
|
+
import { c as b } from "./chunks/index.CvOaL64Y.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import { DSIcon as p } from "./icon.PX9_1kNB.js";
|
|
6
|
+
import { DSSpinner as f } from "./spinner.Diy_EeFY.js";
|
|
7
|
+
import './assets/switch.sqve8ApJ.css';const x = "_root_1gc2h_63", j = "_root--label-right_1gc2h_91", k = "_root--stretched_1gc2h_94", S = "_loader_1gc2h_104", w = "_thumb_1gc2h_157", C = "_root--checked_1gc2h_172", o = {
|
|
8
|
+
root: x,
|
|
9
|
+
"root--label-right": "_root--label-right_1gc2h_91",
|
|
10
|
+
rootLabelRight: j,
|
|
11
|
+
"root--stretched": "_root--stretched_1gc2h_94",
|
|
12
|
+
rootStretched: k,
|
|
13
|
+
switch: "_switch_1gc2h_99",
|
|
14
|
+
loader: S,
|
|
15
|
+
thumb: w,
|
|
16
|
+
"root--checked": "_root--checked_1gc2h_172",
|
|
17
|
+
rootChecked: C
|
|
18
|
+
}, E = ({
|
|
19
|
+
children: h,
|
|
20
|
+
aria: i,
|
|
21
|
+
alignLabel: l = "left",
|
|
22
|
+
checked: e = !1,
|
|
23
|
+
className: _,
|
|
24
|
+
dataTrackingid: n,
|
|
25
|
+
disabled: c = !1,
|
|
26
|
+
loading: r = !1,
|
|
27
|
+
stretched: d = !1,
|
|
28
|
+
onClick: s,
|
|
29
|
+
...m
|
|
30
|
+
}) => {
|
|
31
|
+
const g = b(o.root, _, {
|
|
32
|
+
[o.rootChecked]: e === !0,
|
|
33
|
+
[o.rootStretched]: d === !0,
|
|
34
|
+
[o.rootLabelRight]: l === "right"
|
|
35
|
+
}), u = (a) => {
|
|
36
|
+
if (c || r) {
|
|
37
|
+
a.preventDefault();
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
s && s(a);
|
|
41
|
+
};
|
|
42
|
+
return /* @__PURE__ */ t.jsxs(
|
|
43
|
+
"button",
|
|
44
|
+
{
|
|
45
|
+
className: g,
|
|
46
|
+
"data-trackingid": n,
|
|
47
|
+
onClick: u,
|
|
48
|
+
...i,
|
|
49
|
+
...m,
|
|
50
|
+
type: "button",
|
|
51
|
+
role: "switch",
|
|
52
|
+
"aria-checked": e,
|
|
53
|
+
"aria-disabled": c || r,
|
|
54
|
+
"aria-busy": r,
|
|
55
|
+
children: [
|
|
56
|
+
/* @__PURE__ */ t.jsx("span", { children: h }),
|
|
57
|
+
!r && /* @__PURE__ */ t.jsx("span", { className: o.switch, children: /* @__PURE__ */ t.jsx("span", { className: o.thumb, children: /* @__PURE__ */ t.jsx(p, { name: "check", "aria-hidden": "true" }) }) }),
|
|
58
|
+
r && /* @__PURE__ */ t.jsx("span", { className: o.loader, children: /* @__PURE__ */ t.jsx(f, { aria: { "aria-label": "Loading state" } }) })
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
);
|
|
62
|
+
};
|
|
63
|
+
export {
|
|
64
|
+
E as DSSwitch
|
|
65
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as o } from "./chunks/jsx-runtime.C-kxDJ4g.js";
|
|
3
|
+
import { c } from "./chunks/index.CvOaL64Y.js";
|
|
4
|
+
import { DSIcon as n } from "./icon.PX9_1kNB.js";
|
|
5
|
+
import './assets/systemfeedback.WE3wClZ3.css';const i = "_root_18s1i_63", l = {
|
|
6
|
+
root: i
|
|
7
|
+
}, m = {
|
|
8
|
+
valid: "circle-check-colored",
|
|
9
|
+
invalid: "diamond-exclamationmark-colored",
|
|
10
|
+
warning: "triangle-exclamationmark-colored"
|
|
11
|
+
}, p = ({
|
|
12
|
+
className: e,
|
|
13
|
+
message: r,
|
|
14
|
+
type: s,
|
|
15
|
+
...t
|
|
16
|
+
}) => {
|
|
17
|
+
const a = c(l.root, e);
|
|
18
|
+
return /* @__PURE__ */ o.jsxs("div", { className: a, ...t, role: "alert", children: [
|
|
19
|
+
/* @__PURE__ */ o.jsx(n, { name: m[s], "aria-hidden": "true" }),
|
|
20
|
+
r
|
|
21
|
+
] });
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
p as DSSystemFeedback
|
|
25
|
+
};
|
package/text.CPU8IUqY.js
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as x } from "./chunks/jsx-runtime.C-kxDJ4g.js";
|
|
3
|
+
import { c as v } from "./chunks/index.CvOaL64Y.js";
|
|
4
|
+
import './assets/text.DDAveG7E.css';const c = "_root_16s1v_63", n = "_root--large_16s1v_69", u = "_root--large-bold_16s1v_79", b = "_root--medium_16s1v_89", S = "_root--medium-bold_16s1v_99", g = "_root--small_16s1v_109", B = "_root--small-bold_16s1v_119", i = "_root--x-small_16s1v_129", X = "_root--x-small-bold_16s1v_139", k = "_root--xx-small_16s1v_149", L = "_root--theme-dark_16s1v_159", o = {
|
|
5
|
+
root: c,
|
|
6
|
+
"root--large": "_root--large_16s1v_69",
|
|
7
|
+
rootLarge: n,
|
|
8
|
+
"root--large-bold": "_root--large-bold_16s1v_79",
|
|
9
|
+
rootLargeBold: u,
|
|
10
|
+
"root--medium": "_root--medium_16s1v_89",
|
|
11
|
+
rootMedium: b,
|
|
12
|
+
"root--medium-bold": "_root--medium-bold_16s1v_99",
|
|
13
|
+
rootMediumBold: S,
|
|
14
|
+
"root--small": "_root--small_16s1v_109",
|
|
15
|
+
rootSmall: g,
|
|
16
|
+
"root--small-bold": "_root--small-bold_16s1v_119",
|
|
17
|
+
rootSmallBold: B,
|
|
18
|
+
"root--x-small": "_root--x-small_16s1v_129",
|
|
19
|
+
rootXSmall: i,
|
|
20
|
+
"root--x-small-bold": "_root--x-small-bold_16s1v_139",
|
|
21
|
+
rootXSmallBold: X,
|
|
22
|
+
"root--xx-small": "_root--xx-small_16s1v_149",
|
|
23
|
+
rootXxSmall: k,
|
|
24
|
+
"root--theme-dark": "_root--theme-dark_16s1v_159",
|
|
25
|
+
rootThemeDark: L
|
|
26
|
+
}, T = ({
|
|
27
|
+
children: t,
|
|
28
|
+
className: m,
|
|
29
|
+
size: l = "medium",
|
|
30
|
+
tag: a = "p",
|
|
31
|
+
theme: s = "light",
|
|
32
|
+
weight: r = "normal",
|
|
33
|
+
..._
|
|
34
|
+
}) => {
|
|
35
|
+
const d = a, e = v(o.root, m, {
|
|
36
|
+
// large
|
|
37
|
+
[o.rootLarge]: l === "large",
|
|
38
|
+
[o.rootLargeBold]: l === "large" && r === "bold",
|
|
39
|
+
// medium
|
|
40
|
+
[o.rootMedium]: l == "medium",
|
|
41
|
+
[o.rootMediumBold]: l === "medium" && r === "bold",
|
|
42
|
+
// small
|
|
43
|
+
[o.rootSmall]: l == "small",
|
|
44
|
+
[o.rootSmallBold]: l == "small" && r === "bold",
|
|
45
|
+
// x-small
|
|
46
|
+
[o.rootXSmall]: l == "x-small",
|
|
47
|
+
[o.rootXSmallBold]: l == "x-small" && r === "bold",
|
|
48
|
+
// xx-small
|
|
49
|
+
[o.rootXxSmall]: l == "xx-small",
|
|
50
|
+
// dark theme
|
|
51
|
+
[o.rootThemeDark]: s === "dark"
|
|
52
|
+
});
|
|
53
|
+
return /* @__PURE__ */ x.jsx(d, { className: e, ..._, children: t });
|
|
54
|
+
};
|
|
55
|
+
export {
|
|
56
|
+
T as DSText
|
|
57
|
+
};
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as n } from "./chunks/jsx-runtime.C-kxDJ4g.js";
|
|
3
|
+
import { c as S } from "./chunks/index.CvOaL64Y.js";
|
|
4
|
+
import { useState as c, useRef as le, useEffect as x } from "react";
|
|
5
|
+
import { u as oe, h as ie } from "./chunks/useBreakpoint.5xBNDiCf.js";
|
|
6
|
+
import { g as H, p as V } from "./chunks/helpers.B1JT5ShS.js";
|
|
7
|
+
import { Asterisk as se } from "./asterisk.DU8THnoC.js";
|
|
8
|
+
import { DSSystemFeedback as re } from "./systemfeedback.C7iXO5A1.js";
|
|
9
|
+
import './assets/textarea.BKbocznb.css';const ce = "_textarea_1elbe_187", de = "_textarea--invalid_1elbe_297", _e = "_textarea--small_1elbe_304", ue = "_textarea--resize-auto_1elbe_316", fe = "_root_1elbe_326", be = "_hint_1elbe_334", xe = "_label_1elbe_334", he = "_affix_1elbe_338", me = "_affix--small_1elbe_358", pe = "_affix--disabled_1elbe_370", ve = "_prefix_1elbe_373", ge = "_affix--readonly_1elbe_376", Se = "_suffix_1elbe_386", Ce = "_leading-icon_1elbe_393", Ie = "_leading-icon--small_1elbe_405", ye = "_leading-icon--disabled_1elbe_408", je = "_action-button_1elbe_417", we = "_label--hidden_1elbe_434", Ae = "_feedback_1elbe_461", De = "_char-count_1elbe_466", Re = "_char-count-announcer_1elbe_481", t = {
|
|
10
|
+
textarea: ce,
|
|
11
|
+
"textarea--invalid": "_textarea--invalid_1elbe_297",
|
|
12
|
+
textareaInvalid: de,
|
|
13
|
+
"textarea--small": "_textarea--small_1elbe_304",
|
|
14
|
+
textareaSmall: _e,
|
|
15
|
+
"textarea--resize-auto": "_textarea--resize-auto_1elbe_316",
|
|
16
|
+
textareaResizeAuto: ue,
|
|
17
|
+
root: fe,
|
|
18
|
+
hint: be,
|
|
19
|
+
label: xe,
|
|
20
|
+
affix: he,
|
|
21
|
+
"affix--small": "_affix--small_1elbe_358",
|
|
22
|
+
affixSmall: me,
|
|
23
|
+
"affix--disabled": "_affix--disabled_1elbe_370",
|
|
24
|
+
affixDisabled: pe,
|
|
25
|
+
prefix: ve,
|
|
26
|
+
"affix--readonly": "_affix--readonly_1elbe_376",
|
|
27
|
+
affixReadonly: ge,
|
|
28
|
+
suffix: Se,
|
|
29
|
+
"leading-icon": "_leading-icon_1elbe_393",
|
|
30
|
+
leadingIcon: Ce,
|
|
31
|
+
"leading-icon--small": "_leading-icon--small_1elbe_405",
|
|
32
|
+
leadingIconSmall: Ie,
|
|
33
|
+
"leading-icon--disabled": "_leading-icon--disabled_1elbe_408",
|
|
34
|
+
leadingIconDisabled: ye,
|
|
35
|
+
"action-button": "_action-button_1elbe_417",
|
|
36
|
+
actionButton: je,
|
|
37
|
+
"label--hidden": "_label--hidden_1elbe_434",
|
|
38
|
+
labelHidden: we,
|
|
39
|
+
feedback: Ae,
|
|
40
|
+
"char-count": "_char-count_1elbe_466",
|
|
41
|
+
charCount: De,
|
|
42
|
+
"char-count-announcer": "_char-count-announcer_1elbe_481",
|
|
43
|
+
charCountAnnouncer: Re
|
|
44
|
+
}, Ne = ({ id: l, label: _ }) => {
|
|
45
|
+
if (!l)
|
|
46
|
+
throw new Error(
|
|
47
|
+
H(
|
|
48
|
+
"DSTextarea",
|
|
49
|
+
'A unique "id" prop is required. Please add an unique "id" prop to the DSTextarea component.'
|
|
50
|
+
)
|
|
51
|
+
);
|
|
52
|
+
if (!_)
|
|
53
|
+
throw new Error(
|
|
54
|
+
H(
|
|
55
|
+
"DSTextarea",
|
|
56
|
+
`A label is always required for a11y reasons. Please add a descriptive "label" prop to the DSTextarea component. If you don't want to display a label, set hideLabel={true}.`
|
|
57
|
+
)
|
|
58
|
+
);
|
|
59
|
+
}, ze = ({
|
|
60
|
+
id: l,
|
|
61
|
+
label: _,
|
|
62
|
+
charsLimitText: z = "Character limit reached",
|
|
63
|
+
charsRemainingText: P = "Characters remaining:",
|
|
64
|
+
className: q,
|
|
65
|
+
defaultValue: M,
|
|
66
|
+
disabled: O = !1,
|
|
67
|
+
hint: h,
|
|
68
|
+
hideLabel: F = !1,
|
|
69
|
+
invalid: o = !1,
|
|
70
|
+
maxLength: e,
|
|
71
|
+
readonly: C = !1,
|
|
72
|
+
required: I = !1,
|
|
73
|
+
resize: u = "vertical",
|
|
74
|
+
size: W = "medium",
|
|
75
|
+
systemFeedback: s,
|
|
76
|
+
value: m,
|
|
77
|
+
wrapperClassName: G,
|
|
78
|
+
onChange: y,
|
|
79
|
+
onInput: j,
|
|
80
|
+
...J
|
|
81
|
+
}) => {
|
|
82
|
+
process.env.NODE_ENV !== "production" && Ne({
|
|
83
|
+
id: l,
|
|
84
|
+
label: _
|
|
85
|
+
});
|
|
86
|
+
const [K, w] = c(M || ""), [r, A] = c(0), [Q, D] = c(0), [U, R] = c("off"), [N, p] = c(s), [v, g] = c(o), T = m !== void 0, f = T ? m : K, i = le(null), X = oe(F);
|
|
87
|
+
x(() => {
|
|
88
|
+
if (!e || e <= 0)
|
|
89
|
+
return;
|
|
90
|
+
r >= e * 0.8 ? R("polite") : R("off");
|
|
91
|
+
const a = setTimeout(() => {
|
|
92
|
+
D(e - r || 0);
|
|
93
|
+
}, 1e3);
|
|
94
|
+
return () => clearTimeout(a);
|
|
95
|
+
}, [r]), x(() => {
|
|
96
|
+
w(f || ""), d(), e && e > 0 && (A(f.toString().length || 0), D(e - f.toString().length || 0));
|
|
97
|
+
}, [m]), x(() => {
|
|
98
|
+
o && s ? (p(s), g(o)) : !o && e && e >= 0 && r >= e ? (g(!0), p(z)) : (p(s), g(o));
|
|
99
|
+
}, [o, v, s, r]), x(() => {
|
|
100
|
+
if (ie && u === "auto")
|
|
101
|
+
return d(), window.addEventListener("resize", d), () => window.removeEventListener("resize", d);
|
|
102
|
+
}, [u, i.current]);
|
|
103
|
+
const Y = S(t.root, G), Z = S(t.textarea, q, {
|
|
104
|
+
// small textarea
|
|
105
|
+
[t.textareaSmall]: W === "small",
|
|
106
|
+
// invalid state
|
|
107
|
+
[t.textareaInvalid]: v,
|
|
108
|
+
// resize handling
|
|
109
|
+
[t.textareaResizeAuto]: u === "auto"
|
|
110
|
+
}), L = S(t.label, {
|
|
111
|
+
// hide label only visually to keep them available for assistive technologies
|
|
112
|
+
[t.labelHidden]: X
|
|
113
|
+
}), B = `${l}-label`, E = `${l}-feedback`, $ = `${l}-hint`, k = `${l}-char-count-announcer`, ee = h ? ` ${$}` : "", d = () => {
|
|
114
|
+
if (i.current && u === "auto") {
|
|
115
|
+
i.current.style.height = "auto";
|
|
116
|
+
const a = V(i.current.scrollHeight), b = V(2);
|
|
117
|
+
i.current.style.height = `${// We need to add 2px (border-top & border-bottom) to the scrollHeight to prevent the textarea
|
|
118
|
+
// from jumping as soon as the user starts typing.
|
|
119
|
+
a + b}rem`;
|
|
120
|
+
}
|
|
121
|
+
}, ae = () => {
|
|
122
|
+
const a = [];
|
|
123
|
+
return e && e > 0 && a.push(k), o && s && a.push(E), a.length > 0 ? a.join(" ") : void 0;
|
|
124
|
+
}, te = (a) => {
|
|
125
|
+
var b;
|
|
126
|
+
j && j(a), e && e > 0 && A(((b = i.current) == null ? void 0 : b.value.length) || 0), d();
|
|
127
|
+
}, ne = (a) => {
|
|
128
|
+
y && y(a), T || w(a.target.value);
|
|
129
|
+
};
|
|
130
|
+
return /* @__PURE__ */ n.jsxs("div", { className: Y, children: [
|
|
131
|
+
/* @__PURE__ */ n.jsxs("label", { className: L, id: B, htmlFor: l, children: [
|
|
132
|
+
_,
|
|
133
|
+
I && /* @__PURE__ */ n.jsx(se, {})
|
|
134
|
+
] }),
|
|
135
|
+
h && /* @__PURE__ */ n.jsx("div", { className: t.hint, id: $, children: h }),
|
|
136
|
+
v && N && /* @__PURE__ */ n.jsx(
|
|
137
|
+
re,
|
|
138
|
+
{
|
|
139
|
+
className: t.feedback,
|
|
140
|
+
message: N,
|
|
141
|
+
type: "invalid",
|
|
142
|
+
id: E
|
|
143
|
+
}
|
|
144
|
+
),
|
|
145
|
+
/* @__PURE__ */ n.jsx(
|
|
146
|
+
"textarea",
|
|
147
|
+
{
|
|
148
|
+
className: Z,
|
|
149
|
+
id: l,
|
|
150
|
+
ref: i,
|
|
151
|
+
...J,
|
|
152
|
+
"aria-labelledby": `${B}${ee}`,
|
|
153
|
+
"aria-describedby": ae(),
|
|
154
|
+
"aria-invalid": o,
|
|
155
|
+
"aria-disabled": C,
|
|
156
|
+
maxLength: e,
|
|
157
|
+
readOnly: C,
|
|
158
|
+
required: I,
|
|
159
|
+
disabled: O,
|
|
160
|
+
value: f,
|
|
161
|
+
defaultValue: void 0,
|
|
162
|
+
rows: void 0,
|
|
163
|
+
cols: void 0,
|
|
164
|
+
onChange: ne,
|
|
165
|
+
onInput: te
|
|
166
|
+
}
|
|
167
|
+
),
|
|
168
|
+
e !== void 0 && e > 0 && /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
169
|
+
/* @__PURE__ */ n.jsxs("div", { className: t.charCount, "aria-hidden": "true", children: [
|
|
170
|
+
r,
|
|
171
|
+
"/",
|
|
172
|
+
e
|
|
173
|
+
] }),
|
|
174
|
+
/* @__PURE__ */ n.jsxs(
|
|
175
|
+
"div",
|
|
176
|
+
{
|
|
177
|
+
className: t.charCountAnnouncer,
|
|
178
|
+
id: k,
|
|
179
|
+
"aria-live": U,
|
|
180
|
+
"aria-atomic": "true",
|
|
181
|
+
children: [
|
|
182
|
+
P,
|
|
183
|
+
" ",
|
|
184
|
+
Q
|
|
185
|
+
]
|
|
186
|
+
}
|
|
187
|
+
)
|
|
188
|
+
] })
|
|
189
|
+
] });
|
|
190
|
+
};
|
|
191
|
+
export {
|
|
192
|
+
ze as DSTextarea
|
|
193
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as o } from "./chunks/jsx-runtime.C-kxDJ4g.js";
|
|
3
|
+
import { c as g } from "./chunks/index.CvOaL64Y.js";
|
|
4
|
+
import './assets/title.CE0Dm7PI.css';const n = "_root_1bpc5_63", h = "_root--x-large-uppercase_1bpc5_66", m = "_root--large-uppercase_1bpc5_80", d = "_root--theme-dark_1bpc5_94", u = "_dash_1bpc5_97", r = {
|
|
5
|
+
root: n,
|
|
6
|
+
"root--x-large-uppercase": "_root--x-large-uppercase_1bpc5_66",
|
|
7
|
+
rootXLargeUppercase: h,
|
|
8
|
+
"root--large-uppercase": "_root--large-uppercase_1bpc5_80",
|
|
9
|
+
rootLargeUppercase: m,
|
|
10
|
+
"root--theme-dark": "_root--theme-dark_1bpc5_94",
|
|
11
|
+
rootThemeDark: d,
|
|
12
|
+
dash: u
|
|
13
|
+
}, b = ({
|
|
14
|
+
children: a,
|
|
15
|
+
className: t,
|
|
16
|
+
size: e = "x-large",
|
|
17
|
+
tag: s = "h1",
|
|
18
|
+
// Design suggested to set default tag to h1
|
|
19
|
+
theme: p = "light",
|
|
20
|
+
...c
|
|
21
|
+
}) => {
|
|
22
|
+
const _ = s, l = g(r.root, t, {
|
|
23
|
+
// sizes
|
|
24
|
+
[r.rootXLargeUppercase]: e === "x-large",
|
|
25
|
+
[r.rootLargeUppercase]: e === "large",
|
|
26
|
+
// dark theme
|
|
27
|
+
[r.rootThemeDark]: p === "dark"
|
|
28
|
+
});
|
|
29
|
+
return /* @__PURE__ */ o.jsxs(_, { className: l, ...c, children: [
|
|
30
|
+
a,
|
|
31
|
+
/* @__PURE__ */ o.jsx("span", { className: r.dash, "aria-hidden": "true", children: "ƒ" })
|
|
32
|
+
] });
|
|
33
|
+
};
|
|
34
|
+
export {
|
|
35
|
+
b as DSTitle
|
|
36
|
+
};
|
package/types/icon-types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const ICON_NAMES: readonly ["360", "academic-cap", "alarm-clock", "arrow-clockwise", "arrow-counterclockwise", "arrow-down", "arrow-down-line", "arrow-edge", "arrow-left", "arrow-out", "arrow-outline-left", "arrow-right", "arrow-up", "arrow-up-arrow-down", "at", "barcode-scanner", "battery", "bell", "bin", "bin-open", "bluetooth", "bookmark", "burger", "calendar", "camera", "cart", "cart-check", "cart-plus", "catalog", "certificate", "chain-link", "chainsaw", "check", "chevron-down", "chevron-left", "chevron-line-left", "chevron-line-right", "chevron-right", "chevron-up", "circle", "circle-check-colored", "circle-check-inverted", "circle-info-colored", "circle-info-inverted", "circle-pause", "circle-stroke", "clock", "coffee-cup", "compare", "connected-box", "connected-box-mobile", "connected-box-stationary", "cross", "diamond", "diamond-exclamationmark-colored", "diamond-exclamationmark-inverted", "diskette", "distance", "dots-connected", "download-complete", "envelope", "envelope-open", "exclamationmark", "exit", "eye", "eye-closed", "facebook", "filter", "finger-double-arrow", "flash", "fullscreen", "gear", "globe", "grid", "guidance", "haircross", "hanger", "headphones", "heart", "hexagon-arrow-clockwise", "horizontal-ellipsis", "house", "imow", "info", "instagram", "leave-fullscreen", "lightbulb", "linkedin", "list-three-rows", "list-two-rows", "loading-spinner", "lock", "magnifying-glass", "magnifying-glass-minus", "magnifying-glass-plus", "map", "minus", "mobile", "nine-squares", "note", "note-check", "note-plus", "number-input", "paperclip", "parcel", "pause", "pdf", "pen", "percent", "petrol", "phone", "pin", "pin-s", "pinterest", "placeholder", "play", "plug", "plus", "printer", "prohibition-sign", "questionmark", "security", "share", "shirt", "shop", "sound-off", "sound-on", "speechbubble", "speechbubbles", "square", "star", "star-half", "tag", "thumbs-down", "thumbs-up", "triangle", "triangle-exclamationmark-colored", "triangle-exclamationmark-inverted", "truck", "two-people-screen", "two-sheets", "upload", "user", "vertical-ellipsis", "wc", "wifi", "wifi-1bar", "wifi-2bars", "wifi-off", "wind-rose", "wrench", "x", "xing", "youtube"];
|
|
1
|
+
export declare const ICON_NAMES: readonly ["360", "academic-cap", "alarm-clock", "arrow-clockwise", "arrow-counterclockwise", "arrow-down", "arrow-down-line", "arrow-edge", "arrow-left", "arrow-out", "arrow-outline-left", "arrow-right", "arrow-up", "arrow-up-arrow-down", "at", "barcode-scanner", "battery", "bell", "bin", "bin-open", "bluetooth", "bookmark", "burger", "calendar", "camera", "cart", "cart-check", "cart-plus", "catalog", "certificate", "chain-link", "chainsaw", "check", "chevron-down", "chevron-left", "chevron-line-left", "chevron-line-right", "chevron-right", "chevron-up", "circle", "circle-check-colored", "circle-check-inverted", "circle-info-colored", "circle-info-inverted", "circle-pause", "circle-stroke", "clock", "coffee-cup", "compare", "connected-box", "connected-box-mobile", "connected-box-stationary", "cross", "diamond", "diamond-exclamationmark-colored", "diamond-exclamationmark-inverted", "diskette", "distance", "dots-connected", "download-complete", "envelope", "envelope-open", "exclamationmark", "exit", "eye", "eye-closed", "facebook", "filter", "finger-double-arrow", "flash", "fullscreen", "gear", "globe", "grid", "guidance", "haircross", "hanger", "headphones", "heart", "hexagon-arrow-clockwise", "horizontal-ellipsis", "house", "imow", "info", "instagram", "leave-fullscreen", "lightbulb", "linkedin", "list-three-rows", "list-two-rows", "loading-spinner", "lock", "magnifying-glass", "magnifying-glass-minus", "magnifying-glass-plus", "map", "minus", "mobile", "nine-squares", "note", "note-check", "note-plus", "number-input", "paperclip", "parcel", "pause", "pdf", "pen", "percent", "petrol", "phone", "pin", "pin-s", "pinterest", "placeholder", "play", "plug", "plus", "printer", "prohibition-sign", "questionmark", "security", "share", "shirt", "shop", "sound-off", "sound-on", "speechbubble", "speechbubbles", "square", "star", "star-half", "tag", "thumbs-down", "thumbs-up", "triangle", "triangle-exclamationmark-colored", "triangle-exclamationmark-inverted", "truck", "two-people-screen", "two-sheets", "upload", "user", "vertical-ellipsis", "wc", "whatsapp", "wifi", "wifi-1bar", "wifi-2bars", "wifi-off", "wind-rose", "wrench", "x", "xing", "youtube"];
|
|
2
2
|
export type IconName = typeof ICON_NAMES[number];
|
package/utils/useBreakpoint.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BreakpointCustomizable } from './breakpoint-customizable';
|
|
2
|
+
|
|
2
3
|
/**
|
|
3
4
|
* A React hook that consumes a `BreakpointCustomizable` property and returns the value
|
|
4
5
|
* corresponding to the current breakpoint. If the property is a primitive value, it is
|
package/utils/vitest.setup.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._root_1ygcr_25{margin-left:2px;font-family:STIHL Contraface Digital Text Regular,Arial Narrow,Arial,Heiti SC,sans-serif;line-height:0}
|