Update dependency @chakra-ui/react to v3.31.0 #938
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.26.0→3.31.0Release Notes
chakra-ui/chakra-ui (@chakra-ui/react)
v3.31.0Compare Source
Minor Changes
756b385Thanks @segunadebayo! - - ActionBar
placementvariant to configure bar position:bottom,bottom-start,bottom-end--action-bar-offsetCSS variable to configure offset from edgesPatch Changes
4fcf302Thanks @segunadebayo! - - ColorPicker,
Select, Combobox: Fix z-index stacking when used inside dialogs
listboxSlotRecipeslot recipe#10512
cc0d202Thanks @teunlao! - cva: Normalize base
styles to prevent shorthand properties from overwriting variant styles
cac7cb0Thanks @segunadebayo! - Fix menu content
background not rendering by using full token path for CSS variable
4364995Thanks @segunadebayo! - Fix
SkeletonTextduplicating children when
loadingis set tofalse1cc185dThanks @segunadebayo! - - Slider
markerLabelto component anatomy for theming marker labelsSlider.MarkerLabelcomponent for custom marker label renderingSlider.Thumbv3.30.0Compare Source
Minor Changes
#10425
0168a04Thanks @Adebesin-Cell! - - Splitter
[NEW]: Introduce new resizable splitter component
7b9aa97Thanks @segunadebayo! - ### Added
autoSizeprop for variable width/height slidesChanged
initialItemsnow acceptsreadonlyarraysInteractOutsideEvent,FocusOutsideEvent,PointerDownOutsideEventtypesFixed
Carousel: Fixed dragging after tab switch/scroll and mouse wheel scroll
with
allowMouseDragCombobox:
onHighlightChangenot firing when filtered to empty;aria-hiddenbehaviorFile Upload: Fixed non-interactive children in dropzone not opening file
picker
Radio Group: Fixed inconsistent
data-focus-visible/data-focusattributes; fixed indicator showing before rect resolved (with Tabs)
Tabs: Fixed indicator showing before rect resolved (with Radio Group);
fixed position not updating when inactive tabs resize
503e11aThanks @segunadebayo! - ### Added
bordersemantic token to all color palettes(
gray.300/gray.700for gray,color.500/color.400for coloredpalettes) to improve outline component appearance
Changed
Button, Badge, Tag, Checkbox: Update outline variants to use
colorPalette.borderinstead ofcolorPalette.mutedor globalbordertoken for better appearance, especially for non-gray color palettes.
Patch Changes
fd15569Thanks @segunadebayo! - - HoverCard,
Tooltip, Popover: Fix arrow direction in RTL layouts
81ec4e7Thanks @segunadebayo! - - TagsInput:
Fix overflow issue where very long tags would overflow the container instead
of truncating with ellipsis.
CheckboxGroupPropscould not bepassed to the
CheckboxGroupcomponent.v3.29.0Compare Source
Minor Changes
1580aebThanks @Adebesin-Cell! - feat: add
carousel component
Patch Changes
69aabbfThanks @segunadebayo! - - Combobox:
Refactor recipe for smarter padding management to prevent input text from
overflowing unto triggers
use clientdirectivev3.28.1Compare Source
Patch Changes
fad9a2eThanks @segunadebayo! - Fix CodeBlock right
padding when scrolling long code lines horizontally
37d166aThanks @segunadebayo! - - Tabs:
Refactor to use css variables for styling indicator (
--tabs-indicator-bg)for better customization.
(
--segment-indicator-bgand--segment-indicator-shadow) for bettercustomization.
7067c95Thanks @segunadebayo! - Fix Shadow DOM and
Web Component selector handling in
globalCss. The:host,:host-context(), and::slotted()pseudo-classes now correctly transform totop-level selectors with case-insensitive matching.
c7060deThanks @segunadebayo! - Improve
styled-system performance with multiple optimizations
structuredClone()with efficient shallow clone(75x faster)
cache (1.4x faster baseline, up to 585x faster for cached operations)
ones in hot paths
instead of reduce
with the memoization layer providing 100-500x gains for repeated operations
v3.28.0Compare Source
Minor Changes
#10374
e62bae7Thanks @Adebesin-Cell! - Add new
TagsInputcomponent for entering multiple values as tags with features liketag creation, deletion, and keyboard navigation.
bf31e2aThanks @segunadebayo! - - Checkbox
indeterminatedoesn'twork
api.checkedStatereturns the correct checked statecollapsedHeightandcollapsedWidthprops to controlthe dimensions of the collapsible content when in its collapsed state
dirprop value doesn't get applied correctlydata-has-collapsed-sizeisset)
propagate its initial value to
inputValuearia-controlsto be included in the focus trap scopestill calls
event.preventDefault()formatOptionslikestyle: "currency"getPageUrlprop for generatinghrefattributes whenusing pagination as links
Cmd+BackspaceandCmd+Deletewould insert "undefined" instead of clearing the fieldcorrectly on the trigger
drag operation
data-activeis inconsistently applied whendisabledstate changes at runtimegetBoundingClientRect()for precise indicatorpositioning
v3.27.1Compare Source
Patch Changes
e1774c8Thanks @segunadebayo! - Expose
Collapsible.Indicatorcomponent to provide visual indicator for collapsiblestate
f9d66f4Thanks @segunadebayo! - - CodeBlock
highlight.jsadapter to properly handle diff attributes foradded/removed lines
f26e863Thanks @segunadebayo! - - Styled
System:
variants
#10325
3e6d1f7Thanks @wo-o29! - Fix issue where refs don't
support cleanup function (React 19 compatibility)
#10328
451209eThanks @megos! - fix(table): ensure stickyHeader
works with outline variant
56a4501Thanks @segunadebayo! - Timeline: Add
showLastSeparatorvariant to control visibility of the last separatorv3.27.0Compare Source
Minor Changes
16fb3ccThanks @segunadebayo! - Enhanced
composition types with comprehensive CSS property support
Text Style Properties: Added these properties to
theme.textStyles:color,direction,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette)hangingPunctuation,hyphens,hyphenateCharacter,hyphenateLimitChars,lineBreak,quotes,overflowWrap,tabSize)textAlign,textAlignLast,textCombineUpright,textJustify)textDecorationSkip,textDecorationSkipBox,textDecorationSkipInk,textDecorationSkipInset,textDecorationThickness,textEmphasis)textShadow,textStroke,textStrokeColor,textStrokeWidth,textUnderlineOffset,textUnderlinePosition,textWrap,textWrapMode,textWrapStyle)unicodeBidi,verticalAlign,whiteSpace,wordBreak,wordSpacing,writingMode)Layer Style Properties: Added these properties to
theme.layerStyles:aspectRatio,display,contain,contentVisibility,isolation)clipPath,mixBlendMode,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize)objectFit,objectPosition,pointerEvents,resize,visibility,willChange)borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth)overflow,overflowX,overflowY)Patch Changes
c741fe9Thanks @segunadebayo! - - CodeBlock:
Fix issue where Line numbers display incorrectly when
meta.wordWrapis truein code blocks
accessibility.
openDelay: from700msto600msaccessibility.
Learn more
openDelay: from1000msto400mscloseDelay: from500msto150mstarget="_blank"would open two tabs
to scroll into view
alwaysSubmitOnEnterprop to allow forcing the form to besubmitted immediately on Enter press.
#10312
6189068Thanks @itushh! - - CodeBlock: Allow
horizontal scrolling when code block overflows
Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" in timezone Europe/Paris, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.