From 551ab184060b24b2c3a89598f84d4c18599649d0 Mon Sep 17 00:00:00 2001 From: Junior Garcia Date: Fri, 6 Dec 2024 19:05:41 -0300 Subject: [PATCH] fix: v2.6.0 (#4247) * fix: v2.6.0 * chore: update framer motion version --- .changeset/slimy-pens-enjoy.md | 50 +++++++++++++++++++ apps/docs/content/blog/v2.6.0.mdx | 34 +++++++++++-- apps/docs/content/docs/frameworks/astro.mdx | 2 +- apps/docs/content/docs/frameworks/nextjs.mdx | 2 +- apps/docs/content/docs/frameworks/remix.mdx | 2 +- apps/docs/content/docs/frameworks/vite.mdx | 2 +- apps/docs/content/docs/guide/installation.mdx | 2 +- .../docs/content/docs/guide/upgrade-to-v2.mdx | 2 +- packages/components/accordion/package.json | 4 +- packages/components/alert/package.json | 4 +- packages/components/autocomplete/package.json | 4 +- packages/components/avatar/package.json | 4 +- packages/components/badge/package.json | 4 +- packages/components/breadcrumbs/package.json | 4 +- packages/components/button/package.json | 4 +- packages/components/calendar/package.json | 4 +- packages/components/card/package.json | 4 +- packages/components/checkbox/package.json | 4 +- packages/components/chip/package.json | 4 +- packages/components/code/package.json | 2 +- packages/components/date-input/package.json | 4 +- packages/components/date-picker/package.json | 4 +- packages/components/divider/package.json | 2 +- packages/components/drawer/package.json | 4 +- packages/components/dropdown/package.json | 4 +- packages/components/form/package.json | 4 +- packages/components/image/package.json | 4 +- packages/components/input-otp/package.json | 4 +- packages/components/input/package.json | 4 +- packages/components/kbd/package.json | 2 +- packages/components/link/package.json | 4 +- packages/components/listbox/package.json | 4 +- packages/components/menu/package.json | 4 +- packages/components/modal/package.json | 4 +- packages/components/navbar/package.json | 4 +- packages/components/pagination/package.json | 4 +- packages/components/popover/package.json | 4 +- packages/components/progress/package.json | 4 +- packages/components/radio/package.json | 4 +- packages/components/ripple/package.json | 4 +- .../components/scroll-shadow/package.json | 4 +- packages/components/select/package.json | 4 +- packages/components/skeleton/package.json | 4 +- packages/components/slider/package.json | 4 +- packages/components/snippet/package.json | 4 +- packages/components/spacer/package.json | 2 +- packages/components/spinner/package.json | 2 +- packages/components/switch/package.json | 4 +- packages/components/table/package.json | 4 +- packages/components/tabs/package.json | 4 +- packages/components/tooltip/package.json | 4 +- packages/components/user/package.json | 4 +- packages/core/react/tsup.config.ts | 1 - packages/core/system-rsc/package.json | 2 +- 54 files changed, 171 insertions(+), 94 deletions(-) create mode 100644 .changeset/slimy-pens-enjoy.md diff --git a/.changeset/slimy-pens-enjoy.md b/.changeset/slimy-pens-enjoy.md new file mode 100644 index 0000000000..b9029570a9 --- /dev/null +++ b/.changeset/slimy-pens-enjoy.md @@ -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 \* diff --git a/apps/docs/content/blog/v2.6.0.mdx b/apps/docs/content/blog/v2.6.0.mdx index a36384a0c1..0f4d257e7d 100644 --- a/apps/docs/content/blog/v2.6.0.mdx +++ b/apps/docs/content/blog/v2.6.0.mdx @@ -46,9 +46,22 @@ NextUI version **v2.6.0** comes with 4 new components **Form**, **Drawer**, **In -Upgrade today by running one of the following commands: +**Upgrade today by using one of the following methods**: - +1. Upgrading NextUI using the `cli` + +- First, upgrade Framer Motion to at least v11.9.0: + + + +- Then, upgrade NextUI: +2. Upgrading NextUI using the `pnpm` + + + + + ## Form Component @@ -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 @@ -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; diff --git a/apps/docs/content/docs/frameworks/astro.mdx b/apps/docs/content/docs/frameworks/astro.mdx index 0bde0925f3..23ebefd2a9 100644 --- a/apps/docs/content/docs/frameworks/astro.mdx +++ b/apps/docs/content/docs/frameworks/astro.mdx @@ -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 ------ diff --git a/apps/docs/content/docs/frameworks/nextjs.mdx b/apps/docs/content/docs/frameworks/nextjs.mdx index 946adfcf08..622117b42a 100644 --- a/apps/docs/content/docs/frameworks/nextjs.mdx +++ b/apps/docs/content/docs/frameworks/nextjs.mdx @@ -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 ------ diff --git a/apps/docs/content/docs/frameworks/remix.mdx b/apps/docs/content/docs/frameworks/remix.mdx index 1012bdfa16..5e5c021bd1 100644 --- a/apps/docs/content/docs/frameworks/remix.mdx +++ b/apps/docs/content/docs/frameworks/remix.mdx @@ -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 ------ diff --git a/apps/docs/content/docs/frameworks/vite.mdx b/apps/docs/content/docs/frameworks/vite.mdx index a5767d7ebc..45927423e9 100644 --- a/apps/docs/content/docs/frameworks/vite.mdx +++ b/apps/docs/content/docs/frameworks/vite.mdx @@ -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 ------ diff --git a/apps/docs/content/docs/guide/installation.mdx b/apps/docs/content/docs/guide/installation.mdx index d81a299285..890310a0f7 100644 --- a/apps/docs/content/docs/guide/installation.mdx +++ b/apps/docs/content/docs/guide/installation.mdx @@ -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 --- diff --git a/apps/docs/content/docs/guide/upgrade-to-v2.mdx b/apps/docs/content/docs/guide/upgrade-to-v2.mdx index 09e3dee807..5b8a77e394 100644 --- a/apps/docs/content/docs/guide/upgrade-to-v2.mdx +++ b/apps/docs/content/docs/guide/upgrade-to-v2.mdx @@ -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 ----- diff --git a/packages/components/accordion/package.json b/packages/components/accordion/package.json index 2fe3c1bd18..8db9bdb929 100644 --- a/packages/components/accordion/package.json +++ b/packages/components/accordion/package.json @@ -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:*", diff --git a/packages/components/alert/package.json b/packages/components/alert/package.json index 1c72234cdd..81273def8c 100644 --- a/packages/components/alert/package.json +++ b/packages/components/alert/package.json @@ -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:*", diff --git a/packages/components/autocomplete/package.json b/packages/components/autocomplete/package.json index b8c8a4c711..1e9f78d2b8 100644 --- a/packages/components/autocomplete/package.json +++ b/packages/components/autocomplete/package.json @@ -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" diff --git a/packages/components/avatar/package.json b/packages/components/avatar/package.json index 42ce74ce38..b2ba30adb0 100644 --- a/packages/components/avatar/package.json +++ b/packages/components/avatar/package.json @@ -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:*", diff --git a/packages/components/badge/package.json b/packages/components/badge/package.json index 57122f4145..65e72b0816 100644 --- a/packages/components/badge/package.json +++ b/packages/components/badge/package.json @@ -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:*", diff --git a/packages/components/breadcrumbs/package.json b/packages/components/breadcrumbs/package.json index 1add5f560b..f20b7c2ddc 100644 --- a/packages/components/breadcrumbs/package.json +++ b/packages/components/breadcrumbs/package.json @@ -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:*", diff --git a/packages/components/button/package.json b/packages/components/button/package.json index d753858d14..7cc08c4c81 100644 --- a/packages/components/button/package.json +++ b/packages/components/button/package.json @@ -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:*", diff --git a/packages/components/calendar/package.json b/packages/components/calendar/package.json index 852b30be37..c8c533c7f7 100644 --- a/packages/components/calendar/package.json +++ b/packages/components/calendar/package.json @@ -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" diff --git a/packages/components/card/package.json b/packages/components/card/package.json index 8ec4f9c690..9128431c11 100644 --- a/packages/components/card/package.json +++ b/packages/components/card/package.json @@ -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:*", diff --git a/packages/components/checkbox/package.json b/packages/components/checkbox/package.json index a79da98a59..44968f61d6 100644 --- a/packages/components/checkbox/package.json +++ b/packages/components/checkbox/package.json @@ -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" }, diff --git a/packages/components/chip/package.json b/packages/components/chip/package.json index 7f966c6018..fdfec4966b 100644 --- a/packages/components/chip/package.json +++ b/packages/components/chip/package.json @@ -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:*", diff --git a/packages/components/code/package.json b/packages/components/code/package.json index 2dcff1d47e..85010abcd5 100644 --- a/packages/components/code/package.json +++ b/packages/components/code/package.json @@ -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:*", diff --git a/packages/components/date-input/package.json b/packages/components/date-input/package.json index 45fff96fa0..6d91a469f5 100644 --- a/packages/components/date-input/package.json +++ b/packages/components/date-input/package.json @@ -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" }, diff --git a/packages/components/date-picker/package.json b/packages/components/date-picker/package.json index 3889ea3561..e1a75d9eb1 100644 --- a/packages/components/date-picker/package.json +++ b/packages/components/date-picker/package.json @@ -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" diff --git a/packages/components/divider/package.json b/packages/components/divider/package.json index 9fc0062b4e..ecec0c7d62 100644 --- a/packages/components/divider/package.json +++ b/packages/components/divider/package.json @@ -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:*", diff --git a/packages/components/drawer/package.json b/packages/components/drawer/package.json index 7538605bf1..249fea5e80 100644 --- a/packages/components/drawer/package.json +++ b/packages/components/drawer/package.json @@ -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:*", diff --git a/packages/components/dropdown/package.json b/packages/components/dropdown/package.json index 8c4d7d8949..3fa925ba88 100644 --- a/packages/components/dropdown/package.json +++ b/packages/components/dropdown/package.json @@ -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" diff --git a/packages/components/form/package.json b/packages/components/form/package.json index 782b275cec..b3f187c01f 100644 --- a/packages/components/form/package.json +++ b/packages/components/form/package.json @@ -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" }, diff --git a/packages/components/image/package.json b/packages/components/image/package.json index 6e51e102c5..b0b461d4cb 100644 --- a/packages/components/image/package.json +++ b/packages/components/image/package.json @@ -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:*", diff --git a/packages/components/input-otp/package.json b/packages/components/input-otp/package.json index c9d89037a0..451a8234a5 100644 --- a/packages/components/input-otp/package.json +++ b/packages/components/input-otp/package.json @@ -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:*", diff --git a/packages/components/input/package.json b/packages/components/input/package.json index 68a6dc57f3..31256e2657 100644 --- a/packages/components/input/package.json +++ b/packages/components/input/package.json @@ -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:*", diff --git a/packages/components/kbd/package.json b/packages/components/kbd/package.json index 8f58553947..590c33f522 100644 --- a/packages/components/kbd/package.json +++ b/packages/components/kbd/package.json @@ -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:*", diff --git a/packages/components/link/package.json b/packages/components/link/package.json index 54d8fff892..8f4af4ceda 100644 --- a/packages/components/link/package.json +++ b/packages/components/link/package.json @@ -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:*", diff --git a/packages/components/listbox/package.json b/packages/components/listbox/package.json index 83cd0a7026..ddeef5dcac 100644 --- a/packages/components/listbox/package.json +++ b/packages/components/listbox/package.json @@ -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/aria-utils": "workspace:*", diff --git a/packages/components/menu/package.json b/packages/components/menu/package.json index c2fc854c17..523a873d75 100644 --- a/packages/components/menu/package.json +++ b/packages/components/menu/package.json @@ -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/divider": "workspace:*", diff --git a/packages/components/modal/package.json b/packages/components/modal/package.json index 5d643b6d37..ae27501b27 100644 --- a/packages/components/modal/package.json +++ b/packages/components/modal/package.json @@ -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/use-disclosure": "workspace:*", diff --git a/packages/components/navbar/package.json b/packages/components/navbar/package.json index 223564a1e2..05da66f20b 100644 --- a/packages/components/navbar/package.json +++ b/packages/components/navbar/package.json @@ -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:*", diff --git a/packages/components/pagination/package.json b/packages/components/pagination/package.json index e2f929d074..5d5ff1a986 100644 --- a/packages/components/pagination/package.json +++ b/packages/components/pagination/package.json @@ -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:*", diff --git a/packages/components/popover/package.json b/packages/components/popover/package.json index 38ce292c07..99478ad44d 100644 --- a/packages/components/popover/package.json +++ b/packages/components/popover/package.json @@ -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" diff --git a/packages/components/progress/package.json b/packages/components/progress/package.json index be1c419b29..30dff03d8f 100644 --- a/packages/components/progress/package.json +++ b/packages/components/progress/package.json @@ -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:*", diff --git a/packages/components/radio/package.json b/packages/components/radio/package.json index e9f23369ff..287aa78a23 100644 --- a/packages/components/radio/package.json +++ b/packages/components/radio/package.json @@ -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:*", diff --git a/packages/components/ripple/package.json b/packages/components/ripple/package.json index ac5e7e65ae..67276a6777 100644 --- a/packages/components/ripple/package.json +++ b/packages/components/ripple/package.json @@ -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:*", diff --git a/packages/components/scroll-shadow/package.json b/packages/components/scroll-shadow/package.json index bdd5ce4453..b91a498530 100644 --- a/packages/components/scroll-shadow/package.json +++ b/packages/components/scroll-shadow/package.json @@ -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:*", diff --git a/packages/components/select/package.json b/packages/components/select/package.json index 9a3406cfe9..369a8a1ed9 100644 --- a/packages/components/select/package.json +++ b/packages/components/select/package.json @@ -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" diff --git a/packages/components/skeleton/package.json b/packages/components/skeleton/package.json index f1e8cfcab7..07cfabc2fb 100644 --- a/packages/components/skeleton/package.json +++ b/packages/components/skeleton/package.json @@ -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:*", diff --git a/packages/components/slider/package.json b/packages/components/slider/package.json index 2172d951bb..293cbf118a 100644 --- a/packages/components/slider/package.json +++ b/packages/components/slider/package.json @@ -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:*", diff --git a/packages/components/snippet/package.json b/packages/components/snippet/package.json index 1b5b50ad3b..72e40d7e6c 100644 --- a/packages/components/snippet/package.json +++ b/packages/components/snippet/package.json @@ -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/button": "workspace:*", diff --git a/packages/components/spacer/package.json b/packages/components/spacer/package.json index 9a7714bf00..20b2c3b585 100644 --- a/packages/components/spacer/package.json +++ b/packages/components/spacer/package.json @@ -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:*", diff --git a/packages/components/spinner/package.json b/packages/components/spinner/package.json index 659c1f96d1..f5e99e37ed 100644 --- a/packages/components/spinner/package.json +++ b/packages/components/spinner/package.json @@ -38,7 +38,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:*", diff --git a/packages/components/switch/package.json b/packages/components/switch/package.json index 797a4056ea..d6decc93ff 100644 --- a/packages/components/switch/package.json +++ b/packages/components/switch/package.json @@ -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:*", diff --git a/packages/components/table/package.json b/packages/components/table/package.json index c2fab3062b..36763355bd 100644 --- a/packages/components/table/package.json +++ b/packages/components/table/package.json @@ -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/checkbox": "workspace:*", diff --git a/packages/components/tabs/package.json b/packages/components/tabs/package.json index 489ef528ac..f77a74900b 100644 --- a/packages/components/tabs/package.json +++ b/packages/components/tabs/package.json @@ -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:*", diff --git a/packages/components/tooltip/package.json b/packages/components/tooltip/package.json index a7d334e86c..56b2e592f0 100644 --- a/packages/components/tooltip/package.json +++ b/packages/components/tooltip/package.json @@ -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:*", diff --git a/packages/components/user/package.json b/packages/components/user/package.json index 1554024b01..8a4e29fb40 100644 --- a/packages/components/user/package.json +++ b/packages/components/user/package.json @@ -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/avatar": "workspace:*", diff --git a/packages/core/react/tsup.config.ts b/packages/core/react/tsup.config.ts index 4ac849569b..0ddb926e3b 100644 --- a/packages/core/react/tsup.config.ts +++ b/packages/core/react/tsup.config.ts @@ -5,5 +5,4 @@ export default defineConfig({ target: "es2019", entry: ["src/index.ts", "!src/scripts"], format: ["cjs", "esm"], - banner: {js: '"use client";'}, }); diff --git a/packages/core/system-rsc/package.json b/packages/core/system-rsc/package.json index 4b62c9a350..dab7aaaafe 100644 --- a/packages/core/system-rsc/package.json +++ b/packages/core/system-rsc/package.json @@ -35,7 +35,7 @@ }, "peerDependencies": { "react": ">=18 || >=19.0.0-rc.0", - "@nextui-org/theme": ">=2.3.0-beta.0" + "@nextui-org/theme": ">=2.3.0" }, "devDependencies": { "react": "^18.0.0",