@codeandfunction/callaloo 3.16.3 → 3.16.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/dist/assets/CLInputMessages.css +1 -1
  2. package/dist/chunks/{CLA11yButton.vue_vue_type_style_index_0_lang-Caaw-9_c.js → CLA11yButton.vue_vue_type_style_index_0_lang-Drw6jsX_.js} +13 -12
  3. package/dist/chunks/{CLButton.vue_vue_type_style_index_0_lang-N3EWoTbB.js → CLButton.vue_vue_type_style_index_0_lang-B4xTt-xw.js} +5 -5
  4. package/dist/chunks/{CLCard.vue_vue_type_style_index_0_lang-CpReGucs.js → CLCard.vue_vue_type_style_index_0_lang-Bj9WF_mX.js} +44 -43
  5. package/dist/chunks/{CLFormLabel.vue_vue_type_script_setup_true_lang-Cw3nPc64.js → CLFormLabel.vue_vue_type_script_setup_true_lang-CaHCD2xF.js} +1 -1
  6. package/dist/chunks/{CLHeading.vue_vue_type_style_index_0_lang-BcCh5-Bx.js → CLHeading.vue_vue_type_style_index_0_lang-nUnSpm32.js} +11 -10
  7. package/dist/chunks/CLIcon.vue_vue_type_style_index_0_lang--1FTkRVd.js +87 -0
  8. package/dist/chunks/CLInputMessages.vue_vue_type_style_index_0_lang-Bt5xgOT4.js +153 -0
  9. package/dist/chunks/CLLink.vue_vue_type_style_index_0_lang-BDL4xcfJ.js +68 -0
  10. package/dist/chunks/{CLNavLink.vue_vue_type_script_setup_true_lang-D2oCLUGX.js → CLNavLink.vue_vue_type_script_setup_true_lang-C_BQCWeg.js} +1 -1
  11. package/dist/chunks/CLPill.vue_vue_type_style_index_0_lang-DwNvvX0v.js +90 -0
  12. package/dist/chunks/{CLProgress.vue_vue_type_style_index_0_lang-Cu3FhEX0.js → CLProgress.vue_vue_type_style_index_0_lang-Mikbgpn2.js} +16 -15
  13. package/dist/chunks/{CLSkeleton.vue_vue_type_style_index_0_lang-DblqrUXo.js → CLSkeleton.vue_vue_type_style_index_0_lang-Csb9YnTI.js} +11 -10
  14. package/dist/chunks/{CLSpinner.vue_vue_type_style_index_0_lang-DskZL4VC.js → CLSpinner.vue_vue_type_style_index_0_lang-BQ1w9Ik9.js} +17 -16
  15. package/dist/chunks/{CLText.vue_vue_type_style_index_0_lang-Cz9Sv2AC.js → CLText.vue_vue_type_style_index_0_lang-BJoS9z9q.js} +14 -13
  16. package/dist/chunks/CLToast.vue_vue_type_style_index_0_lang-C6gOJx7A.js +185 -0
  17. package/dist/chunks/utils-CAV1sBee.js +24 -0
  18. package/dist/chunks/utils-CS9Gz4oX.js +25 -0
  19. package/dist/chunks/utils-C_e2F4X7.js +17 -0
  20. package/dist/chunks/utils-Sqgt8Fa4.js +85 -0
  21. package/dist/chunks/utils-cOhtsyeB.js +41 -0
  22. package/dist/chunks/utils-zJwcNHl4.js +37 -0
  23. package/dist/components/Buttons/CLA11yButton/CLA11yButton.css +1 -1
  24. package/dist/components/Buttons/CLA11yButton/CLA11yButton.js +1 -1
  25. package/dist/components/Buttons/CLButton/CLButton.css +1 -1
  26. package/dist/components/Buttons/CLButton/CLButton.js +1 -1
  27. package/dist/components/Buttons/CLButton/CLButton.vue.d.ts +1 -1
  28. package/dist/components/Buttons/utils.d.ts +16 -2
  29. package/dist/components/CLIcon/CLIcon.css +1 -1
  30. package/dist/components/CLIcon/CLIcon.js +1 -1
  31. package/dist/components/CLIcon/utils.d.ts +3 -1
  32. package/dist/components/CLTable/CLTable.css +1 -1
  33. package/dist/components/CLTable/CLTable.js +113 -115
  34. package/dist/components/CLTable/utils.d.ts +5 -1
  35. package/dist/components/Containers/CLCard/CLCard.css +1 -1
  36. package/dist/components/Containers/CLCard/CLCard.js +1 -1
  37. package/dist/components/Containers/CLCarousel/CLCarousel.js +2 -2
  38. package/dist/components/Containers/CLDisclosure/CLDisclosure.css +1 -1
  39. package/dist/components/Containers/CLDisclosure/CLDisclosure.js +32 -31
  40. package/dist/components/Containers/utils.d.ts +15 -2
  41. package/dist/components/Form/CLCheckbox/CLCheckbox.css +1 -1
  42. package/dist/components/Form/CLCheckbox/CLCheckbox.js +33 -35
  43. package/dist/components/Form/CLCheckbox/CLCheckbox.vue.d.ts +2 -2
  44. package/dist/components/Form/CLInput/CLInput.css +1 -1
  45. package/dist/components/Form/CLInput/CLInput.js +31 -33
  46. package/dist/components/Form/CLInput/CLInput.vue.d.ts +3 -3
  47. package/dist/components/Form/CLRadioButton/CLRadioButton.css +1 -1
  48. package/dist/components/Form/CLRadioButton/CLRadioButton.js +35 -34
  49. package/dist/components/Form/CLSelect/CLSelect.css +1 -1
  50. package/dist/components/Form/CLSelect/CLSelect.js +32 -31
  51. package/dist/components/Form/CLTextArea/CLTextArea.css +1 -1
  52. package/dist/components/Form/CLTextArea/CLTextArea.js +21 -20
  53. package/dist/components/Form/utils.d.ts +51 -4
  54. package/dist/components/Indicators/CLBadge/CLBadge.css +1 -1
  55. package/dist/components/Indicators/CLBadge/CLBadge.js +12 -11
  56. package/dist/components/Indicators/CLBanner/CLBanner.css +1 -1
  57. package/dist/components/Indicators/CLBanner/CLBanner.js +27 -26
  58. package/dist/components/Indicators/CLPill/CLPill.css +1 -1
  59. package/dist/components/Indicators/CLPill/CLPill.js +1 -1
  60. package/dist/components/Indicators/CLProgress/CLProgress.css +1 -1
  61. package/dist/components/Indicators/CLProgress/CLProgress.js +1 -1
  62. package/dist/components/Indicators/utils.d.ts +31 -4
  63. package/dist/components/Loading/CLSkeleton/CLSkeleton.css +1 -1
  64. package/dist/components/Loading/CLSkeleton/CLSkeleton.js +1 -1
  65. package/dist/components/Loading/CLSpinner/CLSpinner.css +1 -1
  66. package/dist/components/Loading/CLSpinner/CLSpinner.js +1 -1
  67. package/dist/components/Loading/utils.d.ts +7 -2
  68. package/dist/components/Modals/CLModal/CLModal.css +1 -1
  69. package/dist/components/Modals/CLModal/CLModal.js +82 -78
  70. package/dist/components/Modals/utils.d.ts +5 -1
  71. package/dist/components/Navigation/CLLink/CLLink.css +1 -1
  72. package/dist/components/Navigation/CLLink/CLLink.js +1 -1
  73. package/dist/components/Navigation/CLNavLink/CLNavLink.js +1 -1
  74. package/dist/components/Navigation/CLNavSection/CLNavSection.js +2 -2
  75. package/dist/components/Navigation/utils.d.ts +8 -1
  76. package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.css +1 -1
  77. package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.js +6 -6
  78. package/dist/components/Popups/CLDropdownMenu/CLDropdownMenu.vue.d.ts +3 -3
  79. package/dist/components/Popups/CLToast/CLToast.css +1 -1
  80. package/dist/components/Popups/CLToast/CLToast.js +1 -1
  81. package/dist/components/Popups/utils.d.ts +8 -1
  82. package/dist/components/Providers/CLThemeProvider/utils.d.ts +0 -1
  83. package/dist/components/Providers/CLToastProvider/CLToastProvider.js +1 -1
  84. package/dist/components/Typography/CLHeading/CLHeading.css +1 -1
  85. package/dist/components/Typography/CLHeading/CLHeading.js +1 -1
  86. package/dist/components/Typography/CLText/CLText.css +1 -1
  87. package/dist/components/Typography/CLText/CLText.js +1 -1
  88. package/dist/components/Typography/utils.d.ts +3 -1
  89. package/dist/composables/useTheme.js +17 -16
  90. package/package.json +1 -4
  91. package/dist/chunks/CLIcon.vue_vue_type_style_index_0_lang-BaCl5yQI.js +0 -84
  92. package/dist/chunks/CLInputMessages.vue_vue_type_style_index_0_lang-BNGT0om7.js +0 -121
  93. package/dist/chunks/CLLink.vue_vue_type_style_index_0_lang-BMUevw_4.js +0 -60
  94. package/dist/chunks/CLPill.vue_vue_type_style_index_0_lang-DYXrV-YE.js +0 -88
  95. package/dist/chunks/CLToast.vue_vue_type_style_index_0_lang-CYcPXUMQ.js +0 -179
  96. package/dist/chunks/utils-Bp7YeySh.js +0 -29
  97. package/dist/chunks/utils-C9rOAW29.js +0 -387
  98. package/dist/chunks/utils-D-5TdmRW.js +0 -26
  99. package/dist/chunks/utils-DRsWhcFX.js +0 -30
  100. package/dist/chunks/utils-DVR3a-_d.js +0 -73
  101. package/dist/chunks/utils-nC7WS9e0.js +0 -15
@@ -1,387 +0,0 @@
1
- import { C as fe } from "./base-theme-Bg6XMoeN.js";
2
- var q = { exports: {} }, U;
3
- function ne() {
4
- return U || (U = 1, (function(e) {
5
- (function() {
6
- const f = (r) => new TextEncoder().encode(r);
7
- function a(r, v) {
8
- typeof r == "string" && (r = f(r));
9
- let u = r.length, i = v ^ u, t = 0, d;
10
- for (; u >= 4; )
11
- d = r[t] & 255 | (r[++t] & 255) << 8 | (r[++t] & 255) << 16 | (r[++t] & 255) << 24, d = (d & 65535) * 1540483477 + (((d >>> 16) * 1540483477 & 65535) << 16), d ^= d >>> 24, d = (d & 65535) * 1540483477 + (((d >>> 16) * 1540483477 & 65535) << 16), i = (i & 65535) * 1540483477 + (((i >>> 16) * 1540483477 & 65535) << 16) ^ d, u -= 4, ++t;
12
- switch (u) {
13
- case 3:
14
- i ^= (r[t + 2] & 255) << 16;
15
- case 2:
16
- i ^= (r[t + 1] & 255) << 8;
17
- case 1:
18
- i ^= r[t] & 255, i = (i & 65535) * 1540483477 + (((i >>> 16) * 1540483477 & 65535) << 16);
19
- }
20
- return i ^= i >>> 13, i = (i & 65535) * 1540483477 + (((i >>> 16) * 1540483477 & 65535) << 16), i ^= i >>> 15, i >>> 0;
21
- }
22
- function o(r, v) {
23
- typeof r == "string" && (r = f(r));
24
- let u, i, t, d, b, w, c, l;
25
- for (u = r.length & 3, i = r.length - u, t = v, b = 3432918353, w = 461845907, l = 0; l < i; )
26
- c = r[l] & 255 | (r[++l] & 255) << 8 | (r[++l] & 255) << 16 | (r[++l] & 255) << 24, ++l, c = (c & 65535) * b + (((c >>> 16) * b & 65535) << 16) & 4294967295, c = c << 15 | c >>> 17, c = (c & 65535) * w + (((c >>> 16) * w & 65535) << 16) & 4294967295, t ^= c, t = t << 13 | t >>> 19, d = (t & 65535) * 5 + (((t >>> 16) * 5 & 65535) << 16) & 4294967295, t = (d & 65535) + 27492 + (((d >>> 16) + 58964 & 65535) << 16);
27
- switch (c = 0, u) {
28
- case 3:
29
- c ^= (r[l + 2] & 255) << 16;
30
- case 2:
31
- c ^= (r[l + 1] & 255) << 8;
32
- case 1:
33
- c ^= r[l] & 255, c = (c & 65535) * b + (((c >>> 16) * b & 65535) << 16) & 4294967295, c = c << 15 | c >>> 17, c = (c & 65535) * w + (((c >>> 16) * w & 65535) << 16) & 4294967295, t ^= c;
34
- }
35
- return t ^= r.length, t ^= t >>> 16, t = (t & 65535) * 2246822507 + (((t >>> 16) * 2246822507 & 65535) << 16) & 4294967295, t ^= t >>> 13, t = (t & 65535) * 3266489909 + (((t >>> 16) * 3266489909 & 65535) << 16) & 4294967295, t ^= t >>> 16, t >>> 0;
36
- }
37
- const n = o;
38
- n.v2 = a, n.v3 = o, e.exports = n;
39
- })();
40
- })(q)), q.exports;
41
- }
42
- var te = ne(), Q = "comm", X = "rule", Z = "decl", ae = "@import", ce = "@namespace", oe = "@keyframes", ie = "@layer", W = Math.abs, F = String.fromCharCode;
43
- function ee(e) {
44
- return e.trim();
45
- }
46
- function H(e, f, a) {
47
- return e.replace(f, a);
48
- }
49
- function se(e, f, a) {
50
- return e.indexOf(f, a);
51
- }
52
- function C(e, f) {
53
- return e.charCodeAt(f) | 0;
54
- }
55
- function M(e, f, a) {
56
- return e.slice(f, a);
57
- }
58
- function k(e) {
59
- return e.length;
60
- }
61
- function ue(e) {
62
- return e.length;
63
- }
64
- function O(e, f) {
65
- return f.push(e), e;
66
- }
67
- var I = 1, z = 1, re = 0, m = 0, x = 0, N = "";
68
- function Y(e, f, a, o, n, r, v, u) {
69
- return { value: e, root: f, parent: a, type: o, props: n, children: r, line: I, column: z, length: v, return: "", siblings: u };
70
- }
71
- function de() {
72
- return x;
73
- }
74
- function le() {
75
- return x = m > 0 ? C(N, --m) : 0, z--, x === 10 && (z = 1, I--), x;
76
- }
77
- function g() {
78
- return x = m < re ? C(N, m++) : 0, z++, x === 10 && (z = 1, I++), x;
79
- }
80
- function R() {
81
- return C(N, m);
82
- }
83
- function V() {
84
- return m;
85
- }
86
- function L(e, f) {
87
- return M(N, e, f);
88
- }
89
- function B(e) {
90
- switch (e) {
91
- // \0 \t \n \r \s whitespace token
92
- case 0:
93
- case 9:
94
- case 10:
95
- case 13:
96
- case 32:
97
- return 5;
98
- // ! + , / > @ ~ isolate token
99
- case 33:
100
- case 43:
101
- case 44:
102
- case 47:
103
- case 62:
104
- case 64:
105
- case 126:
106
- // ; { } breakpoint token
107
- case 59:
108
- case 123:
109
- case 125:
110
- return 4;
111
- // : accompanied token
112
- case 58:
113
- return 3;
114
- // " ' ( [ opening delimit token
115
- case 34:
116
- case 39:
117
- case 40:
118
- case 91:
119
- return 2;
120
- // ) ] closing delimit token
121
- case 41:
122
- case 93:
123
- return 1;
124
- }
125
- return 0;
126
- }
127
- function xe(e) {
128
- return I = z = 1, re = k(N = e), m = 0, [];
129
- }
130
- function be(e) {
131
- return N = "", e;
132
- }
133
- function P(e) {
134
- return ee(L(m - 1, _(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
135
- }
136
- function he(e) {
137
- for (; (x = R()) && x < 33; )
138
- g();
139
- return B(e) > 2 || B(x) > 3 ? "" : " ";
140
- }
141
- function ve(e, f) {
142
- for (; --f && g() && !(x < 48 || x > 102 || x > 57 && x < 65 || x > 70 && x < 97); )
143
- ;
144
- return L(e, V() + (f < 6 && R() == 32 && g() == 32));
145
- }
146
- function _(e) {
147
- for (; g(); )
148
- switch (x) {
149
- // ] ) " '
150
- case e:
151
- return m;
152
- // " '
153
- case 34:
154
- case 39:
155
- e !== 34 && e !== 39 && _(x);
156
- break;
157
- // (
158
- case 40:
159
- e === 41 && _(e);
160
- break;
161
- // \
162
- case 92:
163
- g();
164
- break;
165
- }
166
- return m;
167
- }
168
- function pe(e, f) {
169
- for (; g() && e + x !== 57; )
170
- if (e + x === 84 && R() === 47)
171
- break;
172
- return "/*" + L(f, m - 1) + "*" + F(e === 47 ? e : g());
173
- }
174
- function me(e) {
175
- for (; !B(R()); )
176
- g();
177
- return L(e, m);
178
- }
179
- function we(e) {
180
- return be(D("", null, null, null, [""], e = xe(e), 0, [0], e));
181
- }
182
- function D(e, f, a, o, n, r, v, u, i) {
183
- for (var t = 0, d = 0, b = v, w = 0, c = 0, l = 0, p = 1, y = 1, E = 1, h = 0, T = "", A = n, S = r, $ = o, s = T; y; )
184
- switch (l = h, h = g()) {
185
- // (
186
- case 40:
187
- if (l != 108 && C(s, b - 1) == 58) {
188
- se(s += H(P(h), "&", "&\f"), "&\f", W(t ? u[t - 1] : 0)) != -1 && (E = -1);
189
- break;
190
- }
191
- // " ' [
192
- case 34:
193
- case 39:
194
- case 91:
195
- s += P(h);
196
- break;
197
- // \t \n \r \s
198
- case 9:
199
- case 10:
200
- case 13:
201
- case 32:
202
- s += he(l);
203
- break;
204
- // \
205
- case 92:
206
- s += ve(V() - 1, 7);
207
- continue;
208
- // /
209
- case 47:
210
- switch (R()) {
211
- case 42:
212
- case 47:
213
- O(ge(pe(g(), V()), f, a, i), i), (B(l || 1) == 5 || B(R() || 1) == 5) && k(s) && M(s, -1, void 0) !== " " && (s += " ");
214
- break;
215
- default:
216
- s += "/";
217
- }
218
- break;
219
- // {
220
- case 123 * p:
221
- u[t++] = k(s) * E;
222
- // } ; \0
223
- case 125 * p:
224
- case 59:
225
- case 0:
226
- switch (h) {
227
- // \0 }
228
- case 0:
229
- case 125:
230
- y = 0;
231
- // ;
232
- case 59 + d:
233
- E == -1 && (s = H(s, /\f/g, "")), c > 0 && (k(s) - b || p === 0 && l === 47) && O(c > 32 ? J(s + ";", o, a, b - 1, i) : J(H(s, " ", "") + ";", o, a, b - 2, i), i);
234
- break;
235
- // @ ;
236
- case 59:
237
- s += ";";
238
- // { rule/at-rule
239
- default:
240
- if (O($ = G(s, f, a, t, d, n, u, T, A = [], S = [], b, r), r), h === 123)
241
- if (d === 0)
242
- D(s, f, $, $, A, r, b, u, S);
243
- else {
244
- switch (w) {
245
- // c(ontainer)
246
- case 99:
247
- if (C(s, 3) === 110) break;
248
- // l(ayer)
249
- case 108:
250
- if (C(s, 2) === 97) break;
251
- default:
252
- d = 0;
253
- // d(ocument) m(edia) s(upports)
254
- case 100:
255
- case 109:
256
- case 115:
257
- }
258
- d ? D(e, $, $, o && O(G(e, $, $, 0, 0, n, u, T, n, A = [], b, S), S), n, S, b, u, o ? A : S) : D(s, $, $, $, [""], S, 0, u, S);
259
- }
260
- }
261
- t = d = c = 0, p = E = 1, T = s = "", b = v;
262
- break;
263
- // :
264
- case 58:
265
- b = 1 + k(s), c = l;
266
- default:
267
- if (p < 1) {
268
- if (h == 123)
269
- --p;
270
- else if (h == 125 && p++ == 0 && le() == 125)
271
- continue;
272
- }
273
- switch (s += F(h), h * p) {
274
- // &
275
- case 38:
276
- E = d > 0 ? 1 : (s += "\f", -1);
277
- break;
278
- // ,
279
- case 44:
280
- u[t++] = (k(s) - 1) * E, E = 1;
281
- break;
282
- // @
283
- case 64:
284
- R() === 45 && (s += P(g())), w = R(), d = b = k(T = s += me(V())), h++;
285
- break;
286
- // -
287
- case 45:
288
- l === 45 && k(s) == 2 && (p = 0);
289
- }
290
- }
291
- return r;
292
- }
293
- function G(e, f, a, o, n, r, v, u, i, t, d, b) {
294
- for (var w = n - 1, c = n === 0 ? r : [""], l = ue(c), p = 0, y = 0, E = 0; p < o; ++p)
295
- for (var h = 0, T = M(e, w + 1, w = W(y = v[p])), A = e; h < l; ++h)
296
- (A = ee(y > 0 ? c[h] + " " + T : H(T, /&\f/g, c[h]))) && (i[E++] = A);
297
- return Y(e, f, a, n === 0 ? X : u, i, t, d, b);
298
- }
299
- function ge(e, f, a, o) {
300
- return Y(e, f, a, Q, F(de()), M(e, 2, -2), 0, o);
301
- }
302
- function J(e, f, a, o, n) {
303
- return Y(e, f, a, Z, M(e, 0, o), M(e, o + 1, -1), o, n);
304
- }
305
- function j(e, f) {
306
- for (var a = "", o = 0; o < e.length; o++)
307
- a += f(e[o], o, e, f) || "";
308
- return a;
309
- }
310
- function $e(e, f, a, o) {
311
- switch (e.type) {
312
- case ie:
313
- if (e.children.length) break;
314
- case ae:
315
- case ce:
316
- case Z:
317
- return e.return = e.return || e.value;
318
- case Q:
319
- return "";
320
- case oe:
321
- return e.return = e.value + "{" + j(e.children, o) + "}";
322
- case X:
323
- if (!k(e.value = e.props.join(","))) return "";
324
- }
325
- return k(a = j(e.children, o)) ? e.return = e.value + "{" + a + "}" : "";
326
- }
327
- const ke = () => K`-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;`, Se = ({
328
- backgroundColor: e = "white",
329
- borderColor: f,
330
- placeholderColor: a
331
- }) => K`border-color:${f};border-style:solid;border-width:1px;margin:0;padding:0;display:inline-block;vertical-align:middle;white-space:normal;background-color:${e};line-height:1;appearance:none;-moz-appearance:none;-webkit-appearance:none;&::placeholder{color:${a};}${ke()}`, Ee = ({
332
- key: e
333
- }) => {
334
- if (window?.document?.querySelector(`style[data-clll-theme="${e}"]`))
335
- return;
336
- const f = window?.document?.createElement("style");
337
- if (f)
338
- return f.setAttribute("data-clll-theme", e), f.appendChild(window?.document.createTextNode("")), window?.document.head.appendChild(f), f;
339
- }, K = (e, ...f) => {
340
- const a = [e[0]];
341
- return (() => {
342
- f.forEach((r, v) => {
343
- a.push(r, e[v + 1]);
344
- });
345
- })(), a.join("").replace(/[\r\n]+/gm, "");
346
- }, Re = (...e) => {
347
- if (import.meta?.env?.VITEST) return "";
348
- const a = e.filter(Boolean).join(""), o = j(we(a), $e), n = te.v2(o).toString(36), r = `clll-theme--${n}`, v = `.${r}{${a}}`, u = Ee({ key: n });
349
- return u && (u?.sheet?.parentStyleSheet ? u?.sheet?.insertRule(
350
- v,
351
- u.sheet?.cssRules.length
352
- ) : u.appendChild(window?.document.createTextNode(v))), r;
353
- }, Ae = ({
354
- borderColor: e,
355
- outlineWidth: f = "2px",
356
- outlineOffset: a = "0px",
357
- outlineColor: o = "transparent",
358
- shadowWidth: n = "--clll-unit-1_5",
359
- shadowColor: r
360
- }) => K`outline-color:rgba(0,0,0,0);outline-offset:${a};outline-style:solid;outline-width:${f};&:focus{outline:none;}&:focus{&[type='checkbox'],&[type='radio']{border-color:transparent!important;outline-color:${e};outline-style:solid;outline-width:${f};box-shadow:0 0 0 var(${n})${r};}}&:focus-visible{border-color:transparent!important;outline-color:${e};outline-style:solid;outline-width:${f};box-shadow:0 0 0 var(${n})${r};}&[type='checkbox'],&[type='radio']{border-color:${e};&:focus{outline-color:${o};border-color:transparent;}}`, Ce = ({
361
- color: e,
362
- colors: f,
363
- mode: a,
364
- variant: o
365
- }) => {
366
- const n = fe[o][a], r = f[e];
367
- if (r)
368
- return {
369
- bg: n.bg !== void 0 ? r[n.bg] : void 0,
370
- border: n.border !== void 0 ? r[n.border] : void 0,
371
- borderHover: n.borderHover !== void 0 ? r[n.borderHover] : void 0,
372
- disabled: n.disabled !== void 0 ? r[n.disabled] : void 0,
373
- focus: n.focus !== void 0 ? r[n.focus] : void 0,
374
- hover: n.hover !== void 0 ? r[n.hover] : void 0,
375
- shadow: n.shadow !== void 0 ? r[n.shadow] : void 0,
376
- text: n.text !== void 0 ? r[n.text] : void 0,
377
- textBody: n.textBody !== void 0 ? r[n.textBody] : void 0,
378
- textDisabled: n.textDisabled !== void 0 ? r[n.textDisabled] : void 0
379
- };
380
- };
381
- export {
382
- Re as a,
383
- Se as b,
384
- K as c,
385
- Ae as f,
386
- Ce as g
387
- };
@@ -1,26 +0,0 @@
1
- import { CLMode as a, CLColors as d, CLColorVariants as u } from "../index.js";
2
- import { g as i, a as t, c as s } from "./utils-C9rOAW29.js";
3
- import { useTheme as c } from "../composables/useTheme.js";
4
- const g = () => {
5
- const { borderRadius: o, darkMode: e } = c(), l = e.value ? "rgba(0 0 0 / 0.005)" : "rgba(0 0 0 / 0.075)";
6
- let r;
7
- return o.value && (r = s`
8
- &:not([class*='clll-skeleton--rounded-']) {
9
- &.clll-skeleton.clll-skeleton--rounded {
10
- border-radius: var(--clll-${o.value});
11
- }
12
- }
13
- `), t(s`background-color:${l};`, r);
14
- }, C = ({ color: o = d.Primary }) => {
15
- const { colors: e, darkMode: l } = c(), r = l.value ? a.Dark : a.Light, n = i({
16
- color: o,
17
- colors: e.value,
18
- mode: r,
19
- variant: u.Solid
20
- });
21
- return t(s`color:${n?.bg};`);
22
- };
23
- export {
24
- C as a,
25
- g as s
26
- };
@@ -1,30 +0,0 @@
1
- import { CLMode as c, CLColorVariants as n } from "../index.js";
2
- import { g as b, c as d, a as h, f as p } from "./utils-C9rOAW29.js";
3
- import { useTheme as g } from "../composables/useTheme.js";
4
- const $ = ({ color: t, variant: r }) => {
5
- const { borderRadius: o, colors: a, darkMode: u } = g(), i = u.value ? c.Dark : c.Light, s = r === n.Ghost, l = b({
6
- color: t,
7
- colors: a.value,
8
- mode: i,
9
- variant: r
10
- });
11
- let e;
12
- return o.value && (e = d`&:not([class*='clll-card--rounded-']){&.clll-card.clll-card--rounded{border-radius:var(--clll-${o.value})}}`), h(
13
- d`border-color:${s ? "transparent" : l?.border};background-color:${l?.bg};&.clll-card--has-link{${p({ borderColor: l?.focus, shadowColor: l?.shadow, outlineOffset: "2px", shadowWidth: "--clll-unit-0" })}}.clll-card__image{background-color:${l?.bg}}.clll-card__heading,.clll-card__byline{color:${l?.text}}`,
14
- e
15
- );
16
- }, v = ({ color: t, variant: r }) => {
17
- const { borderRadius: o, colors: a, darkMode: u } = g(), i = u.value ? c.Dark : c.Light, s = r === n.Ghost, l = b({
18
- color: t,
19
- colors: a.value,
20
- mode: i,
21
- variant: r
22
- });
23
- let e;
24
- return o.value && (e = d`&:not([class*='clll-disclosure--rounded-']){&.clll-disclosure.clll-disclosure--rounded{border-radius:var(--clll-${o.value});.clll-disclosure__trigger{.clll-button.clll-button--rounded{border-radius:var(--clll-${o.value})}}}}
25
- `), h(d`border-color:${s ? "transparent" : l?.focus};border-style:solid;border-width:1px;.clll-disclosure__heading{.clll-heading,.clll-text{color:${l?.text};}}.clll-disclosure__content{border-top-width:1px;border-top-style:solid;border-top-color:${s ? "transparent" : l?.focus};}.clll-disclosure__trigger{.clll-button{border:0;}}`, e);
26
- };
27
- export {
28
- $ as c,
29
- v as d
30
- };
@@ -1,73 +0,0 @@
1
- import { CLMode as s, CLColorVariants as i, CLColors as u } from "../index.js";
2
- import { g as p, c as b, a as g } from "./utils-C9rOAW29.js";
3
- import { useTheme as $ } from "../composables/useTheme.js";
4
- const _ = ({
5
- color: c = u.Primary,
6
- variant: l
7
- }) => {
8
- const { borderRadius: e, colors: a, darkMode: n } = $(), d = n.value ? s.Dark : s.Light, r = l === i.Outline, t = p({
9
- color: c,
10
- colors: a.value,
11
- mode: d,
12
- variant: l
13
- });
14
- let o;
15
- return e.value && (o = b`
16
- &:not([class*='clll-badge--rounded-']) {
17
- &.clll-badge {
18
- border-radius: var(--clll-${e.value});
19
- }
20
- }
21
- `), g(b`border-color:${r ? t?.border : "transparent"};border-style:${r ? "solid" : "none"};border-width:${r ? "1px" : "0"};background-color:${t?.bg};.clll-badge__count{color:${t?.text};}`, o);
22
- }, C = ({
23
- color: c = u.Primary,
24
- variant: l
25
- }) => {
26
- const { borderRadius: e, colors: a, darkMode: n } = $(), d = n.value ? s.Dark : s.Light, r = p({
27
- color: c,
28
- colors: a.value,
29
- mode: d,
30
- variant: l
31
- });
32
- let t;
33
- e.value && (t = b`&:not([class*='clll-banner--rounded-']){&.clll-banner.clll-banner--rounded{border-radius:var(--clll-${e.value});}}`);
34
- const o = b`background-color:${r?.bg ?? "transparent"};border-color:${r?.focus ?? "transparent"};&.clll-banner--bordered{border-bottom-width:.25rem}.clll-banner__content{.clll-heading,.clll-text{color:${r?.text}}}`;
35
- return g(o, t);
36
- }, x = ({
37
- color: c = u.Primary,
38
- variant: l
39
- }) => {
40
- const { borderRadius: e, colors: a, darkMode: n } = $(), d = n.value ? s.Dark : s.Light, r = l === i.Outline, t = l === i.Ghost, o = p({
41
- color: c,
42
- colors: a.value,
43
- mode: d,
44
- variant: l
45
- });
46
- let m;
47
- return e.value && (m = b`
48
- &.clll-pill.clll-pill--rounded {
49
- border-radius: var(--clll-${e.value});
50
- }
51
- `), g(m, b`border-color:${r ? o?.border : "transparent"};border-width:${r ? "1px" : "0"};border-style:${r ? "solid" : "none"};background-color:${o?.bg ?? "transparent"};.clll-pill__label{background-color:${o?.bg ?? "transparent"};}&.clll-pill--clickable{&:hover{background-color:${o?.bg ?? "transparent"};}}.clll-pill__label{color:${o?.text};}.clll-icon{color:${o?.text};background-color:${o?.bg ?? "transparent"};}.clll-pill__count{color:${o?.text};background-color:${!r && !t ? o?.hover : "transparent"};${r ? `border-left-style:solid;border-left-color:${r ? o?.border : "transparent"};border-left-width:1px;` : ""}`);
52
- }, f = ({
53
- color: c = u.Primary
54
- }) => {
55
- const { colors: l, darkMode: e } = $(), a = e.value ? s.Dark : s.Light, n = p({
56
- color: c,
57
- colors: l.value,
58
- mode: a,
59
- variant: i.Solid
60
- }), d = p({
61
- color: u.Neutral,
62
- colors: l.value,
63
- mode: a,
64
- variant: i.Solid
65
- }), r = b`.clll-progress__bar-container{background-color:${d?.disabled ?? "transparent"};.clll-progress__bar{background-color:${n?.bg ?? "transparent"};}}`;
66
- return g(r);
67
- };
68
- export {
69
- f as a,
70
- _ as b,
71
- C as c,
72
- x as p
73
- };
@@ -1,15 +0,0 @@
1
- import { CLMode as o, CLColors as c, CLColorVariants as l } from "../index.js";
2
- import { g as m, a as p, c as i } from "./utils-C9rOAW29.js";
3
- import { useTheme as n } from "../composables/useTheme.js";
4
- const x = ({ color: e = c.Neutral }) => {
5
- const { colors: r, darkMode: t } = n(), a = t.value ? o.Light : o.Dark, s = m({
6
- color: e,
7
- colors: r.value,
8
- mode: a,
9
- variant: l.Text
10
- });
11
- return p(i`color: ${s?.textBody};white-space: pre-wrap;`);
12
- };
13
- export {
14
- x as t
15
- };