From cba815e5f6102e4d50dd701d0f70e54ba81adca3 Mon Sep 17 00:00:00 2001 From: Sean Fong Date: Fri, 27 Sep 2024 09:35:16 +0930 Subject: [PATCH] Update renderer package version --- CHANGELOG.md | 6 ++++++ apps/demo-renderer-app/package-lock.json | 18 ++++++++++++++---- apps/demo-renderer-app/package.json | 2 +- apps/smart-forms-app/package.json | 2 +- documentation/package.json | 2 +- package-lock.json | 6 +++--- packages/smart-forms-renderer/package.json | 2 +- 7 files changed, 27 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5638de2c..456dcdcf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ This log documents significant changes for the [@aehrc/smart-forms-renderer](htt Changelog only includes changes from version 0.36.0 onwards. + +## [0.42.0] - 2024-09-27 +### Changed +- Replaced all instances of cloneDeep() with the native structuredClone() function. +- Changed Storybook iframes in the documentation to be dynamically sized based on the content. + ## [0.41.0] - 2024-09-25 ### Changed - Significantly improved performance by reducing the number of re-renders. diff --git a/apps/demo-renderer-app/package-lock.json b/apps/demo-renderer-app/package-lock.json index 76b5283b..816bf9a0 100644 --- a/apps/demo-renderer-app/package-lock.json +++ b/apps/demo-renderer-app/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.0", "dependencies": { "@aehrc/sdc-populate": "^2.3.1", - "@aehrc/smart-forms-renderer": "^0.41.0", + "@aehrc/smart-forms-renderer": "^0.42.0", "@radix-ui/react-collapsible": "^1.1.0", "@radix-ui/react-slot": "^1.1.0", "@radix-ui/react-switch": "^1.1.0", @@ -56,12 +56,13 @@ } }, "node_modules/@aehrc/smart-forms-renderer": { - "version": "0.41.0", - "resolved": "https://registry.npmjs.org/@aehrc/smart-forms-renderer/-/smart-forms-renderer-0.41.0.tgz", - "integrity": "sha512-nGP9xOmaWByQgUvMhn/6LAKI1dyFTGbmQxvXuaq/u1WdSY9+oZ0HNF71ymcm8mP7BqN5LvadFdCb69GRFI2mFQ==", + "version": "0.42.0", + "resolved": "https://registry.npmjs.org/@aehrc/smart-forms-renderer/-/smart-forms-renderer-0.42.0.tgz", + "integrity": "sha512-q/7LnpKDFEAhbDFQhcyvOz4xkCD/7VB0HfxLL3pbKbjwnGDSzZ0GDHazi5cJ/GE/gREVBupmxtvHpqWpq9YM1Q==", "dependencies": { "@aehrc/sdc-populate": "^2.3.1", "@iconify/react": "^4.1.1", + "@iframe-resizer/child": "^5.3.1", "dayjs": "^1.11.10", "deep-diff": "^1.0.2", "fhirclient": "^2.5.2", @@ -4916,6 +4917,15 @@ "resolved": "https://registry.npmjs.org/@iconify/types/-/types-2.0.0.tgz", "integrity": "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==" }, + "node_modules/@iframe-resizer/child": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/@iframe-resizer/child/-/child-5.3.1.tgz", + "integrity": "sha512-0Ihy0cbmpna22MRl2NVuKVRSiLwL7449bZJIBV77zZVxTUg3AhG5JzW/SZw9ArXlmm2vz4viRT1LBjkWrJ2miQ==", + "funding": { + "type": "individual", + "url": "https://iframe-resizer.com/pricing/" + } + }, "node_modules/@isaacs/cliui": { "version": "8.0.2", "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", diff --git a/apps/demo-renderer-app/package.json b/apps/demo-renderer-app/package.json index 978008d4..b40dd4bb 100644 --- a/apps/demo-renderer-app/package.json +++ b/apps/demo-renderer-app/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@aehrc/sdc-populate": "^2.3.1", - "@aehrc/smart-forms-renderer": "^0.41.0", + "@aehrc/smart-forms-renderer": "^0.42.0", "@radix-ui/react-collapsible": "^1.1.0", "@radix-ui/react-slot": "^1.1.0", "@radix-ui/react-switch": "^1.1.0", diff --git a/apps/smart-forms-app/package.json b/apps/smart-forms-app/package.json index 7892a947..46413309 100644 --- a/apps/smart-forms-app/package.json +++ b/apps/smart-forms-app/package.json @@ -28,7 +28,7 @@ "dependencies": { "@aehrc/sdc-assemble": "^1.3.1", "@aehrc/sdc-populate": "^2.3.1", - "@aehrc/smart-forms-renderer": "^0.41.0", + "@aehrc/smart-forms-renderer": "^0.42.0", "@emotion/react": "^11.13.0", "@emotion/styled": "^11.13.0", "@fontsource/material-icons": "^5.0.18", diff --git a/documentation/package.json b/documentation/package.json index d517844b..c51649b6 100644 --- a/documentation/package.json +++ b/documentation/package.json @@ -15,7 +15,7 @@ "typecheck": "tsc" }, "dependencies": { - "@aehrc/smart-forms-renderer": "^0.41.0", + "@aehrc/smart-forms-renderer": "^0.42.0", "@docusaurus/core": "^3.4.0", "@docusaurus/preset-classic": "^3.4.0", "@docusaurus/theme-live-codeblock": "^3.4.0", diff --git a/package-lock.json b/package-lock.json index 211f52f3..f750d468 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,7 @@ "dependencies": { "@aehrc/sdc-assemble": "^1.3.1", "@aehrc/sdc-populate": "^2.3.1", - "@aehrc/smart-forms-renderer": "^0.41.0", + "@aehrc/smart-forms-renderer": "^0.42.0", "@emotion/react": "^11.13.0", "@emotion/styled": "^11.13.0", "@fontsource/material-icons": "^5.0.18", @@ -451,7 +451,7 @@ "name": "@aehrc/smart-forms-documentation", "version": "0.0.0", "dependencies": { - "@aehrc/smart-forms-renderer": "^0.41.0", + "@aehrc/smart-forms-renderer": "^0.42.0", "@docusaurus/core": "^3.4.0", "@docusaurus/preset-classic": "^3.4.0", "@docusaurus/theme-live-codeblock": "^3.4.0", @@ -39464,7 +39464,7 @@ }, "packages/smart-forms-renderer": { "name": "@aehrc/smart-forms-renderer", - "version": "0.41.0", + "version": "0.42.0", "license": "Apache-2.0", "dependencies": { "@aehrc/sdc-populate": "^2.3.1", diff --git a/packages/smart-forms-renderer/package.json b/packages/smart-forms-renderer/package.json index 91d33848..9b6ad9ab 100644 --- a/packages/smart-forms-renderer/package.json +++ b/packages/smart-forms-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@aehrc/smart-forms-renderer", - "version": "0.41.0", + "version": "0.42.0", "description": "FHIR Structured Data Captured (SDC) rendering engine for Smart Forms", "main": "lib/index.js", "scripts": {