@versini/ui-styles 8.1.1 → 8.1.3
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/ui-doctor.js +11 -2
- package/dist/index.js +13 -13
- package/package.json +2 -2
package/dist/cli/ui-doctor.js
CHANGED
|
@@ -115,7 +115,13 @@ const DEFAULT_IGNORE = [
|
|
|
115
115
|
"coverage",
|
|
116
116
|
".next",
|
|
117
117
|
".rslib",
|
|
118
|
-
"tmp"
|
|
118
|
+
"tmp",
|
|
119
|
+
"__tests__"
|
|
120
|
+
];
|
|
121
|
+
const EXCLUDED_FILE_PATTERNS = [
|
|
122
|
+
/\.stories\.[jt]sx?$/,
|
|
123
|
+
/\.test\.[jt]sx?$/,
|
|
124
|
+
/\.spec\.[jt]sx?$/
|
|
119
125
|
];
|
|
120
126
|
function shouldIgnore(filePath, ignorePatterns) {
|
|
121
127
|
const parts = filePath.split(path.sep);
|
|
@@ -125,6 +131,9 @@ function hasAllowedExtension(filePath, extensions) {
|
|
|
125
131
|
const ext = path.extname(filePath).slice(1).toLowerCase();
|
|
126
132
|
return extensions.includes(ext);
|
|
127
133
|
}
|
|
134
|
+
function isExcludedFile(fileName) {
|
|
135
|
+
return EXCLUDED_FILE_PATTERNS.some((pattern) => pattern.test(fileName));
|
|
136
|
+
}
|
|
128
137
|
function scanDirectory(dirPath, rootPath, options, results) {
|
|
129
138
|
let entries;
|
|
130
139
|
try {
|
|
@@ -140,7 +149,7 @@ function scanDirectory(dirPath, rootPath, options, results) {
|
|
|
140
149
|
}
|
|
141
150
|
if (entry.isDirectory()) {
|
|
142
151
|
scanDirectory(fullPath, rootPath, options, results);
|
|
143
|
-
} else if (entry.isFile() && hasAllowedExtension(entry.name, options.extensions)) {
|
|
152
|
+
} else if (entry.isFile() && hasAllowedExtension(entry.name, options.extensions) && !isExcludedFile(entry.name)) {
|
|
144
153
|
try {
|
|
145
154
|
const content = fs.readFileSync(fullPath, "utf-8");
|
|
146
155
|
results.push({
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
@versini/ui-styles v8.1.
|
|
2
|
+
@versini/ui-styles v8.1.3
|
|
3
3
|
© 2025 gizmette.com
|
|
4
4
|
*/
|
|
5
5
|
try {
|
|
6
6
|
if (!window.__VERSINI_UI_STYLES__) {
|
|
7
7
|
window.__VERSINI_UI_STYLES__ = {
|
|
8
|
-
version: "8.1.
|
|
9
|
-
buildTime: "12/
|
|
8
|
+
version: "8.1.3",
|
|
9
|
+
buildTime: "12/24/2025 09:18 AM EST",
|
|
10
10
|
homepage: "https://www.npmjs.com/package/@versini/ui-styles",
|
|
11
11
|
license: "MIT",
|
|
12
12
|
};
|
|
@@ -28,7 +28,7 @@ import colors from "tailwindcss/colors";
|
|
|
28
28
|
;// CONCATENATED MODULE: external "tailwindcss/plugin"
|
|
29
29
|
|
|
30
30
|
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/components/spinner.ts
|
|
31
|
-
/*
|
|
31
|
+
/* export default */ const spinner = ({
|
|
32
32
|
"@keyframes blink": {
|
|
33
33
|
"50%": {
|
|
34
34
|
fill: "transparent"
|
|
@@ -46,7 +46,7 @@ import colors from "tailwindcss/colors";
|
|
|
46
46
|
});
|
|
47
47
|
|
|
48
48
|
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/components/textArea.ts
|
|
49
|
-
/*
|
|
49
|
+
/* export default */ const textArea = ({
|
|
50
50
|
'.av-text-area-wrapper label[aria-hidden="true"]': {
|
|
51
51
|
/* move the label inline */ transformOrigin: "top left",
|
|
52
52
|
transition: "var(--av-text-area-wrapper-transition, all 0.2s ease-out)"
|
|
@@ -68,7 +68,7 @@ import colors from "tailwindcss/colors";
|
|
|
68
68
|
});
|
|
69
69
|
|
|
70
70
|
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/components/textInput.ts
|
|
71
|
-
/*
|
|
71
|
+
/* export default */ const textInput = ({
|
|
72
72
|
'.av-text-input-wrapper label[aria-hidden="true"]': {
|
|
73
73
|
/* move the label inline */ transform: "translate(12px, 0) scale(1)",
|
|
74
74
|
transformOrigin: "top left",
|
|
@@ -85,7 +85,7 @@ import colors from "tailwindcss/colors";
|
|
|
85
85
|
});
|
|
86
86
|
|
|
87
87
|
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/components/tooltip.ts
|
|
88
|
-
/*
|
|
88
|
+
/* export default */ const tooltip = ({
|
|
89
89
|
"@keyframes av-tooltip-fade-in": {
|
|
90
90
|
from: {
|
|
91
91
|
opacity: "0"
|
|
@@ -143,7 +143,7 @@ import colors from "tailwindcss/colors";
|
|
|
143
143
|
|
|
144
144
|
const errorColorLight = "#ff3f3f";
|
|
145
145
|
const accentColor = colors.violet["300"];
|
|
146
|
-
/*
|
|
146
|
+
/* export default */ const tokens = ({
|
|
147
147
|
colors: {
|
|
148
148
|
/**
|
|
149
149
|
* Action tokens.
|
|
@@ -266,7 +266,7 @@ const dynamicColors = ()=>{
|
|
|
266
266
|
});
|
|
267
267
|
return result;
|
|
268
268
|
};
|
|
269
|
-
/*
|
|
269
|
+
/* export default */ const tailwindcss_colors = (dynamicColors());
|
|
270
270
|
|
|
271
271
|
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/typography.ts
|
|
272
272
|
|
|
@@ -389,12 +389,12 @@ const typography_typography = ({ theme })=>({
|
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
});
|
|
392
|
-
/*
|
|
392
|
+
/* export default */ const tailwindcss_typography = (typography_typography);
|
|
393
393
|
|
|
394
394
|
;// CONCATENATED MODULE: ./src/plugins/tailwindcss/theme.ts
|
|
395
395
|
|
|
396
396
|
|
|
397
|
-
/*
|
|
397
|
+
/* export default */ const tailwindcss_theme = ({
|
|
398
398
|
theme: {
|
|
399
399
|
extend: {
|
|
400
400
|
colors: tailwindcss_colors,
|
|
@@ -435,7 +435,7 @@ const typography_typography = ({ theme })=>({
|
|
|
435
435
|
* the custom typography. The custom typography is passed as a second
|
|
436
436
|
* parameter to the plugin function, which is then used to extend the
|
|
437
437
|
* default TailwindCSS theme.
|
|
438
|
-
*/ /* v8 ignore
|
|
438
|
+
*/ /* v8 ignore start */ const customPlugins = [
|
|
439
439
|
typography,
|
|
440
440
|
container_queries,
|
|
441
441
|
tailwindcss_plugin(function({ addComponents, addVariant }) {
|
|
@@ -447,7 +447,7 @@ const typography_typography = ({ theme })=>({
|
|
|
447
447
|
addVariant("last-bubble-left", ".av-bubble-left:not(:has(+ .av-bubble-left)) &");
|
|
448
448
|
}, tailwindcss_theme)
|
|
449
449
|
];
|
|
450
|
-
/**
|
|
450
|
+
/* v8 ignore stop */ /**
|
|
451
451
|
* The plugin "merge" function is used to merge the custom configuration with
|
|
452
452
|
* the default and user TailwindCSS configuration.
|
|
453
453
|
* It's to be used in the "tailwind.config.js" configuration file.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-styles",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.3",
|
|
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": "7b2640a0650a4c3aa6ca078888f765cb400f9f13"
|
|
53
53
|
}
|