Releases: chakra-ui/chakra-ui
@chakra-ui/[email protected]
Minor Changes
-
#10374
e62bae7
Thanks @Adebesin-Cell! - Add new
TagsInputcomponent for entering multiple values as tags with features like
tag creation, deletion, and keyboard navigation.import { Span, TagsInput } from "@chakra-ui/react" export const TagsInputBasic = () => { return ( <TagsInput.Root defaultValue={["React", "Chakra", "TypeScript"]}> <TagsInput.Label>Tags</TagsInput.Label> <TagsInput.Control> <TagsInput.Items /> <TagsInput.Input placeholder="Add tag..." /> </TagsInput.Control> </TagsInput.Root> ) }
-
bf31e2a
Thanks @segunadebayo! - - Checkbox- Fix issue where setting initial checked state to
indeterminatedoesn't
work - Ensure
api.checkedStatereturns the correct checked state - Collapsible
- Add support for
collapsedHeightandcollapsedWidthprops to control
the dimensions of the collapsible content when in its collapsed state - Fix issue where
dirprop value doesn't get applied correctly - Update the recipe styling as needed (when
data-has-collapsed-sizeis
set)
- Add support for
- Combobox: Fix issue where controlled single-select combobox does not
propagate its initial value toinputValue - Dialog, Popover: In modal mode, allow elements referenced by
aria-controlsto be included in the focus trap scope - Listbox: Fix issue where pressing Enter key when no highlighted item
still callsevent.preventDefault() - Number Input: Fix cursor jumping to end when typing in the middle with
formatOptionslikestyle: "currency" - Pagination: Add
getPageUrlprop for generatinghrefattributes when
using pagination as links - Pin Input: Fix issue where keyboard shortcuts
Cmd+Backspaceand
Cmd+Deletewould insert "undefined" instead of clearing the field - Scroll Area
- Fix horizontal scrollbar positioning on Safari in RTL mode
- Fix issue where resize tracking was not observing the root element
- Select: Fix accessibility violation where the required state was not set
correctly on the trigger - Slider: Fix issue where slider continues dragging when disabled during
drag operation - Switch: Fix issue where
data-activeis inconsistently applied when
disabledstate changes at runtime - Tabs: Refactor to use
getBoundingClientRect()for precise indicator
positioning
- Fix issue where setting initial checked state to
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
Patch Changes
-
e1774c8
Thanks @segunadebayo! - Expose
Collapsible.Indicatorcomponent to provide visual indicator for collapsible
state -
f9d66f4
Thanks @segunadebayo! - - CodeBlock- Fix issue in diff mode where the wrong lines were being highlighted
- Fix
highlight.jsadapter to properly handle diff attributes for
added/removed lines
-
f26e863
Thanks @segunadebayo! - - Styled
System:- Fix issue where bracket syntax for responsive styles didn't work in recipe
variants
// This now works correctly const recipe = defineRecipe({ variants: { variant: { primary: { color: ["red", "green"], // ✅ Now converts to breakpoints }, }, }, })
- Improve style resolution performance
- Fix issue where bracket syntax for responsive styles didn't work in recipe
-
#10325
3e6d1f7
Thanks @wo-o29! - Fix issue where refs don't
support cleanup function (React 19 compatibility) -
#10328
451209e
Thanks @megos! - fix(table): ensure stickyHeader
works with outline variant -
56a4501
Thanks @segunadebayo! - Timeline: Add
showLastSeparatorvariant to control visibility of the last separator
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
Patch Changes
- #10368
62260a5
Thanks @tioluwani94! - Pro Blocks: Allow
CLI to read new documentation blocks filtering
@chakra-ui/[email protected]
@chakra-ui/[email protected]
@chakra-ui/[email protected]
Minor Changes
-
16fb3cc
Thanks @segunadebayo! - Enhanced
composition types with comprehensive CSS property supportText Style Properties: Added these properties to
theme.textStyles:- Basic properties (
color,direction,font,fontFamily,
fontFeatureSettings,fontKerning,fontLanguageOverride,
fontOpticalSizing,fontPalette) - Typography properties (
hangingPunctuation,hyphens,
hyphenateCharacter,hyphenateLimitChars,lineBreak,quotes,
overflowWrap,tabSize) - Text alignment (
textAlign,textAlignLast,textCombineUpright,
textJustify) - Text decoration (
textDecorationSkip,textDecorationSkipBox,
textDecorationSkipInk,textDecorationSkipInset,
textDecorationThickness,textEmphasis) - Text formatting (
textShadow,textStroke,textStrokeColor,
textStrokeWidth,textUnderlineOffset,textUnderlinePosition,
textWrap,textWrapMode,textWrapStyle) - Text layout (
unicodeBidi,verticalAlign,whiteSpace,wordBreak,
wordSpacing,writingMode)
Layer Style Properties: Added these properties to
theme.layerStyles:- Layout properties (
aspectRatio,display,contain,contentVisibility,
isolation) - Visual effects (
clipPath,mixBlendMode,maskClip,maskComposite,
maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,
maskSize) - Modern properties (
objectFit,objectPosition,pointerEvents,resize,
visibility,willChange) - Border properties (
borderImage,borderImageOutset,borderImageRepeat,
borderImageSlice,borderImageSource,borderImageWidth) - Overflow properties (
overflow,overflowX,overflowY)
- Basic properties (
Patch Changes
-
c741fe9
Thanks @segunadebayo! - - CodeBlock:
Fix issue where Line numbers display incorrectly whenmeta.wordWrapis true
in code blocks- Hover Card: Change default delay values for hover card to improve
accessibility.openDelay: from700msto600ms
- Tooltip: Change default delay values for tooltip to improve
accessibility.
Learn moreopenDelay: from1000msto400mscloseDelay: from500msto150ms
- 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
- Fix issue where keyboard activation of menu items with
- Combobox: Add
alwaysSubmitOnEnterprop to allow forcing the form to be
submitted immediately on Enter press.
- Hover Card: Change default delay values for hover card to improve
-
#10312
6189068
Thanks @itushh! - - CodeBlock: Allow
horizontal scrolling when code block overflows
@chakra-ui/[email protected]
@chakra-ui/[email protected]