Skip to content

Releases: chakra-ui/ark

@ark-ui/[email protected]

11 Nov 21:04
d39d563
Compare
Choose a tag to compare

Added

  • Utility: Exported createAnatomy for defining custom component anatomy, now accessible via import { createAnatomy } from '@ark-ui/react/anatomy'.

Fixed

  • ColorPicker
    • Added --color CSS variable to swatch and swatch trigger parts.
    • Enabled clicking on swatch when in the open state.
  • Combobox: Fixed a timing issue with the onValueChange callback.
  • Clipboard: Corrected missing type="button" attribute on clipboard trigger.
  • Field
    • Fixed cleanup issue with resizeObserver on Field.Textarea.
    • Triggered resize when rows attribute or fonts change.
  • TagsInput: Resolved inconsistent delete behavior across states.
  • TimePicker: Exported missing timePickerAnatomy.

@ark-ui/[email protected]

08 Nov 17:45
75aa53d
Compare
Choose a tag to compare

Added

  • Field: Added autoresize prop to Field.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]

08 Nov 17:46
0ece6ff
Compare
Choose a tag to compare

Added

  • Field: Added autoresize prop to Field.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]

08 Nov 17:49
3c98910
Compare
Choose a tag to compare

Added

  • Field: Added autoresize prop to Field.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]

26 Oct 18:54
15cecb8
Compare
Choose a tag to compare

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 the required 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 to true.
  • Combobox: Corrected behavior where getSelectionValue was called multiple times; it now triggers only when a selection is made.
  • HoverCard: Removed preventDefault calls on the touchstart 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 when autoResize is enabled.
    • Removed the default all: unset style from the input when autoResize is enabled, allowing for user-defined CSS.

@ark-ui/[email protected]

26 Oct 18:55
4c881f7
Compare
Choose a tag to compare

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 the required 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 to true.
  • Combobox: Corrected behavior where getSelectionValue was called multiple times; it now triggers only when a selection is made.
  • HoverCard: Removed preventDefault calls on the touchstart 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 when autoResize is enabled.
    • Removed the default all: unset style from the input when autoResize is enabled, allowing for user-defined CSS.

@ark-ui/[email protected]

26 Oct 18:56
84953f0
Compare
Choose a tag to compare

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 the required 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 to true.
  • Combobox: Corrected behavior where getSelectionValue was called multiple times; it now triggers only when a selection is made.
  • HoverCard: Removed preventDefault calls on the touchstart 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 when autoResize is enabled.
    • Removed the default all: unset style from the input when autoResize is enabled, allowing for user-defined CSS.

@ark-ui/[email protected]

15 Oct 09:28
9ed0ecb
Compare
Choose a tag to compare

Fixed

  • Resolved an issue causing the Portal component to render twice.
  • Corrected missing 'use client' annotation in the Frame component.

@ark-ui/[email protected]

09 Oct 21:35
85e32b3
Compare
Choose a tag to compare

Changed

  • Time Picker [Preview]: Updated value and defaultValue types from string to Time. Use
    the exported parseTime 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]

09 Oct 21:36
fa61324
Compare
Choose a tag to compare

Changed

  • Time Picker [Preview]: Updated value and defaultValue types from string to Time. Use
    the exported parseTime 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.