Releases: chakra-ui/ark
@ark-ui/[email protected]
Added
- Frame (Preview): Introduced the
Frame
component for rendering content within an iframe. - Timer (Preview): Added
Area
andControl
parts to improve structure and anatomy.
Fixed
- Combobox: Resolved an issue where the highlighted item remained persistent when the list of items was empty.
@ark-ui/[email protected]
Added
- Frame (Preview): Introduced the
Frame
component for rendering content within an iframe. - Timer (Preview): Added
Area
andControl
parts to improve structure and anatomy.
Fixed
- Combobox: Resolved an issue where the highlighted item remained persistent when the list of items was empty.
@ark-ui/[email protected]
Added
- Frame (Preview): Introduced the
Frame
component for rendering content within an iframe. - Timer (Preview): Added
Area
andControl
parts to improve structure and anatomy.
Fixed
- Combobox: Resolved an issue where the highlighted item remained persistent when the list of items was empty.
@ark-ui/[email protected]
Fixed
- Highlight: Fixed issue where
ignoreCase
andmatchAll
props were not working.
@ark-ui/[email protected]
Fixed
- Highlight: Fixed issue where
ignoreCase
andmatchAll
props were not working.
@ark-ui/[email protected]
Fixed
-
Floating Components: Fixed issue where clicking outside of a dialog on mobile passed click
events through. -
Popover: Fixed issue where popover did not restore focus when open state was changed
programmatically -
Avatar: Fixed issue where avatar could throw when the fallback inner text changed
-
Steps: Improved accessibility of tablist semantics by using
aria-owns
Added
-
FileUpload: Add support for more file types in file upload
accept
intellisense -
Toast: Add support for
action
property when creating toasts, giving you the ability to add a
action.label
andaction.onClick
. TheonClick
function will be called when the user clicks
the action trigger.
toaster.create({
title: 'Uploaded successfully',
type: 'success',
action: {
label: 'Undo',
onClick: () => {
console.log('undo')
},
},
})
- File Upload: Added support for
invalid
prop in file upload to explicitly mark upload
operation as invalid. This could be paired with therejectedFiles
to show an error message.
Changed
-
Floating Components: Refactored
boundary
to only support function that returns an element. -
Select
- Refactored opening and selection to be based on click events rather than pointerdown/up cycles.
- Improved usability and accessibility of the select component.
- Fixed issue where controlled multiple selects open state behaved unexpectedly.
@ark-ui/[email protected]
Fixed
-
Floating Components: Fixed issue where clicking outside of a dialog on mobile passed click
events through. -
Popover: Fixed issue where popover did not restore focus when open state was changed
programmatically -
Avatar: Fixed issue where avatar could throw when the fallback inner text changed
-
Steps: Improved accessibility of tablist semantics by using
aria-owns
Added
-
FileUpload: Add support for more file types in file upload
accept
intellisense -
Toast: Add support for
action
property when creating toasts, giving you the ability to add a
action.label
andaction.onClick
. TheonClick
function will be called when the user clicks
the action trigger.
toaster.create({
title: 'Uploaded successfully',
type: 'success',
action: {
label: 'Undo',
onClick: () => {
console.log('undo')
},
},
})
- File Upload: Added support for
invalid
prop in file upload to explicitly mark upload
operation as invalid. This could be paired with therejectedFiles
to show an error message.
Changed
-
Floating Components: Refactored
boundary
to only support function that returns an element. -
Select
- Refactored opening and selection to be based on click events rather than pointerdown/up cycles.
- Improved usability and accessibility of the select component.
- Fixed issue where controlled multiple selects open state behaved unexpectedly.
@ark-ui/[email protected]
Fixed
-
Floating Components: Fixed issue where clicking outside of a dialog on mobile passed click
events through. -
Popover: Fixed issue where popover did not restore focus when open state was changed
programmatically -
Avatar: Fixed issue where avatar could throw when the fallback inner text changed
-
Steps: Improved accessibility of tablist semantics by using
aria-owns
Added
-
FileUpload: Add support for more file types in file upload
accept
intellisense -
Toast: Add support for
action
property when creating toasts, giving you the ability to add a
action.label
andaction.onClick
. TheonClick
function will be called when the user clicks
the action trigger.
toaster.create({
title: 'Uploaded successfully',
type: 'success',
action: {
label: 'Undo',
onClick: () => {
console.log('undo')
},
},
})
- File Upload: Added support for
invalid
prop in file upload to explicitly mark upload
operation as invalid. This could be paired with therejectedFiles
to show an error message.
Changed
-
Floating Components: Refactored
boundary
to only support function that returns an element. -
Select
- Refactored opening and selection to be based on click events rather than pointerdown/up cycles.
- Improved usability and accessibility of the select component.
- Fixed issue where controlled multiple selects open state behaved unexpectedly.
@ark-ui/[email protected]
Fixed
-
All Components: Fixed issue where exit animations weren't working correctly.
-
Steps: Fixed issue where steps context was not exported.
Added
- Checkbox: Added
invalid
prop toCheckbox.Group
@ark-ui/[email protected]
Fixed
- Steps: Fixed issue where steps context was not exported
Added
- Checkbox: Added
invalid
prop toCheckbox.Group