diff --git a/package-lock.json b/package-lock.json index 846a060f..441a716d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "eis-ui-render", - "version": "0.35.0", + "version": "0.35.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "eis-ui-render", - "version": "0.35.0", + "version": "0.35.1", "license": "Apache-2.0", "devDependencies": { "@babel/core": "^8.0.7", diff --git a/package.json b/package.json index 6c8f7118..885c3b2e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eis-ui-render", - "version": "0.35.0", + "version": "0.35.1", "description": "UI generation based on JSON schemas", "homepage": "https://eisgroup.github.io/ui-render/", "repository": { diff --git a/public/index.html b/public/index.html index 759ab85b..d523ff19 100644 --- a/public/index.html +++ b/public/index.html @@ -1,5 +1,5 @@ - +
@@ -44,6 +44,6 @@ - + diff --git a/src/demo/markdowns/changelog.md b/src/demo/markdowns/changelog.md index d47b349f..b9e194d3 100644 --- a/src/demo/markdowns/changelog.md +++ b/src/demo/markdowns/changelog.md @@ -1,6 +1,11 @@ ### Table of Contents -### Unreleased +### v0.35.1 + +This patch fixes the forms `useForm` gives to table rows and to blocks that hold the whole document. Such a row +starts with its values, a submit sends its edits, and an Add or a Remove keeps them. An edit in such a block is in +what the document reads. A `showIf` that reads the form also merges the document's forms once, not once per node. A +host on 0.35.0 has nothing to change: the public types, the peer range and the bundled packages are as they were. #### Fixes diff --git a/src/library/AppWrapper.tsx b/src/library/AppWrapper.tsx index 5bd3ad21..7a47ac20 100644 --- a/src/library/AppWrapper.tsx +++ b/src/library/AppWrapper.tsx @@ -28,7 +28,7 @@ const AppWrapper = ({ children }: { children?: React.ReactNode }) => { const appWithRoot = React.useMemo(() => ({ ...app, popupRoot }), [app, popupRoot]) return ( -