@youversion/design-system-components 0.0.6 → 0.0.8

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
@@ -1,6 +1,6 @@
1
1
  import y from "clsx";
2
2
  import F, { forwardRef as L, createElement as D, useRef as be, useEffect as xe, useMemo as Dt, cloneElement as It } from "react";
3
- const me = (t) => {
3
+ const ge = (t) => {
4
4
  if (t) {
5
5
  if (typeof t != "string" && t)
6
6
  return y(t.lightMode, t.darkMode);
@@ -14,18 +14,18 @@ const me = (t) => {
14
14
  if (typeof t == "string")
15
15
  return t;
16
16
  }
17
- }, $t = ({
17
+ }, Vt = ({
18
18
  background: t,
19
19
  borderColor: o,
20
20
  borderRadius: i,
21
- borderWidth: n,
21
+ borderWidth: a,
22
22
  className: l,
23
- component: f = "div",
24
- color: s,
25
- elevation: d = 0,
23
+ component: c = "div",
24
+ color: d,
25
+ elevation: f = 0,
26
26
  height: p,
27
27
  margin: h,
28
- padding: c,
28
+ padding: u,
29
29
  width: x,
30
30
  ...T
31
31
  }, B) => {
@@ -36,27 +36,27 @@ const me = (t) => {
36
36
  4: "shadow-light-4 dark:shadow-dark-4",
37
37
  8: "shadow-light-8 dark:shadow-dark-8",
38
38
  12: "shadow-light-12 dark:shadow-dark-12"
39
- }, Y = me(s), $ = me(t), O = me(o), w = Ue(c), U = Ue(h), V = y(
39
+ }, Y = ge(d), V = ge(t), O = ge(o), w = Ue(u), U = Ue(h), W = y(
40
40
  i,
41
- n,
42
- R[d],
41
+ a,
42
+ R[f],
43
43
  U,
44
44
  w,
45
45
  Y,
46
- $,
46
+ V,
47
47
  O,
48
48
  x,
49
49
  p,
50
50
  l
51
51
  );
52
- return D(f, {
53
- className: V,
52
+ return D(c, {
53
+ className: W,
54
54
  ...T,
55
55
  ref: B
56
56
  });
57
- }, tt = L($t);
57
+ }, tt = L(Vt);
58
58
  tt.displayName = "Box";
59
- var G = {}, Vt = {
59
+ var G = {}, Wt = {
60
60
  get exports() {
61
61
  return G;
62
62
  },
@@ -74,22 +74,22 @@ var G = {}, Vt = {
74
74
  * LICENSE file in the root directory of this source tree.
75
75
  */
76
76
  var qe;
77
- function Wt() {
77
+ function At() {
78
78
  if (qe)
79
79
  return J;
80
80
  qe = 1;
81
- var t = F, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, l = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, f = { key: !0, ref: !0, __self: !0, __source: !0 };
82
- function s(d, p, h) {
83
- var c, x = {}, T = null, B = null;
81
+ var t = F, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, l = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
82
+ function d(f, p, h) {
83
+ var u, x = {}, T = null, B = null;
84
84
  h !== void 0 && (T = "" + h), p.key !== void 0 && (T = "" + p.key), p.ref !== void 0 && (B = p.ref);
85
- for (c in p)
86
- n.call(p, c) && !f.hasOwnProperty(c) && (x[c] = p[c]);
87
- if (d && d.defaultProps)
88
- for (c in p = d.defaultProps, p)
89
- x[c] === void 0 && (x[c] = p[c]);
90
- return { $$typeof: o, type: d, key: T, ref: B, props: x, _owner: l.current };
85
+ for (u in p)
86
+ a.call(p, u) && !c.hasOwnProperty(u) && (x[u] = p[u]);
87
+ if (f && f.defaultProps)
88
+ for (u in p = f.defaultProps, p)
89
+ x[u] === void 0 && (x[u] = p[u]);
90
+ return { $$typeof: o, type: f, key: T, ref: B, props: x, _owner: l.current };
91
91
  }
92
- return J.Fragment = i, J.jsx = s, J.jsxs = s, J;
92
+ return J.Fragment = i, J.jsx = d, J.jsxs = d, J;
93
93
  }
94
94
  var z = {};
95
95
  /**
@@ -102,10 +102,10 @@ var z = {};
102
102
  * LICENSE file in the root directory of this source tree.
103
103
  */
104
104
  var Ke;
105
- function At() {
105
+ function $t() {
106
106
  return Ke || (Ke = 1, process.env.NODE_ENV !== "production" && function() {
107
- var t = F, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), d = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), R = Symbol.iterator, Y = "@@iterator";
108
- function $(e) {
107
+ var t = F, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), f = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), R = Symbol.iterator, Y = "@@iterator";
108
+ function V(e) {
109
109
  if (e === null || typeof e != "object")
110
110
  return null;
111
111
  var r = R && e[R] || e[Y];
@@ -114,36 +114,36 @@ function At() {
114
114
  var O = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
115
115
  function w(e) {
116
116
  {
117
- for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), u = 1; u < r; u++)
118
- a[u - 1] = arguments[u];
119
- U("error", e, a);
117
+ for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
118
+ n[s - 1] = arguments[s];
119
+ U("error", e, n);
120
120
  }
121
121
  }
122
- function U(e, r, a) {
122
+ function U(e, r, n) {
123
123
  {
124
- var u = O.ReactDebugCurrentFrame, b = u.getStackAddendum();
125
- b !== "" && (r += "%s", a = a.concat([b]));
126
- var k = a.map(function(g) {
127
- return String(g);
124
+ var s = O.ReactDebugCurrentFrame, b = s.getStackAddendum();
125
+ b !== "" && (r += "%s", n = n.concat([b]));
126
+ var k = n.map(function(v) {
127
+ return String(v);
128
128
  });
129
129
  k.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, k);
130
130
  }
131
131
  }
132
- var V = !1, oe = !1, W = !1, H = !1, st = !1, he;
132
+ var W = !1, oe = !1, A = !1, H = !1, st = !1, he;
133
133
  he = Symbol.for("react.module.reference");
134
134
  function ut(e) {
135
- return !!(typeof e == "string" || typeof e == "function" || e === n || e === f || st || e === l || e === h || e === c || H || e === B || V || oe || W || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === x || e.$$typeof === s || e.$$typeof === d || e.$$typeof === p || // This needs to include all possible module reference object
135
+ return !!(typeof e == "string" || typeof e == "function" || e === a || e === c || st || e === l || e === h || e === u || H || e === B || W || oe || A || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === x || e.$$typeof === d || e.$$typeof === f || e.$$typeof === p || // This needs to include all possible module reference object
136
136
  // types supported by any Flight configuration anywhere since
137
137
  // we don't know which Flight build this will end up being used
138
138
  // with.
139
139
  e.$$typeof === he || e.getModuleId !== void 0));
140
140
  }
141
- function ct(e, r, a) {
142
- var u = e.displayName;
143
- if (u)
144
- return u;
141
+ function dt(e, r, n) {
142
+ var s = e.displayName;
143
+ if (s)
144
+ return s;
145
145
  var b = r.displayName || r.name || "";
146
- return b !== "" ? a + "(" + b + ")" : a;
146
+ return b !== "" ? n + "(" + b + ")" : n;
147
147
  }
148
148
  function ke(e) {
149
149
  return e.displayName || "Context";
@@ -156,36 +156,36 @@ function At() {
156
156
  if (typeof e == "string")
157
157
  return e;
158
158
  switch (e) {
159
- case n:
159
+ case a:
160
160
  return "Fragment";
161
161
  case i:
162
162
  return "Portal";
163
- case f:
163
+ case c:
164
164
  return "Profiler";
165
165
  case l:
166
166
  return "StrictMode";
167
167
  case h:
168
168
  return "Suspense";
169
- case c:
169
+ case u:
170
170
  return "SuspenseList";
171
171
  }
172
172
  if (typeof e == "object")
173
173
  switch (e.$$typeof) {
174
- case d:
174
+ case f:
175
175
  var r = e;
176
176
  return ke(r) + ".Consumer";
177
- case s:
178
- var a = e;
179
- return ke(a._context) + ".Provider";
177
+ case d:
178
+ var n = e;
179
+ return ke(n._context) + ".Provider";
180
180
  case p:
181
- return ct(e, e.render, "ForwardRef");
181
+ return dt(e, e.render, "ForwardRef");
182
182
  case x:
183
- var u = e.displayName || null;
184
- return u !== null ? u : N(e.type) || "Memo";
183
+ var s = e.displayName || null;
184
+ return s !== null ? s : N(e.type) || "Memo";
185
185
  case T: {
186
- var b = e, k = b._payload, g = b._init;
186
+ var b = e, k = b._payload, v = b._init;
187
187
  try {
188
- return N(g(k));
188
+ return N(v(k));
189
189
  } catch {
190
190
  return null;
191
191
  }
@@ -197,7 +197,7 @@ function At() {
197
197
  function Oe() {
198
198
  }
199
199
  Oe.__reactDisabledLog = !0;
200
- function dt() {
200
+ function ct() {
201
201
  {
202
202
  if (q === 0) {
203
203
  Ee = console.log, we = console.info, _e = console.warn, Re = console.error, Se = console.group, Te = console.groupCollapsed, Ce = console.groupEnd;
@@ -256,14 +256,14 @@ function At() {
256
256
  }
257
257
  }
258
258
  var ie = O.ReactCurrentDispatcher, le;
259
- function X(e, r, a) {
259
+ function X(e, r, n) {
260
260
  {
261
261
  if (le === void 0)
262
262
  try {
263
263
  throw Error();
264
264
  } catch (b) {
265
- var u = b.stack.trim().match(/\n( *(at )?)/);
266
- le = u && u[1] || "";
265
+ var s = b.stack.trim().match(/\n( *(at )?)/);
266
+ le = s && s[1] || "";
267
267
  }
268
268
  return `
269
269
  ` + le + e;
@@ -278,61 +278,61 @@ function At() {
278
278
  if (!e || se)
279
279
  return "";
280
280
  {
281
- var a = Z.get(e);
282
- if (a !== void 0)
283
- return a;
281
+ var n = Z.get(e);
282
+ if (n !== void 0)
283
+ return n;
284
284
  }
285
- var u;
285
+ var s;
286
286
  se = !0;
287
287
  var b = Error.prepareStackTrace;
288
288
  Error.prepareStackTrace = void 0;
289
289
  var k;
290
- k = ie.current, ie.current = null, dt();
290
+ k = ie.current, ie.current = null, ct();
291
291
  try {
292
292
  if (r) {
293
- var g = function() {
293
+ var v = function() {
294
294
  throw Error();
295
295
  };
296
- if (Object.defineProperty(g.prototype, "props", {
296
+ if (Object.defineProperty(v.prototype, "props", {
297
297
  set: function() {
298
298
  throw Error();
299
299
  }
300
300
  }), typeof Reflect == "object" && Reflect.construct) {
301
301
  try {
302
- Reflect.construct(g, []);
302
+ Reflect.construct(v, []);
303
303
  } catch (j) {
304
- u = j;
304
+ s = j;
305
305
  }
306
- Reflect.construct(e, [], g);
306
+ Reflect.construct(e, [], v);
307
307
  } else {
308
308
  try {
309
- g.call();
309
+ v.call();
310
310
  } catch (j) {
311
- u = j;
311
+ s = j;
312
312
  }
313
- e.call(g.prototype);
313
+ e.call(v.prototype);
314
314
  }
315
315
  } else {
316
316
  try {
317
317
  throw Error();
318
318
  } catch (j) {
319
- u = j;
319
+ s = j;
320
320
  }
321
321
  e();
322
322
  }
323
323
  } catch (j) {
324
- if (j && u && typeof j.stack == "string") {
325
- for (var m = j.stack.split(`
326
- `), S = u.stack.split(`
327
- `), E = m.length - 1, _ = S.length - 1; E >= 1 && _ >= 0 && m[E] !== S[_]; )
324
+ if (j && s && typeof j.stack == "string") {
325
+ for (var g = j.stack.split(`
326
+ `), S = s.stack.split(`
327
+ `), E = g.length - 1, _ = S.length - 1; E >= 1 && _ >= 0 && g[E] !== S[_]; )
328
328
  _--;
329
329
  for (; E >= 1 && _ >= 0; E--, _--)
330
- if (m[E] !== S[_]) {
330
+ if (g[E] !== S[_]) {
331
331
  if (E !== 1 || _ !== 1)
332
332
  do
333
- if (E--, _--, _ < 0 || m[E] !== S[_]) {
333
+ if (E--, _--, _ < 0 || g[E] !== S[_]) {
334
334
  var C = `
335
- ` + m[E].replace(" at new ", " at ");
335
+ ` + g[E].replace(" at new ", " at ");
336
336
  return e.displayName && C.includes("<anonymous>") && (C = C.replace("<anonymous>", e.displayName)), typeof e == "function" && Z.set(e, C), C;
337
337
  }
338
338
  while (E >= 1 && _ >= 0);
@@ -345,36 +345,36 @@ function At() {
345
345
  var M = e ? e.displayName || e.name : "", Ye = M ? X(M) : "";
346
346
  return typeof e == "function" && Z.set(e, Ye), Ye;
347
347
  }
348
- function mt(e, r, a) {
348
+ function gt(e, r, n) {
349
349
  return Pe(e, !1);
350
350
  }
351
- function gt(e) {
351
+ function vt(e) {
352
352
  var r = e.prototype;
353
353
  return !!(r && r.isReactComponent);
354
354
  }
355
- function Q(e, r, a) {
355
+ function Q(e, r, n) {
356
356
  if (e == null)
357
357
  return "";
358
358
  if (typeof e == "function")
359
- return Pe(e, gt(e));
359
+ return Pe(e, vt(e));
360
360
  if (typeof e == "string")
361
361
  return X(e);
362
362
  switch (e) {
363
363
  case h:
364
364
  return X("Suspense");
365
- case c:
365
+ case u:
366
366
  return X("SuspenseList");
367
367
  }
368
368
  if (typeof e == "object")
369
369
  switch (e.$$typeof) {
370
370
  case p:
371
- return mt(e.render);
371
+ return gt(e.render);
372
372
  case x:
373
- return Q(e.type, r, a);
373
+ return Q(e.type, r, n);
374
374
  case T: {
375
- var u = e, b = u._payload, k = u._init;
375
+ var s = e, b = s._payload, k = s._init;
376
376
  try {
377
- return Q(k(b), r, a);
377
+ return Q(k(b), r, n);
378
378
  } catch {
379
379
  }
380
380
  }
@@ -384,27 +384,27 @@ function At() {
384
384
  var ee = Object.prototype.hasOwnProperty, Ne = {}, je = O.ReactDebugCurrentFrame;
385
385
  function te(e) {
386
386
  if (e) {
387
- var r = e._owner, a = Q(e.type, e._source, r ? r.type : null);
388
- je.setExtraStackFrame(a);
387
+ var r = e._owner, n = Q(e.type, e._source, r ? r.type : null);
388
+ je.setExtraStackFrame(n);
389
389
  } else
390
390
  je.setExtraStackFrame(null);
391
391
  }
392
- function vt(e, r, a, u, b) {
392
+ function mt(e, r, n, s, b) {
393
393
  {
394
394
  var k = Function.call.bind(ee);
395
- for (var g in e)
396
- if (k(e, g)) {
397
- var m = void 0;
395
+ for (var v in e)
396
+ if (k(e, v)) {
397
+ var g = void 0;
398
398
  try {
399
- if (typeof e[g] != "function") {
400
- var S = Error((u || "React class") + ": " + a + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
399
+ if (typeof e[v] != "function") {
400
+ var S = Error((s || "React class") + ": " + n + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
401
401
  throw S.name = "Invariant Violation", S;
402
402
  }
403
- m = e[g](r, g, u, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
403
+ g = e[v](r, v, s, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
404
404
  } catch (E) {
405
- m = E;
405
+ g = E;
406
406
  }
407
- m && !(m instanceof Error) && (te(b), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", u || "React class", a, g, typeof m), te(null)), m instanceof Error && !(m.message in Ne) && (Ne[m.message] = !0, te(b), w("Failed %s type: %s", a, m.message), te(null));
407
+ g && !(g instanceof Error) && (te(b), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", s || "React class", n, v, typeof g), te(null)), g instanceof Error && !(g.message in Ne) && (Ne[g.message] = !0, te(b), w("Failed %s type: %s", n, g.message), te(null));
408
408
  }
409
409
  }
410
410
  }
@@ -414,8 +414,8 @@ function At() {
414
414
  }
415
415
  function xt(e) {
416
416
  {
417
- var r = typeof Symbol == "function" && Symbol.toStringTag, a = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
418
- return a;
417
+ var r = typeof Symbol == "function" && Symbol.toStringTag, n = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
418
+ return n;
419
419
  }
420
420
  }
421
421
  function yt(e) {
@@ -437,8 +437,8 @@ function At() {
437
437
  ref: !0,
438
438
  __self: !0,
439
439
  __source: !0
440
- }, Be, De, ce;
441
- ce = {};
440
+ }, Be, De, de;
441
+ de = {};
442
442
  function kt(e) {
443
443
  if (ee.call(e, "ref")) {
444
444
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
@@ -457,84 +457,84 @@ function At() {
457
457
  }
458
458
  function wt(e, r) {
459
459
  if (typeof e.ref == "string" && K.current && r && K.current.stateNode !== r) {
460
- var a = N(K.current.type);
461
- ce[a] || (w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', N(K.current.type), e.ref), ce[a] = !0);
460
+ var n = N(K.current.type);
461
+ de[n] || (w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', N(K.current.type), e.ref), de[n] = !0);
462
462
  }
463
463
  }
464
464
  function _t(e, r) {
465
465
  {
466
- var a = function() {
466
+ var n = function() {
467
467
  Be || (Be = !0, w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
468
468
  };
469
- a.isReactWarning = !0, Object.defineProperty(e, "key", {
470
- get: a,
469
+ n.isReactWarning = !0, Object.defineProperty(e, "key", {
470
+ get: n,
471
471
  configurable: !0
472
472
  });
473
473
  }
474
474
  }
475
475
  function Rt(e, r) {
476
476
  {
477
- var a = function() {
477
+ var n = function() {
478
478
  De || (De = !0, w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
479
479
  };
480
- a.isReactWarning = !0, Object.defineProperty(e, "ref", {
481
- get: a,
480
+ n.isReactWarning = !0, Object.defineProperty(e, "ref", {
481
+ get: n,
482
482
  configurable: !0
483
483
  });
484
484
  }
485
485
  }
486
- var St = function(e, r, a, u, b, k, g) {
487
- var m = {
486
+ var St = function(e, r, n, s, b, k, v) {
487
+ var g = {
488
488
  // This tag allows us to uniquely identify this as a React Element
489
489
  $$typeof: o,
490
490
  // Built-in properties that belong on the element
491
491
  type: e,
492
492
  key: r,
493
- ref: a,
494
- props: g,
493
+ ref: n,
494
+ props: v,
495
495
  // Record the component responsible for creating this element.
496
496
  _owner: k
497
497
  };
498
- return m._store = {}, Object.defineProperty(m._store, "validated", {
498
+ return g._store = {}, Object.defineProperty(g._store, "validated", {
499
499
  configurable: !1,
500
500
  enumerable: !1,
501
501
  writable: !0,
502
502
  value: !1
503
- }), Object.defineProperty(m, "_self", {
503
+ }), Object.defineProperty(g, "_self", {
504
504
  configurable: !1,
505
505
  enumerable: !1,
506
506
  writable: !1,
507
- value: u
508
- }), Object.defineProperty(m, "_source", {
507
+ value: s
508
+ }), Object.defineProperty(g, "_source", {
509
509
  configurable: !1,
510
510
  enumerable: !1,
511
511
  writable: !1,
512
512
  value: b
513
- }), Object.freeze && (Object.freeze(m.props), Object.freeze(m)), m;
513
+ }), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
514
514
  };
515
- function Tt(e, r, a, u, b) {
515
+ function Tt(e, r, n, s, b) {
516
516
  {
517
- var k, g = {}, m = null, S = null;
518
- a !== void 0 && (Le(a), m = "" + a), Et(r) && (Le(r.key), m = "" + r.key), kt(r) && (S = r.ref, wt(r, b));
517
+ var k, v = {}, g = null, S = null;
518
+ n !== void 0 && (Le(n), g = "" + n), Et(r) && (Le(r.key), g = "" + r.key), kt(r) && (S = r.ref, wt(r, b));
519
519
  for (k in r)
520
- ee.call(r, k) && !ht.hasOwnProperty(k) && (g[k] = r[k]);
520
+ ee.call(r, k) && !ht.hasOwnProperty(k) && (v[k] = r[k]);
521
521
  if (e && e.defaultProps) {
522
522
  var E = e.defaultProps;
523
523
  for (k in E)
524
- g[k] === void 0 && (g[k] = E[k]);
524
+ v[k] === void 0 && (v[k] = E[k]);
525
525
  }
526
- if (m || S) {
526
+ if (g || S) {
527
527
  var _ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
528
- m && _t(g, _), S && Rt(g, _);
528
+ g && _t(v, _), S && Rt(v, _);
529
529
  }
530
- return St(e, m, S, b, u, K.current, g);
530
+ return St(e, g, S, b, s, K.current, v);
531
531
  }
532
532
  }
533
- var de = O.ReactCurrentOwner, Ie = O.ReactDebugCurrentFrame;
534
- function A(e) {
533
+ var ce = O.ReactCurrentOwner, Ie = O.ReactDebugCurrentFrame;
534
+ function $(e) {
535
535
  if (e) {
536
- var r = e._owner, a = Q(e.type, e._source, r ? r.type : null);
537
- Ie.setExtraStackFrame(a);
536
+ var r = e._owner, n = Q(e.type, e._source, r ? r.type : null);
537
+ Ie.setExtraStackFrame(n);
538
538
  } else
539
539
  Ie.setExtraStackFrame(null);
540
540
  }
@@ -543,10 +543,10 @@ function At() {
543
543
  function pe(e) {
544
544
  return typeof e == "object" && e !== null && e.$$typeof === o;
545
545
  }
546
- function $e() {
546
+ function Ve() {
547
547
  {
548
- if (de.current) {
549
- var e = N(de.current.type);
548
+ if (ce.current) {
549
+ var e = N(ce.current.type);
550
550
  if (e)
551
551
  return `
552
552
 
@@ -558,56 +558,56 @@ Check the render method of \`` + e + "`.";
558
558
  function Ct(e) {
559
559
  {
560
560
  if (e !== void 0) {
561
- var r = e.fileName.replace(/^.*[\\\/]/, ""), a = e.lineNumber;
561
+ var r = e.fileName.replace(/^.*[\\\/]/, ""), n = e.lineNumber;
562
562
  return `
563
563
 
564
- Check your code at ` + r + ":" + a + ".";
564
+ Check your code at ` + r + ":" + n + ".";
565
565
  }
566
566
  return "";
567
567
  }
568
568
  }
569
- var Ve = {};
569
+ var We = {};
570
570
  function Ot(e) {
571
571
  {
572
- var r = $e();
572
+ var r = Ve();
573
573
  if (!r) {
574
- var a = typeof e == "string" ? e : e.displayName || e.name;
575
- a && (r = `
574
+ var n = typeof e == "string" ? e : e.displayName || e.name;
575
+ n && (r = `
576
576
 
577
- Check the top-level render call using <` + a + ">.");
577
+ Check the top-level render call using <` + n + ">.");
578
578
  }
579
579
  return r;
580
580
  }
581
581
  }
582
- function We(e, r) {
582
+ function Ae(e, r) {
583
583
  {
584
584
  if (!e._store || e._store.validated || e.key != null)
585
585
  return;
586
586
  e._store.validated = !0;
587
- var a = Ot(r);
588
- if (Ve[a])
587
+ var n = Ot(r);
588
+ if (We[n])
589
589
  return;
590
- Ve[a] = !0;
591
- var u = "";
592
- e && e._owner && e._owner !== de.current && (u = " It was passed a child from " + N(e._owner.type) + "."), A(e), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, u), A(null);
590
+ We[n] = !0;
591
+ var s = "";
592
+ e && e._owner && e._owner !== ce.current && (s = " It was passed a child from " + N(e._owner.type) + "."), $(e), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, s), $(null);
593
593
  }
594
594
  }
595
- function Ae(e, r) {
595
+ function $e(e, r) {
596
596
  {
597
597
  if (typeof e != "object")
598
598
  return;
599
599
  if (ue(e))
600
- for (var a = 0; a < e.length; a++) {
601
- var u = e[a];
602
- pe(u) && We(u, r);
600
+ for (var n = 0; n < e.length; n++) {
601
+ var s = e[n];
602
+ pe(s) && Ae(s, r);
603
603
  }
604
604
  else if (pe(e))
605
605
  e._store && (e._store.validated = !0);
606
606
  else if (e) {
607
- var b = $(e);
607
+ var b = V(e);
608
608
  if (typeof b == "function" && b !== e.entries)
609
- for (var k = b.call(e), g; !(g = k.next()).done; )
610
- pe(g.value) && We(g.value, r);
609
+ for (var k = b.call(e), v; !(v = k.next()).done; )
610
+ pe(v.value) && Ae(v.value, r);
611
611
  }
612
612
  }
613
613
  }
@@ -616,18 +616,18 @@ Check the top-level render call using <` + a + ">.");
616
616
  var r = e.type;
617
617
  if (r == null || typeof r == "string")
618
618
  return;
619
- var a;
619
+ var n;
620
620
  if (typeof r == "function")
621
- a = r.propTypes;
621
+ n = r.propTypes;
622
622
  else if (typeof r == "object" && (r.$$typeof === p || // Note: Memo only checks outer props here.
623
623
  // Inner props are checked in the reconciler.
624
624
  r.$$typeof === x))
625
- a = r.propTypes;
625
+ n = r.propTypes;
626
626
  else
627
627
  return;
628
- if (a) {
629
- var u = N(r);
630
- vt(a, e.props, "prop", u, e);
628
+ if (n) {
629
+ var s = N(r);
630
+ mt(n, e.props, "prop", s, e);
631
631
  } else if (r.PropTypes !== void 0 && !fe) {
632
632
  fe = !0;
633
633
  var b = N(r);
@@ -638,60 +638,60 @@ Check the top-level render call using <` + a + ">.");
638
638
  }
639
639
  function Nt(e) {
640
640
  {
641
- for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
642
- var u = r[a];
643
- if (u !== "children" && u !== "key") {
644
- A(e), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", u), A(null);
641
+ for (var r = Object.keys(e.props), n = 0; n < r.length; n++) {
642
+ var s = r[n];
643
+ if (s !== "children" && s !== "key") {
644
+ $(e), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", s), $(null);
645
645
  break;
646
646
  }
647
647
  }
648
- e.ref !== null && (A(e), w("Invalid attribute `ref` supplied to `React.Fragment`."), A(null));
648
+ e.ref !== null && ($(e), w("Invalid attribute `ref` supplied to `React.Fragment`."), $(null));
649
649
  }
650
650
  }
651
- function Me(e, r, a, u, b, k) {
651
+ function Me(e, r, n, s, b, k) {
652
652
  {
653
- var g = ut(e);
654
- if (!g) {
655
- var m = "";
656
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (m += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
653
+ var v = ut(e);
654
+ if (!v) {
655
+ var g = "";
656
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (g += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
657
657
  var S = Ct(b);
658
- S ? m += S : m += $e();
658
+ S ? g += S : g += Ve();
659
659
  var E;
660
- e === null ? E = "null" : ue(e) ? E = "array" : e !== void 0 && e.$$typeof === o ? (E = "<" + (N(e.type) || "Unknown") + " />", m = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, m);
660
+ e === null ? E = "null" : ue(e) ? E = "array" : e !== void 0 && e.$$typeof === o ? (E = "<" + (N(e.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, g);
661
661
  }
662
- var _ = Tt(e, r, a, b, k);
662
+ var _ = Tt(e, r, n, b, k);
663
663
  if (_ == null)
664
664
  return _;
665
- if (g) {
665
+ if (v) {
666
666
  var C = r.children;
667
667
  if (C !== void 0)
668
- if (u)
668
+ if (s)
669
669
  if (ue(C)) {
670
670
  for (var M = 0; M < C.length; M++)
671
- Ae(C[M], e);
671
+ $e(C[M], e);
672
672
  Object.freeze && Object.freeze(C);
673
673
  } else
674
674
  w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
675
675
  else
676
- Ae(C, e);
676
+ $e(C, e);
677
677
  }
678
- return e === n ? Nt(_) : Pt(_), _;
678
+ return e === a ? Nt(_) : Pt(_), _;
679
679
  }
680
680
  }
681
- function jt(e, r, a) {
682
- return Me(e, r, a, !0);
681
+ function jt(e, r, n) {
682
+ return Me(e, r, n, !0);
683
683
  }
684
- function Ft(e, r, a) {
685
- return Me(e, r, a, !1);
684
+ function Ft(e, r, n) {
685
+ return Me(e, r, n, !1);
686
686
  }
687
687
  var Lt = Ft, Bt = jt;
688
- z.Fragment = n, z.jsx = Lt, z.jsxs = Bt;
688
+ z.Fragment = a, z.jsx = Lt, z.jsxs = Bt;
689
689
  }()), z;
690
690
  }
691
691
  (function(t) {
692
- process.env.NODE_ENV === "production" ? t.exports = Wt() : t.exports = At();
693
- })(Vt);
694
- const rt = G.Fragment, v = G.jsx, P = G.jsxs, Je = {
692
+ process.env.NODE_ENV === "production" ? t.exports = At() : t.exports = $t();
693
+ })(Wt);
694
+ const rt = G.Fragment, m = G.jsx, P = G.jsxs, Je = {
695
695
  base: "font-bold",
696
696
  xs: "text-16 md:text-19 leading-default",
697
697
  sm: "text-19 md:text-23 leading-default md:leading-comfy",
@@ -707,7 +707,7 @@ const rt = G.Fragment, v = G.jsx, P = G.jsxs, Je = {
707
707
  md: "text-16",
708
708
  lg: "text-19",
709
709
  xl: "text-23 md:text-28 tracking-tight"
710
- }, ge = {
710
+ }, ve = {
711
711
  ...re,
712
712
  base: "font-regular leading-loose",
713
713
  xl: "text-23 md:text-28"
@@ -745,7 +745,7 @@ const rt = G.Fragment, v = G.jsx, P = G.jsxs, Je = {
745
745
  case "label":
746
746
  return y(re.base, t ? re[t] : re.default);
747
747
  case "paragraph":
748
- return y(ge.base, t ? ge[t] : ge.default);
748
+ return y(ve.base, t ? ve[t] : ve.default);
749
749
  case "eyebrow":
750
750
  return y(ze.base, ze[t]);
751
751
  case "caption":
@@ -762,15 +762,15 @@ const rt = G.Fragment, v = G.jsx, P = G.jsxs, Je = {
762
762
  }, Yt = {
763
763
  primary: "font-aktiv-grotesk",
764
764
  secondary: "font-untitled-serif"
765
- }, Ut = ({ className: t, component: o = "p", children: i, font: n = "primary", size: l, variant: f, ...s }, d) => {
766
- const p = "text-text-light dark:text-text-dark", h = Yt[n], c = Mt({ size: l, variant: f });
767
- return /* @__PURE__ */ v(
765
+ }, Ut = ({ className: t, component: o = "p", children: i, font: a = "primary", size: l, variant: c, ...d }, f) => {
766
+ const p = "text-text-light dark:text-text-dark", h = Yt[a], u = Mt({ size: l, variant: c });
767
+ return /* @__PURE__ */ m(
768
768
  tt,
769
769
  {
770
- className: y(p, c, h, t),
770
+ className: y(p, u, h, t),
771
771
  component: o,
772
- ref: d,
773
- ...s,
772
+ ref: f,
773
+ ...d,
774
774
  children: i
775
775
  }
776
776
  );
@@ -780,14 +780,14 @@ const qt = ({
780
780
  children: t,
781
781
  component: o = "a",
782
782
  className: i,
783
- active: n,
783
+ active: a,
784
784
  ...l
785
- }) => /* @__PURE__ */ v(
785
+ }) => /* @__PURE__ */ m(
786
786
  ye,
787
787
  {
788
788
  className: y([
789
789
  "font-bold text-gray-50 leading-default",
790
- n ? "underline decoration-yv-red decoration-2 underline-offset-8 text-16 leading-loose" : "text-13",
790
+ a ? "underline decoration-yv-red decoration-2 underline-offset-8 text-16 leading-loose" : "text-13",
791
791
  i
792
792
  ]),
793
793
  component: o,
@@ -805,54 +805,54 @@ var Kt = Object.defineProperty, Jt = Object.defineProperties, zt = Object.getOwn
805
805
  return t;
806
806
  }, Ht = (t, o) => Jt(t, zt(o)), Xt = (t, o) => {
807
807
  var i = {};
808
- for (var n in t)
809
- at.call(t, n) && o.indexOf(n) < 0 && (i[n] = t[n]);
808
+ for (var a in t)
809
+ at.call(t, a) && o.indexOf(a) < 0 && (i[a] = t[a]);
810
810
  if (t != null && ae)
811
- for (var n of ae(t))
812
- o.indexOf(n) < 0 && nt.call(t, n) && (i[n] = t[n]);
811
+ for (var a of ae(t))
812
+ o.indexOf(a) < 0 && nt.call(t, a) && (i[a] = t[a]);
813
813
  return i;
814
814
  }, Zt = (t, o) => {
815
- var i = t, { color: n, className: l, title: f, titleId: s } = i, d = Xt(i, ["color", "className", "title", "titleId"]);
816
- return P("svg", Ht(Gt({ width: d.size || "1em", height: d.size || "1em", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: `${n} ${l ?? ""}`, ref: o, "aria-labelledby": s }, d), { children: [f ? v("title", { id: s, children: f }) : null, v("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.293 18.707a1 1 0 0 1 0-1.414l4.94-4.94a.5.5 0 0 0 0-.707l-4.94-4.939a1 1 0 0 1 1.414-1.414l5.647 5.646a1.5 1.5 0 0 1 0 2.122l-5.647 5.646a1 1 0 0 1-1.414 0Z", fill: "currentColor" })] }));
815
+ var i = t, { title: a, titleId: l } = i, c = Xt(i, ["title", "titleId"]);
816
+ return P("svg", Ht(Gt({ width: c.size || "24", height: c.size || "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: o, "aria-labelledby": l }, c), { children: [a ? m("title", { id: l, children: a }) : null, m("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.293 18.707a1 1 0 0 1 0-1.414l4.94-4.94a.5.5 0 0 0 0-.707l-4.94-4.939a1 1 0 0 1 1.414-1.414l5.647 5.646a1.5 1.5 0 0 1 0 2.122l-5.647 5.646a1 1 0 0 1-1.414 0Z", fill: "currentColor" })] }));
817
817
  }, Qt = L(Zt), er = Qt;
818
- const tr = ({ children: t, className: o, ...i }, n) => {
819
- const l = F.Children.toArray(t), f = l.findIndex((s) => {
820
- var d;
821
- return F.isValidElement(s) ? (d = s == null ? void 0 : s.props) == null ? void 0 : d.active : !1;
818
+ const tr = ({ children: t, className: o, ...i }, a) => {
819
+ const l = F.Children.toArray(t), c = l.findIndex((d) => {
820
+ var f;
821
+ return F.isValidElement(d) ? (f = d == null ? void 0 : d.props) == null ? void 0 : f.active : !1;
822
822
  });
823
- return /* @__PURE__ */ v(
823
+ return /* @__PURE__ */ m(
824
824
  "div",
825
825
  {
826
826
  className: y([
827
827
  "flex bg-canvas-light dark:bg-canvas-dark py-0.5 flex-row min-h-[48px] rtl:rotate-180",
828
828
  o
829
829
  ]),
830
- ref: n,
830
+ ref: a,
831
831
  ...i,
832
- children: l.map((s, d) => /* @__PURE__ */ P("div", { className: "flex items-center", children: [
833
- d ? /* @__PURE__ */ v(
832
+ children: l.map((d, f) => /* @__PURE__ */ P("div", { className: "flex items-center", children: [
833
+ f ? /* @__PURE__ */ m(
834
834
  er,
835
835
  {
836
836
  className: y([
837
837
  "mx-1",
838
- d > f && "text-gray-15",
839
- d <= f && "text-gray-25"
838
+ f > c && "text-gray-15",
839
+ f <= c && "text-gray-25"
840
840
  ]),
841
841
  size: "15"
842
842
  }
843
843
  ) : null,
844
- /* @__PURE__ */ v(
844
+ /* @__PURE__ */ m(
845
845
  "div",
846
846
  {
847
847
  className: y([
848
- d < f ? "bg-gray-10 dark:bg-gray-40 py-1.5 px-3 rounded-3 cursor-pointer" : "px-0.5",
849
- d > f && "[&>*]:text-gray-15 [&>*]:text-16 [&>*]:leading-loose [&>*]:font-medium",
848
+ f < c ? "bg-gray-10 dark:bg-gray-40 py-1.5 px-3 rounded-3 cursor-pointer" : "px-0.5",
849
+ f > c && "[&>*]:text-gray-15 [&>*]:text-16 [&>*]:leading-loose [&>*]:font-medium",
850
850
  "rtl:rotate-180"
851
851
  ]),
852
- children: s
852
+ children: d
853
853
  }
854
854
  )
855
- ] }, `${d}-${s.toString()}`))
855
+ ] }, `${f}-${d.toString()}`))
856
856
  }
857
857
  );
858
858
  }, rr = F.forwardRef(tr);
@@ -905,17 +905,17 @@ const Rr = {
905
905
  risk: "bg-orange-30 dark:bg-alert-dark text-white disabled:opacity-50 disabled:bg-gray-10 dark:disabled:bg-gray-40 disabled:text-gray-50 dark:disabled:text-white",
906
906
  secondary: "bg-gray-10 dark:bg-gray-40 text-gray-50 dark:text-white hover:bg-gray-40 dark:hover:bg-gray-10 hover:text-white dark:hover:text-gray-50 active:bg-gray-50 disabled:opacity-50 disabled:bg-gray-10 disabled:text-gray-50",
907
907
  stroked: "bg-transparent outline outline-2 outline-gray-50 dark:outline-white text-gray-50 dark:text-white hover:bg-gray-40 dark:hover:bg-gray-10 hover:text-white dark:hover:text-gray-50 active:bg-gray-50 disabled:opacity-50 disabled:bg-transparent dark:disabled:bg-transparent disabled:text-gray-50 dark:disabled:text-white"
908
- }, ar = ({ className: t, children: o, disabled: i, icon: n, iconPosition: l, size: f = "md", variant: s = "primary", ...d }, p) => {
909
- const h = ot(n !== void 0 ? l : void 0), c = y(it, lt[s], h[f], t);
910
- return /* @__PURE__ */ P("button", { ...d, className: c, disabled: i, ref: p, children: [
911
- l === "start" && n !== void 0 ? D(n, {
908
+ }, ar = ({ className: t, children: o, disabled: i, icon: a, iconPosition: l, size: c = "md", variant: d = "primary", ...f }, p) => {
909
+ const h = ot(a !== void 0 ? l : void 0), u = y(it, lt[d], h[c], t);
910
+ return /* @__PURE__ */ P("button", { ...f, className: u, disabled: i, ref: p, children: [
911
+ l === "start" && a !== void 0 ? D(a, {
912
912
  className: "mr-0.5 min-w-min",
913
- size: ne[f]
913
+ size: ne[c]
914
914
  }) : null,
915
- /* @__PURE__ */ v("span", { className: "truncate", children: o }),
916
- l === "end" && n !== void 0 ? D(n, {
915
+ /* @__PURE__ */ m("span", { className: "truncate", children: o }),
916
+ l === "end" && a !== void 0 ? D(a, {
917
917
  className: "ml-0.5 min-w-min",
918
- size: ne[f]
918
+ size: ne[c]
919
919
  }) : null
920
920
  ] });
921
921
  }, nr = L(ar);
@@ -924,28 +924,28 @@ const or = ({ children: t, autoFocus: o = !0 }) => {
924
924
  const i = be(null);
925
925
  return xe(() => {
926
926
  if (i.current) {
927
- const n = i.current.querySelectorAll(
927
+ const a = i.current.querySelectorAll(
928
928
  'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
929
929
  );
930
930
  let l = document.activeElement;
931
- const f = n[0], s = n[n.length - 1], d = (c) => {
932
- if (c.key === "Tab") {
933
- if (c.shiftKey) {
934
- if (document.activeElement === f)
935
- c.preventDefault(), s.focus(), l = s;
931
+ const c = a[0], d = a[a.length - 1], f = (u) => {
932
+ if (u.key === "Tab") {
933
+ if (u.shiftKey) {
934
+ if (document.activeElement === c)
935
+ u.preventDefault(), d.focus(), l = d;
936
936
  else
937
- for (let x = 0; x < n.length; x++)
938
- if (n[x] === document.activeElement) {
939
- l = n[x - 1];
937
+ for (let x = 0; x < a.length; x++)
938
+ if (a[x] === document.activeElement) {
939
+ l = a[x - 1];
940
940
  break;
941
941
  }
942
- } else if (!c.shiftKey) {
943
- if (document.activeElement === s)
944
- c.preventDefault(), f.focus(), l = f;
942
+ } else if (!u.shiftKey) {
943
+ if (document.activeElement === d)
944
+ u.preventDefault(), c.focus(), l = c;
945
945
  else
946
- for (let x = 0; x < n.length; x++)
947
- if (n[x] === document.activeElement) {
948
- l = n[x + 1];
946
+ for (let x = 0; x < a.length; x++)
947
+ if (a[x] === document.activeElement) {
948
+ l = a[x + 1];
949
949
  break;
950
950
  }
951
951
  }
@@ -953,21 +953,21 @@ const or = ({ children: t, autoFocus: o = !0 }) => {
953
953
  };
954
954
  o && (() => {
955
955
  if (i.current) {
956
- const c = i.current.querySelector(
956
+ const u = i.current.querySelector(
957
957
  'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
958
958
  );
959
- c && c.focus();
959
+ u && u.focus();
960
960
  }
961
961
  })();
962
- const h = (c) => {
963
- i.current && !i.current.contains(c.target) && l.focus();
962
+ const h = (u) => {
963
+ i.current && !i.current.contains(u.target) && l.focus();
964
964
  };
965
- return document.addEventListener("keydown", d), document.addEventListener("click", h), () => {
966
- document.removeEventListener("keydown", d), document.removeEventListener("click", h);
965
+ return document.addEventListener("keydown", f), document.addEventListener("click", h), () => {
966
+ document.removeEventListener("keydown", f), document.removeEventListener("click", h);
967
967
  };
968
968
  }
969
- }, [o]), /* @__PURE__ */ v("div", { ref: i, children: t });
970
- }, ir = ({ children: t, className: o, disabled: i, ...n }, l) => /* @__PURE__ */ v(
969
+ }, [o]), /* @__PURE__ */ m("div", { ref: i, children: t });
970
+ }, ir = ({ children: t, className: o, disabled: i, ...a }, l) => /* @__PURE__ */ m(
971
971
  "button",
972
972
  {
973
973
  className: y([
@@ -976,15 +976,15 @@ const or = ({ children: t, autoFocus: o = !0 }) => {
976
976
  ]),
977
977
  disabled: i,
978
978
  ref: l,
979
- ...n,
979
+ ...a,
980
980
  children: t
981
981
  }
982
- ), ve = L(ir);
983
- ve.displayName = "IconButton";
984
- const lr = ({ className: t, children: o, component: i = "a", ...n }, l) => D(
982
+ ), me = L(ir);
983
+ me.displayName = "IconButton";
984
+ const lr = ({ className: t, children: o, component: i = "a", ...a }, l) => D(
985
985
  i,
986
986
  {
987
- ...n,
987
+ ...a,
988
988
  className: y([
989
989
  "rounded-full hover:bg-gray-10 dark:hover:bg-gray-40 text-text-light dark:text-white inline-flex justify-center items-center p-1 focus-visible:outline-2 focus-visible:outline focus-visible:outline-info dark:focus-visible:outline-info-dark outline-offset-0",
990
990
  t
@@ -998,29 +998,29 @@ const ur = ({ innerRef: t, forwardedRef: o }) => (xe(() => {
998
998
  [t, o].forEach((i) => {
999
999
  i && (typeof i == "function" ? i(t.current || null) : i.current = t.current || null);
1000
1000
  });
1001
- }, [t, o]), t), cr = ({
1001
+ }, [t, o]), t), dr = ({
1002
1002
  className: t,
1003
1003
  disabled: o,
1004
1004
  endIcon: i,
1005
- error: n,
1005
+ error: a,
1006
1006
  hint: l,
1007
- label: f,
1008
- name: s,
1009
- onChange: d,
1007
+ label: c,
1008
+ name: d,
1009
+ onChange: f,
1010
1010
  placeholder: p,
1011
1011
  startIcon: h,
1012
- value: c,
1012
+ value: u,
1013
1013
  ...x
1014
1014
  }, T) => {
1015
- const B = be(null), R = ur({ forwardedRef: T, innerRef: B }), [Y, $] = F.useState(Boolean(c)), [O, w] = F.useState(!1);
1015
+ const B = be(null), R = ur({ forwardedRef: T, innerRef: B }), [Y, V] = F.useState(Boolean(u)), [O, w] = F.useState(!1);
1016
1016
  F.useEffect(() => {
1017
- var W;
1018
- $(Boolean((W = R == null ? void 0 : R.current) == null ? void 0 : W.value) || Boolean(c || p));
1019
- }, [c, p, R]);
1020
- const U = (W) => {
1017
+ var A;
1018
+ V(Boolean((A = R == null ? void 0 : R.current) == null ? void 0 : A.value) || Boolean(u || p));
1019
+ }, [u, p, R]);
1020
+ const U = (A) => {
1021
1021
  var H;
1022
- $(Boolean((H = R == null ? void 0 : R.current) == null ? void 0 : H.value) || Boolean(c || p)), d && d(W);
1023
- }, V = () => {
1022
+ V(Boolean((H = R == null ? void 0 : R.current) == null ? void 0 : H.value) || Boolean(u || p)), f && f(A);
1023
+ }, W = () => {
1024
1024
  o || !R.current || (R.current.focus(), w(!0));
1025
1025
  }, oe = () => {
1026
1026
  w(!1);
@@ -1032,14 +1032,14 @@ const ur = ({ innerRef: t, forwardedRef: o }) => (xe(() => {
1032
1032
  className: y([
1033
1033
  "items-center self-stretch rounded-1 border-small border-solid cursor-text flex flex-row relative focus-within:border-transparent focus-within:outline-2 focus-within:outline-info focus-within:outline focus-within:dark:border-transparent focus-within:dark:outline-info-dark",
1034
1034
  o ? "bg-gray-10 dark:bg-gray-40" : null,
1035
- n ? "border-alert dark:border-alert-dark" : "border-tertiary-light dark:border-tertiary-dark"
1035
+ a ? "border-alert dark:border-alert-dark" : "border-tertiary-light dark:border-tertiary-dark"
1036
1036
  ]),
1037
- onClick: V,
1038
- onFocus: V,
1037
+ onClick: W,
1038
+ onFocus: W,
1039
1039
  children: [
1040
- h ? /* @__PURE__ */ v("div", { className: "text-text-muted-light dark:text-text-muted-dark pis-1.5", children: h }) : null,
1040
+ h ? /* @__PURE__ */ m("div", { className: "text-text-muted-light dark:text-text-muted-dark pis-1.5", children: h }) : null,
1041
1041
  /* @__PURE__ */ P("span", { className: "relative flex flex-1 overflow-hidden", children: [
1042
- /* @__PURE__ */ v(
1042
+ /* @__PURE__ */ m(
1043
1043
  "input",
1044
1044
  {
1045
1045
  className: y([
@@ -1049,16 +1049,16 @@ const ur = ({ innerRef: t, forwardedRef: o }) => (xe(() => {
1049
1049
  t
1050
1050
  ]),
1051
1051
  disabled: o,
1052
- id: s,
1052
+ id: d,
1053
1053
  onBlur: oe,
1054
1054
  onChange: U,
1055
1055
  placeholder: p,
1056
1056
  ref: R,
1057
- value: c,
1057
+ value: u,
1058
1058
  ...x
1059
1059
  }
1060
1060
  ),
1061
- /* @__PURE__ */ v(
1061
+ /* @__PURE__ */ m(
1062
1062
  "label",
1063
1063
  {
1064
1064
  className: y(
@@ -1066,67 +1066,67 @@ const ur = ({ innerRef: t, forwardedRef: o }) => (xe(() => {
1066
1066
  h ? "ltr:left-1 rtl:right-1" : "ltr:left-2 rtl:right-2",
1067
1067
  O || Y ? "text-13 -translate-y-1.5" : "text-16"
1068
1068
  ),
1069
- htmlFor: s,
1070
- children: f
1069
+ htmlFor: d,
1070
+ children: c
1071
1071
  }
1072
1072
  )
1073
1073
  ] }),
1074
- i ? /* @__PURE__ */ v("div", { className: "text-text-muted-light dark:text-text-muted-dark pie-1.5", children: i }) : null
1074
+ i ? /* @__PURE__ */ m("div", { className: "text-text-muted-light dark:text-text-muted-dark pie-1.5", children: i }) : null
1075
1075
  ]
1076
1076
  }
1077
1077
  ),
1078
- n || l ? /* @__PURE__ */ P("div", { className: "flex flex-col", children: [
1079
- n ? /* @__PURE__ */ v("span", { className: "text-alert dark:text-alert-dark", children: n }) : null,
1080
- l ? /* @__PURE__ */ v("span", { className: "text-text-muted-light dark:text-text-muted-dark text-13 leading-default", children: l }) : null
1078
+ a || l ? /* @__PURE__ */ P("div", { className: "flex flex-col", children: [
1079
+ a ? /* @__PURE__ */ m("span", { className: "text-alert dark:text-alert-dark", children: a }) : null,
1080
+ l ? /* @__PURE__ */ m("span", { className: "text-text-muted-light dark:text-text-muted-dark text-13 leading-default", children: l }) : null
1081
1081
  ] }) : null
1082
1082
  ] });
1083
- }, dr = F.forwardRef(cr);
1084
- dr.displayName = "Input";
1083
+ }, cr = F.forwardRef(dr);
1084
+ cr.displayName = "Input";
1085
1085
  const fr = ({
1086
1086
  className: t,
1087
1087
  children: o,
1088
1088
  component: i = "a",
1089
- icon: n,
1089
+ icon: a,
1090
1090
  iconPosition: l,
1091
- variant: f = "primary",
1092
- size: s = "md",
1093
- ...d
1091
+ variant: c = "primary",
1092
+ size: d = "md",
1093
+ ...f
1094
1094
  }, p) => {
1095
- const h = ot(n !== void 0 ? l : void 0);
1095
+ const h = ot(a !== void 0 ? l : void 0);
1096
1096
  return /* @__PURE__ */ P(({ children: x }) => D(
1097
1097
  i,
1098
1098
  {
1099
- ...d,
1100
- className: y([it, lt[f], h[s], t]),
1099
+ ...f,
1100
+ className: y([it, lt[c], h[d], t]),
1101
1101
  ref: p
1102
1102
  },
1103
1103
  x
1104
1104
  ), { children: [
1105
- l === "start" && n !== void 0 ? D(n, {
1105
+ l === "start" && a !== void 0 ? D(a, {
1106
1106
  className: "mr-0.5 min-w-min",
1107
- size: ne[s]
1107
+ size: ne[d]
1108
1108
  }) : null,
1109
1109
  D("span", { className: "truncate" }, o),
1110
- l === "end" && n !== void 0 ? D(n, {
1110
+ l === "end" && a !== void 0 ? D(a, {
1111
1111
  className: "ml-0.5 min-w-min",
1112
- size: ne[s]
1112
+ size: ne[d]
1113
1113
  }) : null
1114
1114
  ] });
1115
1115
  }, pr = L(fr);
1116
1116
  pr.displayName = "LinkButton";
1117
- const mr = ({ children: t, className: o, ...i }, n) => /* @__PURE__ */ v(
1117
+ const gr = ({ children: t, className: o, ...i }, a) => /* @__PURE__ */ m(
1118
1118
  "ul",
1119
1119
  {
1120
1120
  className: y(["w-fit bg-canvas-light dark:bg-canvas-dark rounded-1 py-0.5", o]),
1121
- ref: n,
1121
+ ref: a,
1122
1122
  ...i,
1123
1123
  children: t
1124
1124
  }
1125
- ), gr = L(mr);
1126
- gr.displayName = "List";
1127
- const vr = ({ children: t, className: o, divider: i, endAction: n, endIcon: l, onClick: f, startAction: s, startIcon: d, ...p }, h) => {
1128
- const c = (x) => {
1129
- f && (x.code === "Enter" || x.key === " ") && f();
1125
+ ), vr = L(gr);
1126
+ vr.displayName = "List";
1127
+ const mr = ({ children: t, className: o, divider: i, endAction: a, endIcon: l, onClick: c, startAction: d, startIcon: f, ...p }, h) => {
1128
+ const u = (x) => {
1129
+ c && (x.code === "Enter" || x.key === " ") && c();
1130
1130
  };
1131
1131
  return /* @__PURE__ */ P(
1132
1132
  "li",
@@ -1139,49 +1139,49 @@ const vr = ({ children: t, className: o, divider: i, endAction: n, endIcon: l, o
1139
1139
  ref: h,
1140
1140
  ...p,
1141
1141
  children: [
1142
- s ? /* @__PURE__ */ v("div", { className: "absolute ltr:left-1 rtl:right-1", onClick: s, children: /* @__PURE__ */ v(ve, { children: d }) }) : null,
1142
+ d ? /* @__PURE__ */ m("div", { className: "absolute ltr:left-1 rtl:right-1", onClick: d, children: /* @__PURE__ */ m(me, { children: f }) }) : null,
1143
1143
  /* @__PURE__ */ P(
1144
1144
  "div",
1145
1145
  {
1146
1146
  className: y([
1147
1147
  "flex flex-1 py-2 gap-x-2",
1148
- s ? "pis-4" : "pis-2",
1149
- n ? "pie-4" : "pie-2",
1150
- f ? "cursor-pointer hover:bg-gray-10 hover:dark:bg-gray-40" : void 0
1148
+ d ? "pis-4" : "pis-2",
1149
+ a ? "pie-4" : "pie-2",
1150
+ c ? "cursor-pointer hover:bg-gray-10 hover:dark:bg-gray-40" : void 0
1151
1151
  ]),
1152
- onClick: f,
1153
- onKeyUp: c,
1154
- onTouchEnd: f,
1155
- tabIndex: f ? 0 : void 0,
1152
+ onClick: c,
1153
+ onKeyUp: u,
1154
+ onTouchEnd: c,
1155
+ tabIndex: c ? 0 : void 0,
1156
1156
  children: [
1157
- d && !s ? /* @__PURE__ */ v("div", { children: d }) : null,
1158
- /* @__PURE__ */ v("div", { className: y(["flex-grow", s ? "pis-2" : null, n ? "pie-2" : null]), children: t }),
1159
- l && !n ? /* @__PURE__ */ v("div", { children: l }) : null
1157
+ f && !d ? /* @__PURE__ */ m("div", { children: f }) : null,
1158
+ /* @__PURE__ */ m("div", { className: y(["flex-grow", d ? "pis-2" : null, a ? "pie-2" : null]), children: t }),
1159
+ l && !a ? /* @__PURE__ */ m("div", { children: l }) : null
1160
1160
  ]
1161
1161
  }
1162
1162
  ),
1163
- n ? /* @__PURE__ */ v("div", { className: "absolute ltr:right-1 rtl:left-1", onClick: n, children: /* @__PURE__ */ v(ve, { children: l }) }) : null
1163
+ a ? /* @__PURE__ */ m("div", { className: "absolute ltr:right-1 rtl:left-1", onClick: a, children: /* @__PURE__ */ m(me, { children: l }) }) : null
1164
1164
  ]
1165
1165
  }
1166
1166
  );
1167
- }, br = L(vr);
1167
+ }, br = L(mr);
1168
1168
  br.displayName = "ListItem";
1169
- const Sr = ({ children: t, className: o, size: i = "sm" }) => /* @__PURE__ */ v(ye, { className: o, size: i, variant: "label", children: t }), Tr = ({ children: t, className: o, ...i }) => /* @__PURE__ */ v("div", { className: y(["relative", o]), ...i, children: t }), xr = {
1169
+ const Sr = ({ children: t, className: o, size: i = "sm" }) => /* @__PURE__ */ m(ye, { className: o, size: i, variant: "label", children: t }), Tr = ({ children: t, className: o, ...i }) => /* @__PURE__ */ m("div", { className: y(["relative", o]), ...i, children: t }), xr = {
1170
1170
  "no-scrollbar": "_no-scrollbar_1ivfd_1"
1171
1171
  }, yr = ({
1172
1172
  align: t,
1173
1173
  children: o,
1174
1174
  className: i,
1175
- isDismissible: n,
1175
+ isDismissible: a,
1176
1176
  onClose: l,
1177
- ...f
1177
+ ...c
1178
1178
  }) => {
1179
- const s = be(null);
1179
+ const d = be(null);
1180
1180
  xe(() => {
1181
- const p = (c) => {
1182
- switch (c.key) {
1181
+ const p = (u) => {
1182
+ switch (u.key) {
1183
1183
  case "Escape":
1184
- n && l && l();
1184
+ a && l && l();
1185
1185
  break;
1186
1186
  case " ":
1187
1187
  l && l();
@@ -1190,15 +1190,15 @@ const Sr = ({ children: t, className: o, size: i = "sm" }) => /* @__PURE__ */ v(
1190
1190
  l && l();
1191
1191
  break;
1192
1192
  }
1193
- }, h = (c) => {
1194
- typeof l == "function" && (s.current && !s.current.contains(c.target) ? n && l() : l());
1193
+ }, h = (u) => {
1194
+ typeof l == "function" && (d.current && !d.current.contains(u.target) ? a && l() : l());
1195
1195
  };
1196
1196
  return window.addEventListener("click", h), document.addEventListener("keyup", p), () => {
1197
1197
  window.removeEventListener("click", h), document.removeEventListener("keyup", p);
1198
1198
  };
1199
- }, [s, n, l]);
1200
- const d = Dt(() => {
1201
- const { horizontal: p, vertical: h } = t, c = {
1199
+ }, [d, a, l]);
1200
+ const f = Dt(() => {
1201
+ const { horizontal: p, vertical: h } = t, u = {
1202
1202
  center: "left-1/2",
1203
1203
  end: "inline-end-0",
1204
1204
  start: "inline-start-0"
@@ -1206,50 +1206,50 @@ const Sr = ({ children: t, className: o, size: i = "sm" }) => /* @__PURE__ */ v(
1206
1206
  bottom: "",
1207
1207
  top: "bottom-full"
1208
1208
  };
1209
- return `${c[p]} ${x[h]}`;
1209
+ return `${u[p]} ${x[h]}`;
1210
1210
  }, [t]);
1211
- return /* @__PURE__ */ v(
1211
+ return /* @__PURE__ */ m(
1212
1212
  "div",
1213
1213
  {
1214
1214
  className: y([
1215
1215
  "absolute shadow-light-2 dark:shadow-dark-2 rounded-1 bg-canvas-light dark:bg-overlay-body-dark mb-0.5 w-max overflow-y-scroll min-h-[200px] max-h-[400px]",
1216
1216
  xr["no-scrollbar"],
1217
- d,
1217
+ f,
1218
1218
  i
1219
1219
  ]),
1220
- ref: s,
1221
- ...f,
1220
+ ref: d,
1221
+ ...c,
1222
1222
  children: o
1223
1223
  }
1224
1224
  );
1225
- }, hr = ({ open: t, children: o }) => /* @__PURE__ */ v(rt, { children: t ? o : null }), Cr = ({
1225
+ }, hr = ({ open: t, children: o }) => /* @__PURE__ */ m(rt, { children: t ? o : null }), Cr = ({
1226
1226
  align: t = { horizontal: "start", vertical: "bottom" },
1227
1227
  autoFocus: o = !0,
1228
1228
  children: i,
1229
- className: n,
1229
+ className: a,
1230
1230
  isDismissible: l,
1231
- isOpen: f,
1232
- onClose: s,
1233
- ...d
1234
- }) => /* @__PURE__ */ v(hr, { open: f, children: /* @__PURE__ */ v(or, { autoFocus: o, children: /* @__PURE__ */ v(
1231
+ isOpen: c,
1232
+ onClose: d,
1233
+ ...f
1234
+ }) => /* @__PURE__ */ m(hr, { open: c, children: /* @__PURE__ */ m(or, { autoFocus: o, children: /* @__PURE__ */ m(
1235
1235
  yr,
1236
1236
  {
1237
1237
  align: t,
1238
- className: n,
1238
+ className: a,
1239
1239
  isDismissible: l,
1240
- onClose: s,
1241
- ...d,
1240
+ onClose: d,
1241
+ ...f,
1242
1242
  children: i
1243
1243
  }
1244
1244
  ) }) }), Or = ({ onToggle: t, children: o, disabled: i }) => {
1245
- const l = It(o, { disabled: i, onClick: (f) => {
1246
- f.stopPropagation(), t();
1245
+ const l = It(o, { disabled: i, onClick: (c) => {
1246
+ c.stopPropagation(), t();
1247
1247
  } });
1248
- return /* @__PURE__ */ v(rt, { children: l });
1248
+ return /* @__PURE__ */ m(rt, { children: l });
1249
1249
  }, kr = "_tooltipWrapper_qu88w_1", Er = "_tooltipContent_qu88w_18", et = {
1250
1250
  tooltipWrapper: kr,
1251
1251
  tooltipContent: Er
1252
- }, Pr = ({ content: t, className: o, ...i }) => /* @__PURE__ */ v("div", { className: y(et.tooltipWrapper, o), ...i, children: /* @__PURE__ */ v("span", { className: et.tooltipContent, children: t }) });
1252
+ }, Pr = ({ content: t, className: o, ...i }) => /* @__PURE__ */ m("div", { className: y(et.tooltipWrapper, o), ...i, children: /* @__PURE__ */ m("span", { className: et.tooltipContent, children: t }) });
1253
1253
  export {
1254
1254
  tt as Box,
1255
1255
  qt as Breadcrumb,
@@ -1257,12 +1257,12 @@ export {
1257
1257
  nr as Button,
1258
1258
  ar as ButtonComponent,
1259
1259
  or as FocusTrap,
1260
- ve as IconButton,
1260
+ me as IconButton,
1261
1261
  sr as IconLinkButton,
1262
- dr as Input,
1262
+ cr as Input,
1263
1263
  pr as LinkButton,
1264
1264
  fr as LinkButtonComponent,
1265
- gr as List,
1265
+ vr as List,
1266
1266
  br as ListItem,
1267
1267
  Sr as ListItemText,
1268
1268
  Tr as Popover,