From da3c8ad4d3580caa7687fe94cb146038d247c605 Mon Sep 17 00:00:00 2001 From: "@5app-Machine" Date: Wed, 27 May 2020 14:42:14 +0000 Subject: [PATCH 1/3] chore(release): 9.2.1 [skip ci] ## [9.2.1](https://github.com/5app/base5-ui/compare/v9.2.0...v9.2.1) (2020-05-27) ### Bug Fixes * **Modal:** Add demo link to readme, noissue ([3285f48](https://github.com/5app/base5-ui/commit/3285f48b04ba4ccfe56c84fb1d67dbd04f6373c5)) --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 627cd84a..2d148966 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [9.2.1](https://github.com/5app/base5-ui/compare/v9.2.0...v9.2.1) (2020-05-27) + + +### Bug Fixes + +* **Modal:** Add demo link to readme, noissue ([3285f48](https://github.com/5app/base5-ui/commit/3285f48b04ba4ccfe56c84fb1d67dbd04f6373c5)) + # [9.2.0](https://github.com/5app/base5-ui/compare/v9.1.2...v9.2.0) (2020-05-27) diff --git a/package.json b/package.json index e619c170..0ad8ac06 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "base5-ui", - "version": "9.2.0", + "version": "9.2.1", "description": "5app's reusable UI component library", "main": "index.js", "scripts": { From 7461459587d6f7909f2b2e489893ef4e8e0566c5 Mon Sep 17 00:00:00 2001 From: Jan Borchers Date: Wed, 27 May 2020 16:39:11 +0100 Subject: [PATCH 2/3] fix: pass props through InnerBodyScrollLock component (#88) * fix: pass props through InnerBodyScrollLock component * refactor: rename `rest` props to `otherProps` --- src/Modal/BodyScrollLock.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Modal/BodyScrollLock.js b/src/Modal/BodyScrollLock.js index 4cc5d88a..efd6f2de 100644 --- a/src/Modal/BodyScrollLock.js +++ b/src/Modal/BodyScrollLock.js @@ -35,7 +35,7 @@ function useScrollLockStyles({isLocked}) { } function InnerBodyScrollLock(props, ref) { - const {as: Component = 'div', children, style} = props; + const {as: Component = 'div', children, style, ...otherProps} = props; const modalStack = useContext(ModalStackContext); const hasModal = modalStack?.length; const bodyLockStyles = useScrollLockStyles({isLocked: hasModal}); @@ -44,6 +44,7 @@ function InnerBodyScrollLock(props, ref) { {children} From 16ebc85a62c5aef7b7437be5303abcf87792cd2c Mon Sep 17 00:00:00 2001 From: "@5app-Machine" Date: Wed, 27 May 2020 15:41:52 +0000 Subject: [PATCH 3/3] chore(release): 9.2.2 [skip ci] ## [9.2.2](https://github.com/5app/base5-ui/compare/v9.2.1...v9.2.2) (2020-05-27) ### Bug Fixes * pass props through InnerBodyScrollLock component ([#88](https://github.com/5app/base5-ui/issues/88)) ([7461459](https://github.com/5app/base5-ui/commit/7461459587d6f7909f2b2e489893ef4e8e0566c5)) --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d148966..264e0554 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [9.2.2](https://github.com/5app/base5-ui/compare/v9.2.1...v9.2.2) (2020-05-27) + + +### Bug Fixes + +* pass props through InnerBodyScrollLock component ([#88](https://github.com/5app/base5-ui/issues/88)) ([7461459](https://github.com/5app/base5-ui/commit/7461459587d6f7909f2b2e489893ef4e8e0566c5)) + ## [9.2.1](https://github.com/5app/base5-ui/compare/v9.2.0...v9.2.1) (2020-05-27) diff --git a/package.json b/package.json index 0ad8ac06..e920719f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "base5-ui", - "version": "9.2.1", + "version": "9.2.2", "description": "5app's reusable UI component library", "main": "index.js", "scripts": {