rds-ui-system 2.22.4 → 2.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,11 +14,11 @@ function ns() {
14
14
  if (ht) return Me;
15
15
  ht = 1;
16
16
  var s = vt, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, c = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, n = { key: !0, ref: !0, __self: !0, __source: !0 };
17
- function o(d, l, h) {
18
- var f, m = {}, b = null, y = null;
19
- h !== void 0 && (b = "" + h), l.key !== void 0 && (b = "" + l.key), l.ref !== void 0 && (y = l.ref);
20
- for (f in l) a.call(l, f) && !n.hasOwnProperty(f) && (m[f] = l[f]);
21
- if (d && d.defaultProps) for (f in l = d.defaultProps, l) m[f] === void 0 && (m[f] = l[f]);
17
+ function o(d, l, f) {
18
+ var h, m = {}, b = null, y = null;
19
+ f !== void 0 && (b = "" + f), l.key !== void 0 && (b = "" + l.key), l.ref !== void 0 && (y = l.ref);
20
+ for (h in l) a.call(l, h) && !n.hasOwnProperty(h) && (m[h] = l[h]);
21
+ if (d && d.defaultProps) for (h in l = d.defaultProps, l) m[h] === void 0 && (m[h] = l[h]);
22
22
  return { $$typeof: r, type: d, key: b, ref: y, props: m, _owner: c.current };
23
23
  }
24
24
  return Me.Fragment = t, Me.jsx = o, Me.jsxs = o, Me;
@@ -36,7 +36,7 @@ var He = {};
36
36
  var ft;
37
37
  function ls() {
38
38
  return ft || (ft = 1, process.env.NODE_ENV !== "production" && (function() {
39
- var s = vt, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), d = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), H = Symbol.iterator, E = "@@iterator";
39
+ var s = vt, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), d = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), H = Symbol.iterator, E = "@@iterator";
40
40
  function _(i) {
41
41
  if (i === null || typeof i != "object")
42
42
  return null;
@@ -64,7 +64,7 @@ function ls() {
64
64
  var O = !1, C = !1, Z = !1, S = !1, g = !1, R;
65
65
  R = Symbol.for("react.module.reference");
66
66
  function P(i) {
67
- return !!(typeof i == "string" || typeof i == "function" || i === a || i === n || g || i === c || i === h || i === f || S || i === y || O || C || Z || typeof i == "object" && i !== null && (i.$$typeof === b || i.$$typeof === m || i.$$typeof === o || i.$$typeof === d || i.$$typeof === l || // This needs to include all possible module reference object
67
+ return !!(typeof i == "string" || typeof i == "function" || i === a || i === n || g || i === c || i === f || i === h || S || i === y || O || C || Z || typeof i == "object" && i !== null && (i.$$typeof === b || i.$$typeof === m || i.$$typeof === o || i.$$typeof === d || i.$$typeof === l || // This needs to include all possible module reference object
68
68
  // types supported by any Flight configuration anywhere since
69
69
  // we don't know which Flight build this will end up being used
70
70
  // with.
@@ -96,9 +96,9 @@ function ls() {
96
96
  return "Profiler";
97
97
  case c:
98
98
  return "StrictMode";
99
- case h:
100
- return "Suspense";
101
99
  case f:
100
+ return "Suspense";
101
+ case h:
102
102
  return "SuspenseList";
103
103
  }
104
104
  if (typeof i == "object")
@@ -292,9 +292,9 @@ function ls() {
292
292
  if (typeof i == "string")
293
293
  return xe(i);
294
294
  switch (i) {
295
- case h:
296
- return xe("Suspense");
297
295
  case f:
296
+ return xe("Suspense");
297
+ case h:
298
298
  return xe("SuspenseList");
299
299
  }
300
300
  if (typeof i == "object")
@@ -719,7 +719,7 @@ const Xe = "-", os = (s) => {
719
719
  } = s;
720
720
  let a = (c) => {
721
721
  const n = [];
722
- let o = 0, d = 0, l = 0, h;
722
+ let o = 0, d = 0, l = 0, f;
723
723
  for (let H = 0; H < c.length; H++) {
724
724
  let E = c[H];
725
725
  if (o === 0 && d === 0) {
@@ -728,13 +728,13 @@ const Xe = "-", os = (s) => {
728
728
  continue;
729
729
  }
730
730
  if (E === "/") {
731
- h = H;
731
+ f = H;
732
732
  continue;
733
733
  }
734
734
  }
735
735
  E === "[" ? o++ : E === "]" ? o-- : E === "(" ? d++ : E === ")" && d--;
736
736
  }
737
- const f = n.length === 0 ? c : c.substring(l), m = ws(f), b = m !== f, y = h && h > l ? h - l : void 0;
737
+ const h = n.length === 0 ? c : c.substring(l), m = ws(h), b = m !== h, y = f && f > l ? f - l : void 0;
738
738
  return {
739
739
  modifiers: n,
740
740
  hasImportantModifier: b,
@@ -784,26 +784,26 @@ const Xe = "-", os = (s) => {
784
784
  sortModifiers: n
785
785
  } = r, o = [], d = s.trim().split(gs);
786
786
  let l = "";
787
- for (let h = d.length - 1; h >= 0; h -= 1) {
788
- const f = d[h], {
787
+ for (let f = d.length - 1; f >= 0; f -= 1) {
788
+ const h = d[f], {
789
789
  isExternal: m,
790
790
  modifiers: b,
791
791
  hasImportantModifier: y,
792
792
  baseClassName: H,
793
793
  maybePostfixModifierPosition: E
794
- } = t(f);
794
+ } = t(h);
795
795
  if (m) {
796
- l = f + (l.length > 0 ? " " + l : l);
796
+ l = h + (l.length > 0 ? " " + l : l);
797
797
  continue;
798
798
  }
799
799
  let _ = !!E, k = a(_ ? H.substring(0, E) : H);
800
800
  if (!k) {
801
801
  if (!_) {
802
- l = f + (l.length > 0 ? " " + l : l);
802
+ l = h + (l.length > 0 ? " " + l : l);
803
803
  continue;
804
804
  }
805
805
  if (k = a(H), !k) {
806
- l = f + (l.length > 0 ? " " + l : l);
806
+ l = h + (l.length > 0 ? " " + l : l);
807
807
  continue;
808
808
  }
809
809
  _ = !1;
@@ -817,7 +817,7 @@ const Xe = "-", os = (s) => {
817
817
  const S = C[Z];
818
818
  o.push(U + S);
819
819
  }
820
- l = f + (l.length > 0 ? " " + l : l);
820
+ l = h + (l.length > 0 ? " " + l : l);
821
821
  }
822
822
  return l;
823
823
  };
@@ -838,15 +838,15 @@ const bt = (s) => {
838
838
  function _s(s, ...r) {
839
839
  let t, a, c, n = o;
840
840
  function o(l) {
841
- const h = r.reduce((f, m) => m(f), s());
842
- return t = vs(h), a = t.cache.get, c = t.cache.set, n = d, d(l);
841
+ const f = r.reduce((h, m) => m(h), s());
842
+ return t = vs(f), a = t.cache.get, c = t.cache.set, n = d, d(l);
843
843
  }
844
844
  function d(l) {
845
- const h = a(l);
846
- if (h)
847
- return h;
848
- const f = js(l, t);
849
- return c(l, f), f;
845
+ const f = a(l);
846
+ if (f)
847
+ return f;
848
+ const h = js(l, t);
849
+ return c(l, h), h;
850
850
  }
851
851
  return function() {
852
852
  return n(bs.apply(null, arguments));
@@ -867,7 +867,7 @@ const D = (s) => {
867
867
  const a = Lt.exec(s);
868
868
  return a ? a[1] ? r(a[1]) : t : !1;
869
869
  }, kt = (s) => s === "position" || s === "percentage", Nt = (s) => s === "image" || s === "url", Ct = (s) => s === "length" || s === "size" || s === "bg-size", Vt = (s) => s === "length", Ws = (s) => s === "number", Is = (s) => s === "family-name", Mt = (s) => s === "shadow", Os = () => {
870
- const s = D("color"), r = D("font"), t = D("text"), a = D("font-weight"), c = D("tracking"), n = D("leading"), o = D("breakpoint"), d = D("container"), l = D("spacing"), h = D("radius"), f = D("shadow"), m = D("inset-shadow"), b = D("text-shadow"), y = D("drop-shadow"), H = D("blur"), E = D("perspective"), _ = D("aspect"), k = D("ease"), N = D("animate"), U = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], O = () => [
870
+ const s = D("color"), r = D("font"), t = D("text"), a = D("font-weight"), c = D("tracking"), n = D("leading"), o = D("breakpoint"), d = D("container"), l = D("spacing"), f = D("radius"), h = D("shadow"), m = D("inset-shadow"), b = D("text-shadow"), y = D("drop-shadow"), H = D("blur"), E = D("perspective"), _ = D("aspect"), k = D("ease"), N = D("animate"), U = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], O = () => [
871
871
  "center",
872
872
  "top",
873
873
  "bottom",
@@ -898,7 +898,7 @@ const D = (s) => {
898
898
  "",
899
899
  "none",
900
900
  "full",
901
- h,
901
+ f,
902
902
  w,
903
903
  u
904
904
  ], q = () => ["", V, Re, ue], me = () => ["solid", "dashed", "dotted", "double"], ve = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], W = () => [V, $e, mt, wt], xe = () => [
@@ -2257,7 +2257,7 @@ const D = (s) => {
2257
2257
  // Deprecated since Tailwind CSS v4.0.0
2258
2258
  "",
2259
2259
  "none",
2260
- f,
2260
+ h,
2261
2261
  Be,
2262
2262
  Se
2263
2263
  ]
@@ -5409,13 +5409,13 @@ const D = (s) => {
5409
5409
  children: o,
5410
5410
  disabled: d,
5411
5411
  iconPosition: l = "leading",
5412
- ...h
5413
- }, f) => {
5412
+ ...f
5413
+ }, h) => {
5414
5414
  const m = () => /* @__PURE__ */ e.jsx("span", { "data-testid": "icon-wrapper", children: Ht[c](t, d == !0, n || "black") });
5415
5415
  return /* @__PURE__ */ e.jsxs(
5416
5416
  "button",
5417
5417
  {
5418
- ref: f,
5418
+ ref: h,
5419
5419
  disabled: d,
5420
5420
  className: v(
5421
5421
  "rds-button gap-2 overflow-hidden rounded transition-all duration-100",
@@ -5426,7 +5426,7 @@ const D = (s) => {
5426
5426
  ),
5427
5427
  "data-testid": "test-button",
5428
5428
  type: "button",
5429
- ...h,
5429
+ ...f,
5430
5430
  children: [
5431
5431
  c && l === "leading" && /* @__PURE__ */ e.jsx(m, {}),
5432
5432
  o ?? s,
@@ -5462,8 +5462,8 @@ const ye = ({ message: s, showErrorStyles: r = !1, className: t }) => /* @__PURE
5462
5462
  value: o,
5463
5463
  id: d,
5464
5464
  readOnly: l,
5465
- supportingText: h,
5466
- className: f,
5465
+ supportingText: f,
5466
+ className: h,
5467
5467
  ...m
5468
5468
  }, b) => {
5469
5469
  const [y, H] = I(n || !1), [E, _] = I(!1);
@@ -5471,7 +5471,7 @@ const ye = ({ message: s, showErrorStyles: r = !1, className: t }) => /* @__PURE
5471
5471
  H(n || !1);
5472
5472
  }, [n]);
5473
5473
  const k = t || a;
5474
- return /* @__PURE__ */ e.jsxs("div", { className: v("flex max-w-full flex-col", f), children: [
5474
+ return /* @__PURE__ */ e.jsxs("div", { className: v("flex max-w-full flex-col", h), children: [
5475
5475
  /* @__PURE__ */ e.jsxs(
5476
5476
  "div",
5477
5477
  {
@@ -5546,7 +5546,7 @@ const ye = ({ message: s, showErrorStyles: r = !1, className: t }) => /* @__PURE
5546
5546
  ]
5547
5547
  }
5548
5548
  ),
5549
- h && /* @__PURE__ */ e.jsx(ye, { message: h, showErrorStyles: k, className: "mt-1" })
5549
+ f && /* @__PURE__ */ e.jsx(ye, { message: f, showErrorStyles: k, className: "mt-1" })
5550
5550
  ] });
5551
5551
  }
5552
5552
  );
@@ -5635,8 +5635,8 @@ const vr = {
5635
5635
  value: o,
5636
5636
  name: d,
5637
5637
  type: l,
5638
- id: h,
5639
- supportingText: f,
5638
+ id: f,
5639
+ supportingText: h,
5640
5640
  required: m,
5641
5641
  className: b,
5642
5642
  resetValue: y,
@@ -5680,7 +5680,7 @@ const vr = {
5680
5680
  /* @__PURE__ */ e.jsx(
5681
5681
  "input",
5682
5682
  {
5683
- id: h,
5683
+ id: f,
5684
5684
  ref: E,
5685
5685
  value: _,
5686
5686
  name: d,
@@ -5737,7 +5737,7 @@ const vr = {
5737
5737
  ]
5738
5738
  }
5739
5739
  ),
5740
- f && /* @__PURE__ */ e.jsx(ye, { message: f, showErrorStyles: S, className: "ml-4 mt-1" })
5740
+ h && /* @__PURE__ */ e.jsx(ye, { message: h, showErrorStyles: S, className: "ml-4 mt-1" })
5741
5741
  ]
5742
5742
  }
5743
5743
  ) });
@@ -5778,8 +5778,8 @@ const Pe = (s) => /* @__PURE__ */ e.jsx(
5778
5778
  id: o,
5779
5779
  readOnly: d,
5780
5780
  className: l,
5781
- ...h
5782
- }, f) => {
5781
+ ...f
5782
+ }, h) => {
5783
5783
  const [m, b] = I(n || !1), [y, H] = I(!1);
5784
5784
  J(() => {
5785
5785
  b(n || !1);
@@ -5829,7 +5829,7 @@ const Pe = (s) => /* @__PURE__ */ e.jsx(
5829
5829
  "input",
5830
5830
  {
5831
5831
  type: "checkbox",
5832
- ref: f,
5832
+ ref: h,
5833
5833
  id: o,
5834
5834
  checked: m,
5835
5835
  onChange: (_) => {
@@ -5840,7 +5840,7 @@ const Pe = (s) => /* @__PURE__ */ e.jsx(
5840
5840
  onMouseEnter: () => H(!0),
5841
5841
  onMouseLeave: () => H(!1),
5842
5842
  "data-testid": "test-radio-input",
5843
- ...h
5843
+ ...f
5844
5844
  }
5845
5845
  )
5846
5846
  ]
@@ -5863,8 +5863,8 @@ const br = {
5863
5863
  checkboxPosition: o = "leading",
5864
5864
  showAmount: d,
5865
5865
  ...l
5866
- }, h) => {
5867
- const [f, m] = I(!1);
5866
+ }, f) => {
5867
+ const [h, m] = I(!1);
5868
5868
  J(() => {
5869
5869
  r !== void 0 && m(r);
5870
5870
  }, [r]);
@@ -5872,7 +5872,7 @@ const br = {
5872
5872
  return /* @__PURE__ */ e.jsx(
5873
5873
  "li",
5874
5874
  {
5875
- ref: h,
5875
+ ref: f,
5876
5876
  className: v(
5877
5877
  "w-full cursor-pointer list-none border-b border-brand-50",
5878
5878
  "delay-10 transition-all duration-200 hover:bg-brand-50",
@@ -5891,7 +5891,7 @@ const br = {
5891
5891
  {
5892
5892
  className: v("flex w-full items-center px-4 py-2 text-left", y && "justify-between"),
5893
5893
  onClick: () => {
5894
- a(s), m(!f);
5894
+ a(s), m(!h);
5895
5895
  },
5896
5896
  type: "button",
5897
5897
  children: [
@@ -5899,9 +5899,9 @@ const br = {
5899
5899
  We,
5900
5900
  {
5901
5901
  id: "checkbox-" + s.id,
5902
- checked: f,
5902
+ checked: h,
5903
5903
  onChange: () => {
5904
- a(s), m(!f);
5904
+ a(s), m(!h);
5905
5905
  }
5906
5906
  }
5907
5907
  ),
@@ -5917,9 +5917,9 @@ const br = {
5917
5917
  We,
5918
5918
  {
5919
5919
  id: "checkbox-" + s.id,
5920
- checked: f,
5920
+ checked: h,
5921
5921
  onChange: () => {
5922
- a(s), m(!f);
5922
+ a(s), m(!h);
5923
5923
  }
5924
5924
  }
5925
5925
  )
@@ -5948,9 +5948,9 @@ const _r = ({ className: s }) => /* @__PURE__ */ e.jsx(
5948
5948
  thumbColor: d = "bg-white",
5949
5949
  percentage: l
5950
5950
  }) => {
5951
- const [h, f] = I(a), m = (b) => {
5951
+ const [f, h] = I(a), m = (b) => {
5952
5952
  const y = Number(b.target.value);
5953
- f(y), n == null || n(y);
5953
+ h(y), n == null || n(y);
5954
5954
  };
5955
5955
  return /* @__PURE__ */ e.jsxs("div", { className: "relative flex h-[1.5em] w-full items-center", children: [
5956
5956
  /* @__PURE__ */ e.jsx("div", { className: "absolute h-2 w-full rounded-lg border border-black" }),
@@ -5959,7 +5959,7 @@ const _r = ({ className: s }) => /* @__PURE__ */ e.jsx(
5959
5959
  {
5960
5960
  className: v("absolute h-2 rounded-lg border border-black transition-all duration-0", o),
5961
5961
  style: {
5962
- width: `${(h - s) / (r - s) * 100}%`
5962
+ width: `${(f - s) / (r - s) * 100}%`
5963
5963
  },
5964
5964
  "data-testid": "test-track"
5965
5965
  }
@@ -5971,7 +5971,7 @@ const _r = ({ className: s }) => /* @__PURE__ */ e.jsx(
5971
5971
  min: s,
5972
5972
  max: r,
5973
5973
  step: t,
5974
- value: h,
5974
+ value: f,
5975
5975
  onChange: m,
5976
5976
  disabled: c,
5977
5977
  className: v(
@@ -5993,7 +5993,7 @@ const _r = ({ className: s }) => /* @__PURE__ */ e.jsx(
5993
5993
  d
5994
5994
  ),
5995
5995
  style: {
5996
- left: `${(h - (s - 1)) / (r - (s - 2)) * 100}%`,
5996
+ left: `${(f - (s - 1)) / (r - (s - 2)) * 100}%`,
5997
5997
  transform: "translate(-50%, -50%)"
5998
5998
  },
5999
5999
  "data-testid": "test-thumb"
@@ -6004,12 +6004,12 @@ const _r = ({ className: s }) => /* @__PURE__ */ e.jsx(
6004
6004
  {
6005
6005
  className: "absolute text-sm font-medium text-black",
6006
6006
  style: {
6007
- left: `${(h - (s - 1)) / (r - (s - 2)) * 100}%`,
6007
+ left: `${(f - (s - 1)) / (r - (s - 2)) * 100}%`,
6008
6008
  transform: "translate(-50%, -150%)",
6009
6009
  top: "1em"
6010
6010
  },
6011
6011
  children: [
6012
- Math.round(h),
6012
+ Math.round(f),
6013
6013
  "%"
6014
6014
  ]
6015
6015
  }
@@ -6060,8 +6060,8 @@ const kr = {
6060
6060
  defaultValue: o,
6061
6061
  required: d,
6062
6062
  onChange: l,
6063
- supportingText: h,
6064
- id: f,
6063
+ supportingText: f,
6064
+ id: h,
6065
6065
  ...m
6066
6066
  }, b) => {
6067
6067
  const y = `h-[3.1em] w-full transition-colors px-4 py-3 rounded-md
@@ -6084,7 +6084,7 @@ const kr = {
6084
6084
  /* @__PURE__ */ e.jsx(
6085
6085
  "textarea",
6086
6086
  {
6087
- id: f,
6087
+ id: h,
6088
6088
  ref: b,
6089
6089
  value: s,
6090
6090
  defaultValue: o,
@@ -6097,7 +6097,7 @@ const kr = {
6097
6097
  ...m
6098
6098
  }
6099
6099
  ),
6100
- h && /* @__PURE__ */ e.jsx(ye, { message: h, className: "ml-4 mt-1", showErrorStyles: d || n })
6100
+ f && /* @__PURE__ */ e.jsx(ye, { message: f, className: "ml-4 mt-1", showErrorStyles: d || n })
6101
6101
  ]
6102
6102
  }
6103
6103
  );
@@ -6110,15 +6110,15 @@ const Nr = {
6110
6110
  DEFAULT: "bg-black hover:bg-black-800 active:bg-grey-900"
6111
6111
  }, Vr = ({ options: s, allowMultiple: r = !1, className: t }) => {
6112
6112
  const [a, c] = I(void 0), [n, o] = I([]), d = (l) => {
6113
- r ? n.includes(l) ? o(n.filter((h) => h !== l)) : o([...n, l]) : c((h) => h === l ? void 0 : l);
6113
+ r ? n.includes(l) ? o(n.filter((f) => f !== l)) : o([...n, l]) : c((f) => f === l ? void 0 : l);
6114
6114
  };
6115
6115
  return /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsx(
6116
6116
  "div",
6117
6117
  {
6118
6118
  className: v("w-full overflow-hidden rounded border border-brand-black", t),
6119
6119
  "data-testid": "test-accordion",
6120
- children: s.map((l, h) => {
6121
- const f = a === h || n.includes(h);
6120
+ children: s.map((l, f) => {
6121
+ const h = a === f || n.includes(f);
6122
6122
  return /* @__PURE__ */ e.jsxs(
6123
6123
  "div",
6124
6124
  {
@@ -6128,20 +6128,20 @@ const Nr = {
6128
6128
  "button",
6129
6129
  {
6130
6130
  className: "flex h-[2.5em] w-full justify-between border-b bg-brand-white px-4",
6131
- onClick: () => d(h),
6132
- "data-testid": "test-accordion-header-" + h,
6131
+ onClick: () => d(f),
6132
+ "data-testid": "test-accordion-header-" + f,
6133
6133
  type: "button",
6134
6134
  children: [
6135
6135
  l.title,
6136
- f ? /* @__PURE__ */ e.jsx(ae, { name: "ExpandLess" }) : /* @__PURE__ */ e.jsx(ae, { name: "ExpandMore" })
6136
+ h ? /* @__PURE__ */ e.jsx(ae, { name: "ExpandLess" }) : /* @__PURE__ */ e.jsx(ae, { name: "ExpandMore" })
6137
6137
  ]
6138
6138
  }
6139
6139
  ),
6140
6140
  /* @__PURE__ */ e.jsx(
6141
6141
  "div",
6142
6142
  {
6143
- className: `h-fit transition-all duration-500 ${f ? "max-h-[15em] overflow-y-scroll" : "max-h-0 overflow-hidden"}`,
6144
- "data-testid": "test-accordion-body-" + h,
6143
+ className: `h-fit transition-all duration-500 ${h ? "max-h-[15em] overflow-y-scroll" : "max-h-0 overflow-hidden"}`,
6144
+ "data-testid": "test-accordion-body-" + f,
6145
6145
  children: l.content ? (
6146
6146
  // if your classNames aren't working, change it to "class" because we do not have jsx-Elements here but normal html-Elements
6147
6147
  /* @__PURE__ */ e.jsx("div", { className: "p-4", children: l.content })
@@ -6150,7 +6150,7 @@ const Nr = {
6150
6150
  )
6151
6151
  ]
6152
6152
  },
6153
- "accordion-" + h
6153
+ "accordion-" + f
6154
6154
  );
6155
6155
  })
6156
6156
  }
@@ -6204,7 +6204,7 @@ const Nr = {
6204
6204
  c ? "max-h-96 opacity-100" : "max-h-0 overflow-hidden opacity-0",
6205
6205
  t
6206
6206
  ),
6207
- children: /* @__PURE__ */ e.jsx("ul", { ref: o, onMouseLeave: d, children: r.map((l, h) => /* @__PURE__ */ e.jsx(
6207
+ children: /* @__PURE__ */ e.jsx("ul", { ref: o, onMouseLeave: d, children: r.map((l, f) => /* @__PURE__ */ e.jsx(
6208
6208
  "li",
6209
6209
  {
6210
6210
  className: "px-4 py-2 transition-all duration-150 first:rounded-t-lg last:rounded-b-lg hover:backdrop-brightness-75",
@@ -6220,7 +6220,7 @@ const Nr = {
6220
6220
  }
6221
6221
  )
6222
6222
  },
6223
- s + h
6223
+ s + f
6224
6224
  )) })
6225
6225
  }
6226
6226
  )
@@ -6228,16 +6228,16 @@ const Nr = {
6228
6228
  }, Qs = ({ navigation: s, className: r, classNameDropdown: t }) => {
6229
6229
  const [a, c] = I(!1), n = fe(null), [o, d] = I(void 0);
6230
6230
  J(() => {
6231
- const f = () => {
6231
+ const h = () => {
6232
6232
  c(!1);
6233
6233
  };
6234
- return n.current && n.current.addEventListener("mouseleave", f), () => {
6235
- n.current && n.current.removeEventListener("mouseleave", f);
6234
+ return n.current && n.current.addEventListener("mouseleave", h), () => {
6235
+ n.current && n.current.removeEventListener("mouseleave", h);
6236
6236
  };
6237
6237
  }, []);
6238
6238
  const l = () => {
6239
6239
  c(!1);
6240
- }, h = "py-2 last:pb-0";
6240
+ }, f = "py-2 last:pb-0";
6241
6241
  return /* @__PURE__ */ e.jsxs("div", { className: v("flex items-center lg:hidden", r), children: [
6242
6242
  /* @__PURE__ */ e.jsx("button", { onClick: () => c(!a), type: "button", children: /* @__PURE__ */ e.jsx(ae, { name: "Menu", iconColor: "fill-white", className: "block [&_svg]:h-8 [&_svg]:w-8" }) }),
6243
6243
  /* @__PURE__ */ e.jsx(
@@ -6258,21 +6258,21 @@ const Nr = {
6258
6258
  onClick: () => d(void 0)
6259
6259
  }
6260
6260
  ) }),
6261
- o.links.map((f) => /* @__PURE__ */ e.jsx("li", { className: h, children: /* @__PURE__ */ e.jsx(Pe, { href: f.href, children: f.label }) }, "link-" + f.label))
6262
- ] }) : /* @__PURE__ */ e.jsx(e.Fragment, { children: s.map((f, m) => "title" in f ? /* @__PURE__ */ e.jsxs(
6261
+ o.links.map((h) => /* @__PURE__ */ e.jsx("li", { className: f, children: /* @__PURE__ */ e.jsx(Pe, { href: h.href, children: h.label }) }, "link-" + h.label))
6262
+ ] }) : /* @__PURE__ */ e.jsx(e.Fragment, { children: s.map((h, m) => "title" in h ? /* @__PURE__ */ e.jsxs(
6263
6263
  "button",
6264
6264
  {
6265
- onClick: () => d(f),
6265
+ onClick: () => d(h),
6266
6266
  className: "flex items-center",
6267
6267
  type: "button",
6268
6268
  children: [
6269
- f.title,
6269
+ h.title,
6270
6270
  " ",
6271
6271
  /* @__PURE__ */ e.jsx(ae, { name: "KeyboardArrowRight" })
6272
6272
  ]
6273
6273
  },
6274
- "dropdown-" + f.title
6275
- ) : /* @__PURE__ */ e.jsx("li", { className: h, children: /* @__PURE__ */ e.jsx(Pe, { href: f.href, children: f.label }) }, f.label + m)) }) })
6274
+ "dropdown-" + h.title
6275
+ ) : /* @__PURE__ */ e.jsx("li", { className: f, children: /* @__PURE__ */ e.jsx(Pe, { href: h.href, children: h.label }) }, h.label + m)) }) })
6276
6276
  }
6277
6277
  )
6278
6278
  ] });
@@ -6284,11 +6284,11 @@ const Nr = {
6284
6284
  return J(() => (document.body.style.overflow = "hidden", () => {
6285
6285
  document.body.style.overflow = "unset";
6286
6286
  }), []), J(() => {
6287
- const l = (f) => {
6288
- f.key === "Escape" && (f.preventDefault(), f.stopPropagation(), r == null || r());
6289
- }, h = d.current;
6290
- return h && h.addEventListener("keydown", l), () => {
6291
- h && h.removeEventListener("keydown", l);
6287
+ const l = (h) => {
6288
+ h.key === "Escape" && (h.preventDefault(), h.stopPropagation(), r == null || r());
6289
+ }, f = d.current;
6290
+ return f && document.addEventListener("keydown", l), () => {
6291
+ f && document.removeEventListener("keydown", l);
6292
6292
  };
6293
6293
  }, [r]), /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
6294
6294
  /* @__PURE__ */ e.jsx(
@@ -6343,8 +6343,8 @@ const Zt = ({
6343
6343
  optionProps: o,
6344
6344
  showSearchField: d,
6345
6345
  inputValue: l = "",
6346
- setInputValue: h,
6347
- searchFieldPlaceholder: f,
6346
+ setInputValue: f,
6347
+ searchFieldPlaceholder: h,
6348
6348
  currSelected: m
6349
6349
  }) => {
6350
6350
  const b = fe(null), y = fe(null), H = fe(null), E = (_) => {
@@ -6363,12 +6363,12 @@ const Zt = ({
6363
6363
  {
6364
6364
  type: "text",
6365
6365
  value: l,
6366
- onChange: (_) => h == null ? void 0 : h(_.target.value),
6366
+ onChange: (_) => f == null ? void 0 : f(_.target.value),
6367
6367
  className: v(
6368
6368
  "pointer-events-none absolute z-[10] mt-1 h-0 w-full rounded-t border bg-white p-2 opacity-0 shadow-sm transition-all focus:outline-none",
6369
6369
  r && "pointer-events-auto h-fit opacity-100"
6370
6370
  ),
6371
- placeholder: f
6371
+ placeholder: h
6372
6372
  }
6373
6373
  ),
6374
6374
  /* @__PURE__ */ e.jsx(
@@ -6424,8 +6424,8 @@ const Zt = ({
6424
6424
  wideDropdown: o = !1,
6425
6425
  optionProps: d,
6426
6426
  hasError: l = !1,
6427
- errorMessage: h,
6428
- placeholder: f = "Auswählen",
6427
+ errorMessage: f,
6428
+ placeholder: h = "Auswählen",
6429
6429
  showSelectedAsChips: m = !1,
6430
6430
  exceptionOptions: b,
6431
6431
  showSearchField: y = !1,
@@ -6482,7 +6482,7 @@ const Zt = ({
6482
6482
  children: c
6483
6483
  }
6484
6484
  ),
6485
- !m && s.length > 0 ? /* @__PURE__ */ e.jsx("span", { className: "max-w-[90%] overflow-hidden text-ellipsis whitespace-nowrap", children: R.map((P) => P.name).join(", ") }) : /* @__PURE__ */ e.jsx("p", { children: f }),
6485
+ !m && s.length > 0 ? /* @__PURE__ */ e.jsx("span", { className: "max-w-[90%] overflow-hidden text-ellipsis whitespace-nowrap", children: R.map((P) => P.name).join(", ") }) : /* @__PURE__ */ e.jsx("p", { children: h }),
6486
6486
  /* @__PURE__ */ e.jsx(
6487
6487
  "div",
6488
6488
  {
@@ -6513,7 +6513,7 @@ const Zt = ({
6513
6513
  ]
6514
6514
  }
6515
6515
  ),
6516
- l && h && /* @__PURE__ */ e.jsx(ye, { message: h, showErrorStyles: !0, className: "mt-2" }),
6516
+ l && f && /* @__PURE__ */ e.jsx(ye, { message: f, showErrorStyles: !0, className: "mt-2" }),
6517
6517
  m && R.length > 0 && /* @__PURE__ */ e.jsx("div", { className: "mt-2 flex flex-wrap gap-4", children: R.map((P) => /* @__PURE__ */ e.jsx(Rt, { label: P.name, onClick: () => S(P) }, "selected-" + P.name)) })
6518
6518
  ] });
6519
6519
  }
@@ -6561,15 +6561,15 @@ const Rr = {
6561
6561
  }
6562
6562
  ),
6563
6563
  c[0] !== 2 && /* @__PURE__ */ e.jsx(e.Fragment, { children: "..." }),
6564
- c.map((l, h) => /* @__PURE__ */ e.jsx(
6564
+ c.map((l, f) => /* @__PURE__ */ e.jsx(
6565
6565
  F,
6566
6566
  {
6567
6567
  className: t(a === l),
6568
6568
  onClick: () => r == null ? void 0 : r(l),
6569
- "data-testid": "test-pagination-button-" + h,
6569
+ "data-testid": "test-pagination-button-" + f,
6570
6570
  children: /* @__PURE__ */ e.jsx("p", { className: "w-4 flex-shrink-0 flex-grow-0 text-center text-sm font-medium", children: l })
6571
6571
  },
6572
- h
6572
+ f
6573
6573
  )),
6574
6574
  d && /* @__PURE__ */ e.jsx(e.Fragment, { children: "..." }),
6575
6575
  /* @__PURE__ */ e.jsx(
@@ -6583,17 +6583,17 @@ const Rr = {
6583
6583
  )
6584
6584
  ] });
6585
6585
  }, Pr = ({ pages: s, variant: r = "PRIMARY", onNavigate: t }) => {
6586
- const [a, c] = I(1), n = (h) => {
6587
- c((f) => f === h ? f : h), t == null || t(h);
6586
+ const [a, c] = I(1), n = (f) => {
6587
+ c((h) => h === f ? h : f), t == null || t(f);
6588
6588
  }, o = {
6589
6589
  className: "relative h-6 w-6 flex-shrink-0 flex-grow-0 bg-transparent px-2 hover:bg-grey-300 active:bg-grey-400 [&_path]:disabled:!fill-white",
6590
6590
  iconColor: "black",
6591
6591
  iconPosition: "leading"
6592
- }, d = (h) => v(
6592
+ }, d = (f) => v(
6593
6593
  "flex h-fit rounded p-1 text-black active:text-white",
6594
6594
  // TODO: add active states per variant
6595
6595
  sr[r],
6596
- h && rr[r]
6596
+ f && rr[r]
6597
6597
  ), l = s <= 5;
6598
6598
  return /* @__PURE__ */ e.jsxs("div", { className: "relative flex items-center justify-center gap-4", "data-testid": "test-pagination", children: [
6599
6599
  /* @__PURE__ */ e.jsx(
@@ -6601,25 +6601,25 @@ const Rr = {
6601
6601
  {
6602
6602
  iconName: "KeyboardArrowLeft",
6603
6603
  onClick: () => {
6604
- const h = a - 1;
6605
- c(h), t == null || t(h);
6604
+ const f = a - 1;
6605
+ c(f), t == null || t(f);
6606
6606
  },
6607
6607
  disabled: a === 1,
6608
6608
  "data-testid": "button-prev",
6609
6609
  ...o
6610
6610
  }
6611
6611
  ),
6612
- l ? /* @__PURE__ */ e.jsx(e.Fragment, { children: Array.from(Array(s)).map((h, f) => /* @__PURE__ */ e.jsx(
6612
+ l ? /* @__PURE__ */ e.jsx(e.Fragment, { children: Array.from(Array(s)).map((f, h) => /* @__PURE__ */ e.jsx(
6613
6613
  F,
6614
6614
  {
6615
- className: d(a === f + 1),
6615
+ className: d(a === h + 1),
6616
6616
  onClick: () => {
6617
- n(f), t == null || t(f);
6617
+ n(h), t == null || t(h);
6618
6618
  },
6619
- "data-testid": "test-pagination-button-" + f,
6620
- children: /* @__PURE__ */ e.jsx("p", { className: "w-4 flex-shrink-0 flex-grow-0 text-center text-sm font-medium", children: f + 1 })
6619
+ "data-testid": "test-pagination-button-" + h,
6620
+ children: /* @__PURE__ */ e.jsx("p", { className: "w-4 flex-shrink-0 flex-grow-0 text-center text-sm font-medium", children: h + 1 })
6621
6621
  },
6622
- f
6622
+ h
6623
6623
  )) }) : /* @__PURE__ */ e.jsx(
6624
6624
  ir,
6625
6625
  {
@@ -6634,8 +6634,8 @@ const Rr = {
6634
6634
  {
6635
6635
  iconName: "KeyboardArrowRight",
6636
6636
  onClick: () => {
6637
- const h = a + 1;
6638
- c(h), t == null || t(h);
6637
+ const f = a + 1;
6638
+ c(f), t == null || t(f);
6639
6639
  },
6640
6640
  disabled: a === s,
6641
6641
  "data-testid": "button-next",
@@ -6681,8 +6681,8 @@ const Rr = {
6681
6681
  wideDropdown: o = !1,
6682
6682
  hasError: d = !1,
6683
6683
  placeholder: l = "Auswählen",
6684
- showSearchField: h = !1,
6685
- searchFieldPlaceholder: f = "Optionen durchsuchen",
6684
+ showSearchField: f = !1,
6685
+ searchFieldPlaceholder: h = "Optionen durchsuchen",
6686
6686
  className: m,
6687
6687
  errorMessage: b,
6688
6688
  clearSearchValue: y = !1
@@ -6762,8 +6762,8 @@ const Rr = {
6762
6762
  inputValue: k,
6763
6763
  setInputValue: N,
6764
6764
  wideDropdown: o,
6765
- showSearchField: h,
6766
- searchFieldPlaceholder: f
6765
+ showSearchField: f,
6766
+ searchFieldPlaceholder: h
6767
6767
  }
6768
6768
  )
6769
6769
  ]
@@ -6831,22 +6831,22 @@ const lr = ({
6831
6831
  variant: o,
6832
6832
  handleLogout: d,
6833
6833
  account: l,
6834
- breadcrumbs: h
6834
+ breadcrumbs: f
6835
6835
  }) => /* @__PURE__ */ e.jsxs("header", { className: v("fixed right-0 top-0 z-0 w-full py-5", r), children: [
6836
6836
  /* @__PURE__ */ e.jsxs("div", { className: v("mx-auto flex items-center justify-between lg:justify-start", t), children: [
6837
6837
  s,
6838
6838
  c && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
6839
- /* @__PURE__ */ e.jsx("nav", { className: "ml-8 mr-4 hidden grow items-center lg:flex", children: /* @__PURE__ */ e.jsx("ul", { className: "flex items-center gap-4", children: c == null ? void 0 : c.map((f) => "title" in f ? /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx(qs, { ...f, className: n, variant: o }) }, "dropdown-" + f.title) : /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx(
6839
+ /* @__PURE__ */ e.jsx("nav", { className: "ml-8 mr-4 hidden grow items-center lg:flex", children: /* @__PURE__ */ e.jsx("ul", { className: "flex items-center gap-4", children: c == null ? void 0 : c.map((h) => "title" in h ? /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx(qs, { ...h, className: n, variant: o }) }, "dropdown-" + h.title) : /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx(
6840
6840
  Pe,
6841
6841
  {
6842
- href: f.href,
6842
+ href: h.href,
6843
6843
  className: v(
6844
6844
  o === "light" ? "text-white" : "text-black",
6845
- f.active && "underline underline-offset-8"
6845
+ h.active && "underline underline-offset-8"
6846
6846
  ),
6847
- children: f.label
6847
+ children: h.label
6848
6848
  }
6849
- ) }, "headerlink-" + f.label)) }) }),
6849
+ ) }, "headerlink-" + h.label)) }) }),
6850
6850
  /* @__PURE__ */ e.jsx(Qs, { navigation: c, classNameDropdown: n })
6851
6851
  ] }),
6852
6852
  a,
@@ -6862,7 +6862,7 @@ const lr = ({
6862
6862
  ),
6863
6863
  l
6864
6864
  ] }),
6865
- h && h.length > 0 && /* @__PURE__ */ e.jsx(Xs, { links: h, variant: o, className: "mx-auto mt-4 max-w-[80%]" })
6865
+ f && f.length > 0 && /* @__PURE__ */ e.jsx(Xs, { links: f, variant: o, className: "mx-auto mt-4 max-w-[80%]" })
6866
6866
  ] }), cr = ({
6867
6867
  data: s,
6868
6868
  tableColumnsData: r,
@@ -6894,8 +6894,8 @@ const lr = ({
6894
6894
  onSelectionChange: o,
6895
6895
  alternatingRowColor: d,
6896
6896
  onDisabledSorting: l,
6897
- noResultsMessage: h,
6898
- loadingMessage: f,
6897
+ noResultsMessage: f,
6898
+ loadingMessage: h,
6899
6899
  isLoading: m,
6900
6900
  classNameLoader: b,
6901
6901
  parentSortDir: y,
@@ -6958,8 +6958,8 @@ const lr = ({
6958
6958
  "tr-table-" + Z + JSON.stringify(C)
6959
6959
  )) })
6960
6960
  ] }),
6961
- m && /* @__PURE__ */ e.jsx("div", { className: "my-8", children: f ? /* @__PURE__ */ e.jsx(Je, { children: f }) : /* @__PURE__ */ e.jsx(Ds, { classNameLoader: b, className: "relative" }) }),
6962
- O.length === 0 && !m && /* @__PURE__ */ e.jsx("div", { className: "m-8", children: /* @__PURE__ */ e.jsx(Je, { children: h ?? "Keine Daten gefunden" }) })
6961
+ m && /* @__PURE__ */ e.jsx("div", { className: "my-8", children: h ? /* @__PURE__ */ e.jsx(Je, { children: h }) : /* @__PURE__ */ e.jsx(Ds, { classNameLoader: b, className: "relative" }) }),
6962
+ O.length === 0 && !m && /* @__PURE__ */ e.jsx("div", { className: "m-8", children: /* @__PURE__ */ e.jsx(Je, { children: f ?? "Keine Daten gefunden" }) })
6963
6963
  ]
6964
6964
  }
6965
6965
  );
@@ -6972,10 +6972,10 @@ const lr = ({
6972
6972
  children: n,
6973
6973
  className: o
6974
6974
  }) => {
6975
- const [d, l] = I(!1), h = () => setTimeout(() => {
6975
+ const [d, l] = I(!1), f = () => setTimeout(() => {
6976
6976
  l(!1);
6977
6977
  }, s);
6978
- return J(() => (a && l(!0), h(), () => clearTimeout(h())), [a]), d ? /* @__PURE__ */ e.jsxs(
6978
+ return J(() => (a && l(!0), f(), () => clearTimeout(f())), [a]), d ? /* @__PURE__ */ e.jsxs(
6979
6979
  "div",
6980
6980
  {
6981
6981
  className: v(