@versini/ui-table 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -2
- package/dist/index.js +203 -163
- package/package.json +8 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import {
|
|
2
|
+
import { SpacingTypes } from '@versini/ui-spacing-types';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
|
|
5
5
|
declare const TableCellSortDirections: {
|
|
@@ -48,7 +48,7 @@ type TableProps = {
|
|
|
48
48
|
* CSS class to apply to the table wrapper.
|
|
49
49
|
*/
|
|
50
50
|
wrapperClassName?: string;
|
|
51
|
-
} &
|
|
51
|
+
} & SpacingTypes.Props &
|
|
52
52
|
React.HTMLAttributes<HTMLTableElement>;
|
|
53
53
|
|
|
54
54
|
type TableRowProps = React.HTMLAttributes<HTMLTableRowElement>;
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { jsx as
|
|
3
|
-
import N, { useContext as
|
|
1
|
+
import i from "clsx";
|
|
2
|
+
import { jsx as s, jsxs as v, Fragment as A } from "react/jsx-runtime";
|
|
3
|
+
import N, { useContext as k } from "react";
|
|
4
4
|
/*!
|
|
5
|
-
@versini/ui-table v1.
|
|
5
|
+
@versini/ui-table v1.3.0
|
|
6
6
|
© 2024 gizmette.com
|
|
7
7
|
*/
|
|
8
8
|
try {
|
|
9
9
|
window.__VERSINI_UI_TABLE__ || (window.__VERSINI_UI_TABLE__ = {
|
|
10
|
-
version: "1.
|
|
11
|
-
buildTime: "12/
|
|
10
|
+
version: "1.3.0",
|
|
11
|
+
buildTime: "12/24/2024 06:47 PM EST",
|
|
12
|
+
homepage: "https://github.com/aversini/ui-components",
|
|
13
|
+
license: "MIT"
|
|
14
|
+
});
|
|
15
|
+
} catch {
|
|
16
|
+
}
|
|
17
|
+
/*!
|
|
18
|
+
@versini/ui-spacing v1.0.0
|
|
19
|
+
© 2024 gizmette.com
|
|
20
|
+
*/
|
|
21
|
+
try {
|
|
22
|
+
window.__VERSINI_UI_SPACING__ || (window.__VERSINI_UI_SPACING__ = {
|
|
23
|
+
version: "1.0.0",
|
|
24
|
+
buildTime: "12/24/2024 06:47 PM EST",
|
|
12
25
|
homepage: "https://github.com/aversini/ui-components",
|
|
13
26
|
license: "MIT"
|
|
14
27
|
});
|
|
@@ -23,20 +36,20 @@ const $ = (e) => {
|
|
|
23
36
|
(e == null ? void 0 : e.t) !== void 0 && t.push(`mt-${e.t}`), (e == null ? void 0 : e.r) !== void 0 && t.push(`mr-${e.r}`), (e == null ? void 0 : e.b) !== void 0 && t.push(`mb-${e.b}`), (e == null ? void 0 : e.l) !== void 0 && t.push(`ml-${e.l}`), a = t.join(" ");
|
|
24
37
|
}
|
|
25
38
|
return a;
|
|
26
|
-
},
|
|
39
|
+
}, f = "thead", I = "tfoot", p = "tbody", y = {
|
|
27
40
|
ASC: "asc",
|
|
28
41
|
DESC: "desc"
|
|
29
|
-
},
|
|
42
|
+
}, H = ({
|
|
30
43
|
mode: e,
|
|
31
44
|
className: a,
|
|
32
45
|
wrapperClassName: t,
|
|
33
46
|
stickyHeader: r,
|
|
34
47
|
stickyFooter: o,
|
|
35
|
-
spacing:
|
|
48
|
+
spacing: l
|
|
36
49
|
}) => ({
|
|
37
|
-
wrapper:
|
|
50
|
+
wrapper: i(
|
|
38
51
|
"not-prose relative w-full rounded-lg shadow-md",
|
|
39
|
-
$(
|
|
52
|
+
$(l),
|
|
40
53
|
{
|
|
41
54
|
"overflow-x-auto": !r && !o,
|
|
42
55
|
"overflow-y-scroll": r || o,
|
|
@@ -47,33 +60,33 @@ const $ = (e) => {
|
|
|
47
60
|
},
|
|
48
61
|
t
|
|
49
62
|
),
|
|
50
|
-
table:
|
|
63
|
+
table: i("my-0 w-full text-left text-sm", a, {
|
|
51
64
|
"text-copy-light": e === "dark",
|
|
52
65
|
"text-copy-dark": e === "light",
|
|
53
66
|
"text-copy-light dark:text-copy-dark": e === "system",
|
|
54
67
|
"text-copy-dark dark:text-copy-light": e === "alt-system"
|
|
55
68
|
}),
|
|
56
|
-
caption:
|
|
69
|
+
caption: i("py-2 text-sm font-bold", {
|
|
57
70
|
"text-copy-light": e === "dark",
|
|
58
71
|
"text-copy-dark": e === "light",
|
|
59
72
|
"text-copy-light dark:text-copy-dark": e === "system",
|
|
60
73
|
"text-copy-dark dark:text-copy-light": e === "alt-system"
|
|
61
74
|
})
|
|
62
|
-
}),
|
|
75
|
+
}), W = ({
|
|
63
76
|
className: e,
|
|
64
77
|
stickyHeader: a,
|
|
65
78
|
mode: t
|
|
66
|
-
}) =>
|
|
79
|
+
}) => i(e, {
|
|
67
80
|
"sticky top-0 z-10": a,
|
|
68
81
|
"shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem]": a && t === "dark",
|
|
69
82
|
"shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem] dark:shadow-[rgb(65_65_65_/30%)_0_0.5rem_1rem]": a && t === "system",
|
|
70
83
|
"shadow-[rgb(65_65_65_/30%)_0_0.5rem_1rem]": a && t === "light",
|
|
71
84
|
"shadow-[rgb(65_65_65_/30%)_0_0.5rem_1rem] dark:shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem]": a && t === "alt-system"
|
|
72
|
-
}),
|
|
85
|
+
}), j = ({
|
|
73
86
|
className: e,
|
|
74
87
|
stickyFooter: a,
|
|
75
88
|
mode: t
|
|
76
|
-
}) =>
|
|
89
|
+
}) => i(e, {
|
|
77
90
|
"sticky bottom-0 z-10": a,
|
|
78
91
|
"shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem]": a && t === "dark",
|
|
79
92
|
"shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem] dark:shadow-[rgb(65_65_65_/30%)_0_-0.5rem_1rem]": a && t === "system",
|
|
@@ -83,12 +96,12 @@ const $ = (e) => {
|
|
|
83
96
|
mode: e,
|
|
84
97
|
className: a,
|
|
85
98
|
cellWrapper: t
|
|
86
|
-
}) => t ===
|
|
99
|
+
}) => t === f || t === I ? i({
|
|
87
100
|
"bg-table-head-dark": e === "dark",
|
|
88
101
|
"bg-table-head-light": e === "light",
|
|
89
102
|
"bg-table-head-dark dark:bg-table-head-light": e === "system",
|
|
90
103
|
"bg-table-head-light dark:bg-table-head-dark": e === "alt-system"
|
|
91
|
-
}) :
|
|
104
|
+
}) : i("border-b last:border-0", a, {
|
|
92
105
|
"border-table-dark": e === "dark",
|
|
93
106
|
"odd:bg-table-dark-odd even:bg-table-dark-even": t === p && e === "dark",
|
|
94
107
|
"border-table-light": e === "light",
|
|
@@ -97,22 +110,36 @@ const $ = (e) => {
|
|
|
97
110
|
"odd:bg-table-dark-odd even:bg-table-dark-even dark:odd:bg-table-light-odd dark:even:bg-table-light-even": t === p && e === "system",
|
|
98
111
|
"border-table-light dark:border-table-dark": e === "alt-system",
|
|
99
112
|
"odd:bg-table-light-odd even:bg-table-light-even dark:odd:bg-table-dark-odd dark:even:bg-table-dark-even": t === p && e === "alt-system"
|
|
100
|
-
}),
|
|
113
|
+
}), G = ({
|
|
101
114
|
cellWrapper: e,
|
|
102
115
|
className: a,
|
|
103
116
|
compact: t,
|
|
104
117
|
mode: r
|
|
105
|
-
}) =>
|
|
118
|
+
}) => i(a, {
|
|
106
119
|
"text-copy-light": r === "dark",
|
|
107
120
|
"text-copy-dark": r === "light",
|
|
108
121
|
"text-copy-light dark:text-copy-dark": r === "system",
|
|
109
122
|
"text-copy-dark dark:text-copy-light": r === "alt-system",
|
|
110
|
-
"px-4 py-3": !t && (e ===
|
|
123
|
+
"px-4 py-3": !t && (e === f || e === I),
|
|
111
124
|
"p-4": !t && e === p,
|
|
112
125
|
"px-4 py-1": t
|
|
113
|
-
}),
|
|
126
|
+
}), D = ({
|
|
114
127
|
buttonClassName: e
|
|
115
|
-
}) =>
|
|
128
|
+
}) => i("rounded-none text-sm", e), C = "av-button";
|
|
129
|
+
/*!
|
|
130
|
+
@versini/ui-spacing v1.0.0
|
|
131
|
+
© 2024 gizmette.com
|
|
132
|
+
*/
|
|
133
|
+
try {
|
|
134
|
+
window.__VERSINI_UI_SPACING__ || (window.__VERSINI_UI_SPACING__ = {
|
|
135
|
+
version: "1.0.0",
|
|
136
|
+
buildTime: "12/24/2024 06:47 PM EST",
|
|
137
|
+
homepage: "https://github.com/aversini/ui-components",
|
|
138
|
+
license: "MIT"
|
|
139
|
+
});
|
|
140
|
+
} catch {
|
|
141
|
+
}
|
|
142
|
+
const F = (e) => {
|
|
116
143
|
let a = "";
|
|
117
144
|
if (typeof e == "number" || typeof e == "string")
|
|
118
145
|
a = "m-" + e;
|
|
@@ -121,29 +148,29 @@ const $ = (e) => {
|
|
|
121
148
|
(e == null ? void 0 : e.t) !== void 0 && t.push(`mt-${e.t}`), (e == null ? void 0 : e.r) !== void 0 && t.push(`mr-${e.r}`), (e == null ? void 0 : e.b) !== void 0 && t.push(`mb-${e.b}`), (e == null ? void 0 : e.l) !== void 0 && t.push(`ml-${e.l}`), a = t.join(" ");
|
|
122
149
|
}
|
|
123
150
|
return a;
|
|
124
|
-
},
|
|
151
|
+
}, S = "icon", Y = "button", q = "link", J = ({
|
|
125
152
|
type: e,
|
|
126
153
|
size: a,
|
|
127
154
|
labelRight: t,
|
|
128
155
|
labelLeft: r,
|
|
129
156
|
align: o
|
|
130
157
|
}) => {
|
|
131
|
-
const
|
|
158
|
+
const l = "text-sm font-medium max-h-8 py-0", n = "text-base font-medium max-h-9 py-1", d = "text-lg font-medium max-h-12 py-2";
|
|
132
159
|
switch (e) {
|
|
133
|
-
case
|
|
134
|
-
return
|
|
135
|
-
[
|
|
160
|
+
case Y:
|
|
161
|
+
return i("px-4", {
|
|
162
|
+
[l]: a === "small",
|
|
136
163
|
[n]: a === "medium",
|
|
137
|
-
[
|
|
164
|
+
[d]: a === "large"
|
|
138
165
|
});
|
|
139
|
-
case
|
|
140
|
-
return
|
|
141
|
-
[
|
|
166
|
+
case q:
|
|
167
|
+
return i("px-4 text-center", {
|
|
168
|
+
[l]: a === "small",
|
|
142
169
|
[n]: a === "medium",
|
|
143
|
-
[
|
|
170
|
+
[d]: a === "large"
|
|
144
171
|
});
|
|
145
|
-
case
|
|
146
|
-
return
|
|
172
|
+
case S:
|
|
173
|
+
return i("inline-flex items-center", {
|
|
147
174
|
"justify-center": o === "center",
|
|
148
175
|
"justify-start": o === "left",
|
|
149
176
|
"justify-end": o === "right",
|
|
@@ -164,7 +191,7 @@ const $ = (e) => {
|
|
|
164
191
|
if (a)
|
|
165
192
|
return "not-prose rounded-full";
|
|
166
193
|
if (r === "primary")
|
|
167
|
-
return
|
|
194
|
+
return i("not-prose rounded-full", {
|
|
168
195
|
truncate: !t,
|
|
169
196
|
"bg-action-dark text-copy-light": e === "dark",
|
|
170
197
|
"bg-action-light text-copy-lighter": e === "light",
|
|
@@ -172,7 +199,7 @@ const $ = (e) => {
|
|
|
172
199
|
"bg-action-light text-copy-lighter dark:bg-action-dark dark:text-copy-light": e === "alt-system"
|
|
173
200
|
});
|
|
174
201
|
if (r === "secondary")
|
|
175
|
-
return
|
|
202
|
+
return i("not-prose rounded-full", {
|
|
176
203
|
truncate: !t,
|
|
177
204
|
"bg-action-dark text-copy-light": e === "light",
|
|
178
205
|
"bg-action-light text-copy-lighter": e === "dark",
|
|
@@ -180,7 +207,7 @@ const $ = (e) => {
|
|
|
180
207
|
"bg-action-light text-copy-lighter dark:bg-action-dark dark:text-copy-light": e === "system"
|
|
181
208
|
});
|
|
182
209
|
if (r === "danger")
|
|
183
|
-
return
|
|
210
|
+
return i("not-prose rounded-full", {
|
|
184
211
|
truncate: !t,
|
|
185
212
|
"bg-action-danger-dark text-copy-light": e === "dark",
|
|
186
213
|
"bg-action-danger-light text-copy-lighter": e === "light",
|
|
@@ -195,21 +222,21 @@ const $ = (e) => {
|
|
|
195
222
|
if (a)
|
|
196
223
|
return "";
|
|
197
224
|
if (t === "primary")
|
|
198
|
-
return
|
|
225
|
+
return i("hover:text-copy-light-hover", {
|
|
199
226
|
"hover:bg-action-dark-hover": e === "dark",
|
|
200
227
|
"hover:bg-action-light-hover": e === "light",
|
|
201
228
|
"hover:bg-action-dark-hover dark:hover:bg-action-light-hover": e === "system",
|
|
202
229
|
"hover:bg-action-light-hover dark:hover:bg-action-dark-hover": e === "alt-system"
|
|
203
230
|
});
|
|
204
231
|
if (t === "secondary")
|
|
205
|
-
return
|
|
232
|
+
return i("hover:text-copy-light-hover", {
|
|
206
233
|
"hover:bg-action-dark-hover": e === "light",
|
|
207
234
|
"hover:bg-action-light-hover": e === "dark",
|
|
208
235
|
"hover:bg-action-dark-hover dark:hover:bg-action-light-hover": e === "alt-system",
|
|
209
236
|
"hover:bg-action-light-hover dark:hover:bg-action-dark-hover": e === "system"
|
|
210
237
|
});
|
|
211
238
|
if (t === "danger")
|
|
212
|
-
return
|
|
239
|
+
return i("hover:text-copy-light-hover", {
|
|
213
240
|
"hover:bg-action-danger-dark-hover": e === "dark",
|
|
214
241
|
"hover:bg-action-danger-light-hover": e === "light",
|
|
215
242
|
"hover:bg-action-danger-dark-hover dark:hover:bg-action-danger-light-hover": e === "system",
|
|
@@ -223,21 +250,21 @@ const $ = (e) => {
|
|
|
223
250
|
if (a)
|
|
224
251
|
return "";
|
|
225
252
|
if (t === "primary")
|
|
226
|
-
return
|
|
253
|
+
return i("active:text-copy-light-active", {
|
|
227
254
|
"active:bg-action-dark-active": e === "dark",
|
|
228
255
|
"active:bg-action-light-active": e === "light",
|
|
229
256
|
"active:bg-action-dark-active dark:active:bg-action-light-active": e === "system",
|
|
230
257
|
"active:bg-action-light-active dark:active:bg-action-dark-active": e === "alt-system"
|
|
231
258
|
});
|
|
232
259
|
if (t === "secondary")
|
|
233
|
-
return
|
|
260
|
+
return i("active:text-copy-light-active", {
|
|
234
261
|
"active:bg-action-dark-active": e === "light",
|
|
235
262
|
"active:bg-action-light-active": e === "dark",
|
|
236
263
|
"active:bg-action-dark-active dark:active:bg-action-light-active": e === "alt-system",
|
|
237
264
|
"active:bg-action-light-active dark:active:bg-action-dark-active": e === "system"
|
|
238
265
|
});
|
|
239
266
|
if (t === "danger")
|
|
240
|
-
return
|
|
267
|
+
return i("active:text-copy-lighter-active", {
|
|
241
268
|
"active:bg-action-danger-dark-active": e === "dark",
|
|
242
269
|
"active:bg-action-danger-light-active": e === "light",
|
|
243
270
|
"active:bg-action-danger-dark-active dark:active:bg-action-danger-light-active": e === "system",
|
|
@@ -251,27 +278,27 @@ const $ = (e) => {
|
|
|
251
278
|
if (a)
|
|
252
279
|
return "border border-transparent";
|
|
253
280
|
if (t === "primary")
|
|
254
|
-
return
|
|
281
|
+
return i("border", {
|
|
255
282
|
"border-border-dark": e === "dark",
|
|
256
283
|
"border-border-accent": e === "light",
|
|
257
284
|
"border-border-dark dark:border-border-accent": e === "system",
|
|
258
285
|
"border-border-accent dark:border-border-dark": e === "alt-system"
|
|
259
286
|
});
|
|
260
287
|
if (t === "secondary")
|
|
261
|
-
return
|
|
288
|
+
return i("border", {
|
|
262
289
|
"border-border-dark": e === "light",
|
|
263
290
|
"border-border-accent": e === "dark",
|
|
264
291
|
"border-border-dark dark:border-border-accent": e === "alt-system",
|
|
265
292
|
"border-border-accent dark:border-border-dark": e === "system"
|
|
266
293
|
});
|
|
267
294
|
if (t === "danger")
|
|
268
|
-
return
|
|
295
|
+
return i("border", {
|
|
269
296
|
"border-border-danger-dark": e === "dark",
|
|
270
297
|
"border-border-danger-medium": e === "light",
|
|
271
298
|
"border-border-danger-dark dark:border-border-danger-medium": e === "system",
|
|
272
299
|
"border-border-danger-medium dark:border-border-danger-dark": e === "alt-system"
|
|
273
300
|
});
|
|
274
|
-
}, ee = ({ focusMode: e }) =>
|
|
301
|
+
}, ee = ({ focusMode: e }) => i("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
|
|
275
302
|
"focus:outline-focus-dark": e === "dark",
|
|
276
303
|
"focus:outline-focus-light": e === "light",
|
|
277
304
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
|
@@ -282,9 +309,9 @@ const $ = (e) => {
|
|
|
282
309
|
raw: t,
|
|
283
310
|
mode: r,
|
|
284
311
|
focusMode: o,
|
|
285
|
-
disabled:
|
|
312
|
+
disabled: l,
|
|
286
313
|
fullWidth: n,
|
|
287
|
-
size:
|
|
314
|
+
size: d,
|
|
288
315
|
noBorder: c,
|
|
289
316
|
labelRight: g,
|
|
290
317
|
labelLeft: h,
|
|
@@ -293,60 +320,60 @@ const $ = (e) => {
|
|
|
293
320
|
variant: m,
|
|
294
321
|
noTruncate: x,
|
|
295
322
|
align: w
|
|
296
|
-
}) => (m || (m = "primary"), t ?
|
|
297
|
-
|
|
323
|
+
}) => (m || (m = "primary"), t ? i(C, a) : i(
|
|
324
|
+
C,
|
|
298
325
|
a,
|
|
299
|
-
|
|
326
|
+
F(u),
|
|
300
327
|
K({ mode: r, variant: m, noBackground: b, noTruncate: x }),
|
|
301
|
-
J({ type: e, size:
|
|
328
|
+
J({ type: e, size: d, labelRight: g, labelLeft: h, align: w }),
|
|
302
329
|
Z({ mode: r, variant: m, noBorder: c }),
|
|
303
330
|
ee({ focusMode: o }),
|
|
304
|
-
Q({ mode: r, variant: m, disabled:
|
|
305
|
-
X({ mode: r, variant: m, disabled:
|
|
331
|
+
Q({ mode: r, variant: m, disabled: l }),
|
|
332
|
+
X({ mode: r, variant: m, disabled: l }),
|
|
306
333
|
{
|
|
307
334
|
"w-full": n,
|
|
308
|
-
"disabled:cursor-not-allowed disabled:opacity-50":
|
|
335
|
+
"disabled:cursor-not-allowed disabled:opacity-50": l
|
|
309
336
|
}
|
|
310
337
|
)), ae = (e, a, t) => {
|
|
311
338
|
var r;
|
|
312
339
|
!a && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((r = e == null ? void 0 : e.currentTarget) == null ? void 0 : r.focus) == "function" && e.currentTarget.focus(), typeof t == "function" && t(e);
|
|
313
|
-
},
|
|
340
|
+
}, E = N.forwardRef((e, a) => {
|
|
314
341
|
const { onClick: t, noInternalClick: r = !1, ...o } = e;
|
|
315
|
-
return /* @__PURE__ */
|
|
342
|
+
return /* @__PURE__ */ s(
|
|
316
343
|
"button",
|
|
317
344
|
{
|
|
318
345
|
ref: a,
|
|
319
|
-
onClick: (
|
|
320
|
-
ae(
|
|
346
|
+
onClick: (l) => {
|
|
347
|
+
ae(l, r, t);
|
|
321
348
|
},
|
|
322
349
|
...o
|
|
323
350
|
}
|
|
324
351
|
);
|
|
325
352
|
});
|
|
326
|
-
|
|
353
|
+
E.displayName = "BaseButton";
|
|
327
354
|
/*!
|
|
328
|
-
@versini/ui-button v1.
|
|
355
|
+
@versini/ui-button v1.3.0
|
|
329
356
|
© 2024 gizmette.com
|
|
330
357
|
*/
|
|
331
358
|
try {
|
|
332
359
|
window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
|
|
333
|
-
version: "1.
|
|
334
|
-
buildTime: "12/
|
|
360
|
+
version: "1.3.0",
|
|
361
|
+
buildTime: "12/24/2024 06:47 PM EST",
|
|
335
362
|
homepage: "https://github.com/aversini/ui-components",
|
|
336
363
|
license: "MIT"
|
|
337
364
|
});
|
|
338
365
|
} catch {
|
|
339
366
|
}
|
|
340
|
-
const
|
|
367
|
+
const B = N.forwardRef(
|
|
341
368
|
({
|
|
342
369
|
children: e,
|
|
343
370
|
disabled: a = !1,
|
|
344
371
|
mode: t = "system",
|
|
345
372
|
focusMode: r = "system",
|
|
346
373
|
fullWidth: o = !1,
|
|
347
|
-
className:
|
|
374
|
+
className: l,
|
|
348
375
|
type: n = "button",
|
|
349
|
-
raw:
|
|
376
|
+
raw: d = !1,
|
|
350
377
|
noBorder: c = !1,
|
|
351
378
|
"aria-label": g,
|
|
352
379
|
label: h,
|
|
@@ -355,31 +382,31 @@ const R = N.forwardRef(
|
|
|
355
382
|
labelLeft: m,
|
|
356
383
|
spacing: x,
|
|
357
384
|
noBackground: w = !1,
|
|
358
|
-
align:
|
|
359
|
-
active:
|
|
360
|
-
...
|
|
361
|
-
},
|
|
362
|
-
const
|
|
363
|
-
type:
|
|
385
|
+
align: R = "center",
|
|
386
|
+
active: V = !1,
|
|
387
|
+
...z
|
|
388
|
+
}, M) => {
|
|
389
|
+
const P = te({
|
|
390
|
+
type: S,
|
|
364
391
|
mode: t,
|
|
365
392
|
focusMode: r,
|
|
366
393
|
fullWidth: o,
|
|
367
394
|
disabled: a,
|
|
368
|
-
raw:
|
|
369
|
-
className:
|
|
395
|
+
raw: d,
|
|
396
|
+
className: l,
|
|
370
397
|
noBorder: c,
|
|
371
398
|
size: u,
|
|
372
399
|
labelRight: b,
|
|
373
400
|
labelLeft: m,
|
|
374
401
|
spacing: x,
|
|
375
402
|
noBackground: w,
|
|
376
|
-
align:
|
|
377
|
-
}),
|
|
378
|
-
"text-copy-accent-dark": t === "light" && !
|
|
379
|
-
"text-copy-light": t === "dark" && !
|
|
380
|
-
"text-copy-accent-dark dark:text-copy-light": t === "alt-system" && !
|
|
381
|
-
"text-copy-light dark:text-copy-accent-dark": t === "system" && !
|
|
382
|
-
}),
|
|
403
|
+
align: R
|
|
404
|
+
}), L = i({
|
|
405
|
+
"text-copy-accent-dark": t === "light" && !d,
|
|
406
|
+
"text-copy-light": t === "dark" && !d,
|
|
407
|
+
"text-copy-accent-dark dark:text-copy-light": t === "alt-system" && !d,
|
|
408
|
+
"text-copy-light dark:text-copy-accent-dark": t === "system" && !d
|
|
409
|
+
}), U = V ? i(
|
|
383
410
|
"relative",
|
|
384
411
|
"focus-within:static",
|
|
385
412
|
"focus-within:after:border-transparent",
|
|
@@ -396,25 +423,38 @@ const R = N.forwardRef(
|
|
|
396
423
|
"after:border-table-light dark:after:border-table-dark": t === "alt-system"
|
|
397
424
|
}
|
|
398
425
|
) : "";
|
|
399
|
-
return /* @__PURE__ */
|
|
400
|
-
|
|
426
|
+
return /* @__PURE__ */ s("div", { className: U, children: /* @__PURE__ */ v(
|
|
427
|
+
E,
|
|
401
428
|
{
|
|
402
|
-
ref:
|
|
403
|
-
className:
|
|
429
|
+
ref: M,
|
|
430
|
+
className: P,
|
|
404
431
|
disabled: a,
|
|
405
432
|
type: n,
|
|
406
433
|
"aria-label": g || h,
|
|
407
|
-
...
|
|
434
|
+
...z,
|
|
408
435
|
children: [
|
|
409
|
-
m && /* @__PURE__ */
|
|
410
|
-
/* @__PURE__ */
|
|
411
|
-
b && /* @__PURE__ */
|
|
436
|
+
m && /* @__PURE__ */ s("span", { className: "pr-2", children: m }),
|
|
437
|
+
/* @__PURE__ */ s("div", { className: L, children: e }),
|
|
438
|
+
b && /* @__PURE__ */ s("span", { className: "pl-2", children: b })
|
|
412
439
|
]
|
|
413
440
|
}
|
|
414
441
|
) });
|
|
415
442
|
}
|
|
416
443
|
);
|
|
417
|
-
|
|
444
|
+
B.displayName = "ButtonSort";
|
|
445
|
+
/*!
|
|
446
|
+
@versini/ui-spacing v1.0.0
|
|
447
|
+
© 2024 gizmette.com
|
|
448
|
+
*/
|
|
449
|
+
try {
|
|
450
|
+
window.__VERSINI_UI_SPACING__ || (window.__VERSINI_UI_SPACING__ = {
|
|
451
|
+
version: "1.0.0",
|
|
452
|
+
buildTime: "12/24/2024 06:47 PM EST",
|
|
453
|
+
homepage: "https://github.com/aversini/ui-components",
|
|
454
|
+
license: "MIT"
|
|
455
|
+
});
|
|
456
|
+
} catch {
|
|
457
|
+
}
|
|
418
458
|
const re = (e) => {
|
|
419
459
|
let a = "";
|
|
420
460
|
if (typeof e == "number" || typeof e == "string")
|
|
@@ -424,24 +464,24 @@ const re = (e) => {
|
|
|
424
464
|
(e == null ? void 0 : e.t) !== void 0 && t.push(`mt-${e.t}`), (e == null ? void 0 : e.r) !== void 0 && t.push(`mr-${e.r}`), (e == null ? void 0 : e.b) !== void 0 && t.push(`mb-${e.b}`), (e == null ? void 0 : e.l) !== void 0 && t.push(`ml-${e.l}`), a = t.join(" ");
|
|
425
465
|
}
|
|
426
466
|
return a;
|
|
427
|
-
},
|
|
467
|
+
}, T = ({
|
|
428
468
|
children: e,
|
|
429
469
|
fill: a,
|
|
430
470
|
viewBox: t,
|
|
431
471
|
className: r,
|
|
432
472
|
defaultViewBox: o,
|
|
433
|
-
defaultClassName:
|
|
473
|
+
defaultClassName: l,
|
|
434
474
|
spacing: n,
|
|
435
|
-
title:
|
|
475
|
+
title: d,
|
|
436
476
|
semantic: c = !1,
|
|
437
477
|
...g
|
|
438
478
|
}) => {
|
|
439
|
-
const h = re(n), u =
|
|
479
|
+
const h = re(n), u = i(
|
|
440
480
|
h,
|
|
441
|
-
r ||
|
|
481
|
+
r || l
|
|
442
482
|
);
|
|
443
|
-
return /* @__PURE__ */ v(
|
|
444
|
-
/* @__PURE__ */
|
|
483
|
+
return /* @__PURE__ */ v(A, { children: [
|
|
484
|
+
/* @__PURE__ */ s(
|
|
445
485
|
"svg",
|
|
446
486
|
{
|
|
447
487
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -455,17 +495,17 @@ const re = (e) => {
|
|
|
455
495
|
children: e
|
|
456
496
|
}
|
|
457
497
|
),
|
|
458
|
-
|
|
498
|
+
d && c && /* @__PURE__ */ s("span", { className: "sr-only", children: d })
|
|
459
499
|
] });
|
|
460
500
|
};
|
|
461
501
|
/*!
|
|
462
|
-
@versini/ui-private v1.
|
|
502
|
+
@versini/ui-private v1.6.0
|
|
463
503
|
© 2024 gizmette.com
|
|
464
504
|
*/
|
|
465
505
|
try {
|
|
466
506
|
window.__VERSINI_UI_PRIVATE__ || (window.__VERSINI_UI_PRIVATE__ = {
|
|
467
|
-
version: "1.
|
|
468
|
-
buildTime: "12/
|
|
507
|
+
version: "1.6.0",
|
|
508
|
+
buildTime: "12/24/2024 06:47 PM EST",
|
|
469
509
|
homepage: "https://github.com/aversini/ui-components",
|
|
470
510
|
license: "MIT"
|
|
471
511
|
});
|
|
@@ -477,9 +517,9 @@ const oe = ({
|
|
|
477
517
|
spacing: t,
|
|
478
518
|
title: r,
|
|
479
519
|
monotone: o,
|
|
480
|
-
...
|
|
520
|
+
...l
|
|
481
521
|
}) => /* @__PURE__ */ v(
|
|
482
|
-
|
|
522
|
+
T,
|
|
483
523
|
{
|
|
484
524
|
defaultViewBox: "0 0 576 512",
|
|
485
525
|
defaultClassName: "size-5",
|
|
@@ -487,27 +527,27 @@ const oe = ({
|
|
|
487
527
|
className: e,
|
|
488
528
|
spacing: t,
|
|
489
529
|
title: r || "Sort",
|
|
490
|
-
...
|
|
530
|
+
...l,
|
|
491
531
|
children: [
|
|
492
|
-
/* @__PURE__ */
|
|
532
|
+
/* @__PURE__ */ s(
|
|
493
533
|
"path",
|
|
494
534
|
{
|
|
495
535
|
opacity: o ? "1" : "0.4",
|
|
496
536
|
d: "M393.4 41.4c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L448 141.3V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V141.3l-41.4 41.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l96-96z"
|
|
497
537
|
}
|
|
498
538
|
),
|
|
499
|
-
/* @__PURE__ */
|
|
539
|
+
/* @__PURE__ */ s("path", { d: "M137.4 470.6c12.5 12.5 32.8 12.5 45.3 0l96-96c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 370.7V64c0-17.7-14.3-32-32-32s-32 14.3-32 32V370.7L86.6 329.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l96 96z" })
|
|
500
540
|
]
|
|
501
541
|
}
|
|
502
|
-
),
|
|
542
|
+
), ie = ({
|
|
503
543
|
className: e,
|
|
504
544
|
viewBox: a,
|
|
505
545
|
spacing: t,
|
|
506
546
|
title: r,
|
|
507
547
|
monotone: o,
|
|
508
|
-
...
|
|
548
|
+
...l
|
|
509
549
|
}) => /* @__PURE__ */ v(
|
|
510
|
-
|
|
550
|
+
T,
|
|
511
551
|
{
|
|
512
552
|
defaultViewBox: "0 0 576 512",
|
|
513
553
|
defaultClassName: "size-5",
|
|
@@ -515,27 +555,27 @@ const oe = ({
|
|
|
515
555
|
className: e,
|
|
516
556
|
spacing: t,
|
|
517
557
|
title: r || "Sort Down",
|
|
518
|
-
...
|
|
558
|
+
...l,
|
|
519
559
|
children: [
|
|
520
|
-
/* @__PURE__ */
|
|
560
|
+
/* @__PURE__ */ s(
|
|
521
561
|
"path",
|
|
522
562
|
{
|
|
523
563
|
opacity: o ? "1" : "0.4",
|
|
524
564
|
d: "M288 448c0 17.7 14.3 32 32 32h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-17.7 0-32 14.3-32 32zm0-128c0 17.7 14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-17.7 0-32 14.3-32 32zm0-128c0 17.7 14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-17.7 0-32 14.3-32 32zm0-128c0 17.7 14.3 32 32 32H544c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-17.7 0-32 14.3-32 32z"
|
|
525
565
|
}
|
|
526
566
|
),
|
|
527
|
-
/* @__PURE__ */
|
|
567
|
+
/* @__PURE__ */ s("path", { d: "M128 480c9 0 17.5-3.8 23.6-10.4l88-96c11.9-13 11.1-33.3-2-45.2s-33.3-11.1-45.2 2L160 365.7V64c0-17.7-14.3-32-32-32s-32 14.3-32 32V365.7L63.6 330.4c-11.9-13-32.2-13.9-45.2-2s-13.9 32.2-2 45.2l88 96C110.5 476.2 119 480 128 480z" })
|
|
528
568
|
]
|
|
529
569
|
}
|
|
530
|
-
),
|
|
570
|
+
), le = ({
|
|
531
571
|
className: e,
|
|
532
572
|
viewBox: a,
|
|
533
573
|
spacing: t,
|
|
534
574
|
title: r,
|
|
535
575
|
monotone: o,
|
|
536
|
-
...
|
|
576
|
+
...l
|
|
537
577
|
}) => /* @__PURE__ */ v(
|
|
538
|
-
|
|
578
|
+
T,
|
|
539
579
|
{
|
|
540
580
|
defaultViewBox: "0 0 576 512",
|
|
541
581
|
defaultClassName: "size-5",
|
|
@@ -543,33 +583,33 @@ const oe = ({
|
|
|
543
583
|
className: e,
|
|
544
584
|
spacing: t,
|
|
545
585
|
title: r || "Sort Up",
|
|
546
|
-
...
|
|
586
|
+
...l,
|
|
547
587
|
children: [
|
|
548
|
-
/* @__PURE__ */
|
|
588
|
+
/* @__PURE__ */ s(
|
|
549
589
|
"path",
|
|
550
590
|
{
|
|
551
591
|
opacity: o ? "1" : "0.4",
|
|
552
592
|
d: "M288 64c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32s-14.3 32-32 32H320c-17.7 0-32-14.3-32-32zm0 128c0-17.7 14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H320c-17.7 0-32-14.3-32-32zm0 128c0-17.7 14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H320c-17.7 0-32-14.3-32-32zm0 128c0-17.7 14.3-32 32-32H544c17.7 0 32 14.3 32 32s-14.3 32-32 32H320c-17.7 0-32-14.3-32-32z"
|
|
553
593
|
}
|
|
554
594
|
),
|
|
555
|
-
/* @__PURE__ */
|
|
595
|
+
/* @__PURE__ */ s("path", { d: "M128 32c9 0 17.5 3.8 23.6 10.4l88 96c11.9 13 11.1 33.3-2 45.2s-33.3 11.1-45.2-2L160 146.3V448c0 17.7-14.3 32-32 32s-32-14.3-32-32V146.3L63.6 181.6c-11.9 13-32.2 13.9-45.2 2s-13.9-32.2-2-45.2l88-96C110.5 35.8 119 32 128 32z" })
|
|
556
596
|
]
|
|
557
597
|
}
|
|
558
598
|
);
|
|
559
599
|
/*!
|
|
560
|
-
@versini/ui-icons v1.
|
|
600
|
+
@versini/ui-icons v1.17.0
|
|
561
601
|
© 2024 gizmette.com
|
|
562
602
|
*/
|
|
563
603
|
try {
|
|
564
604
|
window.__VERSINI_UI_ICONS__ || (window.__VERSINI_UI_ICONS__ = {
|
|
565
|
-
version: "1.
|
|
566
|
-
buildTime: "12/
|
|
605
|
+
version: "1.17.0",
|
|
606
|
+
buildTime: "12/24/2024 06:47 PM EST",
|
|
567
607
|
homepage: "https://github.com/aversini/ui-components",
|
|
568
608
|
license: "MIT"
|
|
569
609
|
});
|
|
570
610
|
} catch {
|
|
571
611
|
}
|
|
572
|
-
const
|
|
612
|
+
const _ = N.createContext({
|
|
573
613
|
mode: "light",
|
|
574
614
|
cellWrapper: "thead",
|
|
575
615
|
stickyHeader: !1,
|
|
@@ -581,35 +621,35 @@ const k = N.createContext({
|
|
|
581
621
|
caption: t,
|
|
582
622
|
compact: r,
|
|
583
623
|
summary: o,
|
|
584
|
-
className:
|
|
624
|
+
className: l,
|
|
585
625
|
wrapperClassName: n,
|
|
586
|
-
maxHeight:
|
|
626
|
+
maxHeight: d,
|
|
587
627
|
stickyHeader: c,
|
|
588
628
|
stickyFooter: g,
|
|
589
629
|
spacing: h,
|
|
590
630
|
...u
|
|
591
631
|
}) => {
|
|
592
|
-
const b =
|
|
632
|
+
const b = H({
|
|
593
633
|
mode: a,
|
|
594
|
-
className:
|
|
634
|
+
className: l,
|
|
595
635
|
wrapperClassName: n,
|
|
596
636
|
stickyHeader: c,
|
|
597
637
|
stickyFooter: g,
|
|
598
638
|
spacing: h
|
|
599
639
|
});
|
|
600
|
-
return /* @__PURE__ */
|
|
601
|
-
|
|
640
|
+
return /* @__PURE__ */ s(
|
|
641
|
+
_.Provider,
|
|
602
642
|
{
|
|
603
643
|
value: { mode: a, stickyHeader: c, stickyFooter: g, compact: r },
|
|
604
|
-
children: /* @__PURE__ */
|
|
644
|
+
children: /* @__PURE__ */ s(
|
|
605
645
|
"div",
|
|
606
646
|
{
|
|
607
647
|
className: b.wrapper,
|
|
608
|
-
...
|
|
609
|
-
style: { maxHeight:
|
|
648
|
+
...d && {
|
|
649
|
+
style: { maxHeight: d }
|
|
610
650
|
},
|
|
611
651
|
children: /* @__PURE__ */ v("table", { className: b.table, summary: o, ...u, children: [
|
|
612
|
-
t && /* @__PURE__ */
|
|
652
|
+
t && /* @__PURE__ */ s("caption", { className: b.caption, children: t }),
|
|
613
653
|
e
|
|
614
654
|
] })
|
|
615
655
|
}
|
|
@@ -621,90 +661,90 @@ const k = N.createContext({
|
|
|
621
661
|
className: a,
|
|
622
662
|
...t
|
|
623
663
|
}) => {
|
|
624
|
-
const r =
|
|
625
|
-
r.cellWrapper =
|
|
626
|
-
const o =
|
|
664
|
+
const r = k(_);
|
|
665
|
+
r.cellWrapper = f;
|
|
666
|
+
const o = W({
|
|
627
667
|
className: a,
|
|
628
668
|
mode: r.mode,
|
|
629
669
|
stickyHeader: r.stickyHeader
|
|
630
670
|
});
|
|
631
|
-
return /* @__PURE__ */
|
|
671
|
+
return /* @__PURE__ */ s("thead", { className: o, ...t, children: e });
|
|
632
672
|
}, be = ({
|
|
633
673
|
children: e,
|
|
634
674
|
className: a,
|
|
635
675
|
...t
|
|
636
676
|
}) => {
|
|
637
|
-
const r =
|
|
638
|
-
r.cellWrapper =
|
|
639
|
-
const o =
|
|
677
|
+
const r = k(_);
|
|
678
|
+
r.cellWrapper = I;
|
|
679
|
+
const o = j({
|
|
640
680
|
className: a,
|
|
641
681
|
mode: r.mode,
|
|
642
682
|
stickyFooter: r.stickyFooter
|
|
643
683
|
});
|
|
644
|
-
return /* @__PURE__ */
|
|
684
|
+
return /* @__PURE__ */ s("tfoot", { className: o, ...t, children: e });
|
|
645
685
|
}, me = ({ children: e, ...a }) => {
|
|
646
|
-
const t =
|
|
647
|
-
return t.cellWrapper = p, /* @__PURE__ */
|
|
686
|
+
const t = k(_);
|
|
687
|
+
return t.cellWrapper = p, /* @__PURE__ */ s("tbody", { ...a, children: e });
|
|
648
688
|
}, ue = ({
|
|
649
689
|
children: e,
|
|
650
690
|
className: a,
|
|
651
691
|
...t
|
|
652
692
|
}) => {
|
|
653
|
-
const r =
|
|
693
|
+
const r = k(_), o = O({
|
|
654
694
|
mode: r.mode,
|
|
655
695
|
cellWrapper: r.cellWrapper,
|
|
656
696
|
className: a
|
|
657
697
|
});
|
|
658
|
-
return /* @__PURE__ */
|
|
659
|
-
},
|
|
698
|
+
return /* @__PURE__ */ s("tr", { className: o, ...t, children: e });
|
|
699
|
+
}, se = ({
|
|
660
700
|
children: e,
|
|
661
701
|
component: a,
|
|
662
702
|
className: t,
|
|
663
703
|
...r
|
|
664
704
|
}) => {
|
|
665
|
-
const o =
|
|
705
|
+
const o = k(_), l = a || (o.cellWrapper === f ? "th" : "td"), n = G({
|
|
666
706
|
cellWrapper: o.cellWrapper,
|
|
667
707
|
className: t,
|
|
668
708
|
mode: o.mode,
|
|
669
709
|
compact: o.compact
|
|
670
710
|
});
|
|
671
|
-
return /* @__PURE__ */
|
|
711
|
+
return /* @__PURE__ */ s(l, { className: n, ...r, children: e });
|
|
672
712
|
}, pe = ({
|
|
673
713
|
align: e,
|
|
674
714
|
children: a,
|
|
675
715
|
buttonClassName: t,
|
|
676
716
|
className: r,
|
|
677
717
|
component: o,
|
|
678
|
-
focusMode:
|
|
718
|
+
focusMode: l = "alt-system",
|
|
679
719
|
mode: n = "alt-system",
|
|
680
|
-
onClick:
|
|
720
|
+
onClick: d,
|
|
681
721
|
sortDirection: c,
|
|
682
722
|
sortedCell: g,
|
|
683
723
|
cellId: h,
|
|
684
724
|
...u
|
|
685
725
|
}) => {
|
|
686
|
-
const b =
|
|
687
|
-
return /* @__PURE__ */
|
|
688
|
-
|
|
726
|
+
const b = D({ buttonClassName: t });
|
|
727
|
+
return /* @__PURE__ */ s(
|
|
728
|
+
se,
|
|
689
729
|
{
|
|
690
730
|
component: o,
|
|
691
731
|
className: r,
|
|
692
732
|
role: "columnheader",
|
|
693
|
-
"aria-sort": c ===
|
|
733
|
+
"aria-sort": c === y.ASC && g === h ? "ascending" : c === y.DESC && g === h ? "descending" : "other",
|
|
694
734
|
...u,
|
|
695
|
-
children: /* @__PURE__ */
|
|
696
|
-
|
|
735
|
+
children: /* @__PURE__ */ s(
|
|
736
|
+
B,
|
|
697
737
|
{
|
|
698
738
|
active: g === h,
|
|
699
739
|
className: b,
|
|
700
|
-
onClick:
|
|
740
|
+
onClick: d,
|
|
701
741
|
align: e,
|
|
702
742
|
noBorder: !0,
|
|
703
|
-
focusMode:
|
|
743
|
+
focusMode: l,
|
|
704
744
|
mode: n,
|
|
705
745
|
fullWidth: !0,
|
|
706
746
|
labelRight: a,
|
|
707
|
-
children: c ===
|
|
747
|
+
children: c === y.ASC && g === h ? /* @__PURE__ */ s(le, { className: "size-4", monotone: !0 }) : c === y.DESC && g === h ? /* @__PURE__ */ s(ie, { className: "size-4", monotone: !0 }) : /* @__PURE__ */ s(oe, { className: "size-4", monotone: !0 })
|
|
708
748
|
}
|
|
709
749
|
)
|
|
710
750
|
}
|
|
@@ -713,9 +753,9 @@ const k = N.createContext({
|
|
|
713
753
|
export {
|
|
714
754
|
ge as Table,
|
|
715
755
|
me as TableBody,
|
|
716
|
-
|
|
756
|
+
se as TableCell,
|
|
717
757
|
pe as TableCellSort,
|
|
718
|
-
|
|
758
|
+
y as TableCellSortDirections,
|
|
719
759
|
be as TableFooter,
|
|
720
760
|
he as TableHead,
|
|
721
761
|
ue as TableRow
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-table",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -39,14 +39,16 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@tailwindcss/typography": "0.5.15",
|
|
42
|
-
"@versini/ui-button": "1.
|
|
43
|
-
"@versini/ui-icons": "1.
|
|
44
|
-
"@versini/ui-private": "1.
|
|
42
|
+
"@versini/ui-button": "1.3.0",
|
|
43
|
+
"@versini/ui-icons": "1.17.0",
|
|
44
|
+
"@versini/ui-private": "1.6.0",
|
|
45
|
+
"@versini/ui-spacing": "1.0.0",
|
|
46
|
+
"@versini/ui-spacing-types": "1.0.0",
|
|
45
47
|
"clsx": "2.1.1",
|
|
46
|
-
"tailwindcss": "3.4.
|
|
48
|
+
"tailwindcss": "3.4.17"
|
|
47
49
|
},
|
|
48
50
|
"sideEffects": [
|
|
49
51
|
"**/*.css"
|
|
50
52
|
],
|
|
51
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "cb948414a675c01f3328ed6470ccf4b58f73534f"
|
|
52
54
|
}
|