diff --git a/apps/docs/app/examples/table/use-case/page.tsx b/apps/docs/app/examples/table/use-case/page.tsx index 4fd31c620..627fc1f68 100644 --- a/apps/docs/app/examples/table/use-case/page.tsx +++ b/apps/docs/app/examples/table/use-case/page.tsx @@ -296,7 +296,7 @@ export default function Page() { return filteredUsers; }, [users, filterValue, statusFilter]); - const pages = Math.ceil(filteredItems.length / rowsPerPage); + const pages = Math.ceil(filteredItems.length / rowsPerPage) || 1; const items = useMemo(() => { const start = (page - 1) * rowsPerPage; diff --git a/apps/docs/components/docs/components/code-demo/parse-dependencies.ts b/apps/docs/components/docs/components/code-demo/parse-dependencies.ts index 6059cfbc4..bb6d232e5 100644 --- a/apps/docs/components/docs/components/code-demo/parse-dependencies.ts +++ b/apps/docs/components/docs/components/code-demo/parse-dependencies.ts @@ -52,6 +52,6 @@ export const parseDependencies = (content: string) => { }; const fixedVersions = { - "@internationalized/date": "3.7.0", - "@react-aria/i18n": "3.12.7", + "@internationalized/date": "3.8.0", + "@react-aria/i18n": "3.12.8", }; diff --git a/apps/docs/content/components/table/use-case.raw.jsx b/apps/docs/content/components/table/use-case.raw.jsx index 97f5b1bed..a8dd216bf 100644 --- a/apps/docs/content/components/table/use-case.raw.jsx +++ b/apps/docs/content/components/table/use-case.raw.jsx @@ -385,7 +385,7 @@ export default function App() { return filteredUsers; }, [users, filterValue, statusFilter]); - const pages = Math.ceil(filteredItems.length / rowsPerPage); + const pages = Math.ceil(filteredItems.length / rowsPerPage) || 1; const items = React.useMemo(() => { const start = (page - 1) * rowsPerPage; diff --git a/apps/docs/content/components/table/use-case.raw.tsx b/apps/docs/content/components/table/use-case.raw.tsx index 36dde4879..c0644dce3 100644 --- a/apps/docs/content/components/table/use-case.raw.tsx +++ b/apps/docs/content/components/table/use-case.raw.tsx @@ -398,7 +398,7 @@ export default function App() { return filteredUsers; }, [users, filterValue, statusFilter]); - const pages = Math.ceil(filteredItems.length / rowsPerPage); + const pages = Math.ceil(filteredItems.length / rowsPerPage) || 1; const items = React.useMemo(() => { const start = (page - 1) * rowsPerPage; diff --git a/apps/docs/content/docs/api-references/cli-api.mdx b/apps/docs/content/docs/api-references/cli-api.mdx index c635aada9..564dd3a88 100644 --- a/apps/docs/content/docs/api-references/cli-api.mdx +++ b/apps/docs/content/docs/api-references/cli-api.mdx @@ -61,7 +61,7 @@ heroui init [projectName] [options] #### Init Options -- `-t --template [string]` The template to use for the new project e.g. app, pages, vite +- `-t --template [string]` The template to use for the new project e.g. app, laravel, pages, remix, vite - `-p --package [string]` The package manager to use for the new project (default: `npm`) ##### Example @@ -79,9 +79,11 @@ HeroUI CLI v0.2.1 ┌ Create a new project │ ◇ Select a template (Enter to select) -│ ● App (A Next.js 14 with app directory template pre-configured with HeroUI (v2) and Tailwind CSS.) -│ ○ Pages (A Next.js 14 with pages directory template pre-configured with HeroUI (v2) and Tailwind CSS.) +│ ● App (A Next.js 15 with app directory template pre-configured with HeroUI (v2) and Tailwind CSS.) +│ ○ Pages (A Next.js 15 with pages directory template pre-configured with HeroUI (v2) and Tailwind CSS.) │ ○ Vite (A Vite template pre-configured with HeroUI (v2) and Tailwind CSS.) +│ ○ Remix (A Remix template pre-configured with HeroUI (v2) and Tailwind CSS.) +│ ○ Laravel (A Laravel template pre-configured with HeroUI (v2) and Tailwind CSS.) │ ◇ New project name (Enter to skip with default name) │ my-heroui-app diff --git a/apps/docs/content/docs/components/date-input.mdx b/apps/docs/content/docs/components/date-input.mdx index 5ebbf9efb..74242b937 100644 --- a/apps/docs/content/docs/components/date-input.mdx +++ b/apps/docs/content/docs/components/date-input.mdx @@ -104,9 +104,9 @@ in multiple formats into `ZonedDateTime` objects. @@ -129,9 +129,9 @@ in multiple formats into `ZonedDateTime` objects. @@ -153,9 +153,9 @@ in multiple formats into `ZonedDateTime` objects. @@ -177,9 +177,9 @@ in multiple formats into `ZonedDateTime` objects. @@ -200,9 +200,9 @@ in multiple formats into `ZonedDateTime` objects. @@ -223,9 +223,9 @@ in multiple formats into `ZonedDateTime` objects. diff --git a/apps/docs/content/docs/components/date-picker.mdx b/apps/docs/content/docs/components/date-picker.mdx index c9f7b29ac..a1de4da86 100644 --- a/apps/docs/content/docs/components/date-picker.mdx +++ b/apps/docs/content/docs/components/date-picker.mdx @@ -119,9 +119,9 @@ in multiple formats into `ZonedDateTime` objects. @@ -144,9 +144,9 @@ in multiple formats into `ZonedDateTime` objects. @@ -168,9 +168,9 @@ in multiple formats into `ZonedDateTime` objects. @@ -192,9 +192,9 @@ in multiple formats into `ZonedDateTime` objects. @@ -214,9 +214,9 @@ in multiple formats into `ZonedDateTime` objects. @@ -252,9 +252,9 @@ in multiple formats into `ZonedDateTime` objects. diff --git a/apps/docs/content/docs/components/date-range-picker.mdx b/apps/docs/content/docs/components/date-range-picker.mdx index 65a0a926e..077a2100d 100644 --- a/apps/docs/content/docs/components/date-range-picker.mdx +++ b/apps/docs/content/docs/components/date-range-picker.mdx @@ -142,9 +142,9 @@ in multiple formats into `ZonedDateTime` objects. @@ -167,9 +167,9 @@ in multiple formats into `ZonedDateTime` objects. @@ -191,9 +191,9 @@ in multiple formats into `ZonedDateTime` objects. @@ -215,9 +215,9 @@ in multiple formats into `ZonedDateTime` objects. @@ -237,9 +237,9 @@ in multiple formats into `ZonedDateTime` objects. @@ -262,9 +262,9 @@ in multiple formats into `ZonedDateTime` objects. @@ -282,9 +282,9 @@ in multiple formats into `ZonedDateTime` objects. diff --git a/apps/docs/package.json b/apps/docs/package.json index 8f5bdf923..b0519b57a 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -37,20 +37,20 @@ "@heroui/use-is-mobile": "workspace:*", "@iconify/icons-solar": "1.2.3", "@iconify/react": "5.0.2", - "@internationalized/date": "3.7.0", + "@internationalized/date": "3.8.0", "@mapbox/rehype-prism": "^0.6.0", "@radix-ui/react-scroll-area": "^1.0.5", - "@react-aria/focus": "3.20.1", - "@react-aria/i18n": "3.12.7", - "@react-aria/interactions": "3.24.1", - "@react-aria/selection": "3.23.1", - "@react-aria/ssr": "3.9.7", - "@react-aria/utils": "3.28.1", - "@react-aria/virtualizer": "4.1.3", - "@react-aria/visually-hidden": "3.8.21", - "@react-stately/data": "3.12.2", - "@react-stately/layout": "4.2.1", - "@react-stately/tree": "3.8.8", + "@react-aria/focus": "3.20.2", + "@react-aria/i18n": "3.12.8", + "@react-aria/interactions": "3.25.0", + "@react-aria/selection": "3.24.0", + "@react-aria/ssr": "3.9.8", + "@react-aria/utils": "3.28.2", + "@react-aria/virtualizer": "4.1.4", + "@react-aria/visually-hidden": "3.8.22", + "@react-stately/data": "3.12.3", + "@react-stately/layout": "4.2.2", + "@react-stately/tree": "3.8.9", "@rehooks/local-storage": "^2.4.5", "@stackblitz/sdk": "^1.11.0", "@tanstack/react-virtual": "3.11.3", @@ -111,9 +111,9 @@ "@docusaurus/utils": "2.0.0-beta.3", "@next/bundle-analyzer": "14.3.0-canary.43", "@next/env": "14.3.0-canary.43", - "@react-types/calendar": "3.6.1", - "@react-types/datepicker": "3.11.0", - "@react-types/shared": "3.28.0", + "@react-types/calendar": "3.7.0", + "@react-types/datepicker": "3.12.0", + "@react-types/shared": "3.29.0", "@tailwindcss/typography": "^0.5.9", "@types/canvas-confetti": "^1.4.2", "@types/marked": "^5.0.0", diff --git a/packages/components/accordion/CHANGELOG.md b/packages/components/accordion/CHANGELOG.md index 03835e6ff..a3c91d1d2 100644 --- a/packages/components/accordion/CHANGELOG.md +++ b/packages/components/accordion/CHANGELOG.md @@ -1,5 +1,40 @@ # @heroui/accordion +## 2.2.16 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/divider@2.2.13 + - @heroui/use-aria-accordion@2.2.11 + - @heroui/aria-utils@2.2.16 + - @heroui/dom-animation@2.1.8 + - @heroui/framer-utils@2.1.15 + - @heroui/react-utils@2.1.10 + - @heroui/shared-icons@2.1.7 + - @heroui/shared-utils@2.1.9 + +## 2.2.15 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- [#5172](https://github.com/heroui-inc/heroui/pull/5172) [`531518f`](https://github.com/heroui-inc/heroui/commit/531518f2ef0d146f5ab499c10057deac29e094b6) Thanks [@wingkwong](https://github.com/wingkwong)! - fixed keepContentMounted with disableAnimation (#5157) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/use-aria-accordion@2.2.10 + - @heroui/dom-animation@2.1.7 + - @heroui/shared-utils@2.1.8 + - @heroui/aria-utils@2.2.15 + - @heroui/divider@2.2.12 + - @heroui/framer-utils@2.1.14 + - @heroui/react-utils@2.1.9 + ## 2.2.14 ### Patch Changes diff --git a/packages/components/accordion/__tests__/accordion.test.tsx b/packages/components/accordion/__tests__/accordion.test.tsx index ebc1baa36..237e3d704 100644 --- a/packages/components/accordion/__tests__/accordion.test.tsx +++ b/packages/components/accordion/__tests__/accordion.test.tsx @@ -1,6 +1,6 @@ import "@testing-library/jest-dom"; import * as React from "react"; -import {act, render} from "@testing-library/react"; +import {act, render, waitFor} from "@testing-library/react"; import {focus, shouldIgnoreReactWarning, spy} from "@heroui/test-utils"; import userEvent, {UserEvent} from "@testing-library/user-event"; import {Input} from "@heroui/input"; @@ -267,7 +267,7 @@ describe("Accordion", () => { expect(button).toHaveAttribute("aria-expanded", "true"); }); - it("should support keepContentMounted", async () => { + it("should support keepContentMounted={true}", async () => { const wrapper = render( @@ -289,8 +289,98 @@ describe("Accordion", () => { const button2 = item2.querySelector("button") as HTMLElement; await user.click(button2); + + await waitFor(() => { + expect(item1.querySelector("[role='region']")).toBeInTheDocument(); + expect(item2.querySelector("[role='region']")).toBeInTheDocument(); + }); + }); + + it("should support keepContentMounted={false}", async () => { + const wrapper = render( + + + Accordion Item 1 description + + + Accordion Item 2 description + + , + ); + + const item1 = wrapper.getByTestId("item-1"); + const button = item1.querySelector("button") as HTMLElement; + + expect(item1.querySelector("[role='region']")).not.toBeInTheDocument(); + + await user.click(button); + const item2 = wrapper.getByTestId("item-2"); + const button2 = item2.querySelector("button") as HTMLElement; + + await user.click(button2); + + await waitFor(() => { + expect(item1.querySelector("[role='region']")).not.toBeInTheDocument(); + expect(item2.querySelector("[role='region']")).toBeInTheDocument(); + }); + }); + + it("should support keepContentMounted={true} & disableAnimation={true}", async () => { + const wrapper = render( + + + Accordion Item 1 description + + + Accordion Item 2 description + + , + ); + + const item1 = wrapper.getByTestId("item-1"); + const button = item1.querySelector("button") as HTMLElement; + expect(item1.querySelector("[role='region']")).toBeInTheDocument(); - expect(item2.querySelector("[role='region']")).toBeInTheDocument(); + + await user.click(button); + const item2 = wrapper.getByTestId("item-2"); + const button2 = item2.querySelector("button") as HTMLElement; + + await user.click(button2); + + await waitFor(() => { + expect(item1.querySelector("[role='region']")).toBeInTheDocument(); + expect(item2.querySelector("[role='region']")).toBeInTheDocument(); + }); + }); + + it("should support keepContentMounted={false} & disableAnimation={true}", async () => { + const wrapper = render( + + + Accordion Item 1 description + + + Accordion Item 2 description + + , + ); + + const item1 = wrapper.getByTestId("item-1"); + const button = item1.querySelector("button") as HTMLElement; + + expect(item1.querySelector("[role='region']")).not.toBeInTheDocument(); + + await user.click(button); + const item2 = wrapper.getByTestId("item-2"); + const button2 = item2.querySelector("button") as HTMLElement; + + await user.click(button2); + + await waitFor(() => { + expect(item1.querySelector("[role='region']")).not.toBeInTheDocument(); + expect(item2.querySelector("[role='region']")).toBeInTheDocument(); + }); }); it("should handle arrow key navigation within Input inside AccordionItem", async () => { diff --git a/packages/components/accordion/package.json b/packages/components/accordion/package.json index da7f65e32..a658b0a59 100644 --- a/packages/components/accordion/package.json +++ b/packages/components/accordion/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/accordion", - "version": "2.2.14", + "version": "2.2.16", "description": "Collapse display a list of high-level options that can expand/collapse to reveal more information.", "keywords": [ "react", @@ -55,13 +55,13 @@ "@heroui/divider": "workspace:*", "@heroui/use-aria-accordion": "workspace:*", "@heroui/dom-animation": "workspace:*", - "@react-aria/interactions": "3.24.1", - "@react-aria/focus": "3.20.1", - "@react-aria/utils": "3.28.1", - "@react-stately/tree": "3.8.8", - "@react-aria/button": "3.12.1", + "@react-aria/interactions": "3.25.0", + "@react-aria/focus": "3.20.2", + "@react-aria/utils": "3.28.2", + "@react-stately/tree": "3.8.9", + "@react-aria/button": "3.13.0", "@react-types/accordion": "3.0.0-alpha.26", - "@react-types/shared": "3.28.0" + "@react-types/shared": "3.29.0" }, "devDependencies": { "@heroui/theme": "workspace:*", diff --git a/packages/components/accordion/src/accordion-item.tsx b/packages/components/accordion/src/accordion-item.tsx index ee7d5e0ac..36463ac0b 100644 --- a/packages/components/accordion/src/accordion-item.tsx +++ b/packages/components/accordion/src/accordion-item.tsx @@ -54,7 +54,11 @@ const AccordionItem = forwardRef<"button", AccordionItemProps>((props, ref) => { const content = useMemo(() => { if (disableAnimation) { - return
{children}
; + if (keepContentMounted) { + return
{children}
; + } + + return isOpen &&
{children}
; } const transitionVariants: Variants = { diff --git a/packages/components/accordion/src/base/accordion-item-base.tsx b/packages/components/accordion/src/base/accordion-item-base.tsx index d462e3398..68fbf6310 100644 --- a/packages/components/accordion/src/base/accordion-item-base.tsx +++ b/packages/components/accordion/src/base/accordion-item-base.tsx @@ -3,7 +3,7 @@ import type {AccordionItemVariantProps, AccordionItemSlots, SlotsToClasses} from import {As} from "@heroui/system"; import {ItemProps, BaseItem} from "@heroui/aria-utils"; import {FocusableProps, PressEvents} from "@react-types/shared"; -import {ReactNode, MouseEventHandler} from "react"; +import {ReactNode} from "react"; import {HTMLMotionProps} from "framer-motion"; export type AccordionItemIndicatorProps = { @@ -61,7 +61,7 @@ export interface Props * The native button click event handler. * @deprecated - use `onPress` instead. */ - onClick?: MouseEventHandler; + onClick?: PressEvents["onClick"]; /** * Classname or List of classes to change the classNames of the element. * if `className` is passed, it will be added to the base slot. diff --git a/packages/components/alert/CHANGELOG.md b/packages/components/alert/CHANGELOG.md index 02aa2350e..09e2613a3 100644 --- a/packages/components/alert/CHANGELOG.md +++ b/packages/components/alert/CHANGELOG.md @@ -1,5 +1,30 @@ # @heroui/alert +## 2.2.19 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/button@2.2.19 + - @heroui/react-utils@2.1.10 + - @heroui/shared-icons@2.1.7 + - @heroui/shared-utils@2.1.9 + +## 2.2.18 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`53295ca`](https://github.com/heroui-inc/heroui/commit/53295ca9dc7a1310485e1574fd28110b6cbf5ebd), [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/button@2.2.18 + - @heroui/shared-utils@2.1.8 + - @heroui/react-utils@2.1.9 + ## 2.2.17 ### Patch Changes diff --git a/packages/components/alert/package.json b/packages/components/alert/package.json index f543eaa60..815ed1612 100644 --- a/packages/components/alert/package.json +++ b/packages/components/alert/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/alert", - "version": "2.2.17", + "version": "2.2.19", "description": "Alerts are temporary notifications that provide concise feedback about an action or event.", "keywords": [ "alert" @@ -47,8 +47,8 @@ "@heroui/react-utils": "workspace:*", "@heroui/shared-icons": "workspace:*", "@heroui/shared-utils": "workspace:*", - "@react-stately/utils": "3.10.5", - "@react-aria/utils": "3.28.1", + "@react-stately/utils": "3.10.6", + "@react-aria/utils": "3.28.2", "@heroui/button": "workspace:*" }, "devDependencies": { diff --git a/packages/components/autocomplete/CHANGELOG.md b/packages/components/autocomplete/CHANGELOG.md index cebe52047..13627effc 100644 --- a/packages/components/autocomplete/CHANGELOG.md +++ b/packages/components/autocomplete/CHANGELOG.md @@ -1,5 +1,47 @@ # @heroui/autocomplete +## 2.3.20 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/button@2.2.19 + - @heroui/form@2.1.18 + - @heroui/input@2.4.19 + - @heroui/listbox@2.3.18 + - @heroui/popover@2.3.19 + - @heroui/scroll-shadow@2.3.13 + - @heroui/spinner@2.2.16 + - @heroui/use-aria-button@2.2.13 + - @heroui/use-safe-layout-effect@2.1.7 + - @heroui/aria-utils@2.2.16 + - @heroui/react-utils@2.1.10 + - @heroui/shared-icons@2.1.7 + - @heroui/shared-utils@2.1.9 + +## 2.3.19 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`53295ca`](https://github.com/heroui-inc/heroui/commit/53295ca9dc7a1310485e1574fd28110b6cbf5ebd), [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/button@2.2.18 + - @heroui/shared-utils@2.1.8 + - @heroui/use-aria-button@2.2.12 + - @heroui/aria-utils@2.2.15 + - @heroui/listbox@2.3.17 + - @heroui/popover@2.3.18 + - @heroui/input@2.4.18 + - @heroui/form@2.1.17 + - @heroui/scroll-shadow@2.3.12 + - @heroui/spinner@2.2.15 + - @heroui/react-utils@2.1.9 + ## 2.3.18 ### Patch Changes diff --git a/packages/components/autocomplete/package.json b/packages/components/autocomplete/package.json index cbf7ea597..507211d1a 100644 --- a/packages/components/autocomplete/package.json +++ b/packages/components/autocomplete/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/autocomplete", - "version": "2.3.18", + "version": "2.3.20", "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" @@ -54,15 +54,15 @@ "@heroui/spinner": "workspace:*", "@heroui/use-aria-button": "workspace:*", "@heroui/use-safe-layout-effect": "workspace:*", - "@react-aria/combobox": "3.12.1", - "@react-aria/focus": "3.20.1", - "@react-aria/i18n": "3.12.7", - "@react-aria/interactions": "3.24.1", - "@react-aria/utils": "3.28.1", - "@react-aria/visually-hidden": "3.8.21", - "@react-stately/combobox": "3.10.3", - "@react-types/combobox": "3.13.3", - "@react-types/shared": "3.28.0" + "@react-aria/combobox": "3.12.2", + "@react-aria/focus": "3.20.2", + "@react-aria/i18n": "3.12.8", + "@react-aria/interactions": "3.25.0", + "@react-aria/utils": "3.28.2", + "@react-aria/visually-hidden": "3.8.22", + "@react-stately/combobox": "3.10.4", + "@react-types/combobox": "3.13.4", + "@react-types/shared": "3.29.0" }, "devDependencies": { "@heroui/avatar": "workspace:*", @@ -72,7 +72,7 @@ "@heroui/system": "workspace:*", "@heroui/theme": "workspace:*", "@heroui/use-infinite-scroll": "workspace:*", - "@react-stately/data": "3.12.2", + "@react-stately/data": "3.12.3", "clean-package": "2.2.0", "framer-motion": "11.9.0", "react": "18.3.0", @@ -80,4 +80,4 @@ "react-hook-form": "^7.51.3" }, "clean-package": "../../../clean-package.config.json" -} +} \ No newline at end of file diff --git a/packages/components/avatar/CHANGELOG.md b/packages/components/avatar/CHANGELOG.md index 105ed2963..f921a9568 100644 --- a/packages/components/avatar/CHANGELOG.md +++ b/packages/components/avatar/CHANGELOG.md @@ -1,5 +1,29 @@ # @heroui/avatar +## 2.2.15 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/use-image@2.1.9 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.2.14 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/use-image@2.1.8 + - @heroui/react-utils@2.1.9 + ## 2.2.13 ### Patch Changes diff --git a/packages/components/avatar/package.json b/packages/components/avatar/package.json index afa082382..5236c031d 100644 --- a/packages/components/avatar/package.json +++ b/packages/components/avatar/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/avatar", - "version": "2.2.13", + "version": "2.2.15", "description": "The Avatar component is used to represent a user, and displays the profile picture, initials or fallback icon.", "keywords": [ "avatar" @@ -43,9 +43,9 @@ "@heroui/shared-utils": "workspace:*", "@heroui/react-utils": "workspace:*", "@heroui/use-image": "workspace:*", - "@react-aria/interactions": "3.24.1", - "@react-aria/focus": "3.20.1", - "@react-aria/utils": "3.28.1" + "@react-aria/interactions": "3.25.0", + "@react-aria/focus": "3.20.2", + "@react-aria/utils": "3.28.2" }, "devDependencies": { "@heroui/theme": "workspace:*", diff --git a/packages/components/badge/CHANGELOG.md b/packages/components/badge/CHANGELOG.md index ac09edf08..32c58b099 100644 --- a/packages/components/badge/CHANGELOG.md +++ b/packages/components/badge/CHANGELOG.md @@ -1,5 +1,25 @@ # @heroui/badge +## 2.2.12 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.2.11 + +### Patch Changes + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/react-utils@2.1.9 + ## 2.2.10 ### Patch Changes diff --git a/packages/components/badge/package.json b/packages/components/badge/package.json index ae121ddaa..ed2c78fdb 100644 --- a/packages/components/badge/package.json +++ b/packages/components/badge/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/badge", - "version": "2.2.10", + "version": "2.2.12", "description": "Badges are used as a small numerical value or status descriptor for UI elements.", "keywords": [ "badge" diff --git a/packages/components/breadcrumbs/CHANGELOG.md b/packages/components/breadcrumbs/CHANGELOG.md index 69dbd153e..4b7b4b3fe 100644 --- a/packages/components/breadcrumbs/CHANGELOG.md +++ b/packages/components/breadcrumbs/CHANGELOG.md @@ -1,5 +1,30 @@ # @heroui/breadcrumbs +## 2.2.15 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/react-utils@2.1.10 + - @heroui/shared-icons@2.1.7 + - @heroui/shared-utils@2.1.9 + +## 2.2.14 + +### Patch Changes + +- [#5239](https://github.com/heroui-inc/heroui/pull/5239) [`a61f57b`](https://github.com/heroui-inc/heroui/commit/a61f57bbf7b553f1779c600f73ac996cab2eff8d) Thanks [@wingkwong](https://github.com/wingkwong)! - fixed missing key for ellipsisItem in breadcrumbs (#4973) + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/react-utils@2.1.9 + ## 2.2.13 ### Patch Changes diff --git a/packages/components/breadcrumbs/package.json b/packages/components/breadcrumbs/package.json index 2e8d20ba7..5d24e89ac 100644 --- a/packages/components/breadcrumbs/package.json +++ b/packages/components/breadcrumbs/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/breadcrumbs", - "version": "2.2.13", + "version": "2.2.15", "description": "Breadcrumbs display a hierarchy of links to the current page or resource in an application.", "keywords": [ "breadcrumbs" @@ -43,11 +43,11 @@ "@heroui/react-utils": "workspace:*", "@heroui/shared-utils": "workspace:*", "@heroui/shared-icons": "workspace:*", - "@react-aria/focus": "3.20.1", - "@react-aria/breadcrumbs": "3.5.22", - "@react-aria/utils": "3.28.1", - "@react-types/breadcrumbs": "3.7.11", - "@react-types/shared": "3.28.0" + "@react-aria/focus": "3.20.2", + "@react-aria/breadcrumbs": "3.5.23", + "@react-aria/utils": "3.28.2", + "@react-types/breadcrumbs": "3.7.12", + "@react-types/shared": "3.29.0" }, "devDependencies": { "@heroui/theme": "workspace:*", diff --git a/packages/components/breadcrumbs/src/breadcrumbs.tsx b/packages/components/breadcrumbs/src/breadcrumbs.tsx index dced77d03..db7e24bb1 100644 --- a/packages/components/breadcrumbs/src/breadcrumbs.tsx +++ b/packages/components/breadcrumbs/src/breadcrumbs.tsx @@ -1,4 +1,4 @@ -import {cloneElement, useMemo} from "react"; +import {cloneElement, isValidElement, useMemo} from "react"; import {forwardRef} from "@heroui/system"; import {ChevronRightIcon, EllipsisIcon} from "@heroui/shared-icons"; import {warn} from "@heroui/shared-utils"; @@ -90,7 +90,7 @@ const Breadcrumbs = forwardRef<"div", BreadcrumbsProps>((props, ref) => { return [ ...items.slice(0, itemsBeforeCollapse), - ellipsisItem, + isValidElement(ellipsisItem) && cloneElement(ellipsisItem, {key: "ellipsis-item"}), ...items.slice(items.length - itemsAfterCollapse, items.length), ]; }, [ diff --git a/packages/components/button/CHANGELOG.md b/packages/components/button/CHANGELOG.md index 73f0a254e..6e2aa85d8 100644 --- a/packages/components/button/CHANGELOG.md +++ b/packages/components/button/CHANGELOG.md @@ -1,5 +1,35 @@ # @heroui/button +## 2.2.19 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/ripple@2.2.14 + - @heroui/spinner@2.2.16 + - @heroui/use-aria-button@2.2.13 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.2.18 + +### Patch Changes + +- [#5209](https://github.com/heroui-inc/heroui/pull/5209) [`53295ca`](https://github.com/heroui-inc/heroui/commit/53295ca9dc7a1310485e1574fd28110b6cbf5ebd) Thanks [@wingkwong](https://github.com/wingkwong)! - fix button icon focus behaviour on click (#5200) + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/use-aria-button@2.2.12 + - @heroui/ripple@2.2.13 + - @heroui/spinner@2.2.15 + - @heroui/react-utils@2.1.9 + ## 2.2.17 ### Patch Changes diff --git a/packages/components/button/package.json b/packages/components/button/package.json index 8ef60b5e6..473e2ded8 100644 --- a/packages/components/button/package.json +++ b/packages/components/button/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/button", - "version": "2.2.17", + "version": "2.2.19", "description": "Buttons allow users to perform actions and choose with a single tap.", "keywords": [ "button" @@ -46,12 +46,12 @@ "@heroui/use-aria-button": "workspace:*", "@heroui/ripple": "workspace:*", "@heroui/spinner": "workspace:*", - "@react-aria/button": "3.12.1", - "@react-aria/interactions": "3.24.1", - "@react-aria/utils": "3.28.1", - "@react-aria/focus": "3.20.1", - "@react-types/shared": "3.28.0", - "@react-types/button": "3.11.0" + "@react-aria/button": "3.13.0", + "@react-aria/interactions": "3.25.0", + "@react-aria/utils": "3.28.2", + "@react-aria/focus": "3.20.2", + "@react-types/shared": "3.29.0", + "@react-types/button": "3.12.0" }, "devDependencies": { "@heroui/theme": "workspace:*", diff --git a/packages/components/button/src/use-button.ts b/packages/components/button/src/use-button.ts index 52093dc85..3a020e556 100644 --- a/packages/components/button/src/use-button.ts +++ b/packages/components/button/src/use-button.ts @@ -200,7 +200,6 @@ export function useButton(props: UseButtonProps) { // @ts-ignore "aria-hidden": true, focusable: false, - tabIndex: -1, }) : null; diff --git a/packages/components/calendar/CHANGELOG.md b/packages/components/calendar/CHANGELOG.md index f95f1c183..0c7113d4e 100644 --- a/packages/components/calendar/CHANGELOG.md +++ b/packages/components/calendar/CHANGELOG.md @@ -1,5 +1,36 @@ # @heroui/calendar +## 2.2.19 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/button@2.2.19 + - @heroui/use-aria-button@2.2.13 + - @heroui/dom-animation@2.1.8 + - @heroui/framer-utils@2.1.15 + - @heroui/react-utils@2.1.10 + - @heroui/shared-icons@2.1.7 + - @heroui/shared-utils@2.1.9 + +## 2.2.18 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`53295ca`](https://github.com/heroui-inc/heroui/commit/53295ca9dc7a1310485e1574fd28110b6cbf5ebd), [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/button@2.2.18 + - @heroui/dom-animation@2.1.7 + - @heroui/shared-utils@2.1.8 + - @heroui/use-aria-button@2.2.12 + - @heroui/framer-utils@2.1.14 + - @heroui/react-utils@2.1.9 + ## 2.2.17 ### Patch Changes diff --git a/packages/components/calendar/package.json b/packages/components/calendar/package.json index f71319614..f7b3d09de 100644 --- a/packages/components/calendar/package.json +++ b/packages/components/calendar/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/calendar", - "version": "2.2.17", + "version": "2.2.19", "description": "A calendar displays one or more date grids and allows users to select a single date.", "keywords": [ "calendar" @@ -48,18 +48,18 @@ "@heroui/use-aria-button": "workspace:*", "@heroui/button": "workspace:*", "@heroui/dom-animation": "workspace:*", - "@internationalized/date": "3.7.0", - "@react-aria/calendar": "3.7.2", - "@react-aria/focus": "3.20.1", - "@react-aria/i18n": "3.12.7", - "@react-stately/calendar": "3.7.1", - "@react-types/button": "3.11.0", - "@react-aria/visually-hidden": "3.8.21", - "@react-aria/utils": "3.28.1", - "@react-stately/utils": "3.10.5", - "@react-types/calendar": "3.6.1", - "@react-aria/interactions": "3.24.1", - "@react-types/shared": "3.28.0", + "@internationalized/date": "3.8.0", + "@react-aria/calendar": "3.8.0", + "@react-aria/focus": "3.20.2", + "@react-aria/i18n": "3.12.8", + "@react-stately/calendar": "3.8.0", + "@react-types/button": "3.12.0", + "@react-aria/visually-hidden": "3.8.22", + "@react-aria/utils": "3.28.2", + "@react-stately/utils": "3.10.6", + "@react-types/calendar": "3.7.0", + "@react-aria/interactions": "3.25.0", + "@react-types/shared": "3.29.0", "scroll-into-view-if-needed": "3.0.10", "@types/lodash.debounce": "^4.0.7" }, @@ -74,4 +74,4 @@ "react-dom": "18.3.0" }, "clean-package": "../../../clean-package.config.json" -} +} \ No newline at end of file diff --git a/packages/components/calendar/src/use-calendar-base.ts b/packages/components/calendar/src/use-calendar-base.ts index ede48f501..bee8b4ac4 100644 --- a/packages/components/calendar/src/use-calendar-base.ts +++ b/packages/components/calendar/src/use-calendar-base.ts @@ -8,6 +8,7 @@ import type {ButtonProps} from "@heroui/button"; import type {SupportedCalendars} from "@heroui/system"; import type {CalendarState, RangeCalendarState} from "@react-stately/calendar"; import type {RefObject, ReactNode} from "react"; +import type {CalendarIdentifier} from "@internationalized/date"; import {createCalendar, Calendar, CalendarDate, DateFormatter} from "@internationalized/date"; import {mapPropsVariants, useProviderContext} from "@heroui/system"; @@ -196,7 +197,9 @@ export function useCalendarBase(originalProps: UseCalendarBasePropsComplete) { const isRTL = direction === "rtl"; - const calendarProp = createCalendar(new DateFormatter(locale).resolvedOptions().calendar); + const calendarProp = createCalendar( + new DateFormatter(locale).resolvedOptions().calendar as CalendarIdentifier, + ); // by default, we are using gregorian calendar with possible years in [1900, 2099] // however, some locales such as `th-TH-u-ca-buddhist` using different calendar making the years out of bound diff --git a/packages/components/card/CHANGELOG.md b/packages/components/card/CHANGELOG.md index 2f7aca512..cb386ee70 100644 --- a/packages/components/card/CHANGELOG.md +++ b/packages/components/card/CHANGELOG.md @@ -1,5 +1,31 @@ # @heroui/card +## 2.2.18 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/ripple@2.2.14 + - @heroui/use-aria-button@2.2.13 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.2.17 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/use-aria-button@2.2.12 + - @heroui/ripple@2.2.13 + - @heroui/react-utils@2.1.9 + ## 2.2.16 ### Patch Changes diff --git a/packages/components/card/package.json b/packages/components/card/package.json index 020dd6912..40adda476 100644 --- a/packages/components/card/package.json +++ b/packages/components/card/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/card", - "version": "2.2.16", + "version": "2.2.18", "description": "Card is a container for text, photos, and actions in the context of a single subject.", "keywords": [ "card" @@ -45,11 +45,11 @@ "@heroui/react-utils": "workspace:*", "@heroui/use-aria-button": "workspace:*", "@heroui/ripple": "workspace:*", - "@react-aria/focus": "3.20.1", - "@react-aria/utils": "3.28.1", - "@react-aria/interactions": "3.24.1", - "@react-aria/button": "3.12.1", - "@react-types/shared": "3.28.0" + "@react-aria/focus": "3.20.2", + "@react-aria/utils": "3.28.2", + "@react-aria/interactions": "3.25.0", + "@react-aria/button": "3.13.0", + "@react-types/shared": "3.29.0" }, "devDependencies": { "@heroui/theme": "workspace:*", diff --git a/packages/components/checkbox/CHANGELOG.md b/packages/components/checkbox/CHANGELOG.md index 506d3e983..ba6d275db 100644 --- a/packages/components/checkbox/CHANGELOG.md +++ b/packages/components/checkbox/CHANGELOG.md @@ -1,5 +1,31 @@ # @heroui/checkbox +## 2.3.18 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/form@2.1.18 + - @heroui/use-callback-ref@2.1.7 + - @heroui/use-safe-layout-effect@2.1.7 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.3.17 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/form@2.1.17 + - @heroui/react-utils@2.1.9 + ## 2.3.16 ### Patch Changes diff --git a/packages/components/checkbox/package.json b/packages/components/checkbox/package.json index 2c6663c29..74c527c42 100644 --- a/packages/components/checkbox/package.json +++ b/packages/components/checkbox/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/checkbox", - "version": "2.3.16", + "version": "2.3.18", "description": "Checkboxes allow users to select multiple items from a list of individual items, or to mark one individual item as selected.", "keywords": [ "checkbox" @@ -45,15 +45,15 @@ "@heroui/shared-utils": "workspace:*", "@heroui/use-callback-ref": "workspace:*", "@heroui/use-safe-layout-effect": "workspace:*", - "@react-aria/checkbox": "3.15.3", - "@react-aria/focus": "3.20.1", - "@react-aria/interactions": "3.24.1", - "@react-aria/utils": "3.28.1", - "@react-aria/visually-hidden": "3.8.21", - "@react-stately/checkbox": "3.6.12", - "@react-stately/toggle": "3.8.2", - "@react-types/checkbox": "3.9.2", - "@react-types/shared": "3.28.0" + "@react-aria/checkbox": "3.15.4", + "@react-aria/focus": "3.20.2", + "@react-aria/interactions": "3.25.0", + "@react-aria/utils": "3.28.2", + "@react-aria/visually-hidden": "3.8.22", + "@react-stately/checkbox": "3.6.13", + "@react-stately/toggle": "3.8.3", + "@react-types/checkbox": "3.9.3", + "@react-types/shared": "3.29.0" }, "devDependencies": { "@heroui/chip": "workspace:*", @@ -68,4 +68,4 @@ "react-hook-form": "^7.51.3" }, "clean-package": "../../../clean-package.config.json" -} +} \ No newline at end of file diff --git a/packages/components/chip/CHANGELOG.md b/packages/components/chip/CHANGELOG.md index 6eedeae11..4b95a2dc0 100644 --- a/packages/components/chip/CHANGELOG.md +++ b/packages/components/chip/CHANGELOG.md @@ -1,5 +1,28 @@ # @heroui/chip +## 2.2.15 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/react-utils@2.1.10 + - @heroui/shared-icons@2.1.7 + - @heroui/shared-utils@2.1.9 + +## 2.2.14 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/react-utils@2.1.9 + ## 2.2.13 ### Patch Changes diff --git a/packages/components/chip/package.json b/packages/components/chip/package.json index 60ae32e04..6114216ff 100644 --- a/packages/components/chip/package.json +++ b/packages/components/chip/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/chip", - "version": "2.2.13", + "version": "2.2.15", "description": "Chips help people enter information, make selections, filter content, or trigger actions.", "keywords": [ "chip" @@ -43,10 +43,10 @@ "@heroui/shared-icons": "workspace:*", "@heroui/shared-utils": "workspace:*", "@heroui/react-utils": "workspace:*", - "@react-aria/focus": "3.20.1", - "@react-aria/interactions": "3.24.1", - "@react-aria/utils": "3.28.1", - "@react-types/checkbox": "3.9.2" + "@react-aria/focus": "3.20.2", + "@react-aria/interactions": "3.25.0", + "@react-aria/utils": "3.28.2", + "@react-types/checkbox": "3.9.3" }, "devDependencies": { "@heroui/theme": "workspace:*", diff --git a/packages/components/code/CHANGELOG.md b/packages/components/code/CHANGELOG.md index b08391530..c7b232c88 100644 --- a/packages/components/code/CHANGELOG.md +++ b/packages/components/code/CHANGELOG.md @@ -1,5 +1,27 @@ # @heroui/code +## 2.2.14 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/system-rsc@2.3.13 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.2.13 + +### Patch Changes + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/system-rsc@2.3.12 + - @heroui/react-utils@2.1.9 + ## 2.2.12 ### Patch Changes diff --git a/packages/components/code/package.json b/packages/components/code/package.json index 7f3d15ba7..650120fc6 100644 --- a/packages/components/code/package.json +++ b/packages/components/code/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/code", - "version": "2.2.12", + "version": "2.2.14", "description": "Code is a component used to display inline code.", "keywords": [ "code" diff --git a/packages/components/date-input/CHANGELOG.md b/packages/components/date-input/CHANGELOG.md index 0d333fa20..efa97eada 100644 --- a/packages/components/date-input/CHANGELOG.md +++ b/packages/components/date-input/CHANGELOG.md @@ -1,5 +1,29 @@ # @heroui/date-input +## 2.3.18 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/form@2.1.18 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.3.17 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/form@2.1.17 + - @heroui/react-utils@2.1.9 + ## 2.3.16 ### Patch Changes diff --git a/packages/components/date-input/package.json b/packages/components/date-input/package.json index 52b8edba3..e52882f02 100644 --- a/packages/components/date-input/package.json +++ b/packages/components/date-input/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/date-input", - "version": "2.3.16", + "version": "2.3.18", "description": "A date input allows users to enter and edit date and time values using a keyboard.", "keywords": [ "date-field" @@ -43,13 +43,13 @@ "@heroui/form": "workspace:*", "@heroui/react-utils": "workspace:*", "@heroui/shared-utils": "workspace:*", - "@internationalized/date": "3.7.0", - "@react-aria/datepicker": "3.14.1", - "@react-aria/i18n": "3.12.7", - "@react-stately/datepicker": "3.13.0", - "@react-types/datepicker": "3.11.0", - "@react-types/shared": "3.28.0", - "@react-aria/utils": "3.28.1" + "@internationalized/date": "3.8.0", + "@react-aria/datepicker": "3.14.2", + "@react-aria/i18n": "3.12.8", + "@react-stately/datepicker": "3.14.0", + "@react-types/datepicker": "3.12.0", + "@react-types/shared": "3.29.0", + "@react-aria/utils": "3.28.2" }, "devDependencies": { "@heroui/system": "workspace:*", @@ -61,4 +61,4 @@ "react-dom": "18.3.0" }, "clean-package": "../../../clean-package.config.json" -} +} \ No newline at end of file diff --git a/packages/components/date-input/src/use-date-input.ts b/packages/components/date-input/src/use-date-input.ts index d31e2b679..b6f66c385 100644 --- a/packages/components/date-input/src/use-date-input.ts +++ b/packages/components/date-input/src/use-date-input.ts @@ -6,6 +6,7 @@ import type {Calendar} from "@internationalized/date"; import type {ReactRef} from "@heroui/react-utils"; import type {DOMAttributes, GroupDOMAttributes} from "@react-types/shared"; import type {DateInputGroupProps} from "./date-input-group"; +import type {CalendarIdentifier} from "@internationalized/date"; import {useLocale} from "@react-aria/i18n"; import {createCalendar, CalendarDate, DateFormatter} from "@internationalized/date"; @@ -122,7 +123,9 @@ export function useDateInput(originalProps: UseDateInputPro const {locale} = useLocale(); - const calendarProp = createCalendar(new DateFormatter(locale).resolvedOptions().calendar); + const calendarProp = createCalendar( + new DateFormatter(locale).resolvedOptions().calendar as CalendarIdentifier, + ); // by default, we are using gregorian calendar with possible years in [1900, 2099] // however, some locales such as `th-TH-u-ca-buddhist` using different calendar making the years out of bound diff --git a/packages/components/date-picker/CHANGELOG.md b/packages/components/date-picker/CHANGELOG.md index a4b594d2f..048aa9254 100644 --- a/packages/components/date-picker/CHANGELOG.md +++ b/packages/components/date-picker/CHANGELOG.md @@ -1,5 +1,40 @@ # @heroui/date-picker +## 2.3.19 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/button@2.2.19 + - @heroui/calendar@2.2.19 + - @heroui/date-input@2.3.18 + - @heroui/form@2.1.18 + - @heroui/popover@2.3.19 + - @heroui/aria-utils@2.2.16 + - @heroui/react-utils@2.1.10 + - @heroui/shared-icons@2.1.7 + - @heroui/shared-utils@2.1.9 + +## 2.3.18 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`53295ca`](https://github.com/heroui-inc/heroui/commit/53295ca9dc7a1310485e1574fd28110b6cbf5ebd), [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/button@2.2.18 + - @heroui/shared-utils@2.1.8 + - @heroui/date-input@2.3.17 + - @heroui/aria-utils@2.2.15 + - @heroui/calendar@2.2.18 + - @heroui/popover@2.3.18 + - @heroui/form@2.1.17 + - @heroui/react-utils@2.1.9 + ## 2.3.17 ### Patch Changes diff --git a/packages/components/date-picker/package.json b/packages/components/date-picker/package.json index 639a81644..df727ea3a 100644 --- a/packages/components/date-picker/package.json +++ b/packages/components/date-picker/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/date-picker", - "version": "2.3.17", + "version": "2.3.19", "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" @@ -41,7 +41,7 @@ "react-dom": ">=18 || >=19.0.0-rc.0" }, "dependencies": { - "@internationalized/date": "3.7.0", + "@internationalized/date": "3.8.0", "@heroui/aria-utils": "workspace:*", "@heroui/button": "workspace:*", "@heroui/calendar": "workspace:*", @@ -51,14 +51,14 @@ "@heroui/react-utils": "workspace:*", "@heroui/shared-icons": "workspace:*", "@heroui/shared-utils": "workspace:*", - "@react-aria/datepicker": "3.14.1", - "@react-aria/i18n": "3.12.7", - "@react-aria/utils": "3.28.1", - "@react-stately/datepicker": "3.13.0", - "@react-stately/overlays": "3.6.14", - "@react-stately/utils": "3.10.5", - "@react-types/datepicker": "3.11.0", - "@react-types/shared": "3.28.0" + "@react-aria/datepicker": "3.14.2", + "@react-aria/i18n": "3.12.8", + "@react-aria/utils": "3.28.2", + "@react-stately/datepicker": "3.14.0", + "@react-stately/overlays": "3.6.15", + "@react-stately/utils": "3.10.6", + "@react-types/datepicker": "3.12.0", + "@react-types/shared": "3.29.0" }, "devDependencies": { "@heroui/radio": "workspace:*", @@ -71,4 +71,4 @@ "react-dom": "18.3.0" }, "clean-package": "../../../clean-package.config.json" -} +} \ No newline at end of file diff --git a/packages/components/divider/CHANGELOG.md b/packages/components/divider/CHANGELOG.md index 39c406355..8c8871d0c 100644 --- a/packages/components/divider/CHANGELOG.md +++ b/packages/components/divider/CHANGELOG.md @@ -1,5 +1,28 @@ # @heroui/divider +## 2.2.13 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/system-rsc@2.3.13 + - @heroui/react-rsc-utils@2.1.7 + - @heroui/shared-utils@2.1.9 + +## 2.2.12 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/system-rsc@2.3.12 + ## 2.2.11 ### Patch Changes diff --git a/packages/components/divider/package.json b/packages/components/divider/package.json index 93128ba50..3678c7e02 100644 --- a/packages/components/divider/package.json +++ b/packages/components/divider/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/divider", - "version": "2.2.11", + "version": "2.2.13", "description": ". A separator is a visual divider between two groups of content", "keywords": [ "divider" @@ -42,7 +42,7 @@ "@heroui/shared-utils": "workspace:*", "@heroui/react-rsc-utils": "workspace:*", "@heroui/system-rsc": "workspace:*", - "@react-types/shared": "3.28.0" + "@react-types/shared": "3.29.0" }, "devDependencies": { "@heroui/theme": "workspace:*", diff --git a/packages/components/drawer/CHANGELOG.md b/packages/components/drawer/CHANGELOG.md index ce83fd8d0..1898dc27b 100644 --- a/packages/components/drawer/CHANGELOG.md +++ b/packages/components/drawer/CHANGELOG.md @@ -1,5 +1,31 @@ # @heroui/drawer +## 2.2.16 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/modal@2.2.16 + - @heroui/framer-utils@2.1.15 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.2.15 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/modal@2.2.15 + - @heroui/framer-utils@2.1.14 + - @heroui/react-utils@2.1.9 + ## 2.2.14 ### Patch Changes diff --git a/packages/components/drawer/package.json b/packages/components/drawer/package.json index d2a9d7fe2..e39fde579 100644 --- a/packages/components/drawer/package.json +++ b/packages/components/drawer/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/drawer", - "version": "2.2.14", + "version": "2.2.16", "description": "Used to render a content that slides in from the side of the screen.", "keywords": [ "drawer" @@ -65,4 +65,4 @@ "react-dom": "18.3.0" }, "clean-package": "../../../clean-package.config.json" -} +} \ No newline at end of file diff --git a/packages/components/dropdown/CHANGELOG.md b/packages/components/dropdown/CHANGELOG.md index 6bc04acbd..dbf0ec4c8 100644 --- a/packages/components/dropdown/CHANGELOG.md +++ b/packages/components/dropdown/CHANGELOG.md @@ -1,5 +1,33 @@ # @heroui/dropdown +## 2.3.19 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/menu@2.2.18 + - @heroui/popover@2.3.19 + - @heroui/aria-utils@2.2.16 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.3.18 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/aria-utils@2.2.15 + - @heroui/popover@2.3.18 + - @heroui/menu@2.2.17 + - @heroui/react-utils@2.1.9 + ## 2.3.17 ### Patch Changes diff --git a/packages/components/dropdown/package.json b/packages/components/dropdown/package.json index 6b047435a..f1ba8bcaf 100644 --- a/packages/components/dropdown/package.json +++ b/packages/components/dropdown/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/dropdown", - "version": "2.3.17", + "version": "2.3.19", "description": "A dropdown displays a list of actions or options that a user can choose.", "keywords": [ "dropdown" @@ -46,11 +46,11 @@ "@heroui/popover": "workspace:*", "@heroui/react-utils": "workspace:*", "@heroui/shared-utils": "workspace:*", - "@react-aria/focus": "3.20.1", - "@react-aria/menu": "3.18.1", - "@react-aria/utils": "3.28.1", - "@react-stately/menu": "3.9.2", - "@react-types/menu": "3.9.15" + "@react-aria/focus": "3.20.2", + "@react-aria/menu": "3.18.2", + "@react-aria/utils": "3.28.2", + "@react-stately/menu": "3.9.3", + "@react-types/menu": "3.10.0" }, "devDependencies": { "@heroui/avatar": "workspace:*", @@ -67,4 +67,4 @@ "react-dom": "18.3.0" }, "clean-package": "../../../clean-package.config.json" -} +} \ No newline at end of file diff --git a/packages/components/form/CHANGELOG.md b/packages/components/form/CHANGELOG.md index f195ace79..e8c95a957 100644 --- a/packages/components/form/CHANGELOG.md +++ b/packages/components/form/CHANGELOG.md @@ -1,5 +1,31 @@ # @heroui/form +## 2.1.18 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/system@2.4.15 + - @heroui/theme@2.4.15 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.1.17 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e), [`f223e1f`](https://github.com/heroui-inc/heroui/commit/f223e1ff634ee5c97e6e88e2d74ab002132fa19e), [`99a5bc2`](https://github.com/heroui-inc/heroui/commit/99a5bc2f4caa7d5468c629c30286935b5e5fa833)]: + - @heroui/shared-utils@2.1.8 + - @heroui/system@2.4.14 + - @heroui/theme@2.4.14 + - @heroui/react-utils@2.1.9 + ## 2.1.16 ### Patch Changes diff --git a/packages/components/form/package.json b/packages/components/form/package.json index 015b77d2b..224bf1153 100644 --- a/packages/components/form/package.json +++ b/packages/components/form/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/form", - "version": "2.1.16", + "version": "2.1.18", "description": "A form is a group of inputs that allows users submit data to a server and supports field validation errors.", "keywords": [ "form" @@ -44,10 +44,10 @@ "@heroui/shared-utils": "workspace:*", "@heroui/system": "workspace:*", "@heroui/theme": "workspace:*", - "@react-aria/utils": "3.28.1", - "@react-types/shared": "3.28.0", - "@react-stately/form": "3.1.2", - "@react-types/form": "3.7.10" + "@react-aria/utils": "3.28.2", + "@react-types/shared": "3.29.0", + "@react-stately/form": "3.1.3", + "@react-types/form": "3.7.11" }, "devDependencies": { "@heroui/button": "workspace:*", @@ -56,4 +56,4 @@ "react-dom": "18.3.0" }, "clean-package": "../../../clean-package.config.json" -} +} \ No newline at end of file diff --git a/packages/components/image/CHANGELOG.md b/packages/components/image/CHANGELOG.md index de5876016..83dd4ee26 100644 --- a/packages/components/image/CHANGELOG.md +++ b/packages/components/image/CHANGELOG.md @@ -1,5 +1,27 @@ # @heroui/image +## 2.2.12 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/use-image@2.1.9 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.2.11 + +### Patch Changes + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/use-image@2.1.8 + - @heroui/react-utils@2.1.9 + ## 2.2.10 ### Patch Changes diff --git a/packages/components/image/package.json b/packages/components/image/package.json index 7b04cf762..2572bfda4 100644 --- a/packages/components/image/package.json +++ b/packages/components/image/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/image", - "version": "2.2.10", + "version": "2.2.12", "description": "A simple image component", "keywords": [ "image" diff --git a/packages/components/input-otp/CHANGELOG.md b/packages/components/input-otp/CHANGELOG.md index 10f3cb742..551fcb313 100644 --- a/packages/components/input-otp/CHANGELOG.md +++ b/packages/components/input-otp/CHANGELOG.md @@ -1,5 +1,31 @@ # @heroui/input-otp +## 2.1.18 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/form@2.1.18 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.1.17 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- [#5179](https://github.com/heroui-inc/heroui/pull/5179) [`99a5bc2`](https://github.com/heroui-inc/heroui/commit/99a5bc2f4caa7d5468c629c30286935b5e5fa833) Thanks [@wingkwong](https://github.com/wingkwong)! - fixed input-otp variants on segment background + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/form@2.1.17 + - @heroui/react-utils@2.1.9 + ## 2.1.16 ### Patch Changes diff --git a/packages/components/input-otp/package.json b/packages/components/input-otp/package.json index 31aa01dcc..c08aa424b 100644 --- a/packages/components/input-otp/package.json +++ b/packages/components/input-otp/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/input-otp", - "version": "2.1.16", + "version": "2.1.18", "description": "", "keywords": [ "input-otp" @@ -36,20 +36,20 @@ "peerDependencies": { "react": ">=18", "react-dom": ">=18", - "@heroui/theme": ">=2.4.6", + "@heroui/theme": ">=2.4.13", "@heroui/system": ">=2.4.7" }, "dependencies": { "@heroui/form": "workspace:*", "@heroui/shared-utils": "workspace:*", "@heroui/react-utils": "workspace:*", - "@react-aria/utils": "3.28.1", - "@react-aria/form": "3.0.14", - "@react-stately/utils": "3.10.5", - "@react-stately/form": "3.1.2", - "@react-types/textfield": "3.12.0", + "@react-aria/utils": "3.28.2", + "@react-aria/form": "3.0.15", + "@react-stately/utils": "3.10.6", + "@react-stately/form": "3.1.3", + "@react-types/textfield": "3.12.1", "input-otp": "1.4.1", - "@react-aria/focus": "3.20.1" + "@react-aria/focus": "3.20.2" }, "devDependencies": { "@heroui/theme": "workspace:*", @@ -61,4 +61,4 @@ "react-hook-form": "^7.51.3" }, "clean-package": "../../../clean-package.config.json" -} +} \ No newline at end of file diff --git a/packages/components/input/CHANGELOG.md b/packages/components/input/CHANGELOG.md index f6b1111f1..b3224c529 100644 --- a/packages/components/input/CHANGELOG.md +++ b/packages/components/input/CHANGELOG.md @@ -1,5 +1,31 @@ # @heroui/input +## 2.4.19 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/form@2.1.18 + - @heroui/use-safe-layout-effect@2.1.7 + - @heroui/react-utils@2.1.10 + - @heroui/shared-icons@2.1.7 + - @heroui/shared-utils@2.1.9 + +## 2.4.18 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/form@2.1.17 + - @heroui/react-utils@2.1.9 + ## 2.4.17 ### Patch Changes diff --git a/packages/components/input/package.json b/packages/components/input/package.json index 85505061e..ea879ecef 100644 --- a/packages/components/input/package.json +++ b/packages/components/input/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/input", - "version": "2.4.17", + "version": "2.4.19", "description": "The input component is designed for capturing user input within a text field.", "keywords": [ "input" @@ -45,13 +45,13 @@ "@heroui/shared-icons": "workspace:*", "@heroui/shared-utils": "workspace:*", "@heroui/use-safe-layout-effect": "workspace:*", - "@react-aria/focus": "3.20.1", - "@react-aria/interactions": "3.24.1", - "@react-aria/textfield": "3.17.1", - "@react-aria/utils": "3.28.1", - "@react-stately/utils": "3.10.5", - "@react-types/shared": "3.28.0", - "@react-types/textfield": "3.12.0", + "@react-aria/focus": "3.20.2", + "@react-aria/interactions": "3.25.0", + "@react-aria/textfield": "3.17.2", + "@react-aria/utils": "3.28.2", + "@react-stately/utils": "3.10.6", + "@react-types/shared": "3.29.0", + "@react-types/textfield": "3.12.1", "react-textarea-autosize": "^8.5.3" }, "devDependencies": { @@ -63,4 +63,4 @@ "react-hook-form": "^7.51.3" }, "clean-package": "../../../clean-package.config.json" -} +} \ No newline at end of file diff --git a/packages/components/kbd/CHANGELOG.md b/packages/components/kbd/CHANGELOG.md index 9791b732e..e76e365e5 100644 --- a/packages/components/kbd/CHANGELOG.md +++ b/packages/components/kbd/CHANGELOG.md @@ -1,5 +1,29 @@ # @heroui/kbd +## 2.2.15 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/system-rsc@2.3.13 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.2.14 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/system-rsc@2.3.12 + - @heroui/react-utils@2.1.9 + ## 2.2.13 ### Patch Changes diff --git a/packages/components/kbd/package.json b/packages/components/kbd/package.json index ccdb1e33a..ec6c8b6f0 100644 --- a/packages/components/kbd/package.json +++ b/packages/components/kbd/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/kbd", - "version": "2.2.13", + "version": "2.2.15", "description": "The keyboard key components indicates which key or set of keys used to execute a specificv action", "keywords": [ "kbd" @@ -42,7 +42,7 @@ "@heroui/system-rsc": "workspace:*", "@heroui/shared-utils": "workspace:*", "@heroui/react-utils": "workspace:*", - "@react-aria/utils": "3.28.1" + "@react-aria/utils": "3.28.2" }, "devDependencies": { "@heroui/theme": "workspace:*", diff --git a/packages/components/link/CHANGELOG.md b/packages/components/link/CHANGELOG.md index ae690c95b..81d9e54c5 100644 --- a/packages/components/link/CHANGELOG.md +++ b/packages/components/link/CHANGELOG.md @@ -1,5 +1,30 @@ # @heroui/link +## 2.2.16 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/use-aria-link@2.2.14 + - @heroui/react-utils@2.1.10 + - @heroui/shared-icons@2.1.7 + - @heroui/shared-utils@2.1.9 + +## 2.2.15 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/use-aria-link@2.2.13 + - @heroui/react-utils@2.1.9 + ## 2.2.14 ### Patch Changes diff --git a/packages/components/link/package.json b/packages/components/link/package.json index 0052fdf85..fb79bf8e8 100644 --- a/packages/components/link/package.json +++ b/packages/components/link/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/link", - "version": "2.2.14", + "version": "2.2.16", "description": "Links allow users to click their way from page to page. This component is styled to resemble a hyperlink and semantically renders an <a>", "keywords": [ "link" @@ -44,10 +44,10 @@ "@heroui/shared-icons": "workspace:*", "@heroui/react-utils": "workspace:*", "@heroui/use-aria-link": "workspace:*", - "@react-aria/link": "3.7.10", - "@react-aria/utils": "3.28.1", - "@react-aria/focus": "3.20.1", - "@react-types/link": "3.5.11" + "@react-aria/link": "3.8.0", + "@react-aria/utils": "3.28.2", + "@react-aria/focus": "3.20.2", + "@react-types/link": "3.6.0" }, "devDependencies": { "@heroui/theme": "workspace:*", diff --git a/packages/components/listbox/CHANGELOG.md b/packages/components/listbox/CHANGELOG.md index d7065d278..1e1ab335f 100644 --- a/packages/components/listbox/CHANGELOG.md +++ b/packages/components/listbox/CHANGELOG.md @@ -1,5 +1,33 @@ # @heroui/listbox +## 2.3.18 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/divider@2.2.13 + - @heroui/use-is-mobile@2.2.9 + - @heroui/aria-utils@2.2.16 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.3.17 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/aria-utils@2.2.15 + - @heroui/use-is-mobile@2.2.8 + - @heroui/divider@2.2.12 + - @heroui/react-utils@2.1.9 + ## 2.3.16 ### Patch Changes diff --git a/packages/components/listbox/package.json b/packages/components/listbox/package.json index 41173b847..b7fb73666 100644 --- a/packages/components/listbox/package.json +++ b/packages/components/listbox/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/listbox", - "version": "2.3.16", + "version": "2.3.18", "description": "A listbox displays a list of options and allows a user to select one or more of them.", "keywords": [ "listbox" @@ -46,13 +46,13 @@ "@heroui/shared-utils": "workspace:*", "@heroui/use-is-mobile": "workspace:*", "@tanstack/react-virtual": "3.11.3", - "@react-aria/utils": "3.28.1", - "@react-aria/listbox": "3.14.2", - "@react-stately/list": "3.12.0", - "@react-aria/focus": "3.20.1", - "@react-aria/interactions": "3.24.1", - "@react-types/menu": "3.9.15", - "@react-types/shared": "3.28.0" + "@react-aria/utils": "3.28.2", + "@react-aria/listbox": "3.14.3", + "@react-stately/list": "3.12.1", + "@react-aria/focus": "3.20.2", + "@react-aria/interactions": "3.25.0", + "@react-types/menu": "3.10.0", + "@react-types/shared": "3.29.0" }, "devDependencies": { "@heroui/avatar": "workspace:*", diff --git a/packages/components/listbox/src/use-listbox-item.ts b/packages/components/listbox/src/use-listbox-item.ts index d9e0ca4ec..8deacabc5 100644 --- a/packages/components/listbox/src/use-listbox-item.ts +++ b/packages/components/listbox/src/use-listbox-item.ts @@ -7,7 +7,7 @@ import {HTMLHeroUIProps, mapPropsVariants, PropGetter, useProviderContext} from import {useFocusRing} from "@react-aria/focus"; import {Node} from "@react-types/shared"; import {filterDOMProps} from "@heroui/react-utils"; -import {clsx, dataAttr, objectToDeps, removeEvents, warn} from "@heroui/shared-utils"; +import {clsx, dataAttr, objectToDeps, removeEvents} from "@heroui/shared-utils"; import {useOption} from "@react-aria/listbox"; import {mergeProps} from "@react-aria/utils"; import {useHover, usePress} from "@react-aria/interactions"; @@ -45,7 +45,7 @@ export function useListboxItem(originalProps: UseListboxItemPr onPressStart, onPressEnd, onPressChange, - onClick: deprecatedOnClick, + onClick, shouldHighlightOnFocus, hideSelectedIcon = false, isReadOnly = false, @@ -67,16 +67,10 @@ export function useListboxItem(originalProps: UseListboxItemPr const isMobile = useIsMobile(); - if (deprecatedOnClick && typeof deprecatedOnClick === "function") { - warn( - "onClick is deprecated, please use onPress instead. See: https://github.com/heroui-inc/heroui/issues/4292", - "ListboxItem", - ); - } - const {pressProps, isPressed} = usePress({ ref: domRef, isDisabled: isDisabled, + onClick, onPress, onPressUp, onPressStart, @@ -130,9 +124,6 @@ export function useListboxItem(originalProps: UseListboxItemPr const getItemProps: PropGetter = (props = {}) => ({ ref: domRef, ...mergeProps( - { - onClick: deprecatedOnClick, - }, itemProps, isReadOnly ? {} : mergeProps(focusProps, pressProps), hoverProps, diff --git a/packages/components/menu/CHANGELOG.md b/packages/components/menu/CHANGELOG.md index 565ad8f50..781552a40 100644 --- a/packages/components/menu/CHANGELOG.md +++ b/packages/components/menu/CHANGELOG.md @@ -1,5 +1,33 @@ # @heroui/menu +## 2.2.18 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/divider@2.2.13 + - @heroui/use-is-mobile@2.2.9 + - @heroui/aria-utils@2.2.16 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.2.17 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/aria-utils@2.2.15 + - @heroui/use-is-mobile@2.2.8 + - @heroui/divider@2.2.12 + - @heroui/react-utils@2.1.9 + ## 2.2.16 ### Patch Changes diff --git a/packages/components/menu/package.json b/packages/components/menu/package.json index 24af0477f..6979dd14b 100644 --- a/packages/components/menu/package.json +++ b/packages/components/menu/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/menu", - "version": "2.2.16", + "version": "2.2.18", "description": "A menu displays a list of options and allows a user to select one or more of them.", "keywords": [ "menu" @@ -45,14 +45,14 @@ "@heroui/use-is-mobile": "workspace:*", "@heroui/shared-utils": "workspace:*", "@heroui/react-utils": "workspace:*", - "@react-aria/focus": "3.20.1", - "@react-aria/interactions": "3.24.1", - "@react-aria/menu": "3.18.1", - "@react-aria/utils": "3.28.1", - "@react-stately/menu": "3.9.2", - "@react-stately/tree": "3.8.8", - "@react-types/menu": "3.9.15", - "@react-types/shared": "3.28.0" + "@react-aria/focus": "3.20.2", + "@react-aria/interactions": "3.25.0", + "@react-aria/menu": "3.18.2", + "@react-aria/utils": "3.28.2", + "@react-stately/menu": "3.9.3", + "@react-stately/tree": "3.8.9", + "@react-types/menu": "3.10.0", + "@react-types/shared": "3.29.0" }, "devDependencies": { "@heroui/theme": "workspace:*", diff --git a/packages/components/menu/src/use-menu-item.ts b/packages/components/menu/src/use-menu-item.ts index 5bba999ef..701597cf5 100644 --- a/packages/components/menu/src/use-menu-item.ts +++ b/packages/components/menu/src/use-menu-item.ts @@ -7,7 +7,7 @@ import {menuItem} from "@heroui/theme"; import {HTMLHeroUIProps, mapPropsVariants, PropGetter, useProviderContext} from "@heroui/system"; import {useFocusRing} from "@react-aria/focus"; import {TreeState} from "@react-stately/tree"; -import {clsx, dataAttr, objectToDeps, removeEvents, warn} from "@heroui/shared-utils"; +import {clsx, dataAttr, objectToDeps, removeEvents} from "@heroui/shared-utils"; import {useMenuItem as useAriaMenuItem} from "@react-aria/menu"; import {isFocusVisible as AriaIsFocusVisible, useHover} from "@react-aria/interactions"; import {mergeProps} from "@react-aria/utils"; @@ -54,7 +54,7 @@ export function useMenuItem(originalProps: UseMenuItemProps isReadOnly = false, closeOnSelect, onClose, - onClick: deprecatedOnClick, + onClick, ...otherProps } = props; @@ -77,19 +77,12 @@ export function useMenuItem(originalProps: UseMenuItemProps autoFocus, }); - if (deprecatedOnClick && typeof deprecatedOnClick === "function") { - warn( - "onClick is deprecated, please use onPress instead. See: https://github.com/heroui-inc/heroui/issues/4292", - "MenuItem", - ); - } - const handlePress = useCallback( (e: PressEvent) => { - deprecatedOnClick?.(e as unknown as React.MouseEvent); + onClick?.(e as unknown as React.MouseEvent); onPress?.(e); }, - [deprecatedOnClick, onPress], + [onClick, onPress], ); const { diff --git a/packages/components/modal/CHANGELOG.md b/packages/components/modal/CHANGELOG.md index b8b13070f..104344967 100644 --- a/packages/components/modal/CHANGELOG.md +++ b/packages/components/modal/CHANGELOG.md @@ -1,5 +1,40 @@ # @heroui/modal +## 2.2.16 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/use-aria-button@2.2.13 + - @heroui/use-aria-modal-overlay@2.2.12 + - @heroui/use-disclosure@2.2.11 + - @heroui/use-draggable@2.1.11 + - @heroui/dom-animation@2.1.8 + - @heroui/framer-utils@2.1.15 + - @heroui/react-utils@2.1.10 + - @heroui/shared-icons@2.1.7 + - @heroui/shared-utils@2.1.9 + +## 2.2.15 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/use-aria-modal-overlay@2.2.11 + - @heroui/dom-animation@2.1.7 + - @heroui/shared-utils@2.1.8 + - @heroui/use-aria-button@2.2.12 + - @heroui/use-disclosure@2.2.10 + - @heroui/use-draggable@2.1.10 + - @heroui/framer-utils@2.1.14 + - @heroui/react-utils@2.1.9 + ## 2.2.14 ### Patch Changes diff --git a/packages/components/modal/package.json b/packages/components/modal/package.json index 8c62699f4..5673ca369 100644 --- a/packages/components/modal/package.json +++ b/packages/components/modal/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/modal", - "version": "2.2.14", + "version": "2.2.16", "description": "Displays a dialog with a custom content that requires attention or provides additional information.", "keywords": [ "modal" @@ -50,13 +50,13 @@ "@heroui/shared-icons": "workspace:*", "@heroui/use-aria-modal-overlay": "workspace:*", "@heroui/dom-animation": "workspace:*", - "@react-aria/dialog": "3.5.23", - "@react-aria/focus": "3.20.1", - "@react-aria/interactions": "3.24.1", - "@react-aria/overlays": "3.26.1", - "@react-aria/utils": "3.28.1", - "@react-stately/overlays": "3.6.14", - "@react-types/overlays": "3.8.13" + "@react-aria/dialog": "3.5.24", + "@react-aria/focus": "3.20.2", + "@react-aria/interactions": "3.25.0", + "@react-aria/overlays": "3.27.0", + "@react-aria/utils": "3.28.2", + "@react-stately/overlays": "3.6.15", + "@react-types/overlays": "3.8.14" }, "devDependencies": { "@heroui/theme": "workspace:*", diff --git a/packages/components/navbar/CHANGELOG.md b/packages/components/navbar/CHANGELOG.md index 6ecf714db..2fe484bfb 100644 --- a/packages/components/navbar/CHANGELOG.md +++ b/packages/components/navbar/CHANGELOG.md @@ -1,5 +1,32 @@ # @heroui/navbar +## 2.2.17 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/use-scroll-position@2.1.7 + - @heroui/dom-animation@2.1.8 + - @heroui/framer-utils@2.1.15 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.2.16 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/dom-animation@2.1.7 + - @heroui/shared-utils@2.1.8 + - @heroui/framer-utils@2.1.14 + - @heroui/react-utils@2.1.9 + ## 2.2.15 ### Patch Changes diff --git a/packages/components/navbar/package.json b/packages/components/navbar/package.json index 743da4865..89e45b3a9 100644 --- a/packages/components/navbar/package.json +++ b/packages/components/navbar/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/navbar", - "version": "2.2.15", + "version": "2.2.17", "description": "A responsive navigation header positioned on top side of your page that includes support for branding, links, navigation, collapse and more.", "keywords": [ "navbar" @@ -46,13 +46,13 @@ "@heroui/framer-utils": "workspace:*", "@heroui/use-scroll-position": "workspace:*", "@heroui/dom-animation": "workspace:*", - "@react-aria/focus": "3.20.1", - "@react-aria/interactions": "3.24.1", - "@react-aria/button": "3.12.1", - "@react-aria/overlays": "3.26.1", - "@react-aria/utils": "3.28.1", - "@react-stately/toggle": "3.8.2", - "@react-stately/utils": "3.10.5" + "@react-aria/focus": "3.20.2", + "@react-aria/interactions": "3.25.0", + "@react-aria/button": "3.13.0", + "@react-aria/overlays": "3.27.0", + "@react-aria/utils": "3.28.2", + "@react-stately/toggle": "3.8.3", + "@react-stately/utils": "3.10.6" }, "devDependencies": { "@heroui/theme": "workspace:*", diff --git a/packages/components/number-input/CHANGELOG.md b/packages/components/number-input/CHANGELOG.md index 39ad3f1c2..805cfd7f6 100644 --- a/packages/components/number-input/CHANGELOG.md +++ b/packages/components/number-input/CHANGELOG.md @@ -1,5 +1,33 @@ # @heroui/number-input +## 2.0.9 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/button@2.2.19 + - @heroui/form@2.1.18 + - @heroui/use-safe-layout-effect@2.1.7 + - @heroui/react-utils@2.1.10 + - @heroui/shared-icons@2.1.7 + - @heroui/shared-utils@2.1.9 + +## 2.0.8 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`53295ca`](https://github.com/heroui-inc/heroui/commit/53295ca9dc7a1310485e1574fd28110b6cbf5ebd), [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/button@2.2.18 + - @heroui/shared-utils@2.1.8 + - @heroui/form@2.1.17 + - @heroui/react-utils@2.1.9 + ## 2.0.7 ### Patch Changes diff --git a/packages/components/number-input/package.json b/packages/components/number-input/package.json index 67ce2698a..f722f4f1d 100644 --- a/packages/components/number-input/package.json +++ b/packages/components/number-input/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/number-input", - "version": "2.0.7", + "version": "2.0.9", "description": "The numeric input component is designed for users to enter a number, and increase or decrease the value using stepper buttons", "keywords": [ "input", @@ -48,16 +48,16 @@ "@heroui/shared-icons": "workspace:*", "@heroui/shared-utils": "workspace:*", "@heroui/use-safe-layout-effect": "workspace:*", - "@react-aria/focus": "3.20.1", - "@react-aria/i18n": "3.12.7", - "@react-aria/interactions": "3.24.1", - "@react-aria/numberfield": "3.11.12", - "@react-aria/utils": "3.28.1", - "@react-stately/utils": "3.10.5", - "@react-stately/numberfield": "3.9.10", - "@react-types/shared": "3.28.0", - "@react-types/numberfield": "3.8.9", - "@react-types/button": "3.11.0" + "@react-aria/focus": "3.20.2", + "@react-aria/i18n": "3.12.8", + "@react-aria/interactions": "3.25.0", + "@react-aria/numberfield": "3.11.13", + "@react-aria/utils": "3.28.2", + "@react-stately/utils": "3.10.6", + "@react-stately/numberfield": "3.9.11", + "@react-types/shared": "3.29.0", + "@react-types/numberfield": "3.8.10", + "@react-types/button": "3.12.0" }, "devDependencies": { "@heroui/system": "workspace:*", @@ -68,4 +68,4 @@ "react-hook-form": "^7.51.3" }, "clean-package": "../../../clean-package.config.json" -} +} \ No newline at end of file diff --git a/packages/components/pagination/CHANGELOG.md b/packages/components/pagination/CHANGELOG.md index 188442a3c..bb851fe8e 100644 --- a/packages/components/pagination/CHANGELOG.md +++ b/packages/components/pagination/CHANGELOG.md @@ -1,5 +1,32 @@ # @heroui/pagination +## 2.2.17 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/use-intersection-observer@2.2.11 + - @heroui/use-pagination@2.2.12 + - @heroui/react-utils@2.1.10 + - @heroui/shared-icons@2.1.7 + - @heroui/shared-utils@2.1.9 + +## 2.2.16 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/use-intersection-observer@2.2.10 + - @heroui/shared-utils@2.1.8 + - @heroui/use-pagination@2.2.11 + - @heroui/react-utils@2.1.9 + ## 2.2.15 ### Patch Changes diff --git a/packages/components/pagination/package.json b/packages/components/pagination/package.json index 85835539e..f66a2ad5b 100644 --- a/packages/components/pagination/package.json +++ b/packages/components/pagination/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/pagination", - "version": "2.2.15", + "version": "2.2.17", "description": "The Pagination component allows you to display active page and navigate between multiple pages.", "keywords": [ "pagination" @@ -45,10 +45,10 @@ "@heroui/shared-icons": "workspace:*", "@heroui/use-intersection-observer": "workspace:*", "@heroui/use-pagination": "workspace:*", - "@react-aria/focus": "3.20.1", - "@react-aria/i18n": "3.12.7", - "@react-aria/interactions": "3.24.1", - "@react-aria/utils": "3.28.1", + "@react-aria/focus": "3.20.2", + "@react-aria/i18n": "3.12.8", + "@react-aria/interactions": "3.25.0", + "@react-aria/utils": "3.28.2", "scroll-into-view-if-needed": "3.0.10" }, "devDependencies": { diff --git a/packages/components/popover/CHANGELOG.md b/packages/components/popover/CHANGELOG.md index 6a8e2bac0..e63c8fdbf 100644 --- a/packages/components/popover/CHANGELOG.md +++ b/packages/components/popover/CHANGELOG.md @@ -1,5 +1,38 @@ # @heroui/popover +## 2.3.19 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/button@2.2.19 + - @heroui/use-aria-button@2.2.13 + - @heroui/use-safe-layout-effect@2.1.7 + - @heroui/aria-utils@2.2.16 + - @heroui/dom-animation@2.1.8 + - @heroui/framer-utils@2.1.15 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.3.18 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`53295ca`](https://github.com/heroui-inc/heroui/commit/53295ca9dc7a1310485e1574fd28110b6cbf5ebd), [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/button@2.2.18 + - @heroui/dom-animation@2.1.7 + - @heroui/shared-utils@2.1.8 + - @heroui/use-aria-button@2.2.12 + - @heroui/aria-utils@2.2.15 + - @heroui/framer-utils@2.1.14 + - @heroui/react-utils@2.1.9 + ## 2.3.17 ### Patch Changes diff --git a/packages/components/popover/package.json b/packages/components/popover/package.json index e78437e8b..190b190e4 100644 --- a/packages/components/popover/package.json +++ b/packages/components/popover/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/popover", - "version": "2.3.17", + "version": "2.3.19", "description": "A popover is an overlay element positioned relative to a trigger.", "keywords": [ "popover" @@ -49,14 +49,14 @@ "@heroui/use-aria-button": "workspace:*", "@heroui/use-safe-layout-effect": "workspace:*", "@heroui/dom-animation": "workspace:*", - "@react-aria/dialog": "3.5.23", - "@react-aria/focus": "3.20.1", - "@react-aria/interactions": "3.24.1", - "@react-aria/overlays": "3.26.1", - "@react-aria/utils": "3.28.1", - "@react-stately/overlays": "3.6.14", - "@react-types/button": "3.11.0", - "@react-types/overlays": "3.8.13" + "@react-aria/dialog": "3.5.24", + "@react-aria/focus": "3.20.2", + "@react-aria/interactions": "3.25.0", + "@react-aria/overlays": "3.27.0", + "@react-aria/utils": "3.28.2", + "@react-stately/overlays": "3.6.15", + "@react-types/button": "3.12.0", + "@react-types/overlays": "3.8.14" }, "devDependencies": { "@heroui/card": "workspace:*", @@ -70,4 +70,4 @@ "react-dom": "18.3.0" }, "clean-package": "../../../clean-package.config.json" -} +} \ No newline at end of file diff --git a/packages/components/progress/CHANGELOG.md b/packages/components/progress/CHANGELOG.md index 5d97f8fac..6848433de 100644 --- a/packages/components/progress/CHANGELOG.md +++ b/packages/components/progress/CHANGELOG.md @@ -1,5 +1,28 @@ # @heroui/progress +## 2.2.15 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/use-is-mounted@2.1.7 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.2.14 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/react-utils@2.1.9 + ## 2.2.13 ### Patch Changes diff --git a/packages/components/progress/package.json b/packages/components/progress/package.json index 7d298aeff..73c415c4a 100644 --- a/packages/components/progress/package.json +++ b/packages/components/progress/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/progress", - "version": "2.2.13", + "version": "2.2.15", "description": "Progress bars show either determinate or indeterminate progress of an operation over time.", "keywords": [ "progress" @@ -43,10 +43,10 @@ "@heroui/shared-utils": "workspace:*", "@heroui/react-utils": "workspace:*", "@heroui/use-is-mounted": "workspace:*", - "@react-aria/i18n": "3.12.7", - "@react-aria/progress": "3.4.21", - "@react-aria/utils": "3.28.1", - "@react-types/progress": "3.5.10" + "@react-aria/i18n": "3.12.8", + "@react-aria/progress": "3.4.22", + "@react-aria/utils": "3.28.2", + "@react-types/progress": "3.5.11" }, "devDependencies": { "@heroui/theme": "workspace:*", diff --git a/packages/components/radio/CHANGELOG.md b/packages/components/radio/CHANGELOG.md index 79fef851f..47bed010c 100644 --- a/packages/components/radio/CHANGELOG.md +++ b/packages/components/radio/CHANGELOG.md @@ -1,5 +1,29 @@ # @heroui/radio +## 2.3.18 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/form@2.1.18 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.3.17 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/form@2.1.17 + - @heroui/react-utils@2.1.9 + ## 2.3.16 ### Patch Changes diff --git a/packages/components/radio/package.json b/packages/components/radio/package.json index d32b4466e..3d840536b 100644 --- a/packages/components/radio/package.json +++ b/packages/components/radio/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/radio", - "version": "2.3.16", + "version": "2.3.18", "description": "Radios allow users to select a single option from a list of mutually exclusive options.", "keywords": [ "radio" @@ -43,14 +43,14 @@ "@heroui/form": "workspace:*", "@heroui/shared-utils": "workspace:*", "@heroui/react-utils": "workspace:*", - "@react-aria/focus": "3.20.1", - "@react-aria/interactions": "3.24.1", - "@react-aria/radio": "3.11.1", - "@react-aria/utils": "3.28.1", - "@react-aria/visually-hidden": "3.8.21", - "@react-stately/radio": "3.10.11", - "@react-types/radio": "3.8.7", - "@react-types/shared": "3.28.0" + "@react-aria/focus": "3.20.2", + "@react-aria/interactions": "3.25.0", + "@react-aria/radio": "3.11.2", + "@react-aria/utils": "3.28.2", + "@react-aria/visually-hidden": "3.8.22", + "@react-stately/radio": "3.10.12", + "@react-types/radio": "3.8.8", + "@react-types/shared": "3.29.0" }, "devDependencies": { "@heroui/theme": "workspace:*", @@ -62,4 +62,4 @@ "react-dom": "18.3.0" }, "clean-package": "../../../clean-package.config.json" -} +} \ No newline at end of file diff --git a/packages/components/ripple/CHANGELOG.md b/packages/components/ripple/CHANGELOG.md index 2434bc97c..1a6f3d560 100644 --- a/packages/components/ripple/CHANGELOG.md +++ b/packages/components/ripple/CHANGELOG.md @@ -1,5 +1,27 @@ # @heroui/ripple +## 2.2.14 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/dom-animation@2.1.8 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.2.13 + +### Patch Changes + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/dom-animation@2.1.7 + - @heroui/shared-utils@2.1.8 + - @heroui/react-utils@2.1.9 + ## 2.2.12 ### Patch Changes diff --git a/packages/components/ripple/package.json b/packages/components/ripple/package.json index cc49cfb1c..0e27f7ca1 100644 --- a/packages/components/ripple/package.json +++ b/packages/components/ripple/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/ripple", - "version": "2.2.12", + "version": "2.2.14", "description": "A simple implementation to display a ripple animation when the source component is clicked", "keywords": [ "ripple" diff --git a/packages/components/scroll-shadow/CHANGELOG.md b/packages/components/scroll-shadow/CHANGELOG.md index 934886039..0f76b7c5f 100644 --- a/packages/components/scroll-shadow/CHANGELOG.md +++ b/packages/components/scroll-shadow/CHANGELOG.md @@ -1,5 +1,27 @@ # @heroui/scroll-shadow +## 2.3.13 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/use-data-scroll-overflow@2.2.10 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.3.12 + +### Patch Changes + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/use-data-scroll-overflow@2.2.9 + - @heroui/react-utils@2.1.9 + ## 2.3.11 ### Patch Changes diff --git a/packages/components/scroll-shadow/package.json b/packages/components/scroll-shadow/package.json index da5b15002..0db53cc84 100644 --- a/packages/components/scroll-shadow/package.json +++ b/packages/components/scroll-shadow/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/scroll-shadow", - "version": "2.3.11", + "version": "2.3.13", "description": "A component that applies top and bottom shadows when content overflows on scroll.", "keywords": [ "scroll-shadow" diff --git a/packages/components/select/CHANGELOG.md b/packages/components/select/CHANGELOG.md index 2d0841fde..daf174e73 100644 --- a/packages/components/select/CHANGELOG.md +++ b/packages/components/select/CHANGELOG.md @@ -1,5 +1,45 @@ # @heroui/select +## 2.4.19 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/form@2.1.18 + - @heroui/listbox@2.3.18 + - @heroui/popover@2.3.19 + - @heroui/scroll-shadow@2.3.13 + - @heroui/spinner@2.2.16 + - @heroui/use-aria-button@2.2.13 + - @heroui/use-aria-multiselect@2.4.12 + - @heroui/use-safe-layout-effect@2.1.7 + - @heroui/aria-utils@2.2.16 + - @heroui/react-utils@2.1.10 + - @heroui/shared-icons@2.1.7 + - @heroui/shared-utils@2.1.9 + +## 2.4.18 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/use-aria-multiselect@2.4.11 + - @heroui/shared-utils@2.1.8 + - @heroui/use-aria-button@2.2.12 + - @heroui/aria-utils@2.2.15 + - @heroui/listbox@2.3.17 + - @heroui/popover@2.3.18 + - @heroui/form@2.1.17 + - @heroui/scroll-shadow@2.3.12 + - @heroui/spinner@2.2.15 + - @heroui/react-utils@2.1.9 + ## 2.4.17 ### Patch Changes diff --git a/packages/components/select/package.json b/packages/components/select/package.json index c2daf0437..f12638744 100644 --- a/packages/components/select/package.json +++ b/packages/components/select/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/select", - "version": "2.4.17", + "version": "2.4.19", "description": "A select displays a collapsible list of options and allows a user to select one of them.", "keywords": [ "select" @@ -53,13 +53,13 @@ "@heroui/use-aria-multiselect": "workspace:*", "@heroui/use-safe-layout-effect": "workspace:*", "@heroui/form": "workspace:*", - "@react-aria/focus": "3.20.1", - "@react-aria/form": "3.0.14", - "@react-aria/overlays": "3.26.1", - "@react-aria/interactions": "3.24.1", - "@react-aria/utils": "3.28.1", - "@react-aria/visually-hidden": "3.8.21", - "@react-types/shared": "3.28.0", + "@react-aria/focus": "3.20.2", + "@react-aria/form": "3.0.15", + "@react-aria/overlays": "3.27.0", + "@react-aria/interactions": "3.25.0", + "@react-aria/utils": "3.28.2", + "@react-aria/visually-hidden": "3.8.22", + "@react-types/shared": "3.29.0", "@tanstack/react-virtual": "3.11.3" }, "devDependencies": { @@ -72,8 +72,8 @@ "@heroui/system": "workspace:*", "@heroui/theme": "workspace:*", "@heroui/use-infinite-scroll": "workspace:*", - "@react-aria/i18n": "3.12.7", - "@react-stately/data": "3.12.2", + "@react-aria/i18n": "3.12.8", + "@react-stately/data": "3.12.3", "clean-package": "2.2.0", "framer-motion": "11.9.0", "react": "18.3.0", @@ -81,4 +81,4 @@ "react-hook-form": "^7.51.3" }, "clean-package": "../../../clean-package.config.json" -} +} \ No newline at end of file diff --git a/packages/components/skeleton/CHANGELOG.md b/packages/components/skeleton/CHANGELOG.md index c098ec929..b5c831357 100644 --- a/packages/components/skeleton/CHANGELOG.md +++ b/packages/components/skeleton/CHANGELOG.md @@ -1,5 +1,25 @@ # @heroui/skeleton +## 2.2.12 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.2.11 + +### Patch Changes + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/react-utils@2.1.9 + ## 2.2.10 ### Patch Changes diff --git a/packages/components/skeleton/package.json b/packages/components/skeleton/package.json index 725892652..fe4dadc8c 100644 --- a/packages/components/skeleton/package.json +++ b/packages/components/skeleton/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/skeleton", - "version": "2.2.10", + "version": "2.2.12", "description": "Skeleton is used to display the loading state of some component.", "keywords": [ "skeleton" diff --git a/packages/components/slider/CHANGELOG.md b/packages/components/slider/CHANGELOG.md index dd29139c6..92680d9c1 100644 --- a/packages/components/slider/CHANGELOG.md +++ b/packages/components/slider/CHANGELOG.md @@ -1,5 +1,29 @@ # @heroui/slider +## 2.4.16 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/tooltip@2.2.16 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.4.15 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/tooltip@2.2.15 + - @heroui/react-utils@2.1.9 + ## 2.4.14 ### Patch Changes diff --git a/packages/components/slider/package.json b/packages/components/slider/package.json index 6831b12d0..35f674d2d 100644 --- a/packages/components/slider/package.json +++ b/packages/components/slider/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/slider", - "version": "2.4.14", + "version": "2.4.16", "description": "A slider allows a user to select one or more values within a range.", "keywords": [ "slider" @@ -43,13 +43,13 @@ "@heroui/shared-utils": "workspace:*", "@heroui/react-utils": "workspace:*", "@heroui/tooltip": "workspace:*", - "@react-aria/focus": "3.20.1", - "@react-aria/i18n": "3.12.7", - "@react-aria/interactions": "3.24.1", - "@react-aria/slider": "3.7.17", - "@react-aria/utils": "3.28.1", - "@react-aria/visually-hidden": "3.8.21", - "@react-stately/slider": "3.6.2" + "@react-aria/focus": "3.20.2", + "@react-aria/i18n": "3.12.8", + "@react-aria/interactions": "3.25.0", + "@react-aria/slider": "3.7.18", + "@react-aria/utils": "3.28.2", + "@react-aria/visually-hidden": "3.8.22", + "@react-stately/slider": "3.6.3" }, "devDependencies": { "@heroui/theme": "workspace:*", diff --git a/packages/components/snippet/CHANGELOG.md b/packages/components/snippet/CHANGELOG.md index c0691bb5a..27ace8179 100644 --- a/packages/components/snippet/CHANGELOG.md +++ b/packages/components/snippet/CHANGELOG.md @@ -1,5 +1,33 @@ # @heroui/snippet +## 2.2.20 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/button@2.2.19 + - @heroui/tooltip@2.2.16 + - @heroui/use-clipboard@2.1.8 + - @heroui/react-utils@2.1.10 + - @heroui/shared-icons@2.1.7 + - @heroui/shared-utils@2.1.9 + +## 2.2.19 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`53295ca`](https://github.com/heroui-inc/heroui/commit/53295ca9dc7a1310485e1574fd28110b6cbf5ebd), [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/button@2.2.18 + - @heroui/shared-utils@2.1.8 + - @heroui/tooltip@2.2.15 + - @heroui/react-utils@2.1.9 + ## 2.2.18 ### Patch Changes diff --git a/packages/components/snippet/package.json b/packages/components/snippet/package.json index 95b10c108..af0ba8df1 100644 --- a/packages/components/snippet/package.json +++ b/packages/components/snippet/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/snippet", - "version": "2.2.18", + "version": "2.2.20", "description": "Display a snippet of copyable code for the command line.", "keywords": [ "snippet" @@ -47,8 +47,8 @@ "@heroui/shared-icons": "workspace:*", "@heroui/use-clipboard": "workspace:*", "@heroui/tooltip": "workspace:*", - "@react-aria/focus": "3.20.1", - "@react-aria/utils": "3.28.1" + "@react-aria/focus": "3.20.2", + "@react-aria/utils": "3.28.2" }, "devDependencies": { "@heroui/theme": "workspace:*", @@ -59,4 +59,4 @@ "react-dom": "18.3.0" }, "clean-package": "../../../clean-package.config.json" -} +} \ No newline at end of file diff --git a/packages/components/spacer/CHANGELOG.md b/packages/components/spacer/CHANGELOG.md index 1cfcd369b..f6c23de6c 100644 --- a/packages/components/spacer/CHANGELOG.md +++ b/packages/components/spacer/CHANGELOG.md @@ -1,5 +1,27 @@ # @heroui/spacer +## 2.2.14 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/system-rsc@2.3.13 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.2.13 + +### Patch Changes + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/system-rsc@2.3.12 + - @heroui/react-utils@2.1.9 + ## 2.2.12 ### Patch Changes diff --git a/packages/components/spacer/package.json b/packages/components/spacer/package.json index 6c234b3a6..a47815e8c 100644 --- a/packages/components/spacer/package.json +++ b/packages/components/spacer/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/spacer", - "version": "2.2.12", + "version": "2.2.14", "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 4f1fa9c5b..60270d9db 100644 --- a/packages/components/spinner/CHANGELOG.md +++ b/packages/components/spinner/CHANGELOG.md @@ -1,5 +1,29 @@ # @heroui/spinner +## 2.2.16 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/system@2.4.15 + - @heroui/system-rsc@2.3.13 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.2.15 + +### Patch Changes + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/system-rsc@2.3.12 + - @heroui/system@2.4.14 + - @heroui/react-utils@2.1.9 + ## 2.2.14 ### Patch Changes diff --git a/packages/components/spinner/package.json b/packages/components/spinner/package.json index 9722c9d2c..71e364756 100644 --- a/packages/components/spinner/package.json +++ b/packages/components/spinner/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/spinner", - "version": "2.2.14", + "version": "2.2.16", "description": "Loaders express an unspecified wait time or display the length of a process.", "keywords": [ "loading", diff --git a/packages/components/switch/CHANGELOG.md b/packages/components/switch/CHANGELOG.md index 2278aba23..0dcfe287c 100644 --- a/packages/components/switch/CHANGELOG.md +++ b/packages/components/switch/CHANGELOG.md @@ -1,5 +1,28 @@ # @heroui/switch +## 2.2.17 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/use-safe-layout-effect@2.1.7 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.2.16 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/react-utils@2.1.9 + ## 2.2.15 ### Patch Changes diff --git a/packages/components/switch/package.json b/packages/components/switch/package.json index 15f41c915..246e13b7f 100644 --- a/packages/components/switch/package.json +++ b/packages/components/switch/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/switch", - "version": "2.2.15", + "version": "2.2.17", "description": "A switch is similar to a checkbox, but represents on/off values as opposed to selection.", "keywords": [ "switch" @@ -43,13 +43,13 @@ "@heroui/shared-utils": "workspace:*", "@heroui/react-utils": "workspace:*", "@heroui/use-safe-layout-effect": "workspace:*", - "@react-aria/focus": "3.20.1", - "@react-aria/interactions": "3.24.1", - "@react-aria/switch": "3.7.1", - "@react-aria/utils": "3.28.1", - "@react-aria/visually-hidden": "3.8.21", - "@react-stately/toggle": "3.8.2", - "@react-types/shared": "3.28.0" + "@react-aria/focus": "3.20.2", + "@react-aria/interactions": "3.25.0", + "@react-aria/switch": "3.7.2", + "@react-aria/utils": "3.28.2", + "@react-aria/visually-hidden": "3.8.22", + "@react-stately/toggle": "3.8.3", + "@react-types/shared": "3.29.0" }, "devDependencies": { "@heroui/theme": "workspace:*", diff --git a/packages/components/table/CHANGELOG.md b/packages/components/table/CHANGELOG.md index 72f04fd2b..b7a920c57 100644 --- a/packages/components/table/CHANGELOG.md +++ b/packages/components/table/CHANGELOG.md @@ -1,5 +1,34 @@ # @heroui/table +## 2.2.18 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/checkbox@2.3.18 + - @heroui/spacer@2.2.14 + - @heroui/react-utils@2.1.10 + - @heroui/shared-icons@2.1.7 + - @heroui/shared-utils@2.1.9 + +## 2.2.17 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- [#5184](https://github.com/heroui-inc/heroui/pull/5184) [`8bd8783`](https://github.com/heroui-inc/heroui/commit/8bd878341e8c26493f7cf1bc59c5d66a824f15f8) Thanks [@Hova25](https://github.com/Hova25)! - fix(table): Header sticky in virtualized table + topContent and bottom content placement fix in virtualized table (#5149) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/checkbox@2.3.17 + - @heroui/spacer@2.2.13 + - @heroui/react-utils@2.1.9 + ## 2.2.16 ### Patch Changes diff --git a/packages/components/table/package.json b/packages/components/table/package.json index 032b3fbcd..a7e1d43b3 100644 --- a/packages/components/table/package.json +++ b/packages/components/table/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/table", - "version": "2.2.16", + "version": "2.2.18", "description": "Tables are used to display tabular data using rows and columns. ", "keywords": [ "table" @@ -45,15 +45,15 @@ "@heroui/shared-icons": "workspace:*", "@heroui/shared-utils": "workspace:*", "@heroui/spacer": "workspace:*", - "@react-aria/focus": "3.20.1", - "@react-aria/interactions": "3.24.1", - "@react-aria/table": "3.17.1", - "@react-aria/utils": "3.28.1", - "@react-aria/visually-hidden": "3.8.21", - "@react-stately/table": "3.14.0", - "@react-stately/virtualizer": "4.3.1", - "@react-types/grid": "3.3.0", - "@react-types/table": "3.11.0", + "@react-aria/focus": "3.20.2", + "@react-aria/interactions": "3.25.0", + "@react-aria/table": "3.17.2", + "@react-aria/utils": "3.28.2", + "@react-aria/visually-hidden": "3.8.22", + "@react-stately/table": "3.14.1", + "@react-stately/virtualizer": "4.3.2", + "@react-types/grid": "3.3.1", + "@react-types/table": "3.12.0", "@tanstack/react-virtual": "3.11.3" }, "devDependencies": { @@ -66,7 +66,7 @@ "@heroui/tooltip": "workspace:*", "@heroui/use-infinite-scroll": "workspace:*", "@heroui/user": "workspace:*", - "@react-stately/data": "3.12.2", + "@react-stately/data": "3.12.3", "clean-package": "2.2.0", "react": "18.3.0", "react-dom": "18.3.0", diff --git a/packages/components/table/src/virtualized-table.tsx b/packages/components/table/src/virtualized-table.tsx index 1fbef2a00..bba4af9c2 100644 --- a/packages/components/table/src/virtualized-table.tsx +++ b/packages/components/table/src/virtualized-table.tsx @@ -81,71 +81,75 @@ const VirtualizedTable = forwardRef<"table", TableProps>((props, ref) => { overscan: 5, }); + const tableProps = getTableProps(); + return (
{/* We need to add p-1 to make the shadow-sm visible */} + {topContentPlacement === "outside" && topContent} <> - {topContentPlacement === "outside" && topContent} -
- <> - {topContentPlacement === "inside" && topContent} - - - {collection.headerRows.map((headerRow) => ( - - {[...headerRow.childNodes].map((column) => - column?.props?.isSelectionCell ? ( - - ) : ( - - ), - )} - - ))} - - - + + {collection.headerRows.map((headerRow) => ( + - - {bottomContentPlacement === "inside" && bottomContent} - -
- {bottomContentPlacement === "outside" && bottomContent} + > + {[...headerRow.childNodes].map((column) => + column?.props?.isSelectionCell ? ( + + ) : ( + + ), + )} + + ))} + + + + + {bottomContentPlacement === "inside" && bottomContent}
+ {bottomContentPlacement === "outside" && bottomContent}
); }); diff --git a/packages/components/table/stories/table.stories.tsx b/packages/components/table/stories/table.stories.tsx index e39864156..e34fa8cd5 100644 --- a/packages/components/table/stories/table.stories.tsx +++ b/packages/components/table/stories/table.stories.tsx @@ -1160,6 +1160,14 @@ export const Virtualized = { }, }; +export const VirtualizedWithHeaderSticky = { + ...Virtualized, + args: { + ...Virtualized.args, + isHeaderSticky: true, + }, +}; + export const TenThousandRows = { render: VirtualizedTemplate, args: { diff --git a/packages/components/tabs/CHANGELOG.md b/packages/components/tabs/CHANGELOG.md index 35b287f6a..3399bc100 100644 --- a/packages/components/tabs/CHANGELOG.md +++ b/packages/components/tabs/CHANGELOG.md @@ -1,5 +1,33 @@ # @heroui/tabs +## 2.2.16 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/use-is-mounted@2.1.7 + - @heroui/use-update-effect@2.1.7 + - @heroui/aria-utils@2.2.16 + - @heroui/framer-utils@2.1.15 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.2.15 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/aria-utils@2.2.15 + - @heroui/framer-utils@2.1.14 + - @heroui/react-utils@2.1.9 + ## 2.2.14 ### Patch Changes diff --git a/packages/components/tabs/package.json b/packages/components/tabs/package.json index 8fb2c5f5f..fba8a1c3a 100644 --- a/packages/components/tabs/package.json +++ b/packages/components/tabs/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/tabs", - "version": "2.2.14", + "version": "2.2.16", "description": "Tabs organize content into multiple sections and allow users to navigate between them.", "keywords": [ "tabs" @@ -47,13 +47,13 @@ "@heroui/framer-utils": "workspace:*", "@heroui/use-is-mounted": "workspace:*", "@heroui/use-update-effect": "workspace:*", - "@react-aria/focus": "3.20.1", - "@react-aria/interactions": "3.24.1", - "@react-aria/tabs": "3.10.1", - "@react-aria/utils": "3.28.1", - "@react-stately/tabs": "3.8.0", - "@react-types/shared": "3.28.0", - "@react-types/tabs": "3.3.13", + "@react-aria/focus": "3.20.2", + "@react-aria/interactions": "3.25.0", + "@react-aria/tabs": "3.10.2", + "@react-aria/utils": "3.28.2", + "@react-stately/tabs": "3.8.1", + "@react-types/shared": "3.29.0", + "@react-types/tabs": "3.3.14", "scroll-into-view-if-needed": "3.0.10" }, "devDependencies": { diff --git a/packages/components/toast/CHANGELOG.md b/packages/components/toast/CHANGELOG.md index f0e97ab75..c2a241e74 100644 --- a/packages/components/toast/CHANGELOG.md +++ b/packages/components/toast/CHANGELOG.md @@ -1,5 +1,32 @@ # @heroui/toast +## 2.0.9 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/spinner@2.2.16 + - @heroui/use-is-mobile@2.2.9 + - @heroui/react-utils@2.1.10 + - @heroui/shared-icons@2.1.7 + - @heroui/shared-utils@2.1.9 + +## 2.0.8 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/use-is-mobile@2.2.8 + - @heroui/spinner@2.2.15 + - @heroui/react-utils@2.1.9 + ## 2.0.7 ### Patch Changes diff --git a/packages/components/toast/package.json b/packages/components/toast/package.json index a2d57c38c..1caf8bcd0 100644 --- a/packages/components/toast/package.json +++ b/packages/components/toast/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/toast", - "version": "2.0.7", + "version": "2.0.9", "description": "Toast are temporary notifications that provide concise feedback about an action or event", "keywords": [ "toast" @@ -46,11 +46,11 @@ "@heroui/shared-icons": "workspace:*", "@heroui/use-is-mobile": "workspace:*", "@heroui/spinner": "workspace:*", - "@react-aria/toast": "3.0.1", - "@react-aria/utils": "3.28.1", - "@react-aria/interactions": "3.24.1", - "@react-stately/toast": "3.0.0", - "@react-stately/utils": "3.10.5" + "@react-aria/toast": "3.0.2", + "@react-aria/utils": "3.28.2", + "@react-aria/interactions": "3.25.0", + "@react-stately/toast": "3.1.0", + "@react-stately/utils": "3.10.6" }, "devDependencies": { "@heroui/system": "workspace:*", @@ -63,4 +63,4 @@ "react-dom": "^18.0.0" }, "clean-package": "../../../clean-package.config.json" -} +} \ No newline at end of file diff --git a/packages/components/tooltip/CHANGELOG.md b/packages/components/tooltip/CHANGELOG.md index 62515d78b..01efadfef 100644 --- a/packages/components/tooltip/CHANGELOG.md +++ b/packages/components/tooltip/CHANGELOG.md @@ -1,5 +1,34 @@ # @heroui/tooltip +## 2.2.16 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/use-safe-layout-effect@2.1.7 + - @heroui/aria-utils@2.2.16 + - @heroui/dom-animation@2.1.8 + - @heroui/framer-utils@2.1.15 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.2.15 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/dom-animation@2.1.7 + - @heroui/shared-utils@2.1.8 + - @heroui/aria-utils@2.2.15 + - @heroui/framer-utils@2.1.14 + - @heroui/react-utils@2.1.9 + ## 2.2.14 ### Patch Changes diff --git a/packages/components/tooltip/package.json b/packages/components/tooltip/package.json index ee27a82c1..746c32cb1 100644 --- a/packages/components/tooltip/package.json +++ b/packages/components/tooltip/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/tooltip", - "version": "2.2.14", + "version": "2.2.16", "description": "A React Component for rendering dynamically positioned Tooltips", "keywords": [ "tooltip" @@ -47,13 +47,13 @@ "@heroui/framer-utils": "workspace:*", "@heroui/use-safe-layout-effect": "workspace:*", "@heroui/dom-animation": "workspace:*", - "@react-aria/interactions": "3.24.1", - "@react-aria/overlays": "3.26.1", - "@react-aria/tooltip": "3.8.1", - "@react-aria/utils": "3.28.1", - "@react-stately/tooltip": "3.5.2", - "@react-types/overlays": "3.8.13", - "@react-types/tooltip": "3.4.15" + "@react-aria/interactions": "3.25.0", + "@react-aria/overlays": "3.27.0", + "@react-aria/tooltip": "3.8.2", + "@react-aria/utils": "3.28.2", + "@react-stately/tooltip": "3.5.3", + "@react-types/overlays": "3.8.14", + "@react-types/tooltip": "3.4.16" }, "devDependencies": { "@heroui/button": "workspace:*", diff --git a/packages/components/user/CHANGELOG.md b/packages/components/user/CHANGELOG.md index 631dc4448..e69206304 100644 --- a/packages/components/user/CHANGELOG.md +++ b/packages/components/user/CHANGELOG.md @@ -1,5 +1,29 @@ # @heroui/user +## 2.2.15 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/avatar@2.2.15 + - @heroui/react-utils@2.1.10 + - @heroui/shared-utils@2.1.9 + +## 2.2.14 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + - @heroui/avatar@2.2.14 + - @heroui/react-utils@2.1.9 + ## 2.2.13 ### Patch Changes diff --git a/packages/components/user/package.json b/packages/components/user/package.json index 2aa40d1bd..9e71ea534 100644 --- a/packages/components/user/package.json +++ b/packages/components/user/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/user", - "version": "2.2.13", + "version": "2.2.15", "description": "Flexible User Profile Component.", "keywords": [ "user" @@ -43,8 +43,8 @@ "@heroui/avatar": "workspace:*", "@heroui/shared-utils": "workspace:*", "@heroui/react-utils": "workspace:*", - "@react-aria/focus": "3.20.1", - "@react-aria/utils": "3.28.1" + "@react-aria/focus": "3.20.2", + "@react-aria/utils": "3.28.2" }, "devDependencies": { "@heroui/theme": "workspace:*", diff --git a/packages/core/react/CHANGELOG.md b/packages/core/react/CHANGELOG.md index d51681974..10d05f849 100644 --- a/packages/core/react/CHANGELOG.md +++ b/packages/core/react/CHANGELOG.md @@ -1,5 +1,126 @@ # @heroui/react +## 2.7.8 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/accordion@2.2.16 + - @heroui/alert@2.2.19 + - @heroui/autocomplete@2.3.20 + - @heroui/avatar@2.2.15 + - @heroui/badge@2.2.12 + - @heroui/breadcrumbs@2.2.15 + - @heroui/button@2.2.19 + - @heroui/calendar@2.2.19 + - @heroui/card@2.2.18 + - @heroui/checkbox@2.3.18 + - @heroui/chip@2.2.15 + - @heroui/code@2.2.14 + - @heroui/date-input@2.3.18 + - @heroui/date-picker@2.3.19 + - @heroui/divider@2.2.13 + - @heroui/drawer@2.2.16 + - @heroui/dropdown@2.3.19 + - @heroui/form@2.1.18 + - @heroui/image@2.2.12 + - @heroui/input@2.4.19 + - @heroui/input-otp@2.1.18 + - @heroui/kbd@2.2.15 + - @heroui/link@2.2.16 + - @heroui/listbox@2.3.18 + - @heroui/menu@2.2.18 + - @heroui/modal@2.2.16 + - @heroui/navbar@2.2.17 + - @heroui/number-input@2.0.9 + - @heroui/pagination@2.2.17 + - @heroui/popover@2.3.19 + - @heroui/progress@2.2.15 + - @heroui/radio@2.3.18 + - @heroui/ripple@2.2.14 + - @heroui/scroll-shadow@2.3.13 + - @heroui/select@2.4.19 + - @heroui/skeleton@2.2.12 + - @heroui/slider@2.4.16 + - @heroui/snippet@2.2.20 + - @heroui/spacer@2.2.14 + - @heroui/spinner@2.2.16 + - @heroui/switch@2.2.17 + - @heroui/table@2.2.18 + - @heroui/tabs@2.2.16 + - @heroui/toast@2.0.9 + - @heroui/tooltip@2.2.16 + - @heroui/user@2.2.15 + - @heroui/system@2.4.15 + - @heroui/theme@2.4.15 + - @heroui/framer-utils@2.1.15 + +## 2.7.7 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`53295ca`](https://github.com/heroui-inc/heroui/commit/53295ca9dc7a1310485e1574fd28110b6cbf5ebd), [`a61f57b`](https://github.com/heroui-inc/heroui/commit/a61f57bbf7b553f1779c600f73ac996cab2eff8d), [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e), [`f223e1f`](https://github.com/heroui-inc/heroui/commit/f223e1ff634ee5c97e6e88e2d74ab002132fa19e), [`99a5bc2`](https://github.com/heroui-inc/heroui/commit/99a5bc2f4caa7d5468c629c30286935b5e5fa833), [`531518f`](https://github.com/heroui-inc/heroui/commit/531518f2ef0d146f5ab499c10057deac29e094b6), [`8bd8783`](https://github.com/heroui-inc/heroui/commit/8bd878341e8c26493f7cf1bc59c5d66a824f15f8)]: + - @heroui/button@2.2.18 + - @heroui/breadcrumbs@2.2.14 + - @heroui/autocomplete@2.3.19 + - @heroui/number-input@2.0.8 +- Updated dependencies [[`53295ca`](https://github.com/heroui-inc/heroui/commit/53295ca9dc7a1310485e1574fd28110b6cbf5ebd), [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e), [`f223e1f`](https://github.com/heroui-inc/heroui/commit/f223e1ff634ee5c97e6e88e2d74ab002132fa19e), [`99a5bc2`](https://github.com/heroui-inc/heroui/commit/99a5bc2f4caa7d5468c629c30286935b5e5fa833), [`531518f`](https://github.com/heroui-inc/heroui/commit/531518f2ef0d146f5ab499c10057deac29e094b6), [`8bd8783`](https://github.com/heroui-inc/heroui/commit/8bd878341e8c26493f7cf1bc59c5d66a824f15f8)]: + - @heroui/button@2.2.18 + - @heroui/autocomplete@2.3.19 + - @heroui/number-input@2.0.8 + - @heroui/breadcrumbs@2.2.14 + - @heroui/date-picker@2.3.18 + - @heroui/date-input@2.3.17 + - @heroui/pagination@2.2.16 + - @heroui/accordion@2.2.15 + - @heroui/input-otp@2.1.17 + - @heroui/calendar@2.2.18 + - @heroui/checkbox@2.3.17 + - @heroui/dropdown@2.3.18 + - @heroui/progress@2.2.14 + - @heroui/divider@2.2.12 + - @heroui/listbox@2.3.17 + - @heroui/popover@2.3.18 + - @heroui/snippet@2.2.19 + - @heroui/tooltip@2.2.15 + - @heroui/avatar@2.2.14 + - @heroui/drawer@2.2.15 + - @heroui/navbar@2.2.16 + - @heroui/select@2.4.18 + - @heroui/slider@2.4.15 + - @heroui/switch@2.2.16 + - @heroui/alert@2.2.18 + - @heroui/input@2.4.18 + - @heroui/modal@2.2.15 + - @heroui/radio@2.3.17 + - @heroui/table@2.2.17 + - @heroui/toast@2.0.8 + - @heroui/card@2.2.17 + - @heroui/chip@2.2.14 + - @heroui/form@2.1.17 + - @heroui/link@2.2.15 + - @heroui/menu@2.2.17 + - @heroui/tabs@2.2.15 + - @heroui/user@2.2.14 + - @heroui/kbd@2.2.14 + - @heroui/system@2.4.14 + - @heroui/theme@2.4.14 + - @heroui/skeleton@2.2.11 + - @heroui/ripple@2.2.13 + - @heroui/badge@2.2.11 + - @heroui/code@2.2.13 + - @heroui/image@2.2.11 + - @heroui/scroll-shadow@2.3.12 + - @heroui/spacer@2.2.13 + - @heroui/spinner@2.2.15 + - @heroui/framer-utils@2.1.14 + ## 2.7.6 ### Patch Changes diff --git a/packages/core/react/package.json b/packages/core/react/package.json index f8b6c5406..783111fca 100644 --- a/packages/core/react/package.json +++ b/packages/core/react/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/react", - "version": "2.7.6", + "version": "2.7.8", "description": "🚀 Beautiful and modern React UI library.", "author": "HeroUI ", "homepage": "https://heroui.com", @@ -91,7 +91,7 @@ "@heroui/alert": "workspace:*", "@heroui/number-input": "workspace:*", "@heroui/toast": "workspace:*", - "@react-aria/visually-hidden": "3.8.21" + "@react-aria/visually-hidden": "3.8.22" }, "peerDependencies": { "react": ">=18 || >=19.0.0-rc.0", @@ -104,4 +104,4 @@ "clean-package": "2.2.0" }, "clean-package": "../../../clean-package.config.json" -} +} \ No newline at end of file diff --git a/packages/core/system-rsc/CHANGELOG.md b/packages/core/system-rsc/CHANGELOG.md index 900c7b4d8..07b092024 100644 --- a/packages/core/system-rsc/CHANGELOG.md +++ b/packages/core/system-rsc/CHANGELOG.md @@ -1,5 +1,19 @@ # @heroui/system-rsc +## 2.3.13 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +## 2.3.12 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + ## 2.3.11 ### Patch Changes diff --git a/packages/core/system-rsc/package.json b/packages/core/system-rsc/package.json index d073788fd..cca4c5623 100644 --- a/packages/core/system-rsc/package.json +++ b/packages/core/system-rsc/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/system-rsc", - "version": "2.3.11", + "version": "2.3.13", "description": "HeroUI system primitives compatibles with RSC imports", "keywords": [ "system-rsc" @@ -46,7 +46,7 @@ "clean-package": "2.2.0" }, "dependencies": { - "@react-types/shared": "3.28.0", + "@react-types/shared": "3.29.0", "clsx": "^1.2.1" }, "clean-package": "../../../clean-package.config.json", @@ -58,4 +58,4 @@ "esm" ] } -} +} \ No newline at end of file diff --git a/packages/core/system/CHANGELOG.md b/packages/core/system/CHANGELOG.md index 7f77f4dd0..2194c0849 100644 --- a/packages/core/system/CHANGELOG.md +++ b/packages/core/system/CHANGELOG.md @@ -1,5 +1,27 @@ # @heroui/system +## 2.4.15 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/system-rsc@2.3.13 + - @heroui/react-utils@2.1.10 + +## 2.4.14 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/system-rsc@2.3.12 + - @heroui/react-utils@2.1.9 + ## 2.4.13 ### Patch Changes diff --git a/packages/core/system/package.json b/packages/core/system/package.json index d47c52fbf..5d39d01db 100644 --- a/packages/core/system/package.json +++ b/packages/core/system/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/system", - "version": "2.4.13", + "version": "2.4.15", "description": "HeroUI system primitives", "keywords": [ "system" @@ -54,13 +54,13 @@ ] }, "dependencies": { - "@internationalized/date": "3.7.0", + "@internationalized/date": "3.8.0", "@heroui/react-utils": "workspace:*", - "@react-aria/i18n": "3.12.7", + "@react-aria/i18n": "3.12.8", "@heroui/system-rsc": "workspace:*", - "@react-aria/overlays": "3.26.1", - "@react-aria/utils": "3.28.1", - "@react-stately/utils": "3.10.5", - "@react-types/datepicker": "3.11.0" + "@react-aria/overlays": "3.27.0", + "@react-aria/utils": "3.28.2", + "@react-stately/utils": "3.10.6", + "@react-types/datepicker": "3.12.0" } -} +} \ No newline at end of file diff --git a/packages/core/theme/CHANGELOG.md b/packages/core/theme/CHANGELOG.md index d552aeb58..84bd4f1b9 100644 --- a/packages/core/theme/CHANGELOG.md +++ b/packages/core/theme/CHANGELOG.md @@ -1,5 +1,27 @@ # @heroui/theme +## 2.4.15 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/shared-utils@2.1.9 + +## 2.4.14 + +### Patch Changes + +- [#5170](https://github.com/heroui-inc/heroui/pull/5170) [`f223e1f`](https://github.com/heroui-inc/heroui/commit/f223e1ff634ee5c97e6e88e2d74ab002132fa19e) Thanks [@Nathanael-Shermett](https://github.com/Nathanael-Shermett)! - Utilize `hover-opacity` in Link & Breadcrumb component (#5169) + +- [#5179](https://github.com/heroui-inc/heroui/pull/5179) [`99a5bc2`](https://github.com/heroui-inc/heroui/commit/99a5bc2f4caa7d5468c629c30286935b5e5fa833) Thanks [@wingkwong](https://github.com/wingkwong)! - fixed input-otp variants on segment background + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + ## 2.4.13 ### Patch Changes diff --git a/packages/core/theme/package.json b/packages/core/theme/package.json index 28f74ba26..9fefe02c1 100644 --- a/packages/core/theme/package.json +++ b/packages/core/theme/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/theme", - "version": "2.4.13", + "version": "2.4.15", "description": "The default theme for HeroUI components", "keywords": [ "theme", diff --git a/packages/core/theme/src/components/breadcrumbs.ts b/packages/core/theme/src/components/breadcrumbs.ts index d9b078b7b..06b66927a 100644 --- a/packages/core/theme/src/components/breadcrumbs.ts +++ b/packages/core/theme/src/components/breadcrumbs.ts @@ -84,7 +84,7 @@ const breadcrumbItem = tv({ item: "cursor-default", }, false: { - item: ["hover:opacity-80", "active:opacity-disabled"], + item: ["hover:opacity-hover", "active:opacity-disabled"], }, }, isDisabled: { diff --git a/packages/core/theme/src/components/input-otp.ts b/packages/core/theme/src/components/input-otp.ts index 520d764fe..189548373 100644 --- a/packages/core/theme/src/components/input-otp.ts +++ b/packages/core/theme/src/components/input-otp.ts @@ -57,10 +57,11 @@ const inputOtp = tv({ segment: ["bg-default-100", "border-medium"], }, bordered: { - segment: ["border-medium"], + segment: ["bg-background", "border-medium"], }, underlined: { segment: [ + "bg-background", "shadow-none", "relative", "box-border", diff --git a/packages/core/theme/src/components/link.ts b/packages/core/theme/src/components/link.ts index 69f16a5f2..097c49499 100644 --- a/packages/core/theme/src/components/link.ts +++ b/packages/core/theme/src/components/link.ts @@ -50,7 +50,7 @@ const link = tv({ "after:transition-background", "after:absolute", ], - false: "hover:opacity-80 active:opacity-disabled transition-opacity", + false: "hover:opacity-hover active:opacity-disabled transition-opacity", }, isDisabled: { true: "opacity-disabled cursor-default pointer-events-none", diff --git a/packages/core/theme/src/components/table.ts b/packages/core/theme/src/components/table.ts index 8aa34e835..5d4d763d7 100644 --- a/packages/core/theme/src/components/table.ts +++ b/packages/core/theme/src/components/table.ts @@ -55,7 +55,7 @@ const table = tv({ ], table: "min-w-full h-auto", thead: "[&>tr]:first:rounded-lg", - tbody: "", + tbody: "after:block", tr: ["group/tr", "outline-none", ...dataFocusVisibleClasses], th: [ "group/th", diff --git a/packages/core/theme/src/plugin.ts b/packages/core/theme/src/plugin.ts index ddb37f553..5862d107f 100644 --- a/packages/core/theme/src/plugin.ts +++ b/packages/core/theme/src/plugin.ts @@ -277,15 +277,15 @@ export const heroui = (config: HeroUIPluginConfig = {}): ReturnType { const baseTheme = extend && isBaseTheme(extend) ? extend : defaultExtendTheme; - if (colors && typeof colors === "object") { - otherThemes[themeName].colors = deepMerge(semanticColors[baseTheme], colors); - } - if (layout && typeof layout === "object") { - otherThemes[themeName].layout = deepMerge( - extend ? baseLayouts[extend] : defaultLayoutObj, - layout, - ); - } + const baseColors = semanticColors[baseTheme]; + + otherThemes[themeName].colors = + colors && typeof colors === "object" ? deepMerge(baseColors, colors) : baseColors; + + const baseLayout = extend ? baseLayouts[extend] : defaultLayoutObj; + + otherThemes[themeName].layout = + layout && typeof layout === "object" ? deepMerge(baseLayout, layout) : baseLayout; }); const light: ConfigTheme = { diff --git a/packages/hooks/use-aria-accordion-item/CHANGELOG.md b/packages/hooks/use-aria-accordion-item/CHANGELOG.md index 6ade3e90e..276cfa17c 100644 --- a/packages/hooks/use-aria-accordion-item/CHANGELOG.md +++ b/packages/hooks/use-aria-accordion-item/CHANGELOG.md @@ -1,5 +1,19 @@ # @heroui/use-aria-accordion-item +## 2.2.11 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +## 2.2.10 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + ## 2.2.9 ### Patch Changes diff --git a/packages/hooks/use-aria-accordion-item/package.json b/packages/hooks/use-aria-accordion-item/package.json index 45c606723..16cc4f211 100644 --- a/packages/hooks/use-aria-accordion-item/package.json +++ b/packages/hooks/use-aria-accordion-item/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/use-aria-accordion-item", - "version": "2.2.9", + "version": "2.2.11", "description": "Internal impl for react aria accordion item", "keywords": [ "use-aria-accordion-item" @@ -34,10 +34,10 @@ "postpack": "clean-package restore" }, "dependencies": { - "@react-aria/button": "3.12.1", - "@react-aria/focus": "3.20.1", - "@react-stately/tree": "3.8.8", - "@react-types/shared": "3.28.0" + "@react-aria/button": "3.13.0", + "@react-aria/focus": "3.20.2", + "@react-stately/tree": "3.8.9", + "@react-types/shared": "3.29.0" }, "peerDependencies": { "react": ">=18 || >=19.0.0-rc.0" @@ -55,4 +55,4 @@ "esm" ] } -} +} \ No newline at end of file diff --git a/packages/hooks/use-aria-accordion/CHANGELOG.md b/packages/hooks/use-aria-accordion/CHANGELOG.md index 259e47c88..14f245837 100644 --- a/packages/hooks/use-aria-accordion/CHANGELOG.md +++ b/packages/hooks/use-aria-accordion/CHANGELOG.md @@ -1,5 +1,19 @@ # @heroui/use-aria-accordion +## 2.2.11 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +## 2.2.10 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + ## 2.2.9 ### Patch Changes diff --git a/packages/hooks/use-aria-accordion/package.json b/packages/hooks/use-aria-accordion/package.json index 7288c5eb6..a8fe63895 100644 --- a/packages/hooks/use-aria-accordion/package.json +++ b/packages/hooks/use-aria-accordion/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/use-aria-accordion", - "version": "2.2.9", + "version": "2.2.11", "description": "React-aria useAccordion hooks with custom implementations", "keywords": [ "use-aria-accordion" @@ -34,13 +34,13 @@ "postpack": "clean-package restore" }, "dependencies": { - "@react-aria/button": "3.12.1", - "@react-aria/focus": "3.20.1", - "@react-aria/selection": "3.23.1", - "@react-aria/utils": "3.28.1", - "@react-stately/tree": "3.8.8", + "@react-aria/button": "3.13.0", + "@react-aria/focus": "3.20.2", + "@react-aria/selection": "3.24.0", + "@react-aria/utils": "3.28.2", + "@react-stately/tree": "3.8.9", "@react-types/accordion": "3.0.0-alpha.26", - "@react-types/shared": "3.28.0" + "@react-types/shared": "3.29.0" }, "peerDependencies": { "react": ">=18 || >=19.0.0-rc.0" @@ -58,4 +58,4 @@ "esm" ] } -} +} \ No newline at end of file diff --git a/packages/hooks/use-aria-button/CHANGELOG.md b/packages/hooks/use-aria-button/CHANGELOG.md index c1f762f25..b5c8a5df5 100644 --- a/packages/hooks/use-aria-button/CHANGELOG.md +++ b/packages/hooks/use-aria-button/CHANGELOG.md @@ -1,5 +1,25 @@ # @heroui/use-aria-button +## 2.2.13 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/shared-utils@2.1.9 + +## 2.2.12 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + ## 2.2.11 ### Patch Changes diff --git a/packages/hooks/use-aria-button/package.json b/packages/hooks/use-aria-button/package.json index 25083a561..425620198 100644 --- a/packages/hooks/use-aria-button/package.json +++ b/packages/hooks/use-aria-button/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/use-aria-button", - "version": "2.2.11", + "version": "2.2.13", "description": "Internal hook to handle button a11y and events, this is based on react-aria button hook but without the onClick warning", "keywords": [ "use-aria-button" @@ -38,11 +38,11 @@ }, "dependencies": { "@heroui/shared-utils": "workspace:*", - "@react-aria/focus": "3.20.1", - "@react-aria/interactions": "3.24.1", - "@react-aria/utils": "3.28.1", - "@react-types/button": "3.11.0", - "@react-types/shared": "3.28.0" + "@react-aria/focus": "3.20.2", + "@react-aria/interactions": "3.25.0", + "@react-aria/utils": "3.28.2", + "@react-types/button": "3.12.0", + "@react-types/shared": "3.29.0" }, "devDependencies": { "clean-package": "2.2.0", @@ -57,4 +57,4 @@ "esm" ] } -} +} \ No newline at end of file diff --git a/packages/hooks/use-aria-button/src/index.ts b/packages/hooks/use-aria-button/src/index.ts index 2b4f733a5..4ea5bf070 100644 --- a/packages/hooks/use-aria-button/src/index.ts +++ b/packages/hooks/use-aria-button/src/index.ts @@ -10,9 +10,8 @@ import { RefObject, } from "react"; import {AriaButtonProps as BaseAriaButtonProps} from "@react-types/button"; -import {DOMAttributes, PressEvent} from "@react-types/shared"; -import {warn} from "@heroui/shared-utils"; -import {filterDOMProps, isAndroid, isIOS, mergeProps} from "@react-aria/utils"; +import {DOMAttributes} from "@react-types/shared"; +import {filterDOMProps, mergeProps} from "@react-aria/utils"; import {useFocusable} from "@react-aria/focus"; import {usePress} from "@react-aria/interactions"; @@ -76,14 +75,12 @@ export function useAriaButton( preventFocusOnPress, // @ts-ignore - undocumented allowFocusWhenDisabled, - // @ts-ignore - onClick: deprecatedOnClick, + onClick, href, target, rel, type = "button", allowTextSelectionOnPress, - role, } = props; let additionalProps; @@ -104,38 +101,12 @@ export function useAriaButton( }; } - let isMobile = isIOS() || isAndroid(); - - if ( - deprecatedOnClick && - typeof deprecatedOnClick === "function" && - // bypass since onClick is passed from internally - role !== "link" && - // bypass since onClick is passed from useDisclosure's `getButtonProps` internally - !(props.hasOwnProperty("aria-expanded") && props.hasOwnProperty("aria-controls")) - ) { - warn( - "onClick is deprecated, please use onPress instead. See: https://github.com/heroui-inc/heroui/issues/4292", - "useButton", - ); - } - - const handlePress = (e: PressEvent) => { - // On mobile devices, we need to call onClick directly since react-aria's usePress hook - // only supports onPress events as of https://github.com/adobe/react-spectrum/commit/1d5def8a - // This ensures backwards compatibility for onClick handlers on mobile - // See: https://github.com/heroui-inc/heroui/issues/4292 - if (isMobile) { - deprecatedOnClick?.(e as unknown as React.MouseEvent); - } - onPress?.(e); - }; - let {pressProps, isPressed} = usePress({ + onClick, onPressStart, onPressEnd, onPressChange, - onPress: handlePress, + onPress, isDisabled, preventFocusOnPress, allowTextSelectionOnPress, @@ -161,14 +132,6 @@ export function useAriaButton( "aria-controls": props["aria-controls"], "aria-pressed": props["aria-pressed"], "aria-current": props["aria-current"], - onClick: (e: React.MouseEvent) => { - if (type === "button" && isMobile) { - // Avoid firing onClick event twice since it's handled in handlePress - return; - } - - deprecatedOnClick?.(e); - }, }), }; } diff --git a/packages/hooks/use-aria-link/CHANGELOG.md b/packages/hooks/use-aria-link/CHANGELOG.md index 80a8698ff..2cfcade80 100644 --- a/packages/hooks/use-aria-link/CHANGELOG.md +++ b/packages/hooks/use-aria-link/CHANGELOG.md @@ -1,5 +1,25 @@ # @heroui/use-aria-link +## 2.2.14 + +### Patch Changes + +- [`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf) Thanks [@jrgarciadev](https://github.com/jrgarciadev)! - add default value for custom theme properties (#5194) + + v2.7.7 + +- Updated dependencies [[`b9e94a2`](https://github.com/heroui-inc/heroui/commit/b9e94a21518ba18447603680055c3a7dad8372bf)]: + - @heroui/shared-utils@2.1.9 + +## 2.2.13 + +### Patch Changes + +- [#5186](https://github.com/heroui-inc/heroui/pull/5186) [`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e) Thanks [@wingkwong](https://github.com/wingkwong)! - RA version bump (#5186) + +- Updated dependencies [[`500ed77`](https://github.com/heroui-inc/heroui/commit/500ed771e25b08038fdc0d9401bfac31a2d68c3e)]: + - @heroui/shared-utils@2.1.8 + ## 2.2.12 ### Patch Changes diff --git a/packages/hooks/use-aria-link/package.json b/packages/hooks/use-aria-link/package.json index 9b16e3cd0..cb36063a5 100644 --- a/packages/hooks/use-aria-link/package.json +++ b/packages/hooks/use-aria-link/package.json @@ -1,6 +1,6 @@ { "name": "@heroui/use-aria-link", - "version": "2.2.12", + "version": "2.2.14", "description": "Internal hook to handle link a11y and events, this is based on react-aria link hook but without the onClick warning", "keywords": [ "use-aria-link" @@ -38,11 +38,11 @@ }, "dependencies": { "@heroui/shared-utils": "workspace:*", - "@react-aria/focus": "3.20.1", - "@react-aria/interactions": "3.24.1", - "@react-aria/utils": "3.28.1", - "@react-types/link": "3.5.11", - "@react-types/shared": "3.28.0" + "@react-aria/focus": "3.20.2", + "@react-aria/interactions": "3.25.0", + "@react-aria/utils": "3.28.2", + "@react-types/link": "3.6.0", + "@react-types/shared": "3.29.0" }, "devDependencies": { "clean-package": "2.2.0", @@ -57,4 +57,4 @@ "esm" ] } -} +} \ No newline at end of file diff --git a/packages/hooks/use-aria-link/src/index.ts b/packages/hooks/use-aria-link/src/index.ts index 8bcf86442..4d65ed9e5 100644 --- a/packages/hooks/use-aria-link/src/index.ts +++ b/packages/hooks/use-aria-link/src/index.ts @@ -1,16 +1,13 @@ import {AriaLinkProps} from "@react-types/link"; -import {DOMAttributes, FocusableElement, PressEvent} from "@react-types/shared"; +import {DOMAttributes, FocusableElement} from "@react-types/shared"; import { filterDOMProps, mergeProps, useRouter, shouldClientNavigate, useLinkProps, - isAndroid, - isIOS, } from "@react-aria/utils"; import {RefObject} from "react"; -import {warn} from "@heroui/shared-utils"; import {useFocusable} from "@react-aria/focus"; import {usePress} from "@react-aria/interactions"; @@ -19,10 +16,6 @@ export interface AriaLinkOptions extends AriaLinkProps { "aria-current"?: DOMAttributes["aria-current"]; /** Whether the link is disabled. */ isDisabled?: boolean; - /** The role of the element */ - role?: string; - /** The type of the element, e.g. 'button' */ - type?: string; /** * The HTML element used to render the link, e.g. 'a', or 'span'. * @default 'a' @@ -48,11 +41,8 @@ export function useAriaLink(props: AriaLinkOptions, ref: RefObject internally - type !== "button" && - // bypass since onClick is passed from