Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Releases: thorgate/tg-modal

Version 0.9.1

23 Dec 19:01
Compare
Choose a tag to compare

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

23 Dec 18:32
Compare
Choose a tag to compare
Version 0.9.1-alpha.1 Pre-release
Pre-release

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

25 Jun 13:12
78ec765
Compare
Choose a tag to compare
  • ❗ 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 to Modal [issue #50, PR #51]
    • Added prop modalClassName to Modal.Dialog
  • Added prop wrapperClassName to Modal
  • 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

25 Jun 13:00
4fd1793
Compare
Choose a tag to compare
Version 0.9.0-beta.3 Pre-release
Pre-release

Test release for docs.

Functionally same as beta.1

Version 0.9.0-beta.2

14 Jun 11:46
Compare
Choose a tag to compare
Version 0.9.0-beta.2 Pre-release
Pre-release
  • By default only listen to keyboard events when modal is open

Functionally same as beta.1

Version 0.9.0-beta.1

14 Jun 10:47
Compare
Choose a tag to compare
Version 0.9.0-beta.1 Pre-release
Pre-release
  • By default only listen to keyboard events when modal is open [PR #53 by @simonschmidt]

Version 0.9.0-beta.0

14 Jun 09:33
Compare
Choose a tag to compare
Version 0.9.0-beta.0 Pre-release
Pre-release
  • ❗ Drop support for react below 16.3.0
  • Removed BrowserModal indirection and merged BrowserModal w/ Modal [issue #35, PR #51]
  • Added prop className to Modal [issue #50, PR #51]
    • Added prop modalClassName to Modal.Dialog
  • Added prop wrapperClassName to Modal
  • 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

21 Apr 12:12
Compare
Choose a tag to compare
  • ❗ 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
  • 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 deprecated React.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

04 Oct 15:24
Compare
Choose a tag to compare

0.8.0-alpha.2

04 Oct 14:40
Compare
Choose a tag to compare
0.8.0-alpha.2 Pre-release
Pre-release
  • 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