Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: chakra-ui/chakra-ui

@chakra-ui/[email protected]

26 Jul 19:01
4ec69e0

Choose a tag to compare

Minor Changes

  • 86ca96a
    Thanks @segunadebayo! - - System: Add
    unstyled prop support to compound component children to opt-out of recipe
    styles per component.

    <Accordion.Root defaultValue={["a"]}>
      <Accordion.Item value="a">
        {/* Opt-out of recipe styles */}
        <Accordion.ItemTrigger unstyled bg="red.500" />
        <Accordion.ItemContent>
          <Accordion.ItemBody />
        </Accordion.ItemContent>
      </Accordion.Item>
    </Accordion.Root>
    • Group: Add support changing group gap globally via --group-gap CSS
      variable

Patch Changes

  • dd3af62
    Thanks @segunadebayo! - - Tree View

    • Fixed issue where tree view doesn't scroll into view when content overflows
    • Fix issue where the filter method completely deletes the children key from
      the node when there are no matching children
    • File Upload
      • Add support for programmatically controlling the accepted files via
        acceptedFiles and defaultAcceptedFiles
      • Export FileError, FileMimeType, and FileRejection types and fix
        validation issues
  • dc02076
    Thanks @segunadebayo! - Fix HTML semantic
    structure for Breadcrumb.Ellipsis component by changing the underlying
    element from <span> to <li>.

    // Before: <span> inside <ol> (invalid HTML)
    <Breadcrumb.List>
      <Breadcrumb.Ellipsis /> {/* rendered as <span> */}
    </Breadcrumb.List>
    
    // After: <li> inside <ol> (valid HTML)
    <Breadcrumb.List>
      <Breadcrumb.Ellipsis /> {/* now renders as <li> */}
    </Breadcrumb.List>
  • 4da48e3
    Thanks @segunadebayo! - - Tabs: Export
    missing types

    • Hooks: Export entrypoint for better tree-shaking
      @chakra-ui/react/hooks
    • Theme: Expose smaller bits of the theme in the entrypoint for better
      tree-shaking @chakra-ui/react/theme. We now expose recipes,
      slotRecipes, breakpoints, keyframes, textStyles, layerStyles,
      animationStyles, globalCss, cssVarsPrefix, cssVarsRoot,
      semanticTokens, tokens as dedicated modules.
    • Dialog: Use dvh and dvw units instead of vh and vw to
      dynamically adjust to viewport size changes.
    • Native Select: Ensure height is consistent with input and select across
      sizes.

@chakra-ui/[email protected]

26 Jul 19:01
4ec69e0

Choose a tag to compare

@chakra-ui/[email protected]

26 Jul 19:01
4ec69e0

Choose a tag to compare

@chakra-ui/[email protected]

26 Jul 19:01
4ec69e0

Choose a tag to compare

@chakra-ui/[email protected]

07 Jul 14:53
04317b4

Choose a tag to compare

Minor Changes

  • #10111
    32967aa
    Thanks @segunadebayo! - Add new TreeView
    component that is used to represent hierarchical data in a tree structure.

Patch Changes

  • #10126
    ca40993
    Thanks @isBatak! - - Clipboard: Fix issue
    where clipboardAnatomy was not exported from @chakra-ui/react/anatomy
    • Combobox
      • Expose reason to onOpenChange and onInputValueChange callbacks
      • Expose api.clearHighlightedValue function to clear highlighted value
    • Toast: Fix issue where toast title or description could not accept
      React element
    • Progress: Improve valueAsString formatting
    • Select
      • Select highlighted item only if it exists in the collection
      • Expose api.clearHighlightedValue function to clear highlighted value
    • ClientOnly: Support children as a function

@chakra-ui/[email protected]

07 Jul 14:53
04317b4

Choose a tag to compare

@chakra-ui/[email protected]

07 Jul 14:53
04317b4

Choose a tag to compare

@chakra-ui/[email protected]

07 Jul 14:53
04317b4

Choose a tag to compare

@chakra-ui/[email protected]

28 Jun 11:44
9750f3a

Choose a tag to compare

Patch Changes

  • 8ddeb0b
    Thanks @segunadebayo! - - Popover:
    Fixed issue where onOpenChange could be called twice when controlled

    • Combobox
      • Fixed issue where onInputValueChange could be called twice when
        selecting an item
      • Fixed issue where combobox with allowCustomValue: true used within in a
        form requires two enter keypress to submit
    • Progress
      • Fix issue where setting orientation to vertical don't work
      • Fix issue where setting defaultValue to null doesn't show
        indeterminate state
    • Toast: Fix issue where app crashes when toaster.promise is called
      without loading option. The loading option is now required. A warning will
      be logged if it is not provided
    • Combobox, Select, Listbox: Fix issue where rehydrating defaultValue or
      value after fetching items doesn't update the valueAsString
  • #10119
    6cf8cc6
    Thanks @isBatak! - - improve Drawer recipe to
    better support conditional variants.

    • add Drawer conditional variants example to the docs and storybook.
  • #10101
    2b4fa6d
    Thanks @isBatak! - - Select: Export missing
    SelectRootComponent type export

  • d7914ad
    Thanks @segunadebayo! - Fix inconsistent
    handling of null and undefined for skipping breakpoints using array syntax

@chakra-ui/[email protected]

28 Jun 11:44
9750f3a

Choose a tag to compare