Skip to content

Commit

Permalink
fix(deps): incorrect peerDependencies for theme and system package (#…
Browse files Browse the repository at this point in the history
…4255)

* fix(deps): incorrect peerDependencies for theme and system package

* chore(changeset): add changeset
  • Loading branch information
wingkwong authored Dec 7, 2024
1 parent ac94e47 commit 6a94a12
Show file tree
Hide file tree
Showing 47 changed files with 135 additions and 86 deletions.
49 changes: 49 additions & 0 deletions .changeset/hungry-mugs-exercise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
"@nextui-org/scroll-shadow": patch
"@nextui-org/autocomplete": patch
"@nextui-org/breadcrumbs": patch
"@nextui-org/date-picker": patch
"@nextui-org/date-input": patch
"@nextui-org/pagination": patch
"@nextui-org/accordion": patch
"@nextui-org/input-otp": patch
"@nextui-org/calendar": patch
"@nextui-org/checkbox": patch
"@nextui-org/dropdown": patch
"@nextui-org/progress": patch
"@nextui-org/skeleton": patch
"@nextui-org/divider": patch
"@nextui-org/listbox": patch
"@nextui-org/popover": patch
"@nextui-org/snippet": patch
"@nextui-org/spinner": patch
"@nextui-org/tooltip": patch
"@nextui-org/avatar": patch
"@nextui-org/button": patch
"@nextui-org/drawer": patch
"@nextui-org/navbar": patch
"@nextui-org/ripple": patch
"@nextui-org/select": patch
"@nextui-org/slider": patch
"@nextui-org/spacer": patch
"@nextui-org/switch": patch
"@nextui-org/alert": patch
"@nextui-org/badge": patch
"@nextui-org/image": patch
"@nextui-org/input": patch
"@nextui-org/modal": patch
"@nextui-org/radio": patch
"@nextui-org/table": patch
"@nextui-org/card": patch
"@nextui-org/chip": patch
"@nextui-org/code": patch
"@nextui-org/form": patch
"@nextui-org/link": patch
"@nextui-org/menu": patch
"@nextui-org/tabs": patch
"@nextui-org/user": patch
"@nextui-org/system-rsc": patch
"@nextui-org/kbd": patch
---

fixed incorrect peerDependencies for theme and system package (#4254)
4 changes: 2 additions & 2 deletions packages/components/accordion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
},
"dependencies": {
"@nextui-org/aria-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/alert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
},
"dependencies": {
"@nextui-org/react-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/autocomplete/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@nextui-org/system": ">=2.3.0",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.4.0",
"@nextui-org/theme": ">=2.4.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/components/avatar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/badge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/breadcrumbs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
},
"dependencies": {
"@nextui-org/react-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/calendar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@nextui-org/system": ">=2.3.0",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.4.0",
"@nextui-org/theme": ">=2.4.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/components/card/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/checkbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@nextui-org/system": ">=2.3.0",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.4.0",
"@nextui-org/theme": ">=2.4.0",
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/components/chip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
},
"dependencies": {
"@nextui-org/shared-icons": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/components/code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0"
},
"dependencies": {
"@nextui-org/system-rsc": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/date-input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@nextui-org/system": ">=2.3.0",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.4.0",
"@nextui-org/theme": ">=2.4.0",
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/components/date-picker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@nextui-org/system": ">=2.3.0",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.4.0",
"@nextui-org/theme": ">=2.4.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/components/divider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/drawer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/dropdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@nextui-org/system": ">=2.3.0",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.4.0",
"@nextui-org/theme": ">=2.4.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/components/form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@nextui-org/system": ">=2.3.0",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.4.0",
"@nextui-org/theme": ">=2.4.0",
"react": ">=18",
"react-dom": ">=18"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/components/image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/input-otp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
},
"dependencies": {
"@nextui-org/form": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/input/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
},
"dependencies": {
"@nextui-org/form": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/components/kbd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0"
},
"dependencies": {
"@nextui-org/system-rsc": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/listbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
},
"dependencies": {
"@nextui-org/aria-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/menu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
},
"dependencies": {
"@nextui-org/divider": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/modal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
},
"dependencies": {
"@nextui-org/use-disclosure": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/navbar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/pagination/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/popover/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@nextui-org/system": ">=2.3.0",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.4.0",
"@nextui-org/theme": ">=2.4.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/components/progress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/radio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
},
"dependencies": {
"@nextui-org/form": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/ripple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.0"
"@nextui-org/theme": ">=2.4.0",
"@nextui-org/system": ">=2.4.0"
},
"dependencies": {
"@nextui-org/shared-utils": "workspace:*",
Expand Down
Loading

0 comments on commit 6a94a12

Please sign in to comment.