4.0.3 • Published 6 years ago

@particles/modal v4.0.3

Weekly downloads
15
License
Procore Developer...
Repository
-
Last release
6 years ago

:no_entry: Deprecation Warning :no_entry:

This particle is being deprecated, please use the modal found here: https://procore.github.io/core/latest/#/react/elements/modal

Modal

npm.io npm.io npm.io

A Modal Component

Example

modal

Change Log

4.0.2
  • Updated body locking to work with show prop
4.0.1
  • Added back zIndex

4.0.0

  • Modals are now portaled
  • Breaking Upgraded to React 16
  • Added show prop to modal
3.1.0
  • Prevent documentElement from scrolling while open
  • Use position: fixed

3.0.0

  • Breaking Many unnecessary props cleaned up
  • UX update
  • Unit tests update
  • Add preprod hook
2.0.3
  • Add unit tests, CSS module mocking, and code coverage reporting.
2.0.2
  • Enabling CSS Modules to be mocked for tests with identity-obj-proxy.
2.0.1
  • Sandbox and minor bug fixed.
2.0.0
  • Use onOpen, onClose props instead of beforeOpen, afterOpen, beforeClose, afterClose.
  • size prop removed. Instead user can set modal size through stylesheets prop.
  • Remove disableHeader prop.
  • Unit test introduced.
1.1.0

Added stylesheets props.

1.0.4

New size props.

1.0.3

Provide option of headerless and footerless.

1.0.2

Give the modal a minimum width and auto overflow.

1.0.1

Removed stopPrpagation on modal window.

1.0.0

Initial Commits

4.0.3

6 years ago

4.0.2

7 years ago

4.0.1

7 years ago

4.0.0

7 years ago

3.1.0

8 years ago

3.0.0

8 years ago

2.0.1

8 years ago

1.0.4

8 years ago