eidotter 0.16.1 → 0.16.2

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.
package/dist/index.es.js CHANGED
@@ -307,7 +307,7 @@ const la = (t, e) => {
307
307
  "left-bottom"
308
308
  ], T = () => [...S(), F, M], U = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", "contain", "none"], E = () => [F, M, s], R = () => [Ve, "full", "auto", ...E()], z = () => [Be, "none", "subgrid", F, M], oe = () => ["auto", {
309
309
  span: ["full", Be, F, M]
310
- }, Be, F, M], se = () => [Be, "auto", F, M], J = () => ["auto", "min", "max", "fr", F, M], k = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], O = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], Y = () => ["auto", ...E()], Z = () => [Ve, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...E()], le = () => [Ve, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...E()], de = () => [Ve, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...E()], u = () => [t, F, M], N = () => [...S(), Fr, Rr, {
310
+ }, Be, F, M], se = () => [Be, "auto", F, M], Z = () => ["auto", "min", "max", "fr", F, M], k = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], O = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], Y = () => ["auto", ...E()], Q = () => [Ve, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...E()], le = () => [Ve, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...E()], de = () => [Ve, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...E()], u = () => [t, F, M], N = () => [...S(), Fr, Rr, {
311
311
  position: [F, M]
312
312
  }], $ = () => ["no-repeat", {
313
313
  repeat: ["", "x", "y", "space", "round"]
@@ -722,14 +722,14 @@ const la = (t, e) => {
722
722
  * @see https://tailwindcss.com/docs/grid-auto-columns
723
723
  */
724
724
  "auto-cols": [{
725
- "auto-cols": J()
725
+ "auto-cols": Z()
726
726
  }],
727
727
  /**
728
728
  * Grid Auto Rows
729
729
  * @see https://tailwindcss.com/docs/grid-auto-rows
730
730
  */
731
731
  "auto-rows": [{
732
- "auto-rows": J()
732
+ "auto-rows": Z()
733
733
  }],
734
734
  /**
735
735
  * Gap
@@ -1006,7 +1006,7 @@ const la = (t, e) => {
1006
1006
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1007
1007
  */
1008
1008
  size: [{
1009
- size: Z()
1009
+ size: Q()
1010
1010
  }],
1011
1011
  /**
1012
1012
  * Inline Size
@@ -1055,7 +1055,7 @@ const la = (t, e) => {
1055
1055
  * @see https://tailwindcss.com/docs/width
1056
1056
  */
1057
1057
  w: [{
1058
- w: [a, "screen", ...Z()]
1058
+ w: [a, "screen", ...Q()]
1059
1059
  }],
1060
1060
  /**
1061
1061
  * Min-Width
@@ -1067,7 +1067,7 @@ const la = (t, e) => {
1067
1067
  "screen",
1068
1068
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1069
1069
  "none",
1070
- ...Z()
1070
+ ...Q()
1071
1071
  ]
1072
1072
  }],
1073
1073
  /**
@@ -1085,7 +1085,7 @@ const la = (t, e) => {
1085
1085
  {
1086
1086
  screen: [o]
1087
1087
  },
1088
- ...Z()
1088
+ ...Q()
1089
1089
  ]
1090
1090
  }],
1091
1091
  /**
@@ -1093,21 +1093,21 @@ const la = (t, e) => {
1093
1093
  * @see https://tailwindcss.com/docs/height
1094
1094
  */
1095
1095
  h: [{
1096
- h: ["screen", "lh", ...Z()]
1096
+ h: ["screen", "lh", ...Q()]
1097
1097
  }],
1098
1098
  /**
1099
1099
  * Min-Height
1100
1100
  * @see https://tailwindcss.com/docs/min-height
1101
1101
  */
1102
1102
  "min-h": [{
1103
- "min-h": ["screen", "lh", "none", ...Z()]
1103
+ "min-h": ["screen", "lh", "none", ...Q()]
1104
1104
  }],
1105
1105
  /**
1106
1106
  * Max-Height
1107
1107
  * @see https://tailwindcss.com/docs/max-height
1108
1108
  */
1109
1109
  "max-h": [{
1110
- "max-h": ["screen", "lh", ...Z()]
1110
+ "max-h": ["screen", "lh", ...Q()]
1111
1111
  }],
1112
1112
  // ------------------
1113
1113
  // --- Typography ---
@@ -2916,7 +2916,7 @@ const la = (t, e) => {
2916
2916
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2917
2917
  };
2918
2918
  }, Ga = /* @__PURE__ */ Pa(ja);
2919
- function Q(...t) {
2919
+ function J(...t) {
2920
2920
  return Ga(t.filter(Boolean));
2921
2921
  }
2922
2922
  const _e = ({
@@ -2963,11 +2963,11 @@ const qa = {
2963
2963
  brand: "Info"
2964
2964
  }, Ar = {
2965
2965
  sm: "max-w-[350px] min-h-[40px] flex-row items-center px-2 gap-2",
2966
- lg: "max-w-[1020px] flex-col items-start p-4 gap-1",
2966
+ lg: "max-w-[1020px] flex-row items-start p-4 gap-2",
2967
2967
  small: "max-w-[350px] min-h-[40px] flex-row items-center px-2 gap-2",
2968
- large: "max-w-[1020px] flex-col items-start p-4 gap-1",
2968
+ large: "max-w-[1020px] flex-row items-start p-4 gap-2",
2969
2969
  floating: "max-w-[350px] min-h-[40px] flex-row items-center px-2 gap-2",
2970
- "full-width": "max-w-[1020px] flex-col items-start p-4 gap-1"
2970
+ "full-width": "max-w-[1020px] flex-row items-start p-4 gap-2"
2971
2971
  }, Or = {
2972
2972
  info: "eidotter-alert--info",
2973
2973
  success: "eidotter-alert--success",
@@ -2988,7 +2988,7 @@ const qa = {
2988
2988
  return /* @__PURE__ */ I(
2989
2989
  "div",
2990
2990
  {
2991
- className: Q(
2991
+ className: J(
2992
2992
  "relative overflow-hidden text-left w-full",
2993
2993
  "font-dos text-[16px]",
2994
2994
  "eidotter-alert",
@@ -3001,41 +3001,41 @@ const qa = {
3001
3001
  role: "alert",
3002
3002
  "data-type": e,
3003
3003
  children: [
3004
- /* @__PURE__ */ I("div", { className: "flex items-center gap-2 w-full self-stretch", children: [
3005
- /* @__PURE__ */ h("div", { className: Q(
3006
- "flex items-center justify-center flex-shrink-0 self-start mt-0.5",
3007
- c ? "w-5 h-5" : "w-6 h-6"
3008
- ), children: /* @__PURE__ */ h(
3009
- _e,
3010
- {
3011
- name: qa[e] || "Info",
3012
- size: "S",
3013
- "aria-label": e + " alert"
3014
- }
3015
- ) }),
3016
- n && /* @__PURE__ */ h("div", { className: "flex-1 leading-[140%]", children: n }),
3017
- i && /* @__PURE__ */ h(
3018
- "button",
3019
- {
3020
- className: "eidotter-alert__close",
3021
- onClick: s,
3022
- "aria-label": "Close alert",
3023
- children: /* @__PURE__ */ h(_e, { name: "Close", size: "S" })
3024
- }
3025
- )
3004
+ /* @__PURE__ */ h("div", { className: J(
3005
+ "flex items-center justify-center flex-shrink-0 self-start mt-0.5",
3006
+ c ? "w-5 h-5" : "w-6 h-6"
3007
+ ), children: /* @__PURE__ */ h(
3008
+ _e,
3009
+ {
3010
+ name: qa[e] || "Info",
3011
+ size: "S",
3012
+ "aria-label": e + " alert"
3013
+ }
3014
+ ) }),
3015
+ /* @__PURE__ */ I("div", { className: J("flex-1 flex flex-col gap-1 min-w-0", i && "pr-6"), children: [
3016
+ n && /* @__PURE__ */ h("div", { className: "leading-[140%]", children: n }),
3017
+ !c && (r || l) && /* @__PURE__ */ I("div", { className: "leading-[140%]", children: [
3018
+ r && /* @__PURE__ */ h("span", { children: r }),
3019
+ l && /* @__PURE__ */ h(
3020
+ "button",
3021
+ {
3022
+ className: "eidotter-alert__link",
3023
+ onClick: l,
3024
+ "aria-label": "Click for more information",
3025
+ children: "Click here"
3026
+ }
3027
+ )
3028
+ ] })
3026
3029
  ] }),
3027
- !c && (r || l) && /* @__PURE__ */ h("div", { className: "self-stretch flex items-start pl-8 text-[14px]", children: /* @__PURE__ */ I("div", { className: "flex-1 leading-[140%] text-[var(--color-cga-amber-dim)]", children: [
3028
- r && /* @__PURE__ */ h("span", { children: r }),
3029
- l && /* @__PURE__ */ h(
3030
- "button",
3031
- {
3032
- className: "eidotter-alert__link",
3033
- onClick: l,
3034
- "aria-label": "Click for more information",
3035
- children: "Click here"
3036
- }
3037
- )
3038
- ] }) })
3030
+ i && /* @__PURE__ */ h(
3031
+ "button",
3032
+ {
3033
+ className: "eidotter-alert__close",
3034
+ onClick: s,
3035
+ "aria-label": "Close alert",
3036
+ children: /* @__PURE__ */ h(_e, { name: "Close", size: "S" })
3037
+ }
3038
+ )
3039
3039
  ]
3040
3040
  }
3041
3041
  );
@@ -3058,7 +3058,7 @@ const qa = {
3058
3058
  return /* @__PURE__ */ I(
3059
3059
  "div",
3060
3060
  {
3061
- className: Q(
3061
+ className: J(
3062
3062
  "w-full border border-dos-border-default bg-dos-bg-primary text-cga-amber font-dos",
3063
3063
  "eidotter-section",
3064
3064
  o && "eidotter-section--expanded",
@@ -3103,7 +3103,7 @@ const qa = {
3103
3103
  const [, r] = H(e), i = (l, o) => {
3104
3104
  r(o ? l : -1);
3105
3105
  };
3106
- return /* @__PURE__ */ h("div", { className: Q(
3106
+ return /* @__PURE__ */ h("div", { className: J(
3107
3107
  "w-full flex flex-col items-stretch gap-2 text-left text-base font-dos text-cga-amber",
3108
3108
  "eidotter-accordion-fill",
3109
3109
  n
@@ -3898,14 +3898,14 @@ function At(t, e, n, r) {
3898
3898
  function Hn(t, e, n = {}) {
3899
3899
  let { block: r = "nearest", inline: i = "nearest" } = n;
3900
3900
  if (t === e) return;
3901
- let l = t.scrollTop, o = t.scrollLeft, a = e.getBoundingClientRect(), s = t.getBoundingClientRect(), d = window.getComputedStyle(e), c = window.getComputedStyle(t), f = document.scrollingElement || document.documentElement, p = t === f ? 0 : s.top, m = t === f ? t.clientHeight : s.bottom, v = t === f ? 0 : s.left, b = t === f ? t.clientWidth : s.right, g = parseInt(d.scrollMarginTop, 10) || 0, y = parseInt(d.scrollMarginBottom, 10) || 0, x = parseInt(d.scrollMarginLeft, 10) || 0, w = parseInt(d.scrollMarginRight, 10) || 0, S = parseInt(c.scrollPaddingTop, 10) || 0, T = parseInt(c.scrollPaddingBottom, 10) || 0, U = parseInt(c.scrollPaddingLeft, 10) || 0, A = parseInt(c.scrollPaddingRight, 10) || 0, E = parseInt(c.borderTopWidth, 10) || 0, R = parseInt(c.borderBottomWidth, 10) || 0, z = parseInt(c.borderLeftWidth, 10) || 0, oe = parseInt(c.borderRightWidth, 10) || 0, se = a.top - g, J = a.bottom + y, k = a.left - x, O = a.right + w, Y = t === f ? 0 : z + oe, Z = t === f ? 0 : E + R, le = t.offsetWidth - t.clientWidth - Y, de = t.offsetHeight - t.clientHeight - Z, u = p + E + S, N = m - R - T - de, $ = v + z + U, C = b - oe - A;
3901
+ let l = t.scrollTop, o = t.scrollLeft, a = e.getBoundingClientRect(), s = t.getBoundingClientRect(), d = window.getComputedStyle(e), c = window.getComputedStyle(t), f = document.scrollingElement || document.documentElement, p = t === f ? 0 : s.top, m = t === f ? t.clientHeight : s.bottom, v = t === f ? 0 : s.left, b = t === f ? t.clientWidth : s.right, g = parseInt(d.scrollMarginTop, 10) || 0, y = parseInt(d.scrollMarginBottom, 10) || 0, x = parseInt(d.scrollMarginLeft, 10) || 0, w = parseInt(d.scrollMarginRight, 10) || 0, S = parseInt(c.scrollPaddingTop, 10) || 0, T = parseInt(c.scrollPaddingBottom, 10) || 0, U = parseInt(c.scrollPaddingLeft, 10) || 0, A = parseInt(c.scrollPaddingRight, 10) || 0, E = parseInt(c.borderTopWidth, 10) || 0, R = parseInt(c.borderBottomWidth, 10) || 0, z = parseInt(c.borderLeftWidth, 10) || 0, oe = parseInt(c.borderRightWidth, 10) || 0, se = a.top - g, Z = a.bottom + y, k = a.left - x, O = a.right + w, Y = t === f ? 0 : z + oe, Q = t === f ? 0 : E + R, le = t.offsetWidth - t.clientWidth - Y, de = t.offsetHeight - t.clientHeight - Q, u = p + E + S, N = m - R - T - de, $ = v + z + U, C = b - oe - A;
3902
3902
  c.direction === "rtl" && !Je() ? $ += le : C -= le;
3903
- let K = se < u || J > N, _ = k < $ || O > C;
3903
+ let K = se < u || Z > N, _ = k < $ || O > C;
3904
3904
  if (K && r === "start") l += se - u;
3905
- else if (K && r === "center") l += (se + J) / 2 - (u + N) / 2;
3906
- else if (K && r === "end") l += J - N;
3905
+ else if (K && r === "center") l += (se + Z) / 2 - (u + N) / 2;
3906
+ else if (K && r === "end") l += Z - N;
3907
3907
  else if (K && r === "nearest") {
3908
- let G = se - u, me = J - N;
3908
+ let G = se - u, me = Z - N;
3909
3909
  l += Math.abs(G) <= Math.abs(me) ? G : me;
3910
3910
  }
3911
3911
  if (_ && i === "start") o += k - $;
@@ -4693,7 +4693,7 @@ function ut(t) {
4693
4693
  }, [
4694
4694
  a,
4695
4695
  o
4696
- ]), J = B((u, N) => {
4696
+ ]), Z = B((u, N) => {
4697
4697
  if (!a && o) {
4698
4698
  let $ = new MouseEvent("click", u);
4699
4699
  Cl($, N), o($r($));
@@ -4701,7 +4701,7 @@ function ut(t) {
4701
4701
  }, [
4702
4702
  a,
4703
4703
  o
4704
- ]), k = Ce(J), [O, Y] = H(!1);
4704
+ ]), k = Ce(Z), [O, Y] = H(!1);
4705
4705
  ae(() => {
4706
4706
  let u = g.current;
4707
4707
  if (O) {
@@ -4731,10 +4731,10 @@ function ut(t) {
4731
4731
  x,
4732
4732
  w
4733
4733
  ]);
4734
- let [Z, le] = H(null);
4734
+ let [Q, le] = H(null);
4735
4735
  ae(() => {
4736
4736
  let u = g.current;
4737
- if (Z === "pointer") {
4737
+ if (Q === "pointer") {
4738
4738
  let N = (C) => {
4739
4739
  if (C.pointerId === u.activePointerId && u.isPressed && C.button === 0 && u.target) {
4740
4740
  if (j(u.target, L(C)) && u.pointerType != null) {
@@ -4751,7 +4751,7 @@ function ut(t) {
4751
4751
  return y(ne(u.target), "pointerup", N, !1), y(ne(u.target), "pointercancel", $, !1), () => {
4752
4752
  w(ne(u.target), "pointerup", N, !1), w(ne(u.target), "pointercancel", $, !1);
4753
4753
  };
4754
- } else if (Z === "mouse" && process.env.NODE_ENV === "test") {
4754
+ } else if (Q === "mouse" && process.env.NODE_ENV === "test") {
4755
4755
  let N = ($) => {
4756
4756
  if ($.button === 0) {
4757
4757
  if (u.ignoreEmulatedMouseEvents) {
@@ -4764,7 +4764,7 @@ function ut(t) {
4764
4764
  return y(ne(u.target), "mouseup", N, !1), () => {
4765
4765
  w(ne(u.target), "mouseup", N, !1);
4766
4766
  };
4767
- } else if (Z === "touch" && process.env.NODE_ENV === "test") {
4767
+ } else if (Q === "touch" && process.env.NODE_ENV === "test") {
4768
4768
  let N = ($) => {
4769
4769
  u.isPressed && j(L($), u.target) && z({
4770
4770
  currentTarget: u.target,
@@ -4779,7 +4779,7 @@ function ut(t) {
4779
4779
  };
4780
4780
  }
4781
4781
  }, [
4782
- Z,
4782
+ Q,
4783
4783
  y,
4784
4784
  w
4785
4785
  ]);
@@ -4877,7 +4877,7 @@ function ut(t) {
4877
4877
  return;
4878
4878
  }
4879
4879
  let C = li($.nativeEvent, u.activePointerId), K = !0;
4880
- C && oi(C, $.currentTarget) && u.pointerType != null ? (A(ze(u.target, $), u.pointerType), K = T(ze(u.target, $), u.pointerType), J($.nativeEvent, u.target)) : u.isOverTarget && u.pointerType != null && (K = T(ze(u.target, $), u.pointerType, !1)), K && $.stopPropagation(), u.isPressed = !1, le(null), u.activePointerId = null, u.isOverTarget = !1, u.ignoreEmulatedMouseEvents = !0, u.target && !f && kn(u.target), x();
4880
+ C && oi(C, $.currentTarget) && u.pointerType != null ? (A(ze(u.target, $), u.pointerType), K = T(ze(u.target, $), u.pointerType), Z($.nativeEvent, u.target)) : u.isOverTarget && u.pointerType != null && (K = T(ze(u.target, $), u.pointerType, !1)), K && $.stopPropagation(), u.isPressed = !1, le(null), u.activePointerId = null, u.isOverTarget = !1, u.ignoreEmulatedMouseEvents = !0, u.target && !f && kn(u.target), x();
4881
4881
  }, N.onTouchCancel = ($) => {
4882
4882
  j($.currentTarget, L($)) && ($.stopPropagation(), u.isPressed && R(ze(u.target, $)));
4883
4883
  }, N.onDragStart = ($) => {
@@ -4894,7 +4894,7 @@ function ut(t) {
4894
4894
  S,
4895
4895
  A,
4896
4896
  se,
4897
- J
4897
+ Z
4898
4898
  ]);
4899
4899
  return W(() => {
4900
4900
  if (!p || process.env.NODE_ENV === "test") return;
@@ -6567,8 +6567,8 @@ function fc(t) {
6567
6567
  switch (k.key) {
6568
6568
  case "ArrowDown":
6569
6569
  if (n.getKeyBelow) {
6570
- var Y, Z, le;
6571
- let V = e.focusedKey != null ? (Y = n.getKeyBelow) === null || Y === void 0 ? void 0 : Y.call(n, e.focusedKey) : (Z = n.getFirstKey) === null || Z === void 0 ? void 0 : Z.call(n);
6570
+ var Y, Q, le;
6571
+ let V = e.focusedKey != null ? (Y = n.getKeyBelow) === null || Y === void 0 ? void 0 : Y.call(n, e.focusedKey) : (Q = n.getFirstKey) === null || Q === void 0 ? void 0 : Q.call(n);
6572
6572
  V == null && l && (V = (le = n.getFirstKey) === null || le === void 0 ? void 0 : le.call(n, e.focusedKey)), V != null && (k.preventDefault(), O(V));
6573
6573
  }
6574
6574
  break;
@@ -6648,10 +6648,10 @@ function fc(t) {
6648
6648
  left: 0
6649
6649
  });
6650
6650
  At(m, "scroll", () => {
6651
- var k, O, Y, Z;
6651
+ var k, O, Y, Q;
6652
6652
  x.current = {
6653
6653
  top: (Y = (k = m.current) === null || k === void 0 ? void 0 : k.scrollTop) !== null && Y !== void 0 ? Y : 0,
6654
- left: (Z = (O = m.current) === null || O === void 0 ? void 0 : O.scrollLeft) !== null && Z !== void 0 ? Z : 0
6654
+ left: (Q = (O = m.current) === null || O === void 0 ? void 0 : O.scrollLeft) !== null && Q !== void 0 ? Q : 0
6655
6655
  };
6656
6656
  });
6657
6657
  let w = (k) => {
@@ -6665,8 +6665,8 @@ function fc(t) {
6665
6665
  let de = (N) => {
6666
6666
  N != null && (e.setFocusedKey(N), d && !e.isSelected(N) && e.replaceSelection(N));
6667
6667
  }, u = k.relatedTarget;
6668
- var Z, le;
6669
- u && k.currentTarget.compareDocumentPosition(u) & Node.DOCUMENT_POSITION_FOLLOWING ? de((Z = e.lastSelectedKey) !== null && Z !== void 0 ? Z : (O = n.getLastKey) === null || O === void 0 ? void 0 : O.call(n)) : de((le = e.firstSelectedKey) !== null && le !== void 0 ? le : (Y = n.getFirstKey) === null || Y === void 0 ? void 0 : Y.call(n));
6668
+ var Q, le;
6669
+ u && k.currentTarget.compareDocumentPosition(u) & Node.DOCUMENT_POSITION_FOLLOWING ? de((Q = e.lastSelectedKey) !== null && Q !== void 0 ? Q : (O = n.getLastKey) === null || O === void 0 ? void 0 : O.call(n)) : de((le = e.firstSelectedKey) !== null && le !== void 0 ? le : (Y = n.getFirstKey) === null || Y === void 0 ? void 0 : Y.call(n));
6670
6670
  } else m.current && (m.current.scrollTop = x.current.top, m.current.scrollLeft = x.current.left);
6671
6671
  if (e.focusedKey != null && m.current) {
6672
6672
  let de = In(r, e.focusedKey);
@@ -6686,8 +6686,8 @@ function fc(t) {
6686
6686
  var k, O;
6687
6687
  let Y = (O = (k = n.getFirstKey) === null || k === void 0 ? void 0 : k.call(n)) !== null && O !== void 0 ? O : null;
6688
6688
  if (Y == null) {
6689
- let Z = ue();
6690
- Fl(r.current), Al(Z, null), e.collection.size > 0 && (T.current = !1);
6689
+ let Q = ue();
6690
+ Fl(r.current), Al(Q, null), e.collection.size > 0 && (T.current = !1);
6691
6691
  } else
6692
6692
  e.setFocusedKey(Y), T.current = !1;
6693
6693
  }
@@ -6708,8 +6708,8 @@ function fc(t) {
6708
6708
  let le = null;
6709
6709
  var Y;
6710
6710
  i === "first" && (le = (Y = (k = n.getFirstKey) === null || k === void 0 ? void 0 : k.call(n)) !== null && Y !== void 0 ? Y : null);
6711
- var Z;
6712
- i === "last" && (le = (Z = (O = n.getLastKey) === null || O === void 0 ? void 0 : O.call(n)) !== null && Z !== void 0 ? Z : null);
6711
+ var Q;
6712
+ i === "last" && (le = (Q = (O = n.getLastKey) === null || O === void 0 ? void 0 : O.call(n)) !== null && Q !== void 0 ? Q : null);
6713
6713
  let de = e.selectedKeys;
6714
6714
  if (de.size) {
6715
6715
  for (let u of de) if (e.canSelectItem(u)) {
@@ -6752,11 +6752,11 @@ function fc(t) {
6752
6752
  c || (z = ee(oe, z));
6753
6753
  let se;
6754
6754
  f || (se = e.focusedKey == null ? 0 : -1);
6755
- let J = ac(e.collection);
6755
+ let Z = ac(e.collection);
6756
6756
  return {
6757
6757
  collectionProps: ee(z, {
6758
6758
  tabIndex: se,
6759
- "data-collection": J
6759
+ "data-collection": Z
6760
6760
  })
6761
6761
  };
6762
6762
  }
@@ -6810,25 +6810,25 @@ function pc(t) {
6810
6810
  }));
6811
6811
  }
6812
6812
  y && i.current && p.open(i.current, u, oe.href, oe.routerOptions);
6813
- }, J = {
6813
+ }, Z = {
6814
6814
  ref: i
6815
6815
  };
6816
- if (l ? (J.onPressStart = (u) => {
6816
+ if (l ? (Z.onPressStart = (u) => {
6817
6817
  A.current = u.pointerType, R.current = E, u.pointerType === "keyboard" && (!U || vi(u.key)) && m(u);
6818
- }, c ? (J.onPressUp = S ? void 0 : (u) => {
6818
+ }, c ? (Z.onPressUp = S ? void 0 : (u) => {
6819
6819
  u.pointerType === "mouse" && x && m(u);
6820
- }, J.onPress = S ? se : (u) => {
6820
+ }, Z.onPress = S ? se : (u) => {
6821
6821
  u.pointerType !== "keyboard" && u.pointerType !== "mouse" && x && m(u);
6822
- }) : J.onPress = (u) => {
6822
+ }) : Z.onPress = (u) => {
6823
6823
  if (S || T && u.pointerType !== "mouse") {
6824
6824
  if (u.pointerType === "keyboard" && !bi(u.key)) return;
6825
6825
  se(u);
6826
6826
  } else u.pointerType !== "keyboard" && x && m(u);
6827
- }) : (J.onPressStart = (u) => {
6827
+ }) : (Z.onPressStart = (u) => {
6828
6828
  A.current = u.pointerType, R.current = E, z.current = S, x && (u.pointerType === "mouse" && !S || u.pointerType === "keyboard" && (!w || vi(u.key))) && m(u);
6829
- }, J.onPress = (u) => {
6829
+ }, Z.onPress = (u) => {
6830
6830
  (u.pointerType === "touch" || u.pointerType === "pen" || u.pointerType === "virtual" || u.pointerType === "keyboard" && U && bi(u.key) || u.pointerType === "mouse" && z.current) && (U ? se(u) : x && m(u));
6831
- }), v["data-collection"] = sc(n.collection), v["data-key"] = r, J.preventFocusOnPress = o, o && (J = ee(J, {
6831
+ }), v["data-collection"] = sc(n.collection), v["data-key"] = r, Z.preventFocusOnPress = o, o && (Z = ee(Z, {
6832
6832
  onPressStart(u) {
6833
6833
  u.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
6834
6834
  },
@@ -6843,10 +6843,10 @@ function pc(t) {
6843
6843
  "onPress",
6844
6844
  "onPressUp",
6845
6845
  "onClick"
6846
- ]) oe[u] && (J[u] = Pt(J[u], oe[u]));
6847
- let { pressProps: k, isPressed: O } = ut(J), Y = T ? (u) => {
6846
+ ]) oe[u] && (Z[u] = Pt(Z[u], oe[u]));
6847
+ let { pressProps: k, isPressed: O } = ut(Z), Y = T ? (u) => {
6848
6848
  A.current === "mouse" && (u.stopPropagation(), u.preventDefault(), se(u));
6849
- } : void 0, { longPressProps: Z } = _d({
6849
+ } : void 0, { longPressProps: Q } = _d({
6850
6850
  isDisabled: !E,
6851
6851
  onLongPress(u) {
6852
6852
  u.pointerType === "touch" && (m(u), n.setSelectionBehavior("toggle"));
@@ -6860,7 +6860,7 @@ function pc(t) {
6860
6860
  itemProps: ee(
6861
6861
  v,
6862
6862
  x || S || o && !s ? k : {},
6863
- E ? Z : {},
6863
+ E ? Q : {},
6864
6864
  {
6865
6865
  onDoubleClick: Y,
6866
6866
  onDragStartCapture: le,
@@ -8125,8 +8125,8 @@ function Jc(t, e) {
8125
8125
  };
8126
8126
  }
8127
8127
  function Lo(t, e, n) {
8128
- let { isDisabled: r = !1, isReadOnly: i = !1, value: l, name: o, form: a, children: s, "aria-label": d, "aria-labelledby": c, validationState: f = "valid", isInvalid: p, onPressStart: m, onPressEnd: v, onPressChange: b, onPress: g, onPressUp: y, onClick: x } = t, w = (J) => {
8129
- J.stopPropagation(), e.setSelected(L(J).checked);
8128
+ let { isDisabled: r = !1, isReadOnly: i = !1, value: l, name: o, form: a, children: s, "aria-label": d, "aria-labelledby": c, validationState: f = "valid", isInvalid: p, onPressStart: m, onPressEnd: v, onPressChange: b, onPress: g, onPressUp: y, onClick: x } = t, w = (Z) => {
8129
+ Z.stopPropagation(), e.setSelected(L(Z).checked);
8130
8130
  }, S = s != null, T = d != null || c != null;
8131
8131
  !S && !T && process.env.NODE_ENV !== "production" && console.warn("If you do not provide children, you must specify an aria-label for accessibility");
8132
8132
  let { pressProps: U, isPressed: A } = ut({
@@ -8143,9 +8143,9 @@ function Lo(t, e, n) {
8143
8143
  onPressChange: b,
8144
8144
  onPressUp: y,
8145
8145
  onClick: x,
8146
- onPress(J) {
8146
+ onPress(Z) {
8147
8147
  var k;
8148
- g == null || g(J), e.toggle(), (k = n.current) === null || k === void 0 || k.focus();
8148
+ g == null || g(Z), e.toggle(), (k = n.current) === null || k === void 0 || k.focus();
8149
8149
  },
8150
8150
  isDisabled: r || i
8151
8151
  }), { focusableProps: z } = bn(t, n), oe = ee(U, z), se = be(t, {
@@ -8153,7 +8153,7 @@ function Lo(t, e, n) {
8153
8153
  });
8154
8154
  return gl(n, e.defaultSelected, e.setSelected), {
8155
8155
  labelProps: ee(E, {
8156
- onClick: (J) => J.preventDefault()
8156
+ onClick: (Z) => Z.preventDefault()
8157
8157
  }),
8158
8158
  inputProps: ee(se, {
8159
8159
  "aria-invalid": p || f === "invalid" || void 0,
@@ -9725,7 +9725,7 @@ const zu = /* @__PURE__ */ te({}), Hu = /* @__PURE__ */ te(null), Uu = /* @__PUR
9725
9725
  o(m);
9726
9726
  }
9727
9727
  },
9728
- className: Q(
9728
+ className: J(
9729
9729
  "inline-flex items-center justify-center relative",
9730
9730
  "border-2 border-solid",
9731
9731
  "font-dos font-dos-bold leading-none whitespace-nowrap select-none",
@@ -9745,7 +9745,7 @@ const zu = /* @__PURE__ */ te({}), Hu = /* @__PURE__ */ te(null), Uu = /* @__PUR
9745
9745
  ...c,
9746
9746
  children: [
9747
9747
  i && /* @__PURE__ */ h("span", { className: "eidotter-btn__loading", "aria-hidden": "true", children: "█" }),
9748
- /* @__PURE__ */ h("span", { className: Q(
9748
+ /* @__PURE__ */ h("span", { className: J(
9749
9749
  "inline-flex items-center justify-center",
9750
9750
  i && "opacity-70"
9751
9751
  ), children: l })
@@ -9794,7 +9794,7 @@ const zu = /* @__PURE__ */ te({}), Hu = /* @__PURE__ */ te(null), Uu = /* @__PUR
9794
9794
  name: a,
9795
9795
  value: s,
9796
9796
  "aria-label": c || i,
9797
- className: Q(
9797
+ className: J(
9798
9798
  "inline-flex items-center gap-2 cursor-pointer select-none group",
9799
9799
  "font-dos",
9800
9800
  o === "sm" ? "text-[14px]" : "text-[16px]",
@@ -9805,7 +9805,7 @@ const zu = /* @__PURE__ */ te({}), Hu = /* @__PURE__ */ te(null), Uu = /* @__PUR
9805
9805
  "data-size": o,
9806
9806
  ...f,
9807
9807
  children: ({ isSelected: p, isIndeterminate: m }) => /* @__PURE__ */ I(pt, { children: [
9808
- /* @__PURE__ */ h("span", { className: Q(
9808
+ /* @__PURE__ */ h("span", { className: J(
9809
9809
  "eidotter-checkbox__box",
9810
9810
  p && "eidotter-checkbox__box--checked",
9811
9811
  m && "eidotter-checkbox__box--indeterminate"
@@ -9909,7 +9909,7 @@ const Of = ({
9909
9909
  "aria-label": p,
9910
9910
  ...m
9911
9911
  }) => {
9912
- const v = Math.min(80, Math.max(3, Math.floor(o))), b = Math.min(100, Math.max(0, t / e * 100)), g = Math.round(b / 100 * v), y = Q(
9912
+ const v = Math.min(80, Math.max(3, Math.floor(o))), b = Math.min(100, Math.max(0, t / e * 100)), g = Math.round(b / 100 * v), y = J(
9913
9913
  "inline-flex items-center gap-2 font-dos",
9914
9914
  "eidotter-progress",
9915
9915
  Li[i] || Li.md,
@@ -9923,7 +9923,7 @@ const Of = ({
9923
9923
  "aria-label": p || `Progress: ${n ? "loading" : `${Math.round(b)}%`}`
9924
9924
  };
9925
9925
  n || (x["aria-valuenow"] = t, x["aria-valuemin"] = 0, x["aria-valuemax"] = e), c && (x["aria-valuetext"] = c);
9926
- const w = l === "bordered", S = Q(
9926
+ const w = l === "bordered", S = J(
9927
9927
  "eidotter-progress__track",
9928
9928
  w && "eidotter-progress__track--borderless"
9929
9929
  );
@@ -9996,14 +9996,14 @@ const Of = ({
9996
9996
  isDisabled: i,
9997
9997
  isInvalid: c,
9998
9998
  isRequired: a,
9999
- className: Q("eidotter-text-field", "flex flex-col gap-1", l),
9999
+ className: J("eidotter-text-field", "flex flex-col gap-1", l),
10000
10000
  children: [
10001
10001
  e && /* @__PURE__ */ h(ou, { className: "text-cga-amber font-dos text-xs uppercase tracking-wider", children: e }),
10002
10002
  /* @__PURE__ */ h(
10003
10003
  Eu,
10004
10004
  {
10005
10005
  ref: d,
10006
- className: Q(
10006
+ className: J(
10007
10007
  "w-full bg-dos-bg-primary text-cga-amber font-dos text-base p-2",
10008
10008
  "border-2 border-dos-border-default outline-none box-border",
10009
10009
  "eidotter-input",
@@ -10166,7 +10166,7 @@ const Vf = ({
10166
10166
  selectedKey: r,
10167
10167
  defaultSelectedKey: i ?? ((b = t[0]) == null ? void 0 : b.id),
10168
10168
  onSelectionChange: p,
10169
- className: Q(
10169
+ className: J(
10170
10170
  "eidotter-tabs",
10171
10171
  qu[e],
10172
10172
  Fi[n] || Fi.md,
@@ -10184,7 +10184,7 @@ const Vf = ({
10184
10184
  {
10185
10185
  id: g.id,
10186
10186
  isDisabled: g.disabled,
10187
- className: ({ isSelected: y, isDisabled: x }) => Q(
10187
+ className: ({ isSelected: y, isDisabled: x }) => J(
10188
10188
  "eidotter-tabs__tab",
10189
10189
  y && "eidotter-tabs__tab--active",
10190
10190
  x && "eidotter-tabs__tab--disabled"
@@ -10231,7 +10231,7 @@ const Vf = ({
10231
10231
  }) => /* @__PURE__ */ I(
10232
10232
  "span",
10233
10233
  {
10234
- className: Q(
10234
+ className: J(
10235
10235
  "inline-flex items-center justify-center",
10236
10236
  "font-dos font-dos-regular leading-none whitespace-nowrap select-none",
10237
10237
  "uppercase tracking-wider",
@@ -10269,7 +10269,7 @@ const Vf = ({
10269
10269
  isDisabled: r,
10270
10270
  name: a,
10271
10271
  value: s,
10272
- className: Q(
10272
+ className: J(
10273
10273
  "inline-flex items-center gap-2 cursor-pointer outline-none font-dos group",
10274
10274
  "eidotter-switch",
10275
10275
  r && "opacity-50 cursor-not-allowed",
@@ -10279,7 +10279,7 @@ const Vf = ({
10279
10279
  "data-type": l,
10280
10280
  ...c,
10281
10281
  children: ({ isSelected: f }) => /* @__PURE__ */ I(pt, { children: [
10282
- /* @__PURE__ */ h("span", { className: Q(
10282
+ /* @__PURE__ */ h("span", { className: J(
10283
10283
  "eidotter-switch__track",
10284
10284
  f && "eidotter-switch__track--checked",
10285
10285
  l === "slim" && "eidotter-switch__track--slim",
@@ -10305,7 +10305,7 @@ const Vf = ({
10305
10305
  "button",
10306
10306
  {
10307
10307
  type: "button",
10308
- className: Q(Wt, "bg-transparent border-0 cursor-pointer font-[inherit] p-0"),
10308
+ className: J(Wt, "bg-transparent border-0 cursor-pointer font-[inherit] p-0"),
10309
10309
  onClick: a.onClick,
10310
10310
  children: d
10311
10311
  }
@@ -10315,7 +10315,7 @@ const Vf = ({
10315
10315
  "nav",
10316
10316
  {
10317
10317
  "aria-label": "Breadcrumb",
10318
- className: Q(
10318
+ className: J(
10319
10319
  "font-dos text-xs uppercase tracking-[0.35em]",
10320
10320
  "eidotter-breadcrumb",
10321
10321
  l
@@ -10919,7 +10919,7 @@ const Ui = {
10919
10919
  return /* @__PURE__ */ I(
10920
10920
  "span",
10921
10921
  {
10922
- className: Q(
10922
+ className: J(
10923
10923
  "inline-flex items-center justify-center",
10924
10924
  "font-dos font-dos-regular leading-none whitespace-nowrap select-none",
10925
10925
  "rounded-dos-sm uppercase tracking-wider",
@@ -11147,12 +11147,12 @@ const gf = ({
11147
11147
  selectedEntryId: l,
11148
11148
  defaultSelectedEntryId: o,
11149
11149
  onSelectEntry: a
11150
- }), J = q(
11150
+ }), Z = q(
11151
11151
  () => bf(t, y, s),
11152
11152
  [t, y, s]
11153
11153
  ), k = S.length > 0 ? ["year", "month", "day", "hour"][S.length - 1] : null, O = q(
11154
- () => T && k ? hf(J, T, k) : J,
11155
- [J, T, k]
11154
+ () => T && k ? hf(Z, T, k) : Z,
11155
+ [Z, T, k]
11156
11156
  );
11157
11157
  W(() => {
11158
11158
  if (p || !d) return;
@@ -11180,11 +11180,11 @@ const gf = ({
11180
11180
  }, [p, c, E, R, se]);
11181
11181
  const Y = B((C) => {
11182
11182
  x && (A(C.periodStart, C.label), g(`Showing ${y === "year" ? "months" : y === "month" ? "days" : "hours"} in ${C.label}`));
11183
- }, [x, A, y]), Z = D(S.length);
11183
+ }, [x, A, y]), Q = D(S.length);
11184
11184
  W(() => {
11185
11185
  var C;
11186
- if (S.length !== Z.current) {
11187
- Z.current = S.length;
11186
+ if (S.length !== Q.current) {
11187
+ Q.current = S.length;
11188
11188
  const K = (C = v.current) == null ? void 0 : C.querySelector('.timeline-card__trigger, .timeline-view__bucket-button, .timeline-node[role="button"]');
11189
11189
  K && requestAnimationFrame(() => K.focus());
11190
11190
  }
@@ -11281,7 +11281,7 @@ const gf = ({
11281
11281
  d || e();
11282
11282
  },
11283
11283
  isDismissable: !0,
11284
- className: ({ isEntering: d, isExiting: c }) => Q(
11284
+ className: ({ isEntering: d, isExiting: c }) => J(
11285
11285
  "eidotter-modal-overlay",
11286
11286
  d && "eidotter-modal-overlay--entering",
11287
11287
  c && "eidotter-modal-overlay--exiting"
@@ -11289,7 +11289,7 @@ const gf = ({
11289
11289
  children: /* @__PURE__ */ h(
11290
11290
  Du,
11291
11291
  {
11292
- className: ({ isEntering: d, isExiting: c }) => Q(
11292
+ className: ({ isEntering: d, isExiting: c }) => J(
11293
11293
  "eidotter-modal",
11294
11294
  d && "eidotter-modal--entering",
11295
11295
  c && "eidotter-modal--exiting"
@@ -11298,7 +11298,7 @@ const gf = ({
11298
11298
  Tu,
11299
11299
  {
11300
11300
  "aria-label": r,
11301
- className: Q("eidotter-modal__container outline-none", o),
11301
+ className: J("eidotter-modal__container outline-none", o),
11302
11302
  children: [
11303
11303
  /* @__PURE__ */ I("header", { className: "eidotter-modal__header", children: [
11304
11304
  /* @__PURE__ */ h("h2", { className: "eidotter-modal__title", children: r }),
@@ -11403,7 +11403,7 @@ const Wi = {
11403
11403
  return /* @__PURE__ */ I(
11404
11404
  "div",
11405
11405
  {
11406
- className: Q(
11406
+ className: J(
11407
11407
  "flex flex-col font-dos",
11408
11408
  "eidotter-stat",
11409
11409
  c.root,
@@ -11411,12 +11411,12 @@ const Wi = {
11411
11411
  ),
11412
11412
  ...a,
11413
11413
  children: [
11414
- /* @__PURE__ */ h("span", { className: Q("text-cga-amber uppercase tracking-wider leading-tight", c.label), children: t }),
11415
- /* @__PURE__ */ h("span", { className: Q("text-dos-text-accent font-bold leading-none tabular-nums", c.value), children: d }),
11414
+ /* @__PURE__ */ h("span", { className: J("text-cga-amber uppercase tracking-wider leading-tight", c.label), children: t }),
11415
+ /* @__PURE__ */ h("span", { className: J("text-dos-text-accent font-bold leading-none tabular-nums", c.value), children: d }),
11416
11416
  n && /* @__PURE__ */ I(
11417
11417
  "span",
11418
11418
  {
11419
- className: Q(
11419
+ className: J(
11420
11420
  "inline-flex items-center gap-1 leading-none",
11421
11421
  xf[n],
11422
11422
  c.trend
@@ -11492,7 +11492,7 @@ const Wi = {
11492
11492
  "div",
11493
11493
  {
11494
11494
  ref: p,
11495
- className: Q(
11495
+ className: J(
11496
11496
  "inline-flex flex-wrap items-center gap-1 p-1 font-dos max-w-full",
11497
11497
  "bg-dos-bg-secondary border border-dos-border-default rounded-dos-sm",
11498
11498
  "eidotter-filter-bar",
@@ -11507,7 +11507,7 @@ const Wi = {
11507
11507
  "button",
11508
11508
  {
11509
11509
  type: "button",
11510
- className: Q(
11510
+ className: J(
11511
11511
  "eidotter-filter-bar__item",
11512
11512
  "eidotter-filter-bar__item--all",
11513
11513
  g && "eidotter-filter-bar__item--active"
@@ -11524,7 +11524,7 @@ const Wi = {
11524
11524
  "button",
11525
11525
  {
11526
11526
  type: "button",
11527
- className: Q(
11527
+ className: J(
11528
11528
  "eidotter-filter-bar__item",
11529
11529
  R && "eidotter-filter-bar__item--active",
11530
11530
  E.disabled && "eidotter-filter-bar__item--disabled"
@@ -11641,7 +11641,7 @@ const Wi = {
11641
11641
  {
11642
11642
  role: "separator",
11643
11643
  "aria-orientation": t,
11644
- className: Q(
11644
+ className: J(
11645
11645
  "shrink-0 bg-dos-border-default",
11646
11646
  "eidotter-separator",
11647
11647
  Sf[t],
@@ -11680,7 +11680,7 @@ const Wi = {
11680
11680
  return /* @__PURE__ */ h(
11681
11681
  "nav",
11682
11682
  {
11683
- className: Q(
11683
+ className: J(
11684
11684
  "eidotter-nav eidotter-nav--desktop",
11685
11685
  Zo[n],
11686
11686
  i
@@ -11690,7 +11690,7 @@ const Wi = {
11690
11690
  l,
11691
11691
  {
11692
11692
  href: o.href,
11693
- className: Q(
11693
+ className: J(
11694
11694
  "eidotter-nav__link",
11695
11695
  e === o.href && "eidotter-nav__link--active"
11696
11696
  ),
@@ -11707,7 +11707,7 @@ const Wi = {
11707
11707
  className: i
11708
11708
  }) => {
11709
11709
  const [l, o] = H(!1), a = r || "a", s = B(() => o((c) => !c), []), d = B(() => o(!1), []);
11710
- return /* @__PURE__ */ I("div", { className: Q(
11710
+ return /* @__PURE__ */ I("div", { className: J(
11711
11711
  "eidotter-nav eidotter-nav--mobile",
11712
11712
  Zo[n],
11713
11713
  i
@@ -11733,7 +11733,7 @@ const Wi = {
11733
11733
  /* @__PURE__ */ I(
11734
11734
  "nav",
11735
11735
  {
11736
- className: Q(
11736
+ className: J(
11737
11737
  "eidotter-nav__panel",
11738
11738
  l && "eidotter-nav__panel--open"
11739
11739
  ),
@@ -11752,7 +11752,7 @@ const Wi = {
11752
11752
  a,
11753
11753
  {
11754
11754
  href: c.href,
11755
- className: Q(
11755
+ className: J(
11756
11756
  "eidotter-nav__link",
11757
11757
  e === c.href && "eidotter-nav__link--active"
11758
11758
  ),
@@ -11919,7 +11919,7 @@ const Wi = {
11919
11919
  return /* @__PURE__ */ I(
11920
11920
  "footer",
11921
11921
  {
11922
- className: Q(
11922
+ className: J(
11923
11923
  "font-dos text-sm py-4 px-2 text-center",
11924
11924
  "eidotter-footer",
11925
11925
  r
@@ -12143,7 +12143,7 @@ function lp(t) {
12143
12143
  n[r] = i.usedBy ?? [];
12144
12144
  return n;
12145
12145
  }
12146
- const op = "0.16.1";
12146
+ const op = "0.16.2";
12147
12147
  export {
12148
12148
  Mf as AccordionFill,
12149
12149
  Lf as Alert,