@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/icon.PX9_1kNB.js
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as x } from "./chunks/jsx-runtime.C-kxDJ4g.js";
|
|
3
|
+
import { c as E } from "./chunks/index.CvOaL64Y.js";
|
|
4
|
+
import * as b from "react";
|
|
5
|
+
import { useRef as T, useState as y, useEffect as j } from "react";
|
|
6
|
+
import './assets/icon.CB-KQmw4.css';var z = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new WeakMap(), M = 0, V = void 0;
|
|
7
|
+
function D(s) {
|
|
8
|
+
return s ? (_.has(s) || (M += 1, _.set(s, M.toString())), _.get(s)) : "0";
|
|
9
|
+
}
|
|
10
|
+
function L(s) {
|
|
11
|
+
return Object.keys(s).sort().filter(
|
|
12
|
+
(t) => s[t] !== void 0
|
|
13
|
+
).map((t) => `${t}_${t === "root" ? D(s.root) : s[t]}`).toString();
|
|
14
|
+
}
|
|
15
|
+
function q(s) {
|
|
16
|
+
const t = L(s);
|
|
17
|
+
let i = z.get(t);
|
|
18
|
+
if (!i) {
|
|
19
|
+
const e = /* @__PURE__ */ new Map();
|
|
20
|
+
let a;
|
|
21
|
+
const r = new IntersectionObserver((n) => {
|
|
22
|
+
n.forEach((o) => {
|
|
23
|
+
var c;
|
|
24
|
+
const v = o.isIntersecting && a.some((m) => o.intersectionRatio >= m);
|
|
25
|
+
s.trackVisibility && typeof o.isVisible > "u" && (o.isVisible = v), (c = e.get(o.target)) == null || c.forEach((m) => {
|
|
26
|
+
m(v, o);
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
}, s);
|
|
30
|
+
a = r.thresholds || (Array.isArray(s.threshold) ? s.threshold : [s.threshold || 0]), i = {
|
|
31
|
+
id: t,
|
|
32
|
+
observer: r,
|
|
33
|
+
elements: e
|
|
34
|
+
}, z.set(t, i);
|
|
35
|
+
}
|
|
36
|
+
return i;
|
|
37
|
+
}
|
|
38
|
+
function N(s, t, i = {}, e = V) {
|
|
39
|
+
if (typeof window.IntersectionObserver > "u" && e !== void 0) {
|
|
40
|
+
const c = s.getBoundingClientRect();
|
|
41
|
+
return t(e, {
|
|
42
|
+
isIntersecting: e,
|
|
43
|
+
target: s,
|
|
44
|
+
intersectionRatio: typeof i.threshold == "number" ? i.threshold : 0,
|
|
45
|
+
time: 0,
|
|
46
|
+
boundingClientRect: c,
|
|
47
|
+
intersectionRect: c,
|
|
48
|
+
rootBounds: c
|
|
49
|
+
}), () => {
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
const { id: a, observer: r, elements: n } = q(i), o = n.get(s) || [];
|
|
53
|
+
return n.has(s) || n.set(s, o), o.push(t), r.observe(s), function() {
|
|
54
|
+
o.splice(o.indexOf(t), 1), o.length === 0 && (n.delete(s), r.unobserve(s)), n.size === 0 && (r.disconnect(), z.delete(a));
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function O({
|
|
58
|
+
threshold: s,
|
|
59
|
+
delay: t,
|
|
60
|
+
trackVisibility: i,
|
|
61
|
+
rootMargin: e,
|
|
62
|
+
root: a,
|
|
63
|
+
triggerOnce: r,
|
|
64
|
+
skip: n,
|
|
65
|
+
initialInView: o,
|
|
66
|
+
fallbackInView: c,
|
|
67
|
+
onChange: v
|
|
68
|
+
} = {}) {
|
|
69
|
+
var m;
|
|
70
|
+
const [d, k] = b.useState(null), h = b.useRef(), [g, l] = b.useState({
|
|
71
|
+
inView: !!o,
|
|
72
|
+
entry: void 0
|
|
73
|
+
});
|
|
74
|
+
h.current = v, b.useEffect(
|
|
75
|
+
() => {
|
|
76
|
+
if (n || !d)
|
|
77
|
+
return;
|
|
78
|
+
let f;
|
|
79
|
+
return f = N(
|
|
80
|
+
d,
|
|
81
|
+
(R, S) => {
|
|
82
|
+
l({
|
|
83
|
+
inView: R,
|
|
84
|
+
entry: S
|
|
85
|
+
}), h.current && h.current(R, S), S.isIntersecting && r && f && (f(), f = void 0);
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
root: a,
|
|
89
|
+
rootMargin: e,
|
|
90
|
+
threshold: s,
|
|
91
|
+
// @ts-ignore
|
|
92
|
+
trackVisibility: i,
|
|
93
|
+
// @ts-ignore
|
|
94
|
+
delay: t
|
|
95
|
+
},
|
|
96
|
+
c
|
|
97
|
+
), () => {
|
|
98
|
+
f && f();
|
|
99
|
+
};
|
|
100
|
+
},
|
|
101
|
+
// We break the rule here, because we aren't including the actual `threshold` variable
|
|
102
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
103
|
+
[
|
|
104
|
+
// If the threshold is an array, convert it to a string, so it won't change between renders.
|
|
105
|
+
Array.isArray(s) ? s.toString() : s,
|
|
106
|
+
d,
|
|
107
|
+
a,
|
|
108
|
+
e,
|
|
109
|
+
r,
|
|
110
|
+
n,
|
|
111
|
+
i,
|
|
112
|
+
c,
|
|
113
|
+
t
|
|
114
|
+
]
|
|
115
|
+
);
|
|
116
|
+
const u = (m = g.entry) == null ? void 0 : m.target, I = b.useRef();
|
|
117
|
+
!d && u && !r && !n && I.current !== u && (I.current = u, l({
|
|
118
|
+
inView: !!o,
|
|
119
|
+
entry: void 0
|
|
120
|
+
}));
|
|
121
|
+
const p = [k, g.inView, g.entry];
|
|
122
|
+
return p.ref = p[0], p.inView = p[1], p.entry = p[2], p;
|
|
123
|
+
}
|
|
124
|
+
const A = "_image_109vr_63", C = "_image--theme-dark_109vr_72", X = "_image--size-medium_109vr_75", $ = "_image--size-small_109vr_81", B = "_image--size-x-small_109vr_87", w = {
|
|
125
|
+
image: A,
|
|
126
|
+
"image--theme-dark": "_image--theme-dark_109vr_72",
|
|
127
|
+
imageThemeDark: C,
|
|
128
|
+
"image--size-medium": "_image--size-medium_109vr_75",
|
|
129
|
+
imageSizeMedium: X,
|
|
130
|
+
"image--size-small": "_image--size-small_109vr_81",
|
|
131
|
+
imageSizeSmall: $,
|
|
132
|
+
"image--size-x-small": "_image--size-x-small_109vr_87",
|
|
133
|
+
imageSizeXSmall: B
|
|
134
|
+
}, G = (s, t, i) => {
|
|
135
|
+
const e = s[t];
|
|
136
|
+
return e ? typeof e == "function" ? e() : Promise.resolve(e) : new Promise((a, r) => {
|
|
137
|
+
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(r.bind(null, new Error("Unknown variable dynamic import: " + t + (t.split("/").length !== i ? ". Note that variables only represent file names one level deep." : ""))));
|
|
138
|
+
});
|
|
139
|
+
}, P = (s) => {
|
|
140
|
+
var n;
|
|
141
|
+
const t = T(), [i, e] = y(!1), [a, r] = y(!0);
|
|
142
|
+
return j(() => {
|
|
143
|
+
i && (r(!0), (async () => {
|
|
144
|
+
try {
|
|
145
|
+
t.current = await G(/* @__PURE__ */ Object.assign({ "../../../../icons/dist/assets/360.svg": () => import("./chunks/360.CfjUtgxq.js"), "../../../../icons/dist/assets/academic-cap.svg": () => import("./chunks/academic-cap.OBigTQQS.js"), "../../../../icons/dist/assets/alarm-clock.svg": () => import("./chunks/alarm-clock.CpK-AEZG.js"), "../../../../icons/dist/assets/arrow-clockwise.svg": () => import("./chunks/arrow-clockwise.BefOjGPg.js"), "../../../../icons/dist/assets/arrow-counterclockwise.svg": () => import("./chunks/arrow-counterclockwise.C7Ov32BZ.js"), "../../../../icons/dist/assets/arrow-down-line.svg": () => import("./chunks/arrow-down-line.RDD2pRZY.js"), "../../../../icons/dist/assets/arrow-down.svg": () => import("./chunks/arrow-down.XpokLh98.js"), "../../../../icons/dist/assets/arrow-edge.svg": () => import("./chunks/arrow-edge.CPA93M81.js"), "../../../../icons/dist/assets/arrow-left.svg": () => import("./chunks/arrow-left.C8NG5I2X.js"), "../../../../icons/dist/assets/arrow-out.svg": () => import("./chunks/arrow-out.CsHHHYN9.js"), "../../../../icons/dist/assets/arrow-outline-left.svg": () => import("./chunks/arrow-outline-left.Bhw_LzfV.js"), "../../../../icons/dist/assets/arrow-right.svg": () => import("./chunks/arrow-right.HNwAz18h.js"), "../../../../icons/dist/assets/arrow-up-arrow-down.svg": () => import("./chunks/arrow-up-arrow-down.BVyuVJP5.js"), "../../../../icons/dist/assets/arrow-up.svg": () => import("./chunks/arrow-up.Ca1GnLaY.js"), "../../../../icons/dist/assets/at.svg": () => import("./chunks/at.BNfdp4M0.js"), "../../../../icons/dist/assets/barcode-scanner.svg": () => import("./chunks/barcode-scanner.D0olxB_m.js"), "../../../../icons/dist/assets/battery.svg": () => import("./chunks/battery.YCg9lYqC.js"), "../../../../icons/dist/assets/bell.svg": () => import("./chunks/bell.DbPxCAUM.js"), "../../../../icons/dist/assets/bin-open.svg": () => import("./chunks/bin-open.DsjIBW00.js"), "../../../../icons/dist/assets/bin.svg": () => import("./chunks/bin.ktpYUJmK.js"), "../../../../icons/dist/assets/bluetooth.svg": () => import("./chunks/bluetooth.dW5tTwby.js"), "../../../../icons/dist/assets/bookmark.svg": () => import("./chunks/bookmark.B7Mbr-d6.js"), "../../../../icons/dist/assets/burger.svg": () => import("./chunks/burger.DLP81BXa.js"), "../../../../icons/dist/assets/calendar.svg": () => import("./chunks/calendar.Cig7yG7m.js"), "../../../../icons/dist/assets/camera.svg": () => import("./chunks/camera.BoCB0Emp.js"), "../../../../icons/dist/assets/cart-check.svg": () => import("./chunks/cart-check.CYH0vTB8.js"), "../../../../icons/dist/assets/cart-plus.svg": () => import("./chunks/cart-plus.DzXXFMZj.js"), "../../../../icons/dist/assets/cart.svg": () => import("./chunks/cart.CoEwMABr.js"), "../../../../icons/dist/assets/catalog.svg": () => import("./chunks/catalog.CwV-J6Kb.js"), "../../../../icons/dist/assets/certificate.svg": () => import("./chunks/certificate.Crs4RohK.js"), "../../../../icons/dist/assets/chain-link.svg": () => import("./chunks/chain-link.BMV2WV6k.js"), "../../../../icons/dist/assets/chainsaw.svg": () => import("./chunks/chainsaw.CI1EYF7a.js"), "../../../../icons/dist/assets/check.svg": () => import("./chunks/check.CuZKWgYj.js"), "../../../../icons/dist/assets/chevron-down.svg": () => import("./chunks/chevron-down.5UkGOwK_.js"), "../../../../icons/dist/assets/chevron-left.svg": () => import("./chunks/chevron-left.DRFQ-efY.js"), "../../../../icons/dist/assets/chevron-line-left.svg": () => import("./chunks/chevron-line-left.SQvDJQ1t.js"), "../../../../icons/dist/assets/chevron-line-right.svg": () => import("./chunks/chevron-line-right.CYQ3b2cQ.js"), "../../../../icons/dist/assets/chevron-right.svg": () => import("./chunks/chevron-right.B_Ew9QUt.js"), "../../../../icons/dist/assets/chevron-up.svg": () => import("./chunks/chevron-up.DqETUWqG.js"), "../../../../icons/dist/assets/circle-check-colored.svg": () => import("./chunks/circle-check-colored.Bye_GwLy.js"), "../../../../icons/dist/assets/circle-check-inverted.svg": () => import("./chunks/circle-check-inverted.Cc2cUmWT.js"), "../../../../icons/dist/assets/circle-info-colored.svg": () => import("./chunks/circle-info-colored.DLY6BTL4.js"), "../../../../icons/dist/assets/circle-info-inverted.svg": () => import("./chunks/circle-info-inverted.D8Z0vTmu.js"), "../../../../icons/dist/assets/circle-pause.svg": () => import("./chunks/circle-pause.DaRfXOff.js"), "../../../../icons/dist/assets/circle-stroke.svg": () => import("./chunks/circle-stroke.CWu_o3Gx.js"), "../../../../icons/dist/assets/circle.svg": () => import("./chunks/circle.471EUzv6.js"), "../../../../icons/dist/assets/clock.svg": () => import("./chunks/clock.Bw5ICIVH.js"), "../../../../icons/dist/assets/coffee-cup.svg": () => import("./chunks/coffee-cup.DIijzKx_.js"), "../../../../icons/dist/assets/compare.svg": () => import("./chunks/compare.BgktBbYD.js"), "../../../../icons/dist/assets/connected-box-mobile.svg": () => import("./chunks/connected-box-mobile.DboMCVxp.js"), "../../../../icons/dist/assets/connected-box-stationary.svg": () => import("./chunks/connected-box-stationary.CAPCPQ1d.js"), "../../../../icons/dist/assets/connected-box.svg": () => import("./chunks/connected-box.DVqJw-ws.js"), "../../../../icons/dist/assets/cross.svg": () => import("./chunks/cross.rEw3TuHs.js"), "../../../../icons/dist/assets/diamond-exclamationmark-colored.svg": () => import("./chunks/diamond-exclamationmark-colored.WNKYwZ8q.js"), "../../../../icons/dist/assets/diamond-exclamationmark-inverted.svg": () => import("./chunks/diamond-exclamationmark-inverted.DzAIb8Nt.js"), "../../../../icons/dist/assets/diamond.svg": () => import("./chunks/diamond.CXZHFpPC.js"), "../../../../icons/dist/assets/diskette.svg": () => import("./chunks/diskette._0C2VZ9v.js"), "../../../../icons/dist/assets/distance.svg": () => import("./chunks/distance.FA6pTjcW.js"), "../../../../icons/dist/assets/dots-connected.svg": () => import("./chunks/dots-connected.ZMYjHeNS.js"), "../../../../icons/dist/assets/download-complete.svg": () => import("./chunks/download-complete.CZVpzrvY.js"), "../../../../icons/dist/assets/envelope-open.svg": () => import("./chunks/envelope-open.CA4cE5lk.js"), "../../../../icons/dist/assets/envelope.svg": () => import("./chunks/envelope.re-RxZVw.js"), "../../../../icons/dist/assets/exclamationmark.svg": () => import("./chunks/exclamationmark.DEbIGqGC.js"), "../../../../icons/dist/assets/exit.svg": () => import("./chunks/exit.Cgb8AB-k.js"), "../../../../icons/dist/assets/eye-closed.svg": () => import("./chunks/eye-closed.CvqozUwK.js"), "../../../../icons/dist/assets/eye.svg": () => import("./chunks/eye.CRQMKZs4.js"), "../../../../icons/dist/assets/facebook.svg": () => import("./chunks/facebook.CVcxa0rV.js"), "../../../../icons/dist/assets/filter.svg": () => import("./chunks/filter.DrPSKpaG.js"), "../../../../icons/dist/assets/finger-double-arrow.svg": () => import("./chunks/finger-double-arrow.DDUZoPh8.js"), "../../../../icons/dist/assets/flash.svg": () => import("./chunks/flash.CgJJ1bUx.js"), "../../../../icons/dist/assets/fullscreen.svg": () => import("./chunks/fullscreen.Be2rBj1i.js"), "../../../../icons/dist/assets/gear.svg": () => import("./chunks/gear.DEltGVSA.js"), "../../../../icons/dist/assets/globe.svg": () => import("./chunks/globe.DG6uw6fi.js"), "../../../../icons/dist/assets/grid.svg": () => import("./chunks/grid.DH1impeF.js"), "../../../../icons/dist/assets/guidance.svg": () => import("./chunks/guidance.BBYB3JpW.js"), "../../../../icons/dist/assets/haircross.svg": () => import("./chunks/haircross.D-whkit9.js"), "../../../../icons/dist/assets/hanger.svg": () => import("./chunks/hanger.Bo8qtNo5.js"), "../../../../icons/dist/assets/headphones.svg": () => import("./chunks/headphones.DjWXOuJJ.js"), "../../../../icons/dist/assets/heart.svg": () => import("./chunks/heart.D-BnHMb-.js"), "../../../../icons/dist/assets/hexagon-arrow-clockwise.svg": () => import("./chunks/hexagon-arrow-clockwise.D0eeDQQx.js"), "../../../../icons/dist/assets/horizontal-ellipsis.svg": () => import("./chunks/horizontal-ellipsis.ChdN6RnG.js"), "../../../../icons/dist/assets/house.svg": () => import("./chunks/house.BohpDQ3q.js"), "../../../../icons/dist/assets/imow.svg": () => import("./chunks/imow.Dh1oMqcW.js"), "../../../../icons/dist/assets/info.svg": () => import("./chunks/info.BZVg9FLA.js"), "../../../../icons/dist/assets/instagram.svg": () => import("./chunks/instagram.CIlKb7xj.js"), "../../../../icons/dist/assets/leave-fullscreen.svg": () => import("./chunks/leave-fullscreen.BC5iwDur.js"), "../../../../icons/dist/assets/lightbulb.svg": () => import("./chunks/lightbulb.DQ7TiRsr.js"), "../../../../icons/dist/assets/linkedin.svg": () => import("./chunks/linkedin.br5zvxco.js"), "../../../../icons/dist/assets/list-three-rows.svg": () => import("./chunks/list-three-rows.Cso4ybs8.js"), "../../../../icons/dist/assets/list-two-rows.svg": () => import("./chunks/list-two-rows.DOsZEv0-.js"), "../../../../icons/dist/assets/loading-spinner.svg": () => import("./chunks/loading-spinner.BukfMaU6.js"), "../../../../icons/dist/assets/lock.svg": () => import("./chunks/lock.Dw_GOpTn.js"), "../../../../icons/dist/assets/magnifying-glass-minus.svg": () => import("./chunks/magnifying-glass-minus.BYztw2P1.js"), "../../../../icons/dist/assets/magnifying-glass-plus.svg": () => import("./chunks/magnifying-glass-plus.BTgviDVh.js"), "../../../../icons/dist/assets/magnifying-glass.svg": () => import("./chunks/magnifying-glass.C8DfRaIO.js"), "../../../../icons/dist/assets/map.svg": () => import("./chunks/map.CXgG1iGz.js"), "../../../../icons/dist/assets/minus.svg": () => import("./chunks/minus.BkhCuIH4.js"), "../../../../icons/dist/assets/mobile.svg": () => import("./chunks/mobile.C1Kj9VnC.js"), "../../../../icons/dist/assets/nine-squares.svg": () => import("./chunks/nine-squares.DVsNAOzz.js"), "../../../../icons/dist/assets/note-check.svg": () => import("./chunks/note-check.CM_kmt0M.js"), "../../../../icons/dist/assets/note-plus.svg": () => import("./chunks/note-plus.Bkn78EyA.js"), "../../../../icons/dist/assets/note.svg": () => import("./chunks/note.CE0ACLn8.js"), "../../../../icons/dist/assets/number-input.svg": () => import("./chunks/number-input.BLhoh5mh.js"), "../../../../icons/dist/assets/paperclip.svg": () => import("./chunks/paperclip.BMerX4rj.js"), "../../../../icons/dist/assets/parcel.svg": () => import("./chunks/parcel.Ve9GL_EG.js"), "../../../../icons/dist/assets/pause.svg": () => import("./chunks/pause.B91Ejn-O.js"), "../../../../icons/dist/assets/pdf.svg": () => import("./chunks/pdf.9kZbElrZ.js"), "../../../../icons/dist/assets/pen.svg": () => import("./chunks/pen.CvKw2PvE.js"), "../../../../icons/dist/assets/percent.svg": () => import("./chunks/percent.BlB6rG-B.js"), "../../../../icons/dist/assets/petrol.svg": () => import("./chunks/petrol.Du6qAgp0.js"), "../../../../icons/dist/assets/phone.svg": () => import("./chunks/phone.DzdXfmNC.js"), "../../../../icons/dist/assets/pin-s.svg": () => import("./chunks/pin-s.DXgYuN9C.js"), "../../../../icons/dist/assets/pin.svg": () => import("./chunks/pin.DZfZr4El.js"), "../../../../icons/dist/assets/pinterest.svg": () => import("./chunks/pinterest.sUPAub_q.js"), "../../../../icons/dist/assets/placeholder.svg": () => import("./chunks/placeholder.Dbb0hT5R.js"), "../../../../icons/dist/assets/play.svg": () => import("./chunks/play.BDiY2JrT.js"), "../../../../icons/dist/assets/plug.svg": () => import("./chunks/plug.DZozve4C.js"), "../../../../icons/dist/assets/plus.svg": () => import("./chunks/plus.zdu17kAe.js"), "../../../../icons/dist/assets/printer.svg": () => import("./chunks/printer.CaFaWfeS.js"), "../../../../icons/dist/assets/prohibition-sign.svg": () => import("./chunks/prohibition-sign.DUFn0QiV.js"), "../../../../icons/dist/assets/questionmark.svg": () => import("./chunks/questionmark.QyDxanQy.js"), "../../../../icons/dist/assets/security.svg": () => import("./chunks/security.DkLw5ym4.js"), "../../../../icons/dist/assets/share.svg": () => import("./chunks/share.C3wwEl8n.js"), "../../../../icons/dist/assets/shirt.svg": () => import("./chunks/shirt.BC8W-yCI.js"), "../../../../icons/dist/assets/shop.svg": () => import("./chunks/shop.DdPV35mK.js"), "../../../../icons/dist/assets/sound-off.svg": () => import("./chunks/sound-off.D4kGcehG.js"), "../../../../icons/dist/assets/sound-on.svg": () => import("./chunks/sound-on.Cynkb0_t.js"), "../../../../icons/dist/assets/speechbubble.svg": () => import("./chunks/speechbubble.87vuoKUp.js"), "../../../../icons/dist/assets/speechbubbles.svg": () => import("./chunks/speechbubbles.CSFhpNJn.js"), "../../../../icons/dist/assets/square.svg": () => import("./chunks/square.D6PgEi_r.js"), "../../../../icons/dist/assets/star-half.svg": () => import("./chunks/star-half.DZTtM5Bw.js"), "../../../../icons/dist/assets/star.svg": () => import("./chunks/star.BkjednvI.js"), "../../../../icons/dist/assets/tag.svg": () => import("./chunks/tag.yO7uMsHj.js"), "../../../../icons/dist/assets/thumbs-down.svg": () => import("./chunks/thumbs-down.DeBD6wnK.js"), "../../../../icons/dist/assets/thumbs-up.svg": () => import("./chunks/thumbs-up.D-44gexH.js"), "../../../../icons/dist/assets/triangle-exclamationmark-colored.svg": () => import("./chunks/triangle-exclamationmark-colored.CbVC3Gzi.js"), "../../../../icons/dist/assets/triangle-exclamationmark-inverted.svg": () => import("./chunks/triangle-exclamationmark-inverted.BiGoK7TV.js"), "../../../../icons/dist/assets/triangle.svg": () => import("./chunks/triangle.ibv6NDnt.js"), "../../../../icons/dist/assets/truck.svg": () => import("./chunks/truck.xIk5wW6T.js"), "../../../../icons/dist/assets/two-people-screen.svg": () => import("./chunks/two-people-screen.BBLouaW4.js"), "../../../../icons/dist/assets/two-sheets.svg": () => import("./chunks/two-sheets.DWFmuL7N.js"), "../../../../icons/dist/assets/upload.svg": () => import("./chunks/upload.ZImTAIgx.js"), "../../../../icons/dist/assets/user.svg": () => import("./chunks/user.BMARueuy.js"), "../../../../icons/dist/assets/vertical-ellipsis.svg": () => import("./chunks/vertical-ellipsis.Bc9eBsDF.js"), "../../../../icons/dist/assets/wc.svg": () => import("./chunks/wc.gmKE1r5l.js"), "../../../../icons/dist/assets/whatsapp.svg": () => import("./chunks/whatsapp.CPpu-7Nn.js"), "../../../../icons/dist/assets/wifi-1bar.svg": () => import("./chunks/wifi-1bar.BcEP-r8w.js"), "../../../../icons/dist/assets/wifi-2bars.svg": () => import("./chunks/wifi-2bars.jDOd4Q3q.js"), "../../../../icons/dist/assets/wifi-off.svg": () => import("./chunks/wifi-off.D9xPqVWn.js"), "../../../../icons/dist/assets/wifi.svg": () => import("./chunks/wifi.CuQykF6X.js"), "../../../../icons/dist/assets/wind-rose.svg": () => import("./chunks/wind-rose.C-XcKdy-.js"), "../../../../icons/dist/assets/wrench.svg": () => import("./chunks/wrench.DMFV2S9u.js"), "../../../../icons/dist/assets/x.svg": () => import("./chunks/x.BqbpXd7O.js"), "../../../../icons/dist/assets/xing.svg": () => import("./chunks/xing.CiKYLbPq.js"), "../../../../icons/dist/assets/youtube.svg": () => import("./chunks/youtube.DrImaRSP.js") }), `../../../../icons/dist/assets/${s}.svg`, 8);
|
|
146
|
+
} catch (c) {
|
|
147
|
+
console.error(c);
|
|
148
|
+
} finally {
|
|
149
|
+
r(!1);
|
|
150
|
+
}
|
|
151
|
+
})());
|
|
152
|
+
}, [s, i]), {
|
|
153
|
+
isLoading: a,
|
|
154
|
+
SVGIcon: (n = t.current) == null ? void 0 : n.default,
|
|
155
|
+
setShouldLoad: e
|
|
156
|
+
};
|
|
157
|
+
}, F = ({
|
|
158
|
+
aria: s,
|
|
159
|
+
className: t,
|
|
160
|
+
name: i = "arrow-left",
|
|
161
|
+
size: e = "large",
|
|
162
|
+
source: a,
|
|
163
|
+
theme: r = "light",
|
|
164
|
+
...n
|
|
165
|
+
}) => {
|
|
166
|
+
const { SVGIcon: o, isLoading: c, setShouldLoad: v } = P(i), [, m] = y(i), d = {
|
|
167
|
+
large: 16,
|
|
168
|
+
medium: 12,
|
|
169
|
+
small: 10,
|
|
170
|
+
"x-small": 8
|
|
171
|
+
};
|
|
172
|
+
j(() => {
|
|
173
|
+
m(i);
|
|
174
|
+
}, [i]);
|
|
175
|
+
const { ref: k } = O({
|
|
176
|
+
rootMargin: "200px 0px",
|
|
177
|
+
triggerOnce: !0,
|
|
178
|
+
fallbackInView: !0,
|
|
179
|
+
skip: !!a,
|
|
180
|
+
onChange: (l) => {
|
|
181
|
+
v(l);
|
|
182
|
+
}
|
|
183
|
+
}), h = (l) => (u) => {
|
|
184
|
+
a && u && (u.src = l);
|
|
185
|
+
}, g = E(w.image, t, {
|
|
186
|
+
// custom icons and colored icons do not have a dark theme
|
|
187
|
+
[w.imageThemeDark]: r === "dark" && !a && !i.includes("-colored"),
|
|
188
|
+
[w.imageSizeMedium]: e === "medium",
|
|
189
|
+
[w.imageSizeSmall]: e === "small",
|
|
190
|
+
[w.imageSizeXSmall]: e === "x-small"
|
|
191
|
+
});
|
|
192
|
+
return a ? /* @__PURE__ */ x.jsx(
|
|
193
|
+
"img",
|
|
194
|
+
{
|
|
195
|
+
className: g,
|
|
196
|
+
ref: h(a),
|
|
197
|
+
width: d[e],
|
|
198
|
+
height: d[e],
|
|
199
|
+
loading: "lazy",
|
|
200
|
+
alt: (s == null ? void 0 : s["aria-label"]) || "",
|
|
201
|
+
...n
|
|
202
|
+
}
|
|
203
|
+
) : !c && o ? /* @__PURE__ */ x.jsx(
|
|
204
|
+
o,
|
|
205
|
+
{
|
|
206
|
+
className: g,
|
|
207
|
+
title: (s == null ? void 0 : s["aria-label"]) || "",
|
|
208
|
+
role: s != null && s["aria-label"] ? "img" : void 0,
|
|
209
|
+
...n
|
|
210
|
+
}
|
|
211
|
+
) : /* @__PURE__ */ x.jsx("div", { className: g, ref: k });
|
|
212
|
+
};
|
|
213
|
+
export {
|
|
214
|
+
F as DSIcon
|
|
215
|
+
};
|
package/index.es.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { DSButton as t } from "./button.
|
|
3
|
-
import { DSButtonRound as p } from "./buttonround.
|
|
4
|
-
import { DSCheckbox as x } from "./checkbox.
|
|
5
|
-
import { DSCheckboxGroup as f } from "./checkboxgroup.
|
|
6
|
-
import { DSCombobox as n } from "./combobox.
|
|
7
|
-
import { DSFieldset as u } from "./fieldset.
|
|
8
|
-
import { DSFloatingActionButton as c } from "./floatingactionbutton.
|
|
9
|
-
import { DSHeading as l } from "./heading.
|
|
10
|
-
import { DSIcon as b } from "./icon.
|
|
11
|
-
import { DSInput as k } from "./input.
|
|
12
|
-
import { DSInputPassword as g } from "./inputpassword.
|
|
13
|
-
import { DSInputSearch as C } from "./inputsearch.
|
|
14
|
-
import { DSInputStepper as T } from "./inputstepper.
|
|
15
|
-
import { DSLink as F } from "./link.
|
|
16
|
-
import { DSLinkStandalone as R } from "./linkstandalone.
|
|
17
|
-
import { DSLogo as H } from "./logo.
|
|
18
|
-
import { DSRadioGroup as j } from "./radiogroup.
|
|
19
|
-
import { DSSelect as v } from "./select.
|
|
20
|
-
import { DSSpinner as z } from "./spinner.
|
|
21
|
-
import { DSSwitch as J } from "./switch.
|
|
22
|
-
import { DSText as M } from "./text.
|
|
23
|
-
import { DSTextarea as O } from "./textarea.
|
|
24
|
-
import { DSTitle as U } from "./title.
|
|
2
|
+
import { DSButton as t } from "./button.BUUGRxIp.js";
|
|
3
|
+
import { DSButtonRound as p } from "./buttonround.CKc-a-hd.js";
|
|
4
|
+
import { DSCheckbox as x } from "./checkbox.C2Ga9yTK.js";
|
|
5
|
+
import { DSCheckboxGroup as f } from "./checkboxgroup.Cfxz9bk6.js";
|
|
6
|
+
import { DSCombobox as n } from "./combobox.BXHAo4Wx.js";
|
|
7
|
+
import { DSFieldset as u } from "./fieldset.DGcIKzDI.js";
|
|
8
|
+
import { DSFloatingActionButton as c } from "./floatingactionbutton.DzHD39NY.js";
|
|
9
|
+
import { DSHeading as l } from "./heading.DqGbFfj2.js";
|
|
10
|
+
import { DSIcon as b } from "./icon.PX9_1kNB.js";
|
|
11
|
+
import { DSInput as k } from "./input.o8OT6rxJ.js";
|
|
12
|
+
import { DSInputPassword as g } from "./inputpassword.-MXq8baU.js";
|
|
13
|
+
import { DSInputSearch as C } from "./inputsearch.CoYTSjox.js";
|
|
14
|
+
import { DSInputStepper as T } from "./inputstepper.BBMQr6kM.js";
|
|
15
|
+
import { DSLink as F } from "./link.BN6AZfhG.js";
|
|
16
|
+
import { DSLinkStandalone as R } from "./linkstandalone.4-fyRd08.js";
|
|
17
|
+
import { DSLogo as H } from "./logo.C_oJ8isW.js";
|
|
18
|
+
import { DSRadioGroup as j } from "./radiogroup.oILRMrX-.js";
|
|
19
|
+
import { DSSelect as v } from "./select.OGcreXnT.js";
|
|
20
|
+
import { DSSpinner as z } from "./spinner.Diy_EeFY.js";
|
|
21
|
+
import { DSSwitch as J } from "./switch.BjoFKMQC.js";
|
|
22
|
+
import { DSText as M } from "./text.CPU8IUqY.js";
|
|
23
|
+
import { DSTextarea as O } from "./textarea.kc_Sfbgr.js";
|
|
24
|
+
import { DSTitle as U } from "./title.icX0VDiO.js";
|
|
25
25
|
export {
|
|
26
26
|
t as DSButton,
|
|
27
27
|
p as DSButtonRound,
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as i } from "./chunks/jsx-runtime.C-kxDJ4g.js";
|
|
3
|
+
import { c as l } from "./chunks/index.CvOaL64Y.js";
|
|
4
|
+
import { useState as m, useRef as k, useLayoutEffect as B, useEffect as as } from "react";
|
|
5
|
+
import { u as ts } from "./chunks/useBreakpoint.5xBNDiCf.js";
|
|
6
|
+
import { Asterisk as es } from "./asterisk.DU8THnoC.js";
|
|
7
|
+
import { DSButton as E } from "./button.BUUGRxIp.js";
|
|
8
|
+
import { DSIcon as ls } from "./icon.PX9_1kNB.js";
|
|
9
|
+
import { DSSystemFeedback as os } from "./systemfeedback.C7iXO5A1.js";
|
|
10
|
+
import { v as cs, a as ds, M as _s, b as us, s as fs, i as v, c as rs } from "./chunks/Input.utils.Bly6ZzLI.js";
|
|
11
|
+
import './assets/input.BcP5kkZ2.css';const ps = "_input_1swsi_187", ms = "_input--invalid_1swsi_297", hs = "_input--small_1swsi_304", bs = "_input--has-leading-icon_1swsi_350", ws = "_input--has-action-button_1swsi_353", xs = "_input--has-second-action-button_1swsi_356", gs = "_input--has-affix_1swsi_368", Is = "_input--is-ready_1swsi_380", Ss = "_root_1swsi_387", ys = "_hint_1swsi_395", Hs = "_label_1swsi_395", ks = "_wrapper_1swsi_399", vs = "_affix_1swsi_405", Cs = "_affix--small_1swsi_425", Rs = "_affix--disabled_1swsi_437", js = "_prefix_1swsi_440", Ls = "_affix--readonly_1swsi_443", As = "_suffix_1swsi_453", Ds = "_leading-icon_1swsi_460", Ns = "_leading-icon--small_1swsi_472", Bs = "_leading-icon--disabled_1swsi_475", Es = "_action-button_1swsi_484", Ts = "_label--hidden_1swsi_501", Fs = "_feedback_1swsi_528", s = {
|
|
12
|
+
input: ps,
|
|
13
|
+
"input--invalid": "_input--invalid_1swsi_297",
|
|
14
|
+
inputInvalid: ms,
|
|
15
|
+
"input--small": "_input--small_1swsi_304",
|
|
16
|
+
inputSmall: hs,
|
|
17
|
+
"input--has-leading-icon": "_input--has-leading-icon_1swsi_350",
|
|
18
|
+
inputHasLeadingIcon: bs,
|
|
19
|
+
"input--has-action-button": "_input--has-action-button_1swsi_353",
|
|
20
|
+
inputHasActionButton: ws,
|
|
21
|
+
"input--has-second-action-button": "_input--has-second-action-button_1swsi_356",
|
|
22
|
+
inputHasSecondActionButton: xs,
|
|
23
|
+
"input--has-affix": "_input--has-affix_1swsi_368",
|
|
24
|
+
inputHasAffix: gs,
|
|
25
|
+
"input--is-ready": "_input--is-ready_1swsi_380",
|
|
26
|
+
inputIsReady: Is,
|
|
27
|
+
root: Ss,
|
|
28
|
+
hint: ys,
|
|
29
|
+
label: Hs,
|
|
30
|
+
wrapper: ks,
|
|
31
|
+
affix: vs,
|
|
32
|
+
"affix--small": "_affix--small_1swsi_425",
|
|
33
|
+
affixSmall: Cs,
|
|
34
|
+
"affix--disabled": "_affix--disabled_1swsi_437",
|
|
35
|
+
affixDisabled: Rs,
|
|
36
|
+
prefix: js,
|
|
37
|
+
"affix--readonly": "_affix--readonly_1swsi_443",
|
|
38
|
+
affixReadonly: Ls,
|
|
39
|
+
suffix: As,
|
|
40
|
+
"leading-icon": "_leading-icon_1swsi_460",
|
|
41
|
+
leadingIcon: Ds,
|
|
42
|
+
"leading-icon--small": "_leading-icon--small_1swsi_472",
|
|
43
|
+
leadingIconSmall: Ns,
|
|
44
|
+
"leading-icon--disabled": "_leading-icon--disabled_1swsi_475",
|
|
45
|
+
leadingIconDisabled: Bs,
|
|
46
|
+
"action-button": "_action-button_1swsi_484",
|
|
47
|
+
actionButton: Es,
|
|
48
|
+
"label--hidden": "_label--hidden_1swsi_501",
|
|
49
|
+
labelHidden: Ts,
|
|
50
|
+
feedback: Fs
|
|
51
|
+
}, Js = ({
|
|
52
|
+
id: d,
|
|
53
|
+
label: C,
|
|
54
|
+
actionButtonLabel: T,
|
|
55
|
+
actionButtonIconName: u,
|
|
56
|
+
actionButtonIconSource: h,
|
|
57
|
+
actionButtonOnClick: F,
|
|
58
|
+
className: P,
|
|
59
|
+
disabled: a = !1,
|
|
60
|
+
hint: b,
|
|
61
|
+
hideLabel: O = !1,
|
|
62
|
+
invalid: f = !1,
|
|
63
|
+
leadingIconName: r,
|
|
64
|
+
leadingIconSource: p,
|
|
65
|
+
prefix: t,
|
|
66
|
+
readonly: _ = !1,
|
|
67
|
+
required: R = !1,
|
|
68
|
+
size: e = "medium",
|
|
69
|
+
suffix: n,
|
|
70
|
+
systemFeedback: w,
|
|
71
|
+
type: o = "text",
|
|
72
|
+
...$
|
|
73
|
+
}) => {
|
|
74
|
+
process.env.NODE_ENV !== "production" && (cs({
|
|
75
|
+
id: d,
|
|
76
|
+
label: C,
|
|
77
|
+
prefix: t,
|
|
78
|
+
suffix: n,
|
|
79
|
+
leadingIconName: r,
|
|
80
|
+
leadingIconSource: p,
|
|
81
|
+
actionButtonIconName: u,
|
|
82
|
+
actionButtonIconSource: h
|
|
83
|
+
}), ds(o));
|
|
84
|
+
const [W, X] = m(!1), [M, V] = m(!1), [x, G] = m(!1), [U, J] = m({}), g = k(null), K = t == null ? void 0 : t.substring(0, _s), I = k(null), Q = n == null ? void 0 : n.substring(0, us), S = k(null), Y = ts(O);
|
|
85
|
+
B(() => {
|
|
86
|
+
const c = e === "medium" ? 16 : 8, y = {};
|
|
87
|
+
if (I.current) {
|
|
88
|
+
const H = I.current.offsetWidth;
|
|
89
|
+
y.paddingInlineStart = c + H + "px";
|
|
90
|
+
}
|
|
91
|
+
if (S.current) {
|
|
92
|
+
const H = S.current.offsetWidth;
|
|
93
|
+
y.paddingInlineEnd = c + H + "px";
|
|
94
|
+
}
|
|
95
|
+
J(y), X(!0);
|
|
96
|
+
}, [t, n, e, M]), B(() => {
|
|
97
|
+
(async () => {
|
|
98
|
+
"fonts" in document && (await document.fonts.load(
|
|
99
|
+
'1em "STIHL Contraface Digital Text Regular"'
|
|
100
|
+
), V(!0));
|
|
101
|
+
})();
|
|
102
|
+
}, []), as(() => {
|
|
103
|
+
const c = fs(
|
|
104
|
+
v(o),
|
|
105
|
+
rs(o)
|
|
106
|
+
);
|
|
107
|
+
G(c);
|
|
108
|
+
}, [o]);
|
|
109
|
+
const j = l(s.affix, {
|
|
110
|
+
[s.affixSmall]: e === "small",
|
|
111
|
+
[s.affixDisabled]: a,
|
|
112
|
+
[s.affixReadonly]: _
|
|
113
|
+
}), L = `${d}-label`, A = `${d}-feedback`, D = `${d}-hint`, Z = b ? ` ${D}` : "", q = l(s.root, P), z = l(s.input, {
|
|
114
|
+
// small input
|
|
115
|
+
[s.inputSmall]: e === "small",
|
|
116
|
+
// invalid state
|
|
117
|
+
[s.inputInvalid]: f,
|
|
118
|
+
// leading icon
|
|
119
|
+
[s.inputHasLeadingIcon]: r || p,
|
|
120
|
+
// prefix/suffix
|
|
121
|
+
[s.inputHasAffix]: t || n,
|
|
122
|
+
// action button
|
|
123
|
+
[s.inputHasActionButton]: u || h || x,
|
|
124
|
+
[s.inputIsReady]: W
|
|
125
|
+
}), ss = l(s.label, {
|
|
126
|
+
// hide label only visually to keep them available for assistive technologies
|
|
127
|
+
[s.labelHidden]: Y
|
|
128
|
+
}), is = l(s.leadingIcon, {
|
|
129
|
+
[s.leadingIconSmall]: e === "small",
|
|
130
|
+
[s.leadingIconDisabled]: a
|
|
131
|
+
}), N = l(s.actionButton, {
|
|
132
|
+
[s.actionButtonSmall]: e === "small"
|
|
133
|
+
}), ns = (c) => {
|
|
134
|
+
g.current && !a && !_ && g.current.showPicker(), c.preventDefault();
|
|
135
|
+
};
|
|
136
|
+
return /* @__PURE__ */ i.jsxs("div", { className: q, children: [
|
|
137
|
+
/* @__PURE__ */ i.jsxs("label", { className: ss, id: L, htmlFor: d, children: [
|
|
138
|
+
C,
|
|
139
|
+
R && /* @__PURE__ */ i.jsx(es, {})
|
|
140
|
+
] }),
|
|
141
|
+
b && /* @__PURE__ */ i.jsx("div", { className: s.hint, id: D, children: b }),
|
|
142
|
+
f && w && /* @__PURE__ */ i.jsx(
|
|
143
|
+
os,
|
|
144
|
+
{
|
|
145
|
+
className: s.feedback,
|
|
146
|
+
message: w,
|
|
147
|
+
type: "invalid",
|
|
148
|
+
id: A
|
|
149
|
+
}
|
|
150
|
+
),
|
|
151
|
+
/* @__PURE__ */ i.jsxs("div", { className: s.wrapper, children: [
|
|
152
|
+
t && /* @__PURE__ */ i.jsx(
|
|
153
|
+
"span",
|
|
154
|
+
{
|
|
155
|
+
className: l(j, s.prefix),
|
|
156
|
+
ref: I,
|
|
157
|
+
"aria-disabled": a,
|
|
158
|
+
children: K
|
|
159
|
+
}
|
|
160
|
+
),
|
|
161
|
+
!t && (r || p) && /* @__PURE__ */ i.jsx(
|
|
162
|
+
ls,
|
|
163
|
+
{
|
|
164
|
+
name: r,
|
|
165
|
+
theme: "light",
|
|
166
|
+
source: p,
|
|
167
|
+
className: is,
|
|
168
|
+
"aria-hidden": "true"
|
|
169
|
+
}
|
|
170
|
+
),
|
|
171
|
+
/* @__PURE__ */ i.jsx(
|
|
172
|
+
"input",
|
|
173
|
+
{
|
|
174
|
+
type: o,
|
|
175
|
+
className: z,
|
|
176
|
+
id: d,
|
|
177
|
+
ref: g,
|
|
178
|
+
...$,
|
|
179
|
+
style: U,
|
|
180
|
+
"aria-labelledby": `${L}${Z}`,
|
|
181
|
+
"aria-describedby": f && w ? A : void 0,
|
|
182
|
+
"aria-invalid": f,
|
|
183
|
+
"aria-disabled": _,
|
|
184
|
+
readOnly: _,
|
|
185
|
+
required: R,
|
|
186
|
+
disabled: a
|
|
187
|
+
}
|
|
188
|
+
),
|
|
189
|
+
n && /* @__PURE__ */ i.jsx(
|
|
190
|
+
"span",
|
|
191
|
+
{
|
|
192
|
+
className: l(j, s.suffix),
|
|
193
|
+
ref: S,
|
|
194
|
+
"aria-disabled": a,
|
|
195
|
+
children: Q
|
|
196
|
+
}
|
|
197
|
+
),
|
|
198
|
+
!n && !x && (u || h) && /* @__PURE__ */ i.jsx(
|
|
199
|
+
E,
|
|
200
|
+
{
|
|
201
|
+
hideLabel: !0,
|
|
202
|
+
theme: "light",
|
|
203
|
+
iconName: u,
|
|
204
|
+
variant: "ghost",
|
|
205
|
+
className: N,
|
|
206
|
+
size: e,
|
|
207
|
+
onClick: F,
|
|
208
|
+
type: "button",
|
|
209
|
+
disabled: a || _,
|
|
210
|
+
children: T
|
|
211
|
+
}
|
|
212
|
+
),
|
|
213
|
+
!n && x && !_ && !a && /* @__PURE__ */ i.jsxs(
|
|
214
|
+
E,
|
|
215
|
+
{
|
|
216
|
+
hideLabel: !0,
|
|
217
|
+
theme: "light",
|
|
218
|
+
iconName: v(o) ? "calendar" : "clock",
|
|
219
|
+
variant: "ghost",
|
|
220
|
+
className: N,
|
|
221
|
+
size: e,
|
|
222
|
+
onClick: ns,
|
|
223
|
+
type: "button",
|
|
224
|
+
children: [
|
|
225
|
+
"Open ",
|
|
226
|
+
v(o) ? "date" : "time",
|
|
227
|
+
" picker"
|
|
228
|
+
]
|
|
229
|
+
}
|
|
230
|
+
)
|
|
231
|
+
] })
|
|
232
|
+
] });
|
|
233
|
+
};
|
|
234
|
+
export {
|
|
235
|
+
Js as DSInput
|
|
236
|
+
};
|