This repository has been archived by the owner on Sep 14, 2023. It is now read-only.
Releases: thorgate/tg-modal
Releases · thorgate/tg-modal
Version 0.9.1
This release mostly contains bumped versions of our dependencies. However it also addresses an SSR regression on react 16.4 and above where body classes might not have been applied on initial render.
- ❗ Modal.Body is now a Functional component
- Convert most examples to hooks
- Fix regression on react 16.4 and above where onToggle was not called during serverside render. This might have caused
tg-modal-open
to not be in body classes until initial render on the client. - Fix server side rendering example
- Added contribution documentation
- Update various development packages
- Move websocket-driver out of dependencies
- Allow node 13 for development and make releases on node 12
Version 0.9.1-alpha.1
This release mostly contains bumped versions of our dependencies. However it also addresses an SSR regression on react 16.4 and above where body classes might not have been applied on initial render.
- ❗ Modal.Body is now a Functional component
- Convert most examples to hooks
- Fix regression on react 16.4 and above where onToggle was not called during serverside render. This might have caused
tg-modal-open
to not be in body classes until initial render on the client. - Fix server side rendering example
- Added contribution documentation
- Update various development packages
- Move websocket-driver out of dependencies
- Allow node 13 for development and make releases on node 12
Version 0.9.0
- ❗ Drop support for react below
16.3.0
- Lock scroll of main body when modal is open via body-scroll-lock (issue #21, PR #54)
- Fixes scrolling issues in mobile browsers
- By default only listen to keyboard events when modal is open [PR #53 by @simonschmidt]
- Removed BrowserModal indirection and merged BrowserModal w/ Modal [issue #35, PR #51]
- Added prop
className
toModal
[issue #50, PR #51]- Added prop
modalClassName
toModal.Dialog
- Added prop
- Added prop
wrapperClassName
toModal
- Migrate away from
componentWillReceiveProps
- Note: Not compatible with StrictMode yet, see #55
- Update dependencies
- Use yarn
- Use node 8-12 in CI
- Add prettier
- Update webpack, eslint and babel configuration
Version 0.9.0-beta.3
Test release for docs.
Functionally same as beta.1
Version 0.9.0-beta.2
- By default only listen to keyboard events when modal is open
Functionally same as beta.1
Version 0.9.0-beta.1
- By default only listen to keyboard events when modal is open [PR #53 by @simonschmidt]
Version 0.9.0-beta.0
- ❗ Drop support for react below
16.3.0
- Removed BrowserModal indirection and merged BrowserModal w/ Modal [issue #35, PR #51]
- Added prop
className
toModal
[issue #50, PR #51]- Added prop
modalClassName
toModal.Dialog
- Added prop
- Added prop
wrapperClassName
toModal
- Update dependencies
- Use yarn
- Use node 8-12 in CI
- Add prettier
- Update webpack, eslint and babel configuration
- Migrate away from componentWillReceiveProps
- Lock scroll of main body when modal is open via body-scroll-lock (issue #21, PR #54)
- Fixes scrolling issues in mobile browsers
Version 0.8.0
- ❗ Drop support for react
0.14
- Replace react-remarkable with react-markdown in examples [issue #44, PR #48 by @kaspar92]
- Ensure all our css classes begin w/
tg-modal
[issue #30, PR #47]- Modal: dialogClassName default changed to
tg-modal-dialog
- Modal: transitionName default changed to
tg-modal-fade
- Modal.Header, Modal.Body, Modal.Backdrop, Modal.Dialog:
- className default changed to new variant
- All css changes:
.modal
->.tg-modal
.modal-dialog
->.tg-modal-dialog
.modal-content
->.tg-modal-content
.modal-header
->.tg-modal-header
.modal-title
->.tg-modal-title
.close
->.tg-modal-close
.modal-body
->.tg-modal-body
.modal-footer
->.tg-modal-footer
.modal-basic
->.tg-modal-basic
.modal-backdrop
->.tg-modal-backdrop
.modal-open
->.tg-modal-open
.animating
->.tg-modal-animating
- Keyframe
fadeIn
->tg-modal-fade-in
- Keyframe
fadeOut
->tg-modal-fade-out
- Keyframe
scaleIn
->tg-modal-scale-in
- Keyframe
scaleOut
->tg-modal-scale-out
.fade-enter
->.tg-modal-fade-enter
.fade-exit
->.tg-modal-fade-exit
- Modal: dialogClassName default changed to
- Added tests [PR #26 by @dmtrm and @Jyrno42]
- Support Node 8 and NPM 5 in devEngines [PR #37 by @raunofreiberg]
- Add warning if
Modal.Header
is manually added [issue #33, PR #41 by @metsavaht] - Use
prop-types
instead of deprecatedReact.propTypes
[issue #31, PR #38 by @raunofreiberg] - Remove TimedCSSTransitionGroup [issue #34, PR #39 by @metsavaht]
- Add redux example [issue #32, PR #42 by @metsavaht]
- Use
skip_cleanup = true
when doing travis releases (see more at https://docs.travis-ci.com/user/deployment/npm/#Releasing-build-artifacts)
0.8.0-alpha.3
- Use
skip_cleanup = true
when doing travis releases (see more at https://docs.travis-ci.com/user/deployment/npm/#Releasing-build-artifacts)
0.8.0-alpha.2
- Replace react-remarkable with react-markdown in examples [issue #44, PR #48 by @kaspar92]
- Ensure all our css classes begin w/
tg-modal
[issue #30, PR #47]- Modal: dialogClassName default changed to
tg-modal-dialog
- Modal: transitionName default changed to
tg-modal-fade
- Modal.Header, Modal.Body, Modal.Backdrop, Modal.Dialog:
- className default changed to new variant
- All css changes:
.modal
->.tg-modal
.modal-dialog
->.tg-modal-dialog
.modal-content
->.tg-modal-content
.modal-header
->.tg-modal-header
.modal-title
->.tg-modal-title
.close
->.tg-modal-close
.modal-body
->.tg-modal-body
.modal-footer
->.tg-modal-footer
.modal-basic
->.tg-modal-basic
.modal-backdrop
->.tg-modal-backdrop
.modal-open
->.tg-modal-open
.animating
->.tg-modal-animating
- Keyframe
fadeIn
->tg-modal-fade-in
- Keyframe
fadeOut
->tg-modal-fade-out
- Keyframe
scaleIn
->tg-modal-scale-in
- Keyframe
scaleOut
->tg-modal-scale-out
.fade-enter
->.tg-modal-fade-enter
.fade-exit
->.tg-modal-fade-exit
- Modal: dialogClassName default changed to