Commit Graph

11542 Commits

Author SHA1 Message Date
github-actions[bot] f8133940ac Version Packages (#10857)
ci(changesets): version packages

Co-authored-by: Segun Adebayo <joseshegs@gmail.com>
@chakra-ui/react@3.36.1 @chakra-ui/panda-preset@3.36.1 @chakra-ui/codemod@3.36.1 @chakra-ui/cli@3.36.1 @chakra-ui/charts@3.36.1
2026-07-19 16:30:04 +02:00
Segun Adebayo eaebe6f7f6 docs: prepare next release changelog 2026-07-19 16:00:47 +02:00
Segun Adebayo bf6fbf7275 fix: update changeset version 2026-07-19 16:00:06 +02:00
sanjibani 3fff6bf768 fix(docs): remove dead Codeium/Windsurf memories link, fix web.dev/image-loading (#10901)
fix(docs): remove dead Codeium/Windsurf memories link, fix web.dev/image-loading → web.dev/learn/images

Co-authored-by: sanjibani <18418553+sanjibani@users.noreply.github.com>
2026-07-19 15:09:28 +02:00
Thejesh 152a94a3d8 fix: quote argument-hint YAML values so Copilot CLI ≥1.0.65 loads all skills (closes #10890) (#10891)
fix: quote argument-hint YAML values so Copilot CLI ≥1.0.65 loads all skills

`argument-hint: [foo]` YAML-parses as a flow sequence (array), not a
string. Downstream slash-command loaders that validate `argument-hint`
as a string — notably GitHub Copilot CLI ≥ 1.0.65 — silently reject
the skill on load, and the command disappears from the CLI menu.

Wrap the value in double quotes so it parses as a string. No behaviour
change on Claude Code.
2026-07-19 15:07:02 +02:00
Segun Adebayo f73145383d fix(renovate): migrate matchPackagePatterns to valid matchPackageNames 2026-07-19 12:07:00 +02:00
sanjibani a7e3e0e62d fix(docs): fix dead chakra-ui.com/docs links in codemod migration guides (#10900)
Co-authored-by: Adebesin Tolulope <adebesintolulope80@gmail.com>
2026-07-14 06:00:30 +01:00
sanjibani 4c0ff9e0ae fix(docs): replace dead lucide.dev/react link with canonical package docs URL (#10896)
The Icon component guide links to https://lucide.dev/react/ which returns
HTTP 404. The current canonical URL for the lucide-react package docs is
https://lucide.dev/guide/packages/lucide-react (verified 200). Update the
link so users following the guide land on the actual lucide-react
package documentation.

Co-authored-by: sanjibani <18418553+sanjibani@users.noreply.github.com>
2026-07-13 20:21:53 +02:00
dfedoryshchev e503f8d9f4 fix: correct css prop usage in Bleed component (#10885) 2026-07-11 19:15:14 +02:00
sanjibani d8865b520e fix(docs): replace dead chakra-ui.com/discord link with discord.gg invite (#10886)
* fix(docs): replace dead chakra-ui.com/discord link with discord.gg invite

The blog posts all link to https://chakra-ui.com/discord, which returns
HTTP 404. The marketing site has retired the /discord path; the current
Discord invite is https://discord.gg/chakra-ui (verified on the live
homepage footer). Replaced in 10 blog posts published between August
2025 and March 2026.

* Delete .changeset/fix-blog-discord-link.md

---------

Co-authored-by: sanjibani <18418553+sanjibani@users.noreply.github.com>
Co-authored-by: Segun Adebayo <joseshegs@gmail.com>
2026-07-11 19:13:24 +02:00
sanjibani 2d7552a3c5 docs(blog): fix dead chakra-ui.com/llms-migration.txt link (#10887)
The 'Making the Chakra docs AI-friendly' blog post points at
'https://chakra-ui.com/llms-migration.txt' (twice), which returns HTTP
404. The actual file is hosted at
'https://chakra-ui.com/llms-v3-migration.txt' (HTTP 200, same content,
sized to the v2 -> v3 migration). The post predates the v3 file rename.

Both occurrences in the post are now updated; no other text changes.

Co-authored-by: sanjibani <18418553+sanjibani@users.noreply.github.com>
2026-07-11 19:08:44 +02:00
Segun Adebayo c707eb3af8 chore: merge chakra shipped branch 2026-07-09 17:10:33 +02:00
sanjibani e7431f1c9e fix(docs): replace Stack.Separator with standalone Separator in migration guide (#10881) (#10884)
* fix(docs): replace Stack.Separator with standalone Separator in migration guide

The StackDivider section in the v2-to-v3 migration guide told users
to migrate to `Stack.Separator`, which is not a valid export from
`@chakra-ui/react` - `Stack` is not a compound/namespaced component
in v3 and never exposed `Separator` as a property. Users following
the guide encountered runtime `Cannot read properties of undefined`
errors and TS `Property 'Separator' does not exist on type 'Stack'`.

Replaced both references (StackDivider section and Stack Props example)
with the standalone `Separator` component documented at
https://chakra-ui.com/docs/components/separator. Added the import
statement in the StackDivider example to match the Separator docs
style; the Stack Props example keeps the inline-style so the diff
stays scoped to the property rename.

Closes #10881

* chore: add changeset for Stack.Separator docs fix

---------

Co-authored-by: sanjibani <18418553+sanjibani@users.noreply.github.com>
2026-07-09 17:05:58 +02:00
Segun Adebayo dd66873b63 chore(www): update generated examples 2026-07-09 17:03:39 +02:00
Segun Adebayo d496ca6ced feat(www): refine shipped stories 2026-07-09 16:53:47 +02:00
Segun Adebayo 998065535b docs: fix sponsors 2026-07-09 16:18:12 +02:00
Esther Agbaje f15f90b5b7 feat: update Shipped section with new callout and link, enhance story display 2026-07-09 14:48:49 +02:00
Esther Agbaje 54744b0fcb feat: integrate published stories and enhance quote card functionality 2026-07-08 17:23:53 +02:00
Segun Adebayo cb7018ced1 chore: update design 2026-07-06 18:36:10 +02:00
Esther Agbaje 1918cc0899 feat: add logo support for shipped stories and update related content 2026-07-06 16:40:38 +02:00
Esther Agbaje 7f32fa9984 feat: update Tree-Structured Planning content with enhanced quotes, roles, and categories 2026-07-06 15:18:03 +02:00
Segun Adebayo 0fe305592d perf(react): cache compiled recipes and memoize variant resolution
Recipe components (Button, Badge, Skeleton, etc.) previously recompiled
their recipe and re-resolved variant styles per instance/render, which
dominated render time in large lists and tables.

- Cache compiled recipes per system instance, keyed by recipe key
- Memoize cva/sva variant resolution so results are referentially stable
- Drop the per-instance structuredClone of recipe configs
- Fix recipe merging so it no longer throws or mutates source configs
- Use tsgo (@typescript/native-preview) for faster typecheck
2026-07-06 14:27:33 +02:00
Segun Adebayo 8ae68240d8 chore: bump pnpm version 2026-07-06 12:29:56 +02:00
dfedoryshchev e882dc0e71 fix: correct css prop usage in Float component (#10879) 2026-07-04 13:30:29 +02:00
Esther Agbaje 12c05317f3 feat: enhance TM Code story with updated quote, images, and avatar 2026-07-03 16:27:16 +02:00
Reza Abdi 882af4b5b8 Rename TanStackRouterVite to tanstackRouter (#10874)
* Rename TanStackRouterVite to tanstackRouter

The exported function `TanStackRouterVite` is marked as deprecated in latest documentation. 

As suggested in the documentations, `tanstackRouter` must be used instead.

* Update vite.config.ts
2026-07-01 21:33:00 +02:00
Damian Kocjan 372ad51b0f Remove unnecessary semicolons in migration to v3 docs (#10876) 2026-06-29 20:51:33 +01:00
Esther Agbaje bb1cfa201c fix: enhance emphasis on quotes in TM Code and Tree-Structured Planning content 2026-06-28 15:56:20 +02:00
Segun Adebayo 1de9c58314 chore(cli): replace node-fetch with native fetch API
Node 22+ provides a global fetch, so node-fetch is no longer needed.
HTTPS_PROXY support moves from https-proxy-agent (the `agent` option) to
undici's ProxyAgent via the standard `dispatcher` option, centralized in
a small request() helper. Also drops the now-unused node-fetch dependency
from apps/www, removing the deprecated transitive node-domexception.

Resolves discussion #10039.
2026-06-27 15:33:48 +02:00
Segun Adebayo f703e187c7 fix(deps): replace find-up with find-up-simple to fix docs build
find-up v8 pulls unicorn-magic@0.3.0, whose package.json uses bare
condition keys in "exports" with no main entry. tsx's module resolver
rejects this (ERR_PACKAGE_PATH_NOT_EXPORTED), breaking the docs
prebuild (scripts/composition.ts etc.) and the Vercel docs deploy.

We only ever use findUpSync(name, { type }). Switch to find-up-simple
(same author, zero dependencies, identical findUpSync API, clean
exports) instead of pinning find-up back to v7. Updates the 5 import
sites in scripts/ and apps/www.

Verified: full docs build, root typecheck, and prettier all pass.
2026-06-27 15:13:14 +02:00
Segun Adebayo ff2067e7ad fix(deps): update non-major dependencies
Applies the non-major bumps from Renovate PR #10525 onto current main,
skipping entries main has already advanced past (@ark-ui/react is
already 5.37.2 > the PR's 5.37.1; @internationalized/date and the pnpm
packageManager pin are also ahead).

Notable: storybook 10.3.3 -> 10.4.2, vite 8.0.2 -> 8.0.16, vitest
4.1.1 -> 4.1.8, rollup 4.57.1 -> 4.61.1, esbuild ^0.27.3 -> ^0.28.0,
next 15.5.18 -> 15.5.19, prettier 3.8.1 -> 3.8.3, plus assorted
patch/minor deps across packages, apps, and sandboxes.

Verified green: typecheck, lint, format:check, build, and the full
vitest suite (978 tests).
2026-06-27 15:02:12 +02:00
Segun Adebayo 475f0c3763 chore(deps): bump find-up v8, ts-morph v28, babel v7.29.7
Batches three Renovate dependency updates:

- find-up 7.0.0 -> 8.0.0 (#10670): only findUpSync is used (API
  unchanged); no path-exists re-export usage; repo already requires
  Node >=20.
- ts-morph 27.0.2 -> 28.0.0 (#10819): used only in apps/www; stable
  core API (Project/createSourceFile/getSourceFile) unaffected by the
  TS 6.0 internals change.
- @babel/core, @babel/parser, @babel/plugin-transform-typescript ->
  7.29.7 (#10835): lockfile-only, existing ^7.26.0 ranges in
  packages/cli already permit it.

Verified: root typecheck, CLI build, and runtime smoke tests for
find-up and ts-morph all pass.
2026-06-27 14:49:51 +02:00
dfedoryshchev c4e79c122a fix: forward the rel attribute on LinkOverlay (#10873) 2026-06-27 14:40:53 +02:00
Segun Adebayo 1f3bd54a88 fix(panda-preset): restore generated theme src removed in #10868 2026-06-27 14:38:53 +02:00
Kevin Dev 🇷🇼 8f0b888d3f fix(www): derive component defaultProps from source in typegen (#10862)
* fix(dialog): correct default values for lazyMount and unmountOnExit

* refactor(typegen): extract default props programmatically from component source

- Remove manual static props JSON files for dialog, floating-panel, drawer
- Automatically extract defaultProps from component definitions at build time
- Ensures type definitions always reflect actual runtime defaults
- Eliminates documentation drift when defaults change in code
- Single source of truth reduces maintenance burden

Fixes #10861

* refactor(typegen): extract default props programmatically from component source

* refactor(typegen): extract default props programmatically from component source

* fix(orphaned-docs): resolved other remained untouched orphaned docs

* fix(www): map root provider defaultProps to RootProvider slot in typegen

Root providers/contexts carry no slot-name arg, so their defaultProps

were always written to the Root slot, leaving RootProvider stale.

Derive the slot from the variable name instead. Corrects

dialog/drawer/action-bar RootProvider lazyMount/unmountOnExit defaults.

---------

Co-authored-by: Lope <adebesintolulope80@gmail.com>
2026-06-27 14:30:59 +02:00
Esther Agbaje eae7b5fc45 feat: add Shipped stories and layout components with metadata and previews 2026-06-25 13:07:50 +02:00
Abdul Wahab Khan Arib f32a160162 feat(overlay): add has() method to createOverlay return (#10868)
* feat(overlay): add has() method to createOverlay return

* docs: changeset

---------

Co-authored-by: Segun Adebayo <joseshegs@gmail.com>
2026-06-23 23:36:05 +02:00
zhoumutou 093509b43d fix(listbox): prevent crash when filter empties collection in explorer demo (#10870)
When typing in the Listbox Input to filter items, if no items match the
query, collection.items becomes empty. Accessing collection.items[0].value
on an empty array throws a TypeError. Add a null guard to fall back to
undefined defaultValue when the filtered collection is empty.
2026-06-23 23:34:41 +02:00
Aleksei Kharitonov a1548ba60c fix: correct misspelled "permuations" variable in breakpoints (#10864) 2026-06-21 22:08:42 +01:00
dfedoryshchev b5de5e246b fix: correct className usage in Image component (#10863) 2026-06-20 09:27:12 +02:00
dfedoryshchev 6f102700bd fix: correct css prop usage in Checkmark component (#10859) 2026-06-18 20:07:36 +02:00
dfedoryshchev f53e46a182 fix: correct css prop usage in WrapItem component (#10860) 2026-06-18 20:06:52 +02:00
Segun Adebayo 129c50ff9b fix(checkbox-card, radio-card): prevent clipping of checked ring by using inset shadow 2026-06-11 20:45:22 +02:00
Segun Adebayo f4e6377564 chore(panda-preset): sync theme from @chakra-ui/react 2026-06-11 19:35:55 +02:00
Segun Adebayo 39ef8b542b fix(build): support Windows path resolution in build scripts and CLI 2026-06-11 19:35:45 +02:00
Bernd Busse f8b356ce83 chore(cli): migrate from deprecated tsconfck to get-tsconfig (#10823)
* chore(cli): migrate from deprecated tsconfck to get-tsconfig

* refactor(cli): skip unresolvable tsconfig references and expand test coverage

---------

Co-authored-by: Segun Adebayo <joseshegs@gmail.com>
2026-06-11 19:05:49 +02:00
Segun Adebayo 658d5542a4 docs(animation): add reduced motion guidance 2026-06-11 18:51:29 +02:00
Segun Adebayo 2ed9026862 fix(floating-panel): docs and component 2026-06-11 17:54:01 +02:00
Segun Adebayo dd9fa1c44b chore(deps): update Node.js engine requirement and pnpm version 2026-06-11 17:40:39 +02:00
Adebesin Tolulope (Lope) b51c8b8dfb docs(www): v3.36 release blog post (#10849)
* docs(www): add 3.36 FloatingPanel release blog and update homepage announcement

* docs(blog): add Splitter demos linking to the new docs sections

* docs(blog): set publishedAt to 3.36.0 release date
2026-06-10 16:42:24 +01:00