Merge pull request #5251 from heroui-inc/canary

v2.7.8
This commit is contained in:
Junior Garcia 2025-04-28 19:15:08 -03:00 committed by GitHub
commit 2cbc68965f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
199 changed files with 3850 additions and 2025 deletions

View File

@ -296,7 +296,7 @@ export default function Page() {
return filteredUsers; return filteredUsers;
}, [users, filterValue, statusFilter]); }, [users, filterValue, statusFilter]);
const pages = Math.ceil(filteredItems.length / rowsPerPage); const pages = Math.ceil(filteredItems.length / rowsPerPage) || 1;
const items = useMemo(() => { const items = useMemo(() => {
const start = (page - 1) * rowsPerPage; const start = (page - 1) * rowsPerPage;

View File

@ -52,6 +52,6 @@ export const parseDependencies = (content: string) => {
}; };
const fixedVersions = { const fixedVersions = {
"@internationalized/date": "3.7.0", "@internationalized/date": "3.8.0",
"@react-aria/i18n": "3.12.7", "@react-aria/i18n": "3.12.8",
}; };

View File

@ -385,7 +385,7 @@ export default function App() {
return filteredUsers; return filteredUsers;
}, [users, filterValue, statusFilter]); }, [users, filterValue, statusFilter]);
const pages = Math.ceil(filteredItems.length / rowsPerPage); const pages = Math.ceil(filteredItems.length / rowsPerPage) || 1;
const items = React.useMemo(() => { const items = React.useMemo(() => {
const start = (page - 1) * rowsPerPage; const start = (page - 1) * rowsPerPage;

View File

@ -398,7 +398,7 @@ export default function App() {
return filteredUsers; return filteredUsers;
}, [users, filterValue, statusFilter]); }, [users, filterValue, statusFilter]);
const pages = Math.ceil(filteredItems.length / rowsPerPage); const pages = Math.ceil(filteredItems.length / rowsPerPage) || 1;
const items = React.useMemo(() => { const items = React.useMemo(() => {
const start = (page - 1) * rowsPerPage; const start = (page - 1) * rowsPerPage;

View File

@ -61,7 +61,7 @@ heroui init [projectName] [options]
#### Init 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`) - `-p --package [string]` The package manager to use for the new project (default: `npm`)
##### Example ##### Example
@ -79,9 +79,11 @@ HeroUI CLI v0.2.1
┌ Create a new project ┌ Create a new project
◇ Select a template (Enter to select) ◇ Select a template (Enter to select)
│ ● App (A Next.js 14 with app 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 14 with pages 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.) │ ○ 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) ◇ New project name (Enter to skip with default name)
│ my-heroui-app │ my-heroui-app

View File

@ -104,9 +104,9 @@ in multiple formats into `ZonedDateTime` objects.
<PackageManagers <PackageManagers
commands={{ commands={{
npm: "npm install @internationalized/date@3.7.0", npm: "npm install @internationalized/date@3.8.0",
yarn: "yarn add @internationalized/date@3.7.0", yarn: "yarn add @internationalized/date@3.8.0",
pnpm: "pnpm add @internationalized/date@3.7.0", pnpm: "pnpm add @internationalized/date@3.8.0",
}} }}
/> />
@ -129,9 +129,9 @@ in multiple formats into `ZonedDateTime` objects.
<PackageManagers <PackageManagers
commands={{ commands={{
npm: "npm install @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", npm: "npm install @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
yarn: "yarn add @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", yarn: "yarn add @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
pnpm: "pnpm add @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", pnpm: "pnpm add @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
}} }}
/> />
@ -153,9 +153,9 @@ in multiple formats into `ZonedDateTime` objects.
<PackageManagers <PackageManagers
commands={{ commands={{
npm: "npm install @internationalized/date@3.7.0", npm: "npm install @internationalized/date@3.8.0",
yarn: "yarn add @internationalized/date@3.7.0", yarn: "yarn add @internationalized/date@3.8.0",
pnpm: "pnpm add @internationalized/date@3.7.0", pnpm: "pnpm add @internationalized/date@3.8.0",
}} }}
/> />
@ -177,9 +177,9 @@ in multiple formats into `ZonedDateTime` objects.
<PackageManagers <PackageManagers
commands={{ commands={{
npm: "npm install @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", npm: "npm install @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
yarn: "yarn add @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", yarn: "yarn add @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
pnpm: "pnpm add @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", pnpm: "pnpm add @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
}} }}
/> />
@ -200,9 +200,9 @@ in multiple formats into `ZonedDateTime` objects.
<PackageManagers <PackageManagers
commands={{ commands={{
npm: "npm install @internationalized/date@3.7.0", npm: "npm install @internationalized/date@3.8.0",
yarn: "yarn add @internationalized/date@3.7.0", yarn: "yarn add @internationalized/date@3.8.0",
pnpm: "pnpm add @internationalized/date@3.7.0", pnpm: "pnpm add @internationalized/date@3.8.0",
}} }}
/> />
@ -223,9 +223,9 @@ in multiple formats into `ZonedDateTime` objects.
<PackageManagers <PackageManagers
commands={{ commands={{
npm: "npm install @internationalized/date@3.7.0", npm: "npm install @internationalized/date@3.8.0",
yarn: "yarn add @internationalized/date@3.7.0", yarn: "yarn add @internationalized/date@3.8.0",
pnpm: "pnpm add @internationalized/date@3.7.0", pnpm: "pnpm add @internationalized/date@3.8.0",
}} }}
/> />

View File

@ -119,9 +119,9 @@ in multiple formats into `ZonedDateTime` objects.
<PackageManagers <PackageManagers
commands={{ commands={{
npm: "npm install @internationalized/date@3.7.0", npm: "npm install @internationalized/date@3.8.0",
yarn: "yarn add @internationalized/date@3.7.0", yarn: "yarn add @internationalized/date@3.8.0",
pnpm: "pnpm add @internationalized/date@3.7.0", pnpm: "pnpm add @internationalized/date@3.8.0",
}} }}
/> />
@ -144,9 +144,9 @@ in multiple formats into `ZonedDateTime` objects.
<PackageManagers <PackageManagers
commands={{ commands={{
npm: "npm install @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", npm: "npm install @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
yarn: "yarn add @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", yarn: "yarn add @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
pnpm: "pnpm add @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", pnpm: "pnpm add @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
}} }}
/> />
@ -168,9 +168,9 @@ in multiple formats into `ZonedDateTime` objects.
<PackageManagers <PackageManagers
commands={{ commands={{
npm: "npm install @internationalized/date@3.7.0", npm: "npm install @internationalized/date@3.8.0",
yarn: "yarn add @internationalized/date@3.7.0", yarn: "yarn add @internationalized/date@3.8.0",
pnpm: "pnpm add @internationalized/date@3.7.0", pnpm: "pnpm add @internationalized/date@3.8.0",
}} }}
/> />
@ -192,9 +192,9 @@ in multiple formats into `ZonedDateTime` objects.
<PackageManagers <PackageManagers
commands={{ commands={{
npm: "npm install @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", npm: "npm install @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
yarn: "yarn add @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", yarn: "yarn add @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
pnpm: "pnpm add @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", pnpm: "pnpm add @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
}} }}
/> />
@ -214,9 +214,9 @@ in multiple formats into `ZonedDateTime` objects.
<PackageManagers <PackageManagers
commands={{ commands={{
npm: "npm install @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", npm: "npm install @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
yarn: "yarn add @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", yarn: "yarn add @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
pnpm: "pnpm add @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", pnpm: "pnpm add @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
}} }}
/> />
@ -252,9 +252,9 @@ in multiple formats into `ZonedDateTime` objects.
<PackageManagers <PackageManagers
commands={{ commands={{
npm: "npm install @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", npm: "npm install @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
yarn: "yarn add @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", yarn: "yarn add @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
pnpm: "pnpm add @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", pnpm: "pnpm add @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
}} }}
/> />

View File

@ -142,9 +142,9 @@ in multiple formats into `ZonedDateTime` objects.
<PackageManagers <PackageManagers
commands={{ commands={{
npm: "npm install @internationalized/date@3.7.0", npm: "npm install @internationalized/date@3.8.0",
yarn: "yarn add @internationalized/date@3.7.0", yarn: "yarn add @internationalized/date@3.8.0",
pnpm: "pnpm add @internationalized/date@3.7.0", pnpm: "pnpm add @internationalized/date@3.8.0",
}} }}
/> />
@ -167,9 +167,9 @@ in multiple formats into `ZonedDateTime` objects.
<PackageManagers <PackageManagers
commands={{ commands={{
npm: "npm install @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", npm: "npm install @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
yarn: "yarn add @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", yarn: "yarn add @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
pnpm: "pnpm add @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", pnpm: "pnpm add @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
}} }}
/> />
@ -191,9 +191,9 @@ in multiple formats into `ZonedDateTime` objects.
<PackageManagers <PackageManagers
commands={{ commands={{
npm: "npm install @internationalized/date@3.7.0", npm: "npm install @internationalized/date@3.8.0",
yarn: "yarn add @internationalized/date@3.7.0", yarn: "yarn add @internationalized/date@3.8.0",
pnpm: "pnpm add @internationalized/date@3.7.0", pnpm: "pnpm add @internationalized/date@3.8.0",
}} }}
/> />
@ -215,9 +215,9 @@ in multiple formats into `ZonedDateTime` objects.
<PackageManagers <PackageManagers
commands={{ commands={{
npm: "npm install @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", npm: "npm install @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
yarn: "yarn add @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", yarn: "yarn add @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
pnpm: "pnpm add @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", pnpm: "pnpm add @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
}} }}
/> />
@ -237,9 +237,9 @@ in multiple formats into `ZonedDateTime` objects.
<PackageManagers <PackageManagers
commands={{ commands={{
npm: "npm install @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", npm: "npm install @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
yarn: "yarn add @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", yarn: "yarn add @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
pnpm: "pnpm add @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", pnpm: "pnpm add @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
}} }}
/> />
@ -262,9 +262,9 @@ in multiple formats into `ZonedDateTime` objects.
<PackageManagers <PackageManagers
commands={{ commands={{
npm: "npm install @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", npm: "npm install @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
yarn: "yarn add @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", yarn: "yarn add @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
pnpm: "pnpm add @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", pnpm: "pnpm add @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
}} }}
/> />
@ -282,9 +282,9 @@ in multiple formats into `ZonedDateTime` objects.
<PackageManagers <PackageManagers
commands={{ commands={{
npm: "npm install @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", npm: "npm install @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
yarn: "yarn add @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", yarn: "yarn add @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
pnpm: "pnpm add @internationalized/date@3.7.0 @react-aria/i18n@3.12.7", pnpm: "pnpm add @internationalized/date@3.8.0 @react-aria/i18n@3.12.8",
}} }}
/> />

View File

@ -37,20 +37,20 @@
"@heroui/use-is-mobile": "workspace:*", "@heroui/use-is-mobile": "workspace:*",
"@iconify/icons-solar": "1.2.3", "@iconify/icons-solar": "1.2.3",
"@iconify/react": "5.0.2", "@iconify/react": "5.0.2",
"@internationalized/date": "3.7.0", "@internationalized/date": "3.8.0",
"@mapbox/rehype-prism": "^0.6.0", "@mapbox/rehype-prism": "^0.6.0",
"@radix-ui/react-scroll-area": "^1.0.5", "@radix-ui/react-scroll-area": "^1.0.5",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/i18n": "3.12.7", "@react-aria/i18n": "3.12.8",
"@react-aria/interactions": "3.24.1", "@react-aria/interactions": "3.25.0",
"@react-aria/selection": "3.23.1", "@react-aria/selection": "3.24.0",
"@react-aria/ssr": "3.9.7", "@react-aria/ssr": "3.9.8",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-aria/virtualizer": "4.1.3", "@react-aria/virtualizer": "4.1.4",
"@react-aria/visually-hidden": "3.8.21", "@react-aria/visually-hidden": "3.8.22",
"@react-stately/data": "3.12.2", "@react-stately/data": "3.12.3",
"@react-stately/layout": "4.2.1", "@react-stately/layout": "4.2.2",
"@react-stately/tree": "3.8.8", "@react-stately/tree": "3.8.9",
"@rehooks/local-storage": "^2.4.5", "@rehooks/local-storage": "^2.4.5",
"@stackblitz/sdk": "^1.11.0", "@stackblitz/sdk": "^1.11.0",
"@tanstack/react-virtual": "3.11.3", "@tanstack/react-virtual": "3.11.3",
@ -111,9 +111,9 @@
"@docusaurus/utils": "2.0.0-beta.3", "@docusaurus/utils": "2.0.0-beta.3",
"@next/bundle-analyzer": "14.3.0-canary.43", "@next/bundle-analyzer": "14.3.0-canary.43",
"@next/env": "14.3.0-canary.43", "@next/env": "14.3.0-canary.43",
"@react-types/calendar": "3.6.1", "@react-types/calendar": "3.7.0",
"@react-types/datepicker": "3.11.0", "@react-types/datepicker": "3.12.0",
"@react-types/shared": "3.28.0", "@react-types/shared": "3.29.0",
"@tailwindcss/typography": "^0.5.9", "@tailwindcss/typography": "^0.5.9",
"@types/canvas-confetti": "^1.4.2", "@types/canvas-confetti": "^1.4.2",
"@types/marked": "^5.0.0", "@types/marked": "^5.0.0",

View File

@ -1,5 +1,40 @@
# @heroui/accordion # @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 ## 2.2.14
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
import "@testing-library/jest-dom"; import "@testing-library/jest-dom";
import * as React from "react"; 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 {focus, shouldIgnoreReactWarning, spy} from "@heroui/test-utils";
import userEvent, {UserEvent} from "@testing-library/user-event"; import userEvent, {UserEvent} from "@testing-library/user-event";
import {Input} from "@heroui/input"; import {Input} from "@heroui/input";
@ -267,7 +267,7 @@ describe("Accordion", () => {
expect(button).toHaveAttribute("aria-expanded", "true"); expect(button).toHaveAttribute("aria-expanded", "true");
}); });
it("should support keepContentMounted", async () => { it("should support keepContentMounted={true}", async () => {
const wrapper = render( const wrapper = render(
<Accordion keepContentMounted> <Accordion keepContentMounted>
<AccordionItem key="1" data-testid="item-1" title="Accordion Item 1"> <AccordionItem key="1" data-testid="item-1" title="Accordion Item 1">
@ -289,8 +289,98 @@ describe("Accordion", () => {
const button2 = item2.querySelector("button") as HTMLElement; const button2 = item2.querySelector("button") as HTMLElement;
await user.click(button2); 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 keepContentMounted={false}>
<AccordionItem key="1" data-testid="item-1" title="Accordion Item 1">
Accordion Item 1 description
</AccordionItem>
<AccordionItem key="2" data-testid="item-2" title="Accordion Item 2">
Accordion Item 2 description
</AccordionItem>
</Accordion>,
);
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 disableAnimation keepContentMounted>
<AccordionItem key="1" data-testid="item-1" title="Accordion Item 1">
Accordion Item 1 description
</AccordionItem>
<AccordionItem key="2" data-testid="item-2" title="Accordion Item 2">
Accordion Item 2 description
</AccordionItem>
</Accordion>,
);
const item1 = wrapper.getByTestId("item-1");
const button = item1.querySelector("button") as HTMLElement;
expect(item1.querySelector("[role='region']")).toBeInTheDocument(); 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 disableAnimation keepContentMounted={false}>
<AccordionItem key="1" data-testid="item-1" title="Accordion Item 1">
Accordion Item 1 description
</AccordionItem>
<AccordionItem key="2" data-testid="item-2" title="Accordion Item 2">
Accordion Item 2 description
</AccordionItem>
</Accordion>,
);
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 () => { it("should handle arrow key navigation within Input inside AccordionItem", async () => {

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/accordion", "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.", "description": "Collapse display a list of high-level options that can expand/collapse to reveal more information.",
"keywords": [ "keywords": [
"react", "react",
@ -55,13 +55,13 @@
"@heroui/divider": "workspace:*", "@heroui/divider": "workspace:*",
"@heroui/use-aria-accordion": "workspace:*", "@heroui/use-aria-accordion": "workspace:*",
"@heroui/dom-animation": "workspace:*", "@heroui/dom-animation": "workspace:*",
"@react-aria/interactions": "3.24.1", "@react-aria/interactions": "3.25.0",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-stately/tree": "3.8.8", "@react-stately/tree": "3.8.9",
"@react-aria/button": "3.12.1", "@react-aria/button": "3.13.0",
"@react-types/accordion": "3.0.0-alpha.26", "@react-types/accordion": "3.0.0-alpha.26",
"@react-types/shared": "3.28.0" "@react-types/shared": "3.29.0"
}, },
"devDependencies": { "devDependencies": {
"@heroui/theme": "workspace:*", "@heroui/theme": "workspace:*",

View File

@ -54,7 +54,11 @@ const AccordionItem = forwardRef<"button", AccordionItemProps>((props, ref) => {
const content = useMemo(() => { const content = useMemo(() => {
if (disableAnimation) { if (disableAnimation) {
return <div {...getContentProps()}>{children}</div>; if (keepContentMounted) {
return <div {...getContentProps()}>{children}</div>;
}
return isOpen && <div {...getContentProps()}>{children}</div>;
} }
const transitionVariants: Variants = { const transitionVariants: Variants = {

View File

@ -3,7 +3,7 @@ import type {AccordionItemVariantProps, AccordionItemSlots, SlotsToClasses} from
import {As} from "@heroui/system"; import {As} from "@heroui/system";
import {ItemProps, BaseItem} from "@heroui/aria-utils"; import {ItemProps, BaseItem} from "@heroui/aria-utils";
import {FocusableProps, PressEvents} from "@react-types/shared"; import {FocusableProps, PressEvents} from "@react-types/shared";
import {ReactNode, MouseEventHandler} from "react"; import {ReactNode} from "react";
import {HTMLMotionProps} from "framer-motion"; import {HTMLMotionProps} from "framer-motion";
export type AccordionItemIndicatorProps = { export type AccordionItemIndicatorProps = {
@ -61,7 +61,7 @@ export interface Props<T extends object = {}>
* The native button click event handler. * The native button click event handler.
* @deprecated - use `onPress` instead. * @deprecated - use `onPress` instead.
*/ */
onClick?: MouseEventHandler<HTMLButtonElement>; onClick?: PressEvents["onClick"];
/** /**
* Classname or List of classes to change the classNames of the element. * Classname or List of classes to change the classNames of the element.
* if `className` is passed, it will be added to the base slot. * if `className` is passed, it will be added to the base slot.

View File

@ -1,5 +1,30 @@
# @heroui/alert # @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 ## 2.2.17
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/alert", "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.", "description": "Alerts are temporary notifications that provide concise feedback about an action or event.",
"keywords": [ "keywords": [
"alert" "alert"
@ -47,8 +47,8 @@
"@heroui/react-utils": "workspace:*", "@heroui/react-utils": "workspace:*",
"@heroui/shared-icons": "workspace:*", "@heroui/shared-icons": "workspace:*",
"@heroui/shared-utils": "workspace:*", "@heroui/shared-utils": "workspace:*",
"@react-stately/utils": "3.10.5", "@react-stately/utils": "3.10.6",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@heroui/button": "workspace:*" "@heroui/button": "workspace:*"
}, },
"devDependencies": { "devDependencies": {

View File

@ -1,5 +1,47 @@
# @heroui/autocomplete # @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 ## 2.3.18
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/autocomplete", "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.", "description": "An autocomplete combines a text input with a listbox, allowing users to filter a list of options to items matching a query.",
"keywords": [ "keywords": [
"autocomplete" "autocomplete"
@ -54,15 +54,15 @@
"@heroui/spinner": "workspace:*", "@heroui/spinner": "workspace:*",
"@heroui/use-aria-button": "workspace:*", "@heroui/use-aria-button": "workspace:*",
"@heroui/use-safe-layout-effect": "workspace:*", "@heroui/use-safe-layout-effect": "workspace:*",
"@react-aria/combobox": "3.12.1", "@react-aria/combobox": "3.12.2",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/i18n": "3.12.7", "@react-aria/i18n": "3.12.8",
"@react-aria/interactions": "3.24.1", "@react-aria/interactions": "3.25.0",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-aria/visually-hidden": "3.8.21", "@react-aria/visually-hidden": "3.8.22",
"@react-stately/combobox": "3.10.3", "@react-stately/combobox": "3.10.4",
"@react-types/combobox": "3.13.3", "@react-types/combobox": "3.13.4",
"@react-types/shared": "3.28.0" "@react-types/shared": "3.29.0"
}, },
"devDependencies": { "devDependencies": {
"@heroui/avatar": "workspace:*", "@heroui/avatar": "workspace:*",
@ -72,7 +72,7 @@
"@heroui/system": "workspace:*", "@heroui/system": "workspace:*",
"@heroui/theme": "workspace:*", "@heroui/theme": "workspace:*",
"@heroui/use-infinite-scroll": "workspace:*", "@heroui/use-infinite-scroll": "workspace:*",
"@react-stately/data": "3.12.2", "@react-stately/data": "3.12.3",
"clean-package": "2.2.0", "clean-package": "2.2.0",
"framer-motion": "11.9.0", "framer-motion": "11.9.0",
"react": "18.3.0", "react": "18.3.0",
@ -80,4 +80,4 @@
"react-hook-form": "^7.51.3" "react-hook-form": "^7.51.3"
}, },
"clean-package": "../../../clean-package.config.json" "clean-package": "../../../clean-package.config.json"
} }

View File

@ -1,5 +1,29 @@
# @heroui/avatar # @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 ## 2.2.13
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/avatar", "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.", "description": "The Avatar component is used to represent a user, and displays the profile picture, initials or fallback icon.",
"keywords": [ "keywords": [
"avatar" "avatar"
@ -43,9 +43,9 @@
"@heroui/shared-utils": "workspace:*", "@heroui/shared-utils": "workspace:*",
"@heroui/react-utils": "workspace:*", "@heroui/react-utils": "workspace:*",
"@heroui/use-image": "workspace:*", "@heroui/use-image": "workspace:*",
"@react-aria/interactions": "3.24.1", "@react-aria/interactions": "3.25.0",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/utils": "3.28.1" "@react-aria/utils": "3.28.2"
}, },
"devDependencies": { "devDependencies": {
"@heroui/theme": "workspace:*", "@heroui/theme": "workspace:*",

View File

@ -1,5 +1,25 @@
# @heroui/badge # @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 ## 2.2.10
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/badge", "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.", "description": "Badges are used as a small numerical value or status descriptor for UI elements.",
"keywords": [ "keywords": [
"badge" "badge"

View File

@ -1,5 +1,30 @@
# @heroui/breadcrumbs # @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 ## 2.2.13
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/breadcrumbs", "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.", "description": "Breadcrumbs display a hierarchy of links to the current page or resource in an application.",
"keywords": [ "keywords": [
"breadcrumbs" "breadcrumbs"
@ -43,11 +43,11 @@
"@heroui/react-utils": "workspace:*", "@heroui/react-utils": "workspace:*",
"@heroui/shared-utils": "workspace:*", "@heroui/shared-utils": "workspace:*",
"@heroui/shared-icons": "workspace:*", "@heroui/shared-icons": "workspace:*",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/breadcrumbs": "3.5.22", "@react-aria/breadcrumbs": "3.5.23",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-types/breadcrumbs": "3.7.11", "@react-types/breadcrumbs": "3.7.12",
"@react-types/shared": "3.28.0" "@react-types/shared": "3.29.0"
}, },
"devDependencies": { "devDependencies": {
"@heroui/theme": "workspace:*", "@heroui/theme": "workspace:*",

View File

@ -1,4 +1,4 @@
import {cloneElement, useMemo} from "react"; import {cloneElement, isValidElement, useMemo} from "react";
import {forwardRef} from "@heroui/system"; import {forwardRef} from "@heroui/system";
import {ChevronRightIcon, EllipsisIcon} from "@heroui/shared-icons"; import {ChevronRightIcon, EllipsisIcon} from "@heroui/shared-icons";
import {warn} from "@heroui/shared-utils"; import {warn} from "@heroui/shared-utils";
@ -90,7 +90,7 @@ const Breadcrumbs = forwardRef<"div", BreadcrumbsProps>((props, ref) => {
return [ return [
...items.slice(0, itemsBeforeCollapse), ...items.slice(0, itemsBeforeCollapse),
ellipsisItem, isValidElement(ellipsisItem) && cloneElement(ellipsisItem, {key: "ellipsis-item"}),
...items.slice(items.length - itemsAfterCollapse, items.length), ...items.slice(items.length - itemsAfterCollapse, items.length),
]; ];
}, [ }, [

View File

@ -1,5 +1,35 @@
# @heroui/button # @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 ## 2.2.17
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/button", "name": "@heroui/button",
"version": "2.2.17", "version": "2.2.19",
"description": "Buttons allow users to perform actions and choose with a single tap.", "description": "Buttons allow users to perform actions and choose with a single tap.",
"keywords": [ "keywords": [
"button" "button"
@ -46,12 +46,12 @@
"@heroui/use-aria-button": "workspace:*", "@heroui/use-aria-button": "workspace:*",
"@heroui/ripple": "workspace:*", "@heroui/ripple": "workspace:*",
"@heroui/spinner": "workspace:*", "@heroui/spinner": "workspace:*",
"@react-aria/button": "3.12.1", "@react-aria/button": "3.13.0",
"@react-aria/interactions": "3.24.1", "@react-aria/interactions": "3.25.0",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-types/shared": "3.28.0", "@react-types/shared": "3.29.0",
"@react-types/button": "3.11.0" "@react-types/button": "3.12.0"
}, },
"devDependencies": { "devDependencies": {
"@heroui/theme": "workspace:*", "@heroui/theme": "workspace:*",

View File

@ -200,7 +200,6 @@ export function useButton(props: UseButtonProps) {
// @ts-ignore // @ts-ignore
"aria-hidden": true, "aria-hidden": true,
focusable: false, focusable: false,
tabIndex: -1,
}) })
: null; : null;

View File

@ -1,5 +1,36 @@
# @heroui/calendar # @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 ## 2.2.17
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/calendar", "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.", "description": "A calendar displays one or more date grids and allows users to select a single date.",
"keywords": [ "keywords": [
"calendar" "calendar"
@ -48,18 +48,18 @@
"@heroui/use-aria-button": "workspace:*", "@heroui/use-aria-button": "workspace:*",
"@heroui/button": "workspace:*", "@heroui/button": "workspace:*",
"@heroui/dom-animation": "workspace:*", "@heroui/dom-animation": "workspace:*",
"@internationalized/date": "3.7.0", "@internationalized/date": "3.8.0",
"@react-aria/calendar": "3.7.2", "@react-aria/calendar": "3.8.0",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/i18n": "3.12.7", "@react-aria/i18n": "3.12.8",
"@react-stately/calendar": "3.7.1", "@react-stately/calendar": "3.8.0",
"@react-types/button": "3.11.0", "@react-types/button": "3.12.0",
"@react-aria/visually-hidden": "3.8.21", "@react-aria/visually-hidden": "3.8.22",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-stately/utils": "3.10.5", "@react-stately/utils": "3.10.6",
"@react-types/calendar": "3.6.1", "@react-types/calendar": "3.7.0",
"@react-aria/interactions": "3.24.1", "@react-aria/interactions": "3.25.0",
"@react-types/shared": "3.28.0", "@react-types/shared": "3.29.0",
"scroll-into-view-if-needed": "3.0.10", "scroll-into-view-if-needed": "3.0.10",
"@types/lodash.debounce": "^4.0.7" "@types/lodash.debounce": "^4.0.7"
}, },
@ -74,4 +74,4 @@
"react-dom": "18.3.0" "react-dom": "18.3.0"
}, },
"clean-package": "../../../clean-package.config.json" "clean-package": "../../../clean-package.config.json"
} }

View File

@ -8,6 +8,7 @@ import type {ButtonProps} from "@heroui/button";
import type {SupportedCalendars} from "@heroui/system"; import type {SupportedCalendars} from "@heroui/system";
import type {CalendarState, RangeCalendarState} from "@react-stately/calendar"; import type {CalendarState, RangeCalendarState} from "@react-stately/calendar";
import type {RefObject, ReactNode} from "react"; import type {RefObject, ReactNode} from "react";
import type {CalendarIdentifier} from "@internationalized/date";
import {createCalendar, Calendar, CalendarDate, DateFormatter} from "@internationalized/date"; import {createCalendar, Calendar, CalendarDate, DateFormatter} from "@internationalized/date";
import {mapPropsVariants, useProviderContext} from "@heroui/system"; import {mapPropsVariants, useProviderContext} from "@heroui/system";
@ -196,7 +197,9 @@ export function useCalendarBase(originalProps: UseCalendarBasePropsComplete) {
const isRTL = direction === "rtl"; 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] // 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 // however, some locales such as `th-TH-u-ca-buddhist` using different calendar making the years out of bound

View File

@ -1,5 +1,31 @@
# @heroui/card # @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 ## 2.2.16
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/card", "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.", "description": "Card is a container for text, photos, and actions in the context of a single subject.",
"keywords": [ "keywords": [
"card" "card"
@ -45,11 +45,11 @@
"@heroui/react-utils": "workspace:*", "@heroui/react-utils": "workspace:*",
"@heroui/use-aria-button": "workspace:*", "@heroui/use-aria-button": "workspace:*",
"@heroui/ripple": "workspace:*", "@heroui/ripple": "workspace:*",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-aria/interactions": "3.24.1", "@react-aria/interactions": "3.25.0",
"@react-aria/button": "3.12.1", "@react-aria/button": "3.13.0",
"@react-types/shared": "3.28.0" "@react-types/shared": "3.29.0"
}, },
"devDependencies": { "devDependencies": {
"@heroui/theme": "workspace:*", "@heroui/theme": "workspace:*",

View File

@ -1,5 +1,31 @@
# @heroui/checkbox # @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 ## 2.3.16
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/checkbox", "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.", "description": "Checkboxes allow users to select multiple items from a list of individual items, or to mark one individual item as selected.",
"keywords": [ "keywords": [
"checkbox" "checkbox"
@ -45,15 +45,15 @@
"@heroui/shared-utils": "workspace:*", "@heroui/shared-utils": "workspace:*",
"@heroui/use-callback-ref": "workspace:*", "@heroui/use-callback-ref": "workspace:*",
"@heroui/use-safe-layout-effect": "workspace:*", "@heroui/use-safe-layout-effect": "workspace:*",
"@react-aria/checkbox": "3.15.3", "@react-aria/checkbox": "3.15.4",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/interactions": "3.24.1", "@react-aria/interactions": "3.25.0",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-aria/visually-hidden": "3.8.21", "@react-aria/visually-hidden": "3.8.22",
"@react-stately/checkbox": "3.6.12", "@react-stately/checkbox": "3.6.13",
"@react-stately/toggle": "3.8.2", "@react-stately/toggle": "3.8.3",
"@react-types/checkbox": "3.9.2", "@react-types/checkbox": "3.9.3",
"@react-types/shared": "3.28.0" "@react-types/shared": "3.29.0"
}, },
"devDependencies": { "devDependencies": {
"@heroui/chip": "workspace:*", "@heroui/chip": "workspace:*",
@ -68,4 +68,4 @@
"react-hook-form": "^7.51.3" "react-hook-form": "^7.51.3"
}, },
"clean-package": "../../../clean-package.config.json" "clean-package": "../../../clean-package.config.json"
} }

View File

@ -1,5 +1,28 @@
# @heroui/chip # @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 ## 2.2.13
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/chip", "name": "@heroui/chip",
"version": "2.2.13", "version": "2.2.15",
"description": "Chips help people enter information, make selections, filter content, or trigger actions.", "description": "Chips help people enter information, make selections, filter content, or trigger actions.",
"keywords": [ "keywords": [
"chip" "chip"
@ -43,10 +43,10 @@
"@heroui/shared-icons": "workspace:*", "@heroui/shared-icons": "workspace:*",
"@heroui/shared-utils": "workspace:*", "@heroui/shared-utils": "workspace:*",
"@heroui/react-utils": "workspace:*", "@heroui/react-utils": "workspace:*",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/interactions": "3.24.1", "@react-aria/interactions": "3.25.0",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-types/checkbox": "3.9.2" "@react-types/checkbox": "3.9.3"
}, },
"devDependencies": { "devDependencies": {
"@heroui/theme": "workspace:*", "@heroui/theme": "workspace:*",

View File

@ -1,5 +1,27 @@
# @heroui/code # @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 ## 2.2.12
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/code", "name": "@heroui/code",
"version": "2.2.12", "version": "2.2.14",
"description": "Code is a component used to display inline code.", "description": "Code is a component used to display inline code.",
"keywords": [ "keywords": [
"code" "code"

View File

@ -1,5 +1,29 @@
# @heroui/date-input # @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 ## 2.3.16
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/date-input", "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.", "description": "A date input allows users to enter and edit date and time values using a keyboard.",
"keywords": [ "keywords": [
"date-field" "date-field"
@ -43,13 +43,13 @@
"@heroui/form": "workspace:*", "@heroui/form": "workspace:*",
"@heroui/react-utils": "workspace:*", "@heroui/react-utils": "workspace:*",
"@heroui/shared-utils": "workspace:*", "@heroui/shared-utils": "workspace:*",
"@internationalized/date": "3.7.0", "@internationalized/date": "3.8.0",
"@react-aria/datepicker": "3.14.1", "@react-aria/datepicker": "3.14.2",
"@react-aria/i18n": "3.12.7", "@react-aria/i18n": "3.12.8",
"@react-stately/datepicker": "3.13.0", "@react-stately/datepicker": "3.14.0",
"@react-types/datepicker": "3.11.0", "@react-types/datepicker": "3.12.0",
"@react-types/shared": "3.28.0", "@react-types/shared": "3.29.0",
"@react-aria/utils": "3.28.1" "@react-aria/utils": "3.28.2"
}, },
"devDependencies": { "devDependencies": {
"@heroui/system": "workspace:*", "@heroui/system": "workspace:*",
@ -61,4 +61,4 @@
"react-dom": "18.3.0" "react-dom": "18.3.0"
}, },
"clean-package": "../../../clean-package.config.json" "clean-package": "../../../clean-package.config.json"
} }

View File

@ -6,6 +6,7 @@ import type {Calendar} from "@internationalized/date";
import type {ReactRef} from "@heroui/react-utils"; import type {ReactRef} from "@heroui/react-utils";
import type {DOMAttributes, GroupDOMAttributes} from "@react-types/shared"; import type {DOMAttributes, GroupDOMAttributes} from "@react-types/shared";
import type {DateInputGroupProps} from "./date-input-group"; import type {DateInputGroupProps} from "./date-input-group";
import type {CalendarIdentifier} from "@internationalized/date";
import {useLocale} from "@react-aria/i18n"; import {useLocale} from "@react-aria/i18n";
import {createCalendar, CalendarDate, DateFormatter} from "@internationalized/date"; import {createCalendar, CalendarDate, DateFormatter} from "@internationalized/date";
@ -122,7 +123,9 @@ export function useDateInput<T extends DateValue>(originalProps: UseDateInputPro
const {locale} = useLocale(); 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] // 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 // however, some locales such as `th-TH-u-ca-buddhist` using different calendar making the years out of bound

View File

@ -1,5 +1,40 @@
# @heroui/date-picker # @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 ## 2.3.17
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/date-picker", "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.", "description": "A date picker combines a DateInput and a Calendar popover to allow users to enter or select a date and time value.",
"keywords": [ "keywords": [
"date-picker" "date-picker"
@ -41,7 +41,7 @@
"react-dom": ">=18 || >=19.0.0-rc.0" "react-dom": ">=18 || >=19.0.0-rc.0"
}, },
"dependencies": { "dependencies": {
"@internationalized/date": "3.7.0", "@internationalized/date": "3.8.0",
"@heroui/aria-utils": "workspace:*", "@heroui/aria-utils": "workspace:*",
"@heroui/button": "workspace:*", "@heroui/button": "workspace:*",
"@heroui/calendar": "workspace:*", "@heroui/calendar": "workspace:*",
@ -51,14 +51,14 @@
"@heroui/react-utils": "workspace:*", "@heroui/react-utils": "workspace:*",
"@heroui/shared-icons": "workspace:*", "@heroui/shared-icons": "workspace:*",
"@heroui/shared-utils": "workspace:*", "@heroui/shared-utils": "workspace:*",
"@react-aria/datepicker": "3.14.1", "@react-aria/datepicker": "3.14.2",
"@react-aria/i18n": "3.12.7", "@react-aria/i18n": "3.12.8",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-stately/datepicker": "3.13.0", "@react-stately/datepicker": "3.14.0",
"@react-stately/overlays": "3.6.14", "@react-stately/overlays": "3.6.15",
"@react-stately/utils": "3.10.5", "@react-stately/utils": "3.10.6",
"@react-types/datepicker": "3.11.0", "@react-types/datepicker": "3.12.0",
"@react-types/shared": "3.28.0" "@react-types/shared": "3.29.0"
}, },
"devDependencies": { "devDependencies": {
"@heroui/radio": "workspace:*", "@heroui/radio": "workspace:*",
@ -71,4 +71,4 @@
"react-dom": "18.3.0" "react-dom": "18.3.0"
}, },
"clean-package": "../../../clean-package.config.json" "clean-package": "../../../clean-package.config.json"
} }

View File

@ -1,5 +1,28 @@
# @heroui/divider # @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 ## 2.2.11
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/divider", "name": "@heroui/divider",
"version": "2.2.11", "version": "2.2.13",
"description": ". A separator is a visual divider between two groups of content", "description": ". A separator is a visual divider between two groups of content",
"keywords": [ "keywords": [
"divider" "divider"
@ -42,7 +42,7 @@
"@heroui/shared-utils": "workspace:*", "@heroui/shared-utils": "workspace:*",
"@heroui/react-rsc-utils": "workspace:*", "@heroui/react-rsc-utils": "workspace:*",
"@heroui/system-rsc": "workspace:*", "@heroui/system-rsc": "workspace:*",
"@react-types/shared": "3.28.0" "@react-types/shared": "3.29.0"
}, },
"devDependencies": { "devDependencies": {
"@heroui/theme": "workspace:*", "@heroui/theme": "workspace:*",

View File

@ -1,5 +1,31 @@
# @heroui/drawer # @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 ## 2.2.14
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/drawer", "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.", "description": "Used to render a content that slides in from the side of the screen.",
"keywords": [ "keywords": [
"drawer" "drawer"
@ -65,4 +65,4 @@
"react-dom": "18.3.0" "react-dom": "18.3.0"
}, },
"clean-package": "../../../clean-package.config.json" "clean-package": "../../../clean-package.config.json"
} }

View File

@ -1,5 +1,33 @@
# @heroui/dropdown # @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 ## 2.3.17
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/dropdown", "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.", "description": "A dropdown displays a list of actions or options that a user can choose.",
"keywords": [ "keywords": [
"dropdown" "dropdown"
@ -46,11 +46,11 @@
"@heroui/popover": "workspace:*", "@heroui/popover": "workspace:*",
"@heroui/react-utils": "workspace:*", "@heroui/react-utils": "workspace:*",
"@heroui/shared-utils": "workspace:*", "@heroui/shared-utils": "workspace:*",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/menu": "3.18.1", "@react-aria/menu": "3.18.2",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-stately/menu": "3.9.2", "@react-stately/menu": "3.9.3",
"@react-types/menu": "3.9.15" "@react-types/menu": "3.10.0"
}, },
"devDependencies": { "devDependencies": {
"@heroui/avatar": "workspace:*", "@heroui/avatar": "workspace:*",
@ -67,4 +67,4 @@
"react-dom": "18.3.0" "react-dom": "18.3.0"
}, },
"clean-package": "../../../clean-package.config.json" "clean-package": "../../../clean-package.config.json"
} }

View File

@ -1,5 +1,31 @@
# @heroui/form # @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 ## 2.1.16
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/form", "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.", "description": "A form is a group of inputs that allows users submit data to a server and supports field validation errors.",
"keywords": [ "keywords": [
"form" "form"
@ -44,10 +44,10 @@
"@heroui/shared-utils": "workspace:*", "@heroui/shared-utils": "workspace:*",
"@heroui/system": "workspace:*", "@heroui/system": "workspace:*",
"@heroui/theme": "workspace:*", "@heroui/theme": "workspace:*",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-types/shared": "3.28.0", "@react-types/shared": "3.29.0",
"@react-stately/form": "3.1.2", "@react-stately/form": "3.1.3",
"@react-types/form": "3.7.10" "@react-types/form": "3.7.11"
}, },
"devDependencies": { "devDependencies": {
"@heroui/button": "workspace:*", "@heroui/button": "workspace:*",
@ -56,4 +56,4 @@
"react-dom": "18.3.0" "react-dom": "18.3.0"
}, },
"clean-package": "../../../clean-package.config.json" "clean-package": "../../../clean-package.config.json"
} }

View File

@ -1,5 +1,27 @@
# @heroui/image # @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 ## 2.2.10
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/image", "name": "@heroui/image",
"version": "2.2.10", "version": "2.2.12",
"description": "A simple image component", "description": "A simple image component",
"keywords": [ "keywords": [
"image" "image"

View File

@ -1,5 +1,31 @@
# @heroui/input-otp # @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 ## 2.1.16
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/input-otp", "name": "@heroui/input-otp",
"version": "2.1.16", "version": "2.1.18",
"description": "", "description": "",
"keywords": [ "keywords": [
"input-otp" "input-otp"
@ -36,20 +36,20 @@
"peerDependencies": { "peerDependencies": {
"react": ">=18", "react": ">=18",
"react-dom": ">=18", "react-dom": ">=18",
"@heroui/theme": ">=2.4.6", "@heroui/theme": ">=2.4.13",
"@heroui/system": ">=2.4.7" "@heroui/system": ">=2.4.7"
}, },
"dependencies": { "dependencies": {
"@heroui/form": "workspace:*", "@heroui/form": "workspace:*",
"@heroui/shared-utils": "workspace:*", "@heroui/shared-utils": "workspace:*",
"@heroui/react-utils": "workspace:*", "@heroui/react-utils": "workspace:*",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-aria/form": "3.0.14", "@react-aria/form": "3.0.15",
"@react-stately/utils": "3.10.5", "@react-stately/utils": "3.10.6",
"@react-stately/form": "3.1.2", "@react-stately/form": "3.1.3",
"@react-types/textfield": "3.12.0", "@react-types/textfield": "3.12.1",
"input-otp": "1.4.1", "input-otp": "1.4.1",
"@react-aria/focus": "3.20.1" "@react-aria/focus": "3.20.2"
}, },
"devDependencies": { "devDependencies": {
"@heroui/theme": "workspace:*", "@heroui/theme": "workspace:*",
@ -61,4 +61,4 @@
"react-hook-form": "^7.51.3" "react-hook-form": "^7.51.3"
}, },
"clean-package": "../../../clean-package.config.json" "clean-package": "../../../clean-package.config.json"
} }

View File

@ -1,5 +1,31 @@
# @heroui/input # @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 ## 2.4.17
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/input", "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.", "description": "The input component is designed for capturing user input within a text field.",
"keywords": [ "keywords": [
"input" "input"
@ -45,13 +45,13 @@
"@heroui/shared-icons": "workspace:*", "@heroui/shared-icons": "workspace:*",
"@heroui/shared-utils": "workspace:*", "@heroui/shared-utils": "workspace:*",
"@heroui/use-safe-layout-effect": "workspace:*", "@heroui/use-safe-layout-effect": "workspace:*",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/interactions": "3.24.1", "@react-aria/interactions": "3.25.0",
"@react-aria/textfield": "3.17.1", "@react-aria/textfield": "3.17.2",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-stately/utils": "3.10.5", "@react-stately/utils": "3.10.6",
"@react-types/shared": "3.28.0", "@react-types/shared": "3.29.0",
"@react-types/textfield": "3.12.0", "@react-types/textfield": "3.12.1",
"react-textarea-autosize": "^8.5.3" "react-textarea-autosize": "^8.5.3"
}, },
"devDependencies": { "devDependencies": {
@ -63,4 +63,4 @@
"react-hook-form": "^7.51.3" "react-hook-form": "^7.51.3"
}, },
"clean-package": "../../../clean-package.config.json" "clean-package": "../../../clean-package.config.json"
} }

View File

@ -1,5 +1,29 @@
# @heroui/kbd # @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 ## 2.2.13
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/kbd", "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", "description": "The keyboard key components indicates which key or set of keys used to execute a specificv action",
"keywords": [ "keywords": [
"kbd" "kbd"
@ -42,7 +42,7 @@
"@heroui/system-rsc": "workspace:*", "@heroui/system-rsc": "workspace:*",
"@heroui/shared-utils": "workspace:*", "@heroui/shared-utils": "workspace:*",
"@heroui/react-utils": "workspace:*", "@heroui/react-utils": "workspace:*",
"@react-aria/utils": "3.28.1" "@react-aria/utils": "3.28.2"
}, },
"devDependencies": { "devDependencies": {
"@heroui/theme": "workspace:*", "@heroui/theme": "workspace:*",

View File

@ -1,5 +1,30 @@
# @heroui/link # @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 ## 2.2.14
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/link", "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 &lt;a&gt;", "description": "Links allow users to click their way from page to page. This component is styled to resemble a hyperlink and semantically renders an &lt;a&gt;",
"keywords": [ "keywords": [
"link" "link"
@ -44,10 +44,10 @@
"@heroui/shared-icons": "workspace:*", "@heroui/shared-icons": "workspace:*",
"@heroui/react-utils": "workspace:*", "@heroui/react-utils": "workspace:*",
"@heroui/use-aria-link": "workspace:*", "@heroui/use-aria-link": "workspace:*",
"@react-aria/link": "3.7.10", "@react-aria/link": "3.8.0",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-types/link": "3.5.11" "@react-types/link": "3.6.0"
}, },
"devDependencies": { "devDependencies": {
"@heroui/theme": "workspace:*", "@heroui/theme": "workspace:*",

View File

@ -1,5 +1,33 @@
# @heroui/listbox # @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 ## 2.3.16
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/listbox", "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.", "description": "A listbox displays a list of options and allows a user to select one or more of them.",
"keywords": [ "keywords": [
"listbox" "listbox"
@ -46,13 +46,13 @@
"@heroui/shared-utils": "workspace:*", "@heroui/shared-utils": "workspace:*",
"@heroui/use-is-mobile": "workspace:*", "@heroui/use-is-mobile": "workspace:*",
"@tanstack/react-virtual": "3.11.3", "@tanstack/react-virtual": "3.11.3",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-aria/listbox": "3.14.2", "@react-aria/listbox": "3.14.3",
"@react-stately/list": "3.12.0", "@react-stately/list": "3.12.1",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/interactions": "3.24.1", "@react-aria/interactions": "3.25.0",
"@react-types/menu": "3.9.15", "@react-types/menu": "3.10.0",
"@react-types/shared": "3.28.0" "@react-types/shared": "3.29.0"
}, },
"devDependencies": { "devDependencies": {
"@heroui/avatar": "workspace:*", "@heroui/avatar": "workspace:*",

View File

@ -7,7 +7,7 @@ import {HTMLHeroUIProps, mapPropsVariants, PropGetter, useProviderContext} from
import {useFocusRing} from "@react-aria/focus"; import {useFocusRing} from "@react-aria/focus";
import {Node} from "@react-types/shared"; import {Node} from "@react-types/shared";
import {filterDOMProps} from "@heroui/react-utils"; 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 {useOption} from "@react-aria/listbox";
import {mergeProps} from "@react-aria/utils"; import {mergeProps} from "@react-aria/utils";
import {useHover, usePress} from "@react-aria/interactions"; import {useHover, usePress} from "@react-aria/interactions";
@ -45,7 +45,7 @@ export function useListboxItem<T extends object>(originalProps: UseListboxItemPr
onPressStart, onPressStart,
onPressEnd, onPressEnd,
onPressChange, onPressChange,
onClick: deprecatedOnClick, onClick,
shouldHighlightOnFocus, shouldHighlightOnFocus,
hideSelectedIcon = false, hideSelectedIcon = false,
isReadOnly = false, isReadOnly = false,
@ -67,16 +67,10 @@ export function useListboxItem<T extends object>(originalProps: UseListboxItemPr
const isMobile = useIsMobile(); 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({ const {pressProps, isPressed} = usePress({
ref: domRef, ref: domRef,
isDisabled: isDisabled, isDisabled: isDisabled,
onClick,
onPress, onPress,
onPressUp, onPressUp,
onPressStart, onPressStart,
@ -130,9 +124,6 @@ export function useListboxItem<T extends object>(originalProps: UseListboxItemPr
const getItemProps: PropGetter = (props = {}) => ({ const getItemProps: PropGetter = (props = {}) => ({
ref: domRef, ref: domRef,
...mergeProps( ...mergeProps(
{
onClick: deprecatedOnClick,
},
itemProps, itemProps,
isReadOnly ? {} : mergeProps(focusProps, pressProps), isReadOnly ? {} : mergeProps(focusProps, pressProps),
hoverProps, hoverProps,

View File

@ -1,5 +1,33 @@
# @heroui/menu # @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 ## 2.2.16
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/menu", "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.", "description": "A menu displays a list of options and allows a user to select one or more of them.",
"keywords": [ "keywords": [
"menu" "menu"
@ -45,14 +45,14 @@
"@heroui/use-is-mobile": "workspace:*", "@heroui/use-is-mobile": "workspace:*",
"@heroui/shared-utils": "workspace:*", "@heroui/shared-utils": "workspace:*",
"@heroui/react-utils": "workspace:*", "@heroui/react-utils": "workspace:*",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/interactions": "3.24.1", "@react-aria/interactions": "3.25.0",
"@react-aria/menu": "3.18.1", "@react-aria/menu": "3.18.2",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-stately/menu": "3.9.2", "@react-stately/menu": "3.9.3",
"@react-stately/tree": "3.8.8", "@react-stately/tree": "3.8.9",
"@react-types/menu": "3.9.15", "@react-types/menu": "3.10.0",
"@react-types/shared": "3.28.0" "@react-types/shared": "3.29.0"
}, },
"devDependencies": { "devDependencies": {
"@heroui/theme": "workspace:*", "@heroui/theme": "workspace:*",

View File

@ -7,7 +7,7 @@ import {menuItem} from "@heroui/theme";
import {HTMLHeroUIProps, mapPropsVariants, PropGetter, useProviderContext} from "@heroui/system"; import {HTMLHeroUIProps, mapPropsVariants, PropGetter, useProviderContext} from "@heroui/system";
import {useFocusRing} from "@react-aria/focus"; import {useFocusRing} from "@react-aria/focus";
import {TreeState} from "@react-stately/tree"; 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 {useMenuItem as useAriaMenuItem} from "@react-aria/menu";
import {isFocusVisible as AriaIsFocusVisible, useHover} from "@react-aria/interactions"; import {isFocusVisible as AriaIsFocusVisible, useHover} from "@react-aria/interactions";
import {mergeProps} from "@react-aria/utils"; import {mergeProps} from "@react-aria/utils";
@ -54,7 +54,7 @@ export function useMenuItem<T extends object>(originalProps: UseMenuItemProps<T>
isReadOnly = false, isReadOnly = false,
closeOnSelect, closeOnSelect,
onClose, onClose,
onClick: deprecatedOnClick, onClick,
...otherProps ...otherProps
} = props; } = props;
@ -77,19 +77,12 @@ export function useMenuItem<T extends object>(originalProps: UseMenuItemProps<T>
autoFocus, 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( const handlePress = useCallback(
(e: PressEvent) => { (e: PressEvent) => {
deprecatedOnClick?.(e as unknown as React.MouseEvent<HTMLLIElement | HTMLAnchorElement>); onClick?.(e as unknown as React.MouseEvent<HTMLLIElement | HTMLAnchorElement>);
onPress?.(e); onPress?.(e);
}, },
[deprecatedOnClick, onPress], [onClick, onPress],
); );
const { const {

View File

@ -1,5 +1,40 @@
# @heroui/modal # @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 ## 2.2.14
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/modal", "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.", "description": "Displays a dialog with a custom content that requires attention or provides additional information.",
"keywords": [ "keywords": [
"modal" "modal"
@ -50,13 +50,13 @@
"@heroui/shared-icons": "workspace:*", "@heroui/shared-icons": "workspace:*",
"@heroui/use-aria-modal-overlay": "workspace:*", "@heroui/use-aria-modal-overlay": "workspace:*",
"@heroui/dom-animation": "workspace:*", "@heroui/dom-animation": "workspace:*",
"@react-aria/dialog": "3.5.23", "@react-aria/dialog": "3.5.24",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/interactions": "3.24.1", "@react-aria/interactions": "3.25.0",
"@react-aria/overlays": "3.26.1", "@react-aria/overlays": "3.27.0",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-stately/overlays": "3.6.14", "@react-stately/overlays": "3.6.15",
"@react-types/overlays": "3.8.13" "@react-types/overlays": "3.8.14"
}, },
"devDependencies": { "devDependencies": {
"@heroui/theme": "workspace:*", "@heroui/theme": "workspace:*",

View File

@ -1,5 +1,32 @@
# @heroui/navbar # @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 ## 2.2.15
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/navbar", "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.", "description": "A responsive navigation header positioned on top side of your page that includes support for branding, links, navigation, collapse and more.",
"keywords": [ "keywords": [
"navbar" "navbar"
@ -46,13 +46,13 @@
"@heroui/framer-utils": "workspace:*", "@heroui/framer-utils": "workspace:*",
"@heroui/use-scroll-position": "workspace:*", "@heroui/use-scroll-position": "workspace:*",
"@heroui/dom-animation": "workspace:*", "@heroui/dom-animation": "workspace:*",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/interactions": "3.24.1", "@react-aria/interactions": "3.25.0",
"@react-aria/button": "3.12.1", "@react-aria/button": "3.13.0",
"@react-aria/overlays": "3.26.1", "@react-aria/overlays": "3.27.0",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-stately/toggle": "3.8.2", "@react-stately/toggle": "3.8.3",
"@react-stately/utils": "3.10.5" "@react-stately/utils": "3.10.6"
}, },
"devDependencies": { "devDependencies": {
"@heroui/theme": "workspace:*", "@heroui/theme": "workspace:*",

View File

@ -1,5 +1,33 @@
# @heroui/number-input # @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 ## 2.0.7
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/number-input", "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", "description": "The numeric input component is designed for users to enter a number, and increase or decrease the value using stepper buttons",
"keywords": [ "keywords": [
"input", "input",
@ -48,16 +48,16 @@
"@heroui/shared-icons": "workspace:*", "@heroui/shared-icons": "workspace:*",
"@heroui/shared-utils": "workspace:*", "@heroui/shared-utils": "workspace:*",
"@heroui/use-safe-layout-effect": "workspace:*", "@heroui/use-safe-layout-effect": "workspace:*",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/i18n": "3.12.7", "@react-aria/i18n": "3.12.8",
"@react-aria/interactions": "3.24.1", "@react-aria/interactions": "3.25.0",
"@react-aria/numberfield": "3.11.12", "@react-aria/numberfield": "3.11.13",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-stately/utils": "3.10.5", "@react-stately/utils": "3.10.6",
"@react-stately/numberfield": "3.9.10", "@react-stately/numberfield": "3.9.11",
"@react-types/shared": "3.28.0", "@react-types/shared": "3.29.0",
"@react-types/numberfield": "3.8.9", "@react-types/numberfield": "3.8.10",
"@react-types/button": "3.11.0" "@react-types/button": "3.12.0"
}, },
"devDependencies": { "devDependencies": {
"@heroui/system": "workspace:*", "@heroui/system": "workspace:*",
@ -68,4 +68,4 @@
"react-hook-form": "^7.51.3" "react-hook-form": "^7.51.3"
}, },
"clean-package": "../../../clean-package.config.json" "clean-package": "../../../clean-package.config.json"
} }

View File

@ -1,5 +1,32 @@
# @heroui/pagination # @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 ## 2.2.15
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/pagination", "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.", "description": "The Pagination component allows you to display active page and navigate between multiple pages.",
"keywords": [ "keywords": [
"pagination" "pagination"
@ -45,10 +45,10 @@
"@heroui/shared-icons": "workspace:*", "@heroui/shared-icons": "workspace:*",
"@heroui/use-intersection-observer": "workspace:*", "@heroui/use-intersection-observer": "workspace:*",
"@heroui/use-pagination": "workspace:*", "@heroui/use-pagination": "workspace:*",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/i18n": "3.12.7", "@react-aria/i18n": "3.12.8",
"@react-aria/interactions": "3.24.1", "@react-aria/interactions": "3.25.0",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"scroll-into-view-if-needed": "3.0.10" "scroll-into-view-if-needed": "3.0.10"
}, },
"devDependencies": { "devDependencies": {

View File

@ -1,5 +1,38 @@
# @heroui/popover # @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 ## 2.3.17
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/popover", "name": "@heroui/popover",
"version": "2.3.17", "version": "2.3.19",
"description": "A popover is an overlay element positioned relative to a trigger.", "description": "A popover is an overlay element positioned relative to a trigger.",
"keywords": [ "keywords": [
"popover" "popover"
@ -49,14 +49,14 @@
"@heroui/use-aria-button": "workspace:*", "@heroui/use-aria-button": "workspace:*",
"@heroui/use-safe-layout-effect": "workspace:*", "@heroui/use-safe-layout-effect": "workspace:*",
"@heroui/dom-animation": "workspace:*", "@heroui/dom-animation": "workspace:*",
"@react-aria/dialog": "3.5.23", "@react-aria/dialog": "3.5.24",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/interactions": "3.24.1", "@react-aria/interactions": "3.25.0",
"@react-aria/overlays": "3.26.1", "@react-aria/overlays": "3.27.0",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-stately/overlays": "3.6.14", "@react-stately/overlays": "3.6.15",
"@react-types/button": "3.11.0", "@react-types/button": "3.12.0",
"@react-types/overlays": "3.8.13" "@react-types/overlays": "3.8.14"
}, },
"devDependencies": { "devDependencies": {
"@heroui/card": "workspace:*", "@heroui/card": "workspace:*",
@ -70,4 +70,4 @@
"react-dom": "18.3.0" "react-dom": "18.3.0"
}, },
"clean-package": "../../../clean-package.config.json" "clean-package": "../../../clean-package.config.json"
} }

View File

@ -1,5 +1,28 @@
# @heroui/progress # @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 ## 2.2.13
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/progress", "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.", "description": "Progress bars show either determinate or indeterminate progress of an operation over time.",
"keywords": [ "keywords": [
"progress" "progress"
@ -43,10 +43,10 @@
"@heroui/shared-utils": "workspace:*", "@heroui/shared-utils": "workspace:*",
"@heroui/react-utils": "workspace:*", "@heroui/react-utils": "workspace:*",
"@heroui/use-is-mounted": "workspace:*", "@heroui/use-is-mounted": "workspace:*",
"@react-aria/i18n": "3.12.7", "@react-aria/i18n": "3.12.8",
"@react-aria/progress": "3.4.21", "@react-aria/progress": "3.4.22",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-types/progress": "3.5.10" "@react-types/progress": "3.5.11"
}, },
"devDependencies": { "devDependencies": {
"@heroui/theme": "workspace:*", "@heroui/theme": "workspace:*",

View File

@ -1,5 +1,29 @@
# @heroui/radio # @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 ## 2.3.16
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/radio", "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.", "description": "Radios allow users to select a single option from a list of mutually exclusive options.",
"keywords": [ "keywords": [
"radio" "radio"
@ -43,14 +43,14 @@
"@heroui/form": "workspace:*", "@heroui/form": "workspace:*",
"@heroui/shared-utils": "workspace:*", "@heroui/shared-utils": "workspace:*",
"@heroui/react-utils": "workspace:*", "@heroui/react-utils": "workspace:*",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/interactions": "3.24.1", "@react-aria/interactions": "3.25.0",
"@react-aria/radio": "3.11.1", "@react-aria/radio": "3.11.2",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-aria/visually-hidden": "3.8.21", "@react-aria/visually-hidden": "3.8.22",
"@react-stately/radio": "3.10.11", "@react-stately/radio": "3.10.12",
"@react-types/radio": "3.8.7", "@react-types/radio": "3.8.8",
"@react-types/shared": "3.28.0" "@react-types/shared": "3.29.0"
}, },
"devDependencies": { "devDependencies": {
"@heroui/theme": "workspace:*", "@heroui/theme": "workspace:*",
@ -62,4 +62,4 @@
"react-dom": "18.3.0" "react-dom": "18.3.0"
}, },
"clean-package": "../../../clean-package.config.json" "clean-package": "../../../clean-package.config.json"
} }

View File

@ -1,5 +1,27 @@
# @heroui/ripple # @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 ## 2.2.12
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/ripple", "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", "description": "A simple implementation to display a ripple animation when the source component is clicked",
"keywords": [ "keywords": [
"ripple" "ripple"

View File

@ -1,5 +1,27 @@
# @heroui/scroll-shadow # @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 ## 2.3.11
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/scroll-shadow", "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.", "description": "A component that applies top and bottom shadows when content overflows on scroll.",
"keywords": [ "keywords": [
"scroll-shadow" "scroll-shadow"

View File

@ -1,5 +1,45 @@
# @heroui/select # @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 ## 2.4.17
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/select", "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.", "description": "A select displays a collapsible list of options and allows a user to select one of them.",
"keywords": [ "keywords": [
"select" "select"
@ -53,13 +53,13 @@
"@heroui/use-aria-multiselect": "workspace:*", "@heroui/use-aria-multiselect": "workspace:*",
"@heroui/use-safe-layout-effect": "workspace:*", "@heroui/use-safe-layout-effect": "workspace:*",
"@heroui/form": "workspace:*", "@heroui/form": "workspace:*",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/form": "3.0.14", "@react-aria/form": "3.0.15",
"@react-aria/overlays": "3.26.1", "@react-aria/overlays": "3.27.0",
"@react-aria/interactions": "3.24.1", "@react-aria/interactions": "3.25.0",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-aria/visually-hidden": "3.8.21", "@react-aria/visually-hidden": "3.8.22",
"@react-types/shared": "3.28.0", "@react-types/shared": "3.29.0",
"@tanstack/react-virtual": "3.11.3" "@tanstack/react-virtual": "3.11.3"
}, },
"devDependencies": { "devDependencies": {
@ -72,8 +72,8 @@
"@heroui/system": "workspace:*", "@heroui/system": "workspace:*",
"@heroui/theme": "workspace:*", "@heroui/theme": "workspace:*",
"@heroui/use-infinite-scroll": "workspace:*", "@heroui/use-infinite-scroll": "workspace:*",
"@react-aria/i18n": "3.12.7", "@react-aria/i18n": "3.12.8",
"@react-stately/data": "3.12.2", "@react-stately/data": "3.12.3",
"clean-package": "2.2.0", "clean-package": "2.2.0",
"framer-motion": "11.9.0", "framer-motion": "11.9.0",
"react": "18.3.0", "react": "18.3.0",
@ -81,4 +81,4 @@
"react-hook-form": "^7.51.3" "react-hook-form": "^7.51.3"
}, },
"clean-package": "../../../clean-package.config.json" "clean-package": "../../../clean-package.config.json"
} }

View File

@ -1,5 +1,25 @@
# @heroui/skeleton # @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 ## 2.2.10
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/skeleton", "name": "@heroui/skeleton",
"version": "2.2.10", "version": "2.2.12",
"description": "Skeleton is used to display the loading state of some component.", "description": "Skeleton is used to display the loading state of some component.",
"keywords": [ "keywords": [
"skeleton" "skeleton"

View File

@ -1,5 +1,29 @@
# @heroui/slider # @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 ## 2.4.14
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/slider", "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.", "description": "A slider allows a user to select one or more values within a range.",
"keywords": [ "keywords": [
"slider" "slider"
@ -43,13 +43,13 @@
"@heroui/shared-utils": "workspace:*", "@heroui/shared-utils": "workspace:*",
"@heroui/react-utils": "workspace:*", "@heroui/react-utils": "workspace:*",
"@heroui/tooltip": "workspace:*", "@heroui/tooltip": "workspace:*",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/i18n": "3.12.7", "@react-aria/i18n": "3.12.8",
"@react-aria/interactions": "3.24.1", "@react-aria/interactions": "3.25.0",
"@react-aria/slider": "3.7.17", "@react-aria/slider": "3.7.18",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-aria/visually-hidden": "3.8.21", "@react-aria/visually-hidden": "3.8.22",
"@react-stately/slider": "3.6.2" "@react-stately/slider": "3.6.3"
}, },
"devDependencies": { "devDependencies": {
"@heroui/theme": "workspace:*", "@heroui/theme": "workspace:*",

View File

@ -1,5 +1,33 @@
# @heroui/snippet # @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 ## 2.2.18
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/snippet", "name": "@heroui/snippet",
"version": "2.2.18", "version": "2.2.20",
"description": "Display a snippet of copyable code for the command line.", "description": "Display a snippet of copyable code for the command line.",
"keywords": [ "keywords": [
"snippet" "snippet"
@ -47,8 +47,8 @@
"@heroui/shared-icons": "workspace:*", "@heroui/shared-icons": "workspace:*",
"@heroui/use-clipboard": "workspace:*", "@heroui/use-clipboard": "workspace:*",
"@heroui/tooltip": "workspace:*", "@heroui/tooltip": "workspace:*",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/utils": "3.28.1" "@react-aria/utils": "3.28.2"
}, },
"devDependencies": { "devDependencies": {
"@heroui/theme": "workspace:*", "@heroui/theme": "workspace:*",
@ -59,4 +59,4 @@
"react-dom": "18.3.0" "react-dom": "18.3.0"
}, },
"clean-package": "../../../clean-package.config.json" "clean-package": "../../../clean-package.config.json"
} }

View File

@ -1,5 +1,27 @@
# @heroui/spacer # @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 ## 2.2.12
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/spacer", "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.", "description": "A flexible spacer component designed to create consistent spacing and maintain alignment in your layout.",
"keywords": [ "keywords": [
"spacer" "spacer"

View File

@ -1,5 +1,29 @@
# @heroui/spinner # @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 ## 2.2.14
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/spinner", "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.", "description": "Loaders express an unspecified wait time or display the length of a process.",
"keywords": [ "keywords": [
"loading", "loading",

View File

@ -1,5 +1,28 @@
# @heroui/switch # @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 ## 2.2.15
### Patch Changes ### Patch Changes

View File

@ -1,6 +1,6 @@
{ {
"name": "@heroui/switch", "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.", "description": "A switch is similar to a checkbox, but represents on/off values as opposed to selection.",
"keywords": [ "keywords": [
"switch" "switch"
@ -43,13 +43,13 @@
"@heroui/shared-utils": "workspace:*", "@heroui/shared-utils": "workspace:*",
"@heroui/react-utils": "workspace:*", "@heroui/react-utils": "workspace:*",
"@heroui/use-safe-layout-effect": "workspace:*", "@heroui/use-safe-layout-effect": "workspace:*",
"@react-aria/focus": "3.20.1", "@react-aria/focus": "3.20.2",
"@react-aria/interactions": "3.24.1", "@react-aria/interactions": "3.25.0",
"@react-aria/switch": "3.7.1", "@react-aria/switch": "3.7.2",
"@react-aria/utils": "3.28.1", "@react-aria/utils": "3.28.2",
"@react-aria/visually-hidden": "3.8.21", "@react-aria/visually-hidden": "3.8.22",
"@react-stately/toggle": "3.8.2", "@react-stately/toggle": "3.8.3",
"@react-types/shared": "3.28.0" "@react-types/shared": "3.29.0"
}, },
"devDependencies": { "devDependencies": {
"@heroui/theme": "workspace:*", "@heroui/theme": "workspace:*",

Some files were not shown because too many files have changed in this diff Show More