Skip to content

Commit

Permalink
Fix package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
fongsean committed Sep 25, 2024
1 parent bdb8793 commit 7ff3c37
Show file tree
Hide file tree
Showing 5 changed files with 169 additions and 64 deletions.
20 changes: 17 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,27 @@ This log documents significant changes for the [@aehrc/smart-forms-renderer](htt

Changelog only includes changes from version 0.36.0 onwards.

## [0.41.0] - 2024-09-25
### Changed
- Significantly improved performance by reducing the number of re-renders.
- Adjusted renderer's background color to be #fafafa.
- Removed left and right paddings from the renderer - it now takes up the full width of its container.

### Fixed
- Fixed inconsistencies when syncing the renderer's internal state with externally-generated QuestionnaireResponses.
- Fixed inconsistencies with internal IDs for tracking repeating items and groups.
- Fixed an issue where the renderer's theme was overriding the parent app's styles.
- Fixed issues with lodash dependencies in package.json.

### Added
- Added a library function removeInternalIdsFromResponse() to remove internal IDs for tracking repeating items.


## [0.40.1] - 2024-09-18
### Fixed
- Fix date validation error message for two matches.
- Fix generation of internal IDs for repeat items and groups to be consistent and sync-able with externally-generated QuestionnaireResponses.
- Add simple, minimal fix to dynamically adjust field positions based on viewport
- Added a simple, minimal fix to dynamically adjust field positions based on viewport

## [0.40.0] - 2024-09-06
### Added
Expand All @@ -19,8 +35,6 @@ Changelog only includes changes from version 0.36.0 onwards.
### Changed
- Refactored `repeat` items so that it tracks item instances using the QuestionnaireResponse, instead of using React's `useState`.

Note: This is a huge change for performance improvements, and was able to pass all the end-to-end and Chromatic tests - but please proceed carefully and test thoroughly before using this version in production.

### Fixed
- Fixed an issue where `string` and `text` items were automatically removing inputted trailing whitespaces.

Expand Down
106 changes: 48 additions & 58 deletions apps/demo-renderer-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/demo-renderer-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"dependencies": {
"@aehrc/sdc-populate": "^2.3.1",
"@aehrc/smart-forms-renderer": "^0.40.3",
"@aehrc/smart-forms-renderer": "^0.41.0",
"@radix-ui/react-collapsible": "^1.1.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.0",
Expand Down
Loading

0 comments on commit 7ff3c37

Please sign in to comment.