template-ecommerce-webapp-nextjs
template-ecommerce-webapp-nextjs copied to clipboard
fix: update chakra-ui monorepo to v3 (main) (major)
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| @chakra-ui/cli | 2.1.8 -> 3.29.0 |
||
| @chakra-ui/react (source) | 2.4.1 -> 3.29.0 |
Release Notes
chakra-ui/chakra-ui (@chakra-ui/cli)
v3.29.0
v3.28.1
v3.28.0
v3.27.1
Patch Changes
- #10368
62260a5Thanks @tioluwani94! - Pro Blocks: Allow CLI to read new documentation blocks filtering
v3.27.0
Minor Changes
-
#10299
27b920aThanks @segunadebayo! - Add newblockscommand 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
npx @​chakra-ui/cli blocks add
Add all variants of a specific block
npx @​chakra-ui/cli blocks add hero
Add a specific variant of a block
npx @​chakra-ui/cli blocks add hero --variant "simple"
List available blocks
npx @​chakra-ui/cli blocks list
List blocks in a specific category
npx @​chakra-ui/cli blocks list --category "marketing"
```
v3.26.0
v3.25.0
v3.24.2
v3.24.1
v3.24.0
v3.23.0
v3.22.0
v3.21.1
Patch Changes
517ba37Thanks @segunadebayo! - Fix issue wheretypegencommand fails silently with misleading console output when prettier exits with a formatting error
v3.21.0
v3.20.0
v3.19.2
Patch Changes
- #10059
a289c3cThanks @isBatak! - - System: add explicitundefinedto generated types to support TSexactOptionalPropertyTypes
v3.19.1
v3.19.0
v3.18.0
v3.17.0
v3.16.1
v3.16.0
v3.15.1
Patch Changes
dc4915aThanks @segunadebayo! - Improve CLI response when passing an unknown snippet id
v3.15.0
v3.14.2
v3.14.1
v3.14.0
v3.13.0
v3.12.0
v3.11.0
v3.10.0
v3.9.0
v3.8.2
v3.8.1
v3.8.0
v3.7.0
v3.6.0
Patch Changes
07f2c56Thanks @segunadebayo! - Fix issue where CLI doesn't properly check for existing files when adding snippets.
v3.5.1
v3.5.0
v3.4.0
v3.3.3
v3.3.2
v3.3.1
v3.3.0
Minor Changes
e5ecd91Thanks @segunadebayo! - Add support for--tsxflag in thesnippet addcommand to allow explicitly specifying tsx/jsx file generation.
v3.2.5
v3.2.4
v3.2.3
v3.2.2
Patch Changes
v3.2.1
Patch Changes
c79b7bfThanks @segunadebayo! - - Fix issue where npmDependencies for snippets were not auto-installed- Support React Router 7 framework detection
v3.2.0
Minor Changes
-
069e39dThanks @segunadebayo! - Add support for--allflag to add all snippets. By default, we only install a minimal/recommended set of snippets.Recommended snippets: provider, avatar, button, checkbox, radio, input-group, slider, popover, dialog, drawer, tooltip, field
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 usingnpx
v3.1.2
v3.1.1
v3.1.0
Patch Changes
baa3cb1Thanks @segunadebayo! - Fix issue where adding a snippet with--outdirstill creates snippets asrc/components/uidirectory.
v3.0.2
Patch Changes
-
bfd9cacThanks @segunadebayo! - Fix issue with vite setup where.mjsandmtsfiles were not considered. -
#9022
b40eb6bThanks @Newbie012! - Fix issue where style props types show asanywhen usingstrictTokens
v3.0.1
v3.0.0
Minor Changes
-
758f226Thanks @segunadebayo! - Add support forcompositioncommand in CLI to import ready-made compositions for faster development experience.Usage: chakra-ui composition [options] [command] Add compositions to your project for better DX Options: -h, --help display help for command Commands: add [options] [components...] Add a new composition for better DX list List all compositions help [command] display help for command -
bfb68dcThanks @segunadebayo! - Addejectcommand to import default theme into project -
085cacdThanks @segunadebayo! - Add support for installing required NPM dependencies for compositions -
77fe01dThanks @segunadebayo! - Change CLI name and command structure.- Change the CLI name from
chakra-clitochakra. - Change
tokenscommand totypegento better reflect its purpose since its generates types for more than just the tokens. - Scaffold new
compositioncommand to help users scaffold new compositions easily. Compositions are snippets of Chakra UI component composition them easier to reuse across projects.
- Change the CLI name from
-
8fc7b49Thanks @segunadebayo! - - Add support for conditional value in variant props.- Add
@defaultJSDoc comment fordefaultVariantsin generated types.
- Add
-
4ff153fThanks @segunadebayo! - Speed up intellisence for style props, and add support forstrictTokensin the CLI. -
d50d72cThanks @segunadebayo! - Renamecompositionscommand tosnippetfor better intuitiveness -
#8569
eb26857Thanks @isBatak! - Fix theboxSizetype to allow 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.8
v2.5.7
v2.5.6
v2.5.5
v2.5.4
v2.5.3
v2.5.2
v2.5.1
v2.5.0
v2.4.1
Patch Changes
- #7621
02968c565Thanks @segunadebayo! - Refactor theme typings process and fix ESM issues
v2.4.0
Minor Changes
-
#7494
27dcf2f56Thanks @kuroppe1819! - Add support for nested semantic tokens in theme. It is now possible to declare semantic tokens by nesting objects.BEFORE:
const theme = { semanticTokens: { colors: { "background.pressed.base": { default: "blue.800", _dark: "blue.300" }, "background.pressed.subtle": { default: "blue.300", _dark: "blue.700" }, }, }, }AFTER:
const theme = { semanticTokens: { colors: { background: { pressed: { base: { default: "blue.800", _dark: "blue.300" }, subtle: { default: "blue.300", _dark: "blue.700" }, }, }, }, }, }This allows for cleaner grouping and organization of tokens.
v2.3.0
Minor Changes
-
#7127
ffc73f393Thanks @lexanth! - - Added support for generating theme typings to use via module augmentation of the@chakra-ui/styled-systempackage.To use this feature, run the following command:
chakra-cli tokens --template augmentation --out ./types/chakra-ui__styled-system.d.ts
v2.2.1
Patch Changes
- #7099
322a9f424Thanks @deecewan! - Support TS Config paths more completely
v2.2.0
Minor Changes
-
#5701
eb3bfe66dThanks @lexanth! - Add the flag--strict-token-typesfor@chakra-ui/cli tokensto generate strict types for theme tokens (e.g. color, spacing)chakra-cli tokens --strict-token-types// before <Box padding="abc" /> // valid type, but "abc" is not available in the theme // after <Box padding="abc" /> // invalid // Type '"abc"' is not assignable to type '"1" | "2" | ... | undefined'.
chakra-ui/chakra-ui (@chakra-ui/react)
v3.29.0
Minor Changes
- #10391
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- CodeBlock: Add missing
use clientdirective
- CodeBlock: Add missing
v3.28.1
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.- SegmentedControl: Refactor to use css variables for styling indicator
(
--segment-indicator-bgand--segment-indicator-shadow) for better customization.
- SegmentedControl: Refactor to use css variables for styling indicator
(
-
7067c95Thanks @segunadebayo! - Fix Shadow DOM and Web Component selector handling inglobalCss. The:host,:host-context(), and::slotted()pseudo-classes now correctly transform to top-level selectors with case-insensitive matching. -
c7060deThanks @segunadebayo! - Improve styled-system performance with multiple optimizations- Token cloning: Replace
structuredClone()with efficient shallow clone (75x faster) - Memoization: Improve cache key generation with efficient hashing and LRU cache (1.4x faster baseline, up to 585x faster for cached operations)
- Object allocation: Use singleton empty objects instead of creating new ones in hot paths
- Array operations: Optimize responsive value normalization with for loops instead of reduce
- Performance impact: Significant improvement in style computation speed with the memoization layer providing 100-500x gains for repeated operations
- Token cloning: Replace
v3.28.0
Minor Changes
-
#10374
e62bae7Thanks @Adebesin-Cell! - Add newTagsInputcomponent 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> ) } -
bf31e2aThanks @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 to
inputValue - 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 calls
event.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+BackspaceandCmd+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 whendisabledstate changes at runtime - Tabs: Refactor to use
getBoundingClientRect()for precise indicator positioning
- Fix issue where setting initial checked state to
v3.27.1
Patch Changes
-
e1774c8Thanks @segunadebayo! - ExposeCollapsible.Indicatorcomponent to provide visual indicator for collapsible state -
f9d66f4Thanks @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
-
f26e863Thanks @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
-
#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: AddshowLastSeparatorvariant to control visibility of the last separator
v3.27.0
Minor Changes
-
16fb3ccThanks @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
-
c741fe9Thanks @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 more
openDelay: 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
accessibility.
-
#10312
6189068Thanks @itushh! - - CodeBlock: Allow horizontal scrolling when code block overflows
v3.26.0
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.
<Listbox.Root collection={frameworks} width="320px"> <Listbox.Label>Select framework</Listbox.Label> <Listbox.Content> {frameworks.items.map((framework) => ( <Listbox.Item item={framework} key={framework.value}> <Listbox.ItemText>{framework.label}</Listbox.ItemText> <Listbox.ItemIndicator /> </Listbox.Item> ))} </Listbox.Content> </Listbox.Root>- Hover Card: Add support for
disabledprop - Select, Menu: Fix issue where disabled items could be reached via typeahead
- Color Picker: Fix issue where color picker was not working correctly in RTL mode
- Number Input
- Omit the input
patternwhenformatOptionsis provided. This prevents native pattern validation from conflicting with formatted values (e.g., currency or percent). - Handle empty values consistently across all format options.
- Add
data-scrubbingattribute to the number input parts.
- Omit the input
- Hover Card: Add support for
Patch Changes
-
b9eede5Thanks @segunadebayo! - CodeBlock: Add configurable theme support and sync loading for Shiki adapter- Theme configuration is now required - The
themeproperty must be explicitly provided tocreateShikiAdapter - Removed hard-coded theme fallbacks - Missing themes now throw descriptive errors
- Optional sync loading with
loadSyncmethod for better performance
// Before const adapter = createShikiAdapter({ async load() { /* ... */ }, }) // After const adapter = createShikiAdapter({ async load() { /* ... */ }, theme: { light: "github-light", dark: "github-dark", }, }) - Theme configuration is now required - The
v3.25.0
Minor Changes
-
#10254
3fb9d7cThanks @segunadebayo! - Add new scroll area component<ScrollArea.Root> <ScrollArea.Viewport> <ScrollArea.Content>{/* Scrolling content */}</ScrollArea.Content> </ScrollArea.Viewport> <ScrollArea.Scrollbar> <ScrollArea.Thumb /> </ScrollArea.Scrollbar> <ScrollArea.Corner /> </ScrollArea.Root>
Patch Changes
-
d3a1064Thanks @segunadebayo! - Fix nested token override issue during theme mergingconst defaultConfig = { theme: { tokens: { colors: { black: { value: "#​000000" }, }, }, }, } const userConfig = { theme: { tokens: { colors: { black: { 100: { value: "#EE0F0F" }, 200: { value: "#CC0C0C" }, }, }, }, }, } // Before: This would return undefined const system = createSystem(defaultConfig, userConfig) system.token("colors.black.100") // undefined // After: This will return merged correctly, preserving the default value system.token("colors.black.100") // "#EE0F0F" system.token("colors.black.200") // "#CC0C0C" system.token("colors.black") // "#​000000" -
#10244
9501179Thanks @isBatak! - - System: Implement preset for tableborder-spacingproperty and improve documentation- Menu
- Fix issue where
onCheckedChangecould be called twice on checkbox or radio item - Add
data-stateattribute for context menu trigger - Fix context menu positioning bug where reopening at the same coordinates fails to reposition
- Fix issue where
- Radio Group: Fixed issue where arrow key navigation doesn't apply
data-focus-visibleon the newly focused item. - Highlight: Add
exactMatchprop that enables whole-word matching using regex word boundaries.
- Menu
v3.24.2
Patch Changes
-
333b063Thanks @segunadebayo! - Fix issue where usingasChildwith invalid child elements orReact.lazycomponents would throw an error.This issue more commonly occurs when composing with Next.js
Linkcomponent.import { Breadcrumb } from "@​chakra-ui/react" import Link from "next/link" export default function Page() { return ( <Breadcrumb.Root> {/* 🧨 Throws an error */} <Breadcrumb.Link asChild> <Link href="#">aaaa</Link> </Breadcrumb.Link> </Breadcrumb.Root> ) }
v3.24.1
Patch Changes
-
e81a6aeThanks @segunadebayo! - Provide a way to exclude components from prose styling by usingnot-prose -
9b7bf1dThanks @segunadebayo! - Fix issue where_fullscreenreturns the wrong css selector
v3.24.0
Minor Changes
-
#10164
79971c0Thanks @segunadebayo! - Add new codeblock component with support for highlight.js and shiki.<CodeBlock.AdapterProvider value={shikiAdapter}> <CodeBlock.Root code="console.log('Hello, world!')" language="tsx"> <CodeBlock.Content> <CodeBlock.Code> <CodeBlock.CodeText /> </CodeBlock.Code> </CodeBlock.Content> </CodeBlock.Root> </CodeBlock.AdapterProvider>
Patch Changes
v3.23.0
Minor Changes
-
86ca96aThanks @segunadebayo! - - System: Addunstyledprop 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-gapCSS variable
- Group: Add support changing group gap globally via
Patch Changes
-
dd3af62Thanks @segunadebayo! - - Tree View- Fixed issue where tree view doesn't scroll into view when content overflows
- Fix issue where the
filtermethod 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
acceptedFilesanddefaultAcceptedFiles - Export
FileError,FileMimeType, andFileRejectiontypes and fix validation issues
- Add support for programmatically controlling the accepted files via
-
dc02076Thanks @segunadebayo! - Fix HTML semantic structure forBreadcrumb.Ellipsiscomponent 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> -
4da48e3Thanks @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 exposerecipes,slotRecipes,breakpoints,keyframes,textStyles,layerStyles,animationStyles,globalCss,cssVarsPrefix,cssVarsRoot,semanticTokens,tokensas dedicated modules. - Dialog: Use
dvhanddvwunits instead ofvhandvwto dynamically adjust to viewport size changes. - Native Select: Ensure height is consistent with input and select across sizes.
- Hooks: Export entrypoint for better tree-shaking
v3.22.0
Minor Changes
- #10111
32967aaThanks @segunadebayo! - Add new TreeView component that is used to represent hierarchical data in a tree structure.
Patch Changes
- #10126
ca40993Thanks @isBatak! - - Clipboard: Fix issue whereclipboardAnatomywas not exported from@chakra-ui/react/anatomy- Combobox
- Expose
reasontoonOpenChangeandonInputValueChangecallbacks - Expose
api.clearHighlightedValuefunction to clear highlighted value
- Expose
- Toast: Fix issue where toast
titleordescriptioncould not accept React element - Progress: Improve
valueAsStringformatting - Select
- Select highlighted item only if it exists in the collection
- Expose
api.clearHighlightedValuefunction to clear highlighted value
- ClientOnly: Support
childrenas a function
- Combobox
v3.21.1
Patch Changes
-
8ddeb0bThanks @segunadebayo! - - Popover: Fixed issue whereonOpenChangecould be called twice when controlled- Combobox
- Fixed issue where
onInputValueChangecould be called twice when selecting an item - Fixed issue where combobox with
allowCustomValue: trueused within in a form requires two enter keypress to submit
- Fixed issue where
- Progress
- Fix issue where setting orientation to
verticaldon't work - Fix issue where setting
defaultValuetonulldoesn't show indeterminate state
- Fix issue where setting orientation to
- Toast: Fix issue where app crashes when
toaster.promiseis called without loading option. Theloadingoption is now required. A warning will be logged if it is not provided - Combobox, Select, Listbox: Fix issue where rehydrating
defaultValueorvalueafter fetching items doesn't update thevalueAsString
- Combobox
-
#10119
6cf8cc6Thanks @isBatak! - - improveDrawerrecipe to better support conditional variants.- add
Drawerconditional variants example to the docs and
- add
Configuration
📅 Schedule: Branch creation - At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday ( * 0-4,22-23 * * 1-5 ), Only on Sunday and Saturday ( * * * * 0,6 ) in timezone UTC, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Preview | Updated (UTC) |
|---|---|---|---|
| template-ecommerce-webapp-nextjs | Nov 26, 2025 10:13am |
Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable minor and patch updates automatically.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.