@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
package/link.5eb13d6e.js
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { j as d } from "./chunks/jsx-runtime.5c071667.js";
|
|
3
|
-
import { c as u } from "./chunks/index.8021d3e0.js";
|
|
4
|
-
import { u as i } from "./chunks/useBreakpoint.6c1b06c2.js";
|
|
5
|
-
import { DSIcon as S } from "./icon.b4211784.js";
|
|
6
|
-
import { s as o } from "./chunks/Link.module.15dedc23.js";
|
|
7
|
-
const F = ({
|
|
8
|
-
children: n,
|
|
9
|
-
aria: c,
|
|
10
|
-
className: h,
|
|
11
|
-
dataTrackingid: f,
|
|
12
|
-
download: p,
|
|
13
|
-
hideLabel: r = !1,
|
|
14
|
-
href: a,
|
|
15
|
-
iconName: g,
|
|
16
|
-
iconPosition: D = "left",
|
|
17
|
-
iconSource: k,
|
|
18
|
-
isFlush: s = !1,
|
|
19
|
-
referrerPolicy: x,
|
|
20
|
-
rel: j,
|
|
21
|
-
size: e = "medium",
|
|
22
|
-
target: G = "_self",
|
|
23
|
-
theme: t = "light",
|
|
24
|
-
variant: l = "filled",
|
|
25
|
-
...I
|
|
26
|
-
}) => {
|
|
27
|
-
const O = u(o.root, h, {
|
|
28
|
-
// variant
|
|
29
|
-
[o.rootFilled]: l === "filled",
|
|
30
|
-
[o.rootHighlight]: l === "highlight",
|
|
31
|
-
[o.rootOutline]: l === "outline",
|
|
32
|
-
[o.rootGhost]: l === "ghost" && s !== !0,
|
|
33
|
-
// isFlush
|
|
34
|
-
[o.rootGhostFlush]: l === "ghost" && s === !0,
|
|
35
|
-
// dark theme
|
|
36
|
-
[o.rootDarkFilled]: t === "dark" && l === "filled",
|
|
37
|
-
[o.rootDarkHighlight]: t === "dark" && l === "highlight",
|
|
38
|
-
[o.rootDarkOutline]: t === "dark" && l === "outline",
|
|
39
|
-
[o.rootDarkGhost]: t === "dark" && l === "ghost" && s !== !0,
|
|
40
|
-
// dark isFlush
|
|
41
|
-
[o.rootDarkGhostFlush]: t === "dark" && l === "ghost" && s === !0,
|
|
42
|
-
// size
|
|
43
|
-
[o.rootSmall]: e === "small",
|
|
44
|
-
// icon position
|
|
45
|
-
[o.rootIconLeft]: D === "left",
|
|
46
|
-
// icon only
|
|
47
|
-
[o.rootIconOnly]: i(r) && e === "medium",
|
|
48
|
-
[o.rootIconOnlySmall]: i(r) && e === "small"
|
|
49
|
-
}), y = u({
|
|
50
|
-
// hide label only visually to keep them available for assistive technologies
|
|
51
|
-
[o.labelHidden]: i(r)
|
|
52
|
-
}), H = t === "light" && l === "filled" || t === "dark" && l === "outline" || t === "dark" && l === "ghost" ? "dark" : "light", m = a === void 0 ? "span" : "a";
|
|
53
|
-
return /* @__PURE__ */ d.jsxs(
|
|
54
|
-
m,
|
|
55
|
-
{
|
|
56
|
-
className: O,
|
|
57
|
-
"data-trackingid": f,
|
|
58
|
-
...m === "a" && {
|
|
59
|
-
href: a,
|
|
60
|
-
target: G,
|
|
61
|
-
rel: j,
|
|
62
|
-
referrerPolicy: x,
|
|
63
|
-
download: p
|
|
64
|
-
},
|
|
65
|
-
...c,
|
|
66
|
-
...I,
|
|
67
|
-
children: [
|
|
68
|
-
/* @__PURE__ */ d.jsx("span", { className: y, children: n }),
|
|
69
|
-
(g || k) && /* @__PURE__ */ d.jsx(
|
|
70
|
-
S,
|
|
71
|
-
{
|
|
72
|
-
name: g,
|
|
73
|
-
theme: H,
|
|
74
|
-
source: k,
|
|
75
|
-
"aria-hidden": "true"
|
|
76
|
-
}
|
|
77
|
-
)
|
|
78
|
-
]
|
|
79
|
-
}
|
|
80
|
-
);
|
|
81
|
-
};
|
|
82
|
-
export {
|
|
83
|
-
F as DSLink
|
|
84
|
-
};
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import "./assets/LinkStandalone.19bdab0d.css";
|
|
2
|
-
import { j as r } from "./chunks/jsx-runtime.5c071667.js";
|
|
3
|
-
import { c as x } from "./chunks/index.8021d3e0.js";
|
|
4
|
-
import { DSIcon as H } from "./icon.b4211784.js";
|
|
5
|
-
import "react";
|
|
6
|
-
import "./chunks/Link.module.15dedc23.js";
|
|
7
|
-
const j = "_root_1iiai_25", v = "_root--highlight_1iiai_96", L = "_root--neutral-dark_1iiai_167", N = "_root--highlight-dark_1iiai_238", I = "_root--active_1iiai_309", A = "_root--icon-left_1iiai_315", o = {
|
|
8
|
-
root: j,
|
|
9
|
-
"root--highlight": "_root--highlight_1iiai_96",
|
|
10
|
-
rootHighlight: v,
|
|
11
|
-
"root--neutral-dark": "_root--neutral-dark_1iiai_167",
|
|
12
|
-
rootNeutralDark: L,
|
|
13
|
-
"root--highlight-dark": "_root--highlight-dark_1iiai_238",
|
|
14
|
-
rootHighlightDark: N,
|
|
15
|
-
"root--active": "_root--active_1iiai_309",
|
|
16
|
-
rootActive: I,
|
|
17
|
-
"root--icon-left": "_root--icon-left_1iiai_315",
|
|
18
|
-
rootIconLeft: A
|
|
19
|
-
}, R = ({
|
|
20
|
-
children: e,
|
|
21
|
-
aria: _,
|
|
22
|
-
active: g,
|
|
23
|
-
className: n,
|
|
24
|
-
dataTrackingid: c,
|
|
25
|
-
download: k,
|
|
26
|
-
href: a,
|
|
27
|
-
iconName: l,
|
|
28
|
-
iconPosition: d = "left",
|
|
29
|
-
iconSource: h,
|
|
30
|
-
referrerPolicy: m,
|
|
31
|
-
rel: u,
|
|
32
|
-
target: f = "_self",
|
|
33
|
-
theme: t = "light",
|
|
34
|
-
variant: i = "neutral",
|
|
35
|
-
...p
|
|
36
|
-
}) => {
|
|
37
|
-
const D = x(o.root, n, {
|
|
38
|
-
// variant
|
|
39
|
-
[o.rootHighlight]: i === "highlight",
|
|
40
|
-
// theme
|
|
41
|
-
[o.rootNeutralDark]: t === "dark" && i === "neutral",
|
|
42
|
-
[o.rootHighlightDark]: t === "dark" && i === "highlight",
|
|
43
|
-
// active
|
|
44
|
-
[o.rootActive]: g,
|
|
45
|
-
// icon position
|
|
46
|
-
[o.rootIconLeft]: d === "left"
|
|
47
|
-
}), s = a === void 0 ? "span" : "a";
|
|
48
|
-
return /* @__PURE__ */ r.jsxs(
|
|
49
|
-
s,
|
|
50
|
-
{
|
|
51
|
-
className: D,
|
|
52
|
-
"data-trackingid": c,
|
|
53
|
-
...s === "a" && {
|
|
54
|
-
href: a,
|
|
55
|
-
target: f,
|
|
56
|
-
rel: u,
|
|
57
|
-
referrerPolicy: m,
|
|
58
|
-
download: k
|
|
59
|
-
},
|
|
60
|
-
..._,
|
|
61
|
-
...p,
|
|
62
|
-
children: [
|
|
63
|
-
/* @__PURE__ */ r.jsx("span", { className: o.label, children: e }),
|
|
64
|
-
(l || h) && /* @__PURE__ */ r.jsx(
|
|
65
|
-
H,
|
|
66
|
-
{
|
|
67
|
-
name: l,
|
|
68
|
-
theme: t,
|
|
69
|
-
source: h,
|
|
70
|
-
size: "medium",
|
|
71
|
-
"aria-hidden": "true"
|
|
72
|
-
}
|
|
73
|
-
)
|
|
74
|
-
]
|
|
75
|
-
}
|
|
76
|
-
);
|
|
77
|
-
};
|
|
78
|
-
export {
|
|
79
|
-
R as DSLinkStandalone
|
|
80
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import "./assets/OptionCheckbox.c56568a3.css";
|
|
2
|
-
import { j as e } from "./chunks/jsx-runtime.5c071667.js";
|
|
3
|
-
import { c as s } from "./chunks/index.8021d3e0.js";
|
|
4
|
-
import { DSIcon as _ } from "./icon.b4211784.js";
|
|
5
|
-
const i = "_root_zs58d_49", l = "_root--disabled_zs58d_68", k = "_checkbox_zs58d_72", n = "_icon-check_zs58d_86", r = "_checkbox--checked_zs58d_105", x = "_checkbox--disabled_zs58d_108", m = "_label_zs58d_125", c = {
|
|
6
|
-
root: i,
|
|
7
|
-
"root--disabled": "_root--disabled_zs58d_68",
|
|
8
|
-
rootDisabled: l,
|
|
9
|
-
checkbox: k,
|
|
10
|
-
"icon-check": "_icon-check_zs58d_86",
|
|
11
|
-
iconCheck: n,
|
|
12
|
-
"checkbox--checked": "_checkbox--checked_zs58d_105",
|
|
13
|
-
checkboxChecked: r,
|
|
14
|
-
"checkbox--disabled": "_checkbox--disabled_zs58d_108",
|
|
15
|
-
checkboxDisabled: x,
|
|
16
|
-
label: m
|
|
17
|
-
}, D = ({
|
|
18
|
-
label: d,
|
|
19
|
-
checked: h,
|
|
20
|
-
className: a,
|
|
21
|
-
disabled: o
|
|
22
|
-
}) => {
|
|
23
|
-
const t = s(c.root, {
|
|
24
|
-
[c.rootDisabled]: o
|
|
25
|
-
}), b = s(c.checkbox, {
|
|
26
|
-
[c.checkboxDisabled]: o,
|
|
27
|
-
[c.checkboxChecked]: h
|
|
28
|
-
});
|
|
29
|
-
return /* @__PURE__ */ e.jsx("div", { className: a, children: /* @__PURE__ */ e.jsxs("div", { className: t, children: [
|
|
30
|
-
/* @__PURE__ */ e.jsx("span", { className: b, children: /* @__PURE__ */ e.jsx(
|
|
31
|
-
_,
|
|
32
|
-
{
|
|
33
|
-
name: "check",
|
|
34
|
-
className: c.iconCheck,
|
|
35
|
-
"aria-hidden": "true"
|
|
36
|
-
}
|
|
37
|
-
) }),
|
|
38
|
-
/* @__PURE__ */ e.jsx("span", { className: c.label, children: d })
|
|
39
|
-
] }) });
|
|
40
|
-
};
|
|
41
|
-
export {
|
|
42
|
-
D as OptionCheckbox
|
|
43
|
-
};
|
package/radio.fd841ab0.js
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import "./assets/Radio.79d98dde.css";
|
|
2
|
-
import { j as s } from "./chunks/jsx-runtime.5c071667.js";
|
|
3
|
-
import { c as d } from "./chunks/index.8021d3e0.js";
|
|
4
|
-
import { forwardRef as H, useRef as I, useState as R, useCallback as S } from "react";
|
|
5
|
-
import { u as g } from "./chunks/useBreakpoint.6c1b06c2.js";
|
|
6
|
-
const B = "_root_l6los_25", V = "_root--disabled_l6los_44", w = "_radio_l6los_48", E = "_dot_l6los_63", L = "_radio--invalid_l6los_85", O = "_label_l6los_90", P = "_label--hidden_l6los_100", U = "_input_l6los_113", o = {
|
|
7
|
-
root: B,
|
|
8
|
-
"root--disabled": "_root--disabled_l6los_44",
|
|
9
|
-
rootDisabled: V,
|
|
10
|
-
radio: w,
|
|
11
|
-
dot: E,
|
|
12
|
-
"radio--invalid": "_radio--invalid_l6los_85",
|
|
13
|
-
radioInvalid: L,
|
|
14
|
-
label: O,
|
|
15
|
-
"label--hidden": "_label--hidden_l6los_100",
|
|
16
|
-
labelHidden: P,
|
|
17
|
-
input: U
|
|
18
|
-
}, q = H(
|
|
19
|
-
({
|
|
20
|
-
label: t,
|
|
21
|
-
name: c,
|
|
22
|
-
value: _,
|
|
23
|
-
defaultChecked: u = !1,
|
|
24
|
-
disabled: a = !1,
|
|
25
|
-
hideLabel: f = !1,
|
|
26
|
-
checked: r,
|
|
27
|
-
invalid: m = !1,
|
|
28
|
-
className: p,
|
|
29
|
-
onChange: i,
|
|
30
|
-
...b
|
|
31
|
-
}, e) => {
|
|
32
|
-
const h = I(null), [v, x] = R(u), n = r !== void 0, C = n ? r : v, j = g(f), k = d(
|
|
33
|
-
o.root,
|
|
34
|
-
{
|
|
35
|
-
[o.rootDisabled]: a
|
|
36
|
-
},
|
|
37
|
-
p
|
|
38
|
-
), N = d(o.label, {
|
|
39
|
-
// hide label only visually to keep them available for assistive technologies
|
|
40
|
-
[o.labelHidden]: j
|
|
41
|
-
}), D = d(o.radio, {
|
|
42
|
-
[o.radioInvalid]: m
|
|
43
|
-
}), y = S(
|
|
44
|
-
(l) => {
|
|
45
|
-
if (a) {
|
|
46
|
-
l.preventDefault();
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
|
-
n || x(l.target.checked), i && i(l);
|
|
50
|
-
},
|
|
51
|
-
[a, n, i]
|
|
52
|
-
);
|
|
53
|
-
return /* @__PURE__ */ s.jsxs("label", { className: k, children: [
|
|
54
|
-
/* @__PURE__ */ s.jsx(
|
|
55
|
-
"input",
|
|
56
|
-
{
|
|
57
|
-
type: "radio",
|
|
58
|
-
value: _,
|
|
59
|
-
name: c,
|
|
60
|
-
className: o.input,
|
|
61
|
-
ref: (l) => {
|
|
62
|
-
typeof e == "function" ? e(l) : e !== null && (e.current = l), h.current = l;
|
|
63
|
-
},
|
|
64
|
-
onChange: y,
|
|
65
|
-
...b,
|
|
66
|
-
disabled: a,
|
|
67
|
-
checked: C,
|
|
68
|
-
"aria-label": typeof t == "string" ? t : void 0
|
|
69
|
-
}
|
|
70
|
-
),
|
|
71
|
-
/* @__PURE__ */ s.jsx("span", { className: D, children: /* @__PURE__ */ s.jsx("div", { className: o.dot }) }),
|
|
72
|
-
/* @__PURE__ */ s.jsx("span", { className: N, children: t })
|
|
73
|
-
] });
|
|
74
|
-
}
|
|
75
|
-
);
|
|
76
|
-
q.displayName = "DSRadio";
|
|
77
|
-
export {
|
|
78
|
-
q as DSRadio
|
|
79
|
-
};
|
package/radiogroup.e1c8ea3d.js
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { j as d } from "./chunks/jsx-runtime.5c071667.js";
|
|
3
|
-
import { c as q } from "./chunks/index.8021d3e0.js";
|
|
4
|
-
import { forwardRef as N, useState as P } from "react";
|
|
5
|
-
import { DSFieldset as C } from "./fieldset.fdd84bda.js";
|
|
6
|
-
import { DSRadio as y } from "./radio.fd841ab0.js";
|
|
7
|
-
import { s as c } from "./chunks/RadioGroup.module.59ca486a.js";
|
|
8
|
-
import { g as s } from "./chunks/helpers.ea3ca41a.js";
|
|
9
|
-
const f = (o) => `The "${o}" prop is required. Please add the "${o}" prop to the DSRadioGroup component.`, z = ({
|
|
10
|
-
description: o,
|
|
11
|
-
id: e,
|
|
12
|
-
legend: t,
|
|
13
|
-
name: i,
|
|
14
|
-
options: n,
|
|
15
|
-
systemFeedback: a
|
|
16
|
-
}) => {
|
|
17
|
-
if (!e && (o || a))
|
|
18
|
-
throw new Error(
|
|
19
|
-
s(
|
|
20
|
-
"DSRadioGroup",
|
|
21
|
-
'A unique "id" prop is required when providing the description or systemFeedback property. Please add an unique "id" prop to the DSRadioGroup component.'
|
|
22
|
-
)
|
|
23
|
-
);
|
|
24
|
-
if (!t)
|
|
25
|
-
throw new Error(
|
|
26
|
-
s("DSRadioGroup", f("legend"))
|
|
27
|
-
);
|
|
28
|
-
if (!i)
|
|
29
|
-
throw new Error(
|
|
30
|
-
s("DSRadioGroup", f("name"))
|
|
31
|
-
);
|
|
32
|
-
if (!n)
|
|
33
|
-
throw new Error(
|
|
34
|
-
s("DSRadioGroup", f("options"))
|
|
35
|
-
);
|
|
36
|
-
}, M = N(
|
|
37
|
-
({
|
|
38
|
-
legend: o,
|
|
39
|
-
name: e,
|
|
40
|
-
options: t,
|
|
41
|
-
alignment: i = "vertical",
|
|
42
|
-
defaultValue: n,
|
|
43
|
-
description: a,
|
|
44
|
-
disabled: l = !1,
|
|
45
|
-
id: m,
|
|
46
|
-
invalid: p = !1,
|
|
47
|
-
required: h = !1,
|
|
48
|
-
systemFeedback: u,
|
|
49
|
-
value: S,
|
|
50
|
-
onChange: D,
|
|
51
|
-
...g
|
|
52
|
-
}, G) => {
|
|
53
|
-
process.env.NODE_ENV !== "production" && z({ description: a, id: m, legend: o, name: e, options: t, systemFeedback: u });
|
|
54
|
-
const [v, E] = P(n), R = S !== void 0, w = R ? S : v, x = q(c.root, {
|
|
55
|
-
// In case of longer copy, use vertical alignment
|
|
56
|
-
[c.rootHorizontal]: i === "horizontal",
|
|
57
|
-
[c.rootInvalid]: p && !!u
|
|
58
|
-
}), j = (r) => {
|
|
59
|
-
if (l) {
|
|
60
|
-
r.preventDefault();
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
R || E(
|
|
64
|
-
r.target.value
|
|
65
|
-
), D && D(r);
|
|
66
|
-
};
|
|
67
|
-
return /* @__PURE__ */ d.jsx(
|
|
68
|
-
C,
|
|
69
|
-
{
|
|
70
|
-
id: m,
|
|
71
|
-
legend: o,
|
|
72
|
-
description: a,
|
|
73
|
-
disabled: l,
|
|
74
|
-
required: h,
|
|
75
|
-
invalid: p,
|
|
76
|
-
systemFeedback: u,
|
|
77
|
-
...g,
|
|
78
|
-
role: "radiogroup",
|
|
79
|
-
onChange: j,
|
|
80
|
-
children: /* @__PURE__ */ d.jsx("div", { className: x, children: t.map((r) => /* @__PURE__ */ d.jsx(
|
|
81
|
-
y,
|
|
82
|
-
{
|
|
83
|
-
name: e,
|
|
84
|
-
checked: r.value === w,
|
|
85
|
-
disabled: l,
|
|
86
|
-
invalid: p,
|
|
87
|
-
required: h,
|
|
88
|
-
ref: r.value === w ? G : null,
|
|
89
|
-
...r
|
|
90
|
-
},
|
|
91
|
-
r.label + r.value
|
|
92
|
-
)) })
|
|
93
|
-
}
|
|
94
|
-
);
|
|
95
|
-
}
|
|
96
|
-
);
|
|
97
|
-
M.displayName = "DSRadioGroup";
|
|
98
|
-
export {
|
|
99
|
-
M as DSRadioGroup
|
|
100
|
-
};
|
package/select.88d40c51.js
DELETED
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import "./assets/Select.b9c135c2.css";
|
|
2
|
-
import { j as s } from "./chunks/jsx-runtime.5c071667.js";
|
|
3
|
-
import { c as _ } from "./chunks/index.8021d3e0.js";
|
|
4
|
-
import { useRef as R, useState as q, useEffect as W } from "react";
|
|
5
|
-
import { u as F } from "./chunks/useBreakpoint.6c1b06c2.js";
|
|
6
|
-
import { Asterisk as M } from "./asterisk.cb74ea72.js";
|
|
7
|
-
import { DSIcon as O } from "./icon.b4211784.js";
|
|
8
|
-
import { DSSystemFeedback as V } from "./systemfeedback.8515a4e0.js";
|
|
9
|
-
import { g as f } from "./chunks/helpers.ea3ca41a.js";
|
|
10
|
-
const J = "_root_1txp8_73", K = "_hint_1txp8_81", Q = "_label_1txp8_81", T = "_wrapper_1txp8_85", U = "_affix_1txp8_91", X = "_affix--small_1txp8_109", Y = "_affix--disabled_1txp8_121", Z = "_prefix_1txp8_125", z = "_suffix_1txp8_131", G = "_action-button_1txp8_136", ee = "_label--hidden_1txp8_153", te = "_feedback_1txp8_180", se = "_select-wrapper_1txp8_185", ne = "_select_1txp8_185", ae = "_select--invalid_1txp8_304", le = "_select--small_1txp8_311", ce = "_input--has-leading-icon_1txp8_357", oe = "_input--has-action-button_1txp8_360", ie = "_input--has-second-action-button_1txp8_363", re = "_select--has-leading-icon_1txp8_366", _e = "_select--has-action-button_1txp8_369", de = "_select--has-second-action-button_1txp8_372", pe = "_select--has-affix_1txp8_375", xe = "_select--is-ready_1txp8_387", fe = "_select--placeholder_1txp8_399", ue = "_chevron_1txp8_408", he = "_chevron--small_1txp8_412", be = "_chevron--disabled_1txp8_415", e = {
|
|
11
|
-
root: J,
|
|
12
|
-
hint: K,
|
|
13
|
-
label: Q,
|
|
14
|
-
wrapper: T,
|
|
15
|
-
affix: U,
|
|
16
|
-
"affix--small": "_affix--small_1txp8_109",
|
|
17
|
-
affixSmall: X,
|
|
18
|
-
"affix--disabled": "_affix--disabled_1txp8_121",
|
|
19
|
-
affixDisabled: Y,
|
|
20
|
-
prefix: Z,
|
|
21
|
-
suffix: z,
|
|
22
|
-
"action-button": "_action-button_1txp8_136",
|
|
23
|
-
actionButton: G,
|
|
24
|
-
"label--hidden": "_label--hidden_1txp8_153",
|
|
25
|
-
labelHidden: ee,
|
|
26
|
-
feedback: te,
|
|
27
|
-
"select-wrapper": "_select-wrapper_1txp8_185",
|
|
28
|
-
selectWrapper: se,
|
|
29
|
-
select: ne,
|
|
30
|
-
"select--invalid": "_select--invalid_1txp8_304",
|
|
31
|
-
selectInvalid: ae,
|
|
32
|
-
"select--small": "_select--small_1txp8_311",
|
|
33
|
-
selectSmall: le,
|
|
34
|
-
"input--has-leading-icon": "_input--has-leading-icon_1txp8_357",
|
|
35
|
-
inputHasLeadingIcon: ce,
|
|
36
|
-
"input--has-action-button": "_input--has-action-button_1txp8_360",
|
|
37
|
-
inputHasActionButton: oe,
|
|
38
|
-
"input--has-second-action-button": "_input--has-second-action-button_1txp8_363",
|
|
39
|
-
inputHasSecondActionButton: ie,
|
|
40
|
-
"select--has-leading-icon": "_select--has-leading-icon_1txp8_366",
|
|
41
|
-
selectHasLeadingIcon: re,
|
|
42
|
-
"select--has-action-button": "_select--has-action-button_1txp8_369",
|
|
43
|
-
selectHasActionButton: _e,
|
|
44
|
-
"select--has-second-action-button": "_select--has-second-action-button_1txp8_372",
|
|
45
|
-
selectHasSecondActionButton: de,
|
|
46
|
-
"select--has-affix": "_select--has-affix_1txp8_375",
|
|
47
|
-
selectHasAffix: pe,
|
|
48
|
-
"select--is-ready": "_select--is-ready_1txp8_387",
|
|
49
|
-
selectIsReady: xe,
|
|
50
|
-
"select--placeholder": "_select--placeholder_1txp8_399",
|
|
51
|
-
selectPlaceholder: fe,
|
|
52
|
-
chevron: ue,
|
|
53
|
-
"chevron--small": "_chevron--small_1txp8_412",
|
|
54
|
-
chevronSmall: he,
|
|
55
|
-
"chevron--disabled": "_chevron--disabled_1txp8_415",
|
|
56
|
-
chevronDisabled: be
|
|
57
|
-
}, me = ({
|
|
58
|
-
id: t,
|
|
59
|
-
label: l,
|
|
60
|
-
options: a
|
|
61
|
-
}) => {
|
|
62
|
-
if (!t)
|
|
63
|
-
throw new Error(
|
|
64
|
-
f(
|
|
65
|
-
"DSSelect",
|
|
66
|
-
'A unique "id" prop is required. Please add an unique "id" prop to the DSSelect component.'
|
|
67
|
-
)
|
|
68
|
-
);
|
|
69
|
-
if (!l)
|
|
70
|
-
throw new Error(
|
|
71
|
-
f(
|
|
72
|
-
"DSSelect",
|
|
73
|
-
`A label is always required for a11y reasons. Please add a descriptive "label" prop to the DSSelect component. If you don't want to display a label, set hideLabel={true}.`
|
|
74
|
-
)
|
|
75
|
-
);
|
|
76
|
-
if (!a || a.length === 0)
|
|
77
|
-
throw new Error(
|
|
78
|
-
f(
|
|
79
|
-
"DSSelect",
|
|
80
|
-
'Options are always required. Please add an "options" prop to the DSSelect component.'
|
|
81
|
-
)
|
|
82
|
-
);
|
|
83
|
-
}, ve = (t, l, a) => t === "" || l !== void 0 && l !== "" ? !1 : !(a !== void 0 && a !== ""), Be = ({
|
|
84
|
-
id: t,
|
|
85
|
-
label: l,
|
|
86
|
-
options: a,
|
|
87
|
-
className: D,
|
|
88
|
-
defaultValue: u,
|
|
89
|
-
disabled: h = !1,
|
|
90
|
-
hideLabel: I = !1,
|
|
91
|
-
hint: d,
|
|
92
|
-
invalid: r = !1,
|
|
93
|
-
placeholder: p = "Select",
|
|
94
|
-
required: b = !1,
|
|
95
|
-
size: m = "medium",
|
|
96
|
-
systemFeedback: x,
|
|
97
|
-
value: v,
|
|
98
|
-
...y
|
|
99
|
-
}) => {
|
|
100
|
-
process.env.NODE_ENV !== "production" && me({
|
|
101
|
-
id: t,
|
|
102
|
-
label: l,
|
|
103
|
-
options: a
|
|
104
|
-
});
|
|
105
|
-
const i = R(null), [j, A] = q(
|
|
106
|
-
ve(p, u, v)
|
|
107
|
-
);
|
|
108
|
-
W(() => {
|
|
109
|
-
if (!i.current)
|
|
110
|
-
return;
|
|
111
|
-
const c = () => {
|
|
112
|
-
if (!i.current)
|
|
113
|
-
return;
|
|
114
|
-
const o = i.current.value;
|
|
115
|
-
A(o === "");
|
|
116
|
-
}, n = i.current;
|
|
117
|
-
return n.addEventListener("change", c), () => {
|
|
118
|
-
n.removeEventListener("change", c);
|
|
119
|
-
};
|
|
120
|
-
}, []);
|
|
121
|
-
const B = F(I), S = `${t}-label`, g = `${t}-feedback`, H = `${t}-hint`, N = d ? ` ${H}` : "", P = (c) => [
|
|
122
|
-
p && /* @__PURE__ */ s.jsx("option", { value: "", children: p }, `${t}-hidden-option-disabled-placeholder`),
|
|
123
|
-
...c.map((n) => {
|
|
124
|
-
if ("options" in n) {
|
|
125
|
-
const { label: o, options: C } = n;
|
|
126
|
-
return /* @__PURE__ */ s.jsx("optgroup", { label: o, children: C.map(w) }, o);
|
|
127
|
-
} else
|
|
128
|
-
return w(n);
|
|
129
|
-
})
|
|
130
|
-
], w = ({ label: c, value: n, isDisabled: o }) => /* @__PURE__ */ s.jsx("option", { value: n, disabled: o, children: c }, n), E = _(e.root, D), L = _(e.select, {
|
|
131
|
-
[e.selectSmall]: m === "small",
|
|
132
|
-
[e.selectInvalid]: r,
|
|
133
|
-
[e.selectPlaceholder]: j
|
|
134
|
-
}), k = _(e.label, {
|
|
135
|
-
// hide label only visually to keep them available for assistive technologies
|
|
136
|
-
[e.labelHidden]: B
|
|
137
|
-
}), $ = _(e.chevron, {
|
|
138
|
-
[e.chevronSmall]: m === "small",
|
|
139
|
-
[e.chevronDisabled]: h
|
|
140
|
-
});
|
|
141
|
-
return /* @__PURE__ */ s.jsxs("div", { className: E, children: [
|
|
142
|
-
/* @__PURE__ */ s.jsxs("label", { className: k, id: S, htmlFor: t, children: [
|
|
143
|
-
l,
|
|
144
|
-
b && /* @__PURE__ */ s.jsx(M, {})
|
|
145
|
-
] }),
|
|
146
|
-
d && /* @__PURE__ */ s.jsx("div", { className: e.hint, id: H, children: d }),
|
|
147
|
-
r && x && /* @__PURE__ */ s.jsx(
|
|
148
|
-
V,
|
|
149
|
-
{
|
|
150
|
-
className: e.feedback,
|
|
151
|
-
message: x,
|
|
152
|
-
type: "invalid",
|
|
153
|
-
id: g,
|
|
154
|
-
"aria-live": "assertive"
|
|
155
|
-
}
|
|
156
|
-
),
|
|
157
|
-
/* @__PURE__ */ s.jsxs("div", { className: e.selectWrapper, children: [
|
|
158
|
-
/* @__PURE__ */ s.jsx(
|
|
159
|
-
"select",
|
|
160
|
-
{
|
|
161
|
-
...y,
|
|
162
|
-
id: t,
|
|
163
|
-
ref: i,
|
|
164
|
-
className: L,
|
|
165
|
-
"aria-labelledby": `${S}${N}`,
|
|
166
|
-
"aria-describedby": r && x ? g : void 0,
|
|
167
|
-
"aria-invalid": r,
|
|
168
|
-
defaultValue: u,
|
|
169
|
-
value: v,
|
|
170
|
-
disabled: h,
|
|
171
|
-
required: b,
|
|
172
|
-
children: P(a)
|
|
173
|
-
}
|
|
174
|
-
),
|
|
175
|
-
/* @__PURE__ */ s.jsx(
|
|
176
|
-
O,
|
|
177
|
-
{
|
|
178
|
-
name: "chevron-down",
|
|
179
|
-
className: $,
|
|
180
|
-
"aria-hidden": "true"
|
|
181
|
-
}
|
|
182
|
-
)
|
|
183
|
-
] })
|
|
184
|
-
] });
|
|
185
|
-
};
|
|
186
|
-
export {
|
|
187
|
-
Be as DSSelect
|
|
188
|
-
};
|
package/spinner.ee015469.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import "./assets/Spinner.af45d460.css";
|
|
2
|
-
import { j as t } from "./chunks/jsx-runtime.5c071667.js";
|
|
3
|
-
import { c as n } from "./chunks/index.8021d3e0.js";
|
|
4
|
-
import { DSIcon as _ } from "./icon.b4211784.js";
|
|
5
|
-
const m = "_root_1spts_25", z = "_root-size-small_1spts_31", c = "_root-size-medium_1spts_35", p = "_root-size-large_1spts_39", S = "_root-size-x-large_1spts_43", d = "_root-size-inherit_1spts_47", g = "_rotate_1spts_1", u = "_screenReaderOnly_1spts_67", e = {
|
|
6
|
-
root: m,
|
|
7
|
-
"root-size-small": "_root-size-small_1spts_31",
|
|
8
|
-
rootSizeSmall: z,
|
|
9
|
-
"root-size-medium": "_root-size-medium_1spts_35",
|
|
10
|
-
rootSizeMedium: c,
|
|
11
|
-
"root-size-large": "_root-size-large_1spts_39",
|
|
12
|
-
rootSizeLarge: p,
|
|
13
|
-
"root-size-x-large": "_root-size-x-large_1spts_43",
|
|
14
|
-
rootSizeXLarge: S,
|
|
15
|
-
"root-size-inherit": "_root-size-inherit_1spts_47",
|
|
16
|
-
rootSizeInherit: d,
|
|
17
|
-
rotate: g,
|
|
18
|
-
screenReaderOnly: u
|
|
19
|
-
}, j = ({
|
|
20
|
-
aria: r,
|
|
21
|
-
className: s,
|
|
22
|
-
size: o = "small",
|
|
23
|
-
theme: i = "light",
|
|
24
|
-
...a
|
|
25
|
-
}) => {
|
|
26
|
-
const l = n(e.root, s, {
|
|
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__ */ t.jsxs(
|
|
34
|
-
"span",
|
|
35
|
-
{
|
|
36
|
-
className: l,
|
|
37
|
-
role: "alert",
|
|
38
|
-
"aria-live": "assertive",
|
|
39
|
-
"aria-label": (r == null ? void 0 : r["aria-label"]) || void 0,
|
|
40
|
-
...a,
|
|
41
|
-
children: [
|
|
42
|
-
/* @__PURE__ */ t.jsx("span", { className: e.screenReaderOnly, children: " " }),
|
|
43
|
-
/* @__PURE__ */ t.jsx(
|
|
44
|
-
_,
|
|
45
|
-
{
|
|
46
|
-
name: "loading-spinner",
|
|
47
|
-
theme: i,
|
|
48
|
-
focusable: "false",
|
|
49
|
-
"aria-hidden": "true"
|
|
50
|
-
}
|
|
51
|
-
)
|
|
52
|
-
]
|
|
53
|
-
}
|
|
54
|
-
);
|
|
55
|
-
};
|
|
56
|
-
export {
|
|
57
|
-
j as DSSpinner
|
|
58
|
-
};
|