{"_id":"@croz/nrich-notification-mui","_rev":"11-a20d75faa9608b547a41b7af054e5215","time":{"created":"2022-11-17T15:20:23.546Z","1.0.0":"2022-11-15T12:20:19.320Z","modified":"2024-01-31T14:54:55.621Z","1.0.1":"2022-11-15T13:32:25.302Z","1.0.2":"2022-11-15T14:23:06.815Z","1.0.9":"2022-11-17T15:20:23.900Z","1.1.0":"2023-10-20T12:18:46.415Z","1.1.1":"2023-10-20T13:06:26.870Z"},"name":"@croz/nrich-notification-mui","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.9":{"name":"@croz/nrich-notification-mui","description":"Contains the UI implementation of notifications for the MUI component library","version":"1.0.9","author":{"name":"CROZ"},"bugs":{"url":"https://github.com/croz-ltd/nrich-frontend/issues"},"devDependencies":{"@croz/nrich-jest-config":"*","@croz/nrich-tsconfig":"*","@croz/nrich-tsup-config":"*","@emotion/react":"^11.9.0","@emotion/styled":"^11.8.1","@mui/material":"^5.0.0","@testing-library/dom":"^8.13.0","@testing-library/jest-dom":"^5.16.4","@testing-library/react":"^13.3.0","@testing-library/user-event":"^13.5.0","@types/jest":"^28.1.0","eslint":"^8.2.0","eslint-config-nrich":"*","jest":"^28.1.0","react":"^18.1.0","react-dom":"^18.1.0","tsup":"^6.5.0"},"homepage":"https://github.com/croz-ltd/nrich-frontend/tree/master/libs/notification/mui#readme","keywords":["croz","nrich","nrich-notification","react","typescript","zustand"],"license":"Apache-2.0","main":"dist/index.js","module":"dist/index.esm.js","peerDependencies":{"@croz/nrich-notification-core":"^1.0.0","@mui/material":"^5.0.0","react":">=16.8.0","react-dom":">=16.8.0"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/croz-ltd/nrich-frontend.git","directory":"libs/notification/mui"},"scripts":{"build":"tsup","clean":"rm -rf .turbo && rm -rf dist","lint":"eslint . --ext .ts,.tsx","test":"jest"},"types":"dist/index.d.ts","gitHead":"8636daf98f067ffc5b4385e61ec0650373507719","_id":"@croz/nrich-notification-mui@1.0.9","_nodeVersion":"16.14.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-d7VJ3c3mSpUPoS+Rhcg476U493FAvv38WukohN8yz+D81ZPw/JUYE7aSQeBZWNGG072brw7R6B8udafPorHPug==","shasum":"446f91e2e8c66cce500af36bf85f7d4b571ed956","tarball":"https://registry.npmjs.org/@croz/nrich-notification-mui/-/nrich-notification-mui-1.0.9.tgz","fileCount":7,"unpackedSize":22842,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEoXlWzFGZn/Y8Ap/YNDlnGAIQlTwQz87izfdImV3BwfAiAeSkPNBEjjN93iQVZ3myMrSzIo7A8wZk47TXHsZRfNOg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjdlE3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoyYQ//XxLt/0mOlcA7IM3niyn6neeg3L1dHf6QBFPbc5pPpF+HEJ5K\r\n3cqNr1Pq0xhrJvqquU7MOYOqnk0B5XvJKMBSH2MQBpyIbsVt9Vq3mi5n5CcK\r\nmA14PR9IZ6Y6vzMdqaJE583SVW6T7YSfV0jtQXP6gf+OKZe/yolKPw2gM4xz\r\nd5QeQR0s15/0THGPX9WHOx3Yj/ganNcken4KxlHp/rAwXBOsLXM1Y18oCDFb\r\nZnVm9XXUg1KqkvrXFPXaecdpuy2AzFC2LeEWz2TZjZDDADTCPlbTbJw8tZBI\r\nl9LZeDj7/zVILRWr8j2d3PmR1+jBEWETCCZ22fLsCQ3g3X6ysOngjJsPx3XS\r\ntWng/Wx9Qdx15qeD5lKFc7iriblIxuNuqzmH+Z65LJXEwMMwNPmDuOVSABhK\r\nUy+cTdBYGOIca3PZ17XCg/FVeaOcfaYyVqMdJxgtHOxsb70cvVCcBKHWY0sa\r\n6DeqKJQuk2aK+k1NGilqiMoLdA7SevAe7TFQJBxj5j8vsKfff4irX6XpwtEY\r\nawyDeAp1NNHDpCbOiwMiJCH+xXHt7xUGDQGsefjNxxrzMAHvT8Fvh8Mqqtko\r\nEP12Cr8IjPENNAvmb/Aw3g4H7Z++fYNwg/y0LDihYL/3oH8KO+/b8KroFbiF\r\nEavVgNgY9UIKkMYhAtXCI40NapEbC0GwvLk=\r\n=60JA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dmuharemagic","email":"dmuharemagic@croz.net"},"directories":{},"maintainers":[{"name":"dmuharemagic","email":"dmuharemagic@croz.net"},{"name":"jtomic","email":"jtomic@croz.net"},{"name":"ivankrnic","email":"ikrnic@croz.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nrich-notification-mui_1.0.9_1668698423687_0.3245577856012001"},"_hasShrinkwrap":false},"1.1.0":{"name":"@croz/nrich-notification-mui","description":"Contains the UI implementation of notifications for the MUI component library","version":"1.1.0","author":{"name":"CROZ"},"bugs":{"url":"https://github.com/croz-ltd/nrich-frontend/issues"},"devDependencies":{"@croz/nrich-jest-config":"*","@croz/nrich-tsconfig":"*","@croz/nrich-tsup-config":"*","@emotion/react":"^11.9.0","@emotion/styled":"^11.8.1","@mui/material":"^5.0.0","@testing-library/dom":"^8.13.0","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^13.4.0","@testing-library/user-event":"^13.5.0","@types/jest":"^28.1.0","eslint":"^8.2.0","eslint-config-nrich":"*","jest":"^28.1.0","react":"^18.1.0","react-dom":"^18.1.0","tsup":"^6.5.0"},"homepage":"https://github.com/croz-ltd/nrich-frontend/tree/master/libs/notification/mui#readme","keywords":["croz","nrich","nrich-notification","react","typescript","zustand"],"license":"Apache-2.0","main":"dist/index.js","module":"dist/index.mjs","peerDependencies":{"@croz/nrich-notification-core":"^1.0.0","@mui/material":"^5.0.0","react":">=16.8.0","react-dom":">=16.8.0"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/croz-ltd/nrich-frontend.git","directory":"libs/notification/mui"},"scripts":{"build":"tsup","clean":"rm -rf .turbo && rm -rf dist","lint":"eslint . --ext .ts,.tsx","test":"jest"},"types":"dist/index.d.ts","gitHead":"2d306cb9dca84684c047dad7380de0f4e12febce","_id":"@croz/nrich-notification-mui@1.1.0","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-ouwMkC7xVL8iI5dPmztF6dP7knxcZ63A/Un+F7a6xB4Aa9J7jD4kFCLK8LdRcRGDK8PVXixDYlKa3ifNV2lqoQ==","shasum":"9f0dde43b700a57ad4e2fef8a26586334f26bd73","tarball":"https://registry.npmjs.org/@croz/nrich-notification-mui/-/nrich-notification-mui-1.1.0.tgz","fileCount":7,"unpackedSize":23480,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBumItFLYmpf2bq88ie0r9N2BkKFHhMYnJimszfGZEgRAiEA9UIssUXeRaCcn4PaNARB8rHv87kIvtzfJb2drhS79jY="}]},"_npmUser":{"name":"jtomic","email":"jtomic@croz.net"},"directories":{},"maintainers":[{"name":"dmuharemagic","email":"dmuharemagic@croz.net"},{"name":"jtomic","email":"jtomic@croz.net"},{"name":"ivankrnic","email":"ikrnic@croz.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nrich-notification-mui_1.1.0_1697804326125_0.6635071777774391"},"_hasShrinkwrap":false},"1.1.1":{"name":"@croz/nrich-notification-mui","description":"Contains the UI implementation of notifications for the MUI component library","version":"1.1.1","author":{"name":"CROZ"},"bugs":{"url":"https://github.com/croz-ltd/nrich-frontend/issues"},"devDependencies":{"@croz/nrich-jest-config":"*","@croz/nrich-tsconfig":"*","@croz/nrich-tsup-config":"*","@emotion/react":"^11.9.0","@emotion/styled":"^11.8.1","@mui/material":"^5.0.0","@testing-library/dom":"^8.13.0","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^13.4.0","@testing-library/user-event":"^13.5.0","@types/jest":"^28.1.0","eslint":"^8.2.0","eslint-config-nrich":"*","jest":"^28.1.0","react":"^18.1.0","react-dom":"^18.1.0","tsup":"^6.5.0"},"homepage":"https://github.com/croz-ltd/nrich-frontend/tree/master/libs/notification/mui#readme","keywords":["croz","nrich","nrich-notification","react","typescript","zustand"],"license":"Apache-2.0","main":"dist/index.js","module":"dist/index.mjs","peerDependencies":{"@croz/nrich-notification-core":"^1.0.0","@mui/material":"^5.0.0","react":">=16.8.0","react-dom":">=16.8.0"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/croz-ltd/nrich-frontend.git","directory":"libs/notification/mui"},"scripts":{"build":"tsup","clean":"rm -rf .turbo && rm -rf dist","lint":"eslint . --ext .ts,.tsx","test":"jest"},"types":"dist/index.d.ts","_id":"@croz/nrich-notification-mui@1.1.1","gitHead":"de4ecdf1c7e6115cd0b414dbb9d46f3af1634178","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-a78Hc6U5HeWIrl6TPr4qb4r/seIZ/IodqWgg3WJh7PxK3q/WKajDlGLEdLKIKHXTeM7tEDQDYOKVGfIGMTFzuA==","shasum":"632c62b5987d90644f77f3ee29225bb6fea5a924","tarball":"https://registry.npmjs.org/@croz/nrich-notification-mui/-/nrich-notification-mui-1.1.1.tgz","fileCount":7,"unpackedSize":22839,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNS2NVTdy8kBwLF0gUGc5YSytpITTCT06bBurTevS+PAIgWh16Zg45uZdw5eN1Q3fRy0iQiR6d0iquW+u8MGHLFB8="}]},"_npmUser":{"name":"dmuharemagic","email":"dmuharemagic@croz.net"},"directories":{},"maintainers":[{"name":"dmuharemagic","email":"dmuharemagic@croz.net"},{"name":"jtomic","email":"jtomic@croz.net"},{"name":"ivankrnic","email":"ikrnic@croz.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nrich-notification-mui_1.1.1_1697807186555_0.6360176240307447"},"_hasShrinkwrap":false}},"maintainers":[{"email":"denis.jajcevic+npmjs@gmail.com","name":"djajcevic"},{"email":"jtomic@croz.net","name":"jtomic"},{"email":"ikrnic@croz.net","name":"ivankrnic"}],"description":"Contains the UI implementation of notifications for the MUI component library","homepage":"https://github.com/croz-ltd/nrich-frontend/tree/master/libs/notification/mui#readme","keywords":["croz","nrich","nrich-notification","react","typescript","zustand"],"repository":{"type":"git","url":"git+https://github.com/croz-ltd/nrich-frontend.git","directory":"libs/notification/mui"},"author":{"name":"CROZ"},"bugs":{"url":"https://github.com/croz-ltd/nrich-frontend/issues"},"license":"Apache-2.0","readme":"# @croz/nrich-notification-mui\n\n## Overview\n\n`@croz/nrich-notification-mui` is a [MUI](https://mui.com/) wrapper for the [@croz/nrich-notification-core](../core/README.md) module.\nFor the display of the notifications a `Snackbar` and `Alert` are used.\n\n## Setup\n\nTo use this module in your project run `npm install @croz/nrich-notification-mui` or `yarn add @croz/nrich-notification-mui`\n\n## Usage\n\n1. Add `Notifications` component on a part of your app, usually  on `App` or some other higher level component.\n\n```tsx\nimport { Notifications } from \"@croz/nrich-notification-mui\";\n\nconst App = () => {\n  return (\n    <div>\n      <Notifications autoClose={3000} position=\"top-right\"/>\n      {/* other components... */}\n    </div>\n  )\n}\n```\n\nAvailable props for the `Notifications` component are:\n\n| Prop name | Description                                                                                                                                                                           | Possible values                                                                           | Default value  |\n|-----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|----------------|\n| autoClose | The duration after which the notification closes <br> expressed in milliseconds. If left undefined, it doesn't close.                                                                 | number in milliseconds, or `undefined`                                                    | `undefined`    |\n| position  | Specifies the notification position on the page, <br> derived from a set of predefined positions available in [MUI](https://mui.com/material-ui/react-snackbar/#positioned-snackbars) | `top-left`, `top-center`, `top-right`, <br>`bottom-left`, `bottom-center`, `bottom-right` | `bottom-right` |\n\n\n","readmeFilename":"README.md"}