@keeper-security/keeper-js-ui 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,185 +1,186 @@
1
- import { jsx as N, Fragment as ye, jsxs as xe } from "react/jsx-runtime";
1
+ import { jsx as j, Fragment as je, jsxs as Ce } from "react/jsx-runtime";
2
2
  import * as x from "react";
3
- function ve(e, t) {
4
- typeof e == "function" ? e(t) : e != null && (e.current = t);
3
+ import "react-dom";
4
+ function ze(e, r) {
5
+ typeof e == "function" ? e(r) : e != null && (e.current = r);
5
6
  }
6
- function we(...e) {
7
- return (t) => e.forEach((r) => ve(r, t));
7
+ function Ne(...e) {
8
+ return (r) => e.forEach((t) => ze(t, r));
8
9
  }
9
- var J = x.forwardRef((e, t) => {
10
- const { children: r, ...o } = e, n = x.Children.toArray(r), s = n.find(ke);
10
+ var B = x.forwardRef((e, r) => {
11
+ const { children: t, ...o } = e, n = x.Children.toArray(t), s = n.find(Se);
11
12
  if (s) {
12
- const l = s.props.children, i = n.map((d) => d === s ? x.Children.count(l) > 1 ? x.Children.only(null) : x.isValidElement(l) ? l.props.children : null : d);
13
- return /* @__PURE__ */ N(K, { ...o, ref: t, children: x.isValidElement(l) ? x.cloneElement(l, void 0, i) : null });
13
+ const a = s.props.children, i = n.map((d) => d === s ? x.Children.count(a) > 1 ? x.Children.only(null) : x.isValidElement(a) ? a.props.children : null : d);
14
+ return /* @__PURE__ */ j(X, { ...o, ref: r, children: x.isValidElement(a) ? x.cloneElement(a, void 0, i) : null });
14
15
  }
15
- return /* @__PURE__ */ N(K, { ...o, ref: t, children: r });
16
+ return /* @__PURE__ */ j(X, { ...o, ref: r, children: t });
16
17
  });
17
- J.displayName = "Slot";
18
- var K = x.forwardRef((e, t) => {
19
- const { children: r, ...o } = e;
20
- if (x.isValidElement(r)) {
21
- const n = Ce(r);
22
- return x.cloneElement(r, {
23
- ...je(o, r.props),
18
+ B.displayName = "Slot";
19
+ var X = x.forwardRef((e, r) => {
20
+ const { children: t, ...o } = e;
21
+ if (x.isValidElement(t)) {
22
+ const n = Re(t);
23
+ return x.cloneElement(t, {
24
+ ...Ae(o, t.props),
24
25
  // @ts-ignore
25
- ref: t ? we(t, n) : n
26
+ ref: r ? Ne(r, n) : n
26
27
  });
27
28
  }
28
- return x.Children.count(r) > 1 ? x.Children.only(null) : null;
29
+ return x.Children.count(t) > 1 ? x.Children.only(null) : null;
29
30
  });
30
- K.displayName = "SlotClone";
31
- var ae = ({ children: e }) => /* @__PURE__ */ N(ye, { children: e });
32
- function ke(e) {
33
- return x.isValidElement(e) && e.type === ae;
31
+ X.displayName = "SlotClone";
32
+ var ue = ({ children: e }) => /* @__PURE__ */ j(je, { children: e });
33
+ function Se(e) {
34
+ return x.isValidElement(e) && e.type === ue;
34
35
  }
35
- function je(e, t) {
36
- const r = { ...t };
37
- for (const o in t) {
38
- const n = e[o], s = t[o];
39
- /^on[A-Z]/.test(o) ? n && s ? r[o] = (...i) => {
36
+ function Ae(e, r) {
37
+ const t = { ...r };
38
+ for (const o in r) {
39
+ const n = e[o], s = r[o];
40
+ /^on[A-Z]/.test(o) ? n && s ? t[o] = (...i) => {
40
41
  s(...i), n(...i);
41
- } : n && (r[o] = n) : o === "style" ? r[o] = { ...n, ...s } : o === "className" && (r[o] = [n, s].filter(Boolean).join(" "));
42
+ } : n && (t[o] = n) : o === "style" ? t[o] = { ...n, ...s } : o === "className" && (t[o] = [n, s].filter(Boolean).join(" "));
42
43
  }
43
- return { ...e, ...r };
44
+ return { ...e, ...t };
44
45
  }
45
- function Ce(e) {
46
+ function Re(e) {
46
47
  var o, n;
47
- let t = (o = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : o.get, r = t && "isReactWarning" in t && t.isReactWarning;
48
- return r ? e.ref : (t = (n = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : n.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
48
+ let r = (o = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : o.get, t = r && "isReactWarning" in r && r.isReactWarning;
49
+ return t ? e.ref : (r = (n = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : n.get, t = r && "isReactWarning" in r && r.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
49
50
  }
50
- function ce(e) {
51
- var t, r, o = "";
51
+ function pe(e) {
52
+ var r, t, o = "";
52
53
  if (typeof e == "string" || typeof e == "number") o += e;
53
- else if (typeof e == "object") if (Array.isArray(e)) for (t = 0; t < e.length; t++) e[t] && (r = ce(e[t])) && (o && (o += " "), o += r);
54
- else for (t in e) e[t] && (o && (o += " "), o += t);
54
+ else if (typeof e == "object") if (Array.isArray(e)) for (r = 0; r < e.length; r++) e[r] && (t = pe(e[r])) && (o && (o += " "), o += t);
55
+ else for (r in e) e[r] && (o && (o += " "), o += r);
55
56
  return o;
56
57
  }
57
- function ze() {
58
- for (var e, t, r = 0, o = ""; r < arguments.length; ) (e = arguments[r++]) && (t = ce(e)) && (o && (o += " "), o += t);
58
+ function Pe() {
59
+ for (var e, r, t = 0, o = ""; t < arguments.length; ) (e = arguments[t++]) && (r = pe(e)) && (o && (o += " "), o += r);
59
60
  return o;
60
61
  }
61
- const re = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, oe = ze, de = (e, t) => (r) => {
62
+ const se = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, ne = Pe, Y = (e, r) => (t) => {
62
63
  var o;
63
- if ((t == null ? void 0 : t.variants) == null) return oe(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
64
- const { variants: n, defaultVariants: s } = t, l = Object.keys(n).map((c) => {
65
- const p = r == null ? void 0 : r[c], m = s == null ? void 0 : s[c];
64
+ if ((r == null ? void 0 : r.variants) == null) return ne(e, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
65
+ const { variants: n, defaultVariants: s } = r, a = Object.keys(n).map((c) => {
66
+ const p = t == null ? void 0 : t[c], g = s == null ? void 0 : s[c];
66
67
  if (p === null) return null;
67
- const h = re(p) || re(m);
68
+ const h = se(p) || se(g);
68
69
  return n[c][h];
69
- }), i = r && Object.entries(r).reduce((c, p) => {
70
- let [m, h] = p;
71
- return h === void 0 || (c[m] = h), c;
72
- }, {}), d = t == null || (o = t.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((c, p) => {
73
- let { class: m, className: h, ...k } = p;
74
- return Object.entries(k).every((v) => {
75
- let [g, u] = v;
70
+ }), i = t && Object.entries(t).reduce((c, p) => {
71
+ let [g, h] = p;
72
+ return h === void 0 || (c[g] = h), c;
73
+ }, {}), d = r == null || (o = r.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((c, p) => {
74
+ let { class: g, className: h, ...w } = p;
75
+ return Object.entries(w).every((v) => {
76
+ let [m, u] = v;
76
77
  return Array.isArray(u) ? u.includes({
77
78
  ...s,
78
79
  ...i
79
- }[g]) : {
80
+ }[m]) : {
80
81
  ...s,
81
82
  ...i
82
- }[g] === u;
83
+ }[m] === u;
83
84
  }) ? [
84
85
  ...c,
85
- m,
86
+ g,
86
87
  h
87
88
  ] : c;
88
89
  }, []);
89
- return oe(e, l, d, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
90
+ return ne(e, a, d, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
90
91
  };
91
- function ue(e) {
92
- var t, r, o = "";
92
+ function fe(e) {
93
+ var r, t, o = "";
93
94
  if (typeof e == "string" || typeof e == "number") o += e;
94
95
  else if (typeof e == "object") if (Array.isArray(e)) {
95
96
  var n = e.length;
96
- for (t = 0; t < n; t++) e[t] && (r = ue(e[t])) && (o && (o += " "), o += r);
97
- } else for (r in e) e[r] && (o && (o += " "), o += r);
97
+ for (r = 0; r < n; r++) e[r] && (t = fe(e[r])) && (o && (o += " "), o += t);
98
+ } else for (t in e) e[t] && (o && (o += " "), o += t);
98
99
  return o;
99
100
  }
100
- function Se() {
101
- for (var e, t, r = 0, o = "", n = arguments.length; r < n; r++) (e = arguments[r]) && (t = ue(e)) && (o && (o += " "), o += t);
101
+ function Me() {
102
+ for (var e, r, t = 0, o = "", n = arguments.length; t < n; t++) (e = arguments[t]) && (r = fe(e)) && (o && (o += " "), o += r);
102
103
  return o;
103
104
  }
104
- const X = "-", Ae = (e) => {
105
- const t = Ne(e), {
106
- conflictingClassGroups: r,
105
+ const D = "-", Ee = (e) => {
106
+ const r = $e(e), {
107
+ conflictingClassGroups: t,
107
108
  conflictingClassGroupModifiers: o
108
109
  } = e;
109
110
  return {
110
- getClassGroupId: (l) => {
111
- const i = l.split(X);
112
- return i[0] === "" && i.length !== 1 && i.shift(), pe(i, t) || Re(l);
111
+ getClassGroupId: (a) => {
112
+ const i = a.split(D);
113
+ return i[0] === "" && i.length !== 1 && i.shift(), be(i, r) || Ve(a);
113
114
  },
114
- getConflictingClassGroupIds: (l, i) => {
115
- const d = r[l] || [];
116
- return i && o[l] ? [...d, ...o[l]] : d;
115
+ getConflictingClassGroupIds: (a, i) => {
116
+ const d = t[a] || [];
117
+ return i && o[a] ? [...d, ...o[a]] : d;
117
118
  }
118
119
  };
119
- }, pe = (e, t) => {
120
- var l;
120
+ }, be = (e, r) => {
121
+ var a;
121
122
  if (e.length === 0)
122
- return t.classGroupId;
123
- const r = e[0], o = t.nextPart.get(r), n = o ? pe(e.slice(1), o) : void 0;
123
+ return r.classGroupId;
124
+ const t = e[0], o = r.nextPart.get(t), n = o ? be(e.slice(1), o) : void 0;
124
125
  if (n)
125
126
  return n;
126
- if (t.validators.length === 0)
127
+ if (r.validators.length === 0)
127
128
  return;
128
- const s = e.join(X);
129
- return (l = t.validators.find(({
129
+ const s = e.join(D);
130
+ return (a = r.validators.find(({
130
131
  validator: i
131
- }) => i(s))) == null ? void 0 : l.classGroupId;
132
- }, se = /^\[(.+)\]$/, Re = (e) => {
133
- if (se.test(e)) {
134
- const t = se.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
135
- if (r)
136
- return "arbitrary.." + r;
132
+ }) => i(s))) == null ? void 0 : a.classGroupId;
133
+ }, ie = /^\[(.+)\]$/, Ve = (e) => {
134
+ if (ie.test(e)) {
135
+ const r = ie.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
136
+ if (t)
137
+ return "arbitrary.." + t;
137
138
  }
138
- }, Ne = (e) => {
139
+ }, $e = (e) => {
139
140
  const {
140
- theme: t,
141
- prefix: r
141
+ theme: r,
142
+ prefix: t
142
143
  } = e, o = {
143
144
  nextPart: /* @__PURE__ */ new Map(),
144
145
  validators: []
145
146
  };
146
- return Me(Object.entries(e.classGroups), r).forEach(([s, l]) => {
147
- Z(l, o, s, t);
147
+ return Ie(Object.entries(e.classGroups), t).forEach(([s, a]) => {
148
+ Q(a, o, s, r);
148
149
  }), o;
149
- }, Z = (e, t, r, o) => {
150
+ }, Q = (e, r, t, o) => {
150
151
  e.forEach((n) => {
151
152
  if (typeof n == "string") {
152
- const s = n === "" ? t : ne(t, n);
153
- s.classGroupId = r;
153
+ const s = n === "" ? r : ae(r, n);
154
+ s.classGroupId = t;
154
155
  return;
155
156
  }
156
157
  if (typeof n == "function") {
157
- if (Pe(n)) {
158
- Z(n(o), t, r, o);
158
+ if (Ge(n)) {
159
+ Q(n(o), r, t, o);
159
160
  return;
160
161
  }
161
- t.validators.push({
162
+ r.validators.push({
162
163
  validator: n,
163
- classGroupId: r
164
+ classGroupId: t
164
165
  });
165
166
  return;
166
167
  }
167
- Object.entries(n).forEach(([s, l]) => {
168
- Z(l, ne(t, s), r, o);
168
+ Object.entries(n).forEach(([s, a]) => {
169
+ Q(a, ae(r, s), t, o);
169
170
  });
170
171
  });
171
- }, ne = (e, t) => {
172
- let r = e;
173
- return t.split(X).forEach((o) => {
174
- r.nextPart.has(o) || r.nextPart.set(o, {
172
+ }, ae = (e, r) => {
173
+ let t = e;
174
+ return r.split(D).forEach((o) => {
175
+ t.nextPart.has(o) || t.nextPart.set(o, {
175
176
  nextPart: /* @__PURE__ */ new Map(),
176
177
  validators: []
177
- }), r = r.nextPart.get(o);
178
- }), r;
179
- }, Pe = (e) => e.isThemeGetter, Me = (e, t) => t ? e.map(([r, o]) => {
180
- const n = o.map((s) => typeof s == "string" ? t + s : typeof s == "object" ? Object.fromEntries(Object.entries(s).map(([l, i]) => [t + l, i])) : s);
181
- return [r, n];
182
- }) : e, Ge = (e) => {
178
+ }), t = t.nextPart.get(o);
179
+ }), t;
180
+ }, Ge = (e) => e.isThemeGetter, Ie = (e, r) => r ? e.map(([t, o]) => {
181
+ const n = o.map((s) => typeof s == "string" ? r + s : typeof s == "object" ? Object.fromEntries(Object.entries(s).map(([a, i]) => [r + a, i])) : s);
182
+ return [t, n];
183
+ }) : e, Te = (e) => {
183
184
  if (e < 1)
184
185
  return {
185
186
  get: () => {
@@ -187,179 +188,179 @@ const X = "-", Ae = (e) => {
187
188
  set: () => {
188
189
  }
189
190
  };
190
- let t = 0, r = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
191
- const n = (s, l) => {
192
- r.set(s, l), t++, t > e && (t = 0, o = r, r = /* @__PURE__ */ new Map());
191
+ let r = 0, t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
192
+ const n = (s, a) => {
193
+ t.set(s, a), r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ new Map());
193
194
  };
194
195
  return {
195
196
  get(s) {
196
- let l = r.get(s);
197
- if (l !== void 0)
198
- return l;
199
- if ((l = o.get(s)) !== void 0)
200
- return n(s, l), l;
197
+ let a = t.get(s);
198
+ if (a !== void 0)
199
+ return a;
200
+ if ((a = o.get(s)) !== void 0)
201
+ return n(s, a), a;
201
202
  },
202
- set(s, l) {
203
- r.has(s) ? r.set(s, l) : n(s, l);
203
+ set(s, a) {
204
+ t.has(s) ? t.set(s, a) : n(s, a);
204
205
  }
205
206
  };
206
- }, fe = "!", $e = (e) => {
207
+ }, me = "!", Oe = (e) => {
207
208
  const {
208
- separator: t,
209
- experimentalParseClassName: r
210
- } = e, o = t.length === 1, n = t[0], s = t.length, l = (i) => {
209
+ separator: r,
210
+ experimentalParseClassName: t
211
+ } = e, o = r.length === 1, n = r[0], s = r.length, a = (i) => {
211
212
  const d = [];
212
- let c = 0, p = 0, m;
213
+ let c = 0, p = 0, g;
213
214
  for (let u = 0; u < i.length; u++) {
214
215
  let y = i[u];
215
216
  if (c === 0) {
216
- if (y === n && (o || i.slice(u, u + s) === t)) {
217
+ if (y === n && (o || i.slice(u, u + s) === r)) {
217
218
  d.push(i.slice(p, u)), p = u + s;
218
219
  continue;
219
220
  }
220
221
  if (y === "/") {
221
- m = u;
222
+ g = u;
222
223
  continue;
223
224
  }
224
225
  }
225
226
  y === "[" ? c++ : y === "]" && c--;
226
227
  }
227
- const h = d.length === 0 ? i : i.substring(p), k = h.startsWith(fe), v = k ? h.substring(1) : h, g = m && m > p ? m - p : void 0;
228
+ const h = d.length === 0 ? i : i.substring(p), w = h.startsWith(me), v = w ? h.substring(1) : h, m = g && g > p ? g - p : void 0;
228
229
  return {
229
230
  modifiers: d,
230
- hasImportantModifier: k,
231
+ hasImportantModifier: w,
231
232
  baseClassName: v,
232
- maybePostfixModifierPosition: g
233
+ maybePostfixModifierPosition: m
233
234
  };
234
235
  };
235
- return r ? (i) => r({
236
+ return t ? (i) => t({
236
237
  className: i,
237
- parseClassName: l
238
- }) : l;
239
- }, Ve = (e) => {
238
+ parseClassName: a
239
+ }) : a;
240
+ }, We = (e) => {
240
241
  if (e.length <= 1)
241
242
  return e;
242
- const t = [];
243
- let r = [];
243
+ const r = [];
244
+ let t = [];
244
245
  return e.forEach((o) => {
245
- o[0] === "[" ? (t.push(...r.sort(), o), r = []) : r.push(o);
246
- }), t.push(...r.sort()), t;
247
- }, Ee = (e) => ({
248
- cache: Ge(e.cacheSize),
249
- parseClassName: $e(e),
250
- ...Ae(e)
251
- }), Ie = /\s+/, We = (e, t) => {
246
+ o[0] === "[" ? (r.push(...t.sort(), o), t = []) : t.push(o);
247
+ }), r.push(...t.sort()), r;
248
+ }, Le = (e) => ({
249
+ cache: Te(e.cacheSize),
250
+ parseClassName: Oe(e),
251
+ ...Ee(e)
252
+ }), Be = /\s+/, Fe = (e, r) => {
252
253
  const {
253
- parseClassName: r,
254
+ parseClassName: t,
254
255
  getClassGroupId: o,
255
256
  getConflictingClassGroupIds: n
256
- } = t, s = [], l = e.trim().split(Ie);
257
+ } = r, s = [], a = e.trim().split(Be);
257
258
  let i = "";
258
- for (let d = l.length - 1; d >= 0; d -= 1) {
259
- const c = l[d], {
259
+ for (let d = a.length - 1; d >= 0; d -= 1) {
260
+ const c = a[d], {
260
261
  modifiers: p,
261
- hasImportantModifier: m,
262
+ hasImportantModifier: g,
262
263
  baseClassName: h,
263
- maybePostfixModifierPosition: k
264
- } = r(c);
265
- let v = !!k, g = o(v ? h.substring(0, k) : h);
266
- if (!g) {
264
+ maybePostfixModifierPosition: w
265
+ } = t(c);
266
+ let v = !!w, m = o(v ? h.substring(0, w) : h);
267
+ if (!m) {
267
268
  if (!v) {
268
269
  i = c + (i.length > 0 ? " " + i : i);
269
270
  continue;
270
271
  }
271
- if (g = o(h), !g) {
272
+ if (m = o(h), !m) {
272
273
  i = c + (i.length > 0 ? " " + i : i);
273
274
  continue;
274
275
  }
275
276
  v = !1;
276
277
  }
277
- const u = Ve(p).join(":"), y = m ? u + fe : u, w = y + g;
278
- if (s.includes(w))
278
+ const u = We(p).join(":"), y = g ? u + me : u, k = y + m;
279
+ if (s.includes(k))
279
280
  continue;
280
- s.push(w);
281
- const R = n(g, v);
282
- for (let j = 0; j < R.length; ++j) {
283
- const P = R[j];
281
+ s.push(k);
282
+ const z = n(m, v);
283
+ for (let C = 0; C < z.length; ++C) {
284
+ const P = z[C];
284
285
  s.push(y + P);
285
286
  }
286
287
  i = c + (i.length > 0 ? " " + i : i);
287
288
  }
288
289
  return i;
289
290
  };
290
- function Te() {
291
- let e = 0, t, r, o = "";
291
+ function _e() {
292
+ let e = 0, r, t, o = "";
292
293
  for (; e < arguments.length; )
293
- (t = arguments[e++]) && (r = be(t)) && (o && (o += " "), o += r);
294
+ (r = arguments[e++]) && (t = ge(r)) && (o && (o += " "), o += t);
294
295
  return o;
295
296
  }
296
- const be = (e) => {
297
+ const ge = (e) => {
297
298
  if (typeof e == "string")
298
299
  return e;
299
- let t, r = "";
300
+ let r, t = "";
300
301
  for (let o = 0; o < e.length; o++)
301
- e[o] && (t = be(e[o])) && (r && (r += " "), r += t);
302
- return r;
302
+ e[o] && (r = ge(e[o])) && (t && (t += " "), t += r);
303
+ return t;
303
304
  };
304
- function ie(e, ...t) {
305
- let r, o, n, s = l;
306
- function l(d) {
307
- const c = t.reduce((p, m) => m(p), e());
308
- return r = Ee(c), o = r.cache.get, n = r.cache.set, s = i, i(d);
305
+ function le(e, ...r) {
306
+ let t, o, n, s = a;
307
+ function a(d) {
308
+ const c = r.reduce((p, g) => g(p), e());
309
+ return t = Le(c), o = t.cache.get, n = t.cache.set, s = i, i(d);
309
310
  }
310
311
  function i(d) {
311
312
  const c = o(d);
312
313
  if (c)
313
314
  return c;
314
- const p = We(d, r);
315
+ const p = Fe(d, t);
315
316
  return n(d, p), p;
316
317
  }
317
318
  return function() {
318
- return s(Te.apply(null, arguments));
319
+ return s(_e.apply(null, arguments));
319
320
  };
320
321
  }
321
- const f = (e) => {
322
- const t = (r) => r[e] || [];
323
- return t.isThemeGetter = !0, t;
324
- }, ge = /^\[(?:([a-z-]+):)?(.+)\]$/i, Le = /^\d+\/\d+$/, Oe = /* @__PURE__ */ new Set(["px", "full", "screen"]), Be = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Fe = /\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$/, _e = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Ue = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, qe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, z = (e) => M(e) || Oe.has(e) || Le.test(e), S = (e) => G(e, "length", De), M = (e) => !!e && !Number.isNaN(Number(e)), H = (e) => G(e, "number", M), I = (e) => !!e && Number.isInteger(Number(e)), He = (e) => e.endsWith("%") && M(e.slice(0, -1)), a = (e) => ge.test(e), A = (e) => Be.test(e), Ke = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Ze = (e) => G(e, Ke, me), Je = (e) => G(e, "position", me), Xe = /* @__PURE__ */ new Set(["image", "url"]), Qe = (e) => G(e, Xe, tt), Ye = (e) => G(e, "", et), W = () => !0, G = (e, t, r) => {
325
- const o = ge.exec(e);
326
- return o ? o[1] ? typeof t == "string" ? o[1] === t : t.has(o[1]) : r(o[2]) : !1;
327
- }, De = (e) => (
322
+ const b = (e) => {
323
+ const r = (t) => t[e] || [];
324
+ return r.isThemeGetter = !0, r;
325
+ }, he = /^\[(?:([a-z-]+):)?(.+)\]$/i, Ue = /^\d+\/\d+$/, qe = /* @__PURE__ */ new Set(["px", "full", "screen"]), He = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ke = /\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$/, Ze = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Je = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Xe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, S = (e) => M(e) || qe.has(e) || Ue.test(e), A = (e) => E(e, "length", sr), M = (e) => !!e && !Number.isNaN(Number(e)), J = (e) => E(e, "number", M), O = (e) => !!e && Number.isInteger(Number(e)), Qe = (e) => e.endsWith("%") && M(e.slice(0, -1)), l = (e) => he.test(e), R = (e) => He.test(e), Ye = /* @__PURE__ */ new Set(["length", "size", "percentage"]), De = (e) => E(e, Ye, ye), er = (e) => E(e, "position", ye), rr = /* @__PURE__ */ new Set(["image", "url"]), tr = (e) => E(e, rr, ir), or = (e) => E(e, "", nr), W = () => !0, E = (e, r, t) => {
326
+ const o = he.exec(e);
327
+ return o ? o[1] ? typeof r == "string" ? o[1] === r : r.has(o[1]) : t(o[2]) : !1;
328
+ }, sr = (e) => (
328
329
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
329
330
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
330
331
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
331
- Fe.test(e) && !_e.test(e)
332
- ), me = () => !1, et = (e) => Ue.test(e), tt = (e) => qe.test(e), le = () => {
333
- const e = f("colors"), t = f("spacing"), r = f("blur"), o = f("brightness"), n = f("borderColor"), s = f("borderRadius"), l = f("borderSpacing"), i = f("borderWidth"), d = f("contrast"), c = f("grayscale"), p = f("hueRotate"), m = f("invert"), h = f("gap"), k = f("gradientColorStops"), v = f("gradientColorStopPositions"), g = f("inset"), u = f("margin"), y = f("opacity"), w = f("padding"), R = f("saturate"), j = f("scale"), P = f("sepia"), L = f("skew"), O = f("space"), B = f("translate"), $ = () => ["auto", "contain", "none"], V = () => ["auto", "hidden", "clip", "visible", "scroll"], F = () => ["auto", a, t], b = () => [a, t], Y = () => ["", z, S], _ = () => ["auto", M, a], D = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], U = () => ["solid", "dashed", "dotted", "double", "none"], ee = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], q = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], E = () => ["", "0", a], te = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], C = () => [M, a];
332
+ Ke.test(e) && !Ze.test(e)
333
+ ), ye = () => !1, nr = (e) => Je.test(e), ir = (e) => Xe.test(e), ce = () => {
334
+ const e = b("colors"), r = b("spacing"), t = b("blur"), o = b("brightness"), n = b("borderColor"), s = b("borderRadius"), a = b("borderSpacing"), i = b("borderWidth"), d = b("contrast"), c = b("grayscale"), p = b("hueRotate"), g = b("invert"), h = b("gap"), w = b("gradientColorStops"), v = b("gradientColorStopPositions"), m = b("inset"), u = b("margin"), y = b("opacity"), k = b("padding"), z = b("saturate"), C = b("scale"), P = b("sepia"), F = b("skew"), _ = b("space"), U = b("translate"), V = () => ["auto", "contain", "none"], $ = () => ["auto", "hidden", "clip", "visible", "scroll"], G = () => ["auto", l, r], f = () => [l, r], q = () => ["", S, A], I = () => ["auto", M, l], re = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], H = () => ["solid", "dashed", "dotted", "double", "none"], te = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Z = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], T = () => ["", "0", l], oe = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], N = () => [M, l];
334
335
  return {
335
336
  cacheSize: 500,
336
337
  separator: ":",
337
338
  theme: {
338
339
  colors: [W],
339
- spacing: [z, S],
340
- blur: ["none", "", A, a],
341
- brightness: C(),
340
+ spacing: [S, A],
341
+ blur: ["none", "", R, l],
342
+ brightness: N(),
342
343
  borderColor: [e],
343
- borderRadius: ["none", "", "full", A, a],
344
- borderSpacing: b(),
345
- borderWidth: Y(),
346
- contrast: C(),
347
- grayscale: E(),
348
- hueRotate: C(),
349
- invert: E(),
350
- gap: b(),
344
+ borderRadius: ["none", "", "full", R, l],
345
+ borderSpacing: f(),
346
+ borderWidth: q(),
347
+ contrast: N(),
348
+ grayscale: T(),
349
+ hueRotate: N(),
350
+ invert: T(),
351
+ gap: f(),
351
352
  gradientColorStops: [e],
352
- gradientColorStopPositions: [He, S],
353
- inset: F(),
354
- margin: F(),
355
- opacity: C(),
356
- padding: b(),
357
- saturate: C(),
358
- scale: C(),
359
- sepia: E(),
360
- skew: C(),
361
- space: b(),
362
- translate: b()
353
+ gradientColorStopPositions: [Qe, A],
354
+ inset: G(),
355
+ margin: G(),
356
+ opacity: N(),
357
+ padding: f(),
358
+ saturate: N(),
359
+ scale: N(),
360
+ sepia: T(),
361
+ skew: N(),
362
+ space: f(),
363
+ translate: f()
363
364
  },
364
365
  classGroups: {
365
366
  // Layout
@@ -368,7 +369,7 @@ const f = (e) => {
368
369
  * @see https://tailwindcss.com/docs/aspect-ratio
369
370
  */
370
371
  aspect: [{
371
- aspect: ["auto", "square", "video", a]
372
+ aspect: ["auto", "square", "video", l]
372
373
  }],
373
374
  /**
374
375
  * Container
@@ -380,21 +381,21 @@ const f = (e) => {
380
381
  * @see https://tailwindcss.com/docs/columns
381
382
  */
382
383
  columns: [{
383
- columns: [A]
384
+ columns: [R]
384
385
  }],
385
386
  /**
386
387
  * Break After
387
388
  * @see https://tailwindcss.com/docs/break-after
388
389
  */
389
390
  "break-after": [{
390
- "break-after": te()
391
+ "break-after": oe()
391
392
  }],
392
393
  /**
393
394
  * Break Before
394
395
  * @see https://tailwindcss.com/docs/break-before
395
396
  */
396
397
  "break-before": [{
397
- "break-before": te()
398
+ "break-before": oe()
398
399
  }],
399
400
  /**
400
401
  * Break Inside
@@ -453,49 +454,49 @@ const f = (e) => {
453
454
  * @see https://tailwindcss.com/docs/object-position
454
455
  */
455
456
  "object-position": [{
456
- object: [...D(), a]
457
+ object: [...re(), l]
457
458
  }],
458
459
  /**
459
460
  * Overflow
460
461
  * @see https://tailwindcss.com/docs/overflow
461
462
  */
462
463
  overflow: [{
463
- overflow: V()
464
+ overflow: $()
464
465
  }],
465
466
  /**
466
467
  * Overflow X
467
468
  * @see https://tailwindcss.com/docs/overflow
468
469
  */
469
470
  "overflow-x": [{
470
- "overflow-x": V()
471
+ "overflow-x": $()
471
472
  }],
472
473
  /**
473
474
  * Overflow Y
474
475
  * @see https://tailwindcss.com/docs/overflow
475
476
  */
476
477
  "overflow-y": [{
477
- "overflow-y": V()
478
+ "overflow-y": $()
478
479
  }],
479
480
  /**
480
481
  * Overscroll Behavior
481
482
  * @see https://tailwindcss.com/docs/overscroll-behavior
482
483
  */
483
484
  overscroll: [{
484
- overscroll: $()
485
+ overscroll: V()
485
486
  }],
486
487
  /**
487
488
  * Overscroll Behavior X
488
489
  * @see https://tailwindcss.com/docs/overscroll-behavior
489
490
  */
490
491
  "overscroll-x": [{
491
- "overscroll-x": $()
492
+ "overscroll-x": V()
492
493
  }],
493
494
  /**
494
495
  * Overscroll Behavior Y
495
496
  * @see https://tailwindcss.com/docs/overscroll-behavior
496
497
  */
497
498
  "overscroll-y": [{
498
- "overscroll-y": $()
499
+ "overscroll-y": V()
499
500
  }],
500
501
  /**
501
502
  * Position
@@ -507,63 +508,63 @@ const f = (e) => {
507
508
  * @see https://tailwindcss.com/docs/top-right-bottom-left
508
509
  */
509
510
  inset: [{
510
- inset: [g]
511
+ inset: [m]
511
512
  }],
512
513
  /**
513
514
  * Right / Left
514
515
  * @see https://tailwindcss.com/docs/top-right-bottom-left
515
516
  */
516
517
  "inset-x": [{
517
- "inset-x": [g]
518
+ "inset-x": [m]
518
519
  }],
519
520
  /**
520
521
  * Top / Bottom
521
522
  * @see https://tailwindcss.com/docs/top-right-bottom-left
522
523
  */
523
524
  "inset-y": [{
524
- "inset-y": [g]
525
+ "inset-y": [m]
525
526
  }],
526
527
  /**
527
528
  * Start
528
529
  * @see https://tailwindcss.com/docs/top-right-bottom-left
529
530
  */
530
531
  start: [{
531
- start: [g]
532
+ start: [m]
532
533
  }],
533
534
  /**
534
535
  * End
535
536
  * @see https://tailwindcss.com/docs/top-right-bottom-left
536
537
  */
537
538
  end: [{
538
- end: [g]
539
+ end: [m]
539
540
  }],
540
541
  /**
541
542
  * Top
542
543
  * @see https://tailwindcss.com/docs/top-right-bottom-left
543
544
  */
544
545
  top: [{
545
- top: [g]
546
+ top: [m]
546
547
  }],
547
548
  /**
548
549
  * Right
549
550
  * @see https://tailwindcss.com/docs/top-right-bottom-left
550
551
  */
551
552
  right: [{
552
- right: [g]
553
+ right: [m]
553
554
  }],
554
555
  /**
555
556
  * Bottom
556
557
  * @see https://tailwindcss.com/docs/top-right-bottom-left
557
558
  */
558
559
  bottom: [{
559
- bottom: [g]
560
+ bottom: [m]
560
561
  }],
561
562
  /**
562
563
  * Left
563
564
  * @see https://tailwindcss.com/docs/top-right-bottom-left
564
565
  */
565
566
  left: [{
566
- left: [g]
567
+ left: [m]
567
568
  }],
568
569
  /**
569
570
  * Visibility
@@ -575,7 +576,7 @@ const f = (e) => {
575
576
  * @see https://tailwindcss.com/docs/z-index
576
577
  */
577
578
  z: [{
578
- z: ["auto", I, a]
579
+ z: ["auto", O, l]
579
580
  }],
580
581
  // Flexbox and Grid
581
582
  /**
@@ -583,7 +584,7 @@ const f = (e) => {
583
584
  * @see https://tailwindcss.com/docs/flex-basis
584
585
  */
585
586
  basis: [{
586
- basis: F()
587
+ basis: G()
587
588
  }],
588
589
  /**
589
590
  * Flex Direction
@@ -604,28 +605,28 @@ const f = (e) => {
604
605
  * @see https://tailwindcss.com/docs/flex
605
606
  */
606
607
  flex: [{
607
- flex: ["1", "auto", "initial", "none", a]
608
+ flex: ["1", "auto", "initial", "none", l]
608
609
  }],
609
610
  /**
610
611
  * Flex Grow
611
612
  * @see https://tailwindcss.com/docs/flex-grow
612
613
  */
613
614
  grow: [{
614
- grow: E()
615
+ grow: T()
615
616
  }],
616
617
  /**
617
618
  * Flex Shrink
618
619
  * @see https://tailwindcss.com/docs/flex-shrink
619
620
  */
620
621
  shrink: [{
621
- shrink: E()
622
+ shrink: T()
622
623
  }],
623
624
  /**
624
625
  * Order
625
626
  * @see https://tailwindcss.com/docs/order
626
627
  */
627
628
  order: [{
628
- order: ["first", "last", "none", I, a]
629
+ order: ["first", "last", "none", O, l]
629
630
  }],
630
631
  /**
631
632
  * Grid Template Columns
@@ -640,22 +641,22 @@ const f = (e) => {
640
641
  */
641
642
  "col-start-end": [{
642
643
  col: ["auto", {
643
- span: ["full", I, a]
644
- }, a]
644
+ span: ["full", O, l]
645
+ }, l]
645
646
  }],
646
647
  /**
647
648
  * Grid Column Start
648
649
  * @see https://tailwindcss.com/docs/grid-column
649
650
  */
650
651
  "col-start": [{
651
- "col-start": _()
652
+ "col-start": I()
652
653
  }],
653
654
  /**
654
655
  * Grid Column End
655
656
  * @see https://tailwindcss.com/docs/grid-column
656
657
  */
657
658
  "col-end": [{
658
- "col-end": _()
659
+ "col-end": I()
659
660
  }],
660
661
  /**
661
662
  * Grid Template Rows
@@ -670,22 +671,22 @@ const f = (e) => {
670
671
  */
671
672
  "row-start-end": [{
672
673
  row: ["auto", {
673
- span: [I, a]
674
- }, a]
674
+ span: [O, l]
675
+ }, l]
675
676
  }],
676
677
  /**
677
678
  * Grid Row Start
678
679
  * @see https://tailwindcss.com/docs/grid-row
679
680
  */
680
681
  "row-start": [{
681
- "row-start": _()
682
+ "row-start": I()
682
683
  }],
683
684
  /**
684
685
  * Grid Row End
685
686
  * @see https://tailwindcss.com/docs/grid-row
686
687
  */
687
688
  "row-end": [{
688
- "row-end": _()
689
+ "row-end": I()
689
690
  }],
690
691
  /**
691
692
  * Grid Auto Flow
@@ -699,14 +700,14 @@ const f = (e) => {
699
700
  * @see https://tailwindcss.com/docs/grid-auto-columns
700
701
  */
701
702
  "auto-cols": [{
702
- "auto-cols": ["auto", "min", "max", "fr", a]
703
+ "auto-cols": ["auto", "min", "max", "fr", l]
703
704
  }],
704
705
  /**
705
706
  * Grid Auto Rows
706
707
  * @see https://tailwindcss.com/docs/grid-auto-rows
707
708
  */
708
709
  "auto-rows": [{
709
- "auto-rows": ["auto", "min", "max", "fr", a]
710
+ "auto-rows": ["auto", "min", "max", "fr", l]
710
711
  }],
711
712
  /**
712
713
  * Gap
@@ -734,7 +735,7 @@ const f = (e) => {
734
735
  * @see https://tailwindcss.com/docs/justify-content
735
736
  */
736
737
  "justify-content": [{
737
- justify: ["normal", ...q()]
738
+ justify: ["normal", ...Z()]
738
739
  }],
739
740
  /**
740
741
  * Justify Items
@@ -755,7 +756,7 @@ const f = (e) => {
755
756
  * @see https://tailwindcss.com/docs/align-content
756
757
  */
757
758
  "align-content": [{
758
- content: ["normal", ...q(), "baseline"]
759
+ content: ["normal", ...Z(), "baseline"]
759
760
  }],
760
761
  /**
761
762
  * Align Items
@@ -776,7 +777,7 @@ const f = (e) => {
776
777
  * @see https://tailwindcss.com/docs/place-content
777
778
  */
778
779
  "place-content": [{
779
- "place-content": [...q(), "baseline"]
780
+ "place-content": [...Z(), "baseline"]
780
781
  }],
781
782
  /**
782
783
  * Place Items
@@ -798,63 +799,63 @@ const f = (e) => {
798
799
  * @see https://tailwindcss.com/docs/padding
799
800
  */
800
801
  p: [{
801
- p: [w]
802
+ p: [k]
802
803
  }],
803
804
  /**
804
805
  * Padding X
805
806
  * @see https://tailwindcss.com/docs/padding
806
807
  */
807
808
  px: [{
808
- px: [w]
809
+ px: [k]
809
810
  }],
810
811
  /**
811
812
  * Padding Y
812
813
  * @see https://tailwindcss.com/docs/padding
813
814
  */
814
815
  py: [{
815
- py: [w]
816
+ py: [k]
816
817
  }],
817
818
  /**
818
819
  * Padding Start
819
820
  * @see https://tailwindcss.com/docs/padding
820
821
  */
821
822
  ps: [{
822
- ps: [w]
823
+ ps: [k]
823
824
  }],
824
825
  /**
825
826
  * Padding End
826
827
  * @see https://tailwindcss.com/docs/padding
827
828
  */
828
829
  pe: [{
829
- pe: [w]
830
+ pe: [k]
830
831
  }],
831
832
  /**
832
833
  * Padding Top
833
834
  * @see https://tailwindcss.com/docs/padding
834
835
  */
835
836
  pt: [{
836
- pt: [w]
837
+ pt: [k]
837
838
  }],
838
839
  /**
839
840
  * Padding Right
840
841
  * @see https://tailwindcss.com/docs/padding
841
842
  */
842
843
  pr: [{
843
- pr: [w]
844
+ pr: [k]
844
845
  }],
845
846
  /**
846
847
  * Padding Bottom
847
848
  * @see https://tailwindcss.com/docs/padding
848
849
  */
849
850
  pb: [{
850
- pb: [w]
851
+ pb: [k]
851
852
  }],
852
853
  /**
853
854
  * Padding Left
854
855
  * @see https://tailwindcss.com/docs/padding
855
856
  */
856
857
  pl: [{
857
- pl: [w]
858
+ pl: [k]
858
859
  }],
859
860
  /**
860
861
  * Margin
@@ -924,7 +925,7 @@ const f = (e) => {
924
925
  * @see https://tailwindcss.com/docs/space
925
926
  */
926
927
  "space-x": [{
927
- "space-x": [O]
928
+ "space-x": [_]
928
929
  }],
929
930
  /**
930
931
  * Space Between X Reverse
@@ -936,7 +937,7 @@ const f = (e) => {
936
937
  * @see https://tailwindcss.com/docs/space
937
938
  */
938
939
  "space-y": [{
939
- "space-y": [O]
940
+ "space-y": [_]
940
941
  }],
941
942
  /**
942
943
  * Space Between Y Reverse
@@ -949,51 +950,51 @@ const f = (e) => {
949
950
  * @see https://tailwindcss.com/docs/width
950
951
  */
951
952
  w: [{
952
- w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", a, t]
953
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", l, r]
953
954
  }],
954
955
  /**
955
956
  * Min-Width
956
957
  * @see https://tailwindcss.com/docs/min-width
957
958
  */
958
959
  "min-w": [{
959
- "min-w": [a, t, "min", "max", "fit"]
960
+ "min-w": [l, r, "min", "max", "fit"]
960
961
  }],
961
962
  /**
962
963
  * Max-Width
963
964
  * @see https://tailwindcss.com/docs/max-width
964
965
  */
965
966
  "max-w": [{
966
- "max-w": [a, t, "none", "full", "min", "max", "fit", "prose", {
967
- screen: [A]
968
- }, A]
967
+ "max-w": [l, r, "none", "full", "min", "max", "fit", "prose", {
968
+ screen: [R]
969
+ }, R]
969
970
  }],
970
971
  /**
971
972
  * Height
972
973
  * @see https://tailwindcss.com/docs/height
973
974
  */
974
975
  h: [{
975
- h: [a, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
976
+ h: [l, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
976
977
  }],
977
978
  /**
978
979
  * Min-Height
979
980
  * @see https://tailwindcss.com/docs/min-height
980
981
  */
981
982
  "min-h": [{
982
- "min-h": [a, t, "min", "max", "fit", "svh", "lvh", "dvh"]
983
+ "min-h": [l, r, "min", "max", "fit", "svh", "lvh", "dvh"]
983
984
  }],
984
985
  /**
985
986
  * Max-Height
986
987
  * @see https://tailwindcss.com/docs/max-height
987
988
  */
988
989
  "max-h": [{
989
- "max-h": [a, t, "min", "max", "fit", "svh", "lvh", "dvh"]
990
+ "max-h": [l, r, "min", "max", "fit", "svh", "lvh", "dvh"]
990
991
  }],
991
992
  /**
992
993
  * Size
993
994
  * @see https://tailwindcss.com/docs/size
994
995
  */
995
996
  size: [{
996
- size: [a, t, "auto", "min", "max", "fit"]
997
+ size: [l, r, "auto", "min", "max", "fit"]
997
998
  }],
998
999
  // Typography
999
1000
  /**
@@ -1001,7 +1002,7 @@ const f = (e) => {
1001
1002
  * @see https://tailwindcss.com/docs/font-size
1002
1003
  */
1003
1004
  "font-size": [{
1004
- text: ["base", A, S]
1005
+ text: ["base", R, A]
1005
1006
  }],
1006
1007
  /**
1007
1008
  * Font Smoothing
@@ -1018,7 +1019,7 @@ const f = (e) => {
1018
1019
  * @see https://tailwindcss.com/docs/font-weight
1019
1020
  */
1020
1021
  "font-weight": [{
1021
- font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", H]
1022
+ font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", J]
1022
1023
  }],
1023
1024
  /**
1024
1025
  * Font Family
@@ -1062,35 +1063,35 @@ const f = (e) => {
1062
1063
  * @see https://tailwindcss.com/docs/letter-spacing
1063
1064
  */
1064
1065
  tracking: [{
1065
- tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", a]
1066
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", l]
1066
1067
  }],
1067
1068
  /**
1068
1069
  * Line Clamp
1069
1070
  * @see https://tailwindcss.com/docs/line-clamp
1070
1071
  */
1071
1072
  "line-clamp": [{
1072
- "line-clamp": ["none", M, H]
1073
+ "line-clamp": ["none", M, J]
1073
1074
  }],
1074
1075
  /**
1075
1076
  * Line Height
1076
1077
  * @see https://tailwindcss.com/docs/line-height
1077
1078
  */
1078
1079
  leading: [{
1079
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", z, a]
1080
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", S, l]
1080
1081
  }],
1081
1082
  /**
1082
1083
  * List Style Image
1083
1084
  * @see https://tailwindcss.com/docs/list-style-image
1084
1085
  */
1085
1086
  "list-image": [{
1086
- "list-image": ["none", a]
1087
+ "list-image": ["none", l]
1087
1088
  }],
1088
1089
  /**
1089
1090
  * List Style Type
1090
1091
  * @see https://tailwindcss.com/docs/list-style-type
1091
1092
  */
1092
1093
  "list-style-type": [{
1093
- list: ["none", "disc", "decimal", a]
1094
+ list: ["none", "disc", "decimal", l]
1094
1095
  }],
1095
1096
  /**
1096
1097
  * List Style Position
@@ -1145,21 +1146,21 @@ const f = (e) => {
1145
1146
  * @see https://tailwindcss.com/docs/text-decoration-style
1146
1147
  */
1147
1148
  "text-decoration-style": [{
1148
- decoration: [...U(), "wavy"]
1149
+ decoration: [...H(), "wavy"]
1149
1150
  }],
1150
1151
  /**
1151
1152
  * Text Decoration Thickness
1152
1153
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1153
1154
  */
1154
1155
  "text-decoration-thickness": [{
1155
- decoration: ["auto", "from-font", z, S]
1156
+ decoration: ["auto", "from-font", S, A]
1156
1157
  }],
1157
1158
  /**
1158
1159
  * Text Underline Offset
1159
1160
  * @see https://tailwindcss.com/docs/text-underline-offset
1160
1161
  */
1161
1162
  "underline-offset": [{
1162
- "underline-offset": ["auto", z, a]
1163
+ "underline-offset": ["auto", S, l]
1163
1164
  }],
1164
1165
  /**
1165
1166
  * Text Decoration Color
@@ -1190,14 +1191,14 @@ const f = (e) => {
1190
1191
  * @see https://tailwindcss.com/docs/text-indent
1191
1192
  */
1192
1193
  indent: [{
1193
- indent: b()
1194
+ indent: f()
1194
1195
  }],
1195
1196
  /**
1196
1197
  * Vertical Alignment
1197
1198
  * @see https://tailwindcss.com/docs/vertical-align
1198
1199
  */
1199
1200
  "vertical-align": [{
1200
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", a]
1201
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", l]
1201
1202
  }],
1202
1203
  /**
1203
1204
  * Whitespace
@@ -1225,7 +1226,7 @@ const f = (e) => {
1225
1226
  * @see https://tailwindcss.com/docs/content
1226
1227
  */
1227
1228
  content: [{
1228
- content: ["none", a]
1229
+ content: ["none", l]
1229
1230
  }],
1230
1231
  // Backgrounds
1231
1232
  /**
@@ -1262,7 +1263,7 @@ const f = (e) => {
1262
1263
  * @see https://tailwindcss.com/docs/background-position
1263
1264
  */
1264
1265
  "bg-position": [{
1265
- bg: [...D(), Je]
1266
+ bg: [...re(), er]
1266
1267
  }],
1267
1268
  /**
1268
1269
  * Background Repeat
@@ -1278,7 +1279,7 @@ const f = (e) => {
1278
1279
  * @see https://tailwindcss.com/docs/background-size
1279
1280
  */
1280
1281
  "bg-size": [{
1281
- bg: ["auto", "cover", "contain", Ze]
1282
+ bg: ["auto", "cover", "contain", De]
1282
1283
  }],
1283
1284
  /**
1284
1285
  * Background Image
@@ -1287,7 +1288,7 @@ const f = (e) => {
1287
1288
  "bg-image": [{
1288
1289
  bg: ["none", {
1289
1290
  "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1290
- }, Qe]
1291
+ }, tr]
1291
1292
  }],
1292
1293
  /**
1293
1294
  * Background Color
@@ -1322,21 +1323,21 @@ const f = (e) => {
1322
1323
  * @see https://tailwindcss.com/docs/gradient-color-stops
1323
1324
  */
1324
1325
  "gradient-from": [{
1325
- from: [k]
1326
+ from: [w]
1326
1327
  }],
1327
1328
  /**
1328
1329
  * Gradient Color Stops Via
1329
1330
  * @see https://tailwindcss.com/docs/gradient-color-stops
1330
1331
  */
1331
1332
  "gradient-via": [{
1332
- via: [k]
1333
+ via: [w]
1333
1334
  }],
1334
1335
  /**
1335
1336
  * Gradient Color Stops To
1336
1337
  * @see https://tailwindcss.com/docs/gradient-color-stops
1337
1338
  */
1338
1339
  "gradient-to": [{
1339
- to: [k]
1340
+ to: [w]
1340
1341
  }],
1341
1342
  // Borders
1342
1343
  /**
@@ -1519,7 +1520,7 @@ const f = (e) => {
1519
1520
  * @see https://tailwindcss.com/docs/border-style
1520
1521
  */
1521
1522
  "border-style": [{
1522
- border: [...U(), "hidden"]
1523
+ border: [...H(), "hidden"]
1523
1524
  }],
1524
1525
  /**
1525
1526
  * Divide Width X
@@ -1557,7 +1558,7 @@ const f = (e) => {
1557
1558
  * @see https://tailwindcss.com/docs/divide-style
1558
1559
  */
1559
1560
  "divide-style": [{
1560
- divide: U()
1561
+ divide: H()
1561
1562
  }],
1562
1563
  /**
1563
1564
  * Border Color
@@ -1634,21 +1635,21 @@ const f = (e) => {
1634
1635
  * @see https://tailwindcss.com/docs/outline-style
1635
1636
  */
1636
1637
  "outline-style": [{
1637
- outline: ["", ...U()]
1638
+ outline: ["", ...H()]
1638
1639
  }],
1639
1640
  /**
1640
1641
  * Outline Offset
1641
1642
  * @see https://tailwindcss.com/docs/outline-offset
1642
1643
  */
1643
1644
  "outline-offset": [{
1644
- "outline-offset": [z, a]
1645
+ "outline-offset": [S, l]
1645
1646
  }],
1646
1647
  /**
1647
1648
  * Outline Width
1648
1649
  * @see https://tailwindcss.com/docs/outline-width
1649
1650
  */
1650
1651
  "outline-w": [{
1651
- outline: [z, S]
1652
+ outline: [S, A]
1652
1653
  }],
1653
1654
  /**
1654
1655
  * Outline Color
@@ -1662,7 +1663,7 @@ const f = (e) => {
1662
1663
  * @see https://tailwindcss.com/docs/ring-width
1663
1664
  */
1664
1665
  "ring-w": [{
1665
- ring: Y()
1666
+ ring: q()
1666
1667
  }],
1667
1668
  /**
1668
1669
  * Ring Width Inset
@@ -1688,7 +1689,7 @@ const f = (e) => {
1688
1689
  * @see https://tailwindcss.com/docs/ring-offset-width
1689
1690
  */
1690
1691
  "ring-offset-w": [{
1691
- "ring-offset": [z, S]
1692
+ "ring-offset": [S, A]
1692
1693
  }],
1693
1694
  /**
1694
1695
  * Ring Offset Color
@@ -1703,7 +1704,7 @@ const f = (e) => {
1703
1704
  * @see https://tailwindcss.com/docs/box-shadow
1704
1705
  */
1705
1706
  shadow: [{
1706
- shadow: ["", "inner", "none", A, Ye]
1707
+ shadow: ["", "inner", "none", R, or]
1707
1708
  }],
1708
1709
  /**
1709
1710
  * Box Shadow Color
@@ -1724,14 +1725,14 @@ const f = (e) => {
1724
1725
  * @see https://tailwindcss.com/docs/mix-blend-mode
1725
1726
  */
1726
1727
  "mix-blend": [{
1727
- "mix-blend": [...ee(), "plus-lighter", "plus-darker"]
1728
+ "mix-blend": [...te(), "plus-lighter", "plus-darker"]
1728
1729
  }],
1729
1730
  /**
1730
1731
  * Background Blend Mode
1731
1732
  * @see https://tailwindcss.com/docs/background-blend-mode
1732
1733
  */
1733
1734
  "bg-blend": [{
1734
- "bg-blend": ee()
1735
+ "bg-blend": te()
1735
1736
  }],
1736
1737
  // Filters
1737
1738
  /**
@@ -1747,7 +1748,7 @@ const f = (e) => {
1747
1748
  * @see https://tailwindcss.com/docs/blur
1748
1749
  */
1749
1750
  blur: [{
1750
- blur: [r]
1751
+ blur: [t]
1751
1752
  }],
1752
1753
  /**
1753
1754
  * Brightness
@@ -1768,7 +1769,7 @@ const f = (e) => {
1768
1769
  * @see https://tailwindcss.com/docs/drop-shadow
1769
1770
  */
1770
1771
  "drop-shadow": [{
1771
- "drop-shadow": ["", "none", A, a]
1772
+ "drop-shadow": ["", "none", R, l]
1772
1773
  }],
1773
1774
  /**
1774
1775
  * Grayscale
@@ -1789,14 +1790,14 @@ const f = (e) => {
1789
1790
  * @see https://tailwindcss.com/docs/invert
1790
1791
  */
1791
1792
  invert: [{
1792
- invert: [m]
1793
+ invert: [g]
1793
1794
  }],
1794
1795
  /**
1795
1796
  * Saturate
1796
1797
  * @see https://tailwindcss.com/docs/saturate
1797
1798
  */
1798
1799
  saturate: [{
1799
- saturate: [R]
1800
+ saturate: [z]
1800
1801
  }],
1801
1802
  /**
1802
1803
  * Sepia
@@ -1818,7 +1819,7 @@ const f = (e) => {
1818
1819
  * @see https://tailwindcss.com/docs/backdrop-blur
1819
1820
  */
1820
1821
  "backdrop-blur": [{
1821
- "backdrop-blur": [r]
1822
+ "backdrop-blur": [t]
1822
1823
  }],
1823
1824
  /**
1824
1825
  * Backdrop Brightness
@@ -1853,7 +1854,7 @@ const f = (e) => {
1853
1854
  * @see https://tailwindcss.com/docs/backdrop-invert
1854
1855
  */
1855
1856
  "backdrop-invert": [{
1856
- "backdrop-invert": [m]
1857
+ "backdrop-invert": [g]
1857
1858
  }],
1858
1859
  /**
1859
1860
  * Backdrop Opacity
@@ -1867,7 +1868,7 @@ const f = (e) => {
1867
1868
  * @see https://tailwindcss.com/docs/backdrop-saturate
1868
1869
  */
1869
1870
  "backdrop-saturate": [{
1870
- "backdrop-saturate": [R]
1871
+ "backdrop-saturate": [z]
1871
1872
  }],
1872
1873
  /**
1873
1874
  * Backdrop Sepia
@@ -1889,21 +1890,21 @@ const f = (e) => {
1889
1890
  * @see https://tailwindcss.com/docs/border-spacing
1890
1891
  */
1891
1892
  "border-spacing": [{
1892
- "border-spacing": [l]
1893
+ "border-spacing": [a]
1893
1894
  }],
1894
1895
  /**
1895
1896
  * Border Spacing X
1896
1897
  * @see https://tailwindcss.com/docs/border-spacing
1897
1898
  */
1898
1899
  "border-spacing-x": [{
1899
- "border-spacing-x": [l]
1900
+ "border-spacing-x": [a]
1900
1901
  }],
1901
1902
  /**
1902
1903
  * Border Spacing Y
1903
1904
  * @see https://tailwindcss.com/docs/border-spacing
1904
1905
  */
1905
1906
  "border-spacing-y": [{
1906
- "border-spacing-y": [l]
1907
+ "border-spacing-y": [a]
1907
1908
  }],
1908
1909
  /**
1909
1910
  * Table Layout
@@ -1925,35 +1926,35 @@ const f = (e) => {
1925
1926
  * @see https://tailwindcss.com/docs/transition-property
1926
1927
  */
1927
1928
  transition: [{
1928
- transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", a]
1929
+ transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", l]
1929
1930
  }],
1930
1931
  /**
1931
1932
  * Transition Duration
1932
1933
  * @see https://tailwindcss.com/docs/transition-duration
1933
1934
  */
1934
1935
  duration: [{
1935
- duration: C()
1936
+ duration: N()
1936
1937
  }],
1937
1938
  /**
1938
1939
  * Transition Timing Function
1939
1940
  * @see https://tailwindcss.com/docs/transition-timing-function
1940
1941
  */
1941
1942
  ease: [{
1942
- ease: ["linear", "in", "out", "in-out", a]
1943
+ ease: ["linear", "in", "out", "in-out", l]
1943
1944
  }],
1944
1945
  /**
1945
1946
  * Transition Delay
1946
1947
  * @see https://tailwindcss.com/docs/transition-delay
1947
1948
  */
1948
1949
  delay: [{
1949
- delay: C()
1950
+ delay: N()
1950
1951
  }],
1951
1952
  /**
1952
1953
  * Animation
1953
1954
  * @see https://tailwindcss.com/docs/animation
1954
1955
  */
1955
1956
  animate: [{
1956
- animate: ["none", "spin", "ping", "pulse", "bounce", a]
1957
+ animate: ["none", "spin", "ping", "pulse", "bounce", l]
1957
1958
  }],
1958
1959
  // Transforms
1959
1960
  /**
@@ -1968,63 +1969,63 @@ const f = (e) => {
1968
1969
  * @see https://tailwindcss.com/docs/scale
1969
1970
  */
1970
1971
  scale: [{
1971
- scale: [j]
1972
+ scale: [C]
1972
1973
  }],
1973
1974
  /**
1974
1975
  * Scale X
1975
1976
  * @see https://tailwindcss.com/docs/scale
1976
1977
  */
1977
1978
  "scale-x": [{
1978
- "scale-x": [j]
1979
+ "scale-x": [C]
1979
1980
  }],
1980
1981
  /**
1981
1982
  * Scale Y
1982
1983
  * @see https://tailwindcss.com/docs/scale
1983
1984
  */
1984
1985
  "scale-y": [{
1985
- "scale-y": [j]
1986
+ "scale-y": [C]
1986
1987
  }],
1987
1988
  /**
1988
1989
  * Rotate
1989
1990
  * @see https://tailwindcss.com/docs/rotate
1990
1991
  */
1991
1992
  rotate: [{
1992
- rotate: [I, a]
1993
+ rotate: [O, l]
1993
1994
  }],
1994
1995
  /**
1995
1996
  * Translate X
1996
1997
  * @see https://tailwindcss.com/docs/translate
1997
1998
  */
1998
1999
  "translate-x": [{
1999
- "translate-x": [B]
2000
+ "translate-x": [U]
2000
2001
  }],
2001
2002
  /**
2002
2003
  * Translate Y
2003
2004
  * @see https://tailwindcss.com/docs/translate
2004
2005
  */
2005
2006
  "translate-y": [{
2006
- "translate-y": [B]
2007
+ "translate-y": [U]
2007
2008
  }],
2008
2009
  /**
2009
2010
  * Skew X
2010
2011
  * @see https://tailwindcss.com/docs/skew
2011
2012
  */
2012
2013
  "skew-x": [{
2013
- "skew-x": [L]
2014
+ "skew-x": [F]
2014
2015
  }],
2015
2016
  /**
2016
2017
  * Skew Y
2017
2018
  * @see https://tailwindcss.com/docs/skew
2018
2019
  */
2019
2020
  "skew-y": [{
2020
- "skew-y": [L]
2021
+ "skew-y": [F]
2021
2022
  }],
2022
2023
  /**
2023
2024
  * Transform Origin
2024
2025
  * @see https://tailwindcss.com/docs/transform-origin
2025
2026
  */
2026
2027
  "transform-origin": [{
2027
- origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", a]
2028
+ origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", l]
2028
2029
  }],
2029
2030
  // Interactivity
2030
2031
  /**
@@ -2046,7 +2047,7 @@ const f = (e) => {
2046
2047
  * @see https://tailwindcss.com/docs/cursor
2047
2048
  */
2048
2049
  cursor: [{
2049
- 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", a]
2050
+ 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]
2050
2051
  }],
2051
2052
  /**
2052
2053
  * Caret Color
@@ -2081,126 +2082,126 @@ const f = (e) => {
2081
2082
  * @see https://tailwindcss.com/docs/scroll-margin
2082
2083
  */
2083
2084
  "scroll-m": [{
2084
- "scroll-m": b()
2085
+ "scroll-m": f()
2085
2086
  }],
2086
2087
  /**
2087
2088
  * Scroll Margin X
2088
2089
  * @see https://tailwindcss.com/docs/scroll-margin
2089
2090
  */
2090
2091
  "scroll-mx": [{
2091
- "scroll-mx": b()
2092
+ "scroll-mx": f()
2092
2093
  }],
2093
2094
  /**
2094
2095
  * Scroll Margin Y
2095
2096
  * @see https://tailwindcss.com/docs/scroll-margin
2096
2097
  */
2097
2098
  "scroll-my": [{
2098
- "scroll-my": b()
2099
+ "scroll-my": f()
2099
2100
  }],
2100
2101
  /**
2101
2102
  * Scroll Margin Start
2102
2103
  * @see https://tailwindcss.com/docs/scroll-margin
2103
2104
  */
2104
2105
  "scroll-ms": [{
2105
- "scroll-ms": b()
2106
+ "scroll-ms": f()
2106
2107
  }],
2107
2108
  /**
2108
2109
  * Scroll Margin End
2109
2110
  * @see https://tailwindcss.com/docs/scroll-margin
2110
2111
  */
2111
2112
  "scroll-me": [{
2112
- "scroll-me": b()
2113
+ "scroll-me": f()
2113
2114
  }],
2114
2115
  /**
2115
2116
  * Scroll Margin Top
2116
2117
  * @see https://tailwindcss.com/docs/scroll-margin
2117
2118
  */
2118
2119
  "scroll-mt": [{
2119
- "scroll-mt": b()
2120
+ "scroll-mt": f()
2120
2121
  }],
2121
2122
  /**
2122
2123
  * Scroll Margin Right
2123
2124
  * @see https://tailwindcss.com/docs/scroll-margin
2124
2125
  */
2125
2126
  "scroll-mr": [{
2126
- "scroll-mr": b()
2127
+ "scroll-mr": f()
2127
2128
  }],
2128
2129
  /**
2129
2130
  * Scroll Margin Bottom
2130
2131
  * @see https://tailwindcss.com/docs/scroll-margin
2131
2132
  */
2132
2133
  "scroll-mb": [{
2133
- "scroll-mb": b()
2134
+ "scroll-mb": f()
2134
2135
  }],
2135
2136
  /**
2136
2137
  * Scroll Margin Left
2137
2138
  * @see https://tailwindcss.com/docs/scroll-margin
2138
2139
  */
2139
2140
  "scroll-ml": [{
2140
- "scroll-ml": b()
2141
+ "scroll-ml": f()
2141
2142
  }],
2142
2143
  /**
2143
2144
  * Scroll Padding
2144
2145
  * @see https://tailwindcss.com/docs/scroll-padding
2145
2146
  */
2146
2147
  "scroll-p": [{
2147
- "scroll-p": b()
2148
+ "scroll-p": f()
2148
2149
  }],
2149
2150
  /**
2150
2151
  * Scroll Padding X
2151
2152
  * @see https://tailwindcss.com/docs/scroll-padding
2152
2153
  */
2153
2154
  "scroll-px": [{
2154
- "scroll-px": b()
2155
+ "scroll-px": f()
2155
2156
  }],
2156
2157
  /**
2157
2158
  * Scroll Padding Y
2158
2159
  * @see https://tailwindcss.com/docs/scroll-padding
2159
2160
  */
2160
2161
  "scroll-py": [{
2161
- "scroll-py": b()
2162
+ "scroll-py": f()
2162
2163
  }],
2163
2164
  /**
2164
2165
  * Scroll Padding Start
2165
2166
  * @see https://tailwindcss.com/docs/scroll-padding
2166
2167
  */
2167
2168
  "scroll-ps": [{
2168
- "scroll-ps": b()
2169
+ "scroll-ps": f()
2169
2170
  }],
2170
2171
  /**
2171
2172
  * Scroll Padding End
2172
2173
  * @see https://tailwindcss.com/docs/scroll-padding
2173
2174
  */
2174
2175
  "scroll-pe": [{
2175
- "scroll-pe": b()
2176
+ "scroll-pe": f()
2176
2177
  }],
2177
2178
  /**
2178
2179
  * Scroll Padding Top
2179
2180
  * @see https://tailwindcss.com/docs/scroll-padding
2180
2181
  */
2181
2182
  "scroll-pt": [{
2182
- "scroll-pt": b()
2183
+ "scroll-pt": f()
2183
2184
  }],
2184
2185
  /**
2185
2186
  * Scroll Padding Right
2186
2187
  * @see https://tailwindcss.com/docs/scroll-padding
2187
2188
  */
2188
2189
  "scroll-pr": [{
2189
- "scroll-pr": b()
2190
+ "scroll-pr": f()
2190
2191
  }],
2191
2192
  /**
2192
2193
  * Scroll Padding Bottom
2193
2194
  * @see https://tailwindcss.com/docs/scroll-padding
2194
2195
  */
2195
2196
  "scroll-pb": [{
2196
- "scroll-pb": b()
2197
+ "scroll-pb": f()
2197
2198
  }],
2198
2199
  /**
2199
2200
  * Scroll Padding Left
2200
2201
  * @see https://tailwindcss.com/docs/scroll-padding
2201
2202
  */
2202
2203
  "scroll-pl": [{
2203
- "scroll-pl": b()
2204
+ "scroll-pl": f()
2204
2205
  }],
2205
2206
  /**
2206
2207
  * Scroll Snap Align
@@ -2268,7 +2269,7 @@ const f = (e) => {
2268
2269
  * @see https://tailwindcss.com/docs/will-change
2269
2270
  */
2270
2271
  "will-change": [{
2271
- "will-change": ["auto", "scroll", "contents", "transform", a]
2272
+ "will-change": ["auto", "scroll", "contents", "transform", l]
2272
2273
  }],
2273
2274
  // SVG
2274
2275
  /**
@@ -2283,7 +2284,7 @@ const f = (e) => {
2283
2284
  * @see https://tailwindcss.com/docs/stroke-width
2284
2285
  */
2285
2286
  "stroke-w": [{
2286
- stroke: [z, S, H]
2287
+ stroke: [S, A, J]
2287
2288
  }],
2288
2289
  /**
2289
2290
  * Stroke
@@ -2358,41 +2359,41 @@ const f = (e) => {
2358
2359
  "font-size": ["leading"]
2359
2360
  }
2360
2361
  };
2361
- }, rt = (e, {
2362
- cacheSize: t,
2363
- prefix: r,
2362
+ }, ar = (e, {
2363
+ cacheSize: r,
2364
+ prefix: t,
2364
2365
  separator: o,
2365
2366
  experimentalParseClassName: n,
2366
2367
  extend: s = {},
2367
- override: l = {}
2368
+ override: a = {}
2368
2369
  }) => {
2369
- T(e, "cacheSize", t), T(e, "prefix", r), T(e, "separator", o), T(e, "experimentalParseClassName", n);
2370
- for (const i in l)
2371
- ot(e[i], l[i]);
2370
+ L(e, "cacheSize", r), L(e, "prefix", t), L(e, "separator", o), L(e, "experimentalParseClassName", n);
2371
+ for (const i in a)
2372
+ lr(e[i], a[i]);
2372
2373
  for (const i in s)
2373
- st(e[i], s[i]);
2374
+ cr(e[i], s[i]);
2374
2375
  return e;
2375
- }, T = (e, t, r) => {
2376
- r !== void 0 && (e[t] = r);
2377
- }, ot = (e, t) => {
2378
- if (t)
2379
- for (const r in t)
2380
- T(e, r, t[r]);
2381
- }, st = (e, t) => {
2382
- if (t)
2383
- for (const r in t) {
2384
- const o = t[r];
2385
- o !== void 0 && (e[r] = (e[r] || []).concat(o));
2376
+ }, L = (e, r, t) => {
2377
+ t !== void 0 && (e[r] = t);
2378
+ }, lr = (e, r) => {
2379
+ if (r)
2380
+ for (const t in r)
2381
+ L(e, t, r[t]);
2382
+ }, cr = (e, r) => {
2383
+ if (r)
2384
+ for (const t in r) {
2385
+ const o = r[t];
2386
+ o !== void 0 && (e[t] = (e[t] || []).concat(o));
2386
2387
  }
2387
- }, nt = (e, ...t) => typeof e == "function" ? ie(le, e, ...t) : ie(() => rt(le(), e), ...t), it = nt({
2388
+ }, dr = (e, ...r) => typeof e == "function" ? le(ce, e, ...r) : le(() => ar(ce(), e), ...r), ur = dr({
2388
2389
  prefix: "ksjsui-"
2389
2390
  });
2390
- function he(...e) {
2391
- return it(Se(e));
2391
+ function K(...e) {
2392
+ return ur(Me(e));
2392
2393
  }
2393
- const lt = de(
2394
+ const pr = Y(
2394
2395
  [
2395
- "ksjsui-inline-flex ksjsui-h-9 ksjsui-items-center ksjsui-justify-center ksjsui-whitespace-nowrap ksjsui-rounded-lg ksjsui-border ksjsui-border-transparent ksjsui-p-2 ksjsui-text-base ksjsui-font-medium ksjsui-ring-offset-background ksjsui-transition-colors",
2396
+ "ksjsui-inline-flex ksjsui-items-center ksjsui-justify-center ksjsui-whitespace-nowrap ksjsui-border ksjsui-border-transparent ksjsui-p-2 ksjsui-text-base ksjsui-font-medium ksjsui-ring-offset-background ksjsui-transition-colors",
2396
2397
  "focus-visible:ksjsui-outline-none focus-visible:ksjsui-ring-2 focus-visible:ksjsui-ring-ring focus-visible:ksjsui-ring-offset-2",
2397
2398
  "disabled:ksjsui-pointer-events-none disabled:ksjsui-cursor-not-allowed disabled:ksjsui-bg-disabled disabled:ksjsui-text-disabled-foreground",
2398
2399
  "forced-colors:ksjsui-border-button-border forced-colors:ksjsui-bg-button-face forced-colors:ksjsui-text-button-text",
@@ -2402,20 +2403,28 @@ const lt = de(
2402
2403
  variants: {
2403
2404
  variant: {
2404
2405
  solid: "",
2405
- plain: "ksjsui-bg-transparent"
2406
+ outline: "ksjsui-border-current ksjsui-text-secondary hover:ksjsui-bg-neutral-hover",
2407
+ plain: "ksjsui-bg-transparent",
2408
+ link: "ksjsui-underline-current ksjsui-h-auto ksjsui-rounded ksjsui-p-0 ksjsui-text-secondary hover:ksjsui-underline"
2406
2409
  },
2407
2410
  color: {
2408
2411
  neutral: "",
2409
- primary: ""
2412
+ primary: "",
2413
+ secondary: ""
2410
2414
  },
2411
2415
  fullWidth: {
2412
2416
  true: "ksjsui-w-full"
2417
+ },
2418
+ size: {
2419
+ md: "ksjsui-h-9 ksjsui-rounded-lg",
2420
+ icon: "ksjsui-h-6 ksjsui-rounded"
2413
2421
  }
2414
2422
  },
2415
2423
  defaultVariants: {
2416
2424
  variant: "solid",
2417
2425
  color: "neutral",
2418
- fullWidth: void 0
2426
+ fullWidth: void 0,
2427
+ size: "md"
2419
2428
  },
2420
2429
  compoundVariants: [
2421
2430
  {
@@ -2428,39 +2437,117 @@ const lt = de(
2428
2437
  color: "primary",
2429
2438
  className: "ksjsui-bg-primary ksjsui-text-primary-foreground hover:ksjsui-bg-primary-hover"
2430
2439
  },
2431
- { variant: "plain", color: "neutral", className: "" },
2432
- { variant: "plain", color: "primary", className: "ksjsui-text-primary" }
2440
+ {
2441
+ variant: "solid",
2442
+ color: "secondary",
2443
+ className: "ksjsui-bg-secondary ksjsui-text-secondary-foreground hover:ksjsui-bg-secondary-hover"
2444
+ },
2445
+ {
2446
+ variant: ["outline", "plain", "link"],
2447
+ color: "primary",
2448
+ className: "ksjsui-text-primary"
2449
+ },
2450
+ {
2451
+ variant: ["outline", "plain", "link"],
2452
+ color: "secondary",
2453
+ className: "ksjsui-text-secondary"
2454
+ },
2455
+ {
2456
+ variant: "plain",
2457
+ size: "icon",
2458
+ className: "ksjsui-p-0 focus-visible:ksjsui-ring-offset-0"
2459
+ }
2433
2460
  ]
2434
2461
  }
2435
- ), at = x.forwardRef(
2462
+ ), fr = x.forwardRef(
2436
2463
  ({
2437
2464
  className: e,
2438
- endContent: t,
2439
- startContent: r,
2465
+ endContent: r,
2466
+ startContent: t,
2440
2467
  variant: o,
2441
2468
  color: n,
2442
2469
  fullWidth: s,
2443
- asChild: l = !1,
2444
- children: i,
2445
- tabIndex: d = 0,
2446
- ...c
2447
- }, p) => /* @__PURE__ */ xe(
2448
- l ? J : "button",
2470
+ size: a,
2471
+ asChild: i = !1,
2472
+ children: d,
2473
+ tabIndex: c = 0,
2474
+ ...p
2475
+ }, g) => /* @__PURE__ */ Ce(
2476
+ i ? B : "button",
2449
2477
  {
2450
- className: he(lt({ variant: o, color: n, fullWidth: s, className: e })),
2451
- ref: p,
2452
- tabIndex: d,
2453
- ...c,
2478
+ className: K(
2479
+ pr({ variant: o, color: n, fullWidth: s, size: a, className: e })
2480
+ ),
2481
+ ref: g,
2482
+ tabIndex: c,
2483
+ ...p,
2454
2484
  children: [
2455
- r && /* @__PURE__ */ N("span", { className: "ksjsui-me-2", children: r }),
2456
- /* @__PURE__ */ N(ae, { children: i }),
2457
- t && /* @__PURE__ */ N("span", { className: "ksjsui-ms-2", children: t })
2485
+ t && /* @__PURE__ */ j("span", { className: "ksjsui-me-2", children: t }),
2486
+ /* @__PURE__ */ j(ue, { children: d }),
2487
+ r && /* @__PURE__ */ j("span", { className: "ksjsui-ms-2", children: r })
2458
2488
  ]
2459
2489
  }
2460
2490
  )
2461
2491
  );
2462
- at.displayName = "Button";
2463
- const Q = [
2492
+ fr.displayName = "Button";
2493
+ var br = [
2494
+ "a",
2495
+ "button",
2496
+ "div",
2497
+ "form",
2498
+ "h2",
2499
+ "h3",
2500
+ "img",
2501
+ "input",
2502
+ "label",
2503
+ "li",
2504
+ "nav",
2505
+ "ol",
2506
+ "p",
2507
+ "span",
2508
+ "svg",
2509
+ "ul"
2510
+ ], mr = br.reduce((e, r) => {
2511
+ const t = x.forwardRef((o, n) => {
2512
+ const { asChild: s, ...a } = o, i = s ? B : r;
2513
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ j(i, { ...a, ref: n });
2514
+ });
2515
+ return t.displayName = `Primitive.${r}`, { ...e, [r]: t };
2516
+ }, {}), gr = "Separator", de = "horizontal", hr = ["horizontal", "vertical"], xe = x.forwardRef((e, r) => {
2517
+ const { decorative: t, orientation: o = de, ...n } = e, s = yr(o) ? o : de, i = t ? { role: "none" } : { "aria-orientation": s === "vertical" ? s : void 0, role: "separator" };
2518
+ return /* @__PURE__ */ j(
2519
+ mr.div,
2520
+ {
2521
+ "data-orientation": s,
2522
+ ...i,
2523
+ ...n,
2524
+ ref: r
2525
+ }
2526
+ );
2527
+ });
2528
+ xe.displayName = gr;
2529
+ function yr(e) {
2530
+ return hr.includes(e);
2531
+ }
2532
+ var ve = xe;
2533
+ const xr = x.forwardRef(
2534
+ ({ className: e, orientation: r = "horizontal", decorative: t = !0, ...o }, n) => /* @__PURE__ */ j(
2535
+ ve,
2536
+ {
2537
+ ref: n,
2538
+ decorative: t,
2539
+ orientation: r,
2540
+ className: K(
2541
+ "ksjsui-shrink-0 ksjsui-bg-border forced-colors:ksjsui-bg-canvas-text forced-colors:ksjsui-forced-color-adjust-none",
2542
+ r === "horizontal" ? "ksjsui-block ksjsui-h-px ksjsui-w-full" : "ksjsui-inline-block ksjsui-w-px",
2543
+ e
2544
+ ),
2545
+ ...o
2546
+ }
2547
+ )
2548
+ );
2549
+ xr.displayName = ve.displayName;
2550
+ const ee = [
2464
2551
  "px",
2465
2552
  0,
2466
2553
  0.5,
@@ -2496,26 +2583,89 @@ const Q = [
2496
2583
  72,
2497
2584
  80,
2498
2585
  96
2499
- ], ct = [...Q, "auto"];
2500
- function dt() {
2501
- return Q.reduce(
2502
- (e, t) => (e.gap[t] = `ksjsui-gap-${t}`, e.gapColumn[t] = `ksjsui-gap-x-${t}`, e.gapRow[t] = `ksjsui-gap-y-${t}`, e),
2586
+ ], vr = [...ee, "auto"];
2587
+ function kr() {
2588
+ return ee.reduce(
2589
+ (e, r) => (e.gap[r] = `ksjsui-gap-${r}`, e.gapColumn[r] = `ksjsui-gap-x-${r}`, e.gapRow[r] = `ksjsui-gap-y-${r}`, e),
2503
2590
  { gap: {}, gapColumn: {}, gapRow: {} }
2504
2591
  );
2505
2592
  }
2506
- function ut() {
2507
- return ct.reduce(
2508
- (e, t) => (e.m[t] = `ksjsui-m-${t}`, e.mb[t] = `ksjsui-mb-${t}`, e.me[t] = `ksjsui-me-${t}`, e.ms[t] = `ksjsui-ms-${t}`, e.mt[t] = `ksjsui-mt-${t}`, e.mx[t] = `ksjsui-mx-${t}`, e.my[t] = `ksjsui-my-${t}`, e),
2593
+ function ke() {
2594
+ return vr.reduce(
2595
+ (e, r) => (e.m[r] = `ksjsui-m-${r}`, e.mb[r] = `ksjsui-mb-${r}`, e.me[r] = `ksjsui-me-${r}`, e.ms[r] = `ksjsui-ms-${r}`, e.mt[r] = `ksjsui-mt-${r}`, e.mx[r] = `ksjsui-mx-${r}`, e.my[r] = `ksjsui-my-${r}`, e),
2509
2596
  { m: {}, mb: {}, me: {}, ms: {}, mt: {}, mx: {}, my: {} }
2510
2597
  );
2511
2598
  }
2512
- function pt() {
2513
- return Q.reduce(
2514
- (e, t) => (e.p[t] = `ksjsui-p-${t}`, e.pb[t] = `ksjsui-pb-${t}`, e.pe[t] = `ksjsui-pe-${t}`, e.ps[t] = `ksjsui-ps-${t}`, e.pt[t] = `ksjsui-pt-${t}`, e.px[t] = `ksjsui-px-${t}`, e.py[t] = `ksjsui-py-${t}`, e),
2599
+ function we() {
2600
+ return ee.reduce(
2601
+ (e, r) => (e.p[r] = `ksjsui-p-${r}`, e.pb[r] = `ksjsui-pb-${r}`, e.pe[r] = `ksjsui-pe-${r}`, e.ps[r] = `ksjsui-ps-${r}`, e.pt[r] = `ksjsui-pt-${r}`, e.px[r] = `ksjsui-px-${r}`, e.py[r] = `ksjsui-py-${r}`, e),
2515
2602
  { p: {}, pb: {}, pe: {}, ps: {}, pt: {}, px: {}, py: {} }
2516
2603
  );
2517
2604
  }
2518
- const ft = {
2605
+ const wr = Y("", {
2606
+ variants: {
2607
+ display: {
2608
+ block: "ksjsui-block",
2609
+ "inline-block": "ksjsui-inline-block",
2610
+ none: "ksjsui-hidden"
2611
+ },
2612
+ ...ke(),
2613
+ ...we()
2614
+ },
2615
+ defaultVariants: {
2616
+ display: "block"
2617
+ }
2618
+ }), jr = x.forwardRef(
2619
+ ({
2620
+ as: e = "div",
2621
+ asChild: r,
2622
+ className: t,
2623
+ display: o,
2624
+ m: n,
2625
+ mb: s,
2626
+ me: a,
2627
+ ms: i,
2628
+ mt: d,
2629
+ mx: c,
2630
+ my: p,
2631
+ p: g,
2632
+ pb: h,
2633
+ pe: w,
2634
+ ps: v,
2635
+ pt: m,
2636
+ px: u,
2637
+ py: y,
2638
+ ...k
2639
+ }, z) => /* @__PURE__ */ j(
2640
+ r ? B : e,
2641
+ {
2642
+ className: K(
2643
+ wr({
2644
+ display: o,
2645
+ m: n,
2646
+ mb: s,
2647
+ me: a,
2648
+ ms: i,
2649
+ mt: d,
2650
+ mx: c,
2651
+ my: p,
2652
+ p: g,
2653
+ pb: h,
2654
+ pe: w,
2655
+ ps: v,
2656
+ pt: m,
2657
+ px: u,
2658
+ py: y,
2659
+ className: t
2660
+ })
2661
+ ),
2662
+ ref: z,
2663
+ ...k
2664
+ }
2665
+ )
2666
+ );
2667
+ jr.displayName = "Box";
2668
+ const Cr = {
2519
2669
  align: {
2520
2670
  baseline: "ksjsui-items-baseline",
2521
2671
  center: "ksjsui-items-center",
@@ -2534,97 +2684,122 @@ const ft = {
2534
2684
  flex: "ksjsui-flex",
2535
2685
  none: "ksjsui-hidden"
2536
2686
  },
2537
- ...dt(),
2687
+ ...kr(),
2688
+ grow: {
2689
+ 0: "ksjsui-grow-0",
2690
+ 1: "ksjsui-grow"
2691
+ },
2538
2692
  justify: {
2539
2693
  around: "ksjsui-justify-around",
2540
2694
  baseline: "ksjsui-justify-baseline",
2541
2695
  between: "ksjsui-justify-between",
2542
2696
  center: "ksjsui-justify-center",
2543
2697
  end: "ksjsui-justify-end",
2698
+ evenly: "ksjsui-justify-evenly",
2544
2699
  normal: "ksjsui-justify-normal",
2545
2700
  start: "ksjsui-justify-start",
2546
2701
  stretch: "ksjsui-justify-stretch"
2547
2702
  },
2548
- ...ut(),
2549
- ...pt(),
2703
+ ...ke(),
2704
+ ...we(),
2705
+ self: {
2706
+ auto: "ksjsui-self-auto",
2707
+ baseline: "ksjsui-self-baseline",
2708
+ center: "ksjsui-self-center",
2709
+ end: "ksjsui-self-end",
2710
+ start: "ksjsui-self-start",
2711
+ stretch: "ksjsui-self-stretch"
2712
+ },
2713
+ shrink: {
2714
+ 0: "ksjsui-shrink-0",
2715
+ 1: "ksjsui-shrink"
2716
+ },
2550
2717
  wrap: {
2551
2718
  nowrap: "ksjsui-flex-nowrap",
2552
2719
  reverse: "ksjsui-flex-wrap-reverse",
2553
2720
  wrap: "ksjsui-flex-wrap"
2554
2721
  }
2555
- }, bt = de("ksjsui-inline-flex", {
2722
+ }, zr = Y("ksjsui-inline-flex", {
2556
2723
  variants: {
2557
- ...ft
2724
+ ...Cr
2558
2725
  },
2559
2726
  defaultVariants: {
2560
2727
  display: "flex",
2561
2728
  justify: "start"
2562
2729
  }
2563
- }), gt = x.forwardRef(
2730
+ }), Nr = x.forwardRef(
2564
2731
  ({
2565
2732
  align: e,
2566
- as: t = "div",
2567
- asChild: r,
2733
+ as: r = "div",
2734
+ asChild: t,
2568
2735
  className: o,
2569
2736
  display: n,
2570
2737
  direction: s,
2571
- gap: l,
2738
+ gap: a,
2572
2739
  gapColumn: i,
2573
2740
  gapRow: d,
2574
- justify: c,
2575
- m: p,
2576
- mb: m,
2577
- me: h,
2578
- ms: k,
2579
- mt: v,
2580
- mx: g,
2581
- my: u,
2582
- p: y,
2583
- pb: w,
2584
- pe: R,
2585
- ps: j,
2586
- pt: P,
2587
- px: L,
2588
- py: O,
2589
- wrap: B,
2590
- ...$
2591
- }, V) => /* @__PURE__ */ N(
2592
- r ? J : t,
2741
+ grow: c,
2742
+ justify: p,
2743
+ m: g,
2744
+ mb: h,
2745
+ me: w,
2746
+ ms: v,
2747
+ mt: m,
2748
+ mx: u,
2749
+ my: y,
2750
+ p: k,
2751
+ pb: z,
2752
+ pe: C,
2753
+ ps: P,
2754
+ pt: F,
2755
+ px: _,
2756
+ py: U,
2757
+ self: V,
2758
+ shrink: $,
2759
+ wrap: G,
2760
+ ...f
2761
+ }, q) => /* @__PURE__ */ j(
2762
+ t ? B : r,
2593
2763
  {
2594
- className: he(
2595
- bt({
2764
+ className: K(
2765
+ zr({
2596
2766
  align: e,
2597
2767
  direction: s,
2598
2768
  display: n,
2599
- gap: l,
2769
+ gap: a,
2600
2770
  gapColumn: i,
2601
2771
  gapRow: d,
2602
- justify: c,
2603
- m: p,
2604
- mb: m,
2605
- me: h,
2606
- ms: k,
2607
- mt: v,
2608
- mx: g,
2609
- my: u,
2610
- p: y,
2611
- pb: w,
2612
- pe: R,
2613
- ps: j,
2614
- pt: P,
2615
- px: L,
2616
- py: O,
2617
- wrap: B,
2772
+ grow: c,
2773
+ justify: p,
2774
+ m: g,
2775
+ mb: h,
2776
+ me: w,
2777
+ ms: v,
2778
+ mt: m,
2779
+ mx: u,
2780
+ my: y,
2781
+ p: k,
2782
+ pb: z,
2783
+ pe: C,
2784
+ ps: P,
2785
+ pt: F,
2786
+ px: _,
2787
+ py: U,
2788
+ self: V,
2789
+ shrink: $,
2790
+ wrap: G,
2618
2791
  className: o
2619
2792
  })
2620
2793
  ),
2621
- ref: V,
2622
- ...$
2794
+ ref: q,
2795
+ ...f
2623
2796
  }
2624
2797
  )
2625
2798
  );
2626
- gt.displayName = "Flex";
2799
+ Nr.displayName = "Flex";
2627
2800
  export {
2628
- at as Button,
2629
- gt as Flex
2801
+ jr as Box,
2802
+ fr as Button,
2803
+ Nr as Flex,
2804
+ xr as Separator
2630
2805
  };