@konstructio/ui 0.0.9 → 0.0.11

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.
Files changed (100) hide show
  1. package/dist/{Modal-Ca3bkvvt.js → Modal-L73dmnHv.js} +240 -235
  2. package/dist/components/AlertDialog/AlertDialog.js +37 -30
  3. package/dist/components/AlertDialog/AlertDialog.types.d.ts +7 -2
  4. package/dist/components/Autocomplete/Autocomplete.js +42 -37
  5. package/dist/components/Autocomplete/components/List/List.js +60 -0
  6. package/dist/components/Autocomplete/components/{List.types.d.ts → List/List.types.d.ts} +3 -3
  7. package/dist/components/Autocomplete/components/{List.variants.js → List/List.variants.js} +1 -1
  8. package/dist/components/Autocomplete/components/index.d.ts +1 -0
  9. package/dist/components/Autocomplete/components/index.js +4 -0
  10. package/dist/components/Breadcrumb/Breadcrumb.js +44 -39
  11. package/dist/components/Button/Button.variants.d.ts +2 -2
  12. package/dist/components/Button/Button.variants.js +142 -8
  13. package/dist/components/Card/Card.js +30 -25
  14. package/dist/components/Checkbox/Checkbox.js +56 -51
  15. package/dist/components/Dropdown/components/ListItem/ListItem.js +18 -17
  16. package/dist/components/Dropdown/components/Wrapper.js +15 -15
  17. package/dist/components/Input/Input.js +4 -4
  18. package/dist/components/Modal/Modal.js +1 -1
  19. package/dist/components/Modal/components/Footer/Footer.js +5 -4
  20. package/dist/components/Modal/components/Header/Header.js +4 -3
  21. package/dist/components/Modal/components/Wrapper/Wrapper.js +4 -3
  22. package/dist/components/Modal/components/index.js +1 -1
  23. package/dist/components/NumberInput/NumberInput.js +78 -69
  24. package/dist/components/ProgressBar/ProgressBar.js +6 -6
  25. package/dist/components/Radio/Radio.js +21 -18
  26. package/dist/components/RadioGroup/RadioGroup.js +26 -22
  27. package/dist/components/RadioGroup/RadioGroup.types.d.ts +4 -3
  28. package/dist/components/Range/Range.js +40 -40
  29. package/dist/components/Sidebar/Sidebar.d.ts +5 -0
  30. package/dist/components/Sidebar/Sidebar.js +27 -0
  31. package/dist/components/Sidebar/Sidebar.types.d.ts +17 -0
  32. package/dist/components/Sidebar/Sidebar.types.js +1 -0
  33. package/dist/components/Sidebar/Sidebar.variants.d.ts +6 -0
  34. package/dist/components/Sidebar/Sidebar.variants.js +56 -0
  35. package/dist/components/Sidebar/components/Footer/Footer.d.ts +3 -0
  36. package/dist/components/Sidebar/components/Footer/Footer.js +22 -0
  37. package/dist/components/Sidebar/components/Footer/Footer.types.d.ts +6 -0
  38. package/dist/components/Sidebar/components/Footer/Footer.types.js +1 -0
  39. package/dist/components/Sidebar/components/Footer/Footer.variants.d.ts +3 -0
  40. package/dist/components/Sidebar/components/Footer/Footer.variants.js +19 -0
  41. package/dist/components/Sidebar/components/Logo/Logo.d.ts +3 -0
  42. package/dist/components/Sidebar/components/Logo/Logo.js +20 -0
  43. package/dist/components/Sidebar/components/Logo/Logo.types.d.ts +6 -0
  44. package/dist/components/Sidebar/components/Logo/Logo.types.js +1 -0
  45. package/dist/components/Sidebar/components/Logo/Logo.variants.d.ts +3 -0
  46. package/dist/components/Sidebar/components/Logo/Logo.variants.js +45 -0
  47. package/dist/components/Sidebar/components/Navigation/Navigation.d.ts +4 -0
  48. package/dist/components/Sidebar/components/Navigation/Navigation.js +34 -0
  49. package/dist/components/Sidebar/components/Navigation/Navigation.types.d.ts +16 -0
  50. package/dist/components/Sidebar/components/Navigation/Navigation.types.js +1 -0
  51. package/dist/components/Sidebar/components/Navigation/Navigation.variants.d.ts +3 -0
  52. package/dist/components/Sidebar/components/Navigation/Navigation.variants.js +19 -0
  53. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.d.ts +3 -0
  54. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +40 -0
  55. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.types.d.ts +7 -0
  56. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.types.js +1 -0
  57. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.d.ts +3 -0
  58. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.js +16 -0
  59. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.d.ts +3 -0
  60. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +29 -0
  61. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.types.d.ts +15 -0
  62. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.types.js +1 -0
  63. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.d.ts +3 -0
  64. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +39 -0
  65. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.d.ts +3 -0
  66. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +24 -0
  67. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.types.d.ts +5 -0
  68. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.types.js +1 -0
  69. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.d.ts +3 -0
  70. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.js +19 -0
  71. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.d.ts +3 -0
  72. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +26 -0
  73. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.types.d.ts +7 -0
  74. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.types.js +1 -0
  75. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.d.ts +3 -0
  76. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.js +23 -0
  77. package/dist/components/Sidebar/components/Wrapper/Wrapper.d.ts +3 -0
  78. package/dist/components/Sidebar/components/Wrapper/Wrapper.js +84 -0
  79. package/dist/components/Sidebar/components/index.d.ts +15 -0
  80. package/dist/components/Sidebar/components/index.js +18 -0
  81. package/dist/components/Slider/Slider.js +25 -25
  82. package/dist/components/Switch/Switch.js +30 -30
  83. package/dist/components/Tag/Tag.js +5 -4
  84. package/dist/components/TagSelect/TagSelect.js +24 -24
  85. package/dist/components/TextArea/TextArea.js +17 -16
  86. package/dist/components/Toast/Toast.js +103 -97
  87. package/dist/components/Tooltip/Tooltip.js +12 -12
  88. package/dist/components/index.d.ts +1 -0
  89. package/dist/components/index.js +44 -30
  90. package/dist/index.js +47 -33
  91. package/dist/package.json +31 -16
  92. package/dist/plugins/utils/colors.d.ts +5 -0
  93. package/dist/plugins/utils/colors.js +6 -1
  94. package/dist/styles.css +1 -1
  95. package/dist/utils/index.js +747 -530
  96. package/package.json +31 -16
  97. package/dist/components/Autocomplete/components/List.js +0 -57
  98. /package/dist/components/Autocomplete/components/{List.d.ts → List/List.d.ts} +0 -0
  99. /package/dist/components/Autocomplete/components/{List.types.js → List/List.types.js} +0 -0
  100. /package/dist/components/Autocomplete/components/{List.variants.d.ts → List/List.variants.d.ts} +0 -0
@@ -1,83 +1,80 @@
1
- import { c as oe } from "../clsx-OuTLNxxd.js";
2
- const B = "-", ne = (e) => {
3
- const r = le(e), {
4
- conflictingClassGroups: t,
1
+ import { c as ye } from "../clsx-OuTLNxxd.js";
2
+ const te = "-", ve = (e) => {
3
+ const s = ze(e), {
4
+ conflictingClassGroups: n,
5
5
  conflictingClassGroupModifiers: o
6
6
  } = e;
7
7
  return {
8
8
  getClassGroupId: (i) => {
9
- const s = i.split(B);
10
- return s[0] === "" && s.length !== 1 && s.shift(), Y(s, r) || se(i);
9
+ const b = i.split(te);
10
+ return b[0] === "" && b.length !== 1 && b.shift(), ue(b, s) || ke(i);
11
11
  },
12
- getConflictingClassGroupIds: (i, s) => {
13
- const u = t[i] || [];
14
- return s && o[i] ? [...u, ...o[i]] : u;
12
+ getConflictingClassGroupIds: (i, b) => {
13
+ const l = n[i] || [];
14
+ return b && o[i] ? [...l, ...o[i]] : l;
15
15
  }
16
16
  };
17
- }, Y = (e, r) => {
17
+ }, ue = (e, s) => {
18
18
  var i;
19
19
  if (e.length === 0)
20
- return r.classGroupId;
21
- const t = e[0], o = r.nextPart.get(t), a = o ? Y(e.slice(1), o) : void 0;
20
+ return s.classGroupId;
21
+ const n = e[0], o = s.nextPart.get(n), a = o ? ue(e.slice(1), o) : void 0;
22
22
  if (a)
23
23
  return a;
24
- if (r.validators.length === 0)
24
+ if (s.validators.length === 0)
25
25
  return;
26
- const n = e.join(B);
27
- return (i = r.validators.find(({
28
- validator: s
29
- }) => s(n))) == null ? void 0 : i.classGroupId;
30
- }, K = /^\[(.+)\]$/, se = (e) => {
31
- if (K.test(e)) {
32
- const r = K.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
33
- if (t)
34
- return "arbitrary.." + t;
26
+ const c = e.join(te);
27
+ return (i = s.validators.find(({
28
+ validator: b
29
+ }) => b(c))) == null ? void 0 : i.classGroupId;
30
+ }, ce = /^\[(.+)\]$/, ke = (e) => {
31
+ if (ce.test(e)) {
32
+ const s = ce.exec(e)[1], n = s == null ? void 0 : s.substring(0, s.indexOf(":"));
33
+ if (n)
34
+ return "arbitrary.." + n;
35
35
  }
36
- }, le = (e) => {
36
+ }, ze = (e) => {
37
37
  const {
38
- theme: r,
39
- prefix: t
38
+ theme: s,
39
+ classGroups: n
40
40
  } = e, o = {
41
41
  nextPart: /* @__PURE__ */ new Map(),
42
42
  validators: []
43
43
  };
44
- return ae(Object.entries(e.classGroups), t).forEach(([n, i]) => {
45
- $(i, o, n, r);
46
- }), o;
47
- }, $ = (e, r, t, o) => {
44
+ for (const a in n)
45
+ Z(n[a], o, a, s);
46
+ return o;
47
+ }, Z = (e, s, n, o) => {
48
48
  e.forEach((a) => {
49
49
  if (typeof a == "string") {
50
- const n = a === "" ? r : Q(r, a);
51
- n.classGroupId = t;
50
+ const c = a === "" ? s : de(s, a);
51
+ c.classGroupId = n;
52
52
  return;
53
53
  }
54
54
  if (typeof a == "function") {
55
- if (ie(a)) {
56
- $(a(o), r, t, o);
55
+ if (Ce(a)) {
56
+ Z(a(o), s, n, o);
57
57
  return;
58
58
  }
59
- r.validators.push({
59
+ s.validators.push({
60
60
  validator: a,
61
- classGroupId: t
61
+ classGroupId: n
62
62
  });
63
63
  return;
64
64
  }
65
- Object.entries(a).forEach(([n, i]) => {
66
- $(i, Q(r, n), t, o);
65
+ Object.entries(a).forEach(([c, i]) => {
66
+ Z(i, de(s, c), n, o);
67
67
  });
68
68
  });
69
- }, Q = (e, r) => {
70
- let t = e;
71
- return r.split(B).forEach((o) => {
72
- t.nextPart.has(o) || t.nextPart.set(o, {
69
+ }, de = (e, s) => {
70
+ let n = e;
71
+ return s.split(te).forEach((o) => {
72
+ n.nextPart.has(o) || n.nextPart.set(o, {
73
73
  nextPart: /* @__PURE__ */ new Map(),
74
74
  validators: []
75
- }), t = t.nextPart.get(o);
76
- }), t;
77
- }, ie = (e) => e.isThemeGetter, ae = (e, r) => r ? e.map(([t, o]) => {
78
- const a = o.map((n) => typeof n == "string" ? r + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([i, s]) => [r + i, s])) : n);
79
- return [t, a];
80
- }) : e, ce = (e) => {
75
+ }), n = n.nextPart.get(o);
76
+ }), n;
77
+ }, Ce = (e) => e.isThemeGetter, Me = (e) => {
81
78
  if (e < 1)
82
79
  return {
83
80
  get: () => {
@@ -85,192 +82,232 @@ const B = "-", ne = (e) => {
85
82
  set: () => {
86
83
  }
87
84
  };
88
- let r = 0, t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
89
- const a = (n, i) => {
90
- t.set(n, i), r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ new Map());
85
+ let s = 0, n = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
86
+ const a = (c, i) => {
87
+ n.set(c, i), s++, s > e && (s = 0, o = n, n = /* @__PURE__ */ new Map());
91
88
  };
92
89
  return {
93
- get(n) {
94
- let i = t.get(n);
90
+ get(c) {
91
+ let i = n.get(c);
95
92
  if (i !== void 0)
96
93
  return i;
97
- if ((i = o.get(n)) !== void 0)
98
- return a(n, i), i;
94
+ if ((i = o.get(c)) !== void 0)
95
+ return a(c, i), i;
99
96
  },
100
- set(n, i) {
101
- t.has(n) ? t.set(n, i) : a(n, i);
97
+ set(c, i) {
98
+ n.has(c) ? n.set(c, i) : a(c, i);
102
99
  }
103
100
  };
104
- }, D = "!", de = (e) => {
101
+ }, ee = "!", re = ":", Se = re.length, Ae = (e) => {
105
102
  const {
106
- separator: r,
107
- experimentalParseClassName: t
108
- } = e, o = r.length === 1, a = r[0], n = r.length, i = (s) => {
109
- const u = [];
110
- let g = 0, m = 0, y;
111
- for (let p = 0; p < s.length; p++) {
112
- let f = s[p];
113
- if (g === 0) {
114
- if (f === a && (o || s.slice(p, p + n) === r)) {
115
- u.push(s.slice(m, p)), m = p + n;
103
+ prefix: s,
104
+ experimentalParseClassName: n
105
+ } = e;
106
+ let o = (a) => {
107
+ const c = [];
108
+ let i = 0, b = 0, l = 0, g;
109
+ for (let y = 0; y < a.length; y++) {
110
+ let v = a[y];
111
+ if (i === 0 && b === 0) {
112
+ if (v === re) {
113
+ c.push(a.slice(l, y)), l = y + Se;
116
114
  continue;
117
115
  }
118
- if (f === "/") {
119
- y = p;
116
+ if (v === "/") {
117
+ g = y;
120
118
  continue;
121
119
  }
122
120
  }
123
- f === "[" ? g++ : f === "]" && g--;
121
+ v === "[" ? i++ : v === "]" ? i-- : v === "(" ? b++ : v === ")" && b--;
124
122
  }
125
- const x = u.length === 0 ? s : s.substring(m), v = x.startsWith(D), w = v ? x.substring(1) : x, b = y && y > m ? y - m : void 0;
123
+ const m = c.length === 0 ? a : a.substring(l), C = Ie(m), O = C !== m, j = g && g > l ? g - l : void 0;
126
124
  return {
127
- modifiers: u,
128
- hasImportantModifier: v,
129
- baseClassName: w,
130
- maybePostfixModifierPosition: b
125
+ modifiers: c,
126
+ hasImportantModifier: O,
127
+ baseClassName: C,
128
+ maybePostfixModifierPosition: j
131
129
  };
132
130
  };
133
- return t ? (s) => t({
134
- className: s,
135
- parseClassName: i
136
- }) : i;
137
- }, pe = (e) => {
138
- if (e.length <= 1)
139
- return e;
140
- const r = [];
141
- let t = [];
142
- return e.forEach((o) => {
143
- o[0] === "[" ? (r.push(...t.sort(), o), t = []) : t.push(o);
144
- }), r.push(...t.sort()), r;
145
- }, ue = (e) => ({
146
- cache: ce(e.cacheSize),
147
- parseClassName: de(e),
148
- ...ne(e)
149
- }), be = /\s+/, ge = (e, r) => {
131
+ if (s) {
132
+ const a = s + re, c = o;
133
+ o = (i) => i.startsWith(a) ? c(i.substring(a.length)) : {
134
+ isExternal: !0,
135
+ modifiers: [],
136
+ hasImportantModifier: !1,
137
+ baseClassName: i,
138
+ maybePostfixModifierPosition: void 0
139
+ };
140
+ }
141
+ if (n) {
142
+ const a = o;
143
+ o = (c) => n({
144
+ className: c,
145
+ parseClassName: a
146
+ });
147
+ }
148
+ return o;
149
+ }, Ie = (e) => e.endsWith(ee) ? e.substring(0, e.length - 1) : e.startsWith(ee) ? e.substring(1) : e, Re = (e) => {
150
+ const s = Object.fromEntries(e.orderSensitiveModifiers.map((o) => [o, !0]));
151
+ return (o) => {
152
+ if (o.length <= 1)
153
+ return o;
154
+ const a = [];
155
+ let c = [];
156
+ return o.forEach((i) => {
157
+ i[0] === "[" || s[i] ? (a.push(...c.sort(), i), c = []) : c.push(i);
158
+ }), a.push(...c.sort()), a;
159
+ };
160
+ }, Ge = (e) => ({
161
+ cache: Me(e.cacheSize),
162
+ parseClassName: Ae(e),
163
+ sortModifiers: Re(e),
164
+ ...ve(e)
165
+ }), Pe = /\s+/, Le = (e, s) => {
150
166
  const {
151
- parseClassName: t,
167
+ parseClassName: n,
152
168
  getClassGroupId: o,
153
- getConflictingClassGroupIds: a
154
- } = r, n = [], i = e.trim().split(be);
155
- let s = "";
156
- for (let u = i.length - 1; u >= 0; u -= 1) {
157
- const g = i[u], {
158
- modifiers: m,
159
- hasImportantModifier: y,
160
- baseClassName: x,
169
+ getConflictingClassGroupIds: a,
170
+ sortModifiers: c
171
+ } = s, i = [], b = e.trim().split(Pe);
172
+ let l = "";
173
+ for (let g = b.length - 1; g >= 0; g -= 1) {
174
+ const m = b[g], {
175
+ isExternal: C,
176
+ modifiers: O,
177
+ hasImportantModifier: j,
178
+ baseClassName: y,
161
179
  maybePostfixModifierPosition: v
162
- } = t(g);
163
- let w = !!v, b = o(w ? x.substring(0, v) : x);
164
- if (!b) {
165
- if (!w) {
166
- s = g + (s.length > 0 ? " " + s : s);
180
+ } = n(m);
181
+ if (C) {
182
+ l = m + (l.length > 0 ? " " + l : l);
183
+ continue;
184
+ }
185
+ let G = !!v, S = o(G ? y.substring(0, v) : y);
186
+ if (!S) {
187
+ if (!G) {
188
+ l = m + (l.length > 0 ? " " + l : l);
167
189
  continue;
168
190
  }
169
- if (b = o(x), !b) {
170
- s = g + (s.length > 0 ? " " + s : s);
191
+ if (S = o(y), !S) {
192
+ l = m + (l.length > 0 ? " " + l : l);
171
193
  continue;
172
194
  }
173
- w = !1;
195
+ G = !1;
174
196
  }
175
- const p = pe(m).join(":"), f = y ? p + D : p, h = f + b;
176
- if (n.includes(h))
197
+ const F = c(O).join(":"), _ = j ? F + ee : F, P = _ + S;
198
+ if (i.includes(P))
177
199
  continue;
178
- n.push(h);
179
- const R = a(b, w);
180
- for (let A = 0; A < R.length; ++A) {
181
- const j = R[A];
182
- n.push(f + j);
200
+ i.push(P);
201
+ const L = a(S, G);
202
+ for (let w = 0; w < L.length; ++w) {
203
+ const B = L[w];
204
+ i.push(_ + B);
183
205
  }
184
- s = g + (s.length > 0 ? " " + s : s);
206
+ l = m + (l.length > 0 ? " " + l : l);
185
207
  }
186
- return s;
208
+ return l;
187
209
  };
188
- function fe() {
189
- let e = 0, r, t, o = "";
210
+ function Ee() {
211
+ let e = 0, s, n, o = "";
190
212
  for (; e < arguments.length; )
191
- (r = arguments[e++]) && (t = ee(r)) && (o && (o += " "), o += t);
213
+ (s = arguments[e++]) && (n = be(s)) && (o && (o += " "), o += n);
192
214
  return o;
193
215
  }
194
- const ee = (e) => {
216
+ const be = (e) => {
195
217
  if (typeof e == "string")
196
218
  return e;
197
- let r, t = "";
219
+ let s, n = "";
198
220
  for (let o = 0; o < e.length; o++)
199
- e[o] && (r = ee(e[o])) && (t && (t += " "), t += r);
200
- return t;
221
+ e[o] && (s = be(e[o])) && (n && (n += " "), n += s);
222
+ return n;
201
223
  };
202
- function me(e, ...r) {
203
- let t, o, a, n = i;
204
- function i(u) {
205
- const g = r.reduce((m, y) => y(m), e());
206
- return t = ue(g), o = t.cache.get, a = t.cache.set, n = s, s(u);
224
+ function Te(e, ...s) {
225
+ let n, o, a, c = i;
226
+ function i(l) {
227
+ const g = s.reduce((m, C) => C(m), e());
228
+ return n = Ge(g), o = n.cache.get, a = n.cache.set, c = b, b(l);
207
229
  }
208
- function s(u) {
209
- const g = o(u);
230
+ function b(l) {
231
+ const g = o(l);
210
232
  if (g)
211
233
  return g;
212
- const m = ge(u, t);
213
- return a(u, m), m;
234
+ const m = Le(l, n);
235
+ return a(l, m), m;
214
236
  }
215
237
  return function() {
216
- return n(fe.apply(null, arguments));
238
+ return c(Ee.apply(null, arguments));
217
239
  };
218
240
  }
219
- const c = (e) => {
220
- const r = (t) => t[e] || [];
221
- return r.isThemeGetter = !0, r;
222
- }, re = /^\[(?:([a-z-]+):)?(.+)\]$/i, he = /^\d+\/\d+$/, ye = /* @__PURE__ */ new Set(["px", "full", "screen"]), xe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, we = /\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$/, ve = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Ce = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ke = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, k = (e) => M(e) || ye.has(e) || he.test(e), z = (e) => G(e, "length", Pe), M = (e) => !!e && !Number.isNaN(Number(e)), _ = (e) => G(e, "number", M), P = (e) => !!e && Number.isInteger(Number(e)), ze = (e) => e.endsWith("%") && M(e.slice(0, -1)), l = (e) => re.test(e), S = (e) => xe.test(e), Se = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Ae = (e) => G(e, Se, te), Me = (e) => G(e, "position", te), Ge = /* @__PURE__ */ new Set(["image", "url"]), Re = (e) => G(e, Ge, je), Ie = (e) => G(e, "", Ee), E = () => !0, G = (e, r, t) => {
223
- const o = re.exec(e);
224
- return o ? o[1] ? typeof r == "string" ? o[1] === r : r.has(o[1]) : t(o[2]) : !1;
225
- }, Pe = (e) => (
241
+ const f = (e) => {
242
+ const s = (n) => n[e] || [];
243
+ return s.isThemeGetter = !0, s;
244
+ }, fe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ge = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ne = /^\d+\/\d+$/, Ve = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Oe = /\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$/, je = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Fe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, _e = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, T = (e) => Ne.test(e), d = (e) => !!e && !Number.isNaN(Number(e)), I = (e) => !!e && Number.isInteger(Number(e)), pe = (e) => e.endsWith("%") && d(e.slice(0, -1)), M = (e) => Ve.test(e), Be = () => !0, $e = (e) => (
226
245
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
227
246
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
228
247
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
229
- we.test(e) && !ve.test(e)
230
- ), te = () => !1, Ee = (e) => Ce.test(e), je = (e) => ke.test(e), Le = () => {
231
- const e = c("colors"), r = c("spacing"), t = c("blur"), o = c("brightness"), a = c("borderColor"), n = c("borderRadius"), i = c("borderSpacing"), s = c("borderWidth"), u = c("contrast"), g = c("grayscale"), m = c("hueRotate"), y = c("invert"), x = c("gap"), v = c("gradientColorStops"), w = c("gradientColorStopPositions"), b = c("inset"), p = c("margin"), f = c("opacity"), h = c("padding"), R = c("saturate"), A = c("scale"), j = c("sepia"), U = c("skew"), F = c("space"), q = c("translate"), T = () => ["auto", "contain", "none"], W = () => ["auto", "hidden", "clip", "visible", "scroll"], V = () => ["auto", l, r], d = () => [l, r], J = () => ["", k, z], L = () => ["auto", M, l], X = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], N = () => ["solid", "dashed", "dotted", "double", "none"], Z = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], O = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], I = () => ["", "0", l], H = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], C = () => [M, l];
248
+ Oe.test(e) && !je.test(e)
249
+ ), oe = () => !1, We = (e) => Fe.test(e), Ue = (e) => _e.test(e), qe = (e) => !r(e) && !t(e), He = (e) => N(e, we, oe), r = (e) => fe.test(e), R = (e) => N(e, xe, $e), Y = (e) => N(e, or, d), Je = (e) => N(e, me, oe), Xe = (e) => N(e, he, Ue), De = (e) => N(e, oe, We), t = (e) => ge.test(e), J = (e) => V(e, xe), Ke = (e) => V(e, nr), Qe = (e) => V(e, me), Ye = (e) => V(e, we), Ze = (e) => V(e, he), er = (e) => V(e, sr, !0), N = (e, s, n) => {
250
+ const o = fe.exec(e);
251
+ return o ? o[1] ? s(o[1]) : n(o[2]) : !1;
252
+ }, V = (e, s, n = !1) => {
253
+ const o = ge.exec(e);
254
+ return o ? o[1] ? s(o[1]) : n : !1;
255
+ }, me = (e) => e === "position", rr = /* @__PURE__ */ new Set(["image", "url"]), he = (e) => rr.has(e), tr = /* @__PURE__ */ new Set(["length", "size", "percentage"]), we = (e) => tr.has(e), xe = (e) => e === "length", or = (e) => e === "number", nr = (e) => e === "family-name", sr = (e) => e === "shadow", ir = () => {
256
+ const e = f("color"), s = f("font"), n = f("text"), o = f("font-weight"), a = f("tracking"), c = f("leading"), i = f("breakpoint"), b = f("container"), l = f("spacing"), g = f("radius"), m = f("shadow"), C = f("inset-shadow"), O = f("drop-shadow"), j = f("blur"), y = f("perspective"), v = f("aspect"), G = f("ease"), S = f("animate"), F = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], _ = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], P = () => ["auto", "hidden", "clip", "visible", "scroll"], L = () => ["auto", "contain", "none"], w = () => [T, "px", "full", "auto", t, r, l], B = () => [I, "none", "subgrid", t, r], ne = () => ["auto", {
257
+ span: ["full", I, t, r]
258
+ }, t, r], $ = () => [I, "auto", t, r], se = () => ["auto", "min", "max", "fr", t, r], X = () => [t, r, l], D = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline"], E = () => ["start", "end", "center", "stretch"], p = () => [t, r, l], k = () => ["px", ...p()], z = () => ["px", "auto", ...p()], A = () => [T, "auto", "px", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", t, r, l], u = () => [e, t, r], K = () => [pe, R], h = () => [
259
+ // Deprecated since Tailwind CSS v4.0.0
260
+ "",
261
+ "none",
262
+ "full",
263
+ g,
264
+ t,
265
+ r
266
+ ], x = () => ["", d, J, R], W = () => ["solid", "dashed", "dotted", "double"], ie = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], le = () => [
267
+ // Deprecated since Tailwind CSS v4.0.0
268
+ "",
269
+ "none",
270
+ j,
271
+ t,
272
+ r
273
+ ], ae = () => ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", t, r], U = () => ["none", d, t, r], q = () => ["none", d, t, r], Q = () => [d, t, r], H = () => [T, "full", "px", t, r, l];
232
274
  return {
233
275
  cacheSize: 500,
234
- separator: ":",
235
276
  theme: {
236
- colors: [E],
237
- spacing: [k, z],
238
- blur: ["none", "", S, l],
239
- brightness: C(),
240
- borderColor: [e],
241
- borderRadius: ["none", "", "full", S, l],
242
- borderSpacing: d(),
243
- borderWidth: J(),
244
- contrast: C(),
245
- grayscale: I(),
246
- hueRotate: C(),
247
- invert: I(),
248
- gap: d(),
249
- gradientColorStops: [e],
250
- gradientColorStopPositions: [ze, z],
251
- inset: V(),
252
- margin: V(),
253
- opacity: C(),
254
- padding: d(),
255
- saturate: C(),
256
- scale: C(),
257
- sepia: I(),
258
- skew: C(),
259
- space: d(),
260
- translate: d()
277
+ animate: ["spin", "ping", "pulse", "bounce"],
278
+ aspect: ["video"],
279
+ blur: [M],
280
+ breakpoint: [M],
281
+ color: [Be],
282
+ container: [M],
283
+ "drop-shadow": [M],
284
+ ease: ["in", "out", "in-out"],
285
+ font: [qe],
286
+ "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
287
+ "inset-shadow": [M],
288
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
289
+ perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
290
+ radius: [M],
291
+ shadow: [M],
292
+ spacing: [d],
293
+ text: [M],
294
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
261
295
  },
262
296
  classGroups: {
263
- // Layout
297
+ // --------------
298
+ // --- Layout ---
299
+ // --------------
264
300
  /**
265
301
  * Aspect Ratio
266
302
  * @see https://tailwindcss.com/docs/aspect-ratio
267
303
  */
268
304
  aspect: [{
269
- aspect: ["auto", "square", "video", l]
305
+ aspect: ["auto", "square", T, r, t, v]
270
306
  }],
271
307
  /**
272
308
  * Container
273
309
  * @see https://tailwindcss.com/docs/container
310
+ * @deprecated since Tailwind CSS v4.0.0
274
311
  */
275
312
  container: ["container"],
276
313
  /**
@@ -278,21 +315,21 @@ const c = (e) => {
278
315
  * @see https://tailwindcss.com/docs/columns
279
316
  */
280
317
  columns: [{
281
- columns: [S]
318
+ columns: [d, r, t, b]
282
319
  }],
283
320
  /**
284
321
  * Break After
285
322
  * @see https://tailwindcss.com/docs/break-after
286
323
  */
287
324
  "break-after": [{
288
- "break-after": H()
325
+ "break-after": F()
289
326
  }],
290
327
  /**
291
328
  * Break Before
292
329
  * @see https://tailwindcss.com/docs/break-before
293
330
  */
294
331
  "break-before": [{
295
- "break-before": H()
332
+ "break-before": F()
296
333
  }],
297
334
  /**
298
335
  * Break Inside
@@ -320,6 +357,11 @@ const c = (e) => {
320
357
  * @see https://tailwindcss.com/docs/display
321
358
  */
322
359
  display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
360
+ /**
361
+ * Screen Reader Only
362
+ * @see https://tailwindcss.com/docs/display#screen-reader-only
363
+ */
364
+ sr: ["sr-only", "not-sr-only"],
323
365
  /**
324
366
  * Floats
325
367
  * @see https://tailwindcss.com/docs/float
@@ -351,49 +393,49 @@ const c = (e) => {
351
393
  * @see https://tailwindcss.com/docs/object-position
352
394
  */
353
395
  "object-position": [{
354
- object: [...X(), l]
396
+ object: [..._(), r, t]
355
397
  }],
356
398
  /**
357
399
  * Overflow
358
400
  * @see https://tailwindcss.com/docs/overflow
359
401
  */
360
402
  overflow: [{
361
- overflow: W()
403
+ overflow: P()
362
404
  }],
363
405
  /**
364
406
  * Overflow X
365
407
  * @see https://tailwindcss.com/docs/overflow
366
408
  */
367
409
  "overflow-x": [{
368
- "overflow-x": W()
410
+ "overflow-x": P()
369
411
  }],
370
412
  /**
371
413
  * Overflow Y
372
414
  * @see https://tailwindcss.com/docs/overflow
373
415
  */
374
416
  "overflow-y": [{
375
- "overflow-y": W()
417
+ "overflow-y": P()
376
418
  }],
377
419
  /**
378
420
  * Overscroll Behavior
379
421
  * @see https://tailwindcss.com/docs/overscroll-behavior
380
422
  */
381
423
  overscroll: [{
382
- overscroll: T()
424
+ overscroll: L()
383
425
  }],
384
426
  /**
385
427
  * Overscroll Behavior X
386
428
  * @see https://tailwindcss.com/docs/overscroll-behavior
387
429
  */
388
430
  "overscroll-x": [{
389
- "overscroll-x": T()
431
+ "overscroll-x": L()
390
432
  }],
391
433
  /**
392
434
  * Overscroll Behavior Y
393
435
  * @see https://tailwindcss.com/docs/overscroll-behavior
394
436
  */
395
437
  "overscroll-y": [{
396
- "overscroll-y": T()
438
+ "overscroll-y": L()
397
439
  }],
398
440
  /**
399
441
  * Position
@@ -405,63 +447,63 @@ const c = (e) => {
405
447
  * @see https://tailwindcss.com/docs/top-right-bottom-left
406
448
  */
407
449
  inset: [{
408
- inset: [b]
450
+ inset: w()
409
451
  }],
410
452
  /**
411
453
  * Right / Left
412
454
  * @see https://tailwindcss.com/docs/top-right-bottom-left
413
455
  */
414
456
  "inset-x": [{
415
- "inset-x": [b]
457
+ "inset-x": w()
416
458
  }],
417
459
  /**
418
460
  * Top / Bottom
419
461
  * @see https://tailwindcss.com/docs/top-right-bottom-left
420
462
  */
421
463
  "inset-y": [{
422
- "inset-y": [b]
464
+ "inset-y": w()
423
465
  }],
424
466
  /**
425
467
  * Start
426
468
  * @see https://tailwindcss.com/docs/top-right-bottom-left
427
469
  */
428
470
  start: [{
429
- start: [b]
471
+ start: w()
430
472
  }],
431
473
  /**
432
474
  * End
433
475
  * @see https://tailwindcss.com/docs/top-right-bottom-left
434
476
  */
435
477
  end: [{
436
- end: [b]
478
+ end: w()
437
479
  }],
438
480
  /**
439
481
  * Top
440
482
  * @see https://tailwindcss.com/docs/top-right-bottom-left
441
483
  */
442
484
  top: [{
443
- top: [b]
485
+ top: w()
444
486
  }],
445
487
  /**
446
488
  * Right
447
489
  * @see https://tailwindcss.com/docs/top-right-bottom-left
448
490
  */
449
491
  right: [{
450
- right: [b]
492
+ right: w()
451
493
  }],
452
494
  /**
453
495
  * Bottom
454
496
  * @see https://tailwindcss.com/docs/top-right-bottom-left
455
497
  */
456
498
  bottom: [{
457
- bottom: [b]
499
+ bottom: w()
458
500
  }],
459
501
  /**
460
502
  * Left
461
503
  * @see https://tailwindcss.com/docs/top-right-bottom-left
462
504
  */
463
505
  left: [{
464
- left: [b]
506
+ left: w()
465
507
  }],
466
508
  /**
467
509
  * Visibility
@@ -473,15 +515,17 @@ const c = (e) => {
473
515
  * @see https://tailwindcss.com/docs/z-index
474
516
  */
475
517
  z: [{
476
- z: ["auto", P, l]
518
+ z: [I, "auto", t, r]
477
519
  }],
478
- // Flexbox and Grid
520
+ // ------------------------
521
+ // --- Flexbox and Grid ---
522
+ // ------------------------
479
523
  /**
480
524
  * Flex Basis
481
525
  * @see https://tailwindcss.com/docs/flex-basis
482
526
  */
483
527
  basis: [{
484
- basis: V()
528
+ basis: [T, "full", "auto", t, r, b, l]
485
529
  }],
486
530
  /**
487
531
  * Flex Direction
@@ -495,95 +539,91 @@ const c = (e) => {
495
539
  * @see https://tailwindcss.com/docs/flex-wrap
496
540
  */
497
541
  "flex-wrap": [{
498
- flex: ["wrap", "wrap-reverse", "nowrap"]
542
+ flex: ["nowrap", "wrap", "wrap-reverse"]
499
543
  }],
500
544
  /**
501
545
  * Flex
502
546
  * @see https://tailwindcss.com/docs/flex
503
547
  */
504
548
  flex: [{
505
- flex: ["1", "auto", "initial", "none", l]
549
+ flex: [d, T, "auto", "initial", "none", r]
506
550
  }],
507
551
  /**
508
552
  * Flex Grow
509
553
  * @see https://tailwindcss.com/docs/flex-grow
510
554
  */
511
555
  grow: [{
512
- grow: I()
556
+ grow: ["", d, t, r]
513
557
  }],
514
558
  /**
515
559
  * Flex Shrink
516
560
  * @see https://tailwindcss.com/docs/flex-shrink
517
561
  */
518
562
  shrink: [{
519
- shrink: I()
563
+ shrink: ["", d, t, r]
520
564
  }],
521
565
  /**
522
566
  * Order
523
567
  * @see https://tailwindcss.com/docs/order
524
568
  */
525
569
  order: [{
526
- order: ["first", "last", "none", P, l]
570
+ order: [I, "first", "last", "none", t, r]
527
571
  }],
528
572
  /**
529
573
  * Grid Template Columns
530
574
  * @see https://tailwindcss.com/docs/grid-template-columns
531
575
  */
532
576
  "grid-cols": [{
533
- "grid-cols": [E]
577
+ "grid-cols": B()
534
578
  }],
535
579
  /**
536
580
  * Grid Column Start / End
537
581
  * @see https://tailwindcss.com/docs/grid-column
538
582
  */
539
583
  "col-start-end": [{
540
- col: ["auto", {
541
- span: ["full", P, l]
542
- }, l]
584
+ col: ne()
543
585
  }],
544
586
  /**
545
587
  * Grid Column Start
546
588
  * @see https://tailwindcss.com/docs/grid-column
547
589
  */
548
590
  "col-start": [{
549
- "col-start": L()
591
+ "col-start": $()
550
592
  }],
551
593
  /**
552
594
  * Grid Column End
553
595
  * @see https://tailwindcss.com/docs/grid-column
554
596
  */
555
597
  "col-end": [{
556
- "col-end": L()
598
+ "col-end": $()
557
599
  }],
558
600
  /**
559
601
  * Grid Template Rows
560
602
  * @see https://tailwindcss.com/docs/grid-template-rows
561
603
  */
562
604
  "grid-rows": [{
563
- "grid-rows": [E]
605
+ "grid-rows": B()
564
606
  }],
565
607
  /**
566
608
  * Grid Row Start / End
567
609
  * @see https://tailwindcss.com/docs/grid-row
568
610
  */
569
611
  "row-start-end": [{
570
- row: ["auto", {
571
- span: [P, l]
572
- }, l]
612
+ row: ne()
573
613
  }],
574
614
  /**
575
615
  * Grid Row Start
576
616
  * @see https://tailwindcss.com/docs/grid-row
577
617
  */
578
618
  "row-start": [{
579
- "row-start": L()
619
+ "row-start": $()
580
620
  }],
581
621
  /**
582
622
  * Grid Row End
583
623
  * @see https://tailwindcss.com/docs/grid-row
584
624
  */
585
625
  "row-end": [{
586
- "row-end": L()
626
+ "row-end": $()
587
627
  }],
588
628
  /**
589
629
  * Grid Auto Flow
@@ -597,98 +637,98 @@ const c = (e) => {
597
637
  * @see https://tailwindcss.com/docs/grid-auto-columns
598
638
  */
599
639
  "auto-cols": [{
600
- "auto-cols": ["auto", "min", "max", "fr", l]
640
+ "auto-cols": se()
601
641
  }],
602
642
  /**
603
643
  * Grid Auto Rows
604
644
  * @see https://tailwindcss.com/docs/grid-auto-rows
605
645
  */
606
646
  "auto-rows": [{
607
- "auto-rows": ["auto", "min", "max", "fr", l]
647
+ "auto-rows": se()
608
648
  }],
609
649
  /**
610
650
  * Gap
611
651
  * @see https://tailwindcss.com/docs/gap
612
652
  */
613
653
  gap: [{
614
- gap: [x]
654
+ gap: X()
615
655
  }],
616
656
  /**
617
657
  * Gap X
618
658
  * @see https://tailwindcss.com/docs/gap
619
659
  */
620
660
  "gap-x": [{
621
- "gap-x": [x]
661
+ "gap-x": X()
622
662
  }],
623
663
  /**
624
664
  * Gap Y
625
665
  * @see https://tailwindcss.com/docs/gap
626
666
  */
627
667
  "gap-y": [{
628
- "gap-y": [x]
668
+ "gap-y": X()
629
669
  }],
630
670
  /**
631
671
  * Justify Content
632
672
  * @see https://tailwindcss.com/docs/justify-content
633
673
  */
634
674
  "justify-content": [{
635
- justify: ["normal", ...O()]
675
+ justify: [...D(), "normal"]
636
676
  }],
637
677
  /**
638
678
  * Justify Items
639
679
  * @see https://tailwindcss.com/docs/justify-items
640
680
  */
641
681
  "justify-items": [{
642
- "justify-items": ["start", "end", "center", "stretch"]
682
+ "justify-items": [...E(), "normal"]
643
683
  }],
644
684
  /**
645
685
  * Justify Self
646
686
  * @see https://tailwindcss.com/docs/justify-self
647
687
  */
648
688
  "justify-self": [{
649
- "justify-self": ["auto", "start", "end", "center", "stretch"]
689
+ "justify-self": ["auto", ...E()]
650
690
  }],
651
691
  /**
652
692
  * Align Content
653
693
  * @see https://tailwindcss.com/docs/align-content
654
694
  */
655
695
  "align-content": [{
656
- content: ["normal", ...O(), "baseline"]
696
+ content: ["normal", ...D()]
657
697
  }],
658
698
  /**
659
699
  * Align Items
660
700
  * @see https://tailwindcss.com/docs/align-items
661
701
  */
662
702
  "align-items": [{
663
- items: ["start", "end", "center", "baseline", "stretch"]
703
+ items: [...E(), "baseline"]
664
704
  }],
665
705
  /**
666
706
  * Align Self
667
707
  * @see https://tailwindcss.com/docs/align-self
668
708
  */
669
709
  "align-self": [{
670
- self: ["auto", "start", "end", "center", "stretch", "baseline"]
710
+ self: ["auto", ...E(), "baseline"]
671
711
  }],
672
712
  /**
673
713
  * Place Content
674
714
  * @see https://tailwindcss.com/docs/place-content
675
715
  */
676
716
  "place-content": [{
677
- "place-content": [...O(), "baseline"]
717
+ "place-content": D()
678
718
  }],
679
719
  /**
680
720
  * Place Items
681
721
  * @see https://tailwindcss.com/docs/place-items
682
722
  */
683
723
  "place-items": [{
684
- "place-items": ["start", "end", "center", "baseline", "stretch"]
724
+ "place-items": [...E(), "baseline"]
685
725
  }],
686
726
  /**
687
727
  * Place Self
688
728
  * @see https://tailwindcss.com/docs/place-self
689
729
  */
690
730
  "place-self": [{
691
- "place-self": ["auto", "start", "end", "center", "stretch"]
731
+ "place-self": ["auto", ...E()]
692
732
  }],
693
733
  // Spacing
694
734
  /**
@@ -696,210 +736,229 @@ const c = (e) => {
696
736
  * @see https://tailwindcss.com/docs/padding
697
737
  */
698
738
  p: [{
699
- p: [h]
739
+ p: k()
700
740
  }],
701
741
  /**
702
742
  * Padding X
703
743
  * @see https://tailwindcss.com/docs/padding
704
744
  */
705
745
  px: [{
706
- px: [h]
746
+ px: k()
707
747
  }],
708
748
  /**
709
749
  * Padding Y
710
750
  * @see https://tailwindcss.com/docs/padding
711
751
  */
712
752
  py: [{
713
- py: [h]
753
+ py: k()
714
754
  }],
715
755
  /**
716
756
  * Padding Start
717
757
  * @see https://tailwindcss.com/docs/padding
718
758
  */
719
759
  ps: [{
720
- ps: [h]
760
+ ps: k()
721
761
  }],
722
762
  /**
723
763
  * Padding End
724
764
  * @see https://tailwindcss.com/docs/padding
725
765
  */
726
766
  pe: [{
727
- pe: [h]
767
+ pe: k()
728
768
  }],
729
769
  /**
730
770
  * Padding Top
731
771
  * @see https://tailwindcss.com/docs/padding
732
772
  */
733
773
  pt: [{
734
- pt: [h]
774
+ pt: k()
735
775
  }],
736
776
  /**
737
777
  * Padding Right
738
778
  * @see https://tailwindcss.com/docs/padding
739
779
  */
740
780
  pr: [{
741
- pr: [h]
781
+ pr: k()
742
782
  }],
743
783
  /**
744
784
  * Padding Bottom
745
785
  * @see https://tailwindcss.com/docs/padding
746
786
  */
747
787
  pb: [{
748
- pb: [h]
788
+ pb: k()
749
789
  }],
750
790
  /**
751
791
  * Padding Left
752
792
  * @see https://tailwindcss.com/docs/padding
753
793
  */
754
794
  pl: [{
755
- pl: [h]
795
+ pl: k()
756
796
  }],
757
797
  /**
758
798
  * Margin
759
799
  * @see https://tailwindcss.com/docs/margin
760
800
  */
761
801
  m: [{
762
- m: [p]
802
+ m: z()
763
803
  }],
764
804
  /**
765
805
  * Margin X
766
806
  * @see https://tailwindcss.com/docs/margin
767
807
  */
768
808
  mx: [{
769
- mx: [p]
809
+ mx: z()
770
810
  }],
771
811
  /**
772
812
  * Margin Y
773
813
  * @see https://tailwindcss.com/docs/margin
774
814
  */
775
815
  my: [{
776
- my: [p]
816
+ my: z()
777
817
  }],
778
818
  /**
779
819
  * Margin Start
780
820
  * @see https://tailwindcss.com/docs/margin
781
821
  */
782
822
  ms: [{
783
- ms: [p]
823
+ ms: z()
784
824
  }],
785
825
  /**
786
826
  * Margin End
787
827
  * @see https://tailwindcss.com/docs/margin
788
828
  */
789
829
  me: [{
790
- me: [p]
830
+ me: z()
791
831
  }],
792
832
  /**
793
833
  * Margin Top
794
834
  * @see https://tailwindcss.com/docs/margin
795
835
  */
796
836
  mt: [{
797
- mt: [p]
837
+ mt: z()
798
838
  }],
799
839
  /**
800
840
  * Margin Right
801
841
  * @see https://tailwindcss.com/docs/margin
802
842
  */
803
843
  mr: [{
804
- mr: [p]
844
+ mr: z()
805
845
  }],
806
846
  /**
807
847
  * Margin Bottom
808
848
  * @see https://tailwindcss.com/docs/margin
809
849
  */
810
850
  mb: [{
811
- mb: [p]
851
+ mb: z()
812
852
  }],
813
853
  /**
814
854
  * Margin Left
815
855
  * @see https://tailwindcss.com/docs/margin
816
856
  */
817
857
  ml: [{
818
- ml: [p]
858
+ ml: z()
819
859
  }],
820
860
  /**
821
861
  * Space Between X
822
- * @see https://tailwindcss.com/docs/space
862
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
823
863
  */
824
864
  "space-x": [{
825
- "space-x": [F]
865
+ "space-x": p()
826
866
  }],
827
867
  /**
828
868
  * Space Between X Reverse
829
- * @see https://tailwindcss.com/docs/space
869
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
830
870
  */
831
871
  "space-x-reverse": ["space-x-reverse"],
832
872
  /**
833
873
  * Space Between Y
834
- * @see https://tailwindcss.com/docs/space
874
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
835
875
  */
836
876
  "space-y": [{
837
- "space-y": [F]
877
+ "space-y": p()
838
878
  }],
839
879
  /**
840
880
  * Space Between Y Reverse
841
- * @see https://tailwindcss.com/docs/space
881
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
842
882
  */
843
883
  "space-y-reverse": ["space-y-reverse"],
844
- // Sizing
884
+ // --------------
885
+ // --- Sizing ---
886
+ // --------------
845
887
  /**
846
888
  * Width
847
889
  * @see https://tailwindcss.com/docs/width
848
890
  */
891
+ /**
892
+ * Size
893
+ * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
894
+ */
895
+ size: [{
896
+ size: A()
897
+ }],
849
898
  w: [{
850
- w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", l, r]
899
+ w: [b, "screen", ...A()]
851
900
  }],
852
901
  /**
853
902
  * Min-Width
854
903
  * @see https://tailwindcss.com/docs/min-width
855
904
  */
856
905
  "min-w": [{
857
- "min-w": [l, r, "min", "max", "fit"]
906
+ "min-w": [
907
+ b,
908
+ "screen",
909
+ /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
910
+ "none",
911
+ ...A()
912
+ ]
858
913
  }],
859
914
  /**
860
915
  * Max-Width
861
916
  * @see https://tailwindcss.com/docs/max-width
862
917
  */
863
918
  "max-w": [{
864
- "max-w": [l, r, "none", "full", "min", "max", "fit", "prose", {
865
- screen: [S]
866
- }, S]
919
+ "max-w": [
920
+ b,
921
+ "screen",
922
+ "none",
923
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
924
+ "prose",
925
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
926
+ {
927
+ screen: [i]
928
+ },
929
+ ...A()
930
+ ]
867
931
  }],
868
932
  /**
869
933
  * Height
870
934
  * @see https://tailwindcss.com/docs/height
871
935
  */
872
936
  h: [{
873
- h: [l, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
937
+ h: ["screen", ...A()]
874
938
  }],
875
939
  /**
876
940
  * Min-Height
877
941
  * @see https://tailwindcss.com/docs/min-height
878
942
  */
879
943
  "min-h": [{
880
- "min-h": [l, r, "min", "max", "fit", "svh", "lvh", "dvh"]
944
+ "min-h": ["screen", "none", ...A()]
881
945
  }],
882
946
  /**
883
947
  * Max-Height
884
948
  * @see https://tailwindcss.com/docs/max-height
885
949
  */
886
950
  "max-h": [{
887
- "max-h": [l, r, "min", "max", "fit", "svh", "lvh", "dvh"]
951
+ "max-h": ["screen", ...A()]
888
952
  }],
889
- /**
890
- * Size
891
- * @see https://tailwindcss.com/docs/size
892
- */
893
- size: [{
894
- size: [l, r, "auto", "min", "max", "fit"]
895
- }],
896
- // Typography
953
+ // ------------------
954
+ // --- Typography ---
955
+ // ------------------
897
956
  /**
898
957
  * Font Size
899
958
  * @see https://tailwindcss.com/docs/font-size
900
959
  */
901
960
  "font-size": [{
902
- text: ["base", S, z]
961
+ text: ["base", n, J, R]
903
962
  }],
904
963
  /**
905
964
  * Font Smoothing
@@ -916,14 +975,21 @@ const c = (e) => {
916
975
  * @see https://tailwindcss.com/docs/font-weight
917
976
  */
918
977
  "font-weight": [{
919
- font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", _]
978
+ font: [o, t, Y]
979
+ }],
980
+ /**
981
+ * Font Stretch
982
+ * @see https://tailwindcss.com/docs/font-stretch
983
+ */
984
+ "font-stretch": [{
985
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", pe, r]
920
986
  }],
921
987
  /**
922
988
  * Font Family
923
989
  * @see https://tailwindcss.com/docs/font-family
924
990
  */
925
991
  "font-family": [{
926
- font: [E]
992
+ font: [Ke, r, s]
927
993
  }],
928
994
  /**
929
995
  * Font Variant Numeric
@@ -960,35 +1026,34 @@ const c = (e) => {
960
1026
  * @see https://tailwindcss.com/docs/letter-spacing
961
1027
  */
962
1028
  tracking: [{
963
- tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", l]
1029
+ tracking: [a, t, r]
964
1030
  }],
965
1031
  /**
966
1032
  * Line Clamp
967
1033
  * @see https://tailwindcss.com/docs/line-clamp
968
1034
  */
969
1035
  "line-clamp": [{
970
- "line-clamp": ["none", M, _]
1036
+ "line-clamp": [d, "none", t, Y]
971
1037
  }],
972
1038
  /**
973
1039
  * Line Height
974
1040
  * @see https://tailwindcss.com/docs/line-height
975
1041
  */
976
1042
  leading: [{
977
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", k, l]
1043
+ leading: [
1044
+ t,
1045
+ r,
1046
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1047
+ c,
1048
+ l
1049
+ ]
978
1050
  }],
979
1051
  /**
980
1052
  * List Style Image
981
1053
  * @see https://tailwindcss.com/docs/list-style-image
982
1054
  */
983
1055
  "list-image": [{
984
- "list-image": ["none", l]
985
- }],
986
- /**
987
- * List Style Type
988
- * @see https://tailwindcss.com/docs/list-style-type
989
- */
990
- "list-style-type": [{
991
- list: ["none", "disc", "decimal", l]
1056
+ "list-image": ["none", t, r]
992
1057
  }],
993
1058
  /**
994
1059
  * List Style Position
@@ -998,19 +1063,11 @@ const c = (e) => {
998
1063
  list: ["inside", "outside"]
999
1064
  }],
1000
1065
  /**
1001
- * Placeholder Color
1002
- * @deprecated since Tailwind CSS v3.0.0
1003
- * @see https://tailwindcss.com/docs/placeholder-color
1004
- */
1005
- "placeholder-color": [{
1006
- placeholder: [e]
1007
- }],
1008
- /**
1009
- * Placeholder Opacity
1010
- * @see https://tailwindcss.com/docs/placeholder-opacity
1066
+ * List Style Type
1067
+ * @see https://tailwindcss.com/docs/list-style-type
1011
1068
  */
1012
- "placeholder-opacity": [{
1013
- "placeholder-opacity": [f]
1069
+ "list-style-type": [{
1070
+ list: ["disc", "decimal", "none", t, r]
1014
1071
  }],
1015
1072
  /**
1016
1073
  * Text Alignment
@@ -1020,18 +1077,19 @@ const c = (e) => {
1020
1077
  text: ["left", "center", "right", "justify", "start", "end"]
1021
1078
  }],
1022
1079
  /**
1023
- * Text Color
1024
- * @see https://tailwindcss.com/docs/text-color
1080
+ * Placeholder Color
1081
+ * @deprecated since Tailwind CSS v3.0.0
1082
+ * @see https://v3.tailwindcss.com/docs/placeholder-color
1025
1083
  */
1026
- "text-color": [{
1027
- text: [e]
1084
+ "placeholder-color": [{
1085
+ placeholder: u()
1028
1086
  }],
1029
1087
  /**
1030
- * Text Opacity
1031
- * @see https://tailwindcss.com/docs/text-opacity
1088
+ * Text Color
1089
+ * @see https://tailwindcss.com/docs/text-color
1032
1090
  */
1033
- "text-opacity": [{
1034
- "text-opacity": [f]
1091
+ "text-color": [{
1092
+ text: u()
1035
1093
  }],
1036
1094
  /**
1037
1095
  * Text Decoration
@@ -1043,28 +1101,28 @@ const c = (e) => {
1043
1101
  * @see https://tailwindcss.com/docs/text-decoration-style
1044
1102
  */
1045
1103
  "text-decoration-style": [{
1046
- decoration: [...N(), "wavy"]
1104
+ decoration: [...W(), "wavy"]
1047
1105
  }],
1048
1106
  /**
1049
1107
  * Text Decoration Thickness
1050
1108
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1051
1109
  */
1052
1110
  "text-decoration-thickness": [{
1053
- decoration: ["auto", "from-font", k, z]
1054
- }],
1055
- /**
1056
- * Text Underline Offset
1057
- * @see https://tailwindcss.com/docs/text-underline-offset
1058
- */
1059
- "underline-offset": [{
1060
- "underline-offset": ["auto", k, l]
1111
+ decoration: [d, "from-font", "auto", t, R]
1061
1112
  }],
1062
1113
  /**
1063
1114
  * Text Decoration Color
1064
1115
  * @see https://tailwindcss.com/docs/text-decoration-color
1065
1116
  */
1066
1117
  "text-decoration-color": [{
1067
- decoration: [e]
1118
+ decoration: u()
1119
+ }],
1120
+ /**
1121
+ * Text Underline Offset
1122
+ * @see https://tailwindcss.com/docs/text-underline-offset
1123
+ */
1124
+ "underline-offset": [{
1125
+ "underline-offset": [d, "auto", t, r]
1068
1126
  }],
1069
1127
  /**
1070
1128
  * Text Transform
@@ -1088,14 +1146,14 @@ const c = (e) => {
1088
1146
  * @see https://tailwindcss.com/docs/text-indent
1089
1147
  */
1090
1148
  indent: [{
1091
- indent: d()
1149
+ indent: ["px", ...p()]
1092
1150
  }],
1093
1151
  /**
1094
1152
  * Vertical Alignment
1095
1153
  * @see https://tailwindcss.com/docs/vertical-align
1096
1154
  */
1097
1155
  "vertical-align": [{
1098
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", l]
1156
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", t, r]
1099
1157
  }],
1100
1158
  /**
1101
1159
  * Whitespace
@@ -1123,9 +1181,11 @@ const c = (e) => {
1123
1181
  * @see https://tailwindcss.com/docs/content
1124
1182
  */
1125
1183
  content: [{
1126
- content: ["none", l]
1184
+ content: ["none", t, r]
1127
1185
  }],
1128
- // Backgrounds
1186
+ // -------------------
1187
+ // --- Backgrounds ---
1188
+ // -------------------
1129
1189
  /**
1130
1190
  * Background Attachment
1131
1191
  * @see https://tailwindcss.com/docs/background-attachment
@@ -1140,14 +1200,6 @@ const c = (e) => {
1140
1200
  "bg-clip": [{
1141
1201
  "bg-clip": ["border", "padding", "content", "text"]
1142
1202
  }],
1143
- /**
1144
- * Background Opacity
1145
- * @deprecated since Tailwind CSS v3.0.0
1146
- * @see https://tailwindcss.com/docs/background-opacity
1147
- */
1148
- "bg-opacity": [{
1149
- "bg-opacity": [f]
1150
- }],
1151
1203
  /**
1152
1204
  * Background Origin
1153
1205
  * @see https://tailwindcss.com/docs/background-origin
@@ -1160,7 +1212,7 @@ const c = (e) => {
1160
1212
  * @see https://tailwindcss.com/docs/background-position
1161
1213
  */
1162
1214
  "bg-position": [{
1163
- bg: [...X(), Me]
1215
+ bg: [..._(), Qe, Je]
1164
1216
  }],
1165
1217
  /**
1166
1218
  * Background Repeat
@@ -1168,7 +1220,7 @@ const c = (e) => {
1168
1220
  */
1169
1221
  "bg-repeat": [{
1170
1222
  bg: ["no-repeat", {
1171
- repeat: ["", "x", "y", "round", "space"]
1223
+ repeat: ["", "x", "y", "space", "round"]
1172
1224
  }]
1173
1225
  }],
1174
1226
  /**
@@ -1176,7 +1228,7 @@ const c = (e) => {
1176
1228
  * @see https://tailwindcss.com/docs/background-size
1177
1229
  */
1178
1230
  "bg-size": [{
1179
- bg: ["auto", "cover", "contain", Ae]
1231
+ bg: ["auto", "cover", "contain", Ye, He]
1180
1232
  }],
1181
1233
  /**
1182
1234
  * Background Image
@@ -1184,369 +1236,361 @@ const c = (e) => {
1184
1236
  */
1185
1237
  "bg-image": [{
1186
1238
  bg: ["none", {
1187
- "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1188
- }, Re]
1239
+ linear: [{
1240
+ to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1241
+ }, I, t, r],
1242
+ radial: ["", t, r],
1243
+ conic: [I, t, r]
1244
+ }, Ze, Xe]
1189
1245
  }],
1190
1246
  /**
1191
1247
  * Background Color
1192
1248
  * @see https://tailwindcss.com/docs/background-color
1193
1249
  */
1194
1250
  "bg-color": [{
1195
- bg: [e]
1251
+ bg: u()
1196
1252
  }],
1197
1253
  /**
1198
1254
  * Gradient Color Stops From Position
1199
1255
  * @see https://tailwindcss.com/docs/gradient-color-stops
1200
1256
  */
1201
1257
  "gradient-from-pos": [{
1202
- from: [w]
1258
+ from: K()
1203
1259
  }],
1204
1260
  /**
1205
1261
  * Gradient Color Stops Via Position
1206
1262
  * @see https://tailwindcss.com/docs/gradient-color-stops
1207
1263
  */
1208
1264
  "gradient-via-pos": [{
1209
- via: [w]
1265
+ via: K()
1210
1266
  }],
1211
1267
  /**
1212
1268
  * Gradient Color Stops To Position
1213
1269
  * @see https://tailwindcss.com/docs/gradient-color-stops
1214
1270
  */
1215
1271
  "gradient-to-pos": [{
1216
- to: [w]
1272
+ to: K()
1217
1273
  }],
1218
1274
  /**
1219
1275
  * Gradient Color Stops From
1220
1276
  * @see https://tailwindcss.com/docs/gradient-color-stops
1221
1277
  */
1222
1278
  "gradient-from": [{
1223
- from: [v]
1279
+ from: u()
1224
1280
  }],
1225
1281
  /**
1226
1282
  * Gradient Color Stops Via
1227
1283
  * @see https://tailwindcss.com/docs/gradient-color-stops
1228
1284
  */
1229
1285
  "gradient-via": [{
1230
- via: [v]
1286
+ via: u()
1231
1287
  }],
1232
1288
  /**
1233
1289
  * Gradient Color Stops To
1234
1290
  * @see https://tailwindcss.com/docs/gradient-color-stops
1235
1291
  */
1236
1292
  "gradient-to": [{
1237
- to: [v]
1293
+ to: u()
1238
1294
  }],
1239
- // Borders
1295
+ // ---------------
1296
+ // --- Borders ---
1297
+ // ---------------
1240
1298
  /**
1241
1299
  * Border Radius
1242
1300
  * @see https://tailwindcss.com/docs/border-radius
1243
1301
  */
1244
1302
  rounded: [{
1245
- rounded: [n]
1303
+ rounded: h()
1246
1304
  }],
1247
1305
  /**
1248
1306
  * Border Radius Start
1249
1307
  * @see https://tailwindcss.com/docs/border-radius
1250
1308
  */
1251
1309
  "rounded-s": [{
1252
- "rounded-s": [n]
1310
+ "rounded-s": h()
1253
1311
  }],
1254
1312
  /**
1255
1313
  * Border Radius End
1256
1314
  * @see https://tailwindcss.com/docs/border-radius
1257
1315
  */
1258
1316
  "rounded-e": [{
1259
- "rounded-e": [n]
1317
+ "rounded-e": h()
1260
1318
  }],
1261
1319
  /**
1262
1320
  * Border Radius Top
1263
1321
  * @see https://tailwindcss.com/docs/border-radius
1264
1322
  */
1265
1323
  "rounded-t": [{
1266
- "rounded-t": [n]
1324
+ "rounded-t": h()
1267
1325
  }],
1268
1326
  /**
1269
1327
  * Border Radius Right
1270
1328
  * @see https://tailwindcss.com/docs/border-radius
1271
1329
  */
1272
1330
  "rounded-r": [{
1273
- "rounded-r": [n]
1331
+ "rounded-r": h()
1274
1332
  }],
1275
1333
  /**
1276
1334
  * Border Radius Bottom
1277
1335
  * @see https://tailwindcss.com/docs/border-radius
1278
1336
  */
1279
1337
  "rounded-b": [{
1280
- "rounded-b": [n]
1338
+ "rounded-b": h()
1281
1339
  }],
1282
1340
  /**
1283
1341
  * Border Radius Left
1284
1342
  * @see https://tailwindcss.com/docs/border-radius
1285
1343
  */
1286
1344
  "rounded-l": [{
1287
- "rounded-l": [n]
1345
+ "rounded-l": h()
1288
1346
  }],
1289
1347
  /**
1290
1348
  * Border Radius Start Start
1291
1349
  * @see https://tailwindcss.com/docs/border-radius
1292
1350
  */
1293
1351
  "rounded-ss": [{
1294
- "rounded-ss": [n]
1352
+ "rounded-ss": h()
1295
1353
  }],
1296
1354
  /**
1297
1355
  * Border Radius Start End
1298
1356
  * @see https://tailwindcss.com/docs/border-radius
1299
1357
  */
1300
1358
  "rounded-se": [{
1301
- "rounded-se": [n]
1359
+ "rounded-se": h()
1302
1360
  }],
1303
1361
  /**
1304
1362
  * Border Radius End End
1305
1363
  * @see https://tailwindcss.com/docs/border-radius
1306
1364
  */
1307
1365
  "rounded-ee": [{
1308
- "rounded-ee": [n]
1366
+ "rounded-ee": h()
1309
1367
  }],
1310
1368
  /**
1311
1369
  * Border Radius End Start
1312
1370
  * @see https://tailwindcss.com/docs/border-radius
1313
1371
  */
1314
1372
  "rounded-es": [{
1315
- "rounded-es": [n]
1373
+ "rounded-es": h()
1316
1374
  }],
1317
1375
  /**
1318
1376
  * Border Radius Top Left
1319
1377
  * @see https://tailwindcss.com/docs/border-radius
1320
1378
  */
1321
1379
  "rounded-tl": [{
1322
- "rounded-tl": [n]
1380
+ "rounded-tl": h()
1323
1381
  }],
1324
1382
  /**
1325
1383
  * Border Radius Top Right
1326
1384
  * @see https://tailwindcss.com/docs/border-radius
1327
1385
  */
1328
1386
  "rounded-tr": [{
1329
- "rounded-tr": [n]
1387
+ "rounded-tr": h()
1330
1388
  }],
1331
1389
  /**
1332
1390
  * Border Radius Bottom Right
1333
1391
  * @see https://tailwindcss.com/docs/border-radius
1334
1392
  */
1335
1393
  "rounded-br": [{
1336
- "rounded-br": [n]
1394
+ "rounded-br": h()
1337
1395
  }],
1338
1396
  /**
1339
1397
  * Border Radius Bottom Left
1340
1398
  * @see https://tailwindcss.com/docs/border-radius
1341
1399
  */
1342
1400
  "rounded-bl": [{
1343
- "rounded-bl": [n]
1401
+ "rounded-bl": h()
1344
1402
  }],
1345
1403
  /**
1346
1404
  * Border Width
1347
1405
  * @see https://tailwindcss.com/docs/border-width
1348
1406
  */
1349
1407
  "border-w": [{
1350
- border: [s]
1408
+ border: x()
1351
1409
  }],
1352
1410
  /**
1353
1411
  * Border Width X
1354
1412
  * @see https://tailwindcss.com/docs/border-width
1355
1413
  */
1356
1414
  "border-w-x": [{
1357
- "border-x": [s]
1415
+ "border-x": x()
1358
1416
  }],
1359
1417
  /**
1360
1418
  * Border Width Y
1361
1419
  * @see https://tailwindcss.com/docs/border-width
1362
1420
  */
1363
1421
  "border-w-y": [{
1364
- "border-y": [s]
1422
+ "border-y": x()
1365
1423
  }],
1366
1424
  /**
1367
1425
  * Border Width Start
1368
1426
  * @see https://tailwindcss.com/docs/border-width
1369
1427
  */
1370
1428
  "border-w-s": [{
1371
- "border-s": [s]
1429
+ "border-s": x()
1372
1430
  }],
1373
1431
  /**
1374
1432
  * Border Width End
1375
1433
  * @see https://tailwindcss.com/docs/border-width
1376
1434
  */
1377
1435
  "border-w-e": [{
1378
- "border-e": [s]
1436
+ "border-e": x()
1379
1437
  }],
1380
1438
  /**
1381
1439
  * Border Width Top
1382
1440
  * @see https://tailwindcss.com/docs/border-width
1383
1441
  */
1384
1442
  "border-w-t": [{
1385
- "border-t": [s]
1443
+ "border-t": x()
1386
1444
  }],
1387
1445
  /**
1388
1446
  * Border Width Right
1389
1447
  * @see https://tailwindcss.com/docs/border-width
1390
1448
  */
1391
1449
  "border-w-r": [{
1392
- "border-r": [s]
1450
+ "border-r": x()
1393
1451
  }],
1394
1452
  /**
1395
1453
  * Border Width Bottom
1396
1454
  * @see https://tailwindcss.com/docs/border-width
1397
1455
  */
1398
1456
  "border-w-b": [{
1399
- "border-b": [s]
1457
+ "border-b": x()
1400
1458
  }],
1401
1459
  /**
1402
1460
  * Border Width Left
1403
1461
  * @see https://tailwindcss.com/docs/border-width
1404
1462
  */
1405
1463
  "border-w-l": [{
1406
- "border-l": [s]
1407
- }],
1408
- /**
1409
- * Border Opacity
1410
- * @see https://tailwindcss.com/docs/border-opacity
1411
- */
1412
- "border-opacity": [{
1413
- "border-opacity": [f]
1414
- }],
1415
- /**
1416
- * Border Style
1417
- * @see https://tailwindcss.com/docs/border-style
1418
- */
1419
- "border-style": [{
1420
- border: [...N(), "hidden"]
1464
+ "border-l": x()
1421
1465
  }],
1422
1466
  /**
1423
1467
  * Divide Width X
1424
- * @see https://tailwindcss.com/docs/divide-width
1468
+ * @see https://tailwindcss.com/docs/border-width#between-children
1425
1469
  */
1426
1470
  "divide-x": [{
1427
- "divide-x": [s]
1471
+ "divide-x": x()
1428
1472
  }],
1429
1473
  /**
1430
1474
  * Divide Width X Reverse
1431
- * @see https://tailwindcss.com/docs/divide-width
1475
+ * @see https://tailwindcss.com/docs/border-width#between-children
1432
1476
  */
1433
1477
  "divide-x-reverse": ["divide-x-reverse"],
1434
1478
  /**
1435
1479
  * Divide Width Y
1436
- * @see https://tailwindcss.com/docs/divide-width
1480
+ * @see https://tailwindcss.com/docs/border-width#between-children
1437
1481
  */
1438
1482
  "divide-y": [{
1439
- "divide-y": [s]
1483
+ "divide-y": x()
1440
1484
  }],
1441
1485
  /**
1442
1486
  * Divide Width Y Reverse
1443
- * @see https://tailwindcss.com/docs/divide-width
1487
+ * @see https://tailwindcss.com/docs/border-width#between-children
1444
1488
  */
1445
1489
  "divide-y-reverse": ["divide-y-reverse"],
1446
1490
  /**
1447
- * Divide Opacity
1448
- * @see https://tailwindcss.com/docs/divide-opacity
1491
+ * Border Style
1492
+ * @see https://tailwindcss.com/docs/border-style
1449
1493
  */
1450
- "divide-opacity": [{
1451
- "divide-opacity": [f]
1494
+ "border-style": [{
1495
+ border: [...W(), "hidden", "none"]
1452
1496
  }],
1453
1497
  /**
1454
1498
  * Divide Style
1455
- * @see https://tailwindcss.com/docs/divide-style
1499
+ * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1456
1500
  */
1457
1501
  "divide-style": [{
1458
- divide: N()
1502
+ divide: [...W(), "hidden", "none"]
1459
1503
  }],
1460
1504
  /**
1461
1505
  * Border Color
1462
1506
  * @see https://tailwindcss.com/docs/border-color
1463
1507
  */
1464
1508
  "border-color": [{
1465
- border: [a]
1509
+ border: u()
1466
1510
  }],
1467
1511
  /**
1468
1512
  * Border Color X
1469
1513
  * @see https://tailwindcss.com/docs/border-color
1470
1514
  */
1471
1515
  "border-color-x": [{
1472
- "border-x": [a]
1516
+ "border-x": u()
1473
1517
  }],
1474
1518
  /**
1475
1519
  * Border Color Y
1476
1520
  * @see https://tailwindcss.com/docs/border-color
1477
1521
  */
1478
1522
  "border-color-y": [{
1479
- "border-y": [a]
1523
+ "border-y": u()
1480
1524
  }],
1481
1525
  /**
1482
1526
  * Border Color S
1483
1527
  * @see https://tailwindcss.com/docs/border-color
1484
1528
  */
1485
1529
  "border-color-s": [{
1486
- "border-s": [a]
1530
+ "border-s": u()
1487
1531
  }],
1488
1532
  /**
1489
1533
  * Border Color E
1490
1534
  * @see https://tailwindcss.com/docs/border-color
1491
1535
  */
1492
1536
  "border-color-e": [{
1493
- "border-e": [a]
1537
+ "border-e": u()
1494
1538
  }],
1495
1539
  /**
1496
1540
  * Border Color Top
1497
1541
  * @see https://tailwindcss.com/docs/border-color
1498
1542
  */
1499
1543
  "border-color-t": [{
1500
- "border-t": [a]
1544
+ "border-t": u()
1501
1545
  }],
1502
1546
  /**
1503
1547
  * Border Color Right
1504
1548
  * @see https://tailwindcss.com/docs/border-color
1505
1549
  */
1506
1550
  "border-color-r": [{
1507
- "border-r": [a]
1551
+ "border-r": u()
1508
1552
  }],
1509
1553
  /**
1510
1554
  * Border Color Bottom
1511
1555
  * @see https://tailwindcss.com/docs/border-color
1512
1556
  */
1513
1557
  "border-color-b": [{
1514
- "border-b": [a]
1558
+ "border-b": u()
1515
1559
  }],
1516
1560
  /**
1517
1561
  * Border Color Left
1518
1562
  * @see https://tailwindcss.com/docs/border-color
1519
1563
  */
1520
1564
  "border-color-l": [{
1521
- "border-l": [a]
1565
+ "border-l": u()
1522
1566
  }],
1523
1567
  /**
1524
1568
  * Divide Color
1525
1569
  * @see https://tailwindcss.com/docs/divide-color
1526
1570
  */
1527
1571
  "divide-color": [{
1528
- divide: [a]
1572
+ divide: u()
1529
1573
  }],
1530
1574
  /**
1531
1575
  * Outline Style
1532
1576
  * @see https://tailwindcss.com/docs/outline-style
1533
1577
  */
1534
1578
  "outline-style": [{
1535
- outline: ["", ...N()]
1579
+ outline: [...W(), "none", "hidden"]
1536
1580
  }],
1537
1581
  /**
1538
1582
  * Outline Offset
1539
1583
  * @see https://tailwindcss.com/docs/outline-offset
1540
1584
  */
1541
1585
  "outline-offset": [{
1542
- "outline-offset": [k, l]
1586
+ "outline-offset": [d, t, r]
1543
1587
  }],
1544
1588
  /**
1545
1589
  * Outline Width
1546
1590
  * @see https://tailwindcss.com/docs/outline-width
1547
1591
  */
1548
1592
  "outline-w": [{
1549
- outline: [k, z]
1593
+ outline: ["", d, J, R]
1550
1594
  }],
1551
1595
  /**
1552
1596
  * Outline Color
@@ -1555,226 +1599,283 @@ const c = (e) => {
1555
1599
  "outline-color": [{
1556
1600
  outline: [e]
1557
1601
  }],
1602
+ // ---------------
1603
+ // --- Effects ---
1604
+ // ---------------
1605
+ /**
1606
+ * Box Shadow
1607
+ * @see https://tailwindcss.com/docs/box-shadow
1608
+ */
1609
+ shadow: [{
1610
+ shadow: [
1611
+ // Deprecated since Tailwind CSS v4.0.0
1612
+ "",
1613
+ "none",
1614
+ m,
1615
+ er,
1616
+ De
1617
+ ]
1618
+ }],
1619
+ /**
1620
+ * Box Shadow Color
1621
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
1622
+ */
1623
+ "shadow-color": [{
1624
+ shadow: u()
1625
+ }],
1626
+ /**
1627
+ * Inset Box Shadow
1628
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1629
+ */
1630
+ "inset-shadow": [{
1631
+ "inset-shadow": ["none", t, r, C]
1632
+ }],
1633
+ /**
1634
+ * Inset Box Shadow Color
1635
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
1636
+ */
1637
+ "inset-shadow-color": [{
1638
+ "inset-shadow": u()
1639
+ }],
1558
1640
  /**
1559
1641
  * Ring Width
1560
- * @see https://tailwindcss.com/docs/ring-width
1642
+ * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
1561
1643
  */
1562
1644
  "ring-w": [{
1563
- ring: J()
1645
+ ring: x()
1564
1646
  }],
1565
1647
  /**
1566
1648
  * Ring Width Inset
1567
- * @see https://tailwindcss.com/docs/ring-width
1649
+ * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
1650
+ * @deprecated since Tailwind CSS v4.0.0
1651
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1568
1652
  */
1569
1653
  "ring-w-inset": ["ring-inset"],
1570
1654
  /**
1571
1655
  * Ring Color
1572
- * @see https://tailwindcss.com/docs/ring-color
1656
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
1573
1657
  */
1574
1658
  "ring-color": [{
1575
- ring: [e]
1576
- }],
1577
- /**
1578
- * Ring Opacity
1579
- * @see https://tailwindcss.com/docs/ring-opacity
1580
- */
1581
- "ring-opacity": [{
1582
- "ring-opacity": [f]
1659
+ ring: u()
1583
1660
  }],
1584
1661
  /**
1585
1662
  * Ring Offset Width
1586
- * @see https://tailwindcss.com/docs/ring-offset-width
1663
+ * @see https://v3.tailwindcss.com/docs/ring-offset-width
1664
+ * @deprecated since Tailwind CSS v4.0.0
1665
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1587
1666
  */
1588
1667
  "ring-offset-w": [{
1589
- "ring-offset": [k, z]
1668
+ "ring-offset": [d, R]
1590
1669
  }],
1591
1670
  /**
1592
1671
  * Ring Offset Color
1593
- * @see https://tailwindcss.com/docs/ring-offset-color
1672
+ * @see https://v3.tailwindcss.com/docs/ring-offset-color
1673
+ * @deprecated since Tailwind CSS v4.0.0
1674
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1594
1675
  */
1595
1676
  "ring-offset-color": [{
1596
- "ring-offset": [e]
1677
+ "ring-offset": u()
1597
1678
  }],
1598
- // Effects
1599
1679
  /**
1600
- * Box Shadow
1601
- * @see https://tailwindcss.com/docs/box-shadow
1680
+ * Inset Ring Width
1681
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
1602
1682
  */
1603
- shadow: [{
1604
- shadow: ["", "inner", "none", S, Ie]
1683
+ "inset-ring-w": [{
1684
+ "inset-ring": x()
1605
1685
  }],
1606
1686
  /**
1607
- * Box Shadow Color
1608
- * @see https://tailwindcss.com/docs/box-shadow-color
1687
+ * Inset Ring Color
1688
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
1609
1689
  */
1610
- "shadow-color": [{
1611
- shadow: [E]
1690
+ "inset-ring-color": [{
1691
+ "inset-ring": u()
1612
1692
  }],
1613
1693
  /**
1614
1694
  * Opacity
1615
1695
  * @see https://tailwindcss.com/docs/opacity
1616
1696
  */
1617
1697
  opacity: [{
1618
- opacity: [f]
1698
+ opacity: [d, t, r]
1619
1699
  }],
1620
1700
  /**
1621
1701
  * Mix Blend Mode
1622
1702
  * @see https://tailwindcss.com/docs/mix-blend-mode
1623
1703
  */
1624
1704
  "mix-blend": [{
1625
- "mix-blend": [...Z(), "plus-lighter", "plus-darker"]
1705
+ "mix-blend": [...ie(), "plus-darker", "plus-lighter"]
1626
1706
  }],
1627
1707
  /**
1628
1708
  * Background Blend Mode
1629
1709
  * @see https://tailwindcss.com/docs/background-blend-mode
1630
1710
  */
1631
1711
  "bg-blend": [{
1632
- "bg-blend": Z()
1712
+ "bg-blend": ie()
1633
1713
  }],
1634
- // Filters
1714
+ // ---------------
1715
+ // --- Filters ---
1716
+ // ---------------
1635
1717
  /**
1636
1718
  * Filter
1637
- * @deprecated since Tailwind CSS v3.0.0
1638
1719
  * @see https://tailwindcss.com/docs/filter
1639
1720
  */
1640
1721
  filter: [{
1641
- filter: ["", "none"]
1722
+ filter: [
1723
+ // Deprecated since Tailwind CSS v3.0.0
1724
+ "",
1725
+ "none",
1726
+ t,
1727
+ r
1728
+ ]
1642
1729
  }],
1643
1730
  /**
1644
1731
  * Blur
1645
1732
  * @see https://tailwindcss.com/docs/blur
1646
1733
  */
1647
1734
  blur: [{
1648
- blur: [t]
1735
+ blur: le()
1649
1736
  }],
1650
1737
  /**
1651
1738
  * Brightness
1652
1739
  * @see https://tailwindcss.com/docs/brightness
1653
1740
  */
1654
1741
  brightness: [{
1655
- brightness: [o]
1742
+ brightness: [d, t, r]
1656
1743
  }],
1657
1744
  /**
1658
1745
  * Contrast
1659
1746
  * @see https://tailwindcss.com/docs/contrast
1660
1747
  */
1661
1748
  contrast: [{
1662
- contrast: [u]
1749
+ contrast: [d, t, r]
1663
1750
  }],
1664
1751
  /**
1665
1752
  * Drop Shadow
1666
1753
  * @see https://tailwindcss.com/docs/drop-shadow
1667
1754
  */
1668
1755
  "drop-shadow": [{
1669
- "drop-shadow": ["", "none", S, l]
1756
+ "drop-shadow": [
1757
+ // Deprecated since Tailwind CSS v4.0.0
1758
+ "",
1759
+ "none",
1760
+ O,
1761
+ t,
1762
+ r
1763
+ ]
1670
1764
  }],
1671
1765
  /**
1672
1766
  * Grayscale
1673
1767
  * @see https://tailwindcss.com/docs/grayscale
1674
1768
  */
1675
1769
  grayscale: [{
1676
- grayscale: [g]
1770
+ grayscale: ["", d, t, r]
1677
1771
  }],
1678
1772
  /**
1679
1773
  * Hue Rotate
1680
1774
  * @see https://tailwindcss.com/docs/hue-rotate
1681
1775
  */
1682
1776
  "hue-rotate": [{
1683
- "hue-rotate": [m]
1777
+ "hue-rotate": [d, t, r]
1684
1778
  }],
1685
1779
  /**
1686
1780
  * Invert
1687
1781
  * @see https://tailwindcss.com/docs/invert
1688
1782
  */
1689
1783
  invert: [{
1690
- invert: [y]
1784
+ invert: ["", d, t, r]
1691
1785
  }],
1692
1786
  /**
1693
1787
  * Saturate
1694
1788
  * @see https://tailwindcss.com/docs/saturate
1695
1789
  */
1696
1790
  saturate: [{
1697
- saturate: [R]
1791
+ saturate: [d, t, r]
1698
1792
  }],
1699
1793
  /**
1700
1794
  * Sepia
1701
1795
  * @see https://tailwindcss.com/docs/sepia
1702
1796
  */
1703
1797
  sepia: [{
1704
- sepia: [j]
1798
+ sepia: ["", d, t, r]
1705
1799
  }],
1706
1800
  /**
1707
1801
  * Backdrop Filter
1708
- * @deprecated since Tailwind CSS v3.0.0
1709
1802
  * @see https://tailwindcss.com/docs/backdrop-filter
1710
1803
  */
1711
1804
  "backdrop-filter": [{
1712
- "backdrop-filter": ["", "none"]
1805
+ "backdrop-filter": [
1806
+ // Deprecated since Tailwind CSS v3.0.0
1807
+ "",
1808
+ "none",
1809
+ t,
1810
+ r
1811
+ ]
1713
1812
  }],
1714
1813
  /**
1715
1814
  * Backdrop Blur
1716
1815
  * @see https://tailwindcss.com/docs/backdrop-blur
1717
1816
  */
1718
1817
  "backdrop-blur": [{
1719
- "backdrop-blur": [t]
1818
+ "backdrop-blur": le()
1720
1819
  }],
1721
1820
  /**
1722
1821
  * Backdrop Brightness
1723
1822
  * @see https://tailwindcss.com/docs/backdrop-brightness
1724
1823
  */
1725
1824
  "backdrop-brightness": [{
1726
- "backdrop-brightness": [o]
1825
+ "backdrop-brightness": [d, t, r]
1727
1826
  }],
1728
1827
  /**
1729
1828
  * Backdrop Contrast
1730
1829
  * @see https://tailwindcss.com/docs/backdrop-contrast
1731
1830
  */
1732
1831
  "backdrop-contrast": [{
1733
- "backdrop-contrast": [u]
1832
+ "backdrop-contrast": [d, t, r]
1734
1833
  }],
1735
1834
  /**
1736
1835
  * Backdrop Grayscale
1737
1836
  * @see https://tailwindcss.com/docs/backdrop-grayscale
1738
1837
  */
1739
1838
  "backdrop-grayscale": [{
1740
- "backdrop-grayscale": [g]
1839
+ "backdrop-grayscale": ["", d, t, r]
1741
1840
  }],
1742
1841
  /**
1743
1842
  * Backdrop Hue Rotate
1744
1843
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
1745
1844
  */
1746
1845
  "backdrop-hue-rotate": [{
1747
- "backdrop-hue-rotate": [m]
1846
+ "backdrop-hue-rotate": [d, t, r]
1748
1847
  }],
1749
1848
  /**
1750
1849
  * Backdrop Invert
1751
1850
  * @see https://tailwindcss.com/docs/backdrop-invert
1752
1851
  */
1753
1852
  "backdrop-invert": [{
1754
- "backdrop-invert": [y]
1853
+ "backdrop-invert": ["", d, t, r]
1755
1854
  }],
1756
1855
  /**
1757
1856
  * Backdrop Opacity
1758
1857
  * @see https://tailwindcss.com/docs/backdrop-opacity
1759
1858
  */
1760
1859
  "backdrop-opacity": [{
1761
- "backdrop-opacity": [f]
1860
+ "backdrop-opacity": [d, t, r]
1762
1861
  }],
1763
1862
  /**
1764
1863
  * Backdrop Saturate
1765
1864
  * @see https://tailwindcss.com/docs/backdrop-saturate
1766
1865
  */
1767
1866
  "backdrop-saturate": [{
1768
- "backdrop-saturate": [R]
1867
+ "backdrop-saturate": [d, t, r]
1769
1868
  }],
1770
1869
  /**
1771
1870
  * Backdrop Sepia
1772
1871
  * @see https://tailwindcss.com/docs/backdrop-sepia
1773
1872
  */
1774
1873
  "backdrop-sepia": [{
1775
- "backdrop-sepia": [j]
1874
+ "backdrop-sepia": ["", d, t, r]
1776
1875
  }],
1777
- // Tables
1876
+ // --------------
1877
+ // --- Tables ---
1878
+ // --------------
1778
1879
  /**
1779
1880
  * Border Collapse
1780
1881
  * @see https://tailwindcss.com/docs/border-collapse
@@ -1787,21 +1888,21 @@ const c = (e) => {
1787
1888
  * @see https://tailwindcss.com/docs/border-spacing
1788
1889
  */
1789
1890
  "border-spacing": [{
1790
- "border-spacing": [i]
1891
+ "border-spacing": p()
1791
1892
  }],
1792
1893
  /**
1793
1894
  * Border Spacing X
1794
1895
  * @see https://tailwindcss.com/docs/border-spacing
1795
1896
  */
1796
1897
  "border-spacing-x": [{
1797
- "border-spacing-x": [i]
1898
+ "border-spacing-x": p()
1798
1899
  }],
1799
1900
  /**
1800
1901
  * Border Spacing Y
1801
1902
  * @see https://tailwindcss.com/docs/border-spacing
1802
1903
  */
1803
1904
  "border-spacing-y": [{
1804
- "border-spacing-y": [i]
1905
+ "border-spacing-y": p()
1805
1906
  }],
1806
1907
  /**
1807
1908
  * Table Layout
@@ -1817,120 +1918,220 @@ const c = (e) => {
1817
1918
  caption: [{
1818
1919
  caption: ["top", "bottom"]
1819
1920
  }],
1820
- // Transitions and Animation
1921
+ // ---------------------------------
1922
+ // --- Transitions and Animation ---
1923
+ // ---------------------------------
1821
1924
  /**
1822
- * Tranisition Property
1925
+ * Transition Property
1823
1926
  * @see https://tailwindcss.com/docs/transition-property
1824
1927
  */
1825
1928
  transition: [{
1826
- transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", l]
1929
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", t, r]
1930
+ }],
1931
+ /**
1932
+ * Transition Behavior
1933
+ * @see https://tailwindcss.com/docs/transition-behavior
1934
+ */
1935
+ "transition-behavior": [{
1936
+ transition: ["normal", "discrete"]
1827
1937
  }],
1828
1938
  /**
1829
1939
  * Transition Duration
1830
1940
  * @see https://tailwindcss.com/docs/transition-duration
1831
1941
  */
1832
1942
  duration: [{
1833
- duration: C()
1943
+ duration: [d, "initial", t, r]
1834
1944
  }],
1835
1945
  /**
1836
1946
  * Transition Timing Function
1837
1947
  * @see https://tailwindcss.com/docs/transition-timing-function
1838
1948
  */
1839
1949
  ease: [{
1840
- ease: ["linear", "in", "out", "in-out", l]
1950
+ ease: ["linear", "initial", G, t, r]
1841
1951
  }],
1842
1952
  /**
1843
1953
  * Transition Delay
1844
1954
  * @see https://tailwindcss.com/docs/transition-delay
1845
1955
  */
1846
1956
  delay: [{
1847
- delay: C()
1957
+ delay: [d, t, r]
1848
1958
  }],
1849
1959
  /**
1850
1960
  * Animation
1851
1961
  * @see https://tailwindcss.com/docs/animation
1852
1962
  */
1853
1963
  animate: [{
1854
- animate: ["none", "spin", "ping", "pulse", "bounce", l]
1964
+ animate: ["none", S, t, r]
1855
1965
  }],
1856
- // Transforms
1966
+ // ------------------
1967
+ // --- Transforms ---
1968
+ // ------------------
1857
1969
  /**
1858
- * Transform
1859
- * @see https://tailwindcss.com/docs/transform
1970
+ * Backface Visibility
1971
+ * @see https://tailwindcss.com/docs/backface-visibility
1860
1972
  */
1861
- transform: [{
1862
- transform: ["", "gpu", "none"]
1973
+ backface: [{
1974
+ backface: ["hidden", "visible"]
1975
+ }],
1976
+ /**
1977
+ * Perspective
1978
+ * @see https://tailwindcss.com/docs/perspective
1979
+ */
1980
+ perspective: [{
1981
+ perspective: [y, t, r]
1982
+ }],
1983
+ /**
1984
+ * Perspective Origin
1985
+ * @see https://tailwindcss.com/docs/perspective-origin
1986
+ */
1987
+ "perspective-origin": [{
1988
+ "perspective-origin": ae()
1989
+ }],
1990
+ /**
1991
+ * Rotate
1992
+ * @see https://tailwindcss.com/docs/rotate
1993
+ */
1994
+ rotate: [{
1995
+ rotate: U()
1996
+ }],
1997
+ /**
1998
+ * Rotate X
1999
+ * @see https://tailwindcss.com/docs/rotate
2000
+ */
2001
+ "rotate-x": [{
2002
+ "rotate-x": U()
2003
+ }],
2004
+ /**
2005
+ * Rotate Y
2006
+ * @see https://tailwindcss.com/docs/rotate
2007
+ */
2008
+ "rotate-y": [{
2009
+ "rotate-y": U()
2010
+ }],
2011
+ /**
2012
+ * Rotate Z
2013
+ * @see https://tailwindcss.com/docs/rotate
2014
+ */
2015
+ "rotate-z": [{
2016
+ "rotate-z": U()
1863
2017
  }],
1864
2018
  /**
1865
2019
  * Scale
1866
2020
  * @see https://tailwindcss.com/docs/scale
1867
2021
  */
1868
2022
  scale: [{
1869
- scale: [A]
2023
+ scale: q()
1870
2024
  }],
1871
2025
  /**
1872
2026
  * Scale X
1873
2027
  * @see https://tailwindcss.com/docs/scale
1874
2028
  */
1875
2029
  "scale-x": [{
1876
- "scale-x": [A]
2030
+ "scale-x": q()
1877
2031
  }],
1878
2032
  /**
1879
2033
  * Scale Y
1880
2034
  * @see https://tailwindcss.com/docs/scale
1881
2035
  */
1882
2036
  "scale-y": [{
1883
- "scale-y": [A]
2037
+ "scale-y": q()
1884
2038
  }],
1885
2039
  /**
1886
- * Rotate
1887
- * @see https://tailwindcss.com/docs/rotate
2040
+ * Scale Z
2041
+ * @see https://tailwindcss.com/docs/scale
1888
2042
  */
1889
- rotate: [{
1890
- rotate: [P, l]
2043
+ "scale-z": [{
2044
+ "scale-z": q()
1891
2045
  }],
1892
2046
  /**
1893
- * Translate X
1894
- * @see https://tailwindcss.com/docs/translate
2047
+ * Scale 3D
2048
+ * @see https://tailwindcss.com/docs/scale
1895
2049
  */
1896
- "translate-x": [{
1897
- "translate-x": [q]
1898
- }],
2050
+ "scale-3d": ["scale-3d"],
1899
2051
  /**
1900
- * Translate Y
1901
- * @see https://tailwindcss.com/docs/translate
2052
+ * Skew
2053
+ * @see https://tailwindcss.com/docs/skew
1902
2054
  */
1903
- "translate-y": [{
1904
- "translate-y": [q]
2055
+ skew: [{
2056
+ skew: Q()
1905
2057
  }],
1906
2058
  /**
1907
2059
  * Skew X
1908
2060
  * @see https://tailwindcss.com/docs/skew
1909
2061
  */
1910
2062
  "skew-x": [{
1911
- "skew-x": [U]
2063
+ "skew-x": Q()
1912
2064
  }],
1913
2065
  /**
1914
2066
  * Skew Y
1915
2067
  * @see https://tailwindcss.com/docs/skew
1916
2068
  */
1917
2069
  "skew-y": [{
1918
- "skew-y": [U]
2070
+ "skew-y": Q()
2071
+ }],
2072
+ /**
2073
+ * Transform
2074
+ * @see https://tailwindcss.com/docs/transform
2075
+ */
2076
+ transform: [{
2077
+ transform: [t, r, "", "none", "gpu", "cpu"]
1919
2078
  }],
1920
2079
  /**
1921
2080
  * Transform Origin
1922
2081
  * @see https://tailwindcss.com/docs/transform-origin
1923
2082
  */
1924
2083
  "transform-origin": [{
1925
- origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", l]
2084
+ origin: ae()
2085
+ }],
2086
+ /**
2087
+ * Transform Style
2088
+ * @see https://tailwindcss.com/docs/transform-style
2089
+ */
2090
+ "transform-style": [{
2091
+ transform: ["3d", "flat"]
2092
+ }],
2093
+ /**
2094
+ * Translate
2095
+ * @see https://tailwindcss.com/docs/translate
2096
+ */
2097
+ translate: [{
2098
+ translate: H()
2099
+ }],
2100
+ /**
2101
+ * Translate X
2102
+ * @see https://tailwindcss.com/docs/translate
2103
+ */
2104
+ "translate-x": [{
2105
+ "translate-x": H()
2106
+ }],
2107
+ /**
2108
+ * Translate Y
2109
+ * @see https://tailwindcss.com/docs/translate
2110
+ */
2111
+ "translate-y": [{
2112
+ "translate-y": H()
1926
2113
  }],
1927
- // Interactivity
2114
+ /**
2115
+ * Translate Z
2116
+ * @see https://tailwindcss.com/docs/translate
2117
+ */
2118
+ "translate-z": [{
2119
+ "translate-z": H()
2120
+ }],
2121
+ /**
2122
+ * Translate None
2123
+ * @see https://tailwindcss.com/docs/translate
2124
+ */
2125
+ "translate-none": ["translate-none"],
2126
+ // ---------------------
2127
+ // --- Interactivity ---
2128
+ // ---------------------
1928
2129
  /**
1929
2130
  * Accent Color
1930
2131
  * @see https://tailwindcss.com/docs/accent-color
1931
2132
  */
1932
2133
  accent: [{
1933
- accent: ["auto", e]
2134
+ accent: u()
1934
2135
  }],
1935
2136
  /**
1936
2137
  * Appearance
@@ -1939,33 +2140,47 @@ const c = (e) => {
1939
2140
  appearance: [{
1940
2141
  appearance: ["none", "auto"]
1941
2142
  }],
2143
+ /**
2144
+ * Caret Color
2145
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2146
+ */
2147
+ "caret-color": [{
2148
+ caret: u()
2149
+ }],
2150
+ /**
2151
+ * Color Scheme
2152
+ * @see https://tailwindcss.com/docs/color-scheme
2153
+ */
2154
+ "color-scheme": [{
2155
+ scheme: ["normal", "dark", "light", "light-dark", "only-dark", "only-light"]
2156
+ }],
1942
2157
  /**
1943
2158
  * Cursor
1944
2159
  * @see https://tailwindcss.com/docs/cursor
1945
2160
  */
1946
2161
  cursor: [{
1947
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", l]
2162
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", t, r]
1948
2163
  }],
1949
2164
  /**
1950
- * Caret Color
1951
- * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2165
+ * Field Sizing
2166
+ * @see https://tailwindcss.com/docs/field-sizing
1952
2167
  */
1953
- "caret-color": [{
1954
- caret: [e]
2168
+ "field-sizing": [{
2169
+ "field-sizing": ["fixed", "content"]
1955
2170
  }],
1956
2171
  /**
1957
2172
  * Pointer Events
1958
2173
  * @see https://tailwindcss.com/docs/pointer-events
1959
2174
  */
1960
2175
  "pointer-events": [{
1961
- "pointer-events": ["none", "auto"]
2176
+ "pointer-events": ["auto", "none"]
1962
2177
  }],
1963
2178
  /**
1964
2179
  * Resize
1965
2180
  * @see https://tailwindcss.com/docs/resize
1966
2181
  */
1967
2182
  resize: [{
1968
- resize: ["none", "y", "x", ""]
2183
+ resize: ["none", "", "y", "x"]
1969
2184
  }],
1970
2185
  /**
1971
2186
  * Scroll Behavior
@@ -1979,126 +2194,126 @@ const c = (e) => {
1979
2194
  * @see https://tailwindcss.com/docs/scroll-margin
1980
2195
  */
1981
2196
  "scroll-m": [{
1982
- "scroll-m": d()
2197
+ "scroll-m": p()
1983
2198
  }],
1984
2199
  /**
1985
2200
  * Scroll Margin X
1986
2201
  * @see https://tailwindcss.com/docs/scroll-margin
1987
2202
  */
1988
2203
  "scroll-mx": [{
1989
- "scroll-mx": d()
2204
+ "scroll-mx": p()
1990
2205
  }],
1991
2206
  /**
1992
2207
  * Scroll Margin Y
1993
2208
  * @see https://tailwindcss.com/docs/scroll-margin
1994
2209
  */
1995
2210
  "scroll-my": [{
1996
- "scroll-my": d()
2211
+ "scroll-my": p()
1997
2212
  }],
1998
2213
  /**
1999
2214
  * Scroll Margin Start
2000
2215
  * @see https://tailwindcss.com/docs/scroll-margin
2001
2216
  */
2002
2217
  "scroll-ms": [{
2003
- "scroll-ms": d()
2218
+ "scroll-ms": p()
2004
2219
  }],
2005
2220
  /**
2006
2221
  * Scroll Margin End
2007
2222
  * @see https://tailwindcss.com/docs/scroll-margin
2008
2223
  */
2009
2224
  "scroll-me": [{
2010
- "scroll-me": d()
2225
+ "scroll-me": p()
2011
2226
  }],
2012
2227
  /**
2013
2228
  * Scroll Margin Top
2014
2229
  * @see https://tailwindcss.com/docs/scroll-margin
2015
2230
  */
2016
2231
  "scroll-mt": [{
2017
- "scroll-mt": d()
2232
+ "scroll-mt": p()
2018
2233
  }],
2019
2234
  /**
2020
2235
  * Scroll Margin Right
2021
2236
  * @see https://tailwindcss.com/docs/scroll-margin
2022
2237
  */
2023
2238
  "scroll-mr": [{
2024
- "scroll-mr": d()
2239
+ "scroll-mr": p()
2025
2240
  }],
2026
2241
  /**
2027
2242
  * Scroll Margin Bottom
2028
2243
  * @see https://tailwindcss.com/docs/scroll-margin
2029
2244
  */
2030
2245
  "scroll-mb": [{
2031
- "scroll-mb": d()
2246
+ "scroll-mb": p()
2032
2247
  }],
2033
2248
  /**
2034
2249
  * Scroll Margin Left
2035
2250
  * @see https://tailwindcss.com/docs/scroll-margin
2036
2251
  */
2037
2252
  "scroll-ml": [{
2038
- "scroll-ml": d()
2253
+ "scroll-ml": p()
2039
2254
  }],
2040
2255
  /**
2041
2256
  * Scroll Padding
2042
2257
  * @see https://tailwindcss.com/docs/scroll-padding
2043
2258
  */
2044
2259
  "scroll-p": [{
2045
- "scroll-p": d()
2260
+ "scroll-p": p()
2046
2261
  }],
2047
2262
  /**
2048
2263
  * Scroll Padding X
2049
2264
  * @see https://tailwindcss.com/docs/scroll-padding
2050
2265
  */
2051
2266
  "scroll-px": [{
2052
- "scroll-px": d()
2267
+ "scroll-px": p()
2053
2268
  }],
2054
2269
  /**
2055
2270
  * Scroll Padding Y
2056
2271
  * @see https://tailwindcss.com/docs/scroll-padding
2057
2272
  */
2058
2273
  "scroll-py": [{
2059
- "scroll-py": d()
2274
+ "scroll-py": p()
2060
2275
  }],
2061
2276
  /**
2062
2277
  * Scroll Padding Start
2063
2278
  * @see https://tailwindcss.com/docs/scroll-padding
2064
2279
  */
2065
2280
  "scroll-ps": [{
2066
- "scroll-ps": d()
2281
+ "scroll-ps": p()
2067
2282
  }],
2068
2283
  /**
2069
2284
  * Scroll Padding End
2070
2285
  * @see https://tailwindcss.com/docs/scroll-padding
2071
2286
  */
2072
2287
  "scroll-pe": [{
2073
- "scroll-pe": d()
2288
+ "scroll-pe": p()
2074
2289
  }],
2075
2290
  /**
2076
2291
  * Scroll Padding Top
2077
2292
  * @see https://tailwindcss.com/docs/scroll-padding
2078
2293
  */
2079
2294
  "scroll-pt": [{
2080
- "scroll-pt": d()
2295
+ "scroll-pt": p()
2081
2296
  }],
2082
2297
  /**
2083
2298
  * Scroll Padding Right
2084
2299
  * @see https://tailwindcss.com/docs/scroll-padding
2085
2300
  */
2086
2301
  "scroll-pr": [{
2087
- "scroll-pr": d()
2302
+ "scroll-pr": p()
2088
2303
  }],
2089
2304
  /**
2090
2305
  * Scroll Padding Bottom
2091
2306
  * @see https://tailwindcss.com/docs/scroll-padding
2092
2307
  */
2093
2308
  "scroll-pb": [{
2094
- "scroll-pb": d()
2309
+ "scroll-pb": p()
2095
2310
  }],
2096
2311
  /**
2097
2312
  * Scroll Padding Left
2098
2313
  * @see https://tailwindcss.com/docs/scroll-padding
2099
2314
  */
2100
2315
  "scroll-pl": [{
2101
- "scroll-pl": d()
2316
+ "scroll-pl": p()
2102
2317
  }],
2103
2318
  /**
2104
2319
  * Scroll Snap Align
@@ -2166,36 +2381,35 @@ const c = (e) => {
2166
2381
  * @see https://tailwindcss.com/docs/will-change
2167
2382
  */
2168
2383
  "will-change": [{
2169
- "will-change": ["auto", "scroll", "contents", "transform", l]
2384
+ "will-change": ["auto", "scroll", "contents", "transform", t, r]
2170
2385
  }],
2171
- // SVG
2386
+ // -----------
2387
+ // --- SVG ---
2388
+ // -----------
2172
2389
  /**
2173
2390
  * Fill
2174
2391
  * @see https://tailwindcss.com/docs/fill
2175
2392
  */
2176
2393
  fill: [{
2177
- fill: [e, "none"]
2394
+ fill: ["none", ...u()]
2178
2395
  }],
2179
2396
  /**
2180
2397
  * Stroke Width
2181
2398
  * @see https://tailwindcss.com/docs/stroke-width
2182
2399
  */
2183
2400
  "stroke-w": [{
2184
- stroke: [k, z, _]
2401
+ stroke: [d, J, R, Y]
2185
2402
  }],
2186
2403
  /**
2187
2404
  * Stroke
2188
2405
  * @see https://tailwindcss.com/docs/stroke
2189
2406
  */
2190
2407
  stroke: [{
2191
- stroke: [e, "none"]
2408
+ stroke: ["none", ...u()]
2192
2409
  }],
2193
- // Accessibility
2194
- /**
2195
- * Screen Readers
2196
- * @see https://tailwindcss.com/docs/screen-readers
2197
- */
2198
- sr: ["sr-only", "not-sr-only"],
2410
+ // ---------------------
2411
+ // --- Accessibility ---
2412
+ // ---------------------
2199
2413
  /**
2200
2414
  * Forced Color Adjust
2201
2415
  * @see https://tailwindcss.com/docs/forced-color-adjust
@@ -2241,6 +2455,8 @@ const c = (e) => {
2241
2455
  "border-color": ["border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
2242
2456
  "border-color-x": ["border-color-r", "border-color-l"],
2243
2457
  "border-color-y": ["border-color-t", "border-color-b"],
2458
+ translate: ["translate-x", "translate-y", "translate-none"],
2459
+ "translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
2244
2460
  "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
2245
2461
  "scroll-mx": ["scroll-mr", "scroll-ml"],
2246
2462
  "scroll-my": ["scroll-mt", "scroll-mb"],
@@ -2254,13 +2470,14 @@ const c = (e) => {
2254
2470
  },
2255
2471
  conflictingClassGroupModifiers: {
2256
2472
  "font-size": ["leading"]
2257
- }
2473
+ },
2474
+ orderSensitiveModifiers: ["before", "after", "placeholder", "file", "marker", "selection", "first-line", "first-letter", "backdrop", "*", "**"]
2258
2475
  };
2259
- }, Ne = /* @__PURE__ */ me(Le), We = (...e) => Ne(oe(e)), Ve = (e, r) => e.filter(
2260
- (t) => t.toLocaleLowerCase().indexOf(r.toLocaleLowerCase()) > -1
2261
- ), Oe = !!(typeof window < "u" && window.document && window.document.createElement);
2476
+ }, lr = /* @__PURE__ */ Te(ir), cr = (...e) => lr(ye(e)), dr = (e, s) => e.filter(
2477
+ (n) => n.toLocaleLowerCase().indexOf(s.toLocaleLowerCase()) > -1
2478
+ ), pr = !!(typeof window < "u" && window.document && window.document.createElement);
2262
2479
  export {
2263
- We as cn,
2264
- Ve as filterByValue,
2265
- Oe as isClient
2480
+ cr as cn,
2481
+ dr as filterByValue,
2482
+ pr as isClient
2266
2483
  };