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

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 (138) hide show
  1. package/{accordion.fQnuIgvf.js → accordion.MzP6R77w.js} +2 -2
  2. package/{actionbutton.CrKiuo82.js → actionbutton.G5W7UVFl.js} +2 -2
  3. package/{actioncard.WFXhVqOa.js → actioncard.BwquHtM_.js} +1 -1
  4. package/{actionlink.Df17YKFt.js → actionlink.DquMiuMX.js} +2 -2
  5. package/assets/ActionCard.BG8w8xUC.css +1 -0
  6. package/assets/Dialog.BKwWy1g2.css +1 -0
  7. package/assets/Drawer.BU-fi5Hk.css +1 -0
  8. package/assets/LinkButton.CxJvjEY5.css +1 -0
  9. package/assets/LinkCard.DkQoQJxx.css +1 -0
  10. package/assets/NavigationTabList.DYjNT2Di.css +1 -0
  11. package/assets/Pagination.DZ1yCAMR.css +1 -0
  12. package/assets/buttonround.CMrJRIeW.css +1 -0
  13. package/assets/link.Dcsio57m.css +1 -0
  14. package/{banner.Zxe9epVx.js → banner.XeTbC8mq.js} +1 -1
  15. package/{breadcrumb.FfS9gDhB.js → breadcrumb.BOz3Hst7.js} +3 -3
  16. package/{button.Bq_b-jF3.js → button.I5z8VEXa.js} +5 -4
  17. package/buttonround.BX_81KOF.js +101 -0
  18. package/{checkbox.DiIxW8xI.js → checkbox.CcEypLD0.js} +3 -3
  19. package/{checkboxgroup.CN0WCDIo.js → checkboxgroup.15fvJ2SQ.js} +2 -2
  20. package/{chip.C9GLR8lU.js → chip.DZP-2LVl.js} +2 -2
  21. package/{chipgroup.DEMaFBAV.js → chipgroup.Ckvmby1Q.js} +1 -1
  22. package/chunks/{Accordion.CHgxTFzp.js → Accordion.Drq0YoeJ.js} +1 -1
  23. package/chunks/{ActionButton.CLeOd9rU.js → ActionButton.CCI5IUFy.js} +1 -1
  24. package/chunks/ActionCard.DJSGkwVG.js +227 -0
  25. package/chunks/{ActionLink.BsBKNYu5.js → ActionLink.BrJB7T0A.js} +1 -1
  26. package/chunks/{Breadcrumb.Dz3JQ2Vx.js → Breadcrumb.CNABp45n.js} +2 -2
  27. package/chunks/Button.D8U6Bs7T.js +160 -0
  28. package/chunks/{Checkbox.B3g2P15v.js → Checkbox.91fwuJ-0.js} +2 -2
  29. package/chunks/{CheckboxGroup.Bg9WSL5B.js → CheckboxGroup.DlZcoyo_.js} +2 -2
  30. package/chunks/{Chip.CfxdI4_r.js → Chip.wHEr-saO.js} +1 -1
  31. package/chunks/{CustomReactSelect.DuAr_i4b.js → CustomReactSelect.DHwRSrva.js} +4 -4
  32. package/chunks/Dialog.DNrQmu4n.js +102 -0
  33. package/chunks/Drawer.DaiiAoa8.js +107 -0
  34. package/chunks/{Fieldset.DdYeI2CZ.js → Fieldset.BB4NftRU.js} +2 -2
  35. package/chunks/{Icon.BoywkLCM.js → Icon.DCdL1Vnp.js} +1 -1
  36. package/chunks/{InputFile.CR8ucopi.js → InputFile.C-m2Hp0n.js} +5 -5
  37. package/chunks/{InputNumber.BFZFmfye.js → InputNumber.DOrbq0Hf.js} +3 -3
  38. package/chunks/{InputPassword.C311ncrv.js → InputPassword.BrQLXv_R.js} +3 -3
  39. package/chunks/{InputSearch.BxDshauv.js → InputSearch.DsT4ESbN.js} +3 -3
  40. package/chunks/LinkButton.CNLxmfVF.js +150 -0
  41. package/chunks/LinkCard.CsK31XXo.js +197 -0
  42. package/chunks/NavigationTabList.9r9_yTmR.js +68 -0
  43. package/chunks/{NavigationTabs.B57dlMSM.js → NavigationTabs.CCFAm8-N.js} +1 -1
  44. package/chunks/{Notification.C6oDyXgu.js → Notification.BlyUQinT.js} +2 -2
  45. package/chunks/Pagination.Dl8CU-yY.js +247 -0
  46. package/chunks/{Popover.BmpyqKuQ.js → Popover.BBT_kVGM.js} +1 -1
  47. package/chunks/{RadioGroup.DkBkatv7.js → RadioGroup.BWe0nG6N.js} +1 -1
  48. package/chunks/{Select.Tt9kT7fQ.js → Select.fgSB8mUs.js} +3 -3
  49. package/chunks/Slider.8H5oki70.js +307 -0
  50. package/chunks/{Stepper.BnrFN6cJ.js → Stepper.UvgTZCCb.js} +2 -2
  51. package/chunks/{SystemFeedback.D4aWwoC8.js → SystemFeedback.CZhoSxrC.js} +1 -1
  52. package/chunks/{Tabs.kCft3oEd.js → Tabs.DtfpA30P.js} +1 -1
  53. package/chunks/{Textarea.DDcx_Pdr.js → Textarea.B-Ii-p0C.js} +2 -2
  54. package/chunks/{Toast.DddHXsvZ.js → Toast.B7_VJE8V.js} +2 -2
  55. package/chunks/heart-filled.CmO7eae5.js +10 -0
  56. package/{combobox.B-BIvd5K.js → combobox.C2DBgO0t.js} +1 -1
  57. package/components/Accordion/Accordion.d.ts +2 -2
  58. package/components/ActionCard/ActionCard.d.ts +11 -4
  59. package/components/Banner/Banner.d.ts +1 -1
  60. package/components/Breadcrumb/Breadcrumb.d.ts +4 -1
  61. package/components/ButtonRound/ButtonRound.d.ts +14 -7
  62. package/components/ButtonRound/ButtonRound.utils.d.ts +3 -1
  63. package/components/FloatingActionButton/FloatingActionButton.d.ts +8 -5
  64. package/components/LinkCard/LinkCard.d.ts +13 -3
  65. package/components/MegaMenu/MegaMenu.d.ts +1 -1
  66. package/components/Pagination/Pagination.d.ts +51 -0
  67. package/components/Pagination/Pagination.responsive.test.d.ts +1 -0
  68. package/components/Pagination/Pagination.test.d.ts +1 -0
  69. package/components/Pagination/Pagination.utils.d.ts +59 -0
  70. package/components/Pagination/Pagination.utils.test.d.ts +1 -0
  71. package/components/Tooltip/Tooltip.d.ts +1 -1
  72. package/{customreactselect.B7p1pKdD.js → customreactselect.Dle5ReLL.js} +5 -5
  73. package/{dialog.BqLpjUB7.js → dialog.Br6FeS8M.js} +2 -2
  74. package/{drawer.Cd-nCvZc.js → drawer.Dyjx6fy3.js} +2 -2
  75. package/{fieldset.CZZsUwkL.js → fieldset.D6sz1Wn2.js} +3 -3
  76. package/{filelist.BhBVr4dj.js → filelist.0CUvj_hg.js} +4 -4
  77. package/{filepreview.BTWX71Xh.js → filepreview.DfYhhi7K.js} +1 -1
  78. package/{flag.B0fg5_Ly.js → flag.B61fRxrP.js} +1 -1
  79. package/{floatingactionbutton.C97oLCcd.js → floatingactionbutton.C-V33tkz.js} +2 -2
  80. package/{icon.DfDzyo8I.js → icon.pia3k1bW.js} +1 -1
  81. package/index.d.ts +7 -0
  82. package/index.es.js +231 -218
  83. package/{input.DIJfEjWf.js → input.CNC3QIQR.js} +4 -4
  84. package/{inputfile.h6E4CGVo.js → inputfile.CN9IBCM5.js} +6 -6
  85. package/{inputnumber.mm_Irbl8.js → inputnumber.DIccXoqM.js} +4 -4
  86. package/{inputpassword.C2lyKMkw.js → inputpassword.BWIKqwcK.js} +4 -4
  87. package/{inputsearch.BjkPPx6s.js → inputsearch.BQVA1P3t.js} +4 -4
  88. package/link.DFt6ae6h.js +81 -0
  89. package/{linkbutton.Brcp-b5r.js → linkbutton.DSzhpA7y.js} +3 -3
  90. package/{linkcard.COvLNYk7.js → linkcard.Azap4eIT.js} +4 -4
  91. package/{navigationtablist.BBeiLPse.js → navigationtablist.B0QFyk6c.js} +2 -2
  92. package/{navigationtabs.DzPsYusL.js → navigationtabs.drPy054A.js} +2 -2
  93. package/{notification.CliKozt4.js → notification.DT8ZQWy-.js} +3 -3
  94. package/{optioncheckbox.BOfgK3U_.js → optioncheckbox.BO9lhnF3.js} +1 -1
  95. package/package.json +1 -1
  96. package/pagination.DqHkkeMR.js +14 -0
  97. package/pagination.d.ts +2 -0
  98. package/partials/index.js +24 -18
  99. package/partials/lib/partials.d.ts +1 -1
  100. package/{popover.ChNhlQVw.js → popover.HlTN79us.js} +2 -2
  101. package/product-card-example-5.webp +0 -0
  102. package/product-card-example-6.webp +0 -0
  103. package/product-card-example-7.webp +0 -0
  104. package/{progressindicator.DIzH179H.js → progressindicator.DdaSeRcV.js} +1 -1
  105. package/{radiogroup.DL5scGbv.js → radiogroup.CtkyrkVj.js} +2 -2
  106. package/{scroller.DwhsKecL.js → scroller.BZy0pXNL.js} +1 -1
  107. package/{select.mbkkptY-.js → select.BSRwHZl9.js} +4 -4
  108. package/{skiptocontent.CAXMZlhM.js → skiptocontent.D-qA8MV6.js} +1 -1
  109. package/{slider.DvrNqhCC.js → slider.jgy1gPS-.js} +3 -3
  110. package/{spinner.CJmvEaCu.js → spinner.CioXs_gr.js} +1 -1
  111. package/{step.B-afaoZI.js → step.C8Um5fyx.js} +2 -2
  112. package/{stepper.B0euF2om.js → stepper.ChHYe3pv.js} +3 -3
  113. package/{switch.BadzT87Z.js → switch.BWByas7M.js} +2 -2
  114. package/{systemfeedback.BfGF0ENk.js → systemfeedback.Dr99Uwoi.js} +2 -2
  115. package/{tablist.CLKzkkTc.js → tablist.DuaTT6zK.js} +3 -3
  116. package/{tabs.ClFPZyaL.js → tabs.BGmxVK_3.js} +2 -2
  117. package/{textarea.B06ZGH_0.js → textarea.BoxcJ2tx.js} +3 -3
  118. package/{toast.uarxRSg4.js → toast.BJs2VWI4.js} +3 -3
  119. package/{toastmanager.ClwydHnH.js → toastmanager.Bh9XSJty.js} +1 -1
  120. package/types/icon-types.d.ts +1 -1
  121. package/assets/ActionCard.C85bSGRa.css +0 -1
  122. package/assets/Dialog.DyiHUgTp.css +0 -1
  123. package/assets/Drawer.UugEajR2.css +0 -1
  124. package/assets/LinkButton.BEbmxP7h.css +0 -1
  125. package/assets/LinkCard.z1Yjue7-.css +0 -1
  126. package/assets/NavigationTabList.CzAiHz7G.css +0 -1
  127. package/assets/buttonround.BTC-HthI.css +0 -1
  128. package/assets/link.BemYqm4d.css +0 -1
  129. package/buttonround.C2Tbq4wh.js +0 -96
  130. package/chunks/ActionCard.oi3u27DL.js +0 -242
  131. package/chunks/Button.P9uWeVnl.js +0 -139
  132. package/chunks/Dialog.C8pnDioL.js +0 -102
  133. package/chunks/Drawer.wTQvINDy.js +0 -107
  134. package/chunks/LinkButton.D20xLcuG.js +0 -140
  135. package/chunks/LinkCard.CXJLlBi2.js +0 -193
  136. package/chunks/NavigationTabList.CUFceGFf.js +0 -68
  137. package/chunks/Slider.XqqBxGnd.js +0 -306
  138. package/link.Cej-vl_K.js +0 -81
@@ -0,0 +1,68 @@
1
+ "use client";
2
+ import { jsxs as N, Fragment as B, jsx as d } from "react/jsx-runtime";
3
+ import { d as I } from "./index.cKLI89Eg.js";
4
+ import { isValidElement as k, cloneElement as w } from "react";
5
+ import { D as R } from "./Icon.DCdL1Vnp.js";
6
+ import { NumberIndicator as W } from "../numberindicator.ZGVRSmqf.js";
7
+ import '../assets/NavigationTabList.DYjNT2Di.css';const v = "ds-tabs_tabs-wrapper_3xz50_1", y = "ds-tabs_scroll-wrapper_3xz50_6", D = "ds-tabs_scroller_3xz50_17", E = "ds-tabs_scroller--centered_3xz50_28", L = "ds-tabs_tab_3xz50_1", T = "ds-tabs_scroll-button_3xz50_105", j = "ds-tabs_scroll-button--hidden_3xz50_110", H = "ds-tabs_scroll-button--right_3xz50_114", K = "ds-tabs_indicator_3xz50_126", S = {
8
+ tabsWrapper: v,
9
+ scrollWrapper: y,
10
+ scroller: D,
11
+ scrollerCentered: E,
12
+ tab: L,
13
+ scrollButton: T,
14
+ scrollButtonHidden: j,
15
+ scrollButtonRight: H,
16
+ indicator: K
17
+ }, G = (x) => {
18
+ const t = I.c(15), {
19
+ tabs: b,
20
+ tabRefs: e,
21
+ scrollerClass: p,
22
+ scrollerRef: _,
23
+ selectedTabIndex: r,
24
+ handleNavigationKeydown: o,
25
+ setSelectedTab: l
26
+ } = x;
27
+ let s;
28
+ if (t[0] !== o || t[1] !== r || t[2] !== l || t[3] !== e || t[4] !== b) {
29
+ let i;
30
+ t[6] !== o || t[7] !== r || t[8] !== l || t[9] !== e ? (i = (z, n) => {
31
+ const {
32
+ id: u,
33
+ linkComponent: a,
34
+ iconName: f,
35
+ numberIndicatorValue: h,
36
+ numberIndicatorAriaLabel: g
37
+ } = z;
38
+ if (!k(a))
39
+ return null;
40
+ const C = w(a, {
41
+ "aria-current": r === n ? "page" : void 0,
42
+ children: /* @__PURE__ */ N(B, { children: [
43
+ f && /* @__PURE__ */ d(R, { name: f, "aria-hidden": "true" }),
44
+ a.props.children,
45
+ h && /* @__PURE__ */ d(W, { "aria-label": g, label: h })
46
+ ] }),
47
+ className: S.tab,
48
+ id: u,
49
+ tabIndex: r === n ? 0 : -1,
50
+ onKeyDown: (m) => o(m, n),
51
+ onClick: () => {
52
+ a.props.onClick && a.props.onClick(), l(n);
53
+ },
54
+ ref: (m) => {
55
+ e.current[n] = m;
56
+ }
57
+ });
58
+ return /* @__PURE__ */ d("li", { children: C }, u);
59
+ }, t[6] = o, t[7] = r, t[8] = l, t[9] = e, t[10] = i) : i = t[10], s = b.map(i), t[0] = o, t[1] = r, t[2] = l, t[3] = e, t[4] = b, t[5] = s;
60
+ } else
61
+ s = t[5];
62
+ let c;
63
+ return t[11] !== p || t[12] !== _ || t[13] !== s ? (c = /* @__PURE__ */ d("ul", { className: p, ref: _, children: s }), t[11] = p, t[12] = _, t[13] = s, t[14] = c) : c = t[14], c;
64
+ };
65
+ export {
66
+ G as N,
67
+ S as s
68
+ };
@@ -2,7 +2,7 @@
2
2
  import { jsx as v } from "react/jsx-runtime";
3
3
  import { d as N } from "./index.cKLI89Eg.js";
4
4
  import { useState as T, useEffect as h } from "react";
5
- import { TabList as y } from "../tablist.CLKzkkTc.js";
5
+ import { TabList as y } from "../tablist.DuaTT6zK.js";
6
6
  import { g as o, r as A } from "./helpers.CexwVao7.js";
7
7
  const V = ["left", "center"], M = ["prev", "next"], I = ({
8
8
  aria: t,
@@ -2,8 +2,8 @@
2
2
  import { jsx as H, jsxs as F } from "react/jsx-runtime";
3
3
  import { d as R } from "./index.cKLI89Eg.js";
4
4
  import { c as k } from "./index.DQOqod3i.js";
5
- import { D as W } from "./Button.P9uWeVnl.js";
6
- import { D as j } from "./Icon.BoywkLCM.js";
5
+ import { D as W } from "./Button.D8U6Bs7T.js";
6
+ import { D as j } from "./Icon.DCdL1Vnp.js";
7
7
  import '../assets/Notification.DBGpHzov.css';const y = "ds-notification_root_trmu0_1", L = "ds-notification_root--success_trmu0_29", P = "ds-notification_root--error_trmu0_33", V = "ds-notification_root--warning_trmu0_37", z = "ds-notification_root--hide-icon_trmu0_41", Y = "ds-notification_content_trmu0_55", $ = "ds-notification_content--hide-close-button_trmu0_62", q = "ds-notification_content--hide-icon_trmu0_65", G = "ds-notification_icon_trmu0_69", J = "ds-notification_message_trmu0_73", K = "ds-notification_custom-action-area_trmu0_170", e = {
8
8
  root: y,
9
9
  rootSuccess: L,
@@ -0,0 +1,247 @@
1
+ "use client";
2
+ import { jsx as v, jsxs as Ae } from "react/jsx-runtime";
3
+ import { d as Ie } from "./index.cKLI89Eg.js";
4
+ import { c as R } from "./index.DQOqod3i.js";
5
+ import { isValidElement as he, useState as me, useEffect as fe, cloneElement as ue } from "react";
6
+ import { t as xe } from "./translate.nuU7uChI.js";
7
+ import { u as Me } from "./useIsomorphicLayoutEffect.CnJ9AMFS.js";
8
+ import { f as Ce } from "./AriaLiveRegions.utils.8ofDlHnN.js";
9
+ import { D as ve } from "./Button.D8U6Bs7T.js";
10
+ import { D as _e } from "./LinkButton.CNLxmfVF.js";
11
+ import { g as u, r as pe } from "./helpers.CexwVao7.js";
12
+ import '../assets/Pagination.DZ1yCAMR.css';const Le = "ds-pagination_list_rwmgf_1", Be = "ds-pagination_list--center_rwmgf_8", Te = "ds-pagination_list--right_rwmgf_11", ke = "ds-pagination_item_rwmgf_15", Oe = "ds-pagination_item-prev-button-wrapper_rwmgf_19", $e = "ds-pagination_item-next-button-wrapper_rwmgf_22", Re = "ds-pagination_prev-next-button_rwmgf_26", We = "ds-pagination_page-button_rwmgf_59", ze = "ds-pagination_page-button--active_rwmgf_110", Ve = "ds-pagination_ellipsis_rwmgf_137", je = "ds-pagination_divider_rwmgf_145", p = {
13
+ list: Le,
14
+ listCenter: Be,
15
+ listRight: Te,
16
+ item: ke,
17
+ itemPrevButtonWrapper: Oe,
18
+ itemNextButtonWrapper: $e,
19
+ prevNextButton: Re,
20
+ pageButton: We,
21
+ pageButtonActive: ze,
22
+ ellipsis: Ve,
23
+ divider: je
24
+ }, Ne = "(max-width: 518px)", Pe = "(max-width: 428px)", be = () => typeof window > "u" ? 9 : window.matchMedia(Pe).matches ? 5 : window.matchMedia(Ne).matches ? 7 : 9, Ge = (r, e, t) => {
25
+ const s = [];
26
+ if (r <= t) {
27
+ for (let i = 0; i < r; i++)
28
+ s.push({
29
+ type: "page",
30
+ pageIndex: i
31
+ });
32
+ return s;
33
+ }
34
+ const h = t - 4;
35
+ let o = e - Math.floor((h - 1) / 2), d = o + h - 1;
36
+ o <= 2 && (o = 1, d = t - 3), d >= r - 3 && (d = r - 2, o = r - t + 2);
37
+ const l = [0];
38
+ for (let i = o; i <= d; i++)
39
+ l.push(i);
40
+ return l.push(r - 1), l.forEach((i, N) => {
41
+ const _ = l[N - 1];
42
+ _ !== void 0 && i - _ > 1 && s.push({
43
+ type: "ellipsis",
44
+ id: `ellipsis-${_}-${i}`
45
+ }), s.push({
46
+ type: "page",
47
+ pageIndex: i
48
+ });
49
+ }), s;
50
+ }, Qe = (r) => {
51
+ const e = [];
52
+ return r.forEach((t, s) => {
53
+ s > 0 && e.push({
54
+ type: "divider",
55
+ id: `divider-${s}`
56
+ }), e.push(t);
57
+ }), e;
58
+ }, Ue = (r, e, t) => Qe(Ge(r, e, t)), qe = {
59
+ previousPage: "Previous page",
60
+ nextPage: "Next page",
61
+ page: "Page {0}",
62
+ pageOf: "Page {0} of {1} loaded"
63
+ }, Ye = {
64
+ previousPage: "Vorherige Seite",
65
+ nextPage: "Nächste Seite",
66
+ // {0} is the activePageIndex + 1
67
+ page: "Seite {0}",
68
+ // {0} is the activePageIndex + 1, {1} is the total pages
69
+ pageOf: "Seite {0} von {1} geladen"
70
+ }, we = {
71
+ en: qe,
72
+ de: Ye
73
+ }, Fe = ({
74
+ activePageIndex: r,
75
+ aria: e,
76
+ itemsPerPage: t,
77
+ links: s,
78
+ totalItemsCount: h
79
+ }) => {
80
+ if (!e || typeof e != "object" || Object.keys(e).length === 0 || !e["aria-label"] && !e["aria-labelledby"] || e["aria-label"]?.trim() === "" && e["aria-labelledby"]?.trim() === "")
81
+ throw new Error(u("DSPagination", 'A valid "aria-label" or "aria-labelledby" property is required. Ensure the "aria" prop is a non-empty object and includes either "aria-label" or "aria-labelledby" with a non-empty string value.'));
82
+ if (typeof h != "number" || Number.isNaN(h))
83
+ throw new Error(u("DSPagination", pe("totalItemsCount", "DSPagination")));
84
+ if (h < 0)
85
+ throw new Error(u("DSPagination", 'The "totalItemsCount" prop must be zero or a positive number.'));
86
+ if (typeof t != "number" || Number.isNaN(t))
87
+ throw new Error(u("DSPagination", pe("itemsPerPage", "DSPagination")));
88
+ if (t <= 0)
89
+ throw new Error(u("DSPagination", 'The "itemsPerPage" prop must be greater than 0.'));
90
+ if (typeof r != "number" || Number.isNaN(r) || !Number.isInteger(r))
91
+ throw new Error(u("DSPagination", pe("activePageIndex", "DSPagination")));
92
+ const o = Math.max(1, Math.ceil(h / Math.max(1, t)));
93
+ if (r < 0 || r > o - 1)
94
+ throw new Error(u("DSPagination", `The "activePageIndex" must be between 0 and ${o - 1}.`));
95
+ if (s && !Array.isArray(s))
96
+ throw new Error(u("DSPagination", 'The "links" prop must be an array when provided.'));
97
+ Array.isArray(s) && s.forEach(({
98
+ href: d,
99
+ wrapper: l
100
+ }, i) => {
101
+ if (l && !he(l))
102
+ throw new Error(u("DSPagination", `The link with label "${i + 1}" provided an invalid ReactElement as wrapper property.`));
103
+ l && d && console.warn(u("DSPagination", `The link with label "${i + 1}" has both a wrapper and an href property. Please use only one.`)), l && he(l) && l.props?.children && console.warn(u("DSPagination", `The link with label "${i + 1}" contains a wrapper with children. Please remove the children, as they will be replaced.`));
104
+ });
105
+ }, rt = (r) => {
106
+ const e = Ie.c(76);
107
+ let t, s, h, o, d, l, i, N, _, k, W;
108
+ e[0] !== r ? ({
109
+ aria: t,
110
+ activePageIndex: i,
111
+ itemsPerPage: h,
112
+ totalItemsCount: k,
113
+ className: s,
114
+ alignment: N,
115
+ lang: _,
116
+ links: o,
117
+ translations: W,
118
+ onPageChange: d,
119
+ ...l
120
+ } = r, e[0] = r, e[1] = t, e[2] = s, e[3] = h, e[4] = o, e[5] = d, e[6] = l, e[7] = i, e[8] = N, e[9] = _, e[10] = k, e[11] = W) : (t = e[1], s = e[2], h = e[3], o = e[4], d = e[5], l = e[6], i = e[7], N = e[8], _ = e[9], k = e[10], W = e[11]);
121
+ const P = i === void 0 ? 0 : i, de = N === void 0 ? "right" : N, Se = _ === void 0 ? "en" : _, w = typeof d == "function", [ye, ge] = me(P), n = w ? P : ye, [ie, De] = me(be);
122
+ let z, V;
123
+ e[12] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (z = () => {
124
+ const a = window.matchMedia(Ne), c = window.matchMedia(Pe), g = () => {
125
+ De(be());
126
+ };
127
+ return a.addEventListener("change", g), c.addEventListener("change", g), () => {
128
+ a.removeEventListener("change", g), c.removeEventListener("change", g);
129
+ };
130
+ }, V = [], e[12] = z, e[13] = V) : (z = e[12], V = e[13]), Me(z, V), process.env.NODE_ENV !== "production" && Fe({
131
+ aria: t,
132
+ itemsPerPage: h,
133
+ totalItemsCount: k,
134
+ activePageIndex: P,
135
+ links: o
136
+ });
137
+ const f = Math.max(1, Math.ceil(k / Math.max(1, h))), ne = W || we[Se] || we.en;
138
+ let j;
139
+ e[14] !== ne ? (j = xe(ne), e[14] = ne, e[15] = j) : j = e[15];
140
+ const m = j;
141
+ let G, Q;
142
+ e[16] !== n || e[17] !== m || e[18] !== f ? (G = () => {
143
+ const a = m("pageOf", [`${n + 1}`, `${f}`]);
144
+ Ce(a, "DSPagination");
145
+ }, Q = [n, f, m], e[16] = n, e[17] = m, e[18] = f, e[19] = G, e[20] = Q) : (G = e[19], Q = e[20]), fe(G, Q);
146
+ let U, q;
147
+ e[21] !== P || e[22] !== w ? (q = () => {
148
+ w || ge(P);
149
+ }, U = [P, w], e[21] = P, e[22] = w, e[23] = U, e[24] = q) : (U = e[23], q = e[24]), fe(q, U);
150
+ let Y;
151
+ e[25] !== n || e[26] !== f || e[27] !== ie ? (Y = Ue(f, n, ie), e[25] = n, e[26] = f, e[27] = ie, e[28] = Y) : Y = e[28];
152
+ const ae = Y;
153
+ let F;
154
+ e[29] !== n || e[30] !== w || e[31] !== d ? (F = (a, c) => {
155
+ if (!c.defaultPrevented && a !== n) {
156
+ if (w) {
157
+ d?.(a);
158
+ return;
159
+ }
160
+ ge(a);
161
+ }
162
+ }, e[29] = n, e[30] = w, e[31] = d, e[32] = F) : F = e[32];
163
+ const D = F;
164
+ let H;
165
+ e[33] !== n || e[34] !== D || e[35] !== o || e[36] !== m ? (H = (a) => {
166
+ const {
167
+ href: c,
168
+ wrapper: g
169
+ } = o?.[a] || {}, B = `${a + 1}`, $ = a === n, T = m("page", [B]), b = $ ? "page" : void 0, te = R(p.pageButton, {
170
+ [p.pageButtonActive]: $
171
+ }), S = (Ee) => {
172
+ D(a, Ee);
173
+ }, y = /* @__PURE__ */ v(_e, { className: te, size: "small", variant: "ghost", href: g ? void 0 : c, "aria-label": g ? void 0 : T, "aria-current": g ? void 0 : b, onClick: g ? void 0 : S, children: B });
174
+ return g ? ue(g, {
175
+ "aria-label": T,
176
+ "aria-current": b,
177
+ onClick: S,
178
+ children: y
179
+ }) : c ? y : /* @__PURE__ */ v(ve, { type: "button", className: te, "aria-label": T, "aria-current": b, size: "small", variant: "ghost", onClick: S, children: B });
180
+ }, e[33] = n, e[34] = D, e[35] = o, e[36] = m, e[37] = H) : H = e[37];
181
+ const O = H;
182
+ let J;
183
+ e[38] !== D || e[39] !== o ? (J = (a, c, g, B, $) => {
184
+ const {
185
+ href: T,
186
+ wrapper: b
187
+ } = o?.[a] || {}, te = !B && o && (T || b), S = (y) => {
188
+ D(a, y);
189
+ };
190
+ if (te) {
191
+ const y = /* @__PURE__ */ v(_e, { className: $, iconName: c, hideLabel: !0, size: "small", variant: "filled", href: b ? void 0 : T, onClick: b ? void 0 : S, children: g });
192
+ return b ? ue(b, {
193
+ children: y,
194
+ onClick: S
195
+ }) : y;
196
+ }
197
+ return /* @__PURE__ */ v(ve, { type: "button", className: $, iconName: c, disabled: B, hideLabel: !0, variant: "filled", size: "small", onClick: S, children: g });
198
+ }, e[38] = D, e[39] = o, e[40] = J) : J = e[40];
199
+ const E = J, re = de === "center", se = de === "right";
200
+ let K;
201
+ e[41] !== re || e[42] !== se ? (K = R(p.list, {
202
+ [p.listCenter]: re,
203
+ [p.listRight]: se
204
+ }), e[41] = re, e[42] = se, e[43] = K) : K = e[43];
205
+ const oe = K;
206
+ let X;
207
+ e[44] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (X = R(p.item, p.itemPrevButtonWrapper), e[44] = X) : X = e[44];
208
+ const le = Math.max(0, n - 1);
209
+ let A;
210
+ e[45] !== n || e[46] !== E || e[47] !== m || e[48] !== le ? (A = E(le, "chevron-left", m("previousPage"), n === 0, p.prevNextButton), e[45] = n, e[46] = E, e[47] = m, e[48] = le, e[49] = A) : A = e[49];
211
+ let I;
212
+ e[50] !== A ? (I = /* @__PURE__ */ v("li", { className: X, children: A }), e[50] = A, e[51] = I) : I = e[51];
213
+ let x;
214
+ if (e[52] !== ae || e[53] !== O) {
215
+ let a;
216
+ e[55] !== O ? (a = (c) => c.type === "page" ? /* @__PURE__ */ v("li", { className: p.item, children: O(c.pageIndex) }, `page-${c.pageIndex}`) : c.type === "ellipsis" ? /* @__PURE__ */ v("li", { className: R(p.item, p.ellipsis), "aria-hidden": "true", children: "…" }, c.id) : /* @__PURE__ */ v("li", { className: p.divider, "aria-hidden": "true" }, c.id), e[55] = O, e[56] = a) : a = e[56], x = ae.map(a), e[52] = ae, e[53] = O, e[54] = x;
217
+ } else
218
+ x = e[54];
219
+ let Z;
220
+ e[57] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Z = R(p.item, p.itemNextButtonWrapper), e[57] = Z) : Z = e[57];
221
+ const ce = Math.min(f - 1, n + 1);
222
+ let M;
223
+ e[58] !== n || e[59] !== E || e[60] !== m || e[61] !== ce || e[62] !== f ? (M = E(ce, "chevron-right", m("nextPage"), n >= f - 1, p.prevNextButton), e[58] = n, e[59] = E, e[60] = m, e[61] = ce, e[62] = f, e[63] = M) : M = e[63];
224
+ let C;
225
+ e[64] !== M ? (C = /* @__PURE__ */ v("li", { className: Z, children: M }), e[64] = M, e[65] = C) : C = e[65];
226
+ let L;
227
+ e[66] !== oe || e[67] !== I || e[68] !== x || e[69] !== C ? (L = /* @__PURE__ */ Ae("ul", { className: oe, children: [
228
+ I,
229
+ x,
230
+ C
231
+ ] }), e[66] = oe, e[67] = I, e[68] = x, e[69] = C, e[70] = L) : L = e[70];
232
+ let ee;
233
+ return e[71] !== t || e[72] !== s || e[73] !== l || e[74] !== L ? (ee = /* @__PURE__ */ v("nav", { className: s, ...l, ...t, children: L }), e[71] = t, e[72] = s, e[73] = l, e[74] = L, e[75] = ee) : ee = e[75], ee;
234
+ };
235
+ export {
236
+ rt as D,
237
+ Ne as a,
238
+ Pe as b,
239
+ Ge as c,
240
+ Qe as d,
241
+ Ue as e,
242
+ qe as f,
243
+ be as g,
244
+ Ye as h,
245
+ we as i,
246
+ Fe as v
247
+ };
@@ -6,7 +6,7 @@ import { u as ce, o as le, j as ie, s as pe, k as de, a as fe, b as ue, c as he,
6
6
  import { c as O } from "./index.DQOqod3i.js";
7
7
  import { g as E, c as L } from "./helpers.CexwVao7.js";
8
8
  import { u as Se } from "./useIsomorphicLayoutEffect.CnJ9AMFS.js";
9
- import { D as Ae } from "./Button.P9uWeVnl.js";
9
+ import { D as Ae } from "./Button.D8U6Bs7T.js";
10
10
  import '../assets/Popover.mL5g23EK.css';const ye = "ds-popover_popover_xg81f_5", xe = "ds-popover_popover--no-arrow_xg81f_64", _e = "ds-popover_popover--variant-grey_xg81f_67", Ce = "ds-popover_arrow_xg81f_71", Ee = "ds-popover_arrow--variant-grey_xg81f_90", be = "ds-popover_default-anchor_xg81f_107", _ = {
11
11
  popover: ye,
12
12
  popoverNoArrow: xe,
@@ -3,7 +3,7 @@ import { jsx as T } from "react/jsx-runtime";
3
3
  import { d as X } from "./index.cKLI89Eg.js";
4
4
  import { c as J } from "./index.DQOqod3i.js";
5
5
  import { forwardRef as Y, useState as Z } from "react";
6
- import { D as oo } from "./Fieldset.DdYeI2CZ.js";
6
+ import { D as oo } from "./Fieldset.BB4NftRU.js";
7
7
  import { DSRadio as eo } from "../radio.DxdVKoxe.js";
8
8
  import { g, r as W } from "./helpers.CexwVao7.js";
9
9
  import '../assets/RadioGroup.q1lQ-HIZ.css';const to = "ds-radio-group_fieldset--custom-area-above_1r3gv_1", ro = "ds-radio-group_root_1r3gv_5", so = "ds-radio-group_root--horizontal_1r3gv_13", io = "ds-radio-group_root--invalid_1r3gv_16", ao = "ds-radio-group_root--custom-area-above_1r3gv_19", no = "ds-radio-group_root--custom-area-above--horizontal_1r3gv_26", H = {
@@ -5,9 +5,9 @@ import { forwardRef as X, useRef as Y, useState as $, useEffect as z } from "rea
5
5
  import { u as A } from "./useBreakpoint.1txsny17.js";
6
6
  import "./index.cKLI89Eg.js";
7
7
  import { Asterisk as G } from "../asterisk.Dwtdwpkq.js";
8
- import { D as ee } from "./Icon.BoywkLCM.js";
9
- import { D as le } from "./Popover.BmpyqKuQ.js";
10
- import { D as se } from "./SystemFeedback.D4aWwoC8.js";
8
+ import { D as ee } from "./Icon.DCdL1Vnp.js";
9
+ import { D as le } from "./Popover.BBT_kVGM.js";
10
+ import { D as se } from "./SystemFeedback.CZhoSxrC.js";
11
11
  import { g as n, r as te } from "./helpers.CexwVao7.js";
12
12
  import '../assets/Select.BZYb_HAG.css';const ae = "ds-select_root_1p3qq_1", re = "ds-select_hint_1p3qq_1", ce = "ds-select_label-wrapper_1p3qq_1", oe = "ds-select_label_1p3qq_1", ne = "ds-select_label--disabled_1p3qq_123", ie = "ds-select_label-wrapper--hidden_1p3qq_135", de = "ds-select_feedback_1p3qq_163", pe = "ds-select_select-wrapper_1p3qq_167", he = "ds-select_select_1p3qq_167", me = "ds-select_select--small_1p3qq_181", be = "ds-select_select--invalid_1p3qq_293", _e = "ds-select_select--placeholder_1p3qq_401", fe = "ds-select_chevron_1p3qq_451", Se = "ds-select_chevron--small_1p3qq_455", ue = "ds-select_chevron--disabled_1p3qq_458", e = {
13
13
  root: ae,