vibe-design-system 2.4.7 → 2.4.9

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/bin/init.js CHANGED
@@ -22,7 +22,6 @@ const INSTALLER_ROOT = path.join(__dirname, "..");
22
22
  const TEMPLATE_DIR = path.join(INSTALLER_ROOT, "vds-core-template");
23
23
 
24
24
  const STORYBOOK_MAIN_TS = `import type { StorybookConfig } from "@storybook/react-vite";
25
- import tailwindcss from "@tailwindcss/vite";
26
25
 
27
26
  const config: StorybookConfig = {
28
27
  stories: ["../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
@@ -31,11 +30,6 @@ const config: StorybookConfig = {
31
30
  name: "@storybook/react-vite",
32
31
  options: {},
33
32
  },
34
- viteFinal: async (config) => {
35
- config.plugins = config.plugins || [];
36
- config.plugins.push(tailwindcss());
37
- return config;
38
- },
39
33
  };
40
34
 
41
35
  export default config;
@@ -43,23 +37,15 @@ export default config;
43
37
 
44
38
  const STORYBOOK_PREVIEW_TS = `import type { Preview } from "@storybook/react";
45
39
  import React from "react";
40
+ import { MemoryRouter } from "react-router-dom";
46
41
  import "../src/index.css";
47
42
 
48
43
  const preview: Preview = {
49
44
  parameters: {
50
- backgrounds: {
51
- default: "dark",
52
- values: [
53
- { name: "light", value: "#ffffff" },
54
- { name: "dark", value: "#020617" },
55
- ],
56
- },
45
+ layout: "fullscreen",
57
46
  },
58
47
  decorators: [
59
- (Story) => {
60
- document.documentElement.classList.add("dark");
61
- return React.createElement(Story, null);
62
- },
48
+ (Story) => React.createElement(MemoryRouter, null, React.createElement(Story, null)),
63
49
  ],
64
50
  };
65
51
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibe-design-system",
3
- "version": "2.4.7",
3
+ "version": "2.4.9",
4
4
  "description": "Auto-generate design systems for vibe coding projects",
5
5
  "type": "module",
6
6
  "bin": {
@@ -908,7 +908,6 @@ function main() {
908
908
  }
909
909
 
910
910
  for (const comp of components) {
911
- if (comp.file && comp.file.startsWith("pages/")) continue;
912
911
  const componentName = toSafeComponentName(comp.name, comp.file);
913
912
  if (onlyName && componentName !== onlyName) continue;
914
913
  if (SKIP_LIST.includes(componentName)) continue;