Skip to content

feat: Update shadcn to use latest shadcn components and Tailwind v4 #4720

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

tuanphung2308
Copy link
Contributor

Reasons for making this change

  • fixes #[4681]
  • update the the packages to use latest shadcn codebase and tailwind v4 syntax.
  • add more example themes to playground

Checklist

  • I'm updating documentation
  • I'm adding or updating code
    • I've added and/or updated tests. I've run npx nx run-many --target=build --exclude=@rjsf/docs && npm run test:update to update snapshots, if needed.
    • I've updated docs if needed
    • I've updated the changelog with a description of the PR
  • I'm adding a new feature
    • I've updated the playground with an example use of the feature

@heath-freenome
Copy link
Member

@tuanphung2308 A couple of small things

@heath-freenome heath-freenome merged commit e6e3c99 into rjsf-team:main Aug 15, 2025
4 checks passed
Sheday pushed a commit to Sheday/react-jsonschema-form that referenced this pull request Aug 16, 2025
…jsf-team#4720)

* feat: bump shadcn to v4 components

* feat: update tailwindcss to v4.1.11 and add @tailwindcss/cli for compiling css. also remove unnecessary postcss

* feat: switch to @tailwindcss/cli for CSS build process

* feat: update IconButton to use class-variance-authority for variant props

* feat: add new CSS themes for styling with Tailwind CSS v4

* feat: update stylesheet paths to use v4 versions for shadcn themes

* feat: update Jest snapshots for TextAreaWidget and CheckboxesWidget with new class names and attributes

* feat: update SubmitButton layout to use flexbox for better alignment and RTL support

* Revert "feat: update SubmitButton layout to use flexbox for better alignment and RTL support"

This reverts commit b0a3f28.

* feat: update CHANGELOG for version 6.0.0-beta.15 with component bumps and theme updates

* chore: remove unnecessary components.json

* Update CHANGELOG.md

---------

Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com>
@tuanphung2308
Copy link
Contributor Author

@tuanphung2308 A couple of small things

@heath-freenome I was on short vacation this weekend. Gonna do a separate PR for the README screenshot update

@heath-freenome
Copy link
Member

@tuanphung2308 awesome, I look forward to reviewing it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants