Releases: chakra-ui/ark
Releases · chakra-ui/ark
@ark-ui/[email protected]
Added
- Field: Added
autoresize
prop toField.Textarea
for auto-resizing the textarea based on
content.
Changed
- TreeView: Redesigned using the new tree collection for improved rendering and logic
management. See the TreeView documentation for
details. - QrCode, SignaturePad, Timer: Promoted from preview to stable release.
Fixed
- Dialog: Fixed an issue where body styles weren't properly restored when
preventScroll
was
enabled. - Toast: Corrected type definitions in the
createToaster
function.
@ark-ui/[email protected]
Added
- Field: Added
autoresize
prop toField.Textarea
for auto-resizing the textarea based on
content.
Changed
- TreeView: Redesigned using the new tree collection for improved rendering and logic
management. See the TreeView documentation
for details. - QrCode, SignaturePad, Timer: Promoted from preview to stable release.
Fixed
- Dialog: Fixed an issue where body styles weren't properly restored when
preventScroll
was
enabled. - Toast: Corrected type definitions in the
createToaster
function. - FileUpload: Fixed an issue where image previews weren't updating when files were changed.
@ark-ui/[email protected]
Added
- Field: Added
autoresize
prop toField.Textarea
for auto-resizing the textarea based on
content.
Changed
- TreeView: Redesigned using the new tree collection for improved rendering and logic
management. See the TreeView documentation
for details. - QrCode, SignaturePad, Timer: Promoted from preview to stable release.
Fixed
- Dialog: Fixed an issue where body styles weren't properly restored when
preventScroll
was
enabled. - Toast: Corrected type definitions in the
createToaster
function.
@ark-ui/[email protected]
Added
- Slider: Introduced
Slider.DraggingIndicator
for displaying an indicator when dragging a thumb. - Field: Added
Field.RequiredIndicator
to show a required indicator (e.g., an asterisk) when therequired
prop is set.
<Field.Root required>
<Field.Label>
Username
<Field.RequiredIndicator />
</Field.Label>
<Field.Input placeholder="Enter your username" />
</Field.Root>
Fixed
- TagsInput: Resolved an issue where
api.addTag(...)
was not functioning correctly. - RatingGroup: Fixed a bug where both the rating group and rating item received focus when
readOnly
was set totrue
. - Combobox: Corrected behavior where
getSelectionValue
was called multiple times; it now triggers only when a selection is made. - HoverCard: Removed
preventDefault
calls on thetouchstart
event to avoid browser error logs. - Popover: Fixed a race condition in iOS Safari where switching between popovers caused them to close unexpectedly.
- Presence: Addressed an issue where elements using the presence machine did not exit the unmounting state if closed with a delay while switching tabs.
Changed
- Editable:
- Added
data-autoresize
attribute to both editable and preview elements whenautoResize
is enabled. - Removed the default
all: unset
style from the input whenautoResize
is enabled, allowing for user-defined CSS.
- Added
@ark-ui/[email protected]
Added
- Slider: Introduced
Slider.DraggingIndicator
for displaying an indicator when dragging a thumb. - Field: Added
Field.RequiredIndicator
to show a required indicator (e.g., an asterisk) when therequired
prop is set.
<Field.Root required>
<Field.Label>
Username
<Field.RequiredIndicator />
</Field.Label>
<Field.Input placeholder="Enter your username" />
</Field.Root>
Fixed
- TagsInput: Resolved an issue where
api.addTag(...)
was not functioning correctly. - RatingGroup: Fixed a bug where both the rating group and rating item received focus when
readOnly
was set totrue
. - Combobox: Corrected behavior where
getSelectionValue
was called multiple times; it now triggers only when a selection is made. - HoverCard: Removed
preventDefault
calls on thetouchstart
event to avoid browser error logs. - Popover: Fixed a race condition in iOS Safari where switching between popovers caused them to close unexpectedly.
- Presence: Addressed an issue where elements using the presence machine did not exit the unmounting state if closed with a delay while switching tabs.
Changed
- Editable:
- Added
data-autoresize
attribute to both editable and preview elements whenautoResize
is enabled. - Removed the default
all: unset
style from the input whenautoResize
is enabled, allowing for user-defined CSS.
- Added
@ark-ui/[email protected]
Added
- Slider: Introduced
Slider.DraggingIndicator
for displaying an indicator when dragging a thumb. - Field: Added
Field.RequiredIndicator
to show a required indicator (e.g., an asterisk) when therequired
prop is set.
<Field.Root required>
<Field.Label>
Username
<Field.RequiredIndicator />
</Field.Label>
<Field.Input placeholder="Enter your username" />
</Field.Root>
Fixed
- TagsInput: Resolved an issue where
api.addTag(...)
was not functioning correctly. - RatingGroup: Fixed a bug where both the rating group and rating item received focus when
readOnly
was set totrue
. - Combobox: Corrected behavior where
getSelectionValue
was called multiple times; it now triggers only when a selection is made. - HoverCard: Removed
preventDefault
calls on thetouchstart
event to avoid browser error logs. - Popover: Fixed a race condition in iOS Safari where switching between popovers caused them to close unexpectedly.
- Presence: Addressed an issue where elements using the presence machine did not exit the unmounting state if closed with a delay while switching tabs.
Changed
- Editable:
- Added
data-autoresize
attribute to both editable and preview elements whenautoResize
is enabled. - Removed the default
all: unset
style from the input whenautoResize
is enabled, allowing for user-defined CSS.
- Added
@ark-ui/[email protected]
Fixed
- Resolved an issue causing the
Portal
component to render twice. - Corrected missing
'use client'
annotation in theFrame
component.
@ark-ui/[email protected]
Changed
- Time Picker [Preview]: Updated
value
anddefaultValue
types fromstring
toTime
. Use
the exportedparseTime
function to convert between strings and time objects.
Fixed
- TagsInput: Resolved an issue where tag navigation was unresponsive after removing tags with
the delete key. - DatePicker: Fixed a bug where selecting a preset and then blurring the input incorrectly reset
the value.
@ark-ui/[email protected]
Changed
- Time Picker [Preview]: Updated
value
anddefaultValue
types fromstring
toTime
. Use
the exportedparseTime
function to convert between strings and time objects.
Fixed
- TagsInput: Resolved an issue where tag navigation was unresponsive after removing tags with
the delete key. - DatePicker:
- Fixed a bug where selecting a preset and then blurring the input incorrectly reset the value.
- Fixed an issue where the
MonthSelect
sometimes defaulted to January.
@ark-ui/[email protected]
Changed
- TimePicker [Preview]: Updated
value
anddefaultValue
types fromstring
toTime
. Use
the exportedparseTime
function to convert between strings and time objects.
Fixed
- TagsInput: Resolved an issue where tag navigation was unresponsive after removing tags with
the delete key. - DatePicker: Fixed a bug where selecting a preset and then blurring the input incorrectly reset
the value.