From 14fd2e319519cb1ffc8f511fcec6b4bb8882ef5a Mon Sep 17 00:00:00 2001 From: Heath Chiavettone Date: Thu, 6 Nov 2025 22:25:36 -0800 Subject: [PATCH 1/5] Releasing 6.0.2 --- package-lock.json | 32 +++++++++++++-------------- packages/antd/package.json | 2 +- packages/chakra-ui/package.json | 2 +- packages/core/package.json | 2 +- packages/daisyui/package.json | 2 +- packages/docs/package.json | 2 +- packages/fluentui-rc/package.json | 2 +- packages/mantine/package.json | 2 +- packages/mui/package.json | 2 +- packages/playground/package.json | 2 +- packages/primereact/package.json | 2 +- packages/react-bootstrap/package.json | 2 +- packages/semantic-ui/package.json | 2 +- packages/shadcn/package.json | 2 +- packages/snapshot-tests/package.json | 2 +- packages/utils/package.json | 2 +- packages/validator-ajv8/package.json | 2 +- 17 files changed, 32 insertions(+), 32 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4a9163e4e2..71b1e6a2d3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38655,7 +38655,7 @@ }, "packages/antd": { "name": "@rjsf/antd", - "version": "6.0.1", + "version": "6.0.2", "license": "Apache-2.0", "dependencies": { "classnames": "^2.5.1", @@ -38689,7 +38689,7 @@ }, "packages/chakra-ui": { "name": "@rjsf/chakra-ui", - "version": "6.0.1", + "version": "6.0.2", "license": "Apache-2.0", "dependencies": { "lucide-react": "^0.548.0", @@ -38722,7 +38722,7 @@ }, "packages/core": { "name": "@rjsf/core", - "version": "6.0.1", + "version": "6.0.2", "license": "Apache-2.0", "dependencies": { "lodash": "^4.17.21", @@ -38954,7 +38954,7 @@ }, "packages/daisyui": { "name": "@rjsf/daisyui", - "version": "6.0.1", + "version": "6.0.2", "license": "Apache-2.0", "dependencies": { "@fortawesome/fontawesome-svg-core": "^7.1.0", @@ -38986,7 +38986,7 @@ }, "packages/docs": { "name": "@rjsf/docs", - "version": "6.0.1", + "version": "6.0.2", "dependencies": { "@docusaurus/core": "^3.8.1", "@docusaurus/preset-classic": "^3.9.2", @@ -39004,7 +39004,7 @@ }, "packages/fluentui-rc": { "name": "@rjsf/fluentui-rc", - "version": "6.0.1", + "version": "6.0.2", "license": "Apache-2.0", "devDependencies": { "@fluentui/react-components": "^9.72.4", @@ -39030,7 +39030,7 @@ }, "packages/mantine": { "name": "@rjsf/mantine", - "version": "6.0.1", + "version": "6.0.2", "license": "Apache-2.0", "devDependencies": { "@mantine/core": "^8.3.6", @@ -39059,7 +39059,7 @@ }, "packages/mui": { "name": "@rjsf/mui", - "version": "6.0.1", + "version": "6.0.2", "license": "Apache-2.0", "devDependencies": { "@emotion/jest": "^11.13.0", @@ -39088,7 +39088,7 @@ }, "packages/playground": { "name": "@rjsf/playground", - "version": "6.0.1", + "version": "6.0.2", "license": "Apache-2.0", "dependencies": { "@ant-design/icons": "^6.1.0", @@ -39170,7 +39170,7 @@ }, "packages/primereact": { "name": "@rjsf/primereact", - "version": "6.0.1", + "version": "6.0.2", "license": "Apache-2.0", "devDependencies": { "@rjsf/core": "^6.x", @@ -39196,7 +39196,7 @@ }, "packages/react-bootstrap": { "name": "@rjsf/react-bootstrap", - "version": "6.0.1", + "version": "6.0.2", "license": "MIT", "dependencies": { "@react-icons/all-files": "^4.1.0" @@ -39221,7 +39221,7 @@ }, "packages/semantic-ui": { "name": "@rjsf/semantic-ui", - "version": "6.0.1", + "version": "6.0.2", "license": "Apache-2.0", "dependencies": { "semantic-ui-css": "^2.5.0" @@ -39247,7 +39247,7 @@ }, "packages/shadcn": { "name": "@rjsf/shadcn", - "version": "6.0.1", + "version": "6.0.2", "license": "MIT", "dependencies": { "@radix-ui/react-checkbox": "^1.3.3", @@ -39489,7 +39489,7 @@ }, "packages/snapshot-tests": { "name": "@rjsf/snapshot-tests", - "version": "6.0.1", + "version": "6.0.2", "license": "Apache-2.0", "devDependencies": { "@rjsf/core": "^6.x", @@ -39509,7 +39509,7 @@ }, "packages/utils": { "name": "@rjsf/utils", - "version": "6.0.1", + "version": "6.0.2", "license": "Apache-2.0", "dependencies": { "fast-uri": "^3.1.0", @@ -39545,7 +39545,7 @@ }, "packages/validator-ajv8": { "name": "@rjsf/validator-ajv8", - "version": "6.0.1", + "version": "6.0.2", "license": "Apache-2.0", "dependencies": { "ajv": "^8.17.1", diff --git a/packages/antd/package.json b/packages/antd/package.json index 47ecef45f7..00f2194d1a 100644 --- a/packages/antd/package.json +++ b/packages/antd/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/antd", - "version": "6.0.1", + "version": "6.0.2", "description": "Ant Design theme, fields and widgets for react-jsonschema-form", "main": "dist/index.js", "module": "lib/index.js", diff --git a/packages/chakra-ui/package.json b/packages/chakra-ui/package.json index 61ce5a8c75..7364d5e302 100644 --- a/packages/chakra-ui/package.json +++ b/packages/chakra-ui/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/chakra-ui", - "version": "6.0.1", + "version": "6.0.2", "description": "Chakra UI theme, fields, and widgets for react-jsonschema-form", "main": "dist/index.js", "module": "lib/index.js", diff --git a/packages/core/package.json b/packages/core/package.json index fb5ec5b8ee..0e9676acf1 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/core", - "version": "6.0.1", + "version": "6.0.2", "description": "A simple React component capable of building HTML forms out of a JSON schema.", "scripts": { "compileReplacer": "tsc -p tsconfig.replacer.json && move-file lodashReplacer.js lodashReplacer.cjs", diff --git a/packages/daisyui/package.json b/packages/daisyui/package.json index 420e02c7b3..28b4591e4c 100644 --- a/packages/daisyui/package.json +++ b/packages/daisyui/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/daisyui", - "version": "6.0.1", + "version": "6.0.2", "description": "Daisy UI components for react-jsonschema-form", "main": "dist/index.js", "module": "lib/index.js", diff --git a/packages/docs/package.json b/packages/docs/package.json index a4c0f7f18d..6909d24ee9 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/docs", - "version": "6.0.1", + "version": "6.0.2", "private": true, "scripts": { "docusaurus": "docusaurus", diff --git a/packages/fluentui-rc/package.json b/packages/fluentui-rc/package.json index 205c37d83b..8d90f6cf7c 100644 --- a/packages/fluentui-rc/package.json +++ b/packages/fluentui-rc/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/fluentui-rc", - "version": "6.0.1", + "version": "6.0.2", "description": "FluentUI React Components theme, fields and widgets for react-jsonschema-form", "scripts": { "build:ts": "tsc -b tsconfig.build.json && tsc-alias -p tsconfig.build.json", diff --git a/packages/mantine/package.json b/packages/mantine/package.json index c4168709cd..e3143b73bc 100644 --- a/packages/mantine/package.json +++ b/packages/mantine/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/mantine", - "version": "6.0.1", + "version": "6.0.2", "main": "dist/index.js", "module": "lib/index.js", "typings": "lib/index.d.ts", diff --git a/packages/mui/package.json b/packages/mui/package.json index 9a0b4b741f..1bb04afdf7 100644 --- a/packages/mui/package.json +++ b/packages/mui/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/mui", - "version": "6.0.1", + "version": "6.0.2", "main": "./dist/index.cjs", "module": "./lib/index.js", "types": "./lib/index.d.ts", diff --git a/packages/playground/package.json b/packages/playground/package.json index 188895778c..d59323ea5e 100644 --- a/packages/playground/package.json +++ b/packages/playground/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/playground", - "version": "6.0.1", + "version": "6.0.2", "description": "rjsf playground", "private": true, "type": "commonjs", diff --git a/packages/primereact/package.json b/packages/primereact/package.json index 93da414fb7..f47e1c9139 100644 --- a/packages/primereact/package.json +++ b/packages/primereact/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/primereact", - "version": "6.0.1", + "version": "6.0.2", "description": "PrimeReact theme, fields and widgets for react-jsonschema-form", "main": "dist/index.js", "module": "lib/index.js", diff --git a/packages/react-bootstrap/package.json b/packages/react-bootstrap/package.json index 89cc686654..0abe01ed40 100644 --- a/packages/react-bootstrap/package.json +++ b/packages/react-bootstrap/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/react-bootstrap", - "version": "6.0.1", + "version": "6.0.2", "main": "dist/index.js", "module": "lib/index.js", "typings": "lib/index.d.ts", diff --git a/packages/semantic-ui/package.json b/packages/semantic-ui/package.json index 6fe0ec038d..77047d54ab 100644 --- a/packages/semantic-ui/package.json +++ b/packages/semantic-ui/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/semantic-ui", - "version": "6.0.1", + "version": "6.0.2", "main": "dist/index.js", "module": "lib/index.js", "typings": "lib/index.d.ts", diff --git a/packages/shadcn/package.json b/packages/shadcn/package.json index 13de7a65c0..c0094954c6 100644 --- a/packages/shadcn/package.json +++ b/packages/shadcn/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/shadcn", - "version": "6.0.1", + "version": "6.0.2", "main": "dist/index.js", "module": "lib/index.js", "typings": "lib/index.d.ts", diff --git a/packages/snapshot-tests/package.json b/packages/snapshot-tests/package.json index b3b62737da..fec629fcdd 100644 --- a/packages/snapshot-tests/package.json +++ b/packages/snapshot-tests/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/snapshot-tests", - "version": "6.0.1", + "version": "6.0.2", "description": "A set of snapshot tests to be used for testing RJSF theme.", "scripts": { "build": "tsc -b .", diff --git a/packages/utils/package.json b/packages/utils/package.json index 8119d8140c..371e0613d7 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/utils", - "version": "6.0.1", + "version": "6.0.2", "main": "dist/index.js", "module": "lib/index.js", "typings": "lib/index.d.ts", diff --git a/packages/validator-ajv8/package.json b/packages/validator-ajv8/package.json index 74a16f6b46..86e762fbf9 100644 --- a/packages/validator-ajv8/package.json +++ b/packages/validator-ajv8/package.json @@ -1,6 +1,6 @@ { "name": "@rjsf/validator-ajv8", - "version": "6.0.1", + "version": "6.0.2", "main": "dist/index.js", "module": "lib/index.js", "typings": "lib/index.d.ts", From e5b301ee38fa6198de3ede94eda7218e82be5b42 Mon Sep 17 00:00:00 2001 From: Heath Chiavettone Date: Thu, 6 Nov 2025 23:12:07 -0800 Subject: [PATCH 2/5] - Fixed https://github.com/rjsf-team/react-jsonschema-form/issues/4838 --- CHANGELOG.md | 1 + .../ArrayFieldItemTemplate.tsx | 2 +- .../test/__snapshots__/Array.test.tsx.snap | 388 ++++-------------- .../mui/test/__snapshots__/Form.test.tsx.snap | 146 +------ .../test/__snapshots__/Object.test.tsx.snap | 54 +-- 5 files changed, 107 insertions(+), 484 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0def773548..20a5062f0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -46,6 +46,7 @@ should change the heading of the (upcoming) version to include a major version b ## @rjsf/mui - Updated `FieldTemplate` to skip label and description rendering for checkbox widgets, fixing ([#4742](https://github.com/rjsf-team/react-jsonschema-form/issues/4742)) +- Updated `ArrayFieldItemTemplate` to remove `size='auto'` from the `Grid`, fixing [#4838](https://github.com/rjsf-team/react-jsonschema-form/issues/4838) ## @rjsf/primereact diff --git a/packages/mui/src/ArrayFieldItemTemplate/ArrayFieldItemTemplate.tsx b/packages/mui/src/ArrayFieldItemTemplate/ArrayFieldItemTemplate.tsx index 4776d5e5ad..c04717838c 100644 --- a/packages/mui/src/ArrayFieldItemTemplate/ArrayFieldItemTemplate.tsx +++ b/packages/mui/src/ArrayFieldItemTemplate/ArrayFieldItemTemplate.tsx @@ -36,7 +36,7 @@ export default function ArrayFieldItemTemplate< }; return ( - + {children} diff --git a/packages/mui/test/__snapshots__/Array.test.tsx.snap b/packages/mui/test/__snapshots__/Array.test.tsx.snap index 1e686211ad..d01a29f24b 100644 --- a/packages/mui/test/__snapshots__/Array.test.tsx.snap +++ b/packages/mui/test/__snapshots__/Array.test.tsx.snap @@ -437,18 +437,6 @@ exports[`array fields array icons 1`] = ` } .emotion-4 { - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-box-flex: 0; - -webkit-flex-grow: 0; - -ms-flex-positive: 0; - flex-grow: 0; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - max-width: none; - width: auto; min-width: 0; box-sizing: border-box; } @@ -648,11 +636,6 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-11:focus::-ms-input- transition: width 150ms cubic-bezier(0.0, 0, 0.2, 1) 0ms; } -.emotion-14 { - min-width: 0; - box-sizing: border-box; -} - .emotion-15 { display: -webkit-inline-box; display: -webkit-inline-flex; @@ -1121,7 +1104,7 @@ label[data-shrink=false]+.MuiInputBase-formControl .emotion-11:focus::-ms-input- class="MuiGrid-root MuiGrid-container MuiGrid-direction-xs-row emotion-3" >