fix(deps): update chakra-ui monorepo to v3 (major) #261
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:
^2.3.0->^3.0.0^2.5.5->^3.0.0Release Notes
chakra-ui/chakra-ui (@chakra-ui/cli)
v3.28.1Compare Source
v3.28.0Compare Source
v3.27.1Compare Source
Patch Changes
62260a5Thanks @tioluwani94! - Pro Blocks: Allow
CLI to read new documentation blocks filtering
v3.27.0Compare Source
Minor Changes
#10299
27b920aThanks @segunadebayo! - Add new
blockscommand to add chakra pro blocks to your project.
This command requires valid Chakra Pro license and API key in the
CHAKRA_UI_PRO_API_KEYenvironment variable.Interactive block selection
Add all variants of a specific block
Add a specific variant of a block
List available blocks
List blocks in a specific category
v3.26.0Compare Source
v3.25.0Compare Source
v3.24.2Compare Source
v3.24.1Compare Source
v3.24.0Compare Source
v3.23.0Compare Source
v3.22.0Compare Source
v3.21.1Compare Source
Patch Changes
517ba37Thanks @segunadebayo! - Fix issue where
typegencommand fails silently with misleading console output when prettierexits with a formatting error
v3.21.0Compare Source
v3.20.0Compare Source
v3.19.2Compare Source
Patch Changes
a289c3cThanks @isBatak! - - System: add explicit
undefinedto generated types to support TSexactOptionalPropertyTypesv3.19.1Compare Source
v3.19.0Compare Source
v3.18.0Compare Source
v3.17.0Compare Source
v3.16.1Compare Source
v3.16.0Compare Source
v3.15.1Compare Source
Patch Changes
dc4915aThanks @segunadebayo! - Improve CLI
response when passing an unknown snippet id
v3.15.0Compare Source
v3.14.2Compare Source
v3.14.1Compare Source
v3.14.0Compare Source
v3.13.0Compare Source
v3.12.0Compare Source
v3.11.0Compare Source
v3.10.0Compare Source
v3.9.0Compare Source
v3.8.2Compare Source
v3.8.1Compare Source
v3.8.0Compare Source
v3.7.0Compare Source
v3.6.0Compare Source
Patch Changes
07f2c56Thanks @segunadebayo! - Fix issue where CLI
doesn't properly check for existing files when adding snippets.
v3.5.1Compare Source
v3.5.0Compare Source
v3.4.0Compare Source
v3.3.3Compare Source
v3.3.2Compare Source
v3.3.1Compare Source
v3.3.0Compare Source
Minor Changes
e5ecd91Thanks @segunadebayo! - Add support for
--tsxflag in thesnippet addcommand to allow explicitly specifyingtsx/jsx file generation.
v3.2.5Compare Source
v3.2.4Compare Source
v3.2.3Compare Source
v3.2.2Compare Source
Patch Changes
6d4e7b6Thanks @TinsFox! - Output the real version from
package.jsonv3.2.1Compare Source
Patch Changes
c79b7bfThanks @segunadebayo! - - Fix issue where
npmDependencies for snippets were not auto-installed
v3.2.0Compare Source
Minor Changes
069e39dThanks @segunadebayo! - Add support for
--allflag to add all snippets. By default, we only install aminimal/recommended set of snippets.
If you want to add all snippets, you can use the
--allflag.Patch Changes
a3ba8e6Thanks @segunadebayo! - Fix issue where
typegen doesn't work when CLI installed globally or run using
npxv3.1.2Compare Source
v3.1.1Compare Source
v3.1.0Compare Source
Patch Changes
baa3cb1Thanks @segunadebayo! - Fix issue where
adding a snippet with
--outdirstill creates snippets asrc/components/uidirectory.
v3.0.2Compare Source
Patch Changes
bfd9cacThanks @segunadebayo! - Fix issue with vite
setup where
.mjsandmtsfiles were not considered.#9022
b40eb6bThanks @Newbie012! - Fix issue where style
props types show as
anywhen usingstrictTokensv3.0.1Compare Source
v3.0.0Compare Source
Minor Changes
758f226Thanks @segunadebayo! - Add support for
compositioncommand in CLI to import ready-made compositions for fasterdevelopment experience.
bfb68dcThanks @segunadebayo! - Add
ejectcommandto import default theme into project
085cacdThanks @segunadebayo! - Add support for
installing required NPM dependencies for compositions
77fe01dThanks @segunadebayo! - Change CLI name and
command structure.
chakra-clitochakra.tokenscommand totypegento better reflect its purpose since itsgenerates types for more than just the tokens.
compositioncommand to help users scaffold new compositionseasily. Compositions are snippets of Chakra UI component composition them
easier to reuse across projects.
8fc7b49Thanks @segunadebayo! - - Add support for
conditional value in variant props.
@defaultJSDoc comment fordefaultVariantsin generated types.4ff153fThanks @segunadebayo! - Speed up
intellisence for style props, and add support for
strictTokensin the CLI.d50d72cThanks @segunadebayo! - Rename
compositionscommand tosnippetfor better intuitiveness#8569
eb26857Thanks @isBatak! - Fix the
boxSizetype toallow number values.
14b6a45Thanks @segunadebayo! - Show the number of
skipped snippets that already exists in outdir
Patch Changes
0eda15cThanks @segunadebayo! - Set process
setMaxListeners to improve watch mode
c074b58Thanks @segunadebayo! - Fix issue where
vite project throws due to config search
0f0ed76Thanks @segunadebayo! - Fix regression
where files were always converted to
.jsx#8740
d5a225fThanks @Pagebakers! - Use correct extension
for ESM exports
v2.5.8Compare Source
v2.5.7Compare Source
v2.5.6Compare Source
v2.5.5Compare Source
v2.5.4Compare Source
v2.5.3Compare Source
v2.5.2Compare Source
v2.5.1Compare Source
v2.5.0Compare Source
chakra-ui/chakra-ui (@chakra-ui/react)
v3.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
v3.26.0Compare Source
Minor Changes
b9eede5Thanks @segunadebayo! - - Listbox
[New]: Add new component with support for single/multi-select, grouping,
virtualization, controlled state, icons, descriptions, and accessibility
features.
This component can be used to build command palettes, dropdowns with search,
and much more.
disabledproptypeahead
RTL mode
patternwhenformatOptionsis provided. This preventsnative pattern validation from conflicting with formatted values (e.g.,
currency or percent).
data-scrubbingattribute to the number input parts.Patch Changes
b9eede5Thanks @segunadebayo! - CodeBlock: Add
configurable theme support and sync loading for Shiki adapter
themeproperty must beexplicitly provided to
createShikiAdapterdescriptive errors
loadSyncmethod for better performancev3.25.0Compare Source
Minor Changes
#10254
3fb9d7cThanks @segunadebayo! - Add new scroll area
component
Patch Changes
d3a1064Thanks @segunadebayo! - Fix nested token
override issue during theme merging
#10244
9501179Thanks @isBatak! - - System: Implement
preset for table
border-spacingproperty and improve documentationonCheckedChangecould be called twice on checkbox orradio item
data-stateattribute for context menu triggerfails to reposition
data-focus-visibleon the newly focused item.exactMatchprop that enables whole-word matching usingregex word boundaries.
v3.24.2Compare Source
Patch Changes
333b063Thanks @segunadebayo! - Fix issue where
using
asChildwith invalid child elements orReact.lazycomponents wouldthrow an error.
v3.24.1Compare Source
Patch Changes
e81a6aeThanks @segunadebayo! - Provide a way to
exclude components from prose styling by using
not-prose9b7bf1dThanks @segunadebayo! - Fix issue where
_fullscreenreturns the wrong css selectorv3.24.0Compare Source
Minor Changes
#10164
79971c0Thanks @segunadebayo! - Add new codeblock
component with support for highlight.js and shiki.
Patch Changes
5e7831fThanks @ponharu! - fix: check if
separatorisa valid React element
v3.23.0Compare Source
Minor Changes
86ca96aThanks @segunadebayo! - - System: Add
unstyledprop support to compound component children to opt-out of recipestyles per component.
--group-gapCSSvariable
Patch Changes
dd3af62Thanks @segunadebayo! - - Tree View
filtermethod completely deletes the children key fromthe node when there are no matching children
acceptedFilesanddefaultAcceptedFilesFileError,FileMimeType, andFileRejectiontypes and fixvalidation issues
dc02076Thanks @segunadebayo! - Fix HTML semantic
structure for
Breadcrumb.Ellipsiscomponent by changing the underlyingelement from
<span>to<li>.4da48e3Thanks @segunadebayo! - - Tabs: Export
missing types
@chakra-ui/react/hookstree-shaking
@chakra-ui/react/theme. We now exposerecipes,slotRecipes,breakpoints,keyframes,textStyles,layerStyles,animationStyles,globalCss,cssVarsPrefix,cssVarsRoot,semanticTokens,tokensas dedicated modules.dvhanddvwunits instead ofvhandvwtodynamically adjust to viewport size changes.
sizes.
v3.22.0Compare Source
Minor Changes
32967aaThanks @segunadebayo! - Add new TreeView
component that is used to represent hierarchical data in a tree structure.
Patch Changes
ca40993Thanks @isBatak! - - Clipboard: Fix issue
where
clipboardAnatomywas not exported from@chakra-ui/react/anatomyreasontoonOpenChangeandonInputValueChangecallbacksapi.clearHighlightedValuefunction to clear highlighted valuetitleordescriptioncould not acceptReact element
valueAsStringformattingapi.clearHighlightedValuefunction to clear highlighted valuechildrenas a functionv3.21.1Compare Source
Patch Changes
8ddeb0bThanks @segunadebayo! - - Popover:
Fixed issue where
onOpenChangecould be called twice when controlledonInputValueChangecould be called twice whenselecting an item
allowCustomValue: trueused within in aform requires two enter keypress to submit
verticaldon't workdefaultValuetonulldoesn't showindeterminate state
toaster.promiseis calledwithout loading option. The
loadingoption is now required. A warning willbe logged if it is not provided
defaultValueorvalueafter fetching items doesn't update thevalueAsString#10119
6cf8cc6Thanks @isBatak! - - improve
Drawerrecipe tobetter support conditional variants.
Drawerconditional variants example to the docs and storybook.#10101
2b4fa6dThanks @isBatak! - - Select: Export missing
SelectRootComponent type export
d7914adThanks @segunadebayo! - Fix inconsistent
handling of
nullandundefinedfor skipping breakpoints using array syntaxv3.21.0Compare Source
Minor Changes
3df43baThanks @segunadebayo! - Add support new
entrypoint for
/themewhich allows for incremental loading of componentrecipes to avoid bloating the theme with unused components.
For example, if you want just the
buttonrecipe to be included in yourbundle, you can cherry-pick the recipe you need like this:
Patch Changes
010f256Thanks @segunadebayo! - - File Upload:
Prevented
undefinedinacceptedFileswhen no files acceptednavigating up/down the list with keyboard
upon cmd/middle click
Menu.ItemTextcould not be used withMenu.Itemv3.20.0Compare Source
Minor Changes
65020ddThanks @segunadebayo! - - System: Allow
undefinedfor optional properties in CSS and recipe typesColor Picker: Fixed issue where value change end event is invoked when
committing via an input.
Toast: Fixed issue where calling
toast.remove()without an id shows aTypeScript error.
Field: Fixed issue where helper text and error text could not be
detected in shadow DOM environments.
Slider
minStepsBetweenThumbsisn't computed correctly wheninteracting with pointer or keyboard.
Shift+ArrowRightset value to0instead ofmaxwhen step is too large (e.g.
20).onValueChangeEnddoesn't return the latest value whendragging very fast.
or dialog.
File Upload: Added support for transforming uploaded files via
transformFilescontext property.Combobox: Fixed issue where
onInputValueChangedoesn't get called whenautoFocusis set totruePin Input: Fixed issue where input padding could cause clipping of the
text when
fontSizeis increased.Patch Changes
#10081
c2f650bThanks @isBatak! - - export
CheckboxRootProviderPropstype#10075
63c267fThanks @isBatak! - - export
Quotetypographycomponent and its types
v3.19.2Compare Source
Patch Changes
a289c3cThanks @isBatak! - - System: add explicit
undefinedto generated types to support TS `exactOptionalPropertConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.