@datawire-ai/busyfile-design-library 1.0.7 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import * as _ from "react";
2
- import We from "react";
3
- var pe = { exports: {} }, oe = {};
1
+ import * as C from "react";
2
+ import Fe from "react";
3
+ var fe = { exports: {} }, oe = {};
4
4
  /**
5
5
  * @license React
6
6
  * react-jsx-runtime.production.js
@@ -11,7 +11,7 @@ var pe = { exports: {} }, oe = {};
11
11
  * LICENSE file in the root directory of this source tree.
12
12
  */
13
13
  var ye;
14
- function $e() {
14
+ function We() {
15
15
  if (ye) return oe;
16
16
  ye = 1;
17
17
  var e = Symbol.for("react.transitional.element"), o = Symbol.for("react.fragment");
@@ -19,8 +19,8 @@ function $e() {
19
19
  var c = null;
20
20
  if (a !== void 0 && (c = "" + a), s.key !== void 0 && (c = "" + s.key), "key" in s) {
21
21
  a = {};
22
- for (var m in s)
23
- m !== "key" && (a[m] = s[m]);
22
+ for (var f in s)
23
+ f !== "key" && (a[f] = s[f]);
24
24
  } else a = s;
25
25
  return s = a.ref, {
26
26
  $$typeof: e,
@@ -42,9 +42,9 @@ var ne = {};
42
42
  * This source code is licensed under the MIT license found in the
43
43
  * LICENSE file in the root directory of this source tree.
44
44
  */
45
- var ve;
46
- function Ye() {
47
- return ve || (ve = 1, process.env.NODE_ENV !== "production" && function() {
45
+ var xe;
46
+ function $e() {
47
+ return xe || (xe = 1, process.env.NODE_ENV !== "production" && function() {
48
48
  function e(n) {
49
49
  if (n == null) return null;
50
50
  if (typeof n == "function")
@@ -77,9 +77,9 @@ function Ye() {
77
77
  case F:
78
78
  var p = n.render;
79
79
  return n = n.displayName, n || (n = p.displayName || p.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
80
- case D:
80
+ case B:
81
81
  return p = n.displayName || null, p !== null ? p : e(n.type) || "Memo";
82
- case f:
82
+ case m:
83
83
  p = n._payload, n = n._init;
84
84
  try {
85
85
  return e(n(p));
@@ -110,7 +110,7 @@ function Ye() {
110
110
  }
111
111
  function t(n) {
112
112
  if (n === S) return "<>";
113
- if (typeof n == "object" && n !== null && n.$$typeof === f)
113
+ if (typeof n == "object" && n !== null && n.$$typeof === m)
114
114
  return "<...>";
115
115
  try {
116
116
  var p = e(n);
@@ -127,13 +127,13 @@ function Ye() {
127
127
  return Error("react-stack-top-frame");
128
128
  }
129
129
  function c(n) {
130
- if (B.call(n, "key")) {
130
+ if (D.call(n, "key")) {
131
131
  var p = Object.getOwnPropertyDescriptor(n, "key").get;
132
132
  if (p && p.isReactWarning) return !1;
133
133
  }
134
134
  return n.key !== void 0;
135
135
  }
136
- function m(n, p) {
136
+ function f(n, p) {
137
137
  function y() {
138
138
  G || (G = !0, console.error(
139
139
  "%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://react.dev/link/special-props)",
@@ -151,13 +151,13 @@ function Ye() {
151
151
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
152
152
  )), n = this.props.ref, n !== void 0 ? n : null;
153
153
  }
154
- function g(n, p, y, h, v, T, Z, w) {
155
- return y = T.ref, n = {
154
+ function g(n, p, y, h, x, _, Z, w) {
155
+ return y = _.ref, n = {
156
156
  $$typeof: N,
157
157
  type: n,
158
158
  key: p,
159
- props: T,
160
- _owner: v
159
+ props: _,
160
+ _owner: x
161
161
  }, (y !== void 0 ? y : null) !== null ? Object.defineProperty(n, "ref", {
162
162
  enumerable: !1,
163
163
  get: u
@@ -183,7 +183,7 @@ function Ye() {
183
183
  value: w
184
184
  }), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
185
185
  }
186
- function x(n, p, y, h, v, T, Z, w) {
186
+ function v(n, p, y, h, x, _, Z, w) {
187
187
  var R = p.children;
188
188
  if (R !== void 0)
189
189
  if (h)
@@ -196,7 +196,7 @@ function Ye() {
196
196
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
197
197
  );
198
198
  else k(R);
199
- if (B.call(p, "key")) {
199
+ if (D.call(p, "key")) {
200
200
  R = e(n);
201
201
  var j = Object.keys(p).filter(function(te) {
202
202
  return te !== "key";
@@ -219,14 +219,14 @@ React keys must be passed directly to JSX without using spread:
219
219
  for (var $ in p)
220
220
  $ !== "key" && (y[$] = p[$]);
221
221
  } else y = p;
222
- return R && m(
222
+ return R && f(
223
223
  y,
224
224
  typeof n == "function" ? n.displayName || n.name || "Unknown" : n
225
225
  ), g(
226
226
  n,
227
227
  R,
228
- T,
229
- v,
228
+ _,
229
+ x,
230
230
  s(),
231
231
  y,
232
232
  Z,
@@ -236,53 +236,53 @@ React keys must be passed directly to JSX without using spread:
236
236
  function k(n) {
237
237
  typeof n == "object" && n !== null && n.$$typeof === N && n._store && (n._store.validated = 1);
238
238
  }
239
- var C = We, N = Symbol.for("react.transitional.element"), A = Symbol.for("react.portal"), S = Symbol.for("react.fragment"), P = Symbol.for("react.strict_mode"), M = Symbol.for("react.profiler"), X = Symbol.for("react.consumer"), U = Symbol.for("react.context"), F = Symbol.for("react.forward_ref"), W = Symbol.for("react.suspense"), V = Symbol.for("react.suspense_list"), D = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), O = Symbol.for("react.activity"), ae = Symbol.for("react.client.reference"), H = C.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, B = Object.prototype.hasOwnProperty, ie = Array.isArray, q = console.createTask ? console.createTask : function() {
239
+ var T = Fe, N = Symbol.for("react.transitional.element"), A = Symbol.for("react.portal"), S = Symbol.for("react.fragment"), P = Symbol.for("react.strict_mode"), M = Symbol.for("react.profiler"), X = Symbol.for("react.consumer"), U = Symbol.for("react.context"), F = Symbol.for("react.forward_ref"), W = Symbol.for("react.suspense"), V = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), O = Symbol.for("react.activity"), ae = Symbol.for("react.client.reference"), H = T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, D = Object.prototype.hasOwnProperty, ie = Array.isArray, q = console.createTask ? console.createTask : function() {
240
240
  return null;
241
241
  };
242
- C = {
242
+ T = {
243
243
  "react-stack-bottom-frame": function(n) {
244
244
  return n();
245
245
  }
246
246
  };
247
- var G, z = {}, I = C["react-stack-bottom-frame"].bind(
248
- C,
247
+ var G, z = {}, I = T["react-stack-bottom-frame"].bind(
248
+ T,
249
249
  a
250
250
  )(), d = q(t(a)), re = {};
251
- ne.Fragment = S, ne.jsx = function(n, p, y, h, v) {
252
- var T = 1e4 > H.recentlyCreatedOwnerStacks++;
253
- return x(
251
+ ne.Fragment = S, ne.jsx = function(n, p, y, h, x) {
252
+ var _ = 1e4 > H.recentlyCreatedOwnerStacks++;
253
+ return v(
254
254
  n,
255
255
  p,
256
256
  y,
257
257
  !1,
258
258
  h,
259
- v,
260
- T ? Error("react-stack-top-frame") : I,
261
- T ? q(t(n)) : d
259
+ x,
260
+ _ ? Error("react-stack-top-frame") : I,
261
+ _ ? q(t(n)) : d
262
262
  );
263
- }, ne.jsxs = function(n, p, y, h, v) {
264
- var T = 1e4 > H.recentlyCreatedOwnerStacks++;
265
- return x(
263
+ }, ne.jsxs = function(n, p, y, h, x) {
264
+ var _ = 1e4 > H.recentlyCreatedOwnerStacks++;
265
+ return v(
266
266
  n,
267
267
  p,
268
268
  y,
269
269
  !0,
270
270
  h,
271
- v,
272
- T ? Error("react-stack-top-frame") : I,
273
- T ? q(t(n)) : d
271
+ x,
272
+ _ ? Error("react-stack-top-frame") : I,
273
+ _ ? q(t(n)) : d
274
274
  );
275
275
  };
276
276
  }()), ne;
277
277
  }
278
- process.env.NODE_ENV === "production" ? pe.exports = $e() : pe.exports = Ye();
279
- var ue = pe.exports;
278
+ process.env.NODE_ENV === "production" ? fe.exports = We() : fe.exports = $e();
279
+ var pe = fe.exports;
280
280
  function we(e, o) {
281
281
  if (typeof e == "function")
282
282
  return e(o);
283
283
  e != null && (e.current = o);
284
284
  }
285
- function Ue(...e) {
285
+ function Ye(...e) {
286
286
  return (o) => {
287
287
  let r = !1;
288
288
  const t = e.map((s) => {
@@ -299,105 +299,76 @@ function Ue(...e) {
299
299
  };
300
300
  }
301
301
  // @__NO_SIDE_EFFECTS__
302
- function De(e) {
303
- const o = /* @__PURE__ */ qe(e), r = _.forwardRef((t, s) => {
304
- const { children: a, ...c } = t, m = _.Children.toArray(a), u = m.find(Xe);
302
+ function Ue(e) {
303
+ const o = /* @__PURE__ */ De(e), r = C.forwardRef((t, s) => {
304
+ const { children: a, ...c } = t, f = C.Children.toArray(a), u = f.find(Je);
305
305
  if (u) {
306
- const g = u.props.children, x = m.map((k) => k === u ? _.Children.count(g) > 1 ? _.Children.only(null) : _.isValidElement(g) ? g.props.children : null : k);
307
- return /* @__PURE__ */ ue.jsx(o, { ...c, ref: s, children: _.isValidElement(g) ? _.cloneElement(g, void 0, x) : null });
306
+ const g = u.props.children, v = f.map((k) => k === u ? C.Children.count(g) > 1 ? C.Children.only(null) : C.isValidElement(g) ? g.props.children : null : k);
307
+ return /* @__PURE__ */ pe.jsx(o, { ...c, ref: s, children: C.isValidElement(g) ? C.cloneElement(g, void 0, v) : null });
308
308
  }
309
- return /* @__PURE__ */ ue.jsx(o, { ...c, ref: s, children: a });
309
+ return /* @__PURE__ */ pe.jsx(o, { ...c, ref: s, children: a });
310
310
  });
311
311
  return r.displayName = `${e}.Slot`, r;
312
312
  }
313
- var Be = /* @__PURE__ */ De("Slot");
313
+ var Be = /* @__PURE__ */ Ue("Slot");
314
314
  // @__NO_SIDE_EFFECTS__
315
- function qe(e) {
316
- const o = _.forwardRef((r, t) => {
315
+ function De(e) {
316
+ const o = C.forwardRef((r, t) => {
317
317
  const { children: s, ...a } = r;
318
- if (_.isValidElement(s)) {
319
- const c = Ze(s), m = He(a, s.props);
320
- return s.type !== _.Fragment && (m.ref = t ? Ue(t, c) : c), _.cloneElement(s, m);
318
+ if (C.isValidElement(s)) {
319
+ const c = He(s), f = Xe(a, s.props);
320
+ return s.type !== C.Fragment && (f.ref = t ? Ye(t, c) : c), C.cloneElement(s, f);
321
321
  }
322
- return _.Children.count(s) > 1 ? _.Children.only(null) : null;
322
+ return C.Children.count(s) > 1 ? C.Children.only(null) : null;
323
323
  });
324
324
  return o.displayName = `${e}.SlotClone`, o;
325
325
  }
326
- var Je = Symbol("radix.slottable");
327
- function Xe(e) {
328
- return _.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Je;
326
+ var qe = Symbol("radix.slottable");
327
+ function Je(e) {
328
+ return C.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === qe;
329
329
  }
330
- function He(e, o) {
330
+ function Xe(e, o) {
331
331
  const r = { ...o };
332
332
  for (const t in o) {
333
333
  const s = e[t], a = o[t];
334
- /^on[A-Z]/.test(t) ? s && a ? r[t] = (...m) => {
335
- const u = a(...m);
336
- return s(...m), u;
334
+ /^on[A-Z]/.test(t) ? s && a ? r[t] = (...f) => {
335
+ const u = a(...f);
336
+ return s(...f), u;
337
337
  } : s && (r[t] = s) : t === "style" ? r[t] = { ...s, ...a } : t === "className" && (r[t] = [s, a].filter(Boolean).join(" "));
338
338
  }
339
339
  return { ...e, ...r };
340
340
  }
341
- function Ze(e) {
341
+ function He(e) {
342
342
  var t, s;
343
343
  let o = (t = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : t.get, r = o && "isReactWarning" in o && o.isReactWarning;
344
344
  return r ? e.ref : (o = (s = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : s.get, r = o && "isReactWarning" in o && o.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
345
345
  }
346
- function Te(e) {
346
+ function _e(e) {
347
347
  var o, r, t = "";
348
348
  if (typeof e == "string" || typeof e == "number") t += e;
349
349
  else if (typeof e == "object") if (Array.isArray(e)) {
350
350
  var s = e.length;
351
- for (o = 0; o < s; o++) e[o] && (r = Te(e[o])) && (t && (t += " "), t += r);
351
+ for (o = 0; o < s; o++) e[o] && (r = _e(e[o])) && (t && (t += " "), t += r);
352
352
  } else for (r in e) e[r] && (t && (t += " "), t += r);
353
353
  return t;
354
354
  }
355
- function _e() {
356
- for (var e, o, r = 0, t = "", s = arguments.length; r < s; r++) (e = arguments[r]) && (o = Te(e)) && (t && (t += " "), t += o);
355
+ function Ce() {
356
+ for (var e, o, r = 0, t = "", s = arguments.length; r < s; r++) (e = arguments[r]) && (o = _e(e)) && (t && (t += " "), t += o);
357
357
  return t;
358
358
  }
359
- const ke = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = _e, Qe = (e, o) => (r) => {
360
- var t;
361
- if ((o == null ? void 0 : o.variants) == null) return Re(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
362
- const { variants: s, defaultVariants: a } = o, c = Object.keys(s).map((g) => {
363
- const x = r == null ? void 0 : r[g], k = a == null ? void 0 : a[g];
364
- if (x === null) return null;
365
- const C = ke(x) || ke(k);
366
- return s[g][C];
367
- }), m = r && Object.entries(r).reduce((g, x) => {
368
- let [k, C] = x;
369
- return C === void 0 || (g[k] = C), g;
370
- }, {}), u = o == null || (t = o.compoundVariants) === null || t === void 0 ? void 0 : t.reduce((g, x) => {
371
- let { class: k, className: C, ...N } = x;
372
- return Object.entries(N).every((A) => {
373
- let [S, P] = A;
374
- return Array.isArray(P) ? P.includes({
375
- ...a,
376
- ...m
377
- }[S]) : {
378
- ...a,
379
- ...m
380
- }[S] === P;
381
- }) ? [
382
- ...g,
383
- k,
384
- C
385
- ] : g;
386
- }, []);
387
- return Re(e, c, u, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
388
- }, xe = "-", Ke = (e) => {
389
- const o = rr(e), {
359
+ const ve = "-", Ze = (e) => {
360
+ const o = Ke(e), {
390
361
  conflictingClassGroups: r,
391
362
  conflictingClassGroupModifiers: t
392
363
  } = e;
393
364
  return {
394
365
  getClassGroupId: (c) => {
395
- const m = c.split(xe);
396
- return m[0] === "" && m.length !== 1 && m.shift(), Pe(m, o) || er(c);
366
+ const f = c.split(ve);
367
+ return f[0] === "" && f.length !== 1 && f.shift(), Pe(f, o) || Qe(c);
397
368
  },
398
- getConflictingClassGroupIds: (c, m) => {
369
+ getConflictingClassGroupIds: (c, f) => {
399
370
  const u = r[c] || [];
400
- return m && t[c] ? [...u, ...t[c]] : u;
371
+ return f && t[c] ? [...u, ...t[c]] : u;
401
372
  }
402
373
  };
403
374
  }, Pe = (e, o) => {
@@ -409,17 +380,17 @@ const ke = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = _e, Q
409
380
  return s;
410
381
  if (o.validators.length === 0)
411
382
  return;
412
- const a = e.join(xe);
383
+ const a = e.join(ve);
413
384
  return (c = o.validators.find(({
414
- validator: m
415
- }) => m(a))) == null ? void 0 : c.classGroupId;
416
- }, Ee = /^\[(.+)\]$/, er = (e) => {
417
- if (Ee.test(e)) {
418
- const o = Ee.exec(e)[1], r = o == null ? void 0 : o.substring(0, o.indexOf(":"));
385
+ validator: f
386
+ }) => f(a))) == null ? void 0 : c.classGroupId;
387
+ }, ke = /^\[(.+)\]$/, Qe = (e) => {
388
+ if (ke.test(e)) {
389
+ const o = ke.exec(e)[1], r = o == null ? void 0 : o.substring(0, o.indexOf(":"));
419
390
  if (r)
420
391
  return "arbitrary.." + r;
421
392
  }
422
- }, rr = (e) => {
393
+ }, Ke = (e) => {
423
394
  const {
424
395
  theme: o,
425
396
  classGroups: r
@@ -433,12 +404,12 @@ const ke = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = _e, Q
433
404
  }, be = (e, o, r, t) => {
434
405
  e.forEach((s) => {
435
406
  if (typeof s == "string") {
436
- const a = s === "" ? o : Se(o, s);
407
+ const a = s === "" ? o : Re(o, s);
437
408
  a.classGroupId = r;
438
409
  return;
439
410
  }
440
411
  if (typeof s == "function") {
441
- if (tr(s)) {
412
+ if (er(s)) {
442
413
  be(s(t), o, r, t);
443
414
  return;
444
415
  }
@@ -449,18 +420,18 @@ const ke = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = _e, Q
449
420
  return;
450
421
  }
451
422
  Object.entries(s).forEach(([a, c]) => {
452
- be(c, Se(o, a), r, t);
423
+ be(c, Re(o, a), r, t);
453
424
  });
454
425
  });
455
- }, Se = (e, o) => {
426
+ }, Re = (e, o) => {
456
427
  let r = e;
457
- return o.split(xe).forEach((t) => {
428
+ return o.split(ve).forEach((t) => {
458
429
  r.nextPart.has(t) || r.nextPart.set(t, {
459
430
  nextPart: /* @__PURE__ */ new Map(),
460
431
  validators: []
461
432
  }), r = r.nextPart.get(t);
462
433
  }), r;
463
- }, tr = (e) => e.isThemeGetter, or = (e) => {
434
+ }, er = (e) => e.isThemeGetter, rr = (e) => {
464
435
  if (e < 1)
465
436
  return {
466
437
  get: () => {
@@ -484,19 +455,19 @@ const ke = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = _e, Q
484
455
  r.has(a) ? r.set(a, c) : s(a, c);
485
456
  }
486
457
  };
487
- }, ge = "!", he = ":", nr = he.length, sr = (e) => {
458
+ }, ge = "!", he = ":", tr = he.length, or = (e) => {
488
459
  const {
489
460
  prefix: o,
490
461
  experimentalParseClassName: r
491
462
  } = e;
492
463
  let t = (s) => {
493
464
  const a = [];
494
- let c = 0, m = 0, u = 0, g;
465
+ let c = 0, f = 0, u = 0, g;
495
466
  for (let A = 0; A < s.length; A++) {
496
467
  let S = s[A];
497
- if (c === 0 && m === 0) {
468
+ if (c === 0 && f === 0) {
498
469
  if (S === he) {
499
- a.push(s.slice(u, A)), u = A + nr;
470
+ a.push(s.slice(u, A)), u = A + tr;
500
471
  continue;
501
472
  }
502
473
  if (S === "/") {
@@ -504,12 +475,12 @@ const ke = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = _e, Q
504
475
  continue;
505
476
  }
506
477
  }
507
- S === "[" ? c++ : S === "]" ? c-- : S === "(" ? m++ : S === ")" && m--;
478
+ S === "[" ? c++ : S === "]" ? c-- : S === "(" ? f++ : S === ")" && f--;
508
479
  }
509
- const x = a.length === 0 ? s : s.substring(u), k = ar(x), C = k !== x, N = g && g > u ? g - u : void 0;
480
+ const v = a.length === 0 ? s : s.substring(u), k = nr(v), T = k !== v, N = g && g > u ? g - u : void 0;
510
481
  return {
511
482
  modifiers: a,
512
- hasImportantModifier: C,
483
+ hasImportantModifier: T,
513
484
  baseClassName: k,
514
485
  maybePostfixModifierPosition: N
515
486
  };
@@ -532,7 +503,7 @@ const ke = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = _e, Q
532
503
  });
533
504
  }
534
505
  return t;
535
- }, ar = (e) => e.endsWith(ge) ? e.substring(0, e.length - 1) : e.startsWith(ge) ? e.substring(1) : e, ir = (e) => {
506
+ }, nr = (e) => e.endsWith(ge) ? e.substring(0, e.length - 1) : e.startsWith(ge) ? e.substring(1) : e, sr = (e) => {
536
507
  const o = Object.fromEntries(e.orderSensitiveModifiers.map((t) => [t, !0]));
537
508
  return (t) => {
538
509
  if (t.length <= 1)
@@ -543,57 +514,57 @@ const ke = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = _e, Q
543
514
  c[0] === "[" || o[c] ? (s.push(...a.sort(), c), a = []) : a.push(c);
544
515
  }), s.push(...a.sort()), s;
545
516
  };
546
- }, lr = (e) => ({
547
- cache: or(e.cacheSize),
548
- parseClassName: sr(e),
549
- sortModifiers: ir(e),
550
- ...Ke(e)
551
- }), cr = /\s+/, dr = (e, o) => {
517
+ }, ar = (e) => ({
518
+ cache: rr(e.cacheSize),
519
+ parseClassName: or(e),
520
+ sortModifiers: sr(e),
521
+ ...Ze(e)
522
+ }), ir = /\s+/, lr = (e, o) => {
552
523
  const {
553
524
  parseClassName: r,
554
525
  getClassGroupId: t,
555
526
  getConflictingClassGroupIds: s,
556
527
  sortModifiers: a
557
- } = o, c = [], m = e.trim().split(cr);
528
+ } = o, c = [], f = e.trim().split(ir);
558
529
  let u = "";
559
- for (let g = m.length - 1; g >= 0; g -= 1) {
560
- const x = m[g], {
530
+ for (let g = f.length - 1; g >= 0; g -= 1) {
531
+ const v = f[g], {
561
532
  isExternal: k,
562
- modifiers: C,
533
+ modifiers: T,
563
534
  hasImportantModifier: N,
564
535
  baseClassName: A,
565
536
  maybePostfixModifierPosition: S
566
- } = r(x);
537
+ } = r(v);
567
538
  if (k) {
568
- u = x + (u.length > 0 ? " " + u : u);
539
+ u = v + (u.length > 0 ? " " + u : u);
569
540
  continue;
570
541
  }
571
542
  let P = !!S, M = t(P ? A.substring(0, S) : A);
572
543
  if (!M) {
573
544
  if (!P) {
574
- u = x + (u.length > 0 ? " " + u : u);
545
+ u = v + (u.length > 0 ? " " + u : u);
575
546
  continue;
576
547
  }
577
548
  if (M = t(A), !M) {
578
- u = x + (u.length > 0 ? " " + u : u);
549
+ u = v + (u.length > 0 ? " " + u : u);
579
550
  continue;
580
551
  }
581
552
  P = !1;
582
553
  }
583
- const X = a(C).join(":"), U = N ? X + ge : X, F = U + M;
554
+ const X = a(T).join(":"), U = N ? X + ge : X, F = U + M;
584
555
  if (c.includes(F))
585
556
  continue;
586
557
  c.push(F);
587
558
  const W = s(M, P);
588
559
  for (let V = 0; V < W.length; ++V) {
589
- const D = W[V];
590
- c.push(U + D);
560
+ const B = W[V];
561
+ c.push(U + B);
591
562
  }
592
- u = x + (u.length > 0 ? " " + u : u);
563
+ u = v + (u.length > 0 ? " " + u : u);
593
564
  }
594
565
  return u;
595
566
  };
596
- function ur() {
567
+ function cr() {
597
568
  let e = 0, o, r, t = "";
598
569
  for (; e < arguments.length; )
599
570
  (o = arguments[e++]) && (r = ze(o)) && (t && (t += " "), t += r);
@@ -607,39 +578,39 @@ const ze = (e) => {
607
578
  e[t] && (o = ze(e[t])) && (r && (r += " "), r += o);
608
579
  return r;
609
580
  };
610
- function mr(e, ...o) {
581
+ function dr(e, ...o) {
611
582
  let r, t, s, a = c;
612
583
  function c(u) {
613
- const g = o.reduce((x, k) => k(x), e());
614
- return r = lr(g), t = r.cache.get, s = r.cache.set, a = m, m(u);
584
+ const g = o.reduce((v, k) => k(v), e());
585
+ return r = ar(g), t = r.cache.get, s = r.cache.set, a = f, f(u);
615
586
  }
616
- function m(u) {
587
+ function f(u) {
617
588
  const g = t(u);
618
589
  if (g)
619
590
  return g;
620
- const x = dr(u, r);
621
- return s(u, x), x;
591
+ const v = lr(u, r);
592
+ return s(u, v), v;
622
593
  }
623
594
  return function() {
624
- return a(ur.apply(null, arguments));
595
+ return a(cr.apply(null, arguments));
625
596
  };
626
597
  }
627
598
  const E = (e) => {
628
599
  const o = (r) => r[e] || [];
629
600
  return o.isThemeGetter = !0, o;
630
- }, Oe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, je = /^\((?:(\w[\w-]*):)?(.+)\)$/i, fr = /^\d+\/\d+$/, pr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, br = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, gr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, hr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, xr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Q = (e) => fr.test(e), b = (e) => !!e && !Number.isNaN(Number(e)), Y = (e) => !!e && Number.isInteger(Number(e)), me = (e) => e.endsWith("%") && b(e.slice(0, -1)), L = (e) => pr.test(e), yr = () => !0, vr = (e) => (
601
+ }, Oe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, je = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ur = /^\d+\/\d+$/, mr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, fr = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, pr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, br = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, gr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Q = (e) => ur.test(e), b = (e) => !!e && !Number.isNaN(Number(e)), Y = (e) => !!e && Number.isInteger(Number(e)), ue = (e) => e.endsWith("%") && b(e.slice(0, -1)), L = (e) => mr.test(e), hr = () => !0, vr = (e) => (
631
602
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
632
603
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
633
604
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
634
- br.test(e) && !gr.test(e)
635
- ), Ne = () => !1, wr = (e) => hr.test(e), kr = (e) => xr.test(e), Rr = (e) => !i(e) && !l(e), Er = (e) => K(e, Ve, Ne), i = (e) => Oe.test(e), J = (e) => K(e, Ge, vr), fe = (e) => K(e, _r, b), Ce = (e) => K(e, Ie, Ne), Sr = (e) => K(e, Me, kr), ce = (e) => K(e, Le, wr), l = (e) => je.test(e), se = (e) => ee(e, Ge), Cr = (e) => ee(e, Pr), Ae = (e) => ee(e, Ie), Ar = (e) => ee(e, Ve), Tr = (e) => ee(e, Me), de = (e) => ee(e, Le, !0), K = (e, o, r) => {
605
+ fr.test(e) && !pr.test(e)
606
+ ), Ne = () => !1, yr = (e) => br.test(e), xr = (e) => gr.test(e), wr = (e) => !i(e) && !l(e), kr = (e) => K(e, Ve, Ne), i = (e) => Oe.test(e), J = (e) => K(e, Ge, vr), me = (e) => K(e, Ar, b), Ee = (e) => K(e, Ie, Ne), Rr = (e) => K(e, Me, xr), ce = (e) => K(e, Le, yr), l = (e) => je.test(e), se = (e) => ee(e, Ge), Er = (e) => ee(e, _r), Se = (e) => ee(e, Ie), Sr = (e) => ee(e, Ve), Tr = (e) => ee(e, Me), de = (e) => ee(e, Le, !0), K = (e, o, r) => {
636
607
  const t = Oe.exec(e);
637
608
  return t ? t[1] ? o(t[1]) : r(t[2]) : !1;
638
609
  }, ee = (e, o, r = !1) => {
639
610
  const t = je.exec(e);
640
611
  return t ? t[1] ? o(t[1]) : r : !1;
641
- }, Ie = (e) => e === "position" || e === "percentage", Me = (e) => e === "image" || e === "url", Ve = (e) => e === "length" || e === "size" || e === "bg-size", Ge = (e) => e === "length", _r = (e) => e === "number", Pr = (e) => e === "family-name", Le = (e) => e === "shadow", zr = () => {
642
- const e = E("color"), o = E("font"), r = E("text"), t = E("font-weight"), s = E("tracking"), a = E("leading"), c = E("breakpoint"), m = E("container"), u = E("spacing"), g = E("radius"), x = E("shadow"), k = E("inset-shadow"), C = E("text-shadow"), N = E("drop-shadow"), A = E("blur"), S = E("perspective"), P = E("aspect"), M = E("ease"), X = E("animate"), U = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [
612
+ }, Ie = (e) => e === "position" || e === "percentage", Me = (e) => e === "image" || e === "url", Ve = (e) => e === "length" || e === "size" || e === "bg-size", Ge = (e) => e === "length", Ar = (e) => e === "number", _r = (e) => e === "family-name", Le = (e) => e === "shadow", Cr = () => {
613
+ const e = E("color"), o = E("font"), r = E("text"), t = E("font-weight"), s = E("tracking"), a = E("leading"), c = E("breakpoint"), f = E("container"), u = E("spacing"), g = E("radius"), v = E("shadow"), k = E("inset-shadow"), T = E("text-shadow"), N = E("drop-shadow"), A = E("blur"), S = E("perspective"), P = E("aspect"), M = E("ease"), X = E("animate"), U = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [
643
614
  "center",
644
615
  "top",
645
616
  "bottom",
@@ -657,15 +628,15 @@ const E = (e) => {
657
628
  "bottom-left",
658
629
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
659
630
  "left-bottom"
660
- ], W = () => [...F(), l, i], V = () => ["auto", "hidden", "clip", "visible", "scroll"], D = () => ["auto", "contain", "none"], f = () => [l, i, u], O = () => [Q, "full", "auto", ...f()], ae = () => [Y, "none", "subgrid", l, i], H = () => ["auto", {
631
+ ], W = () => [...F(), l, i], V = () => ["auto", "hidden", "clip", "visible", "scroll"], B = () => ["auto", "contain", "none"], m = () => [l, i, u], O = () => [Q, "full", "auto", ...m()], ae = () => [Y, "none", "subgrid", l, i], H = () => ["auto", {
661
632
  span: ["full", Y, l, i]
662
- }, Y, l, i], B = () => [Y, "auto", l, i], ie = () => ["auto", "min", "max", "fr", l, i], q = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], G = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], z = () => ["auto", ...f()], I = () => [Q, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...f()], d = () => [e, l, i], re = () => [...F(), Ae, Ce, {
633
+ }, Y, l, i], D = () => [Y, "auto", l, i], ie = () => ["auto", "min", "max", "fr", l, i], q = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], G = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], z = () => ["auto", ...m()], I = () => [Q, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...m()], d = () => [e, l, i], re = () => [...F(), Se, Ee, {
663
634
  position: [l, i]
664
635
  }], n = () => ["no-repeat", {
665
636
  repeat: ["", "x", "y", "space", "round"]
666
- }], p = () => ["auto", "cover", "contain", Ar, Er, {
637
+ }], p = () => ["auto", "cover", "contain", Sr, kr, {
667
638
  size: [l, i]
668
- }], y = () => [me, se, J], h = () => [
639
+ }], y = () => [ue, se, J], h = () => [
669
640
  // Deprecated since Tailwind CSS v4.0.0
670
641
  "",
671
642
  "none",
@@ -673,14 +644,14 @@ const E = (e) => {
673
644
  g,
674
645
  l,
675
646
  i
676
- ], v = () => ["", b, se, J], T = () => ["solid", "dashed", "dotted", "double"], Z = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], w = () => [b, me, Ae, Ce], R = () => [
647
+ ], x = () => ["", b, se, J], _ = () => ["solid", "dashed", "dotted", "double"], Z = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], w = () => [b, ue, Se, Ee], R = () => [
677
648
  // Deprecated since Tailwind CSS v4.0.0
678
649
  "",
679
650
  "none",
680
651
  A,
681
652
  l,
682
653
  i
683
- ], j = () => ["none", b, l, i], $ = () => ["none", b, l, i], te = () => [b, l, i], le = () => [Q, "full", ...f()];
654
+ ], j = () => ["none", b, l, i], $ = () => ["none", b, l, i], te = () => [b, l, i], le = () => [Q, "full", ...m()];
684
655
  return {
685
656
  cacheSize: 500,
686
657
  theme: {
@@ -688,11 +659,11 @@ const E = (e) => {
688
659
  aspect: ["video"],
689
660
  blur: [L],
690
661
  breakpoint: [L],
691
- color: [yr],
662
+ color: [hr],
692
663
  container: [L],
693
664
  "drop-shadow": [L],
694
665
  ease: ["in", "out", "in-out"],
695
- font: [Rr],
666
+ font: [wr],
696
667
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
697
668
  "inset-shadow": [L],
698
669
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
@@ -726,7 +697,7 @@ const E = (e) => {
726
697
  * @see https://tailwindcss.com/docs/columns
727
698
  */
728
699
  columns: [{
729
- columns: [b, i, l, m]
700
+ columns: [b, i, l, f]
730
701
  }],
731
702
  /**
732
703
  * Break After
@@ -832,21 +803,21 @@ const E = (e) => {
832
803
  * @see https://tailwindcss.com/docs/overscroll-behavior
833
804
  */
834
805
  overscroll: [{
835
- overscroll: D()
806
+ overscroll: B()
836
807
  }],
837
808
  /**
838
809
  * Overscroll Behavior X
839
810
  * @see https://tailwindcss.com/docs/overscroll-behavior
840
811
  */
841
812
  "overscroll-x": [{
842
- "overscroll-x": D()
813
+ "overscroll-x": B()
843
814
  }],
844
815
  /**
845
816
  * Overscroll Behavior Y
846
817
  * @see https://tailwindcss.com/docs/overscroll-behavior
847
818
  */
848
819
  "overscroll-y": [{
849
- "overscroll-y": D()
820
+ "overscroll-y": B()
850
821
  }],
851
822
  /**
852
823
  * Position
@@ -936,7 +907,7 @@ const E = (e) => {
936
907
  * @see https://tailwindcss.com/docs/flex-basis
937
908
  */
938
909
  basis: [{
939
- basis: [Q, "full", "auto", m, ...f()]
910
+ basis: [Q, "full", "auto", f, ...m()]
940
911
  }],
941
912
  /**
942
913
  * Flex Direction
@@ -999,14 +970,14 @@ const E = (e) => {
999
970
  * @see https://tailwindcss.com/docs/grid-column
1000
971
  */
1001
972
  "col-start": [{
1002
- "col-start": B()
973
+ "col-start": D()
1003
974
  }],
1004
975
  /**
1005
976
  * Grid Column End
1006
977
  * @see https://tailwindcss.com/docs/grid-column
1007
978
  */
1008
979
  "col-end": [{
1009
- "col-end": B()
980
+ "col-end": D()
1010
981
  }],
1011
982
  /**
1012
983
  * Grid Template Rows
@@ -1027,14 +998,14 @@ const E = (e) => {
1027
998
  * @see https://tailwindcss.com/docs/grid-row
1028
999
  */
1029
1000
  "row-start": [{
1030
- "row-start": B()
1001
+ "row-start": D()
1031
1002
  }],
1032
1003
  /**
1033
1004
  * Grid Row End
1034
1005
  * @see https://tailwindcss.com/docs/grid-row
1035
1006
  */
1036
1007
  "row-end": [{
1037
- "row-end": B()
1008
+ "row-end": D()
1038
1009
  }],
1039
1010
  /**
1040
1011
  * Grid Auto Flow
@@ -1062,21 +1033,21 @@ const E = (e) => {
1062
1033
  * @see https://tailwindcss.com/docs/gap
1063
1034
  */
1064
1035
  gap: [{
1065
- gap: f()
1036
+ gap: m()
1066
1037
  }],
1067
1038
  /**
1068
1039
  * Gap X
1069
1040
  * @see https://tailwindcss.com/docs/gap
1070
1041
  */
1071
1042
  "gap-x": [{
1072
- "gap-x": f()
1043
+ "gap-x": m()
1073
1044
  }],
1074
1045
  /**
1075
1046
  * Gap Y
1076
1047
  * @see https://tailwindcss.com/docs/gap
1077
1048
  */
1078
1049
  "gap-y": [{
1079
- "gap-y": f()
1050
+ "gap-y": m()
1080
1051
  }],
1081
1052
  /**
1082
1053
  * Justify Content
@@ -1151,63 +1122,63 @@ const E = (e) => {
1151
1122
  * @see https://tailwindcss.com/docs/padding
1152
1123
  */
1153
1124
  p: [{
1154
- p: f()
1125
+ p: m()
1155
1126
  }],
1156
1127
  /**
1157
1128
  * Padding X
1158
1129
  * @see https://tailwindcss.com/docs/padding
1159
1130
  */
1160
1131
  px: [{
1161
- px: f()
1132
+ px: m()
1162
1133
  }],
1163
1134
  /**
1164
1135
  * Padding Y
1165
1136
  * @see https://tailwindcss.com/docs/padding
1166
1137
  */
1167
1138
  py: [{
1168
- py: f()
1139
+ py: m()
1169
1140
  }],
1170
1141
  /**
1171
1142
  * Padding Start
1172
1143
  * @see https://tailwindcss.com/docs/padding
1173
1144
  */
1174
1145
  ps: [{
1175
- ps: f()
1146
+ ps: m()
1176
1147
  }],
1177
1148
  /**
1178
1149
  * Padding End
1179
1150
  * @see https://tailwindcss.com/docs/padding
1180
1151
  */
1181
1152
  pe: [{
1182
- pe: f()
1153
+ pe: m()
1183
1154
  }],
1184
1155
  /**
1185
1156
  * Padding Top
1186
1157
  * @see https://tailwindcss.com/docs/padding
1187
1158
  */
1188
1159
  pt: [{
1189
- pt: f()
1160
+ pt: m()
1190
1161
  }],
1191
1162
  /**
1192
1163
  * Padding Right
1193
1164
  * @see https://tailwindcss.com/docs/padding
1194
1165
  */
1195
1166
  pr: [{
1196
- pr: f()
1167
+ pr: m()
1197
1168
  }],
1198
1169
  /**
1199
1170
  * Padding Bottom
1200
1171
  * @see https://tailwindcss.com/docs/padding
1201
1172
  */
1202
1173
  pb: [{
1203
- pb: f()
1174
+ pb: m()
1204
1175
  }],
1205
1176
  /**
1206
1177
  * Padding Left
1207
1178
  * @see https://tailwindcss.com/docs/padding
1208
1179
  */
1209
1180
  pl: [{
1210
- pl: f()
1181
+ pl: m()
1211
1182
  }],
1212
1183
  /**
1213
1184
  * Margin
@@ -1277,7 +1248,7 @@ const E = (e) => {
1277
1248
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1278
1249
  */
1279
1250
  "space-x": [{
1280
- "space-x": f()
1251
+ "space-x": m()
1281
1252
  }],
1282
1253
  /**
1283
1254
  * Space Between X Reverse
@@ -1289,7 +1260,7 @@ const E = (e) => {
1289
1260
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1290
1261
  */
1291
1262
  "space-y": [{
1292
- "space-y": f()
1263
+ "space-y": m()
1293
1264
  }],
1294
1265
  /**
1295
1266
  * Space Between Y Reverse
@@ -1311,7 +1282,7 @@ const E = (e) => {
1311
1282
  * @see https://tailwindcss.com/docs/width
1312
1283
  */
1313
1284
  w: [{
1314
- w: [m, "screen", ...I()]
1285
+ w: [f, "screen", ...I()]
1315
1286
  }],
1316
1287
  /**
1317
1288
  * Min-Width
@@ -1319,7 +1290,7 @@ const E = (e) => {
1319
1290
  */
1320
1291
  "min-w": [{
1321
1292
  "min-w": [
1322
- m,
1293
+ f,
1323
1294
  "screen",
1324
1295
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1325
1296
  "none",
@@ -1332,7 +1303,7 @@ const E = (e) => {
1332
1303
  */
1333
1304
  "max-w": [{
1334
1305
  "max-w": [
1335
- m,
1306
+ f,
1336
1307
  "screen",
1337
1308
  "none",
1338
1309
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
@@ -1390,21 +1361,21 @@ const E = (e) => {
1390
1361
  * @see https://tailwindcss.com/docs/font-weight
1391
1362
  */
1392
1363
  "font-weight": [{
1393
- font: [t, l, fe]
1364
+ font: [t, l, me]
1394
1365
  }],
1395
1366
  /**
1396
1367
  * Font Stretch
1397
1368
  * @see https://tailwindcss.com/docs/font-stretch
1398
1369
  */
1399
1370
  "font-stretch": [{
1400
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", me, i]
1371
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ue, i]
1401
1372
  }],
1402
1373
  /**
1403
1374
  * Font Family
1404
1375
  * @see https://tailwindcss.com/docs/font-family
1405
1376
  */
1406
1377
  "font-family": [{
1407
- font: [Cr, i, o]
1378
+ font: [Er, i, o]
1408
1379
  }],
1409
1380
  /**
1410
1381
  * Font Variant Numeric
@@ -1448,7 +1419,7 @@ const E = (e) => {
1448
1419
  * @see https://tailwindcss.com/docs/line-clamp
1449
1420
  */
1450
1421
  "line-clamp": [{
1451
- "line-clamp": [b, "none", l, fe]
1422
+ "line-clamp": [b, "none", l, me]
1452
1423
  }],
1453
1424
  /**
1454
1425
  * Line Height
@@ -1458,7 +1429,7 @@ const E = (e) => {
1458
1429
  leading: [
1459
1430
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1460
1431
  a,
1461
- ...f()
1432
+ ...m()
1462
1433
  ]
1463
1434
  }],
1464
1435
  /**
@@ -1514,7 +1485,7 @@ const E = (e) => {
1514
1485
  * @see https://tailwindcss.com/docs/text-decoration-style
1515
1486
  */
1516
1487
  "text-decoration-style": [{
1517
- decoration: [...T(), "wavy"]
1488
+ decoration: [..._(), "wavy"]
1518
1489
  }],
1519
1490
  /**
1520
1491
  * Text Decoration Thickness
@@ -1559,7 +1530,7 @@ const E = (e) => {
1559
1530
  * @see https://tailwindcss.com/docs/text-indent
1560
1531
  */
1561
1532
  indent: [{
1562
- indent: f()
1533
+ indent: m()
1563
1534
  }],
1564
1535
  /**
1565
1536
  * Vertical Alignment
@@ -1659,7 +1630,7 @@ const E = (e) => {
1659
1630
  }, Y, l, i],
1660
1631
  radial: ["", l, i],
1661
1632
  conic: [Y, l, i]
1662
- }, Tr, Sr]
1633
+ }, Tr, Rr]
1663
1634
  }],
1664
1635
  /**
1665
1636
  * Background Color
@@ -1823,70 +1794,70 @@ const E = (e) => {
1823
1794
  * @see https://tailwindcss.com/docs/border-width
1824
1795
  */
1825
1796
  "border-w": [{
1826
- border: v()
1797
+ border: x()
1827
1798
  }],
1828
1799
  /**
1829
1800
  * Border Width X
1830
1801
  * @see https://tailwindcss.com/docs/border-width
1831
1802
  */
1832
1803
  "border-w-x": [{
1833
- "border-x": v()
1804
+ "border-x": x()
1834
1805
  }],
1835
1806
  /**
1836
1807
  * Border Width Y
1837
1808
  * @see https://tailwindcss.com/docs/border-width
1838
1809
  */
1839
1810
  "border-w-y": [{
1840
- "border-y": v()
1811
+ "border-y": x()
1841
1812
  }],
1842
1813
  /**
1843
1814
  * Border Width Start
1844
1815
  * @see https://tailwindcss.com/docs/border-width
1845
1816
  */
1846
1817
  "border-w-s": [{
1847
- "border-s": v()
1818
+ "border-s": x()
1848
1819
  }],
1849
1820
  /**
1850
1821
  * Border Width End
1851
1822
  * @see https://tailwindcss.com/docs/border-width
1852
1823
  */
1853
1824
  "border-w-e": [{
1854
- "border-e": v()
1825
+ "border-e": x()
1855
1826
  }],
1856
1827
  /**
1857
1828
  * Border Width Top
1858
1829
  * @see https://tailwindcss.com/docs/border-width
1859
1830
  */
1860
1831
  "border-w-t": [{
1861
- "border-t": v()
1832
+ "border-t": x()
1862
1833
  }],
1863
1834
  /**
1864
1835
  * Border Width Right
1865
1836
  * @see https://tailwindcss.com/docs/border-width
1866
1837
  */
1867
1838
  "border-w-r": [{
1868
- "border-r": v()
1839
+ "border-r": x()
1869
1840
  }],
1870
1841
  /**
1871
1842
  * Border Width Bottom
1872
1843
  * @see https://tailwindcss.com/docs/border-width
1873
1844
  */
1874
1845
  "border-w-b": [{
1875
- "border-b": v()
1846
+ "border-b": x()
1876
1847
  }],
1877
1848
  /**
1878
1849
  * Border Width Left
1879
1850
  * @see https://tailwindcss.com/docs/border-width
1880
1851
  */
1881
1852
  "border-w-l": [{
1882
- "border-l": v()
1853
+ "border-l": x()
1883
1854
  }],
1884
1855
  /**
1885
1856
  * Divide Width X
1886
1857
  * @see https://tailwindcss.com/docs/border-width#between-children
1887
1858
  */
1888
1859
  "divide-x": [{
1889
- "divide-x": v()
1860
+ "divide-x": x()
1890
1861
  }],
1891
1862
  /**
1892
1863
  * Divide Width X Reverse
@@ -1898,7 +1869,7 @@ const E = (e) => {
1898
1869
  * @see https://tailwindcss.com/docs/border-width#between-children
1899
1870
  */
1900
1871
  "divide-y": [{
1901
- "divide-y": v()
1872
+ "divide-y": x()
1902
1873
  }],
1903
1874
  /**
1904
1875
  * Divide Width Y Reverse
@@ -1910,14 +1881,14 @@ const E = (e) => {
1910
1881
  * @see https://tailwindcss.com/docs/border-style
1911
1882
  */
1912
1883
  "border-style": [{
1913
- border: [...T(), "hidden", "none"]
1884
+ border: [..._(), "hidden", "none"]
1914
1885
  }],
1915
1886
  /**
1916
1887
  * Divide Style
1917
1888
  * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1918
1889
  */
1919
1890
  "divide-style": [{
1920
- divide: [...T(), "hidden", "none"]
1891
+ divide: [..._(), "hidden", "none"]
1921
1892
  }],
1922
1893
  /**
1923
1894
  * Border Color
@@ -1994,7 +1965,7 @@ const E = (e) => {
1994
1965
  * @see https://tailwindcss.com/docs/outline-style
1995
1966
  */
1996
1967
  "outline-style": [{
1997
- outline: [...T(), "none", "hidden"]
1968
+ outline: [..._(), "none", "hidden"]
1998
1969
  }],
1999
1970
  /**
2000
1971
  * Outline Offset
@@ -2029,7 +2000,7 @@ const E = (e) => {
2029
2000
  // Deprecated since Tailwind CSS v4.0.0
2030
2001
  "",
2031
2002
  "none",
2032
- x,
2003
+ v,
2033
2004
  de,
2034
2005
  ce
2035
2006
  ]
@@ -2060,7 +2031,7 @@ const E = (e) => {
2060
2031
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
2061
2032
  */
2062
2033
  "ring-w": [{
2063
- ring: v()
2034
+ ring: x()
2064
2035
  }],
2065
2036
  /**
2066
2037
  * Ring Width Inset
@@ -2099,7 +2070,7 @@ const E = (e) => {
2099
2070
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
2100
2071
  */
2101
2072
  "inset-ring-w": [{
2102
- "inset-ring": v()
2073
+ "inset-ring": x()
2103
2074
  }],
2104
2075
  /**
2105
2076
  * Inset Ring Color
@@ -2113,7 +2084,7 @@ const E = (e) => {
2113
2084
  * @see https://tailwindcss.com/docs/text-shadow
2114
2085
  */
2115
2086
  "text-shadow": [{
2116
- "text-shadow": ["none", C, de, ce]
2087
+ "text-shadow": ["none", T, de, ce]
2117
2088
  }],
2118
2089
  /**
2119
2090
  * Text Shadow Color
@@ -2523,21 +2494,21 @@ const E = (e) => {
2523
2494
  * @see https://tailwindcss.com/docs/border-spacing
2524
2495
  */
2525
2496
  "border-spacing": [{
2526
- "border-spacing": f()
2497
+ "border-spacing": m()
2527
2498
  }],
2528
2499
  /**
2529
2500
  * Border Spacing X
2530
2501
  * @see https://tailwindcss.com/docs/border-spacing
2531
2502
  */
2532
2503
  "border-spacing-x": [{
2533
- "border-spacing-x": f()
2504
+ "border-spacing-x": m()
2534
2505
  }],
2535
2506
  /**
2536
2507
  * Border Spacing Y
2537
2508
  * @see https://tailwindcss.com/docs/border-spacing
2538
2509
  */
2539
2510
  "border-spacing-y": [{
2540
- "border-spacing-y": f()
2511
+ "border-spacing-y": m()
2541
2512
  }],
2542
2513
  /**
2543
2514
  * Table Layout
@@ -2829,126 +2800,126 @@ const E = (e) => {
2829
2800
  * @see https://tailwindcss.com/docs/scroll-margin
2830
2801
  */
2831
2802
  "scroll-m": [{
2832
- "scroll-m": f()
2803
+ "scroll-m": m()
2833
2804
  }],
2834
2805
  /**
2835
2806
  * Scroll Margin X
2836
2807
  * @see https://tailwindcss.com/docs/scroll-margin
2837
2808
  */
2838
2809
  "scroll-mx": [{
2839
- "scroll-mx": f()
2810
+ "scroll-mx": m()
2840
2811
  }],
2841
2812
  /**
2842
2813
  * Scroll Margin Y
2843
2814
  * @see https://tailwindcss.com/docs/scroll-margin
2844
2815
  */
2845
2816
  "scroll-my": [{
2846
- "scroll-my": f()
2817
+ "scroll-my": m()
2847
2818
  }],
2848
2819
  /**
2849
2820
  * Scroll Margin Start
2850
2821
  * @see https://tailwindcss.com/docs/scroll-margin
2851
2822
  */
2852
2823
  "scroll-ms": [{
2853
- "scroll-ms": f()
2824
+ "scroll-ms": m()
2854
2825
  }],
2855
2826
  /**
2856
2827
  * Scroll Margin End
2857
2828
  * @see https://tailwindcss.com/docs/scroll-margin
2858
2829
  */
2859
2830
  "scroll-me": [{
2860
- "scroll-me": f()
2831
+ "scroll-me": m()
2861
2832
  }],
2862
2833
  /**
2863
2834
  * Scroll Margin Top
2864
2835
  * @see https://tailwindcss.com/docs/scroll-margin
2865
2836
  */
2866
2837
  "scroll-mt": [{
2867
- "scroll-mt": f()
2838
+ "scroll-mt": m()
2868
2839
  }],
2869
2840
  /**
2870
2841
  * Scroll Margin Right
2871
2842
  * @see https://tailwindcss.com/docs/scroll-margin
2872
2843
  */
2873
2844
  "scroll-mr": [{
2874
- "scroll-mr": f()
2845
+ "scroll-mr": m()
2875
2846
  }],
2876
2847
  /**
2877
2848
  * Scroll Margin Bottom
2878
2849
  * @see https://tailwindcss.com/docs/scroll-margin
2879
2850
  */
2880
2851
  "scroll-mb": [{
2881
- "scroll-mb": f()
2852
+ "scroll-mb": m()
2882
2853
  }],
2883
2854
  /**
2884
2855
  * Scroll Margin Left
2885
2856
  * @see https://tailwindcss.com/docs/scroll-margin
2886
2857
  */
2887
2858
  "scroll-ml": [{
2888
- "scroll-ml": f()
2859
+ "scroll-ml": m()
2889
2860
  }],
2890
2861
  /**
2891
2862
  * Scroll Padding
2892
2863
  * @see https://tailwindcss.com/docs/scroll-padding
2893
2864
  */
2894
2865
  "scroll-p": [{
2895
- "scroll-p": f()
2866
+ "scroll-p": m()
2896
2867
  }],
2897
2868
  /**
2898
2869
  * Scroll Padding X
2899
2870
  * @see https://tailwindcss.com/docs/scroll-padding
2900
2871
  */
2901
2872
  "scroll-px": [{
2902
- "scroll-px": f()
2873
+ "scroll-px": m()
2903
2874
  }],
2904
2875
  /**
2905
2876
  * Scroll Padding Y
2906
2877
  * @see https://tailwindcss.com/docs/scroll-padding
2907
2878
  */
2908
2879
  "scroll-py": [{
2909
- "scroll-py": f()
2880
+ "scroll-py": m()
2910
2881
  }],
2911
2882
  /**
2912
2883
  * Scroll Padding Start
2913
2884
  * @see https://tailwindcss.com/docs/scroll-padding
2914
2885
  */
2915
2886
  "scroll-ps": [{
2916
- "scroll-ps": f()
2887
+ "scroll-ps": m()
2917
2888
  }],
2918
2889
  /**
2919
2890
  * Scroll Padding End
2920
2891
  * @see https://tailwindcss.com/docs/scroll-padding
2921
2892
  */
2922
2893
  "scroll-pe": [{
2923
- "scroll-pe": f()
2894
+ "scroll-pe": m()
2924
2895
  }],
2925
2896
  /**
2926
2897
  * Scroll Padding Top
2927
2898
  * @see https://tailwindcss.com/docs/scroll-padding
2928
2899
  */
2929
2900
  "scroll-pt": [{
2930
- "scroll-pt": f()
2901
+ "scroll-pt": m()
2931
2902
  }],
2932
2903
  /**
2933
2904
  * Scroll Padding Right
2934
2905
  * @see https://tailwindcss.com/docs/scroll-padding
2935
2906
  */
2936
2907
  "scroll-pr": [{
2937
- "scroll-pr": f()
2908
+ "scroll-pr": m()
2938
2909
  }],
2939
2910
  /**
2940
2911
  * Scroll Padding Bottom
2941
2912
  * @see https://tailwindcss.com/docs/scroll-padding
2942
2913
  */
2943
2914
  "scroll-pb": [{
2944
- "scroll-pb": f()
2915
+ "scroll-pb": m()
2945
2916
  }],
2946
2917
  /**
2947
2918
  * Scroll Padding Left
2948
2919
  * @see https://tailwindcss.com/docs/scroll-padding
2949
2920
  */
2950
2921
  "scroll-pl": [{
2951
- "scroll-pl": f()
2922
+ "scroll-pl": m()
2952
2923
  }],
2953
2924
  /**
2954
2925
  * Scroll Snap Align
@@ -3033,7 +3004,7 @@ const E = (e) => {
3033
3004
  * @see https://tailwindcss.com/docs/stroke-width
3034
3005
  */
3035
3006
  "stroke-w": [{
3036
- stroke: [b, se, J, fe]
3007
+ stroke: [b, se, J, me]
3037
3008
  }],
3038
3009
  /**
3039
3010
  * Stroke
@@ -3108,90 +3079,82 @@ const E = (e) => {
3108
3079
  },
3109
3080
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3110
3081
  };
3111
- }, Or = /* @__PURE__ */ mr(zr);
3112
- function Fe(...e) {
3113
- return Or(_e(e));
3082
+ }, Pr = /* @__PURE__ */ dr(Cr);
3083
+ function zr(...e) {
3084
+ return Pr(Ce(e));
3114
3085
  }
3115
- const jr = Qe(
3086
+ const Te = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ae = Ce, Or = (e, o) => (r) => {
3087
+ var t;
3088
+ if ((o == null ? void 0 : o.variants) == null) return Ae(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
3089
+ const { variants: s, defaultVariants: a } = o, c = Object.keys(s).map((g) => {
3090
+ const v = r == null ? void 0 : r[g], k = a == null ? void 0 : a[g];
3091
+ if (v === null) return null;
3092
+ const T = Te(v) || Te(k);
3093
+ return s[g][T];
3094
+ }), f = r && Object.entries(r).reduce((g, v) => {
3095
+ let [k, T] = v;
3096
+ return T === void 0 || (g[k] = T), g;
3097
+ }, {}), u = o == null || (t = o.compoundVariants) === null || t === void 0 ? void 0 : t.reduce((g, v) => {
3098
+ let { class: k, className: T, ...N } = v;
3099
+ return Object.entries(N).every((A) => {
3100
+ let [S, P] = A;
3101
+ return Array.isArray(P) ? P.includes({
3102
+ ...a,
3103
+ ...f
3104
+ }[S]) : {
3105
+ ...a,
3106
+ ...f
3107
+ }[S] === P;
3108
+ }) ? [
3109
+ ...g,
3110
+ k,
3111
+ T
3112
+ ] : g;
3113
+ }, []);
3114
+ return Ae(e, c, u, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
3115
+ }, jr = {
3116
+ default: "bg-blue-600 text-white shadow-sm hover:bg-blue-700 focus-visible:ring-blue-500",
3117
+ destructive: "bg-red-600 text-white shadow-sm hover:bg-red-700 focus-visible:ring-red-500",
3118
+ outline: "border border-gray-300 bg-transparent text-gray-700 shadow-sm hover:bg-gray-50 focus-visible:ring-blue-500",
3119
+ secondary: "bg-gray-100 text-gray-900 shadow-sm hover:bg-gray-200 focus-visible:ring-gray-500",
3120
+ ghost: "text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus-visible:ring-gray-500",
3121
+ link: "text-blue-600 underline-offset-4 hover:underline focus-visible:ring-blue-500"
3122
+ }, Nr = {
3123
+ default: "h-9 px-4 py-2",
3124
+ sm: "h-8 px-3 text-xs",
3125
+ lg: "h-10 px-6",
3126
+ icon: "h-9 w-9"
3127
+ }, Ir = Or(
3116
3128
  "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:ring-2 focus-visible:ring-blue-500/50 focus-visible:ring-offset-2",
3117
3129
  {
3118
3130
  variants: {
3119
- variant: {
3120
- default: "bg-blue-600 text-white shadow-sm hover:bg-blue-700 focus-visible:ring-blue-500",
3121
- destructive: "bg-red-600 text-white shadow-sm hover:bg-red-700 focus-visible:ring-red-500",
3122
- outline: "border border-gray-300 bg-white text-gray-700 shadow-sm hover:bg-gray-50 focus-visible:ring-blue-500",
3123
- secondary: "bg-gray-100 text-gray-900 shadow-sm hover:bg-gray-200 focus-visible:ring-gray-500",
3124
- ghost: "text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus-visible:ring-gray-500",
3125
- link: "text-blue-600 underline-offset-4 hover:underline focus-visible:ring-blue-500"
3126
- },
3127
- size: {
3128
- default: "h-9 px-4 py-2",
3129
- sm: "h-8 rounded-md px-3 text-xs",
3130
- lg: "h-10 rounded-md px-6",
3131
- icon: "h-9 w-9"
3132
- }
3131
+ variant: jr,
3132
+ size: Nr
3133
3133
  },
3134
3134
  defaultVariants: {
3135
3135
  variant: "default",
3136
3136
  size: "default"
3137
3137
  }
3138
3138
  }
3139
- ), Nr = _.forwardRef(
3140
- ({ className: e, variant: o, size: r, asChild: t = !1, onClick: s, ...a }, c) => {
3141
- const m = t ? Be : "button", u = (x) => {
3142
- s && s(x);
3143
- }, g = Fe(jr({ variant: o, size: r }), e);
3144
- return /* @__PURE__ */ ue.jsx(
3145
- m,
3146
- {
3147
- "data-slot": "button",
3148
- className: g,
3149
- onClick: u,
3150
- ref: c,
3151
- ...a
3152
- }
3153
- );
3154
- }
3155
3139
  );
3156
- Nr.displayName = "Button";
3157
- const Ir = {
3158
- "title-medium": "text-4xl font-medium",
3159
- "title-bold": "text-4xl font-bold",
3160
- "heading-medium": "text-2xl font-medium",
3161
- "heading-bold": "text-2xl font-bold",
3162
- "heading-two-medium": "text-xl font-medium",
3163
- "heading-two-bold": "text-xl font-bold",
3164
- "heading-three-medium": "text-lg font-medium",
3165
- "heading-three-bold": "text-lg font-bold",
3166
- "body-normal": "text-sm font-normal",
3167
- "body-bold": "text-sm font-semibold",
3168
- caption: "text-xs font-normal",
3169
- "caption-bold": "text-xs font-semibold"
3170
- }, Mr = {
3171
- "title-medium": "h1",
3172
- "title-bold": "h1",
3173
- "heading-medium": "h2",
3174
- "heading-bold": "h2",
3175
- "heading-two-medium": "h3",
3176
- "heading-two-bold": "h3",
3177
- "heading-three-medium": "h4",
3178
- "heading-three-bold": "h4",
3179
- "body-normal": "p",
3180
- "body-bold": "p",
3181
- caption: "span",
3182
- "caption-bold": "span"
3183
- }, Gr = ({
3184
- variant: e = "body-normal",
3185
- children: o,
3186
- className: r,
3187
- as: t
3188
- }) => {
3189
- const s = t || Mr[e], a = Ir[e];
3190
- return /* @__PURE__ */ ue.jsx(s, { className: Fe(a, r), children: o });
3191
- };
3140
+ function Vr({
3141
+ className: e,
3142
+ variant: o,
3143
+ size: r,
3144
+ asChild: t = !1,
3145
+ ...s
3146
+ }) {
3147
+ const a = t ? Be : "button";
3148
+ return /* @__PURE__ */ pe.jsx(
3149
+ a,
3150
+ {
3151
+ "data-slot": "button",
3152
+ className: zr(Ir({ variant: o, size: r }), e),
3153
+ ...s
3154
+ }
3155
+ );
3156
+ }
3192
3157
  export {
3193
- Nr as Button,
3194
- Gr as Typography,
3195
- jr as buttonVariants,
3196
- Fe as cn
3158
+ Vr as Button,
3159
+ zr as cn
3197
3160
  };