This package has been deprecated

    Author message:

    This particle has been deprecated. Please use @procore/core-react

    @particles/modal

    4.0.3 • Public • Published

    Deprecation Warning

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

    Modal

    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

    Keywords

    none

    Install

    npm i @particles/modal

    DownloadsWeekly Downloads

    25

    Version

    4.0.3

    License

    Procore Developers License

    Unpacked Size

    363 kB

    Total Files

    28

    Last publish

    Collaborators

    • bhargavrnd
    • phil.thomas.procore
    • james.cleary
    • fkennedy
    • arthurzhuk
    • remyyounes
    • farismmk
    • vivek.patel.42
    • jadamsss
    • julienisbet
    • thalpin
    • dannyphillips
    • robbiegprocore
    • pswami
    • scottwalstead
    • amanda.bosson
    • justinmwatts
    • ben.burlingham
    • jacky-lei
    • thewillhuang
    • nickwmurphy
    • dancingshell
    • kedarmoghe
    • chrisarevir
    • mboprtr
    • truthysystems
    • piercefrawley
    • yoyis3000