@fabio.caffarello/react-design-system 1.11.1 → 1.12.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.
@@ -1,6 +1,6 @@
1
1
  var K = Object.defineProperty;
2
- var P = (t, a, n) => a in t ? K(t, a, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[a] = n;
3
- var R = (t, a, n) => P(t, typeof a != "symbol" ? a + "" : a, n);
2
+ var P = (t, a, i) => a in t ? K(t, a, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[a] = i;
3
+ var R = (t, a, i) => P(t, typeof a != "symbol" ? a + "" : a, i);
4
4
  const I = {
5
5
  // Icon sizes
6
6
  icon: {
@@ -40,22 +40,21 @@ const I = {
40
40
  // Colors (using Tailwind classes)
41
41
  colors: {
42
42
  active: {
43
- bg: "bg-indigo-50",
44
- text: "text-indigo-700",
45
- border: "border-indigo-600"
43
+ bg: "bg-surface-brand-muted",
44
+ text: "text-fg-brand-emphasis",
45
+ border: "border-line-brand"
46
46
  },
47
47
  inactive: {
48
- text: "text-gray-700",
49
- hover: "hover:bg-gray-100 hover:text-gray-900"
48
+ text: "text-fg-secondary",
49
+ hover: "hover:bg-surface-hover hover:text-fg-primary"
50
50
  },
51
- groupTitle: "text-gray-500"
51
+ groupTitle: "text-fg-tertiary"
52
52
  },
53
53
  // Chevron (for collapsible groups)
54
54
  chevron: {
55
55
  size: "h-3 w-3",
56
56
  // 12px (reduced from h-4 w-4)
57
- color: "text-gray-400"
58
- // Subtle gray color
57
+ color: "text-fg-quaternary"
59
58
  },
60
59
  // Navigation column (for split sidebar)
61
60
  navigation: {
@@ -85,7 +84,7 @@ const I = {
85
84
  }
86
85
  }
87
86
  };
88
- function d0(t) {
87
+ function de(t) {
89
88
  return t <= 0 ? I.spacing.itemPaddingX : t === 1 ? I.spacing.nestedIndent : t === 2 ? I.spacing.nestedIndentLevel2 : t === 3 ? I.spacing.nestedIndentLevel3 : `pl-${4 + t * 4}`;
90
89
  }
91
90
  class c {
@@ -94,11 +93,11 @@ class c {
94
93
  * Create a spacing token from scale value
95
94
  */
96
95
  static create(a) {
97
- const n = a * this.BASE_UNIT, i = n / 16;
96
+ const i = a * this.BASE_UNIT, n = i / 16;
98
97
  return {
99
- value: n,
100
- rem: `${i}rem`,
101
- px: `${n}px`,
98
+ value: i,
99
+ rem: `${n}rem`,
100
+ px: `${i}px`,
102
101
  tailwind: this.getTailwindClass(a)
103
102
  };
104
103
  }
@@ -193,11 +192,11 @@ const W = {
193
192
  "6xl": c.create(24)
194
193
  // 96px
195
194
  };
196
- function f0(t) {
195
+ function fe(t) {
197
196
  return W[t];
198
197
  }
199
- function u0(t, a = "p") {
200
- const i = W[t].tailwind;
198
+ function ue(t, a = "p") {
199
+ const n = W[t].tailwind;
201
200
  return `${{
202
201
  p: "p",
203
202
  m: "m",
@@ -217,14 +216,14 @@ function u0(t, a = "p") {
217
216
  "gap-x": "gap-x",
218
217
  "gap-y": "gap-y",
219
218
  "space-y": "space-y"
220
- }[a]}-${i}`;
219
+ }[a]}-${n}`;
221
220
  }
222
221
  class l {
223
222
  /**
224
223
  * Create font size token
225
224
  */
226
225
  static createFontSize(a) {
227
- const i = {
226
+ const n = {
228
227
  "2xs": { px: 10, tailwind: "text-2xs" },
229
228
  // micro-text (badge counters, mini chips)
230
229
  xs: { px: 12, tailwind: "text-xs" },
@@ -239,17 +238,17 @@ class l {
239
238
  "6xl": { px: 60, tailwind: "text-6xl" }
240
239
  }[a];
241
240
  return {
242
- value: i.px,
243
- rem: `${i.px / 16}rem`,
244
- px: `${i.px}px`,
245
- tailwind: i.tailwind
241
+ value: n.px,
242
+ rem: `${n.px / 16}rem`,
243
+ px: `${n.px}px`,
244
+ tailwind: n.tailwind
246
245
  };
247
246
  }
248
247
  /**
249
248
  * Create line height token
250
249
  */
251
250
  static createLineHeight(a) {
252
- const i = {
251
+ const n = {
253
252
  none: { value: 1, tailwind: "leading-none" },
254
253
  tight: { value: 1.25, tailwind: "leading-tight" },
255
254
  snug: { value: 1.375, tailwind: "leading-snug" },
@@ -258,15 +257,15 @@ class l {
258
257
  loose: { value: 2, tailwind: "leading-loose" }
259
258
  }[a];
260
259
  return {
261
- value: i.value,
262
- tailwind: i.tailwind
260
+ value: n.value,
261
+ tailwind: n.tailwind
263
262
  };
264
263
  }
265
264
  /**
266
265
  * Create font weight token
267
266
  */
268
267
  static createFontWeight(a) {
269
- const i = {
268
+ const n = {
270
269
  light: { value: 300, tailwind: "font-light" },
271
270
  normal: { value: 400, tailwind: "font-normal" },
272
271
  medium: { value: 500, tailwind: "font-medium" },
@@ -274,22 +273,22 @@ class l {
274
273
  bold: { value: 700, tailwind: "font-bold" }
275
274
  }[a];
276
275
  return {
277
- value: i.value,
278
- tailwind: i.tailwind
276
+ value: n.value,
277
+ tailwind: n.tailwind
279
278
  };
280
279
  }
281
280
  /**
282
281
  * Create complete typography token
283
282
  */
284
- static create(a, n = "normal", i = "normal") {
283
+ static create(a, i = "normal", n = "normal") {
285
284
  return {
286
285
  fontSize: this.createFontSize(a),
287
- lineHeight: this.createLineHeight(n),
288
- fontWeight: this.createFontWeight(i)
286
+ lineHeight: this.createLineHeight(i),
287
+ fontWeight: this.createFontWeight(n)
289
288
  };
290
289
  }
291
290
  }
292
- const p0 = {
291
+ const pe = {
293
292
  sans: {
294
293
  name: "sans",
295
294
  stack: 'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif',
@@ -305,7 +304,7 @@ const p0 = {
305
304
  stack: 'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',
306
305
  tailwind: "font-mono"
307
306
  }
308
- }, g0 = {
307
+ }, ge = {
309
308
  light: l.createFontWeight("light"),
310
309
  normal: l.createFontWeight("normal"),
311
310
  medium: l.createFontWeight("medium"),
@@ -328,29 +327,29 @@ const p0 = {
328
327
  caption: l.create("xs", "normal", "normal"),
329
328
  button: l.create("base", "normal", "medium")
330
329
  };
331
- function h0(t) {
330
+ function he(t) {
332
331
  return A[t];
333
332
  }
334
- function b0(t) {
333
+ function be(t) {
335
334
  const a = A[t];
336
335
  return `${a.fontSize.tailwind} ${a.lineHeight.tailwind} ${a.fontWeight.tailwind}`;
337
336
  }
338
- function m0(t) {
337
+ function me(t) {
339
338
  return A[t].fontSize.tailwind;
340
339
  }
341
- function w0(t) {
340
+ function we(t) {
342
341
  return l.createFontSize(t).tailwind;
343
342
  }
344
- function x0(t) {
343
+ function xe(t) {
345
344
  return A[t].fontWeight.tailwind;
346
345
  }
347
- function y0(t) {
346
+ function ye(t) {
348
347
  return l.createFontWeight(t).tailwind;
349
348
  }
350
- function k0(t) {
349
+ function ke(t) {
351
350
  return A[t].lineHeight.tailwind;
352
351
  }
353
- const v0 = [
352
+ const ve = [
354
353
  50,
355
354
  100,
356
355
  200,
@@ -363,14 +362,14 @@ const v0 = [
363
362
  900,
364
363
  950
365
364
  ];
366
- function e(t, a, n) {
367
- const i = G(t), r = Y(t);
365
+ function e(t, a, i) {
366
+ const n = G(t), r = Y(t);
368
367
  return {
369
368
  hex: t,
370
- rgb: i,
369
+ rgb: n,
371
370
  hsl: r,
372
- cssVar: `var(--color-${a}-${n})`,
373
- tailwind: `${a}-${n}`
371
+ cssVar: `var(--color-${a}-${i})`,
372
+ tailwind: `${a}-${i}`
374
373
  };
375
374
  }
376
375
  function G(t) {
@@ -380,20 +379,20 @@ function G(t) {
380
379
  function Y(t) {
381
380
  const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
382
381
  if (!a) return "0, 0%, 0%";
383
- const n = parseInt(a[1], 16) / 255, i = parseInt(a[2], 16) / 255, r = parseInt(a[3], 16) / 255, o = Math.max(n, i, r), s = Math.min(n, i, r);
382
+ const i = parseInt(a[1], 16) / 255, n = parseInt(a[2], 16) / 255, r = parseInt(a[3], 16) / 255, o = Math.max(i, n, r), s = Math.min(i, n, r);
384
383
  let f = 0, L = 0;
385
384
  const u = (o + s) / 2;
386
385
  if (o !== s) {
387
386
  const b = o - s;
388
387
  switch (L = u > 0.5 ? b / (2 - o - s) : b / (o + s), o) {
389
- case n:
390
- f = ((i - r) / b + (i < r ? 6 : 0)) / 6;
391
- break;
392
388
  case i:
393
- f = ((r - n) / b + 2) / 6;
389
+ f = ((n - r) / b + (n < r ? 6 : 0)) / 6;
390
+ break;
391
+ case n:
392
+ f = ((r - i) / b + 2) / 6;
394
393
  break;
395
394
  case r:
396
- f = ((n - i) / b + 4) / 6;
395
+ f = ((i - n) / b + 4) / 6;
397
396
  break;
398
397
  }
399
398
  }
@@ -567,7 +566,7 @@ const x = {
567
566
  800: e("#1e40af", "blue", 800),
568
567
  900: e("#1e3a8a", "blue", 900),
569
568
  950: e("#172554", "blue", 950)
570
- }, e0 = {
569
+ }, ee = {
571
570
  50: e("#fdf4ff", "fuchsia", 50),
572
571
  100: e("#fae8ff", "fuchsia", 100),
573
572
  200: e("#f5d0fe", "fuchsia", 200),
@@ -579,7 +578,7 @@ const x = {
579
578
  800: e("#86198f", "fuchsia", 800),
580
579
  900: e("#701a75", "fuchsia", 900),
581
580
  950: e("#4a044e", "fuchsia", 950)
582
- }, t0 = {
581
+ }, te = {
583
582
  50: e("#fdf2f8", "pink", 50),
584
583
  100: e("#fce7f3", "pink", 100),
585
584
  200: e("#fbcfe8", "pink", 200),
@@ -591,7 +590,7 @@ const x = {
591
590
  800: e("#9d174d", "pink", 800),
592
591
  900: e("#831843", "pink", 900),
593
592
  950: e("#500724", "pink", 950)
594
- }, a0 = {
593
+ }, ae = {
595
594
  50: e("#faf5ff", "purple", 50),
596
595
  100: e("#f3e8ff", "purple", 100),
597
596
  200: e("#e9d5ff", "purple", 200),
@@ -603,7 +602,7 @@ const x = {
603
602
  800: e("#6b21a8", "purple", 800),
604
603
  900: e("#581c87", "purple", 900),
605
604
  950: e("#3b0764", "purple", 950)
606
- }, i0 = {
605
+ }, ne = {
607
606
  50: e("#f0fdfa", "teal", 50),
608
607
  100: e("#ccfbf1", "teal", 100),
609
608
  200: e("#99f6e4", "teal", 200),
@@ -615,7 +614,7 @@ const x = {
615
614
  800: e("#115e59", "teal", 800),
616
615
  900: e("#134e4a", "teal", 900),
617
616
  950: e("#042f2e", "teal", 950)
618
- }, n0 = {
617
+ }, ie = {
619
618
  50: e("#f7fee7", "lime", 50),
620
619
  100: e("#ecfccb", "lime", 100),
621
620
  200: e("#d9f99d", "lime", 200),
@@ -642,16 +641,16 @@ const x = {
642
641
  red: Q,
643
642
  sky: E,
644
643
  blue: J,
645
- fuchsia: e0,
646
- pink: t0,
647
- purple: a0,
648
- teal: i0,
649
- lime: n0
644
+ fuchsia: ee,
645
+ pink: te,
646
+ purple: ae,
647
+ teal: ne,
648
+ lime: ie
650
649
  };
651
650
  function C(t, a) {
652
651
  return U[t][a];
653
652
  }
654
- function T0(t) {
653
+ function Te(t) {
655
654
  return U[t];
656
655
  }
657
656
  const D = {
@@ -848,17 +847,17 @@ const D = {
848
847
  tailwind: "white"
849
848
  }
850
849
  }
851
- }, $0 = D;
852
- function O(t, a = "DEFAULT", n = "light") {
853
- return (n === "dark" ? V : D)[t][a];
850
+ }, $e = D;
851
+ function O(t, a = "DEFAULT", i = "light") {
852
+ return (i === "dark" ? V : D)[t][a];
854
853
  }
855
- function S0(t, a = "light") {
854
+ function Se(t, a = "light") {
856
855
  return (a === "dark" ? V : D)[t];
857
856
  }
858
- function E0(t, a, n = {}) {
859
- const { format: i = "hex", opacity: r } = n, o = C(t, a);
857
+ function Ee(t, a, i = {}) {
858
+ const { format: n = "hex", opacity: r } = i, o = C(t, a);
860
859
  let s;
861
- switch (i) {
860
+ switch (n) {
862
861
  case "rgb":
863
862
  s = r !== void 0 ? `rgba(${o.rgb}, ${r})` : `rgb(${o.rgb})`;
864
863
  break;
@@ -877,10 +876,10 @@ function E0(t, a, n = {}) {
877
876
  }
878
877
  return s;
879
878
  }
880
- function F0(t, a = "DEFAULT", n = {}) {
881
- const { format: i = "hex", opacity: r } = n, o = O(t, a);
879
+ function Fe(t, a = "DEFAULT", i = {}) {
880
+ const { format: n = "hex", opacity: r } = i, o = O(t, a);
882
881
  let s;
883
- switch (i) {
882
+ switch (n) {
884
883
  case "rgb":
885
884
  s = r !== void 0 ? `rgba(${o.rgb}, ${r})` : `rgb(${o.rgb})`;
886
885
  break;
@@ -899,55 +898,55 @@ function F0(t, a = "DEFAULT", n = {}) {
899
898
  }
900
899
  return s;
901
900
  }
902
- function M0(t, a, n = {}) {
901
+ function Me(t, a, i = {}) {
903
902
  const {
904
- type: i = "text",
903
+ type: n = "text",
905
904
  hover: r = !1,
906
905
  focus: o = !1,
907
906
  active: s = !1
908
- } = n, f = C(t, a), u = [`${i}-${f.tailwind}`];
909
- return r && u.push(`hover:${i}-${f.tailwind}`), o && u.push(`focus:${i}-${f.tailwind}`), s && u.push(`active:${i}-${f.tailwind}`), u.join(" ");
907
+ } = i, f = C(t, a), u = [`${n}-${f.tailwind}`];
908
+ return r && u.push(`hover:${n}-${f.tailwind}`), o && u.push(`focus:${n}-${f.tailwind}`), s && u.push(`active:${n}-${f.tailwind}`), u.join(" ");
910
909
  }
911
- function A0(t, a = "DEFAULT", n = {}) {
910
+ function Ae(t, a = "DEFAULT", i = {}) {
912
911
  const {
913
- type: i = "text",
912
+ type: n = "text",
914
913
  hover: r = !1,
915
914
  focus: o = !1,
916
915
  active: s = !1
917
- } = n, f = O(t, a), u = [`${i}-${f.tailwind}`];
916
+ } = i, f = O(t, a), u = [`${n}-${f.tailwind}`];
918
917
  if (r) {
919
918
  const b = O(
920
919
  t,
921
920
  a === "DEFAULT" ? "dark" : "DEFAULT"
922
921
  );
923
- u.push(`hover:${i}-${b.tailwind}`);
922
+ u.push(`hover:${n}-${b.tailwind}`);
924
923
  }
925
- if (o && u.push(`focus:${i}-${f.tailwind}`), s) {
924
+ if (o && u.push(`focus:${n}-${f.tailwind}`), s) {
926
925
  const b = O(t, "dark");
927
- u.push(`active:${i}-${b.tailwind}`);
926
+ u.push(`active:${n}-${b.tailwind}`);
928
927
  }
929
928
  return u.join(" ");
930
929
  }
931
- function C0(t, a, n = "bg") {
932
- const i = C(t, a);
933
- return `hover:${n}-${i.tailwind}`;
930
+ function Ce(t, a, i = "bg") {
931
+ const n = C(t, a);
932
+ return `hover:${i}-${n.tailwind}`;
934
933
  }
935
- function L0(t, a, n = "border") {
936
- const i = C(t, a);
937
- return `focus:${n}-${i.tailwind}`;
934
+ function Le(t, a, i = "border") {
935
+ const n = C(t, a);
936
+ return `focus:${i}-${n.tailwind}`;
938
937
  }
939
- function I0(t, a) {
938
+ function Ie(t, a) {
940
939
  return `focus:ring-${C(t, a).tailwind}`;
941
940
  }
942
- function O0(t, a) {
941
+ function Oe(t, a) {
943
942
  return `rgba(${t.rgb}, ${a})`;
944
943
  }
945
- function r0(t) {
944
+ function re(t) {
946
945
  const a = N(t);
947
946
  return a ? 0.299 * a[0] + 0.587 * a[1] + 0.114 * a[2] > 128 : !0;
948
947
  }
949
- function N0(t) {
950
- return r0(t) ? "#000000" : "#ffffff";
948
+ function Ne(t) {
949
+ return re(t) ? "#000000" : "#ffffff";
951
950
  }
952
951
  function N(t) {
953
952
  const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
@@ -957,19 +956,19 @@ function N(t) {
957
956
  parseInt(a[3], 16)
958
957
  ] : null;
959
958
  }
960
- function _(t, a, n = 0.5) {
961
- const i = N(t), r = N(a);
962
- if (!i || !r) return t;
963
- const o = Math.round(i[0] * (1 - n) + r[0] * n), s = Math.round(i[1] * (1 - n) + r[1] * n), f = Math.round(i[2] * (1 - n) + r[2] * n);
959
+ function _(t, a, i = 0.5) {
960
+ const n = N(t), r = N(a);
961
+ if (!n || !r) return t;
962
+ const o = Math.round(n[0] * (1 - i) + r[0] * i), s = Math.round(n[1] * (1 - i) + r[1] * i), f = Math.round(n[2] * (1 - i) + r[2] * i);
964
963
  return `#${((1 << 24) + (o << 16) + (s << 8) + f).toString(16).slice(1)}`;
965
964
  }
966
- function D0(t, a) {
965
+ function De(t, a) {
967
966
  return _(t, "#ffffff", a / 100);
968
967
  }
969
- function R0(t, a) {
968
+ function Re(t, a) {
970
969
  return _(t, "#000000", a / 100);
971
970
  }
972
- const W0 = {
971
+ const We = {
973
972
  primary: {
974
973
  name: "indigo",
975
974
  light: 400,
@@ -994,7 +993,7 @@ class F {
994
993
  * Create breakpoint token
995
994
  */
996
995
  static create(a) {
997
- const i = {
996
+ const n = {
998
997
  sm: { minWidth: 640, tailwind: "sm" },
999
998
  md: { minWidth: 768, tailwind: "md" },
1000
999
  lg: { minWidth: 1024, tailwind: "lg" },
@@ -1003,10 +1002,10 @@ class F {
1003
1002
  }[a];
1004
1003
  return {
1005
1004
  name: a,
1006
- minWidth: i.minWidth,
1007
- px: `${i.minWidth}px`,
1008
- rem: `${i.minWidth / 16}rem`,
1009
- tailwind: i.tailwind
1005
+ minWidth: n.minWidth,
1006
+ px: `${n.minWidth}px`,
1007
+ rem: `${n.minWidth / 16}rem`,
1008
+ tailwind: n.tailwind
1010
1009
  };
1011
1010
  }
1012
1011
  }
@@ -1017,19 +1016,19 @@ const z = {
1017
1016
  xl: F.create("xl"),
1018
1017
  "2xl": F.create("2xl")
1019
1018
  };
1020
- function U0(t) {
1019
+ function Ue(t) {
1021
1020
  return z[t];
1022
1021
  }
1023
- function V0(t, a = "min") {
1024
- const n = z[t];
1025
- return `@media (${a === "min" ? "min-width" : "max-width"}: ${n.px})`;
1022
+ function Ve(t, a = "min") {
1023
+ const i = z[t];
1024
+ return `@media (${a === "min" ? "min-width" : "max-width"}: ${i.px})`;
1026
1025
  }
1027
1026
  class g {
1028
1027
  /**
1029
1028
  * Create an animation token
1030
1029
  */
1031
- static create(a, n = "ease-in-out") {
1032
- const i = {
1030
+ static create(a, i = "ease-in-out") {
1031
+ const n = {
1033
1032
  fast: {
1034
1033
  value: "150ms",
1035
1034
  ms: 150,
@@ -1073,15 +1072,15 @@ class g {
1073
1072
  }
1074
1073
  };
1075
1074
  return {
1076
- duration: i[a],
1077
- easing: r[n]
1075
+ duration: n[a],
1076
+ easing: r[i]
1078
1077
  };
1079
1078
  }
1080
1079
  /**
1081
1080
  * Create a transition token
1082
1081
  */
1083
- static createTransition(a, n = "base", i = "ease-in-out") {
1084
- const r = this.create(n, i), o = Array.isArray(a) ? a.join(", ") : a, s = [
1082
+ static createTransition(a, i = "base", n = "ease-in-out") {
1083
+ const r = this.create(i, n), o = Array.isArray(a) ? a.join(", ") : a, s = [
1085
1084
  r.duration.tailwind,
1086
1085
  r.easing.tailwind
1087
1086
  ].join(" ");
@@ -1093,7 +1092,7 @@ class g {
1093
1092
  };
1094
1093
  }
1095
1094
  }
1096
- const _0 = {
1095
+ const _e = {
1097
1096
  fast: g.create("fast"),
1098
1097
  base: g.create("base"),
1099
1098
  slow: g.create("slow"),
@@ -1107,18 +1106,18 @@ const _0 = {
1107
1106
  transform: g.createTransition("transform", "base"),
1108
1107
  all: g.createTransition("all", "base")
1109
1108
  };
1110
- function z0(t, a) {
1109
+ function ze(t, a) {
1111
1110
  return g.create(t, a);
1112
1111
  }
1113
- function B0(t, a = "ease-in-out") {
1114
- const n = g.create(t, a);
1115
- return `${n.duration.tailwind} ${n.easing.tailwind}`;
1112
+ function Be(t, a = "ease-in-out") {
1113
+ const i = g.create(t, a);
1114
+ return `${i.duration.tailwind} ${i.easing.tailwind}`;
1116
1115
  }
1117
- function H0(t, a = "base", n = "ease-in-out") {
1116
+ function He(t, a = "base", i = "ease-in-out") {
1118
1117
  return g.createTransition(
1119
1118
  t,
1120
1119
  a,
1121
- n
1120
+ i
1122
1121
  ).tailwind;
1123
1122
  }
1124
1123
  class p {
@@ -1175,7 +1174,7 @@ class p {
1175
1174
  }[a];
1176
1175
  }
1177
1176
  }
1178
- const K0 = {
1177
+ const Ke = {
1179
1178
  base: p.create("base"),
1180
1179
  dropdown: p.create("dropdown"),
1181
1180
  sticky: p.create("sticky"),
@@ -1186,10 +1185,10 @@ const K0 = {
1186
1185
  tooltip: p.create("tooltip"),
1187
1186
  toast: p.create("toast")
1188
1187
  };
1189
- function P0(t) {
1188
+ function Pe(t) {
1190
1189
  return p.create(t);
1191
1190
  }
1192
- function G0(t) {
1191
+ function Ge(t) {
1193
1192
  return p.create(t).tailwind;
1194
1193
  }
1195
1194
  class d {
@@ -1197,7 +1196,7 @@ class d {
1197
1196
  * Create an opacity token
1198
1197
  */
1199
1198
  static create(a) {
1200
- const n = a / 100, i = {
1199
+ const i = a / 100, n = {
1201
1200
  0: "Fully transparent",
1202
1201
  5: "Very light overlay",
1203
1202
  10: "Light overlay",
@@ -1216,7 +1215,7 @@ class d {
1216
1215
  };
1217
1216
  return {
1218
1217
  value: a,
1219
- decimal: n,
1218
+ decimal: i,
1220
1219
  tailwind: {
1221
1220
  0: "opacity-0",
1222
1221
  5: "opacity-5",
@@ -1234,11 +1233,11 @@ class d {
1234
1233
  95: "opacity-95",
1235
1234
  100: "opacity-100"
1236
1235
  }[a],
1237
- description: i[a]
1236
+ description: n[a]
1238
1237
  };
1239
1238
  }
1240
1239
  }
1241
- const Y0 = {
1240
+ const Ye = {
1242
1241
  transparent: d.create(0),
1243
1242
  5: d.create(5),
1244
1243
  10: d.create(10),
@@ -1255,10 +1254,10 @@ const Y0 = {
1255
1254
  95: d.create(95),
1256
1255
  opaque: d.create(100)
1257
1256
  };
1258
- function q0(t) {
1257
+ function qe(t) {
1259
1258
  return d.create(t);
1260
1259
  }
1261
- function X0(t) {
1260
+ function Xe(t) {
1262
1261
  return d.create(t).tailwind;
1263
1262
  }
1264
1263
  class m {
@@ -1266,7 +1265,7 @@ class m {
1266
1265
  * Create a radius token
1267
1266
  */
1268
1267
  static create(a) {
1269
- const i = {
1268
+ const n = {
1270
1269
  none: {
1271
1270
  px: 0,
1272
1271
  tailwind: "rounded-none",
@@ -1309,11 +1308,11 @@ class m {
1309
1308
  }
1310
1309
  }[a];
1311
1310
  return {
1312
- value: i.px,
1313
- rem: `${i.px / 16}rem`,
1314
- px: `${i.px}px`,
1315
- tailwind: i.tailwind,
1316
- description: i.description
1311
+ value: n.px,
1312
+ rem: `${n.px / 16}rem`,
1313
+ px: `${n.px}px`,
1314
+ tailwind: n.tailwind,
1315
+ description: n.description
1317
1316
  };
1318
1317
  }
1319
1318
  }
@@ -1327,10 +1326,10 @@ const B = {
1327
1326
  "3xl": m.create("3xl"),
1328
1327
  full: m.create("full")
1329
1328
  };
1330
- function j0(t) {
1329
+ function je(t) {
1331
1330
  return B[t];
1332
1331
  }
1333
- function Z0(t) {
1332
+ function Ze(t) {
1334
1333
  return B[t].tailwind;
1335
1334
  }
1336
1335
  class h {
@@ -1338,7 +1337,7 @@ class h {
1338
1337
  * Create a border width token
1339
1338
  */
1340
1339
  static createWidth(a) {
1341
- const i = {
1340
+ const n = {
1342
1341
  none: {
1343
1342
  px: 0,
1344
1343
  tailwind: "border-0"
@@ -1361,23 +1360,23 @@ class h {
1361
1360
  }
1362
1361
  }[a];
1363
1362
  return {
1364
- value: i.px,
1365
- px: `${i.px}px`,
1366
- tailwind: i.tailwind
1363
+ value: n.px,
1364
+ px: `${n.px}px`,
1365
+ tailwind: n.tailwind
1367
1366
  };
1368
1367
  }
1369
1368
  /**
1370
1369
  * Create a complete border token
1371
1370
  */
1372
- static create(a, n = "solid") {
1371
+ static create(a, i = "solid") {
1373
1372
  return {
1374
1373
  width: this.createWidth(a),
1375
- style: n,
1376
- description: `${a} ${n} border`
1374
+ style: i,
1375
+ description: `${a} ${i} border`
1377
1376
  };
1378
1377
  }
1379
1378
  }
1380
- const o0 = {
1379
+ const oe = {
1381
1380
  none: h.create("none"),
1382
1381
  thin: h.create("thin"),
1383
1382
  base: h.create("base"),
@@ -1390,21 +1389,21 @@ const o0 = {
1390
1389
  thinDotted: h.create("thin", "dotted"),
1391
1390
  baseDotted: h.create("base", "dotted")
1392
1391
  };
1393
- function Q0(t) {
1394
- return o0[t];
1392
+ function Qe(t) {
1393
+ return oe[t];
1395
1394
  }
1396
- function s0(t) {
1395
+ function se(t) {
1397
1396
  return h.createWidth(t).tailwind;
1398
1397
  }
1399
- function l0(t) {
1398
+ function le(t) {
1400
1399
  return {
1401
1400
  solid: "border-solid",
1402
1401
  dashed: "border-dashed",
1403
1402
  dotted: "border-dotted"
1404
1403
  }[t];
1405
1404
  }
1406
- function J0(t, a = "solid") {
1407
- return `${s0(t)} ${l0(a)}`;
1405
+ function Je(t, a = "solid") {
1406
+ return `${se(t)} ${le(a)}`;
1408
1407
  }
1409
1408
  class w {
1410
1409
  /**
@@ -1459,10 +1458,10 @@ const H = {
1459
1458
  "2xl": w.create("2xl"),
1460
1459
  inner: w.create("inner")
1461
1460
  };
1462
- function ee(t) {
1461
+ function e0(t) {
1463
1462
  return H[t];
1464
1463
  }
1465
- function te(t) {
1464
+ function t0(t) {
1466
1465
  return H[t].tailwind;
1467
1466
  }
1468
1467
  const M = {
@@ -1503,7 +1502,7 @@ const M = {
1503
1502
  lg: "translate-x-7"
1504
1503
  }
1505
1504
  };
1506
- function ae(t) {
1505
+ function a0(t) {
1507
1506
  return {
1508
1507
  track: `${M.track[t].w} ${M.track[t].h}`,
1509
1508
  thumb: `${M.thumb[t].w} ${M.thumb[t].h}`,
@@ -1512,35 +1511,35 @@ function ae(t) {
1512
1511
  }
1513
1512
  export {
1514
1513
  $ as AMBER,
1515
- _0 as ANIMATION_TOKENS,
1514
+ _e as ANIMATION_TOKENS,
1516
1515
  g as AnimationTokenFactory,
1517
1516
  J as BLUE,
1518
- o0 as BORDER_TOKENS,
1519
- W0 as BRAND_COLORS,
1517
+ oe as BORDER_TOKENS,
1518
+ We as BRAND_COLORS,
1520
1519
  z as BREAKPOINT_TOKENS,
1521
1520
  h as BorderTokenFactory,
1522
1521
  F as BreakpointTokenFactory,
1523
- v0 as COLOR_SCALES,
1522
+ ve as COLOR_SCALES,
1524
1523
  k as CYAN,
1525
1524
  T as EMERALD,
1526
- p0 as FONT_FAMILY_TOKENS,
1527
- g0 as FONT_WEIGHT_TOKENS,
1528
- e0 as FUCHSIA,
1525
+ pe as FONT_FAMILY_TOKENS,
1526
+ ge as FONT_WEIGHT_TOKENS,
1527
+ ee as FUCHSIA,
1529
1528
  q as GRAY,
1530
1529
  X as GREEN,
1531
1530
  x as INDIGO,
1532
- n0 as LIME,
1533
- Y0 as OPACITY_TOKENS,
1531
+ ie as LIME,
1532
+ Ye as OPACITY_TOKENS,
1534
1533
  Z as ORANGE,
1535
1534
  d as OpacityTokenFactory,
1536
- t0 as PINK,
1535
+ te as PINK,
1537
1536
  U as PRIMITIVE_COLORS,
1538
- a0 as PURPLE,
1537
+ ae as PURPLE,
1539
1538
  B as RADIUS_TOKENS,
1540
1539
  Q as RED,
1541
1540
  S as ROSE,
1542
1541
  m as RadiusTokenFactory,
1543
- $0 as SEMANTIC_COLORS,
1542
+ $e as SEMANTIC_COLORS,
1544
1543
  V as SEMANTIC_COLORS_DARK,
1545
1544
  D as SEMANTIC_COLORS_LIGHT,
1546
1545
  H as SHADOW_TOKENS,
@@ -1551,57 +1550,57 @@ export {
1551
1550
  M as SWITCH_TOKENS,
1552
1551
  w as ShadowTokenFactory,
1553
1552
  c as SpacingTokenFactory,
1554
- i0 as TEAL,
1553
+ ne as TEAL,
1555
1554
  A as TYPOGRAPHY_TOKENS,
1556
1555
  l as TypographyTokenFactory,
1557
1556
  y as VIOLET,
1558
1557
  j as YELLOW,
1559
1558
  p as ZIndexTokenFactory,
1560
- K0 as Z_INDEX_TOKENS,
1559
+ Ke as Z_INDEX_TOKENS,
1561
1560
  _ as blendColors,
1562
- R0 as darken,
1563
- z0 as getAnimation,
1564
- B0 as getAnimationClass,
1565
- Q0 as getBorder,
1566
- J0 as getBorderClasses,
1567
- l0 as getBorderStyleClass,
1568
- s0 as getBorderWidthClass,
1569
- U0 as getBreakpoint,
1570
- E0 as getColor,
1571
- M0 as getColorClass,
1572
- N0 as getContrastColor,
1573
- L0 as getFocusColorClass,
1574
- I0 as getFocusRingClass,
1575
- C0 as getHoverColorClass,
1576
- V0 as getMediaQuery,
1577
- d0 as getNestedIndentClass,
1578
- q0 as getOpacity,
1579
- X0 as getOpacityClass,
1561
+ Re as darken,
1562
+ ze as getAnimation,
1563
+ Be as getAnimationClass,
1564
+ Qe as getBorder,
1565
+ Je as getBorderClasses,
1566
+ le as getBorderStyleClass,
1567
+ se as getBorderWidthClass,
1568
+ Ue as getBreakpoint,
1569
+ Ee as getColor,
1570
+ Me as getColorClass,
1571
+ Ne as getContrastColor,
1572
+ Le as getFocusColorClass,
1573
+ Ie as getFocusRingClass,
1574
+ Ce as getHoverColorClass,
1575
+ Ve as getMediaQuery,
1576
+ de as getNestedIndentClass,
1577
+ qe as getOpacity,
1578
+ Xe as getOpacityClass,
1580
1579
  C as getPrimitiveColor,
1581
- T0 as getPrimitiveColorPalette,
1582
- j0 as getRadius,
1583
- Z0 as getRadiusClass,
1580
+ Te as getPrimitiveColorPalette,
1581
+ je as getRadius,
1582
+ Ze as getRadiusClass,
1584
1583
  O as getSemanticColor,
1585
- A0 as getSemanticColorClass,
1586
- S0 as getSemanticColorRole,
1587
- F0 as getSemanticColorValue,
1588
- ee as getShadow,
1589
- te as getShadowClass,
1590
- f0 as getSpacing,
1591
- u0 as getSpacingClass,
1592
- ae as getSwitchClasses,
1593
- H0 as getTransitionClass,
1594
- h0 as getTypography,
1595
- b0 as getTypographyClasses,
1596
- k0 as getTypographyLineHeight,
1597
- m0 as getTypographySize,
1598
- w0 as getTypographySizeFromFontSize,
1599
- x0 as getTypographyWeight,
1600
- y0 as getTypographyWeightFromFontWeight,
1601
- P0 as getZIndex,
1602
- G0 as getZIndexClass,
1603
- r0 as isLightColor,
1604
- D0 as lighten,
1605
- O0 as withOpacity
1584
+ Ae as getSemanticColorClass,
1585
+ Se as getSemanticColorRole,
1586
+ Fe as getSemanticColorValue,
1587
+ e0 as getShadow,
1588
+ t0 as getShadowClass,
1589
+ fe as getSpacing,
1590
+ ue as getSpacingClass,
1591
+ a0 as getSwitchClasses,
1592
+ He as getTransitionClass,
1593
+ he as getTypography,
1594
+ be as getTypographyClasses,
1595
+ ke as getTypographyLineHeight,
1596
+ me as getTypographySize,
1597
+ we as getTypographySizeFromFontSize,
1598
+ xe as getTypographyWeight,
1599
+ ye as getTypographyWeightFromFontWeight,
1600
+ Pe as getZIndex,
1601
+ Ge as getZIndexClass,
1602
+ re as isLightColor,
1603
+ De as lighten,
1604
+ Oe as withOpacity
1606
1605
  };
1607
1606
  //# sourceMappingURL=index.js.map