@stihl-design-system/components 1.0.0-RC.0
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/LICENSE.md +42 -0
- package/README.md +56 -0
- package/apple-icon.png +0 -0
- package/assets/Asterisk.582f2067.css +1 -0
- package/assets/Button.684e8bda.css +1 -0
- package/assets/ButtonRound.ca8748cf.css +1 -0
- package/assets/Checkbox.84cf6398.css +1 -0
- package/assets/CustomReactSelect.d89ccccb.css +1 -0
- package/assets/Fieldset.5297efb8.css +1 -0
- package/assets/FloatingActionButton.de295f5d.css +1 -0
- package/assets/Heading.32278621.css +1 -0
- package/assets/Icon.8890ee9a.css +1 -0
- package/assets/Input.2c508b2f.css +1 -0
- package/assets/InputPassword.a534f047.css +1 -0
- package/assets/InputSearch.8f986307.css +1 -0
- package/assets/InputStepper.52fb45ca.css +1 -0
- package/assets/Link.03deeca0.css +1 -0
- package/assets/LinkStandalone.7e23a8ac.css +1 -0
- package/assets/Logo.09e48e82.css +1 -0
- package/assets/OptionCheckbox.9c20f6f1.css +1 -0
- package/assets/Radio.be8f06f5.css +1 -0
- package/assets/RadioGroup.8b55ee38.css +1 -0
- package/assets/Select.b2423b5f.css +1 -0
- package/assets/Spinner.af45d460.css +1 -0
- package/assets/Switch.f3ab20de.css +1 -0
- package/assets/SystemFeedback.f4421d60.css +1 -0
- package/assets/Text.4756effe.css +1 -0
- package/assets/Textarea.eecf04b3.css +1 -0
- package/assets/Title.60d50d3e.css +1 -0
- package/asterisk.91abccec.js +8 -0
- package/asterisk.d.ts +1 -0
- package/button.89b2675b.js +135 -0
- package/button.d.ts +1 -0
- package/buttonround.c60c8034.js +118 -0
- package/buttonround.d.ts +1 -0
- package/checkbox.7d414047.js +112 -0
- package/checkbox.d.ts +1 -0
- package/checkboxgroup.d.ts +1 -0
- package/checkboxgroup.e9e25471.js +78 -0
- package/chunks/360.3f3132d9.js +11 -0
- package/chunks/CustomReactSelect.9d0a378a.js +5011 -0
- package/chunks/Input.utils.f8f3286f.js +106 -0
- package/chunks/Link.module.b8230547.js +37 -0
- package/chunks/RadioGroup.module.59ca486a.js +11 -0
- package/chunks/academic-cap.a6849ffc.js +11 -0
- package/chunks/alarm-clock.542230f3.js +11 -0
- package/chunks/arrow-clockwise.0496f663.js +11 -0
- package/chunks/arrow-counterclockwise.635a0130.js +11 -0
- package/chunks/arrow-down-line.0976611e.js +11 -0
- package/chunks/arrow-down.9780d975.js +11 -0
- package/chunks/arrow-edge.3288acdd.js +11 -0
- package/chunks/arrow-left.ace9c808.js +11 -0
- package/chunks/arrow-out.0499f39e.js +11 -0
- package/chunks/arrow-outline-left.efc33275.js +11 -0
- package/chunks/arrow-right.133feef2.js +11 -0
- package/chunks/arrow-up-arrow-down.b612e9b1.js +11 -0
- package/chunks/arrow-up.3be6430a.js +11 -0
- package/chunks/at.6279d12b.js +11 -0
- package/chunks/barcode-scanner.0a4a314d.js +11 -0
- package/chunks/battery.e1249ee1.js +11 -0
- package/chunks/bell.87fe4f0b.js +11 -0
- package/chunks/bin-open.be4290d8.js +11 -0
- package/chunks/bin.b36466f3.js +11 -0
- package/chunks/bluetooth.54b89b90.js +11 -0
- package/chunks/bookmark.4d5ce4c3.js +11 -0
- package/chunks/burger.1301d91e.js +11 -0
- package/chunks/calendar.ba39a664.js +11 -0
- package/chunks/camera.3bed4f3b.js +11 -0
- package/chunks/cart-check.9fb6abdb.js +11 -0
- package/chunks/cart-plus.fd5c4674.js +11 -0
- package/chunks/cart.7516d35c.js +11 -0
- package/chunks/catalog.bd0c7830.js +11 -0
- package/chunks/certificate.1639c28e.js +11 -0
- package/chunks/chain-link.45025ed0.js +11 -0
- package/chunks/chainsaw.56d43a9f.js +11 -0
- package/chunks/check.a08beeae.js +11 -0
- package/chunks/chevron-down.80b0dc85.js +11 -0
- package/chunks/chevron-left.f5feade0.js +11 -0
- package/chunks/chevron-line-left.17b172d1.js +11 -0
- package/chunks/chevron-line-right.7cd234b7.js +11 -0
- package/chunks/chevron-right.259bc1a3.js +11 -0
- package/chunks/chevron-up.d1335850.js +11 -0
- package/chunks/circle-check-colored.98e13ab9.js +11 -0
- package/chunks/circle-check-inverted.db29ab06.js +11 -0
- package/chunks/circle-info-colored.8da47e36.js +11 -0
- package/chunks/circle-info-inverted.0ed118fb.js +11 -0
- package/chunks/circle-pause.55300d1b.js +11 -0
- package/chunks/circle-stroke.203dd7aa.js +11 -0
- package/chunks/circle.33ec82eb.js +11 -0
- package/chunks/clock.3014a102.js +11 -0
- package/chunks/coffee-cup.98d6531f.js +11 -0
- package/chunks/compare.c76b221b.js +11 -0
- package/chunks/connected-box-mobile.9cd742dd.js +11 -0
- package/chunks/connected-box-stationary.191a3ed0.js +11 -0
- package/chunks/connected-box.fe21c39b.js +11 -0
- package/chunks/cross.fe709ee7.js +11 -0
- package/chunks/diamond-exclamationmark-colored.bf3ffccf.js +11 -0
- package/chunks/diamond-exclamationmark-inverted.b5648587.js +11 -0
- package/chunks/diamond.e962c289.js +11 -0
- package/chunks/diskette.04733444.js +11 -0
- package/chunks/distance.9e6b56ff.js +11 -0
- package/chunks/dots-connected.9869fae1.js +11 -0
- package/chunks/download-complete.0b84a7cc.js +11 -0
- package/chunks/envelope-open.3c3fd714.js +11 -0
- package/chunks/envelope.5c9ff834.js +11 -0
- package/chunks/exclamationmark.92afe58f.js +11 -0
- package/chunks/exit.bde46887.js +11 -0
- package/chunks/eye-closed.0b517bb7.js +11 -0
- package/chunks/eye.8f4b311b.js +11 -0
- package/chunks/facebook.4a040606.js +11 -0
- package/chunks/filter.dee66683.js +11 -0
- package/chunks/finger-double-arrow.9cd4c623.js +11 -0
- package/chunks/flash.15646b5e.js +11 -0
- package/chunks/fullscreen.fdd976fe.js +11 -0
- package/chunks/gear.1f5f6fe9.js +11 -0
- package/chunks/globe.7f419498.js +11 -0
- package/chunks/grid.2c1cdc21.js +11 -0
- package/chunks/guidance.63bebf3e.js +11 -0
- package/chunks/haircross.0ac15319.js +11 -0
- package/chunks/hanger.edc848f4.js +11 -0
- package/chunks/headphones.a023699e.js +11 -0
- package/chunks/heart.d4440641.js +11 -0
- package/chunks/helpers.ea3ca41a.js +7 -0
- package/chunks/hexagon-arrow-clockwise.98e9b555.js +11 -0
- package/chunks/horizontal-ellipsis.84419429.js +11 -0
- package/chunks/house.70059642.js +11 -0
- package/chunks/imow.3374e620.js +11 -0
- package/chunks/index.8021d3e0.js +45 -0
- package/chunks/info.1787448e.js +11 -0
- package/chunks/instagram.e12dd682.js +11 -0
- package/chunks/jsx-runtime.5c071667.js +632 -0
- package/chunks/leave-fullscreen.def46043.js +11 -0
- package/chunks/lightbulb.b73d3ebf.js +11 -0
- package/chunks/linkedin.ce0c68cb.js +11 -0
- package/chunks/list-three-rows.ef44c7ef.js +11 -0
- package/chunks/list-two-rows.5ed8f1af.js +11 -0
- package/chunks/loading-spinner.8293421e.js +11 -0
- package/chunks/lock.3cbc8ced.js +11 -0
- package/chunks/magnifying-glass-minus.b0f906e5.js +11 -0
- package/chunks/magnifying-glass-plus.6ffc69c5.js +11 -0
- package/chunks/magnifying-glass.c297e41f.js +11 -0
- package/chunks/map.c96b1dcd.js +11 -0
- package/chunks/minus.7f6676e8.js +11 -0
- package/chunks/mobile.416ee5b0.js +11 -0
- package/chunks/nine-squares.34eeb0d4.js +11 -0
- package/chunks/note-check.aaf92ef9.js +11 -0
- package/chunks/note-plus.e7ab1b93.js +11 -0
- package/chunks/note.cc96375c.js +11 -0
- package/chunks/number-input.076fcf63.js +11 -0
- package/chunks/paperclip.e8831256.js +11 -0
- package/chunks/parcel.75534dbd.js +11 -0
- package/chunks/pause.901567cf.js +11 -0
- package/chunks/pdf.92c1781a.js +11 -0
- package/chunks/pen.ecbcb50d.js +11 -0
- package/chunks/percent.4b7fa587.js +11 -0
- package/chunks/petrol.41999bec.js +11 -0
- package/chunks/phone.3c23c041.js +11 -0
- package/chunks/pin-s.a5519070.js +11 -0
- package/chunks/pin.1137362d.js +11 -0
- package/chunks/pinterest.88763b51.js +11 -0
- package/chunks/placeholder.d6fdaf8f.js +11 -0
- package/chunks/play.dd0f1d8c.js +11 -0
- package/chunks/plug.00f114c4.js +11 -0
- package/chunks/plus.42721ebf.js +11 -0
- package/chunks/printer.5bb7ee0d.js +11 -0
- package/chunks/prohibition-sign.af5616b3.js +11 -0
- package/chunks/questionmark.db94a06d.js +11 -0
- package/chunks/security.2be491e3.js +11 -0
- package/chunks/share.ddae7aef.js +11 -0
- package/chunks/shirt.135d58c1.js +11 -0
- package/chunks/shop.f120426b.js +11 -0
- package/chunks/sound-off.c6f5ed43.js +11 -0
- package/chunks/sound-on.212c36bc.js +11 -0
- package/chunks/speechbubble.9428546e.js +11 -0
- package/chunks/speechbubbles.65cb946e.js +11 -0
- package/chunks/square.452f505f.js +11 -0
- package/chunks/star-half.1458bc5b.js +11 -0
- package/chunks/star.fab17456.js +11 -0
- package/chunks/tag.4d730d72.js +11 -0
- package/chunks/thumbs-down.cbf6e4ec.js +11 -0
- package/chunks/thumbs-up.435754e1.js +11 -0
- package/chunks/triangle-exclamationmark-colored.94025893.js +11 -0
- package/chunks/triangle-exclamationmark-inverted.bc4eed15.js +11 -0
- package/chunks/triangle.bff84ddf.js +11 -0
- package/chunks/truck.a904d6d3.js +11 -0
- package/chunks/two-people-screen.3e509922.js +11 -0
- package/chunks/two-sheets.d1cfef0f.js +11 -0
- package/chunks/upload.7f1850a3.js +11 -0
- package/chunks/useBreakpoint.6c1b06c2.js +48 -0
- package/chunks/user.bf5b30a5.js +11 -0
- package/chunks/vertical-ellipsis.1cac00e5.js +11 -0
- package/chunks/wc.9d108bd0.js +11 -0
- package/chunks/wifi-1bar.b6fc33aa.js +11 -0
- package/chunks/wifi-2bars.27e9da59.js +11 -0
- package/chunks/wifi-off.e5daf3a9.js +11 -0
- package/chunks/wifi.40bb915d.js +11 -0
- package/chunks/wind-rose.27fa658a.js +11 -0
- package/chunks/wrench.69493ef3.js +11 -0
- package/chunks/x.d9da4202.js +11 -0
- package/chunks/xing.e17c1a24.js +11 -0
- package/chunks/youtube.dbf50787.js +11 -0
- package/combobox.d.ts +1 -0
- package/combobox.f98a4472.js +45 -0
- package/components/Asterisk/Asterisk.d.ts +2 -0
- package/components/Button/Button.d.ts +45 -0
- package/components/Button/Button.test.d.ts +1 -0
- package/components/Button/Button.utils.d.ts +6 -0
- package/components/ButtonRound/ButtonRound.d.ts +11 -0
- package/components/ButtonRound/ButtonRound.test.d.ts +1 -0
- package/components/ButtonRound/ButtonRound.utils.d.ts +2 -0
- package/components/Checkbox/Checkbox.d.ts +26 -0
- package/components/Checkbox/Checkbox.test.d.ts +1 -0
- package/components/CheckboxGroup/CheckboxGroup.d.ts +41 -0
- package/components/CheckboxGroup/CheckboxGroup.test.d.ts +1 -0
- package/components/CheckboxGroup/CheckboxGroup.utils.d.ts +4 -0
- package/components/Combobox/Combobox.d.ts +18 -0
- package/components/Combobox/Combobox.test.d.ts +1 -0
- package/components/Combobox/Combobox.utils.d.ts +57 -0
- package/components/Combobox/Combobox.utils.test.d.ts +1 -0
- package/components/CustomReactSelect/CustomReactSelect.d.ts +60 -0
- package/components/CustomReactSelect/CustomReactSelect.utils.d.ts +15 -0
- package/components/CustomReactSelect/CustomReactSelect.utils.test.d.ts +1 -0
- package/components/CustomReactSelect/OptionCheckbox.d.ts +13 -0
- package/components/Fieldset/Fieldset.d.ts +35 -0
- package/components/Fieldset/Fieldset.test.d.ts +1 -0
- package/components/Fieldset/Fieldset.utils.d.ts +10 -0
- package/components/FloatingActionButton/FloatingActionButton.d.ts +13 -0
- package/components/FloatingActionButton/FloatingActionButton.test.d.ts +1 -0
- package/components/Heading/Heading.d.ts +18 -0
- package/components/Heading/Heading.test.d.ts +1 -0
- package/components/Heading/Heading.utils.d.ts +4 -0
- package/components/Icon/Icon.d.ts +23 -0
- package/components/Icon/Icon.test.d.ts +1 -0
- package/components/Icon/Icon.utils.d.ts +12 -0
- package/components/Input/Input.d.ts +54 -0
- package/components/Input/Input.test.d.ts +1 -0
- package/components/Input/Input.utils.d.ts +59 -0
- package/components/Input/Input.utils.test.d.ts +1 -0
- package/components/InputPassword/InputPassword.d.ts +41 -0
- package/components/InputPassword/InputPassword.test.d.ts +1 -0
- package/components/InputPassword/InputPassword.utils.d.ts +12 -0
- package/components/InputPassword/InputPassword.utils.test.d.ts +1 -0
- package/components/InputSearch/InputSearch.d.ts +44 -0
- package/components/InputSearch/InputSearch.test.d.ts +1 -0
- package/components/InputSearch/InputSearch.utils.d.ts +23 -0
- package/components/InputSearch/InputSearch.utils.test.d.ts +1 -0
- package/components/InputStepper/InputStepper.d.ts +52 -0
- package/components/InputStepper/InputStepper.test.d.ts +1 -0
- package/components/InputStepper/InputStepper.utils.d.ts +12 -0
- package/components/InputStepper/InputStepper.utils.test.d.ts +1 -0
- package/components/Link/Link.d.ts +50 -0
- package/components/Link/Link.test.d.ts +1 -0
- package/components/Link/Link.utils.d.ts +8 -0
- package/components/LinkStandalone/LinkStandalone.d.ts +15 -0
- package/components/LinkStandalone/LinkStandalone.test.d.ts +1 -0
- package/components/LinkStandalone/LinkStandalone.utils.d.ts +2 -0
- package/components/Logo/Logo.d.ts +21 -0
- package/components/Logo/Logo.utils.d.ts +3 -0
- package/components/Radio/Radio.d.ts +27 -0
- package/components/Radio/Radio.test.d.ts +1 -0
- package/components/RadioGroup/RadioGroup.d.ts +56 -0
- package/components/RadioGroup/RadioGroup.test.d.ts +1 -0
- package/components/RadioGroup/RadioGroup.utils.d.ts +6 -0
- package/components/Select/Select.d.ts +43 -0
- package/components/Select/Select.test.d.ts +1 -0
- package/components/Select/Select.utils.d.ts +35 -0
- package/components/Select/Select.utils.test.d.ts +1 -0
- package/components/Spinner/Spinner.d.ts +14 -0
- package/components/Spinner/Spinner.test.d.ts +1 -0
- package/components/Spinner/Spinner.utils.d.ts +3 -0
- package/components/Switch/Switch.d.ts +29 -0
- package/components/Switch/Switch.test.d.ts +1 -0
- package/components/Switch/Switch.utils.d.ts +2 -0
- package/components/SystemFeedback/SystemFeedback.d.ts +9 -0
- package/components/SystemFeedback/SystemFeedback.test.d.ts +1 -0
- package/components/SystemFeedback/SystemFeedback.utils.d.ts +8 -0
- package/components/Text/Text.d.ts +21 -0
- package/components/Text/Text.test.d.ts +1 -0
- package/components/Text/Text.utils.d.ts +6 -0
- package/components/Textarea/Textarea.d.ts +42 -0
- package/components/Textarea/Textarea.test.d.ts +1 -0
- package/components/Textarea/Textarea.utils.d.ts +13 -0
- package/components/Textarea/Textarea.utils.test.d.ts +1 -0
- package/components/Title/Title.d.ts +20 -0
- package/components/Title/Title.test.d.ts +1 -0
- package/components/Title/Title.utils.d.ts +3 -0
- package/customreactselect.a53f9932.js +13 -0
- package/customreactselect.d.ts +1 -0
- package/favicon.ico +0 -0
- package/fieldset.d.ts +1 -0
- package/fieldset.fb7b7e49.js +98 -0
- package/floatingactionbutton.281b5465.js +87 -0
- package/floatingactionbutton.d.ts +1 -0
- package/heading.cb7698f4.js +44 -0
- package/heading.d.ts +1 -0
- package/icon-192.png +0 -0
- package/icon-512.png +0 -0
- package/icon.b4211784.js +215 -0
- package/icon.d.ts +1 -0
- package/icon.svg +1 -0
- package/index.d.ts +23 -0
- package/index.es.js +49 -0
- package/input.abb902e3.js +228 -0
- package/input.d.ts +1 -0
- package/inputpassword.11c12c66.js +139 -0
- package/inputpassword.d.ts +1 -0
- package/inputsearch.0c88e71a.js +188 -0
- package/inputsearch.d.ts +1 -0
- package/inputstepper.b74dac4d.js +284 -0
- package/inputstepper.d.ts +1 -0
- package/link.cd3720d1.js +84 -0
- package/link.d.ts +1 -0
- package/linkstandalone.26b52de0.js +80 -0
- package/linkstandalone.d.ts +1 -0
- package/logo.d.ts +1 -0
- package/logo.e6576fe3.js +68 -0
- package/manifest.json +6 -0
- package/manifest.webmanifest +6 -0
- package/optioncheckbox.7195f001.js +43 -0
- package/optioncheckbox.d.ts +1 -0
- package/package.json +125 -0
- package/partials/apple-icon.png +0 -0
- package/partials/copyAssets.js +84 -0
- package/partials/favicon.ico +0 -0
- package/partials/icon-192.png +0 -0
- package/partials/icon-512.png +0 -0
- package/partials/icon.svg +1 -0
- package/partials/index.d.ts +2 -0
- package/partials/index.js +2167 -0
- package/partials/lib/partials.d.ts +17 -0
- package/partials/manifest.json +6 -0
- package/partials/manifest.webmanifest +6 -0
- package/partials/shared.d.ts +2 -0
- package/radio.1b205d64.js +79 -0
- package/radio.d.ts +1 -0
- package/radiogroup.6a22fe96.js +100 -0
- package/radiogroup.d.ts +1 -0
- package/react.svg +1 -0
- package/select.2ff31eab.js +188 -0
- package/select.d.ts +1 -0
- package/spinner.d.ts +1 -0
- package/spinner.ee015469.js +58 -0
- 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/styles/fonts/font-face.min.css +1 -0
- package/styles/fonts/index.es.js +1 -0
- package/styles/scss/_index.scss +21 -0
- package/styles/scss/lib/_a11y.scss +15 -0
- package/styles/scss/lib/_animation.scss +6 -0
- package/styles/scss/lib/_breakpoints.scss +16 -0
- package/styles/scss/lib/_container-query.scss +58 -0
- package/styles/scss/lib/_focus.scss +61 -0
- package/styles/scss/lib/_grid-extended.scss +11 -0
- package/styles/scss/lib/_grid-full.scss +6 -0
- package/styles/scss/lib/_grid-main.scss +117 -0
- package/styles/scss/lib/_grid-narrow.scss +14 -0
- package/styles/scss/lib/_grid-sidebar-sidebar.scss +48 -0
- package/styles/scss/lib/_grid-sidebar.scss +174 -0
- package/styles/scss/lib/_grid.scss +86 -0
- package/styles/scss/lib/_heading.scss +45 -0
- package/styles/scss/lib/_helpers.scss +3 -0
- package/styles/scss/lib/_hover.scss +10 -0
- package/styles/scss/lib/_link.scss +155 -0
- package/styles/scss/lib/_media-query.scss +32 -0
- package/styles/scss/lib/_spacing.scss +18 -0
- package/styles/scss/lib/_text.scss +63 -0
- package/styles/scss/lib/_theme.scss +160 -0
- package/styles/scss/lib/_transition.scss +26 -0
- package/switch.2f011fcc.js +65 -0
- package/switch.d.ts +1 -0
- package/systemfeedback.6bbd1505.js +25 -0
- package/systemfeedback.d.ts +1 -0
- package/text.8d80704f.js +57 -0
- package/text.d.ts +1 -0
- package/textarea.d.ts +1 -0
- package/textarea.e156b0ce.js +189 -0
- package/title.d.ts +1 -0
- package/title.d855a8e4.js +36 -0
- package/types/aria-types.d.ts +330 -0
- package/types/common-types.d.ts +13 -0
- package/types/icon-types.d.ts +2 -0
- package/types/index.d.ts +3 -0
- package/utils/breakpoint-customizable.d.ts +12 -0
- package/utils/has-document.d.ts +1 -0
- package/utils/has-window.d.ts +1 -0
- package/utils/helpers.d.ts +27 -0
- package/utils/helpers.test.d.ts +1 -0
- package/utils/index.d.ts +4 -0
- package/utils/link-target.d.ts +2 -0
- package/utils/render-documentation.d.ts +26 -0
- package/utils/theme.d.ts +2 -0
- package/utils/useBreakpoint.d.ts +12 -0
- package/utils/useBreakpoint.test.d.ts +1 -0
- package/utils/vitest.setup.d.ts +0 -0
- package/utils/wait-for-icon.d.ts +25 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import "./assets/FloatingActionButton.de295f5d.css";
|
|
2
|
+
import { j as e } from "./chunks/jsx-runtime.5c071667.js";
|
|
3
|
+
import { c as t } from "./chunks/index.8021d3e0.js";
|
|
4
|
+
import { DSIcon as k } from "./icon.b4211784.js";
|
|
5
|
+
import { DSSpinner as x } from "./spinner.ee015469.js";
|
|
6
|
+
const D = "_root_o4ew1_25", S = "_root--dark_o4ew1_82", j = "_root--small_o4ew1_122", H = "_loader_o4ew1_141", y = "_icon--hidden_o4ew1_153", N = "_label--hidden_o4ew1_157", o = {
|
|
7
|
+
root: D,
|
|
8
|
+
"root--dark": "_root--dark_o4ew1_82",
|
|
9
|
+
rootDark: S,
|
|
10
|
+
"root--small": "_root--small_o4ew1_122",
|
|
11
|
+
rootSmall: j,
|
|
12
|
+
loader: H,
|
|
13
|
+
"icon--hidden": "_icon--hidden_o4ew1_153",
|
|
14
|
+
iconHidden: y,
|
|
15
|
+
"label--hidden": "_label--hidden_o4ew1_157",
|
|
16
|
+
labelHidden: N
|
|
17
|
+
}, E = ({
|
|
18
|
+
aria: c,
|
|
19
|
+
children: _,
|
|
20
|
+
className: m,
|
|
21
|
+
dataTrackingid: p,
|
|
22
|
+
disabled: r = !1,
|
|
23
|
+
iconName: l = "placeholder",
|
|
24
|
+
iconSource: s,
|
|
25
|
+
loading: a = !1,
|
|
26
|
+
size: b = "medium",
|
|
27
|
+
theme: n = "light",
|
|
28
|
+
onClick: i,
|
|
29
|
+
...u
|
|
30
|
+
}) => {
|
|
31
|
+
const h = t(
|
|
32
|
+
o.root,
|
|
33
|
+
o.rootIconOnlySmall,
|
|
34
|
+
m,
|
|
35
|
+
{
|
|
36
|
+
// dark theme
|
|
37
|
+
[o.rootDark]: n === "dark",
|
|
38
|
+
// size
|
|
39
|
+
[o.rootSmall]: b === "small"
|
|
40
|
+
}
|
|
41
|
+
), w = t(o.icon, {
|
|
42
|
+
// set icon opacity to 0 when loading to prevent button size from changing
|
|
43
|
+
[o.iconHidden]: a
|
|
44
|
+
}), f = (d) => {
|
|
45
|
+
if (r || a) {
|
|
46
|
+
d.preventDefault();
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
i && i(d);
|
|
50
|
+
};
|
|
51
|
+
return /* @__PURE__ */ e.jsxs(
|
|
52
|
+
"button",
|
|
53
|
+
{
|
|
54
|
+
className: h,
|
|
55
|
+
"data-trackingid": p,
|
|
56
|
+
type: "button",
|
|
57
|
+
onClick: f,
|
|
58
|
+
...c,
|
|
59
|
+
...u,
|
|
60
|
+
"aria-disabled": r || a,
|
|
61
|
+
"aria-busy": a,
|
|
62
|
+
children: [
|
|
63
|
+
a && /* @__PURE__ */ e.jsx(
|
|
64
|
+
x,
|
|
65
|
+
{
|
|
66
|
+
className: o.loader,
|
|
67
|
+
aria: { "aria-label": "Loading state" }
|
|
68
|
+
}
|
|
69
|
+
),
|
|
70
|
+
/* @__PURE__ */ e.jsx("span", { className: t(o.label, o.labelHidden), children: _ }),
|
|
71
|
+
(l || s) && /* @__PURE__ */ e.jsx(
|
|
72
|
+
k,
|
|
73
|
+
{
|
|
74
|
+
name: l,
|
|
75
|
+
theme: n,
|
|
76
|
+
source: s,
|
|
77
|
+
className: w,
|
|
78
|
+
"aria-hidden": "true"
|
|
79
|
+
}
|
|
80
|
+
)
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
);
|
|
84
|
+
};
|
|
85
|
+
export {
|
|
86
|
+
E as DSFloatingActionButton
|
|
87
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/FloatingActionButton/FloatingActionButton'
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import "./assets/Heading.32278621.css";
|
|
2
|
+
import { j as p } from "./chunks/jsx-runtime.5c071667.js";
|
|
3
|
+
import { c } from "./chunks/index.8021d3e0.js";
|
|
4
|
+
const u = "_root_17wr7_25", d = "_root--x-large_17wr7_28", g = "_root--large_17wr7_42", i = "_root--medium_17wr7_56", n = "_root--medium-uppercase_17wr7_64", w = "_root--small_17wr7_72", h = "_root--small-uppercase_17wr7_80", x = "_root--theme-dark_17wr7_88", o = {
|
|
5
|
+
root: u,
|
|
6
|
+
"root--x-large": "_root--x-large_17wr7_28",
|
|
7
|
+
rootXLarge: d,
|
|
8
|
+
"root--large": "_root--large_17wr7_42",
|
|
9
|
+
rootLarge: g,
|
|
10
|
+
"root--medium": "_root--medium_17wr7_56",
|
|
11
|
+
rootMedium: i,
|
|
12
|
+
"root--medium-uppercase": "_root--medium-uppercase_17wr7_64",
|
|
13
|
+
rootMediumUppercase: n,
|
|
14
|
+
"root--small": "_root--small_17wr7_72",
|
|
15
|
+
rootSmall: w,
|
|
16
|
+
"root--small-uppercase": "_root--small-uppercase_17wr7_80",
|
|
17
|
+
rootSmallUppercase: h,
|
|
18
|
+
"root--theme-dark": "_root--theme-dark_17wr7_88",
|
|
19
|
+
rootThemeDark: x
|
|
20
|
+
}, M = ({
|
|
21
|
+
children: e,
|
|
22
|
+
className: t,
|
|
23
|
+
size: r = "medium",
|
|
24
|
+
tag: a = "h2",
|
|
25
|
+
// default tag because of SEO reasons (h1 should be used only once per page)
|
|
26
|
+
theme: m = "light",
|
|
27
|
+
..._
|
|
28
|
+
}) => {
|
|
29
|
+
const s = a, l = c(o.root, t, {
|
|
30
|
+
// sizes
|
|
31
|
+
[o.rootXLarge]: r === "x-large",
|
|
32
|
+
[o.rootLarge]: r === "large",
|
|
33
|
+
[o.rootMedium]: r == "medium",
|
|
34
|
+
[o.rootMediumUppercase]: r == "medium-uppercase",
|
|
35
|
+
[o.rootSmall]: r == "small",
|
|
36
|
+
[o.rootSmallUppercase]: r == "small-uppercase",
|
|
37
|
+
// dark theme
|
|
38
|
+
[o.rootThemeDark]: m === "dark"
|
|
39
|
+
});
|
|
40
|
+
return /* @__PURE__ */ p.jsx(s, { className: l, ..._, children: e });
|
|
41
|
+
};
|
|
42
|
+
export {
|
|
43
|
+
M as DSHeading
|
|
44
|
+
};
|
package/heading.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/Heading/Heading'
|
package/icon-192.png
ADDED
|
Binary file
|
package/icon-512.png
ADDED
|
Binary file
|
package/icon.b4211784.js
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import "./assets/Icon.8890ee9a.css";
|
|
2
|
+
import { j as x } from "./chunks/jsx-runtime.5c071667.js";
|
|
3
|
+
import { c as E } from "./chunks/index.8021d3e0.js";
|
|
4
|
+
import * as b from "react";
|
|
5
|
+
import { useRef as T, useState as y, useEffect as j } from "react";
|
|
6
|
+
var z = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new WeakMap(), M = 0, V = void 0;
|
|
7
|
+
function D(s) {
|
|
8
|
+
return s ? (_.has(s) || (M += 1, _.set(s, M.toString())), _.get(s)) : "0";
|
|
9
|
+
}
|
|
10
|
+
function L(s) {
|
|
11
|
+
return Object.keys(s).sort().filter(
|
|
12
|
+
(i) => s[i] !== void 0
|
|
13
|
+
).map((i) => `${i}_${i === "root" ? D(s.root) : s[i]}`).toString();
|
|
14
|
+
}
|
|
15
|
+
function q(s) {
|
|
16
|
+
const i = L(s);
|
|
17
|
+
let t = z.get(i);
|
|
18
|
+
if (!t) {
|
|
19
|
+
const o = /* @__PURE__ */ new Map();
|
|
20
|
+
let r;
|
|
21
|
+
const a = new IntersectionObserver((n) => {
|
|
22
|
+
n.forEach((e) => {
|
|
23
|
+
var c;
|
|
24
|
+
const v = e.isIntersecting && r.some((m) => e.intersectionRatio >= m);
|
|
25
|
+
s.trackVisibility && typeof e.isVisible > "u" && (e.isVisible = v), (c = o.get(e.target)) == null || c.forEach((m) => {
|
|
26
|
+
m(v, e);
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
}, s);
|
|
30
|
+
r = a.thresholds || (Array.isArray(s.threshold) ? s.threshold : [s.threshold || 0]), t = {
|
|
31
|
+
id: i,
|
|
32
|
+
observer: a,
|
|
33
|
+
elements: o
|
|
34
|
+
}, z.set(i, t);
|
|
35
|
+
}
|
|
36
|
+
return t;
|
|
37
|
+
}
|
|
38
|
+
function C(s, i, t = {}, o = V) {
|
|
39
|
+
if (typeof window.IntersectionObserver > "u" && o !== void 0) {
|
|
40
|
+
const c = s.getBoundingClientRect();
|
|
41
|
+
return i(o, {
|
|
42
|
+
isIntersecting: o,
|
|
43
|
+
target: s,
|
|
44
|
+
intersectionRatio: typeof t.threshold == "number" ? t.threshold : 0,
|
|
45
|
+
time: 0,
|
|
46
|
+
boundingClientRect: c,
|
|
47
|
+
intersectionRect: c,
|
|
48
|
+
rootBounds: c
|
|
49
|
+
}), () => {
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
const { id: r, observer: a, elements: n } = q(t), e = n.get(s) || [];
|
|
53
|
+
return n.has(s) || n.set(s, e), e.push(i), a.observe(s), function() {
|
|
54
|
+
e.splice(e.indexOf(i), 1), e.length === 0 && (n.delete(s), a.unobserve(s)), n.size === 0 && (a.disconnect(), z.delete(r));
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function O({
|
|
58
|
+
threshold: s,
|
|
59
|
+
delay: i,
|
|
60
|
+
trackVisibility: t,
|
|
61
|
+
rootMargin: o,
|
|
62
|
+
root: r,
|
|
63
|
+
triggerOnce: a,
|
|
64
|
+
skip: n,
|
|
65
|
+
initialInView: e,
|
|
66
|
+
fallbackInView: c,
|
|
67
|
+
onChange: v
|
|
68
|
+
} = {}) {
|
|
69
|
+
var m;
|
|
70
|
+
const [d, k] = b.useState(null), h = b.useRef(), [g, l] = b.useState({
|
|
71
|
+
inView: !!e,
|
|
72
|
+
entry: void 0
|
|
73
|
+
});
|
|
74
|
+
h.current = v, b.useEffect(
|
|
75
|
+
() => {
|
|
76
|
+
if (n || !d)
|
|
77
|
+
return;
|
|
78
|
+
let f;
|
|
79
|
+
return f = C(
|
|
80
|
+
d,
|
|
81
|
+
(R, S) => {
|
|
82
|
+
l({
|
|
83
|
+
inView: R,
|
|
84
|
+
entry: S
|
|
85
|
+
}), h.current && h.current(R, S), S.isIntersecting && a && f && (f(), f = void 0);
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
root: r,
|
|
89
|
+
rootMargin: o,
|
|
90
|
+
threshold: s,
|
|
91
|
+
// @ts-ignore
|
|
92
|
+
trackVisibility: t,
|
|
93
|
+
// @ts-ignore
|
|
94
|
+
delay: i
|
|
95
|
+
},
|
|
96
|
+
c
|
|
97
|
+
), () => {
|
|
98
|
+
f && f();
|
|
99
|
+
};
|
|
100
|
+
},
|
|
101
|
+
// We break the rule here, because we aren't including the actual `threshold` variable
|
|
102
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
103
|
+
[
|
|
104
|
+
// If the threshold is an array, convert it to a string, so it won't change between renders.
|
|
105
|
+
Array.isArray(s) ? s.toString() : s,
|
|
106
|
+
d,
|
|
107
|
+
r,
|
|
108
|
+
o,
|
|
109
|
+
a,
|
|
110
|
+
n,
|
|
111
|
+
t,
|
|
112
|
+
c,
|
|
113
|
+
i
|
|
114
|
+
]
|
|
115
|
+
);
|
|
116
|
+
const u = (m = g.entry) == null ? void 0 : m.target, I = b.useRef();
|
|
117
|
+
!d && u && !a && !n && I.current !== u && (I.current = u, l({
|
|
118
|
+
inView: !!e,
|
|
119
|
+
entry: void 0
|
|
120
|
+
}));
|
|
121
|
+
const p = [k, g.inView, g.entry];
|
|
122
|
+
return p.ref = p[0], p.inView = p[1], p.entry = p[2], p;
|
|
123
|
+
}
|
|
124
|
+
const A = "_image_18l0e_25", N = "_image--theme-dark_18l0e_34", X = "_image--size-medium_18l0e_37", $ = "_image--size-small_18l0e_43", B = "_image--size-x-small_18l0e_49", w = {
|
|
125
|
+
image: A,
|
|
126
|
+
"image--theme-dark": "_image--theme-dark_18l0e_34",
|
|
127
|
+
imageThemeDark: N,
|
|
128
|
+
"image--size-medium": "_image--size-medium_18l0e_37",
|
|
129
|
+
imageSizeMedium: X,
|
|
130
|
+
"image--size-small": "_image--size-small_18l0e_43",
|
|
131
|
+
imageSizeSmall: $,
|
|
132
|
+
"image--size-x-small": "_image--size-x-small_18l0e_49",
|
|
133
|
+
imageSizeXSmall: B
|
|
134
|
+
}, G = (s, i) => {
|
|
135
|
+
const t = s[i];
|
|
136
|
+
return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((o, r) => {
|
|
137
|
+
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(r.bind(null, new Error("Unknown variable dynamic import: " + i)));
|
|
138
|
+
});
|
|
139
|
+
}, P = (s) => {
|
|
140
|
+
var n;
|
|
141
|
+
const i = T(), [t, o] = y(!1), [r, a] = y(!0);
|
|
142
|
+
return j(() => {
|
|
143
|
+
t && (a(!0), (async () => {
|
|
144
|
+
try {
|
|
145
|
+
i.current = await G(/* @__PURE__ */ Object.assign({ "../../../../icons/dist/assets/360.svg": () => import("./chunks/360.3f3132d9.js"), "../../../../icons/dist/assets/academic-cap.svg": () => import("./chunks/academic-cap.a6849ffc.js"), "../../../../icons/dist/assets/alarm-clock.svg": () => import("./chunks/alarm-clock.542230f3.js"), "../../../../icons/dist/assets/arrow-clockwise.svg": () => import("./chunks/arrow-clockwise.0496f663.js"), "../../../../icons/dist/assets/arrow-counterclockwise.svg": () => import("./chunks/arrow-counterclockwise.635a0130.js"), "../../../../icons/dist/assets/arrow-down-line.svg": () => import("./chunks/arrow-down-line.0976611e.js"), "../../../../icons/dist/assets/arrow-down.svg": () => import("./chunks/arrow-down.9780d975.js"), "../../../../icons/dist/assets/arrow-edge.svg": () => import("./chunks/arrow-edge.3288acdd.js"), "../../../../icons/dist/assets/arrow-left.svg": () => import("./chunks/arrow-left.ace9c808.js"), "../../../../icons/dist/assets/arrow-out.svg": () => import("./chunks/arrow-out.0499f39e.js"), "../../../../icons/dist/assets/arrow-outline-left.svg": () => import("./chunks/arrow-outline-left.efc33275.js"), "../../../../icons/dist/assets/arrow-right.svg": () => import("./chunks/arrow-right.133feef2.js"), "../../../../icons/dist/assets/arrow-up-arrow-down.svg": () => import("./chunks/arrow-up-arrow-down.b612e9b1.js"), "../../../../icons/dist/assets/arrow-up.svg": () => import("./chunks/arrow-up.3be6430a.js"), "../../../../icons/dist/assets/at.svg": () => import("./chunks/at.6279d12b.js"), "../../../../icons/dist/assets/barcode-scanner.svg": () => import("./chunks/barcode-scanner.0a4a314d.js"), "../../../../icons/dist/assets/battery.svg": () => import("./chunks/battery.e1249ee1.js"), "../../../../icons/dist/assets/bell.svg": () => import("./chunks/bell.87fe4f0b.js"), "../../../../icons/dist/assets/bin-open.svg": () => import("./chunks/bin-open.be4290d8.js"), "../../../../icons/dist/assets/bin.svg": () => import("./chunks/bin.b36466f3.js"), "../../../../icons/dist/assets/bluetooth.svg": () => import("./chunks/bluetooth.54b89b90.js"), "../../../../icons/dist/assets/bookmark.svg": () => import("./chunks/bookmark.4d5ce4c3.js"), "../../../../icons/dist/assets/burger.svg": () => import("./chunks/burger.1301d91e.js"), "../../../../icons/dist/assets/calendar.svg": () => import("./chunks/calendar.ba39a664.js"), "../../../../icons/dist/assets/camera.svg": () => import("./chunks/camera.3bed4f3b.js"), "../../../../icons/dist/assets/cart-check.svg": () => import("./chunks/cart-check.9fb6abdb.js"), "../../../../icons/dist/assets/cart-plus.svg": () => import("./chunks/cart-plus.fd5c4674.js"), "../../../../icons/dist/assets/cart.svg": () => import("./chunks/cart.7516d35c.js"), "../../../../icons/dist/assets/catalog.svg": () => import("./chunks/catalog.bd0c7830.js"), "../../../../icons/dist/assets/certificate.svg": () => import("./chunks/certificate.1639c28e.js"), "../../../../icons/dist/assets/chain-link.svg": () => import("./chunks/chain-link.45025ed0.js"), "../../../../icons/dist/assets/chainsaw.svg": () => import("./chunks/chainsaw.56d43a9f.js"), "../../../../icons/dist/assets/check.svg": () => import("./chunks/check.a08beeae.js"), "../../../../icons/dist/assets/chevron-down.svg": () => import("./chunks/chevron-down.80b0dc85.js"), "../../../../icons/dist/assets/chevron-left.svg": () => import("./chunks/chevron-left.f5feade0.js"), "../../../../icons/dist/assets/chevron-line-left.svg": () => import("./chunks/chevron-line-left.17b172d1.js"), "../../../../icons/dist/assets/chevron-line-right.svg": () => import("./chunks/chevron-line-right.7cd234b7.js"), "../../../../icons/dist/assets/chevron-right.svg": () => import("./chunks/chevron-right.259bc1a3.js"), "../../../../icons/dist/assets/chevron-up.svg": () => import("./chunks/chevron-up.d1335850.js"), "../../../../icons/dist/assets/circle-check-colored.svg": () => import("./chunks/circle-check-colored.98e13ab9.js"), "../../../../icons/dist/assets/circle-check-inverted.svg": () => import("./chunks/circle-check-inverted.db29ab06.js"), "../../../../icons/dist/assets/circle-info-colored.svg": () => import("./chunks/circle-info-colored.8da47e36.js"), "../../../../icons/dist/assets/circle-info-inverted.svg": () => import("./chunks/circle-info-inverted.0ed118fb.js"), "../../../../icons/dist/assets/circle-pause.svg": () => import("./chunks/circle-pause.55300d1b.js"), "../../../../icons/dist/assets/circle-stroke.svg": () => import("./chunks/circle-stroke.203dd7aa.js"), "../../../../icons/dist/assets/circle.svg": () => import("./chunks/circle.33ec82eb.js"), "../../../../icons/dist/assets/clock.svg": () => import("./chunks/clock.3014a102.js"), "../../../../icons/dist/assets/coffee-cup.svg": () => import("./chunks/coffee-cup.98d6531f.js"), "../../../../icons/dist/assets/compare.svg": () => import("./chunks/compare.c76b221b.js"), "../../../../icons/dist/assets/connected-box-mobile.svg": () => import("./chunks/connected-box-mobile.9cd742dd.js"), "../../../../icons/dist/assets/connected-box-stationary.svg": () => import("./chunks/connected-box-stationary.191a3ed0.js"), "../../../../icons/dist/assets/connected-box.svg": () => import("./chunks/connected-box.fe21c39b.js"), "../../../../icons/dist/assets/cross.svg": () => import("./chunks/cross.fe709ee7.js"), "../../../../icons/dist/assets/diamond-exclamationmark-colored.svg": () => import("./chunks/diamond-exclamationmark-colored.bf3ffccf.js"), "../../../../icons/dist/assets/diamond-exclamationmark-inverted.svg": () => import("./chunks/diamond-exclamationmark-inverted.b5648587.js"), "../../../../icons/dist/assets/diamond.svg": () => import("./chunks/diamond.e962c289.js"), "../../../../icons/dist/assets/diskette.svg": () => import("./chunks/diskette.04733444.js"), "../../../../icons/dist/assets/distance.svg": () => import("./chunks/distance.9e6b56ff.js"), "../../../../icons/dist/assets/dots-connected.svg": () => import("./chunks/dots-connected.9869fae1.js"), "../../../../icons/dist/assets/download-complete.svg": () => import("./chunks/download-complete.0b84a7cc.js"), "../../../../icons/dist/assets/envelope-open.svg": () => import("./chunks/envelope-open.3c3fd714.js"), "../../../../icons/dist/assets/envelope.svg": () => import("./chunks/envelope.5c9ff834.js"), "../../../../icons/dist/assets/exclamationmark.svg": () => import("./chunks/exclamationmark.92afe58f.js"), "../../../../icons/dist/assets/exit.svg": () => import("./chunks/exit.bde46887.js"), "../../../../icons/dist/assets/eye-closed.svg": () => import("./chunks/eye-closed.0b517bb7.js"), "../../../../icons/dist/assets/eye.svg": () => import("./chunks/eye.8f4b311b.js"), "../../../../icons/dist/assets/facebook.svg": () => import("./chunks/facebook.4a040606.js"), "../../../../icons/dist/assets/filter.svg": () => import("./chunks/filter.dee66683.js"), "../../../../icons/dist/assets/finger-double-arrow.svg": () => import("./chunks/finger-double-arrow.9cd4c623.js"), "../../../../icons/dist/assets/flash.svg": () => import("./chunks/flash.15646b5e.js"), "../../../../icons/dist/assets/fullscreen.svg": () => import("./chunks/fullscreen.fdd976fe.js"), "../../../../icons/dist/assets/gear.svg": () => import("./chunks/gear.1f5f6fe9.js"), "../../../../icons/dist/assets/globe.svg": () => import("./chunks/globe.7f419498.js"), "../../../../icons/dist/assets/grid.svg": () => import("./chunks/grid.2c1cdc21.js"), "../../../../icons/dist/assets/guidance.svg": () => import("./chunks/guidance.63bebf3e.js"), "../../../../icons/dist/assets/haircross.svg": () => import("./chunks/haircross.0ac15319.js"), "../../../../icons/dist/assets/hanger.svg": () => import("./chunks/hanger.edc848f4.js"), "../../../../icons/dist/assets/headphones.svg": () => import("./chunks/headphones.a023699e.js"), "../../../../icons/dist/assets/heart.svg": () => import("./chunks/heart.d4440641.js"), "../../../../icons/dist/assets/hexagon-arrow-clockwise.svg": () => import("./chunks/hexagon-arrow-clockwise.98e9b555.js"), "../../../../icons/dist/assets/horizontal-ellipsis.svg": () => import("./chunks/horizontal-ellipsis.84419429.js"), "../../../../icons/dist/assets/house.svg": () => import("./chunks/house.70059642.js"), "../../../../icons/dist/assets/imow.svg": () => import("./chunks/imow.3374e620.js"), "../../../../icons/dist/assets/info.svg": () => import("./chunks/info.1787448e.js"), "../../../../icons/dist/assets/instagram.svg": () => import("./chunks/instagram.e12dd682.js"), "../../../../icons/dist/assets/leave-fullscreen.svg": () => import("./chunks/leave-fullscreen.def46043.js"), "../../../../icons/dist/assets/lightbulb.svg": () => import("./chunks/lightbulb.b73d3ebf.js"), "../../../../icons/dist/assets/linkedin.svg": () => import("./chunks/linkedin.ce0c68cb.js"), "../../../../icons/dist/assets/list-three-rows.svg": () => import("./chunks/list-three-rows.ef44c7ef.js"), "../../../../icons/dist/assets/list-two-rows.svg": () => import("./chunks/list-two-rows.5ed8f1af.js"), "../../../../icons/dist/assets/loading-spinner.svg": () => import("./chunks/loading-spinner.8293421e.js"), "../../../../icons/dist/assets/lock.svg": () => import("./chunks/lock.3cbc8ced.js"), "../../../../icons/dist/assets/magnifying-glass-minus.svg": () => import("./chunks/magnifying-glass-minus.b0f906e5.js"), "../../../../icons/dist/assets/magnifying-glass-plus.svg": () => import("./chunks/magnifying-glass-plus.6ffc69c5.js"), "../../../../icons/dist/assets/magnifying-glass.svg": () => import("./chunks/magnifying-glass.c297e41f.js"), "../../../../icons/dist/assets/map.svg": () => import("./chunks/map.c96b1dcd.js"), "../../../../icons/dist/assets/minus.svg": () => import("./chunks/minus.7f6676e8.js"), "../../../../icons/dist/assets/mobile.svg": () => import("./chunks/mobile.416ee5b0.js"), "../../../../icons/dist/assets/nine-squares.svg": () => import("./chunks/nine-squares.34eeb0d4.js"), "../../../../icons/dist/assets/note-check.svg": () => import("./chunks/note-check.aaf92ef9.js"), "../../../../icons/dist/assets/note-plus.svg": () => import("./chunks/note-plus.e7ab1b93.js"), "../../../../icons/dist/assets/note.svg": () => import("./chunks/note.cc96375c.js"), "../../../../icons/dist/assets/number-input.svg": () => import("./chunks/number-input.076fcf63.js"), "../../../../icons/dist/assets/paperclip.svg": () => import("./chunks/paperclip.e8831256.js"), "../../../../icons/dist/assets/parcel.svg": () => import("./chunks/parcel.75534dbd.js"), "../../../../icons/dist/assets/pause.svg": () => import("./chunks/pause.901567cf.js"), "../../../../icons/dist/assets/pdf.svg": () => import("./chunks/pdf.92c1781a.js"), "../../../../icons/dist/assets/pen.svg": () => import("./chunks/pen.ecbcb50d.js"), "../../../../icons/dist/assets/percent.svg": () => import("./chunks/percent.4b7fa587.js"), "../../../../icons/dist/assets/petrol.svg": () => import("./chunks/petrol.41999bec.js"), "../../../../icons/dist/assets/phone.svg": () => import("./chunks/phone.3c23c041.js"), "../../../../icons/dist/assets/pin-s.svg": () => import("./chunks/pin-s.a5519070.js"), "../../../../icons/dist/assets/pin.svg": () => import("./chunks/pin.1137362d.js"), "../../../../icons/dist/assets/pinterest.svg": () => import("./chunks/pinterest.88763b51.js"), "../../../../icons/dist/assets/placeholder.svg": () => import("./chunks/placeholder.d6fdaf8f.js"), "../../../../icons/dist/assets/play.svg": () => import("./chunks/play.dd0f1d8c.js"), "../../../../icons/dist/assets/plug.svg": () => import("./chunks/plug.00f114c4.js"), "../../../../icons/dist/assets/plus.svg": () => import("./chunks/plus.42721ebf.js"), "../../../../icons/dist/assets/printer.svg": () => import("./chunks/printer.5bb7ee0d.js"), "../../../../icons/dist/assets/prohibition-sign.svg": () => import("./chunks/prohibition-sign.af5616b3.js"), "../../../../icons/dist/assets/questionmark.svg": () => import("./chunks/questionmark.db94a06d.js"), "../../../../icons/dist/assets/security.svg": () => import("./chunks/security.2be491e3.js"), "../../../../icons/dist/assets/share.svg": () => import("./chunks/share.ddae7aef.js"), "../../../../icons/dist/assets/shirt.svg": () => import("./chunks/shirt.135d58c1.js"), "../../../../icons/dist/assets/shop.svg": () => import("./chunks/shop.f120426b.js"), "../../../../icons/dist/assets/sound-off.svg": () => import("./chunks/sound-off.c6f5ed43.js"), "../../../../icons/dist/assets/sound-on.svg": () => import("./chunks/sound-on.212c36bc.js"), "../../../../icons/dist/assets/speechbubble.svg": () => import("./chunks/speechbubble.9428546e.js"), "../../../../icons/dist/assets/speechbubbles.svg": () => import("./chunks/speechbubbles.65cb946e.js"), "../../../../icons/dist/assets/square.svg": () => import("./chunks/square.452f505f.js"), "../../../../icons/dist/assets/star-half.svg": () => import("./chunks/star-half.1458bc5b.js"), "../../../../icons/dist/assets/star.svg": () => import("./chunks/star.fab17456.js"), "../../../../icons/dist/assets/tag.svg": () => import("./chunks/tag.4d730d72.js"), "../../../../icons/dist/assets/thumbs-down.svg": () => import("./chunks/thumbs-down.cbf6e4ec.js"), "../../../../icons/dist/assets/thumbs-up.svg": () => import("./chunks/thumbs-up.435754e1.js"), "../../../../icons/dist/assets/triangle-exclamationmark-colored.svg": () => import("./chunks/triangle-exclamationmark-colored.94025893.js"), "../../../../icons/dist/assets/triangle-exclamationmark-inverted.svg": () => import("./chunks/triangle-exclamationmark-inverted.bc4eed15.js"), "../../../../icons/dist/assets/triangle.svg": () => import("./chunks/triangle.bff84ddf.js"), "../../../../icons/dist/assets/truck.svg": () => import("./chunks/truck.a904d6d3.js"), "../../../../icons/dist/assets/two-people-screen.svg": () => import("./chunks/two-people-screen.3e509922.js"), "../../../../icons/dist/assets/two-sheets.svg": () => import("./chunks/two-sheets.d1cfef0f.js"), "../../../../icons/dist/assets/upload.svg": () => import("./chunks/upload.7f1850a3.js"), "../../../../icons/dist/assets/user.svg": () => import("./chunks/user.bf5b30a5.js"), "../../../../icons/dist/assets/vertical-ellipsis.svg": () => import("./chunks/vertical-ellipsis.1cac00e5.js"), "../../../../icons/dist/assets/wc.svg": () => import("./chunks/wc.9d108bd0.js"), "../../../../icons/dist/assets/wifi-1bar.svg": () => import("./chunks/wifi-1bar.b6fc33aa.js"), "../../../../icons/dist/assets/wifi-2bars.svg": () => import("./chunks/wifi-2bars.27e9da59.js"), "../../../../icons/dist/assets/wifi-off.svg": () => import("./chunks/wifi-off.e5daf3a9.js"), "../../../../icons/dist/assets/wifi.svg": () => import("./chunks/wifi.40bb915d.js"), "../../../../icons/dist/assets/wind-rose.svg": () => import("./chunks/wind-rose.27fa658a.js"), "../../../../icons/dist/assets/wrench.svg": () => import("./chunks/wrench.69493ef3.js"), "../../../../icons/dist/assets/x.svg": () => import("./chunks/x.d9da4202.js"), "../../../../icons/dist/assets/xing.svg": () => import("./chunks/xing.e17c1a24.js"), "../../../../icons/dist/assets/youtube.svg": () => import("./chunks/youtube.dbf50787.js") }), `../../../../icons/dist/assets/${s}.svg`);
|
|
146
|
+
} catch (c) {
|
|
147
|
+
console.error(c);
|
|
148
|
+
} finally {
|
|
149
|
+
a(!1);
|
|
150
|
+
}
|
|
151
|
+
})());
|
|
152
|
+
}, [s, t]), {
|
|
153
|
+
isLoading: r,
|
|
154
|
+
SVGIcon: (n = i.current) == null ? void 0 : n.ReactComponent,
|
|
155
|
+
setShouldLoad: o
|
|
156
|
+
};
|
|
157
|
+
}, J = ({
|
|
158
|
+
aria: s,
|
|
159
|
+
className: i,
|
|
160
|
+
name: t = "arrow-left",
|
|
161
|
+
size: o = "large",
|
|
162
|
+
source: r,
|
|
163
|
+
theme: a = "light",
|
|
164
|
+
...n
|
|
165
|
+
}) => {
|
|
166
|
+
const { SVGIcon: e, isLoading: c, setShouldLoad: v } = P(t), [, m] = y(t), d = {
|
|
167
|
+
large: 16,
|
|
168
|
+
medium: 12,
|
|
169
|
+
small: 10,
|
|
170
|
+
"x-small": 8
|
|
171
|
+
};
|
|
172
|
+
j(() => {
|
|
173
|
+
m(t);
|
|
174
|
+
}, [t]);
|
|
175
|
+
const { ref: k } = O({
|
|
176
|
+
rootMargin: "200px 0px",
|
|
177
|
+
triggerOnce: !0,
|
|
178
|
+
fallbackInView: !0,
|
|
179
|
+
skip: !!r,
|
|
180
|
+
onChange: (l) => {
|
|
181
|
+
v(l);
|
|
182
|
+
}
|
|
183
|
+
}), h = (l) => (u) => {
|
|
184
|
+
r && u && (u.src = l);
|
|
185
|
+
}, g = E(w.image, i, {
|
|
186
|
+
// custom icons and colored icons do not have a dark theme
|
|
187
|
+
[w.imageThemeDark]: a === "dark" && !r && !t.includes("-colored"),
|
|
188
|
+
[w.imageSizeMedium]: o === "medium",
|
|
189
|
+
[w.imageSizeSmall]: o === "small",
|
|
190
|
+
[w.imageSizeXSmall]: o === "x-small"
|
|
191
|
+
});
|
|
192
|
+
return r ? /* @__PURE__ */ x.jsx(
|
|
193
|
+
"img",
|
|
194
|
+
{
|
|
195
|
+
className: g,
|
|
196
|
+
ref: h(r),
|
|
197
|
+
width: d[o],
|
|
198
|
+
height: d[o],
|
|
199
|
+
loading: "lazy",
|
|
200
|
+
alt: (s == null ? void 0 : s["aria-label"]) || "",
|
|
201
|
+
...n
|
|
202
|
+
}
|
|
203
|
+
) : !c && e ? /* @__PURE__ */ x.jsx(
|
|
204
|
+
e,
|
|
205
|
+
{
|
|
206
|
+
className: g,
|
|
207
|
+
title: (s == null ? void 0 : s["aria-label"]) || "",
|
|
208
|
+
role: s != null && s["aria-label"] ? "img" : void 0,
|
|
209
|
+
...n
|
|
210
|
+
}
|
|
211
|
+
) : /* @__PURE__ */ x.jsx("div", { className: g, ref: k });
|
|
212
|
+
};
|
|
213
|
+
export {
|
|
214
|
+
J as DSIcon
|
|
215
|
+
};
|
package/icon.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './components/Icon/Icon'
|
package/icon.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 500 500"><g clip-path="url(#a)"><path fill="#F37A1F" d="M512 0H0v512h512V0Z"/><path fill="#fff" d="m154.502 145.006-25.035 81.859c-11.126 36.45 9.14 63.364 45.048 63.364h117.226a7.613 7.613 0 0 1 6.007 3.271 7.625 7.625 0 0 1 .965 6.771l-6.322 20.592a15.536 15.536 0 0 1-13.077 10.042H95.076l-23.084 75.502H309.55c26.191 0 48.589-12.138 60.04-49.636l23.77-77.741c11.235-36.992-9.681-63.255-42.446-63.255H233.182c-6.502 0-9.103-4.769-7.225-10.549l6.286-20.591a15.53 15.53 0 0 1 15.353-12.174h169.462l23.084-75.501H215.12c-32.116 0-52.237 20.591-60.618 48.046Z"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h500v500H0z"/></clipPath></defs></svg>
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export * from './components/Button/Button';
|
|
2
|
+
export * from './components/ButtonRound/ButtonRound';
|
|
3
|
+
export * from './components/Checkbox/Checkbox';
|
|
4
|
+
export * from './components/CheckboxGroup/CheckboxGroup';
|
|
5
|
+
export * from './components/Combobox/Combobox';
|
|
6
|
+
export * from './components/Fieldset/Fieldset';
|
|
7
|
+
export * from './components/FloatingActionButton/FloatingActionButton';
|
|
8
|
+
export * from './components/Heading/Heading';
|
|
9
|
+
export * from './components/Icon/Icon';
|
|
10
|
+
export * from './components/Input/Input';
|
|
11
|
+
export * from './components/InputPassword/InputPassword';
|
|
12
|
+
export * from './components/InputSearch/InputSearch';
|
|
13
|
+
export * from './components/InputStepper/InputStepper';
|
|
14
|
+
export * from './components/Link/Link';
|
|
15
|
+
export * from './components/LinkStandalone/LinkStandalone';
|
|
16
|
+
export * from './components/Logo/Logo';
|
|
17
|
+
export * from './components/RadioGroup/RadioGroup';
|
|
18
|
+
export * from './components/Select/Select';
|
|
19
|
+
export * from './components/Spinner/Spinner';
|
|
20
|
+
export * from './components/Switch/Switch';
|
|
21
|
+
export * from './components/Text/Text';
|
|
22
|
+
export * from './components/Textarea/Textarea';
|
|
23
|
+
export * from './components/Title/Title';
|
package/index.es.js
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { DSButton as t } from "./button.89b2675b.js";
|
|
3
|
+
import { DSButtonRound as p } from "./buttonround.c60c8034.js";
|
|
4
|
+
import { DSCheckbox as x } from "./checkbox.7d414047.js";
|
|
5
|
+
import { DSCheckboxGroup as f } from "./checkboxgroup.e9e25471.js";
|
|
6
|
+
import { DSCombobox as n } from "./combobox.f98a4472.js";
|
|
7
|
+
import { DSFieldset as u } from "./fieldset.fb7b7e49.js";
|
|
8
|
+
import { DSFloatingActionButton as c } from "./floatingactionbutton.281b5465.js";
|
|
9
|
+
import { DSHeading as l } from "./heading.cb7698f4.js";
|
|
10
|
+
import { DSIcon as b } from "./icon.b4211784.js";
|
|
11
|
+
import { DSInput as k } from "./input.abb902e3.js";
|
|
12
|
+
import { DSInputPassword as g } from "./inputpassword.11c12c66.js";
|
|
13
|
+
import { DSInputSearch as C } from "./inputsearch.0c88e71a.js";
|
|
14
|
+
import { DSInputStepper as T } from "./inputstepper.b74dac4d.js";
|
|
15
|
+
import { DSLink as F } from "./link.cd3720d1.js";
|
|
16
|
+
import { DSLinkStandalone as R } from "./linkstandalone.26b52de0.js";
|
|
17
|
+
import { DSLogo as H } from "./logo.e6576fe3.js";
|
|
18
|
+
import { DSRadioGroup as j } from "./radiogroup.6a22fe96.js";
|
|
19
|
+
import { DSSelect as v } from "./select.2ff31eab.js";
|
|
20
|
+
import { DSSpinner as z } from "./spinner.ee015469.js";
|
|
21
|
+
import { DSSwitch as J } from "./switch.2f011fcc.js";
|
|
22
|
+
import { DSText as M } from "./text.8d80704f.js";
|
|
23
|
+
import { DSTextarea as O } from "./textarea.e156b0ce.js";
|
|
24
|
+
import { DSTitle as U } from "./title.d855a8e4.js";
|
|
25
|
+
export {
|
|
26
|
+
t as DSButton,
|
|
27
|
+
p as DSButtonRound,
|
|
28
|
+
x as DSCheckbox,
|
|
29
|
+
f as DSCheckboxGroup,
|
|
30
|
+
n as DSCombobox,
|
|
31
|
+
u as DSFieldset,
|
|
32
|
+
c as DSFloatingActionButton,
|
|
33
|
+
l as DSHeading,
|
|
34
|
+
b as DSIcon,
|
|
35
|
+
k as DSInput,
|
|
36
|
+
g as DSInputPassword,
|
|
37
|
+
C as DSInputSearch,
|
|
38
|
+
T as DSInputStepper,
|
|
39
|
+
F as DSLink,
|
|
40
|
+
R as DSLinkStandalone,
|
|
41
|
+
H as DSLogo,
|
|
42
|
+
j as DSRadioGroup,
|
|
43
|
+
v as DSSelect,
|
|
44
|
+
z as DSSpinner,
|
|
45
|
+
J as DSSwitch,
|
|
46
|
+
M as DSText,
|
|
47
|
+
O as DSTextarea,
|
|
48
|
+
U as DSTitle
|
|
49
|
+
};
|