{"_id":"use-material-ui-dialog","_rev":"33-f87d8ef9f5691803b926f8c53151da37","name":"use-material-ui-dialog","dist-tags":{"latest":"1.1.3","beta":"1.1.3-beta14"},"versions":{"1.0.0-alpha1":{"name":"use-material-ui-dialog","version":"1.0.0-alpha1","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","clsx":"1.1.0","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","clsx":"1.1.0","react":"16.12.0","react-dom":"16.12.0"},"licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.0.0-alpha1","dist":{"shasum":"bd60ec787dadd97d2d3754fc9cab2dd4f5ac25d9","integrity":"sha512-cJSWhlh6Miz8ToJgRiGcNef8R73iAc/K4zt2hNmUw5CLudUSIJquaAVItclIBUCiNqm7YvsVHCYGeYjA6FUwhQ==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.0.0-alpha1.tgz","fileCount":39,"unpackedSize":19205,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJee1L5CRA9TVsSAnZWagAAXt8P/jGg/ak0eiqPoQiYIZe/\niJGia5x8cKvZJuO2rOKJtGcQrzN9eqs7AhifZQL/Q1KmKHDDgyOtDerSyFD8\nj3VqozUZztTENAE0an7ewRPQJYc70kLHlFdAa1poqjVQobtuEq+t9adM/NNG\nbnYHim0BJdba1AGmYUEhMJPgxqKtitOt+llQ/iTGp84nfNtrH/mzXSSe7ki1\nzY/DeUWUBjaPB+yCpJBZ2fFl9fCjlCmxSro5EmTVN2daAJOj6RBTEBARrtO8\nG079E+N8imytdAA8v73cz3pEnz6ErEjEFspCgRw+a8Sk8/TfhtpjIeRZDdUL\n6lUDNE+3pKzbFXLAyp0yYnio7IAmbMs/27bD4Wlc4CONZ+NimXVjhXZeuv8p\n25nuQM9A0V9wk/xPpivCYhSad6c0vh0n8a1SIgNqHZDfLiqIWL672Wi2lKPW\n+gnkntT/qTn8SqlS9Rc9WmeAW5rHXfpkOSHQZTBYumfVUlOq4iRqBAkbAX2b\nSD2DyMRuJfg4Ouv3YQzJ9WL4RL6ALbyagSKHl5UbOwOkZkrW6/9S7LKDxgCx\nS7lCxD2+EvkNGDwTTntgoh8C+Zoj3igCNybq6yVFZjmrU1E+6BNq7gOfucBU\nJVqCa8OHToMtSI7W8RFNvtIuKkiS2ztSWkwPUnDB3pnbyWyx3/TNHo0DRofG\nd5Qh\r\n=EQBA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDDbl7XmjRP009SeIT5KAyDX7nsuscV0f1q/k61Rih6QIgIkaba961zJgdLZmFtZGxuoBXjDHEt98b+jZSRNuS2rk="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.0.0-alpha1_1585140473376_0.7550569989646134"},"_hasShrinkwrap":false},"1.0.0-alpha2":{"name":"use-material-ui-dialog","version":"1.0.0-alpha2","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","clsx":"1.1.0","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","clsx":"1.1.0","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\nReact hook for Material-UI dialog.\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.0.0-alpha2","dist":{"shasum":"00320fc6c273d70ca56c9934ab9973514f5eedff","integrity":"sha512-+qHbbQAaq6e5k7LDDbp8pEGSxrMzMd765yp2gxUpVf5KtvoKQKlkgrfekfkbaCdSbWwle51csCQCKeCwgkBbWQ==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.0.0-alpha2.tgz","fileCount":39,"unpackedSize":19202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJee1QcCRA9TVsSAnZWagAA/jcQAJoHHAybyB7/s9hjslpt\n02DHMVfTOiOhXdYd1QEcgYAbKLFwwc8i7EG0Lpk3FIDkEZVaDt5MPzy0hQCZ\nK//L1cGO3pvpYb9jezFzF6kn21/JMvjUV0TTJV5dmPhVzkDbe/JVE8Ikn7K+\nUxFq1oZBx1YW67djBYKgHepMqGQn3bUBypKpQe8clz1qY4OR1b1ubzxswGou\nPXOQcBRHGRj2Nih33JHJQvSjhQMNT6VgLNwoMPleteN3uCqg0XlixCW7h5iy\no8PRqxRNo5Yg3A8vjr7h4sqKlUoErE7j79JdjwhDZUk1uAcuuKabsusw9Ui4\nVzmL0XQLL4CNqV1b7/oenWiBD6FFzW6HZ64fDHNw/YxT2qO/PzXLdIhJs085\nPUBnUf+KDUTtuZTcF+edAWC0aBs+tSEFXCXmf9Fk/uQEnT/5JFtKNoI6knrK\nkDOgw22QZtnCq32/YSexVPcNBccHIJxCH7sw2oTZZXmAfktEze1Pi+1wt69D\nBI9mF3YEM5y6YkhSeqUCM7x9SsGed8GggTAB6BXxovG7MEAaX1+HzaTZigpI\nchyXdcYhZgpRZNdTczOeBDdkKFfwvFIm8uecGG/Ct389lqScBRR77COClncz\n+CHT7pyURG+/E1rGOVF7IwEXjDTjLtoy29h7jnLOu+xuXWZryDlw12gOMw3L\nY6g8\r\n=CwvD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAt4Hn3pRJlbwyjlecOrlsGW7JReo/NoskBSK1pYdQnKAiEA/P9VBnGzrI2KMsf1+nwpORErJjENHmvzBnwMQ3jEyXQ="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.0.0-alpha2_1585140763816_0.6529995119682366"},"_hasShrinkwrap":false},"1.0.0-alpha3":{"name":"use-material-ui-dialog","version":"1.0.0-alpha3","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","clsx":"1.1.0","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","clsx":"1.1.0","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\nReact hook for Material-UI dialog.\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.0.0-alpha3","dist":{"shasum":"2955c040766346b8ca903657e464963f934305b0","integrity":"sha512-s/KVOZPRQ/vUVG6qajzBjrDjhnHKAXkTAznn2DdYdtsSleqS8U4RcQUinQwaS1OFjpLl/yiGXBtMij99zZBZIQ==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.0.0-alpha3.tgz","fileCount":39,"unpackedSize":19205,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJee1TZCRA9TVsSAnZWagAAxRkQAIRSNiQAmtDpCY8hLsuT\n3BcZ8t/smmoHX7rbwsob+x2mK8VCrsIWOSWvhOnhW901JJK0FJbEsMZ9SHxF\nvzwKjcsy3d9vVTY33gTrdh89MwqiLq458D45FOiW+ke4TqAoKPcpl1iscOhg\nbWtwvbP8+wjcNyZ2VavBKT51V8Oe2wzl6G4OIGxwrDRdT/POJW7h/MxeETJl\nU2LiL+48N+TseZXczId/y9RVnmQ/WSeGEiQSTT7pMuAIlXZcB/P3eGxXrdl3\nkWBqVKJpig0rtxL3+MmVNFy2m9poxLy2CcMFAK4ACtMNPuHzYpYdNjk/XYk6\nl+h+c7Mximesw45BEFbCw1j6na9oLP7p5EseS0r6H7gh7VfCdunUp+swsH5t\n0+lsbV4Cxs3EB42G62a816pk7smSFkRnDeexnF3vKKeSZf1dzF49KYoX85hY\npDVTFDa8fdqlQbs4O4O8+FrnbNjoWNyvIVvwhN8a+MUgXfxECZRuBiecOm9z\ng9O4DQBtMTGPPwfOwrlGeWofxgcLme2L/w/nT63gB8a8MyFpUKLIPNgk12dp\n1pG6CqsUelQmnsUce7Mo7pieTUkwdNdN3uMi+6JDOEuQDixuSXZ8JVJftWfK\n/j80Kq8r9CPGJGm42gDD5//YLhIpD2Dx9Cn+sIdGCTyNfOx5cFFt3bx2VbXF\nI/G8\r\n=P9vb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFqea1KEOL47tOKiCmaeMDaJRQXmAv8gjYyfXzjXsKJ6AiAG/2VRVIlANutyclmcRiMrvnlRMY+mLREeKlacFzS9iQ=="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.0.0-alpha3_1585140952918_0.4330226801861805"},"_hasShrinkwrap":false},"1.0.0-alpha4":{"name":"use-material-ui-dialog","version":"1.0.0-alpha4","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","clsx":"1.1.0","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","clsx":"1.1.0","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\nReact hook for Material-UI dialog.\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.0.0-alpha4","dist":{"shasum":"b998eb63d10e8aaab14cec260a40dd6b51b3d39b","integrity":"sha512-Zy0Q8qWZ+gplSt9vH9gN+9w8jsxMHJsntKgUvsNWgbcdIFSX9mJcGfaqDP33jwwYL8eJ1n8wvy094SiyLtKjDQ==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.0.0-alpha4.tgz","fileCount":39,"unpackedSize":19163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJee1asCRA9TVsSAnZWagAA/j8P/iRCwGItwcPwnNkPIR4v\nBtgbBct+QIx1wpynK8SHsPbeGd6azKBf+0O6mI/JRzyNNn2MCoQVSWg5BSjX\n1BsaSfYxoRGqF6jKPP2caNZt90nXOSh58Q6z1T4UKd+ZPVb4pkQKYiX3pYyy\nxfZj0DnbX9+5lN+kqlxnXQ+3s8VjZJBjDDUxI/Zmczs5vwONouPWQkByu6Xs\nZ796XtYhbZtYZ9JjgTNgxsb2+7Fjp7NM/bMS/v99D5z5OG/pIbUg3I/ogpoS\nqAUsQ+G/92pvfXz1i3j2XJCHqkYexal00NDItUjBkuKqh32ENOzRyTTCCNJz\nXNPSN6y891Y/ILRC4R07BFu9wQ+AMvCWA+Dn2b8282ignfAU4AgpkVhk93h0\np4SEn8k68vJIZxOo9M9fCmnqihEB1zTDmiMyRe9m/pn9T7cf/TYkEwNGXq5q\nou9n9Cb1YyjyI0EGG+XeoX5ygHsYy1uceFrNO/vSh4WGQayv9sY8ugeYfHnh\nPE3VFEszY6SPqRML32n8Hq56lNvhDF4GMLzjKrbhsyjorK/2FRYkBWKPAIyz\nj+ElwwoQQM1d//CW+zb2ZKie0g7sLxiuHO3uGvvy7dSy9c4beG3x8V9nQoGK\n9NfG4KvqA3ZQNm7+dCss/cE1sW1UeXNAhYyMkoEV+F7S43v1tzZg9uGcVCji\nBv23\r\n=+8g0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDInf1omUXDkVXTo2qXURnyoqF7R+2Yw8TPpFvfoeuQXwIgIxVDOKlG3NDnz6Li+fOblnZD6Dm8LajkL9RQWJReP7E="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.0.0-alpha4_1585141420370_0.5161501734454688"},"_hasShrinkwrap":false},"1.0.0-alpha5":{"name":"use-material-ui-dialog","version":"1.0.0-alpha5","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","clsx":"1.1.0","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","clsx":"1.1.0","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\nReact hook for Material-UI dialog.\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.0.0-alpha5","dist":{"shasum":"4a492e3e79e319d56a3da66d8fe5aea1d8be5aee","integrity":"sha512-7kgJkhsvRSX2vjhYImb3N/EMNur1pM25FNP4qKFpW+Ligmq7ktGgRcqRxtoWixmbtK1FlmOqnv9z74WFnjJGdg==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.0.0-alpha5.tgz","fileCount":39,"unpackedSize":19420,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJee1eMCRA9TVsSAnZWagAAzg8QAJfHbfGqOnPFrbfJ5DR1\nrt1tYVXF201pcjXsFs8eRxoSoOK9cms7HqGLPnLjESjnu/0bxiAHtlXv0iEe\n0qEJxc+j5mIBhl3/ZmJv+rNKC75ovPxfrPA+vAXEBObPmL60BASUpaSTKmwk\nlmwhggLW/Wwya6d57EjOXb4ooD9j1ZMqQSt52rt+XAUHHrxuOkQfKwOESwMa\n/9MpY5xZTpIzl14eWIuLMXWPriOldegGUgb0hK+28K86nhLUPg/lE6xOVCiM\nlggyrD80giicmaCKBc5kfKEILESewdHW/qGCpcpUx3N8+b6jd34E5sO9OF6S\nhsHdIZC33k1dz+7PS/p/iAGenHAhb4AmJYCYmivPvoxGJXcuLSmjoC+rrV7P\no0X1uzo6+XAmVh/2RgcYt1OWhzgOns3DMjxz+4kwKCRiM2M81dECUnVxXfSV\nZ/2dAjPFwPrO06MznRH6LvLgwaezJzvZ8/jQGzD+aqqxMCNHmzgTRrL0Z34D\nkfVqa8WIqp79vglK84zd48FWHMxU4gmmUBvVx6mcERLVUthYsP2RdvGi+2Jm\nq8pt6zCVSeXlDVkxXQgIlgp7K5y7Er9NPnfukp3jjMFPcmNBqehaKrmn4Oo4\n+GpDyQj8+Uk1DxLzXGVz9BWb7ltHDrk4FTEKajA0ATox1df/rUf7j++48CXZ\nshec\r\n=1RKq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFrglKmwLwk6fmz9c+33gW+pa+tPJV85rp6WWLLIHqWwIgG5sLPV3dZK1as/gvPF7Hy9mzaTeagP9PL7GenLprzwI="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.0.0-alpha5_1585141643730_0.8173025845498032"},"_hasShrinkwrap":false},"1.0.0-alpha6":{"name":"use-material-ui-dialog","version":"1.0.0-alpha6","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\nReact hook for Material-UI dialog.\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.0.0-alpha6","dist":{"shasum":"232139a5e1137f0e8cb9af74d2d3ddfaf882f557","integrity":"sha512-qlm/xAny9JkCtanMuxYCouNihFL26d5kmM9oLgBp8LVArrpcym4NOZsFsTMfgKvOrU2pZFVjo1wAH4GQOVMRbA==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.0.0-alpha6.tgz","fileCount":39,"unpackedSize":19288,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJee1lqCRA9TVsSAnZWagAA1KoP/1zsxd3FO8nF8iiLSw/6\nJHth+8iuxOxJp6C1sF2B1n4CwzoWZRlF1ecrlWh+v3h8yFwEDMajMNc6cx2Q\nH6SmQWMQXtF3afGxQ/23qYXjnqzhHd1UbBgm2Mmw4DHqNi0vjQW124asTGRx\nowo1FM+UzjvU/od0xDLD+wDnzYCL0g+eZbhQ9A7rTyOfAtKd5T4gZmDfyftj\ndiRH6SmceJTwTduoV8E5anPn2yek7h9wq9ElDw9TPWiIBO/QxOJtPQupQLt8\n1ktT4+htG7+mxFwr/7R9H9ZuYlq1bTTSnWKM+nOpaZWXrDsuWgGYmWoNF01O\n2Jf4tBrB8Umf4miV/2AJCpNm6tOM1EZ58mIZBYLBxX1qI6FU+5n9X7HjSV9y\ndL9HGF3E2KqlQ+2JFUPEwESljgy64PrICjEYGrDjfy43MdzaOX94/JCQTKzg\nUlMYQHhR/VhMQyED4rFvdaPbeNW7aJtmLsutrzqwE7Ti2IVT4M0K0PdyqIfb\ntcz2qwez6tbQrEAexLA37WlOGq9KWyNM7UCbEFhhCGIYBbvEuW9Jq/Vu71cg\nIJDy13xlvpGcizcap1gyqQhWUIV6LJykSWSFTHdElHAbHXt19NQ470i1LCyU\nhtqWON5lChXWNkpMel8wpmwJHIMXGaC7TmbCy0YftzMPoigC2k5/w6wiEhG8\nst63\r\n=5HfI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCovZVOagdfx13AVojdPgCbh3y/JAMzTa+LnOlNlyfK+wIgfdTZYKyqAMr+zkuwnrBS5CwjZ0f6ApjsjmILT29N0gA="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.0.0-alpha6_1585142122494_0.25886380974218803"},"_hasShrinkwrap":false},"1.0.0-alpha7":{"name":"use-material-ui-dialog","version":"1.0.0-alpha7","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","clsx":"^1.1.0","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","clsx":"^1.1.0","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\nReact hook for Material-UI dialog.\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.0.0-alpha7","dist":{"shasum":"6c2925815cd9e8a3afb9052967113676759c4b20","integrity":"sha512-eufhfih/2XwqeSgDr//SGpcv7FgwBlohOZuXADIz1zAUGsPaJo46JIJ9n7utkbZ0JtoIARrlKotJLmXOhROUQg==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.0.0-alpha7.tgz","fileCount":39,"unpackedSize":19437,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJee1qKCRA9TVsSAnZWagAA6EgP+wfWJSO/1FUxbIfEt1ff\nM/+8x/4B8y9xD2NMd6naYOtoz9Jb1zCtzjMR0QNv6g5l3oj1DQwk2EmHDJuE\nLWvSkj2CMM2XKWC8c/tVYSFrsfMfx3KLTqzH5CgBoxLYVnetSn/JQCSLtmLL\nzUIOBK+ecL0wRcX8R9BMXeemE7KH38uRglIRaQvKJqCe+yZ7pNbxmQt/uJtM\nYxQ05b+TJtN5nZxlif7lmnx9+9gMTeZl2/Ehrq9147vzhYeFoeEpJoXMAji0\ngg4efzKawG1SgiCDd8Sb26YzvYVTv5/RzgMhLue6j7jde+yqfGjCdfmDDyOo\nxJ9WWXmWNLKoIVcjX+kRZTRBRAqPY9xmaZwUUcpxBQjkLNu+FaeQnM2MmxK3\nBZVTnE33BhdhPGWyf6bBwySQ4iYBG/Q2IaZbXTUesFA0YOSeWdxozCig60+f\nfjJ0TOrIYcChrYizPxsR/4M+5nOvOXpHc4DvXc9dT4R6ZnN/V9R35blHF+Sx\nirEHQlPiy3rczf6VkyZHdLXKMMmK/kI1sY224z4V7vLczkxezGAs4enB2yGf\nAzhTYhnMsj+MabUpB1ykc7eUzl5qEMUEtWrP0ngCJtNv+Nvx7DEbIyGKtoi0\nmRwIZ4W0Wap8axtvyu1wzQU0LIYzwIv4nGMnv0US4+Qv5DkYxA+36qMoCw9j\nabs7\r\n=7Q4a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF8CX/2e4pssJSX53oCvLDBjJrPXeigW1Zgu0J8PfZPfAiBuKSfzhMAJpngruIpPyVdnJHPwcwMuvBQniWAfl/Ht+Q=="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.0.0-alpha7_1585142409865_0.404162512367219"},"_hasShrinkwrap":false},"1.0.0-alpha8":{"name":"use-material-ui-dialog","version":"1.0.0-alpha8","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\nReact hook for Material-UI dialog.\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.0.0-alpha8","dist":{"shasum":"21a3092d0ffbbef9fd4d4dd4cb529f7f5b170d0a","integrity":"sha512-u4Q8bTOdIROmXsAirzKQ/813bZi/38NshC1LPHda0QF18HE/dQ4i5QiSq7h7KEDD98vmCvYIf3etuNg7QANiGA==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.0.0-alpha8.tgz","fileCount":39,"unpackedSize":19226,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJee14eCRA9TVsSAnZWagAAxpoP/1T3AlPhyw36ItLEbZm/\nQ37K3Et9bzZQcz/hJ/hTyX6kT9yvP1ZesqXYUikmN9SI5zjCiPr8p6173JB4\ncOq5xW2TsD3xhiWvFMGGYJ9ifbVLGyLLgzSCz8CWIXPzsnd3cdjhZQyDd8aq\naSivdYexZgDg0n3ACbo2LSSrD7MjB7kkpZbbR1noInw2s3vSJopIlajO9dSa\nkqvagMsgMZRzc7Nghki3QV9vgbUbip9CFXVvVr0LbNsKmrlv7EcbvoXAUYUP\nZ6qTQswDo+XzR5pUOiS3W0oLroduwe0HIV0vEZxqD+8HfVTFz0ZMQk8u/b/x\nv6qefeg1oXXzTh25QWPOpE/w0w50v3xPYy6jFjIZ2gJEeVG72CGi2pCKfsX6\ndwB5LM1Ty8DTaXHdeQPTAr1uhYut9vL0ta6xY2TYRVfo0NqigqHMhPTxNvgE\naRmrLUSOlAMnH9d1CTWep9q4rsVLmbSC2RNldPbgnSBQjVpmdGpkakqDr9kk\nKDheOFNps9zwyqXxSYCl5q3k63/Ak9m9PiwFIe49ea9pSt14WMIhwr6LRw/F\ngOJ6v1Gld4eWUHuLZpbgDJKd8XyT9eHWtdSMkWhfaf9mtQ+6ROPc33A+0t1G\nBwasBxdkHvxlf6Kv/sO8qgzgkasGi/8De3UX6csvpUjPwpRMzR3fzpZsL/QU\nA6U9\r\n=Th9C\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBSAvXv1p6hjf5+yGc3nT/W0bwkP60PeP/vCBpp4akQaAiAErAtyJhS7l908MgzQn/MncVgdJ7Q3Ez2YtB08XVcrfQ=="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.0.0-alpha8_1585143325946_0.8017525910373846"},"_hasShrinkwrap":false},"1.0.0":{"name":"use-material-ui-dialog","version":"1.0.0","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.0.0","dist":{"shasum":"4d6a3275884c5d61fb08b39e40616913041f5225","integrity":"sha512-JgD9bNXsd3126MjJadeE/rJY97zzwwW6aonr5UcHqH9DzMMDtK1vFnxmT3b7feIh8pRhhjHodAEZEUFX3Ts5mw==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.0.0.tgz","fileCount":42,"unpackedSize":20923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJee2IFCRA9TVsSAnZWagAAfDEP/jHq1UCzhnSIMC1XRVU3\nlw23cLoXuuFgajRCJ21rj+ci+psC4HAZpzrrXwsLAOvFPINQeS008UHCwMiX\nvzg0cdOjM5C6hIFU7sxxcAlUcQJ0rXj58CFv8hAP33dZhV1BcbX4GefuFC27\nyfFhuIIM1TgS1ExlsCVDAKM5iZMP5wXREuXt/ZurkryOiuBL8aV4WlmCCxoC\nwKe5fWz80G8Snh65D/heofCPAUNpKUkIctT6qz0xQA7vVXMMBE3M5SK64Rza\n5yIozeiUXiDO4ahuSEy2SEv7TPWkOO+pLewEF6PvpVuDHWQgHK5g2IbAa3az\nJUWWBZDwHgq1Zmm3dnjzEToloA0+6XeXV1sy7A1W5YaVYZqdVPNWKAHPuwY9\nRcA+2Am53iBLyaQJpRFuqYpXzlIzaWoBCwj/pEbZzwUTr84yG7ceuASCqDJY\n9lvJCa7m52x5W1qt7Ki+mAH3uKRNLr+3RSvrvLKuiWxDUoCDt75kA7s+oSCL\ngYVZb3sezrn4C1afxv7gx9FE82x/QeBRkHQC5qA9pQH28tu7jIDbSy12A3Oe\nZOUimbHwQA3SklHGKcUnu4m3qmIkTML1bIUoGwGW+bTL36xJn2wb457XY9nX\nvo78yycvb+GppClxPXr94XkW6HuTO8u8mrRe/+l/Ht9JmIIc6nLnjmSoGh1n\n4sJp\r\n=gprZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAnfwGITdOp1pNpK9VaomqOml1y/FQanK4POOyUFa4QzAiBP6iEPyqzFemkkm2NA0FK/q6pGh021nFYONUq9lLRhxg=="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.0.0_1585144325529_0.6002717662775221"},"_hasShrinkwrap":false},"1.0.1":{"name":"use-material-ui-dialog","version":"1.0.1","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.0.1","dist":{"shasum":"7bcec53d52cd11e369a708d0efd1eab927fc806d","integrity":"sha512-M4tzg6CfU4EIm12m3NDYdUGanXvxUYtFV/k8+gBp7QGWp31SWrd/Y2cV1FbbfTjulM541rPi6javeLWIRxA0LQ==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.0.1.tgz","fileCount":42,"unpackedSize":21338,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJee3RlCRA9TVsSAnZWagAANsgP/2s/J8X1JBpCiLc8aJ8i\n0t+C6H6BqHYAiKP7JGBN2MuuK4xYFpq5hAu30P0RsGyAPSqE4iGHBtae06td\n2YTuBil5M2xqIUa2u3CXtZaqw9F2CvYUlqNM0pXvatUcebrEfGvSMEzHhHpf\nupZn2zw2ig2omAo39tvofEd0COEtxTjtg+p+2L+MitZ6F/yUDt+DJPMHufsK\nl2BdFK/QjpJmlJRJ8tftXzY1PfMzTB+CvrPGBrZKLliWI4R7JBvCtnbSqlFE\nx5AquHJDUNIh8werFuOv2T75b2AnFwDqMz0aehCFrDqJvf3jkKcpLfSK7Y6X\nhYFhCpDW/QEz7xsV3edJRK7ZRfEu8mRMzB4VXPA1xV22nAhMgmOMQNUKyn/l\nk1Zk+9GyY8V/4zYebwtrMnwSgoys9N2TAEHh30QKQ90cAuMBbY/YOVKLnih6\nJhys/v5LMxUGWkMtsjRqB7Z4IPOdJgEOKexqgT/tH6SfAayL35FTKaLXYB2J\nXaMIH/rpluLIiJq0xaFH0j/h3CDKumiD78QalDRroPlEZQfEEBrmiWi7zfyB\nxPKV4u3G+dwly8X+/KM/yg8+xHq3JVuwaAiomSQtGisZV5FnrGM9nEbM3EN2\n1r9URe/gq38jtc0kzH/zCgXllKuhwFlPK+aHABwAbt9CB+BZoGlFjptLwui9\np3gY\r\n=WhAS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDB231dmIDXDEQCffwUIirdNOTu5HXbmOjdnoyYqTixLAiBgsuJFMHvHJ826YTRP+Hirzlbw2KsHAOM6THg/o2zqqw=="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.0.1_1585149029000_0.048553310579288356"},"_hasShrinkwrap":false},"1.1.0-beta1":{"name":"use-material-ui-dialog","version":"1.1.0-beta1","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.0-beta1","dist":{"shasum":"d44d12fe994150278f87786d4eb1d259e9f57a9b","integrity":"sha512-xChszp6otOeoY/cd2yuIM71lU+YGecmVo5C0jlEd+NYLvLnxOaR0NwiZtReHlKB/CeQ00F1MgtuwybAcRo3t+w==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.0-beta1.tgz","fileCount":47,"unpackedSize":23675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeknuQCRA9TVsSAnZWagAAvKkP/j6IvI9aqjPdq0w98geK\nfgPEZDtGoQ4GaUuOS/lhhmFP/+CbNXO1ci2XuRuLR1SD/1Ma7dPu0sjBlBH8\n915PJDMARVvPqtzng91oKybNWf2NEWhxTAJbbooThK52DSGUMJkh0datuzRi\nyojsthp5RWLIk59gCyFiN5YBWOqFrGYT6Dw9LlaWS6nrg8lzyRUA4Ly6ea2d\nNeWynX21iUgtZ1/Hnz/+sAlrcnVWaJMkM0FOAZXDAEdxf/k1/f2q7ijgGmaS\nQvexaR5WHonfo81mKC/5oqWz5PwZchwduyIvonQm/35nX1eTmO6lwRTjzsS0\nKCxyX1bFTub21bb4HfnIR+7cbhjH10kvO/GZUxh5+yDf74GOOBCrJ32ZVklS\nKlM8onq1+Uyf01DVWQHM4icqBvKZgUSqkT5S6YICZO9RUAH5V4R68mTKOazV\nkvl0HUu0jHU3BmszwMXk0w8JElaTvn1mhnFodUaf+pQ92k7u9N7m48ckkeHn\n6D6gsnZt7NpbmRAKV+xSd05jzouAQjrYX6A/misCwGAf3nfFt3xePT3kEEQx\nlR2ydHgaQtW1FZ4F8sv2/xBUJ08Tqs7Tg3WAYWdxrel06Dz0qEpwia+hM2bj\n7yKtSn+caNeMXt1cg7QFqM11Cmr/pyn3Y0sCECf+OFRUuNMUhnJtlc6NvZdb\nAHaN\r\n=+qwJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICnry8Y2O3llmiVE9mqjrkvpC4F7tabtoGrppnrTMckZAiB2V6VJluUKaX3BqIixj1Zy0HY9eUZd8SbWEaWDJg46nw=="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.0-beta1_1586658191607_0.10548765823249284"},"_hasShrinkwrap":false},"1.1.0-beta2":{"name":"use-material-ui-dialog","version":"1.1.0-beta2","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\n\n![Node.js Package](https://github.com/darrenfang/use-material-ui-dialog/workflows/Node.js%20Package/badge.svg)\n![NPM](https://img.shields.io/npm/l/use-material-ui-dialog)\n![npm](https://img.shields.io/npm/v/use-material-ui-dialog)\n\nReact hook for Material-UI dialog.\n\n## Installation\n\n```shell\nyarn add use-material-ui-dialog\n```\n\n## Usage\n\nWrap your app inside the ConfirmProvider component.\n\n```javascript\nimport React from 'react'\nimport { DialogProvider } from 'use-material-ui-dialog'\n\nconst App = () => {\n  return (\n    <DialogProvider>\n      {/* ... */}\n    </DialogProvider>\n  )\n}\n\nexport default App\n```\n\nCall the `useDialog` hook in the components.\n\n```javascript\nimport React from 'react'\nimport { Button } from '@material-ui/core'\nimport { useDialog } from 'use-material-ui-dialog'\n\nexport const MyComponent: React.FunctionComponent = () => {\n  const dialog = useDialog()\n\n  const handleClick = () => {\n    dialog.openAlert({\n      title: 'ALERT',\n      message: 'this is alert',\n      color: 'secondary'\n    })\n  }\n\n  return (\n    <Button onClick={handleClick}>\n      Click Me\n    </Button>\n  )\n}\n```\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.0-beta2","dist":{"shasum":"ed48e8ea8a4b4f06633440a5c6dd00bf5e1d9de9","integrity":"sha512-5AKhUj4+BmSVSpeXuOCZRgxfQM0v2oYqnU1yALTBwbEGF9Tzq3EoqHYFoaiWXedkSV7GmiGrj01Cg3a+oXkG/w==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.0-beta2.tgz","fileCount":47,"unpackedSize":23675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeknvGCRA9TVsSAnZWagAAhx8QAJVsuPKCqrVGiAO2Alr9\nYCGmYEm5am5dMh330lQ7A+WGyZblBTAIcHrSldSV1hS4+k9DCSAQJCKNwxox\nDw/ggEtIj2bz8l5qxZNcHMdVU5bHODYSoA22KDT2HFciW816+cgChy51o2Os\npCJ8QzIJof+ennz8uEZB4lTPHpZGqGmCLvSQ3ZY+k9Zc9cJqvKtTiLWfINno\nnCn6pLcD/8g3J/UlKHp6ZJ7Ot6o0NzuOFHxGFhKqcj03UFwLRAJiDMslPu3A\n/9tlYxHlWUWYcArc7J0RvIR2TfytES2ZMhURyeb98lnT03THGHPMD04UkGFV\n4tds+QQSz7HoFkv5hxH3DGgedQFOrxgscCcdniMsdXGa1POIyhaX+1ukwufw\nnNjIqMzaIz26EmY1APmJgGqiy4Y0to51bLt5Vv0ne7PbGU63JM2X3dM8fDjK\n51T+Z4RriZ35hhkrEykiKGTTONwG6n74ENqHxMz2pXQzQmhqB3ZA9ZF3D9Xh\nyTST4h+ujZrxegzVMAv2uVBkCv11ijwf3gw8MNF5FhHnNBjnVjySj0SSeUEZ\ngrUn0RdFkvNDHGsFH4r02BGqftkx0i8dNHk9i7pkmS3eDIy5Lk0Pc+8dcgv5\nPC9oIOGAhA5mnEijYsJdwKcoSAve+Q7NDuavnoIh++ErMsbwnz4hKkZwliBp\nhhUP\r\n=2s2q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICUMpnz4QbQ80lac0py1lk08q9rOkHsl1IZt86KnJV+LAiACu10RmLTfox94aRG8ld7haBCh5BCfCuDBHWWHT3/uaw=="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.0-beta2_1586658245680_0.03543356103312689"},"_hasShrinkwrap":false},"1.1.0-beta3":{"name":"use-material-ui-dialog","version":"1.1.0-beta3","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\n\n![Node.js Package](https://github.com/darrenfang/use-material-ui-dialog/workflows/Node.js%20Package/badge.svg)\n![NPM](https://img.shields.io/npm/l/use-material-ui-dialog)\n![npm](https://img.shields.io/npm/v/use-material-ui-dialog)\n\nReact hook for Material-UI dialog.\n\n## Installation\n\n```shell\nyarn add use-material-ui-dialog\n```\n\n## Usage\n\nWrap your app inside the ConfirmProvider component.\n\n```javascript\nimport React from 'react'\nimport { DialogProvider } from 'use-material-ui-dialog'\n\nconst App = () => {\n  return (\n    <DialogProvider>\n      {/* ... */}\n    </DialogProvider>\n  )\n}\n\nexport default App\n```\n\nCall the `useDialog` hook in the components.\n\n```javascript\nimport React from 'react'\nimport { Button } from '@material-ui/core'\nimport { useDialog } from 'use-material-ui-dialog'\n\nexport const MyComponent: React.FunctionComponent = () => {\n  const dialog = useDialog()\n\n  const handleClick = () => {\n    dialog.openAlert({\n      title: 'ALERT',\n      message: 'this is alert',\n      color: 'secondary'\n    })\n  }\n\n  return (\n    <Button onClick={handleClick}>\n      Click Me\n    </Button>\n  )\n}\n```\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.0-beta3","dist":{"shasum":"5a668a8fe9bac6b2222bb1f4f719de896b24c736","integrity":"sha512-45NaxSF3K+TEH5HTlAg0Z4YnlpPOhtx3DnFKXNV9/3JvjE960vRS3HlboSZALzDAn9jjd1gfC3Zj8DO5j/EVXQ==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.0-beta3.tgz","fileCount":47,"unpackedSize":23970,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJekn4vCRA9TVsSAnZWagAA0OUP/32Qg4io7X8n3ir9pzkj\nB4pV3sjZdkDaExUbqTStAY6dDT6PrjbqCXzGFuhvgdHjOhq5BUOSYSgC2jnx\nxI2hr/ScKlTPT/RaCVTFkHCn8nSrZMortAtC4PmUHUI5Y3vphCNMdxJH1uq8\n0OnnXULLX936qtzLD0gC2yeAq9SP24a1hh0fiS63JbQB1GPoDHQjlElh1/Vz\nEEwNfdsLu7a9s5S4yjJXV46gGA8K8hao9ujguqbG7S5WdtIlfS5oFcQaPJeM\nb6lk0ifb29R6GjuW9FmdBHoRVtvEGzJqbzByOMzcklSNE2dq0BfhJCsF7snw\nkPOjzEvjJszZikcPDlrZyNbOuROHGgDeqlSlbq7oDbNqTPNR5QhiJTAMnGEk\nJVdh2+rpshVEEwdbXRy3q5Sk0F+vlEsfZzWOGcdxDbLm3+KUtlbD79R8MMSB\nmJVyIKO2zleZENSrKwzcyW9ULYmB9+xItAgD2p7rYm7xieMQM989zHuO6dKm\nJ8s65lRLMispCqOUYYH6DmENnqP7IIcdrUiomvP1Cqll7lQGsgf5JvfF3Mox\nIP9Zy+tEnfNZcbQQhwKVwG6GiFqhCqBz4XB+9LjsulGboku7ccNHc7eqx9ux\nhHpsvmZJmZpEjzU/IlK6zEVTaZ2n6En0rf5ZUMrvhpalMrYGRgWQL0P7A9mZ\ni6hX\r\n=DqEY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1YJ/W0T1nAbfjYCZqtfSa6XpN3hjAXBLyUH3kj5oeCQIgWPkiSC79BpO525LT00kFCnMdHr4fpaTgA32iNhdfkzs="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.0-beta3_1586658863417_0.52155665619366"},"_hasShrinkwrap":false},"1.1.0-beta4":{"name":"use-material-ui-dialog","version":"1.1.0-beta4","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\n\n![Node.js Package](https://github.com/darrenfang/use-material-ui-dialog/workflows/Node.js%20Package/badge.svg)\n![NPM](https://img.shields.io/npm/l/use-material-ui-dialog)\n![npm](https://img.shields.io/npm/v/use-material-ui-dialog)\n\nReact hook for Material-UI dialog.\n\n## Installation\n\n```shell\nyarn add use-material-ui-dialog\n```\n\n## Usage\n\nWrap your app inside the ConfirmProvider component.\n\n```javascript\nimport React from 'react'\nimport { DialogProvider } from 'use-material-ui-dialog'\n\nconst App = () => {\n  return (\n    <DialogProvider>\n      {/* ... */}\n    </DialogProvider>\n  )\n}\n\nexport default App\n```\n\nCall the `useDialog` hook in the components.\n\n```javascript\nimport React from 'react'\nimport { Button } from '@material-ui/core'\nimport { useDialog } from 'use-material-ui-dialog'\n\nexport const MyComponent: React.FunctionComponent = () => {\n  const dialog = useDialog()\n\n  const handleClick = () => {\n    dialog.openAlert({\n      title: 'ALERT',\n      message: 'this is alert',\n      color: 'secondary'\n    })\n  }\n\n  return (\n    <Button onClick={handleClick}>\n      Click Me\n    </Button>\n  )\n}\n```\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.0-beta4","dist":{"shasum":"c4bc731e5fd02bb8f22c9dc7a82f0e5e5aa05eb0","integrity":"sha512-ZhCPsyboqltidozUgZjcMYqOsFqHJPB+v09eDiAupv3cwuuaCI+3JYsIZ6joKrLEByPLxrC2G3M7w3rsm9XUsw==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.0-beta4.tgz","fileCount":47,"unpackedSize":23977,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJekn9xCRA9TVsSAnZWagAAa10P/RdgB+e0+telhiDZ49wH\n4iico8ExWSyBos8ciEYVwit7AexFY6Pm/Z3aIx32Dwv6AUqhkDConJ+zbROl\neawtKyCEF9xUZ95fJ32lmAh/j7J18x9WH16vHcBEmmYNn+B8dSzsSPPtduDb\nT5uaVjyUoESVqE2jGZjcXyP6dwxKh+7PGIeSEtxoN/5+REI+x/wKCdkLU6B8\n97h5AncnRnVdZurJYLoB5w5oSgL2PBetWbhroakQTDikE+JTEADX20MbEybV\nW4jwlOO3C4z/ZxnN32kYMvUUEJQd3lN9UrFVQulLF64zjSLAwvPOyqc5i3Cl\n9vEAdHlYLJDE6VDyosDXvNSiFpRJqicdmHUq9edFxTb2flO1t1e67vvX08xA\nTzk6xuXGYOShWGeFTcoZeha58SwNt4UgX/XX3KOMUBFiCsfmFXnde4BVqcyZ\nxbUC2/UF/fvozs97QLvT4UtbddQOMCgHo4LVBqot0DJcy20Pj1k/yaqu8M2R\nwRVFtuaLDr6ri9aY53ej7fvMH4XpmDqYbmwVnP02uyTIEVrABYYE3T7DX9ek\noVjSvG/ZvNAXv68AybMk+6fZBUXy+Hu9sxDnL4hmc0ciPF16saP815pNfad6\n2eoQqV0jntmvU94JG8TMBdxnp9cZwVH4QEJlsY++ssILQ99FicjpKuekp+Go\n8mMB\r\n=Fdr0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBUQdJuV3rXWrJbit8dbExsxofxrGdHeE4JKUu0PoHAvAiACyBwTHPMTymgNFCF+TeY4RPu7uwVu3HpzPK0yS5b3AA=="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.0-beta4_1586659185205_0.9957693842125017"},"_hasShrinkwrap":false},"1.1.0":{"name":"use-material-ui-dialog","version":"1.1.0","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.0","dist":{"shasum":"5c2f4a0e78e9db07c07f5738e3ea27fa788b071e","integrity":"sha512-335y/uCqxM+NihRaLv8Y0/fnF0EsQ3XvOuWN7Ak9JPjIeEXMTkUx+bZqV3uOf0g1LrH8bbLk10tLGYDHYubJLQ==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.0.tgz","fileCount":47,"unpackedSize":23971,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJekoKOCRA9TVsSAnZWagAArlwP/25OtvWJlV1appFmt4yd\nYVoc1T7NBAnyDGw1divDDKioxSmxoskR+jYdLJAaWIoaHnBlWE722sYyDUeL\nslL2R52XIvhKYjtMvyzL4ImoYCZydzejy1B9GyfNXRsgN2fs/132MwaLf2OH\nztqVq8iyjDZfz73HnW761+8rA99BtTBcwSKjtcjJ14KmEgJEVk6c86j0Sws0\nzjIU2XG8u+nJF5Hq12c5aOeqdEQZmNGyfETSvKJnrSTLkmPvbu6RYKPRqGjP\nDwdroSYf+OOvwfm9EErlMaOfSMHqQfNzAJmNzHBKUakZK/gkZVZVQYYx3TcP\nF9xYgoi7mBBUPo+eaQzSMHjLcMFQ+hEnnuUZ76lA5DzfhkVZU3wB0wrqBBce\nJQmKhjWrvtdz0qgTg0fQn1snc1BU9dr0QK4NE9wtfkpiOwY7jerA0Racx+2T\nUC3iIuxJh3FQjj/CmA4MJg39/m9hWCBu+6VTNV+LRttsuH/tYYUNXhXMkODT\ntuGy6ATYsPhWHcZVQLNH09NoLyycxn1HGJwmyYJGdA6e72SJ0gAnD+I575Tj\nUGeE69Hhp/B4Pl36rTkbmBJPWoSQ9duMWE+69DruoiTruoL0RszEKk1pU1Lt\nRHyqYNg7Tf9xam0GRVwlBxIcXvwwa8VCqAw3xG8PhETK9S/WQiCSe9bs5jgx\nqpnT\r\n=MjNr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBzuZUMGBU5MsKSx+SJXUWtVHiacRy+ZXmX3Qreuje/uAiEAukTxWRHvYIUZDgsn1RJzLc0eDKpBzsp1K9dOcT7+JJk="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.0_1586659981795_0.0994825348281494"},"_hasShrinkwrap":false},"1.1.1":{"name":"use-material-ui-dialog","version":"1.1.1","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.1","dist":{"shasum":"b11509fae6942883e7e869b79b7c5a241a65fb14","integrity":"sha512-tCCTYqu0Kn6RatATZb5A+FPHk4IVQxCZ+RloC0vKco4uGiVPE4VSl5m9i5HKmpmdElArIAeyqVarJ4Wf4npk3w==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.1.tgz","fileCount":47,"unpackedSize":24032,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeno8ECRA9TVsSAnZWagAA03cP/08772i8zM1eoHMwT2ML\nFeBKEu45MYzKBw06i6hMkNFSnL3TExge4OLu61s/UWUlLzsmLmm+GXeX3S/K\nKJPha1oX6RccXJn32EWFxN8Vi9sRxhMmzDfYAi8snvQjKN/TFOmVASgzJHkV\nZ8pDKH+KaxMq40baqoRSfKM6WZ9VF32eRJImrGfeJ8TUCW8vmP0DU5WlyDSu\n7lsxKngRI/C8CQcTC0XLs66mMUSUDMicX7YI41XUIKwsnQioWuhFVMPsDq4+\nvKhee0AnTqF8c6C8fEM/GuYwujEKpNg/2w1Mj+0kb4jsHwigG2Xi6qKkiY7w\ny4MBc+z8OqoxF3gO7lB1OtocwkW6XXfHVwQZJPBQ67xFEhY1YQKr3eieYXSv\njhx5iQHip0fZpguoVCvtDzNfr6zkeo8ALEONOAmXtRb/qVecgh/mvyuWGuRP\nTzhNerJoGMkgiw8tdgSwslVDkdCz/ILHOFTpzhlCtVj7E4E5SLcfGcFQC8Rq\nD7ZcXRDCHMOW3808zJrk5WmBt2x19BJtFRjd4SXwMttzusIJShGii+EO0Lg1\n61O+wrEZ/BHDod/vMxKco67SHSgiBJXM8HFEFE8DmpRDNj9M4wxbrbz2l1ju\nZAhaetn9859b5HkGXKI6nIKYZw0hhBzGdo14m0T+To7ImrofggMTUt17mlME\n++kV\r\n=Wwfc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA3FBGfWQOtxi3ZqJT/ZmEiFsLM3y4I62bn639yoWUxlAiEA8shGyUvROOuo+oaJIJHs28fvMLflxn03Hu7nLrl6Dx0="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.1_1587449602578_0.3579852440702973"},"_hasShrinkwrap":false},"1.1.2-beta1":{"name":"use-material-ui-dialog","version":"1.1.2-beta1","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\n\n![Node.js Package](https://github.com/darrenfang/use-material-ui-dialog/workflows/Node.js%20Package/badge.svg)\n![NPM](https://img.shields.io/npm/l/use-material-ui-dialog)\n[![npm](https://img.shields.io/npm/v/use-material-ui-dialog)](https://www.npmjs.com/package/use-material-ui-dialog)\n\nReact hook for Material-UI dialog.\n\n## Installation\n\n```shell\nyarn add use-material-ui-dialog\n```\n\n## Usage\n\nWrap your app inside the ConfirmProvider component.\n\n```typescript jsx\nimport React from 'react'\nimport { DialogProvider } from 'use-material-ui-dialog'\n\nconst App = () => {\n  return (\n    <DialogProvider>\n      {/* ... */}\n    </DialogProvider>\n  )\n}\n\nexport default App\n```\n\nCall the `useDialog` hook in the components.\n\n```typescript jsx\nimport React from 'react'\nimport { Button } from '@material-ui/core'\nimport { useDialog } from 'use-material-ui-dialog'\n\nexport const MyComponent: React.FunctionComponent = () => {\n  const dialog = useDialog()\n\n  const handleClick = () => {\n    dialog.openAlert({\n      title: 'ALERT',\n      message: 'this is alert',\n      color: 'secondary'\n    })\n  }\n\n  return (\n    <Button onClick={handleClick}>\n      Click Me\n    </Button>\n  )\n}\n```\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.2-beta1","dist":{"shasum":"d1fe5946abd1ab6e9314b1c894ac991f031eb492","integrity":"sha512-KTHxGBVVOGl6w/qiHyFEkTiQP9612aInb9ykfcl+vkL+tb4BE5gVU2cYsse4QwST3RnwAAkBUdocRg5F9uQr7g==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.2-beta1.tgz","fileCount":47,"unpackedSize":24004,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJenpHjCRA9TVsSAnZWagAAncEP/R1S/CBWg02U+5ilsR9t\nYH4H6EQvrVdUX+Ss+S/eEZDNw++71WZHKOiUunVKWPHzf+QWyoebsFfzr8Ge\natVMRr1mRojWEMEDpSRHZXAE3aIoU6C5bCTiVpGo51646FHpWyAHplXjTLi8\nwM6A36YX/d9DSZeju3re69lPW4Edn9VbEJ8pERMsxU4twda4erf8nK0oHTYP\nJWjWx+B35Xv2aY12gCOeM52aH4tjH2zl7wqRHKz1AjId2+hFP7YnWVTn0ur0\npTakTKdpDxMua8Y078/yiVbWrS1mwd4dh+wkXDJtrU2fnvDLMUYIS7cLNw/c\nVUMixJYwgsZ6/l1WiHRnl5MtE7BCIJDEftVm4W4T4S5nNLERFeTFIJdFnmHz\nYV3pifAQm2SBDVwrohy1/5ELCR8ecOBq/38w/R/QVS/2uAWWudxqTxO4hQdC\nf5RyfLC7j6BWGIdR/OV9HOE0ExZj456D4LUl08TkYWj8qDi+Oe7m7yyPlGpA\nzj37Ctf5RZYCVlXm34Rc/S7fMTO40tXfiYT5P5b5QRRjab7mhB097IIvUoQ0\nNb/biDLzbvlUIf69d2Q8ZpynCI117Et16Ptb/BnXhg5hMPTMJyGYenyP+fzk\nq/HdWsRk7lskN+dDzwnD14EfpaEZ7XagQYgb4ccDwkCKw7VCY1utHq5qffVP\nQg1d\r\n=J9Lq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeDapG9rW5CuJGkRqXY94d90QGYVRijVoNep0H8Dlk2AIgNIc97OBfj+zTf5eDbMixr2X9KHNNWaYFpMOzTvVkJW8="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.2-beta1_1587450339366_0.5123057212163531"},"_hasShrinkwrap":false},"1.1.2":{"name":"use-material-ui-dialog","version":"1.1.2","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.2","dist":{"shasum":"7309d42d7e341453e86a7d2717b5a223a537a8c7","integrity":"sha512-h5DzhAlKCXgMjSYftrZb5A4oD0F5k4FpABdwOhtxTPLuUmx493vGSd58A47hSKVFertr+WXe2BehTRxzE2SV8w==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.2.tgz","fileCount":47,"unpackedSize":23998,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJenpM5CRA9TVsSAnZWagAAc/QP/2aJXFeKZrloDZ4awjPm\nzfVkDkiBP9/rB1TCdYmRe5Jv3+hD7CIk1l++NcJDu9LwUc1V39M0KoMdVgEd\n3q1cgYn3ka1N7JDfJwgbg2k8UyNmtcPi27d6xoN9QpFCX6RlSFg03UIb6FWX\nb7rV45RRiC+i3In8YdpcUXoaJrWlrNwIYwglyuBGQkXvl9tJJKhGhuQrybKF\nTtyXULldBSdKM+NuYaPWLTuJ8NWBH+MppdA5Rcu3C6uAv8Wzr4vcQT5/IgLy\n+azCHEeV4NIIKix9xYiLDCR1PMpoAaTkhnPJGxHkYssh63DsGaRNfALKFcRT\nke+l9DP4YXRebJQmd45HlC8TGcWLC7W3RKX4ssCQ6OPe4o4C5Xkt+DdOjaCC\nW6p6n9foaCgnxvCXl4VkUvRfwzqj63q21Wx3XKmc4wCRMPh9bSz0CS+Bji1T\nbxzDLJ9k2ytZeLLVdrvtLJiKHYvO8wYVmbXEAKPbCclq7SnET0W7h3/iYUEa\n9i9TBefk1DOTeY8KI9gJtFoRdVlqmblYs/zOWhDK927gsAWzUo4WLCTUrkeA\nddE/fij0ofZTpcJpKQfZUGfxPf5VwV65ORqNjkz4u88QW93BBdqDHM+usNKq\n8MnvEcjvwZlEEhT+Zy+e6LGgg91h/m+QgRiv7lnF6AqcJX4Plkla39v+K+xe\nnMCz\r\n=ak3e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZ0EOZQTU8Lz5CPHTB0YS+gbVv4+9SS+xzMcgl4dHh1AIgSP6el3Bf2OrjTK0b1h+VtXDIGXncl12k3k2nFnTdCy0="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.2_1587450681066_0.7357176184652818"},"_hasShrinkwrap":false},"1.1.3-beta1":{"name":"use-material-ui-dialog","version":"1.1.3-beta1","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\n\n![Node.js Package](https://github.com/darrenfang/use-material-ui-dialog/workflows/Node.js%20Package/badge.svg)\n![NPM](https://img.shields.io/npm/l/use-material-ui-dialog)\n[![npm](https://img.shields.io/npm/v/use-material-ui-dialog)](https://www.npmjs.com/package/use-material-ui-dialog)\n\nReact hook for Material-UI dialog.\n\n## Installation\n\n```shell\nyarn add use-material-ui-dialog\n```\n\n## Usage\n\nWrap your app inside the ConfirmProvider component.\n\n```typescript jsx\nimport React from 'react'\nimport { DialogProvider } from 'use-material-ui-dialog'\n\nconst App = () => {\n  return (\n    <DialogProvider>\n      {/* ... */}\n    </DialogProvider>\n  )\n}\n\nexport default App\n```\n\nCall the `useDialog` hook in the components.\n\n```typescript jsx\nimport React from 'react'\nimport { Button } from '@material-ui/core'\nimport { useDialog } from 'use-material-ui-dialog'\n\nexport const MyComponent: React.FunctionComponent = () => {\n  const dialog = useDialog()\n\n  const handleClick = () => {\n    dialog.openAlert({\n      title: 'ALERT',\n      message: 'this is alert',\n      color: 'secondary'\n    })\n  }\n\n  return (\n    <Button onClick={handleClick}>\n      Click Me\n    </Button>\n  )\n}\n```\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.3-beta1","dist":{"shasum":"23cda5ec62f291139be05b07be5b5819d80ce5f7","integrity":"sha512-rHD2SCsOnUqpaPal4xA8yNyP3IRBllc0benSJkmQTwq4CrvWHaSc0kdlUtqVMq/1x04jVnup950GxaP1gaJK7g==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.3-beta1.tgz","fileCount":47,"unpackedSize":24031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqEqxCRA9TVsSAnZWagAAXEUP/RIBoXwTI7u3TeDBlrlz\n9n2cpWSIbhuh2z6GAzOOAFrqsBDuma1MrKQgWrX6cxi9zmwo33DIvhmKkoo3\nY0qX7jexrBTEzzflQThxsv6QSdJzxG7M23/jdhpzG3GXoLFS0QbKYj/WGCjY\nImNe77iD5y8ja3EQh9QXm3rMyLbV4SZhIstyWXYFoVWrt7oG9aI7JLddyD+c\nGQ9e+hZYADHp8sbMmXvvwXSuGQbvWqbOPN5fON3DADxLIIUIPvj/hU30bMRk\nTaGt1f/WSVJ+YEuMQvLuY36kCvJ9AVH44bdT7bk8F4yPTYLi5AqreE3lXtp3\nUfmX/YQUQ/Yw1PZT5QJF4wkBj5r0vAAHTfv7PG8PxjEtMSzQp+BrKXLgZCPC\nspvZnddi0GUNeYI2kk3tCebbxJXzuUc+dmOu+PUf8uEkzs8a0Ph+6VQ63suS\n9+6YSREjfEQ6ghmpHsyMYoEF+Y7QwMAO9sowgeyvLoXDX0ULfkZ1ekBYRjHd\nV1WPLIwzhqtvqvrHGBcRAD+wmVwKfGjOHLbdkgo0uRPXWUYMHxKgWbhAZkSP\nDNCwQjjLNWgpSmAqn8vcZOFrDORJSUIBY13Mkbrop7Dr07Gd7QRuJ6OzBWUC\ni+XX+aLs50TBb4EikmEIQ280Uh0IMjUTL2zNKJEA+oa1CY4Knd2nGMLCU7Cv\npfRv\r\n=xeL+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqrPsEjVGIRcMJObMc1xI8976W8OI6ZY0g70IEyZ50fwIhAP8R1OLUUMJKA2GQCJ31juFt7fa+GV+HT9T4dAaH3BRI"}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.3-beta1_1588087473062_0.6407242617585298"},"_hasShrinkwrap":false},"1.1.3-beta2":{"name":"use-material-ui-dialog","version":"1.1.3-beta2","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\n\n![Node.js Package](https://github.com/darrenfang/use-material-ui-dialog/workflows/Node.js%20Package/badge.svg)\n![NPM](https://img.shields.io/npm/l/use-material-ui-dialog)\n[![npm](https://img.shields.io/npm/v/use-material-ui-dialog)](https://www.npmjs.com/package/use-material-ui-dialog)\n\nReact hook for Material-UI dialog.\n\n## Installation\n\n```shell\nyarn add use-material-ui-dialog\n```\n\n## Usage\n\nWrap your app inside the ConfirmProvider component.\n\n```typescript jsx\nimport React from 'react'\nimport { DialogProvider } from 'use-material-ui-dialog'\n\nconst App = () => {\n  return (\n    <DialogProvider>\n      {/* ... */}\n    </DialogProvider>\n  )\n}\n\nexport default App\n```\n\nCall the `useDialog` hook in the components.\n\n```typescript jsx\nimport React from 'react'\nimport { Button } from '@material-ui/core'\nimport { useDialog } from 'use-material-ui-dialog'\n\nexport const MyComponent: React.FunctionComponent = () => {\n  const dialog = useDialog()\n\n  const handleClick = () => {\n    dialog.openAlert({\n      title: 'ALERT',\n      message: 'this is alert',\n      color: 'secondary'\n    })\n  }\n\n  return (\n    <Button onClick={handleClick}>\n      Click Me\n    </Button>\n  )\n}\n```\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.3-beta2","dist":{"shasum":"dac510fc2722b5d97546ecef49c8caaea7861696","integrity":"sha512-6luRzJt+rUsWGDIt5AJCgNKFj+gXjU0Y+Z8lcEl3SvkH0ZYEfMIw8lFOOR1pYgvCiBRuMX29O5H51vEntMsfxQ==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.3-beta2.tgz","fileCount":47,"unpackedSize":24197,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqE01CRA9TVsSAnZWagAA1VkP/RzIL2Hsyk3ePqaNNiU0\nyJncMPAZjHh+oGuYmIOsC91ef4ylstBvMShOBOW0Qfvfkp4YApZm5eNgTiaA\nHTtBSMNubmzbS9wcVt29rWPXBhfU0cxZMDIUqO5915pAUfBBC6oRzg2QbV//\nNgNw97g0affCdFZfwKHl9b0sKGCccyglWwP7ETSFk8O797Oy7Ap+qSsYFkH9\njMjjUgrYZdCbjqWT5uDPHUxnWd3BhDRV+dZ7S5w4gkL8kYMDqxFPezpgaQQL\n85nk0/HSt7SJwxIlzfaa6rbhXz4ZhaURVoxBNQizGEaHOfNjKSJLucNiamZR\n5aJ661DATIodkMFL4D9BhTS6cmUew+L6sTeMw+jaAcKN0ymdLNDtu2cuaCrU\nplEEPA9oo+VzT5Z6m/uLI025F1tKSCk/ZhG4NW8jkKzQNd2o+CY08r8jd4I+\nUkdufHV1KqoIwAkDSG1mtCXEUY+36yzFflnmPizvCLsIlOenB9gbTW/AgCy2\n5ILpPBCFHUR0lV6L2i3lrnY6cUemaTGGuKwxW3Wg9+raBjaIb9u0AMdUKvHa\n1cICApSat02JQSl+xkeRl3ogIAD2ZIMHvNElmgYqdSZW7YsT86J9eC5BAkKC\nY2CDF9L2lo/X18AG8AXvFZhECNppLovgT/uwO8N0tulgMZvPUDXEgeKoZVBJ\ne/fK\r\n=U4vx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEg/Qed5b4etCsAIpw3kp4JlOMomcPh801SmtFlrhJRGAiEAh6L5vGNerNfsq+HvP+qqXPymnM+cleGRf9XJz/+sWMk="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.3-beta2_1588088117043_0.6780297166842824"},"_hasShrinkwrap":false},"1.1.3-beta3":{"name":"use-material-ui-dialog","version":"1.1.3-beta3","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\n\n![Node.js Package](https://github.com/darrenfang/use-material-ui-dialog/workflows/Node.js%20Package/badge.svg)\n![NPM](https://img.shields.io/npm/l/use-material-ui-dialog)\n[![npm](https://img.shields.io/npm/v/use-material-ui-dialog)](https://www.npmjs.com/package/use-material-ui-dialog)\n\nReact hook for Material-UI dialog.\n\n## Installation\n\n```shell\nyarn add use-material-ui-dialog\n```\n\n## Usage\n\nWrap your app inside the ConfirmProvider component.\n\n```typescript jsx\nimport React from 'react'\nimport { DialogProvider } from 'use-material-ui-dialog'\n\nconst App = () => {\n  return (\n    <DialogProvider>\n      {/* ... */}\n    </DialogProvider>\n  )\n}\n\nexport default App\n```\n\nCall the `useDialog` hook in the components.\n\n```typescript jsx\nimport React from 'react'\nimport { Button } from '@material-ui/core'\nimport { useDialog } from 'use-material-ui-dialog'\n\nexport const MyComponent: React.FunctionComponent = () => {\n  const dialog = useDialog()\n\n  const handleClick = () => {\n    dialog.openAlert({\n      title: 'ALERT',\n      message: 'this is alert',\n      color: 'secondary'\n    })\n  }\n\n  return (\n    <Button onClick={handleClick}>\n      Click Me\n    </Button>\n  )\n}\n```\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.3-beta3","dist":{"shasum":"db1afd74077f091118fa9060a77c2ca1029c6efc","integrity":"sha512-mnDoZqvwrU9VwJogDpjQUaiElc0L9YKhY2ibOQyh3ltusI01jMO11pETBKrTcjjW6UDxw1VpC7KrLrdseoPC0w==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.3-beta3.tgz","fileCount":47,"unpackedSize":24473,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqE58CRA9TVsSAnZWagAAAH8P/3ZkdL2UB/5unu7JxJIU\ny1cB86NWBuYisuOdKoSo3g6bKRpRGLBKA6+DEm23zHCPG0w2NKGtkx8h9RwK\nALUzrqXq9PQPcTOQOlU+5L24acNwhG/whtxJnNSlC8ppjEf3VswUNNaXfjDW\nctvbhfMzLR0W6SSVStqEx4Q0morFpn0J87zFLpog9CMFDyVgFhHYd+a9qCSA\nekEh+JPNqSsrIStjZtSb69k6evncjZlUBhX5DhzKr9N9jedx76ZKsk0idATE\nBajuCdad9CiZ0vJ6RSyevLNqbxY69B9swbyxSyD3P5Ln6/+GJVmAeb1WB6T5\nhqQarCfZZ3UKj2+/gYetU6jLrbknJijgXWQQP1HRqWTYADOdf4d6efB8u9QZ\naPCqil4BObvmrRl1UZ4Ln05bO8b4Qy8LNqKz7Pr0cxjsgvW0kD4XA1WHWDzP\n3XNP75q9LN66SyMgrB2LoCJT0l1lfSr2pwPh4q5cug8UQ51+zkw8ZLxAt7JQ\nbNXqvWfnYQ1HXLUK33opZTENHNDGMzP6cgq4NzC0VO6oELdemBwzOcC8k+DS\nYDirTyrq3gql1bvjNr7pjXR2BERIx6y2ZF7vmarhHr9+mgSkuiJUo8C4bUQX\n1RAGafQ4l4yKIVEYiE3jHp9311uW//aRKHlLor5h46pM0fWfGvS7VJMoXPSJ\nsZkN\r\n=vFvH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAx7AZzmokXwWiI5EU1pIz8qLS93Hw4pUGpQdbEQk/jGAiA4u20beUdNQVm9BWvL4PMb9LYbbDMbcjMTf8rC8TIG5Q=="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.3-beta3_1588088444067_0.4152490704321077"},"_hasShrinkwrap":false},"1.1.3-beta4":{"name":"use-material-ui-dialog","version":"1.1.3-beta4","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\n\n![Node.js Package](https://github.com/darrenfang/use-material-ui-dialog/workflows/Node.js%20Package/badge.svg)\n![NPM](https://img.shields.io/npm/l/use-material-ui-dialog)\n[![npm](https://img.shields.io/npm/v/use-material-ui-dialog)](https://www.npmjs.com/package/use-material-ui-dialog)\n\nReact hook for Material-UI dialog.\n\n## Installation\n\n```shell\nyarn add use-material-ui-dialog\n```\n\n## Usage\n\nWrap your app inside the ConfirmProvider component.\n\n```typescript jsx\nimport React from 'react'\nimport { DialogProvider } from 'use-material-ui-dialog'\n\nconst App = () => {\n  return (\n    <DialogProvider>\n      {/* ... */}\n    </DialogProvider>\n  )\n}\n\nexport default App\n```\n\nCall the `useDialog` hook in the components.\n\n```typescript jsx\nimport React from 'react'\nimport { Button } from '@material-ui/core'\nimport { useDialog } from 'use-material-ui-dialog'\n\nexport const MyComponent: React.FunctionComponent = () => {\n  const dialog = useDialog()\n\n  const handleClick = () => {\n    dialog.openAlert({\n      title: 'ALERT',\n      message: 'this is alert',\n      color: 'secondary'\n    })\n  }\n\n  return (\n    <Button onClick={handleClick}>\n      Click Me\n    </Button>\n  )\n}\n```\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.3-beta4","dist":{"shasum":"8f864fcf5050ab337ecdaa612dc78625f4ca2aed","integrity":"sha512-9YYrMz/QWA7g3Fje7/c1FCojITZ7E6Semyv0nWtuAkUSAKDops5wKdGAk6g7DX5WdYhn2iJ85oQ3EtT22rHFig==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.3-beta4.tgz","fileCount":47,"unpackedSize":24463,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqFS6CRA9TVsSAnZWagAAi88P/2t/Y7J6T287Hd+RNEEc\nzkGApyzRJfdktQUUodG8OGu3OrJoAFTIlnw3B31vqS7i4jtRnzYVbAcXzoTQ\nnMqAgGlYs0EXHxtKUe8OJATUC6deKsScoW/ArIYM60LNlgiX/3VEH2DymFcF\nuQry23SzEk/B0WDNLKHDz5YD36+DJ8TdDLOXQLy4o2q6GLxaIw7HADkyrugp\nl0RL7N1lz6Hg6oG8KmjfHWCDxIENuZnPdXbhTMaQS1R2da9BQLQZ22WTBXiX\nnpKDL9CbUiCq9W+CskezWshaBVwlwiLf++FTvCZE4wfnk8NwGDiNXvkOo2tP\nxbMRc79c108ORvy/lB1aeYXoCCaTmtzG+2sOY11J7fTsn8x1u+fuMKV0K2Tx\n2dI2ilan334fs+iKAKCTHaA0RyW0SAHrFYvidv7Rn6xfPe6uyFBnUnp5hUhJ\nLFse3NEqL4ksTYSHH4ziq5SS6lh0bBCKVwRL36pQk5xcnovF2raNOur6AUWQ\n7zw46fIplFNCx+4Bpcrr6KMTW276bAzjg3137j7ipRFrUMwkKr61i6MsOXsu\n+Y9JPtxqE2nmkqmFJah4N49a+gtjPEzhfzO8vSYnaleHzeCNGRmMxiCMT/aY\n+Uh6Mz9kq7ceLG1MQZcdw+HKPctSQRD594b5R+rcblyseK+acmiRTjDVqldg\nLzd7\r\n=EcO5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBVz9yB/8BKdv0pqHZBQSqyCqMkcoJVisSfHJDz3MeY5AiEArQB/GjTZ0Hkx/avqYqdPZppml5UyPDdK/Sx8LusfgtE="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.3-beta4_1588090041565_0.3783627489270285"},"_hasShrinkwrap":false},"1.1.3-beta5":{"name":"use-material-ui-dialog","version":"1.1.3-beta5","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\n\n![Node.js Package](https://github.com/darrenfang/use-material-ui-dialog/workflows/Node.js%20Package/badge.svg)\n![NPM](https://img.shields.io/npm/l/use-material-ui-dialog)\n[![npm](https://img.shields.io/npm/v/use-material-ui-dialog)](https://www.npmjs.com/package/use-material-ui-dialog)\n\nReact hook for Material-UI dialog.\n\n## Installation\n\n```shell\nyarn add use-material-ui-dialog\n```\n\n## Usage\n\nWrap your app inside the ConfirmProvider component.\n\n```typescript jsx\nimport React from 'react'\nimport { DialogProvider } from 'use-material-ui-dialog'\n\nconst App = () => {\n  return (\n    <DialogProvider>\n      {/* ... */}\n    </DialogProvider>\n  )\n}\n\nexport default App\n```\n\nCall the `useDialog` hook in the components.\n\n```typescript jsx\nimport React from 'react'\nimport { Button } from '@material-ui/core'\nimport { useDialog } from 'use-material-ui-dialog'\n\nexport const MyComponent: React.FunctionComponent = () => {\n  const dialog = useDialog()\n\n  const handleClick = () => {\n    dialog.openAlert({\n      title: 'ALERT',\n      message: 'this is alert',\n      color: 'secondary'\n    })\n  }\n\n  return (\n    <Button onClick={handleClick}>\n      Click Me\n    </Button>\n  )\n}\n```\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.3-beta5","dist":{"shasum":"cf64ee84434a355b01ad493b63054692cfcb9a7b","integrity":"sha512-fX2mXkj2L/e8oNc2b/UgRTy8mC3AcxwPPac1gXHfhNBdPSVt99nKaMMoM8Kz3pYlMrGAGnwADg7dgH94/+VjfQ==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.3-beta5.tgz","fileCount":47,"unpackedSize":24696,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqFYFCRA9TVsSAnZWagAAmQgP/jdRzH0acf+ZOey2rskP\nXJCvmYUqe9T31Z72eaDqjOokhHuuNycfFqnNJ0trA4RQrBtizPTQGu+CB7Fa\nqtjvPslcPX+V1ZPMhFoYSB46NKMeTj/Ygb4zeBnPWD5OuZD/+wItIws+WUMy\noNwU4QeZbA5HYCS7F6/1ZgnheUNiBv1WIH36Lvf6FB0C0rgdvnE+C495ubWc\nR5QXD7pAmU0oOqJLksedP2PO44mwRCZ4FWWsQ0C33N/5tV/rrK8A6Vk8T6k2\nkMcEIW75+aa9t5u5LJqocKsb5M6ZD1JAzhf6YmXLg1z+SpB0FHUZZNxCtan4\nCuO4abB6wCSIGJ5g6+WHan0Kn0+NvgKKh/WJ08QPjiE3T4g2WCUmx8QrBcI2\n3fbHs8YjupBGc6TEM+fztGKPdgT8IbqB2xaxS77Zp2tPvRrwMzvlkqYsvV0o\nt2ZOZqvTOp+0Sq+F2IeGKKu7T/ZcVM+ga5J4moROpa7/06PITdYK/68GFXi7\nWUCWmp08Pf37ETLoEGLeXYIBRbIjcoEoURKFF3qAZsNwXgSnd2V5zkIcOC3b\niG16Otd3YpmyJNBscA1lSKWacLGOgT/ZKUs9DxIl/r8/kvX2PGQLYXzgCljj\nlZKtYBHH31IfCl7/t3y0VemBORR0swNiH0V/YxNcADmDocan5Fj/YPPqC0wi\nOyBm\r\n=DA4H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHtyxhlwKzsMSLAHedJTPdKXzWluZvactmp69iAhLZUQAiEA5ZrmbtmumAcsUPU4cJWbTWsSTY9YX0s7KrlFacsIlbM="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.3-beta5_1588090372870_0.3566263818442643"},"_hasShrinkwrap":false},"1.1.3-beta6":{"name":"use-material-ui-dialog","version":"1.1.3-beta6","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\n\n![Node.js Package](https://github.com/darrenfang/use-material-ui-dialog/workflows/Node.js%20Package/badge.svg)\n![NPM](https://img.shields.io/npm/l/use-material-ui-dialog)\n[![npm](https://img.shields.io/npm/v/use-material-ui-dialog)](https://www.npmjs.com/package/use-material-ui-dialog)\n\nReact hook for Material-UI dialog.\n\n## Installation\n\n```shell\nyarn add use-material-ui-dialog\n```\n\n## Usage\n\nWrap your app inside the ConfirmProvider component.\n\n```typescript jsx\nimport React from 'react'\nimport { DialogProvider } from 'use-material-ui-dialog'\n\nconst App = () => {\n  return (\n    <DialogProvider>\n      {/* ... */}\n    </DialogProvider>\n  )\n}\n\nexport default App\n```\n\nCall the `useDialog` hook in the components.\n\n```typescript jsx\nimport React from 'react'\nimport { Button } from '@material-ui/core'\nimport { useDialog } from 'use-material-ui-dialog'\n\nexport const MyComponent: React.FunctionComponent = () => {\n  const dialog = useDialog()\n\n  const handleClick = () => {\n    dialog.openAlert({\n      title: 'ALERT',\n      message: 'this is alert',\n      color: 'secondary'\n    })\n  }\n\n  return (\n    <Button onClick={handleClick}>\n      Click Me\n    </Button>\n  )\n}\n```\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.3-beta6","dist":{"shasum":"41c02d563cb0bcff09f71159475230d3a34fcfba","integrity":"sha512-Etxf19FqbeYEDWyLhjbQow19x8T7j67wnZXCXKRGjvvZOFrXDmheVycX31uv0UphpOHXm5CN94jn4aGIW5yBzQ==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.3-beta6.tgz","fileCount":47,"unpackedSize":24791,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqFhDCRA9TVsSAnZWagAAMIQP+wXJlYl7/aISAegUxZsq\njc8HBgfq0hm4l/3WMET4S8eazmJQYNewkD8xVLI/MQIMpo3/IZbuCgjDw3zM\nZ7tHwiQ6r+QJvyiP0FF4f91TfxetoofFH/DKFMNcQ0LDBkyoMUswz0QS5BYc\nzJBA+YYlbfo4vN6oxqu3GhCmkGlbfCjjD4TZYflNomSJarog2wbyx4Lt/9DB\ny/SwtMFer0DPyBEzT/+UPW0n1p9Nt8gdFNStbmiZK5MGGiOFbTOMjyBlyerz\nX1GbxgrrgFyiZyAsjZmQ+MTT2bBKJta0GVD0kA5kjWCE3AFYorxq947eAMMU\nhjP7wkVtiYF5ekVEi05aGOW7RaNHMEqJjke75wGrTdicYJSGDID7QAUEaw5z\nV1cJVM+Nup0aytJqKC0mRoPKdinKqetb4TXppowkCeW9KQD6oTOm9Zd9Y2H1\nTUp7cNF5JokQcoM7ii3AOMzp2PCJ4VejOG3vUBFaoqA5RKo4/6s7D+XL0v/M\nXNj43HubBIqhqn3QatMcLyiFUSf9RXNny4ccHfWiM25fH00snqr+zns/U18v\nJUa2LEq3Yj5OsuGaX1+JZyZvKZNTI1z3uXp6V1YJ3IdPzwixr8qupFjzz32A\n6b7IfIX0lA1F6tXH2iWDZBXxbLsKokjTKKEgxABG/zJ3d55xyFVquqxAmZ/P\n2Tiq\r\n=zRAl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF+92BXqhom4eTT06mIRd5dstn5uYhAiLNfpjGJ+w40cAiEAyIun8RR4PEVm9q53afXl6RHd7cWYjj+4WmHLMQ0v2dg="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.3-beta6_1588090946408_0.6062118461293686"},"_hasShrinkwrap":false},"1.1.3-beta7":{"name":"use-material-ui-dialog","version":"1.1.3-beta7","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\n\n![Node.js Package](https://github.com/darrenfang/use-material-ui-dialog/workflows/Node.js%20Package/badge.svg)\n![NPM](https://img.shields.io/npm/l/use-material-ui-dialog)\n[![npm](https://img.shields.io/npm/v/use-material-ui-dialog)](https://www.npmjs.com/package/use-material-ui-dialog)\n\nReact hook for Material-UI dialog.\n\n## Installation\n\n```shell\nyarn add use-material-ui-dialog\n```\n\n## Usage\n\nWrap your app inside the ConfirmProvider component.\n\n```typescript jsx\nimport React from 'react'\nimport { DialogProvider } from 'use-material-ui-dialog'\n\nconst App = () => {\n  return (\n    <DialogProvider>\n      {/* ... */}\n    </DialogProvider>\n  )\n}\n\nexport default App\n```\n\nCall the `useDialog` hook in the components.\n\n```typescript jsx\nimport React from 'react'\nimport { Button } from '@material-ui/core'\nimport { useDialog } from 'use-material-ui-dialog'\n\nexport const MyComponent: React.FunctionComponent = () => {\n  const dialog = useDialog()\n\n  const handleClick = () => {\n    dialog.openAlert({\n      title: 'ALERT',\n      message: 'this is alert',\n      color: 'secondary'\n    })\n  }\n\n  return (\n    <Button onClick={handleClick}>\n      Click Me\n    </Button>\n  )\n}\n```\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.3-beta7","dist":{"shasum":"a6b330e6b2e16d21dedfde0efbc352b52c681ea0","integrity":"sha512-h/ZoDTPy99UAXE7O81yQENcaoiE2ezGT7SfCYfYKoepWTXj5jrWj1kZ8lQbvjbF5HVCySiKU0H45H4vxgnIolA==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.3-beta7.tgz","fileCount":47,"unpackedSize":24870,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqpDhCRA9TVsSAnZWagAAHb0QAIPfINsLzeeJFNN1I1SS\nQWwkC55dxVMJWxQIV5t2ZCDoN90la7/5XXd3hSo6+JiywhodmwNP0NBJNm/f\nN6pF7hmVa7fbJe4yIkf48dhtRyuZmvfSZYiEtchlNnw/10PXJQ8awy0FN2rd\nEo+FENmoaAZC0r1jArsBMIVGWKoO7sYbSrrQeg56+eZlAMSyjxWER9DQbSqs\n3CH5IdwVCe5ceVBTb+TStHpQIgVzBkImyit7uzFAlneUxoAPsnE7ijFmnYED\nd7lFRDXpz6yTIaX0ymVNi+owdjVKSZtdL7KpOlYWnZJepbPABSs0H/SOXEjE\nafLNJ08g/7lTPwVI9Ma+94NzNsME/RBlDt0G1RcRl1A2BqyA6d+N2OAvsMxN\nAXNEcv7EVkamXdbw3wDxaZqJnI/rE0anvURtksF5dPKdTMGgW1sUGAB0B347\n2qm468O6nGetgLb1kngdYao1NZifw2BPDQiZ382JueU/Qk7Yrmi9IlaHcZLr\n9iQG8SFUyzmm37KgXBluow96DCDFitpeOimUeSNj/0V1z2xmx1ZeZEG9LqTp\nNWsMOQPifeDlrVUxHU0DtEFV8avDJ2wQuMqDpAppwmtRiZLdIboMyim35atN\nZ1GJzXjekdAlt3dqrG7C2Xid3tla7dRvXwna5ptOQHzZAuOAD0gLCJSufJMd\npUMR\r\n=98Nk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDncuI9WwS+0A9biNz3Q+siZlj2592XOC8Otx+oJZ5a8gIhANlhGuTQE8l+FJS5kbfdmDlsuiu6E6A5Y37LzzGQqBVA"}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.3-beta7_1588236512838_0.8736675099412452"},"_hasShrinkwrap":false},"1.1.3-beta8":{"name":"use-material-ui-dialog","version":"1.1.3-beta8","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\n\n![Node.js Package](https://github.com/darrenfang/use-material-ui-dialog/workflows/Node.js%20Package/badge.svg)\n![NPM](https://img.shields.io/npm/l/use-material-ui-dialog)\n[![npm](https://img.shields.io/npm/v/use-material-ui-dialog)](https://www.npmjs.com/package/use-material-ui-dialog)\n\nReact hook for Material-UI dialog.\n\n## Installation\n\n```shell\nyarn add use-material-ui-dialog\n```\n\n## Usage\n\nWrap your app inside the ConfirmProvider component.\n\n```typescript jsx\nimport React from 'react'\nimport { DialogProvider } from 'use-material-ui-dialog'\n\nconst App = () => {\n  return (\n    <DialogProvider>\n      {/* ... */}\n    </DialogProvider>\n  )\n}\n\nexport default App\n```\n\nCall the `useDialog` hook in the components.\n\n```typescript jsx\nimport React from 'react'\nimport { Button } from '@material-ui/core'\nimport { useDialog } from 'use-material-ui-dialog'\n\nexport const MyComponent: React.FunctionComponent = () => {\n  const dialog = useDialog()\n\n  const handleClick = () => {\n    dialog.openAlert({\n      title: 'ALERT',\n      message: 'this is alert',\n      color: 'secondary'\n    })\n  }\n\n  return (\n    <Button onClick={handleClick}>\n      Click Me\n    </Button>\n  )\n}\n```\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.3-beta8","dist":{"shasum":"89e2b70ed9b5716d03d1a2d4bbb1e84c45510d98","integrity":"sha512-4pBrTnMysGS0Q9dd4lhV44Fq5LUIjiS0vis3r20J7WzeQ/Y7lVp0+kSuRiI61LghldEoXz3k0oZ+CXsPZfL7Tg==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.3-beta8.tgz","fileCount":47,"unpackedSize":24870,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqpPtCRA9TVsSAnZWagAAbBcP/RjQbH9tiWsI5KYgOIWc\nf+3Xz/0qTNwYMzhMGjRTOXa2cbfQuq4aD8JFA5Qe0VLlKWuJqnVLd2jgyjiy\nXShNbravrlizFN3mVZq51Luif5JQ4G2rFVdaSiKriLhPByYEAEtAdwQi7yL9\nIMol4GPX/eoviaLeu6XAJB0XhHn57QeJH9zoXOfLWg9F7fqjKp3Oo/6+EXVY\nFKc2R97Khu6i62+1oN8iXXEMih9xYZNM86ipXDnSWNq2uFjxwZHCTOc6Sw98\nTHfIbea0zDHxa9LRWPtUWuGUWRWuu0REbCC3SpcaE0MWFi/AlNJ/r2GMz8Si\nKCOuZCNpTjLmWFIINhslucKOEaC/DaT6KPdPKYGDiZ7VWEDb3SgsQI1OeWAS\nVQ2t8iyfPZtd6gEBLf77tQ9k4iA5bXVpsFKYaWlJKO5/5qhqxMtbRtYqKKUd\n9nmB4JsK/KVBQoIPFX6kWc+wIAlmh75DPfmJQbuim55OwlvI8sNY89jAWZqq\nncSsIxljzDDHBICNz9zhzrnaQ0uW1esYzYqRIBPj0QU9h3WYzPBbQHLivsmm\nvaebz9Fd5jjOgHo5HIKghR8HvqgkPGN/mVSzhSprFe7WHTksnPNCe+DXGCSv\nBLWIzEyN19imF/9lBwuxrPxvCDrExz2sK+vYTS9ctdjh2iH8aJp9lm6wAtmN\nJwvg\r\n=mYsn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF8C+A/7lv7svOU5Hjxza4xlVzk2OtuchTKcGZbckkTHAiEA6MKGvYwKiQ170OBGIfLVooSyhcI/eXCZ68GPBdDNyA4="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.3-beta8_1588237293029_0.6412371787395621"},"_hasShrinkwrap":false},"1.1.3-beta9":{"name":"use-material-ui-dialog","version":"1.1.3-beta9","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\n\n![Node.js Package](https://github.com/darrenfang/use-material-ui-dialog/workflows/Node.js%20Package/badge.svg)\n![NPM](https://img.shields.io/npm/l/use-material-ui-dialog)\n[![npm](https://img.shields.io/npm/v/use-material-ui-dialog)](https://www.npmjs.com/package/use-material-ui-dialog)\n\nReact hook for Material-UI dialog.\n\n## Installation\n\n```shell\nyarn add use-material-ui-dialog\n```\n\n## Usage\n\nWrap your app inside the ConfirmProvider component.\n\n```typescript jsx\nimport React from 'react'\nimport { DialogProvider } from 'use-material-ui-dialog'\n\nconst App = () => {\n  return (\n    <DialogProvider>\n      {/* ... */}\n    </DialogProvider>\n  )\n}\n\nexport default App\n```\n\nCall the `useDialog` hook in the components.\n\n```typescript jsx\nimport React from 'react'\nimport { Button } from '@material-ui/core'\nimport { useDialog } from 'use-material-ui-dialog'\n\nexport const MyComponent: React.FunctionComponent = () => {\n  const dialog = useDialog()\n\n  const handleClick = () => {\n    dialog.openAlert({\n      title: 'ALERT',\n      message: 'this is alert',\n      color: 'secondary'\n    })\n  }\n\n  return (\n    <Button onClick={handleClick}>\n      Click Me\n    </Button>\n  )\n}\n```\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.3-beta9","dist":{"shasum":"f4096ab9800288bc7814bcb5836bcba291859259","integrity":"sha512-f6aAc1WhiiQ/6oMXEjK8VlBiGNJAPd22C8vW4ej/erJzRRkc+ZQf/QNHArJXR0uVv/JocYM7QVM/pcaNp7CtLw==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.3-beta9.tgz","fileCount":47,"unpackedSize":26774,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqpaPCRA9TVsSAnZWagAAzQ4P/j3/pWWrDvga7CWdTzQN\n//9C9HNAGzYAoOfrInGGyQxhBVyi0gsp4UypIKyN7vpo9Cx6FYV+aOM+f8jn\nQLvpLKoWbgeh+jqVrnBZL4PqAwSCO3+PVxANL7FqpEol0jALZG36klbl91pg\nXbry8RzErmFW+lne8o1e5xcZm53vhOACuwRopDTg6Wvxatfo/3kIPJZSeWJ6\nwwP0s3DqWnPHGtVyB4P2qnCz5W+D0o2REend2JLYpobYbGspNqGBkAwfhK+I\nMwdHqEpcLmEwiTchC768T75Rw4T0kO+1XncLLWhCNOtZMtfulktO/3E5VOv0\nuAdicbCLEWKX4uaHggyS3m6Z8e81hgbSGIwjCKGDpLQ6a9HfJUZUYMAeOwV3\nIZH1yRwQaapYRTdqxCK+0ztEbS/ARVMyZgaqQLmMh4sFNF/AiBet5TxrGDmb\n50VNxxtHLJh9LVnw2Hg6pVXzEU6yqgDVniExT4/xBrOycRzL5rG0YwrWyAHn\nWmEzxXKUJr2o+R2YQxbZTnLV+Uzp0ph2Gf3kgzjABrMLmsVYDjYqEXlp9mru\n5HztMhNBqtJJl2iiFgy+tJb0EQEjCrHCAMSIUdCL575uDmXwoYciyOPVL3jP\n7SB0nY+NSHLeqXZ0xACrvbZrIXACybzx5tsAX9UFhb7Sy2qKJruZ9TVbbB4p\n5apd\r\n=tUGc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEXhCiJBdZTqZVCyndPSUKI08qQ85FGzHEBUoeh/F7StAiEAvS3bKvKIqtq4ZLC+fbi1UbcVz+bZ/X6DuoLq6Ilp/TY="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.3-beta9_1588237967579_0.9945924723948243"},"_hasShrinkwrap":false},"1.1.3-beta10":{"name":"use-material-ui-dialog","version":"1.1.3-beta10","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\n\n![Node.js Package](https://github.com/darrenfang/use-material-ui-dialog/workflows/Node.js%20Package/badge.svg)\n![NPM](https://img.shields.io/npm/l/use-material-ui-dialog)\n[![npm](https://img.shields.io/npm/v/use-material-ui-dialog)](https://www.npmjs.com/package/use-material-ui-dialog)\n\nReact hook for Material-UI dialog.\n\n## Installation\n\n```shell\nyarn add use-material-ui-dialog\n```\n\n## Usage\n\nWrap your app inside the ConfirmProvider component.\n\n```typescript jsx\nimport React from 'react'\nimport { DialogProvider } from 'use-material-ui-dialog'\n\nconst App = () => {\n  return (\n    <DialogProvider>\n      {/* ... */}\n    </DialogProvider>\n  )\n}\n\nexport default App\n```\n\nCall the `useDialog` hook in the components.\n\n```typescript jsx\nimport React from 'react'\nimport { Button } from '@material-ui/core'\nimport { useDialog } from 'use-material-ui-dialog'\n\nexport const MyComponent: React.FunctionComponent = () => {\n  const dialog = useDialog()\n\n  const handleClick = () => {\n    dialog.openAlert({\n      title: 'ALERT',\n      message: 'this is alert',\n      color: 'secondary'\n    })\n  }\n\n  return (\n    <Button onClick={handleClick}>\n      Click Me\n    </Button>\n  )\n}\n```\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.3-beta10","dist":{"shasum":"858446fe72c4343b04e5bfe6dcf795520b58c43b","integrity":"sha512-H88tPvxkw12fKV4dpLTCBCYS5L9OtBdQOR0IHp2k9JAy2qFC/KaPeKHei0Q3b4Tj0P1E8d3UO8hvYzHHBmkOzg==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.3-beta10.tgz","fileCount":47,"unpackedSize":26628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqpdSCRA9TVsSAnZWagAAYTUP/3az1FeUmeClXY+dvnfT\nS8hJ0vUfB4zFzTbHFf/Uv8NP1TQJrqf3Te3FTFjbu75/frbe21YoSQFmqoVa\nLkJkScT5zNrDFYTvhrIqnlSjKbEvLk5zhNOyXieOojtpwNkPAMckSaOKbC74\n7RIXLFVowjfQPt45sMGNR7Gfyx1V8TNH0AAVQmRHthUVy9irEqsDX+GdNQeK\nUUDWFmqNQYrECgaRk/hFb/IV8HPWFEE0K8BzfTsTlYpL5C30BExofEgYj2Bs\nIqqy33NYuejQl5xNT6rsBzWDEWcAbvR9fy4PCu6XqoHwPw6cgHsR7FxbPwBk\n2CU8pjJeIcMJOPszytopdv1I0hNCiZB3tNsfqQdqe5E+62ZkxdpqhTrdx8PA\nO/ErIggJSheGDHuaaI4vC8XE7XdPQAV7X8fyzuZhzbNQWq2zzCoLhkiQrjY5\nr2Lhk0M9RjezafaOySSsY0JEZE1x1hPEWAgwJ7wmQgON9JvLT+/n+s4myH2u\n9MQrYhmWXhPPNE8s8jAnIMdAynLiff7pLkfJqS5g3tAqylcm2l1mvm8YfMBD\nzjo3FMiwnI3afCpjxkjvxMpcPhQhriT0gDMBOfQPTuDjMtPGQekqz+wo48Vk\nv2oOU99t+9zT7dudCQ5W9WMt6k9NOGPaG5C5ONhna/pJr0o8GDG5Np2v8S4H\n06Uw\r\n=qR9F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICyt8ar+mZc2nRsAiba9rRZkJiR9YbT2/UYX5hHcWhnjAiAtDbTANfEGqddGWaIzI1Bm1yhSZ/RxZ5PxPrMYM/mLjw=="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.3-beta10_1588238162256_0.2157487522461361"},"_hasShrinkwrap":false},"1.1.3-beta11":{"name":"use-material-ui-dialog","version":"1.1.3-beta11","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\n\n![Node.js Package](https://github.com/darrenfang/use-material-ui-dialog/workflows/Node.js%20Package/badge.svg)\n![NPM](https://img.shields.io/npm/l/use-material-ui-dialog)\n[![npm](https://img.shields.io/npm/v/use-material-ui-dialog)](https://www.npmjs.com/package/use-material-ui-dialog)\n\nReact hook for Material-UI dialog.\n\n## Installation\n\n```shell\nyarn add use-material-ui-dialog\n```\n\n## Usage\n\nWrap your app inside the ConfirmProvider component.\n\n```typescript jsx\nimport React from 'react'\nimport { DialogProvider } from 'use-material-ui-dialog'\n\nconst App = () => {\n  return (\n    <DialogProvider>\n      {/* ... */}\n    </DialogProvider>\n  )\n}\n\nexport default App\n```\n\nCall the `useDialog` hook in the components.\n\n```typescript jsx\nimport React from 'react'\nimport { Button } from '@material-ui/core'\nimport { useDialog } from 'use-material-ui-dialog'\n\nexport const MyComponent: React.FunctionComponent = () => {\n  const dialog = useDialog()\n\n  const handleClick = () => {\n    dialog.openAlert({\n      title: 'ALERT',\n      message: 'this is alert',\n      color: 'secondary'\n    })\n  }\n\n  return (\n    <Button onClick={handleClick}>\n      Click Me\n    </Button>\n  )\n}\n```\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.3-beta11","dist":{"shasum":"4d5fc4d3d8453622feece94609e363d85bc6fa32","integrity":"sha512-X+d6QL6QWFnTTxyU+eMsYs1PfSszgzsMfFwWQ3j8/ig2wiXYflvuTD/xlNwr1zfDWWJuvodeVkkDHTIKz2x93g==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.3-beta11.tgz","fileCount":47,"unpackedSize":26628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqpiMCRA9TVsSAnZWagAARucQAIyCHCJSdrXsPZb7vvFg\n10qtlfL0pujxJxvoYQUiiaMOQa8dyTmMJZNDY/A2OoNjO8k6M8lW2X5QhPiB\nC7NcaOlUkchGf4AGIZF6nJZigcbBCPbdj6NxwC6yWSgttzhbYazGh3t9PSn/\nIdjo8euAIkTLxWXVApIKuaNjlDeuZUFZOy/KE93Y/Dn6S22drjmUiaiLu0w8\nLJ9KG0iGl4D14aXR5POXNggoHu83uv7EOcDDQwzAQN19msxI8p5FmHJkZUXB\nPM2WPMmcczMVjDtdvKGmD/ycB6e3MaW105aGSFXfv67gV0beWbJAy1jVQHkE\nCryDpiWgg2LHBmtl88PWtOSKKQRRUaS+ToJJobCIJswJO6m5xpu1yhVdbU/M\nEg30ucl6b+cc6CZVzWIFtBMzYJ4WfJ05H6gtg02IP2KAUpdedeDLoRRtxJDn\nXoO5U4Sa5bmzXCpEKsKqQIHoscwH64MJqKRaOpq3f95B+yibRJ/YDGxcTA32\nCy/bzWkjHM7DdSAld89OlktJs36ob7ss7jTTQ8VZ1jp0kfjKHmPIug7tqGTy\nG/mbGzzJ8G/oT56h4nrY16qpAfR5UD4fY3taokYo5vRBc6HojTgFP7z8UjQi\nESruXpmTJPUyY5XBDsT2HDPeNrnDuNUWvCQjXlFsTD5rmZbbCbylXSLwKiD+\ndP6w\r\n=wINA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICQbYe9UH0ZGVeA3ejLsTtTNWjJatrba7LUXg1UZ6a4LAiEAy8WJdNCqzMsqKcMw+FrGPTSua11IqQBojDuFSEzfGt4="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.3-beta11_1588238475965_0.6565874214554088"},"_hasShrinkwrap":false},"1.1.3-beta12":{"name":"use-material-ui-dialog","version":"1.1.3-beta12","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\n\n![Node.js Package](https://github.com/darrenfang/use-material-ui-dialog/workflows/Node.js%20Package/badge.svg)\n![NPM](https://img.shields.io/npm/l/use-material-ui-dialog)\n[![npm](https://img.shields.io/npm/v/use-material-ui-dialog)](https://www.npmjs.com/package/use-material-ui-dialog)\n\nReact hook for Material-UI dialog.\n\n## Installation\n\n```shell\nyarn add use-material-ui-dialog\n```\n\n## Usage\n\nWrap your app inside the ConfirmProvider component.\n\n```typescript jsx\nimport React from 'react'\nimport { DialogProvider } from 'use-material-ui-dialog'\n\nconst App = () => {\n  return (\n    <DialogProvider>\n      {/* ... */}\n    </DialogProvider>\n  )\n}\n\nexport default App\n```\n\nCall the `useDialog` hook in the components.\n\n```typescript jsx\nimport React from 'react'\nimport { Button } from '@material-ui/core'\nimport { useDialog } from 'use-material-ui-dialog'\n\nexport const MyComponent: React.FunctionComponent = () => {\n  const dialog = useDialog()\n\n  const handleClick = () => {\n    dialog.openAlert({\n      title: 'ALERT',\n      message: 'this is alert',\n      color: 'secondary'\n    })\n  }\n\n  return (\n    <Button onClick={handleClick}>\n      Click Me\n    </Button>\n  )\n}\n```\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.3-beta12","dist":{"shasum":"b5ee6b5b5e060c09cb2052ce1fe585232286ab84","integrity":"sha512-A7xdNTJ/oeHg0OyaApEX8hP0E/GsyS1hUuhuFiV97RXMHZnHxZvclHbVnb2RaGZpFCzoNpvWZnzv2H0rMNRnag==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.3-beta12.tgz","fileCount":47,"unpackedSize":26628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqvvqCRA9TVsSAnZWagAATCoQAKUsk6zDe/wRV03vzt1t\nodk0zV33FsGNVbOsAFRGxRZXWUNWoN6u00Q7HU7pbznzsdyQfIM3gnEFmN9R\nKA7LWv/OVr8yomOfEFlZl+8o4WuMVlwnw7/tYZG+S6suC6SaMeHYEhpUH9kr\ntAXVVTP+3sDR2QnDAhLsK5AgMbGrc6wMfqi3sRMH6iX5jeGBbZvRDSjHu593\nsnSxG9bWUcNVoA67ipu/jU/NAh4gSeFNvSzeAdQoAGppW3gpwg9OGziF9Ppz\nzpkVRyFyifsNeoUKZpr2l8M61knIMHynmEJYl8hzl00CvVJv6n8h40SxdIMN\nnS0PA43P8iGIjurPAcDveUIWztqX7WCoQ8aAWo3KBz0767feX0g9YvBS2XTN\nBFI2TKUluh768JDrgaM3F5nGbj5dxbFECmMpjgM7WHmkxW4HfW6rk0PqBWav\nzYskc0e7Bt3yDu6UONXQv+6Xo+V9pzo93FUep/D6bk3+GD7dFy526ffTaydR\njAG0K3piBuLVEWANxCI4HONYJ13lhhAEDbB1GAmblaBvWH+xTOVe7RdCqjC8\n3Dk2x74jM9E1cyBWHu7OovkFCH6HNoFgm62/SMQDot7Sq/9xoCO/sKCSnvVJ\n5JSFd5p0ndUtuAZRaE4OQybDueuAORcY32R2JFfQglrqXOVtUvVYHwhyMgbS\nO5Ok\r\n=uawi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHn39AP+SGRubcG2y5bwylzqPhjgoAeZP4A+rx5GXi8TAiEApS/Tpcy8irArQNQ3MoRgEeD+ll3RNw7TtV2lh6s+8sk="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.3-beta12_1588263914060_0.1783517342292933"},"_hasShrinkwrap":false},"1.1.3-beta13":{"name":"use-material-ui-dialog","version":"1.1.3-beta13","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\n\n![Node.js Package](https://github.com/darrenfang/use-material-ui-dialog/workflows/Node.js%20Package/badge.svg)\n![NPM](https://img.shields.io/npm/l/use-material-ui-dialog)\n[![npm](https://img.shields.io/npm/v/use-material-ui-dialog)](https://www.npmjs.com/package/use-material-ui-dialog)\n\nReact hook for Material-UI dialog.\n\n## Installation\n\n```shell\nyarn add use-material-ui-dialog\n```\n\n## Usage\n\nWrap your app inside the ConfirmProvider component.\n\n```typescript jsx\nimport React from 'react'\nimport { DialogProvider } from 'use-material-ui-dialog'\n\nconst App = () => {\n  return (\n    <DialogProvider>\n      {/* ... */}\n    </DialogProvider>\n  )\n}\n\nexport default App\n```\n\nCall the `useDialog` hook in the components.\n\n```typescript jsx\nimport React from 'react'\nimport { Button } from '@material-ui/core'\nimport { useDialog } from 'use-material-ui-dialog'\n\nexport const MyComponent: React.FunctionComponent = () => {\n  const dialog = useDialog()\n\n  const handleClick = () => {\n    dialog.openAlert({\n      title: 'ALERT',\n      message: 'this is alert',\n      color: 'secondary'\n    })\n  }\n\n  return (\n    <Button onClick={handleClick}>\n      Click Me\n    </Button>\n  )\n}\n```\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.3-beta13","dist":{"shasum":"82796b6531cd99ccd7ee769f489a905672a08879","integrity":"sha512-nmofKzv1Nk/H3fMgW0pP3MlyRzlszCpnBUbilti7KLb6byknBW1VA/usZOJiQUgtD8x2bn0nzTgS+vv5unPApQ==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.3-beta13.tgz","fileCount":47,"unpackedSize":27109,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeze/eCRA9TVsSAnZWagAAmmQP/jcE6HUbbgov7j9PHIG6\nVaO18m8lYWfobU5B5GHv6xqacNYecMMyacw9AOGdIb5mAmqCmSN0w1B+MA6H\n435wMqokQhaeJn1h3Ffm7oZAqXHR5e6VMBLcWrYJikKP5m1t3cH6Fo3ApHnC\nD2fwDHs4d8Dq38iWpOfj/61iRTn/fjanEqYu3IzuL4Q0VWR2tSOhH6iPHY6S\nD1bH6OcwE0XsTSP1oRaFdluGNnVUF7oEsTmJvYp0YsEyF16eMYr/1b6YAMg5\n3dGcKcO6DsZEIe8BcXcH/96/B5YVnbnsBufWXRVb86Oe5J7HTujeCAlWsIUy\nHRUQXdizBB7IbxR3leXfbELueKErl5T0w60kkMIwjixmcB2YGqJeDo7WXzbz\nOECsj3kUluWwlrYZyp0J7sfqsrx/hivCRUQXlKs44OXqCXc8tW4HOY90eEuT\nvAez3N1WKgyqzIr1g2CbhoKGHcWUHDzErZHWjjkk+7AagZqlWNbi94RMELul\n/MGNn7ltGhthHMWZRIfnyMaBqoFTmIHK6koVSHdLqK/jyomoqCNrnZb7u9EG\ng7DxLTw4KosoC2VgjHUQtpFaDMYwZPhKVkY2a4W5J+rXg1oSgmlrwtMbuePS\nVEvAXaXVLaM6rJj0dlBhO2eOeZwmCGhw74Un7AH9peErNVqrZNQ9uh/0zGZe\nToeD\r\n=iJyD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWPtMbGzm9aHQ2lD44eE+JB83C354x4LMhCTxvqGEK4gIhAI8RXD0naDLN1YiFK9RpirE/sVoxIfojjXdoUzOXnEbq"}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.3-beta13_1590554589736_0.71792808022229"},"_hasShrinkwrap":false},"1.1.3-beta14":{"name":"use-material-ui-dialog","version":"1.1.3-beta14","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"readmeFilename":"README.md","readme":"# use-material-ui-dialog\n\n![Node.js Package](https://github.com/darrenfang/use-material-ui-dialog/workflows/Node.js%20Package/badge.svg)\n![NPM](https://img.shields.io/npm/l/use-material-ui-dialog)\n[![npm](https://img.shields.io/npm/v/use-material-ui-dialog)](https://www.npmjs.com/package/use-material-ui-dialog)\n\nReact hook for Material-UI dialog.\n\n## Installation\n\n```shell\nyarn add use-material-ui-dialog\n```\n\n## Usage\n\nWrap your app inside the ConfirmProvider component.\n\n```typescript jsx\nimport React from 'react'\nimport { DialogProvider } from 'use-material-ui-dialog'\n\nconst App = () => {\n  return (\n    <DialogProvider>\n      {/* ... */}\n    </DialogProvider>\n  )\n}\n\nexport default App\n```\n\nCall the `useDialog` hook in the components.\n\n```typescript jsx\nimport React from 'react'\nimport { Button } from '@material-ui/core'\nimport { useDialog } from 'use-material-ui-dialog'\n\nexport const MyComponent: React.FunctionComponent = () => {\n  const dialog = useDialog()\n\n  const handleClick = () => {\n    dialog.openAlert({\n      title: 'ALERT',\n      message: 'this is alert',\n      color: 'secondary'\n    })\n  }\n\n  return (\n    <Button onClick={handleClick}>\n      Click Me\n    </Button>\n  )\n}\n```\n","licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.3-beta14","dist":{"shasum":"8e38fab938b003fc8cca2104bf10d0798e7de432","integrity":"sha512-YTCgx9GA9YUsWyjHUhEJpliwfQHZ0Q4gJ66ZVlAiW7OzLowlwmZ5dcYvAr22YOPuLydjG6wh1yiT4Adn3Tsfww==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.3-beta14.tgz","fileCount":47,"unpackedSize":27193,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezfX6CRA9TVsSAnZWagAA7ukQAJhfXvgdIdkTDDzH56W0\n7NxcU9wZbI2Uxvg8h/j8DqpAg2jXQ//lXjJSFujSt6PgvnYvCNOf8/lmFE54\nKBcWKW1LRji6QlsZBiGjw/idbQuOEuEvYbGyz+7AOjXjb9oBk9C61Q5arjGk\nY5be/rY5AmwOheFkEh3fCuGQsql9Fo1XuJfZ1ojTi+nhnZt9u/noLNPllpp9\nKRAheAgKp1k6wG8ROiW6t1W9vNHjCwfRK06tdOAFrQ28lMdaaaMHliaDU6G9\n+k9c7BPutLIKEd3ltWyIsmYYXPDOpW5RBaYtRSmpPyHWEEj056NKADXmqqao\nGR616d9xteXztNQX3wLRjPUiQ6NVxRBCMSQ/s9/CJN4VI7YUYiyBX9OBTjai\nyeUgjnO0qQGKj0rei4VCMS23KoR2bIHfw+X+nJqI0WWoSlDXHXVaXIZfD9xF\nPr5kJDIozHXWPyBJGfhf/14ncuwaxjrYKo6z2IIBhLs+K6D77tWDw9jpJdsu\nq1tOHss9tRa9fUPVEF4+mnfSG/lW/fSGlx7XyNC/+TWHvkGyzV1ZTVjszGJ5\nCOrYR/uhUcGboTNZZmqvx3b8Mf601vq6g12p2j+vAZA02A5H3z1Bm2CMzINW\nfpwwDfxegDdg5gUMM4Hh2vqw+/GL+jASdpY54PYB/p7UhP9Mg7Q46KtFk8ly\nKyZ4\r\n=mTb7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBtXM+LyzX6qjbe+KV/2ic93Ujc968F1YPW2hfwVrTc0AiEA5O1YSu77iGh0rVc8SExL1Yk0LA5oIXii8ev6RpEWOhY="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.3-beta14_1590556154231_0.446989563056738"},"_hasShrinkwrap":false},"1.1.3":{"name":"use-material-ui-dialog","version":"1.1.3","description":"React hook for Material-UI dialog.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","scripts":{"build":"rm -rf ./dist && tsc --build tsconfig.json"},"peerDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"dependencies":{"tslib":"^1.11.1"},"devDependencies":{"@material-ui/core":"^4.7.2","react":"16.12.0","react-dom":"16.12.0"},"licenseText":"MIT License\n\nCopyright (c) 2020 Darren Fang\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"use-material-ui-dialog@1.1.3","dist":{"shasum":"6b84dbd0850b2eb911adef6ac1b462a9416dfa74","integrity":"sha512-MmZfjv+/ZjES1waDUyevEzMG0ZrGVD1RWRniEM/hBUmwuwxvFUYZvGr8GvZKDU/fxaa5tnW7eTk+0gV6XQgChQ==","tarball":"https://registry.npmjs.org/use-material-ui-dialog/-/use-material-ui-dialog-1.1.3.tgz","fileCount":47,"unpackedSize":28276,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezmNKCRA9TVsSAnZWagAA/BoP/R3kFy4x0fi5VbbxbI44\nKgSZ4lLW61QG9hbs5xYGvX7I06ye4CU8l5qfpaUWCzD4tc/uonM7ALC9uJeY\nllMUaAYNPTwP6JGkissVSL2QDhLWbGeQjEwAM9V9szVL9FQWLvSKs0Uo7XRe\nC4DqHAbFXXsshlx0D5DJBp6kyAoj+Rpw0cfpV4GxBtj22+DI7okZAg6w1y19\npjh6+gW9c20PXN4WT3Rxp7W4oqRb/p9TuPCIbt3LuccTP1DZojJL8h+PNnQT\nHXhm3rQ/Lqh9yOATcQZTE+KfNeY/V40EwEJx9rt1uljR4CxsU9o4H3OcwsDW\no9p/vxf6Z1CUXFz1bJo1nV5JeG0IheUUOsnoinfFhFalY58qA1X1Ey+PM1EL\nzNazZYs27Ucb4Jm76pF02MC1PWzSPQaLnoKMdljL6j+1C7a2SBmF47j0vIRt\nSJ8EKR2gP8zpT2z6lkZolcfX+lE948h7jKiA0cW+3MvLlHk0mwraVz/p+IoP\nO4jAzQp8f9L1o9FdSBAE+62ZLGb5jr339Co8Cb2/k1HyGb6RTXYXL5fp3yWK\nmuA1AKgjGVTlu09bb57rf1eB92adexX9/uMVZ9DXX2WS359/omKCjY/KhrIC\nFzGY/f6kVozw6l7RbkecQk7hWvy8pRamFmiA7XUk5OL+8C2hdsS38FIgYVzI\n1Hi7\r\n=3QSG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGDX/debx91C7mE0ZXBQeaJW915yLyK02d1P6CReN4oeAiB84SSlFbyo8oHwK3sCulele7WIvTrq+6KUaft9PuACpA=="}]},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"_npmUser":{"name":"darrenfang","email":"darrenfang@qq.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/use-material-ui-dialog_1.1.3_1590584137545_0.5798907701418115"},"_hasShrinkwrap":false}},"time":{"created":"2020-03-25T12:47:53.375Z","1.0.0-alpha1":"2020-03-25T12:47:53.500Z","modified":"2022-05-22T22:20:05.519Z","1.0.0-alpha2":"2020-03-25T12:52:43.910Z","1.0.0-alpha3":"2020-03-25T12:55:53.035Z","1.0.0-alpha4":"2020-03-25T13:03:40.483Z","1.0.0-alpha5":"2020-03-25T13:07:23.825Z","1.0.0-alpha6":"2020-03-25T13:15:22.597Z","1.0.0-alpha7":"2020-03-25T13:20:09.977Z","1.0.0-alpha8":"2020-03-25T13:35:26.087Z","1.0.0":"2020-03-25T13:52:05.646Z","1.0.1":"2020-03-25T15:10:29.097Z","1.1.0-beta1":"2020-04-12T02:23:11.781Z","1.1.0-beta2":"2020-04-12T02:24:05.912Z","1.1.0-beta3":"2020-04-12T02:34:23.583Z","1.1.0-beta4":"2020-04-12T02:39:45.366Z","1.1.0":"2020-04-12T02:53:01.980Z","1.1.1":"2020-04-21T06:13:22.947Z","1.1.2-beta1":"2020-04-21T06:25:39.460Z","1.1.2":"2020-04-21T06:31:21.176Z","1.1.3-beta1":"2020-04-28T15:24:33.201Z","1.1.3-beta2":"2020-04-28T15:35:17.173Z","1.1.3-beta3":"2020-04-28T15:40:44.221Z","1.1.3-beta4":"2020-04-28T16:07:21.766Z","1.1.3-beta5":"2020-04-28T16:12:53.029Z","1.1.3-beta6":"2020-04-28T16:22:26.547Z","1.1.3-beta7":"2020-04-30T08:48:32.985Z","1.1.3-beta8":"2020-04-30T09:01:33.110Z","1.1.3-beta9":"2020-04-30T09:12:47.670Z","1.1.3-beta10":"2020-04-30T09:16:02.388Z","1.1.3-beta11":"2020-04-30T09:21:16.108Z","1.1.3-beta12":"2020-04-30T16:25:14.154Z","1.1.3-beta13":"2020-05-27T04:43:09.901Z","1.1.3-beta14":"2020-05-27T05:09:14.414Z","1.1.3":"2020-05-27T12:55:37.662Z"},"maintainers":[{"name":"darrenfang","email":"darrenfang@qq.com"}],"description":"React hook for Material-UI dialog.","repository":{"type":"git","url":"https://github.com/darrenfang/use-material-ui-dialog.git"},"author":{"name":"Darren Fang","email":"idarrenfang@gmail.com"},"license":"MIT","readme":"# use-material-ui-dialog\n\n![Node.js Package](https://github.com/darrenfang/use-material-ui-dialog/workflows/Node.js%20Package/badge.svg)\n![NPM](https://img.shields.io/npm/l/use-material-ui-dialog)\n[![npm](https://img.shields.io/npm/v/use-material-ui-dialog)](https://www.npmjs.com/package/use-material-ui-dialog)\n\nReact hook for Material-UI dialog.\n\n## Installation\n\n```shell\nyarn add use-material-ui-dialog\n```\n\n## Usage\n\nWrap your app inside the DialogProvider component.\n\n```typescript jsx\nimport React from 'react'\nimport { DialogProvider } from 'use-material-ui-dialog'\n\nconst App = () => {\n  return (\n    <DialogProvider>\n      {/* ... */}\n    </DialogProvider>\n  )\n}\n\nexport default App\n```\n\nCall the `useDialog` hook in the components.\n\n```typescript jsx\nimport React from 'react'\nimport { Button } from '@material-ui/core'\nimport { useDialog } from 'use-material-ui-dialog'\n\nexport const MyComponent: React.FunctionComponent = () => {\n  const dialog = useDialog()\n\n  const handleClick = () => {\n    dialog.openAlert({\n      title: 'ALERT',\n      message: 'this is alert',\n      color: 'secondary'\n    })\n  }\n\n  return (\n    <Button onClick={handleClick}>\n      Click Me\n    </Button>\n  )\n}\n```\n\nUse the `DialogContext.Provider` object in the components.\n\n```typescript jsx\nimport React from 'react'\nimport { AppProps } from 'next/app'\nimport { DialogProvider } from 'use-material-ui-dialog'\n\nexport default class Welcome extends React.Component {\n  constructor(props: AppProps) {\n    super(props)\n    this.context = null\n  }\n\n  componentDidMount() {\n    this.context.openMessage({\n      title: 'ALERT',\n      message: 'this is alert'\n    })\n  }\n\n  render() {\n    return (\n      <DialogProvider\n        context={(context) => this.context = context}\n      >\n      </DialogProvider>\n    )\n  }\n}\n```\n","readmeFilename":"README.md"}