@versini/ui-styles 8.3.0 → 8.3.2
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 +1 -0
- package/dist/index.js +20 -19
- 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],
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
@versini/ui-styles v8.3.
|
|
2
|
+
@versini/ui-styles v8.3.2
|
|
3
3
|
© 2026 gizmette.com
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -9,15 +9,26 @@ 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
|
+
/**
|
|
17
|
+
* Spin animation for circular spinner.
|
|
18
|
+
* This ensures the animation is always available even if Tailwind's
|
|
19
|
+
* default keyframes are not generated (e.g., due to CSS purging or
|
|
20
|
+
* class scanning issues in consuming apps).
|
|
21
|
+
*/ "@keyframes spin": {
|
|
22
|
+
to: {
|
|
23
|
+
transform: "rotate(360deg)"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
".animate-spin": {
|
|
27
|
+
animation: "spin 1s linear infinite"
|
|
28
|
+
},
|
|
29
|
+
/**
|
|
30
|
+
* Blink animation for dots spinner.
|
|
31
|
+
*/ "@keyframes blink": {
|
|
21
32
|
"50%": {
|
|
22
33
|
fill: "transparent"
|
|
23
34
|
}
|
|
@@ -33,7 +44,6 @@ import colors from "tailwindcss/colors";
|
|
|
33
44
|
}
|
|
34
45
|
});
|
|
35
46
|
|
|
36
|
-
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/components/textArea.ts
|
|
37
47
|
/* export default */ const textArea = ({
|
|
38
48
|
'.av-text-area-wrapper label[aria-hidden="true"]': {
|
|
39
49
|
/* move the label inline */ transformOrigin: "top left",
|
|
@@ -55,7 +65,6 @@ import colors from "tailwindcss/colors";
|
|
|
55
65
|
}
|
|
56
66
|
});
|
|
57
67
|
|
|
58
|
-
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/components/textInput.ts
|
|
59
68
|
/* export default */ const textInput = ({
|
|
60
69
|
'.av-text-input-wrapper label[aria-hidden="true"]': {
|
|
61
70
|
/* move the label inline */ transform: "translate(12px, 0) scale(1)",
|
|
@@ -72,7 +81,6 @@ import colors from "tailwindcss/colors";
|
|
|
72
81
|
}
|
|
73
82
|
});
|
|
74
83
|
|
|
75
|
-
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/components/tooltip.ts
|
|
76
84
|
/* export default */ const tooltip = ({
|
|
77
85
|
"@keyframes av-tooltip-fade-in": {
|
|
78
86
|
from: {
|
|
@@ -84,7 +92,6 @@ import colors from "tailwindcss/colors";
|
|
|
84
92
|
}
|
|
85
93
|
});
|
|
86
94
|
|
|
87
|
-
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/list.ts
|
|
88
95
|
/**
|
|
89
96
|
* This file was automatically generated.
|
|
90
97
|
* Please do not edit manually.
|
|
@@ -96,6 +103,7 @@ import colors from "tailwindcss/colors";
|
|
|
96
103
|
"@versini/ui-bubble",
|
|
97
104
|
"@versini/ui-button",
|
|
98
105
|
"@versini/ui-card",
|
|
106
|
+
"@versini/ui-datagrid",
|
|
99
107
|
"@versini/ui-debug-overlay",
|
|
100
108
|
"@versini/ui-dialog",
|
|
101
109
|
"@versini/ui-dropdown",
|
|
@@ -122,11 +130,8 @@ import colors from "tailwindcss/colors";
|
|
|
122
130
|
"@versini/ui-utilities"
|
|
123
131
|
];
|
|
124
132
|
|
|
125
|
-
;// CONCATENATED MODULE: external "culori"
|
|
126
133
|
|
|
127
|
-
;// CONCATENATED MODULE: external "tailwindcss/colors"
|
|
128
134
|
|
|
129
|
-
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/tokens.ts
|
|
130
135
|
|
|
131
136
|
const errorColorLight = "#ff3f3f";
|
|
132
137
|
const accentColor = colors.violet["300"];
|
|
@@ -156,7 +161,8 @@ const accentColor = colors.violet["300"];
|
|
|
156
161
|
* Surface tokens.
|
|
157
162
|
* To be used for background colors of containers, cards, modals, etc.
|
|
158
163
|
* @example bg-surface-medium
|
|
159
|
-
*/ "surface-
|
|
164
|
+
*/ "surface-darkest": colors.black,
|
|
165
|
+
"surface-darker": colors.slate["900"],
|
|
160
166
|
"surface-dark": colors.slate["700"],
|
|
161
167
|
"surface-medium": colors.slate["500"],
|
|
162
168
|
"surface-light": colors.slate["300"],
|
|
@@ -240,7 +246,6 @@ const accentColor = colors.violet["300"];
|
|
|
240
246
|
}
|
|
241
247
|
});
|
|
242
248
|
|
|
243
|
-
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/colors.ts
|
|
244
249
|
|
|
245
250
|
|
|
246
251
|
const formatFallbackOKLCH = (color)=>{
|
|
@@ -259,7 +264,6 @@ const dynamicColors = ()=>{
|
|
|
259
264
|
};
|
|
260
265
|
/* export default */ const tailwindcss_colors = (dynamicColors());
|
|
261
266
|
|
|
262
|
-
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/typography.ts
|
|
263
267
|
|
|
264
268
|
const typography_typography = ({ theme })=>({
|
|
265
269
|
DEFAULT: {
|
|
@@ -382,7 +386,6 @@ const typography_typography = ({ theme })=>({
|
|
|
382
386
|
});
|
|
383
387
|
/* export default */ const tailwindcss_typography = (typography_typography);
|
|
384
388
|
|
|
385
|
-
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/theme.ts
|
|
386
389
|
|
|
387
390
|
|
|
388
391
|
/* export default */ const tailwindcss_theme = ({
|
|
@@ -394,7 +397,6 @@ const typography_typography = ({ theme })=>({
|
|
|
394
397
|
}
|
|
395
398
|
});
|
|
396
399
|
|
|
397
|
-
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/tailwindPlugin.ts
|
|
398
400
|
|
|
399
401
|
|
|
400
402
|
|
|
@@ -465,7 +467,6 @@ const typography_typography = ({ theme })=>({
|
|
|
465
467
|
}
|
|
466
468
|
};
|
|
467
469
|
|
|
468
|
-
;// CONCATENATED MODULE: ./src/plugins/index.ts
|
|
469
470
|
|
|
470
471
|
|
|
471
472
|
export { twPlugin };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-styles",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.2",
|
|
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": "405b6e7a94a3a17e71f7e49c2456bca4c127832c"
|
|
53
53
|
}
|