@stihl-design-system/components 1.0.0-RC.42 → 1.0.0-RC.44

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 (186) hide show
  1. package/{accordion.CiiPLwYQ.js → accordion.fQnuIgvf.js} +2 -2
  2. package/action-card-example-image-1.webp +0 -0
  3. package/{actionbutton.DKb4ph1c.js → actionbutton.CrKiuo82.js} +3 -3
  4. package/actioncard.WFXhVqOa.js +9 -0
  5. package/actioncard.d.ts +2 -0
  6. package/{actionlink.DEGta2h9.js → actionlink.Df17YKFt.js} +3 -3
  7. package/arialiveregions.BF6mUlPU.js +23 -0
  8. package/assets/ActionCard.C85bSGRa.css +1 -0
  9. package/assets/LinkCard.z1Yjue7-.css +1 -0
  10. package/assets/Toast.CGl8z6mX.css +1 -0
  11. package/assets/filelist.CHVupL8T.css +1 -0
  12. package/assets/filepreview.2cdH-1Xs.css +1 -0
  13. package/assets/progressindicator.Cbbzo5-b.css +1 -0
  14. package/{banner.S_c1UQJe.js → banner.Zxe9epVx.js} +1 -1
  15. package/{breadcrumb.DiuuVblR.js → breadcrumb.FfS9gDhB.js} +3 -3
  16. package/{button.Z7Mmvwhv.js → button.Bq_b-jF3.js} +4 -4
  17. package/{buttonround.Bqi8Ej-y.js → buttonround.C2Tbq4wh.js} +3 -3
  18. package/card-example-image-9.webp +0 -0
  19. package/{checkbox.DtSSduSH.js → checkbox.DiIxW8xI.js} +3 -3
  20. package/{checkboxgroup.CSP1DOCW.js → checkboxgroup.CN0WCDIo.js} +2 -2
  21. package/{chip.CyypeY5M.js → chip.C9GLR8lU.js} +3 -3
  22. package/chipgroup.DEMaFBAV.js +213 -0
  23. package/chunks/Accordion.CHgxTFzp.js +173 -0
  24. package/chunks/{ActionButton.BEMy35Lh.js → ActionButton.CLeOd9rU.js} +2 -2
  25. package/chunks/ActionCard.oi3u27DL.js +242 -0
  26. package/chunks/{ActionLink.DECHT42B.js → ActionLink.BsBKNYu5.js} +2 -2
  27. package/chunks/AriaLiveRegions.utils.8ofDlHnN.js +65 -0
  28. package/chunks/{Breadcrumb.nflDJoKs.js → Breadcrumb.Dz3JQ2Vx.js} +2 -2
  29. package/chunks/{Button.DpGeheky.js → Button.P9uWeVnl.js} +3 -3
  30. package/chunks/{Checkbox.B3NeB54s.js → Checkbox.B3g2P15v.js} +2 -2
  31. package/chunks/{CheckboxGroup.BYZSvqF7.js → CheckboxGroup.Bg9WSL5B.js} +2 -2
  32. package/chunks/Chip.CfxdI4_r.js +157 -0
  33. package/chunks/{CustomReactSelect.DBsnmMPl.js → CustomReactSelect.DuAr_i4b.js} +4 -4
  34. package/chunks/{Dialog.C-rcs_Up.js → Dialog.C8pnDioL.js} +1 -1
  35. package/chunks/{Drawer.D0d557c5.js → Drawer.wTQvINDy.js} +1 -1
  36. package/chunks/{Fieldset.7WM7w62l.js → Fieldset.DdYeI2CZ.js} +2 -2
  37. package/chunks/Icon.BoywkLCM.js +232 -0
  38. package/chunks/InputFile.CR8ucopi.js +260 -0
  39. package/chunks/{InputNumber.a44HnJ9B.js → InputNumber.BFZFmfye.js} +3 -3
  40. package/chunks/{InputPassword.B1E0Maub.js → InputPassword.C311ncrv.js} +3 -3
  41. package/chunks/{InputSearch.C7AvD7Eu.js → InputSearch.BxDshauv.js} +3 -3
  42. package/chunks/{LinkButton.CMjq2FKc.js → LinkButton.D20xLcuG.js} +2 -2
  43. package/chunks/LinkCard.CXJLlBi2.js +193 -0
  44. package/chunks/{NavigationTabList.ltT6igtk.js → NavigationTabList.CUFceGFf.js} +1 -1
  45. package/chunks/{NavigationTabs.DsVepb7H.js → NavigationTabs.B57dlMSM.js} +1 -1
  46. package/chunks/{Notification.COwLndR0.js → Notification.C6oDyXgu.js} +2 -2
  47. package/chunks/Popover.BmpyqKuQ.js +221 -0
  48. package/chunks/{RadioGroup.B-qTH31u.js → RadioGroup.DkBkatv7.js} +1 -1
  49. package/chunks/{Select.DrDVi9lg.js → Select.Tt9kT7fQ.js} +3 -3
  50. package/chunks/{Slider.DGMrDfWv.js → Slider.XqqBxGnd.js} +2 -2
  51. package/chunks/Stepper.BnrFN6cJ.js +146 -0
  52. package/chunks/{SystemFeedback.DFN6Y2cw.js → SystemFeedback.D4aWwoC8.js} +1 -1
  53. package/chunks/{Tabs.DfH2q9EL.js → Tabs.kCft3oEd.js} +1 -1
  54. package/chunks/{Textarea.ymNCbcvH.js → Textarea.DDcx_Pdr.js} +2 -2
  55. package/chunks/Toast.DddHXsvZ.js +76 -0
  56. package/chunks/battery-return.tBu7C6Q7.js +10 -0
  57. package/chunks/bills.qn1VUEaT.js +10 -0
  58. package/chunks/click-collect.B77dWI72.js +10 -0
  59. package/chunks/compare.Dmb4yOj7.js +10 -0
  60. package/chunks/cookie.U09gK6it.js +10 -0
  61. package/chunks/{compare.BgktBbYD.js → credit-card.BmIN7RQ3.js} +3 -3
  62. package/chunks/currency-dollar.DgDMDMzW.js +10 -0
  63. package/chunks/currency-euro.B7cX0UJ0.js +10 -0
  64. package/chunks/currency-pound.DLXGbEzS.js +10 -0
  65. package/chunks/currency-yen.nzl1eMGq.js +10 -0
  66. package/chunks/delivery.Cy1VuLLq.js +10 -0
  67. package/chunks/discount.Cu30XoAp.js +10 -0
  68. package/chunks/legal-info.-S9gzFzc.js +10 -0
  69. package/chunks/legal.CVCmbA3m.js +10 -0
  70. package/chunks/manuals.D5j_4hEf.js +10 -0
  71. package/chunks/package-return.Cw7Jb6Tw.js +10 -0
  72. package/chunks/payment.CvfGpsgi.js +10 -0
  73. package/chunks/present.B4ImIJxi.js +10 -0
  74. package/chunks/recycling.CRBYpi-q.js +10 -0
  75. package/chunks/reward.Bf4L-zQI.js +10 -0
  76. package/chunks/safety-regulations.clEkWNfB.js +10 -0
  77. package/chunks/support.BCU2Kxw2.js +10 -0
  78. package/{combobox.DzSEFo_5.js → combobox.B-BIvd5K.js} +1 -1
  79. package/components/Accordion/Accordion.d.ts +6 -1
  80. package/components/ActionButton/ActionButton.d.ts +1 -1
  81. package/components/ActionCard/ActionCard.d.ts +75 -0
  82. package/components/ActionCard/ActionCard.utils.d.ts +24 -0
  83. package/components/AriaLiveRegions/AriaLiveRegions.d.ts +22 -1
  84. package/components/AriaLiveRegions/AriaLiveRegions.test.d.ts +1 -0
  85. package/components/AriaLiveRegions/AriaLiveRegions.utils.d.ts +106 -0
  86. package/components/Breadcrumb/Breadcrumb.d.ts +1 -1
  87. package/components/Button/Button.d.ts +1 -1
  88. package/components/ChipGroup/ChipGroup.utils.d.ts +14 -15
  89. package/components/Icon/Icon.d.ts +1 -1
  90. package/components/InputFile/FileList/FileList.d.ts +14 -0
  91. package/components/InputFile/FileList/FileList.test.d.ts +1 -0
  92. package/components/{FileList → InputFile/FileList}/FileList.utils.d.ts +0 -6
  93. package/components/InputFile/FileList/FileList.utils.test.d.ts +1 -0
  94. package/components/InputFile/FileList/FilePreview/FilePreview.d.ts +15 -0
  95. package/components/InputFile/FileList/FilePreview/FilePreview.test.d.ts +1 -0
  96. package/components/InputFile/FileList/FilePreview/FilePreview.utils.d.ts +11 -0
  97. package/components/InputFile/FileList/FilePreview/FilePreview.utils.test.d.ts +1 -0
  98. package/components/InputFile/FileList/ProgressIndicator/ProgressIndicator.d.ts +34 -0
  99. package/components/InputFile/FileList/ProgressIndicator/ProgressIndicator.test.d.ts +1 -0
  100. package/components/InputFile/InputFile.d.ts +49 -15
  101. package/components/InputFile/InputFile.utils.d.ts +14 -0
  102. package/components/LinkButton/LinkButton.d.ts +1 -1
  103. package/components/LinkCard/LinkCard.d.ts +32 -6
  104. package/components/LinkCard/LinkCard.utils.d.ts +2 -8
  105. package/components/Logo/Logo.d.ts +1 -1
  106. package/components/NavigationTabs/NavigationTabs.d.ts +1 -1
  107. package/components/Spinner/Spinner.d.ts +1 -1
  108. package/components/Stepper/Stepper.d.ts +1 -1
  109. package/components/Stepper/Stepper.utils.d.ts +0 -1
  110. package/components/Switch/Switch.d.ts +1 -1
  111. package/components/Tabs/TabList/TabList.d.ts +1 -1
  112. package/components/Toast/ToastManager.utils.d.ts +0 -1
  113. package/components/TopBar/TopBar.d.ts +1 -1
  114. package/{customreactselect.D7YraWJ7.js → customreactselect.B7p1pKdD.js} +5 -5
  115. package/{dialog.CBovd8em.js → dialog.BqLpjUB7.js} +2 -2
  116. package/{drawer.D5F0KXI2.js → drawer.Cd-nCvZc.js} +2 -2
  117. package/{fieldset.DgbZ_K_l.js → fieldset.CZZsUwkL.js} +3 -3
  118. package/filelist.BhBVr4dj.js +128 -0
  119. package/filelist.d.ts +1 -1
  120. package/filepreview.BTWX71Xh.js +94 -0
  121. package/filepreview.d.ts +2 -0
  122. package/{flag.D-wrUioF.js → flag.B0fg5_Ly.js} +1 -1
  123. package/{floatingactionbutton.CE-Rz0dx.js → floatingactionbutton.C97oLCcd.js} +3 -3
  124. package/{icon.ByLYRkPZ.js → icon.DfDzyo8I.js} +1 -1
  125. package/index.d.ts +3 -0
  126. package/index.es.js +233 -219
  127. package/{input.MZXe6rlg.js → input.DIJfEjWf.js} +4 -4
  128. package/inputfile.h6E4CGVo.js +18 -0
  129. package/{inputnumber.DevQudIX.js → inputnumber.mm_Irbl8.js} +4 -4
  130. package/{inputpassword.C-XYK-JP.js → inputpassword.C2lyKMkw.js} +4 -4
  131. package/{inputsearch.CmJdxnzX.js → inputsearch.BjkPPx6s.js} +4 -4
  132. package/{link.R1lfD5aN.js → link.Cej-vl_K.js} +3 -3
  133. package/{linkbutton.Y-ET1tc9.js → linkbutton.Brcp-b5r.js} +3 -3
  134. package/{linkcard.CayqoQNo.js → linkcard.COvLNYk7.js} +5 -4
  135. package/{navigationtablist.Cd9hZzFQ.js → navigationtablist.BBeiLPse.js} +2 -2
  136. package/{navigationtabs.DHG-TeF2.js → navigationtabs.DzPsYusL.js} +2 -2
  137. package/{notification.u_LLz-O0.js → notification.CliKozt4.js} +3 -3
  138. package/{optioncheckbox.v8Plcgeg.js → optioncheckbox.BOfgK3U_.js} +1 -1
  139. package/package.json +1 -1
  140. package/partials/index.js +15 -9
  141. package/partials/lib/partials.d.ts +1 -1
  142. package/{popover.T7-imfkx.js → popover.ChNhlQVw.js} +4 -3
  143. package/product-card-example-1.webp +0 -0
  144. package/product-card-example-2.webp +0 -0
  145. package/product-card-example-3.webp +0 -0
  146. package/product-card-example-4.webp +0 -0
  147. package/progressindicator.DIzH179H.js +53 -0
  148. package/progressindicator.d.ts +2 -0
  149. package/{radiogroup.CAh4wto1.js → radiogroup.DL5scGbv.js} +2 -2
  150. package/{scroller.DfhhZelk.js → scroller.DwhsKecL.js} +1 -1
  151. package/{select.CSCc_-6d.js → select.mbkkptY-.js} +4 -4
  152. package/{skiptocontent.C2HpZt5q.js → skiptocontent.CAXMZlhM.js} +1 -1
  153. package/{slider.B2aQwfc2.js → slider.DvrNqhCC.js} +3 -3
  154. package/{spinner.CRVyui04.js → spinner.CJmvEaCu.js} +1 -1
  155. package/{step.C-LC5sKQ.js → step.B-afaoZI.js} +2 -2
  156. package/{stepper.CRljfUF8.js → stepper.B0euF2om.js} +4 -4
  157. package/{switch.DgKgzm-j.js → switch.BadzT87Z.js} +2 -2
  158. package/{systemfeedback.BKLsE5sY.js → systemfeedback.BfGF0ENk.js} +2 -2
  159. package/{tablist.DPiNeY3_.js → tablist.CLKzkkTc.js} +3 -3
  160. package/{tabs.Cxzm6ZZ-.js → tabs.ClFPZyaL.js} +2 -2
  161. package/{textarea.CDXY-OVz.js → textarea.B06ZGH_0.js} +3 -3
  162. package/{toast.Bev-Rfuw.js → toast.uarxRSg4.js} +3 -3
  163. package/toastmanager.ClwydHnH.js +79 -0
  164. package/tooltip.C6HKano9.js +184 -0
  165. package/types/icon-types.d.ts +1 -1
  166. package/arialiveregions.B0AV2JcV.js +0 -18
  167. package/assets/LinkCard.C6HtgbjH.css +0 -1
  168. package/assets/Toast.DgRXxA0s.css +0 -1
  169. package/assets/filelist.H_wKcSPX.css +0 -1
  170. package/chipgroup.CSjQHeeW.js +0 -199
  171. package/chunks/Accordion.Q50G9LZ3.js +0 -172
  172. package/chunks/AriaLiveRegions.utils.CLpOaVD9.js +0 -27
  173. package/chunks/Chip.SiGIIHR-.js +0 -133
  174. package/chunks/Icon.m6sMB6vl.js +0 -232
  175. package/chunks/InputFile.DRGNdtY0.js +0 -236
  176. package/chunks/LinkCard.CJ5P0ews.js +0 -199
  177. package/chunks/Popover.C5wtha5l.js +0 -214
  178. package/chunks/Stepper.DptsFh5n.js +0 -152
  179. package/chunks/Toast.RUzRjojQ.js +0 -76
  180. package/components/FileList/FileList.d.ts +0 -13
  181. package/filelist.CDEBo3Pi.js +0 -160
  182. package/inputfile.BO4wDnzQ.js +0 -18
  183. package/toastmanager.DII20_9k.js +0 -89
  184. package/tooltip._lP4aMV2.js +0 -177
  185. /package/components/{FileList/FileList.test.d.ts → ActionCard/ActionCard.test.d.ts} +0 -0
  186. /package/components/{FileList/FileList.utils.test.d.ts → ActionCard/ActionCard.utils.test.d.ts} +0 -0
@@ -4,9 +4,9 @@ import "./chunks/index.cKLI89Eg.js";
4
4
  import "./chunks/index.DQOqod3i.js";
5
5
  import "react";
6
6
  import "./heading.BHSklXho.js";
7
- import "./chunks/Icon.m6sMB6vl.js";
7
+ import "./chunks/Icon.BoywkLCM.js";
8
8
  import "./numberindicator.ZGVRSmqf.js";
9
- import { D as s } from "./chunks/Accordion.Q50G9LZ3.js";
9
+ import { D as s } from "./chunks/Accordion.CHgxTFzp.js";
10
10
  export {
11
11
  s as DSAccordion
12
12
  };
Binary file
@@ -3,10 +3,10 @@ import "react/jsx-runtime";
3
3
  import "./chunks/index.cKLI89Eg.js";
4
4
  import "./chunks/index.DQOqod3i.js";
5
5
  import "react";
6
- import "./chunks/Icon.m6sMB6vl.js";
6
+ import "./chunks/Icon.BoywkLCM.js";
7
7
  import "./numberindicator.ZGVRSmqf.js";
8
- import "./tooltip._lP4aMV2.js";
9
- import { D as s } from "./chunks/ActionButton.BEMy35Lh.js";
8
+ import "./tooltip.C6HKano9.js";
9
+ import { D as s } from "./chunks/ActionButton.CLeOd9rU.js";
10
10
  export {
11
11
  s as DSActionButton
12
12
  };
@@ -0,0 +1,9 @@
1
+ "use client";
2
+ import "react/jsx-runtime";
3
+ import "./chunks/index.cKLI89Eg.js";
4
+ import "./chunks/index.DQOqod3i.js";
5
+ import "react";
6
+ import { D as e } from "./chunks/ActionCard.oi3u27DL.js";
7
+ export {
8
+ e as DSActionCard
9
+ };
@@ -0,0 +1,2 @@
1
+ export * from './components/ActionCard/ActionCard'
2
+ export {}
@@ -3,10 +3,10 @@ import "react/jsx-runtime";
3
3
  import "./chunks/index.cKLI89Eg.js";
4
4
  import "./chunks/index.DQOqod3i.js";
5
5
  import "react";
6
- import "./chunks/Icon.m6sMB6vl.js";
6
+ import "./chunks/Icon.BoywkLCM.js";
7
7
  import "./numberindicator.ZGVRSmqf.js";
8
- import "./tooltip._lP4aMV2.js";
9
- import { D as s } from "./chunks/ActionLink.DECHT42B.js";
8
+ import "./tooltip.C6HKano9.js";
9
+ import { D as s } from "./chunks/ActionLink.BsBKNYu5.js";
10
10
  export {
11
11
  s as DSActionLink
12
12
  };
@@ -0,0 +1,23 @@
1
+ "use client";
2
+ import { jsxs as n, Fragment as i, jsx as r } from "react/jsx-runtime";
3
+ import t from "react";
4
+ import { u as a } from "./chunks/useIsomorphicLayoutEffect.CnJ9AMFS.js";
5
+ import "./chunks/index.cKLI89Eg.js";
6
+ import { e as o, v as f, A as l, a as u } from "./chunks/AriaLiveRegions.utils.8ofDlHnN.js";
7
+ import './assets/arialiveregions.e0Q16ZWi.css';const c = "ds-aria-live-regions_sr-only_2jvmr_1", e = {
8
+ srOnly: c
9
+ }, R = ({
10
+ microFrontendMode: s = !1
11
+ }) => (((typeof t.useInsertionEffect == "function" ? t.useInsertionEffect : void 0) ?? a)(() => {
12
+ if (s) {
13
+ o(e.srOnly);
14
+ return;
15
+ }
16
+ f();
17
+ }, [s]), s ? null : /* @__PURE__ */ n(i, { children: [
18
+ /* @__PURE__ */ r("span", { id: l, role: "alert", className: e.srOnly }),
19
+ /* @__PURE__ */ r("span", { id: u, role: "status", className: e.srOnly })
20
+ ] }));
21
+ export {
22
+ R as DSAriaLiveRegions
23
+ };
@@ -0,0 +1 @@
1
+ .ds-action-card_root_rfquv_1{background-color:#fff;border-radius:4px;border:1px solid #DADADA;display:flex;flex-direction:column;height:fit-content;min-width:13rem;max-width:42.9375rem}.ds-action-card_root--clickable_rfquv_11{cursor:pointer;position:relative}@media(hover:hover){.ds-action-card_root--clickable_rfquv_11:hover{box-shadow:0 2px 12px #00000014,0 1px 2px #00000029}}.ds-action-card_root--clickable_rfquv_11:has(:focus-visible) .ds-action-card_primary-action_rfquv_20:after{outline:2px solid;outline-color:#252525;outline-offset:2px}@media screen and (forced-colors:active){.ds-action-card_root--clickable_rfquv_11:has(:focus-visible) .ds-action-card_primary-action_rfquv_20:after{forced-color-adjust:auto;outline-color:Highlight}}.ds-action-card_root--clickable_rfquv_11:has(:focus-within) .ds-action-card_primary-action_rfquv_20:focus{outline:none}.ds-action-card_root--clickable_rfquv_11 :is(.ds-action-card_header_rfquv_34,.ds-action-card_content_rfquv_34,.ds-action-card_footer_rfquv_34,.ds-action-card_supplementary_rfquv_34):has(button,input,select,textarea,a,label){position:relative;z-index:2}.ds-action-card_root--horizontal_rfquv_43{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto;grid-template-areas:"media content" "supplementary supplementary";width:100%;max-width:88rem}.ds-action-card_root--horizontal_rfquv_43 .ds-action-card_image-wrapper_rfquv_51{grid-area:media;aspect-ratio:1/1;max-width:21.5625rem}.ds-action-card_root--horizontal_rfquv_43 .ds-action-card_image-wrapper_rfquv_51 img{border-top-right-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;aspect-ratio:1/1}.ds-action-card_root--horizontal_rfquv_43 .ds-action-card_content-wrapper_rfquv_62{grid-area:content;height:auto;padding:32px}.ds-action-card_root--horizontal_rfquv_43 .ds-action-card_content-wrapper--padding-small_rfquv_67{padding:16px}.ds-action-card_root--horizontal_rfquv_43 .ds-action-card_supplementary_rfquv_34{grid-area:supplementary;padding-block:8px;padding-inline:16px}.ds-action-card_root--horizontal-has-supplementary_rfquv_75 .ds-action-card_image-wrapper_rfquv_51 img{border-bottom-left-radius:0}.ds-action-card_root--padding-small_rfquv_78 .ds-action-card_supplementary_rfquv_34{padding-block:4px;padding-inline:0px}.ds-action-card_image-wrapper_rfquv_51{width:100%;height:auto;aspect-ratio:16/9}.ds-action-card_image-wrapper_rfquv_51 img{border-top-left-radius:4px;border-top-right-radius:4px;width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:16/9}.ds-action-card_content-wrapper_rfquv_62{display:flex;flex-direction:column;gap:24px;padding:24px;height:100%;order:1}.ds-action-card_content-wrapper--padding-small_rfquv_67{padding:16px}.ds-action-card_footer_rfquv_34{margin-block-start:auto}.ds-action-card_supplementary_rfquv_34{display:flex;border-top:1px solid #DADADA;flex-direction:column;align-items:stretch;gap:16px;padding-block:6px;padding-inline:8px;order:2}.ds-action-card_primary-action_rfquv_20{appearance:none;background:transparent;border:none;color:inherit;font:inherit;text-align:inherit;text-decoration:none;padding:0;margin:0;position:absolute;inset:0;z-index:1}.ds-action-card_primary-action_rfquv_20:after{content:"";position:absolute;z-index:1;cursor:pointer;inset:0}.ds-action-card_primary-action_rfquv_20:focus{outline:2px solid;outline-color:#252525;outline-offset:2px}@media screen and (forced-colors:active){.ds-action-card_primary-action_rfquv_20:focus{forced-color-adjust:auto;outline-color:Highlight}}.ds-action-card_primary-action-label_rfquv_158{border:0;clip:rect(0 0 0 0);width:1px;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;text-indent:-999999px;white-space:nowrap}
@@ -0,0 +1 @@
1
+ .ds-link-card_root_1g8sq_1{background-color:#fff;border-radius:4px;cursor:pointer;display:flex;flex-direction:column;height:fit-content;min-width:13rem;max-width:42.9375rem;position:relative;box-shadow:0 2px 12px #00000014,0 1px 2px #00000029}@media screen and (forced-colors:active){.ds-link-card_root_1g8sq_1{border:1px solid CanvasText}}.ds-link-card_root_1g8sq_1:hover{box-shadow:0 2px 12px #00000029,0 1px 2px #0003}.ds-link-card_root_1g8sq_1 a:after{content:"";position:absolute;z-index:1;cursor:pointer;inset:0}.ds-link-card_root_1g8sq_1 a:focus{outline:2px solid;outline-color:#252525;outline-offset:2px}@media screen and (forced-colors:active){.ds-link-card_root_1g8sq_1 a:focus{forced-color-adjust:auto;outline-color:Highlight}}.ds-link-card_root_1g8sq_1:has(:focus-visible) a:after{outline:2px solid;outline-color:#252525;outline-offset:2px}@media screen and (forced-colors:active){.ds-link-card_root_1g8sq_1:has(:focus-visible) a:after{forced-color-adjust:auto;outline-color:Highlight}}.ds-link-card_root_1g8sq_1:has(:focus-within) a:focus{outline:none}.ds-link-card_root--horizontal_1g8sq_53{flex-direction:row;width:100%;max-width:88rem}.ds-link-card_root--horizontal_1g8sq_53 .ds-link-card_image-wrapper_1g8sq_58{aspect-ratio:1/1;max-width:21.5625rem}.ds-link-card_root--horizontal_1g8sq_53 .ds-link-card_image-wrapper_1g8sq_58 img{border-top-right-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;aspect-ratio:1/1}.ds-link-card_root--horizontal_1g8sq_53 .ds-link-card_content_1g8sq_68{padding:32px;height:auto;width:100%}.ds-link-card_root--horizontal_1g8sq_53 .ds-link-card_content--padding-small_1g8sq_73{padding:16px}.ds-link-card_image-wrapper_1g8sq_58{width:100%;height:auto;aspect-ratio:16/9}.ds-link-card_image-wrapper_1g8sq_58 img{border-top-left-radius:4px;border-top-right-radius:4px;width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:16/9}.ds-link-card_content_1g8sq_68{display:flex;flex-direction:column;gap:24px;padding:24px;height:100%;order:1}.ds-link-card_content--padding-small_1g8sq_73{padding:16px}.ds-link-card_header_1g8sq_104,.ds-link-card_footer_1g8sq_105{display:flex;flex-direction:column}.ds-link-card_header_1g8sq_104{gap:8px}.ds-link-card_footer_1g8sq_105{align-items:flex-start;gap:16px;margin-block-start:auto}.ds-link-card_heading_1g8sq_120{margin:0}.ds-link-card_heading--with-icon_1g8sq_123{display:flex;justify-content:space-between;gap:24px;width:100%}.ds-link-card_heading--with-icon_1g8sq_123 svg{margin-block-start:4px}.ds-link-card_link_1g8sq_133{text-decoration:none;color:#252525}.ds-link-card_description_1g8sq_138{overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;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}.ds-link-card_meta-data_1g8sq_155{overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;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}.ds-link-card_decorative-link_1g8sq_172{margin-block-start:4px}.ds-link-card_flags_1g8sq_176{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}.ds-link-card_brand-flag_1g8sq_185{position:absolute;top:8px;left:8px}.ds-link-card_graphic-area_1g8sq_191 img,.ds-link-card_graphic-area_1g8sq_191 svg{display:block;max-width:3rem}
@@ -0,0 +1 @@
1
+ :root{--ds-toast-offset-bottom: 64px}.ds-toast_root_1k9pu_5{box-shadow:0 2px 12px #00000014,0 1px 2px #00000029;min-width:272px;max-width:min(100vw - 48px,400px)}@media(min-width:768px){.ds-toast_root_1k9pu_5{max-width:25rem}}.ds-toast_root--closing_1k9pu_15{animation:ds-toast_fade-out_1k9pu_1 var(--ds-animation-duration, .4s) cubic-bezier(0,0,.5,1) forwards}@media(prefers-reduced-motion:reduce){.ds-toast_root--closing_1k9pu_15{animation-duration:1ms}}.ds-toast_root_1k9pu_5[popover]{position:fixed;inset:unset;left:50%;transform:translate(-50%);border-width:0;border-left:4px solid;padding-block-start:12px;padding-block-end:12px;padding-inline-start:12px;padding-inline-end:16px;width:100%;bottom:var(--ds-toast-offset-bottom)}@media screen and (forced-colors:active){.ds-toast_root_1k9pu_5[popover]{border-top:1px solid transparent;border-right:1px solid transparent;border-bottom:1px solid transparent;padding-inline-end:15px;padding-block-start:11px;padding-block-end:11px}}:where(.ds-toast_root_1k9pu_5:popover-open){position:fixed;inset:unset;left:50%;transform:translate(-50%);bottom:var(--ds-toast-offset-bottom);animation:ds-toast_move-in_1k9pu_1 var(--ds-animation-duration, .4s) cubic-bezier(.5,0,1,1)}@media(prefers-reduced-motion:reduce){:where(.ds-toast_root_1k9pu_5:popover-open){animation-duration:0s}}.ds-toast_root--success_1k9pu_66[popover]{background-color:#e5f0db;border-color:#749f4a}.ds-toast_root--info_1k9pu_70[popover]{background-color:#ededed;border-color:#666}.ds-toast_root--warning_1k9pu_74[popover]{background-color:#fdecc3;border-color:#fdc543}.ds-toast_content_1k9pu_79{display:grid;grid-template-columns:auto minmax(auto,1fr) auto;gap:16px;place-items:start;min-height:2rem}.ds-toast_content--hide-icon_1k9pu_86{grid-template-columns:minmax(auto,1fr) auto}.ds-toast_icon_1k9pu_90{margin-block-start:8px}.ds-toast_message_1k9pu_94{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;margin-block-start:4px;margin-block-end:0}@keyframes ds-toast_move-in_1k9pu_1{0%{bottom:0;opacity:0;transform:translate(-50%) translateY(100%)}to{opacity:1;transform:translate(-50%) translateY(0)}}@keyframes ds-toast_fade-out_1k9pu_1{0%{opacity:1;display:block}to{opacity:0;display:none}}
@@ -0,0 +1 @@
1
+ .ds-input-file_root_xvo5t_1{display:grid;row-gap:16px;margin-block-start:32px}.ds-input-file_file-wrapper_xvo5t_7{display:grid;grid-template-columns:auto 1fr auto;column-gap:8px;grid-auto-rows:auto auto;row-gap:4px;padding-block-end:15px;border-bottom:1px solid #B1B1B1}.ds-input-file_file-wrapper--invalid_xvo5t_16{border-color:#d43b3b}.ds-input-file_file-details_xvo5t_20{padding-block:6px;display:flex;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-input-file_file-name_xvo5t_34{overflow-wrap:anywhere}.ds-input-file_file-size_xvo5t_38{padding-inline-start:8px;padding-block-start:3px;color:#666;white-space:nowrap;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}.ds-input-file_progress-bar_xvo5t_54{grid-column:2;margin-block-end:4px}.ds-input-file_feedback_xvo5t_59{grid-column:2;padding-block:0}
@@ -0,0 +1 @@
1
+ .ds-input-file_preview_15s1u_1{width:2rem;height:2rem;object-fit:cover}.ds-input-file_root_15s1u_7 .ds-input-file_file-icon_15s1u_7{width:2rem;height:2rem;padding:4px}
@@ -0,0 +1 @@
1
+ .ds-input-file_root_csqwh_1{display:flex;flex-direction:row;align-items:center}.ds-input-file_bar-background_csqwh_7{position:relative;width:100%;height:6px;background-color:#ededed;border-radius:3px;overflow:hidden}@media screen and (forced-colors:active){.ds-input-file_bar-background_csqwh_7{height:8px;margin-block:-1px;border:1px solid transparent;border-color:CanvasText}}.ds-input-file_bar-fill_csqwh_24{height:6px;border-radius:3px;background-color:#1e71a1}.ds-input-file_bar-fill--error_csqwh_29{background-color:#d43b3b}.ds-input-file_bar-fill_csqwh_24{transition:width var(--ds-animation-duration, .4s) linear}@media(prefers-reduced-motion:reduce){.ds-input-file_bar-fill_csqwh_24{transition-duration:0ms}}.ds-input-file_bar-fill-indeterminate_csqwh_40{width:42.05%;position:absolute;height:100%;border-radius:3px;background-color:#1e71a1;animation-name:ds-input-file_indeterminate-progress_csqwh_1;animation-duration:1.6s;animation-iteration-count:infinite}@media(prefers-reduced-motion:reduce){.ds-input-file_bar-fill-indeterminate_csqwh_40{animation-duration:0s}}@media screen and (forced-colors:active){.ds-input-file_bar-fill_csqwh_24{background-color:Highlight}}.ds-input-file_percent-label_csqwh_61{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;min-width:2.25rem;color:#666}.ds-input-file_progress-text_csqwh_75{gap:8px;grid-column:2;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;color:#666;margin-block-end:4px}.ds-input-file_progress-bar_csqwh_91{gap:12px}.ds-input-file_sr-only_csqwh_95{border:0;clip:rect(0 0 0 0);width:1px;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;text-indent:-999999px;white-space:nowrap}@keyframes ds-input-file_indeterminate-progress_csqwh_1{0%{left:-37.89%;animation-timing-function:ease-in}25%{left:0;animation-timing-function:ease-out}50%{left:95.84%;animation-timing-function:ease-in}75%{left:-8.55%;animation-timing-function:ease-out}to{left:-37.89%;animation-timing-function:ease-in}}
@@ -2,7 +2,7 @@
2
2
  import { jsx as w, jsxs as S } from "react/jsx-runtime";
3
3
  import { d as x } from "./chunks/index.cKLI89Eg.js";
4
4
  import { c as H } from "./chunks/index.DQOqod3i.js";
5
- import { D } from "./chunks/Button.DpGeheky.js";
5
+ import { D } from "./chunks/Button.P9uWeVnl.js";
6
6
  import './assets/banner.DFvdtgMp.css';const j = "ds-banner_root_1y1nw_1", k = "ds-banner_root--secondary_1y1nw_16", P = "ds-banner_root--highlight_1y1nw_20", z = "ds-banner_root--hide-close-button_1y1nw_24", E = "ds-banner_content_1y1nw_30", L = "ds-banner_close-button_1y1nw_42", d = {
7
7
  root: j,
8
8
  rootSecondary: k,
@@ -3,9 +3,9 @@ import "react/jsx-runtime";
3
3
  import "./chunks/index.cKLI89Eg.js";
4
4
  import "./chunks/index.DQOqod3i.js";
5
5
  import "react";
6
- import "./chunks/Button.DpGeheky.js";
7
- import "./link.R1lfD5aN.js";
8
- import { D as c } from "./chunks/Breadcrumb.nflDJoKs.js";
6
+ import "./chunks/Button.P9uWeVnl.js";
7
+ import "./link.Cej-vl_K.js";
8
+ import { D as c } from "./chunks/Breadcrumb.Dz3JQ2Vx.js";
9
9
  export {
10
10
  c as DSBreadcrumb
11
11
  };
@@ -3,10 +3,10 @@ import "react/jsx-runtime";
3
3
  import "./chunks/index.DQOqod3i.js";
4
4
  import "react";
5
5
  import "./chunks/useBreakpoint.1txsny17.js";
6
- import "./chunks/Icon.m6sMB6vl.js";
7
- import "./spinner.CRVyui04.js";
8
- import "./tooltip._lP4aMV2.js";
9
- import { D as u } from "./chunks/Button.DpGeheky.js";
6
+ import "./chunks/Icon.BoywkLCM.js";
7
+ import "./spinner.CJmvEaCu.js";
8
+ import "./tooltip.C6HKano9.js";
9
+ import { D as u } from "./chunks/Button.P9uWeVnl.js";
10
10
  export {
11
11
  u as DSButton
12
12
  };
@@ -2,9 +2,9 @@
2
2
  import { jsxs as P, jsx as H } from "react/jsx-runtime";
3
3
  import { d as Q } from "./chunks/index.cKLI89Eg.js";
4
4
  import { c as K } from "./chunks/index.DQOqod3i.js";
5
- import { D as U } from "./chunks/Icon.m6sMB6vl.js";
6
- import { DSSpinner as V } from "./spinner.CRVyui04.js";
7
- import { Tooltip as M } from "./tooltip._lP4aMV2.js";
5
+ import { D as U } from "./chunks/Icon.BoywkLCM.js";
6
+ import { DSSpinner as V } from "./spinner.CJmvEaCu.js";
7
+ import { Tooltip as M } from "./tooltip.C6HKano9.js";
8
8
  import { forwardRef as W } from "react";
9
9
  import './assets/buttonround.BTC-HthI.css';const X = "ds-button-round_root_1sl51_1", Y = "ds-button-round_root--highlight_1sl51_75", Z = "ds-button-round_root--dark-highlight_1sl51_75", tt = "ds-button-round_root--filled_1sl51_151", ot = "ds-button-round_root--dark-filled_1sl51_399", lt = "ds-button-round_root--icon-only-small_1sl51_656", et = "ds-button-round_icon--hidden_1sl51_673", it = "ds-button-round_label--hidden_1sl51_677", nt = "ds-button-round_label--loading_1sl51_689", st = "ds-button-round_loader_1sl51_693", l = {
10
10
  root: X,
Binary file
@@ -4,9 +4,9 @@ import "./chunks/index.DQOqod3i.js";
4
4
  import "react";
5
5
  import "./chunks/useBreakpoint.1txsny17.js";
6
6
  import "./chunks/index.cKLI89Eg.js";
7
- import "./chunks/Icon.m6sMB6vl.js";
8
- import "./chunks/SystemFeedback.DFN6Y2cw.js";
9
- import { D as x } from "./chunks/Checkbox.B3NeB54s.js";
7
+ import "./chunks/Icon.BoywkLCM.js";
8
+ import "./chunks/SystemFeedback.D4aWwoC8.js";
9
+ import { D as x } from "./chunks/Checkbox.B3g2P15v.js";
10
10
  export {
11
11
  x as DSCheckbox
12
12
  };
@@ -2,8 +2,8 @@
2
2
  import "react/jsx-runtime";
3
3
  import "./chunks/index.cKLI89Eg.js";
4
4
  import "./chunks/index.DQOqod3i.js";
5
- import "./chunks/Fieldset.7WM7w62l.js";
6
- import { D as e } from "./chunks/CheckboxGroup.BYZSvqF7.js";
5
+ import "./chunks/Fieldset.DdYeI2CZ.js";
6
+ import { D as e } from "./chunks/CheckboxGroup.Bg9WSL5B.js";
7
7
  export {
8
8
  e as DSCheckboxGroup
9
9
  };
@@ -4,9 +4,9 @@ import "./chunks/index.cKLI89Eg.js";
4
4
  import "./chunks/index.DQOqod3i.js";
5
5
  import "react";
6
6
  import "./chunks/translate.nuU7uChI.js";
7
- import "./chunks/Icon.m6sMB6vl.js";
8
- import "./tooltip._lP4aMV2.js";
9
- import { e as c } from "./chunks/Chip.SiGIIHR-.js";
7
+ import "./chunks/Icon.BoywkLCM.js";
8
+ import "./tooltip.C6HKano9.js";
9
+ import { e as c } from "./chunks/Chip.CfxdI4_r.js";
10
10
  export {
11
11
  c as DSChip
12
12
  };
@@ -0,0 +1,213 @@
1
+ "use client";
2
+ import { jsxs as de, jsx as Y } from "react/jsx-runtime";
3
+ import { useState as W, useRef as Z, useEffect as V, createElement as fe } from "react";
4
+ import { d as me } from "./chunks/index.cKLI89Eg.js";
5
+ import { c as x } from "./chunks/index.DQOqod3i.js";
6
+ import { t as pe } from "./chunks/translate.nuU7uChI.js";
7
+ import { u as he } from "./chunks/useBreakpoint.1txsny17.js";
8
+ import { f as ge } from "./chunks/AriaLiveRegions.utils.8ofDlHnN.js";
9
+ import { v as be, b as Se, e as Ce, d as j } from "./chunks/Chip.CfxdI4_r.js";
10
+ import './assets/chipgroup.BGxjdSDX.css';const ke = "ds-chip-group_label--hidden_3zmt2_1", ye = "ds-chip-group_root_3zmt2_14", ee = {
11
+ labelHidden: ke,
12
+ root: ye
13
+ }, Be = (i) => {
14
+ const e = me.c(37);
15
+ let r, h, f, S, a, _, C, k, y, w, v, $, D;
16
+ e[0] !== i ? ({
17
+ chips: r,
18
+ id: f,
19
+ label: S,
20
+ className: h,
21
+ disableTooltips: C,
22
+ hideLabel: k,
23
+ isRemovable: y,
24
+ lang: w,
25
+ selectionMode: v,
26
+ size: $,
27
+ translations: D,
28
+ onChipsChange: a,
29
+ ..._
30
+ } = i, e[0] = i, e[1] = r, e[2] = h, e[3] = f, e[4] = S, e[5] = a, e[6] = _, e[7] = C, e[8] = k, e[9] = y, e[10] = w, e[11] = v, e[12] = $, e[13] = D) : (r = e[1], h = e[2], f = e[3], S = e[4], a = e[5], _ = e[6], C = e[7], k = e[8], y = e[9], w = e[10], v = e[11], $ = e[12], D = e[13]);
31
+ const te = C === void 0 ? !1 : C, le = k === void 0 ? !1 : k, d = y === void 0 ? !1 : y, q = w === void 0 ? "en" : w, m = v === void 0 ? "single" : v, ne = $ === void 0 ? "medium" : $;
32
+ process.env.NODE_ENV !== "production" && be({
33
+ chips: r,
34
+ id: f,
35
+ label: S
36
+ });
37
+ const c = pe(D || Se[q]), [n, g] = W(null);
38
+ let A;
39
+ e[14] !== r ? (A = () => r.map(we), e[14] = r, e[15] = A) : A = e[15];
40
+ const [o, I] = W(A), J = Z(null), [u, P] = W();
41
+ let N;
42
+ e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (N = [], e[16] = N) : N = e[16];
43
+ const E = Z(N);
44
+ let K, M;
45
+ e[17] !== r ? (M = () => {
46
+ I(r.map(ve));
47
+ }, K = [r], e[17] = r, e[18] = K, e[19] = M) : (K = e[18], M = e[19]), V(M, K);
48
+ let T, G;
49
+ e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (T = () => {
50
+ const t = () => P("keydown"), l = () => P(null), s = () => P(null);
51
+ return document.addEventListener("keydown", t), document.addEventListener("mousedown", l), document.addEventListener("touchstart", s), () => {
52
+ document.removeEventListener("keydown", t), document.removeEventListener("mousedown", l), document.removeEventListener("touchstart", s);
53
+ };
54
+ }, G = [], e[20] = T, e[21] = G) : (T = e[20], G = e[21]), V(T, G);
55
+ let R;
56
+ e[22] !== n || e[23] !== u ? (R = () => {
57
+ n !== null && E.current[n] && u === "keydown" && E.current[n]?.focus();
58
+ }, e[22] = n, e[23] = u, e[24] = R) : R = e[24];
59
+ let z;
60
+ e[25] !== n ? (z = [n], e[25] = n, e[26] = z) : z = e[26], V(R, z);
61
+ let B;
62
+ e[27] !== o.length || e[28] !== n || e[29] !== u ? (B = () => {
63
+ u === "keydown" && n !== null && o.length > 0 && E.current.forEach((t, l) => {
64
+ t && (t.tabIndex = l === n ? 0 : -1, l === n && t.focus());
65
+ });
66
+ }, e[27] = o.length, e[28] = n, e[29] = u, e[30] = B) : B = e[30];
67
+ let F;
68
+ e[31] !== o ? (F = [o], e[31] = o, e[32] = F) : F = e[32], V(B, F);
69
+ const se = (t) => {
70
+ if (n === null)
71
+ return;
72
+ let l = n;
73
+ e: switch (t.key) {
74
+ case "a": {
75
+ (t.metaKey || t.ctrlKey) && (t.preventDefault(), oe());
76
+ break e;
77
+ }
78
+ case "ArrowRight":
79
+ case "ArrowDown": {
80
+ t.shiftKey && m === "multiple" && !d ? (l = n + 1 > o.length - 1 ? o.length - 1 : n + 1, n !== l ? (b(n), b(l)) : o[n].isSelected || b(n)) : (l = (n + 1) % o.length, t.preventDefault());
81
+ break e;
82
+ }
83
+ case "ArrowLeft":
84
+ case "ArrowUp": {
85
+ t.shiftKey && m === "multiple" && !d ? (l = n - 1 < 0 ? 0 : n - 1, n !== l ? (b(n), b(l)) : o[0].isSelected || b(0)) : (l = (n - 1 + o.length) % o.length, t.preventDefault());
86
+ break e;
87
+ }
88
+ case "Enter":
89
+ case " ": {
90
+ if (t.preventDefault(), d) {
91
+ U(l), o[l]?.onClick?.(t);
92
+ return;
93
+ } else
94
+ Q(l), o[l]?.onClick?.(t);
95
+ break e;
96
+ }
97
+ case "Backspace": {
98
+ d && U(l), t.preventDefault();
99
+ return;
100
+ }
101
+ default:
102
+ return;
103
+ }
104
+ g(l);
105
+ }, oe = () => {
106
+ if (m !== "multiple")
107
+ return;
108
+ const t = o.map($e);
109
+ I(t);
110
+ const l = t.length;
111
+ L(c("countSelected", [String(l), j(c, l), c("selected")])), a && a(t);
112
+ }, b = (t) => {
113
+ if (d)
114
+ return;
115
+ const l = o.map(De);
116
+ if (l[t].disabled)
117
+ return;
118
+ l[t].isSelected = !0;
119
+ const s = l.filter(Ie).length;
120
+ L(`${l[t].label} ${c("selected")}, ${c("countSelected", [String(s), j(c, s), c("selected")])}`), I(l), a && a(l);
121
+ }, Q = (t) => {
122
+ if (d)
123
+ return;
124
+ const l = [...o];
125
+ if (!l[t].disabled) {
126
+ if (m === "single")
127
+ l.forEach((s, p) => {
128
+ p === t ? (s.isSelected = !s.isSelected, L(s.isSelected ? `${s.label} ${c("selected")}` : `${s.label} ${c("notSelected")}`)) : s.isSelected = !1;
129
+ });
130
+ else if (m === "multiple") {
131
+ l[t].isSelected = !l[t].isSelected;
132
+ const s = l.filter(Ee).length, p = c("countSelected", [String(s), j(c, s), c("selected")]);
133
+ L(l[t].isSelected ? `${l[t].label} ${c("selected")}, ${p}` : `${l[t].label} ${c("notSelected")}, ${p}`);
134
+ }
135
+ I(l), a && a(l);
136
+ }
137
+ }, U = (t) => {
138
+ const l = o[t], s = o.filter((X, ue) => ue !== t).map(Le);
139
+ I(s);
140
+ const p = s.length;
141
+ if (L(`${l.label} ${c("removed")}, ${c("countRemaining", [String(p), j(c, p), c("remaining")])}`), u === "keydown")
142
+ if (s.length > 0) {
143
+ const X = Math.min(t, s.length - 1);
144
+ g(X);
145
+ } else
146
+ J.current?.focus(), g(null);
147
+ a && a(s);
148
+ }, ie = (t) => {
149
+ d ? U(t) : o[t].disabled || Q(t);
150
+ }, L = _e;
151
+ let H;
152
+ e[33] !== n ? (H = (t) => n === null || n === t ? 0 : -1, e[33] = n, e[34] = H) : H = e[34];
153
+ const ce = H, re = he(le);
154
+ let O;
155
+ e[35] !== h ? (O = x(ee.root, h), e[35] = h, e[36] = O) : O = e[36];
156
+ const ae = O;
157
+ return o.length === 0 ? null : /* @__PURE__ */ de("div", { children: [
158
+ /* @__PURE__ */ Y("div", { id: f, className: x({
159
+ [ee.labelHidden]: re
160
+ }) || void 0, children: S }),
161
+ o.length > 0 && /* @__PURE__ */ Y("div", { ref: J, role: "grid", "aria-labelledby": f, "aria-multiselectable": m === "multiple", tabIndex: -1, onKeyDown: se, onFocus: () => {
162
+ n === null ? (E.current[0].focus(), u === "keydown" && g(0)) : u === "keydown" && g(n);
163
+ }, onBlur: () => g(null), className: ae, ..._, children: o.map((t, l) => /* @__PURE__ */ fe(Ce, { ...t, key: `${t.id}-${l}`, "data-focused": n === l, disableTooltips: te, groupId: f, isRemovable: d, lang: q, selectionMode: m, size: ne, tabIndex: ce(l), translations: D, onClick: (s) => {
164
+ ie(l), t.onClick && t.onClick(s);
165
+ }, ref: (s) => {
166
+ E.current[l] = s;
167
+ } })) })
168
+ ] });
169
+ };
170
+ function we(i) {
171
+ return {
172
+ ...i
173
+ };
174
+ }
175
+ function ve(i) {
176
+ return {
177
+ ...i
178
+ };
179
+ }
180
+ function $e(i) {
181
+ return {
182
+ ...i,
183
+ selected: !i.disabled
184
+ };
185
+ }
186
+ function De(i) {
187
+ return {
188
+ ...i
189
+ };
190
+ }
191
+ function Ie(i) {
192
+ const {
193
+ isSelected: e
194
+ } = i;
195
+ return e;
196
+ }
197
+ function Ee(i) {
198
+ const {
199
+ isSelected: e
200
+ } = i;
201
+ return e;
202
+ }
203
+ function Le(i) {
204
+ return {
205
+ ...i
206
+ };
207
+ }
208
+ function _e(i) {
209
+ ge(i, "DSChipGroup");
210
+ }
211
+ export {
212
+ Be as DSChipGroup
213
+ };
@@ -0,0 +1,173 @@
1
+ "use client";
2
+ import { jsx as d, jsxs as $ } from "react/jsx-runtime";
3
+ import { d as ge } from "./index.cKLI89Eg.js";
4
+ import { c as O } from "./index.DQOqod3i.js";
5
+ import { forwardRef as Se, useRef as ve, useState as Ce, useImperativeHandle as We, useEffect as fe } from "react";
6
+ import { DSHeading as Ne } from "../heading.BHSklXho.js";
7
+ import { D as Oe } from "./Icon.BoywkLCM.js";
8
+ import { NumberIndicator as we } from "../numberindicator.ZGVRSmqf.js";
9
+ import { g as k } from "./helpers.CexwVao7.js";
10
+ import '../assets/Accordion.Cr1dbVTH.css';const De = "ds-accordion_details_2g22m_1", be = "ds-accordion_summary_2g22m_117", xe = "ds-accordion_summary--utility--m_2g22m_156", Ae = "ds-accordion_summary--flush_2g22m_185", Ie = "ds-accordion_summary--small_2g22m_253", Ee = "ds-accordion_summary--x-small_2g22m_257", Xe = "ds-accordion_summary-content-wrapper_2g22m_262", Fe = "ds-accordion_summary-content-wrapper--flush_2g22m_268", Te = "ds-accordion_summary-content-wrapper--chevron-left_2g22m_272", Pe = "ds-accordion_summary-content-wrapper--x-small_2g22m_276", Re = "ds-accordion_heading-summary-wrapper_2g22m_280", Le = "ds-accordion_heading-summary_2g22m_280", je = "ds-accordion_heading-summary--x-small_2g22m_290", ze = "ds-accordion_hint_2g22m_294", Me = "ds-accordion_icon_2g22m_308", He = "ds-accordion_icon--open_2g22m_319", Ue = "ds-accordion_icon--open-caret_2g22m_330", qe = "ds-accordion_content-wrapper_2g22m_342", Ve = "ds-accordion_content-wrapper--flush_2g22m_348", Ze = "ds-accordion_content-wrapper--small_2g22m_352", $e = "ds-accordion_content-wrapper--x-small_2g22m_356", t = {
11
+ details: De,
12
+ summary: be,
13
+ summaryUtilityM: xe,
14
+ summaryFlush: Ae,
15
+ summarySmall: Ie,
16
+ summaryXSmall: Ee,
17
+ summaryContentWrapper: Xe,
18
+ summaryContentWrapperFlush: Fe,
19
+ summaryContentWrapperChevronLeft: Te,
20
+ summaryContentWrapperXSmall: Pe,
21
+ headingSummaryWrapper: Re,
22
+ headingSummary: Le,
23
+ headingSummaryXSmall: je,
24
+ hint: ze,
25
+ icon: Me,
26
+ iconOpen: He,
27
+ iconOpenCaret: Ue,
28
+ contentWrapper: qe,
29
+ contentWrapperFlush: Ve,
30
+ contentWrapperSmall: Ze,
31
+ contentWrapperXSmall: $e
32
+ }, nt = ["medium", "small", "x-small"], st = ["chevron", "caret"], at = ["left", "right"], ke = ({
33
+ children: w,
34
+ hint: B,
35
+ numberIndicatorValue: e,
36
+ numberIndicatorAriaLabel: n,
37
+ summary: o
38
+ }) => {
39
+ if (!w)
40
+ throw new Error(k("DSAccordion", "The component requires children to be set."));
41
+ if (!o)
42
+ throw new Error(k("DSAccordion", "The summary prop is required. Please add the summary prop to the DSAccordion component."));
43
+ if (B && (e || e === ""))
44
+ throw new Error(k("DSAccordion", "The hint and numberIndicator props cannot be used together. Please remove either the hint prop or the numberIndicatorValue prop."));
45
+ (e || e === "") && !n && console.warn(k("DSAccordion", "Please provide a descriptive aria-label for the Number Indicator for better accessibility."));
46
+ }, Be = Se((w, B) => {
47
+ const e = ge.c(77);
48
+ let n, o, m, l, s, p, u, r, D, b, x, A;
49
+ e[0] !== w ? ({
50
+ children: n,
51
+ summary: r,
52
+ chevronPosition: D,
53
+ className: o,
54
+ hint: m,
55
+ isFlush: b,
56
+ isOpen: x,
57
+ numberIndicatorValue: s,
58
+ numberIndicatorAriaLabel: l,
59
+ size: A,
60
+ onToggle: p,
61
+ ...u
62
+ } = w, e[0] = w, e[1] = n, e[2] = o, e[3] = m, e[4] = l, e[5] = s, e[6] = p, e[7] = u, e[8] = r, e[9] = D, e[10] = b, e[11] = x, e[12] = A) : (n = e[1], o = e[2], m = e[3], l = e[4], s = e[5], p = e[6], u = e[7], r = e[8], D = e[9], b = e[10], x = e[11], A = e[12]);
63
+ const ue = D === void 0 ? "right" : D, a = b === void 0 ? !1 : b, i = x === void 0 ? !1 : x, h = A === void 0 ? "medium" : A;
64
+ process.env.NODE_ENV !== "production" && ke({
65
+ children: n,
66
+ hint: m,
67
+ numberIndicatorValue: s,
68
+ numberIndicatorAriaLabel: l,
69
+ summary: r
70
+ });
71
+ const G = ue === "right" ? "chevron" : "caret", c = ve(null), [he, _e] = Ce(i);
72
+ let E;
73
+ e[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (E = () => c.current, e[13] = E) : E = e[13], We(B, E);
74
+ let X;
75
+ e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (X = () => {
76
+ c.current && _e(c.current.open);
77
+ }, e[14] = X) : X = e[14];
78
+ let F;
79
+ e[15] !== i ? (F = [i], e[15] = i, e[16] = F) : F = e[16], fe(X, F);
80
+ let T, P;
81
+ e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (T = () => {
82
+ const ye = () => {
83
+ c.current && _e(c.current.open);
84
+ };
85
+ return c.current?.addEventListener("toggle", ye), () => {
86
+ c.current?.removeEventListener("toggle", ye);
87
+ };
88
+ }, P = [], e[17] = T, e[18] = P) : (T = e[17], P = e[18]), fe(T, P);
89
+ let R, L, j;
90
+ const I = typeof r == "object" && r !== void 0;
91
+ I && ({
92
+ headingSize: R,
93
+ headingTag: L,
94
+ headingText: j
95
+ } = r);
96
+ let z;
97
+ e[19] !== o ? (z = O(t.details, o), e[19] = o, e[20] = z) : z = e[20];
98
+ const J = z, K = h === "small", Q = h === "x-small", Y = !I;
99
+ let M;
100
+ e[21] !== a || e[22] !== K || e[23] !== Q || e[24] !== Y ? (M = O(t.summary, {
101
+ [t.summaryFlush]: a,
102
+ [t.summarySmall]: K,
103
+ [t.summaryXSmall]: Q,
104
+ [t.summaryUtilityM]: Y
105
+ }), e[21] = a, e[22] = K, e[23] = Q, e[24] = Y, e[25] = M) : M = e[25];
106
+ const ee = M, te = ue === "left", re = h === "x-small";
107
+ let H;
108
+ e[26] !== a || e[27] !== te || e[28] !== re ? (H = O(t.summaryContentWrapper, {
109
+ [t.summaryContentWrapperFlush]: a,
110
+ [t.summaryContentWrapperChevronLeft]: te,
111
+ [t.summaryContentWrapperXSmall]: re
112
+ }), e[26] = a, e[27] = te, e[28] = re, e[29] = H) : H = e[29];
113
+ const ne = H, se = h === "x-small";
114
+ let U;
115
+ e[30] !== se ? (U = O(t.headingSummary, {
116
+ [t.headingSummaryXSmall]: se
117
+ }), e[30] = se, e[31] = U) : U = e[31];
118
+ const ae = U, oe = G === "chevron" && he, me = G === "caret" && he;
119
+ let q;
120
+ e[32] !== oe || e[33] !== me ? (q = O(t.icon, {
121
+ [t.iconOpen]: oe,
122
+ [t.iconOpenCaret]: me
123
+ }), e[32] = oe, e[33] = me, e[34] = q) : q = e[34];
124
+ const ce = q, le = h === "small", ie = h === "x-small";
125
+ let V;
126
+ e[35] !== a || e[36] !== le || e[37] !== ie ? (V = O(t.contentWrapper, {
127
+ [t.contentWrapperFlush]: a,
128
+ [t.contentWrapperSmall]: le,
129
+ [t.contentWrapperXSmall]: ie
130
+ }), e[35] = a, e[36] = le, e[37] = ie, e[38] = V) : V = e[38];
131
+ const de = V;
132
+ let _;
133
+ e[39] !== R || e[40] !== L || e[41] !== j || e[42] !== I || e[43] !== r ? (_ = I ? /* @__PURE__ */ d(Ne, { tag: L, size: R, children: j }) : r, e[39] = R, e[40] = L, e[41] = j, e[42] = I, e[43] = r, e[44] = _) : _ = e[44];
134
+ let y;
135
+ e[45] !== l || e[46] !== s ? (y = (s || s?.trim() === "") && /* @__PURE__ */ d("div", { children: /* @__PURE__ */ d(we, { "aria-label": l, label: s }) }), e[45] = l, e[46] = s, e[47] = y) : y = e[47];
136
+ let f;
137
+ e[48] !== ae || e[49] !== _ || e[50] !== y ? (f = /* @__PURE__ */ $("div", { className: ae, children: [
138
+ _,
139
+ y
140
+ ] }), e[48] = ae, e[49] = _, e[50] = y, e[51] = f) : f = e[51];
141
+ let g;
142
+ e[52] !== m ? (g = m && /* @__PURE__ */ d("div", { className: t.hint, children: m }), e[52] = m, e[53] = g) : g = e[53];
143
+ let S;
144
+ e[54] !== f || e[55] !== g ? (S = /* @__PURE__ */ $("div", { className: t.headingSummaryWrapper, children: [
145
+ f,
146
+ g
147
+ ] }), e[54] = f, e[55] = g, e[56] = S) : S = e[56];
148
+ const pe = G === "chevron" ? "chevron-down" : "caret-right";
149
+ let v;
150
+ e[57] !== ce || e[58] !== pe ? (v = /* @__PURE__ */ d(Oe, { name: pe, "aria-hidden": "true", className: ce }), e[57] = ce, e[58] = pe, e[59] = v) : v = e[59];
151
+ let C;
152
+ e[60] !== ne || e[61] !== S || e[62] !== v ? (C = /* @__PURE__ */ $("div", { className: ne, children: [
153
+ S,
154
+ v
155
+ ] }), e[60] = ne, e[61] = S, e[62] = v, e[63] = C) : C = e[63];
156
+ let W;
157
+ e[64] !== ee || e[65] !== C ? (W = /* @__PURE__ */ d("summary", { className: ee, children: C }), e[64] = ee, e[65] = C, e[66] = W) : W = e[66];
158
+ let N;
159
+ e[67] !== n || e[68] !== de ? (N = /* @__PURE__ */ d("div", { className: de, children: n }), e[67] = n, e[68] = de, e[69] = N) : N = e[69];
160
+ let Z;
161
+ return e[70] !== J || e[71] !== i || e[72] !== p || e[73] !== u || e[74] !== W || e[75] !== N ? (Z = /* @__PURE__ */ $("details", { ...u, ref: c, className: J, open: i, onToggle: p, children: [
162
+ W,
163
+ N
164
+ ] }), e[70] = J, e[71] = i, e[72] = p, e[73] = u, e[74] = W, e[75] = N, e[76] = Z) : Z = e[76], Z;
165
+ });
166
+ Be.displayName = "DSAccordion";
167
+ export {
168
+ nt as A,
169
+ at as C,
170
+ Be as D,
171
+ st as a,
172
+ ke as v
173
+ };
@@ -3,9 +3,9 @@ import { jsxs as q, jsx as d, Fragment as zt } from "react/jsx-runtime";
3
3
  import { d as St } from "./index.cKLI89Eg.js";
4
4
  import { c as C } from "./index.DQOqod3i.js";
5
5
  import { forwardRef as Pt } from "react";
6
- import { D as wt } from "./Icon.m6sMB6vl.js";
6
+ import { D as wt } from "./Icon.BoywkLCM.js";
7
7
  import { NumberIndicator as Tt } from "../numberindicator.ZGVRSmqf.js";
8
- import { Tooltip as Wt } from "../tooltip._lP4aMV2.js";
8
+ import { Tooltip as Wt } from "../tooltip.C6HKano9.js";
9
9
  import { g as f } from "./helpers.CexwVao7.js";
10
10
  import '../assets/ActionButton.BLOWs6IZ.css';const Ct = "ds-action-button_root_19zdv_1", Dt = "ds-action-button_root--indent-level-1_19zdv_75", Ot = "ds-action-button_root--active_19zdv_78", Bt = "ds-action-button_root--active--with-marker_19zdv_81", kt = "ds-action-button_root--icon--top_19zdv_84", Lt = "ds-action-button_root--stretched_19zdv_110", Et = "ds-action-button_active-marker_19zdv_115", xt = "ds-action-button_active-marker--with-indent_19zdv_127", Mt = "ds-action-button_icon-wrapper_19zdv_131", Ut = "ds-action-button_icon-wrapper--x-large_19zdv_134", Rt = "ds-action-button_icon-wrapper--with-number-indicator_19zdv_137", Vt = "ds-action-button_icon-wrapper--with-number-indicator--with-value_19zdv_145", yt = "ds-action-button_label_19zdv_149", Ht = "ds-action-button_label--bold_19zdv_160", Xt = "ds-action-button_label--active_19zdv_171", jt = "ds-action-button_label--icon-top_19zdv_182", Ft = "ds-action-button_number-indicator_19zdv_205", Gt = "ds-action-button_label-wrapper_19zdv_209", Zt = "ds-action-button_label-wrapper--icon-top_19zdv_214", $t = "ds-action-button_chevron_19zdv_218", qt = "ds-action-button_chevron--icon-position-top_19zdv_233", Jt = "ds-action-button_chevron--up_19zdv_239", Kt = "ds-action-button_chevron--right_19zdv_250", Qt = "ds-action-button_chevron--left_19zdv_261", o = {
11
11
  root: Ct,