@versini/ui-styles 8.2.2 → 8.3.1
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/cli/tokens.ts +4 -0
- package/dist/index.js +8 -20
- package/package.json +2 -2
package/dist/cli/tokens.ts
CHANGED
|
@@ -36,6 +36,7 @@ export default {
|
|
|
36
36
|
* To be used for background colors of containers, cards, modals, etc.
|
|
37
37
|
* @example bg-surface-medium
|
|
38
38
|
*/
|
|
39
|
+
"surface-darkest": colors.black,
|
|
39
40
|
"surface-darker": colors.slate[900],
|
|
40
41
|
"surface-dark": colors.slate[700],
|
|
41
42
|
"surface-medium": colors.slate[500],
|
|
@@ -136,5 +137,8 @@ export default {
|
|
|
136
137
|
"table-light-hover": colors.slate[300],
|
|
137
138
|
"table-light-odd": colors.gray[200],
|
|
138
139
|
"table-light-even": colors.gray[300],
|
|
140
|
+
|
|
141
|
+
"table-active-light": colors.red[700],
|
|
142
|
+
"table-active-dark": colors.red[500],
|
|
139
143
|
},
|
|
140
144
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
@versini/ui-styles v8.
|
|
3
|
-
©
|
|
2
|
+
@versini/ui-styles v8.3.1
|
|
3
|
+
© 2026 gizmette.com
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import container_queries from "@tailwindcss/container-queries";
|
|
@@ -9,13 +9,9 @@ import tailwindcss_plugin from "tailwindcss/plugin";
|
|
|
9
9
|
import { oklch } from "culori";
|
|
10
10
|
import colors from "tailwindcss/colors";
|
|
11
11
|
|
|
12
|
-
;// CONCATENATED MODULE: external "@tailwindcss/container-queries"
|
|
13
12
|
|
|
14
|
-
;// CONCATENATED MODULE: external "@tailwindcss/typography"
|
|
15
13
|
|
|
16
|
-
;// CONCATENATED MODULE: external "tailwindcss/plugin"
|
|
17
14
|
|
|
18
|
-
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/components/spinner.ts
|
|
19
15
|
/* export default */ const spinner = ({
|
|
20
16
|
"@keyframes blink": {
|
|
21
17
|
"50%": {
|
|
@@ -33,7 +29,6 @@ import colors from "tailwindcss/colors";
|
|
|
33
29
|
}
|
|
34
30
|
});
|
|
35
31
|
|
|
36
|
-
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/components/textArea.ts
|
|
37
32
|
/* export default */ const textArea = ({
|
|
38
33
|
'.av-text-area-wrapper label[aria-hidden="true"]': {
|
|
39
34
|
/* move the label inline */ transformOrigin: "top left",
|
|
@@ -55,7 +50,6 @@ import colors from "tailwindcss/colors";
|
|
|
55
50
|
}
|
|
56
51
|
});
|
|
57
52
|
|
|
58
|
-
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/components/textInput.ts
|
|
59
53
|
/* export default */ const textInput = ({
|
|
60
54
|
'.av-text-input-wrapper label[aria-hidden="true"]': {
|
|
61
55
|
/* move the label inline */ transform: "translate(12px, 0) scale(1)",
|
|
@@ -72,7 +66,6 @@ import colors from "tailwindcss/colors";
|
|
|
72
66
|
}
|
|
73
67
|
});
|
|
74
68
|
|
|
75
|
-
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/components/tooltip.ts
|
|
76
69
|
/* export default */ const tooltip = ({
|
|
77
70
|
"@keyframes av-tooltip-fade-in": {
|
|
78
71
|
from: {
|
|
@@ -84,7 +77,6 @@ import colors from "tailwindcss/colors";
|
|
|
84
77
|
}
|
|
85
78
|
});
|
|
86
79
|
|
|
87
|
-
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/list.ts
|
|
88
80
|
/**
|
|
89
81
|
* This file was automatically generated.
|
|
90
82
|
* Please do not edit manually.
|
|
@@ -96,6 +88,7 @@ import colors from "tailwindcss/colors";
|
|
|
96
88
|
"@versini/ui-bubble",
|
|
97
89
|
"@versini/ui-button",
|
|
98
90
|
"@versini/ui-card",
|
|
91
|
+
"@versini/ui-datagrid",
|
|
99
92
|
"@versini/ui-debug-overlay",
|
|
100
93
|
"@versini/ui-dialog",
|
|
101
94
|
"@versini/ui-dropdown",
|
|
@@ -122,11 +115,8 @@ import colors from "tailwindcss/colors";
|
|
|
122
115
|
"@versini/ui-utilities"
|
|
123
116
|
];
|
|
124
117
|
|
|
125
|
-
;// CONCATENATED MODULE: external "culori"
|
|
126
118
|
|
|
127
|
-
;// CONCATENATED MODULE: external "tailwindcss/colors"
|
|
128
119
|
|
|
129
|
-
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/tokens.ts
|
|
130
120
|
|
|
131
121
|
const errorColorLight = "#ff3f3f";
|
|
132
122
|
const accentColor = colors.violet["300"];
|
|
@@ -156,7 +146,8 @@ const accentColor = colors.violet["300"];
|
|
|
156
146
|
* Surface tokens.
|
|
157
147
|
* To be used for background colors of containers, cards, modals, etc.
|
|
158
148
|
* @example bg-surface-medium
|
|
159
|
-
*/ "surface-
|
|
149
|
+
*/ "surface-darkest": colors.black,
|
|
150
|
+
"surface-darker": colors.slate["900"],
|
|
160
151
|
"surface-dark": colors.slate["700"],
|
|
161
152
|
"surface-medium": colors.slate["500"],
|
|
162
153
|
"surface-light": colors.slate["300"],
|
|
@@ -234,11 +225,12 @@ const accentColor = colors.violet["300"];
|
|
|
234
225
|
"table-light": colors.gray["100"],
|
|
235
226
|
"table-light-hover": colors.slate["300"],
|
|
236
227
|
"table-light-odd": colors.gray["200"],
|
|
237
|
-
"table-light-even": colors.gray["300"]
|
|
228
|
+
"table-light-even": colors.gray["300"],
|
|
229
|
+
"table-active-light": colors.red["700"],
|
|
230
|
+
"table-active-dark": colors.red["500"]
|
|
238
231
|
}
|
|
239
232
|
});
|
|
240
233
|
|
|
241
|
-
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/colors.ts
|
|
242
234
|
|
|
243
235
|
|
|
244
236
|
const formatFallbackOKLCH = (color)=>{
|
|
@@ -257,7 +249,6 @@ const dynamicColors = ()=>{
|
|
|
257
249
|
};
|
|
258
250
|
/* export default */ const tailwindcss_colors = (dynamicColors());
|
|
259
251
|
|
|
260
|
-
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/typography.ts
|
|
261
252
|
|
|
262
253
|
const typography_typography = ({ theme })=>({
|
|
263
254
|
DEFAULT: {
|
|
@@ -380,7 +371,6 @@ const typography_typography = ({ theme })=>({
|
|
|
380
371
|
});
|
|
381
372
|
/* export default */ const tailwindcss_typography = (typography_typography);
|
|
382
373
|
|
|
383
|
-
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/theme.ts
|
|
384
374
|
|
|
385
375
|
|
|
386
376
|
/* export default */ const tailwindcss_theme = ({
|
|
@@ -392,7 +382,6 @@ const typography_typography = ({ theme })=>({
|
|
|
392
382
|
}
|
|
393
383
|
});
|
|
394
384
|
|
|
395
|
-
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/tailwindPlugin.ts
|
|
396
385
|
|
|
397
386
|
|
|
398
387
|
|
|
@@ -463,7 +452,6 @@ const typography_typography = ({ theme })=>({
|
|
|
463
452
|
}
|
|
464
453
|
};
|
|
465
454
|
|
|
466
|
-
;// CONCATENATED MODULE: ./src/plugins/index.ts
|
|
467
455
|
|
|
468
456
|
|
|
469
457
|
export { twPlugin };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-styles",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.3.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"rollup-plugin-copy": "3.5.0"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "7c76dd8543839e693f0ad12980f8de01ad2ab123"
|
|
53
53
|
}
|