@stihl-design-system/components 1.0.0-RC.1 → 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 +1 -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 +51 -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/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 +61 -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.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/SystemFeedback.c30264c0.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/checkbox.42617f46.js +0 -112
- package/checkboxgroup.fa110fdf.js +0 -78
- package/chunks/360.3f3132d9.js +0 -11
- package/chunks/CustomReactSelect.2e4e7ba0.js +0 -5015
- 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/inputsearch.6e913fc6.js +0 -188
- 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/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,148 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as n } from "./jsx-runtime.C115EyI4.js";
|
|
3
|
+
import { c as s } from "./index.CvOaL64Y.js";
|
|
4
|
+
import { useRef as h, useState as w, useEffect as b } from "react";
|
|
5
|
+
import { DSButton as x } from "../button.DH0h6uPs.js";
|
|
6
|
+
import { g as j } from "./helpers.B1JT5ShS.js";
|
|
7
|
+
import '../assets/Dialog.fiQvxJg_.css';const B = "_dialog_1yzgd_80", E = "_content-wrapper_1yzgd_151", C = "_content-wrapper--no-footer_1yzgd_157", F = "_close-button_1yzgd_165", W = "_header_1yzgd_178", k = "_content_1yzgd_151", R = "_footer_1yzgd_180", L = "_header--scrollable_1yzgd_201", M = "_header--close-button_1yzgd_210", H = "_content--no-footer_1yzgd_223", I = "_footer--scrollable_1yzgd_230", o = {
|
|
8
|
+
dialog: B,
|
|
9
|
+
"content-wrapper": "_content-wrapper_1yzgd_151",
|
|
10
|
+
contentWrapper: E,
|
|
11
|
+
"content-wrapper--no-footer": "_content-wrapper--no-footer_1yzgd_157",
|
|
12
|
+
contentWrapperNoFooter: C,
|
|
13
|
+
"close-button": "_close-button_1yzgd_165",
|
|
14
|
+
closeButton: F,
|
|
15
|
+
header: W,
|
|
16
|
+
content: k,
|
|
17
|
+
footer: R,
|
|
18
|
+
"header--scrollable": "_header--scrollable_1yzgd_201",
|
|
19
|
+
headerScrollable: L,
|
|
20
|
+
"header--close-button": "_header--close-button_1yzgd_210",
|
|
21
|
+
headerCloseButton: M,
|
|
22
|
+
"content--no-footer": "_content--no-footer_1yzgd_223",
|
|
23
|
+
contentNoFooter: H,
|
|
24
|
+
"footer--scrollable": "_footer--scrollable_1yzgd_230",
|
|
25
|
+
footerScrollable: I
|
|
26
|
+
}, O = ({ tabIndex: r }) => {
|
|
27
|
+
if (r || r === 0)
|
|
28
|
+
throw new Error(
|
|
29
|
+
j(
|
|
30
|
+
"DSDialog",
|
|
31
|
+
"Do not pass the tabindex property to the DSDialog component as it is not interactive and does not receive focus. The DSDialogs contents, including the close button contained in the DSDialog, can receive focus and be interactive."
|
|
32
|
+
)
|
|
33
|
+
);
|
|
34
|
+
}, G = ({
|
|
35
|
+
children: r,
|
|
36
|
+
className: m,
|
|
37
|
+
closeButtonLabel: y = "Close dialog",
|
|
38
|
+
disableBackdropClose: z = !1,
|
|
39
|
+
footer: c,
|
|
40
|
+
header: D,
|
|
41
|
+
hideCloseButton: a = !1,
|
|
42
|
+
isOpen: d = !1,
|
|
43
|
+
onClose: l,
|
|
44
|
+
...i
|
|
45
|
+
}) => {
|
|
46
|
+
if (process.env.NODE_ENV !== "production") {
|
|
47
|
+
const { tabIndex: e } = i;
|
|
48
|
+
O({
|
|
49
|
+
tabIndex: e
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
const t = h(null), _ = h(null), [u, S] = w(!1);
|
|
53
|
+
b(() => {
|
|
54
|
+
const e = _.current;
|
|
55
|
+
if (e) {
|
|
56
|
+
const g = () => {
|
|
57
|
+
S(
|
|
58
|
+
e.scrollHeight > e.clientHeight
|
|
59
|
+
);
|
|
60
|
+
};
|
|
61
|
+
g();
|
|
62
|
+
const p = new ResizeObserver(g);
|
|
63
|
+
return p.observe(e), () => {
|
|
64
|
+
p.disconnect();
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
}, []), b(() => {
|
|
68
|
+
const e = t.current;
|
|
69
|
+
if (e)
|
|
70
|
+
return e.addEventListener("close", f), d ? e.showModal() : e.close(), () => {
|
|
71
|
+
e.removeEventListener("close", f);
|
|
72
|
+
};
|
|
73
|
+
}, [d, l]);
|
|
74
|
+
const f = () => {
|
|
75
|
+
l && l();
|
|
76
|
+
}, v = (e) => {
|
|
77
|
+
z || t.current && e.target === t.current && t.current.close();
|
|
78
|
+
}, N = () => {
|
|
79
|
+
t.current && t.current.close();
|
|
80
|
+
};
|
|
81
|
+
return /* @__PURE__ */ n.jsx(
|
|
82
|
+
"dialog",
|
|
83
|
+
{
|
|
84
|
+
...i,
|
|
85
|
+
ref: t,
|
|
86
|
+
className: o.dialog,
|
|
87
|
+
onMouseDown: (e) => v(e),
|
|
88
|
+
"aria-modal": "true",
|
|
89
|
+
children: /* @__PURE__ */ n.jsxs(
|
|
90
|
+
"div",
|
|
91
|
+
{
|
|
92
|
+
className: s(o.contentWrapper, m, {
|
|
93
|
+
[o.contentWrapperNoFooter]: !c
|
|
94
|
+
}),
|
|
95
|
+
children: [
|
|
96
|
+
!a && /* @__PURE__ */ n.jsx(
|
|
97
|
+
x,
|
|
98
|
+
{
|
|
99
|
+
className: o.closeButton,
|
|
100
|
+
hideLabel: !0,
|
|
101
|
+
iconName: "cross",
|
|
102
|
+
size: "small",
|
|
103
|
+
type: "button",
|
|
104
|
+
variant: "ghost",
|
|
105
|
+
onClick: () => N(),
|
|
106
|
+
children: y
|
|
107
|
+
}
|
|
108
|
+
),
|
|
109
|
+
/* @__PURE__ */ n.jsx(
|
|
110
|
+
"header",
|
|
111
|
+
{
|
|
112
|
+
className: s(o.header, {
|
|
113
|
+
[o.headerCloseButton]: !a,
|
|
114
|
+
[o.headerScrollable]: u
|
|
115
|
+
}),
|
|
116
|
+
children: D
|
|
117
|
+
}
|
|
118
|
+
),
|
|
119
|
+
/* @__PURE__ */ n.jsx(
|
|
120
|
+
"div",
|
|
121
|
+
{
|
|
122
|
+
ref: _,
|
|
123
|
+
className: s(o.content, {
|
|
124
|
+
[o.contentNoFooter]: !c
|
|
125
|
+
}),
|
|
126
|
+
tabIndex: 0,
|
|
127
|
+
children: r
|
|
128
|
+
}
|
|
129
|
+
),
|
|
130
|
+
c && /* @__PURE__ */ n.jsx(
|
|
131
|
+
"footer",
|
|
132
|
+
{
|
|
133
|
+
className: s(o.footer, {
|
|
134
|
+
[o.footerScrollable]: u
|
|
135
|
+
}),
|
|
136
|
+
children: c
|
|
137
|
+
}
|
|
138
|
+
)
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
)
|
|
142
|
+
}
|
|
143
|
+
);
|
|
144
|
+
};
|
|
145
|
+
export {
|
|
146
|
+
G as D,
|
|
147
|
+
O as v
|
|
148
|
+
};
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as r } from "./jsx-runtime.C115EyI4.js";
|
|
3
|
+
import { c as n } from "./index.CvOaL64Y.js";
|
|
4
|
+
import { useRef as b, useState as j, useEffect as w } from "react";
|
|
5
|
+
import { DSButton as B } from "../button.DH0h6uPs.js";
|
|
6
|
+
import { g as R } from "./helpers.B1JT5ShS.js";
|
|
7
|
+
import '../assets/Drawer.BqBgbSuP.css';const W = "_drawer_h62s5_85", C = "_drawer--end_h62s5_143", F = "_content-wrapper_h62s5_161", k = "_content-wrapper--no-footer_h62s5_167", I = "_close-button_h62s5_170", O = "_header_h62s5_183", y = "_content_h62s5_161", z = "_footer_h62s5_185", L = "_header--scrollable_h62s5_206", M = "_header--close-button_h62s5_215", H = "_content--no-footer_h62s5_229", P = "_footer--scrollable_h62s5_236", o = {
|
|
8
|
+
drawer: W,
|
|
9
|
+
"drawer--end": "_drawer--end_h62s5_143",
|
|
10
|
+
drawerEnd: C,
|
|
11
|
+
"content-wrapper": "_content-wrapper_h62s5_161",
|
|
12
|
+
contentWrapper: F,
|
|
13
|
+
"content-wrapper--no-footer": "_content-wrapper--no-footer_h62s5_167",
|
|
14
|
+
contentWrapperNoFooter: k,
|
|
15
|
+
"close-button": "_close-button_h62s5_170",
|
|
16
|
+
closeButton: I,
|
|
17
|
+
header: O,
|
|
18
|
+
content: y,
|
|
19
|
+
footer: z,
|
|
20
|
+
"header--scrollable": "_header--scrollable_h62s5_206",
|
|
21
|
+
headerScrollable: L,
|
|
22
|
+
"header--close-button": "_header--close-button_h62s5_215",
|
|
23
|
+
headerCloseButton: M,
|
|
24
|
+
"content--no-footer": "_content--no-footer_h62s5_229",
|
|
25
|
+
contentNoFooter: H,
|
|
26
|
+
"footer--scrollable": "_footer--scrollable_h62s5_236",
|
|
27
|
+
footerScrollable: P
|
|
28
|
+
}, K = ["start", "end"], T = ({ tabIndex: s }) => {
|
|
29
|
+
if (s || s === 0)
|
|
30
|
+
throw new Error(
|
|
31
|
+
R(
|
|
32
|
+
"DSDrawer",
|
|
33
|
+
"Do not pass the tabindex property to the DSDrawer component as it is not interactive and does not receive focus. The DSDrawers contents, including the close button contained in the DSDrawer, can receive focus and be interactive."
|
|
34
|
+
)
|
|
35
|
+
);
|
|
36
|
+
}, Q = ({
|
|
37
|
+
children: s,
|
|
38
|
+
className: m,
|
|
39
|
+
closeButtonLabel: D = "Close modal",
|
|
40
|
+
disableBackdropClose: S = !1,
|
|
41
|
+
footer: c,
|
|
42
|
+
header: N,
|
|
43
|
+
hideCloseButton: l = !1,
|
|
44
|
+
position: v = "start",
|
|
45
|
+
isOpen: d = !1,
|
|
46
|
+
onClose: a,
|
|
47
|
+
..._
|
|
48
|
+
}) => {
|
|
49
|
+
if (process.env.NODE_ENV !== "production") {
|
|
50
|
+
const { tabIndex: e } = _;
|
|
51
|
+
T({
|
|
52
|
+
tabIndex: e
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
const t = b(null), h = b(null), [i, E] = j(!1);
|
|
56
|
+
w(() => {
|
|
57
|
+
const e = h.current;
|
|
58
|
+
if (e) {
|
|
59
|
+
const f = () => {
|
|
60
|
+
E(
|
|
61
|
+
e.scrollHeight > e.clientHeight
|
|
62
|
+
);
|
|
63
|
+
};
|
|
64
|
+
f();
|
|
65
|
+
const p = new ResizeObserver(f);
|
|
66
|
+
return p.observe(e), () => {
|
|
67
|
+
p.disconnect();
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
}, []), w(() => {
|
|
71
|
+
const e = t.current;
|
|
72
|
+
if (e)
|
|
73
|
+
return e.addEventListener("close", u), d ? e.showModal() : e.close(), () => {
|
|
74
|
+
e.removeEventListener("close", u);
|
|
75
|
+
};
|
|
76
|
+
}, [d, a]);
|
|
77
|
+
const u = () => {
|
|
78
|
+
a && a();
|
|
79
|
+
}, x = (e) => {
|
|
80
|
+
S || t.current && e.target === t.current && t.current.close();
|
|
81
|
+
}, g = () => {
|
|
82
|
+
t.current && t.current.close();
|
|
83
|
+
};
|
|
84
|
+
return /* @__PURE__ */ r.jsx(
|
|
85
|
+
"dialog",
|
|
86
|
+
{
|
|
87
|
+
..._,
|
|
88
|
+
ref: t,
|
|
89
|
+
className: n(o.drawer, {
|
|
90
|
+
[o.drawerEnd]: v === "end"
|
|
91
|
+
}),
|
|
92
|
+
onMouseDown: (e) => x(e),
|
|
93
|
+
"aria-modal": "true",
|
|
94
|
+
children: /* @__PURE__ */ r.jsxs(
|
|
95
|
+
"div",
|
|
96
|
+
{
|
|
97
|
+
className: n(o.contentWrapper, m, {
|
|
98
|
+
[o.contentWrapperNoFooter]: !c
|
|
99
|
+
}),
|
|
100
|
+
children: [
|
|
101
|
+
!l && /* @__PURE__ */ r.jsx(
|
|
102
|
+
B,
|
|
103
|
+
{
|
|
104
|
+
className: o.closeButton,
|
|
105
|
+
hideLabel: !0,
|
|
106
|
+
iconName: "cross",
|
|
107
|
+
size: "small",
|
|
108
|
+
type: "button",
|
|
109
|
+
variant: "ghost",
|
|
110
|
+
onClick: () => g(),
|
|
111
|
+
children: D
|
|
112
|
+
}
|
|
113
|
+
),
|
|
114
|
+
/* @__PURE__ */ r.jsx(
|
|
115
|
+
"header",
|
|
116
|
+
{
|
|
117
|
+
className: n(o.header, {
|
|
118
|
+
[o.headerCloseButton]: !l,
|
|
119
|
+
[o.headerScrollable]: i
|
|
120
|
+
}),
|
|
121
|
+
children: N
|
|
122
|
+
}
|
|
123
|
+
),
|
|
124
|
+
/* @__PURE__ */ r.jsx(
|
|
125
|
+
"div",
|
|
126
|
+
{
|
|
127
|
+
ref: h,
|
|
128
|
+
className: n(o.content, {
|
|
129
|
+
[o.contentNoFooter]: !c
|
|
130
|
+
}),
|
|
131
|
+
tabIndex: 0,
|
|
132
|
+
children: s
|
|
133
|
+
}
|
|
134
|
+
),
|
|
135
|
+
c && /* @__PURE__ */ r.jsx(
|
|
136
|
+
"footer",
|
|
137
|
+
{
|
|
138
|
+
className: n(o.footer, {
|
|
139
|
+
[o.footerScrollable]: i
|
|
140
|
+
}),
|
|
141
|
+
children: c
|
|
142
|
+
}
|
|
143
|
+
)
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
)
|
|
147
|
+
}
|
|
148
|
+
);
|
|
149
|
+
};
|
|
150
|
+
export {
|
|
151
|
+
Q as D,
|
|
152
|
+
K as a,
|
|
153
|
+
T as v
|
|
154
|
+
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as e } from "./jsx-runtime.C115EyI4.js";
|
|
3
|
+
import { c } from "./index.CvOaL64Y.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import { Asterisk as z } from "../asterisk.DDn-yX4P.js";
|
|
6
|
+
import { DSHeading as F } from "../heading.CAkraI2D.js";
|
|
7
|
+
import { DSSystemFeedback as k } from "../systemfeedback.ZzRUAVYX.js";
|
|
8
|
+
import { g as h } from "./helpers.B1JT5ShS.js";
|
|
9
|
+
import '../assets/Fieldset.qHYeUFZt.css';const v = "_root_xfwzz_76", N = "_child-wrapper_xfwzz_82", E = "_legend_xfwzz_89", M = "_legend--utility--m_xfwzz_93", q = "_description_xfwzz_106", C = "_description--small_xfwzz_121", P = "_system-feedback_xfwzz_125", i = {
|
|
10
|
+
root: v,
|
|
11
|
+
"child-wrapper": "_child-wrapper_xfwzz_82",
|
|
12
|
+
childWrapper: N,
|
|
13
|
+
legend: E,
|
|
14
|
+
"legend--utility--m": "_legend--utility--m_xfwzz_93",
|
|
15
|
+
legendUtilityM: M,
|
|
16
|
+
description: q,
|
|
17
|
+
"description--small": "_description--small_xfwzz_121",
|
|
18
|
+
descriptionSmall: C,
|
|
19
|
+
"system-feedback": "_system-feedback_xfwzz_125",
|
|
20
|
+
systemFeedback: P
|
|
21
|
+
}, T = ({
|
|
22
|
+
description: a,
|
|
23
|
+
id: s,
|
|
24
|
+
legend: n,
|
|
25
|
+
systemFeedback: t
|
|
26
|
+
}) => {
|
|
27
|
+
if (!s && (a || t))
|
|
28
|
+
throw new Error(
|
|
29
|
+
h(
|
|
30
|
+
"DSFieldset",
|
|
31
|
+
'A unique "id" prop is required when providing the description or systemFeedback property. Please add an unique "id" prop to the DSFieldset component.'
|
|
32
|
+
)
|
|
33
|
+
);
|
|
34
|
+
if (!n)
|
|
35
|
+
throw new Error(
|
|
36
|
+
h(
|
|
37
|
+
"DSFieldset",
|
|
38
|
+
"The legend prop is required. Please add the legend prop to the DSFieldset component."
|
|
39
|
+
)
|
|
40
|
+
);
|
|
41
|
+
}, H = ({
|
|
42
|
+
children: a,
|
|
43
|
+
legend: s,
|
|
44
|
+
className: n,
|
|
45
|
+
description: t,
|
|
46
|
+
disabled: w = !1,
|
|
47
|
+
id: d,
|
|
48
|
+
invalid: p = !1,
|
|
49
|
+
required: m = !1,
|
|
50
|
+
systemFeedback: o,
|
|
51
|
+
...y
|
|
52
|
+
}) => {
|
|
53
|
+
process.env.NODE_ENV !== "production" && T({ description: t, id: d, legend: s, systemFeedback: o });
|
|
54
|
+
let r, _, f;
|
|
55
|
+
const l = typeof s == "object" && s !== void 0;
|
|
56
|
+
l && ({ headingSize: r, headingTag: _, headingText: f } = s);
|
|
57
|
+
const g = `${d}-feedback`, x = `${d}-description`, j = [
|
|
58
|
+
o && g,
|
|
59
|
+
t && x
|
|
60
|
+
].filter(Boolean).join(" "), S = !l || r === "small" || r === "small-uppercase", b = c(i.root, n), u = c(i.legend, {
|
|
61
|
+
[i.legendUtilityM]: !l
|
|
62
|
+
}), D = c(i.description, {
|
|
63
|
+
[i.descriptionSmall]: S
|
|
64
|
+
});
|
|
65
|
+
return /* @__PURE__ */ e.jsxs(
|
|
66
|
+
"fieldset",
|
|
67
|
+
{
|
|
68
|
+
className: b,
|
|
69
|
+
disabled: w,
|
|
70
|
+
...y,
|
|
71
|
+
"aria-invalid": p,
|
|
72
|
+
"aria-describedby": j || void 0,
|
|
73
|
+
children: [
|
|
74
|
+
/* @__PURE__ */ e.jsx("legend", { className: u, children: l ? /* @__PURE__ */ e.jsxs(F, { tag: _, size: r, children: [
|
|
75
|
+
f,
|
|
76
|
+
m && /* @__PURE__ */ e.jsx(z, {})
|
|
77
|
+
] }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
78
|
+
s,
|
|
79
|
+
m && /* @__PURE__ */ e.jsx(z, {})
|
|
80
|
+
] }) }),
|
|
81
|
+
t && /* @__PURE__ */ e.jsx("span", { id: x, className: D, children: t }),
|
|
82
|
+
p && o && /* @__PURE__ */ e.jsx(
|
|
83
|
+
k,
|
|
84
|
+
{
|
|
85
|
+
id: g,
|
|
86
|
+
type: "invalid",
|
|
87
|
+
message: o,
|
|
88
|
+
className: i.systemFeedback
|
|
89
|
+
}
|
|
90
|
+
),
|
|
91
|
+
/* @__PURE__ */ e.jsx("div", { className: i.childWrapper, children: a })
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
);
|
|
95
|
+
};
|
|
96
|
+
export {
|
|
97
|
+
H as D,
|
|
98
|
+
T as v
|
|
99
|
+
};
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { j as x } from "./jsx-runtime.C115EyI4.js";
|
|
3
|
+
import { c as E } from "./index.CvOaL64Y.js";
|
|
4
|
+
import * as b from "react";
|
|
5
|
+
import { useRef as j, useState as y, useEffect as M } from "react";
|
|
6
|
+
import '../assets/Icon.Duy_0R8w.css';var I = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new WeakMap(), q = 0, D = void 0;
|
|
7
|
+
function T(s) {
|
|
8
|
+
return s ? (_.has(s) || (q += 1, _.set(s, q.toString())), _.get(s)) : "0";
|
|
9
|
+
}
|
|
10
|
+
function V(s) {
|
|
11
|
+
return Object.keys(s).sort().filter(
|
|
12
|
+
(t) => s[t] !== void 0
|
|
13
|
+
).map((t) => `${t}_${t === "root" ? T(s.root) : s[t]}`).toString();
|
|
14
|
+
}
|
|
15
|
+
function L(s) {
|
|
16
|
+
const t = V(s);
|
|
17
|
+
let i = I.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
|
+
}, I.set(t, i);
|
|
35
|
+
}
|
|
36
|
+
return i;
|
|
37
|
+
}
|
|
38
|
+
function N(s, t, i = {}, e = D) {
|
|
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 } = L(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(), I.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, S] = 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) return;
|
|
77
|
+
let f;
|
|
78
|
+
return f = N(
|
|
79
|
+
d,
|
|
80
|
+
(R, k) => {
|
|
81
|
+
l({
|
|
82
|
+
inView: R,
|
|
83
|
+
entry: k
|
|
84
|
+
}), h.current && h.current(R, k), k.isIntersecting && r && f && (f(), f = void 0);
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
root: a,
|
|
88
|
+
rootMargin: e,
|
|
89
|
+
threshold: s,
|
|
90
|
+
// @ts-ignore
|
|
91
|
+
trackVisibility: i,
|
|
92
|
+
// @ts-ignore
|
|
93
|
+
delay: t
|
|
94
|
+
},
|
|
95
|
+
c
|
|
96
|
+
), () => {
|
|
97
|
+
f && f();
|
|
98
|
+
};
|
|
99
|
+
},
|
|
100
|
+
// We break the rule here, because we aren't including the actual `threshold` variable
|
|
101
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
102
|
+
[
|
|
103
|
+
// If the threshold is an array, convert it to a string, so it won't change between renders.
|
|
104
|
+
Array.isArray(s) ? s.toString() : s,
|
|
105
|
+
d,
|
|
106
|
+
a,
|
|
107
|
+
e,
|
|
108
|
+
r,
|
|
109
|
+
n,
|
|
110
|
+
i,
|
|
111
|
+
c,
|
|
112
|
+
t
|
|
113
|
+
]
|
|
114
|
+
);
|
|
115
|
+
const u = (m = g.entry) == null ? void 0 : m.target, z = b.useRef();
|
|
116
|
+
!d && u && !r && !n && z.current !== u && (z.current = u, l({
|
|
117
|
+
inView: !!o,
|
|
118
|
+
entry: void 0
|
|
119
|
+
}));
|
|
120
|
+
const p = [S, g.inView, g.entry];
|
|
121
|
+
return p.ref = p[0], p.inView = p[1], p.entry = p[2], p;
|
|
122
|
+
}
|
|
123
|
+
const C = "_image_1nvgq_76", A = "_image--theme-dark_1nvgq_85", X = "_image--size-medium_1nvgq_88", $ = "_image--size-small_1nvgq_94", B = "_image--size-x-small_1nvgq_100", w = {
|
|
124
|
+
image: C,
|
|
125
|
+
"image--theme-dark": "_image--theme-dark_1nvgq_85",
|
|
126
|
+
imageThemeDark: A,
|
|
127
|
+
"image--size-medium": "_image--size-medium_1nvgq_88",
|
|
128
|
+
imageSizeMedium: X,
|
|
129
|
+
"image--size-small": "_image--size-small_1nvgq_94",
|
|
130
|
+
imageSizeSmall: $,
|
|
131
|
+
"image--size-x-small": "_image--size-x-small_1nvgq_100",
|
|
132
|
+
imageSizeXSmall: B
|
|
133
|
+
}, G = (s, t, i) => {
|
|
134
|
+
const e = s[t];
|
|
135
|
+
return e ? typeof e == "function" ? e() : Promise.resolve(e) : new Promise((a, r) => {
|
|
136
|
+
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
137
|
+
r.bind(
|
|
138
|
+
null,
|
|
139
|
+
new Error(
|
|
140
|
+
"Unknown variable dynamic import: " + t + (t.split("/").length !== i ? ". Note that variables only represent file names one level deep." : "")
|
|
141
|
+
)
|
|
142
|
+
)
|
|
143
|
+
);
|
|
144
|
+
});
|
|
145
|
+
}, Z = ["large", "medium", "small", "x-small"], P = (s) => {
|
|
146
|
+
var n;
|
|
147
|
+
const t = j(), [i, e] = y(!1), [a, r] = y(!0);
|
|
148
|
+
return M(() => {
|
|
149
|
+
i && (r(!0), (async () => {
|
|
150
|
+
try {
|
|
151
|
+
t.current = await G(/* @__PURE__ */ Object.assign({ "../../../../icons/dist/assets/360.svg": () => import("./360.CfjUtgxq.js"), "../../../../icons/dist/assets/academic-cap.svg": () => import("./academic-cap.OBigTQQS.js"), "../../../../icons/dist/assets/alarm-clock.svg": () => import("./alarm-clock.CpK-AEZG.js"), "../../../../icons/dist/assets/arrow-clockwise.svg": () => import("./arrow-clockwise.BefOjGPg.js"), "../../../../icons/dist/assets/arrow-counterclockwise.svg": () => import("./arrow-counterclockwise.C7Ov32BZ.js"), "../../../../icons/dist/assets/arrow-down-line.svg": () => import("./arrow-down-line.RDD2pRZY.js"), "../../../../icons/dist/assets/arrow-down.svg": () => import("./arrow-down.XpokLh98.js"), "../../../../icons/dist/assets/arrow-edge.svg": () => import("./arrow-edge.CPA93M81.js"), "../../../../icons/dist/assets/arrow-left.svg": () => import("./arrow-left.C8NG5I2X.js"), "../../../../icons/dist/assets/arrow-out.svg": () => import("./arrow-out.CsHHHYN9.js"), "../../../../icons/dist/assets/arrow-outline-left.svg": () => import("./arrow-outline-left.Bhw_LzfV.js"), "../../../../icons/dist/assets/arrow-right.svg": () => import("./arrow-right.HNwAz18h.js"), "../../../../icons/dist/assets/arrow-up-arrow-down.svg": () => import("./arrow-up-arrow-down.BVyuVJP5.js"), "../../../../icons/dist/assets/arrow-up.svg": () => import("./arrow-up.Ca1GnLaY.js"), "../../../../icons/dist/assets/at.svg": () => import("./at.BNfdp4M0.js"), "../../../../icons/dist/assets/barcode-scanner.svg": () => import("./barcode-scanner.D0olxB_m.js"), "../../../../icons/dist/assets/battery.svg": () => import("./battery.YCg9lYqC.js"), "../../../../icons/dist/assets/bell.svg": () => import("./bell.DbPxCAUM.js"), "../../../../icons/dist/assets/bin-open.svg": () => import("./bin-open.DsjIBW00.js"), "../../../../icons/dist/assets/bin.svg": () => import("./bin.ktpYUJmK.js"), "../../../../icons/dist/assets/bluetooth.svg": () => import("./bluetooth.dW5tTwby.js"), "../../../../icons/dist/assets/bookmark.svg": () => import("./bookmark.B7Mbr-d6.js"), "../../../../icons/dist/assets/burger.svg": () => import("./burger.DLP81BXa.js"), "../../../../icons/dist/assets/calendar.svg": () => import("./calendar.Cig7yG7m.js"), "../../../../icons/dist/assets/camera.svg": () => import("./camera.BoCB0Emp.js"), "../../../../icons/dist/assets/cart-check.svg": () => import("./cart-check.CYH0vTB8.js"), "../../../../icons/dist/assets/cart-plus.svg": () => import("./cart-plus.DzXXFMZj.js"), "../../../../icons/dist/assets/cart.svg": () => import("./cart.CoEwMABr.js"), "../../../../icons/dist/assets/catalog.svg": () => import("./catalog.CwV-J6Kb.js"), "../../../../icons/dist/assets/certificate.svg": () => import("./certificate.Crs4RohK.js"), "../../../../icons/dist/assets/chain-link.svg": () => import("./chain-link.BMV2WV6k.js"), "../../../../icons/dist/assets/chainsaw.svg": () => import("./chainsaw.CI1EYF7a.js"), "../../../../icons/dist/assets/check.svg": () => import("./check.CuZKWgYj.js"), "../../../../icons/dist/assets/chevron-down.svg": () => import("./chevron-down.5UkGOwK_.js"), "../../../../icons/dist/assets/chevron-left.svg": () => import("./chevron-left.DRFQ-efY.js"), "../../../../icons/dist/assets/chevron-line-left.svg": () => import("./chevron-line-left.SQvDJQ1t.js"), "../../../../icons/dist/assets/chevron-line-right.svg": () => import("./chevron-line-right.CYQ3b2cQ.js"), "../../../../icons/dist/assets/chevron-right.svg": () => import("./chevron-right.B_Ew9QUt.js"), "../../../../icons/dist/assets/chevron-up.svg": () => import("./chevron-up.DqETUWqG.js"), "../../../../icons/dist/assets/circle-check-colored.svg": () => import("./circle-check-colored.Bye_GwLy.js"), "../../../../icons/dist/assets/circle-check-inverted.svg": () => import("./circle-check-inverted.Cc2cUmWT.js"), "../../../../icons/dist/assets/circle-info-colored.svg": () => import("./circle-info-colored.D2pp54gf.js"), "../../../../icons/dist/assets/circle-info-inverted.svg": () => import("./circle-info-inverted.D8Z0vTmu.js"), "../../../../icons/dist/assets/circle-pause.svg": () => import("./circle-pause.DaRfXOff.js"), "../../../../icons/dist/assets/circle-stroke.svg": () => import("./circle-stroke.CWu_o3Gx.js"), "../../../../icons/dist/assets/circle.svg": () => import("./circle.471EUzv6.js"), "../../../../icons/dist/assets/clock.svg": () => import("./clock.Bw5ICIVH.js"), "../../../../icons/dist/assets/coffee-cup.svg": () => import("./coffee-cup.DIijzKx_.js"), "../../../../icons/dist/assets/compare.svg": () => import("./compare.BgktBbYD.js"), "../../../../icons/dist/assets/connected-box-mobile.svg": () => import("./connected-box-mobile.DboMCVxp.js"), "../../../../icons/dist/assets/connected-box-stationary.svg": () => import("./connected-box-stationary.CAPCPQ1d.js"), "../../../../icons/dist/assets/connected-box.svg": () => import("./connected-box.DVqJw-ws.js"), "../../../../icons/dist/assets/cross.svg": () => import("./cross.rEw3TuHs.js"), "../../../../icons/dist/assets/diamond-exclamationmark-colored.svg": () => import("./diamond-exclamationmark-colored.WNKYwZ8q.js"), "../../../../icons/dist/assets/diamond-exclamationmark-inverted.svg": () => import("./diamond-exclamationmark-inverted.DzAIb8Nt.js"), "../../../../icons/dist/assets/diamond.svg": () => import("./diamond.CXZHFpPC.js"), "../../../../icons/dist/assets/diskette.svg": () => import("./diskette._0C2VZ9v.js"), "../../../../icons/dist/assets/distance.svg": () => import("./distance.FA6pTjcW.js"), "../../../../icons/dist/assets/dots-connected.svg": () => import("./dots-connected.ZMYjHeNS.js"), "../../../../icons/dist/assets/download-complete.svg": () => import("./download-complete.CZVpzrvY.js"), "../../../../icons/dist/assets/envelope-open.svg": () => import("./envelope-open.CA4cE5lk.js"), "../../../../icons/dist/assets/envelope.svg": () => import("./envelope.re-RxZVw.js"), "../../../../icons/dist/assets/exclamationmark.svg": () => import("./exclamationmark.DEbIGqGC.js"), "../../../../icons/dist/assets/exit.svg": () => import("./exit.Cgb8AB-k.js"), "../../../../icons/dist/assets/eye-closed.svg": () => import("./eye-closed.CvqozUwK.js"), "../../../../icons/dist/assets/eye.svg": () => import("./eye.CRQMKZs4.js"), "../../../../icons/dist/assets/facebook.svg": () => import("./facebook.CVcxa0rV.js"), "../../../../icons/dist/assets/filter.svg": () => import("./filter.DrPSKpaG.js"), "../../../../icons/dist/assets/finger-double-arrow.svg": () => import("./finger-double-arrow.DDUZoPh8.js"), "../../../../icons/dist/assets/flash.svg": () => import("./flash.CgJJ1bUx.js"), "../../../../icons/dist/assets/fullscreen.svg": () => import("./fullscreen.Be2rBj1i.js"), "../../../../icons/dist/assets/gear.svg": () => import("./gear.DEltGVSA.js"), "../../../../icons/dist/assets/globe.svg": () => import("./globe.DG6uw6fi.js"), "../../../../icons/dist/assets/grid.svg": () => import("./grid.DH1impeF.js"), "../../../../icons/dist/assets/guidance.svg": () => import("./guidance.BBYB3JpW.js"), "../../../../icons/dist/assets/haircross.svg": () => import("./haircross.D-whkit9.js"), "../../../../icons/dist/assets/hanger.svg": () => import("./hanger.Bo8qtNo5.js"), "../../../../icons/dist/assets/headphones.svg": () => import("./headphones.DjWXOuJJ.js"), "../../../../icons/dist/assets/heart.svg": () => import("./heart.D-BnHMb-.js"), "../../../../icons/dist/assets/hexagon-arrow-clockwise.svg": () => import("./hexagon-arrow-clockwise.D0eeDQQx.js"), "../../../../icons/dist/assets/horizontal-ellipsis.svg": () => import("./horizontal-ellipsis.ChdN6RnG.js"), "../../../../icons/dist/assets/house.svg": () => import("./house.BohpDQ3q.js"), "../../../../icons/dist/assets/imow.svg": () => import("./imow.Dh1oMqcW.js"), "../../../../icons/dist/assets/info.svg": () => import("./info.BZVg9FLA.js"), "../../../../icons/dist/assets/instagram.svg": () => import("./instagram.CIlKb7xj.js"), "../../../../icons/dist/assets/leave-fullscreen.svg": () => import("./leave-fullscreen.BC5iwDur.js"), "../../../../icons/dist/assets/lightbulb.svg": () => import("./lightbulb.DQ7TiRsr.js"), "../../../../icons/dist/assets/linkedin.svg": () => import("./linkedin.br5zvxco.js"), "../../../../icons/dist/assets/list-three-rows.svg": () => import("./list-three-rows.Cso4ybs8.js"), "../../../../icons/dist/assets/list-two-rows.svg": () => import("./list-two-rows.DOsZEv0-.js"), "../../../../icons/dist/assets/loading-spinner.svg": () => import("./loading-spinner.BukfMaU6.js"), "../../../../icons/dist/assets/lock.svg": () => import("./lock.Dw_GOpTn.js"), "../../../../icons/dist/assets/magnifying-glass-minus.svg": () => import("./magnifying-glass-minus.BYztw2P1.js"), "../../../../icons/dist/assets/magnifying-glass-plus.svg": () => import("./magnifying-glass-plus.BTgviDVh.js"), "../../../../icons/dist/assets/magnifying-glass.svg": () => import("./magnifying-glass.C8DfRaIO.js"), "../../../../icons/dist/assets/map.svg": () => import("./map.CXgG1iGz.js"), "../../../../icons/dist/assets/minus.svg": () => import("./minus.BkhCuIH4.js"), "../../../../icons/dist/assets/mobile.svg": () => import("./mobile.C1Kj9VnC.js"), "../../../../icons/dist/assets/nine-squares.svg": () => import("./nine-squares.DVsNAOzz.js"), "../../../../icons/dist/assets/note-check.svg": () => import("./note-check.CM_kmt0M.js"), "../../../../icons/dist/assets/note-plus.svg": () => import("./note-plus.Bkn78EyA.js"), "../../../../icons/dist/assets/note.svg": () => import("./note.CE0ACLn8.js"), "../../../../icons/dist/assets/number-input.svg": () => import("./number-input.BLhoh5mh.js"), "../../../../icons/dist/assets/paperclip.svg": () => import("./paperclip.BMerX4rj.js"), "../../../../icons/dist/assets/parcel.svg": () => import("./parcel.Ve9GL_EG.js"), "../../../../icons/dist/assets/pause.svg": () => import("./pause.B91Ejn-O.js"), "../../../../icons/dist/assets/pdf.svg": () => import("./pdf.9kZbElrZ.js"), "../../../../icons/dist/assets/pen.svg": () => import("./pen.CvKw2PvE.js"), "../../../../icons/dist/assets/percent.svg": () => import("./percent.BlB6rG-B.js"), "../../../../icons/dist/assets/petrol.svg": () => import("./petrol.Du6qAgp0.js"), "../../../../icons/dist/assets/phone.svg": () => import("./phone.DzdXfmNC.js"), "../../../../icons/dist/assets/pin-s.svg": () => import("./pin-s.DXgYuN9C.js"), "../../../../icons/dist/assets/pin.svg": () => import("./pin.DZfZr4El.js"), "../../../../icons/dist/assets/pinterest.svg": () => import("./pinterest.sUPAub_q.js"), "../../../../icons/dist/assets/placeholder.svg": () => import("./placeholder.Dbb0hT5R.js"), "../../../../icons/dist/assets/play.svg": () => import("./play.BDiY2JrT.js"), "../../../../icons/dist/assets/plug.svg": () => import("./plug.DZozve4C.js"), "../../../../icons/dist/assets/plus.svg": () => import("./plus.zdu17kAe.js"), "../../../../icons/dist/assets/printer.svg": () => import("./printer.CaFaWfeS.js"), "../../../../icons/dist/assets/prohibition-sign.svg": () => import("./prohibition-sign.DUFn0QiV.js"), "../../../../icons/dist/assets/questionmark.svg": () => import("./questionmark.QyDxanQy.js"), "../../../../icons/dist/assets/security.svg": () => import("./security.DkLw5ym4.js"), "../../../../icons/dist/assets/share.svg": () => import("./share.C3wwEl8n.js"), "../../../../icons/dist/assets/shirt.svg": () => import("./shirt.BC8W-yCI.js"), "../../../../icons/dist/assets/shop.svg": () => import("./shop.DdPV35mK.js"), "../../../../icons/dist/assets/sound-off.svg": () => import("./sound-off.D4kGcehG.js"), "../../../../icons/dist/assets/sound-on.svg": () => import("./sound-on.Cynkb0_t.js"), "../../../../icons/dist/assets/speechbubble.svg": () => import("./speechbubble.87vuoKUp.js"), "../../../../icons/dist/assets/speechbubbles.svg": () => import("./speechbubbles.CSFhpNJn.js"), "../../../../icons/dist/assets/square.svg": () => import("./square.D6PgEi_r.js"), "../../../../icons/dist/assets/star-half.svg": () => import("./star-half.DZTtM5Bw.js"), "../../../../icons/dist/assets/star.svg": () => import("./star.BkjednvI.js"), "../../../../icons/dist/assets/tag.svg": () => import("./tag.yO7uMsHj.js"), "../../../../icons/dist/assets/thumbs-down.svg": () => import("./thumbs-down.DeBD6wnK.js"), "../../../../icons/dist/assets/thumbs-up.svg": () => import("./thumbs-up.D-44gexH.js"), "../../../../icons/dist/assets/triangle-exclamationmark-colored.svg": () => import("./triangle-exclamationmark-colored.CbVC3Gzi.js"), "../../../../icons/dist/assets/triangle-exclamationmark-inverted.svg": () => import("./triangle-exclamationmark-inverted.BiGoK7TV.js"), "../../../../icons/dist/assets/triangle.svg": () => import("./triangle.ibv6NDnt.js"), "../../../../icons/dist/assets/truck.svg": () => import("./truck.xIk5wW6T.js"), "../../../../icons/dist/assets/two-people-screen.svg": () => import("./two-people-screen.BBLouaW4.js"), "../../../../icons/dist/assets/two-sheets.svg": () => import("./two-sheets.DWFmuL7N.js"), "../../../../icons/dist/assets/upload.svg": () => import("./upload.ZImTAIgx.js"), "../../../../icons/dist/assets/user.svg": () => import("./user.BMARueuy.js"), "../../../../icons/dist/assets/vertical-ellipsis.svg": () => import("./vertical-ellipsis.Bc9eBsDF.js"), "../../../../icons/dist/assets/wc.svg": () => import("./wc.gmKE1r5l.js"), "../../../../icons/dist/assets/whatsapp.svg": () => import("./whatsapp.CPpu-7Nn.js"), "../../../../icons/dist/assets/wifi-1bar.svg": () => import("./wifi-1bar.BcEP-r8w.js"), "../../../../icons/dist/assets/wifi-2bars.svg": () => import("./wifi-2bars.jDOd4Q3q.js"), "../../../../icons/dist/assets/wifi-off.svg": () => import("./wifi-off.D9xPqVWn.js"), "../../../../icons/dist/assets/wifi.svg": () => import("./wifi.CuQykF6X.js"), "../../../../icons/dist/assets/wind-rose.svg": () => import("./wind-rose.C-XcKdy-.js"), "../../../../icons/dist/assets/wrench.svg": () => import("./wrench.DMFV2S9u.js"), "../../../../icons/dist/assets/x.svg": () => import("./x.BqbpXd7O.js"), "../../../../icons/dist/assets/xing.svg": () => import("./xing.CiKYLbPq.js"), "../../../../icons/dist/assets/youtube.svg": () => import("./youtube.DrImaRSP.js") }), `../../../../icons/dist/assets/${s}.svg`, 8);
|
|
152
|
+
} catch (c) {
|
|
153
|
+
console.error(c);
|
|
154
|
+
} finally {
|
|
155
|
+
r(!1);
|
|
156
|
+
}
|
|
157
|
+
})());
|
|
158
|
+
}, [s, i]), {
|
|
159
|
+
isLoading: a,
|
|
160
|
+
SVGIcon: (n = t.current) == null ? void 0 : n.default,
|
|
161
|
+
setShouldLoad: e
|
|
162
|
+
};
|
|
163
|
+
}, F = ({
|
|
164
|
+
aria: s,
|
|
165
|
+
className: t,
|
|
166
|
+
name: i = "placeholder",
|
|
167
|
+
size: e = "large",
|
|
168
|
+
source: a,
|
|
169
|
+
theme: r = "light",
|
|
170
|
+
...n
|
|
171
|
+
}) => {
|
|
172
|
+
const { SVGIcon: o, isLoading: c, setShouldLoad: v } = P(i), [, m] = y(i), d = {
|
|
173
|
+
large: 16,
|
|
174
|
+
medium: 12,
|
|
175
|
+
small: 10,
|
|
176
|
+
"x-small": 8
|
|
177
|
+
};
|
|
178
|
+
M(() => {
|
|
179
|
+
m(i);
|
|
180
|
+
}, [i]);
|
|
181
|
+
const { ref: S } = O({
|
|
182
|
+
rootMargin: "200px 0px",
|
|
183
|
+
triggerOnce: !0,
|
|
184
|
+
fallbackInView: !0,
|
|
185
|
+
skip: !!a,
|
|
186
|
+
onChange: (l) => {
|
|
187
|
+
v(l);
|
|
188
|
+
}
|
|
189
|
+
}), h = (l) => (u) => {
|
|
190
|
+
a && u && (u.src = l);
|
|
191
|
+
}, g = E(w.image, t, {
|
|
192
|
+
// custom icons and colored icons do not have a dark theme
|
|
193
|
+
[w.imageThemeDark]: r === "dark" && !a && !i.includes("-colored"),
|
|
194
|
+
[w.imageSizeMedium]: e === "medium",
|
|
195
|
+
[w.imageSizeSmall]: e === "small",
|
|
196
|
+
[w.imageSizeXSmall]: e === "x-small"
|
|
197
|
+
});
|
|
198
|
+
return a ? /* @__PURE__ */ x.jsx(
|
|
199
|
+
"img",
|
|
200
|
+
{
|
|
201
|
+
className: g,
|
|
202
|
+
ref: h(a),
|
|
203
|
+
width: d[e],
|
|
204
|
+
height: d[e],
|
|
205
|
+
loading: "lazy",
|
|
206
|
+
alt: (s == null ? void 0 : s["aria-label"]) || "",
|
|
207
|
+
...n
|
|
208
|
+
}
|
|
209
|
+
) : !c && o ? /* @__PURE__ */ x.jsx(
|
|
210
|
+
o,
|
|
211
|
+
{
|
|
212
|
+
className: g,
|
|
213
|
+
title: (s == null ? void 0 : s["aria-label"]) || "",
|
|
214
|
+
role: s != null && s["aria-label"] ? "img" : void 0,
|
|
215
|
+
...n
|
|
216
|
+
}
|
|
217
|
+
) : /* @__PURE__ */ x.jsx("div", { className: g, ref: S });
|
|
218
|
+
};
|
|
219
|
+
export {
|
|
220
|
+
F as D,
|
|
221
|
+
Z as I,
|
|
222
|
+
P as u
|
|
223
|
+
};
|