* fix(date-picker): error state (#5317)

* fix(date-range-picker): fixed the error state in preset

* Update giant-sloths-shop.md

* Removed if statement

* chore(date-picker): prettier

---------

Co-authored-by: WK Wong <wingkwong.code@gmail.com>

* fix(theme): clear button in mobile (#5252)

* fix(toast): fixed close button hover position

* fix(input): fixed the clear button rendering on smaller devices

* Delete .changeset/soft-spoons-march.md

* Update input.ts

* Undo unrelated toast changes

* fix(toast): icons (#5246)

* feat(shared-icons): add loading icon

* fix(toast): icons

* chore(toast): revise types for icons

* chore(changeset): add changeset

* refactor: migrate eslint to v9 (#5267)

* refactor: migrate eslint to v9

* chore: lint

* chore: update eslint command

* chore: fix lint warnings

* chore: separate lint and lint:fix

* chore: exclude contentlayer generated code

* fix(scripts): add missing await

* fix(autocomplete): persist last selected item position (#5286)

* refactor(select): remove unnecessary code

* fix(autocomplete): persist last selected item position

* chore(changeset): add changeset

* chore(deps): bump framer-motion version (#5287)

* chore(deps): bump framer-motion version

* fix: typing issues

* chore(changeset): add changeset

---------

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

* chore(docs): supplement onAction & selectionBehavior (#5289)

* fix(autocomplete): ensure focused item matches selected item after filter, selection (#5290)

* fix(autocomplete): ensure focused item matches selected item after filter, selection

* chore: apply type and default value

* chore: add perpose coment in updated code

* test: add focuskey management testcode

* docs: add changeset

* docs: update changeset

* chore: remove comment

* fix: broken components in stories (#5291)

* chore(switch): remove xl size

* chore(docs): remove xl size

* chore(system-rsc): remove xl size

* chore(circular-progress): remove xl size

* chore: undo

* chore(deps): bump RA versions (#5310)

* chore(deps): ra version bump

* chore(changeset): add changeset

* fix(scripts): incorrect docs path

---------

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

* chore(docs): update meta data (#5311)

* docs(layout.tsx): added text-foreground (#5316)

* feat(tabs): add click handling for tab items in tests and implementation (#3917)

Co-authored-by: WK Wong <wingkwong.code@gmail.com>

* fix issues in tabs examples (#2405)

Co-authored-by: WK Wong <wingkwong.code@gmail.com>

* chore(docs): add missing onValueChange in CheckboxGroup (#5332)

* ci(changesets): version packages (#5323)

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

* chore(deps): bump RA versions (#5361)

* chore(deps): bump RA versions

* chore(deps): bump RA versions

* chore(deps): bump RA versions

* chore: changeset

* refactor(listbox): already extends in AriaListBoxProps

* chore(docs): remove herohack announcement (#5363)

* chore: remove herohack announcement

* Update carbon-ad.tsx

* chore(docs): fixed lint errors

* chore(docs): requested changes

* Update carbon-ad.tsx

* Update carbon-ad.tsx

* fix(theme): consistent faded styling for isInvalid in InputOtp and DateInput (#5349)

* fix(input-otp): remove bg and border styles from faded variant when isInvalid

* fix(date-input): remove bg styles from faded variant when isInvalid

* chore(changeset): add changeset

* chore: bump theme peerDependencies

* chore: bump theme peerDependencies

* fix: wrong version

* chore: extra line

---------

Co-authored-by: WK Wong <wingkwong.code@gmail.com>

* fix(theme): helperWrapper padding (#5350)

* fix(number-input): decreased helperWrapper padding to maintain consistency

* Update beige-laws-heal.md

* chore(theme): change to p-1

* chore(deps): bump peerDependencies for theme pkg

* fix(number-input): incorrect versions

* chore(changeset): include number input

---------

Co-authored-by: WK Wong <wingkwong.code@gmail.com>

* fix(autocomplete): onClear (#5365)

* fix(autocomplete): add onClear

* feat(autocomplete): add test case for onClear

* chore(changeset): add changeset

* fix(number-input): only allow number type (#5368)

* refactor(number-input): avoid non number type passing to number input

* chore(changeset): add changeset

* refactor: optimization (#5362)

* chore(deps): bump RA versions

* chore(deps): bump RA versions

* chore(deps): bump RA versions

* chore: changeset

* chore(deps): remove unnecessary dependencies

* fix(calendar): typing issue

* refactor(system): remove unused SupportedCalendars

* refactor(system): move I18nProviderProps to type

* refactor: use `spectrumCalendarProps<DateValue>["createCalendar"]`

* feat: add consistent-type-imports

* fix: eslint

* chore: add changeset

* refactor: remove unused deps

* ci(changesets): version packages (#5364)

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

* chore(deps): bump RA versions (#5382)

* fix(tabs): onClick (#5378)

* fix(tabs): handleClick

* chore(changeset): add changeset

* refactor: remove `@interationalized/date` from system (#5374)

* refactor(calendar): createCalendar typing

* refactor(system): ditch `@react-types/calendar`

* feat(system): include the required types or interfaces

* chore(deps): pnpm-lock.yaml

* fix: cast DateValue

* fix: minValue & maxValue typing

* chore(changeset): add changeset

* refactor(system): abstract class

* chore(deps): bump system peer dependency

* chore(changeset): add changeset

* fix(docs): correct display of the "Toast" component in the Safari browser (#5400)

* ci(changesets): version packages (#5394)

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

---------

Co-authored-by: Vishv Salvi <82429084+Vishvsalvi@users.noreply.github.com>
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
Co-authored-by: KumJungMin <37934668+KumJungMin@users.noreply.github.com>
Co-authored-by: liaoyinglong <vigossliao@gmail.com>
Co-authored-by: zhengjitf <zhengjitf@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Anuj Kuralkar <76731106+anuj-kuralkar@users.noreply.github.com>
Co-authored-by: Poli Sour <57824881+novsource@users.noreply.github.com>
This commit is contained in:
WK 2025-06-24 02:57:55 +08:00 committed by GitHub
parent 4e41f50fa2
commit 6228427617
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
116 changed files with 1425 additions and 573 deletions

View File

@ -6,7 +6,10 @@ export default function App() {
return (
<>
<ToastProvider placement={placement} toastOffset={placement.includes("top") ? 60 : 0} />
<div className="fixed z-[100]">
<ToastProvider placement={placement} toastOffset={placement.includes("top") ? 60 : 0} />
</div>
<div className="flex flex-wrap gap-2">
{[
["Top Left", "top-left"],

View File

@ -3,7 +3,9 @@ import {addToast, Button, ToastProvider} from "@heroui/react";
export default function App() {
return (
<>
<ToastProvider />
<div className="fixed z-[100]">
<ToastProvider />
</div>
<div className="flex flex-wrap gap-2">
<Button
onPress={() => {

View File

@ -30,13 +30,13 @@
"@iconify/react": "5.0.2",
"@internationalized/date": "3.8.2",
"@radix-ui/react-scroll-area": "^1.0.5",
"@react-aria/focus": "3.20.4",
"@react-aria/focus": "3.20.5",
"@react-aria/i18n": "3.12.10",
"@react-aria/interactions": "3.25.2",
"@react-aria/selection": "3.24.2",
"@react-aria/interactions": "3.25.3",
"@react-aria/selection": "3.24.3",
"@react-aria/ssr": "3.9.9",
"@react-aria/utils": "3.29.1",
"@react-aria/visually-hidden": "3.8.24",
"@react-aria/visually-hidden": "3.8.25",
"@react-stately/data": "3.13.1",
"@react-stately/tree": "3.9.0",
"@rehooks/local-storage": "^2.4.5",

View File

@ -1,5 +1,18 @@
# @heroui/accordion
## 2.2.19
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf)]:
- @heroui/use-aria-accordion@2.2.14
- @heroui/aria-utils@2.2.19
- @heroui/framer-utils@2.1.18
## 2.2.18
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/accordion",
"version": "2.2.18",
"version": "2.2.19",
"description": "Collapse display a list of high-level options that can expand/collapse to reveal more information.",
"keywords": [
"react",
@ -44,7 +44,7 @@
"react-dom": ">=18 || >=19.0.0-rc.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/aria-utils": "workspace:*",
@ -55,8 +55,8 @@
"@heroui/divider": "workspace:*",
"@heroui/use-aria-accordion": "workspace:*",
"@heroui/dom-animation": "workspace:*",
"@react-aria/interactions": "3.25.2",
"@react-aria/focus": "3.20.4",
"@react-aria/interactions": "3.25.3",
"@react-aria/focus": "3.20.5",
"@react-aria/utils": "3.29.1",
"@react-stately/tree": "3.9.0",
"@react-types/accordion": "3.0.0-alpha.26",

View File

@ -1,5 +1,14 @@
# @heroui/alert
## 2.2.22
### Patch Changes
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf), [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed)]:
- @heroui/button@2.2.22
## 2.2.21
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/alert",
"version": "2.2.21",
"version": "2.2.22",
"description": "Alerts are temporary notifications that provide concise feedback about an action or event.",
"keywords": [
"alert"
@ -41,7 +41,7 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/react-utils": "workspace:*",

View File

@ -1,5 +1,22 @@
# @heroui/autocomplete
## 2.3.23
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf), [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed)]:
- @heroui/listbox@2.3.21
- @heroui/popover@2.3.22
- @heroui/button@2.2.22
- @heroui/input@2.4.22
- @heroui/scroll-shadow@2.3.15
- @heroui/form@2.1.21
- @heroui/aria-utils@2.2.19
## 2.3.22
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/autocomplete",
"version": "2.3.22",
"version": "2.3.23",
"description": "An autocomplete combines a text input with a listbox, allowing users to filter a list of options to items matching a query.",
"keywords": [
"autocomplete"
@ -34,7 +34,7 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@heroui/system": ">=2.4.7",
"@heroui/system": ">=2.4.17",
"@heroui/theme": ">=2.4.6",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"react": ">=18 || >=19.0.0-rc.0",
@ -52,7 +52,7 @@
"@heroui/shared-icons": "workspace:*",
"@heroui/shared-utils": "workspace:*",
"@heroui/use-safe-layout-effect": "workspace:*",
"@react-aria/combobox": "3.12.4",
"@react-aria/combobox": "3.12.5",
"@react-aria/i18n": "3.12.10",
"@react-aria/utils": "3.29.1",
"@react-stately/combobox": "3.10.6",

View File

@ -1,5 +1,13 @@
# @heroui/avatar
## 2.2.18
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
## 2.2.17
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/avatar",
"version": "2.2.17",
"version": "2.2.18",
"description": "The Avatar component is used to represent a user, and displays the profile picture, initials or fallback icon.",
"keywords": [
"avatar"
@ -37,14 +37,14 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/shared-utils": "workspace:*",
"@heroui/react-utils": "workspace:*",
"@heroui/use-image": "workspace:*",
"@react-aria/interactions": "3.25.2",
"@react-aria/focus": "3.20.4",
"@react-aria/interactions": "3.25.3",
"@react-aria/focus": "3.20.5",
"@react-aria/utils": "3.29.1"
},
"devDependencies": {

View File

@ -1,5 +1,11 @@
# @heroui/badge
## 2.2.14
### Patch Changes
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
## 2.2.13
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/badge",
"version": "2.2.13",
"version": "2.2.14",
"description": "Badges are used as a small numerical value or status descriptor for UI elements.",
"keywords": [
"badge"
@ -37,7 +37,7 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/shared-utils": "workspace:*",

View File

@ -1,5 +1,13 @@
# @heroui/breadcrumbs
## 2.2.18
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
## 2.2.17
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/breadcrumbs",
"version": "2.2.17",
"version": "2.2.18",
"description": "Breadcrumbs display a hierarchy of links to the current page or resource in an application.",
"keywords": [
"breadcrumbs"
@ -37,14 +37,14 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/react-utils": "workspace:*",
"@heroui/shared-utils": "workspace:*",
"@heroui/shared-icons": "workspace:*",
"@react-aria/focus": "3.20.4",
"@react-aria/breadcrumbs": "3.5.25",
"@react-aria/focus": "3.20.5",
"@react-aria/breadcrumbs": "3.5.26",
"@react-aria/utils": "3.29.1",
"@react-types/breadcrumbs": "3.7.14"
},

View File

@ -1,5 +1,18 @@
# @heroui/button
## 2.2.22
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf), [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed)]:
- @heroui/use-aria-button@2.2.16
- @heroui/ripple@2.2.17
- @heroui/spinner@2.2.19
## 2.2.21
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/button",
"version": "2.2.21",
"version": "2.2.22",
"description": "Buttons allow users to perform actions and choose with a single tap.",
"keywords": [
"button"
@ -38,7 +38,7 @@
"react-dom": ">=18 || >=19.0.0-rc.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/shared-utils": "workspace:*",
@ -46,9 +46,9 @@
"@heroui/use-aria-button": "workspace:*",
"@heroui/ripple": "workspace:*",
"@heroui/spinner": "workspace:*",
"@react-aria/interactions": "3.25.2",
"@react-aria/interactions": "3.25.3",
"@react-aria/utils": "3.29.1",
"@react-aria/focus": "3.20.4",
"@react-aria/focus": "3.20.5",
"@react-types/shared": "3.30.0"
},
"devDependencies": {

View File

@ -1,5 +1,20 @@
# @heroui/calendar
## 2.2.22
### Patch Changes
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - remove `@interationalized/date` from system
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf), [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed)]:
- @heroui/use-aria-button@2.2.16
- @heroui/button@2.2.22
- @heroui/framer-utils@2.1.18
## 2.2.21
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/calendar",
"version": "2.2.21",
"version": "2.2.22",
"description": "A calendar displays one or more date grids and allows users to select a single date.",
"keywords": [
"calendar"
@ -34,7 +34,7 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@heroui/system": ">=2.4.7",
"@heroui/system": ">=2.4.17",
"@heroui/theme": ">=2.4.6",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"react": ">=18 || >=19.0.0-rc.0",
@ -49,16 +49,16 @@
"@heroui/button": "workspace:*",
"@heroui/dom-animation": "workspace:*",
"@internationalized/date": "3.8.2",
"@react-aria/calendar": "3.8.2",
"@react-aria/focus": "3.20.4",
"@react-aria/calendar": "3.8.3",
"@react-aria/focus": "3.20.5",
"@react-aria/i18n": "3.12.10",
"@react-stately/calendar": "3.8.2",
"@react-types/button": "3.12.2",
"@react-aria/visually-hidden": "3.8.24",
"@react-aria/visually-hidden": "3.8.25",
"@react-aria/utils": "3.29.1",
"@react-stately/utils": "3.10.7",
"@react-types/calendar": "3.7.2",
"@react-aria/interactions": "3.25.2",
"@react-aria/interactions": "3.25.3",
"@react-types/shared": "3.30.0",
"scroll-into-view-if-needed": "3.0.10"
},

View File

@ -1,17 +1,13 @@
import type {CalendarReturnType, CalendarVariantProps} from "@heroui/theme";
import type {
CalendarPropsBase as AriaCalendarPropsBase,
DateValue,
SpectrumCalendarProps,
} from "@react-types/calendar";
import type {CalendarPropsBase as AriaCalendarPropsBase} from "@react-types/calendar";
import type {CalendarSlots, SlotsToClasses} from "@heroui/theme";
import type {AriaCalendarGridProps} from "@react-aria/calendar";
import type {AriaButtonProps} from "@react-types/button";
import type {HTMLHeroUIProps, PropGetter} from "@heroui/system";
import type {DateValue, Calendar, CalendarIdentifier} from "@internationalized/date";
import type {ButtonProps} from "@heroui/button";
import type {CalendarState, RangeCalendarState} from "@react-stately/calendar";
import type {RefObject, ReactNode} from "react";
import type {CalendarIdentifier} from "@internationalized/date";
import type {ReactRef} from "@heroui/react-utils";
import {createCalendar, CalendarDate, DateFormatter} from "@internationalized/date";
@ -124,7 +120,7 @@ interface Props extends HeroUIBaseProps {
*
* @default all calendars
*/
createCalendar?: SpectrumCalendarProps<DateValue>["createCalendar"];
createCalendar?: (identifier: CalendarIdentifier) => Calendar;
/**
* The style of weekday names to display in the calendar grid header,
* e.g. single letter, abbreviation, or full day name.
@ -227,10 +223,10 @@ export function useCalendarBase(originalProps: UseCalendarBasePropsComplete) {
isHeaderDefaultExpanded,
onHeaderExpandedChange = () => {},
createCalendar: createCalendarProp = globalContext?.createCalendar ?? null,
minValue = globalContext?.defaultDates?.minDate ??
new CalendarDate(calendarProp, 1900 + gregorianYearOffset, 1, 1),
maxValue = globalContext?.defaultDates?.maxDate ??
new CalendarDate(calendarProp, 2099 + gregorianYearOffset, 12, 31),
minValue = (globalContext?.defaultDates?.minDate ??
new CalendarDate(calendarProp, 1900 + gregorianYearOffset, 1, 1)) as DateValue,
maxValue = (globalContext?.defaultDates?.maxDate ??
new CalendarDate(calendarProp, 2099 + gregorianYearOffset, 12, 31)) as DateValue,
prevButtonProps: prevButtonPropsProp,
nextButtonProps: nextButtonPropsProp,
errorMessage,

View File

@ -1,5 +1,17 @@
# @heroui/card
## 2.2.21
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf), [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed)]:
- @heroui/use-aria-button@2.2.16
- @heroui/ripple@2.2.17
## 2.2.20
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/card",
"version": "2.2.20",
"version": "2.2.21",
"description": "Card is a container for text, photos, and actions in the context of a single subject.",
"keywords": [
"card"
@ -38,16 +38,16 @@
"react-dom": ">=18 || >=19.0.0-rc.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/shared-utils": "workspace:*",
"@heroui/react-utils": "workspace:*",
"@heroui/use-aria-button": "workspace:*",
"@heroui/ripple": "workspace:*",
"@react-aria/focus": "3.20.4",
"@react-aria/focus": "3.20.5",
"@react-aria/utils": "3.29.1",
"@react-aria/interactions": "3.25.2",
"@react-aria/interactions": "3.25.3",
"@react-types/shared": "3.30.0"
},
"devDependencies": {

View File

@ -1,5 +1,16 @@
# @heroui/checkbox
## 2.3.21
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed)]:
- @heroui/form@2.1.21
## 2.3.20
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/checkbox",
"version": "2.3.20",
"version": "2.3.21",
"description": "Checkboxes allow users to select multiple items from a list of individual items, or to mark one individual item as selected.",
"keywords": [
"checkbox"
@ -34,7 +34,7 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@heroui/system": ">=2.4.7",
"@heroui/system": ">=2.4.17",
"@heroui/theme": ">=2.4.3",
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0"
@ -45,9 +45,9 @@
"@heroui/shared-utils": "workspace:*",
"@heroui/use-callback-ref": "workspace:*",
"@heroui/use-safe-layout-effect": "workspace:*",
"@react-aria/checkbox": "3.15.6",
"@react-aria/focus": "3.20.4",
"@react-aria/interactions": "3.25.2",
"@react-aria/checkbox": "3.15.7",
"@react-aria/focus": "3.20.5",
"@react-aria/interactions": "3.25.3",
"@react-aria/utils": "3.29.1",
"@react-stately/checkbox": "3.6.15",
"@react-stately/toggle": "3.8.5",

View File

@ -1,5 +1,13 @@
# @heroui/chip
## 2.2.18
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
## 2.2.17
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/chip",
"version": "2.2.17",
"version": "2.2.18",
"description": "Chips help people enter information, make selections, filter content, or trigger actions.",
"keywords": [
"chip"
@ -37,14 +37,14 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/shared-icons": "workspace:*",
"@heroui/shared-utils": "workspace:*",
"@heroui/react-utils": "workspace:*",
"@react-aria/focus": "3.20.4",
"@react-aria/interactions": "3.25.2",
"@react-aria/focus": "3.20.5",
"@react-aria/interactions": "3.25.3",
"@react-aria/utils": "3.29.1"
},
"devDependencies": {

View File

@ -1,5 +1,18 @@
# @heroui/date-input
## 2.3.21
### Patch Changes
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - remove `@interationalized/date` from system
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed)]:
- @heroui/form@2.1.21
## 2.3.20
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/date-input",
"version": "2.3.20",
"version": "2.3.21",
"description": "A date input allows users to enter and edit date and time values using a keyboard.",
"keywords": [
"date-field"
@ -34,7 +34,7 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@heroui/system": ">=2.4.10",
"@heroui/system": ">=2.4.17",
"@heroui/theme": ">=2.4.16",
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0"
@ -44,7 +44,7 @@
"@heroui/react-utils": "workspace:*",
"@heroui/shared-utils": "workspace:*",
"@internationalized/date": "3.8.2",
"@react-aria/datepicker": "3.14.4",
"@react-aria/datepicker": "3.14.5",
"@react-aria/i18n": "3.12.10",
"@react-stately/datepicker": "3.14.2",
"@react-types/datepicker": "3.12.2",

View File

@ -1,12 +1,10 @@
import type {DateInputVariantProps, DateInputSlots, SlotsToClasses} from "@heroui/theme";
import type {AriaDateFieldProps} from "@react-types/datepicker";
import type {DateValue, SpectrumDatePickerBase} from "@react-types/datepicker";
import type {AriaDateFieldProps, SpectrumDatePickerBase} from "@react-types/datepicker";
import type {ReactRef} from "@heroui/react-utils";
import type {DOMAttributes, GroupDOMAttributes} from "@react-types/shared";
import type {DateInputGroupProps} from "./date-input-group";
import type {CalendarIdentifier} from "@internationalized/date";
import type {PropGetter} from "@heroui/system";
import type {HTMLHeroUIProps} from "@heroui/system";
import type {DateValue, CalendarIdentifier} from "@internationalized/date";
import type {PropGetter, HTMLHeroUIProps} from "@heroui/system";
import {useLocale} from "@react-aria/i18n";
import {createCalendar, CalendarDate, DateFormatter} from "@internationalized/date";
@ -151,10 +149,10 @@ export function useDateInput<T extends DateValue>(originalProps: UseDateInputPro
descriptionProps: descriptionPropsProp,
validationBehavior = formValidationBehavior ?? globalContext?.validationBehavior ?? "native",
shouldForceLeadingZeros = true,
minValue = globalContext?.defaultDates?.minDate ??
new CalendarDate(calendarProp, 1900 + gregorianYearOffset, 1, 1),
maxValue = globalContext?.defaultDates?.maxDate ??
new CalendarDate(calendarProp, 2099 + gregorianYearOffset, 12, 31),
minValue = (globalContext?.defaultDates?.minDate ??
new CalendarDate(calendarProp, 1900 + gregorianYearOffset, 1, 1)) as DateValue,
maxValue = (globalContext?.defaultDates?.maxDate ??
new CalendarDate(calendarProp, 2099 + gregorianYearOffset, 12, 31)) as DateValue,
createCalendar: createCalendarProp = globalContext?.createCalendar ?? null,
isInvalid: isInvalidProp = validationState ? validationState === "invalid" : false,
errorMessage,

View File

@ -1,5 +1,21 @@
# @heroui/date-picker
## 2.3.22
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed), [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf), [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed)]:
- @heroui/date-input@2.3.21
- @heroui/calendar@2.2.22
- @heroui/popover@2.3.22
- @heroui/button@2.2.22
- @heroui/form@2.1.21
- @heroui/aria-utils@2.2.19
## 2.3.21
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/date-picker",
"version": "2.3.21",
"version": "2.3.22",
"description": "A date picker combines a DateInput and a Calendar popover to allow users to enter or select a date and time value.",
"keywords": [
"date-picker"
@ -34,7 +34,7 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@heroui/system": ">=2.4.10",
"@heroui/system": ">=2.4.17",
"@heroui/theme": ">=2.4.9",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"react": ">=18 || >=19.0.0-rc.0",
@ -51,7 +51,7 @@
"@heroui/react-utils": "workspace:*",
"@heroui/shared-icons": "workspace:*",
"@heroui/shared-utils": "workspace:*",
"@react-aria/datepicker": "3.14.4",
"@react-aria/datepicker": "3.14.5",
"@react-aria/i18n": "3.12.10",
"@react-aria/utils": "3.29.1",
"@react-stately/datepicker": "3.14.2",

View File

@ -1,5 +1,15 @@
# @heroui/drawer
## 2.2.19
### Patch Changes
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf), [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed)]:
- @heroui/modal@2.2.19
- @heroui/framer-utils@2.1.18
## 2.2.18
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/drawer",
"version": "2.2.18",
"version": "2.2.19",
"description": "Used to render a content that slides in from the side of the screen.",
"keywords": [
"drawer"
@ -37,7 +37,7 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/shared-utils": "workspace:*",

View File

@ -1,5 +1,18 @@
# @heroui/dropdown
## 2.3.22
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf), [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed)]:
- @heroui/popover@2.3.22
- @heroui/menu@2.2.21
- @heroui/aria-utils@2.2.19
## 2.3.21
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/dropdown",
"version": "2.3.21",
"version": "2.3.22",
"description": "A dropdown displays a list of actions or options that a user can choose.",
"keywords": [
"dropdown"
@ -34,7 +34,7 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@heroui/system": ">=2.4.7",
"@heroui/system": ">=2.4.17",
"@heroui/theme": ">=2.4.6",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"react": ">=18 || >=19.0.0-rc.0",
@ -46,8 +46,8 @@
"@heroui/popover": "workspace:*",
"@heroui/react-utils": "workspace:*",
"@heroui/shared-utils": "workspace:*",
"@react-aria/focus": "3.20.4",
"@react-aria/menu": "3.18.4",
"@react-aria/focus": "3.20.5",
"@react-aria/menu": "3.18.5",
"@react-aria/utils": "3.29.1",
"@react-stately/menu": "3.9.5",
"@react-types/menu": "3.10.2"

View File

@ -1,5 +1,14 @@
# @heroui/form
## 2.1.21
### Patch Changes
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed), [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf)]:
- @heroui/system@2.4.18
## 2.1.20
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/form",
"version": "2.1.20",
"version": "2.1.21",
"description": "A form is a group of inputs that allows users submit data to a server and supports field validation errors.",
"keywords": [
"form"
@ -34,7 +34,7 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@heroui/system": ">=2.4.7",
"@heroui/system": ">=2.4.17",
"@heroui/theme": ">=2.4.6",
"react": ">=18",
"react-dom": ">=18"

View File

@ -1,5 +1,11 @@
# @heroui/image
## 2.2.14
### Patch Changes
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
## 2.2.13
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/image",
"version": "2.2.13",
"version": "2.2.14",
"description": "A simple image component",
"keywords": [
"image"
@ -37,7 +37,7 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/shared-utils": "workspace:*",

View File

@ -1,5 +1,16 @@
# @heroui/input-otp
## 2.1.21
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed)]:
- @heroui/form@2.1.21
## 2.1.20
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/input-otp",
"version": "2.1.20",
"version": "2.1.21",
"description": "",
"keywords": [
"input-otp"
@ -37,19 +37,19 @@
"react": ">=18",
"react-dom": ">=18",
"@heroui/theme": ">=2.4.16",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/form": "workspace:*",
"@heroui/shared-utils": "workspace:*",
"@heroui/react-utils": "workspace:*",
"@react-aria/utils": "3.29.1",
"@react-aria/form": "3.0.17",
"@react-aria/form": "3.0.18",
"@react-stately/utils": "3.10.7",
"@react-stately/form": "3.1.5",
"@react-types/textfield": "3.12.3",
"input-otp": "1.4.1",
"@react-aria/focus": "3.20.4"
"@react-aria/focus": "3.20.5"
},
"devDependencies": {
"@heroui/theme": "workspace:*",

View File

@ -1,5 +1,16 @@
# @heroui/input
## 2.4.22
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed)]:
- @heroui/form@2.1.21
## 2.4.21
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/input",
"version": "2.4.21",
"version": "2.4.22",
"description": "The input component is designed for capturing user input within a text field.",
"keywords": [
"input"
@ -37,7 +37,7 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@heroui/theme": ">=2.4.12",
"@heroui/system": ">=2.4.10"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/form": "workspace:*",
@ -45,9 +45,9 @@
"@heroui/shared-icons": "workspace:*",
"@heroui/shared-utils": "workspace:*",
"@heroui/use-safe-layout-effect": "workspace:*",
"@react-aria/focus": "3.20.4",
"@react-aria/interactions": "3.25.2",
"@react-aria/textfield": "3.17.4",
"@react-aria/focus": "3.20.5",
"@react-aria/interactions": "3.25.3",
"@react-aria/textfield": "3.17.5",
"@react-aria/utils": "3.29.1",
"@react-stately/utils": "3.10.7",
"@react-types/shared": "3.30.0",

View File

@ -1,5 +1,16 @@
# @heroui/link
## 2.2.19
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf)]:
- @heroui/use-aria-link@2.2.17
## 2.2.18
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/link",
"version": "2.2.18",
"version": "2.2.19",
"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": [
"link"
@ -37,7 +37,7 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/shared-utils": "workspace:*",
@ -45,7 +45,7 @@
"@heroui/react-utils": "workspace:*",
"@heroui/use-aria-link": "workspace:*",
"@react-aria/utils": "3.29.1",
"@react-aria/focus": "3.20.4",
"@react-aria/focus": "3.20.5",
"@react-types/link": "3.6.2"
},
"devDependencies": {

View File

@ -1,5 +1,16 @@
# @heroui/listbox
## 2.3.21
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies []:
- @heroui/aria-utils@2.2.19
## 2.3.20
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/listbox",
"version": "2.3.20",
"version": "2.3.21",
"description": "A listbox displays a list of options and allows a user to select one or more of them.",
"keywords": [
"listbox"
@ -37,7 +37,7 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/aria-utils": "workspace:*",
@ -47,10 +47,10 @@
"@heroui/use-is-mobile": "workspace:*",
"@tanstack/react-virtual": "3.11.3",
"@react-aria/utils": "3.29.1",
"@react-aria/listbox": "3.14.5",
"@react-aria/listbox": "3.14.6",
"@react-stately/list": "3.12.3",
"@react-aria/focus": "3.20.4",
"@react-aria/interactions": "3.25.2",
"@react-aria/focus": "3.20.5",
"@react-aria/interactions": "3.25.3",
"@react-types/shared": "3.30.0"
},
"devDependencies": {

View File

@ -1,5 +1,16 @@
# @heroui/menu
## 2.2.21
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies []:
- @heroui/aria-utils@2.2.19
## 2.2.20
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/menu",
"version": "2.2.20",
"version": "2.2.21",
"description": "A menu displays a list of options and allows a user to select one or more of them.",
"keywords": [
"menu"
@ -37,7 +37,7 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/divider": "workspace:*",
@ -45,9 +45,9 @@
"@heroui/use-is-mobile": "workspace:*",
"@heroui/shared-utils": "workspace:*",
"@heroui/react-utils": "workspace:*",
"@react-aria/focus": "3.20.4",
"@react-aria/interactions": "3.25.2",
"@react-aria/menu": "3.18.4",
"@react-aria/focus": "3.20.5",
"@react-aria/interactions": "3.25.3",
"@react-aria/menu": "3.18.5",
"@react-aria/utils": "3.29.1",
"@react-stately/tree": "3.9.0",
"@react-types/menu": "3.10.2",

View File

@ -1,5 +1,19 @@
# @heroui/modal
## 2.2.19
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf)]:
- @heroui/use-aria-modal-overlay@2.2.15
- @heroui/use-aria-button@2.2.16
- @heroui/use-draggable@2.1.14
- @heroui/framer-utils@2.1.18
## 2.2.18
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/modal",
"version": "2.2.18",
"version": "2.2.19",
"description": "Displays a dialog with a custom content that requires attention or provides additional information.",
"keywords": [
"modal"
@ -38,7 +38,7 @@
"react-dom": ">=18 || >=19.0.0-rc.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/use-disclosure": "workspace:*",
@ -50,9 +50,9 @@
"@heroui/shared-icons": "workspace:*",
"@heroui/use-aria-modal-overlay": "workspace:*",
"@heroui/dom-animation": "workspace:*",
"@react-aria/dialog": "3.5.26",
"@react-aria/focus": "3.20.4",
"@react-aria/overlays": "3.27.2",
"@react-aria/dialog": "3.5.27",
"@react-aria/focus": "3.20.5",
"@react-aria/overlays": "3.27.3",
"@react-aria/utils": "3.29.1",
"@react-stately/overlays": "3.6.17"
},

View File

@ -1,5 +1,16 @@
# @heroui/navbar
## 2.2.20
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies []:
- @heroui/framer-utils@2.1.18
## 2.2.19
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/navbar",
"version": "2.2.19",
"version": "2.2.20",
"description": "A responsive navigation header positioned on top side of your page that includes support for branding, links, navigation, collapse and more.",
"keywords": [
"navbar"
@ -38,7 +38,7 @@
"react-dom": ">=18 || >=19.0.0-rc.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/shared-utils": "workspace:*",
@ -46,10 +46,10 @@
"@heroui/framer-utils": "workspace:*",
"@heroui/use-scroll-position": "workspace:*",
"@heroui/dom-animation": "workspace:*",
"@react-aria/focus": "3.20.4",
"@react-aria/interactions": "3.25.2",
"@react-aria/button": "3.13.2",
"@react-aria/overlays": "3.27.2",
"@react-aria/focus": "3.20.5",
"@react-aria/interactions": "3.25.3",
"@react-aria/button": "3.13.3",
"@react-aria/overlays": "3.27.3",
"@react-aria/utils": "3.29.1",
"@react-stately/toggle": "3.8.5",
"@react-stately/utils": "3.10.7"

View File

@ -1,5 +1,17 @@
# @heroui/number-input
## 2.0.12
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf), [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed)]:
- @heroui/button@2.2.22
- @heroui/form@2.1.21
## 2.0.11
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/number-input",
"version": "2.0.11",
"version": "2.0.12",
"description": "The numeric input component is designed for users to enter a number, and increase or decrease the value using stepper buttons",
"keywords": [
"input",
@ -38,7 +38,7 @@
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@heroui/system": ">=2.4.10",
"@heroui/system": ">=2.4.17",
"@heroui/theme": ">=2.4.16"
},
"dependencies": {
@ -48,10 +48,10 @@
"@heroui/shared-icons": "workspace:*",
"@heroui/shared-utils": "workspace:*",
"@heroui/use-safe-layout-effect": "workspace:*",
"@react-aria/focus": "3.20.4",
"@react-aria/focus": "3.20.5",
"@react-aria/i18n": "3.12.10",
"@react-aria/interactions": "3.25.2",
"@react-aria/numberfield": "3.11.15",
"@react-aria/interactions": "3.25.3",
"@react-aria/numberfield": "3.11.16",
"@react-aria/utils": "3.29.1",
"@react-stately/numberfield": "3.9.13",
"@react-types/shared": "3.30.0",

View File

@ -1,5 +1,13 @@
# @heroui/pagination
## 2.2.20
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
## 2.2.19
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/pagination",
"version": "2.2.19",
"version": "2.2.20",
"description": "The Pagination component allows you to display active page and navigate between multiple pages.",
"keywords": [
"pagination"
@ -37,7 +37,7 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/shared-utils": "workspace:*",
@ -45,9 +45,9 @@
"@heroui/shared-icons": "workspace:*",
"@heroui/use-intersection-observer": "workspace:*",
"@heroui/use-pagination": "workspace:*",
"@react-aria/focus": "3.20.4",
"@react-aria/focus": "3.20.5",
"@react-aria/i18n": "3.12.10",
"@react-aria/interactions": "3.25.2",
"@react-aria/interactions": "3.25.3",
"@react-aria/utils": "3.29.1",
"scroll-into-view-if-needed": "3.0.10"
},

View File

@ -1,5 +1,19 @@
# @heroui/popover
## 2.3.22
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf), [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed)]:
- @heroui/use-aria-button@2.2.16
- @heroui/button@2.2.22
- @heroui/aria-utils@2.2.19
- @heroui/framer-utils@2.1.18
## 2.3.21
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/popover",
"version": "2.3.21",
"version": "2.3.22",
"description": "A popover is an overlay element positioned relative to a trigger.",
"keywords": [
"popover"
@ -34,7 +34,7 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@heroui/system": ">=2.4.7",
"@heroui/system": ">=2.4.17",
"@heroui/theme": ">=2.4.6",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"react": ">=18 || >=19.0.0-rc.0",
@ -49,9 +49,9 @@
"@heroui/use-aria-button": "workspace:*",
"@heroui/use-safe-layout-effect": "workspace:*",
"@heroui/dom-animation": "workspace:*",
"@react-aria/dialog": "3.5.26",
"@react-aria/focus": "3.20.4",
"@react-aria/overlays": "3.27.2",
"@react-aria/dialog": "3.5.27",
"@react-aria/focus": "3.20.5",
"@react-aria/overlays": "3.27.3",
"@react-aria/utils": "3.29.1",
"@react-stately/overlays": "3.6.17",
"@react-types/overlays": "3.8.16"

View File

@ -1,5 +1,11 @@
# @heroui/progress
## 2.2.18
### Patch Changes
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
## 2.2.17
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/progress",
"version": "2.2.17",
"version": "2.2.18",
"description": "Progress bars show either determinate or indeterminate progress of an operation over time.",
"keywords": [
"progress"
@ -37,7 +37,7 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/shared-utils": "workspace:*",

View File

@ -1,5 +1,16 @@
# @heroui/radio
## 2.3.21
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed)]:
- @heroui/form@2.1.21
## 2.3.20
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/radio",
"version": "2.3.20",
"version": "2.3.21",
"description": "Radios allow users to select a single option from a list of mutually exclusive options.",
"keywords": [
"radio"
@ -37,17 +37,17 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@heroui/theme": ">=2.4.3",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/form": "workspace:*",
"@heroui/shared-utils": "workspace:*",
"@heroui/react-utils": "workspace:*",
"@react-aria/focus": "3.20.4",
"@react-aria/interactions": "3.25.2",
"@react-aria/radio": "3.11.4",
"@react-aria/focus": "3.20.5",
"@react-aria/interactions": "3.25.3",
"@react-aria/radio": "3.11.5",
"@react-aria/utils": "3.29.1",
"@react-aria/visually-hidden": "3.8.24",
"@react-aria/visually-hidden": "3.8.25",
"@react-stately/radio": "3.10.14",
"@react-types/radio": "3.8.10",
"@react-types/shared": "3.30.0"

View File

@ -1,5 +1,11 @@
# @heroui/ripple
## 2.2.17
### Patch Changes
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
## 2.2.16
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/ripple",
"version": "2.2.16",
"version": "2.2.17",
"description": "A simple implementation to display a ripple animation when the source component is clicked",
"keywords": [
"ripple"
@ -38,7 +38,7 @@
"react-dom": ">=18 || >=19.0.0-rc.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/shared-utils": "workspace:*",

View File

@ -1,5 +1,11 @@
# @heroui/scroll-shadow
## 2.3.15
### Patch Changes
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
## 2.3.14
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/scroll-shadow",
"version": "2.3.14",
"version": "2.3.15",
"description": "A component that applies top and bottom shadows when content overflows on scroll.",
"keywords": [
"scroll-shadow"
@ -37,7 +37,7 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/shared-utils": "workspace:*",

View File

@ -1,5 +1,23 @@
# @heroui/select
## 2.4.22
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf), [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed)]:
- @heroui/use-aria-multiselect@2.4.15
- @heroui/use-aria-button@2.2.16
- @heroui/listbox@2.3.21
- @heroui/popover@2.3.22
- @heroui/scroll-shadow@2.3.15
- @heroui/form@2.1.21
- @heroui/spinner@2.2.19
- @heroui/aria-utils@2.2.19
## 2.4.21
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/select",
"version": "2.4.21",
"version": "2.4.22",
"description": "A select displays a collapsible list of options and allows a user to select one of them.",
"keywords": [
"select"
@ -34,7 +34,7 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@heroui/system": ">=2.4.10",
"@heroui/system": ">=2.4.17",
"@heroui/theme": ">=2.4.12",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"react": ">=18 || >=19.0.0-rc.0",
@ -53,12 +53,12 @@
"@heroui/use-aria-multiselect": "workspace:*",
"@heroui/use-safe-layout-effect": "workspace:*",
"@heroui/form": "workspace:*",
"@react-aria/focus": "3.20.4",
"@react-aria/form": "3.0.17",
"@react-aria/overlays": "3.27.2",
"@react-aria/interactions": "3.25.2",
"@react-aria/focus": "3.20.5",
"@react-aria/form": "3.0.18",
"@react-aria/overlays": "3.27.3",
"@react-aria/interactions": "3.25.3",
"@react-aria/utils": "3.29.1",
"@react-aria/visually-hidden": "3.8.24",
"@react-aria/visually-hidden": "3.8.25",
"@react-types/shared": "3.30.0"
},
"devDependencies": {

View File

@ -1,5 +1,11 @@
# @heroui/skeleton
## 2.2.14
### Patch Changes
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
## 2.2.13
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/skeleton",
"version": "2.2.13",
"version": "2.2.14",
"description": "Skeleton is used to display the loading state of some component.",
"keywords": [
"skeleton"
@ -37,7 +37,7 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/shared-utils": "workspace:*"

View File

@ -1,5 +1,16 @@
# @heroui/slider
## 2.4.19
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf), [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed)]:
- @heroui/tooltip@2.2.19
## 2.4.18
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/slider",
"version": "2.4.18",
"version": "2.4.19",
"description": "A slider allows a user to select one or more values within a range.",
"keywords": [
"slider"
@ -37,18 +37,18 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/shared-utils": "workspace:*",
"@heroui/react-utils": "workspace:*",
"@heroui/tooltip": "workspace:*",
"@react-aria/focus": "3.20.4",
"@react-aria/focus": "3.20.5",
"@react-aria/i18n": "3.12.10",
"@react-aria/interactions": "3.25.2",
"@react-aria/slider": "3.7.20",
"@react-aria/interactions": "3.25.3",
"@react-aria/slider": "3.7.21",
"@react-aria/utils": "3.29.1",
"@react-aria/visually-hidden": "3.8.24",
"@react-aria/visually-hidden": "3.8.25",
"@react-stately/slider": "3.6.5"
},
"devDependencies": {

View File

@ -1,5 +1,17 @@
# @heroui/snippet
## 2.2.23
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf), [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed)]:
- @heroui/tooltip@2.2.19
- @heroui/button@2.2.22
## 2.2.22
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/snippet",
"version": "2.2.22",
"version": "2.2.23",
"description": "Display a snippet of copyable code for the command line.",
"keywords": [
"snippet"
@ -38,7 +38,7 @@
"react-dom": ">=18 || >=19.0.0-rc.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/button": "workspace:*",
@ -47,7 +47,7 @@
"@heroui/shared-icons": "workspace:*",
"@heroui/use-clipboard": "workspace:*",
"@heroui/tooltip": "workspace:*",
"@react-aria/focus": "3.20.4"
"@react-aria/focus": "3.20.5"
},
"devDependencies": {
"@heroui/theme": "workspace:*",

View File

@ -1,5 +1,12 @@
# @heroui/spinner
## 2.2.19
### Patch Changes
- Updated dependencies [[`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed), [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf)]:
- @heroui/system@2.4.18
## 2.2.18
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/spinner",
"version": "2.2.18",
"version": "2.2.19",
"description": "Loaders express an unspecified wait time or display the length of a process.",
"keywords": [
"loading",

View File

@ -1,5 +1,13 @@
# @heroui/switch
## 2.2.20
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
## 2.2.19
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/switch",
"version": "2.2.19",
"version": "2.2.20",
"description": "A switch is similar to a checkbox, but represents on/off values as opposed to selection.",
"keywords": [
"switch"
@ -37,17 +37,17 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@heroui/theme": ">=2.4.3",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/shared-utils": "workspace:*",
"@heroui/react-utils": "workspace:*",
"@heroui/use-safe-layout-effect": "workspace:*",
"@react-aria/focus": "3.20.4",
"@react-aria/interactions": "3.25.2",
"@react-aria/switch": "3.7.4",
"@react-aria/focus": "3.20.5",
"@react-aria/interactions": "3.25.3",
"@react-aria/switch": "3.7.5",
"@react-aria/utils": "3.29.1",
"@react-aria/visually-hidden": "3.8.24",
"@react-aria/visually-hidden": "3.8.25",
"@react-stately/toggle": "3.8.5"
},
"devDependencies": {

View File

@ -1,5 +1,16 @@
# @heroui/table
## 2.2.21
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf), [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed)]:
- @heroui/checkbox@2.3.21
## 2.2.20
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/table",
"version": "2.2.20",
"version": "2.2.21",
"description": "Tables are used to display tabular data using rows and columns. ",
"keywords": [
"table"
@ -37,7 +37,7 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/checkbox": "workspace:*",
@ -45,11 +45,11 @@
"@heroui/shared-icons": "workspace:*",
"@heroui/shared-utils": "workspace:*",
"@heroui/spacer": "workspace:*",
"@react-aria/focus": "3.20.4",
"@react-aria/interactions": "3.25.2",
"@react-aria/table": "3.17.4",
"@react-aria/focus": "3.20.5",
"@react-aria/interactions": "3.25.3",
"@react-aria/table": "3.17.5",
"@react-aria/utils": "3.29.1",
"@react-aria/visually-hidden": "3.8.24",
"@react-aria/visually-hidden": "3.8.25",
"@react-stately/table": "3.14.3",
"@react-stately/virtualizer": "4.4.1",
"@react-types/grid": "3.3.3",

View File

@ -1,5 +1,18 @@
# @heroui/tabs
## 2.2.19
### Patch Changes
- [#5378](https://github.com/heroui-inc/heroui/pull/5378) [`dd63b83`](https://github.com/heroui-inc/heroui/commit/dd63b83b6b1a1e69e0f77970f471cd2c957f47dd) Thanks [@wingkwong](https://github.com/wingkwong)! - fix tabs handleClick (#5357)
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies []:
- @heroui/aria-utils@2.2.19
## 2.2.18
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/tabs",
"version": "2.2.18",
"version": "2.2.19",
"description": "Tabs organize content into multiple sections and allow users to navigate between them.",
"keywords": [
"tabs"
@ -38,16 +38,16 @@
"react-dom": ">=18 || >=19.0.0-rc.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/shared-utils": "workspace:*",
"@heroui/react-utils": "workspace:*",
"@heroui/aria-utils": "workspace:*",
"@heroui/use-is-mounted": "workspace:*",
"@react-aria/focus": "3.20.4",
"@react-aria/interactions": "3.25.2",
"@react-aria/tabs": "3.10.4",
"@react-aria/focus": "3.20.5",
"@react-aria/interactions": "3.25.3",
"@react-aria/tabs": "3.10.5",
"@react-aria/utils": "3.29.1",
"@react-stately/tabs": "3.8.3",
"@react-types/shared": "3.30.0",

View File

@ -79,8 +79,6 @@ const Tab = forwardRef<"button", TabItemProps>((props, ref) => {
});
const handleClick = () => {
chain(onClick, tabProps.onClick)();
if (!domRef?.current || !listRef?.current) return;
scrollIntoView(domRef.current, {
@ -115,7 +113,7 @@ const Tab = forwardRef<"button", TabItemProps>((props, ref) => {
enabled: shouldFilterDOMProps,
omitPropNames: new Set(["title"]),
}),
{onClick: handleClick},
{onClick: chain(handleClick, onClick, tabProps.onClick)},
)}
className={slots.tab?.({class: tabStyles})}
title={otherProps?.titleValue}

View File

@ -1,5 +1,16 @@
# @heroui/toast
## 2.0.12
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies []:
- @heroui/spinner@2.2.19
## 2.0.11
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/toast",
"version": "2.0.11",
"version": "2.0.12",
"description": "Toast are temporary notifications that provide concise feedback about an action or event",
"keywords": [
"toast"
@ -34,7 +34,7 @@
"postpack": "clean-package restore"
},
"peerDependencies": {
"@heroui/system": ">=2.4.10",
"@heroui/system": ">=2.4.17",
"@heroui/theme": ">=2.4.12",
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
@ -46,9 +46,9 @@
"@heroui/shared-icons": "workspace:*",
"@heroui/use-is-mobile": "workspace:*",
"@heroui/spinner": "workspace:*",
"@react-aria/toast": "3.0.4",
"@react-aria/toast": "3.0.5",
"@react-aria/utils": "3.29.1",
"@react-aria/interactions": "3.25.2",
"@react-aria/interactions": "3.25.3",
"@react-stately/toast": "3.1.1"
},
"devDependencies": {

View File

@ -1,5 +1,17 @@
# @heroui/tooltip
## 2.2.19
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies []:
- @heroui/aria-utils@2.2.19
- @heroui/framer-utils@2.1.18
## 2.2.18
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/tooltip",
"version": "2.2.18",
"version": "2.2.19",
"description": "A React Component for rendering dynamically positioned Tooltips",
"keywords": [
"tooltip"
@ -38,7 +38,7 @@
"react-dom": ">=18 || >=19.0.0-rc.0",
"framer-motion": ">=11.5.6 || >=12.0.0-alpha.1",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/shared-utils": "workspace:*",
@ -47,8 +47,8 @@
"@heroui/framer-utils": "workspace:*",
"@heroui/use-safe-layout-effect": "workspace:*",
"@heroui/dom-animation": "workspace:*",
"@react-aria/overlays": "3.27.2",
"@react-aria/tooltip": "3.8.4",
"@react-aria/overlays": "3.27.3",
"@react-aria/tooltip": "3.8.5",
"@react-aria/utils": "3.29.1",
"@react-stately/tooltip": "3.5.5",
"@react-types/overlays": "3.8.16",

View File

@ -1,5 +1,16 @@
# @heroui/user
## 2.2.18
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - bump system peer dependencies
- Updated dependencies [[`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf), [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed)]:
- @heroui/avatar@2.2.18
## 2.2.17
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/user",
"version": "2.2.17",
"version": "2.2.18",
"description": "Flexible User Profile Component.",
"keywords": [
"user"
@ -37,13 +37,13 @@
"react": ">=18 || >=19.0.0-rc.0",
"react-dom": ">=18 || >=19.0.0-rc.0",
"@heroui/theme": ">=2.4.6",
"@heroui/system": ">=2.4.7"
"@heroui/system": ">=2.4.17"
},
"dependencies": {
"@heroui/avatar": "workspace:*",
"@heroui/shared-utils": "workspace:*",
"@heroui/react-utils": "workspace:*",
"@react-aria/focus": "3.20.4",
"@react-aria/focus": "3.20.5",
"@react-aria/utils": "3.29.1"
},
"devDependencies": {

View File

@ -1,5 +1,57 @@
# @heroui/react
## 2.7.11
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
- Updated dependencies [[`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed), [`dd63b83`](https://github.com/heroui-inc/heroui/commit/dd63b83b6b1a1e69e0f77970f471cd2c957f47dd), [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf), [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed)]:
- @heroui/date-input@2.3.21
- @heroui/calendar@2.2.22
- @heroui/system@2.4.18
- @heroui/tabs@2.2.19
- @heroui/autocomplete@2.3.23
- @heroui/number-input@2.0.12
- @heroui/breadcrumbs@2.2.18
- @heroui/date-picker@2.3.22
- @heroui/pagination@2.2.20
- @heroui/accordion@2.2.19
- @heroui/input-otp@2.1.21
- @heroui/checkbox@2.3.21
- @heroui/dropdown@2.3.22
- @heroui/listbox@2.3.21
- @heroui/popover@2.3.22
- @heroui/snippet@2.2.23
- @heroui/tooltip@2.2.19
- @heroui/avatar@2.2.18
- @heroui/button@2.2.22
- @heroui/navbar@2.2.20
- @heroui/select@2.4.22
- @heroui/slider@2.4.19
- @heroui/switch@2.2.20
- @heroui/input@2.4.22
- @heroui/modal@2.2.19
- @heroui/radio@2.3.21
- @heroui/table@2.2.21
- @heroui/toast@2.0.12
- @heroui/card@2.2.21
- @heroui/chip@2.2.18
- @heroui/link@2.2.19
- @heroui/menu@2.2.21
- @heroui/user@2.2.18
- @heroui/scroll-shadow@2.3.15
- @heroui/progress@2.2.18
- @heroui/skeleton@2.2.14
- @heroui/drawer@2.2.19
- @heroui/ripple@2.2.17
- @heroui/alert@2.2.22
- @heroui/badge@2.2.14
- @heroui/image@2.2.14
- @heroui/form@2.1.21
- @heroui/spinner@2.2.19
- @heroui/framer-utils@2.1.18
## 2.7.10
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/react",
"version": "2.7.10",
"version": "2.7.11",
"description": "🚀 Beautiful and modern React UI library.",
"author": "HeroUI <support@heroui.com>",
"homepage": "https://heroui.com",
@ -91,7 +91,7 @@
"@heroui/alert": "workspace:*",
"@heroui/number-input": "workspace:*",
"@heroui/toast": "workspace:*",
"@react-aria/visually-hidden": "3.8.24"
"@react-aria/visually-hidden": "3.8.25"
},
"peerDependencies": {
"react": ">=18 || >=19.0.0-rc.0",

View File

@ -1,5 +1,13 @@
# @heroui/system
## 2.4.18
### Patch Changes
- [#5374](https://github.com/heroui-inc/heroui/pull/5374) [`be6a1db`](https://github.com/heroui-inc/heroui/commit/be6a1dbf40507af164ebdbe085eda6cceb98aeed) Thanks [@wingkwong](https://github.com/wingkwong)! - remove `@interationalized/date` from system
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
## 2.4.17
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/system",
"version": "2.4.17",
"version": "2.4.18",
"description": "HeroUI system primitives",
"keywords": [
"system"
@ -57,8 +57,7 @@
"@heroui/react-utils": "workspace:*",
"@heroui/system-rsc": "workspace:*",
"@react-aria/i18n": "3.12.10",
"@react-aria/overlays": "3.27.2",
"@react-aria/utils": "3.29.1",
"@react-types/calendar": "3.7.2"
"@react-aria/overlays": "3.27.3",
"@react-aria/utils": "3.29.1"
}
}

View File

@ -1,5 +1,4 @@
import type {SpinnerVariants} from "./types";
import type {DateValue, SpectrumCalendarProps} from "@react-types/calendar";
import type {SpinnerVariants, Calendar, DateValue, CalendarIdentifier} from "./types";
import {createContext} from "@heroui/react-utils";
@ -85,7 +84,7 @@ export type ProviderContextProps = {
*
* @default all calendars
*/
createCalendar?: SpectrumCalendarProps<DateValue>["createCalendar"];
createCalendar?: (identifier: CalendarIdentifier) => Calendar;
/**
* The default variant of the spinner.
* @default default

View File

@ -2,3 +2,297 @@
* Spinner Variants
*/
export type SpinnerVariants = "default" | "simple" | "gradient" | "wave" | "dots" | "spinner";
/**
* Interationalized Date
* Retrieved from `@internationalized/date` to avoid importing the entire package.
*/
export abstract class CalendarDate {
/** The calendar system associated with this date, e.g. Gregorian. */
abstract readonly calendar: Calendar;
/** The calendar era for this date, e.g. "BC" or "AD". */
abstract readonly era: string;
/** The year of this date within the era. */
abstract readonly year: number;
/**
* The month number within the year. Note that some calendar systems such as Hebrew
* may have a variable number of months per year. Therefore, month numbers may not
* always correspond to the same month names in different years.
*/
abstract readonly month: number;
/** The day number within the month. */
abstract readonly day: number;
/** Returns a copy of this date. */
abstract copy(): CalendarDate;
/** Returns a new `CalendarDate` with the given duration added to it. */
abstract add(duration: DateDuration): CalendarDate;
/** Returns a new `CalendarDate` with the given duration subtracted from it. */
abstract subtract(duration: DateDuration): CalendarDate;
/** Returns a new `CalendarDate` with the given fields set to the provided values. Other fields will be constrained accordingly. */
abstract set(fields: DateFields): CalendarDate;
/**
* Returns a new `CalendarDate` with the given field adjusted by a specified amount.
* When the resulting value reaches the limits of the field, it wraps around.
*/
abstract cycle(field: DateField, amount: number, options?: CycleOptions): CalendarDate;
/** Converts the date to a native JavaScript Date object, with the time set to midnight in the given time zone. */
abstract toDate(timeZone: string): Date;
/** Converts the date to an ISO 8601 formatted string. */
abstract toString(): string;
/** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
abstract compare(b: AnyCalendarDate): number;
}
export abstract class CalendarDateTime {
/** The calendar system associated with this date, e.g. Gregorian. */
abstract readonly calendar: Calendar;
/** The calendar era for this date, e.g. "BC" or "AD". */
abstract readonly era: string;
/** The year of this date within the era. */
abstract readonly year: number;
/**
* The month number within the year. Note that some calendar systems such as Hebrew
* may have a variable number of months per year. Therefore, month numbers may not
* always correspond to the same month names in different years.
*/
abstract readonly month: number;
/** The day number within the month. */
abstract readonly day: number;
/** The hour in the day, numbered from 0 to 23. */
abstract readonly hour: number;
/** The minute in the hour. */
abstract readonly minute: number;
/** The second in the minute. */
abstract readonly second: number;
/** The millisecond in the second. */
abstract readonly millisecond: number;
/** Returns a copy of this date. */
abstract copy(): CalendarDateTime;
/** Returns a new `CalendarDateTime` with the given duration added to it. */
abstract add(duration: DateTimeDuration): CalendarDateTime;
/** Returns a new `CalendarDateTime` with the given duration subtracted from it. */
abstract subtract(duration: DateTimeDuration): CalendarDateTime;
/** Returns a new `CalendarDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */
abstract set(fields: DateFields & TimeFields): CalendarDateTime;
/**
* Returns a new `CalendarDateTime` with the given field adjusted by a specified amount.
* When the resulting value reaches the limits of the field, it wraps around.
*/
abstract cycle(
field: DateField | TimeField,
amount: number,
options?: CycleTimeOptions,
): CalendarDateTime;
/** Converts the date to a native JavaScript Date object in the given time zone. */
abstract toDate(timeZone: string, disambiguation?: Disambiguation): Date;
/** Converts the date to an ISO 8601 formatted string. */
abstract toString(): string;
/** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
abstract compare(b: CalendarDate | CalendarDateTime | ZonedDateTime): number;
}
export abstract class ZonedDateTime {
/** The calendar system associated with this date, e.g. Gregorian. */
abstract readonly calendar: Calendar;
/** The calendar era for this date, e.g. "BC" or "AD". */
abstract readonly era: string;
/** The year of this date within the era. */
abstract readonly year: number;
/**
* The month number within the year. Note that some calendar systems such as Hebrew
* may have a variable number of months per year. Therefore, month numbers may not
* always correspond to the same month names in different years.
*/
abstract readonly month: number;
/** The day number within the month. */
abstract readonly day: number;
/** The hour in the day, numbered from 0 to 23. */
abstract readonly hour: number;
/** The minute in the hour. */
abstract readonly minute: number;
/** The second in the minute. */
abstract readonly second: number;
/** The millisecond in the second. */
abstract readonly millisecond: number;
/** The IANA time zone identifier that this date and time is represented in. */
abstract readonly timeZone: string;
/** The UTC offset for this time, in milliseconds. */
abstract readonly offset: number;
/** Returns a copy of this date. */
abstract copy(): ZonedDateTime;
/** Returns a new `ZonedDateTime` with the given duration added to it. */
abstract add(duration: DateTimeDuration): ZonedDateTime;
/** Returns a new `ZonedDateTime` with the given duration subtracted from it. */
abstract subtract(duration: DateTimeDuration): ZonedDateTime;
/** Returns a new `ZonedDateTime` with the given fields set to the provided values. Other fields will be constrained accordingly. */
abstract set(fields: DateFields & TimeFields, disambiguation?: Disambiguation): ZonedDateTime;
/**
* Returns a new `ZonedDateTime` with the given field adjusted by a specified amount.
* When the resulting value reaches the limits of the field, it wraps around.
*/
abstract cycle(
field: DateField | TimeField,
amount: number,
options?: CycleTimeOptions,
): ZonedDateTime;
/** Converts the date to a native JavaScript Date object. */
abstract toDate(): Date;
/** Converts the date to an ISO 8601 formatted string, including the UTC offset and time zone identifier. */
abstract toString(): string;
/** Converts the date to an ISO 8601 formatted string in UTC. */
abstract toAbsoluteString(): string;
/** Compares this date with another. A negative result indicates that this date is before the given one, and a positive date indicates that it is after. */
abstract compare(b: CalendarDate | CalendarDateTime | ZonedDateTime): number;
}
/** An interface that is compatible with any object with date fields. */
export abstract class AnyCalendarDate {
abstract readonly calendar: Calendar;
abstract readonly era: string;
abstract readonly year: number;
abstract readonly month: number;
abstract readonly day: number;
abstract copy(): this;
}
export type CalendarIdentifier =
| "gregory"
| "buddhist"
| "chinese"
| "coptic"
| "dangi"
| "ethioaa"
| "ethiopic"
| "hebrew"
| "indian"
| "islamic"
| "islamic-umalqura"
| "islamic-tbla"
| "islamic-civil"
| "islamic-rgsa"
| "iso8601"
| "japanese"
| "persian"
| "roc";
/**
* The Calendar interface represents a calendar system, including information
* about how days, months, years, and eras are organized, and methods to perform
* arithmetic on dates.
*/
export interface Calendar {
/**
* A string identifier for the calendar, as defined by Unicode CLDR.
* See [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/supportedValuesOf#supported_calendar_types).
*/
identifier: CalendarIdentifier;
/** Creates a CalendarDate in this calendar from the given Julian day number. */
fromJulianDay(jd: number): CalendarDate;
/** Converts a date in this calendar to a Julian day number. */
toJulianDay(date: AnyCalendarDate): number;
/** Returns the number of days in the month of the given date. */
getDaysInMonth(date: AnyCalendarDate): number;
/** Returns the number of months in the year of the given date. */
getMonthsInYear(date: AnyCalendarDate): number;
/** Returns the number of years in the era of the given date. */
getYearsInEra(date: AnyCalendarDate): number;
/** Returns a list of era identifiers for the calendar. */
getEras(): string[];
/**
* Returns the minimum month number of the given date's year.
* Normally, this is 1, but in some calendars such as the Japanese,
* eras may begin in the middle of a year.
*/
getMinimumMonthInYear?(date: AnyCalendarDate): number;
/**
* Returns the minimum day number of the given date's month.
* Normally, this is 1, but in some calendars such as the Japanese,
* eras may begin in the middle of a month.
*/
getMinimumDayInMonth?(date: AnyCalendarDate): number;
/**
* Returns a date that is the first day of the month for the given date.
* This is used to determine the month that the given date falls in, if
* the calendar has months that do not align with the standard calendar months
* (e.g. fiscal calendars).
*/
getFormattableMonth?(date: AnyCalendarDate): CalendarDate;
/** Returns whether the given calendar is the same as this calendar. */
isEqual?(calendar: Calendar): boolean;
/** @private */
balanceDate?(date: AnyCalendarDate): void;
/** @private */
balanceYearMonth?(date: AnyCalendarDate, previousDate: AnyCalendarDate): void;
/** @private */
constrainDate?(date: AnyCalendarDate): void;
/** @private */
isInverseEra?(date: AnyCalendarDate): boolean;
}
/** Represents an amount of time in calendar-specific units, for use when performing arithmetic. */
export interface DateDuration {
/** The number of years to add or subtract. */
years?: number;
/** The number of months to add or subtract. */
months?: number;
/** The number of weeks to add or subtract. */
weeks?: number;
/** The number of days to add or subtract. */
days?: number;
}
/** Represents an amount of time, for use whe performing arithmetic. */
export interface TimeDuration {
/** The number of hours to add or subtract. */
hours?: number;
/** The number of minutes to add or subtract. */
minutes?: number;
/** The number of seconds to add or subtract. */
seconds?: number;
/** The number of milliseconds to add or subtract. */
milliseconds?: number;
}
/** Represents an amount of time with both date and time components, for use when performing arithmetic. */
export interface DateTimeDuration extends DateDuration, TimeDuration {}
export interface DateFields {
era?: string;
year?: number;
month?: number;
day?: number;
}
export interface TimeFields {
hour?: number;
minute?: number;
second?: number;
millisecond?: number;
}
export type DateField = keyof DateFields;
export type TimeField = keyof TimeFields;
export type Disambiguation = "compatible" | "earlier" | "later" | "reject";
export interface CycleOptions {
/** Whether to round the field value to the nearest interval of the amount. */
round?: boolean;
}
export interface CycleTimeOptions extends CycleOptions {
/**
* Whether to use 12 or 24 hour time. If 12 hour time is chosen, the resulting value
* will remain in the same day period as the original value (e.g. if the value is AM,
* the resulting value also be AM).
* @default 24
*/
hourCycle?: 12 | 24;
}
export type DateValue = CalendarDate | CalendarDateTime | ZonedDateTime;

View File

@ -1,5 +1,11 @@
# @heroui/use-aria-accordion-item
## 2.2.14
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
## 2.2.13
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/use-aria-accordion-item",
"version": "2.2.13",
"version": "2.2.14",
"description": "Internal impl for react aria accordion item",
"keywords": [
"use-aria-accordion-item"
@ -34,8 +34,8 @@
"postpack": "clean-package restore"
},
"dependencies": {
"@react-aria/button": "3.13.2",
"@react-aria/focus": "3.20.4",
"@react-aria/button": "3.13.3",
"@react-aria/focus": "3.20.5",
"@react-stately/tree": "3.9.0",
"@react-types/shared": "3.30.0"
},

View File

@ -1,5 +1,11 @@
# @heroui/use-aria-accordion
## 2.2.14
### Patch Changes
- [#5382](https://github.com/heroui-inc/heroui/pull/5382) [`7dff993`](https://github.com/heroui-inc/heroui/commit/7dff993e1d11e8f915d1e9c1201396e9b5b53dbf) Thanks [@wingkwong](https://github.com/wingkwong)! - bump RA versions
## 2.2.13
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@heroui/use-aria-accordion",
"version": "2.2.13",
"version": "2.2.14",
"description": "React-aria useAccordion hooks with custom implementations",
"keywords": [
"use-aria-accordion"
@ -34,9 +34,9 @@
"postpack": "clean-package restore"
},
"dependencies": {
"@react-aria/button": "3.13.2",
"@react-aria/focus": "3.20.4",
"@react-aria/selection": "3.24.2",
"@react-aria/button": "3.13.3",
"@react-aria/focus": "3.20.5",
"@react-aria/selection": "3.24.3",
"@react-stately/tree": "3.9.0",
"@react-types/accordion": "3.0.0-alpha.26",
"@react-types/shared": "3.30.0"

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