@stihl-design-system/components 1.0.0-RC.14 → 1.0.0-RC.16

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.
Files changed (244) hide show
  1. package/accordion.Dm5MWHQ6.js +12 -0
  2. package/arialiveregions.BwwB-OfU.js +19 -0
  3. package/assets/Accordion.B5bGf8mR.css +1 -0
  4. package/assets/Breadcrumb.BaYrwrYl.css +1 -0
  5. package/assets/NavigationTabList.B6x56sAV.css +1 -0
  6. package/assets/linkstandalone.LMdnj-G0.css +1 -0
  7. package/asterisk.DUzshaw5.js +8 -0
  8. package/breadcrumb.BDpXhffn.js +11 -0
  9. package/breadcrumb.d.ts +2 -0
  10. package/button.Ywd82k7O.js +121 -0
  11. package/buttonround.CI5RGkR9.js +105 -0
  12. package/checkbox.C1JJOQeV.js +103 -0
  13. package/checkboxgroup.o5t3fWsf.js +9 -0
  14. package/chip.DcJLVxEm.js +11 -0
  15. package/chipgroup.CCq2AMSa.js +187 -0
  16. package/chunks/Accordion.BmI7nlus.js +166 -0
  17. package/chunks/AriaLiveRegions.utils.zSFFD3SF.js +27 -0
  18. package/chunks/Breadcrumb.BycdSn-b.js +106 -0
  19. package/chunks/CheckboxGroup.C-Adg1hA.js +74 -0
  20. package/chunks/Chip.BY8kLPnz.js +120 -0
  21. package/chunks/CustomReactSelect.C2yN7CYh.js +3622 -0
  22. package/chunks/Dialog.CjzCKRr2.js +140 -0
  23. package/chunks/Drawer.m2JeVNBp.js +148 -0
  24. package/chunks/Fieldset.DfWsQgjD.js +105 -0
  25. package/chunks/Icon.DhKyUWtM.js +231 -0
  26. package/chunks/Input.utils.Um8Pqp4U.js +52 -0
  27. package/chunks/InputPassword.CmvZcn6n.js +141 -0
  28. package/chunks/InputSearch.CwXaGLJp.js +179 -0
  29. package/chunks/InputStepper.NCl90c4h.js +275 -0
  30. package/chunks/NavigationTabList.BOrhiSiM.js +63 -0
  31. package/chunks/NavigationTabs.DW_6fZxc.js +63 -0
  32. package/chunks/Notification.Bp28ubaX.js +99 -0
  33. package/chunks/RadioGroup.Dh-7jSOg.js +105 -0
  34. package/chunks/Select.CMwsbHvQ.js +190 -0
  35. package/chunks/TabPane.utils.DG16Y2uD.js +10 -0
  36. package/chunks/Tabs.D3yDE5nU.js +77 -0
  37. package/chunks/Textarea.CMRn2Aof.js +184 -0
  38. package/chunks/Toast.Boi6TEHu.js +76 -0
  39. package/chunks/index.CEyLAtio.js +48 -0
  40. package/chunks/index.CgTHIF3K.js +293 -0
  41. package/chunks/{translate.isa3FHb8.js → translate.nuU7uChI.js} +1 -4
  42. package/chunks/useBreakpoint.CMOR9ZOB.js +44 -0
  43. package/combobox.BhzaJrs7.js +55 -0
  44. package/components/Accordion/Accordion.d.ts +5 -1
  45. package/components/Accordion/Accordion.utils.d.ts +2 -2
  46. package/components/AriaLiveRegions/AriaLiveRegions.d.ts +1 -0
  47. package/components/Asterisk/Asterisk.d.ts +1 -0
  48. package/components/Breadcrumb/Breadcrumb.d.ts +45 -0
  49. package/components/Breadcrumb/Breadcrumb.utils.d.ts +4 -0
  50. package/components/Button/Button.d.ts +6 -4
  51. package/components/ButtonRound/ButtonRound.d.ts +4 -1
  52. package/components/Checkbox/Checkbox.d.ts +2 -0
  53. package/components/CheckboxGroup/CheckboxGroup.d.ts +3 -1
  54. package/components/ChipGroup/ChipGroup.d.ts +2 -0
  55. package/components/Combobox/Combobox.d.ts +3 -0
  56. package/components/Combobox/CustomReactSelect/CustomReactSelect.d.ts +3 -2
  57. package/components/Combobox/CustomReactSelect/OptionCheckbox.d.ts +1 -1
  58. package/components/Dialog/Dialog.d.ts +15 -4
  59. package/components/Drawer/Drawer.d.ts +15 -5
  60. package/components/Fieldset/Fieldset.d.ts +3 -1
  61. package/components/Flag/Flag.d.ts +3 -0
  62. package/components/FloatingActionButton/FloatingActionButton.d.ts +4 -1
  63. package/components/Heading/Heading.d.ts +3 -1
  64. package/components/Icon/Icon.d.ts +3 -1
  65. package/components/Input/Input.d.ts +23 -10
  66. package/components/Input/Input.utils.d.ts +2 -2
  67. package/components/InputPassword/InputPassword.d.ts +18 -9
  68. package/components/InputSearch/InputSearch.d.ts +17 -7
  69. package/components/InputStepper/InputStepper.d.ts +24 -8
  70. package/components/Link/Link.d.ts +6 -3
  71. package/components/LinkStandalone/LinkStandalone.d.ts +4 -1
  72. package/components/Logo/Logo.d.ts +3 -1
  73. package/components/NavigationTabs/NavigationTabs.d.ts +43 -0
  74. package/components/NavigationTabs/NavigationTabs.test.d.ts +1 -0
  75. package/components/NavigationTabs/NavigationTabs.utils.d.ts +6 -0
  76. package/components/Notification/Notification.d.ts +14 -5
  77. package/components/NumberIndicator/NumberIndicator.d.ts +1 -0
  78. package/components/RadioGroup/RadioGroup.d.ts +2 -0
  79. package/components/Select/Select.d.ts +2 -1
  80. package/components/SkipToContent/SkipToContent.d.ts +3 -0
  81. package/components/Spinner/Spinner.d.ts +7 -1
  82. package/components/Switch/Switch.d.ts +6 -4
  83. package/components/SystemFeedback/SystemFeedback.d.ts +1 -1
  84. package/components/Tabs/TabList/NavigationTabList/NavigationTabList.d.ts +22 -0
  85. package/components/Tabs/TabList/TabList.d.ts +38 -0
  86. package/components/Tabs/TabList/TabList.utils.d.ts +6 -0
  87. package/components/Tabs/TabList/TabList.utils.test.d.ts +1 -0
  88. package/components/Tabs/TabPane/TabPane.d.ts +1 -1
  89. package/components/Tabs/Tabs.d.ts +9 -2
  90. package/components/Tabs/Tabs.utils.d.ts +1 -6
  91. package/components/Text/Text.d.ts +6 -4
  92. package/components/Textarea/Textarea.d.ts +3 -1
  93. package/components/Title/Title.d.ts +3 -1
  94. package/components/Toast/Toast.d.ts +2 -0
  95. package/customreactselect.CW5-QQSM.js +14 -0
  96. package/dialog.DuAgAwfs.js +10 -0
  97. package/drawer.D3E46fH1.js +10 -0
  98. package/fieldset.4UygHVV3.js +12 -0
  99. package/flag.BJk5fHMs.js +50 -0
  100. package/floatingactionbutton.DFZ2YwaJ.js +74 -0
  101. package/heading.6LOBHJG6.js +55 -0
  102. package/icon.dww0DXWN.js +9 -0
  103. package/index.d.ts +4 -0
  104. package/index.es.js +139 -179
  105. package/input.DXzeHdRE.js +211 -0
  106. package/inputpassword.DXEvvgZt.js +13 -0
  107. package/inputsearch.DzwXj82k.js +14 -0
  108. package/inputstepper.CYwcFoQ1.js +16 -0
  109. package/link.CgNqBaNn.js +106 -0
  110. package/linkstandalone.Dn-uDj5T.js +69 -0
  111. package/logo.BgnYvK7t.js +51 -0
  112. package/navigationtablist.XNy54fXK.js +9 -0
  113. package/navigationtablist.d.ts +2 -0
  114. package/navigationtabs.DheMj9hs.js +9 -0
  115. package/navigationtabs.d.ts +2 -0
  116. package/notification.BnyOWmCm.js +10 -0
  117. package/numberindicator.Do92cr0z.js +35 -0
  118. package/optioncheckbox.DcckSTrV.js +52 -0
  119. package/package.json +53 -50
  120. package/partials/index.js +248 -2131
  121. package/partials/lib/partials.d.ts +77 -4
  122. package/radio.TDaeblOB.js +130 -0
  123. package/radiogroup.DyL_cJzK.js +11 -0
  124. package/select.BoeUz4Fb.js +13 -0
  125. package/skiptocontent.D7xhN0KM.js +35 -0
  126. package/spinner.gilnr6vN.js +52 -0
  127. package/switch.Ca9tRATr.js +68 -0
  128. package/systemfeedback.7I6fnqjX.js +34 -0
  129. package/tablist.TWjlHs5Y.js +251 -0
  130. package/tablist.d.ts +2 -0
  131. package/tabpane.CB-eudyw.js +37 -0
  132. package/tabs.Cr2CMXbY.js +11 -0
  133. package/text.C6gOJ2nV.js +59 -0
  134. package/textarea.CqDSxfcU.js +12 -0
  135. package/title.CSCXJnBN.js +43 -0
  136. package/toast.BN0v57nF.js +11 -0
  137. package/toastmanager.B9CR9plV.js +115 -0
  138. package/utils/render-documentation.d.ts +1 -0
  139. package/accordion.C6_sqiW2.js +0 -10
  140. package/arialiveregions.2dxodwBP.js +0 -27
  141. package/assets/Accordion.i4k5SMQM.css +0 -1
  142. package/assets/Tabs.DUqlqP6R.css +0 -1
  143. package/assets/linkstandalone.DIazcjIv.css +0 -1
  144. package/asterisk.DpzETKdT.js +0 -8
  145. package/button.BfcWQZhx.js +0 -135
  146. package/buttonround.E56F_805.js +0 -118
  147. package/checkbox.Dt0OWryN.js +0 -111
  148. package/checkboxgroup.je32bRPr.js +0 -8
  149. package/chip.CpnDX4Ro.js +0 -10
  150. package/chipgroup.Cy76KMWu.js +0 -175
  151. package/chunks/Accordion.Bza3TO4Y.js +0 -125
  152. package/chunks/AriaLiveRegions.utils.Bq6Mp2bE.js +0 -40
  153. package/chunks/CheckboxGroup.C_2ZwEQJ.js +0 -95
  154. package/chunks/Chip.BvlKC503.js +0 -148
  155. package/chunks/CustomReactSelect.CB41lklE.js +0 -3598
  156. package/chunks/Dialog.ClBjJWOh.js +0 -148
  157. package/chunks/Drawer.ReDW3ohH.js +0 -154
  158. package/chunks/Fieldset.Ct_JFRs9.js +0 -99
  159. package/chunks/Icon.BCmt_XBG.js +0 -223
  160. package/chunks/Input.utils.DYbmWlx6.js +0 -111
  161. package/chunks/InputPassword.Cvk5J8w1.js +0 -143
  162. package/chunks/InputSearch.BIIW-ERk.js +0 -192
  163. package/chunks/InputStepper.DGzR3KY6.js +0 -296
  164. package/chunks/Notification.uAEjPywP.js +0 -92
  165. package/chunks/RadioGroup.D10-pe9H.js +0 -146
  166. package/chunks/Select.DsLnW29U.js +0 -194
  167. package/chunks/TabPane.CYuUi0oL.js +0 -51
  168. package/chunks/Tabs.D_JAsvoh.js +0 -270
  169. package/chunks/Textarea.Dh9R9YdZ.js +0 -199
  170. package/chunks/Toast.j7LPnQ36.js +0 -89
  171. package/chunks/index.CvOaL64Y.js +0 -45
  172. package/chunks/jsx-runtime.C115EyI4.js +0 -635
  173. package/chunks/useBreakpoint.B8XxjSVJ.js +0 -48
  174. package/combobox.D6zXg976.js +0 -47
  175. package/customreactselect.BcjDvZG6.js +0 -13
  176. package/dialog.BkVOgeWY.js +0 -9
  177. package/drawer.DM_NKGTQ.js +0 -9
  178. package/fieldset.CSNoVbL1.js +0 -11
  179. package/flag.BKpsdB_-.js +0 -43
  180. package/floatingactionbutton.D5L0B7zI.js +0 -87
  181. package/heading.IPIYc5vW.js +0 -50
  182. package/icon.Ck0BpI34.js +0 -8
  183. package/input.BbnmbMCI.js +0 -241
  184. package/inputpassword.KnZRwWCQ.js +0 -12
  185. package/inputsearch.DgYJPZ2v.js +0 -13
  186. package/inputstepper.T_of1Gz0.js +0 -15
  187. package/link.L8O_InKe.js +0 -116
  188. package/linkstandalone.BBoEniZ_.js +0 -79
  189. package/logo.Hul8qCFo.js +0 -65
  190. package/notification.Bt9TbAAt.js +0 -9
  191. package/numberindicator.UU7FSouT.js +0 -26
  192. package/optioncheckbox.BRUTnQnJ.js +0 -43
  193. package/radio.B-2uuWHq.js +0 -114
  194. package/radiogroup.DM_lF4hI.js +0 -10
  195. package/select.COLuwr89.js +0 -12
  196. package/skiptocontent.DxogCFvU.js +0 -45
  197. package/spinner.Bq97Og-6.js +0 -58
  198. package/switch.DI8YYa5G.js +0 -65
  199. package/systemfeedback.C3Pfxxpp.js +0 -25
  200. package/tabpane.BnQBzVXw.js +0 -8
  201. package/tabs.BaELlVri.js +0 -15
  202. package/text.DThvTwm8.js +0 -57
  203. package/textarea.Wcl_pVBb.js +0 -13
  204. package/title.DqzdB2Gq.js +0 -36
  205. package/toast.DQlMWU6I.js +0 -10
  206. package/toastmanager.DxHFtr5C.js +0 -119
  207. /package/assets/{CheckboxGroup.BH1Br1dg.css → CheckboxGroup.Dd-Huo7x.css} +0 -0
  208. /package/assets/{Chip.DSdLuzoi.css → Chip.dxIYIjj7.css} +0 -0
  209. /package/assets/{CustomReactSelect.vHt8qNKC.css → CustomReactSelect.DYDaP5r5.css} +0 -0
  210. /package/assets/{Dialog.BgzebVk4.css → Dialog.DXmPdExC.css} +0 -0
  211. /package/assets/{Drawer.Bauwxrk7.css → Drawer.BcM0epJS.css} +0 -0
  212. /package/assets/{Fieldset.DOdTbb7C.css → Fieldset.Og4EsnPI.css} +0 -0
  213. /package/assets/{Icon.DxRSBRSL.css → Icon.ZNrKuqgu.css} +0 -0
  214. /package/assets/{InputPassword.CG7Ugu73.css → InputPassword.DtKteerr.css} +0 -0
  215. /package/assets/{InputSearch.CseChMc-.css → InputSearch.Mql3oFlQ.css} +0 -0
  216. /package/assets/{InputStepper.C0eAYr7P.css → InputStepper.BXz1MMBg.css} +0 -0
  217. /package/assets/{Notification.DbRapUJo.css → Notification.DZIF-Wo6.css} +0 -0
  218. /package/assets/{RadioGroup.BfMo157q.css → RadioGroup.CM2mYOzc.css} +0 -0
  219. /package/assets/{Select.D4EXgIbz.css → Select.KvAgxJZk.css} +0 -0
  220. /package/assets/{Textarea.KJGPTYMz.css → Textarea.BIRQlv6m.css} +0 -0
  221. /package/assets/{Toast.CuafTAf7.css → Toast.CuM-yS7S.css} +0 -0
  222. /package/assets/{arialiveregions.DhsijBaL.css → arialiveregions.e0Q16ZWi.css} +0 -0
  223. /package/assets/{asterisk.BfVAUBO7.css → asterisk.B41DaZDe.css} +0 -0
  224. /package/assets/{button.DF4RBeC2.css → button.CpPeQPsM.css} +0 -0
  225. /package/assets/{buttonround.19uK_-oO.css → buttonround.BFauSRAb.css} +0 -0
  226. /package/assets/{checkbox.ByOoFouu.css → checkbox.BKHQN_tu.css} +0 -0
  227. /package/assets/{chipgroup.BzfZLbkv.css → chipgroup.CUIkyYBW.css} +0 -0
  228. /package/assets/{flag.B-RLcMcf.css → flag.C7i3MAAP.css} +0 -0
  229. /package/assets/{floatingactionbutton.E9HekT6S.css → floatingactionbutton.l0nvFiJU.css} +0 -0
  230. /package/assets/{heading.u4f8Mz94.css → heading.B-rdLVZD.css} +0 -0
  231. /package/assets/{input.BAkFKPW3.css → input.B5spSeMe.css} +0 -0
  232. /package/assets/{link.DDJj0D1U.css → link.Be5OF_8E.css} +0 -0
  233. /package/assets/{logo.CnW8alZU.css → logo.bVXt9m9R.css} +0 -0
  234. /package/assets/{numberindicator.BJ9vFpnd.css → numberindicator.BJnvB-K3.css} +0 -0
  235. /package/assets/{optioncheckbox.BZaWtRD7.css → optioncheckbox.DAffEKvY.css} +0 -0
  236. /package/assets/{radio.X-RTl_jo.css → radio.CGf7v0D_.css} +0 -0
  237. /package/assets/{skiptocontent.PTL3256m.css → skiptocontent.CTSDC_kG.css} +0 -0
  238. /package/assets/{spinner.2iWJWKyA.css → spinner.BJ5xwnYH.css} +0 -0
  239. /package/assets/{switch.gw6aa3kx.css → switch.Bc9KIyw9.css} +0 -0
  240. /package/assets/{systemfeedback.BPz5YlPC.css → systemfeedback.DoqgHZPH.css} +0 -0
  241. /package/assets/{TabPane.zywjfwo8.css → tabpane.D1LTb432.css} +0 -0
  242. /package/assets/{text.DjTG_qNb.css → text.BlRcxO8n.css} +0 -0
  243. /package/assets/{title.rosWPEG3.css → title.B0tsgJ-n.css} +0 -0
  244. /package/components/{Tabs/Tabs.utils.test.d.ts → Breadcrumb/Breadcrumb.test.d.ts} +0 -0
package/link.L8O_InKe.js DELETED
@@ -1,116 +0,0 @@
1
- "use client";
2
- import { j as h } from "./chunks/jsx-runtime.C115EyI4.js";
3
- import { c as e } from "./chunks/index.CvOaL64Y.js";
4
- import { u as n } from "./chunks/useBreakpoint.B8XxjSVJ.js";
5
- import "react";
6
- import { D as H } from "./chunks/Icon.BCmt_XBG.js";
7
- import './assets/link.DDJj0D1U.css';const S = "ds-link_root_1i5hz_1", x = "ds-link_root--highlight_1i5hz_75", b = "ds-link_root--dark-highlight_1i5hz_75", j = "ds-link_root--filled_1i5hz_151", L = "ds-link_root--outline_1i5hz_179", C = "ds-link_root--ghost_1i5hz_206", N = "ds-link_root--ghost-flush_1i5hz_231", T = "ds-link_root--small_1i5hz_237", B = "ds-link_root--dark-filled_1i5hz_317", E = "ds-link_root--dark-outline_1i5hz_374", R = "ds-link_root--dark-ghost_1i5hz_430", V = "ds-link_root--dark-ghost-flush_1i5hz_484", q = "ds-link_root--icon-left_1i5hz_546", w = "ds-link_root--icon-only_1i5hz_562", A = "ds-link_root--icon-only-small_1i5hz_571", J = "ds-link_label--hidden_1i5hz_582", o = {
8
- root: S,
9
- "root--highlight": "ds-link_root--highlight_1i5hz_75",
10
- rootHighlight: x,
11
- "root--dark-highlight": "ds-link_root--dark-highlight_1i5hz_75",
12
- rootDarkHighlight: b,
13
- "root--filled": "ds-link_root--filled_1i5hz_151",
14
- rootFilled: j,
15
- "root--outline": "ds-link_root--outline_1i5hz_179",
16
- rootOutline: L,
17
- "root--ghost": "ds-link_root--ghost_1i5hz_206",
18
- rootGhost: C,
19
- "root--ghost-flush": "ds-link_root--ghost-flush_1i5hz_231",
20
- rootGhostFlush: N,
21
- "root--small": "ds-link_root--small_1i5hz_237",
22
- rootSmall: T,
23
- "root--dark-filled": "ds-link_root--dark-filled_1i5hz_317",
24
- rootDarkFilled: B,
25
- "root--dark-outline": "ds-link_root--dark-outline_1i5hz_374",
26
- rootDarkOutline: E,
27
- "root--dark-ghost": "ds-link_root--dark-ghost_1i5hz_430",
28
- rootDarkGhost: R,
29
- "root--dark-ghost-flush": "ds-link_root--dark-ghost-flush_1i5hz_484",
30
- rootDarkGhostFlush: V,
31
- "root--icon-left": "ds-link_root--icon-left_1i5hz_546",
32
- rootIconLeft: q,
33
- "root--icon-only": "ds-link_root--icon-only_1i5hz_562",
34
- rootIconOnly: w,
35
- "root--icon-only-small": "ds-link_root--icon-only-small_1i5hz_571",
36
- rootIconOnlySmall: A,
37
- "label--hidden": "ds-link_label--hidden_1i5hz_582",
38
- labelHidden: J
39
- }, W = ({
40
- children: g,
41
- aria: c,
42
- className: u,
43
- dataTrackingid: f,
44
- download: z,
45
- hideLabel: r = !1,
46
- href: _,
47
- iconName: d,
48
- iconPosition: m = "left",
49
- iconSource: k,
50
- isFlush: i = !1,
51
- referrerPolicy: D,
52
- rel: y,
53
- size: s = "medium",
54
- target: G = "_self",
55
- theme: l = "light",
56
- variant: t = "filled",
57
- ...O
58
- }) => {
59
- const p = e(o.root, u, {
60
- // variant
61
- [o.rootFilled]: t === "filled",
62
- [o.rootHighlight]: t === "highlight",
63
- [o.rootOutline]: t === "outline",
64
- [o.rootGhost]: t === "ghost" && i !== !0,
65
- // isFlush
66
- [o.rootGhostFlush]: t === "ghost" && i === !0,
67
- // dark theme
68
- [o.rootDarkFilled]: l === "dark" && t === "filled",
69
- [o.rootDarkHighlight]: l === "dark" && t === "highlight",
70
- [o.rootDarkOutline]: l === "dark" && t === "outline",
71
- [o.rootDarkGhost]: l === "dark" && t === "ghost" && i !== !0,
72
- // dark isFlush
73
- [o.rootDarkGhostFlush]: l === "dark" && t === "ghost" && i === !0,
74
- // size
75
- [o.rootSmall]: s === "small",
76
- // icon position
77
- [o.rootIconLeft]: m === "left",
78
- // icon only
79
- [o.rootIconOnly]: n(r) && s === "medium",
80
- [o.rootIconOnlySmall]: n(r) && s === "small"
81
- }), I = e({
82
- // hide label only visually to keep them available for assistive technologies
83
- [o.labelHidden]: n(r)
84
- }), F = l === "light" && t === "filled" || l === "dark" && t === "outline" || l === "dark" && t === "ghost" ? "dark" : "light", a = _ === void 0 ? "span" : "a";
85
- return /* @__PURE__ */ h.jsxs(
86
- a,
87
- {
88
- className: p,
89
- "data-trackingid": f,
90
- ...a === "a" && {
91
- href: _,
92
- target: G,
93
- rel: y,
94
- referrerPolicy: D,
95
- download: z
96
- },
97
- ...c,
98
- ...O,
99
- children: [
100
- /* @__PURE__ */ h.jsx("span", { className: I, children: g }),
101
- (d || k) && /* @__PURE__ */ h.jsx(
102
- H,
103
- {
104
- name: d,
105
- theme: F,
106
- source: k,
107
- "aria-hidden": "true"
108
- }
109
- )
110
- ]
111
- }
112
- );
113
- };
114
- export {
115
- W as DSLink
116
- };
@@ -1,79 +0,0 @@
1
- "use client";
2
- import { j as r } from "./chunks/jsx-runtime.C115EyI4.js";
3
- import { c as p } from "./chunks/index.CvOaL64Y.js";
4
- import { D as x } from "./chunks/Icon.BCmt_XBG.js";
5
- import "react";
6
- import './assets/linkstandalone.DIazcjIv.css';const H = "ds-link-standalone_root_1ubnn_1", j = "ds-link-standalone_root--highlight_1ubnn_68", v = "ds-link-standalone_root--neutral-dark_1ubnn_82", L = "ds-link-standalone_root--highlight-dark_1ubnn_131", N = "ds-link-standalone_root--active_1ubnn_180", I = "ds-link-standalone_root--icon-left_1ubnn_187", o = {
7
- root: H,
8
- "root--highlight": "ds-link-standalone_root--highlight_1ubnn_68",
9
- rootHighlight: j,
10
- "root--neutral-dark": "ds-link-standalone_root--neutral-dark_1ubnn_82",
11
- rootNeutralDark: v,
12
- "root--highlight-dark": "ds-link-standalone_root--highlight-dark_1ubnn_131",
13
- rootHighlightDark: L,
14
- "root--active": "ds-link-standalone_root--active_1ubnn_180",
15
- rootActive: N,
16
- "root--icon-left": "ds-link-standalone_root--icon-left_1ubnn_187",
17
- rootIconLeft: I
18
- }, C = ({
19
- children: e,
20
- aria: d,
21
- active: h,
22
- className: _,
23
- dataTrackingid: g,
24
- download: c,
25
- href: a,
26
- iconName: i,
27
- iconPosition: k = "left",
28
- iconSource: l,
29
- referrerPolicy: u,
30
- rel: b,
31
- target: f = "_self",
32
- theme: t = "light",
33
- variant: n = "neutral",
34
- ...m
35
- }) => {
36
- const D = p(o.root, _, {
37
- // variant
38
- [o.rootHighlight]: n === "highlight",
39
- // theme
40
- [o.rootNeutralDark]: t === "dark" && n === "neutral",
41
- [o.rootHighlightDark]: t === "dark" && n === "highlight",
42
- // active
43
- [o.rootActive]: h,
44
- // icon position
45
- [o.rootIconLeft]: k === "left"
46
- }), s = a === void 0 ? "span" : "a";
47
- return /* @__PURE__ */ r.jsxs(
48
- s,
49
- {
50
- className: D,
51
- "data-trackingid": g,
52
- ...s === "a" && {
53
- href: a,
54
- target: f,
55
- rel: b,
56
- referrerPolicy: u,
57
- download: c
58
- },
59
- ...d,
60
- ...m,
61
- children: [
62
- /* @__PURE__ */ r.jsx("span", { className: o.label, children: e }),
63
- (i || l) && /* @__PURE__ */ r.jsx(
64
- x,
65
- {
66
- name: i,
67
- theme: t,
68
- source: l,
69
- size: "medium",
70
- "aria-hidden": "true"
71
- }
72
- )
73
- ]
74
- }
75
- );
76
- };
77
- export {
78
- C as DSLinkStandalone
79
- };
package/logo.Hul8qCFo.js DELETED
@@ -1,65 +0,0 @@
1
- "use client";
2
- import { j as g } from "./chunks/jsx-runtime.C115EyI4.js";
3
- import { c as r } from "./chunks/index.CvOaL64Y.js";
4
- import './assets/logo.CnW8alZU.css';const x = "ds-logo_anchor_xhwl6_1", _ = "ds-logo_svg_xhwl6_2", e = "ds-logo_svg-background_xhwl6_40", k = "ds-logo_svg-background--dark_xhwl6_43", u = "ds-logo_svg-text_xhwl6_46", w = "ds-logo_svg-text--dark_xhwl6_49", s = {
5
- anchor: x,
6
- svg: _,
7
- "svg-background": "ds-logo_svg-background_xhwl6_40",
8
- svgBackground: e,
9
- "svg-background--dark": "ds-logo_svg-background--dark_xhwl6_43",
10
- svgBackgroundDark: k,
11
- "svg-text": "ds-logo_svg-text_xhwl6_46",
12
- svgText: u,
13
- "svg-text--dark": "ds-logo_svg-text--dark_xhwl6_49",
14
- svgTextDark: w
15
- }, B = ({
16
- aria: c,
17
- className: l,
18
- href: o,
19
- target: h = "_self",
20
- theme: d = "light",
21
- variant: n = "standard",
22
- ...v
23
- }) => {
24
- const a = n === "background" || d === "dark", t = /* @__PURE__ */ g.jsxs(
25
- "svg",
26
- {
27
- xmlns: "http://www.w3.org/2000/svg",
28
- className: r(s.svg, !o && l),
29
- viewBox: "0 0 408 179",
30
- width: "100%",
31
- height: "100%",
32
- children: [
33
- /* @__PURE__ */ g.jsx("title", { children: "STIHL" }),
34
- /* @__PURE__ */ g.jsx(
35
- "path",
36
- {
37
- className: a ? s.svgBackgroundDark : s.svgBackground,
38
- d: "M408 0H0v179h408V0Z"
39
- }
40
- ),
41
- /* @__PURE__ */ g.jsx(
42
- "path",
43
- {
44
- className: a ? s.svgTextDark : s.svgText,
45
- d: "M195.459 56.314h-61.656l-4.936 16.193h20.668l-15.304 50.179h20.106l15.293-50.18h20.893l4.936-16.192ZM62.286 66.62l-5.353 17.558c-2.384 7.814 1.957 13.531 9.637 13.531h25.065a1.626 1.626 0 0 1 1.288.7 1.638 1.638 0 0 1 .207 1.454l-1.349 4.42a3.37 3.37 0 0 1-2.8 2.154H49.624l-4.993 16.249h50.816c5.622 0 10.39-2.605 12.842-10.645l5.094-16.677c2.406-7.894-2.081-13.532-9.086-13.532H79.108c-1.394 0-1.945-1.015-1.563-2.255l1.35-4.42a3.385 3.385 0 0 1 1.185-1.872 3.368 3.368 0 0 1 2.087-.733h36.253l4.937-16.193H75.251c-6.87-.045-11.155 4.364-12.965 10.261ZM320.571 106.493l15.304-50.18h-20.218l-20.23 66.373h63.017l4.936-16.193h-42.809ZM282.653 56.314l-7.771 25.484H250.83l7.77-25.484h-19.319l-20.23 66.372h19.308l7.736-25.372h24.053l-7.725 25.372h19.836l20.23-66.372h-19.836ZM205.917 56.314l-20.229 66.372h20.218l20.23-66.372h-20.219Z"
46
- }
47
- )
48
- ]
49
- }
50
- );
51
- return o ? /* @__PURE__ */ g.jsx(
52
- "a",
53
- {
54
- className: r(s.anchor, l),
55
- href: o,
56
- target: h,
57
- ...c,
58
- ...v,
59
- children: t
60
- }
61
- ) : t;
62
- };
63
- export {
64
- B as DSLogo
65
- };
@@ -1,9 +0,0 @@
1
- "use client";
2
- import "./chunks/jsx-runtime.C115EyI4.js";
3
- import "./chunks/index.CvOaL64Y.js";
4
- import "./button.BfcWQZhx.js";
5
- import "./chunks/Icon.BCmt_XBG.js";
6
- import { D as e } from "./chunks/Notification.uAEjPywP.js";
7
- export {
8
- e as DSNotification
9
- };
@@ -1,26 +0,0 @@
1
- "use client";
2
- import { j as c } from "./chunks/jsx-runtime.C115EyI4.js";
3
- import { c as a } from "./chunks/index.CvOaL64Y.js";
4
- import './assets/numberindicator.BJ9vFpnd.css';const m = "ds-number-indicator_root_t83wm_1", g = "ds-number-indicator_root--has-content_t83wm_25", _ = "ds-number-indicator_root--highlight_t83wm_30", n = {
5
- root: m,
6
- "root--has-content": "ds-number-indicator_root--has-content_t83wm_25",
7
- rootHasContent: g,
8
- "root--highlight": "ds-number-indicator_root--highlight_t83wm_30",
9
- rootHighlight: _
10
- }, u = ({
11
- label: t,
12
- className: r,
13
- variant: s = "default",
14
- ...i
15
- }) => {
16
- const o = typeof t == "string" && t.trim().length > 0, e = o ? t.trim().substring(0, 4) : null, h = a(n.root, r, {
17
- [n.rootHasContent]: o,
18
- // It is not possible to allow the `default` variant to be applied when there is no content.
19
- // The "minimized" version "dot" should always be orange and never grey.
20
- [n.rootHighlight]: s === "highlight" || !o
21
- });
22
- return /* @__PURE__ */ c.jsx("span", { className: h, ...i, children: e });
23
- };
24
- export {
25
- u as NumberIndicator
26
- };
@@ -1,43 +0,0 @@
1
- "use client";
2
- import { j as c } from "./chunks/jsx-runtime.C115EyI4.js";
3
- import { c as s } from "./chunks/index.CvOaL64Y.js";
4
- import { D as a } from "./chunks/Icon.BCmt_XBG.js";
5
- import './assets/optioncheckbox.BZaWtRD7.css';const m = "ds-combobox_root_q88mt_1", _ = "ds-combobox_root--disabled_q88mt_21", l = "ds-combobox_checkbox_q88mt_25", i = "ds-combobox_icon-check_q88mt_41", k = "ds-combobox_checkbox--checked_q88mt_62", n = "ds-combobox_checkbox--disabled_q88mt_65", r = "ds-combobox_label_q88mt_82", o = {
6
- root: m,
7
- "root--disabled": "ds-combobox_root--disabled_q88mt_21",
8
- rootDisabled: _,
9
- checkbox: l,
10
- "icon-check": "ds-combobox_icon-check_q88mt_41",
11
- iconCheck: i,
12
- "checkbox--checked": "ds-combobox_checkbox--checked_q88mt_62",
13
- checkboxChecked: k,
14
- "checkbox--disabled": "ds-combobox_checkbox--disabled_q88mt_65",
15
- checkboxDisabled: n,
16
- label: r
17
- }, D = ({
18
- label: b,
19
- checked: t,
20
- className: d,
21
- disabled: e
22
- }) => {
23
- const x = s(o.root, {
24
- [o.rootDisabled]: e
25
- }), h = s(o.checkbox, {
26
- [o.checkboxDisabled]: e,
27
- [o.checkboxChecked]: t
28
- });
29
- return /* @__PURE__ */ c.jsx("div", { className: d, children: /* @__PURE__ */ c.jsxs("div", { className: x, children: [
30
- /* @__PURE__ */ c.jsx("span", { className: h, children: /* @__PURE__ */ c.jsx(
31
- a,
32
- {
33
- name: "check",
34
- className: o.iconCheck,
35
- "aria-hidden": "true"
36
- }
37
- ) }),
38
- /* @__PURE__ */ c.jsx("span", { className: o.label, children: b })
39
- ] }) });
40
- };
41
- export {
42
- D as OptionCheckbox
43
- };
package/radio.B-2uuWHq.js DELETED
@@ -1,114 +0,0 @@
1
- "use client";
2
- import { j as i } from "./chunks/jsx-runtime.C115EyI4.js";
3
- import { c as h } from "./chunks/index.CvOaL64Y.js";
4
- import { forwardRef as $, useRef as C, useState as E, useEffect as L, useCallback as O } from "react";
5
- import { u as P } from "./chunks/useBreakpoint.B8XxjSVJ.js";
6
- import './assets/radio.X-RTl_jo.css';const v = (o) => o.replace(/\s+/g, ""), U = "ds-radio_root_tdhm5_1", q = "ds-radio_root--disabled_tdhm5_21", z = "ds-radio_root--with-custom-area_tdhm5_24", F = "ds-radio_radio_tdhm5_28", G = "ds-radio_dot_tdhm5_45", J = "ds-radio_radio--invalid_tdhm5_69", K = "ds-radio_label_tdhm5_74", M = "ds-radio_label--bold_tdhm5_88", Q = "ds-radio_label--hidden_tdhm5_99", T = "ds-radio_label--with-custom-area_tdhm5_111", X = "ds-radio_custom-area_tdhm5_115", Y = "ds-radio_hint_tdhm5_123", Z = "ds-radio_hint--visible_tdhm5_146", tt = "ds-radio_hint--unchecked-hidden_tdhm5_150", dt = "ds-radio_hint--hidden_tdhm5_155", et = "ds-radio_input_tdhm5_168", t = {
7
- root: U,
8
- "root--disabled": "ds-radio_root--disabled_tdhm5_21",
9
- rootDisabled: q,
10
- "root--with-custom-area": "ds-radio_root--with-custom-area_tdhm5_24",
11
- rootWithCustomArea: z,
12
- radio: F,
13
- dot: G,
14
- "radio--invalid": "ds-radio_radio--invalid_tdhm5_69",
15
- radioInvalid: J,
16
- label: K,
17
- "label--bold": "ds-radio_label--bold_tdhm5_88",
18
- labelBold: M,
19
- "label--hidden": "ds-radio_label--hidden_tdhm5_99",
20
- labelHidden: Q,
21
- "label--with-custom-area": "ds-radio_label--with-custom-area_tdhm5_111",
22
- labelWithCustomArea: T,
23
- "custom-area": "ds-radio_custom-area_tdhm5_115",
24
- customArea: X,
25
- hint: Y,
26
- "hint--visible": "ds-radio_hint--visible_tdhm5_146",
27
- hintVisible: Z,
28
- "hint--unchecked-hidden": "ds-radio_hint--unchecked-hidden_tdhm5_150",
29
- hintUncheckedHidden: tt,
30
- "hint--hidden": "ds-radio_hint--hidden_tdhm5_155",
31
- hintHidden: dt,
32
- input: et
33
- }, it = $(
34
- ({
35
- label: o,
36
- name: u,
37
- value: b,
38
- checked: f,
39
- className: x,
40
- customArea: s,
41
- defaultChecked: k = !1,
42
- disabled: a = !1,
43
- hideLabel: j = !1,
44
- hint: r,
45
- invalid: N = !1,
46
- isBold: g = !1,
47
- hideUncheckedHint: l = !1,
48
- onChange: _,
49
- ...H
50
- }, n) => {
51
- const w = C(null), d = C(null), [D, A] = E(k), m = f !== void 0, c = m ? f : D;
52
- L(() => {
53
- d.current && l && ((d.current.style.height === "0px" || d.current.style.height === "") && c ? (d.current.style.height = `${d.current.scrollHeight}px`, d.current.style.opacity = "1") : (d.current.style.opacity = "0", d.current.style.height = "0px"));
54
- }, [d, c]);
55
- const p = P(j), W = h(
56
- t.root,
57
- {
58
- [t.rootDisabled]: a,
59
- [t.rootWithCustomArea]: !!s
60
- },
61
- x
62
- ), B = h(t.label, {
63
- [t.labelBold]: g,
64
- // hide label only visually to keep them available for assistive technologies
65
- [t.labelHidden]: p,
66
- [t.labelWithCustomArea]: !!s
67
- }), V = () => !l && r ? !0 : !!(l && r && c), I = h(t.hint, {
68
- [t.hintHidden]: p,
69
- [t.hintUncheckedHidden]: l,
70
- [t.hintVisible]: V()
71
- }), R = h(t.radio, {
72
- [t.radioInvalid]: N
73
- }), S = O(
74
- (e) => {
75
- if (a) {
76
- e.preventDefault();
77
- return;
78
- }
79
- m || A(e.target.checked), _ && _(e);
80
- },
81
- [a, m, _]
82
- ), y = r ? `${v(u)}-${v(b)}-description` : void 0;
83
- return /* @__PURE__ */ i.jsxs("label", { className: W, children: [
84
- /* @__PURE__ */ i.jsx(
85
- "input",
86
- {
87
- type: "radio",
88
- value: b,
89
- name: u,
90
- className: t.input,
91
- ref: (e) => {
92
- typeof n == "function" ? n(e) : n !== null && (n.current = e), w.current = e;
93
- },
94
- onChange: S,
95
- ...H,
96
- disabled: a,
97
- checked: c,
98
- "aria-label": typeof o == "string" ? o : void 0,
99
- "aria-describedby": y
100
- }
101
- ),
102
- /* @__PURE__ */ i.jsx("span", { className: R, children: /* @__PURE__ */ i.jsx("div", { className: t.dot }) }),
103
- /* @__PURE__ */ i.jsxs("span", { className: B, children: [
104
- o,
105
- s && /* @__PURE__ */ i.jsx("div", { className: t.customArea, children: s }),
106
- /* @__PURE__ */ i.jsx("span", { id: y, className: I, ref: d, children: r })
107
- ] })
108
- ] });
109
- }
110
- );
111
- it.displayName = "DSRadio";
112
- export {
113
- it as DSRadio
114
- };
@@ -1,10 +0,0 @@
1
- "use client";
2
- import "./chunks/jsx-runtime.C115EyI4.js";
3
- import "./chunks/index.CvOaL64Y.js";
4
- import "react";
5
- import "./chunks/Fieldset.Ct_JFRs9.js";
6
- import "./radio.B-2uuWHq.js";
7
- import { D as a } from "./chunks/RadioGroup.D10-pe9H.js";
8
- export {
9
- a as DSRadioGroup
10
- };
@@ -1,12 +0,0 @@
1
- "use client";
2
- import "./chunks/jsx-runtime.C115EyI4.js";
3
- import "./chunks/index.CvOaL64Y.js";
4
- import "react";
5
- import "./chunks/useBreakpoint.B8XxjSVJ.js";
6
- import "./asterisk.DpzETKdT.js";
7
- import "./chunks/Icon.BCmt_XBG.js";
8
- import "./systemfeedback.C3Pfxxpp.js";
9
- import { D as s } from "./chunks/Select.DsLnW29U.js";
10
- export {
11
- s as DSSelect
12
- };
@@ -1,45 +0,0 @@
1
- "use client";
2
- import { j as k } from "./chunks/jsx-runtime.C115EyI4.js";
3
- import { c as p } from "./chunks/index.CvOaL64Y.js";
4
- import { g as s } from "./chunks/helpers.CcqWV-wZ.js";
5
- import "react";
6
- import { DSLink as c } from "./link.L8O_InKe.js";
7
- import './assets/skiptocontent.PTL3256m.css';const h = "ds-skip-to-content_root_uqkjt_1", m = "ds-skip-to-content_root--dark_uqkjt_8", r = {
8
- root: h,
9
- "root--dark": "ds-skip-to-content_root--dark_uqkjt_8",
10
- rootDark: m
11
- }, _ = ({
12
- children: e = "Skip to main content",
13
- className: n,
14
- targetElementId: t = "main",
15
- theme: o = "light",
16
- ...a
17
- }) => {
18
- t.startsWith("#") && console.warn(
19
- s(
20
- "DSSkipToContent",
21
- 'The targetElementId should not start with a "#" character. Please provide the id of the element you want to skip to.'
22
- )
23
- ), (t.startsWith("http") || t.startsWith(".")) && console.warn(
24
- s(
25
- "DSSkipToContent",
26
- 'The targetElementId should not start with "http" or ".". Please provide the id of the element you want to skip to.'
27
- )
28
- );
29
- const i = p(r.root, n, {
30
- [r.rootDark]: o === "dark"
31
- });
32
- return /* @__PURE__ */ k.jsx(
33
- c,
34
- {
35
- ...a,
36
- className: i,
37
- href: `#${t}`,
38
- theme: o,
39
- children: e
40
- }
41
- );
42
- };
43
- export {
44
- _ as DSSkipToContent
45
- };
@@ -1,58 +0,0 @@
1
- "use client";
2
- import { j as s } from "./chunks/jsx-runtime.C115EyI4.js";
3
- import { c as l } from "./chunks/index.CvOaL64Y.js";
4
- import { D as m } from "./chunks/Icon.BCmt_XBG.js";
5
- import './assets/spinner.2iWJWKyA.css';const _ = "ds-spinner_root_15hmy_1", d = "ds-spinner_root-size-small_15hmy_7", z = "ds-spinner_root-size-medium_15hmy_11", c = "ds-spinner_root-size-large_15hmy_15", h = "ds-spinner_root-size-x-large_15hmy_19", p = "ds-spinner_root-size-inherit_15hmy_23", S = "ds-spinner_rotate_15hmy_1", y = "ds-spinner_screenReaderOnly_15hmy_48", e = {
6
- root: _,
7
- "root-size-small": "ds-spinner_root-size-small_15hmy_7",
8
- rootSizeSmall: d,
9
- "root-size-medium": "ds-spinner_root-size-medium_15hmy_11",
10
- rootSizeMedium: z,
11
- "root-size-large": "ds-spinner_root-size-large_15hmy_15",
12
- rootSizeLarge: c,
13
- "root-size-x-large": "ds-spinner_root-size-x-large_15hmy_19",
14
- rootSizeXLarge: h,
15
- "root-size-inherit": "ds-spinner_root-size-inherit_15hmy_23",
16
- rootSizeInherit: p,
17
- rotate: S,
18
- screenReaderOnly: y
19
- }, L = ({
20
- aria: o,
21
- className: i,
22
- size: r = "small",
23
- theme: t = "light",
24
- ...n
25
- }) => {
26
- const a = l(e.root, i, {
27
- [e.rootSizeSmall]: r === "small",
28
- [e.rootSizeMedium]: r === "medium",
29
- [e.rootSizeLarge]: r === "large",
30
- [e.rootSizeXLarge]: r === "x-large",
31
- [e.rootSizeInherit]: r === "inherit"
32
- });
33
- return /* @__PURE__ */ s.jsxs(
34
- "span",
35
- {
36
- className: a,
37
- role: "alert",
38
- "aria-live": "assertive",
39
- "aria-label": (o == null ? void 0 : o["aria-label"]) || void 0,
40
- ...n,
41
- children: [
42
- /* @__PURE__ */ s.jsx("span", { className: e.screenReaderOnly, children: " " }),
43
- /* @__PURE__ */ s.jsx(
44
- m,
45
- {
46
- name: "loading-spinner",
47
- theme: t,
48
- focusable: "false",
49
- "aria-hidden": "true"
50
- }
51
- )
52
- ]
53
- }
54
- );
55
- };
56
- export {
57
- L as DSSpinner
58
- };
@@ -1,65 +0,0 @@
1
- "use client";
2
- import { j as t } from "./chunks/jsx-runtime.C115EyI4.js";
3
- import { c as w } from "./chunks/index.CvOaL64Y.js";
4
- import "react";
5
- import { D as b } from "./chunks/Icon.BCmt_XBG.js";
6
- import { DSSpinner as p } from "./spinner.Bq97Og-6.js";
7
- import './assets/switch.gw6aa3kx.css';const f = "ds-switch_root_gdcld_1", x = "ds-switch_root--label-right_gdcld_40", j = "ds-switch_root--stretched_gdcld_43", k = "ds-switch_loader_gdcld_53", S = "ds-switch_thumb_gdcld_111", C = "ds-switch_root--checked_gdcld_126", s = {
8
- root: f,
9
- "root--label-right": "ds-switch_root--label-right_gdcld_40",
10
- rootLabelRight: x,
11
- "root--stretched": "ds-switch_root--stretched_gdcld_43",
12
- rootStretched: j,
13
- switch: "ds-switch_switch_gdcld_48",
14
- loader: k,
15
- thumb: S,
16
- "root--checked": "ds-switch_root--checked_gdcld_126",
17
- rootChecked: C
18
- }, E = ({
19
- children: a,
20
- aria: h,
21
- alignLabel: i = "left",
22
- checked: r = !1,
23
- className: l,
24
- dataTrackingid: _,
25
- disabled: e = !1,
26
- loading: o = !1,
27
- stretched: n = !1,
28
- onClick: c,
29
- ...m
30
- }) => {
31
- const g = w(s.root, l, {
32
- [s.rootChecked]: r === !0,
33
- [s.rootStretched]: n === !0,
34
- [s.rootLabelRight]: i === "right"
35
- }), u = (d) => {
36
- if (e || o) {
37
- d.preventDefault();
38
- return;
39
- }
40
- c && c(d);
41
- };
42
- return /* @__PURE__ */ t.jsxs(
43
- "button",
44
- {
45
- className: g,
46
- "data-trackingid": _,
47
- onClick: u,
48
- ...h,
49
- ...m,
50
- type: "button",
51
- role: "switch",
52
- "aria-checked": r,
53
- "aria-disabled": e || o,
54
- "aria-busy": o,
55
- children: [
56
- /* @__PURE__ */ t.jsx("span", { children: a }),
57
- !o && /* @__PURE__ */ t.jsx("span", { className: s.switch, children: /* @__PURE__ */ t.jsx("span", { className: s.thumb, children: /* @__PURE__ */ t.jsx(b, { name: "check", "aria-hidden": "true" }) }) }),
58
- o && /* @__PURE__ */ t.jsx("span", { className: s.loader, children: /* @__PURE__ */ t.jsx(p, { aria: { "aria-label": "Loading state" } }) })
59
- ]
60
- }
61
- );
62
- };
63
- export {
64
- E as DSSwitch
65
- };
@@ -1,25 +0,0 @@
1
- "use client";
2
- import { j as o } from "./chunks/jsx-runtime.C115EyI4.js";
3
- import { c } from "./chunks/index.CvOaL64Y.js";
4
- import { D as n } from "./chunks/Icon.BCmt_XBG.js";
5
- import './assets/systemfeedback.BPz5YlPC.css';const i = "ds-system-feedback_root_1l65g_1", l = {
6
- root: i
7
- }, m = {
8
- valid: "circle-check-colored",
9
- invalid: "diamond-exclamationmark-colored",
10
- warning: "triangle-exclamationmark-colored"
11
- }, p = ({
12
- className: e,
13
- message: s,
14
- type: r,
15
- ...t
16
- }) => {
17
- const a = c(l.root, e);
18
- return /* @__PURE__ */ o.jsxs("div", { className: a, ...t, role: "alert", children: [
19
- /* @__PURE__ */ o.jsx(n, { name: m[r], "aria-hidden": "true" }),
20
- s
21
- ] });
22
- };
23
- export {
24
- p as DSSystemFeedback
25
- };