@stihl-design-system/components 1.0.0-RC.0 → 1.0.0-RC.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Klarna.svg +1 -0
- package/Mastercard.svg +2 -0
- package/Notification-additional-information.jpeg +0 -0
- package/Notification-confirm-error.jpg +0 -0
- package/Notification-confirm-warn.jpeg +0 -0
- package/Notification-overview.jpeg +0 -0
- package/Notification-success.jpeg +0 -0
- package/PayPal.svg +2 -0
- package/Placeholder.svg +1 -0
- package/README.md +10 -1
- package/Visa.svg +2 -0
- package/accordion.B3UkxlAZ.js +10 -0
- package/accordion.d.ts +1 -0
- package/arialiveregions.BK4T7Vhk.js +27 -0
- package/arialiveregions.d.ts +1 -0
- package/assets/Accordion.lFv7Q_RG.css +1 -0
- package/assets/CustomReactSelect.CMkn-EGK.css +1 -0
- package/assets/Dialog.fiQvxJg_.css +1 -0
- package/assets/Drawer.BqBgbSuP.css +1 -0
- package/assets/Fieldset.qHYeUFZt.css +1 -0
- package/assets/Icon.Duy_0R8w.css +1 -0
- package/assets/InputPassword.Cf394z47.css +1 -0
- package/assets/InputSearch.eCRQoxjN.css +1 -0
- package/assets/InputStepper.B80KulYE.css +1 -0
- package/assets/Notification.DK6agBGS.css +1 -0
- package/assets/RadioGroup.Bz3_xkZU.css +1 -0
- package/assets/Select.BptsMxz4.css +1 -0
- package/assets/Textarea.CIIVh03G.css +1 -0
- package/assets/Toast.Dsvs1zdM.css +1 -0
- package/assets/arialiveregions.GsGx2USO.css +1 -0
- package/assets/asterisk.DlJ4YtSZ.css +1 -0
- package/assets/button.B1O7Yw3Q.css +1 -0
- package/assets/buttonround.DlH_ipDo.css +1 -0
- package/assets/checkbox.K4CVYK9g.css +1 -0
- package/assets/floatingactionbutton.DRYentYC.css +1 -0
- package/assets/heading.6bER-Eac.css +1 -0
- package/assets/input.C0MrSbQu.css +1 -0
- package/assets/link.vtTST2ki.css +1 -0
- package/assets/linkstandalone.BtAcziZ7.css +1 -0
- package/assets/logo.pETQEsvZ.css +1 -0
- package/assets/optioncheckbox.BJJAph5_.css +1 -0
- package/assets/radio.9kpIO3HC.css +1 -0
- package/assets/skiptocontent.CHcqLS7S.css +1 -0
- package/assets/spinner.D_Nnf1ZG.css +1 -0
- package/assets/switch.2DQF2zH-.css +1 -0
- package/assets/systemfeedback.Sq0bAIyf.css +1 -0
- package/assets/text.Dhb_l50R.css +1 -0
- package/assets/title.f74Bosn-.css +1 -0
- package/asterisk.DDn-yX4P.js +8 -0
- package/button.DH0h6uPs.js +135 -0
- package/buttonround.0mw4zzlU.js +118 -0
- package/checkbox.DETR3e3X.js +112 -0
- package/checkboxgroup.CZqrlF-x.js +9 -0
- package/chunks/360.CfjUtgxq.js +10 -0
- package/chunks/Accordion.pI3JyHJL.js +125 -0
- package/chunks/AriaLiveRegions.utils.D2ni4Yrf.js +34 -0
- package/chunks/CheckboxGroup.4J_gZ_XJ.js +87 -0
- package/chunks/CustomReactSelect.ChAtL6fu.js +3591 -0
- package/chunks/Dialog.Z5ESJQMi.js +148 -0
- package/chunks/Drawer.BdowMqE0.js +154 -0
- package/chunks/Fieldset.COGbZwry.js +99 -0
- package/chunks/Icon.C2o2seDb.js +223 -0
- package/chunks/{Input.utils.f8f3286f.js → Input.utils.ChV6RJsh.js} +24 -17
- package/chunks/InputPassword.Dgo95-PU.js +140 -0
- package/chunks/InputSearch.BFof0pBn.js +189 -0
- package/chunks/InputStepper.4IqLa5tX.js +291 -0
- package/chunks/Notification.BhwbaXqk.js +93 -0
- package/chunks/RadioGroup.C5jbCJM4.js +132 -0
- package/chunks/RadioGroup.module.BBZwHDjW.js +11 -0
- package/chunks/Select.fXeQJXtz.js +191 -0
- package/chunks/Textarea.Bewrp0Za.js +195 -0
- package/chunks/Toast.DA_CQ9J-.js +89 -0
- package/chunks/academic-cap.OBigTQQS.js +10 -0
- package/chunks/alarm-clock.CpK-AEZG.js +10 -0
- package/chunks/arrow-clockwise.BefOjGPg.js +10 -0
- package/chunks/arrow-counterclockwise.C7Ov32BZ.js +10 -0
- package/chunks/arrow-down-line.RDD2pRZY.js +10 -0
- package/chunks/arrow-down.XpokLh98.js +10 -0
- package/chunks/arrow-edge.CPA93M81.js +10 -0
- package/chunks/arrow-left.C8NG5I2X.js +10 -0
- package/chunks/arrow-out.CsHHHYN9.js +10 -0
- package/chunks/arrow-outline-left.Bhw_LzfV.js +10 -0
- package/chunks/arrow-right.HNwAz18h.js +10 -0
- package/chunks/arrow-up-arrow-down.BVyuVJP5.js +10 -0
- package/chunks/arrow-up.Ca1GnLaY.js +10 -0
- package/chunks/at.BNfdp4M0.js +10 -0
- package/chunks/barcode-scanner.D0olxB_m.js +10 -0
- package/chunks/battery.YCg9lYqC.js +10 -0
- package/chunks/bell.DbPxCAUM.js +10 -0
- package/chunks/bin-open.DsjIBW00.js +10 -0
- package/chunks/bin.ktpYUJmK.js +10 -0
- package/chunks/bluetooth.dW5tTwby.js +10 -0
- package/chunks/bookmark.B7Mbr-d6.js +10 -0
- package/chunks/burger.DLP81BXa.js +10 -0
- package/chunks/calendar.Cig7yG7m.js +10 -0
- package/chunks/camera.BoCB0Emp.js +10 -0
- package/chunks/cart-check.CYH0vTB8.js +10 -0
- package/chunks/cart-plus.DzXXFMZj.js +10 -0
- package/chunks/cart.CoEwMABr.js +10 -0
- package/chunks/catalog.CwV-J6Kb.js +10 -0
- package/chunks/certificate.Crs4RohK.js +10 -0
- package/chunks/chain-link.BMV2WV6k.js +10 -0
- package/chunks/chainsaw.CI1EYF7a.js +10 -0
- package/chunks/check.CuZKWgYj.js +10 -0
- package/chunks/chevron-down.5UkGOwK_.js +10 -0
- package/chunks/chevron-left.DRFQ-efY.js +10 -0
- package/chunks/chevron-line-left.SQvDJQ1t.js +10 -0
- package/chunks/chevron-line-right.CYQ3b2cQ.js +10 -0
- package/chunks/chevron-right.B_Ew9QUt.js +10 -0
- package/chunks/chevron-up.DqETUWqG.js +10 -0
- package/chunks/circle-check-colored.Bye_GwLy.js +10 -0
- package/chunks/circle-check-inverted.Cc2cUmWT.js +10 -0
- package/chunks/circle-info-colored.D2pp54gf.js +10 -0
- package/chunks/circle-info-inverted.D8Z0vTmu.js +10 -0
- package/chunks/circle-pause.DaRfXOff.js +10 -0
- package/chunks/circle-stroke.CWu_o3Gx.js +10 -0
- package/chunks/circle.471EUzv6.js +10 -0
- package/chunks/clock.Bw5ICIVH.js +10 -0
- package/chunks/coffee-cup.DIijzKx_.js +10 -0
- package/chunks/compare.BgktBbYD.js +10 -0
- package/chunks/connected-box-mobile.DboMCVxp.js +10 -0
- package/chunks/connected-box-stationary.CAPCPQ1d.js +10 -0
- package/chunks/connected-box.DVqJw-ws.js +10 -0
- package/chunks/cross.rEw3TuHs.js +10 -0
- package/chunks/diamond-exclamationmark-colored.WNKYwZ8q.js +10 -0
- package/chunks/diamond-exclamationmark-inverted.DzAIb8Nt.js +10 -0
- package/chunks/diamond.CXZHFpPC.js +10 -0
- package/chunks/diskette._0C2VZ9v.js +10 -0
- package/chunks/distance.FA6pTjcW.js +10 -0
- package/chunks/dots-connected.ZMYjHeNS.js +10 -0
- package/chunks/{download-complete.0b84a7cc.js → download-complete.CZVpzrvY.js} +3 -4
- package/chunks/envelope-open.CA4cE5lk.js +10 -0
- package/chunks/envelope.re-RxZVw.js +10 -0
- package/chunks/exclamationmark.DEbIGqGC.js +10 -0
- package/chunks/exit.Cgb8AB-k.js +10 -0
- package/chunks/eye-closed.CvqozUwK.js +10 -0
- package/chunks/eye.CRQMKZs4.js +10 -0
- package/chunks/{triangle.bff84ddf.js → facebook.CVcxa0rV.js} +2 -3
- package/chunks/filter.DrPSKpaG.js +10 -0
- package/chunks/finger-double-arrow.DDUZoPh8.js +10 -0
- package/chunks/flash.CgJJ1bUx.js +10 -0
- package/chunks/fullscreen.Be2rBj1i.js +10 -0
- package/chunks/gear.DEltGVSA.js +10 -0
- package/chunks/globe.DG6uw6fi.js +10 -0
- package/chunks/grid.DH1impeF.js +10 -0
- package/chunks/guidance.BBYB3JpW.js +10 -0
- package/chunks/haircross.D-whkit9.js +10 -0
- package/chunks/hanger.Bo8qtNo5.js +10 -0
- package/chunks/has-document.r9i9TxKV.js +5 -0
- package/chunks/headphones.DjWXOuJJ.js +10 -0
- package/chunks/heart.D-BnHMb-.js +10 -0
- package/chunks/hexagon-arrow-clockwise.D0eeDQQx.js +10 -0
- package/chunks/horizontal-ellipsis.ChdN6RnG.js +10 -0
- package/chunks/house.BohpDQ3q.js +10 -0
- package/chunks/imow.Dh1oMqcW.js +10 -0
- package/chunks/info.BZVg9FLA.js +10 -0
- package/chunks/instagram.CIlKb7xj.js +10 -0
- package/chunks/{jsx-runtime.5c071667.js → jsx-runtime.C115EyI4.js} +259 -256
- package/chunks/leave-fullscreen.BC5iwDur.js +10 -0
- package/chunks/lightbulb.DQ7TiRsr.js +10 -0
- package/chunks/linkedin.br5zvxco.js +10 -0
- package/chunks/list-three-rows.Cso4ybs8.js +10 -0
- package/chunks/list-two-rows.DOsZEv0-.js +10 -0
- package/chunks/loading-spinner.BukfMaU6.js +10 -0
- package/chunks/lock.Dw_GOpTn.js +10 -0
- package/chunks/magnifying-glass-minus.BYztw2P1.js +10 -0
- package/chunks/magnifying-glass-plus.BTgviDVh.js +10 -0
- package/chunks/magnifying-glass.C8DfRaIO.js +10 -0
- package/chunks/map.CXgG1iGz.js +10 -0
- package/chunks/minus.BkhCuIH4.js +10 -0
- package/chunks/mobile.C1Kj9VnC.js +10 -0
- package/chunks/nine-squares.DVsNAOzz.js +10 -0
- package/chunks/note-check.CM_kmt0M.js +10 -0
- package/chunks/note-plus.Bkn78EyA.js +10 -0
- package/chunks/note.CE0ACLn8.js +10 -0
- package/chunks/number-input.BLhoh5mh.js +10 -0
- package/chunks/paperclip.BMerX4rj.js +10 -0
- package/chunks/parcel.Ve9GL_EG.js +10 -0
- package/chunks/pause.B91Ejn-O.js +10 -0
- package/chunks/pdf.9kZbElrZ.js +10 -0
- package/chunks/pen.CvKw2PvE.js +10 -0
- package/chunks/percent.BlB6rG-B.js +10 -0
- package/chunks/petrol.Du6qAgp0.js +10 -0
- package/chunks/phone.DzdXfmNC.js +10 -0
- package/chunks/pin-s.DXgYuN9C.js +10 -0
- package/chunks/pin.DZfZr4El.js +10 -0
- package/chunks/pinterest.sUPAub_q.js +10 -0
- package/chunks/placeholder.Dbb0hT5R.js +10 -0
- package/chunks/play.BDiY2JrT.js +10 -0
- package/chunks/plug.DZozve4C.js +10 -0
- package/chunks/plus.zdu17kAe.js +10 -0
- package/chunks/printer.CaFaWfeS.js +10 -0
- package/chunks/prohibition-sign.DUFn0QiV.js +10 -0
- package/chunks/questionmark.QyDxanQy.js +10 -0
- package/chunks/security.DkLw5ym4.js +10 -0
- package/chunks/share.C3wwEl8n.js +10 -0
- package/chunks/shirt.BC8W-yCI.js +10 -0
- package/chunks/shop.DdPV35mK.js +10 -0
- package/chunks/sound-off.D4kGcehG.js +10 -0
- package/chunks/sound-on.Cynkb0_t.js +10 -0
- package/chunks/speechbubble.87vuoKUp.js +10 -0
- package/chunks/speechbubbles.CSFhpNJn.js +10 -0
- package/chunks/square.D6PgEi_r.js +10 -0
- package/chunks/star-half.DZTtM5Bw.js +10 -0
- package/chunks/star.BkjednvI.js +10 -0
- package/chunks/tag.yO7uMsHj.js +10 -0
- package/chunks/thumbs-down.DeBD6wnK.js +10 -0
- package/chunks/thumbs-up.D-44gexH.js +10 -0
- package/chunks/triangle-exclamationmark-colored.CbVC3Gzi.js +10 -0
- package/chunks/triangle-exclamationmark-inverted.BiGoK7TV.js +10 -0
- package/chunks/triangle.ibv6NDnt.js +10 -0
- package/chunks/truck.xIk5wW6T.js +10 -0
- package/chunks/two-people-screen.BBLouaW4.js +10 -0
- package/chunks/two-sheets.DWFmuL7N.js +10 -0
- package/chunks/upload.ZImTAIgx.js +10 -0
- package/chunks/user.BMARueuy.js +10 -0
- package/chunks/vertical-ellipsis.Bc9eBsDF.js +10 -0
- package/chunks/wc.gmKE1r5l.js +10 -0
- package/chunks/whatsapp.CPpu-7Nn.js +10 -0
- package/chunks/wifi-1bar.BcEP-r8w.js +10 -0
- package/chunks/wifi-2bars.jDOd4Q3q.js +10 -0
- package/chunks/wifi-off.D9xPqVWn.js +10 -0
- package/chunks/wifi.CuQykF6X.js +10 -0
- package/chunks/wind-rose.C-XcKdy-.js +10 -0
- package/chunks/wrench.DMFV2S9u.js +10 -0
- package/chunks/x.BqbpXd7O.js +10 -0
- package/chunks/xing.CiKYLbPq.js +10 -0
- package/chunks/youtube.DrImaRSP.js +10 -0
- package/combobox.JL1Dsn3E.js +47 -0
- package/components/Accordion/Accordion.d.ts +40 -0
- package/components/Accordion/Accordion.test.d.ts +1 -0
- package/components/Accordion/Accordion.utils.d.ts +15 -0
- package/components/Accordion/Acordion.utils.test.d.ts +1 -0
- package/components/AriaLiveRegions/AriaLiveRegions.d.ts +4 -0
- package/components/AriaLiveRegions/AriaLiveRegions.utils.d.ts +5 -0
- package/components/AriaLiveRegions/AriaLiveRegions.utils.test.d.ts +1 -0
- package/components/Asterisk/Asterisk.d.ts +0 -1
- package/components/Button/Button.d.ts +33 -17
- package/components/ButtonRound/ButtonRound.d.ts +12 -4
- package/components/Checkbox/Checkbox.d.ts +21 -11
- package/components/CheckboxGroup/CheckboxGroup.d.ts +19 -12
- package/components/CheckboxGroup/CheckboxGroup.utils.d.ts +3 -2
- package/components/Combobox/Combobox.d.ts +12 -6
- package/components/Combobox/Combobox.utils.d.ts +4 -3
- package/components/CustomReactSelect/CustomReactSelect.d.ts +39 -26
- package/components/CustomReactSelect/CustomReactSelect.utils.d.ts +3 -2
- package/components/CustomReactSelect/OptionCheckbox.d.ts +2 -1
- package/components/Dialog/Dialog.d.ts +35 -0
- package/components/Dialog/Dialog.test.d.ts +1 -0
- package/components/Dialog/Dialog.utils.d.ts +12 -0
- package/components/Dialog/Dialog.utils.test.d.ts +1 -0
- package/components/Drawer/Drawer.d.ts +40 -0
- package/components/Drawer/Drawer.test.d.ts +1 -0
- package/components/Drawer/Drawer.utils.d.ts +14 -0
- package/components/Drawer/Drawer.utils.test.d.ts +1 -0
- package/components/Fieldset/Fieldset.d.ts +16 -10
- package/components/Fieldset/Fieldset.utils.d.ts +4 -3
- package/components/FloatingActionButton/FloatingActionButton.d.ts +7 -2
- package/components/Heading/Heading.d.ts +14 -7
- package/components/Heading/Heading.utils.d.ts +1 -1
- package/components/Icon/Icon.d.ts +15 -8
- package/components/Icon/Icon.utils.d.ts +4 -6
- package/components/Input/Input.d.ts +37 -23
- package/components/Input/Input.utils.d.ts +2 -1
- package/components/InputPassword/InputPassword.d.ts +35 -17
- package/components/InputPassword/InputPassword.utils.d.ts +2 -1
- package/components/InputSearch/InputSearch.d.ts +34 -18
- package/components/InputSearch/InputSearch.utils.d.ts +2 -1
- package/components/InputStepper/InputStepper.d.ts +47 -23
- package/components/InputStepper/InputStepper.utils.d.ts +2 -1
- package/components/Link/Link.d.ts +33 -20
- package/components/LinkStandalone/LinkStandalone.d.ts +8 -6
- package/components/Logo/Logo.d.ts +17 -8
- package/components/Logo/Logo.utils.d.ts +3 -1
- package/components/Notification/Notification.d.ts +36 -0
- package/components/Notification/Notification.test.d.ts +1 -0
- package/components/Notification/Notification.utils.d.ts +5 -0
- package/components/Radio/Radio.d.ts +31 -13
- package/components/RadioGroup/RadioGroup.d.ts +31 -21
- package/components/RadioGroup/RadioGroup.utils.d.ts +8 -5
- package/components/RadioGroup/RadioGroup.utils.test.d.ts +1 -0
- package/components/Select/Select.d.ts +26 -14
- package/components/Select/Select.utils.d.ts +4 -3
- package/components/SkipToContent/SkipToContent.d.ts +18 -0
- package/components/SkipToContent/SkipToContent.test.d.ts +1 -0
- package/components/Spinner/Spinner.d.ts +11 -6
- package/components/Switch/Switch.d.ts +23 -12
- package/components/SystemFeedback/SystemFeedback.d.ts +5 -4
- package/components/Text/Text.d.ts +17 -8
- package/components/Textarea/Textarea.d.ts +35 -17
- package/components/Textarea/Textarea.utils.d.ts +2 -1
- package/components/Title/Title.d.ts +14 -7
- package/components/Toast/Toast.d.ts +28 -0
- package/components/Toast/Toast.utils.d.ts +15 -0
- package/components/Toast/ToastManager.d.ts +10 -0
- package/components/Toast/ToastManager.test.d.ts +1 -0
- package/components/Toast/ToastManager.utils.d.ts +2 -0
- package/components/Toast/ToastManager.utils.test.d.ts +1 -0
- package/customreactselect.Dg8Kgq3e.js +13 -0
- package/dialog.D3bJ0rsW.js +9 -0
- package/dialog.d.ts +1 -0
- package/drawer.CNPF1-Kc.js +9 -0
- package/drawer.d.ts +1 -0
- package/fieldset.CTshPWYX.js +11 -0
- package/floatingactionbutton.CCIj9Fjr.js +87 -0
- package/heading.CAkraI2D.js +50 -0
- package/icon.BoMgOmC1.js +8 -0
- package/index.d.ts +32 -0
- package/index.es.js +158 -46
- package/input.CTgeAYdu.js +236 -0
- package/inputpassword.nsYu6YeB.js +12 -0
- package/inputsearch.ZGIrDrcv.js +13 -0
- package/inputstepper.BvY36hA1.js +13 -0
- package/link.DAZNwQ0a.js +116 -0
- package/linkstandalone.C9X3er7g.js +80 -0
- package/{logo.e6576fe3.js → logo.CEO6OV7u.js} +31 -34
- package/notification.BAS13UQ6.js +9 -0
- package/notification.d.ts +1 -0
- package/optioncheckbox.DZWwtx6f.js +43 -0
- package/package.json +60 -45
- package/partials/connected-apple-icon.png +0 -0
- package/partials/connected-favicon.ico +0 -0
- package/partials/connected-icon-192.png +0 -0
- package/partials/connected-icon-512.png +0 -0
- package/partials/connected-icon.svg +1 -0
- package/partials/copyAssets.js +25 -13
- package/partials/imow-apple-icon.png +0 -0
- package/partials/imow-favicon.ico +0 -0
- package/partials/imow-icon-192.png +0 -0
- package/partials/imow-icon-512.png +0 -0
- package/partials/imow-icon.svg +1 -0
- package/partials/index.js +914 -934
- package/partials/lib/partials.d.ts +2 -2
- package/partials/mystihl-apple-icon.png +0 -0
- package/partials/mystihl-favicon.ico +0 -0
- package/partials/mystihl-icon-192.png +0 -0
- package/partials/mystihl-icon-512.png +0 -0
- package/partials/mystihl-icon.svg +1 -0
- package/radio.CWGJtmKl.js +115 -0
- package/radiogroup.BhffFqN3.js +11 -0
- package/select.C4OZMB-V.js +12 -0
- package/skiptocontent.C4yQfWr2.js +46 -0
- package/skiptocontent.d.ts +1 -0
- package/spinner.D-xrotcu.js +58 -0
- package/styles/fonts/STIHLContrafaceDigitalDisplayTitling.woff +0 -0
- package/styles/fonts/STIHLContrafaceDigitalDisplayTitling.woff2 +0 -0
- package/styles/fonts/STIHLContrafaceDigitalText-Bold.woff +0 -0
- package/styles/fonts/STIHLContrafaceDigitalText-Bold.woff2 +0 -0
- package/styles/fonts/STIHLContrafaceDigitalText.woff +0 -0
- package/styles/fonts/STIHLContrafaceDigitalText.woff2 +0 -0
- package/styles/fonts/font-face.min.css +1 -1
- package/styles/scss/_index.scss +2 -0
- package/styles/scss/lib/_animation.scss +20 -5
- package/styles/scss/lib/_container-query.scss +3 -3
- package/styles/scss/lib/_focus.scss +2 -1
- package/styles/scss/lib/_grid-extended.scss +2 -2
- package/styles/scss/lib/_grid-narrow.scss +2 -0
- package/styles/scss/lib/_grid-sidebar-sidebar.scss +4 -2
- package/styles/scss/lib/_grid-sidebar.scss +35 -45
- package/styles/scss/lib/_grid.scss +15 -13
- package/styles/scss/lib/_heading.scss +69 -7
- package/styles/scss/lib/_helpers.scss +12 -0
- package/styles/scss/lib/_high-contrast.scss +24 -0
- package/styles/scss/lib/_link.scss +62 -91
- package/styles/scss/lib/_media-query.scss +3 -3
- package/styles/scss/lib/_shadow.scss +10 -0
- package/styles/scss/lib/_spacing.scss +14 -0
- package/styles/scss/lib/_text.scss +60 -13
- package/styles/scss/lib/_theme.scss +9 -7
- package/styles/scss/lib/_transition.scss +26 -7
- package/switch.CmpNUC7s.js +65 -0
- package/systemfeedback.ZzRUAVYX.js +25 -0
- package/text.rgDKQBrU.js +57 -0
- package/textarea.CtQtGqn5.js +12 -0
- package/title.LY1ylQsb.js +36 -0
- package/toast.DVd9dLs2.js +10 -0
- package/toast.d.ts +1 -0
- package/toastmanager.Dh0gzFkM.js +119 -0
- package/toastmanager.d.ts +1 -0
- package/types/icon-types.d.ts +1 -1
- package/utils/index.d.ts +2 -0
- package/utils/remove-spaces.d.ts +6 -0
- package/utils/remove-spaces.test.d.ts +1 -0
- package/utils/render-documentation.d.ts +0 -1
- package/utils/render-in-iframe.d.ts +15 -0
- package/utils/useBreakpoint.d.ts +2 -1
- package/utils/useIsomorphicLayoutEffect.d.ts +26 -0
- package/utils/vitest.setup.d.ts +5 -0
- package/assets/Asterisk.582f2067.css +0 -1
- package/assets/Button.684e8bda.css +0 -1
- package/assets/ButtonRound.ca8748cf.css +0 -1
- package/assets/Checkbox.84cf6398.css +0 -1
- package/assets/CustomReactSelect.d89ccccb.css +0 -1
- package/assets/Fieldset.5297efb8.css +0 -1
- package/assets/FloatingActionButton.de295f5d.css +0 -1
- package/assets/Heading.32278621.css +0 -1
- package/assets/Icon.8890ee9a.css +0 -1
- package/assets/Input.2c508b2f.css +0 -1
- package/assets/InputPassword.a534f047.css +0 -1
- package/assets/InputSearch.8f986307.css +0 -1
- package/assets/InputStepper.52fb45ca.css +0 -1
- package/assets/Link.03deeca0.css +0 -1
- package/assets/LinkStandalone.7e23a8ac.css +0 -1
- package/assets/Logo.09e48e82.css +0 -1
- package/assets/OptionCheckbox.9c20f6f1.css +0 -1
- package/assets/Radio.be8f06f5.css +0 -1
- package/assets/RadioGroup.8b55ee38.css +0 -1
- package/assets/Select.b2423b5f.css +0 -1
- package/assets/Spinner.af45d460.css +0 -1
- package/assets/Switch.f3ab20de.css +0 -1
- package/assets/SystemFeedback.f4421d60.css +0 -1
- package/assets/Text.4756effe.css +0 -1
- package/assets/Textarea.eecf04b3.css +0 -1
- package/assets/Title.60d50d3e.css +0 -1
- package/asterisk.91abccec.js +0 -8
- package/button.89b2675b.js +0 -135
- package/buttonround.c60c8034.js +0 -118
- package/checkbox.7d414047.js +0 -112
- package/checkboxgroup.e9e25471.js +0 -78
- package/chunks/360.3f3132d9.js +0 -11
- package/chunks/CustomReactSelect.9d0a378a.js +0 -5011
- package/chunks/Link.module.b8230547.js +0 -37
- package/chunks/RadioGroup.module.59ca486a.js +0 -11
- package/chunks/academic-cap.a6849ffc.js +0 -11
- package/chunks/alarm-clock.542230f3.js +0 -11
- package/chunks/arrow-clockwise.0496f663.js +0 -11
- package/chunks/arrow-counterclockwise.635a0130.js +0 -11
- package/chunks/arrow-down-line.0976611e.js +0 -11
- package/chunks/arrow-down.9780d975.js +0 -11
- package/chunks/arrow-edge.3288acdd.js +0 -11
- package/chunks/arrow-left.ace9c808.js +0 -11
- package/chunks/arrow-out.0499f39e.js +0 -11
- package/chunks/arrow-outline-left.efc33275.js +0 -11
- package/chunks/arrow-right.133feef2.js +0 -11
- package/chunks/arrow-up-arrow-down.b612e9b1.js +0 -11
- package/chunks/arrow-up.3be6430a.js +0 -11
- package/chunks/at.6279d12b.js +0 -11
- package/chunks/barcode-scanner.0a4a314d.js +0 -11
- package/chunks/battery.e1249ee1.js +0 -11
- package/chunks/bell.87fe4f0b.js +0 -11
- package/chunks/bin-open.be4290d8.js +0 -11
- package/chunks/bin.b36466f3.js +0 -11
- package/chunks/bluetooth.54b89b90.js +0 -11
- package/chunks/bookmark.4d5ce4c3.js +0 -11
- package/chunks/burger.1301d91e.js +0 -11
- package/chunks/calendar.ba39a664.js +0 -11
- package/chunks/camera.3bed4f3b.js +0 -11
- package/chunks/cart-check.9fb6abdb.js +0 -11
- package/chunks/cart-plus.fd5c4674.js +0 -11
- package/chunks/cart.7516d35c.js +0 -11
- package/chunks/catalog.bd0c7830.js +0 -11
- package/chunks/certificate.1639c28e.js +0 -11
- package/chunks/chain-link.45025ed0.js +0 -11
- package/chunks/chainsaw.56d43a9f.js +0 -11
- package/chunks/check.a08beeae.js +0 -11
- package/chunks/chevron-down.80b0dc85.js +0 -11
- package/chunks/chevron-left.f5feade0.js +0 -11
- package/chunks/chevron-line-left.17b172d1.js +0 -11
- package/chunks/chevron-line-right.7cd234b7.js +0 -11
- package/chunks/chevron-right.259bc1a3.js +0 -11
- package/chunks/chevron-up.d1335850.js +0 -11
- package/chunks/circle-check-colored.98e13ab9.js +0 -11
- package/chunks/circle-check-inverted.db29ab06.js +0 -11
- package/chunks/circle-info-colored.8da47e36.js +0 -11
- package/chunks/circle-info-inverted.0ed118fb.js +0 -11
- package/chunks/circle-pause.55300d1b.js +0 -11
- package/chunks/circle-stroke.203dd7aa.js +0 -11
- package/chunks/circle.33ec82eb.js +0 -11
- package/chunks/clock.3014a102.js +0 -11
- package/chunks/coffee-cup.98d6531f.js +0 -11
- package/chunks/compare.c76b221b.js +0 -11
- package/chunks/connected-box-mobile.9cd742dd.js +0 -11
- package/chunks/connected-box-stationary.191a3ed0.js +0 -11
- package/chunks/connected-box.fe21c39b.js +0 -11
- package/chunks/cross.fe709ee7.js +0 -11
- package/chunks/diamond-exclamationmark-colored.bf3ffccf.js +0 -11
- package/chunks/diamond-exclamationmark-inverted.b5648587.js +0 -11
- package/chunks/diamond.e962c289.js +0 -11
- package/chunks/diskette.04733444.js +0 -11
- package/chunks/distance.9e6b56ff.js +0 -11
- package/chunks/dots-connected.9869fae1.js +0 -11
- package/chunks/envelope-open.3c3fd714.js +0 -11
- package/chunks/envelope.5c9ff834.js +0 -11
- package/chunks/exclamationmark.92afe58f.js +0 -11
- package/chunks/exit.bde46887.js +0 -11
- package/chunks/eye-closed.0b517bb7.js +0 -11
- package/chunks/eye.8f4b311b.js +0 -11
- package/chunks/facebook.4a040606.js +0 -11
- package/chunks/filter.dee66683.js +0 -11
- package/chunks/finger-double-arrow.9cd4c623.js +0 -11
- package/chunks/flash.15646b5e.js +0 -11
- package/chunks/fullscreen.fdd976fe.js +0 -11
- package/chunks/gear.1f5f6fe9.js +0 -11
- package/chunks/globe.7f419498.js +0 -11
- package/chunks/grid.2c1cdc21.js +0 -11
- package/chunks/guidance.63bebf3e.js +0 -11
- package/chunks/haircross.0ac15319.js +0 -11
- package/chunks/hanger.edc848f4.js +0 -11
- package/chunks/headphones.a023699e.js +0 -11
- package/chunks/heart.d4440641.js +0 -11
- package/chunks/hexagon-arrow-clockwise.98e9b555.js +0 -11
- package/chunks/horizontal-ellipsis.84419429.js +0 -11
- package/chunks/house.70059642.js +0 -11
- package/chunks/imow.3374e620.js +0 -11
- package/chunks/info.1787448e.js +0 -11
- package/chunks/instagram.e12dd682.js +0 -11
- package/chunks/leave-fullscreen.def46043.js +0 -11
- package/chunks/lightbulb.b73d3ebf.js +0 -11
- package/chunks/linkedin.ce0c68cb.js +0 -11
- package/chunks/list-three-rows.ef44c7ef.js +0 -11
- package/chunks/list-two-rows.5ed8f1af.js +0 -11
- package/chunks/loading-spinner.8293421e.js +0 -11
- package/chunks/lock.3cbc8ced.js +0 -11
- package/chunks/magnifying-glass-minus.b0f906e5.js +0 -11
- package/chunks/magnifying-glass-plus.6ffc69c5.js +0 -11
- package/chunks/magnifying-glass.c297e41f.js +0 -11
- package/chunks/map.c96b1dcd.js +0 -11
- package/chunks/minus.7f6676e8.js +0 -11
- package/chunks/mobile.416ee5b0.js +0 -11
- package/chunks/nine-squares.34eeb0d4.js +0 -11
- package/chunks/note-check.aaf92ef9.js +0 -11
- package/chunks/note-plus.e7ab1b93.js +0 -11
- package/chunks/note.cc96375c.js +0 -11
- package/chunks/number-input.076fcf63.js +0 -11
- package/chunks/paperclip.e8831256.js +0 -11
- package/chunks/parcel.75534dbd.js +0 -11
- package/chunks/pause.901567cf.js +0 -11
- package/chunks/pdf.92c1781a.js +0 -11
- package/chunks/pen.ecbcb50d.js +0 -11
- package/chunks/percent.4b7fa587.js +0 -11
- package/chunks/petrol.41999bec.js +0 -11
- package/chunks/phone.3c23c041.js +0 -11
- package/chunks/pin-s.a5519070.js +0 -11
- package/chunks/pin.1137362d.js +0 -11
- package/chunks/pinterest.88763b51.js +0 -11
- package/chunks/placeholder.d6fdaf8f.js +0 -11
- package/chunks/play.dd0f1d8c.js +0 -11
- package/chunks/plug.00f114c4.js +0 -11
- package/chunks/plus.42721ebf.js +0 -11
- package/chunks/printer.5bb7ee0d.js +0 -11
- package/chunks/prohibition-sign.af5616b3.js +0 -11
- package/chunks/questionmark.db94a06d.js +0 -11
- package/chunks/security.2be491e3.js +0 -11
- package/chunks/share.ddae7aef.js +0 -11
- package/chunks/shirt.135d58c1.js +0 -11
- package/chunks/shop.f120426b.js +0 -11
- package/chunks/sound-off.c6f5ed43.js +0 -11
- package/chunks/sound-on.212c36bc.js +0 -11
- package/chunks/speechbubble.9428546e.js +0 -11
- package/chunks/speechbubbles.65cb946e.js +0 -11
- package/chunks/square.452f505f.js +0 -11
- package/chunks/star-half.1458bc5b.js +0 -11
- package/chunks/star.fab17456.js +0 -11
- package/chunks/tag.4d730d72.js +0 -11
- package/chunks/thumbs-down.cbf6e4ec.js +0 -11
- package/chunks/thumbs-up.435754e1.js +0 -11
- package/chunks/triangle-exclamationmark-colored.94025893.js +0 -11
- package/chunks/triangle-exclamationmark-inverted.bc4eed15.js +0 -11
- package/chunks/truck.a904d6d3.js +0 -11
- package/chunks/two-people-screen.3e509922.js +0 -11
- package/chunks/two-sheets.d1cfef0f.js +0 -11
- package/chunks/upload.7f1850a3.js +0 -11
- package/chunks/user.bf5b30a5.js +0 -11
- package/chunks/vertical-ellipsis.1cac00e5.js +0 -11
- package/chunks/wc.9d108bd0.js +0 -11
- package/chunks/wifi-1bar.b6fc33aa.js +0 -11
- package/chunks/wifi-2bars.27e9da59.js +0 -11
- package/chunks/wifi-off.e5daf3a9.js +0 -11
- package/chunks/wifi.40bb915d.js +0 -11
- package/chunks/wind-rose.27fa658a.js +0 -11
- package/chunks/wrench.69493ef3.js +0 -11
- package/chunks/x.d9da4202.js +0 -11
- package/chunks/xing.e17c1a24.js +0 -11
- package/chunks/youtube.dbf50787.js +0 -11
- package/combobox.f98a4472.js +0 -45
- package/customreactselect.a53f9932.js +0 -13
- package/fieldset.fb7b7e49.js +0 -98
- package/floatingactionbutton.281b5465.js +0 -87
- package/heading.cb7698f4.js +0 -44
- package/icon.b4211784.js +0 -215
- package/input.abb902e3.js +0 -228
- package/inputpassword.11c12c66.js +0 -139
- package/inputsearch.0c88e71a.js +0 -188
- package/inputstepper.b74dac4d.js +0 -284
- package/link.cd3720d1.js +0 -84
- package/linkstandalone.26b52de0.js +0 -80
- package/optioncheckbox.7195f001.js +0 -43
- package/radio.1b205d64.js +0 -79
- package/radiogroup.6a22fe96.js +0 -100
- package/select.2ff31eab.js +0 -188
- package/spinner.ee015469.js +0 -58
- package/styles/fonts/STIHLContrafaceDisplayTitling.woff +0 -0
- package/styles/fonts/STIHLContrafaceDisplayTitling.woff2 +0 -0
- package/styles/fonts/STIHLContrafaceText-Bold.woff +0 -0
- package/styles/fonts/STIHLContrafaceText-Bold.woff2 +0 -0
- package/styles/fonts/STIHLContrafaceText.woff +0 -0
- package/styles/fonts/STIHLContrafaceText.woff2 +0 -0
- package/switch.2f011fcc.js +0 -65
- package/systemfeedback.6bbd1505.js +0 -25
- package/text.8d80704f.js +0 -57
- package/textarea.e156b0ce.js +0 -189
- package/title.d855a8e4.js +0 -36
- /package/chunks/{helpers.ea3ca41a.js → helpers.B1JT5ShS.js} +0 -0
- /package/chunks/{index.8021d3e0.js → index.CvOaL64Y.js} +0 -0
- /package/chunks/{useBreakpoint.6c1b06c2.js → useBreakpoint.5xBNDiCf.js} +0 -0
- /package/partials/{apple-icon.png → default-apple-icon.png} +0 -0
- /package/partials/{favicon.ico → default-favicon.ico} +0 -0
- /package/partials/{icon-192.png → default-icon-192.png} +0 -0
- /package/partials/{icon-512.png → default-icon-512.png} +0 -0
- /package/partials/{icon.svg → default-icon.svg} +0 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as e } from "./jsx-runtime.C115EyI4.js";
|
|
3
|
+
import { c as s } from "./index.CvOaL64Y.js";
|
|
4
|
+
import { DSButton as u } from "../button.DH0h6uPs.js";
|
|
5
|
+
import { D as b } from "./Icon.C2o2seDb.js";
|
|
6
|
+
import '../assets/Notification.DK6agBGS.css';const g = "_root_70bef_76", N = "_root--success_70bef_102", h = "_root--error_70bef_106", I = "_root--warning_70bef_110", x = "_root--hide-icon_70bef_114", A = "_content_70bef_128", C = "_content--hide-close-button_70bef_135", H = "_content--hide-icon_70bef_138", j = "_icon_70bef_142", S = "_message_70bef_146", p = "_custom-action-area_70bef_161", o = {
|
|
7
|
+
root: g,
|
|
8
|
+
"root--success": "_root--success_70bef_102",
|
|
9
|
+
rootSuccess: N,
|
|
10
|
+
"root--error": "_root--error_70bef_106",
|
|
11
|
+
rootError: h,
|
|
12
|
+
"root--warning": "_root--warning_70bef_110",
|
|
13
|
+
rootWarning: I,
|
|
14
|
+
"root--hide-icon": "_root--hide-icon_70bef_114",
|
|
15
|
+
rootHideIcon: x,
|
|
16
|
+
content: A,
|
|
17
|
+
"content--hide-close-button": "_content--hide-close-button_70bef_135",
|
|
18
|
+
contentHideCloseButton: C,
|
|
19
|
+
"content--hide-icon": "_content--hide-icon_70bef_138",
|
|
20
|
+
contentHideIcon: H,
|
|
21
|
+
icon: j,
|
|
22
|
+
message: S,
|
|
23
|
+
"custom-action-area": "_custom-action-area_70bef_161",
|
|
24
|
+
customActionArea: p
|
|
25
|
+
}, R = [
|
|
26
|
+
"success",
|
|
27
|
+
"error",
|
|
28
|
+
"warning",
|
|
29
|
+
"info"
|
|
30
|
+
], w = {
|
|
31
|
+
success: "circle-check-colored",
|
|
32
|
+
error: "diamond-exclamationmark-colored",
|
|
33
|
+
warning: "triangle-exclamationmark-colored",
|
|
34
|
+
info: "circle-info-colored"
|
|
35
|
+
}, O = {
|
|
36
|
+
error: "alert",
|
|
37
|
+
warning: "alert",
|
|
38
|
+
info: "status",
|
|
39
|
+
success: "status"
|
|
40
|
+
}, B = ({
|
|
41
|
+
children: i,
|
|
42
|
+
variant: t = "info",
|
|
43
|
+
className: a,
|
|
44
|
+
closeButtonLabel: _ = "Close notification",
|
|
45
|
+
customActionArea: c,
|
|
46
|
+
hideCloseButton: r = !1,
|
|
47
|
+
hideIcon: n = !1,
|
|
48
|
+
onClose: l,
|
|
49
|
+
...f
|
|
50
|
+
}) => {
|
|
51
|
+
const m = s(o.root, a, {
|
|
52
|
+
[o.rootSuccess]: t === "success",
|
|
53
|
+
[o.rootError]: t === "error",
|
|
54
|
+
[o.rootWarning]: t === "warning",
|
|
55
|
+
[o.rootInfo]: t === "info",
|
|
56
|
+
[o.rootHideIcon]: n
|
|
57
|
+
}), d = s(o.content, {
|
|
58
|
+
[o.contentHideCloseButton]: r,
|
|
59
|
+
[o.contentHideIcon]: n
|
|
60
|
+
});
|
|
61
|
+
return /* @__PURE__ */ e.jsxs("div", { className: m, ...f, role: O[t], children: [
|
|
62
|
+
/* @__PURE__ */ e.jsxs("div", { className: d, children: [
|
|
63
|
+
!n && /* @__PURE__ */ e.jsx(
|
|
64
|
+
b,
|
|
65
|
+
{
|
|
66
|
+
name: w[t],
|
|
67
|
+
className: o.icon,
|
|
68
|
+
"aria-hidden": "true"
|
|
69
|
+
}
|
|
70
|
+
),
|
|
71
|
+
/* @__PURE__ */ e.jsx("div", { className: o.message, children: i }),
|
|
72
|
+
!r && /* @__PURE__ */ e.jsx(
|
|
73
|
+
u,
|
|
74
|
+
{
|
|
75
|
+
hideLabel: !0,
|
|
76
|
+
iconName: "cross",
|
|
77
|
+
isFlush: !0,
|
|
78
|
+
variant: "ghost",
|
|
79
|
+
size: "small",
|
|
80
|
+
onClick: l,
|
|
81
|
+
type: "button",
|
|
82
|
+
children: _
|
|
83
|
+
}
|
|
84
|
+
)
|
|
85
|
+
] }),
|
|
86
|
+
c && /* @__PURE__ */ e.jsx("div", { className: s({ [o.customActionArea]: !n }), children: c })
|
|
87
|
+
] });
|
|
88
|
+
};
|
|
89
|
+
export {
|
|
90
|
+
B as D,
|
|
91
|
+
R as N,
|
|
92
|
+
w as a
|
|
93
|
+
};
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as h } from "./jsx-runtime.C115EyI4.js";
|
|
3
|
+
import { c as C } from "./index.CvOaL64Y.js";
|
|
4
|
+
import { forwardRef as N, useState as A } from "react";
|
|
5
|
+
import { D as B } from "./Fieldset.COGbZwry.js";
|
|
6
|
+
import { DSRadio as M } from "../radio.CWGJtmKl.js";
|
|
7
|
+
import { s as m } from "./RadioGroup.module.BBZwHDjW.js";
|
|
8
|
+
import { g as t } from "./helpers.B1JT5ShS.js";
|
|
9
|
+
const f = (o) => `The "${o}" prop is required. Please add the "${o}" prop to the DSRadioGroup component.`, D = (o) => o.some(({ hint: a }) => !!a), E = (o) => o.some(({ customArea: a }) => !!a), O = ({
|
|
10
|
+
legend: o,
|
|
11
|
+
name: a,
|
|
12
|
+
options: e,
|
|
13
|
+
alignment: s,
|
|
14
|
+
description: i,
|
|
15
|
+
id: l,
|
|
16
|
+
systemFeedback: n
|
|
17
|
+
}) => {
|
|
18
|
+
if (!l && (i || n))
|
|
19
|
+
throw new Error(
|
|
20
|
+
t(
|
|
21
|
+
"DSRadioGroup",
|
|
22
|
+
'A unique "id" prop is required when providing the description or systemFeedback property. Please add an unique "id" prop to the DSRadioGroup component.'
|
|
23
|
+
)
|
|
24
|
+
);
|
|
25
|
+
if (!o)
|
|
26
|
+
throw new Error(
|
|
27
|
+
t("DSRadioGroup", f("legend"))
|
|
28
|
+
);
|
|
29
|
+
if (!a)
|
|
30
|
+
throw new Error(
|
|
31
|
+
t("DSRadioGroup", f("name"))
|
|
32
|
+
);
|
|
33
|
+
if (!e)
|
|
34
|
+
throw new Error(
|
|
35
|
+
t("DSRadioGroup", f("options"))
|
|
36
|
+
);
|
|
37
|
+
if (s === "horizontal" && D(e))
|
|
38
|
+
throw new Error(
|
|
39
|
+
t(
|
|
40
|
+
"DSRadioGroup",
|
|
41
|
+
"Horizontal alignment is not possible when options contain a hint. Please remove hints or change alignment property to 'vertical'."
|
|
42
|
+
)
|
|
43
|
+
);
|
|
44
|
+
if (s === "horizontal" && E(e))
|
|
45
|
+
throw new Error(
|
|
46
|
+
t(
|
|
47
|
+
"DSRadioGroup",
|
|
48
|
+
"Horizontal alignment is not possible when options contain a custom area. Please remove custom areas or change alignment property to 'vertical'."
|
|
49
|
+
)
|
|
50
|
+
);
|
|
51
|
+
}, V = N(
|
|
52
|
+
({
|
|
53
|
+
legend: o,
|
|
54
|
+
name: a,
|
|
55
|
+
options: e,
|
|
56
|
+
alignment: s = "vertical",
|
|
57
|
+
className: i,
|
|
58
|
+
defaultValue: l,
|
|
59
|
+
description: n,
|
|
60
|
+
disabled: p = !1,
|
|
61
|
+
hideUncheckedHints: g = !1,
|
|
62
|
+
id: u,
|
|
63
|
+
invalid: c = !1,
|
|
64
|
+
required: w = !1,
|
|
65
|
+
systemFeedback: d,
|
|
66
|
+
value: S,
|
|
67
|
+
onChange: v,
|
|
68
|
+
...x
|
|
69
|
+
}, z) => {
|
|
70
|
+
process.env.NODE_ENV !== "production" && O({
|
|
71
|
+
legend: o,
|
|
72
|
+
name: a,
|
|
73
|
+
options: e,
|
|
74
|
+
alignment: s,
|
|
75
|
+
description: n,
|
|
76
|
+
id: u,
|
|
77
|
+
systemFeedback: d
|
|
78
|
+
});
|
|
79
|
+
const [H, P] = A(l), R = S !== void 0, G = R ? S : H, j = C(m.group, {
|
|
80
|
+
// In case of longer copy, use vertical alignment
|
|
81
|
+
[m.groupHorizontal]: s === "horizontal" && !D(e) && !E(e),
|
|
82
|
+
[m.groupInvalid]: c && !!d
|
|
83
|
+
}), q = (r) => {
|
|
84
|
+
if (p) {
|
|
85
|
+
r.preventDefault();
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
R || P(
|
|
89
|
+
r.target.value
|
|
90
|
+
), v && v(r);
|
|
91
|
+
}, y = D(e) && !g;
|
|
92
|
+
return /* @__PURE__ */ h.jsx(
|
|
93
|
+
B,
|
|
94
|
+
{
|
|
95
|
+
id: u,
|
|
96
|
+
legend: o,
|
|
97
|
+
className: i,
|
|
98
|
+
description: n,
|
|
99
|
+
disabled: p,
|
|
100
|
+
required: w,
|
|
101
|
+
invalid: c,
|
|
102
|
+
systemFeedback: d,
|
|
103
|
+
...x,
|
|
104
|
+
role: "radiogroup",
|
|
105
|
+
onChange: q,
|
|
106
|
+
children: /* @__PURE__ */ h.jsx("div", { className: j, children: e.map((r) => /* @__PURE__ */ h.jsx(
|
|
107
|
+
M,
|
|
108
|
+
{
|
|
109
|
+
name: a,
|
|
110
|
+
checked: r.value === G,
|
|
111
|
+
disabled: p,
|
|
112
|
+
hideUncheckedHint: g,
|
|
113
|
+
hint: r.hint,
|
|
114
|
+
invalid: c,
|
|
115
|
+
isBold: y,
|
|
116
|
+
required: w,
|
|
117
|
+
ref: r.value === G ? z : null,
|
|
118
|
+
...r
|
|
119
|
+
},
|
|
120
|
+
u + r.label + r.value + r.hint
|
|
121
|
+
)) })
|
|
122
|
+
}
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
);
|
|
126
|
+
V.displayName = "DSRadioGroup";
|
|
127
|
+
export {
|
|
128
|
+
V as D,
|
|
129
|
+
E as a,
|
|
130
|
+
D as o,
|
|
131
|
+
O as v
|
|
132
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import '../assets/RadioGroup.Bz3_xkZU.css';const o = "_group_2f5rk_76", r = "_group--horizontal_2f5rk_84", n = "_group--invalid_2f5rk_87", _ = {
|
|
3
|
+
group: o,
|
|
4
|
+
"group--horizontal": "_group--horizontal_2f5rk_84",
|
|
5
|
+
groupHorizontal: r,
|
|
6
|
+
"group--invalid": "_group--invalid_2f5rk_87",
|
|
7
|
+
groupInvalid: n
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
_ as s
|
|
11
|
+
};
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as s } from "./jsx-runtime.C115EyI4.js";
|
|
3
|
+
import { c as _ } from "./index.CvOaL64Y.js";
|
|
4
|
+
import { useRef as C, useState as q, useEffect as W } from "react";
|
|
5
|
+
import { u as F } from "./useBreakpoint.5xBNDiCf.js";
|
|
6
|
+
import { Asterisk as M } from "../asterisk.DDn-yX4P.js";
|
|
7
|
+
import { D as O } from "./Icon.C2o2seDb.js";
|
|
8
|
+
import { DSSystemFeedback as T } from "../systemfeedback.ZzRUAVYX.js";
|
|
9
|
+
import { g as h } from "./helpers.B1JT5ShS.js";
|
|
10
|
+
import '../assets/Select.BptsMxz4.css';const V = "_root_15gy6_226", Z = "_hint_15gy6_234", J = "_label_15gy6_234", K = "_wrapper_15gy6_238", Q = "_affix_15gy6_244", U = "_affix--small_15gy6_266", X = "_affix--disabled_15gy6_280", Y = "_prefix_15gy6_283", z = "_affix--readonly_15gy6_286", G = "_suffix_15gy6_296", ee = "_action-button_15gy6_303", te = "_label--hidden_15gy6_322", se = "_feedback_15gy6_351", ae = "_select-wrapper_15gy6_356", ne = "_select_15gy6_356", le = "_select--invalid_15gy6_474", ce = "_select--small_15gy6_481", oe = "_input--has-leading-icon_15gy6_535", ie = "_input--has-action-button_15gy6_538", re = "_input--has-second-action-button_15gy6_541", _e = "_select--has-leading-icon_15gy6_544", de = "_select--has-action-button_15gy6_547", fe = "_select--has-second-action-button_15gy6_550", ue = "_select--has-affix_15gy6_553", he = "_select--is-ready_15gy6_567", pe = "_select--placeholder_15gy6_584", ge = "_chevron_15gy6_593", ye = "_chevron--small_15gy6_597", be = "_chevron--disabled_15gy6_600", e = {
|
|
11
|
+
root: V,
|
|
12
|
+
hint: Z,
|
|
13
|
+
label: J,
|
|
14
|
+
wrapper: K,
|
|
15
|
+
affix: Q,
|
|
16
|
+
"affix--small": "_affix--small_15gy6_266",
|
|
17
|
+
affixSmall: U,
|
|
18
|
+
"affix--disabled": "_affix--disabled_15gy6_280",
|
|
19
|
+
affixDisabled: X,
|
|
20
|
+
prefix: Y,
|
|
21
|
+
"affix--readonly": "_affix--readonly_15gy6_286",
|
|
22
|
+
affixReadonly: z,
|
|
23
|
+
suffix: G,
|
|
24
|
+
"action-button": "_action-button_15gy6_303",
|
|
25
|
+
actionButton: ee,
|
|
26
|
+
"label--hidden": "_label--hidden_15gy6_322",
|
|
27
|
+
labelHidden: te,
|
|
28
|
+
feedback: se,
|
|
29
|
+
"select-wrapper": "_select-wrapper_15gy6_356",
|
|
30
|
+
selectWrapper: ae,
|
|
31
|
+
select: ne,
|
|
32
|
+
"select--invalid": "_select--invalid_15gy6_474",
|
|
33
|
+
selectInvalid: le,
|
|
34
|
+
"select--small": "_select--small_15gy6_481",
|
|
35
|
+
selectSmall: ce,
|
|
36
|
+
"input--has-leading-icon": "_input--has-leading-icon_15gy6_535",
|
|
37
|
+
inputHasLeadingIcon: oe,
|
|
38
|
+
"input--has-action-button": "_input--has-action-button_15gy6_538",
|
|
39
|
+
inputHasActionButton: ie,
|
|
40
|
+
"input--has-second-action-button": "_input--has-second-action-button_15gy6_541",
|
|
41
|
+
inputHasSecondActionButton: re,
|
|
42
|
+
"select--has-leading-icon": "_select--has-leading-icon_15gy6_544",
|
|
43
|
+
selectHasLeadingIcon: _e,
|
|
44
|
+
"select--has-action-button": "_select--has-action-button_15gy6_547",
|
|
45
|
+
selectHasActionButton: de,
|
|
46
|
+
"select--has-second-action-button": "_select--has-second-action-button_15gy6_550",
|
|
47
|
+
selectHasSecondActionButton: fe,
|
|
48
|
+
"select--has-affix": "_select--has-affix_15gy6_553",
|
|
49
|
+
selectHasAffix: ue,
|
|
50
|
+
"select--is-ready": "_select--is-ready_15gy6_567",
|
|
51
|
+
selectIsReady: he,
|
|
52
|
+
"select--placeholder": "_select--placeholder_15gy6_584",
|
|
53
|
+
selectPlaceholder: pe,
|
|
54
|
+
chevron: ge,
|
|
55
|
+
"chevron--small": "_chevron--small_15gy6_597",
|
|
56
|
+
chevronSmall: ye,
|
|
57
|
+
"chevron--disabled": "_chevron--disabled_15gy6_600",
|
|
58
|
+
chevronDisabled: be
|
|
59
|
+
}, Be = ["medium", "small"], me = ({
|
|
60
|
+
id: t,
|
|
61
|
+
label: l,
|
|
62
|
+
options: n
|
|
63
|
+
}) => {
|
|
64
|
+
if (!t)
|
|
65
|
+
throw new Error(
|
|
66
|
+
h(
|
|
67
|
+
"DSSelect",
|
|
68
|
+
'A unique "id" prop is required. Please add an unique "id" prop to the DSSelect component.'
|
|
69
|
+
)
|
|
70
|
+
);
|
|
71
|
+
if (!l)
|
|
72
|
+
throw new Error(
|
|
73
|
+
h(
|
|
74
|
+
"DSSelect",
|
|
75
|
+
`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}.`
|
|
76
|
+
)
|
|
77
|
+
);
|
|
78
|
+
if (!n || n.length === 0)
|
|
79
|
+
throw new Error(
|
|
80
|
+
h(
|
|
81
|
+
"DSSelect",
|
|
82
|
+
'Options are always required. Please add an "options" prop to the DSSelect component.'
|
|
83
|
+
)
|
|
84
|
+
);
|
|
85
|
+
}, xe = (t, l, n) => t === "" || l !== void 0 && l !== "" ? !1 : !(n !== void 0 && n !== ""), Ee = ({
|
|
86
|
+
id: t,
|
|
87
|
+
label: l,
|
|
88
|
+
options: n,
|
|
89
|
+
className: H,
|
|
90
|
+
defaultValue: p,
|
|
91
|
+
disabled: g = !1,
|
|
92
|
+
hideLabel: I = !1,
|
|
93
|
+
hint: d,
|
|
94
|
+
invalid: r = !1,
|
|
95
|
+
placeholder: f = "Select",
|
|
96
|
+
required: y = !1,
|
|
97
|
+
size: b = "medium",
|
|
98
|
+
systemFeedback: u,
|
|
99
|
+
value: m,
|
|
100
|
+
...w
|
|
101
|
+
}) => {
|
|
102
|
+
process.env.NODE_ENV !== "production" && me({
|
|
103
|
+
id: t,
|
|
104
|
+
label: l,
|
|
105
|
+
options: n
|
|
106
|
+
});
|
|
107
|
+
const i = C(null), [j, A] = q(
|
|
108
|
+
xe(f, p, m)
|
|
109
|
+
);
|
|
110
|
+
W(() => {
|
|
111
|
+
if (!i.current) return;
|
|
112
|
+
const c = () => {
|
|
113
|
+
if (!i.current) return;
|
|
114
|
+
const o = i.current.value;
|
|
115
|
+
A(o === "");
|
|
116
|
+
}, a = i.current;
|
|
117
|
+
return a.addEventListener("change", c), () => {
|
|
118
|
+
a.removeEventListener("change", c);
|
|
119
|
+
};
|
|
120
|
+
}, []);
|
|
121
|
+
const B = F(I), x = `${t}-label`, v = `${t}-feedback`, S = `${t}-hint`, E = d ? ` ${S}` : "", L = (c) => [
|
|
122
|
+
f && /* @__PURE__ */ s.jsx("option", { value: "", children: f }, `${t}-hidden-option-disabled-placeholder`),
|
|
123
|
+
...c.map((a) => {
|
|
124
|
+
if ("options" in a) {
|
|
125
|
+
const { label: o, options: $ } = a;
|
|
126
|
+
return /* @__PURE__ */ s.jsx("optgroup", { label: o, children: $.map(D) }, o);
|
|
127
|
+
} else
|
|
128
|
+
return D(a);
|
|
129
|
+
})
|
|
130
|
+
], D = ({ label: c, value: a, isDisabled: o }) => /* @__PURE__ */ s.jsx("option", { value: a, disabled: o, children: c }, a), N = _(e.root, H), P = _(e.select, {
|
|
131
|
+
[e.selectSmall]: b === "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
|
+
}), R = _(e.chevron, {
|
|
138
|
+
[e.chevronSmall]: b === "small",
|
|
139
|
+
[e.chevronDisabled]: g
|
|
140
|
+
});
|
|
141
|
+
return /* @__PURE__ */ s.jsxs("div", { className: N, children: [
|
|
142
|
+
/* @__PURE__ */ s.jsxs("label", { className: k, id: x, htmlFor: t, children: [
|
|
143
|
+
l,
|
|
144
|
+
y && /* @__PURE__ */ s.jsx(M, {})
|
|
145
|
+
] }),
|
|
146
|
+
d && /* @__PURE__ */ s.jsx("div", { className: e.hint, id: S, children: d }),
|
|
147
|
+
r && u && /* @__PURE__ */ s.jsx(
|
|
148
|
+
T,
|
|
149
|
+
{
|
|
150
|
+
className: e.feedback,
|
|
151
|
+
message: u,
|
|
152
|
+
type: "invalid",
|
|
153
|
+
id: v,
|
|
154
|
+
"aria-live": "assertive"
|
|
155
|
+
}
|
|
156
|
+
),
|
|
157
|
+
/* @__PURE__ */ s.jsxs("div", { className: e.selectWrapper, children: [
|
|
158
|
+
/* @__PURE__ */ s.jsx(
|
|
159
|
+
"select",
|
|
160
|
+
{
|
|
161
|
+
...w,
|
|
162
|
+
id: t,
|
|
163
|
+
ref: i,
|
|
164
|
+
className: P,
|
|
165
|
+
"aria-labelledby": `${x}${E}`,
|
|
166
|
+
"aria-describedby": r && u ? v : void 0,
|
|
167
|
+
"aria-invalid": r,
|
|
168
|
+
defaultValue: p,
|
|
169
|
+
value: m,
|
|
170
|
+
disabled: g,
|
|
171
|
+
required: y,
|
|
172
|
+
children: L(n)
|
|
173
|
+
}
|
|
174
|
+
),
|
|
175
|
+
/* @__PURE__ */ s.jsx(
|
|
176
|
+
O,
|
|
177
|
+
{
|
|
178
|
+
name: "chevron-down",
|
|
179
|
+
className: R,
|
|
180
|
+
"aria-hidden": "true"
|
|
181
|
+
}
|
|
182
|
+
)
|
|
183
|
+
] })
|
|
184
|
+
] });
|
|
185
|
+
};
|
|
186
|
+
export {
|
|
187
|
+
Ee as D,
|
|
188
|
+
Be as S,
|
|
189
|
+
xe as g,
|
|
190
|
+
me as v
|
|
191
|
+
};
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as s } from "./jsx-runtime.C115EyI4.js";
|
|
3
|
+
import { c as g } from "./index.CvOaL64Y.js";
|
|
4
|
+
import { useState as c, useRef as na, useEffect as m } from "react";
|
|
5
|
+
import { u as oa, h as ia } from "./useBreakpoint.5xBNDiCf.js";
|
|
6
|
+
import { g as k, p as H } from "./helpers.B1JT5ShS.js";
|
|
7
|
+
import { Asterisk as ra } from "../asterisk.DDn-yX4P.js";
|
|
8
|
+
import { DSSystemFeedback as la } from "../systemfeedback.ZzRUAVYX.js";
|
|
9
|
+
import '../assets/Textarea.CIIVh03G.css';const ca = "_textarea_seaaz_226", da = "_textarea--invalid_seaaz_338", _a = "_textarea--small_seaaz_345", ua = "_textarea--resize-auto_seaaz_365", fa = "_root_seaaz_375", xa = "_hint_seaaz_383", ma = "_label_seaaz_383", ba = "_affix_seaaz_387", ha = "_affix--small_seaaz_409", za = "_affix--disabled_seaaz_423", pa = "_prefix_seaaz_426", va = "_affix--readonly_seaaz_429", ga = "_suffix_seaaz_439", Sa = "_leading-icon_seaaz_446", Ia = "_leading-icon--small_seaaz_458", Ca = "_leading-icon--disabled_seaaz_461", ya = "_action-button_seaaz_470", Aa = "_label--hidden_seaaz_489", Da = "_feedback_seaaz_518", ja = "_char-count_seaaz_523", wa = "_char-count-announcer_seaaz_540", t = {
|
|
10
|
+
textarea: ca,
|
|
11
|
+
"textarea--invalid": "_textarea--invalid_seaaz_338",
|
|
12
|
+
textareaInvalid: da,
|
|
13
|
+
"textarea--small": "_textarea--small_seaaz_345",
|
|
14
|
+
textareaSmall: _a,
|
|
15
|
+
"textarea--resize-auto": "_textarea--resize-auto_seaaz_365",
|
|
16
|
+
textareaResizeAuto: ua,
|
|
17
|
+
root: fa,
|
|
18
|
+
hint: xa,
|
|
19
|
+
label: ma,
|
|
20
|
+
affix: ba,
|
|
21
|
+
"affix--small": "_affix--small_seaaz_409",
|
|
22
|
+
affixSmall: ha,
|
|
23
|
+
"affix--disabled": "_affix--disabled_seaaz_423",
|
|
24
|
+
affixDisabled: za,
|
|
25
|
+
prefix: pa,
|
|
26
|
+
"affix--readonly": "_affix--readonly_seaaz_429",
|
|
27
|
+
affixReadonly: va,
|
|
28
|
+
suffix: ga,
|
|
29
|
+
"leading-icon": "_leading-icon_seaaz_446",
|
|
30
|
+
leadingIcon: Sa,
|
|
31
|
+
"leading-icon--small": "_leading-icon--small_seaaz_458",
|
|
32
|
+
leadingIconSmall: Ia,
|
|
33
|
+
"leading-icon--disabled": "_leading-icon--disabled_seaaz_461",
|
|
34
|
+
leadingIconDisabled: Ca,
|
|
35
|
+
"action-button": "_action-button_seaaz_470",
|
|
36
|
+
actionButton: ya,
|
|
37
|
+
"label--hidden": "_label--hidden_seaaz_489",
|
|
38
|
+
labelHidden: Aa,
|
|
39
|
+
feedback: Da,
|
|
40
|
+
"char-count": "_char-count_seaaz_523",
|
|
41
|
+
charCount: ja,
|
|
42
|
+
"char-count-announcer": "_char-count-announcer_seaaz_540",
|
|
43
|
+
charCountAnnouncer: wa
|
|
44
|
+
}, Va = ["medium", "small"], Ra = ({ id: n, label: _ }) => {
|
|
45
|
+
if (!n)
|
|
46
|
+
throw new Error(
|
|
47
|
+
k(
|
|
48
|
+
"DSTextarea",
|
|
49
|
+
'A unique "id" prop is required. Please add an unique "id" prop to the DSTextarea component.'
|
|
50
|
+
)
|
|
51
|
+
);
|
|
52
|
+
if (!_)
|
|
53
|
+
throw new Error(
|
|
54
|
+
k(
|
|
55
|
+
"DSTextarea",
|
|
56
|
+
`A label is always required for a11y reasons. Please add a descriptive "label" prop to the DSTextarea component. If you don't want to display a label, set hideLabel={true}.`
|
|
57
|
+
)
|
|
58
|
+
);
|
|
59
|
+
}, Pa = ({
|
|
60
|
+
id: n,
|
|
61
|
+
label: _,
|
|
62
|
+
charsLimitText: V = "Character limit reached",
|
|
63
|
+
charsRemainingText: P = "Characters remaining:",
|
|
64
|
+
className: q,
|
|
65
|
+
defaultValue: M,
|
|
66
|
+
disabled: O = !1,
|
|
67
|
+
hint: b,
|
|
68
|
+
hideLabel: F = !1,
|
|
69
|
+
invalid: o = !1,
|
|
70
|
+
maxLength: a,
|
|
71
|
+
readonly: S = !1,
|
|
72
|
+
required: I = !1,
|
|
73
|
+
resize: u = "vertical",
|
|
74
|
+
size: W = "medium",
|
|
75
|
+
systemFeedback: r,
|
|
76
|
+
value: h,
|
|
77
|
+
wrapperClassName: X,
|
|
78
|
+
onChange: C,
|
|
79
|
+
onInput: y,
|
|
80
|
+
...Z
|
|
81
|
+
}) => {
|
|
82
|
+
process.env.NODE_ENV !== "production" && Ra({
|
|
83
|
+
id: n,
|
|
84
|
+
label: _
|
|
85
|
+
});
|
|
86
|
+
const [G, A] = c(M || ""), [l, D] = c(0), [J, j] = c(0), [K, w] = c("off"), [R, z] = c(r), [p, v] = c(o), T = h !== void 0, f = T ? h : G, i = na(null), Q = oa(F);
|
|
87
|
+
m(() => {
|
|
88
|
+
if (!a || a <= 0)
|
|
89
|
+
return;
|
|
90
|
+
l >= a * 0.8 ? w("polite") : w("off");
|
|
91
|
+
const e = setTimeout(() => {
|
|
92
|
+
j(a - l || 0);
|
|
93
|
+
}, 1e3);
|
|
94
|
+
return () => clearTimeout(e);
|
|
95
|
+
}, [l]), m(() => {
|
|
96
|
+
A(f || ""), d(), a && a > 0 && (D(f.toString().length || 0), j(a - f.toString().length || 0));
|
|
97
|
+
}, [h]), m(() => {
|
|
98
|
+
o && r ? (z(r), v(o)) : !o && a && a >= 0 && l >= a ? (v(!0), z(V)) : (z(r), v(o));
|
|
99
|
+
}, [o, p, r, l]), m(() => {
|
|
100
|
+
if (ia && u === "auto")
|
|
101
|
+
return d(), window.addEventListener("resize", d), () => window.removeEventListener("resize", d);
|
|
102
|
+
}, [u, i.current]);
|
|
103
|
+
const U = g(t.root, X), Y = g(t.textarea, q, {
|
|
104
|
+
// small textarea
|
|
105
|
+
[t.textareaSmall]: W === "small",
|
|
106
|
+
// invalid state
|
|
107
|
+
[t.textareaInvalid]: p,
|
|
108
|
+
// resize handling
|
|
109
|
+
[t.textareaResizeAuto]: u === "auto"
|
|
110
|
+
}), L = g(t.label, {
|
|
111
|
+
// hide label only visually to keep them available for assistive technologies
|
|
112
|
+
[t.labelHidden]: Q
|
|
113
|
+
}), E = `${n}-label`, N = `${n}-feedback`, B = `${n}-hint`, $ = `${n}-char-count-announcer`, aa = b ? ` ${B}` : "", d = () => {
|
|
114
|
+
if (i.current && u === "auto") {
|
|
115
|
+
i.current.style.height = "auto";
|
|
116
|
+
const e = H(i.current.scrollHeight), x = H(2);
|
|
117
|
+
i.current.style.height = `${// We need to add 2px (border-top & border-bottom) to the scrollHeight to prevent the textarea
|
|
118
|
+
// from jumping as soon as the user starts typing.
|
|
119
|
+
e + x}rem`;
|
|
120
|
+
}
|
|
121
|
+
}, ea = () => {
|
|
122
|
+
const e = [];
|
|
123
|
+
return a && a > 0 && e.push($), o && r && e.push(N), e.length > 0 ? e.join(" ") : void 0;
|
|
124
|
+
}, ta = (e) => {
|
|
125
|
+
var x;
|
|
126
|
+
y && y(e), a && a > 0 && D(((x = i.current) == null ? void 0 : x.value.length) || 0), d();
|
|
127
|
+
}, sa = (e) => {
|
|
128
|
+
C && C(e), T || A(e.target.value);
|
|
129
|
+
};
|
|
130
|
+
return /* @__PURE__ */ s.jsxs("div", { className: U, children: [
|
|
131
|
+
/* @__PURE__ */ s.jsxs("label", { className: L, id: E, htmlFor: n, children: [
|
|
132
|
+
_,
|
|
133
|
+
I && /* @__PURE__ */ s.jsx(ra, {})
|
|
134
|
+
] }),
|
|
135
|
+
b && /* @__PURE__ */ s.jsx("div", { className: t.hint, id: B, children: b }),
|
|
136
|
+
p && R && /* @__PURE__ */ s.jsx(
|
|
137
|
+
la,
|
|
138
|
+
{
|
|
139
|
+
className: t.feedback,
|
|
140
|
+
message: R,
|
|
141
|
+
type: "invalid",
|
|
142
|
+
id: N
|
|
143
|
+
}
|
|
144
|
+
),
|
|
145
|
+
/* @__PURE__ */ s.jsx(
|
|
146
|
+
"textarea",
|
|
147
|
+
{
|
|
148
|
+
className: Y,
|
|
149
|
+
id: n,
|
|
150
|
+
ref: i,
|
|
151
|
+
...Z,
|
|
152
|
+
"aria-labelledby": `${E}${aa}`,
|
|
153
|
+
"aria-describedby": ea(),
|
|
154
|
+
"aria-invalid": o,
|
|
155
|
+
"aria-disabled": S,
|
|
156
|
+
maxLength: a,
|
|
157
|
+
readOnly: S,
|
|
158
|
+
required: I,
|
|
159
|
+
disabled: O,
|
|
160
|
+
value: f,
|
|
161
|
+
defaultValue: void 0,
|
|
162
|
+
rows: void 0,
|
|
163
|
+
cols: void 0,
|
|
164
|
+
onChange: sa,
|
|
165
|
+
onInput: ta
|
|
166
|
+
}
|
|
167
|
+
),
|
|
168
|
+
a !== void 0 && a > 0 && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
169
|
+
/* @__PURE__ */ s.jsxs("div", { className: t.charCount, "aria-hidden": "true", children: [
|
|
170
|
+
l,
|
|
171
|
+
"/",
|
|
172
|
+
a
|
|
173
|
+
] }),
|
|
174
|
+
/* @__PURE__ */ s.jsxs(
|
|
175
|
+
"div",
|
|
176
|
+
{
|
|
177
|
+
className: t.charCountAnnouncer,
|
|
178
|
+
id: $,
|
|
179
|
+
"aria-live": K,
|
|
180
|
+
"aria-atomic": "true",
|
|
181
|
+
children: [
|
|
182
|
+
P,
|
|
183
|
+
" ",
|
|
184
|
+
J
|
|
185
|
+
]
|
|
186
|
+
}
|
|
187
|
+
)
|
|
188
|
+
] })
|
|
189
|
+
] });
|
|
190
|
+
};
|
|
191
|
+
export {
|
|
192
|
+
Pa as D,
|
|
193
|
+
Va as T,
|
|
194
|
+
Ra as v
|
|
195
|
+
};
|