vueless 0.0.478-beta.23 → 0.0.478-beta.24

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": "0.0.478-beta.23",
3
+ "version": "0.0.478-beta.24",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -13,6 +13,7 @@ import {
13
13
  COMPONENTS,
14
14
  BRAND_COLORS,
15
15
  BRAND_COLOR,
16
+ GRAY_COLOR,
16
17
  DYNAMIC_COLOR_PATTERN,
17
18
  TAILWIND_CLASS_DELIMITER,
18
19
  TAILWIND_MERGE_EXTENSION,
@@ -55,7 +56,10 @@ export async function createTailwindSafelist({ mode, env, debug, targetFiles = [
55
56
 
56
57
  const vuelessFiles = [...srcVueFiles, ...vuelessVueFiles, ...vuelessConfigFiles];
57
58
 
58
- const storybookColors = { colors: [...BRAND_COLORS, BRAND_COLOR], isComponentExists: true };
59
+ const storybookColors = {
60
+ colors: [...BRAND_COLORS, BRAND_COLOR, GRAY_COLOR],
61
+ isComponentExists: true,
62
+ };
59
63
  const safelist = [];
60
64
 
61
65
  const componentNames = Object.keys(COMPONENTS);
@@ -225,7 +229,7 @@ async function findComponentColors(files, componentName) {
225
229
 
226
230
  return {
227
231
  colors: Array.from(colors).filter(
228
- (color) => color && [...BRAND_COLORS, BRAND_COLOR].includes(color),
232
+ (color) => color && [...BRAND_COLORS, BRAND_COLOR, GRAY_COLOR].includes(color),
229
233
  ),
230
234
  isComponentExists,
231
235
  };
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.478-beta.23",
4
+ "version": "0.0.478-beta.24",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",