Skip to content

The Open Standard for Generative UI

Remove extra deps in react-ui package (#112)

Rabi Shanker Guha340f87cecad2
diff --git a/js/packages/react-ui/package.json b/js/packages/react-ui/package.json
index 89099479b..088bea339 100644
--- a/js/packages/react-ui/package.json
+++ b/js/packages/react-ui/package.json
@@ -2,7 +2,7 @@
"type": "module",
"name": "@crayonai/react-ui",
"license": "MIT",
- "version": "0.7.2",
+ "version": "0.7.3",
"description": "Component library for Generative UI SDK",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@@ -51,13 +51,10 @@
"@crayonai/stream": "workspace:^",
"react": ">=18.0.0",
"react-dom": ">=18.0.0",
- "tailwind-merge": "^2.5.4",
- "tailwindcss": "^3.0.0",
- "tailwindcss-animate": "^1.0.7",
- "tiny-invariant": "^1.3.3",
"zustand": "^5.0.2"
},
"dependencies": {
+ "tiny-invariant": "^1.3.3",
"@floating-ui/react-dom": "^2.1.2",
"@radix-ui/react-accordion": "^1.2.2",
"@radix-ui/react-aspect-ratio": "^1.1.1",
@@ -68,10 +65,6 @@
"@radix-ui/react-slider": "^1.2.2",
"@radix-ui/react-switch": "^1.1.2",
"@radix-ui/react-tabs": "^1.1.2",
- "@storybook/addon-styling-webpack": "^1.0.1",
- "@storybook/core-events": "^8.5.3",
- "@storybook/manager-api": "^8.5.3",
- "@storybook/theming": "^8.5.3",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"lodash-es": "^4.17.21",
@@ -84,8 +77,7 @@
"remark-breaks": "^4.0.0",
"remark-emoji": "^5.0.1",
"remark-gfm": "^4.0.1",
- "remark-math": "^6.0.0",
- "sass": "^1.83.4"
+ "remark-math": "^6.0.0"
},
"devDependencies": {
"@chromatic-com/storybook": "^3.2.4",
@@ -117,7 +109,13 @@
"prop-types": "^15.8.1",
"storybook": "^8.5.3",
"tsx": "^4.19.2",
- "vite": "^5.0.0"
+ "vite": "^5.0.0",
+ "tailwindcss": "^3",
+ "@storybook/addon-styling-webpack": "^1.0.1",
+ "@storybook/core-events": "^8.5.3",
+ "@storybook/manager-api": "^8.5.3",
+ "@storybook/theming": "^8.5.3",
+ "sass": "^1.83.4"
},
"keywords": [],
"author": "[email protected]",
diff --git a/js/pnpm-lock.yaml b/js/pnpm-lock.yaml
index 35f3e25e7..684054612 100644
--- a/js/pnpm-lock.yaml
+++ b/js/pnpm-lock.yaml
@@ -61,7 +61,7 @@ importers:
version: 2.6.0
tailwindcss-animate:
specifier: ^1.0.7
- version: 1.0.7([email protected])
+ version: 1.0.7
tiny-invariant:
specifier: ^1.3.3
version: 1.3.3
@@ -138,18 +138,6 @@ importers:
'@radix-ui/react-tabs':
specifier: ^1.1.2
- '@storybook/addon-styling-webpack':
- specifier: ^1.0.1
- '@storybook/core-events':
- specifier: ^8.5.3
- '@storybook/manager-api':
- specifier: ^8.5.3
- '@storybook/theming':
- specifier: ^8.5.3
clsx:
specifier: ^2.1.1
version: 2.1.1
@@ -195,18 +183,6 @@ importers:
remark-math:
specifier: ^6.0.0
version: 6.0.0
- sass:
- specifier: ^1.83.4
- version: 1.83.4
- tailwind-merge:
- specifier: ^2.5.4
- version: 2.6.0
- tailwindcss:
- specifier: ^3.0.0
- version: 3.4.17
- tailwindcss-animate:
- specifier: ^1.0.7
- version: 1.0.7([email protected])
tiny-invariant:
specifier: ^1.3.3
version: 1.3.3
@@ -226,12 +202,21 @@ importers:
'@storybook/addon-onboarding':
specifier: ^8.5.3
+ '@storybook/addon-styling-webpack':
+ specifier: ^1.0.1
'@storybook/addon-themes':
specifier: ^8.5.3
'@storybook/blocks':
specifier: ^8.5.3
+ '@storybook/core-events':
+ specifier: ^8.5.3
+ '@storybook/manager-api':
+ specifier: ^8.5.3
'@storybook/react':
specifier: ^8.5.3
@@ -241,6 +226,9 @@ importers:
'@storybook/test':
specifier: ^8.5.3
+ '@storybook/theming':
+ specifier: ^8.5.3
'@types/lodash-es':
specifier: ^4.17.12
version: 4.17.12
@@ -295,9 +283,15 @@ importers:
prop-types:
specifier: ^15.8.1
version: 15.8.1
+ sass:
+ specifier: ^1.83.4
+ version: 1.83.4
storybook:
specifier: ^8.5.3
version: 8.5.3([email protected])
+ tailwindcss:
+ specifier: ^3
+ version: 3.4.17
tsx:
specifier: ^4.19.2
version: 4.19.2
@@ -7715,9 +7709,7 @@ snapshots:
- dependencies:
- tailwindcss: 3.4.17
dependencies: