Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .changeset/slimy-pens-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
"@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
"@nextui-org/react": patch
---

Fix peerDeps & core package client on export \*
34 changes: 31 additions & 3 deletions apps/docs/content/blog/v2.6.0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,22 @@ NextUI version **v2.6.0** comes with 4 new components **Form**, **Drawer**, **In

<Spacer y={4} />

Upgrade today by running one of the following commands:
**Upgrade today by using one of the following methods**:

<Spacer y={4} />
1. Upgrading NextUI using the `cli`

- First, upgrade Framer Motion to at least v11.9.0:

<PackageManagers
commands={{
npm: "npm install framer-motion@latest",
yarn: "yarn add framer-motion@latest",
pnpm: "pnpm add framer-motion@latest",
bun: "bun add framer-motion@latest",
}}
/>

- Then, upgrade NextUI:

<PackageManagers
commands={{
Expand All @@ -57,6 +70,19 @@ Upgrade today by running one of the following commands:
}}
/>

2. Upgrading NextUI using the `pnpm`

<Spacer y={4} />

<PackageManagers
commands={{
npm: "npm install @nextui-org/react@latest framer-motion@latest",
pnpm: "pnpm add @nextui-org/react@latest framer-motion@latest",
yarn: "yarn add @nextui-org/react@latest framer-motion@latest",
bun: "bun add @nextui-org/react@latest framer-motion@latest",
}}
/>

<Spacer y={4} />

## Form Component
Expand Down Expand Up @@ -551,6 +577,9 @@ See the [Routing documentation](/docs/guides/routing) for more details.
- `useHref` (added) - Converts a router-specific href to a native href for use on DOM elements. For example, if your router accepts relative paths or custom link formats, useHref will generate the full native href based on the RouterProvider's configuration.
- `navigate` (modified) - `((path: Href, routerOptions?: RouterOptions) => void) | undefined` - we added the router options
- `reduceMotion` (added) - Controls the motion preferences for the entire application, allowing developers to respect user settings for reduced motion. The available options are:
- `"always"` - Always disable motion
- `"never"` - Always enable motion
- `"user"` - Respect user system preferences for motion

### DatePicker

Expand Down Expand Up @@ -610,7 +639,6 @@ We try to keep the breaking changes to a minimum, but sometimes it's necessary t

The nested group selectors for table themes have been updated to require explicit element selectors. You'll need to add `/tr` or `/th` to custom styles for group-data.


```diff-tsx
// Before
- group-data-[disabled=true]:text-foreground-300;
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/frameworks/astro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Requirements:

- [React 18](https://reactjs.org/) or later
- [Tailwind CSS 3.4](https://tailwindcss.com/docs/guides/astro) or later
- [Framer Motion 11](https://www.framer.com/motion/) or later
- [Framer Motion 11.9](https://www.framer.com/motion/) or later

------

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/frameworks/nextjs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Requirements:
- [Next.js 12](https://nextjs.org/) or later
- [React 18](https://reactjs.org/) or later
- [Tailwind CSS 3.4](https://tailwindcss.com/docs/guides/nextjs) or later
- [Framer Motion 11](https://www.framer.com/motion/) or later
- [Framer Motion 11.9](https://www.framer.com/motion/) or later

------

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/frameworks/remix.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Requirements:

- [React 18](https://reactjs.org/) or later
- [Tailwind CSS 3.4](https://tailwindcss.com/docs/guides/remix) or later
- [Framer Motion 11](https://www.framer.com/motion/) or later
- [Framer Motion 11.9](https://www.framer.com/motion/) or later

------

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/frameworks/vite.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Requirements:
- [Vite 2](https://vitejs.dev/) or later
- [React 18](https://reactjs.org/) or later
- [Tailwind CSS 3.4](https://tailwindcss.com/docs/guides/vite#react) or later
- [Framer Motion 11](https://www.framer.com/motion/) or later
- [Framer Motion 11.9](https://www.framer.com/motion/) or later

------

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/guide/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Requirements:

- [React 18](https://reactjs.org/) or later
- [Tailwind CSS 3.4](https://tailwindcss.com/) or later
- [Framer Motion 11](https://www.framer.com/motion/) or later
- [Framer Motion 11.9](https://www.framer.com/motion/) or later

---

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/guide/upgrade-to-v2.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Requirements:

- [React 18](https://reactjs.org/) or later
- [Tailwind CSS 3.4](https://tailwindcss.com/) or later
- [Framer Motion 11](https://www.framer.com/motion/) or later
- [Framer Motion 11.9](https://www.framer.com/motion/) or later

-----

Expand Down
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-beta.0",
"@nextui-org/system": ">=2.3.0-beta.0"
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.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-beta.0",
"@nextui-org/system": ">=2.3.0-beta.0"
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.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-beta.0",
"@nextui-org/theme": ">=2.3.0-beta.0",
"@nextui-org/system": ">=2.3.0",
"@nextui-org/theme": ">=2.3.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-beta.0",
"@nextui-org/system": ">=2.3.0-beta.0"
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.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-beta.0",
"@nextui-org/system": ">=2.3.0-beta.0"
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.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-beta.0",
"@nextui-org/system": ">=2.3.0-beta.0"
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.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-beta.0",
"@nextui-org/system": ">=2.3.0-beta.0"
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.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-beta.0",
"@nextui-org/theme": ">=2.3.0-beta.0",
"@nextui-org/system": ">=2.3.0",
"@nextui-org/theme": ">=2.3.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-beta.0",
"@nextui-org/system": ">=2.3.0-beta.0"
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.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-beta.0",
"@nextui-org/theme": ">=2.3.0-beta.0",
"@nextui-org/system": ">=2.3.0",
"@nextui-org/theme": ">=2.3.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-beta.0",
"@nextui-org/system": ">=2.3.0-beta.0"
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.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-beta.0"
"@nextui-org/theme": ">=2.3.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-beta.0",
"@nextui-org/theme": ">=2.3.0-beta.0",
"@nextui-org/system": ">=2.3.0",
"@nextui-org/theme": ">=2.3.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-beta.0",
"@nextui-org/theme": ">=2.3.0-beta.0",
"@nextui-org/system": ">=2.3.0",
"@nextui-org/theme": ">=2.3.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-beta.0"
"@nextui-org/theme": ">=2.3.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-beta.0",
"@nextui-org/system": ">=2.3.0-beta.0"
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.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-beta.0",
"@nextui-org/theme": ">=2.3.0-beta.0",
"@nextui-org/system": ">=2.3.0",
"@nextui-org/theme": ">=2.3.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-beta.0",
"@nextui-org/theme": ">=2.3.0-beta.0",
"@nextui-org/system": ">=2.3.0",
"@nextui-org/theme": ">=2.3.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-beta.0",
"@nextui-org/system": ">=2.3.0-beta.0"
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.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-beta.0",
"@nextui-org/system": ">=2.3.0-beta.0"
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.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-beta.0",
"@nextui-org/system": ">=2.3.0-beta.0"
"@nextui-org/theme": ">=2.3.0",
"@nextui-org/system": ">=2.3.0"
},
"dependencies": {
"@nextui-org/form": "workspace:*",
Expand Down
Loading