Skip to content

Releases: chakra-ui/ark

@ark-ui/[email protected]

14 Sep 19:14

Choose a tag to compare

Fixed

  • General: Fix issue where mergeProps throws when props is undefined or null

@ark-ui/[email protected]

14 Sep 17:28

Choose a tag to compare

Added

  • Combobox: Add alwaysSubmitOnEnter prop to allow bypassing the default two-step behavior (Enter to close
    combobox, then Enter to submit form) and instead submit the form immediately on Enter press. This is useful for
    single-field autocomplete forms where Enter should submit the form directly.

  • Dismissable: Add support for layer types in dismissable layer stack. Layers can now be categorized as dialog,
    popover, menu, or listbox. This enables:

    • data-nested attribute on nested layers of the same type
    • data-has-nested attribute on parent layers with nested children of the same type
    • --nested-layer-count CSS variable indicating the number of nested layers of the same type

Changed

  • Hover Card: Change default delay values for hover card to improve accessibility.

    • openDelay: from 700ms to 600ms
  • Tooltip: Change default delay values for tooltip to improve accessibility.
    Learn more

    • openDelay: from 1000ms to 400ms
    • closeDelay: from 500ms to 150ms

Fixed

  • Editable: Allow text selection in editable preview when autoResize is enabled

    Previously, when autoResize was set to true, the preview element had userSelect: "none" applied, preventing
    users from selecting text. This has been fixed by removing the userSelect style property.

  • File Upload: Fix regression where clicking the trigger doesn't open the file picker when used within the dropzone

  • Menu:

    • Fix issue where keyboard activation of menu items with target="_blank" would open two tabs
    • Fix issue where hovering a partially visible item with pointer causes it to scroll into view
  • Tabs: Fix issue where ids for item and content could not be customized

  • Toast: Allow creating a toast store without any arguments

@ark-ui/[email protected]

14 Sep 19:15

Choose a tag to compare

Fixed

  • General: Fix issue where mergeProps throws when props is undefined or null

@ark-ui/[email protected]

14 Sep 17:29

Choose a tag to compare

Added

  • Combobox: Add alwaysSubmitOnEnter prop to allow bypassing the default two-step behavior (Enter to close
    combobox, then Enter to submit form) and instead submit the form immediately on Enter press. This is useful for
    single-field autocomplete forms where Enter should submit the form directly.

  • Dismissable: Add support for layer types in dismissable layer stack. Layers can now be categorized as dialog,
    popover, menu, or listbox. This enables:

    • data-nested attribute on nested layers of the same type
    • data-has-nested attribute on parent layers with nested children of the same type
    • --nested-layer-count CSS variable indicating the number of nested layers of the same type

Changed

  • Hover Card: Change default delay values for hover card to improve accessibility.

    • openDelay: from 700ms to 600ms
  • Tooltip: Change default delay values for tooltip to improve accessibility.
    Learn more

    • openDelay: from 1000ms to 400ms
    • closeDelay: from 500ms to 150ms

Fixed

  • Editable: Allow text selection in editable preview when autoResize is enabled

    Previously, when autoResize was set to true, the preview element had userSelect: "none" applied, preventing
    users from selecting text. This has been fixed by removing the userSelect style property.

  • File Upload: Fix regression where clicking the trigger doesn't open the file picker when used within the dropzone

  • Svelte: Fix Svelte warning about state reference capturing initial value instead of current reactive state

  • Menu

    • Fix issue where hovering a partially visible item with pointer causes it to scroll into view
    • Fix issue where keyboard activation of menu items with target="_blank" would open two tabs
  • Tabs: Fix issue where ids for item and content could not be customized

  • Toast: Allow creating a toast store without any arguments

@ark-ui/[email protected]

14 Sep 19:13

Choose a tag to compare

Fixed

  • General: Fix issue where mergeProps throws when props is undefined or null

@ark-ui/[email protected]

14 Sep 17:28

Choose a tag to compare

Added

  • Combobox: Add alwaysSubmitOnEnter prop to allow bypassing the default two-step behavior (Enter to close
    combobox, then Enter to submit form) and instead submit the form immediately on Enter press. This is useful for
    single-field autocomplete forms where Enter should submit the form directly.

  • Dismissable: Add support for layer types in dismissable layer stack. Layers can now be categorized as dialog,
    popover, menu, or listbox. This enables:

    • data-nested attribute on nested layers of the same type
    • data-has-nested attribute on parent layers with nested children of the same type
    • --nested-layer-count CSS variable indicating the number of nested layers of the same type

Changed

  • Hover Card: Change default delay values for hover card to improve accessibility.

    • openDelay: from 700ms to 600ms
  • Tooltip: Change default delay values for tooltip to improve accessibility.
    Learn more

    • openDelay: from 1000ms to 400ms
    • closeDelay: from 500ms to 150ms

Fixed

  • Editable: Allow text selection in editable preview when autoResize is enabled

    Previously, when autoResize was set to true, the preview element had userSelect: "none" applied, preventing
    users from selecting text. This has been fixed by removing the userSelect style property.

  • File Upload: Fix regression where clicking the trigger doesn't open the file picker when used within the dropzone

  • Menu:

    • Fix issue where keyboard activation of menu items with target="_blank" would open two tabs
    • Fix issue where hovering a partially visible item with pointer causes it to scroll into view
  • Tabs: Fix issue where ids for item and content could not be customized

  • Toast: Allow creating a toast store without any arguments

@ark-ui/[email protected]

14 Sep 19:11

Choose a tag to compare

Fixed

  • General: Fix issue where mergeProps throws when props is undefined or null

@ark-ui/[email protected]

14 Sep 17:26

Choose a tag to compare

Added

  • Combobox: Add alwaysSubmitOnEnter prop to allow bypassing the default two-step behavior (Enter to close
    combobox, then Enter to submit form) and instead submit the form immediately on Enter press. This is useful for
    single-field autocomplete forms where Enter should submit the form directly.

  • Dismissable: Add support for layer types in dismissable layer stack. Layers can now be categorized as dialog,
    popover, menu, or listbox. This enables:

    • data-nested attribute on nested layers of the same type
    • data-has-nested attribute on parent layers with nested children of the same type
    • --nested-layer-count CSS variable indicating the number of nested layers of the same type

Changed

  • Hover Card: Change default delay values for hover card to improve accessibility.

    • openDelay: from 700ms to 600ms
  • Tooltip: Change default delay values for tooltip to improve accessibility.
    Learn more

    • openDelay: from 1000ms to 400ms
    • closeDelay: from 500ms to 150ms

Fixed

  • Editable: Allow text selection in editable preview when autoResize is enabled

    Previously, when autoResize was set to true, the preview element had userSelect: "none" applied, preventing
    users from selecting text. This has been fixed by removing the userSelect style property.

  • File Upload: Fix regression where clicking the trigger doesn't open the file picker when used within the dropzone

  • Menu:

    • Fix issue where keyboard activation of menu items with target="_blank" would open two tabs
    • Fix issue where hovering a partially visible item with pointer causes it to scroll into view
  • Tabs: Fix issue where ids for item and content could not be customized

  • Toast: Allow creating a toast store without any arguments

@ark-ui/[email protected]

08 Sep 11:53

Choose a tag to compare

Added

  • Field: Add data-required attribute to Field.Label
  • Select, Combobox, Listbox, TreeView: Export RootComponent and RootProviderComponent types which are useful
    when building compositions that wrap the Root and RootProvider components and you still want type-safety for the
    collection.

Fixed

  • Menu: Fix Menu.ItemText not working inside Menu.TriggerItem

@ark-ui/[email protected]

08 Sep 11:53

Choose a tag to compare

Added

  • Field: Add data-required attribute to Field.Label
  • Select, Combobox, Listbox, TreeView: Export RootComponent and RootProviderComponent types which are useful
    when building compositions that wrap the Root and RootProvider components and you still want type-safety for the
    collection.

Fixed

  • Menu: Fix Menu.ItemText not working inside Menu.TriggerItem