vibe-design-system 2.8.66 → 2.8.67

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": "vibe-design-system",
3
- "version": "2.8.66",
3
+ "version": "2.8.67",
4
4
  "description": "Auto-generate design systems for vibe coding projects",
5
5
  "homepage": "https://vibedesign.tech",
6
6
  "repository": {
@@ -2505,6 +2505,7 @@ function writeFoundationsStories(foundations) {
2505
2505
  .slice(0, 60); // cap to avoid extremely long stories
2506
2506
 
2507
2507
  const colorsContent = [
2508
+ "import React from \"react\";",
2508
2509
  "import type { Meta, StoryObj } from \"@storybook/react\";",
2509
2510
  "",
2510
2511
  "const meta = { title: \"Foundations/Colors\", parameters: { layout: \"fullscreen\" } } satisfies Meta;",
@@ -2630,6 +2631,7 @@ function writeFoundationsStories(foundations) {
2630
2631
  const sansFamily = typo.fontSans || typo.tailwindSans || typo.body || "system-ui, sans-serif";
2631
2632
 
2632
2633
  const typoContent = [
2634
+ "import React from \"react\";",
2633
2635
  "import type { Meta, StoryObj } from \"@storybook/react\";",
2634
2636
  "",
2635
2637
  "const meta = { title: \"Foundations/Typography\", parameters: { layout: \"fullscreen\" } } satisfies Meta;",
@@ -2790,6 +2792,7 @@ function writeFoundationsStories(foundations) {
2790
2792
 
2791
2793
  const brandContent =
2792
2794
  [
2795
+ "import React from \"react\";",
2793
2796
  "import type { Meta, StoryObj } from \"@storybook/react\";",
2794
2797
  "",
2795
2798
  "const meta = { title: \"Foundations/Brand\", parameters: { layout: \"fullscreen\" } } satisfies Meta;",
@@ -2823,6 +2826,7 @@ function writeFoundationsStories(foundations) {
2823
2826
 
2824
2827
  const iconsContent = [
2825
2828
  "import { useState } from \"react\";",
2829
+ "import React from \"react\";",
2826
2830
  "import type { Meta, StoryObj } from \"@storybook/react\";",
2827
2831
  "import * as Lucide from \"lucide-react\";",
2828
2832
  "",
@@ -2997,6 +3001,7 @@ function writeFoundationsStories(foundations) {
2997
3001
  const containerCount = gridSystem.containerCount || 0;
2998
3002
 
2999
3003
  const gridContent = [
3004
+ "import React from \"react\";",
3000
3005
  "import type { Meta, StoryObj } from \"@storybook/react\";",
3001
3006
  "",
3002
3007
  "const meta = { title: \"Foundations/Grid\", parameters: { layout: \"fullscreen\" } } satisfies Meta;",
@@ -3186,6 +3191,7 @@ function writeFoundationsStories(foundations) {
3186
3191
  }));
3187
3192
  const buttonsContent =
3188
3193
  [
3194
+ "import React from \"react\";",
3189
3195
  "import type { Meta, StoryObj } from \"@storybook/react\";",
3190
3196
  "",
3191
3197
  "const meta = { title: \"Foundations/Button Usage\", parameters: { layout: \"fullscreen\" } } satisfies Meta;",
@@ -3261,6 +3267,7 @@ function writeFoundationsStories(foundations) {
3261
3267
 
3262
3268
  const usedSpacing = (foundations?.tokenUsage?.spacing || []).slice(0, 16);
3263
3269
  const spacingContent = [
3270
+ "import React from \"react\";",
3264
3271
  "import type { Meta, StoryObj } from \"@storybook/react\";",
3265
3272
  "",
3266
3273
  "const meta = { title: \"Foundations/Spacing & Layout\", parameters: { layout: \"fullscreen\" } } satisfies Meta;",
@@ -3368,6 +3375,7 @@ function writeFoundationsStories(foundations) {
3368
3375
  const zIndexSemantics = { "z-0": "Base", "z-10": "Low / hover", "z-20": "Dropdown", "z-30": "Sticky", "z-40": "Fixed", "z-50": "Modal / overlay" };
3369
3376
 
3370
3377
  const elevationContent = [
3378
+ "import React from \"react\";",
3371
3379
  "import type { Meta, StoryObj } from \"@storybook/react\";",
3372
3380
  "",
3373
3381
  "const meta = { title: \"Foundations/Elevation & Shadows\", parameters: { layout: \"fullscreen\" } } satisfies Meta;",
@@ -3490,6 +3498,7 @@ function writeFoundationsStories(foundations) {
3490
3498
  const usedRadius = (foundations?.tokenUsage?.radius || []).slice(0, 12);
3491
3499
 
3492
3500
  const borderContent = [
3501
+ "import React from \"react\";",
3493
3502
  "import type { Meta, StoryObj } from \"@storybook/react\";",
3494
3503
  "",
3495
3504
  "const meta = { title: \"Foundations/Border & Radius\", parameters: { layout: \"fullscreen\" } } satisfies Meta;",
@@ -3593,6 +3602,7 @@ function writeFoundationsStories(foundations) {
3593
3602
  const motionChips = (foundations?.tokenUsage?.animations || []).slice(0, 24);
3594
3603
 
3595
3604
  const motionContent = [
3605
+ "import React from \"react\";",
3596
3606
  "import type { Meta, StoryObj } from \"@storybook/react\";",
3597
3607
  "import { useState, useEffect } from \"react\";",
3598
3608
  "",
@@ -3743,6 +3753,7 @@ function writeComponentSuggestionsStory(componentSuggestions) {
3743
3753
  }));
3744
3754
  const content =
3745
3755
  [
3756
+ "import React from \"react\";",
3746
3757
  "import type { Meta, StoryObj } from \"@storybook/react\";",
3747
3758
  "import { useState } from \"react\";",
3748
3759
  "",
@@ -4089,6 +4100,7 @@ function writeComponentInventoryStory(components, foundations) {
4089
4100
  )].length;
4090
4101
 
4091
4102
  const content = [
4103
+ `import React from "react";`,
4092
4104
  `import type { Meta, StoryObj } from "@storybook/react";`,
4093
4105
  ``,
4094
4106
  `const meta = { title: "Foundations/Component Inventory", parameters: { layout: "fullscreen" } } satisfies Meta;`,
@@ -4227,6 +4239,7 @@ function writeChangelogStory(changelog) {
4227
4239
  const entries = Array.isArray(changelog) ? changelog.map((e) => ({ version: e.version, date: e.date, changes: e.changes || [] })) : [];
4228
4240
  const content =
4229
4241
  [
4242
+ "import React from \"react\";",
4230
4243
  "import type { Meta, StoryObj } from \"@storybook/react\";",
4231
4244
  "",
4232
4245
  "const meta = { title: \"Foundations/Changelog\", tags: [\"autodocs\"], parameters: { layout: \"fullscreen\" } } satisfies Meta;",