* feat(Button): add accessibleWhenDisabled prop for accessible disabled state
When the `accessibleWhenDisabled` prop is set to `true`, the Button
component uses `aria-disabled` instead of the native `disabled`
attribute, keeping the button focusable and accessible to assistive
technologies.
- Add `accessibleWhenDisabled` prop to `ButtonBaseProps`
- Use `aria-disabled` instead of `disabled` when the prop is enabled
- Set `data-disabled` for CSS styling in both modes
- Suppress click events when `aria-disabled` is active
- IconButton and CloseButton inherit the feature via ButtonProps
Closes#10929
* fix: add Emotion style registry for Next.js App Router to prevent hydration errors with Suspense streaming
- Add EmotionRegistry component to sandbox/next-app template with
delta-tracking cache to avoid duplicated styles
- Add @emotion/cache dependency to sandbox/next-app
- Document the Emotion style registry in the Next.js App Router guide
including the full EmotionRegistry component code and layout usage
- Update install command to include @emotion/cache
Fixes#10942
* revert: drop unrelated Button accessibleWhenDisabled change
This belongs in #10932, not the Next.js Emotion registry docs.
* test: add Next.js streaming sandbox for Emotion hydration
Reproduces the Suspense/Cache Components mismatch and the Emotion registry fix.
* revert: keep the default next-app template without an Emotion registry
Streaming hydration belongs in the dedicated next-app-streaming sandbox.
* chore: stop ignoring Next agent files in the streaming sandbox
* docs(next-app): make the Emotion registry an optional streaming step
Keep the default install one-pass. Document the registry only for Suspense and Cache Components.
* chore: sync lockfile after dropping @emotion/cache from next-app
CI frozen-lockfile failed because the default template no longer depends on it.
---------
Co-authored-by: waterWang <waterWang@users.noreply.github.com>
Co-authored-by: Segun Adebayo <joseshegs@gmail.com>
* 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
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).