@agilys-system/design-system 1.0.8 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,83 +1,83 @@
1
- import { jsxs as C, jsx as l } from "react/jsx-runtime";
2
- import { forwardRef as E, createElement as Ne, useId as fe, useRef as ze, useState as Ce, useEffect as ae } from "react";
3
- import { createPortal as _e } from "react-dom";
4
- function be(e) {
1
+ import { jsxs as v, jsx as o } from "react/jsx-runtime";
2
+ import W, { forwardRef as S, createElement as Ae, useId as xe, useRef as Ee, useState as Le, useEffect as ce } from "react";
3
+ import { createPortal as Pe } from "react-dom";
4
+ function ye(e) {
5
5
  var t, r, n = "";
6
6
  if (typeof e == "string" || typeof e == "number") n += e;
7
7
  else if (typeof e == "object") if (Array.isArray(e)) {
8
- var s = e.length;
9
- for (t = 0; t < s; t++) e[t] && (r = be(e[t])) && (n && (n += " "), n += r);
8
+ var a = e.length;
9
+ for (t = 0; t < a; t++) e[t] && (r = ye(e[t])) && (n && (n += " "), n += r);
10
10
  } else for (r in e) e[r] && (n && (n += " "), n += r);
11
11
  return n;
12
12
  }
13
- function ge() {
14
- for (var e, t, r = 0, n = "", s = arguments.length; r < s; r++) (e = arguments[r]) && (t = be(e)) && (n && (n += " "), n += t);
13
+ function ve() {
14
+ for (var e, t, r = 0, n = "", a = arguments.length; r < a; r++) (e = arguments[r]) && (t = ye(e)) && (n && (n += " "), n += t);
15
15
  return n;
16
16
  }
17
- const ie = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, le = ge, H = (e, t) => (r) => {
17
+ const de = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ue = ve, T = (e, t) => (r) => {
18
18
  var n;
19
- if ((t == null ? void 0 : t.variants) == null) return le(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
20
- const { variants: s, defaultVariants: o } = t, i = Object.keys(s).map((c) => {
21
- const p = r == null ? void 0 : r[c], m = o == null ? void 0 : o[c];
19
+ if ((t == null ? void 0 : t.variants) == null) return ue(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
20
+ const { variants: a, defaultVariants: s } = t, l = Object.keys(a).map((c) => {
21
+ const p = r == null ? void 0 : r[c], b = s == null ? void 0 : s[c];
22
22
  if (p === null) return null;
23
- const b = ie(p) || ie(m);
24
- return s[c][b];
25
- }), a = r && Object.entries(r).reduce((c, p) => {
26
- let [m, b] = p;
27
- return b === void 0 || (c[m] = b), c;
28
- }, {}), u = t == null || (n = t.compoundVariants) === null || n === void 0 ? void 0 : n.reduce((c, p) => {
29
- let { class: m, className: b, ...z } = p;
30
- return Object.entries(z).every((k) => {
31
- let [g, f] = k;
32
- return Array.isArray(f) ? f.includes({
33
- ...o,
34
- ...a
23
+ const f = de(p) || de(b);
24
+ return a[c][f];
25
+ }), i = r && Object.entries(r).reduce((c, p) => {
26
+ let [b, f] = p;
27
+ return f === void 0 || (c[b] = f), c;
28
+ }, {}), d = t == null || (n = t.compoundVariants) === null || n === void 0 ? void 0 : n.reduce((c, p) => {
29
+ let { class: b, className: f, ...j } = p;
30
+ return Object.entries(j).every((N) => {
31
+ let [g, m] = N;
32
+ return Array.isArray(m) ? m.includes({
33
+ ...s,
34
+ ...i
35
35
  }[g]) : {
36
- ...o,
37
- ...a
38
- }[g] === f;
36
+ ...s,
37
+ ...i
38
+ }[g] === m;
39
39
  }) ? [
40
40
  ...c,
41
- m,
42
- b
41
+ b,
42
+ f
43
43
  ] : c;
44
44
  }, []);
45
- return le(e, i, u, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
46
- }, te = "-", Se = (e) => {
47
- const t = je(e), {
45
+ return ue(e, l, d, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
46
+ }, oe = "-", Ve = (e) => {
47
+ const t = Re(e), {
48
48
  conflictingClassGroups: r,
49
49
  conflictingClassGroupModifiers: n
50
50
  } = e;
51
51
  return {
52
- getClassGroupId: (i) => {
53
- const a = i.split(te);
54
- return a[0] === "" && a.length !== 1 && a.shift(), me(a, t) || Me(i);
52
+ getClassGroupId: (l) => {
53
+ const i = l.split(oe);
54
+ return i[0] === "" && i.length !== 1 && i.shift(), we(i, t) || We(l);
55
55
  },
56
- getConflictingClassGroupIds: (i, a) => {
57
- const u = r[i] || [];
58
- return a && n[i] ? [...u, ...n[i]] : u;
56
+ getConflictingClassGroupIds: (l, i) => {
57
+ const d = r[l] || [];
58
+ return i && n[l] ? [...d, ...n[l]] : d;
59
59
  }
60
60
  };
61
- }, me = (e, t) => {
62
- var i;
61
+ }, we = (e, t) => {
62
+ var l;
63
63
  if (e.length === 0)
64
64
  return t.classGroupId;
65
- const r = e[0], n = t.nextPart.get(r), s = n ? me(e.slice(1), n) : void 0;
66
- if (s)
67
- return s;
65
+ const r = e[0], n = t.nextPart.get(r), a = n ? we(e.slice(1), n) : void 0;
66
+ if (a)
67
+ return a;
68
68
  if (t.validators.length === 0)
69
69
  return;
70
- const o = e.join(te);
71
- return (i = t.validators.find(({
72
- validator: a
73
- }) => a(o))) == null ? void 0 : i.classGroupId;
74
- }, ce = /^\[(.+)\]$/, Me = (e) => {
75
- if (ce.test(e)) {
76
- const t = ce.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
70
+ const s = e.join(oe);
71
+ return (l = t.validators.find(({
72
+ validator: i
73
+ }) => i(s))) == null ? void 0 : l.classGroupId;
74
+ }, pe = /^\[(.+)\]$/, We = (e) => {
75
+ if (pe.test(e)) {
76
+ const t = pe.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
77
77
  if (r)
78
78
  return "arbitrary.." + r;
79
79
  }
80
- }, je = (e) => {
80
+ }, Re = (e) => {
81
81
  const {
82
82
  theme: t,
83
83
  prefix: r
@@ -85,43 +85,43 @@ const ie = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, le = ge, H
85
85
  nextPart: /* @__PURE__ */ new Map(),
86
86
  validators: []
87
87
  };
88
- return Ie(Object.entries(e.classGroups), r).forEach(([o, i]) => {
89
- Y(i, n, o, t);
88
+ return Te(Object.entries(e.classGroups), r).forEach(([s, l]) => {
89
+ te(l, n, s, t);
90
90
  }), n;
91
- }, Y = (e, t, r, n) => {
92
- e.forEach((s) => {
93
- if (typeof s == "string") {
94
- const o = s === "" ? t : de(t, s);
95
- o.classGroupId = r;
91
+ }, te = (e, t, r, n) => {
92
+ e.forEach((a) => {
93
+ if (typeof a == "string") {
94
+ const s = a === "" ? t : fe(t, a);
95
+ s.classGroupId = r;
96
96
  return;
97
97
  }
98
- if (typeof s == "function") {
99
- if (Ae(s)) {
100
- Y(s(n), t, r, n);
98
+ if (typeof a == "function") {
99
+ if (Ge(a)) {
100
+ te(a(n), t, r, n);
101
101
  return;
102
102
  }
103
103
  t.validators.push({
104
- validator: s,
104
+ validator: a,
105
105
  classGroupId: r
106
106
  });
107
107
  return;
108
108
  }
109
- Object.entries(s).forEach(([o, i]) => {
110
- Y(i, de(t, o), r, n);
109
+ Object.entries(a).forEach(([s, l]) => {
110
+ te(l, fe(t, s), r, n);
111
111
  });
112
112
  });
113
- }, de = (e, t) => {
113
+ }, fe = (e, t) => {
114
114
  let r = e;
115
- return t.split(te).forEach((n) => {
115
+ return t.split(oe).forEach((n) => {
116
116
  r.nextPart.has(n) || r.nextPart.set(n, {
117
117
  nextPart: /* @__PURE__ */ new Map(),
118
118
  validators: []
119
119
  }), r = r.nextPart.get(n);
120
120
  }), r;
121
- }, Ae = (e) => e.isThemeGetter, Ie = (e, t) => t ? e.map(([r, n]) => {
122
- const s = n.map((o) => typeof o == "string" ? t + o : typeof o == "object" ? Object.fromEntries(Object.entries(o).map(([i, a]) => [t + i, a])) : o);
123
- return [r, s];
124
- }) : e, Re = (e) => {
121
+ }, Ge = (e) => e.isThemeGetter, Te = (e, t) => t ? e.map(([r, n]) => {
122
+ const a = n.map((s) => typeof s == "string" ? t + s : typeof s == "object" ? Object.fromEntries(Object.entries(s).map(([l, i]) => [t + l, i])) : s);
123
+ return [r, a];
124
+ }) : e, Be = (e) => {
125
125
  if (e < 1)
126
126
  return {
127
127
  get: () => {
@@ -130,55 +130,55 @@ const ie = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, le = ge, H
130
130
  }
131
131
  };
132
132
  let t = 0, r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
133
- const s = (o, i) => {
134
- r.set(o, i), t++, t > e && (t = 0, n = r, r = /* @__PURE__ */ new Map());
133
+ const a = (s, l) => {
134
+ r.set(s, l), t++, t > e && (t = 0, n = r, r = /* @__PURE__ */ new Map());
135
135
  };
136
136
  return {
137
- get(o) {
138
- let i = r.get(o);
139
- if (i !== void 0)
140
- return i;
141
- if ((i = n.get(o)) !== void 0)
142
- return s(o, i), i;
137
+ get(s) {
138
+ let l = r.get(s);
139
+ if (l !== void 0)
140
+ return l;
141
+ if ((l = n.get(s)) !== void 0)
142
+ return a(s, l), l;
143
143
  },
144
- set(o, i) {
145
- r.has(o) ? r.set(o, i) : s(o, i);
144
+ set(s, l) {
145
+ r.has(s) ? r.set(s, l) : a(s, l);
146
146
  }
147
147
  };
148
- }, he = "!", Ee = (e) => {
148
+ }, ke = "!", $e = (e) => {
149
149
  const {
150
150
  separator: t,
151
151
  experimentalParseClassName: r
152
- } = e, n = t.length === 1, s = t[0], o = t.length, i = (a) => {
153
- const u = [];
154
- let c = 0, p = 0, m;
155
- for (let f = 0; f < a.length; f++) {
156
- let v = a[f];
152
+ } = e, n = t.length === 1, a = t[0], s = t.length, l = (i) => {
153
+ const d = [];
154
+ let c = 0, p = 0, b;
155
+ for (let m = 0; m < i.length; m++) {
156
+ let w = i[m];
157
157
  if (c === 0) {
158
- if (v === s && (n || a.slice(f, f + o) === t)) {
159
- u.push(a.slice(p, f)), p = f + o;
158
+ if (w === a && (n || i.slice(m, m + s) === t)) {
159
+ d.push(i.slice(p, m)), p = m + s;
160
160
  continue;
161
161
  }
162
- if (v === "/") {
163
- m = f;
162
+ if (w === "/") {
163
+ b = m;
164
164
  continue;
165
165
  }
166
166
  }
167
- v === "[" ? c++ : v === "]" && c--;
167
+ w === "[" ? c++ : w === "]" && c--;
168
168
  }
169
- const b = u.length === 0 ? a : a.substring(p), z = b.startsWith(he), k = z ? b.substring(1) : b, g = m && m > p ? m - p : void 0;
169
+ const f = d.length === 0 ? i : i.substring(p), j = f.startsWith(ke), N = j ? f.substring(1) : f, g = b && b > p ? b - p : void 0;
170
170
  return {
171
- modifiers: u,
172
- hasImportantModifier: z,
173
- baseClassName: k,
171
+ modifiers: d,
172
+ hasImportantModifier: j,
173
+ baseClassName: N,
174
174
  maybePostfixModifierPosition: g
175
175
  };
176
176
  };
177
- return r ? (a) => r({
178
- className: a,
179
- parseClassName: i
180
- }) : i;
181
- }, Ve = (e) => {
177
+ return r ? (i) => r({
178
+ className: i,
179
+ parseClassName: l
180
+ }) : l;
181
+ }, He = (e) => {
182
182
  if (e.length <= 1)
183
183
  return e;
184
184
  const t = [];
@@ -186,120 +186,120 @@ const ie = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, le = ge, H
186
186
  return e.forEach((n) => {
187
187
  n[0] === "[" ? (t.push(...r.sort(), n), r = []) : r.push(n);
188
188
  }), t.push(...r.sort()), t;
189
- }, Ge = (e) => ({
190
- cache: Re(e.cacheSize),
191
- parseClassName: Ee(e),
192
- ...Se(e)
193
- }), Te = /\s+/, Le = (e, t) => {
189
+ }, Fe = (e) => ({
190
+ cache: Be(e.cacheSize),
191
+ parseClassName: $e(e),
192
+ ...Ve(e)
193
+ }), Ue = /\s+/, qe = (e, t) => {
194
194
  const {
195
195
  parseClassName: r,
196
196
  getClassGroupId: n,
197
- getConflictingClassGroupIds: s
198
- } = t, o = [], i = e.trim().split(Te);
199
- let a = "";
200
- for (let u = i.length - 1; u >= 0; u -= 1) {
201
- const c = i[u], {
197
+ getConflictingClassGroupIds: a
198
+ } = t, s = [], l = e.trim().split(Ue);
199
+ let i = "";
200
+ for (let d = l.length - 1; d >= 0; d -= 1) {
201
+ const c = l[d], {
202
202
  modifiers: p,
203
- hasImportantModifier: m,
204
- baseClassName: b,
205
- maybePostfixModifierPosition: z
203
+ hasImportantModifier: b,
204
+ baseClassName: f,
205
+ maybePostfixModifierPosition: j
206
206
  } = r(c);
207
- let k = !!z, g = n(k ? b.substring(0, z) : b);
207
+ let N = !!j, g = n(N ? f.substring(0, j) : f);
208
208
  if (!g) {
209
- if (!k) {
210
- a = c + (a.length > 0 ? " " + a : a);
209
+ if (!N) {
210
+ i = c + (i.length > 0 ? " " + i : i);
211
211
  continue;
212
212
  }
213
- if (g = n(b), !g) {
214
- a = c + (a.length > 0 ? " " + a : a);
213
+ if (g = n(f), !g) {
214
+ i = c + (i.length > 0 ? " " + i : i);
215
215
  continue;
216
216
  }
217
- k = !1;
217
+ N = !1;
218
218
  }
219
- const f = Ve(p).join(":"), v = m ? f + he : f, N = v + g;
220
- if (o.includes(N))
219
+ const m = He(p).join(":"), w = b ? m + ke : m, z = w + g;
220
+ if (s.includes(z))
221
221
  continue;
222
- o.push(N);
223
- const M = s(g, k);
224
- for (let j = 0; j < M.length; ++j) {
225
- const L = M[j];
226
- o.push(v + L);
222
+ s.push(z);
223
+ const M = a(g, N);
224
+ for (let I = 0; I < M.length; ++I) {
225
+ const R = M[I];
226
+ s.push(w + R);
227
227
  }
228
- a = c + (a.length > 0 ? " " + a : a);
228
+ i = c + (i.length > 0 ? " " + i : i);
229
229
  }
230
- return a;
230
+ return i;
231
231
  };
232
- function We() {
232
+ function Ke() {
233
233
  let e = 0, t, r, n = "";
234
234
  for (; e < arguments.length; )
235
- (t = arguments[e++]) && (r = xe(t)) && (n && (n += " "), n += r);
235
+ (t = arguments[e++]) && (r = Ne(t)) && (n && (n += " "), n += r);
236
236
  return n;
237
237
  }
238
- const xe = (e) => {
238
+ const Ne = (e) => {
239
239
  if (typeof e == "string")
240
240
  return e;
241
241
  let t, r = "";
242
242
  for (let n = 0; n < e.length; n++)
243
- e[n] && (t = xe(e[n])) && (r && (r += " "), r += t);
243
+ e[n] && (t = Ne(e[n])) && (r && (r += " "), r += t);
244
244
  return r;
245
245
  };
246
- function Be(e, ...t) {
247
- let r, n, s, o = i;
248
- function i(u) {
249
- const c = t.reduce((p, m) => m(p), e());
250
- return r = Ge(c), n = r.cache.get, s = r.cache.set, o = a, a(u);
246
+ function Je(e, ...t) {
247
+ let r, n, a, s = l;
248
+ function l(d) {
249
+ const c = t.reduce((p, b) => b(p), e());
250
+ return r = Fe(c), n = r.cache.get, a = r.cache.set, s = i, i(d);
251
251
  }
252
- function a(u) {
253
- const c = n(u);
252
+ function i(d) {
253
+ const c = n(d);
254
254
  if (c)
255
255
  return c;
256
- const p = Le(u, r);
257
- return s(u, p), p;
256
+ const p = qe(d, r);
257
+ return a(d, p), p;
258
258
  }
259
259
  return function() {
260
- return o(We.apply(null, arguments));
260
+ return s(Ke.apply(null, arguments));
261
261
  };
262
262
  }
263
- const h = (e) => {
263
+ const x = (e) => {
264
264
  const t = (r) => r[e] || [];
265
265
  return t.isThemeGetter = !0, t;
266
- }, ye = /^\[(?:([a-z-]+):)?(.+)\]$/i, Pe = /^\d+\/\d+$/, $e = /* @__PURE__ */ new Set(["px", "full", "screen"]), Oe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ue = /\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$/, Fe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, He = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, qe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, R = (e) => W(e) || $e.has(e) || Pe.test(e), V = (e) => B(e, "length", et), W = (e) => !!e && !Number.isNaN(Number(e)), Q = (e) => B(e, "number", W), O = (e) => !!e && Number.isInteger(Number(e)), Je = (e) => e.endsWith("%") && W(e.slice(0, -1)), d = (e) => ye.test(e), G = (e) => Oe.test(e), Xe = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Ze = (e) => B(e, Xe, ve), Ke = (e) => B(e, "position", ve), Qe = /* @__PURE__ */ new Set(["image", "url"]), Ye = (e) => B(e, Qe, rt), De = (e) => B(e, "", tt), U = () => !0, B = (e, t, r) => {
267
- const n = ye.exec(e);
266
+ }, ze = /^\[(?:([a-z-]+):)?(.+)\]$/i, Xe = /^\d+\/\d+$/, Ze = /* @__PURE__ */ new Set(["px", "full", "screen"]), Qe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ye = /\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$/, De = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, et = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, tt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, E = (e) => G(e) || Ze.has(e) || Xe.test(e), L = (e) => B(e, "length", ct), G = (e) => !!e && !Number.isNaN(Number(e)), ee = (e) => B(e, "number", G), F = (e) => !!e && Number.isInteger(Number(e)), rt = (e) => e.endsWith("%") && G(e.slice(0, -1)), u = (e) => ze.test(e), P = (e) => Qe.test(e), nt = /* @__PURE__ */ new Set(["length", "size", "percentage"]), ot = (e) => B(e, nt, Ce), st = (e) => B(e, "position", Ce), at = /* @__PURE__ */ new Set(["image", "url"]), it = (e) => B(e, at, ut), lt = (e) => B(e, "", dt), U = () => !0, B = (e, t, r) => {
267
+ const n = ze.exec(e);
268
268
  return n ? n[1] ? typeof t == "string" ? n[1] === t : t.has(n[1]) : r(n[2]) : !1;
269
- }, et = (e) => (
269
+ }, ct = (e) => (
270
270
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
271
271
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
272
272
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
273
- Ue.test(e) && !Fe.test(e)
274
- ), ve = () => !1, tt = (e) => He.test(e), rt = (e) => qe.test(e), nt = () => {
275
- const e = h("colors"), t = h("spacing"), r = h("blur"), n = h("brightness"), s = h("borderColor"), o = h("borderRadius"), i = h("borderSpacing"), a = h("borderWidth"), u = h("contrast"), c = h("grayscale"), p = h("hueRotate"), m = h("invert"), b = h("gap"), z = h("gradientColorStops"), k = h("gradientColorStopPositions"), g = h("inset"), f = h("margin"), v = h("opacity"), N = h("padding"), M = h("saturate"), j = h("scale"), L = h("sepia"), q = h("skew"), w = h("space"), _ = h("translate"), T = () => ["auto", "contain", "none"], A = () => ["auto", "hidden", "clip", "visible", "scroll"], P = () => ["auto", d, t], y = () => [d, t], re = () => ["", R, V], J = () => ["auto", W, d], ne = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], X = () => ["solid", "dashed", "dotted", "double", "none"], oe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], K = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], $ = () => ["", "0", d], se = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], I = () => [W, d];
273
+ Ye.test(e) && !De.test(e)
274
+ ), Ce = () => !1, dt = (e) => et.test(e), ut = (e) => tt.test(e), pt = () => {
275
+ const e = x("colors"), t = x("spacing"), r = x("blur"), n = x("brightness"), a = x("borderColor"), s = x("borderRadius"), l = x("borderSpacing"), i = x("borderWidth"), d = x("contrast"), c = x("grayscale"), p = x("hueRotate"), b = x("invert"), f = x("gap"), j = x("gradientColorStops"), N = x("gradientColorStopPositions"), g = x("inset"), m = x("margin"), w = x("opacity"), z = x("padding"), M = x("saturate"), I = x("scale"), R = x("sepia"), K = x("skew"), k = x("space"), _ = x("translate"), V = () => ["auto", "contain", "none"], O = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", u, t], y = () => [u, t], se = () => ["", E, L], J = () => ["auto", G, u], ae = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], X = () => ["solid", "dashed", "dotted", "double", "none"], ie = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], D = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], H = () => ["", "0", u], le = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], A = () => [G, u];
276
276
  return {
277
277
  cacheSize: 500,
278
278
  separator: ":",
279
279
  theme: {
280
280
  colors: [U],
281
- spacing: [R, V],
282
- blur: ["none", "", G, d],
283
- brightness: I(),
281
+ spacing: [E, L],
282
+ blur: ["none", "", P, u],
283
+ brightness: A(),
284
284
  borderColor: [e],
285
- borderRadius: ["none", "", "full", G, d],
285
+ borderRadius: ["none", "", "full", P, u],
286
286
  borderSpacing: y(),
287
- borderWidth: re(),
288
- contrast: I(),
289
- grayscale: $(),
290
- hueRotate: I(),
291
- invert: $(),
287
+ borderWidth: se(),
288
+ contrast: A(),
289
+ grayscale: H(),
290
+ hueRotate: A(),
291
+ invert: H(),
292
292
  gap: y(),
293
293
  gradientColorStops: [e],
294
- gradientColorStopPositions: [Je, V],
295
- inset: P(),
296
- margin: P(),
297
- opacity: I(),
294
+ gradientColorStopPositions: [rt, L],
295
+ inset: $(),
296
+ margin: $(),
297
+ opacity: A(),
298
298
  padding: y(),
299
- saturate: I(),
300
- scale: I(),
301
- sepia: $(),
302
- skew: I(),
299
+ saturate: A(),
300
+ scale: A(),
301
+ sepia: H(),
302
+ skew: A(),
303
303
  space: y(),
304
304
  translate: y()
305
305
  },
@@ -310,7 +310,7 @@ const h = (e) => {
310
310
  * @see https://tailwindcss.com/docs/aspect-ratio
311
311
  */
312
312
  aspect: [{
313
- aspect: ["auto", "square", "video", d]
313
+ aspect: ["auto", "square", "video", u]
314
314
  }],
315
315
  /**
316
316
  * Container
@@ -322,21 +322,21 @@ const h = (e) => {
322
322
  * @see https://tailwindcss.com/docs/columns
323
323
  */
324
324
  columns: [{
325
- columns: [G]
325
+ columns: [P]
326
326
  }],
327
327
  /**
328
328
  * Break After
329
329
  * @see https://tailwindcss.com/docs/break-after
330
330
  */
331
331
  "break-after": [{
332
- "break-after": se()
332
+ "break-after": le()
333
333
  }],
334
334
  /**
335
335
  * Break Before
336
336
  * @see https://tailwindcss.com/docs/break-before
337
337
  */
338
338
  "break-before": [{
339
- "break-before": se()
339
+ "break-before": le()
340
340
  }],
341
341
  /**
342
342
  * Break Inside
@@ -395,49 +395,49 @@ const h = (e) => {
395
395
  * @see https://tailwindcss.com/docs/object-position
396
396
  */
397
397
  "object-position": [{
398
- object: [...ne(), d]
398
+ object: [...ae(), u]
399
399
  }],
400
400
  /**
401
401
  * Overflow
402
402
  * @see https://tailwindcss.com/docs/overflow
403
403
  */
404
404
  overflow: [{
405
- overflow: A()
405
+ overflow: O()
406
406
  }],
407
407
  /**
408
408
  * Overflow X
409
409
  * @see https://tailwindcss.com/docs/overflow
410
410
  */
411
411
  "overflow-x": [{
412
- "overflow-x": A()
412
+ "overflow-x": O()
413
413
  }],
414
414
  /**
415
415
  * Overflow Y
416
416
  * @see https://tailwindcss.com/docs/overflow
417
417
  */
418
418
  "overflow-y": [{
419
- "overflow-y": A()
419
+ "overflow-y": O()
420
420
  }],
421
421
  /**
422
422
  * Overscroll Behavior
423
423
  * @see https://tailwindcss.com/docs/overscroll-behavior
424
424
  */
425
425
  overscroll: [{
426
- overscroll: T()
426
+ overscroll: V()
427
427
  }],
428
428
  /**
429
429
  * Overscroll Behavior X
430
430
  * @see https://tailwindcss.com/docs/overscroll-behavior
431
431
  */
432
432
  "overscroll-x": [{
433
- "overscroll-x": T()
433
+ "overscroll-x": V()
434
434
  }],
435
435
  /**
436
436
  * Overscroll Behavior Y
437
437
  * @see https://tailwindcss.com/docs/overscroll-behavior
438
438
  */
439
439
  "overscroll-y": [{
440
- "overscroll-y": T()
440
+ "overscroll-y": V()
441
441
  }],
442
442
  /**
443
443
  * Position
@@ -517,7 +517,7 @@ const h = (e) => {
517
517
  * @see https://tailwindcss.com/docs/z-index
518
518
  */
519
519
  z: [{
520
- z: ["auto", O, d]
520
+ z: ["auto", F, u]
521
521
  }],
522
522
  // Flexbox and Grid
523
523
  /**
@@ -525,7 +525,7 @@ const h = (e) => {
525
525
  * @see https://tailwindcss.com/docs/flex-basis
526
526
  */
527
527
  basis: [{
528
- basis: P()
528
+ basis: $()
529
529
  }],
530
530
  /**
531
531
  * Flex Direction
@@ -546,28 +546,28 @@ const h = (e) => {
546
546
  * @see https://tailwindcss.com/docs/flex
547
547
  */
548
548
  flex: [{
549
- flex: ["1", "auto", "initial", "none", d]
549
+ flex: ["1", "auto", "initial", "none", u]
550
550
  }],
551
551
  /**
552
552
  * Flex Grow
553
553
  * @see https://tailwindcss.com/docs/flex-grow
554
554
  */
555
555
  grow: [{
556
- grow: $()
556
+ grow: H()
557
557
  }],
558
558
  /**
559
559
  * Flex Shrink
560
560
  * @see https://tailwindcss.com/docs/flex-shrink
561
561
  */
562
562
  shrink: [{
563
- shrink: $()
563
+ shrink: H()
564
564
  }],
565
565
  /**
566
566
  * Order
567
567
  * @see https://tailwindcss.com/docs/order
568
568
  */
569
569
  order: [{
570
- order: ["first", "last", "none", O, d]
570
+ order: ["first", "last", "none", F, u]
571
571
  }],
572
572
  /**
573
573
  * Grid Template Columns
@@ -582,8 +582,8 @@ const h = (e) => {
582
582
  */
583
583
  "col-start-end": [{
584
584
  col: ["auto", {
585
- span: ["full", O, d]
586
- }, d]
585
+ span: ["full", F, u]
586
+ }, u]
587
587
  }],
588
588
  /**
589
589
  * Grid Column Start
@@ -612,8 +612,8 @@ const h = (e) => {
612
612
  */
613
613
  "row-start-end": [{
614
614
  row: ["auto", {
615
- span: [O, d]
616
- }, d]
615
+ span: [F, u]
616
+ }, u]
617
617
  }],
618
618
  /**
619
619
  * Grid Row Start
@@ -641,42 +641,42 @@ const h = (e) => {
641
641
  * @see https://tailwindcss.com/docs/grid-auto-columns
642
642
  */
643
643
  "auto-cols": [{
644
- "auto-cols": ["auto", "min", "max", "fr", d]
644
+ "auto-cols": ["auto", "min", "max", "fr", u]
645
645
  }],
646
646
  /**
647
647
  * Grid Auto Rows
648
648
  * @see https://tailwindcss.com/docs/grid-auto-rows
649
649
  */
650
650
  "auto-rows": [{
651
- "auto-rows": ["auto", "min", "max", "fr", d]
651
+ "auto-rows": ["auto", "min", "max", "fr", u]
652
652
  }],
653
653
  /**
654
654
  * Gap
655
655
  * @see https://tailwindcss.com/docs/gap
656
656
  */
657
657
  gap: [{
658
- gap: [b]
658
+ gap: [f]
659
659
  }],
660
660
  /**
661
661
  * Gap X
662
662
  * @see https://tailwindcss.com/docs/gap
663
663
  */
664
664
  "gap-x": [{
665
- "gap-x": [b]
665
+ "gap-x": [f]
666
666
  }],
667
667
  /**
668
668
  * Gap Y
669
669
  * @see https://tailwindcss.com/docs/gap
670
670
  */
671
671
  "gap-y": [{
672
- "gap-y": [b]
672
+ "gap-y": [f]
673
673
  }],
674
674
  /**
675
675
  * Justify Content
676
676
  * @see https://tailwindcss.com/docs/justify-content
677
677
  */
678
678
  "justify-content": [{
679
- justify: ["normal", ...K()]
679
+ justify: ["normal", ...D()]
680
680
  }],
681
681
  /**
682
682
  * Justify Items
@@ -697,7 +697,7 @@ const h = (e) => {
697
697
  * @see https://tailwindcss.com/docs/align-content
698
698
  */
699
699
  "align-content": [{
700
- content: ["normal", ...K(), "baseline"]
700
+ content: ["normal", ...D(), "baseline"]
701
701
  }],
702
702
  /**
703
703
  * Align Items
@@ -718,7 +718,7 @@ const h = (e) => {
718
718
  * @see https://tailwindcss.com/docs/place-content
719
719
  */
720
720
  "place-content": [{
721
- "place-content": [...K(), "baseline"]
721
+ "place-content": [...D(), "baseline"]
722
722
  }],
723
723
  /**
724
724
  * Place Items
@@ -740,133 +740,133 @@ const h = (e) => {
740
740
  * @see https://tailwindcss.com/docs/padding
741
741
  */
742
742
  p: [{
743
- p: [N]
743
+ p: [z]
744
744
  }],
745
745
  /**
746
746
  * Padding X
747
747
  * @see https://tailwindcss.com/docs/padding
748
748
  */
749
749
  px: [{
750
- px: [N]
750
+ px: [z]
751
751
  }],
752
752
  /**
753
753
  * Padding Y
754
754
  * @see https://tailwindcss.com/docs/padding
755
755
  */
756
756
  py: [{
757
- py: [N]
757
+ py: [z]
758
758
  }],
759
759
  /**
760
760
  * Padding Start
761
761
  * @see https://tailwindcss.com/docs/padding
762
762
  */
763
763
  ps: [{
764
- ps: [N]
764
+ ps: [z]
765
765
  }],
766
766
  /**
767
767
  * Padding End
768
768
  * @see https://tailwindcss.com/docs/padding
769
769
  */
770
770
  pe: [{
771
- pe: [N]
771
+ pe: [z]
772
772
  }],
773
773
  /**
774
774
  * Padding Top
775
775
  * @see https://tailwindcss.com/docs/padding
776
776
  */
777
777
  pt: [{
778
- pt: [N]
778
+ pt: [z]
779
779
  }],
780
780
  /**
781
781
  * Padding Right
782
782
  * @see https://tailwindcss.com/docs/padding
783
783
  */
784
784
  pr: [{
785
- pr: [N]
785
+ pr: [z]
786
786
  }],
787
787
  /**
788
788
  * Padding Bottom
789
789
  * @see https://tailwindcss.com/docs/padding
790
790
  */
791
791
  pb: [{
792
- pb: [N]
792
+ pb: [z]
793
793
  }],
794
794
  /**
795
795
  * Padding Left
796
796
  * @see https://tailwindcss.com/docs/padding
797
797
  */
798
798
  pl: [{
799
- pl: [N]
799
+ pl: [z]
800
800
  }],
801
801
  /**
802
802
  * Margin
803
803
  * @see https://tailwindcss.com/docs/margin
804
804
  */
805
805
  m: [{
806
- m: [f]
806
+ m: [m]
807
807
  }],
808
808
  /**
809
809
  * Margin X
810
810
  * @see https://tailwindcss.com/docs/margin
811
811
  */
812
812
  mx: [{
813
- mx: [f]
813
+ mx: [m]
814
814
  }],
815
815
  /**
816
816
  * Margin Y
817
817
  * @see https://tailwindcss.com/docs/margin
818
818
  */
819
819
  my: [{
820
- my: [f]
820
+ my: [m]
821
821
  }],
822
822
  /**
823
823
  * Margin Start
824
824
  * @see https://tailwindcss.com/docs/margin
825
825
  */
826
826
  ms: [{
827
- ms: [f]
827
+ ms: [m]
828
828
  }],
829
829
  /**
830
830
  * Margin End
831
831
  * @see https://tailwindcss.com/docs/margin
832
832
  */
833
833
  me: [{
834
- me: [f]
834
+ me: [m]
835
835
  }],
836
836
  /**
837
837
  * Margin Top
838
838
  * @see https://tailwindcss.com/docs/margin
839
839
  */
840
840
  mt: [{
841
- mt: [f]
841
+ mt: [m]
842
842
  }],
843
843
  /**
844
844
  * Margin Right
845
845
  * @see https://tailwindcss.com/docs/margin
846
846
  */
847
847
  mr: [{
848
- mr: [f]
848
+ mr: [m]
849
849
  }],
850
850
  /**
851
851
  * Margin Bottom
852
852
  * @see https://tailwindcss.com/docs/margin
853
853
  */
854
854
  mb: [{
855
- mb: [f]
855
+ mb: [m]
856
856
  }],
857
857
  /**
858
858
  * Margin Left
859
859
  * @see https://tailwindcss.com/docs/margin
860
860
  */
861
861
  ml: [{
862
- ml: [f]
862
+ ml: [m]
863
863
  }],
864
864
  /**
865
865
  * Space Between X
866
866
  * @see https://tailwindcss.com/docs/space
867
867
  */
868
868
  "space-x": [{
869
- "space-x": [w]
869
+ "space-x": [k]
870
870
  }],
871
871
  /**
872
872
  * Space Between X Reverse
@@ -878,7 +878,7 @@ const h = (e) => {
878
878
  * @see https://tailwindcss.com/docs/space
879
879
  */
880
880
  "space-y": [{
881
- "space-y": [w]
881
+ "space-y": [k]
882
882
  }],
883
883
  /**
884
884
  * Space Between Y Reverse
@@ -891,51 +891,51 @@ const h = (e) => {
891
891
  * @see https://tailwindcss.com/docs/width
892
892
  */
893
893
  w: [{
894
- w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", d, t]
894
+ w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", u, t]
895
895
  }],
896
896
  /**
897
897
  * Min-Width
898
898
  * @see https://tailwindcss.com/docs/min-width
899
899
  */
900
900
  "min-w": [{
901
- "min-w": [d, t, "min", "max", "fit"]
901
+ "min-w": [u, t, "min", "max", "fit"]
902
902
  }],
903
903
  /**
904
904
  * Max-Width
905
905
  * @see https://tailwindcss.com/docs/max-width
906
906
  */
907
907
  "max-w": [{
908
- "max-w": [d, t, "none", "full", "min", "max", "fit", "prose", {
909
- screen: [G]
910
- }, G]
908
+ "max-w": [u, t, "none", "full", "min", "max", "fit", "prose", {
909
+ screen: [P]
910
+ }, P]
911
911
  }],
912
912
  /**
913
913
  * Height
914
914
  * @see https://tailwindcss.com/docs/height
915
915
  */
916
916
  h: [{
917
- h: [d, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
917
+ h: [u, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
918
918
  }],
919
919
  /**
920
920
  * Min-Height
921
921
  * @see https://tailwindcss.com/docs/min-height
922
922
  */
923
923
  "min-h": [{
924
- "min-h": [d, t, "min", "max", "fit", "svh", "lvh", "dvh"]
924
+ "min-h": [u, t, "min", "max", "fit", "svh", "lvh", "dvh"]
925
925
  }],
926
926
  /**
927
927
  * Max-Height
928
928
  * @see https://tailwindcss.com/docs/max-height
929
929
  */
930
930
  "max-h": [{
931
- "max-h": [d, t, "min", "max", "fit", "svh", "lvh", "dvh"]
931
+ "max-h": [u, t, "min", "max", "fit", "svh", "lvh", "dvh"]
932
932
  }],
933
933
  /**
934
934
  * Size
935
935
  * @see https://tailwindcss.com/docs/size
936
936
  */
937
937
  size: [{
938
- size: [d, t, "auto", "min", "max", "fit"]
938
+ size: [u, t, "auto", "min", "max", "fit"]
939
939
  }],
940
940
  // Typography
941
941
  /**
@@ -943,7 +943,7 @@ const h = (e) => {
943
943
  * @see https://tailwindcss.com/docs/font-size
944
944
  */
945
945
  "font-size": [{
946
- text: ["base", G, V]
946
+ text: ["base", P, L]
947
947
  }],
948
948
  /**
949
949
  * Font Smoothing
@@ -960,7 +960,7 @@ const h = (e) => {
960
960
  * @see https://tailwindcss.com/docs/font-weight
961
961
  */
962
962
  "font-weight": [{
963
- font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", Q]
963
+ font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", ee]
964
964
  }],
965
965
  /**
966
966
  * Font Family
@@ -1004,35 +1004,35 @@ const h = (e) => {
1004
1004
  * @see https://tailwindcss.com/docs/letter-spacing
1005
1005
  */
1006
1006
  tracking: [{
1007
- tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", d]
1007
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", u]
1008
1008
  }],
1009
1009
  /**
1010
1010
  * Line Clamp
1011
1011
  * @see https://tailwindcss.com/docs/line-clamp
1012
1012
  */
1013
1013
  "line-clamp": [{
1014
- "line-clamp": ["none", W, Q]
1014
+ "line-clamp": ["none", G, ee]
1015
1015
  }],
1016
1016
  /**
1017
1017
  * Line Height
1018
1018
  * @see https://tailwindcss.com/docs/line-height
1019
1019
  */
1020
1020
  leading: [{
1021
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", R, d]
1021
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", E, u]
1022
1022
  }],
1023
1023
  /**
1024
1024
  * List Style Image
1025
1025
  * @see https://tailwindcss.com/docs/list-style-image
1026
1026
  */
1027
1027
  "list-image": [{
1028
- "list-image": ["none", d]
1028
+ "list-image": ["none", u]
1029
1029
  }],
1030
1030
  /**
1031
1031
  * List Style Type
1032
1032
  * @see https://tailwindcss.com/docs/list-style-type
1033
1033
  */
1034
1034
  "list-style-type": [{
1035
- list: ["none", "disc", "decimal", d]
1035
+ list: ["none", "disc", "decimal", u]
1036
1036
  }],
1037
1037
  /**
1038
1038
  * List Style Position
@@ -1054,7 +1054,7 @@ const h = (e) => {
1054
1054
  * @see https://tailwindcss.com/docs/placeholder-opacity
1055
1055
  */
1056
1056
  "placeholder-opacity": [{
1057
- "placeholder-opacity": [v]
1057
+ "placeholder-opacity": [w]
1058
1058
  }],
1059
1059
  /**
1060
1060
  * Text Alignment
@@ -1075,7 +1075,7 @@ const h = (e) => {
1075
1075
  * @see https://tailwindcss.com/docs/text-opacity
1076
1076
  */
1077
1077
  "text-opacity": [{
1078
- "text-opacity": [v]
1078
+ "text-opacity": [w]
1079
1079
  }],
1080
1080
  /**
1081
1081
  * Text Decoration
@@ -1094,14 +1094,14 @@ const h = (e) => {
1094
1094
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1095
1095
  */
1096
1096
  "text-decoration-thickness": [{
1097
- decoration: ["auto", "from-font", R, V]
1097
+ decoration: ["auto", "from-font", E, L]
1098
1098
  }],
1099
1099
  /**
1100
1100
  * Text Underline Offset
1101
1101
  * @see https://tailwindcss.com/docs/text-underline-offset
1102
1102
  */
1103
1103
  "underline-offset": [{
1104
- "underline-offset": ["auto", R, d]
1104
+ "underline-offset": ["auto", E, u]
1105
1105
  }],
1106
1106
  /**
1107
1107
  * Text Decoration Color
@@ -1139,7 +1139,7 @@ const h = (e) => {
1139
1139
  * @see https://tailwindcss.com/docs/vertical-align
1140
1140
  */
1141
1141
  "vertical-align": [{
1142
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", d]
1142
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", u]
1143
1143
  }],
1144
1144
  /**
1145
1145
  * Whitespace
@@ -1167,7 +1167,7 @@ const h = (e) => {
1167
1167
  * @see https://tailwindcss.com/docs/content
1168
1168
  */
1169
1169
  content: [{
1170
- content: ["none", d]
1170
+ content: ["none", u]
1171
1171
  }],
1172
1172
  // Backgrounds
1173
1173
  /**
@@ -1190,7 +1190,7 @@ const h = (e) => {
1190
1190
  * @see https://tailwindcss.com/docs/background-opacity
1191
1191
  */
1192
1192
  "bg-opacity": [{
1193
- "bg-opacity": [v]
1193
+ "bg-opacity": [w]
1194
1194
  }],
1195
1195
  /**
1196
1196
  * Background Origin
@@ -1204,7 +1204,7 @@ const h = (e) => {
1204
1204
  * @see https://tailwindcss.com/docs/background-position
1205
1205
  */
1206
1206
  "bg-position": [{
1207
- bg: [...ne(), Ke]
1207
+ bg: [...ae(), st]
1208
1208
  }],
1209
1209
  /**
1210
1210
  * Background Repeat
@@ -1220,7 +1220,7 @@ const h = (e) => {
1220
1220
  * @see https://tailwindcss.com/docs/background-size
1221
1221
  */
1222
1222
  "bg-size": [{
1223
- bg: ["auto", "cover", "contain", Ze]
1223
+ bg: ["auto", "cover", "contain", ot]
1224
1224
  }],
1225
1225
  /**
1226
1226
  * Background Image
@@ -1229,7 +1229,7 @@ const h = (e) => {
1229
1229
  "bg-image": [{
1230
1230
  bg: ["none", {
1231
1231
  "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1232
- }, Ye]
1232
+ }, it]
1233
1233
  }],
1234
1234
  /**
1235
1235
  * Background Color
@@ -1243,42 +1243,42 @@ const h = (e) => {
1243
1243
  * @see https://tailwindcss.com/docs/gradient-color-stops
1244
1244
  */
1245
1245
  "gradient-from-pos": [{
1246
- from: [k]
1246
+ from: [N]
1247
1247
  }],
1248
1248
  /**
1249
1249
  * Gradient Color Stops Via Position
1250
1250
  * @see https://tailwindcss.com/docs/gradient-color-stops
1251
1251
  */
1252
1252
  "gradient-via-pos": [{
1253
- via: [k]
1253
+ via: [N]
1254
1254
  }],
1255
1255
  /**
1256
1256
  * Gradient Color Stops To Position
1257
1257
  * @see https://tailwindcss.com/docs/gradient-color-stops
1258
1258
  */
1259
1259
  "gradient-to-pos": [{
1260
- to: [k]
1260
+ to: [N]
1261
1261
  }],
1262
1262
  /**
1263
1263
  * Gradient Color Stops From
1264
1264
  * @see https://tailwindcss.com/docs/gradient-color-stops
1265
1265
  */
1266
1266
  "gradient-from": [{
1267
- from: [z]
1267
+ from: [j]
1268
1268
  }],
1269
1269
  /**
1270
1270
  * Gradient Color Stops Via
1271
1271
  * @see https://tailwindcss.com/docs/gradient-color-stops
1272
1272
  */
1273
1273
  "gradient-via": [{
1274
- via: [z]
1274
+ via: [j]
1275
1275
  }],
1276
1276
  /**
1277
1277
  * Gradient Color Stops To
1278
1278
  * @see https://tailwindcss.com/docs/gradient-color-stops
1279
1279
  */
1280
1280
  "gradient-to": [{
1281
- to: [z]
1281
+ to: [j]
1282
1282
  }],
1283
1283
  // Borders
1284
1284
  /**
@@ -1286,175 +1286,175 @@ const h = (e) => {
1286
1286
  * @see https://tailwindcss.com/docs/border-radius
1287
1287
  */
1288
1288
  rounded: [{
1289
- rounded: [o]
1289
+ rounded: [s]
1290
1290
  }],
1291
1291
  /**
1292
1292
  * Border Radius Start
1293
1293
  * @see https://tailwindcss.com/docs/border-radius
1294
1294
  */
1295
1295
  "rounded-s": [{
1296
- "rounded-s": [o]
1296
+ "rounded-s": [s]
1297
1297
  }],
1298
1298
  /**
1299
1299
  * Border Radius End
1300
1300
  * @see https://tailwindcss.com/docs/border-radius
1301
1301
  */
1302
1302
  "rounded-e": [{
1303
- "rounded-e": [o]
1303
+ "rounded-e": [s]
1304
1304
  }],
1305
1305
  /**
1306
1306
  * Border Radius Top
1307
1307
  * @see https://tailwindcss.com/docs/border-radius
1308
1308
  */
1309
1309
  "rounded-t": [{
1310
- "rounded-t": [o]
1310
+ "rounded-t": [s]
1311
1311
  }],
1312
1312
  /**
1313
1313
  * Border Radius Right
1314
1314
  * @see https://tailwindcss.com/docs/border-radius
1315
1315
  */
1316
1316
  "rounded-r": [{
1317
- "rounded-r": [o]
1317
+ "rounded-r": [s]
1318
1318
  }],
1319
1319
  /**
1320
1320
  * Border Radius Bottom
1321
1321
  * @see https://tailwindcss.com/docs/border-radius
1322
1322
  */
1323
1323
  "rounded-b": [{
1324
- "rounded-b": [o]
1324
+ "rounded-b": [s]
1325
1325
  }],
1326
1326
  /**
1327
1327
  * Border Radius Left
1328
1328
  * @see https://tailwindcss.com/docs/border-radius
1329
1329
  */
1330
1330
  "rounded-l": [{
1331
- "rounded-l": [o]
1331
+ "rounded-l": [s]
1332
1332
  }],
1333
1333
  /**
1334
1334
  * Border Radius Start Start
1335
1335
  * @see https://tailwindcss.com/docs/border-radius
1336
1336
  */
1337
1337
  "rounded-ss": [{
1338
- "rounded-ss": [o]
1338
+ "rounded-ss": [s]
1339
1339
  }],
1340
1340
  /**
1341
1341
  * Border Radius Start End
1342
1342
  * @see https://tailwindcss.com/docs/border-radius
1343
1343
  */
1344
1344
  "rounded-se": [{
1345
- "rounded-se": [o]
1345
+ "rounded-se": [s]
1346
1346
  }],
1347
1347
  /**
1348
1348
  * Border Radius End End
1349
1349
  * @see https://tailwindcss.com/docs/border-radius
1350
1350
  */
1351
1351
  "rounded-ee": [{
1352
- "rounded-ee": [o]
1352
+ "rounded-ee": [s]
1353
1353
  }],
1354
1354
  /**
1355
1355
  * Border Radius End Start
1356
1356
  * @see https://tailwindcss.com/docs/border-radius
1357
1357
  */
1358
1358
  "rounded-es": [{
1359
- "rounded-es": [o]
1359
+ "rounded-es": [s]
1360
1360
  }],
1361
1361
  /**
1362
1362
  * Border Radius Top Left
1363
1363
  * @see https://tailwindcss.com/docs/border-radius
1364
1364
  */
1365
1365
  "rounded-tl": [{
1366
- "rounded-tl": [o]
1366
+ "rounded-tl": [s]
1367
1367
  }],
1368
1368
  /**
1369
1369
  * Border Radius Top Right
1370
1370
  * @see https://tailwindcss.com/docs/border-radius
1371
1371
  */
1372
1372
  "rounded-tr": [{
1373
- "rounded-tr": [o]
1373
+ "rounded-tr": [s]
1374
1374
  }],
1375
1375
  /**
1376
1376
  * Border Radius Bottom Right
1377
1377
  * @see https://tailwindcss.com/docs/border-radius
1378
1378
  */
1379
1379
  "rounded-br": [{
1380
- "rounded-br": [o]
1380
+ "rounded-br": [s]
1381
1381
  }],
1382
1382
  /**
1383
1383
  * Border Radius Bottom Left
1384
1384
  * @see https://tailwindcss.com/docs/border-radius
1385
1385
  */
1386
1386
  "rounded-bl": [{
1387
- "rounded-bl": [o]
1387
+ "rounded-bl": [s]
1388
1388
  }],
1389
1389
  /**
1390
1390
  * Border Width
1391
1391
  * @see https://tailwindcss.com/docs/border-width
1392
1392
  */
1393
1393
  "border-w": [{
1394
- border: [a]
1394
+ border: [i]
1395
1395
  }],
1396
1396
  /**
1397
1397
  * Border Width X
1398
1398
  * @see https://tailwindcss.com/docs/border-width
1399
1399
  */
1400
1400
  "border-w-x": [{
1401
- "border-x": [a]
1401
+ "border-x": [i]
1402
1402
  }],
1403
1403
  /**
1404
1404
  * Border Width Y
1405
1405
  * @see https://tailwindcss.com/docs/border-width
1406
1406
  */
1407
1407
  "border-w-y": [{
1408
- "border-y": [a]
1408
+ "border-y": [i]
1409
1409
  }],
1410
1410
  /**
1411
1411
  * Border Width Start
1412
1412
  * @see https://tailwindcss.com/docs/border-width
1413
1413
  */
1414
1414
  "border-w-s": [{
1415
- "border-s": [a]
1415
+ "border-s": [i]
1416
1416
  }],
1417
1417
  /**
1418
1418
  * Border Width End
1419
1419
  * @see https://tailwindcss.com/docs/border-width
1420
1420
  */
1421
1421
  "border-w-e": [{
1422
- "border-e": [a]
1422
+ "border-e": [i]
1423
1423
  }],
1424
1424
  /**
1425
1425
  * Border Width Top
1426
1426
  * @see https://tailwindcss.com/docs/border-width
1427
1427
  */
1428
1428
  "border-w-t": [{
1429
- "border-t": [a]
1429
+ "border-t": [i]
1430
1430
  }],
1431
1431
  /**
1432
1432
  * Border Width Right
1433
1433
  * @see https://tailwindcss.com/docs/border-width
1434
1434
  */
1435
1435
  "border-w-r": [{
1436
- "border-r": [a]
1436
+ "border-r": [i]
1437
1437
  }],
1438
1438
  /**
1439
1439
  * Border Width Bottom
1440
1440
  * @see https://tailwindcss.com/docs/border-width
1441
1441
  */
1442
1442
  "border-w-b": [{
1443
- "border-b": [a]
1443
+ "border-b": [i]
1444
1444
  }],
1445
1445
  /**
1446
1446
  * Border Width Left
1447
1447
  * @see https://tailwindcss.com/docs/border-width
1448
1448
  */
1449
1449
  "border-w-l": [{
1450
- "border-l": [a]
1450
+ "border-l": [i]
1451
1451
  }],
1452
1452
  /**
1453
1453
  * Border Opacity
1454
1454
  * @see https://tailwindcss.com/docs/border-opacity
1455
1455
  */
1456
1456
  "border-opacity": [{
1457
- "border-opacity": [v]
1457
+ "border-opacity": [w]
1458
1458
  }],
1459
1459
  /**
1460
1460
  * Border Style
@@ -1468,7 +1468,7 @@ const h = (e) => {
1468
1468
  * @see https://tailwindcss.com/docs/divide-width
1469
1469
  */
1470
1470
  "divide-x": [{
1471
- "divide-x": [a]
1471
+ "divide-x": [i]
1472
1472
  }],
1473
1473
  /**
1474
1474
  * Divide Width X Reverse
@@ -1480,7 +1480,7 @@ const h = (e) => {
1480
1480
  * @see https://tailwindcss.com/docs/divide-width
1481
1481
  */
1482
1482
  "divide-y": [{
1483
- "divide-y": [a]
1483
+ "divide-y": [i]
1484
1484
  }],
1485
1485
  /**
1486
1486
  * Divide Width Y Reverse
@@ -1492,7 +1492,7 @@ const h = (e) => {
1492
1492
  * @see https://tailwindcss.com/docs/divide-opacity
1493
1493
  */
1494
1494
  "divide-opacity": [{
1495
- "divide-opacity": [v]
1495
+ "divide-opacity": [w]
1496
1496
  }],
1497
1497
  /**
1498
1498
  * Divide Style
@@ -1506,70 +1506,70 @@ const h = (e) => {
1506
1506
  * @see https://tailwindcss.com/docs/border-color
1507
1507
  */
1508
1508
  "border-color": [{
1509
- border: [s]
1509
+ border: [a]
1510
1510
  }],
1511
1511
  /**
1512
1512
  * Border Color X
1513
1513
  * @see https://tailwindcss.com/docs/border-color
1514
1514
  */
1515
1515
  "border-color-x": [{
1516
- "border-x": [s]
1516
+ "border-x": [a]
1517
1517
  }],
1518
1518
  /**
1519
1519
  * Border Color Y
1520
1520
  * @see https://tailwindcss.com/docs/border-color
1521
1521
  */
1522
1522
  "border-color-y": [{
1523
- "border-y": [s]
1523
+ "border-y": [a]
1524
1524
  }],
1525
1525
  /**
1526
1526
  * Border Color S
1527
1527
  * @see https://tailwindcss.com/docs/border-color
1528
1528
  */
1529
1529
  "border-color-s": [{
1530
- "border-s": [s]
1530
+ "border-s": [a]
1531
1531
  }],
1532
1532
  /**
1533
1533
  * Border Color E
1534
1534
  * @see https://tailwindcss.com/docs/border-color
1535
1535
  */
1536
1536
  "border-color-e": [{
1537
- "border-e": [s]
1537
+ "border-e": [a]
1538
1538
  }],
1539
1539
  /**
1540
1540
  * Border Color Top
1541
1541
  * @see https://tailwindcss.com/docs/border-color
1542
1542
  */
1543
1543
  "border-color-t": [{
1544
- "border-t": [s]
1544
+ "border-t": [a]
1545
1545
  }],
1546
1546
  /**
1547
1547
  * Border Color Right
1548
1548
  * @see https://tailwindcss.com/docs/border-color
1549
1549
  */
1550
1550
  "border-color-r": [{
1551
- "border-r": [s]
1551
+ "border-r": [a]
1552
1552
  }],
1553
1553
  /**
1554
1554
  * Border Color Bottom
1555
1555
  * @see https://tailwindcss.com/docs/border-color
1556
1556
  */
1557
1557
  "border-color-b": [{
1558
- "border-b": [s]
1558
+ "border-b": [a]
1559
1559
  }],
1560
1560
  /**
1561
1561
  * Border Color Left
1562
1562
  * @see https://tailwindcss.com/docs/border-color
1563
1563
  */
1564
1564
  "border-color-l": [{
1565
- "border-l": [s]
1565
+ "border-l": [a]
1566
1566
  }],
1567
1567
  /**
1568
1568
  * Divide Color
1569
1569
  * @see https://tailwindcss.com/docs/divide-color
1570
1570
  */
1571
1571
  "divide-color": [{
1572
- divide: [s]
1572
+ divide: [a]
1573
1573
  }],
1574
1574
  /**
1575
1575
  * Outline Style
@@ -1583,14 +1583,14 @@ const h = (e) => {
1583
1583
  * @see https://tailwindcss.com/docs/outline-offset
1584
1584
  */
1585
1585
  "outline-offset": [{
1586
- "outline-offset": [R, d]
1586
+ "outline-offset": [E, u]
1587
1587
  }],
1588
1588
  /**
1589
1589
  * Outline Width
1590
1590
  * @see https://tailwindcss.com/docs/outline-width
1591
1591
  */
1592
1592
  "outline-w": [{
1593
- outline: [R, V]
1593
+ outline: [E, L]
1594
1594
  }],
1595
1595
  /**
1596
1596
  * Outline Color
@@ -1604,7 +1604,7 @@ const h = (e) => {
1604
1604
  * @see https://tailwindcss.com/docs/ring-width
1605
1605
  */
1606
1606
  "ring-w": [{
1607
- ring: re()
1607
+ ring: se()
1608
1608
  }],
1609
1609
  /**
1610
1610
  * Ring Width Inset
@@ -1623,14 +1623,14 @@ const h = (e) => {
1623
1623
  * @see https://tailwindcss.com/docs/ring-opacity
1624
1624
  */
1625
1625
  "ring-opacity": [{
1626
- "ring-opacity": [v]
1626
+ "ring-opacity": [w]
1627
1627
  }],
1628
1628
  /**
1629
1629
  * Ring Offset Width
1630
1630
  * @see https://tailwindcss.com/docs/ring-offset-width
1631
1631
  */
1632
1632
  "ring-offset-w": [{
1633
- "ring-offset": [R, V]
1633
+ "ring-offset": [E, L]
1634
1634
  }],
1635
1635
  /**
1636
1636
  * Ring Offset Color
@@ -1645,7 +1645,7 @@ const h = (e) => {
1645
1645
  * @see https://tailwindcss.com/docs/box-shadow
1646
1646
  */
1647
1647
  shadow: [{
1648
- shadow: ["", "inner", "none", G, De]
1648
+ shadow: ["", "inner", "none", P, lt]
1649
1649
  }],
1650
1650
  /**
1651
1651
  * Box Shadow Color
@@ -1659,21 +1659,21 @@ const h = (e) => {
1659
1659
  * @see https://tailwindcss.com/docs/opacity
1660
1660
  */
1661
1661
  opacity: [{
1662
- opacity: [v]
1662
+ opacity: [w]
1663
1663
  }],
1664
1664
  /**
1665
1665
  * Mix Blend Mode
1666
1666
  * @see https://tailwindcss.com/docs/mix-blend-mode
1667
1667
  */
1668
1668
  "mix-blend": [{
1669
- "mix-blend": [...oe(), "plus-lighter", "plus-darker"]
1669
+ "mix-blend": [...ie(), "plus-lighter", "plus-darker"]
1670
1670
  }],
1671
1671
  /**
1672
1672
  * Background Blend Mode
1673
1673
  * @see https://tailwindcss.com/docs/background-blend-mode
1674
1674
  */
1675
1675
  "bg-blend": [{
1676
- "bg-blend": oe()
1676
+ "bg-blend": ie()
1677
1677
  }],
1678
1678
  // Filters
1679
1679
  /**
@@ -1703,14 +1703,14 @@ const h = (e) => {
1703
1703
  * @see https://tailwindcss.com/docs/contrast
1704
1704
  */
1705
1705
  contrast: [{
1706
- contrast: [u]
1706
+ contrast: [d]
1707
1707
  }],
1708
1708
  /**
1709
1709
  * Drop Shadow
1710
1710
  * @see https://tailwindcss.com/docs/drop-shadow
1711
1711
  */
1712
1712
  "drop-shadow": [{
1713
- "drop-shadow": ["", "none", G, d]
1713
+ "drop-shadow": ["", "none", P, u]
1714
1714
  }],
1715
1715
  /**
1716
1716
  * Grayscale
@@ -1731,7 +1731,7 @@ const h = (e) => {
1731
1731
  * @see https://tailwindcss.com/docs/invert
1732
1732
  */
1733
1733
  invert: [{
1734
- invert: [m]
1734
+ invert: [b]
1735
1735
  }],
1736
1736
  /**
1737
1737
  * Saturate
@@ -1745,7 +1745,7 @@ const h = (e) => {
1745
1745
  * @see https://tailwindcss.com/docs/sepia
1746
1746
  */
1747
1747
  sepia: [{
1748
- sepia: [L]
1748
+ sepia: [R]
1749
1749
  }],
1750
1750
  /**
1751
1751
  * Backdrop Filter
@@ -1774,7 +1774,7 @@ const h = (e) => {
1774
1774
  * @see https://tailwindcss.com/docs/backdrop-contrast
1775
1775
  */
1776
1776
  "backdrop-contrast": [{
1777
- "backdrop-contrast": [u]
1777
+ "backdrop-contrast": [d]
1778
1778
  }],
1779
1779
  /**
1780
1780
  * Backdrop Grayscale
@@ -1795,14 +1795,14 @@ const h = (e) => {
1795
1795
  * @see https://tailwindcss.com/docs/backdrop-invert
1796
1796
  */
1797
1797
  "backdrop-invert": [{
1798
- "backdrop-invert": [m]
1798
+ "backdrop-invert": [b]
1799
1799
  }],
1800
1800
  /**
1801
1801
  * Backdrop Opacity
1802
1802
  * @see https://tailwindcss.com/docs/backdrop-opacity
1803
1803
  */
1804
1804
  "backdrop-opacity": [{
1805
- "backdrop-opacity": [v]
1805
+ "backdrop-opacity": [w]
1806
1806
  }],
1807
1807
  /**
1808
1808
  * Backdrop Saturate
@@ -1816,7 +1816,7 @@ const h = (e) => {
1816
1816
  * @see https://tailwindcss.com/docs/backdrop-sepia
1817
1817
  */
1818
1818
  "backdrop-sepia": [{
1819
- "backdrop-sepia": [L]
1819
+ "backdrop-sepia": [R]
1820
1820
  }],
1821
1821
  // Tables
1822
1822
  /**
@@ -1831,21 +1831,21 @@ const h = (e) => {
1831
1831
  * @see https://tailwindcss.com/docs/border-spacing
1832
1832
  */
1833
1833
  "border-spacing": [{
1834
- "border-spacing": [i]
1834
+ "border-spacing": [l]
1835
1835
  }],
1836
1836
  /**
1837
1837
  * Border Spacing X
1838
1838
  * @see https://tailwindcss.com/docs/border-spacing
1839
1839
  */
1840
1840
  "border-spacing-x": [{
1841
- "border-spacing-x": [i]
1841
+ "border-spacing-x": [l]
1842
1842
  }],
1843
1843
  /**
1844
1844
  * Border Spacing Y
1845
1845
  * @see https://tailwindcss.com/docs/border-spacing
1846
1846
  */
1847
1847
  "border-spacing-y": [{
1848
- "border-spacing-y": [i]
1848
+ "border-spacing-y": [l]
1849
1849
  }],
1850
1850
  /**
1851
1851
  * Table Layout
@@ -1867,35 +1867,35 @@ const h = (e) => {
1867
1867
  * @see https://tailwindcss.com/docs/transition-property
1868
1868
  */
1869
1869
  transition: [{
1870
- transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", d]
1870
+ transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", u]
1871
1871
  }],
1872
1872
  /**
1873
1873
  * Transition Duration
1874
1874
  * @see https://tailwindcss.com/docs/transition-duration
1875
1875
  */
1876
1876
  duration: [{
1877
- duration: I()
1877
+ duration: A()
1878
1878
  }],
1879
1879
  /**
1880
1880
  * Transition Timing Function
1881
1881
  * @see https://tailwindcss.com/docs/transition-timing-function
1882
1882
  */
1883
1883
  ease: [{
1884
- ease: ["linear", "in", "out", "in-out", d]
1884
+ ease: ["linear", "in", "out", "in-out", u]
1885
1885
  }],
1886
1886
  /**
1887
1887
  * Transition Delay
1888
1888
  * @see https://tailwindcss.com/docs/transition-delay
1889
1889
  */
1890
1890
  delay: [{
1891
- delay: I()
1891
+ delay: A()
1892
1892
  }],
1893
1893
  /**
1894
1894
  * Animation
1895
1895
  * @see https://tailwindcss.com/docs/animation
1896
1896
  */
1897
1897
  animate: [{
1898
- animate: ["none", "spin", "ping", "pulse", "bounce", d]
1898
+ animate: ["none", "spin", "ping", "pulse", "bounce", u]
1899
1899
  }],
1900
1900
  // Transforms
1901
1901
  /**
@@ -1910,28 +1910,28 @@ const h = (e) => {
1910
1910
  * @see https://tailwindcss.com/docs/scale
1911
1911
  */
1912
1912
  scale: [{
1913
- scale: [j]
1913
+ scale: [I]
1914
1914
  }],
1915
1915
  /**
1916
1916
  * Scale X
1917
1917
  * @see https://tailwindcss.com/docs/scale
1918
1918
  */
1919
1919
  "scale-x": [{
1920
- "scale-x": [j]
1920
+ "scale-x": [I]
1921
1921
  }],
1922
1922
  /**
1923
1923
  * Scale Y
1924
1924
  * @see https://tailwindcss.com/docs/scale
1925
1925
  */
1926
1926
  "scale-y": [{
1927
- "scale-y": [j]
1927
+ "scale-y": [I]
1928
1928
  }],
1929
1929
  /**
1930
1930
  * Rotate
1931
1931
  * @see https://tailwindcss.com/docs/rotate
1932
1932
  */
1933
1933
  rotate: [{
1934
- rotate: [O, d]
1934
+ rotate: [F, u]
1935
1935
  }],
1936
1936
  /**
1937
1937
  * Translate X
@@ -1952,21 +1952,21 @@ const h = (e) => {
1952
1952
  * @see https://tailwindcss.com/docs/skew
1953
1953
  */
1954
1954
  "skew-x": [{
1955
- "skew-x": [q]
1955
+ "skew-x": [K]
1956
1956
  }],
1957
1957
  /**
1958
1958
  * Skew Y
1959
1959
  * @see https://tailwindcss.com/docs/skew
1960
1960
  */
1961
1961
  "skew-y": [{
1962
- "skew-y": [q]
1962
+ "skew-y": [K]
1963
1963
  }],
1964
1964
  /**
1965
1965
  * Transform Origin
1966
1966
  * @see https://tailwindcss.com/docs/transform-origin
1967
1967
  */
1968
1968
  "transform-origin": [{
1969
- origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", d]
1969
+ origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", u]
1970
1970
  }],
1971
1971
  // Interactivity
1972
1972
  /**
@@ -1988,7 +1988,7 @@ const h = (e) => {
1988
1988
  * @see https://tailwindcss.com/docs/cursor
1989
1989
  */
1990
1990
  cursor: [{
1991
- 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", d]
1991
+ 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", u]
1992
1992
  }],
1993
1993
  /**
1994
1994
  * Caret Color
@@ -2210,7 +2210,7 @@ const h = (e) => {
2210
2210
  * @see https://tailwindcss.com/docs/will-change
2211
2211
  */
2212
2212
  "will-change": [{
2213
- "will-change": ["auto", "scroll", "contents", "transform", d]
2213
+ "will-change": ["auto", "scroll", "contents", "transform", u]
2214
2214
  }],
2215
2215
  // SVG
2216
2216
  /**
@@ -2225,7 +2225,7 @@ const h = (e) => {
2225
2225
  * @see https://tailwindcss.com/docs/stroke-width
2226
2226
  */
2227
2227
  "stroke-w": [{
2228
- stroke: [R, V, Q]
2228
+ stroke: [E, L, ee]
2229
2229
  }],
2230
2230
  /**
2231
2231
  * Stroke
@@ -2300,11 +2300,11 @@ const h = (e) => {
2300
2300
  "font-size": ["leading"]
2301
2301
  }
2302
2302
  };
2303
- }, ot = /* @__PURE__ */ Be(nt);
2304
- function x(...e) {
2305
- return ot(ge(e));
2303
+ }, ft = /* @__PURE__ */ Je(pt);
2304
+ function h(...e) {
2305
+ return ft(ve(e));
2306
2306
  }
2307
- const st = H(
2307
+ const bt = T(
2308
2308
  "inline-flex items-center justify-center gap-2 rounded-lg font-sans font-normal transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-agilys-primary disabled:pointer-events-none disabled:opacity-50",
2309
2309
  {
2310
2310
  variants: {
@@ -2328,29 +2328,29 @@ const st = H(
2328
2328
  size: "md"
2329
2329
  }
2330
2330
  }
2331
- ), at = E(
2331
+ ), mt = S(
2332
2332
  ({
2333
2333
  className: e,
2334
2334
  variant: t,
2335
2335
  size: r,
2336
2336
  fullWidth: n,
2337
- isLoading: s = !1,
2338
- leftIcon: o,
2339
- disabled: i,
2340
- children: a,
2341
- ...u
2337
+ isLoading: a = !1,
2338
+ leftIcon: s,
2339
+ disabled: l,
2340
+ children: i,
2341
+ ...d
2342
2342
  }, c) => {
2343
2343
  const p = r === "icon";
2344
- return /* @__PURE__ */ C(
2344
+ return /* @__PURE__ */ v(
2345
2345
  "button",
2346
2346
  {
2347
2347
  ref: c,
2348
- className: x(st({ variant: t, size: r, fullWidth: n }), e),
2349
- disabled: i || s,
2350
- "aria-busy": s,
2351
- ...u,
2348
+ className: h(bt({ variant: t, size: r, fullWidth: n }), e),
2349
+ disabled: l || a,
2350
+ "aria-busy": a,
2351
+ ...d,
2352
2352
  children: [
2353
- s && /* @__PURE__ */ C(
2353
+ a && /* @__PURE__ */ v(
2354
2354
  "svg",
2355
2355
  {
2356
2356
  className: "size-[18px] animate-spin",
@@ -2358,7 +2358,7 @@ const st = H(
2358
2358
  fill: "none",
2359
2359
  "aria-hidden": "true",
2360
2360
  children: [
2361
- /* @__PURE__ */ l(
2361
+ /* @__PURE__ */ o(
2362
2362
  "circle",
2363
2363
  {
2364
2364
  className: "opacity-25",
@@ -2369,7 +2369,7 @@ const st = H(
2369
2369
  strokeWidth: "4"
2370
2370
  }
2371
2371
  ),
2372
- /* @__PURE__ */ l(
2372
+ /* @__PURE__ */ o(
2373
2373
  "path",
2374
2374
  {
2375
2375
  className: "opacity-75",
@@ -2380,16 +2380,64 @@ const st = H(
2380
2380
  ]
2381
2381
  }
2382
2382
  ),
2383
- !s && o && /* @__PURE__ */ l("span", { className: "size-6 shrink-0 [&>svg]:size-full", "aria-hidden": "true", children: o }),
2384
- p ? /* @__PURE__ */ l("span", { className: "size-5 shrink-0 [&>svg]:size-full", children: a }) : a
2383
+ !a && s && /* @__PURE__ */ o("span", { className: "size-6 shrink-0 [&>svg]:size-full", "aria-hidden": "true", children: s }),
2384
+ p ? /* @__PURE__ */ o("span", { className: "size-5 shrink-0 [&>svg]:size-full", children: i }) : i
2385
2385
  ]
2386
2386
  }
2387
2387
  );
2388
2388
  }
2389
2389
  );
2390
- at.displayName = "Button";
2391
- const it = H(
2392
- "inline-flex items-center justify-center h-6 font-sans text-sm font-normal leading-6 whitespace-nowrap",
2390
+ mt.displayName = "Button";
2391
+ const gt = T("font-sans text-gray-900", {
2392
+ variants: {
2393
+ variant: {
2394
+ h1: "text-3xl leading-tight font-bold",
2395
+ h2: "text-2xl leading-tight font-bold",
2396
+ h3: "text-xl leading-snug font-semibold",
2397
+ h4: "text-lg leading-snug font-semibold",
2398
+ h5: "text-base leading-snug font-medium",
2399
+ h6: "text-sm leading-snug font-medium",
2400
+ body: "text-sm leading-relaxed font-normal",
2401
+ bodySm: "text-xs leading-relaxed font-normal",
2402
+ caption: "text-[11px] leading-normal font-normal"
2403
+ },
2404
+ weight: {
2405
+ regular: "font-normal",
2406
+ medium: "font-medium",
2407
+ semibold: "font-semibold",
2408
+ bold: "font-bold"
2409
+ }
2410
+ },
2411
+ defaultVariants: {
2412
+ variant: "body"
2413
+ }
2414
+ }), ht = {
2415
+ h1: "h1",
2416
+ h2: "h2",
2417
+ h3: "h3",
2418
+ h4: "h4",
2419
+ h5: "h5",
2420
+ h6: "h6",
2421
+ body: "p",
2422
+ bodySm: "p",
2423
+ caption: "span"
2424
+ }, C = S(
2425
+ ({ className: e, variant: t = "body", weight: r, as: n, children: a, ...s }, l) => {
2426
+ const i = n ?? ht[t ?? "body"];
2427
+ return Ae(
2428
+ i,
2429
+ {
2430
+ ref: l,
2431
+ className: h(gt({ variant: t, weight: r }), e),
2432
+ ...s
2433
+ },
2434
+ a
2435
+ );
2436
+ }
2437
+ );
2438
+ C.displayName = "Text";
2439
+ const xt = T(
2440
+ "inline-flex items-center justify-center h-6 whitespace-nowrap",
2393
2441
  {
2394
2442
  variants: {
2395
2443
  variant: {
@@ -2418,115 +2466,369 @@ const it = H(
2418
2466
  status: "default"
2419
2467
  }
2420
2468
  }
2421
- ), lt = {
2469
+ ), yt = {
2422
2470
  default: "bg-agilys-primary",
2423
2471
  success: "bg-success-60",
2424
2472
  alert: "bg-warning-accent",
2425
2473
  error: "bg-danger-60"
2426
- }, ct = E(
2427
- ({ className: e, variant: t = "filled", status: r = "default", children: n, ...s }, o) => /* @__PURE__ */ C(
2474
+ }, vt = S(
2475
+ ({ className: e, variant: t = "filled", status: r = "default", children: n, ...a }, s) => /* @__PURE__ */ v(
2428
2476
  "span",
2429
2477
  {
2430
- ref: o,
2431
- className: x(it({ variant: t, status: r }), e),
2432
- ...s,
2478
+ ref: s,
2479
+ className: h(xt({ variant: t, status: r }), e),
2480
+ ...a,
2433
2481
  children: [
2434
- t === "dot" && /* @__PURE__ */ l(
2482
+ t === "dot" && /* @__PURE__ */ o(
2435
2483
  "span",
2436
2484
  {
2437
- className: x("size-2 shrink-0 rounded-full", lt[r ?? "default"]),
2485
+ className: h("size-2 shrink-0 rounded-full", yt[r ?? "default"]),
2438
2486
  "aria-hidden": "true"
2439
2487
  }
2440
2488
  ),
2441
- n
2489
+ /* @__PURE__ */ o(C, { as: "span", variant: "body", className: "text-inherit", children: n })
2442
2490
  ]
2443
2491
  }
2444
2492
  )
2445
2493
  );
2446
- ct.displayName = "Badge";
2447
- const dt = H("font-sans text-gray-900", {
2494
+ vt.displayName = "Badge";
2495
+ const wt = T("flex items-start gap-2 rounded-lg p-5 font-sans", {
2448
2496
  variants: {
2449
2497
  variant: {
2450
- h1: "text-3xl leading-tight font-bold",
2451
- h2: "text-2xl leading-tight font-bold",
2452
- h3: "text-xl leading-snug font-semibold",
2453
- h4: "text-lg leading-snug font-semibold",
2454
- h5: "text-base leading-snug font-medium",
2455
- h6: "text-sm leading-snug font-medium",
2456
- body: "text-sm leading-relaxed font-normal",
2457
- bodySm: "text-xs leading-relaxed font-normal",
2458
- caption: "text-[11px] leading-normal font-normal"
2459
- },
2460
- weight: {
2461
- regular: "font-normal",
2462
- medium: "font-medium",
2463
- semibold: "font-semibold",
2464
- bold: "font-bold"
2498
+ default: "border border-neutral-divider-secondary bg-white shadow-[0px_0px_1px_0px_rgba(66,74,98,0.09),0px_2px_2px_0px_rgba(66,74,98,0.04)]",
2499
+ success: "border border-transparent bg-success-10",
2500
+ warning: "border border-transparent bg-warning-light",
2501
+ error: "border border-transparent bg-danger-10",
2502
+ info: "border border-transparent bg-primary-50"
2465
2503
  }
2466
2504
  },
2467
2505
  defaultVariants: {
2468
- variant: "body"
2506
+ variant: "default"
2469
2507
  }
2470
- }), ut = {
2471
- h1: "h1",
2472
- h2: "h2",
2473
- h3: "h3",
2474
- h4: "h4",
2475
- h5: "h5",
2476
- h6: "h6",
2477
- body: "p",
2478
- bodySm: "p",
2479
- caption: "span"
2480
- }, S = E(
2481
- ({ className: e, variant: t = "body", weight: r, as: n, children: s, ...o }, i) => {
2482
- const a = n ?? ut[t ?? "body"];
2483
- return Ne(
2484
- a,
2508
+ }), kt = {
2509
+ default: "text-neutral-text-primary",
2510
+ success: "text-success-60",
2511
+ warning: "text-warning-dark",
2512
+ error: "text-danger-dark",
2513
+ info: "text-primary-700"
2514
+ };
2515
+ function Nt() {
2516
+ return /* @__PURE__ */ v("svg", { className: "size-full", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
2517
+ /* @__PURE__ */ o("circle", { cx: "12", cy: "12", r: "9", stroke: "currentColor", strokeWidth: "2" }),
2518
+ /* @__PURE__ */ o("path", { d: "M12 11v5", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }),
2519
+ /* @__PURE__ */ o("circle", { cx: "12", cy: "8", r: "1", fill: "currentColor" })
2520
+ ] });
2521
+ }
2522
+ function zt() {
2523
+ return /* @__PURE__ */ v("svg", { className: "size-full", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
2524
+ /* @__PURE__ */ o("circle", { cx: "12", cy: "12", r: "9", stroke: "currentColor", strokeWidth: "2" }),
2525
+ /* @__PURE__ */ o(
2526
+ "path",
2485
2527
  {
2486
- ref: i,
2487
- className: x(dt({ variant: t, weight: r }), e),
2488
- ...o
2489
- },
2490
- s
2491
- );
2528
+ d: "M8.5 12.5l2.5 2.5 4.5-5",
2529
+ stroke: "currentColor",
2530
+ strokeWidth: "2",
2531
+ strokeLinecap: "round",
2532
+ strokeLinejoin: "round"
2533
+ }
2534
+ )
2535
+ ] });
2536
+ }
2537
+ function Ct() {
2538
+ return /* @__PURE__ */ v("svg", { className: "size-full", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
2539
+ /* @__PURE__ */ o(
2540
+ "path",
2541
+ {
2542
+ d: "M12 3.5L21 20H3L12 3.5z",
2543
+ stroke: "currentColor",
2544
+ strokeWidth: "2",
2545
+ strokeLinejoin: "round"
2546
+ }
2547
+ ),
2548
+ /* @__PURE__ */ o("path", { d: "M12 10v4", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round" }),
2549
+ /* @__PURE__ */ o("circle", { cx: "12", cy: "17", r: "1", fill: "currentColor" })
2550
+ ] });
2551
+ }
2552
+ function jt() {
2553
+ return /* @__PURE__ */ v("svg", { className: "size-full", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
2554
+ /* @__PURE__ */ o("circle", { cx: "12", cy: "12", r: "9", stroke: "currentColor", strokeWidth: "2" }),
2555
+ /* @__PURE__ */ o(
2556
+ "path",
2557
+ {
2558
+ d: "M9.5 9.5l5 5m0-5l-5 5",
2559
+ stroke: "currentColor",
2560
+ strokeWidth: "2",
2561
+ strokeLinecap: "round"
2562
+ }
2563
+ )
2564
+ ] });
2565
+ }
2566
+ function _t() {
2567
+ return /* @__PURE__ */ o("svg", { className: "size-full", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ o(
2568
+ "path",
2569
+ {
2570
+ d: "M18 6L6 18M6 6l12 12",
2571
+ stroke: "currentColor",
2572
+ strokeWidth: "2",
2573
+ strokeLinecap: "round"
2574
+ }
2575
+ ) });
2576
+ }
2577
+ const St = {
2578
+ success: /* @__PURE__ */ o(zt, {}),
2579
+ warning: /* @__PURE__ */ o(Ct, {}),
2580
+ error: /* @__PURE__ */ o(jt, {}),
2581
+ info: /* @__PURE__ */ o(Nt, {})
2582
+ }, je = S(
2583
+ ({
2584
+ className: e,
2585
+ variant: t = "default",
2586
+ icon: r,
2587
+ title: n,
2588
+ description: a,
2589
+ action: s,
2590
+ onClose: l,
2591
+ children: i,
2592
+ ...d
2593
+ }, c) => {
2594
+ const p = t ?? "default", b = r === void 0 ? St[p] : r, f = kt[p];
2595
+ return /* @__PURE__ */ v("div", { ref: c, className: h(wt({ variant: t }), e), ...d, children: [
2596
+ b && /* @__PURE__ */ o("span", { className: h("size-6 shrink-0", f), "aria-hidden": "true", children: b }),
2597
+ /* @__PURE__ */ v("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
2598
+ n && /* @__PURE__ */ o(C, { as: "div", variant: "body", weight: "semibold", className: f, children: n }),
2599
+ a && /* @__PURE__ */ o(C, { as: "div", variant: "bodySm", className: "text-neutral-text-secondary", children: a }),
2600
+ i
2601
+ ] }),
2602
+ s && /* @__PURE__ */ o("div", { className: "flex shrink-0 items-center", children: s }),
2603
+ l && /* @__PURE__ */ o(
2604
+ "button",
2605
+ {
2606
+ type: "button",
2607
+ onClick: l,
2608
+ "aria-label": "Fechar",
2609
+ className: h(
2610
+ "flex size-5 shrink-0 items-center justify-center rounded-md transition-colors hover:opacity-70 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-agilys-primary",
2611
+ f
2612
+ ),
2613
+ children: /* @__PURE__ */ o(_t, {})
2614
+ }
2615
+ )
2616
+ ] });
2492
2617
  }
2493
2618
  );
2494
- S.displayName = "Typography";
2495
- function pt(e, t) {
2496
- return t.split(".").reduce((r, n) => r == null ? void 0 : r[n], e);
2619
+ je.displayName = "Card";
2620
+ var _e = {
2621
+ color: void 0,
2622
+ size: void 0,
2623
+ className: void 0,
2624
+ style: void 0,
2625
+ attr: void 0
2626
+ }, be = W.createContext && /* @__PURE__ */ W.createContext(_e), Mt = ["attr", "size", "title"];
2627
+ function It(e, t) {
2628
+ if (e == null) return {};
2629
+ var r, n, a = Ot(e, t);
2630
+ if (Object.getOwnPropertySymbols) {
2631
+ var s = Object.getOwnPropertySymbols(e);
2632
+ for (n = 0; n < s.length; n++) r = s[n], t.indexOf(r) === -1 && {}.propertyIsEnumerable.call(e, r) && (a[r] = e[r]);
2633
+ }
2634
+ return a;
2635
+ }
2636
+ function Ot(e, t) {
2637
+ if (e == null) return {};
2638
+ var r = {};
2639
+ for (var n in e) if ({}.hasOwnProperty.call(e, n)) {
2640
+ if (t.indexOf(n) !== -1) continue;
2641
+ r[n] = e[n];
2642
+ }
2643
+ return r;
2644
+ }
2645
+ function Q() {
2646
+ return Q = Object.assign ? Object.assign.bind() : function(e) {
2647
+ for (var t = 1; t < arguments.length; t++) {
2648
+ var r = arguments[t];
2649
+ for (var n in r) ({}).hasOwnProperty.call(r, n) && (e[n] = r[n]);
2650
+ }
2651
+ return e;
2652
+ }, Q.apply(null, arguments);
2653
+ }
2654
+ function me(e, t) {
2655
+ var r = Object.keys(e);
2656
+ if (Object.getOwnPropertySymbols) {
2657
+ var n = Object.getOwnPropertySymbols(e);
2658
+ t && (n = n.filter(function(a) {
2659
+ return Object.getOwnPropertyDescriptor(e, a).enumerable;
2660
+ })), r.push.apply(r, n);
2661
+ }
2662
+ return r;
2497
2663
  }
2498
- function ft(e, t) {
2664
+ function Y(e) {
2665
+ for (var t = 1; t < arguments.length; t++) {
2666
+ var r = arguments[t] != null ? arguments[t] : {};
2667
+ t % 2 ? me(Object(r), !0).forEach(function(n) {
2668
+ At(e, n, r[n]);
2669
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : me(Object(r)).forEach(function(n) {
2670
+ Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
2671
+ });
2672
+ }
2673
+ return e;
2674
+ }
2675
+ function At(e, t, r) {
2676
+ return (t = Et(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
2677
+ }
2678
+ function Et(e) {
2679
+ var t = Lt(e, "string");
2680
+ return typeof t == "symbol" ? t : t + "";
2681
+ }
2682
+ function Lt(e, t) {
2683
+ if (typeof e != "object" || !e) return e;
2684
+ var r = e[Symbol.toPrimitive];
2685
+ if (r !== void 0) {
2686
+ var n = r.call(e, t);
2687
+ if (typeof n != "object") return n;
2688
+ throw new TypeError("@@toPrimitive must return a primitive value.");
2689
+ }
2690
+ return (t === "string" ? String : Number)(e);
2691
+ }
2692
+ function Se(e) {
2693
+ return e && e.map((t, r) => /* @__PURE__ */ W.createElement(t.tag, Y({
2694
+ key: r
2695
+ }, t.attr), Se(t.child)));
2696
+ }
2697
+ function Me(e) {
2698
+ return (t) => /* @__PURE__ */ W.createElement(Pt, Q({
2699
+ attr: Y({}, e.attr)
2700
+ }, t), Se(e.child));
2701
+ }
2702
+ function Pt(e) {
2703
+ var t = (r) => {
2704
+ var n = e.attr, a = e.size, s = e.title, l = It(e, Mt), i = a || r.size || "1em", d;
2705
+ return r.className && (d = r.className), e.className && (d = (d ? d + " " : "") + e.className), /* @__PURE__ */ W.createElement("svg", Q({
2706
+ stroke: "currentColor",
2707
+ fill: "currentColor",
2708
+ strokeWidth: "0"
2709
+ }, r.attr, n, l, {
2710
+ className: d,
2711
+ style: Y(Y({
2712
+ color: e.color || r.color
2713
+ }, r.style), e.style),
2714
+ height: i,
2715
+ width: i,
2716
+ xmlns: "http://www.w3.org/2000/svg"
2717
+ }), s && /* @__PURE__ */ W.createElement("title", null, s), e.children);
2718
+ };
2719
+ return be !== void 0 ? /* @__PURE__ */ W.createElement(be.Consumer, null, (r) => t(r)) : t(_e);
2720
+ }
2721
+ function Vt(e) {
2722
+ return Me({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { fill: "none", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "32", d: "M80 152v256a40.12 40.12 0 0 0 40 40h272a40.12 40.12 0 0 0 40-40V152" }, child: [] }, { tag: "rect", attr: { width: "416", height: "80", x: "48", y: "64", fill: "none", strokeLinejoin: "round", strokeWidth: "32", rx: "28", ry: "28" }, child: [] }, { tag: "path", attr: { fill: "none", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "32", d: "m320 304-64 64-64-64m64 41.89V224" }, child: [] }] })(e);
2723
+ }
2724
+ function Wt(e) {
2725
+ return Me({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M16 9v10H8V9zm-1.5-6h-5l-1 1H5v2h14V4h-3.5zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2z" }, child: [] }] })(e);
2726
+ }
2727
+ const Rt = S(
2728
+ ({ className: e, title: t, body: r, timestamp: n, read: a = !1, onArchive: s, onDelete: l, ...i }, d) => /* @__PURE__ */ v(
2729
+ je,
2730
+ {
2731
+ ref: d,
2732
+ icon: null,
2733
+ className: h(!a && "border-transparent bg-lightGray", e),
2734
+ ...i,
2735
+ children: [
2736
+ /* @__PURE__ */ v("div", { className: "flex items-start justify-between gap-3", children: [
2737
+ /* @__PURE__ */ v("div", { className: "flex min-w-0 items-center gap-2", children: [
2738
+ !a && /* @__PURE__ */ o(
2739
+ "span",
2740
+ {
2741
+ className: "size-2 shrink-0 rounded-full bg-danger-60",
2742
+ "aria-label": "Não visualizada"
2743
+ }
2744
+ ),
2745
+ /* @__PURE__ */ o(
2746
+ C,
2747
+ {
2748
+ as: "div",
2749
+ variant: "body",
2750
+ weight: "semibold",
2751
+ className: "truncate text-neutral-text-primary",
2752
+ children: t
2753
+ }
2754
+ )
2755
+ ] }),
2756
+ /* @__PURE__ */ o(C, { as: "span", variant: "caption", className: "shrink-0 text-neutral-text-secondary", children: n })
2757
+ ] }),
2758
+ /* @__PURE__ */ o(C, { as: "div", variant: "bodySm", className: "text-neutral-text-secondary", children: r }),
2759
+ /* @__PURE__ */ v("div", { className: "flex items-center justify-end gap-1 pt-1", children: [
2760
+ /* @__PURE__ */ o(
2761
+ "button",
2762
+ {
2763
+ type: "button",
2764
+ onClick: s,
2765
+ "aria-label": "Arquivar",
2766
+ className: "flex size-7 shrink-0 items-center justify-center rounded-md text-neutral-text-secondary transition-colors hover:bg-neutral-surface-selected hover:text-neutral-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-agilys-primary",
2767
+ children: /* @__PURE__ */ o(Vt, { className: "size-4", "aria-hidden": "true" })
2768
+ }
2769
+ ),
2770
+ /* @__PURE__ */ o(
2771
+ "button",
2772
+ {
2773
+ type: "button",
2774
+ onClick: l,
2775
+ "aria-label": "Excluir",
2776
+ className: "flex size-7 shrink-0 items-center justify-center rounded-md text-neutral-text-secondary transition-colors hover:bg-danger-10 hover:text-danger-60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-agilys-primary",
2777
+ children: /* @__PURE__ */ o(Wt, { className: "size-4", "aria-hidden": "true" })
2778
+ }
2779
+ )
2780
+ ] })
2781
+ ]
2782
+ }
2783
+ )
2784
+ );
2785
+ Rt.displayName = "NotificationCard";
2786
+ function Gt(e, t) {
2787
+ return t.split(".").reduce(
2788
+ (r, n) => r == null ? void 0 : r[n],
2789
+ e
2790
+ );
2791
+ }
2792
+ function Tt(e, t) {
2499
2793
  if (t.callback) return t.callback(e);
2500
2794
  if (!t.key) return null;
2501
- const r = pt(e, t.key);
2502
- return r == null || r === "" ? null : /* @__PURE__ */ l(S, { as: "span", variant: "body", className: "truncate text-neutral-text-primary", children: r });
2795
+ const r = Gt(e, t.key);
2796
+ return r == null || r === "" ? null : /* @__PURE__ */ o(
2797
+ C,
2798
+ {
2799
+ as: "span",
2800
+ variant: "body",
2801
+ className: "truncate text-neutral-text-primary",
2802
+ children: r
2803
+ }
2804
+ );
2503
2805
  }
2504
- const we = {
2806
+ const Ie = {
2505
2807
  left: "text-left justify-start",
2506
2808
  center: "text-center justify-center",
2507
2809
  right: "text-right justify-end"
2508
- }, D = E(
2509
- ({ className: e, ...t }, r) => /* @__PURE__ */ C("span", { className: "relative inline-flex size-5 shrink-0 items-center justify-center", children: [
2510
- /* @__PURE__ */ l(
2810
+ }, re = S(
2811
+ ({ className: e, ...t }, r) => /* @__PURE__ */ v("span", { className: "relative inline-flex size-5 shrink-0 items-center justify-center", children: [
2812
+ /* @__PURE__ */ o(
2511
2813
  "input",
2512
2814
  {
2513
2815
  ref: r,
2514
2816
  type: "checkbox",
2515
- className: x(
2817
+ className: h(
2516
2818
  "peer size-5 shrink-0 cursor-pointer appearance-none rounded border-2 border-neutral-divider-primary bg-white shadow-[0px_0px_2px_0px_rgba(66,74,98,0.09)] checked:border-agilys-primary checked:bg-agilys-primary disabled:cursor-not-allowed disabled:opacity-50",
2517
2819
  e
2518
2820
  ),
2519
2821
  ...t
2520
2822
  }
2521
2823
  ),
2522
- /* @__PURE__ */ l(
2824
+ /* @__PURE__ */ o(
2523
2825
  "svg",
2524
2826
  {
2525
2827
  className: "pointer-events-none absolute size-3 text-white opacity-0 peer-checked:opacity-100",
2526
2828
  viewBox: "0 0 24 24",
2527
2829
  fill: "none",
2528
2830
  "aria-hidden": "true",
2529
- children: /* @__PURE__ */ l(
2831
+ children: /* @__PURE__ */ o(
2530
2832
  "path",
2531
2833
  {
2532
2834
  d: "M5 13l4 4L19 7",
@@ -2540,16 +2842,16 @@ const we = {
2540
2842
  )
2541
2843
  ] })
2542
2844
  );
2543
- D.displayName = "TableCheckbox";
2544
- function bt({ className: e }) {
2545
- return /* @__PURE__ */ l(
2845
+ re.displayName = "TableCheckbox";
2846
+ function Bt({ className: e }) {
2847
+ return /* @__PURE__ */ o(
2546
2848
  "svg",
2547
2849
  {
2548
- className: x("size-5 shrink-0", e),
2850
+ className: h("size-5 shrink-0", e),
2549
2851
  viewBox: "0 0 24 24",
2550
2852
  fill: "none",
2551
2853
  "aria-hidden": "true",
2552
- children: /* @__PURE__ */ l(
2854
+ children: /* @__PURE__ */ o(
2553
2855
  "path",
2554
2856
  {
2555
2857
  d: "M8 9l4-4 4 4M8 15l4 4 4-4",
@@ -2562,148 +2864,211 @@ function bt({ className: e }) {
2562
2864
  }
2563
2865
  );
2564
2866
  }
2565
- const ee = E(
2566
- ({ className: e, align: t = "left", sortable: r, sorted: n, onSort: s, children: o, ...i }, a) => /* @__PURE__ */ l(
2867
+ const ne = S(
2868
+ ({ className: e, align: t = "left", sortable: r, sorted: n, onSort: a, children: s, ...l }, i) => /* @__PURE__ */ o(
2567
2869
  "th",
2568
2870
  {
2569
- ref: a,
2570
- className: x("border-b border-neutral-divider-secondary px-5 py-2", e),
2571
- ...i,
2572
- children: /* @__PURE__ */ C(
2871
+ ref: i,
2872
+ className: h(
2873
+ "border-b border-neutral-divider-secondary px-5 py-2",
2874
+ e
2875
+ ),
2876
+ ...l,
2877
+ children: /* @__PURE__ */ v(
2573
2878
  "span",
2574
2879
  {
2575
- className: x(
2880
+ className: h(
2576
2881
  "flex items-center gap-1.5",
2577
- we[t ?? "left"],
2882
+ Ie[t ?? "left"],
2578
2883
  r && "cursor-pointer select-none"
2579
2884
  ),
2580
- onClick: r ? s : void 0,
2885
+ onClick: r ? a : void 0,
2581
2886
  children: [
2582
- /* @__PURE__ */ l(
2583
- S,
2887
+ /* @__PURE__ */ o(
2888
+ C,
2584
2889
  {
2585
2890
  as: "span",
2586
2891
  variant: "bodySm",
2587
2892
  weight: "medium",
2588
2893
  className: "flex-1 truncate text-neutral-text-secondary",
2589
- children: o
2894
+ children: s
2590
2895
  }
2591
2896
  ),
2592
- r && /* @__PURE__ */ l(bt, { className: x(n && "text-agilys-primary") })
2897
+ r && /* @__PURE__ */ o(Bt, { className: h(n && "text-agilys-primary") })
2593
2898
  ]
2594
2899
  }
2595
2900
  )
2596
2901
  }
2597
2902
  )
2598
2903
  );
2599
- ee.displayName = "TableHeadCell";
2600
- function ue({
2904
+ ne.displayName = "TableHeadCell";
2905
+ function ge({
2601
2906
  align: e = "left",
2602
2907
  className: t,
2603
2908
  children: r,
2604
2909
  onClick: n
2605
2910
  }) {
2606
- return /* @__PURE__ */ l(
2911
+ return /* @__PURE__ */ o(
2607
2912
  "td",
2608
2913
  {
2609
2914
  onClick: n,
2610
- className: x("border-b border-neutral-divider-secondary px-5 py-3", t),
2611
- children: /* @__PURE__ */ l("span", { className: x("flex items-center gap-2", we[e ?? "left"]), children: r })
2915
+ className: h(
2916
+ "border-b border-neutral-divider-secondary px-5 py-3",
2917
+ t
2918
+ ),
2919
+ children: /* @__PURE__ */ o(
2920
+ C,
2921
+ {
2922
+ className: h("flex items-center gap-2", Ie[e ?? "left"]),
2923
+ children: r
2924
+ }
2925
+ )
2612
2926
  }
2613
2927
  );
2614
2928
  }
2615
- function gt(e, t, r) {
2929
+ function $t(e, t, r) {
2616
2930
  if (typeof r == "function") return r(e);
2617
2931
  const n = e;
2618
2932
  return r ? n[r] ?? t : n.id ?? t;
2619
2933
  }
2620
- function Mt({
2934
+ function tr({
2621
2935
  keys: e,
2622
2936
  data: t,
2623
2937
  rowKey: r,
2624
2938
  loading: n,
2625
- loadingMessage: s = "Carregando dados...",
2626
- emptyMessage: o = "Nenhum dado para ser exibido!",
2627
- selectable: i,
2628
- selectedRowKeys: a,
2629
- onSelectionChange: u,
2939
+ loadingMessage: a = "Carregando dados...",
2940
+ emptyMessage: s = "Nenhum dado para ser exibido!",
2941
+ selectable: l,
2942
+ selectedRowKeys: i,
2943
+ onSelectionChange: d,
2630
2944
  sortKey: c,
2631
2945
  sortDirection: p,
2632
- onSortChange: m,
2633
- onRowClick: b,
2634
- shadow: z = !1,
2635
- border: k = !0,
2946
+ onSortChange: b,
2947
+ onRowClick: f,
2948
+ shadow: j = !1,
2949
+ border: N = !0,
2636
2950
  className: g,
2637
- ...f
2951
+ ...m
2638
2952
  }) {
2639
- const v = e.length + (i ? 1 : 0), N = a ?? [], M = t.map((w, _) => gt(w, _, r)), j = M.length > 0 && M.every((w) => N.includes(w)), L = () => {
2640
- u && u(j ? [] : M);
2641
- }, q = (w) => {
2642
- u && u(
2643
- N.includes(w) ? N.filter((_) => _ !== w) : [...N, w]
2953
+ const w = e.length + (l ? 1 : 0), z = i ?? [], M = t.map((k, _) => $t(k, _, r)), I = M.length > 0 && M.every((k) => z.includes(k)), R = () => {
2954
+ d && d(I ? [] : M);
2955
+ }, K = (k) => {
2956
+ d && d(
2957
+ z.includes(k) ? z.filter((_) => _ !== k) : [...z, k]
2644
2958
  );
2645
2959
  };
2646
- return /* @__PURE__ */ l(
2960
+ return /* @__PURE__ */ o(
2647
2961
  "div",
2648
2962
  {
2649
- className: x(
2963
+ className: h(
2650
2964
  "w-full overflow-x-auto rounded-lg",
2651
- k && "border border-neutral-divider-secondary",
2652
- z && "shadow-[0px_0px_2px_0px_rgba(66,74,98,0.04),0px_3px_8px_0px_rgba(66,74,98,0.09)]"
2965
+ N && "border border-neutral-divider-secondary",
2966
+ j && "shadow-[0px_0px_2px_0px_rgba(66,74,98,0.04),0px_3px_8px_0px_rgba(66,74,98,0.09)]"
2653
2967
  ),
2654
- children: /* @__PURE__ */ C("table", { className: x("w-full border-collapse font-sans", g), ...f, children: [
2655
- /* @__PURE__ */ l("thead", { children: /* @__PURE__ */ C("tr", { children: [
2656
- i && /* @__PURE__ */ l(ee, { align: "center", className: "w-11", children: /* @__PURE__ */ l(D, { checked: j, onChange: L, "aria-label": "Selecionar todas as linhas" }) }),
2657
- e.map((w, _) => /* @__PURE__ */ l(
2658
- ee,
2659
- {
2660
- align: w.align,
2661
- sortable: !!w.key && !!m,
2662
- sorted: w.key && c === w.key ? p : !1,
2663
- onSort: () => w.key && (m == null ? void 0 : m(w.key)),
2664
- children: w.label
2665
- },
2666
- w.key ?? `column-${_}`
2667
- ))
2668
- ] }) }),
2669
- /* @__PURE__ */ l("tbody", { children: n ? /* @__PURE__ */ l("tr", { children: /* @__PURE__ */ l("td", { colSpan: v, className: "border-b border-neutral-divider-secondary bg-neutral-surface-lightest px-5 py-6", children: /* @__PURE__ */ l(S, { as: "p", variant: "body", className: "w-full text-center text-neutral-text-secondary", children: s }) }) }) : t.length === 0 ? /* @__PURE__ */ l("tr", { children: /* @__PURE__ */ l("td", { colSpan: v, className: "border-b border-neutral-divider-secondary bg-neutral-surface-lightest px-5 py-6", children: /* @__PURE__ */ l(S, { as: "p", variant: "body", className: "w-full text-center text-neutral-text-secondary", children: o }) }) }) : t.map((w, _) => {
2670
- const T = M[_];
2671
- return /* @__PURE__ */ C(
2672
- "tr",
2673
- {
2674
- onClick: b ? () => b(w) : void 0,
2675
- className: x(
2676
- _ % 2 === 0 ? "bg-neutral-surface-lightest" : "bg-white",
2677
- b && "cursor-pointer"
2678
- ),
2679
- children: [
2680
- i && /* @__PURE__ */ l(ue, { align: "center", onClick: (A) => A.stopPropagation(), children: /* @__PURE__ */ l(
2681
- D,
2968
+ children: /* @__PURE__ */ v(
2969
+ "table",
2970
+ {
2971
+ className: h("w-full border-collapse font-sans", g),
2972
+ ...m,
2973
+ children: [
2974
+ /* @__PURE__ */ o("thead", { children: /* @__PURE__ */ v("tr", { children: [
2975
+ l && /* @__PURE__ */ o(ne, { align: "center", className: "w-11", children: /* @__PURE__ */ o(
2976
+ re,
2977
+ {
2978
+ checked: I,
2979
+ onChange: R,
2980
+ "aria-label": "Selecionar todas as linhas"
2981
+ }
2982
+ ) }),
2983
+ e.map((k, _) => /* @__PURE__ */ o(
2984
+ ne,
2985
+ {
2986
+ align: k.align,
2987
+ sortable: !!k.key && !!b,
2988
+ sorted: k.key && c === k.key ? p : !1,
2989
+ onSort: () => k.key && (b == null ? void 0 : b(k.key)),
2990
+ children: k.label
2991
+ },
2992
+ k.key ?? `column-${_}`
2993
+ ))
2994
+ ] }) }),
2995
+ /* @__PURE__ */ o("tbody", { children: n ? /* @__PURE__ */ o("tr", { children: /* @__PURE__ */ o(
2996
+ "td",
2997
+ {
2998
+ colSpan: w,
2999
+ className: "border-b border-neutral-divider-secondary bg-neutral-surface-lightest px-5 py-6",
3000
+ children: /* @__PURE__ */ o(
3001
+ C,
2682
3002
  {
2683
- checked: N.includes(T),
2684
- onChange: () => q(T),
2685
- "aria-label": "Selecionar linha"
3003
+ as: "p",
3004
+ variant: "body",
3005
+ className: "w-full text-center text-neutral-text-secondary",
3006
+ children: a
2686
3007
  }
2687
- ) }),
2688
- e.map((A, P) => /* @__PURE__ */ l(
2689
- ue,
3008
+ )
3009
+ }
3010
+ ) }) : t.length === 0 ? /* @__PURE__ */ o("tr", { children: /* @__PURE__ */ o(
3011
+ "td",
3012
+ {
3013
+ colSpan: w,
3014
+ className: "border-b border-neutral-divider-secondary bg-neutral-surface-lightest px-5 py-6",
3015
+ children: /* @__PURE__ */ o(
3016
+ C,
2690
3017
  {
2691
- align: A.align,
2692
- className: A.className,
2693
- children: ft(w, A)
2694
- },
2695
- A.key ?? `column-${P}`
2696
- ))
2697
- ]
2698
- },
2699
- T
2700
- );
2701
- }) })
2702
- ] })
3018
+ as: "p",
3019
+ variant: "body",
3020
+ className: "w-full text-center text-neutral-text-secondary",
3021
+ children: s
3022
+ }
3023
+ )
3024
+ }
3025
+ ) }) : t.map((k, _) => {
3026
+ const V = M[_];
3027
+ return /* @__PURE__ */ v(
3028
+ "tr",
3029
+ {
3030
+ onClick: f ? () => f(k) : void 0,
3031
+ className: h(
3032
+ _ % 2 === 0 ? "bg-neutral-surface-lightest" : "bg-white",
3033
+ f && "cursor-pointer"
3034
+ ),
3035
+ children: [
3036
+ l && /* @__PURE__ */ o(
3037
+ ge,
3038
+ {
3039
+ align: "center",
3040
+ onClick: (O) => O.stopPropagation(),
3041
+ children: /* @__PURE__ */ o(
3042
+ re,
3043
+ {
3044
+ checked: z.includes(V),
3045
+ onChange: () => K(V),
3046
+ "aria-label": "Selecionar linha"
3047
+ }
3048
+ )
3049
+ }
3050
+ ),
3051
+ e.map((O, $) => /* @__PURE__ */ o(
3052
+ ge,
3053
+ {
3054
+ align: O.align,
3055
+ className: O.className,
3056
+ children: Tt(k, O)
3057
+ },
3058
+ O.key ?? `column-${$}`
3059
+ ))
3060
+ ]
3061
+ },
3062
+ V
3063
+ );
3064
+ }) })
3065
+ ]
3066
+ }
3067
+ )
2703
3068
  }
2704
3069
  );
2705
3070
  }
2706
- const mt = H(
3071
+ const Ht = T(
2707
3072
  "relative inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full bg-neutral-surface-lightest font-sans font-medium text-neutral-text-secondary",
2708
3073
  {
2709
3074
  variants: {
@@ -2718,44 +3083,44 @@ const mt = H(
2718
3083
  }
2719
3084
  }
2720
3085
  );
2721
- function ht(e) {
3086
+ function Ft(e) {
2722
3087
  var n;
2723
3088
  const t = e.trim().split(/\s+/), r = t.length > 1 ? `${t[0][0]}${t[t.length - 1][0]}` : (n = t[0]) == null ? void 0 : n.slice(0, 2);
2724
3089
  return r == null ? void 0 : r.toUpperCase();
2725
3090
  }
2726
- const xt = {
3091
+ const Ut = {
2727
3092
  sm: "caption",
2728
3093
  md: "bodySm",
2729
3094
  lg: "body"
2730
- }, ke = E(
2731
- ({ className: e, size: t, src: r, alt: n = "", name: s, ...o }, i) => {
2732
- const a = t ?? "md";
2733
- return /* @__PURE__ */ l("span", { ref: i, className: x(mt({ size: t }), e), ...o, children: r ? /* @__PURE__ */ l("img", { src: r, alt: n, className: "size-full object-cover" }) : s && /* @__PURE__ */ l(
2734
- S,
3095
+ }, Oe = S(
3096
+ ({ className: e, size: t, src: r, alt: n = "", name: a, ...s }, l) => {
3097
+ const i = t ?? "md";
3098
+ return /* @__PURE__ */ o("span", { ref: l, className: h(Ht({ size: t }), e), ...s, children: r ? /* @__PURE__ */ o("img", { src: r, alt: n, className: "size-full object-cover" }) : a && /* @__PURE__ */ o(
3099
+ C,
2735
3100
  {
2736
3101
  as: "span",
2737
- variant: xt[a],
3102
+ variant: Ut[i],
2738
3103
  weight: "medium",
2739
3104
  className: "text-inherit leading-none",
2740
- children: ht(s)
3105
+ children: Ft(a)
2741
3106
  }
2742
3107
  ) });
2743
3108
  }
2744
3109
  );
2745
- ke.displayName = "Avatar";
2746
- function jt({
3110
+ Oe.displayName = "Avatar";
3111
+ function rr({
2747
3112
  src: e,
2748
3113
  name: t,
2749
3114
  description: r,
2750
3115
  size: n = "md",
2751
- className: s
3116
+ className: a
2752
3117
  }) {
2753
- return /* @__PURE__ */ C("div", { className: x("flex min-w-0 items-center gap-2", s), children: [
2754
- /* @__PURE__ */ l(ke, { src: e, name: t, size: n }),
2755
- /* @__PURE__ */ C("div", { className: "flex min-w-0 flex-col", children: [
2756
- /* @__PURE__ */ l(S, { as: "span", variant: "body", className: "truncate", children: t }),
2757
- r && /* @__PURE__ */ l(
2758
- S,
3118
+ return /* @__PURE__ */ v("div", { className: h("flex min-w-0 items-center gap-2", a), children: [
3119
+ /* @__PURE__ */ o(Oe, { src: e, name: t, size: n }),
3120
+ /* @__PURE__ */ v("div", { className: "flex min-w-0 flex-col", children: [
3121
+ /* @__PURE__ */ o(C, { as: "span", variant: "body", className: "truncate", children: t }),
3122
+ r && /* @__PURE__ */ o(
3123
+ C,
2759
3124
  {
2760
3125
  as: "span",
2761
3126
  variant: "bodySm",
@@ -2766,24 +3131,24 @@ function jt({
2766
3131
  ] })
2767
3132
  ] });
2768
3133
  }
2769
- const F = "ellipsis";
3134
+ const q = "ellipsis";
2770
3135
  function Z(e, t) {
2771
3136
  return Array.from({ length: t - e + 1 }, (r, n) => e + n);
2772
3137
  }
2773
- function yt(e, t, r) {
3138
+ function qt(e, t, r) {
2774
3139
  if (r * 2 + 5 >= t) return Z(1, t);
2775
- const s = Math.max(e - r, 1), o = Math.min(e + r, t), i = s > 2, a = o < t - 1;
2776
- return !i && a ? [...Z(1, 3 + r * 2), F, t] : i && !a ? [1, F, ...Z(t - (2 + r * 2), t)] : [1, F, ...Z(s, o), F, t];
3140
+ const a = Math.max(e - r, 1), s = Math.min(e + r, t), l = a > 2, i = s < t - 1;
3141
+ return !l && i ? [...Z(1, 3 + r * 2), q, t] : l && !i ? [1, q, ...Z(t - (2 + r * 2), t)] : [1, q, ...Z(a, s), q, t];
2777
3142
  }
2778
- function pe({ direction: e, className: t }) {
2779
- return /* @__PURE__ */ l(
3143
+ function he({ direction: e, className: t }) {
3144
+ return /* @__PURE__ */ o(
2780
3145
  "svg",
2781
3146
  {
2782
- className: x("size-4", t),
3147
+ className: h("size-4", t),
2783
3148
  viewBox: "0 0 24 24",
2784
3149
  fill: "none",
2785
3150
  "aria-hidden": "true",
2786
- children: /* @__PURE__ */ l(
3151
+ children: /* @__PURE__ */ o(
2787
3152
  "path",
2788
3153
  {
2789
3154
  d: e === "left" ? "M15 6l-6 6 6 6" : "M9 6l6 6-6 6",
@@ -2796,63 +3161,63 @@ function pe({ direction: e, className: t }) {
2796
3161
  }
2797
3162
  );
2798
3163
  }
2799
- const vt = E(
2800
- ({ currentPage: e, totalPages: t, onPageChange: r, siblingCount: n = 1, className: s, ...o }, i) => {
3164
+ const Kt = S(
3165
+ ({ currentPage: e, totalPages: t, onPageChange: r, siblingCount: n = 1, className: a, ...s }, l) => {
2801
3166
  if (t <= 1) return null;
2802
- const a = yt(e, t, n), u = (c) => {
3167
+ const i = qt(e, t, n), d = (c) => {
2803
3168
  c < 1 || c > t || c === e || r(c);
2804
3169
  };
2805
- return /* @__PURE__ */ C(
3170
+ return /* @__PURE__ */ v(
2806
3171
  "nav",
2807
3172
  {
2808
- ref: i,
3173
+ ref: l,
2809
3174
  "aria-label": "Paginação",
2810
- className: x("flex items-center gap-1 font-sans", s),
2811
- ...o,
3175
+ className: h("flex items-center gap-1 font-sans", a),
3176
+ ...s,
2812
3177
  children: [
2813
- /* @__PURE__ */ l(
3178
+ /* @__PURE__ */ o(
2814
3179
  "button",
2815
3180
  {
2816
3181
  type: "button",
2817
3182
  "aria-label": "Página anterior",
2818
3183
  disabled: e === 1,
2819
- onClick: () => u(e - 1),
3184
+ onClick: () => d(e - 1),
2820
3185
  className: "inline-flex size-9 shrink-0 items-center justify-center rounded-lg text-neutral-text-secondary transition-colors hover:bg-neutral-surface-lightest disabled:pointer-events-none disabled:opacity-40",
2821
- children: /* @__PURE__ */ l(pe, { direction: "left" })
3186
+ children: /* @__PURE__ */ o(he, { direction: "left" })
2822
3187
  }
2823
3188
  ),
2824
- a.map(
2825
- (c, p) => c === F ? /* @__PURE__ */ l(
3189
+ i.map(
3190
+ (c, p) => c === q ? /* @__PURE__ */ o(
2826
3191
  "span",
2827
3192
  {
2828
3193
  className: "inline-flex size-9 shrink-0 items-center justify-center text-neutral-text-secondary",
2829
- children: /* @__PURE__ */ l(S, { as: "span", variant: "bodySm", className: "text-inherit", children: "…" })
3194
+ children: /* @__PURE__ */ o(C, { as: "span", variant: "bodySm", className: "text-inherit", children: "…" })
2830
3195
  },
2831
3196
  `ellipsis-${p}`
2832
- ) : /* @__PURE__ */ l(
3197
+ ) : /* @__PURE__ */ o(
2833
3198
  "button",
2834
3199
  {
2835
3200
  type: "button",
2836
3201
  "aria-current": c === e ? "page" : void 0,
2837
- onClick: () => u(c),
2838
- className: x(
3202
+ onClick: () => d(c),
3203
+ className: h(
2839
3204
  "inline-flex size-9 shrink-0 items-center justify-center rounded-lg transition-colors",
2840
3205
  c === e ? "bg-neutral-surface-selected text-agilys-primary" : "text-neutral-text-secondary hover:bg-neutral-surface-lightest"
2841
3206
  ),
2842
- children: /* @__PURE__ */ l(S, { as: "span", variant: "bodySm", weight: "medium", className: "text-inherit", children: c })
3207
+ children: /* @__PURE__ */ o(C, { as: "span", variant: "bodySm", weight: "medium", className: "text-inherit", children: c })
2843
3208
  },
2844
3209
  c
2845
3210
  )
2846
3211
  ),
2847
- /* @__PURE__ */ l(
3212
+ /* @__PURE__ */ o(
2848
3213
  "button",
2849
3214
  {
2850
3215
  type: "button",
2851
3216
  "aria-label": "Próxima página",
2852
3217
  disabled: e === t,
2853
- onClick: () => u(e + 1),
3218
+ onClick: () => d(e + 1),
2854
3219
  className: "inline-flex size-9 shrink-0 items-center justify-center rounded-lg text-neutral-text-secondary transition-colors hover:bg-neutral-surface-lightest disabled:pointer-events-none disabled:opacity-40",
2855
- children: /* @__PURE__ */ l(pe, { direction: "right" })
3220
+ children: /* @__PURE__ */ o(he, { direction: "right" })
2856
3221
  }
2857
3222
  )
2858
3223
  ]
@@ -2860,8 +3225,8 @@ const vt = E(
2860
3225
  );
2861
3226
  }
2862
3227
  );
2863
- vt.displayName = "Pagination";
2864
- const wt = H(
3228
+ Kt.displayName = "Pagination";
3229
+ const Jt = T(
2865
3230
  "flex h-11 w-full min-w-0 items-center gap-2 rounded-lg bg-white px-3 shadow-[0px_4px_2px_0px_rgba(0,0,0,0.05)] transition-shadow focus-within:ring-2 focus-within:ring-agilys-primary",
2866
3231
  {
2867
3232
  variants: {
@@ -2874,38 +3239,31 @@ const wt = H(
2874
3239
  hasError: !1
2875
3240
  }
2876
3241
  }
2877
- ), kt = E(
3242
+ ), Xt = S(
2878
3243
  ({
2879
3244
  className: e,
2880
3245
  containerClassName: t,
2881
3246
  label: r,
2882
3247
  leftIcon: n,
2883
- rightIcon: s,
2884
- bgIcon: o = !1,
2885
- error: i,
2886
- disabled: a,
2887
- id: u,
3248
+ rightIcon: a,
3249
+ bgIcon: s = !1,
3250
+ error: l,
3251
+ disabled: i,
3252
+ id: d,
2888
3253
  ...c
2889
3254
  }, p) => {
2890
- const m = fe(), b = u ?? m, z = typeof i == "string" ? i : i == null ? void 0 : i.message, k = !!z, g = `${b}-error`;
2891
- return /* @__PURE__ */ C("div", { className: x("flex w-full min-w-0 flex-col gap-1.5", t), children: [
2892
- r && /* @__PURE__ */ l(
2893
- "label",
2894
- {
2895
- htmlFor: b,
2896
- className: "font-sans text-sm font-normal leading-6 text-neutral-text-primary",
2897
- children: r
2898
- }
2899
- ),
2900
- /* @__PURE__ */ C(
3255
+ const b = xe(), f = d ?? b, j = typeof l == "string" ? l : l == null ? void 0 : l.message, N = !!j, g = `${f}-error`;
3256
+ return /* @__PURE__ */ v("div", { className: h("flex w-full min-w-0 flex-col gap-1.5", t), children: [
3257
+ r && /* @__PURE__ */ o(C, { as: "label", htmlFor: f, variant: "body", className: "text-neutral-text-primary", children: r }),
3258
+ /* @__PURE__ */ v(
2901
3259
  "div",
2902
3260
  {
2903
- className: x(
2904
- wt({ hasError: k }),
2905
- a && "pointer-events-none opacity-50"
3261
+ className: h(
3262
+ Jt({ hasError: N }),
3263
+ i && "pointer-events-none opacity-50"
2906
3264
  ),
2907
3265
  children: [
2908
- n && /* @__PURE__ */ l(
3266
+ n && /* @__PURE__ */ o(
2909
3267
  "span",
2910
3268
  {
2911
3269
  className: "flex size-6 shrink-0 items-center justify-center text-neutral-secondary [&>svg]:size-full",
@@ -2913,42 +3271,42 @@ const wt = H(
2913
3271
  children: n
2914
3272
  }
2915
3273
  ),
2916
- /* @__PURE__ */ l(
3274
+ /* @__PURE__ */ o(
2917
3275
  "input",
2918
3276
  {
2919
3277
  ref: p,
2920
- id: b,
2921
- disabled: a,
2922
- "aria-invalid": k || void 0,
2923
- "aria-describedby": k ? g : void 0,
2924
- className: x(
3278
+ id: f,
3279
+ disabled: i,
3280
+ "aria-invalid": N || void 0,
3281
+ "aria-describedby": N ? g : void 0,
3282
+ className: h(
2925
3283
  "w-full min-w-0 flex-1 bg-transparent font-sans text-base leading-6 text-neutral-text-primary placeholder:text-neutral-secondary focus:outline-none disabled:cursor-not-allowed",
2926
3284
  e
2927
3285
  ),
2928
3286
  ...c
2929
3287
  }
2930
3288
  ),
2931
- s && /* @__PURE__ */ l(
3289
+ a && /* @__PURE__ */ o(
2932
3290
  "span",
2933
3291
  {
2934
- className: x(
3292
+ className: h(
2935
3293
  "flex size-6 shrink-0 items-center justify-center text-neutral-secondary [&>svg]:size-full",
2936
- o && "rounded-md bg-lightGray p-1"
3294
+ s && "rounded-md bg-lightGray p-1"
2937
3295
  ),
2938
3296
  "aria-hidden": "true",
2939
- children: s
3297
+ children: a
2940
3298
  }
2941
3299
  )
2942
3300
  ]
2943
3301
  }
2944
3302
  ),
2945
- k && /* @__PURE__ */ l("span", { id: g, role: "alert", className: "font-sans text-xs leading-normal text-danger-60", children: z })
3303
+ N && /* @__PURE__ */ o(C, { as: "span", id: g, role: "alert", variant: "caption", className: "text-danger-60", children: j })
2946
3304
  ] });
2947
3305
  }
2948
3306
  );
2949
- kt.displayName = "Input";
2950
- function Nt() {
2951
- return /* @__PURE__ */ l("svg", { className: "size-5", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ l(
3307
+ Xt.displayName = "Input";
3308
+ function Zt() {
3309
+ return /* @__PURE__ */ o("svg", { className: "size-5", viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ o(
2952
3310
  "path",
2953
3311
  {
2954
3312
  d: "M18 6L6 18M6 6l12 12",
@@ -2958,84 +3316,84 @@ function Nt() {
2958
3316
  }
2959
3317
  ) });
2960
3318
  }
2961
- const zt = E(
3319
+ const Qt = S(
2962
3320
  ({
2963
3321
  open: e,
2964
3322
  onClose: t,
2965
3323
  title: r,
2966
3324
  children: n,
2967
- footer: s,
2968
- closeOnBackdropClick: o = !0,
2969
- showCloseButton: i = !0,
2970
- className: a,
2971
- contentClassName: u,
3325
+ footer: a,
3326
+ closeOnBackdropClick: s = !0,
3327
+ showCloseButton: l = !0,
3328
+ className: i,
3329
+ contentClassName: d,
2972
3330
  ...c
2973
3331
  }, p) => {
2974
- const m = fe(), b = ze(null), [z, k] = Ce(!1);
2975
- return ae(() => k(!0), []), ae(() => {
2976
- var v;
3332
+ const b = xe(), f = Ee(null), [j, N] = Le(!1);
3333
+ return ce(() => N(!0), []), ce(() => {
3334
+ var w;
2977
3335
  if (!e) return;
2978
3336
  const g = document.body.style.overflow;
2979
- document.body.style.overflow = "hidden", (v = b.current) == null || v.focus();
2980
- const f = (N) => {
2981
- N.key === "Escape" && t();
3337
+ document.body.style.overflow = "hidden", (w = f.current) == null || w.focus();
3338
+ const m = (z) => {
3339
+ z.key === "Escape" && t();
2982
3340
  };
2983
- return document.addEventListener("keydown", f), () => {
2984
- document.body.style.overflow = g, document.removeEventListener("keydown", f);
3341
+ return document.addEventListener("keydown", m), () => {
3342
+ document.body.style.overflow = g, document.removeEventListener("keydown", m);
2985
3343
  };
2986
- }, [e, t]), !e || !z ? null : _e(
2987
- /* @__PURE__ */ l(
3344
+ }, [e, t]), !e || !j ? null : Pe(
3345
+ /* @__PURE__ */ o(
2988
3346
  "div",
2989
3347
  {
2990
3348
  className: "fixed inset-0 z-50 flex items-center justify-center overflow-y-auto bg-black/40 p-4",
2991
- onClick: o ? t : void 0,
2992
- children: /* @__PURE__ */ C(
3349
+ onClick: s ? t : void 0,
3350
+ children: /* @__PURE__ */ v(
2993
3351
  "div",
2994
3352
  {
2995
3353
  ref: p,
2996
3354
  role: "dialog",
2997
3355
  "aria-modal": "true",
2998
- "aria-labelledby": r ? m : void 0,
3356
+ "aria-labelledby": r ? b : void 0,
2999
3357
  onClick: (g) => g.stopPropagation(),
3000
- className: x(
3358
+ className: h(
3001
3359
  "relative flex w-full min-w-0 max-w-lg flex-col gap-6 rounded-xl bg-[#fcfcfc] p-6 shadow-[0px_0px_2px_0px_rgba(34,34,34,0.08)] sm:p-8",
3002
- a
3360
+ i
3003
3361
  ),
3004
3362
  ...c,
3005
3363
  children: [
3006
- i && /* @__PURE__ */ l(
3364
+ l && /* @__PURE__ */ o(
3007
3365
  "button",
3008
3366
  {
3009
- ref: b,
3367
+ ref: f,
3010
3368
  type: "button",
3011
3369
  onClick: t,
3012
3370
  "aria-label": "Fechar",
3013
3371
  className: "absolute right-4 top-4 flex size-6 shrink-0 items-center justify-center rounded-md text-neutral-text-secondary transition-colors hover:text-neutral-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-agilys-primary sm:right-5 sm:top-5",
3014
- children: /* @__PURE__ */ l(Nt, {})
3372
+ children: /* @__PURE__ */ o(Zt, {})
3015
3373
  }
3016
3374
  ),
3017
- r && /* @__PURE__ */ l("div", { className: "pr-8", children: /* @__PURE__ */ l(
3018
- S,
3375
+ r && /* @__PURE__ */ o("div", { className: "pr-8", children: /* @__PURE__ */ o(
3376
+ C,
3019
3377
  {
3020
3378
  as: "h2",
3021
- id: m,
3379
+ id: b,
3022
3380
  variant: "h4",
3023
3381
  weight: "medium",
3024
3382
  className: "text-neutral-text-primary",
3025
3383
  children: r
3026
3384
  }
3027
3385
  ) }),
3028
- /* @__PURE__ */ l(
3386
+ /* @__PURE__ */ o(
3029
3387
  "div",
3030
3388
  {
3031
- className: x(
3389
+ className: h(
3032
3390
  "max-h-[70vh] min-w-0 overflow-y-auto overflow-x-hidden font-sans text-sm leading-relaxed text-neutral-text-secondary sm:text-base",
3033
- u
3391
+ d
3034
3392
  ),
3035
3393
  children: n
3036
3394
  }
3037
3395
  ),
3038
- s && /* @__PURE__ */ l("div", { className: "flex flex-wrap items-center gap-2.5 pt-1", children: s })
3396
+ a && /* @__PURE__ */ o("div", { className: "flex flex-wrap items-center gap-2.5 pt-1", children: a })
3039
3397
  ]
3040
3398
  }
3041
3399
  )
@@ -3045,25 +3403,28 @@ const zt = E(
3045
3403
  );
3046
3404
  }
3047
3405
  );
3048
- zt.displayName = "Modal";
3406
+ Qt.displayName = "Modal";
3049
3407
  export {
3050
- ke as Avatar,
3051
- jt as AvatarColumn,
3052
- ct as Badge,
3053
- at as Button,
3054
- kt as Input,
3055
- zt as Modal,
3056
- vt as Pagination,
3057
- Mt as Table,
3058
- ue as TableCell,
3059
- D as TableCheckbox,
3060
- ee as TableHeadCell,
3061
- S as Typography,
3062
- mt as avatarVariants,
3063
- it as badgeVariants,
3064
- st as buttonVariants,
3065
- x as cn,
3066
- wt as inputVariants,
3067
- dt as typographyVariants
3408
+ Oe as Avatar,
3409
+ rr as AvatarColumn,
3410
+ vt as Badge,
3411
+ mt as Button,
3412
+ je as Card,
3413
+ Xt as Input,
3414
+ Qt as Modal,
3415
+ Rt as NotificationCard,
3416
+ Kt as Pagination,
3417
+ tr as Table,
3418
+ ge as TableCell,
3419
+ re as TableCheckbox,
3420
+ ne as TableHeadCell,
3421
+ C as Text,
3422
+ Ht as avatarVariants,
3423
+ xt as badgeVariants,
3424
+ bt as buttonVariants,
3425
+ wt as cardVariants,
3426
+ h as cn,
3427
+ Jt as inputVariants,
3428
+ gt as textVariants
3068
3429
  };
3069
3430
  //# sourceMappingURL=agilys-design-system.js.map