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
- 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.
@ark-ui/[email protected]
Added
- Introduced support for importing components via dedicated entry points. For instance, the
Select
can now be imported directly from@ark-ui/solid/select
.
Fixed
- Fixed an issue where Field.Input was mistakenly read-only when rendered on the server.
@ark-ui/[email protected]
Added
- Toggle: Introduced the
Toggle
component. - useForwardExpose: Added utility to facilitate forwarding of underlying component nodes.
- Dialog: Added support for detecting outside clicks from parent windows when rendered within an iframe.
Fixed
- Resolved an issue where the underlying DOM node of most components was inaccessible via
$el
. - Combobox: Fixed an issue where pressing Enter without selecting an option left text in the input.
- Dialog: Fixed an issue where the dialog closed when the positioner was scrollable, and the scrollbar was clicked.
- File Upload:
- Fixed an issue where
acceptedFiles
were removed after an invalid file upload. - Fixed an issue in the preview image where
createObjectURL
was not cleaned up.
- Fixed an issue where