Typeset was restyling the accordion header (h3) and content paragraphs on
/docs/introduction, breaking trigger alignment and content spacing.
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: shadcn <shadcn@users.noreply.github.com>
* feat(shadcn): add migrate base-color
Add a `base-color` migration that switches a project's base color and
rewrites its theme CSS variables, mirroring `migrate icons`. Only tokens
that still hold the source base color's value are replaced; customized
tokens are left untouched and reported. `--from` defaults to the current
`baseColor`.
* chore: add changeset
* chore: changeset
---------
Co-authored-by: shadcn <m@shadcn.com>
Fixes https://github.com/shadcn-ui/ui/issues/11435
Adds an example for disabled items in questionnaires (important for testing hover states). Other than this, CSS only changes as described in the issue.
* fix(docs): use render prop instead of asChild in base ui docs
The base ui docs were copied from the radix docs without adapting the
code examples to the Base UI API. Replace asChild with render, remove
the radix-specific --radix-popper-anchor-width CSS variable (base
DropdownMenuContent already sizes to --anchor-width), and update
data-[state=open] to data-open.
Closes#9049
* style: code format
Registers the knock.codes open source registry so it's addressable via
the @knock-codes namespace (npx shadcn add @knock-codes/<item>).
Co-authored-by: shadcn <m@shadcn.com>
diklein.com/components lists the registry's items with install commands, so directory visitors land on the components instead of the site's front page.
* feat(v4): update data table docs and examples to tanstack table v9
- Migrate all data-table demos, dashboard-01 blocks, and the tasks
example to the TanStack Table v9 stable API (tableFeatures, useTable,
createColumnHelper)
- Add a shared data-table-features.ts module to the tasks example
- Rewrite the base/radix/aria data-table.mdx guides for v9 and update
table.mdx links
- Remove the orphaned components/cards/payments.tsx (the live payments
card no longer uses TanStack Table)
- Pin the frozen v3 dashboard-01 registry payloads to react-table v8 so
legacy CLI installs keep working now that v9 is npm latest
- Fix pre-existing docs bugs (base preview styleName, radix frontmatter
base, aria getFlatHeaders missing .map)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix(v4): register built-in filter/sort fns and use FlexRender component
In v9 the built-in filter and sort functions are tree-shaken like
everything else: a column's default filterFn of 'auto' resolves through
the filterFns registry on the features object, so an unregistered
includesString made the demo filter inputs silently no-op. Register
filterFns/sortFns in every table with filter/sort UI and document the
requirement in the data-table guides.
Also replace flexRender() call sites with the v9 FlexRender component:
table.FlexRender where the table instance is in scope, the imported
FlexRender in the dnd-kit blocks whose DraggableRow renders cells
outside it.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* clean up comments for best practices
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: shadcn <m@shadcn.com>