diff --git a/apps/docs/app/examples/perf/page.tsx b/apps/docs/app/examples/perf/page.tsx index de9e89f43f..79ab457b0a 100644 --- a/apps/docs/app/examples/perf/page.tsx +++ b/apps/docs/app/examples/perf/page.tsx @@ -246,7 +246,7 @@ const usersData = [ age: "29", avatar: "https://d2u8k2ocievbld.cloudfront.net/memojis/male/3.png", email: "brian.kim@example.com", - status: "Active", + status: "active", }, { id: 7, diff --git a/apps/docs/app/examples/table/custom-styles/page.tsx b/apps/docs/app/examples/table/custom-styles/page.tsx index 813532048a..dbb19e9174 100644 --- a/apps/docs/app/examples/table/custom-styles/page.tsx +++ b/apps/docs/app/examples/table/custom-styles/page.tsx @@ -112,7 +112,7 @@ const users = [ age: "29", avatar: "https://i.pravatar.cc/150?u=a042581f4e29026024d", email: "brian.kim@example.com", - status: "Active", + status: "active", }, { id: 7, diff --git a/apps/docs/app/examples/table/use-case/page.tsx b/apps/docs/app/examples/table/use-case/page.tsx index 7aa18ed3f9..b94ccf30b7 100644 --- a/apps/docs/app/examples/table/use-case/page.tsx +++ b/apps/docs/app/examples/table/use-case/page.tsx @@ -112,7 +112,7 @@ const users = [ age: "29", avatar: "https://i.pravatar.cc/150?u=a042581f4e29026024d", email: "brian.kim@example.com", - status: "Active", + status: "active", }, { id: 7, diff --git a/apps/docs/content/components/autocomplete/custom-items.ts b/apps/docs/content/components/autocomplete/custom-items.ts index 218d35d9fa..205ead3a5c 100644 --- a/apps/docs/content/components/autocomplete/custom-items.ts +++ b/apps/docs/content/components/autocomplete/custom-items.ts @@ -57,7 +57,7 @@ const data = `export const users = [ age: "29", avatar: "https://d2u8k2ocievbld.cloudfront.net/memojis/male/3.png", email: "brian.kim@example.com", - status: "Active", + status: "active", }, { id: 7, diff --git a/apps/docs/content/components/autocomplete/custom-styles.ts b/apps/docs/content/components/autocomplete/custom-styles.ts index 549be04f98..8782766986 100644 --- a/apps/docs/content/components/autocomplete/custom-styles.ts +++ b/apps/docs/content/components/autocomplete/custom-styles.ts @@ -57,7 +57,7 @@ const data = `export const users = [ age: "29", avatar: "https://d2u8k2ocievbld.cloudfront.net/memojis/male/3.png", email: "brian.kim@example.com", - status: "Active", + status: "active", }, { id: 7, diff --git a/apps/docs/content/components/listbox/top-content.ts b/apps/docs/content/components/listbox/top-content.ts index 309a244547..fac030443d 100644 --- a/apps/docs/content/components/listbox/top-content.ts +++ b/apps/docs/content/components/listbox/top-content.ts @@ -57,7 +57,7 @@ const data = `export const users = [ age: "29", avatar: "https://d2u8k2ocievbld.cloudfront.net/memojis/male/3.png", email: "brian.kim@example.com", - status: "Active", + status: "active", }, { id: 7, diff --git a/apps/docs/content/components/select/custom-items.ts b/apps/docs/content/components/select/custom-items.ts index 1722452e77..66f7d96dd7 100644 --- a/apps/docs/content/components/select/custom-items.ts +++ b/apps/docs/content/components/select/custom-items.ts @@ -57,7 +57,7 @@ const data = `export const users = [ age: "29", avatar: "https://d2u8k2ocievbld.cloudfront.net/memojis/male/3.png", email: "brian.kim@example.com", - status: "Active", + status: "active", }, { id: 7, diff --git a/apps/docs/content/components/select/custom-render-value.ts b/apps/docs/content/components/select/custom-render-value.ts index 79a004b2fa..dc52e11211 100644 --- a/apps/docs/content/components/select/custom-render-value.ts +++ b/apps/docs/content/components/select/custom-render-value.ts @@ -57,7 +57,7 @@ const data = `export const users = [ age: "29", avatar: "https://d2u8k2ocievbld.cloudfront.net/memojis/male/3.png", email: "brian.kim@example.com", - status: "Active", + status: "active", }, { id: 7, diff --git a/apps/docs/content/components/select/custom-styles.ts b/apps/docs/content/components/select/custom-styles.ts index d4e080e1d6..ae2db45e8a 100644 --- a/apps/docs/content/components/select/custom-styles.ts +++ b/apps/docs/content/components/select/custom-styles.ts @@ -57,7 +57,7 @@ const data = `export const users = [ age: "29", avatar: "https://d2u8k2ocievbld.cloudfront.net/memojis/male/3.png", email: "brian.kim@example.com", - status: "Active", + status: "active", }, { id: 7, diff --git a/apps/docs/content/components/select/multiple-chips.ts b/apps/docs/content/components/select/multiple-chips.ts index d8e695c0b5..1919c994ea 100644 --- a/apps/docs/content/components/select/multiple-chips.ts +++ b/apps/docs/content/components/select/multiple-chips.ts @@ -57,7 +57,7 @@ const data = `export const users = [ age: "29", avatar: "https://d2u8k2ocievbld.cloudfront.net/memojis/male/3.png", email: "brian.kim@example.com", - status: "Active", + status: "active", }, { id: 7, diff --git a/apps/docs/content/components/table/custom-styles.ts b/apps/docs/content/components/table/custom-styles.ts index 10b03e444d..7e53d1ef39 100644 --- a/apps/docs/content/components/table/custom-styles.ts +++ b/apps/docs/content/components/table/custom-styles.ts @@ -74,7 +74,7 @@ const users = [ age: "29", avatar: "https://i.pravatar.cc/150?u=a042581f4e29026024d", email: "brian.kim@example.com", - status: "Active", + status: "active", }, { id: 7, diff --git a/apps/docs/content/components/table/use-case.ts b/apps/docs/content/components/table/use-case.ts index 6c7c255f8c..68c17c06e5 100644 --- a/apps/docs/content/components/table/use-case.ts +++ b/apps/docs/content/components/table/use-case.ts @@ -74,7 +74,7 @@ const users = [ age: "29", avatar: "https://i.pravatar.cc/150?u=a042581f4e29026024d", email: "brian.kim@example.com", - status: "Active", + status: "active", }, { id: 7, diff --git a/package.json b/package.json index 2cd3ee2a30..a1d6b4bcd9 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "format:write": "prettier --write packages/**/**/src --cache", "turbo:clean": "turbo clean && rimraf ./node_modules/.cache/turbo", "turbo:graph": "pnpm build --graph=dependency-graph.png", - "clean": "pnpm turbo:clean && pnpm clean:jest && pnpm clean:node-modules && pnpm clean:lock && pnpm install --hoist", + "clean": "pnpm turbo:clean && pnpm clean:jest && pnpm clean:lock && pnpm clean:node-modules && pnpm install --hoist", "clean:node-modules": "rimraf ./apps/**/node_modules && rimraf ./packages/**/**/node_modules && rimraf ./node_modules", "clean:changelogs": "rimraf ./packages/**/**/CHANGELOG.md", "clean:lock": "rimraf ./pnpm-lock.yaml", diff --git a/packages/components/accordion/CHANGELOG.md b/packages/components/accordion/CHANGELOG.md index b118189227..8da83587c7 100644 --- a/packages/components/accordion/CHANGELOG.md +++ b/packages/components/accordion/CHANGELOG.md @@ -1,5 +1,14 @@ # @nextui-org/accordion +## 2.0.37 + +### Patch Changes + +- Updated dependencies []: + - @nextui-org/divider@2.0.30 + - @nextui-org/aria-utils@2.0.23 + - @nextui-org/framer-utils@2.0.23 + ## 2.0.36 ### Patch Changes diff --git a/packages/components/accordion/package.json b/packages/components/accordion/package.json index c224388b3b..7b98e63a47 100644 --- a/packages/components/accordion/package.json +++ b/packages/components/accordion/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/accordion", - "version": "2.0.36", + "version": "2.0.37", "description": "Collapse display a list of high-level options that can expand/collapse to reveal more information.", "keywords": [ "react", diff --git a/packages/components/autocomplete/CHANGELOG.md b/packages/components/autocomplete/CHANGELOG.md index 4107c94666..61d693c963 100644 --- a/packages/components/autocomplete/CHANGELOG.md +++ b/packages/components/autocomplete/CHANGELOG.md @@ -1,5 +1,18 @@ # @nextui-org/autocomplete +## 2.1.4 + +### Patch Changes + +- Updated dependencies []: + - @nextui-org/spinner@2.0.32 + - @nextui-org/listbox@2.1.24 + - @nextui-org/button@2.0.36 + - @nextui-org/input@2.2.3 + - @nextui-org/popover@2.1.26 + - @nextui-org/scroll-shadow@2.1.18 + - @nextui-org/aria-utils@2.0.23 + ## 2.1.3 ### Patch Changes diff --git a/packages/components/autocomplete/package.json b/packages/components/autocomplete/package.json index a5e50f2daa..6a7bc7b25f 100644 --- a/packages/components/autocomplete/package.json +++ b/packages/components/autocomplete/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/autocomplete", - "version": "2.1.3", + "version": "2.1.4", "description": "An autocomplete combines a text input with a listbox, allowing users to filter a list of options to items matching a query.", "keywords": [ "autocomplete" diff --git a/packages/components/button/CHANGELOG.md b/packages/components/button/CHANGELOG.md index dfa7b0ac72..70d58f4d98 100644 --- a/packages/components/button/CHANGELOG.md +++ b/packages/components/button/CHANGELOG.md @@ -1,5 +1,13 @@ # @nextui-org/button +## 2.0.36 + +### Patch Changes + +- Updated dependencies []: + - @nextui-org/spinner@2.0.32 + - @nextui-org/ripple@2.0.31 + ## 2.0.35 ### Patch Changes diff --git a/packages/components/button/package.json b/packages/components/button/package.json index 18904a08f3..2ad72041c3 100644 --- a/packages/components/button/package.json +++ b/packages/components/button/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/button", - "version": "2.0.35", + "version": "2.0.36", "description": "Buttons allow users to perform actions and choose with a single tap.", "keywords": [ "button" diff --git a/packages/components/calendar/CHANGELOG.md b/packages/components/calendar/CHANGELOG.md index ddf74e624e..c14ffd1d00 100644 --- a/packages/components/calendar/CHANGELOG.md +++ b/packages/components/calendar/CHANGELOG.md @@ -1,5 +1,22 @@ # @nextui-org/calendar +## 2.0.10 + +### Patch Changes + +- [#3505](https://github.com/nextui-org/nextui/pull/3505) [`1fdbf2ad2`](https://github.com/nextui-org/nextui/commit/1fdbf2ad2020d91f257029e6a3f81406d5da109c) Thanks [@abhinandan-verma](https://github.com/abhinandan-verma)! - Fixed the calendarContent width as per visible month + +- Updated dependencies []: + - @nextui-org/button@2.0.36 + +## 2.0.9 + +### Patch Changes + +- Updated dependencies []: + - @nextui-org/button@2.0.36 + - @nextui-org/framer-utils@2.0.23 + ## 2.0.8 ### Patch Changes diff --git a/packages/components/calendar/package.json b/packages/components/calendar/package.json index 6f840470ea..25593d6af1 100644 --- a/packages/components/calendar/package.json +++ b/packages/components/calendar/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/calendar", - "version": "2.0.8", + "version": "2.0.10", "description": "A calendar displays one or more date grids and allows users to select a single date.", "keywords": [ "calendar" diff --git a/packages/components/calendar/src/use-calendar-base.ts b/packages/components/calendar/src/use-calendar-base.ts index 970b6b64b3..56c57f5383 100644 --- a/packages/components/calendar/src/use-calendar-base.ts +++ b/packages/components/calendar/src/use-calendar-base.ts @@ -279,7 +279,7 @@ export function useCalendarBase(originalProps: UseCalendarBasePropsComplete) { "data-has-multiple-months": dataAttr(hasMultipleMonths), style: { // @ts-ignore - "--visible-months": visibleMonths, + "--visible-months": typeof visibleMonths === "number" ? `${visibleMonths}` : visibleMonths, "--calendar-width": typeof calendarWidth === "number" ? `${calendarWidth}px` : calendarWidth, } as React.CSSProperties, }; diff --git a/packages/components/code/CHANGELOG.md b/packages/components/code/CHANGELOG.md index a2240b82d2..db035866d0 100644 --- a/packages/components/code/CHANGELOG.md +++ b/packages/components/code/CHANGELOG.md @@ -1,5 +1,12 @@ # @nextui-org/code +## 2.0.31 + +### Patch Changes + +- Updated dependencies [[`5591138bf`](https://github.com/nextui-org/nextui/commit/5591138bff4a393f614c4cb0d505901560c4ceea)]: + - @nextui-org/system-rsc@2.1.4 + ## 2.0.30 ### Patch Changes diff --git a/packages/components/code/package.json b/packages/components/code/package.json index 9994d5c1e8..3071ff1da1 100644 --- a/packages/components/code/package.json +++ b/packages/components/code/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/code", - "version": "2.0.30", + "version": "2.0.31", "description": "Code is a component used to display inline code.", "keywords": [ "code" diff --git a/packages/components/date-picker/CHANGELOG.md b/packages/components/date-picker/CHANGELOG.md index 6d5140de10..bc4bab94e7 100644 --- a/packages/components/date-picker/CHANGELOG.md +++ b/packages/components/date-picker/CHANGELOG.md @@ -1,5 +1,26 @@ # @nextui-org/date-picker +## 2.1.5 + +### Patch Changes + +- Updated dependencies [[`1fdbf2ad2`](https://github.com/nextui-org/nextui/commit/1fdbf2ad2020d91f257029e6a3f81406d5da109c)]: + - @nextui-org/calendar@2.0.10 + - @nextui-org/button@2.0.36 + - @nextui-org/date-input@2.1.2 + - @nextui-org/popover@2.1.26 + +## 2.1.4 + +### Patch Changes + +- Updated dependencies []: + - @nextui-org/button@2.0.36 + - @nextui-org/calendar@2.0.9 + - @nextui-org/date-input@2.1.2 + - @nextui-org/popover@2.1.26 + - @nextui-org/aria-utils@2.0.23 + ## 2.1.3 ### Patch Changes diff --git a/packages/components/date-picker/package.json b/packages/components/date-picker/package.json index 892162df30..494e713975 100644 --- a/packages/components/date-picker/package.json +++ b/packages/components/date-picker/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/date-picker", - "version": "2.1.3", + "version": "2.1.5", "description": "A date picker combines a DateInput and a Calendar popover to allow users to enter or select a date and time value.", "keywords": [ "date-picker" diff --git a/packages/components/divider/CHANGELOG.md b/packages/components/divider/CHANGELOG.md index 331e9e41f1..8deb4d3197 100644 --- a/packages/components/divider/CHANGELOG.md +++ b/packages/components/divider/CHANGELOG.md @@ -1,5 +1,12 @@ # @nextui-org/divider +## 2.0.30 + +### Patch Changes + +- Updated dependencies [[`5591138bf`](https://github.com/nextui-org/nextui/commit/5591138bff4a393f614c4cb0d505901560c4ceea)]: + - @nextui-org/system-rsc@2.1.4 + ## 2.0.29 ### Patch Changes diff --git a/packages/components/divider/package.json b/packages/components/divider/package.json index 88b5994120..98b874d0b3 100644 --- a/packages/components/divider/package.json +++ b/packages/components/divider/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/divider", - "version": "2.0.29", + "version": "2.0.30", "description": ". A separator is a visual divider between two groups of content", "keywords": [ "divider" diff --git a/packages/components/dropdown/CHANGELOG.md b/packages/components/dropdown/CHANGELOG.md index 1341eb48f7..48bda73c84 100644 --- a/packages/components/dropdown/CHANGELOG.md +++ b/packages/components/dropdown/CHANGELOG.md @@ -1,5 +1,14 @@ # @nextui-org/dropdown +## 2.1.28 + +### Patch Changes + +- Updated dependencies []: + - @nextui-org/menu@2.0.27 + - @nextui-org/popover@2.1.26 + - @nextui-org/aria-utils@2.0.23 + ## 2.1.27 ### Patch Changes diff --git a/packages/components/dropdown/package.json b/packages/components/dropdown/package.json index 7eab55ff86..6d2350c4a8 100644 --- a/packages/components/dropdown/package.json +++ b/packages/components/dropdown/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/dropdown", - "version": "2.1.27", + "version": "2.1.28", "description": "A dropdown displays a list of actions or options that a user can choose.", "keywords": [ "dropdown" diff --git a/packages/components/kbd/CHANGELOG.md b/packages/components/kbd/CHANGELOG.md index c67ba7bde5..c927bc9c00 100644 --- a/packages/components/kbd/CHANGELOG.md +++ b/packages/components/kbd/CHANGELOG.md @@ -1,5 +1,12 @@ # @nextui-org/kbd +## 2.0.32 + +### Patch Changes + +- Updated dependencies [[`5591138bf`](https://github.com/nextui-org/nextui/commit/5591138bff4a393f614c4cb0d505901560c4ceea)]: + - @nextui-org/system-rsc@2.1.4 + ## 2.0.31 ### Patch Changes diff --git a/packages/components/kbd/package.json b/packages/components/kbd/package.json index 0f767868ba..98b57d5a60 100644 --- a/packages/components/kbd/package.json +++ b/packages/components/kbd/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/kbd", - "version": "2.0.31", + "version": "2.0.32", "description": "The keyboard key components indicates which key or set of keys used to execute a specificv action", "keywords": [ "kbd" diff --git a/packages/components/listbox/CHANGELOG.md b/packages/components/listbox/CHANGELOG.md index 8ddfd59be8..2d2bac874c 100644 --- a/packages/components/listbox/CHANGELOG.md +++ b/packages/components/listbox/CHANGELOG.md @@ -1,5 +1,13 @@ # @nextui-org/listbox +## 2.1.24 + +### Patch Changes + +- Updated dependencies []: + - @nextui-org/divider@2.0.30 + - @nextui-org/aria-utils@2.0.23 + ## 2.1.23 ### Patch Changes diff --git a/packages/components/listbox/package.json b/packages/components/listbox/package.json index b7409631e5..b216e6928e 100644 --- a/packages/components/listbox/package.json +++ b/packages/components/listbox/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/listbox", - "version": "2.1.23", + "version": "2.1.24", "description": "A listbox displays a list of options and allows a user to select one or more of them.", "keywords": [ "listbox" diff --git a/packages/components/menu/CHANGELOG.md b/packages/components/menu/CHANGELOG.md index 0a4da4eb58..ce6ae07f4f 100644 --- a/packages/components/menu/CHANGELOG.md +++ b/packages/components/menu/CHANGELOG.md @@ -1,5 +1,13 @@ # @nextui-org/menu +## 2.0.27 + +### Patch Changes + +- Updated dependencies []: + - @nextui-org/divider@2.0.30 + - @nextui-org/aria-utils@2.0.23 + ## 2.0.26 ### Patch Changes diff --git a/packages/components/menu/package.json b/packages/components/menu/package.json index c076cc12d4..ea777da3ad 100644 --- a/packages/components/menu/package.json +++ b/packages/components/menu/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/menu", - "version": "2.0.26", + "version": "2.0.27", "description": "A menu displays a list of options and allows a user to select one or more of them.", "keywords": [ "menu" diff --git a/packages/components/modal/CHANGELOG.md b/packages/components/modal/CHANGELOG.md index 737c3dc6a4..cfc1e18a10 100644 --- a/packages/components/modal/CHANGELOG.md +++ b/packages/components/modal/CHANGELOG.md @@ -1,5 +1,12 @@ # @nextui-org/modal +## 2.0.38 + +### Patch Changes + +- Updated dependencies []: + - @nextui-org/framer-utils@2.0.23 + ## 2.0.37 ### Patch Changes diff --git a/packages/components/modal/package.json b/packages/components/modal/package.json index 4813f9ed1a..cdc331ea47 100644 --- a/packages/components/modal/package.json +++ b/packages/components/modal/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/modal", - "version": "2.0.37", + "version": "2.0.38", "description": "Displays a dialog with a custom content that requires attention or provides additional information.", "keywords": [ "modal" diff --git a/packages/components/navbar/CHANGELOG.md b/packages/components/navbar/CHANGELOG.md index 9b4427319a..a66b2fe26f 100644 --- a/packages/components/navbar/CHANGELOG.md +++ b/packages/components/navbar/CHANGELOG.md @@ -1,5 +1,12 @@ # @nextui-org/navbar +## 2.0.35 + +### Patch Changes + +- Updated dependencies []: + - @nextui-org/framer-utils@2.0.23 + ## 2.0.34 ### Patch Changes diff --git a/packages/components/navbar/package.json b/packages/components/navbar/package.json index 80275827fe..e6943288ac 100644 --- a/packages/components/navbar/package.json +++ b/packages/components/navbar/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/navbar", - "version": "2.0.34", + "version": "2.0.35", "description": "A responsive navigation header positioned on top side of your page that includes support for branding, links, navigation, collapse and more.", "keywords": [ "navbar" diff --git a/packages/components/popover/CHANGELOG.md b/packages/components/popover/CHANGELOG.md index 87200d8fe5..102fb6732a 100644 --- a/packages/components/popover/CHANGELOG.md +++ b/packages/components/popover/CHANGELOG.md @@ -1,5 +1,14 @@ # @nextui-org/popover +## 2.1.26 + +### Patch Changes + +- Updated dependencies []: + - @nextui-org/button@2.0.36 + - @nextui-org/aria-utils@2.0.23 + - @nextui-org/framer-utils@2.0.23 + ## 2.1.25 ### Patch Changes diff --git a/packages/components/popover/package.json b/packages/components/popover/package.json index 3d23991ebc..1405155c27 100644 --- a/packages/components/popover/package.json +++ b/packages/components/popover/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/popover", - "version": "2.1.25", + "version": "2.1.26", "description": "A popover is an overlay element positioned relative to a trigger.", "keywords": [ "popover" diff --git a/packages/components/select/CHANGELOG.md b/packages/components/select/CHANGELOG.md index 12a8e01a10..cc29fc6a80 100644 --- a/packages/components/select/CHANGELOG.md +++ b/packages/components/select/CHANGELOG.md @@ -1,5 +1,16 @@ # @nextui-org/select +## 2.2.4 + +### Patch Changes + +- Updated dependencies []: + - @nextui-org/spinner@2.0.32 + - @nextui-org/listbox@2.1.24 + - @nextui-org/popover@2.1.26 + - @nextui-org/scroll-shadow@2.1.18 + - @nextui-org/aria-utils@2.0.23 + ## 2.2.3 ### Patch Changes diff --git a/packages/components/select/package.json b/packages/components/select/package.json index ef98f39908..f2931ed49f 100644 --- a/packages/components/select/package.json +++ b/packages/components/select/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/select", - "version": "2.2.3", + "version": "2.2.4", "description": "A select displays a collapsible list of options and allows a user to select one of them.", "keywords": [ "select" diff --git a/packages/components/slider/CHANGELOG.md b/packages/components/slider/CHANGELOG.md index 6e8a0447f6..1b83658f66 100644 --- a/packages/components/slider/CHANGELOG.md +++ b/packages/components/slider/CHANGELOG.md @@ -1,5 +1,12 @@ # @nextui-org/slider +## 2.2.14 + +### Patch Changes + +- Updated dependencies []: + - @nextui-org/tooltip@2.0.38 + ## 2.2.13 ### Patch Changes diff --git a/packages/components/slider/package.json b/packages/components/slider/package.json index c274144bac..7773d028b1 100644 --- a/packages/components/slider/package.json +++ b/packages/components/slider/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/slider", - "version": "2.2.13", + "version": "2.2.14", "description": "A slider allows a user to select one or more values within a range.", "keywords": [ "slider" diff --git a/packages/components/snippet/CHANGELOG.md b/packages/components/snippet/CHANGELOG.md index 638f262314..579b07573d 100644 --- a/packages/components/snippet/CHANGELOG.md +++ b/packages/components/snippet/CHANGELOG.md @@ -1,5 +1,13 @@ # @nextui-org/snippet +## 2.0.40 + +### Patch Changes + +- Updated dependencies []: + - @nextui-org/button@2.0.36 + - @nextui-org/tooltip@2.0.38 + ## 2.0.39 ### Patch Changes diff --git a/packages/components/snippet/package.json b/packages/components/snippet/package.json index bd81578b43..3c3a4dca61 100644 --- a/packages/components/snippet/package.json +++ b/packages/components/snippet/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/snippet", - "version": "2.0.39", + "version": "2.0.40", "description": "Display a snippet of copyable code for the command line.", "keywords": [ "snippet" diff --git a/packages/components/spacer/CHANGELOG.md b/packages/components/spacer/CHANGELOG.md index 9ed5b83747..c66f84c111 100644 --- a/packages/components/spacer/CHANGELOG.md +++ b/packages/components/spacer/CHANGELOG.md @@ -1,5 +1,12 @@ # @nextui-org/spacer +## 2.0.31 + +### Patch Changes + +- Updated dependencies [[`5591138bf`](https://github.com/nextui-org/nextui/commit/5591138bff4a393f614c4cb0d505901560c4ceea)]: + - @nextui-org/system-rsc@2.1.4 + ## 2.0.30 ### Patch Changes diff --git a/packages/components/spacer/package.json b/packages/components/spacer/package.json index 435d12ee92..b869655b07 100644 --- a/packages/components/spacer/package.json +++ b/packages/components/spacer/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/spacer", - "version": "2.0.30", + "version": "2.0.31", "description": "A flexible spacer component designed to create consistent spacing and maintain alignment in your layout.", "keywords": [ "spacer" diff --git a/packages/components/spinner/CHANGELOG.md b/packages/components/spinner/CHANGELOG.md index 7cdff310db..560ea33c44 100644 --- a/packages/components/spinner/CHANGELOG.md +++ b/packages/components/spinner/CHANGELOG.md @@ -1,5 +1,12 @@ # @nextui-org/spinner +## 2.0.32 + +### Patch Changes + +- Updated dependencies [[`5591138bf`](https://github.com/nextui-org/nextui/commit/5591138bff4a393f614c4cb0d505901560c4ceea)]: + - @nextui-org/system-rsc@2.1.4 + ## 2.0.31 ### Patch Changes diff --git a/packages/components/spinner/package.json b/packages/components/spinner/package.json index 59beb0d912..49d3c665e4 100644 --- a/packages/components/spinner/package.json +++ b/packages/components/spinner/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/spinner", - "version": "2.0.31", + "version": "2.0.32", "description": "Loaders express an unspecified wait time or display the length of a process.", "keywords": [ "loading", diff --git a/packages/components/table/CHANGELOG.md b/packages/components/table/CHANGELOG.md index 6e2903c13d..9a37e14f04 100644 --- a/packages/components/table/CHANGELOG.md +++ b/packages/components/table/CHANGELOG.md @@ -1,5 +1,13 @@ # @nextui-org/table +## 2.0.38 + +### Patch Changes + +- Updated dependencies []: + - @nextui-org/spacer@2.0.31 + - @nextui-org/checkbox@2.1.3 + ## 2.0.37 ### Patch Changes diff --git a/packages/components/table/package.json b/packages/components/table/package.json index 0f836e85dc..3991462c52 100644 --- a/packages/components/table/package.json +++ b/packages/components/table/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/table", - "version": "2.0.37", + "version": "2.0.38", "description": "Tables are used to display tabular data using rows and columns. ", "keywords": [ "table" diff --git a/packages/components/tabs/CHANGELOG.md b/packages/components/tabs/CHANGELOG.md index e6bec8fe98..380cb31761 100644 --- a/packages/components/tabs/CHANGELOG.md +++ b/packages/components/tabs/CHANGELOG.md @@ -1,5 +1,13 @@ # @nextui-org/tabs +## 2.0.34 + +### Patch Changes + +- Updated dependencies []: + - @nextui-org/aria-utils@2.0.23 + - @nextui-org/framer-utils@2.0.23 + ## 2.0.33 ### Patch Changes diff --git a/packages/components/tabs/package.json b/packages/components/tabs/package.json index 8e87223f14..80d54be033 100644 --- a/packages/components/tabs/package.json +++ b/packages/components/tabs/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/tabs", - "version": "2.0.33", + "version": "2.0.34", "description": "Tabs organize content into multiple sections and allow users to navigate between them.", "keywords": [ "tabs" diff --git a/packages/components/tooltip/CHANGELOG.md b/packages/components/tooltip/CHANGELOG.md index 56eb77fb55..b8bfa35fc7 100644 --- a/packages/components/tooltip/CHANGELOG.md +++ b/packages/components/tooltip/CHANGELOG.md @@ -1,5 +1,13 @@ # @nextui-org/tooltip +## 2.0.38 + +### Patch Changes + +- Updated dependencies []: + - @nextui-org/aria-utils@2.0.23 + - @nextui-org/framer-utils@2.0.23 + ## 2.0.37 ### Patch Changes diff --git a/packages/components/tooltip/package.json b/packages/components/tooltip/package.json index fc5978b1bf..beebf02d32 100644 --- a/packages/components/tooltip/package.json +++ b/packages/components/tooltip/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/tooltip", - "version": "2.0.37", + "version": "2.0.38", "description": "A React Component for rendering dynamically positioned Tooltips", "keywords": [ "tooltip" diff --git a/packages/core/react/CHANGELOG.md b/packages/core/react/CHANGELOG.md index 2284e6564f..8c2039bcff 100644 --- a/packages/core/react/CHANGELOG.md +++ b/packages/core/react/CHANGELOG.md @@ -1,5 +1,100 @@ # @nextui-org/react +## 2.4.5 + +### Patch Changes + +- Updated dependencies [[`59428b183`](https://github.com/nextui-org/nextui/commit/59428b183deceacd0db246e129de5ed8b0200d37), [`8b193072e`](https://github.com/nextui-org/nextui/commit/8b193072e5d77d722825bc89700055ce24ee0fb3), [`1fdbf2ad2`](https://github.com/nextui-org/nextui/commit/1fdbf2ad2020d91f257029e6a3f81406d5da109c), [`46edcca95`](https://github.com/nextui-org/nextui/commit/46edcca954b3a3e16c83d117c27cf39a59474548)]: + - @nextui-org/theme@2.2.8 + - @nextui-org/calendar@2.0.10 + - @nextui-org/accordion@2.0.37 + - @nextui-org/autocomplete@2.1.4 + - @nextui-org/avatar@2.0.31 + - @nextui-org/badge@2.0.30 + - @nextui-org/breadcrumbs@2.0.11 + - @nextui-org/button@2.0.36 + - @nextui-org/card@2.0.32 + - @nextui-org/checkbox@2.1.3 + - @nextui-org/chip@2.0.31 + - @nextui-org/code@2.0.31 + - @nextui-org/date-input@2.1.2 + - @nextui-org/date-picker@2.1.5 + - @nextui-org/divider@2.0.30 + - @nextui-org/dropdown@2.1.28 + - @nextui-org/image@2.0.30 + - @nextui-org/input@2.2.3 + - @nextui-org/kbd@2.0.32 + - @nextui-org/link@2.0.33 + - @nextui-org/listbox@2.1.24 + - @nextui-org/menu@2.0.27 + - @nextui-org/modal@2.0.38 + - @nextui-org/navbar@2.0.35 + - @nextui-org/pagination@2.0.34 + - @nextui-org/popover@2.1.26 + - @nextui-org/progress@2.0.32 + - @nextui-org/radio@2.1.3 + - @nextui-org/ripple@2.0.31 + - @nextui-org/scroll-shadow@2.1.18 + - @nextui-org/select@2.2.4 + - @nextui-org/skeleton@2.0.30 + - @nextui-org/slider@2.2.14 + - @nextui-org/snippet@2.0.40 + - @nextui-org/spacer@2.0.31 + - @nextui-org/spinner@2.0.32 + - @nextui-org/switch@2.0.32 + - @nextui-org/table@2.0.38 + - @nextui-org/tabs@2.0.34 + - @nextui-org/tooltip@2.0.38 + - @nextui-org/user@2.0.32 + +## 2.4.4 + +### Patch Changes + +- Updated dependencies []: + - @nextui-org/code@2.0.31 + - @nextui-org/divider@2.0.30 + - @nextui-org/kbd@2.0.32 + - @nextui-org/spacer@2.0.31 + - @nextui-org/spinner@2.0.32 + - @nextui-org/system@2.2.4 + - @nextui-org/card@2.0.32 + - @nextui-org/accordion@2.0.37 + - @nextui-org/listbox@2.1.24 + - @nextui-org/menu@2.0.27 + - @nextui-org/table@2.0.38 + - @nextui-org/autocomplete@2.1.4 + - @nextui-org/button@2.0.36 + - @nextui-org/select@2.2.4 + - @nextui-org/avatar@2.0.31 + - @nextui-org/badge@2.0.30 + - @nextui-org/breadcrumbs@2.0.11 + - @nextui-org/calendar@2.0.9 + - @nextui-org/checkbox@2.1.3 + - @nextui-org/chip@2.0.31 + - @nextui-org/date-input@2.1.2 + - @nextui-org/date-picker@2.1.4 + - @nextui-org/dropdown@2.1.28 + - @nextui-org/image@2.0.30 + - @nextui-org/input@2.2.3 + - @nextui-org/link@2.0.33 + - @nextui-org/modal@2.0.38 + - @nextui-org/navbar@2.0.35 + - @nextui-org/pagination@2.0.34 + - @nextui-org/popover@2.1.26 + - @nextui-org/progress@2.0.32 + - @nextui-org/radio@2.1.3 + - @nextui-org/ripple@2.0.31 + - @nextui-org/scroll-shadow@2.1.18 + - @nextui-org/skeleton@2.0.30 + - @nextui-org/slider@2.2.14 + - @nextui-org/snippet@2.0.40 + - @nextui-org/switch@2.0.32 + - @nextui-org/tabs@2.0.34 + - @nextui-org/tooltip@2.0.38 + - @nextui-org/user@2.0.32 + - @nextui-org/framer-utils@2.0.23 + ## 2.4.3 ### Patch Changes diff --git a/packages/core/react/package.json b/packages/core/react/package.json index 37daba89f9..234641e3af 100644 --- a/packages/core/react/package.json +++ b/packages/core/react/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/react", - "version": "2.4.3", + "version": "2.4.5", "description": "🚀 Beautiful and modern React UI library.", "author": "Junior Garcia ", "homepage": "https://nextui.org", diff --git a/packages/core/system-rsc/CHANGELOG.md b/packages/core/system-rsc/CHANGELOG.md index 5df41df6cd..475613917e 100644 --- a/packages/core/system-rsc/CHANGELOG.md +++ b/packages/core/system-rsc/CHANGELOG.md @@ -1,5 +1,11 @@ # @nextui-org/system-rsc +## 2.1.4 + +### Patch Changes + +- [#3503](https://github.com/nextui-org/nextui/pull/3503) [`5591138bf`](https://github.com/nextui-org/nextui/commit/5591138bff4a393f614c4cb0d505901560c4ceea) Thanks [@wingkwong](https://github.com/wingkwong)! - handled defaultVariants null case in extendVariants (#3502) + ## 2.1.3 ### Patch Changes diff --git a/packages/core/system-rsc/package.json b/packages/core/system-rsc/package.json index 9cd07f86a1..99e16bf8a2 100644 --- a/packages/core/system-rsc/package.json +++ b/packages/core/system-rsc/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/system-rsc", - "version": "2.1.3", + "version": "2.1.4", "description": "NextUI system primitives compatibles with RSC imports", "keywords": [ "system-rsc" @@ -46,6 +46,7 @@ "clean-package": "2.2.0" }, "dependencies": { + "@react-types/shared": "3.23.1", "clsx": "^1.2.1" }, "clean-package": "../../../clean-package.config.json", @@ -57,4 +58,4 @@ "esm" ] } -} \ No newline at end of file +} diff --git a/packages/core/system-rsc/src/extend-variants.js b/packages/core/system-rsc/src/extend-variants.js index 27387cdf9a..21145d34a7 100644 --- a/packages/core/system-rsc/src/extend-variants.js +++ b/packages/core/system-rsc/src/extend-variants.js @@ -47,14 +47,17 @@ function getClassNamesWithProps({ const customTv = tv( { variants, - // Do not apply default variants when the props variant is different - defaultVariants: Object.keys(defaultVariants) - .filter((k) => !keys.includes(k)) - .reduce((o, k) => { - o[k] = defaultVariants[k]; - - return o; - }, []), + defaultVariants: + defaultVariants && typeof defaultVariants === "object" + ? // Do not apply default variants when the props variant is different + Object.keys(defaultVariants) + .filter((k) => !keys.includes(k)) + .reduce((o, k) => { + o[k] = defaultVariants[k]; + + return o; + }, []) + : defaultVariants, compoundVariants, ...(hasSlots && {slots}), }, diff --git a/packages/core/system/CHANGELOG.md b/packages/core/system/CHANGELOG.md index 6aabcb52be..8395c8e419 100644 --- a/packages/core/system/CHANGELOG.md +++ b/packages/core/system/CHANGELOG.md @@ -1,5 +1,12 @@ # @nextui-org/system +## 2.2.4 + +### Patch Changes + +- Updated dependencies [[`5591138bf`](https://github.com/nextui-org/nextui/commit/5591138bff4a393f614c4cb0d505901560c4ceea)]: + - @nextui-org/system-rsc@2.1.4 + ## 2.2.3 ### Patch Changes diff --git a/packages/core/system/package.json b/packages/core/system/package.json index 93b2d35f01..c64bda7995 100644 --- a/packages/core/system/package.json +++ b/packages/core/system/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/system", - "version": "2.2.3", + "version": "2.2.4", "description": "NextUI system primitives", "keywords": [ "system" diff --git a/packages/core/theme/CHANGELOG.md b/packages/core/theme/CHANGELOG.md index 5567b28b52..6cf805a45c 100644 --- a/packages/core/theme/CHANGELOG.md +++ b/packages/core/theme/CHANGELOG.md @@ -1,5 +1,17 @@ # @nextui-org/theme +## 2.2.8 + +### Patch Changes + +- [#3499](https://github.com/nextui-org/nextui/pull/3499) [`59428b183`](https://github.com/nextui-org/nextui/commit/59428b183deceacd0db246e129de5ed8b0200d37) Thanks [@wingkwong](https://github.com/wingkwong)! - Fixed button scaling when `disableAnimation` is `true` (#3489) + +- [#3495](https://github.com/nextui-org/nextui/pull/3495) [`8b193072e`](https://github.com/nextui-org/nextui/commit/8b193072e5d77d722825bc89700055ce24ee0fb3) Thanks [@abhinandan-verma](https://github.com/abhinandan-verma)! - fixed the issue of double scrollbar in modal with inside `scrollBehavior` (#3942) + +- [#3505](https://github.com/nextui-org/nextui/pull/3505) [`1fdbf2ad2`](https://github.com/nextui-org/nextui/commit/1fdbf2ad2020d91f257029e6a3f81406d5da109c) Thanks [@abhinandan-verma](https://github.com/abhinandan-verma)! - Fixed the calendarContent width as per visible month + +- [#3491](https://github.com/nextui-org/nextui/pull/3491) [`46edcca95`](https://github.com/nextui-org/nextui/commit/46edcca954b3a3e16c83d117c27cf39a59474548) Thanks [@abhinandan-verma](https://github.com/abhinandan-verma)! - fixed the slow color change of sortable table header during theme change (#3488) + ## 2.2.7 ### Patch Changes diff --git a/packages/core/theme/package.json b/packages/core/theme/package.json index 22276cf1b5..1adcd6a51f 100644 --- a/packages/core/theme/package.json +++ b/packages/core/theme/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/theme", - "version": "2.2.7", + "version": "2.2.8", "description": "The default theme for NextUI components", "keywords": [ "theme", diff --git a/packages/core/theme/src/components/button.ts b/packages/core/theme/src/components/button.ts index ea7f48a041..6cb3c0eec6 100644 --- a/packages/core/theme/src/components/button.ts +++ b/packages/core/theme/src/components/button.ts @@ -85,7 +85,7 @@ const button = tv({ false: "[&>svg]:max-w-[theme(spacing.8)]", }, disableAnimation: { - true: "!transition-none", + true: "!transition-none data-[pressed=true]:scale-100", false: "transition-transform-colors-opacity motion-reduce:transition-none", }, }, diff --git a/packages/core/theme/src/components/date-picker.ts b/packages/core/theme/src/components/date-picker.ts index 5fb57cb024..7a0ebd4dfe 100644 --- a/packages/core/theme/src/components/date-picker.ts +++ b/packages/core/theme/src/components/date-picker.ts @@ -13,8 +13,8 @@ const datePicker = tv({ selectorButton: "-mr-2 text-inherit", selectorIcon: "text-lg text-inherit pointer-events-none flex-shrink-0", popoverContent: "p-0 w-full", - calendar: "w-[var(--calendar-width)] shadow-none", - calendarContent: "w-[var(--calendar-width)]", + calendar: "w-[calc(var(--visible-months)_*_var(--calendar-width))] shadow-none", + calendarContent: "w-[calc(var(--visible-months)_*_var(--calendar-width))]", timeInputLabel: "font-medium", timeInput: "px-5 pb-4 flex-wrap gap-x-6", }, diff --git a/packages/core/theme/src/components/modal.ts b/packages/core/theme/src/components/modal.ts index 94c74be5c4..1fbc9683c5 100644 --- a/packages/core/theme/src/components/modal.ts +++ b/packages/core/theme/src/components/modal.ts @@ -157,7 +157,7 @@ const modal = tv({ base: "overflow-y-hidden", }, inside: { - base: "max-h-[calc(100%_-_7.5rem)]", + base: "max-h-[calc(100%_-_8rem)]", body: "overflow-y-auto", }, outside: { diff --git a/packages/core/theme/src/components/table.ts b/packages/core/theme/src/components/table.ts index fb83d551f3..2e81081086 100644 --- a/packages/core/theme/src/components/table.ts +++ b/packages/core/theme/src/components/table.ts @@ -74,7 +74,6 @@ const table = tv({ "rtl:last:rounded-l-lg", "rtl:last:rounded-r-[unset]", "outline-none", - "data-[sortable=true]:transition-colors", "data-[sortable=true]:cursor-pointer", "data-[hover=true]:text-foreground-400", ...dataFocusVisibleClasses, diff --git a/packages/utilities/aria-utils/CHANGELOG.md b/packages/utilities/aria-utils/CHANGELOG.md index 944f191ae5..c7556ed359 100644 --- a/packages/utilities/aria-utils/CHANGELOG.md +++ b/packages/utilities/aria-utils/CHANGELOG.md @@ -1,5 +1,12 @@ # @nextui-org/aria-utils +## 2.0.23 + +### Patch Changes + +- Updated dependencies []: + - @nextui-org/system@2.2.4 + ## 2.0.22 ### Patch Changes diff --git a/packages/utilities/aria-utils/package.json b/packages/utilities/aria-utils/package.json index da0a97e8ce..20a5d2e292 100644 --- a/packages/utilities/aria-utils/package.json +++ b/packages/utilities/aria-utils/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/aria-utils", - "version": "2.0.22", + "version": "2.0.23", "description": "A package for managing @react-aria nextui utils.", "keywords": [ "aria-utils" diff --git a/packages/utilities/framer-utils/CHANGELOG.md b/packages/utilities/framer-utils/CHANGELOG.md index 235c800bd8..db548166ef 100644 --- a/packages/utilities/framer-utils/CHANGELOG.md +++ b/packages/utilities/framer-utils/CHANGELOG.md @@ -1,5 +1,12 @@ # @nextui-org/framer-utils +## 2.0.23 + +### Patch Changes + +- Updated dependencies []: + - @nextui-org/system@2.2.4 + ## 2.0.22 ### Patch Changes diff --git a/packages/utilities/framer-utils/package.json b/packages/utilities/framer-utils/package.json index c74b0679bf..8b66da3e07 100644 --- a/packages/utilities/framer-utils/package.json +++ b/packages/utilities/framer-utils/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/framer-utils", - "version": "2.0.22", + "version": "2.0.23", "description": "A set of framer motion transitions for react", "keywords": [ "framer-utils" diff --git a/packages/utilities/stories-utils/src/mocks/data.ts b/packages/utilities/stories-utils/src/mocks/data.ts index 41a3856809..a528756969 100644 --- a/packages/utilities/stories-utils/src/mocks/data.ts +++ b/packages/utilities/stories-utils/src/mocks/data.ts @@ -102,7 +102,7 @@ export const usersData: User[] = [ age: "29", avatar: "https://d2u8k2ocievbld.cloudfront.net/memojis/male/3.png", email: "brian.kim@example.com", - status: "Active", + status: "active", }, { id: 7, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 351f4e8104..60d5d1fd4b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3019,6 +3019,9 @@ importers: packages/core/system-rsc: dependencies: + '@react-types/shared': + specifier: 3.23.1 + version: 3.23.1(react@18.2.0) clsx: specifier: ^1.2.1 version: 1.2.1