@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
@@ -0,0 +1,251 @@
1
+ "use client";
2
+ import { jsx as h, jsxs as ae } from "react/jsx-runtime";
3
+ import { d as Ce } from "./chunks/index.CgTHIF3K.js";
4
+ import { c as Z } from "./chunks/index.CEyLAtio.js";
5
+ import { useState as ie, useRef as W, useEffect as ke } from "react";
6
+ import { h as de } from "./chunks/has-window.ut_-aShB.js";
7
+ import { g as xe } from "./chunks/helpers.CcqWV-wZ.js";
8
+ import { u as fe } from "./chunks/useIsomorphicLayoutEffect.CnJ9AMFS.js";
9
+ import { DSButton as ve } from "./button.Ywd82k7O.js";
10
+ import { D as Ee } from "./chunks/Icon.DhKyUWtM.js";
11
+ import { NumberIndicator as We } from "./numberindicator.Do92cr0z.js";
12
+ import { a as Te, g as Me } from "./chunks/TabPane.utils.DG16Y2uD.js";
13
+ import { s as f, N as Pe } from "./chunks/NavigationTabList.BOrhiSiM.js";
14
+ const ue = () => {
15
+ if (de) {
16
+ const c = getComputedStyle(document.documentElement).getPropertyValue("--ds-animation-duration").trim();
17
+ return c === "0s" || c === "0ms";
18
+ } else
19
+ return !0;
20
+ }, m = (c) => de && (c == null ? void 0 : c.getBoundingClientRect()) || DOMRect.fromRect({
21
+ x: 0,
22
+ y: 0,
23
+ width: 0,
24
+ height: 0
25
+ }), M = 48, Ue = (c) => {
26
+ const e = Ce.c(50);
27
+ let p, b, g, P, v, s, $, z, A, T, a;
28
+ e[0] !== c ? ({
29
+ aria: p,
30
+ id: T,
31
+ selectedTabIndex: s,
32
+ setSelectedTabIndex: $,
33
+ tabs: a,
34
+ alignment: z,
35
+ className: b,
36
+ defaultSelectedTabIndex: A,
37
+ isNavigation: g,
38
+ onTabChange: P,
39
+ ...v
40
+ } = c, e[0] = c, e[1] = p, e[2] = b, e[3] = g, e[4] = P, e[5] = v, e[6] = s, e[7] = $, e[8] = z, e[9] = A, e[10] = T, e[11] = a) : (p = e[1], b = e[2], g = e[3], P = e[4], v = e[5], s = e[6], $ = e[7], z = e[8], A = e[9], T = e[10], a = e[11]);
41
+ const K = z === void 0 ? "left" : z, we = A === void 0 ? 0 : A, [V, d] = ie(we), [Re, ye] = ie(!1), [Ie, Le] = ie(!1);
42
+ let X;
43
+ e[12] === Symbol.for("react.memo_cache_sentinel") ? (X = [], e[12] = X) : X = e[12];
44
+ const w = W(X), R = W(null), i = W(null), u = W(null), H = W(!1), me = W(s), _ = () => {
45
+ pe(), De();
46
+ };
47
+ let j;
48
+ e[13] === Symbol.for("react.memo_cache_sentinel") ? (j = [], e[13] = j) : j = e[13], fe(() => {
49
+ const r = new ResizeObserver(_);
50
+ return i.current && r.observe(i.current), () => {
51
+ r.disconnect();
52
+ };
53
+ }, j);
54
+ let q;
55
+ e[14] !== K || e[15] !== a ? (q = [a, K], e[14] = K, e[15] = a, e[16] = q) : q = e[16], fe(() => {
56
+ var o;
57
+ const r = ["16px 'STIHL Contraface Digital Text Regular'", "14px 'STIHL Contraface Digital Text Demi'", "16px 'STIHL Contraface Digital Text Bold'"];
58
+ Promise.all(r.map(ze)).then(() => {
59
+ ee(s), O("next", s, "instant"), pe(), H.current = !0;
60
+ }).catch(Ae);
61
+ const t = () => {
62
+ !H.current || !u.current || (n.matches ? u.current.style.transitionDuration = "0s" : u.current.style.transitionDuration = "");
63
+ }, n = window.matchMedia("(prefers-reduced-motion: reduce)");
64
+ return n.addEventListener("change", t), (o = i.current) == null || o.addEventListener("scroll", _), () => {
65
+ var l;
66
+ n.removeEventListener("change", t), (l = i.current) == null || l.removeEventListener("scroll", _);
67
+ };
68
+ }, q);
69
+ let F;
70
+ e[17] !== s ? (F = [s], e[17] = s, e[18] = F) : F = e[18], fe(() => {
71
+ if (H.current && (ee(s), g)) {
72
+ const r = he(s);
73
+ d(s), O(r, s);
74
+ }
75
+ me.current = s;
76
+ }, F);
77
+ let G, Q;
78
+ e[19] !== V ? (G = () => {
79
+ var r;
80
+ H.current && ((r = w.current[V]) == null || r.focus());
81
+ }, Q = [V], e[19] = V, e[20] = G, e[21] = Q) : (G = e[20], Q = e[21]), ke(G, Q);
82
+ const J = (r) => {
83
+ const t = he(r);
84
+ $(r), d(r), O(t, r), P && P(r);
85
+ }, he = (r) => {
86
+ const t = m(i.current), n = m(w.current[r]);
87
+ let o;
88
+ return n.left - M < t.left ? o = "prev" : n.right + M > t.right ? o = "next" : o = s < r ? "next" : "prev", o;
89
+ }, pe = () => {
90
+ if (i.current && R.current) {
91
+ const r = m(i.current), t = m(R.current);
92
+ ye(t.left < r.left), Le(t.right > r.right + 4);
93
+ }
94
+ }, be = (r) => {
95
+ const t = r === void 0 ? 0 : r;
96
+ de && u.current && !ue() && !window.matchMedia("(prefers-reduced-motion: reduce)").matches && setTimeout(() => {
97
+ u.current && (u.current.style.transitionDuration = "250ms");
98
+ }, t);
99
+ }, De = () => {
100
+ u.current && (u.current.style.transitionDuration = "0s", ee(me.current), be());
101
+ }, ee = (r) => {
102
+ const t = u.current, n = m(w.current[r]), o = m(R.current), l = n.left - o.left;
103
+ t && (H.current ? (t.style.width = `${n.width}px`, t.style.transform = `translateX(${l}px)`) : (t.style.transitionDuration = "0s", t.style.transform = `translateX(${l}px)`, t.style.width = `${n.width}px`, be(50)));
104
+ }, Se = (r, t) => {
105
+ let n;
106
+ e: switch (r.key) {
107
+ case "ArrowLeft": {
108
+ n = (t > 0 ? t : a.length) - 1, d(n);
109
+ break e;
110
+ }
111
+ case "ArrowRight": {
112
+ n = (t + 1) % a.length, d(n);
113
+ break e;
114
+ }
115
+ case "Home": {
116
+ n = 0, d(n);
117
+ break e;
118
+ }
119
+ case "End": {
120
+ n = a.length - 1, d(n);
121
+ break e;
122
+ }
123
+ case "Enter":
124
+ case " ": {
125
+ J(t);
126
+ return;
127
+ }
128
+ default:
129
+ return;
130
+ }
131
+ if (n !== void 0) {
132
+ const o = n > t ? "next" : "prev";
133
+ setTimeout(() => O(o, n), 0);
134
+ }
135
+ r.preventDefault();
136
+ }, Ne = (r, t) => {
137
+ let n;
138
+ e: switch (r.key) {
139
+ case "Tab": {
140
+ if (r.shiftKey) {
141
+ n = t - 1 < 0 ? 0 : t - 1, d(n), t !== 0 && r.preventDefault();
142
+ break e;
143
+ } else
144
+ n = t + 1 > a.length - 1 ? t : t + 1, d(n), t !== a.length - 1 && r.preventDefault();
145
+ break e;
146
+ }
147
+ case "Enter": {
148
+ J(t);
149
+ return;
150
+ }
151
+ default:
152
+ return;
153
+ }
154
+ if (n !== void 0) {
155
+ const o = n > t ? "next" : "prev";
156
+ setTimeout(() => O(o, n), 0);
157
+ }
158
+ }, O = (r, t, n) => {
159
+ const o = n === void 0 ? "smooth" : n, l = w.current[t], x = i.current, E = m(l), ce = m(x);
160
+ let le;
161
+ if (!(!l || !x)) {
162
+ if (r === "prev") {
163
+ if (E.left - M > ce.left)
164
+ return;
165
+ le = l.offsetLeft - M;
166
+ } else {
167
+ if (E.right + M < ce.right)
168
+ return;
169
+ le = l.offsetLeft + l.offsetWidth - ce.width + M;
170
+ }
171
+ x.scrollTo({
172
+ left: le,
173
+ behavior: ue() ? "instant" : o
174
+ });
175
+ }
176
+ }, y = (r) => {
177
+ var n;
178
+ const t = Be(r);
179
+ (n = i.current) == null || n.scrollTo({
180
+ left: t,
181
+ behavior: ue() ? "instant" : "smooth"
182
+ });
183
+ }, Be = (r) => {
184
+ if (!R.current || !i.current)
185
+ return 0;
186
+ const {
187
+ scrollLeft: t,
188
+ offsetWidth: n
189
+ } = i.current, o = Math.round(n * 0.2);
190
+ return r === "next" ? t + o : t - o;
191
+ }, ge = Z(f.scroller, {
192
+ [f.scrollerCentered]: K === "center"
193
+ }), te = g ? "nav" : "div";
194
+ let I;
195
+ e[22] !== b ? (I = Z(f.tabsWrapper, b), e[22] = b, e[23] = I) : I = e[23];
196
+ const re = f, ne = g ? /* @__PURE__ */ h(Pe, { tabs: a, tabRefs: w, scrollerRef: R, handleNavigationKeydown: Ne, scrollerClass: ge, selectedTabIndex: s, setSelectedTab: J }) : /* @__PURE__ */ h("div", { role: "tablist", className: ge, ref: R, children: a.map((r, t) => {
197
+ const {
198
+ id: n,
199
+ label: o,
200
+ iconName: l,
201
+ numberIndicatorValue: x
202
+ } = r;
203
+ return /* @__PURE__ */ ae("button", { id: Te(T, n), role: "tab", "aria-selected": s === t, "aria-controls": Me(T, n, t), tabIndex: s === t ? 0 : -1, className: f.tab, ref: (E) => {
204
+ w.current[t] = E;
205
+ }, onClick: () => J(t), onKeyDown: (E) => Se(E, t), children: [
206
+ l && /* @__PURE__ */ h(Ee, { name: l, "aria-hidden": "true" }),
207
+ o,
208
+ x && /* @__PURE__ */ h(We, { label: x })
209
+ ] }, Te(T, n));
210
+ }) });
211
+ let U;
212
+ e[24] === Symbol.for("react.memo_cache_sentinel") ? (U = /* @__PURE__ */ h("span", { className: f.indicator, ref: u }), e[24] = U) : U = e[24];
213
+ let L;
214
+ e[25] !== te || e[26] !== p || e[27] !== re.scrollWrapper || e[28] !== ne ? (L = /* @__PURE__ */ ae(te, { className: re.scrollWrapper, ref: i, ...p, children: [
215
+ ne,
216
+ U
217
+ ] }), e[25] = te, e[26] = p, e[27] = re.scrollWrapper, e[28] = ne, e[29] = L) : L = e[29];
218
+ const oe = !Re;
219
+ let D;
220
+ e[30] !== oe ? (D = Z(f.scrollButton, {
221
+ [f.scrollButtonHidden]: oe
222
+ }), e[30] = oe, e[31] = D) : D = e[31];
223
+ let S;
224
+ e[32] !== y ? (S = () => y("prev"), e[32] = y, e[33] = S) : S = e[33];
225
+ let N;
226
+ e[34] !== D || e[35] !== S ? (N = /* @__PURE__ */ h(ve, { variant: "filled", className: D, hideLabel: !0, iconName: "chevron-left", tabIndex: -1, size: "small", onClick: S, children: "Left" }), e[34] = D, e[35] = S, e[36] = N) : N = e[36];
227
+ const se = !Ie;
228
+ let B;
229
+ e[37] !== se ? (B = Z(f.scrollButton, f.scrollButtonRight, {
230
+ [f.scrollButtonHidden]: se
231
+ }), e[37] = se, e[38] = B) : B = e[38];
232
+ let C;
233
+ e[39] !== y ? (C = () => y("next"), e[39] = y, e[40] = C) : C = e[40];
234
+ let k;
235
+ e[41] !== B || e[42] !== C ? (k = /* @__PURE__ */ h(ve, { variant: "filled", className: B, hideLabel: !0, iconName: "chevron-right", tabIndex: -1, size: "small", onClick: C, children: "Right" }), e[41] = B, e[42] = C, e[43] = k) : k = e[43];
236
+ let Y;
237
+ return e[44] !== v || e[45] !== I || e[46] !== L || e[47] !== N || e[48] !== k ? (Y = /* @__PURE__ */ ae("div", { className: I, ...v, children: [
238
+ L,
239
+ N,
240
+ k
241
+ ] }), e[44] = v, e[45] = I, e[46] = L, e[47] = N, e[48] = k, e[49] = Y) : Y = e[49], Y;
242
+ };
243
+ function ze(c) {
244
+ return document.fonts.load(c);
245
+ }
246
+ function Ae(c) {
247
+ throw new Error(xe("DSTabs", `The component requires the fonts to be loaded: ${c}`));
248
+ }
249
+ export {
250
+ Ue as TabList
251
+ };
package/tablist.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from './components/Tabs/TabList/TabList'
2
+ export {}
@@ -0,0 +1,37 @@
1
+ "use client";
2
+ import { jsx as h } from "react/jsx-runtime";
3
+ import { d as T } from "./chunks/index.CgTHIF3K.js";
4
+ import { c as g } from "./chunks/index.CEyLAtio.js";
5
+ import { useRef as y, useState as F, useEffect as N } from "react";
6
+ import { c as P, g as v, a as R } from "./chunks/TabPane.utils.DG16Y2uD.js";
7
+ import './assets/tabpane.D1LTb432.css';const S = "ds-tabs_tabpane_30tnb_1", j = {
8
+ tabpane: S
9
+ }, k = (x) => {
10
+ const e = T.c(19), {
11
+ id: t,
12
+ content: s,
13
+ index: o,
14
+ selectedTabIndex: E,
15
+ tabListId: a,
16
+ className: f
17
+ } = x, m = y(null), [I, _] = F(!1);
18
+ let c;
19
+ e[0] === Symbol.for("react.memo_cache_sentinel") ? (c = () => {
20
+ m.current && _(P(m.current));
21
+ }, e[0] = c) : c = e[0];
22
+ let i;
23
+ e[1] !== s ? (i = [s], e[1] = s, e[2] = i) : i = e[2], N(c, i);
24
+ let r;
25
+ e[3] !== f ? (r = g(j.tabpane, f), e[3] = f, e[4] = r) : r = e[4];
26
+ const d = r;
27
+ let n;
28
+ e[5] !== t || e[6] !== o || e[7] !== a ? (n = v(a, t, o), e[5] = t, e[6] = o, e[7] = a, e[8] = n) : n = e[8];
29
+ let l;
30
+ e[9] !== t || e[10] !== a ? (l = R(a, t), e[9] = t, e[10] = a, e[11] = l) : l = e[11];
31
+ const p = E !== o, u = I ? void 0 : 0;
32
+ let b;
33
+ return e[12] !== s || e[13] !== n || e[14] !== l || e[15] !== p || e[16] !== u || e[17] !== d ? (b = /* @__PURE__ */ h("div", { id: n, role: "tabpanel", "aria-labelledby": l, hidden: p, tabIndex: u, ref: m, className: d, children: s }), e[12] = s, e[13] = n, e[14] = l, e[15] = p, e[16] = u, e[17] = d, e[18] = b) : b = e[18], b;
34
+ };
35
+ export {
36
+ k as TabPane
37
+ };
@@ -0,0 +1,11 @@
1
+ "use client";
2
+ import "react/jsx-runtime";
3
+ import "./chunks/index.CgTHIF3K.js";
4
+ import "react";
5
+ import "./tablist.TWjlHs5Y.js";
6
+ import "./tabpane.CB-eudyw.js";
7
+ import "./chunks/TabPane.utils.DG16Y2uD.js";
8
+ import { D as a } from "./chunks/Tabs.D3yDE5nU.js";
9
+ export {
10
+ a as DSTabs
11
+ };
@@ -0,0 +1,59 @@
1
+ "use client";
2
+ import { jsx as D } from "react/jsx-runtime";
3
+ import { d as N } from "./chunks/index.CgTHIF3K.js";
4
+ import { c as w } from "./chunks/index.CEyLAtio.js";
5
+ import './assets/text.BlRcxO8n.css';const z = "ds-text_root_12k0t_1", j = "ds-text_root--large_12k0t_7", y = "ds-text_root--large-bold_12k0t_18", C = "ds-text_root--medium_12k0t_29", E = "ds-text_root--medium-bold_12k0t_40", $ = "ds-text_root--small_12k0t_51", q = "ds-text_root--small-bold_12k0t_62", A = "ds-text_root--x-small_12k0t_73", F = "ds-text_root--x-small-bold_12k0t_84", G = "ds-text_root--xx-small_12k0t_95", H = "ds-text_root--theme-dark_12k0t_189", o = {
6
+ root: z,
7
+ "root--large": "ds-text_root--large_12k0t_7",
8
+ rootLarge: j,
9
+ "root--large-bold": "ds-text_root--large-bold_12k0t_18",
10
+ rootLargeBold: y,
11
+ "root--medium": "ds-text_root--medium_12k0t_29",
12
+ rootMedium: C,
13
+ "root--medium-bold": "ds-text_root--medium-bold_12k0t_40",
14
+ rootMediumBold: E,
15
+ "root--small": "ds-text_root--small_12k0t_51",
16
+ rootSmall: $,
17
+ "root--small-bold": "ds-text_root--small-bold_12k0t_62",
18
+ rootSmallBold: q,
19
+ "root--x-small": "ds-text_root--x-small_12k0t_73",
20
+ rootXSmall: A,
21
+ "root--x-small-bold": "ds-text_root--x-small-bold_12k0t_84",
22
+ rootXSmallBold: F,
23
+ "root--xx-small": "ds-text_root--xx-small_12k0t_95",
24
+ rootXxSmall: G,
25
+ "root--theme-dark": "ds-text_root--theme-dark_12k0t_189",
26
+ rootThemeDark: H
27
+ }, O = (i) => {
28
+ const t = N.c(25);
29
+ let r, e, s, m, d, a, _;
30
+ t[0] !== i ? ({
31
+ children: r,
32
+ className: e,
33
+ size: m,
34
+ tag: d,
35
+ theme: a,
36
+ weight: _,
37
+ ...s
38
+ } = i, t[0] = i, t[1] = r, t[2] = e, t[3] = s, t[4] = m, t[5] = d, t[6] = a, t[7] = _) : (r = t[1], e = t[2], s = t[3], m = t[4], d = t[5], a = t[6], _ = t[7]);
39
+ const l = m === void 0 ? "medium" : m, T = d === void 0 ? "p" : d, v = a === void 0 ? "light" : a, x = _ === void 0 ? "normal" : _, k = T, g = l === "large", u = l === "large" && x === "bold", b = l == "medium", S = l === "medium" && x === "bold", h = l == "small", B = l == "small" && x === "bold", X = l == "x-small", f = l == "x-small" && x === "bold", p = l == "xx-small", L = v === "dark";
40
+ let c;
41
+ t[8] !== e || t[9] !== B || t[10] !== X || t[11] !== f || t[12] !== p || t[13] !== L || t[14] !== g || t[15] !== u || t[16] !== b || t[17] !== S || t[18] !== h ? (c = w(o.root, e, {
42
+ [o.rootLarge]: g,
43
+ [o.rootLargeBold]: u,
44
+ [o.rootMedium]: b,
45
+ [o.rootMediumBold]: S,
46
+ [o.rootSmall]: h,
47
+ [o.rootSmallBold]: B,
48
+ [o.rootXSmall]: X,
49
+ [o.rootXSmallBold]: f,
50
+ [o.rootXxSmall]: p,
51
+ [o.rootThemeDark]: L
52
+ }), t[8] = e, t[9] = B, t[10] = X, t[11] = f, t[12] = p, t[13] = L, t[14] = g, t[15] = u, t[16] = b, t[17] = S, t[18] = h, t[19] = c) : c = t[19];
53
+ const M = c;
54
+ let n;
55
+ return t[20] !== k || t[21] !== r || t[22] !== s || t[23] !== M ? (n = /* @__PURE__ */ D(k, { className: M, ...s, children: r }), t[20] = k, t[21] = r, t[22] = s, t[23] = M, t[24] = n) : n = t[24], n;
56
+ };
57
+ export {
58
+ O as DSText
59
+ };
@@ -0,0 +1,12 @@
1
+ "use client";
2
+ import "react/jsx-runtime";
3
+ import "./chunks/index.CEyLAtio.js";
4
+ import "react";
5
+ import "./chunks/helpers.CcqWV-wZ.js";
6
+ import "./chunks/useBreakpoint.CMOR9ZOB.js";
7
+ import "./asterisk.DUzshaw5.js";
8
+ import "./systemfeedback.7I6fnqjX.js";
9
+ import { D as x } from "./chunks/Textarea.CMRn2Aof.js";
10
+ export {
11
+ x as DSTextarea
12
+ };
@@ -0,0 +1,43 @@
1
+ "use client";
2
+ import { jsxs as L, jsx as U } from "react/jsx-runtime";
3
+ import { d as T } from "./chunks/index.CgTHIF3K.js";
4
+ import { c as D } from "./chunks/index.CEyLAtio.js";
5
+ import './assets/title.B0tsgJ-n.css';const N = "ds-title_root_tt8l3_1", v = "ds-title_root--x-large-uppercase_tt8l3_4", X = "ds-title_root--large-uppercase_tt8l3_20", j = "ds-title_root--theme-dark_tt8l3_36", y = "ds-title_dash_tt8l3_39", c = {
6
+ root: N,
7
+ "root--x-large-uppercase": "ds-title_root--x-large-uppercase_tt8l3_4",
8
+ rootXLargeUppercase: v,
9
+ "root--large-uppercase": "ds-title_root--large-uppercase_tt8l3_20",
10
+ rootLargeUppercase: X,
11
+ "root--theme-dark": "ds-title_root--theme-dark_tt8l3_36",
12
+ rootThemeDark: j,
13
+ dash: y
14
+ }, C = (_) => {
15
+ const t = T.c(18);
16
+ let e, o, r, s, a, l;
17
+ t[0] !== _ ? ({
18
+ children: e,
19
+ className: o,
20
+ size: s,
21
+ tag: a,
22
+ theme: l,
23
+ ...r
24
+ } = _, t[0] = _, t[1] = e, t[2] = o, t[3] = r, t[4] = s, t[5] = a, t[6] = l) : (e = t[1], o = t[2], r = t[3], s = t[4], a = t[5], l = t[6]);
25
+ const x = s === void 0 ? "x-large" : s, f = a === void 0 ? "h1" : a, k = l === void 0 ? "light" : l, n = f, m = x === "x-large", g = x === "large", h = k === "dark";
26
+ let i;
27
+ t[7] !== o || t[8] !== m || t[9] !== g || t[10] !== h ? (i = D(c.root, o, {
28
+ [c.rootXLargeUppercase]: m,
29
+ [c.rootLargeUppercase]: g,
30
+ [c.rootThemeDark]: h
31
+ }), t[7] = o, t[8] = m, t[9] = g, t[10] = h, t[11] = i) : i = t[11];
32
+ const u = i;
33
+ let p;
34
+ t[12] === Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ U("span", { className: c.dash, "aria-hidden": "true", children: "ƒ" }), t[12] = p) : p = t[12];
35
+ let d;
36
+ return t[13] !== n || t[14] !== e || t[15] !== r || t[16] !== u ? (d = /* @__PURE__ */ L(n, { className: u, ...r, children: [
37
+ e,
38
+ p
39
+ ] }), t[13] = n, t[14] = e, t[15] = r, t[16] = u, t[17] = d) : d = t[17], d;
40
+ };
41
+ export {
42
+ C as DSTitle
43
+ };
@@ -0,0 +1,11 @@
1
+ "use client";
2
+ import "react/jsx-runtime";
3
+ import "./chunks/index.CgTHIF3K.js";
4
+ import "./chunks/index.CEyLAtio.js";
5
+ import "react";
6
+ import "./button.Ywd82k7O.js";
7
+ import "./chunks/Icon.DhKyUWtM.js";
8
+ import { D as a } from "./chunks/Toast.Boi6TEHu.js";
9
+ export {
10
+ a as DSToast
11
+ };
@@ -0,0 +1,115 @@
1
+ "use client";
2
+ import { jsx as B, jsxs as G } from "react/jsx-runtime";
3
+ import { d as N } from "./chunks/index.CgTHIF3K.js";
4
+ import { createContext as V, useContext as W, useState as I, useRef as $, useEffect as M } from "react";
5
+ import { g as S } from "./chunks/helpers.CcqWV-wZ.js";
6
+ import { b as P, g as y } from "./chunks/AriaLiveRegions.utils.zSFFD3SF.js";
7
+ import { D as z, s as F } from "./chunks/Toast.Boi6TEHu.js";
8
+ import { h as H } from "./chunks/has-window.ut_-aShB.js";
9
+ const J = () => {
10
+ if (!P() || !y())
11
+ throw new Error(S("DSToast", 'The DSAriaLiveRegions component has to be placed at the root of your application, as close to the "body" as possible, e.g. in your "App.tsx" or "layout.tsx".'));
12
+ }, K = () => {
13
+ if (!H)
14
+ return;
15
+ if (document.querySelectorAll("[data-ds-toast]").length > 1)
16
+ throw new Error(S("DSToast", 'The destructured "toast" element should only be used once in the DOM.'));
17
+ }, h = "data-ds-toast-timeout-id", R = "closing", X = 1e4, _ = V(void 0), ae = () => {
18
+ const r = W(_);
19
+ if (!r)
20
+ throw new Error(S("DSToastProvider", "useDSToast must be used within a <DSToastProvider />, which wraps around your root component."));
21
+ return r;
22
+ }, ce = (r) => {
23
+ const e = N.c(16), {
24
+ children: i
25
+ } = r;
26
+ let u;
27
+ e[0] === Symbol.for("react.memo_cache_sentinel") ? (u = [], e[0] = u) : u = e[0];
28
+ const [a, p] = I(u), [o, A] = I(null), s = $(null);
29
+ let l;
30
+ e[1] !== o || e[2] !== a ? (l = () => {
31
+ !o && a.length > 0 && setTimeout(() => {
32
+ A(a[0]);
33
+ });
34
+ }, e[1] = o, e[2] = a, e[3] = l) : l = e[3];
35
+ let m;
36
+ e[4] !== a ? (m = [a], e[4] = a, e[5] = m) : m = e[5], M(l, m);
37
+ let T;
38
+ e[6] !== o ? (T = [o], e[6] = o, e[7] = T) : T = e[7], M(() => {
39
+ o && (O(o.message, o.variant), q());
40
+ }, T);
41
+ const w = () => {
42
+ var t;
43
+ return ((t = s.current) == null ? void 0 : t.getAttribute(h)) || null;
44
+ }, D = (t) => {
45
+ var n;
46
+ (n = s.current) == null || n.setAttribute(h, t);
47
+ }, C = () => {
48
+ var t;
49
+ return (t = s.current) == null ? void 0 : t.removeAttribute(h);
50
+ }, O = Y, v = (t, n) => {
51
+ J();
52
+ const Q = {
53
+ message: t,
54
+ hideIcon: n == null ? void 0 : n.hideIcon,
55
+ variant: (n == null ? void 0 : n.variant) || "info",
56
+ onClick: () => {
57
+ L();
58
+ },
59
+ onMouseEnter: U,
60
+ onMouseLeave: j
61
+ };
62
+ p((k) => [...k, Q]);
63
+ }, U = () => {
64
+ E();
65
+ }, E = () => {
66
+ var n;
67
+ const t = w();
68
+ t && (clearTimeout(t), (n = s.current) == null || n.removeAttribute(h));
69
+ }, x = () => {
70
+ const t = setTimeout(() => {
71
+ L();
72
+ }, X);
73
+ D(String(t));
74
+ }, j = () => {
75
+ w() !== R && s.current && x();
76
+ }, q = () => {
77
+ var t;
78
+ K(), o && ((t = s.current) != null && t.showPopover) && (s.current.showPopover(), x());
79
+ }, L = () => {
80
+ E(), D(R), s.current && (s.current.addEventListener("animationend", () => {
81
+ var t;
82
+ (t = s.current) != null && t.hidePopover && (s.current.hidePopover(), C(), s.current = null, p(Z), A(null));
83
+ }, {
84
+ once: !0
85
+ }), s.current.classList.add(F.rootClosing));
86
+ };
87
+ let b, d;
88
+ e[8] !== v ? (d = {
89
+ queueDSToastMessage: v
90
+ }, e[8] = v, e[9] = d) : d = e[9], b = d;
91
+ const g = b;
92
+ let c;
93
+ e[10] !== o ? (c = o ? /* @__PURE__ */ B(z, { ...o, ref: s }) : null, e[10] = o, e[11] = c) : c = e[11];
94
+ let f;
95
+ return e[12] !== i || e[13] !== g || e[14] !== c ? (f = /* @__PURE__ */ G(_.Provider, { value: g, children: [
96
+ c,
97
+ i
98
+ ] }), e[12] = i, e[13] = g, e[14] = c, e[15] = f) : f = e[15], f;
99
+ };
100
+ function Y(r, e) {
101
+ if (e === "warning") {
102
+ const i = P();
103
+ i && (i.innerText = r);
104
+ } else if (e === "success" || e === "info") {
105
+ const i = y();
106
+ i && (i.innerText = r);
107
+ }
108
+ }
109
+ function Z(r) {
110
+ return r.slice(1);
111
+ }
112
+ export {
113
+ ce as DSToastProvider,
114
+ ae as useDSToast
115
+ };
@@ -1,3 +1,4 @@
1
+ import { JSX } from 'react';
1
2
  type DocumentationRenderOptions = {
2
3
  hideCodeExample?: boolean;
3
4
  hideControls?: boolean;
@@ -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 "./heading.IPIYc5vW.js";
6
- import "./chunks/Icon.BCmt_XBG.js";
7
- import { D as e } from "./chunks/Accordion.Bza3TO4Y.js";
8
- export {
9
- e as DSAccordion
10
- };
@@ -1,27 +0,0 @@
1
- "use client";
2
- import { j as s } from "./chunks/jsx-runtime.C115EyI4.js";
3
- import { v as e, A as a, a as n } from "./chunks/AriaLiveRegions.utils.Bq6Mp2bE.js";
4
- import './assets/arialiveregions.DhsijBaL.css';const i = "ds-aria-live-regions_sr-only_2jvmr_1", r = {
5
- "sr-only": "ds-aria-live-regions_sr-only_2jvmr_1",
6
- srOnly: i
7
- }, t = () => (e(), /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
8
- /* @__PURE__ */ s.jsx(
9
- "span",
10
- {
11
- id: a,
12
- role: "alert",
13
- className: r.srOnly
14
- }
15
- ),
16
- /* @__PURE__ */ s.jsx(
17
- "span",
18
- {
19
- id: n,
20
- role: "status",
21
- className: r.srOnly
22
- }
23
- )
24
- ] }));
25
- export {
26
- t as DSAriaLiveRegions
27
- };
@@ -1 +0,0 @@
1
- .ds-accordion_details_1385s_1{max-width:59.25rem;min-width:18rem;border-bottom:1px solid #B1B1B1}.ds-accordion_details_1385s_1:only-of-type{border-bottom:none}.ds-accordion_details_1385s_1::details-content{block-size:0;overflow:hidden;opacity:0;transition-property:block-size,content-visibility,opacity;transition-behavior:allow-discrete;transition-duration:var(--ds-animation-duration, .25s);transition-timing-function:cubic-bezier(.5,0,1,1)}@media (prefers-reduced-motion: reduce){.ds-accordion_details_1385s_1::details-content{transition-duration:0ms}}.ds-accordion_details_1385s_1[open]::details-content{transition-timing-function:cubic-bezier(0,0,.5,1);block-size:auto;block-size:calc-size(auto);opacity:1}.ds-accordion_details_1385s_1 a:not([class]){display:inline;padding-inline-end:2px;padding-inline-start:2px;padding-block-start:0;padding-block-end:0;line-height:inherit;font-size:inherit;text-decoration-skip-ink:auto;text-decoration-line:underline;text-underline-offset:2px;text-decoration-thickness:1px;text-decoration-color:currentColor}:where(.ds-accordion_details_1385s_1 a:not([class]))[href^="http://"]:after,:where(.ds-accordion_details_1385s_1 a:not([class]))[href^="https://"]:after,:where(.ds-accordion_details_1385s_1 a:not([class]))[href^="#"]:after{display:inline-block;margin-inline-start:.375em;width:.75em;height:.75em}.ds-accordion_details_1385s_1 a:not([class]){color:#252525}.ds-accordion_details_1385s_1 a:not([class]):link,.ds-accordion_details_1385s_1 a:not([class]):visited{color:#252525}.ds-accordion_details_1385s_1 a:not([class]):active{background-color:#0000001a;color:#252525}@media (hover: hover){.ds-accordion_details_1385s_1 a:not([class]):hover{background-color:#0000001a;color:#252525}}@media screen and (hover: hover) and (forced-colors: active){.ds-accordion_details_1385s_1 a:not([class]):hover{background-color:Canvas}}.ds-accordion_details_1385s_1 a:not([class])[href^="http://"]:after,.ds-accordion_details_1385s_1 a:not([class])[href^="https://"]:after{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23252525' viewBox='0 0 16 16' focusable='false' width='100%25' height='100%25'%3E%3Cpath fill-rule='evenodd' d='M9 2V0h7v7h-2V3.4L8.1 9.3 6.7 7.9 12.6 2H9Zm5 8h-2v4H2V4h4V2H0v14h14v-6Z' clip-rule='evenodd'/%3E%3C/svg%3E")}.ds-accordion_details_1385s_1 a:not([class])[href^="#"]:after{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23252525' viewBox='0 0 16 16' focusable='false' width='100%25' height='100%25'%3E%3Cpath d='M14.4 9.6 8 16 1.6 9.6 3 8.2l4 4V0h2v12.2l4-4 1.4 1.4Z'/%3E%3C/svg%3E")}.ds-accordion_details_1385s_1 a:not([class]):focus{outline:2px solid;outline-color:#252525;outline-offset:0}@media screen and (forced-colors: active){.ds-accordion_details_1385s_1 a:not([class]):focus{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){.ds-accordion_details_1385s_1 a:not([class]):focus{outline:revert;outline-offset:revert}.ds-accordion_details_1385s_1 a:not([class]):focus-visible{outline:2px solid;outline-color:#252525;outline-offset:0}@media screen and (forced-colors: active){.ds-accordion_details_1385s_1 a:not([class]):focus-visible{forced-color-adjust:auto;outline-color:Highlight}}}.ds-accordion_details_1385s_1 a:not([class]){transition:background-color var(--ds-animation-duration, .1s) linear,border-color var(--ds-animation-duration, .1s) linear,color var(--ds-animation-duration, .1s) linear}@media (prefers-reduced-motion: reduce){.ds-accordion_details_1385s_1 a:not([class]){transition-duration:0ms}}@media (min-width: 1024px){.ds-accordion_details_1385s_1{min-width:13.3125rem}}.ds-accordion_summary_1385s_120{cursor:pointer;padding-block-start:12px;padding-inline-end:16px;padding-block-end:12px;padding-inline-start:16px;list-style:none}.ds-accordion_summary_1385s_120:focus{outline:2px solid;outline-color:#252525;outline-offset:0px}@media screen and (forced-colors: active){.ds-accordion_summary_1385s_120:focus{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){.ds-accordion_summary_1385s_120:focus{outline:revert;outline-offset:revert}.ds-accordion_summary_1385s_120:focus-visible{outline:2px solid;outline-color:#252525;outline-offset:0px}@media screen and (forced-colors: active){.ds-accordion_summary_1385s_120:focus-visible{forced-color-adjust:auto;outline-color:Highlight}}}.ds-accordion_summary_1385s_120::-webkit-details-marker{display:none}.ds-accordion_summary--utility--m_1385s_159{font-family:STIHL Contraface Digital Text Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:1rem;line-height:1.25;font-size-adjust:.414}.ds-accordion_summary_1385s_120{transition:background-color var(--ds-animation-duration, .1s) linear}@media (prefers-reduced-motion: reduce){.ds-accordion_summary_1385s_120{transition-duration:0ms}}@media (hover: hover){.ds-accordion_summary_1385s_120:hover{background-color:#ededed}}@media screen and (hover: hover) and (forced-colors: active){.ds-accordion_summary_1385s_120:hover{background-color:Highlight}}.ds-accordion_summary--flush_1385s_188{color:#252525;position:relative;padding-inline-start:0;padding-inline-end:0}@media (hover: hover){.ds-accordion_summary--flush_1385s_188:hover:before{background-color:#ededed}}@media screen and (hover: hover) and (forced-colors: active){.ds-accordion_summary--flush_1385s_188:hover:before{background-color:Highlight}}@media screen and (hover: hover) and (forced-colors: active){.ds-accordion_summary--flush_1385s_188:hover{background-color:transparent}}.ds-accordion_summary--flush_1385s_188:before{content:"";position:absolute;top:0;right:-16px;bottom:0;left:-16px}.ds-accordion_summary--flush_1385s_188:before{transition:background-color var(--ds-animation-duration, .1s) linear,color var(--ds-animation-duration, .1s) linear}@media (prefers-reduced-motion: reduce){.ds-accordion_summary--flush_1385s_188:before{transition-duration:0ms}}.ds-accordion_summary--flush_1385s_188:focus,.ds-accordion_summary--flush_1385s_188:focus-visible{outline:none}.ds-accordion_summary--flush_1385s_188:focus:before{outline:2px solid;outline-color:#252525;outline-offset:0px}@media screen and (forced-colors: active){.ds-accordion_summary--flush_1385s_188:focus:before{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){.ds-accordion_summary--flush_1385s_188:focus:before{outline:revert;outline-offset:revert}.ds-accordion_summary--flush_1385s_188:focus-visible:before{outline:2px solid;outline-color:#252525;outline-offset:0px}@media screen and (forced-colors: active){.ds-accordion_summary--flush_1385s_188:focus-visible:before{forced-color-adjust:auto;outline-color:Highlight}}}.ds-accordion_summary--small_1385s_256{padding-block-start:8px;padding-block-end:8px}.ds-accordion_summary-content-wrapper_1385s_261{display:flex;justify-content:space-between;align-items:center;gap:16px}.ds-accordion_summary-content-wrapper--flush_1385s_267{position:relative;z-index:1}.ds-accordion_summary-content-wrapper--chevron-left_1385s_271{flex-flow:row-reverse;justify-content:flex-end}.ds-accordion_heading-summary-wrapper_1385s_276{flex-grow:1}.ds-accordion_hint_1385s_280{font-family:STIHL Contraface Digital Text Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:.875rem;line-height:1.14;font-size-adjust:.414;display:block;margin-block-start:4px}.ds-accordion_icon_1385s_294{transform:rotate(0)}.ds-accordion_icon_1385s_294{transition:transform var(--ds-animation-duration, .25s) cubic-bezier(.5,0,1,1)}@media (prefers-reduced-motion: reduce){.ds-accordion_icon_1385s_294{transition-duration:0ms}}.ds-accordion_icon--open_1385s_305{transform:rotate(-180deg)}.ds-accordion_icon--open_1385s_305{transition:transform var(--ds-animation-duration, .25s) cubic-bezier(0,0,.5,1)}@media (prefers-reduced-motion: reduce){.ds-accordion_icon--open_1385s_305{transition-duration:0ms}}.ds-accordion_content-wrapper_1385s_317{padding-block-start:4px;padding-inline-end:16px;padding-block-end:32px;padding-inline-start:16px}.ds-accordion_content-wrapper--flush_1385s_323{padding-inline-start:0;padding-inline-end:0}.ds-accordion_content-wrapper--small_1385s_327{padding-block-start:4px;padding-block-end:20px}
@@ -1 +0,0 @@
1
- .ds-tabs_tabs-wrapper_infm4_1{position:relative;grid-column:main-start/main-end}.ds-tabs_scroll-wrapper_infm4_6{overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;position:relative;scrollbar-width:none}.ds-tabs_scroll-wrapper_infm4_6::-webkit-scrollbar{display:none}.ds-tabs_scroller_infm4_17{display:flex;flex-wrap:nowrap;min-width:min-content;border-bottom:1px solid #DADADA}.ds-tabs_scroller--centered_infm4_23{justify-content:center}.ds-tabs_tab_infm4_1{font-family:STIHL Contraface Digital Text Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:1rem;line-height:1.5;font-size-adjust:.414;position:relative;display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;color:#252525;gap:8px;height:63px;padding-block:0px;padding-inline:var(--ds-spacing-dynamic-xs);border:none;outline:none;cursor:pointer;white-space:nowrap;background-color:#fff}.ds-tabs_tab_infm4_1:focus{outline:2px solid;outline-color:#252525;outline-offset:-2px}@media screen and (forced-colors: active){.ds-tabs_tab_infm4_1:focus{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){.ds-tabs_tab_infm4_1:focus{outline:revert;outline-offset:revert}.ds-tabs_tab_infm4_1:focus-visible{outline:2px solid;outline-color:#252525;outline-offset:-2px}@media screen and (forced-colors: active){.ds-tabs_tab_infm4_1:focus-visible{forced-color-adjust:auto;outline-color:Highlight}}}.ds-tabs_tab_infm4_1:hover{background-color:#ededed}.ds-tabs_tab_infm4_1[aria-selected=true]{font-family:STIHL Contraface Digital Text Bold,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:1rem;line-height:1.5;font-size-adjust:.426}.ds-tabs_scroll-button_infm4_98{position:absolute;top:50%;transform:translateY(-50%)}.ds-tabs_scroll-button--hidden_infm4_103{opacity:0;pointer-events:none}.ds-tabs_scroll-button--right_infm4_107{right:0}.ds-tabs_scroll-button_infm4_98{transition:opacity var(--ds-animation-duration, .1s) cubic-bezier(0,0,.5,1)}@media (prefers-reduced-motion: reduce){.ds-tabs_scroll-button_infm4_98{transition-duration:0ms}}.ds-tabs_indicator_infm4_119{position:absolute;left:0;bottom:0;height:4px;background-color:#e9640c}.ds-tabs_indicator_infm4_119{transition:transform var(--ds-animation-duration, .25s) cubic-bezier(0,0,.5,1),width var(--ds-animation-duration, .25s) cubic-bezier(0,0,.5,1)}@media (prefers-reduced-motion: reduce){.ds-tabs_indicator_infm4_119{transition-duration:0ms}}@media screen and (forced-colors: active){.ds-tabs_indicator_infm4_119{background-color:Highlight}}
@@ -1 +0,0 @@
1
- .ds-link-standalone_root_1ubnn_1{display:inline-flex;align-items:center;height:fit-content;gap:6px;padding-inline-end:4px;padding-inline-start:4px;padding-block-start:2px;padding-block-end:2px;text-decoration-color:transparent;font-family:STIHL Contraface Digital Text Regular,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-style:normal;font-variant:normal;-webkit-hyphens:manual;hyphens:manual;overflow-wrap:break-word;font-weight:400;font-size:1rem;line-height:1.25;font-size-adjust:.414;color:#252525}.ds-link-standalone_root_1ubnn_1:link,.ds-link-standalone_root_1ubnn_1:visited{color:#252525}.ds-link-standalone_root_1ubnn_1:active{background-color:#0000001a;color:#252525}@media (hover: hover){.ds-link-standalone_root_1ubnn_1:hover{background-color:#0000001a;color:#252525}}@media screen and (hover: hover) and (forced-colors: active){.ds-link-standalone_root_1ubnn_1:hover{background-color:Canvas}}.ds-link-standalone_root_1ubnn_1:focus{outline:2px solid;outline-color:#252525;outline-offset:0}@media screen and (forced-colors: active){.ds-link-standalone_root_1ubnn_1:focus{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){.ds-link-standalone_root_1ubnn_1:focus{outline:revert;outline-offset:revert}.ds-link-standalone_root_1ubnn_1:focus-visible{outline:2px solid;outline-color:#252525;outline-offset:0}@media screen and (forced-colors: active){.ds-link-standalone_root_1ubnn_1:focus-visible{forced-color-adjust:auto;outline-color:Highlight}}}.ds-link-standalone_root--highlight_1ubnn_68,.ds-link-standalone_root--highlight_1ubnn_68:link,.ds-link-standalone_root--highlight_1ubnn_68:visited{color:#1e71a1}.ds-link-standalone_root--highlight_1ubnn_68:active{color:#19618b}@media (hover: hover){.ds-link-standalone_root--highlight_1ubnn_68:hover{color:#19618b}}.ds-link-standalone_root--neutral-dark_1ubnn_82,.ds-link-standalone_root--neutral-dark_1ubnn_82:link,.ds-link-standalone_root--neutral-dark_1ubnn_82:visited{color:#fff}.ds-link-standalone_root--neutral-dark_1ubnn_82:active{background-color:#ffffff26;color:#fff}@media (hover: hover){.ds-link-standalone_root--neutral-dark_1ubnn_82:hover{background-color:#ffffff26;color:#fff}}@media screen and (hover: hover) and (forced-colors: active){.ds-link-standalone_root--neutral-dark_1ubnn_82:hover{background-color:Canvas}}.ds-link-standalone_root--neutral-dark_1ubnn_82:focus{outline:2px solid;outline-color:#fff;outline-offset:0}@media screen and (forced-colors: active){.ds-link-standalone_root--neutral-dark_1ubnn_82:focus{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){.ds-link-standalone_root--neutral-dark_1ubnn_82:focus{outline:revert;outline-offset:revert}.ds-link-standalone_root--neutral-dark_1ubnn_82:focus-visible{outline:2px solid;outline-color:#fff;outline-offset:0}@media screen and (forced-colors: active){.ds-link-standalone_root--neutral-dark_1ubnn_82:focus-visible{forced-color-adjust:auto;outline-color:Highlight}}}.ds-link-standalone_root--highlight-dark_1ubnn_131,.ds-link-standalone_root--highlight-dark_1ubnn_131:link,.ds-link-standalone_root--highlight-dark_1ubnn_131:visited{color:#8dcfe8}.ds-link-standalone_root--highlight-dark_1ubnn_131:active{background-color:#ffffff26;color:#8dcfe8}@media (hover: hover){.ds-link-standalone_root--highlight-dark_1ubnn_131:hover{background-color:#ffffff26;color:#8dcfe8}}@media screen and (hover: hover) and (forced-colors: active){.ds-link-standalone_root--highlight-dark_1ubnn_131:hover{background-color:Canvas}}.ds-link-standalone_root--highlight-dark_1ubnn_131:focus{outline:2px solid;outline-color:#fff;outline-offset:0}@media screen and (forced-colors: active){.ds-link-standalone_root--highlight-dark_1ubnn_131:focus{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){.ds-link-standalone_root--highlight-dark_1ubnn_131:focus{outline:revert;outline-offset:revert}.ds-link-standalone_root--highlight-dark_1ubnn_131:focus-visible{outline:2px solid;outline-color:#fff;outline-offset:0}@media screen and (forced-colors: active){.ds-link-standalone_root--highlight-dark_1ubnn_131:focus-visible{forced-color-adjust:auto;outline-color:Highlight}}}.ds-link-standalone_root--active_1ubnn_180{text-decoration-skip-ink:auto;text-decoration-line:underline;text-underline-offset:2px;text-decoration-thickness:1px;text-decoration-color:currentColor}.ds-link-standalone_root--icon-left_1ubnn_187{flex-direction:row-reverse}.ds-link-standalone_root_1ubnn_1{transition:background-color var(--ds-animation-duration, .1s) linear,border-color var(--ds-animation-duration, .1s) linear,color var(--ds-animation-duration, .1s) linear}@media (prefers-reduced-motion: reduce){.ds-link-standalone_root_1ubnn_1{transition-duration:0ms}}.ds-link-standalone_root_1ubnn_1 svg{fill:currentColor}
@@ -1,8 +0,0 @@
1
- "use client";
2
- import { j as s } from "./chunks/jsx-runtime.C115EyI4.js";
3
- import './assets/asterisk.BfVAUBO7.css';const t = "ds-asterisk_root_1nm42_1", o = {
4
- root: t
5
- }, e = () => /* @__PURE__ */ s.jsx("span", { className: o.root, "aria-hidden": "true", children: "*" });
6
- export {
7
- e as Asterisk
8
- };