Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions .changeset/fix-use-image-race-condition.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hot-islands-dream.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nine-apes-remain.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/plenty-readers-hang.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silver-readers-sleep.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/strong-shoes-exist.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/weak-grapes-hug.md

This file was deleted.

11 changes: 11 additions & 0 deletions packages/components/accordion/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @heroui/accordion

## 2.2.27

### Patch Changes

- [#6133](https://github.com/heroui-inc/heroui/pull/6133) [`96b1f49`](https://github.com/heroui-inc/heroui/commit/96b1f498cfa0630b18538901a12db349fb2aaad6) Thanks [@deepansh946](https://github.com/deepansh946)! - Fix newly created dynamic accordion items not responding to clicks (#5825)

- Updated dependencies []:
- @heroui/divider@2.2.22
- @heroui/aria-utils@2.2.27
- @heroui/framer-utils@2.1.26

## 2.2.26

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/accordion/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@heroui/accordion",
"version": "2.2.26",
"version": "2.2.27",
"description": "Collapse display a list of high-level options that can expand/collapse to reveal more information.",
"keywords": [
"react",
Expand Down
7 changes: 7 additions & 0 deletions packages/components/alert/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @heroui/alert

## 2.2.30

### Patch Changes

- Updated dependencies []:
- @heroui/button@2.2.30

## 2.2.29

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/alert/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@heroui/alert",
"version": "2.2.29",
"version": "2.2.30",
"description": "Alerts are temporary notifications that provide concise feedback about an action or event.",
"keywords": [
"alert"
Expand Down
13 changes: 13 additions & 0 deletions packages/components/autocomplete/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @heroui/autocomplete

## 2.3.32

### Patch Changes

- Updated dependencies [[`7814df7`](https://github.com/heroui-inc/heroui/commit/7814df7cea7d7e527ae3b8c13d17a9843399758b)]:
- @heroui/listbox@2.3.29
- @heroui/button@2.2.30
- @heroui/form@2.1.30
- @heroui/input@2.4.31
- @heroui/popover@2.3.30
- @heroui/scroll-shadow@2.3.19
- @heroui/aria-utils@2.2.27

## 2.3.31

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/autocomplete/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@heroui/autocomplete",
"version": "2.3.31",
"version": "2.3.32",
"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"
Expand Down
22 changes: 22 additions & 0 deletions packages/components/avatar/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# @heroui/avatar

## 2.2.25

### Patch Changes

- [#6041](https://github.com/heroui-inc/heroui/pull/6041) [`5ec842b`](https://github.com/heroui-inc/heroui/commit/5ec842b1cf6fff845b7ae7cd8fb876762e62e279) Thanks [@brianatdetections](https://github.com/brianatdetections)! - Fix race condition in use-image hook that caused cached images to remain invisible (stuck at opacity-0) on Firefox and Safari.

**Root Cause:**
Event handlers (`onload`/`onerror`) were attached AFTER setting the image `src`. For cached images, the browser fires `onload` synchronously when `src` is set, causing the event to be missed. This is particularly prevalent in Firefox and Safari due to their JavaScript execution timing characteristics.

**Solution:**

- Attach `onload`/`onerror` handlers BEFORE setting `src`
- Check both `naturalWidth` AND `naturalHeight` (per CodeRabbit review feedback on #4523)
- Handle synchronous error callbacks for failed cached images
- Include `ignoreFallback` in useCallback dependencies to prevent stale closures when prop changes dynamically
- Add comprehensive test coverage including synchronous callback scenarios and dynamic `ignoreFallback` changes

Fixes #4534, #2259

- Updated dependencies [[`5ec842b`](https://github.com/heroui-inc/heroui/commit/5ec842b1cf6fff845b7ae7cd8fb876762e62e279)]:
- @heroui/use-image@2.1.14

## 2.2.24

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/avatar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@heroui/avatar",
"version": "2.2.24",
"version": "2.2.25",
"description": "The Avatar component is used to represent a user, and displays the profile picture, initials or fallback icon.",
"keywords": [
"avatar"
Expand Down
8 changes: 8 additions & 0 deletions packages/components/button/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @heroui/button

## 2.2.30

### Patch Changes

- Updated dependencies []:
- @heroui/spinner@2.2.27
- @heroui/ripple@2.2.21

## 2.2.29

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/button/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@heroui/button",
"version": "2.2.29",
"version": "2.2.30",
"description": "Buttons allow users to perform actions and choose with a single tap.",
"keywords": [
"button"
Expand Down
8 changes: 8 additions & 0 deletions packages/components/calendar/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @heroui/calendar

## 2.2.30

### Patch Changes

- Updated dependencies []:
- @heroui/button@2.2.30
- @heroui/framer-utils@2.1.26

## 2.2.29

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/calendar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@heroui/calendar",
"version": "2.2.29",
"version": "2.2.30",
"description": "A calendar displays one or more date grids and allows users to select a single date.",
"keywords": [
"calendar"
Expand Down
7 changes: 7 additions & 0 deletions packages/components/checkbox/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @heroui/checkbox

## 2.3.30

### Patch Changes

- Updated dependencies []:
- @heroui/form@2.1.30

## 2.3.29

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/checkbox/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@heroui/checkbox",
"version": "2.3.29",
"version": "2.3.30",
"description": "Checkboxes allow users to select multiple items from a list of individual items, or to mark one individual item as selected.",
"keywords": [
"checkbox"
Expand Down
7 changes: 7 additions & 0 deletions packages/components/code/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @heroui/code

## 2.2.23

### Patch Changes

- Updated dependencies [[`1a2635b`](https://github.com/heroui-inc/heroui/commit/1a2635beda844e22630bd4514982b70807b49a81)]:
- @heroui/system-rsc@2.3.22

## 2.2.22

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/code/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@heroui/code",
"version": "2.2.22",
"version": "2.2.23",
"description": "Code is a component used to display inline code.",
"keywords": [
"code"
Expand Down
7 changes: 7 additions & 0 deletions packages/components/date-input/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @heroui/date-input

## 2.3.30

### Patch Changes

- Updated dependencies []:
- @heroui/form@2.1.30

## 2.3.29

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/date-input/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@heroui/date-input",
"version": "2.3.29",
"version": "2.3.30",
"description": "A date input allows users to enter and edit date and time values using a keyboard.",
"keywords": [
"date-field"
Expand Down
14 changes: 14 additions & 0 deletions packages/components/date-picker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @heroui/date-picker

## 2.3.31

### Patch Changes

- [#6084](https://github.com/heroui-inc/heroui/pull/6084) [`d5a5c77`](https://github.com/heroui-inc/heroui/commit/d5a5c77ed697e6d4bae99167899a0bcb7194e023) Thanks [@KyZy7](https://github.com/KyZy7)! - Fixed DatePicker not opening when clicking the border area (#5373)

- Updated dependencies []:
- @heroui/button@2.2.30
- @heroui/calendar@2.2.30
- @heroui/date-input@2.3.30
- @heroui/form@2.1.30
- @heroui/popover@2.3.30
- @heroui/aria-utils@2.2.27

## 2.3.30

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/date-picker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@heroui/date-picker",
"version": "2.3.30",
"version": "2.3.31",
"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"
Expand Down
7 changes: 7 additions & 0 deletions packages/components/divider/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @heroui/divider

## 2.2.22

### Patch Changes

- Updated dependencies [[`1a2635b`](https://github.com/heroui-inc/heroui/commit/1a2635beda844e22630bd4514982b70807b49a81)]:
- @heroui/system-rsc@2.3.22

## 2.2.21

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/divider/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@heroui/divider",
"version": "2.2.21",
"version": "2.2.22",
"description": ". A separator is a visual divider between two groups of content",
"keywords": [
"divider"
Expand Down
8 changes: 8 additions & 0 deletions packages/components/drawer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @heroui/drawer

## 2.2.27

### Patch Changes

- Updated dependencies []:
- @heroui/modal@2.2.27
- @heroui/framer-utils@2.1.26

## 2.2.26

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/drawer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@heroui/drawer",
"version": "2.2.26",
"version": "2.2.27",
"description": "Used to render a content that slides in from the side of the screen.",
"keywords": [
"drawer"
Expand Down
9 changes: 9 additions & 0 deletions packages/components/dropdown/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @heroui/dropdown

## 2.3.30

### Patch Changes

- Updated dependencies []:
- @heroui/menu@2.2.29
- @heroui/popover@2.3.30
- @heroui/aria-utils@2.2.27

## 2.3.29

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/dropdown/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@heroui/dropdown",
"version": "2.3.29",
"version": "2.3.30",
"description": "A dropdown displays a list of actions or options that a user can choose.",
"keywords": [
"dropdown"
Expand Down
8 changes: 8 additions & 0 deletions packages/components/form/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @heroui/form

## 2.1.30

### Patch Changes

- Updated dependencies [[`5549167`](https://github.com/heroui-inc/heroui/commit/55491670414a78b6a7daec5a7bfd82445aaa4530), [`1f08506`](https://github.com/heroui-inc/heroui/commit/1f085061ed3166b5c20f17c17a0c1494cb489dff)]:
- @heroui/theme@2.4.26
- @heroui/system@2.4.26

## 2.1.29

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/components/form/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@heroui/form",
"version": "2.1.29",
"version": "2.1.30",
"description": "A form is a group of inputs that allows users submit data to a server and supports field validation errors.",
"keywords": [
"form"
Expand Down
Loading