Skip to content

Commit eb105ec

Browse files
antpawMilanKrupa
andauthored
Chakra UI v2 to v3 migration (#4566)
* Begin chakra ui v2 to v3 migration * Fix chakra snippets types, temporarily remove getChakra function * Handle select and number input value change * fix chakra RadioWidget value change * fix chakra CheckboxesWidget value assign * add chakra Fieldset to FieldTemplate * fix chakra SelectWidget content position via portal * add chakra NativeSelectWidget * update playground chakra-ui version * remove @chakra-ui/icon in favor of lucide-react * remove unused dependencies * remove commented out code * add js docs to the slider components * update v6 changelog * fixup! Fix chakra snippets types, temporarily remove getChakra function * fixup! remove @chakra-ui/icon in favor of lucide-react * linting imports * fix tsconfig setting * clean package-lock.json * add structuredClone to jest * hotfixes * fix test setup * fix range slider crash * remove portal to fix tests * update chakra-ui version --------- Co-authored-by: Milan Krupa <[email protected]>
1 parent 65586f2 commit eb105ec

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+42564
-21495
lines changed

CHANGELOG_v6.md

+3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ should change the heading of the (upcoming) version to include a major version b
2828

2929
## @rjsf/chakra-ui
3030

31+
- BREAKING CHANGE: upgrade from v2 to v3
32+
- BREAKING CHANGE: remove deprecated `@chakra-ui/icon` in favor of `lucide-react`
3133
- BREAKING CHANGE: Refactored `ArrayFieldItemTemplate` to use the new `ArrayFieldItemButtonsTemplate`
3234
- Updated the `ArrayFieldTemplate`, `ObjectFieldTemplate`, and `WrapIfAdditionalTemplate` to a unique id using the `buttonId()` function and adding consistent marker classes
3335
- Implemented the `GridTemplate` component, adding it to the `templates` for the theme
@@ -107,6 +109,7 @@ should change the heading of the (upcoming) version to include a major version b
107109

108110
## Dev / docs / playground
109111

112+
- Updated the playground to Chakra UI v3
110113
- Updated the playground to remove `fluent-ui` theme
111114
- Updated the `custom-templates.md` documentation for the changes to the `ArrayFieldTemplateItem` and add the two new templates
112115
- Updated the `utility-functions.md` documentation to add the `buttonId()` function

0 commit comments

Comments
 (0)