@kosdev-code/kos-ddk-components 0.1.0-dev.5878 → 0.1.0-dev.5879

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/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { jsx as k, jsxs as ot, Fragment as Yt } from "@emotion/react/jsx-runtime";
2
2
  import A from "@emotion/styled";
3
3
  import * as fe from "react";
4
- import ni, { createContext as oi, useContext as Ze, useMemo as Bt, forwardRef as Uo, useState as gt, useRef as Mt, useEffect as Et, useLayoutEffect as ri, useCallback as qt, Suspense as ii } from "react";
4
+ import ni, { createContext as oi, useContext as Je, useMemo as Bt, forwardRef as Uo, useState as gt, useRef as Mt, useEffect as Et, useLayoutEffect as ri, useCallback as qt, Suspense as ii } from "react";
5
5
  import ve from "@emotion/is-prop-valid";
6
6
  import { SuccessIcon as ai, InformationIcon as si, QuestionIcon as ci, USBIcon as di, ChevronLeftIcon as wn, ChevronRightIcon as Ho, CloseIconWithBackground as li, CloseIcon as qo, CompactCloseIcon as ui, CompactMenuIcon as fi, MenuIcon as pi, SuccessIconWithBackground as hi, MessageQuestionIconWithBackground as mi, InformationQuestionIconWithBackground as gi, LoaderIconWithBackground as vi, MessageInformationIconWithBackground as bi, InformationIconWithBackground as yi, ErrorIconWithBackground as Go, DropdownIcon as ki, ErrorIcon as wi, EyeOpenIcon as xi, EyeOffIcon as Si, CloseSidebarIcon as Wo, StepStatus as Ci } from "@kosdev-code/kos-ddk-styles";
7
7
  import { useKosTranslation as oe, kosComponent as Qo, useKosDateFormats as Pi, useKosTimeFormats as Ii } from "@kosdev-code/kos-ui-sdk";
8
8
  import { css as wt } from "@emotion/react";
9
- import { unstable_batchedUpdates as Ei, createPortal as tn } from "react-dom";
9
+ import { unstable_batchedUpdates as Ei, createPortal as Ze } from "react-dom";
10
10
  import { useGesture as Oi } from "@use-gesture/react";
11
11
  import { format as co } from "date-fns";
12
12
  import { useNavigate as Yo, useSearchParams as Ti, useParams as Ai, useLocation as Di } from "react-router-dom";
@@ -22,7 +22,7 @@ const Xo = {
22
22
  children: t,
23
23
  value: n = Xo
24
24
  }) => /* @__PURE__ */ k(Jo.Provider, { value: n, children: t }), Pt = () => {
25
- const t = Ze(Jo);
25
+ const t = Je(Jo);
26
26
  if (!t)
27
27
  throw new Error(
28
28
  "useComponentConfigurationContext must be used within a ComponentConfigurationProvider"
@@ -150,7 +150,7 @@ const Xo = {
150
150
  width: var(--ddk-generic-font-size-large);
151
151
  height: var(--ddk-generic-font-size-large);
152
152
  }
153
- `, en = ({
153
+ `, tn = ({
154
154
  children: t,
155
155
  disabled: n,
156
156
  unitStyle: o = "external",
@@ -539,7 +539,7 @@ const Xo = {
539
539
  color: var(--ddk-component-typography-label-information-color);
540
540
  `, Ql = A(Fi)`
541
541
  color: var(--ddk-component-typography-label-information-color);
542
- `, nn = A.label`
542
+ `, en = A.label`
543
543
  color: var(--ddk-component-typography-label-color);
544
544
  font-family: var(--ddk-component-typography-label-font-family);
545
545
  font-size: var(--ddk-component-typography-label-font-size);
@@ -547,15 +547,15 @@ const Xo = {
547
547
  font-weight: var(--ddk-component-typography-label-font-weight);
548
548
  letter-spacing: var(--ddk-component-typography-label-letter-spacing);
549
549
  line-height: var(--ddk-component-typography-label-line-height);
550
- `, Ui = A(nn)`
550
+ `, Ui = A(en)`
551
551
  font-size: var(--ddk-component-typography-label-font-size-small);
552
- `, zn = A(nn)`
552
+ `, zn = A(en)`
553
553
  font-size: var(--ddk-component-typography-label-font-size-x-small);
554
554
  `, Yl = A(zn)`
555
555
  color: var(--ddk-component-typography-label-date-color);
556
556
  `, Hi = A(zn)`
557
557
  color: var(--ddk-component-typography-label-date-information-color);
558
- `, qi = A(nn)`
558
+ `, qi = A(en)`
559
559
  color: var(--ddk-component-typography-label-information-color);
560
560
  `, Gi = A(Ui)`
561
561
  color: var(--ddk-component-typography-label-information-color);
@@ -617,7 +617,7 @@ const Xo = {
617
617
 
618
618
  color: ${(t) => !(t.active || t.disabled || t.state) && "var(--ddk-component-input-color-hover)"};
619
619
  }
620
- `, on = Uo(
620
+ `, nn = Uo(
621
621
  ({ error: t, isError: n, ...o }, c) => /* @__PURE__ */ ot(Wi, { children: [
622
622
  t && /* @__PURE__ */ k(nr, { children: t }),
623
623
  /* @__PURE__ */ k(Qi, { ref: c, isError: n || !!t, ...o })
@@ -880,7 +880,7 @@ const Xo = {
880
880
  ...h,
881
881
  children: o ?? /* @__PURE__ */ k(aa, {})
882
882
  }
883
- ), rn = ({
883
+ ), on = ({
884
884
  children: t,
885
885
  label: n,
886
886
  size: o = "medium",
@@ -900,7 +900,7 @@ const Xo = {
900
900
  padding: ${(t) => t.contain ? "var(--ddk-component-modal-content-padding)" : "initial"};
901
901
 
902
902
  width: 100%;
903
- `, Ne = ({ align: t, children: n, className: o, size: c }) => {
903
+ `, rn = ({ align: t, children: n, className: o, size: c }) => {
904
904
  const { componentModeOverride: h } = Pt();
905
905
  return /* @__PURE__ */ k(me, { size: c, children: /* @__PURE__ */ k(
906
906
  sa,
@@ -966,7 +966,7 @@ const Xo = {
966
966
  display: flex;
967
967
  flex-direction: var(--ddk-component-modal-header-flex-direction);
968
968
  gap: var(--ddk-component-modal-header-gap);
969
- height: var(--ddk-component-modal-header-height);
969
+ min-height: var(--ddk-component-modal-header-height);
970
970
  justify-content: space-between;
971
971
  padding: ${(t) => t.contain ? "var(--ddk-component-modal-header-padding-maximized)" : "var(--ddk-component-modal-header-padding)"};
972
972
  user-select: none;
@@ -1021,14 +1021,14 @@ const Xo = {
1021
1021
  }
1022
1022
  )
1023
1023
  ] });
1024
- var Fn = Le(), ft = (t) => Be(t, Fn), Vn = Le();
1025
- ft.write = (t) => Be(t, Vn);
1026
- var sn = Le();
1027
- ft.onStart = (t) => Be(t, sn);
1028
- var Kn = Le();
1029
- ft.onFrame = (t) => Be(t, Kn);
1030
- var Un = Le();
1031
- ft.onFinish = (t) => Be(t, Un);
1024
+ var Fn = Be(), ft = (t) => Ne(t, Fn), Vn = Be();
1025
+ ft.write = (t) => Ne(t, Vn);
1026
+ var sn = Be();
1027
+ ft.onStart = (t) => Ne(t, sn);
1028
+ var Kn = Be();
1029
+ ft.onFrame = (t) => Ne(t, Kn);
1030
+ var Un = Be();
1031
+ ft.onFinish = (t) => Ne(t, Un);
1032
1032
  var pe = [];
1033
1033
  ft.setTimeout = (t, n) => {
1034
1034
  const o = ft.now() + n, c = () => {
@@ -1076,7 +1076,7 @@ ft.advance = () => {
1076
1076
  ) : ur();
1077
1077
  };
1078
1078
  var te = -1, ee = 0, Sn = !1;
1079
- function Be(t, n) {
1079
+ function Ne(t, n) {
1080
1080
  Sn ? (n.delete(t), t(0)) : (n.add(t), dr());
1081
1081
  }
1082
1082
  function dr() {
@@ -1098,7 +1098,7 @@ function ur() {
1098
1098
  }
1099
1099
  sn.flush(), Fn.flush(t ? Math.min(64, te - t) : 16.667), Kn.flush(), Vn.flush(), Un.flush();
1100
1100
  }
1101
- function Le() {
1101
+ function Be() {
1102
1102
  let t = /* @__PURE__ */ new Set(), n = t;
1103
1103
  return {
1104
1104
  add(o) {
@@ -1173,19 +1173,19 @@ function Pe(t, n) {
1173
1173
  }
1174
1174
  var Ce = (t, ...n) => Pe(t, (o) => o(...n)), qn = () => typeof window > "u" || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent), Gn, pr, ne = null, hr = !1, Wn = Cn, ga = (t) => {
1175
1175
  t.to && (pr = t.to), t.now && (ft.now = t.now), t.colors !== void 0 && (ne = t.colors), t.skipAnimation != null && (hr = t.skipAnimation), t.createStringInterpolator && (Gn = t.createStringInterpolator), t.requestAnimationFrame && ft.use(t.requestAnimationFrame), t.batchedUpdates && (ft.batchedUpdates = t.batchedUpdates), t.willAdvance && (Wn = t.willAdvance), t.frameLoop && (ft.frameLoop = t.frameLoop);
1176
- }, Ie = /* @__PURE__ */ new Set(), Nt = [], mn = [], Qe = 0, cn = {
1176
+ }, Ie = /* @__PURE__ */ new Set(), Nt = [], mn = [], We = 0, cn = {
1177
1177
  get idle() {
1178
1178
  return !Ie.size && !Nt.length;
1179
1179
  },
1180
1180
  /** Advance the given animation on every frame until idle. */
1181
1181
  start(t) {
1182
- Qe > t.priority ? (Ie.add(t), ft.onStart(va)) : (mr(t), ft(Pn));
1182
+ We > t.priority ? (Ie.add(t), ft.onStart(va)) : (mr(t), ft(Pn));
1183
1183
  },
1184
1184
  /** Advance all animations by the given time. */
1185
1185
  advance: Pn,
1186
1186
  /** Call this when an animation's priority changes. */
1187
1187
  sort(t) {
1188
- if (Qe)
1188
+ if (We)
1189
1189
  ft.onFrame(() => cn.sort(t));
1190
1190
  else {
1191
1191
  const n = Nt.indexOf(t);
@@ -1218,9 +1218,9 @@ function Pn(t) {
1218
1218
  const n = mn;
1219
1219
  for (let o = 0; o < Nt.length; o++) {
1220
1220
  const c = Nt[o];
1221
- Qe = c.priority, c.idle || (Wn(c), c.advance(t), c.idle || n.push(c));
1221
+ We = c.priority, c.idle || (Wn(c), c.advance(t), c.idle || n.push(c));
1222
1222
  }
1223
- return Qe = 0, mn = Nt, mn.length = 0, Nt = n, Nt.length > 0;
1223
+ return We = 0, mn = Nt, mn.length = 0, Nt = n, Nt.length > 0;
1224
1224
  }
1225
1225
  function ba(t, n) {
1226
1226
  const o = t.findIndex(n);
@@ -1377,12 +1377,12 @@ var ya = {
1377
1377
  whitesmoke: 4126537215,
1378
1378
  yellow: 4294902015,
1379
1379
  yellowgreen: 2597139199
1380
- }, Kt = "[-+]?\\d*\\.?\\d+", Ye = Kt + "%";
1380
+ }, Kt = "[-+]?\\d*\\.?\\d+", Qe = Kt + "%";
1381
1381
  function dn(...t) {
1382
1382
  return "\\(\\s*(" + t.join(")\\s*,\\s*(") + ")\\s*\\)";
1383
1383
  }
1384
- var ka = new RegExp("rgb" + dn(Kt, Kt, Kt)), wa = new RegExp("rgba" + dn(Kt, Kt, Kt, Kt)), xa = new RegExp("hsl" + dn(Kt, Ye, Ye)), Sa = new RegExp(
1385
- "hsla" + dn(Kt, Ye, Ye, Kt)
1384
+ var ka = new RegExp("rgb" + dn(Kt, Kt, Kt)), wa = new RegExp("rgba" + dn(Kt, Kt, Kt, Kt)), xa = new RegExp("hsl" + dn(Kt, Qe, Qe)), Sa = new RegExp(
1385
+ "hsla" + dn(Kt, Qe, Qe, Kt)
1386
1386
  ), Ca = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, Pa = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, Ia = /^#([0-9a-fA-F]{6})$/, Ea = /^#([0-9a-fA-F]{8})$/;
1387
1387
  function Oa(t) {
1388
1388
  let n;
@@ -1411,17 +1411,17 @@ function Oa(t) {
1411
1411
  ) >>> 0 : (n = xa.exec(t)) ? (po(
1412
1412
  ho(n[1]),
1413
1413
  // h
1414
- Ue(n[2]),
1414
+ Ke(n[2]),
1415
1415
  // s
1416
- Ue(n[3])
1416
+ Ke(n[3])
1417
1417
  // l
1418
1418
  ) | 255) >>> // a
1419
1419
  0 : (n = Sa.exec(t)) ? (po(
1420
1420
  ho(n[1]),
1421
1421
  // h
1422
- Ue(n[2]),
1422
+ Ke(n[2]),
1423
1423
  // s
1424
- Ue(n[3])
1424
+ Ke(n[3])
1425
1425
  // l
1426
1426
  ) | mo(n[4])) >>> // a
1427
1427
  0 : null;
@@ -1444,7 +1444,7 @@ function mo(t) {
1444
1444
  const n = parseFloat(t);
1445
1445
  return n < 0 ? 0 : n > 1 ? 255 : Math.round(n * 255);
1446
1446
  }
1447
- function Ue(t) {
1447
+ function Ke(t) {
1448
1448
  const n = parseFloat(t);
1449
1449
  return n < 0 ? 0 : n > 100 ? 1 : n / 100;
1450
1450
  }
@@ -1539,7 +1539,7 @@ var br = (t, n, o) => Object.defineProperty(t, n, {
1539
1539
  value: o,
1540
1540
  writable: !0,
1541
1541
  configurable: !0
1542
- }), Ge = /[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, Ra = /(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi, bo = new RegExp(`(${Ge.source})(%|[a-z]+)`, "i"), $a = /rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi, ln = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/, yr = (t) => {
1542
+ }), qe = /[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, Ra = /(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi, bo = new RegExp(`(${qe.source})(%|[a-z]+)`, "i"), $a = /rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi, ln = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/, yr = (t) => {
1543
1543
  const [n, o] = ja(t);
1544
1544
  if (!n || qn())
1545
1545
  return t;
@@ -1570,7 +1570,7 @@ var br = (t, n, o) => Object.defineProperty(t, n, {
1570
1570
  // never match
1571
1571
  /^\b$/
1572
1572
  ));
1573
- const n = t.output.map((b) => Rt(b).replace(ln, yr).replace(Ra, go).replace(vn, go)), o = n.map((b) => b.match(Ge).map(Number)), h = o[0].map(
1573
+ const n = t.output.map((b) => Rt(b).replace(ln, yr).replace(Ra, go).replace(vn, go)), o = n.map((b) => b.match(qe).map(Number)), h = o[0].map(
1574
1574
  (b, S) => o.map((P) => {
1575
1575
  if (!(S in P))
1576
1576
  throw Error('The arity of each "output" value must be equal');
@@ -1581,10 +1581,10 @@ var br = (t, n, o) => Object.defineProperty(t, n, {
1581
1581
  );
1582
1582
  return (b) => {
1583
1583
  var z;
1584
- const S = !bo.test(n[0]) && ((z = n.find(($) => bo.test($))) == null ? void 0 : z.replace(Ge, ""));
1584
+ const S = !bo.test(n[0]) && ((z = n.find(($) => bo.test($))) == null ? void 0 : z.replace(qe, ""));
1585
1585
  let P = 0;
1586
1586
  return n[0].replace(
1587
- Ge,
1587
+ qe,
1588
1588
  () => `${h[P++](b)}${S || ""}`
1589
1589
  ).replace($a, za);
1590
1590
  };
@@ -1662,13 +1662,13 @@ var _e = Symbol.for("Animated:node"), qa = (t) => !!t && t[_e] === t, Ht = (t) =
1662
1662
  getPayload() {
1663
1663
  return this.payload || [];
1664
1664
  }
1665
- }, Fe = class extends xr {
1665
+ }, Le = class extends xr {
1666
1666
  constructor(t) {
1667
1667
  super(), this._value = t, this.done = !0, this.durationProgress = 0, tt.num(this._value) && (this.lastPosition = this._value);
1668
1668
  }
1669
1669
  /** @internal */
1670
1670
  static create(t) {
1671
- return new Fe(t);
1671
+ return new Le(t);
1672
1672
  }
1673
1673
  getPayload() {
1674
1674
  return [this];
@@ -1683,7 +1683,7 @@ var _e = Symbol.for("Animated:node"), qa = (t) => !!t && t[_e] === t, Ht = (t) =
1683
1683
  const { done: t } = this;
1684
1684
  this.done = !1, tt.num(this._value) && (this.elapsedTime = 0, this.durationProgress = 0, this.lastPosition = this._value, t && (this.lastVelocity = null), this.v0 = null);
1685
1685
  }
1686
- }, Re = class extends Fe {
1686
+ }, Re = class extends Le {
1687
1687
  constructor(t) {
1688
1688
  super(0), this._string = null, this._toString = Te({
1689
1689
  output: [t, t]
@@ -1713,7 +1713,7 @@ var _e = Symbol.for("Animated:node"), qa = (t) => !!t && t[_e] === t, Ht = (t) =
1713
1713
  output: [this.getValue(), t]
1714
1714
  })), this._value = 0, super.reset();
1715
1715
  }
1716
- }, Xe = { dependencies: null }, pn = class extends xr {
1716
+ }, Ye = { dependencies: null }, pn = class extends xr {
1717
1717
  constructor(t) {
1718
1718
  super(), this.source = t, this.setValue(t);
1719
1719
  }
@@ -1739,7 +1739,7 @@ var _e = Symbol.for("Animated:node"), qa = (t) => !!t && t[_e] === t, Ht = (t) =
1739
1739
  }
1740
1740
  /** Add to a payload set. */
1741
1741
  _addToPayload(t) {
1742
- Xe.dependencies && zt(t) && Xe.dependencies.add(t);
1742
+ Ye.dependencies && zt(t) && Ye.dependencies.add(t);
1743
1743
  const n = fn(t);
1744
1744
  n && lt(n, (o) => this.add(o));
1745
1745
  }
@@ -1760,11 +1760,11 @@ var _e = Symbol.for("Animated:node"), qa = (t) => !!t && t[_e] === t, Ht = (t) =
1760
1760
  }
1761
1761
  };
1762
1762
  function Ga(t) {
1763
- return (un(t) ? Re : Fe).create(t);
1763
+ return (un(t) ? Re : Le).create(t);
1764
1764
  }
1765
1765
  function En(t) {
1766
1766
  const n = Ht(t);
1767
- return n ? n.constructor : tt.arr(t) ? Sr : un(t) ? Re : Fe;
1767
+ return n ? n.constructor : tt.arr(t) ? Sr : un(t) ? Re : Le;
1768
1768
  }
1769
1769
  var yo = (t, n) => {
1770
1770
  const o = (
@@ -1807,10 +1807,10 @@ var yo = (t, n) => {
1807
1807
  };
1808
1808
  function Qa(t, n) {
1809
1809
  const o = /* @__PURE__ */ new Set();
1810
- return Xe.dependencies = o, t.style && (t = {
1810
+ return Ye.dependencies = o, t.style && (t = {
1811
1811
  ...t,
1812
1812
  style: n.createAnimatedStyle(t.style)
1813
- }), t = new pn(t), Xe.dependencies = null, [t, o];
1813
+ }), t = new pn(t), Ye.dependencies = null, [t, o];
1814
1814
  }
1815
1815
  function Ya(t, n) {
1816
1816
  return t && (tt.fun(t) ? t(n) : t.current = n), n;
@@ -2160,7 +2160,7 @@ var Co = class extends Error {
2160
2160
  }
2161
2161
  get velocity() {
2162
2162
  const t = Ht(this);
2163
- return t instanceof Fe ? t.lastVelocity || 0 : t.getPayload().map((n) => n.lastVelocity || 0);
2163
+ return t instanceof Le ? t.lastVelocity || 0 : t.getPayload().map((n) => n.lastVelocity || 0);
2164
2164
  }
2165
2165
  /**
2166
2166
  * When true, this value has been animated at least once.
@@ -2736,17 +2736,17 @@ function Nr(t, n) {
2736
2736
  zr(t.springs, o, (c) => jr(c, t));
2737
2737
  });
2738
2738
  }
2739
- var Ve = ({
2739
+ var Fe = ({
2740
2740
  children: t,
2741
2741
  ...n
2742
2742
  }) => {
2743
- const o = Ze(Je), c = n.pause || !!o.pause, h = n.immediate || !!o.immediate;
2743
+ const o = Je(Xe), c = n.pause || !!o.pause, h = n.immediate || !!o.immediate;
2744
2744
  n = Ka(() => ({ pause: c, immediate: h }), [c, h]);
2745
- const { Provider: b } = Je;
2745
+ const { Provider: b } = Xe;
2746
2746
  return /* @__PURE__ */ fe.createElement(b, { value: n }, t);
2747
- }, Je = us(Ve, {});
2748
- Ve.Provider = Je.Provider;
2749
- Ve.Consumer = Je.Consumer;
2747
+ }, Xe = us(Fe, {});
2748
+ Fe.Provider = Xe.Provider;
2749
+ Fe.Consumer = Xe.Consumer;
2750
2750
  function us(t, n) {
2751
2751
  return Object.assign(t, fe.createContext(n)), t.Provider._context = t, t.Consumer._context = t, t;
2752
2752
  }
@@ -2831,7 +2831,7 @@ function fs(t, n, o) {
2831
2831
  p && ($[u] = ss(p));
2832
2832
  }
2833
2833
  }
2834
- const s = z.current.map((i, d) => $n(i, $[d])), m = Ze(Ve), e = In(m), r = m !== e && Ir(m);
2834
+ const s = z.current.map((i, d) => $n(i, $[d])), m = Je(Fe), e = In(m), r = m !== e && Ir(m);
2835
2835
  se(() => {
2836
2836
  b.current++, P.ctrls = z.current;
2837
2837
  const { queue: i } = P;
@@ -2966,7 +2966,7 @@ function no(t, n, o) {
2966
2966
  const ct = $n(M.ctrl, rt);
2967
2967
  J === "leave" && z ? I.current.set(M, { phase: J, springs: ct, payload: rt }) : y.set(M, { phase: J, springs: ct, payload: rt });
2968
2968
  });
2969
- const O = Ze(Ve), D = In(O), N = O !== D && Ir(O);
2969
+ const O = Je(Fe), D = In(O), N = O !== D && Ir(O);
2970
2970
  se(() => {
2971
2971
  N && lt(e, (M) => {
2972
2972
  M.ctrl.start({ default: O });
@@ -3150,13 +3150,13 @@ var Oe = {
3150
3150
  strokeWidth: !0
3151
3151
  }, ys = (t, n) => t + n.charAt(0).toUpperCase() + n.substring(1), ks = ["Webkit", "Ms", "Moz", "O"];
3152
3152
  Oe = Object.keys(Oe).reduce((t, n) => (ks.forEach((o) => t[ys(o, n)] = t[n]), t), Oe);
3153
- var ws = /^(matrix|translate|scale|rotate|skew)/, xs = /^(translate)/, Ss = /^(rotate|skew)/, kn = (t, n) => tt.num(t) && t !== 0 ? t + n : t, We = (t, n) => tt.arr(t) ? t.every((o) => We(o, n)) : tt.num(t) ? t === n : parseFloat(t) === n, Cs = class extends pn {
3153
+ var ws = /^(matrix|translate|scale|rotate|skew)/, xs = /^(translate)/, Ss = /^(rotate|skew)/, kn = (t, n) => tt.num(t) && t !== 0 ? t + n : t, Ge = (t, n) => tt.arr(t) ? t.every((o) => Ge(o, n)) : tt.num(t) ? t === n : parseFloat(t) === n, Cs = class extends pn {
3154
3154
  constructor({ x: t, y: n, z: o, ...c }) {
3155
3155
  const h = [], b = [];
3156
3156
  (t || n || o) && (h.push([t || 0, n || 0, o || 0]), b.push((S) => [
3157
3157
  `translate3d(${S.map((P) => kn(P, "px")).join(",")})`,
3158
3158
  // prettier-ignore
3159
- We(S, 0)
3159
+ Ge(S, 0)
3160
3160
  ])), Gt(c, (S, P) => {
3161
3161
  if (P === "transform")
3162
3162
  h.push([S || ""]), b.push((z) => [z, z === ""]);
@@ -3167,10 +3167,10 @@ var ws = /^(matrix|translate|scale|rotate|skew)/, xs = /^(translate)/, Ss = /^(r
3167
3167
  h.push(Dt(S)), b.push(
3168
3168
  P === "rotate3d" ? ([$, _, Y, s]) => [
3169
3169
  `rotate3d(${$},${_},${Y},${kn(s, z)})`,
3170
- We(s, 0)
3170
+ Ge(s, 0)
3171
3171
  ] : ($) => [
3172
3172
  `${P}(${$.map((_) => kn(_, z)).join(",")})`,
3173
- We($, P.startsWith("scale") ? 1 : 0)
3173
+ Ge($, P.startsWith("scale") ? 1 : 0)
3174
3174
  ]
3175
3175
  );
3176
3176
  }
@@ -3361,7 +3361,7 @@ var Es = Xa(Is, {
3361
3361
  createAnimatedStyle: (t) => new Cs(t),
3362
3362
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
3363
3363
  getComponentProps: ({ scrollTop: t, scrollLeft: n, ...o }) => o
3364
- }), Ke = Es.animated;
3364
+ }), Ve = Es.animated;
3365
3365
  const Os = A.div`
3366
3366
  display: flex;
3367
3367
  flex-direction: column;
@@ -3455,10 +3455,10 @@ const Os = A.div`
3455
3455
  onDestroyed: S,
3456
3456
  immediate: !s
3457
3457
  });
3458
- return tn(
3458
+ return Ze(
3459
3459
  m(
3460
3460
  (e, r) => r && /* @__PURE__ */ k(
3461
- Ke.div,
3461
+ Ve.div,
3462
3462
  {
3463
3463
  css: Ts(h, s),
3464
3464
  style: e,
@@ -3490,13 +3490,13 @@ const Os = A.div`
3490
3490
  flex-direction: column;
3491
3491
  overflow-y: auto;
3492
3492
  overflow-x: hidden;
3493
- gap: 40px;
3493
+ gap: var(--ddk-component-base-modal-container-gap);
3494
3494
  height: 100%;
3495
3495
  `, Ms = A(le)`
3496
3496
  --ddk-component-modal-min-height: var(
3497
3497
  --ddk-component-workflow-modal-min-height
3498
3498
  );
3499
- `, _s = A(Ne)`
3499
+ `, _s = A(rn)`
3500
3500
  align-items: center;
3501
3501
  gap: 24px;
3502
3502
  `, Rs = {
@@ -3564,10 +3564,10 @@ const Os = A.div`
3564
3564
  title: z
3565
3565
  }
3566
3566
  ),
3567
- /* @__PURE__ */ k(Ne, { children: /* @__PURE__ */ ot(_s, { children: [
3567
+ /* @__PURE__ */ ot(_s, { contain: _ === "compact", children: [
3568
3568
  js(P, o),
3569
3569
  c
3570
- ] }) }),
3570
+ ] }),
3571
3571
  /* @__PURE__ */ k(an, { children: n })
3572
3572
  ] })
3573
3573
  }
@@ -3766,13 +3766,13 @@ const Os = A.div`
3766
3766
  ]
3767
3767
  }
3768
3768
  );
3769
- }, fu = (t) => /* @__PURE__ */ k(Kr, { ...t }), pu = (t) => /* @__PURE__ */ k(Kr, { ...t }), He = 10, Gs = A(Ke.div)`
3769
+ }, fu = (t) => /* @__PURE__ */ k(Kr, { ...t }), pu = (t) => /* @__PURE__ */ k(Kr, { ...t }), Ue = 10, Gs = A(Ve.div)`
3770
3770
  overflow: hidden;
3771
3771
  position: relative;
3772
3772
  touch-action: none;
3773
3773
  user-select: none;
3774
3774
  width: 100%;
3775
- `, Ws = A(Ke.div)`
3775
+ `, Ws = A(Ve.div)`
3776
3776
  align-items: center;
3777
3777
  display: flex;
3778
3778
  justify-content: center;
@@ -3851,7 +3851,7 @@ const Os = A.div`
3851
3851
  onDrag: ({ delta: [, E], down: V, movement: [L, X] }) => {
3852
3852
  if (!V)
3853
3853
  return;
3854
- (Math.abs(L) > He || Math.abs(X) > He) && (i.current = !0), C.current = I(C.current - E);
3854
+ (Math.abs(L) > Ue || Math.abs(X) > Ue) && (i.current = !0), C.current = I(C.current - E);
3855
3855
  const G = Math.floor(C.current / h);
3856
3856
  G !== f && (p(G), _ == null || _(v(G)), D.start({
3857
3857
  value: y(G),
@@ -3864,7 +3864,7 @@ const Os = A.div`
3864
3864
  direction: [, V],
3865
3865
  movement: [L, X]
3866
3866
  }) => {
3867
- if (Math.abs(L) < He && Math.abs(X) < He)
3867
+ if (Math.abs(L) < Ue && Math.abs(X) < Ue)
3868
3868
  return;
3869
3869
  C.current = I(
3870
3870
  C.current - E * V * 10
@@ -3930,7 +3930,7 @@ const Os = A.div`
3930
3930
  children: t,
3931
3931
  Icon: n,
3932
3932
  ...o
3933
- }) => /* @__PURE__ */ ot(en, { ...o, children: [
3933
+ }) => /* @__PURE__ */ ot(tn, { ...o, children: [
3934
3934
  t || /* @__PURE__ */ k("span", {}),
3935
3935
  n ? /* @__PURE__ */ k(n, {}) : /* @__PURE__ */ k(ki, {})
3936
3936
  ] }), Qs = A.div`
@@ -4251,7 +4251,7 @@ const qr = (t) => t <= 5 ? "var(--ddk-semantic-color-system-red)" : t <= 20 ? "v
4251
4251
  subtext: h,
4252
4252
  subtextColor: b
4253
4253
  }) => {
4254
- const { componentModeOverride: S } = Pt(), P = S === "compact", z = S === "standard" || c, $ = n === "small" ? 5 : 10, _ = n === "small" ? tr : nn, Y = n === "small" ? Bi : qi;
4254
+ const { componentModeOverride: S } = Pt(), P = S === "compact", z = S === "standard" || c, $ = n === "small" ? 5 : 10, _ = n === "small" ? tr : en, Y = n === "small" ? Bi : qi;
4255
4255
  return b = b ?? t, /* @__PURE__ */ ot(lc, { children: [
4256
4256
  /* @__PURE__ */ ot(pc, { children: [
4257
4257
  /* @__PURE__ */ ot(
@@ -4319,10 +4319,10 @@ const qr = (t) => t <= 5 ? "var(--ddk-semantic-color-system-red)" : t <= 20 ? "v
4319
4319
  leave: { opacity: 0 },
4320
4320
  onDestroyed: c
4321
4321
  });
4322
- return tn(
4322
+ return Ze(
4323
4323
  b(
4324
4324
  (S, P) => P && /* @__PURE__ */ k(
4325
- Ke.div,
4325
+ Ve.div,
4326
4326
  {
4327
4327
  css: hc,
4328
4328
  style: S,
@@ -4420,6 +4420,7 @@ const qr = (t) => t <= 5 ? "var(--ddk-semantic-color-system-red)" : t <= 20 ? "v
4420
4420
  padding: var(--ddk-generic-padding-large) var(--ddk-generic-padding-x-large);
4421
4421
  display: flex;
4422
4422
  align-items: flex-start;
4423
+ min-height: initial;
4423
4424
  `, xc = A(Go)`
4424
4425
  background-color: var(--ddk-semantic-color-system-orange);
4425
4426
  box-sizing: border-box;
@@ -4431,7 +4432,7 @@ const qr = (t) => t <= 5 ? "var(--ddk-semantic-color-system-red)" : t <= 20 ? "v
4431
4432
  flex: 1;
4432
4433
  `, Cu = ({ children: t, ...n }) => {
4433
4434
  const { componentModeOverride: o } = Pt();
4434
- return /* @__PURE__ */ ot(wc, { collapse: o === "compact", ...n, children: [
4435
+ return /* @__PURE__ */ ot(wc, { ...n, children: [
4435
4436
  /* @__PURE__ */ k(xc, {}),
4436
4437
  /* @__PURE__ */ k(Sc, { children: t })
4437
4438
  ] });
@@ -7733,7 +7734,7 @@ const Ic = (t) => wt`
7733
7734
  o && /* @__PURE__ */ k(Bn, { children: o })
7734
7735
  ] }),
7735
7736
  /* @__PURE__ */ k(Rc, { children: /* @__PURE__ */ k(
7736
- en,
7737
+ tn,
7737
7738
  {
7738
7739
  css: Ac,
7739
7740
  disabled: c,
@@ -7758,7 +7759,7 @@ const Ic = (t) => wt`
7758
7759
  /* @__PURE__ */ k(
7759
7760
  de,
7760
7761
  {
7761
- CloseButton: I === "compact" ? rn : void 0,
7762
+ CloseButton: I === "compact" ? on : void 0,
7762
7763
  closeButtonLabel: t,
7763
7764
  onClose: () => d(!0),
7764
7765
  showCloseButton: !0,
@@ -7769,7 +7770,7 @@ const Ic = (t) => wt`
7769
7770
  /* @__PURE__ */ ot($o, { children: [
7770
7771
  p && /* @__PURE__ */ k(nr, { children: p }),
7771
7772
  /* @__PURE__ */ k(
7772
- on,
7773
+ nn,
7773
7774
  {
7774
7775
  ref: y,
7775
7776
  type: "text",
@@ -7921,7 +7922,7 @@ const Ic = (t) => wt`
7921
7922
  c(!o);
7922
7923
  };
7923
7924
  return /* @__PURE__ */ ot(Lc, { style: t, children: [
7924
- /* @__PURE__ */ k(on, { ...n, readOnly: !0, type: o ? "text" : "password" }),
7925
+ /* @__PURE__ */ k(nn, { ...n, readOnly: !0, type: o ? "text" : "password" }),
7925
7926
  o ? /* @__PURE__ */ k(Si, { onPointerDown: h }) : /* @__PURE__ */ k(xi, { onPointerDown: h })
7926
7927
  ] });
7927
7928
  }, Fc = wt`
@@ -8090,10 +8091,10 @@ const Ic = (t) => wt`
8090
8091
  showCloseButton: !0,
8091
8092
  onClose: () => C(),
8092
8093
  closeButtonLabel: o,
8093
- CloseButton: d === "compact" ? rn : void 0
8094
+ CloseButton: d === "compact" ? on : void 0
8094
8095
  }
8095
8096
  ),
8096
- /* @__PURE__ */ k(Ne, { children: /* @__PURE__ */ k(
8097
+ /* @__PURE__ */ k(rn, { children: /* @__PURE__ */ k(
8097
8098
  Uc,
8098
8099
  {
8099
8100
  dials: c,
@@ -8205,7 +8206,7 @@ const Ic = (t) => wt`
8205
8206
  }
8206
8207
  ),
8207
8208
  /* @__PURE__ */ ot(Zc, { children: [
8208
- /* @__PURE__ */ k(on, { value: h }),
8209
+ /* @__PURE__ */ k(nn, { value: h }),
8209
8210
  /* @__PURE__ */ k(ro, { layout: "numLogin", onKeyReleased: (z) => {
8210
8211
  h && (h == null ? void 0 : h.length) < 0 && z !== "{bksp}" && z !== "{enter}" || S(z);
8211
8212
  } })
@@ -8282,11 +8283,11 @@ const Ic = (t) => wt`
8282
8283
  showCloseButton: !0,
8283
8284
  onClose: () => d(!1),
8284
8285
  closeButtonLabel: n,
8285
- CloseButton: a === "compact" ? rn : void 0
8286
+ CloseButton: a === "compact" ? on : void 0
8286
8287
  }
8287
8288
  ),
8288
8289
  /* @__PURE__ */ ot(ed, { children: [
8289
- /* @__PURE__ */ k(Ne, { children: /* @__PURE__ */ k(
8290
+ /* @__PURE__ */ k(rn, { children: /* @__PURE__ */ k(
8290
8291
  Yr,
8291
8292
  {
8292
8293
  enableAnimation: b,
@@ -8326,7 +8327,7 @@ const Ic = (t) => wt`
8326
8327
  }) => /* @__PURE__ */ ot(Yt, { children: [
8327
8328
  /* @__PURE__ */ k(n, {}),
8328
8329
  /* @__PURE__ */ k(nd, { children: t })
8329
- ] }), od = ({ children: t }) => tn(t, document.body), rd = A.div`
8330
+ ] }), od = ({ children: t }) => Ze(t, document.body), rd = A.div`
8330
8331
  align-items: center;
8331
8332
  background-color: var(--ddk-component-status-bar-container-background-color);
8332
8333
  bottom: 0;
@@ -8359,7 +8360,7 @@ const Ic = (t) => wt`
8359
8360
  const [h, b] = gt(!0);
8360
8361
  return Et(() => {
8361
8362
  b(!!c);
8362
- }, [c]), h ? tn(
8363
+ }, [c]), h ? Ze(
8363
8364
  /* @__PURE__ */ k(
8364
8365
  rd,
8365
8366
  {
@@ -8437,7 +8438,7 @@ const Ic = (t) => wt`
8437
8438
  }, Ru = (t) => {
8438
8439
  const { t: n } = oe("common");
8439
8440
  return /* @__PURE__ */ k(ud, { cancelLabel: n("cancel"), ...t });
8440
- }, fd = A(en)`
8441
+ }, fd = A(tn)`
8441
8442
  align-items: center;
8442
8443
 
8443
8444
  background-color: ${(t) => t.active ? "var(--ddk-component-radio-card-background-color-active)" : "var(--ddk-component-radio-card-background-color)"};
@@ -8570,7 +8571,7 @@ const Ic = (t) => wt`
8570
8571
  border-collapse: collapse;
8571
8572
  `, Bo = wt`
8572
8573
  border-bottom: 1px solid var(--ddk-generic-color-grey-30);
8573
- `, qe = wt`
8574
+ `, He = wt`
8574
8575
  padding: var(--ddk-component-schedule-table-div-padding);
8575
8576
  font-size: var(--ddk-generic-font-size-x-small);
8576
8577
  font-weight: var(--ddk-generic-font-weight-medium);
@@ -8599,17 +8600,17 @@ const Ic = (t) => wt`
8599
8600
  /* @__PURE__ */ k("tr", { children: /* @__PURE__ */ k(wd, { headings: c }) })
8600
8601
  ] }),
8601
8602
  /* @__PURE__ */ k("tbody", { children: o == null ? void 0 : o.map((h, b) => /* @__PURE__ */ ot("tr", { css: Bo, children: [
8602
- /* @__PURE__ */ k("td", { css: [qe, Cd], children: h == null ? void 0 : h.day }),
8603
- /* @__PURE__ */ k("td", { css: [qe, Pd], children: /* @__PURE__ */ k(Jr, { checked: h == null ? void 0 : h.isTrue }) }),
8604
- /* @__PURE__ */ k("td", { css: qe, children: /* @__PURE__ */ k(xn, { css: Lo, children: h == null ? void 0 : h.openTime }) }),
8605
- /* @__PURE__ */ k("td", { css: qe, children: /* @__PURE__ */ k(xn, { css: Lo, children: h == null ? void 0 : h.closeTime }) })
8603
+ /* @__PURE__ */ k("td", { css: [He, Cd], children: h == null ? void 0 : h.day }),
8604
+ /* @__PURE__ */ k("td", { css: [He, Pd], children: /* @__PURE__ */ k(Jr, { checked: h == null ? void 0 : h.isTrue }) }),
8605
+ /* @__PURE__ */ k("td", { css: He, children: /* @__PURE__ */ k(xn, { css: Lo, children: h == null ? void 0 : h.openTime }) }),
8606
+ /* @__PURE__ */ k("td", { css: He, children: /* @__PURE__ */ k(xn, { css: Lo, children: h == null ? void 0 : h.closeTime }) })
8606
8607
  ] }, b)) })
8607
8608
  ] }) }), Id = ({
8608
8609
  children: t,
8609
8610
  label: n,
8610
8611
  size: o = "medium",
8611
8612
  ...c
8612
- }) => /* @__PURE__ */ k(be, { icon: Wo, size: o, ...c, children: n }), Ed = Ke(Xi), Od = A.div`
8613
+ }) => /* @__PURE__ */ k(be, { icon: Wo, size: o, ...c, children: n }), Ed = Ve(Xi), Od = A.div`
8613
8614
  background: transparent;
8614
8615
  position: fixed;
8615
8616
  top: 0;
@@ -8637,7 +8638,7 @@ const Ic = (t) => wt`
8637
8638
  font-family: var(--ddk-component-input-action-item-font-family);
8638
8639
  `, Nu = ({ label: t, value: n }) => /* @__PURE__ */ ot(At, { children: [
8639
8640
  t,
8640
- /* @__PURE__ */ k(en, { css: Td, children: n })
8641
+ /* @__PURE__ */ k(tn, { css: Td, children: n })
8641
8642
  ] }), Ad = A.div`
8642
8643
  display: flex;
8643
8644
  flex-direction: column;
@@ -9055,11 +9056,11 @@ const Ic = (t) => wt`
9055
9056
  showCloseButton: !0,
9056
9057
  onClose: () => d(!1),
9057
9058
  closeButtonLabel: n,
9058
- CloseButton: a === "compact" ? rn : void 0
9059
+ CloseButton: a === "compact" ? on : void 0
9059
9060
  }
9060
9061
  ),
9061
9062
  /* @__PURE__ */ ot(tl, { children: [
9062
- /* @__PURE__ */ ot(Ne, { children: [
9063
+ /* @__PURE__ */ ot(rn, { children: [
9063
9064
  /* @__PURE__ */ k(
9064
9065
  ao,
9065
9066
  {
@@ -9301,7 +9302,7 @@ const Ic = (t) => wt`
9301
9302
  ),
9302
9303
  /* @__PURE__ */ ot(cl, { children: [
9303
9304
  c && /* @__PURE__ */ k(ao, { ...b }),
9304
- /* @__PURE__ */ k(on, { value: S, isError: z })
9305
+ /* @__PURE__ */ k(nn, { value: S, isError: z })
9305
9306
  ] }),
9306
9307
  /* @__PURE__ */ k(ro, { layout: "numLogin", onKeyReleased: s }),
9307
9308
  /* @__PURE__ */ ot(an, { children: [
@@ -9431,7 +9432,7 @@ const Ic = (t) => wt`
9431
9432
  export {
9432
9433
  cu as ActionCard,
9433
9434
  xn as ActionItem,
9434
- en as ActionItemButton,
9435
+ tn as ActionItemButton,
9435
9436
  lo as ActionItemButtonStyles,
9436
9437
  fu as AgitatorDashboardCard,
9437
9438
  _o as AvailableText,
@@ -9456,13 +9457,13 @@ export {
9456
9457
  Hs as CardNav,
9457
9458
  Vs as CardTitle,
9458
9459
  ar as CloseButton,
9459
- rn as CompactCloseButton,
9460
+ on as CompactCloseButton,
9460
9461
  Jo as ComponentConfigurationContext,
9461
9462
  Dl as ComponentConfigurationProvider,
9462
9463
  lu as ConfirmationModal,
9463
9464
  lu as ConfirmationModalContainer,
9464
9465
  me as Container,
9465
- Ne as Content,
9466
+ rn as Content,
9466
9467
  Ls as DashboardCardContainer,
9467
9468
  Bn as Description,
9468
9469
  Ur as Dial,
@@ -9495,7 +9496,7 @@ export {
9495
9496
  Cu as InfoMessage,
9496
9497
  ic as InfoTable,
9497
9498
  jl as InformationIconStyle,
9498
- on as Input,
9499
+ nn as Input,
9499
9500
  jc as InputCard,
9500
9501
  jc as InputCardContainer,
9501
9502
  Iu as InputRangeCard,
@@ -9504,7 +9505,7 @@ export {
9504
9505
  Ou as InputTypePassword,
9505
9506
  Jl as InstructionCard,
9506
9507
  ro as Keyboard,
9507
- nn as Label,
9508
+ en as Label,
9508
9509
  Yl as LabelDate,
9509
9510
  Hi as LabelDateInformation,
9510
9511
  zn as LabelExtraSmall,
@@ -9516,6 +9517,7 @@ export {
9516
9517
  Zl as ListContainer,
9517
9518
  da as MenuButton,
9518
9519
  le as Modal,
9520
+ Ds as ModalContainer,
9519
9521
  Vc as MultiDial,
9520
9522
  Uc as MultiPicker,
9521
9523
  Tu as MultiPickerCard,