vueless 1.2.8-beta.12 → 1.2.8-beta.14
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vueless",
|
|
3
|
-
"version": "1.2.8-beta.
|
|
3
|
+
"version": "1.2.8-beta.14",
|
|
4
4
|
"description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
|
|
5
5
|
"author": "Johnny Grid <hello@vueless.com> (https://vueless.com)",
|
|
6
6
|
"homepage": "https://vueless.com",
|
|
@@ -233,7 +233,14 @@ function getClassesToSafelist(config) {
|
|
|
233
233
|
const safelistItems = [];
|
|
234
234
|
|
|
235
235
|
for (const key in config) {
|
|
236
|
-
|
|
236
|
+
const nonClassKeys = [
|
|
237
|
+
SYSTEM_CONFIG_KEY.defaults,
|
|
238
|
+
SYSTEM_CONFIG_KEY.props,
|
|
239
|
+
SYSTEM_CONFIG_KEY.i18n,
|
|
240
|
+
SYSTEM_CONFIG_KEY.colors,
|
|
241
|
+
];
|
|
242
|
+
|
|
243
|
+
if (nonClassKeys.some((item) => key === item)) continue;
|
|
237
244
|
|
|
238
245
|
if (Object.hasOwn(config, key)) {
|
|
239
246
|
const classes = config[key];
|