{"_id":"@a-faraji/realert-template-mui","_rev":"2-419cac88c8301215663a219d9eb946d9","name":"@a-faraji/realert-template-mui","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.2":{"name":"@a-faraji/realert-template-mui","version":"0.0.2","description":"The Material UI based template which can be used by @a-faraji/realert ","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/index.d.ts","type":"module","scripts":{"build":"rollup --config","clean":"rimraf dist","lint":"eslint src","prepare":"npm run clean && npm run build","test":"echo \"no test specified\" && exit 0"},"license":"MIT","author":{"name":"Ali Faraji","email":"ali.faraji90@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/a-faraji/realert-template-mui.git"},"bugs":{"url":"https://github.com/a-faraji/realert-template-mui/issues"},"keywords":["realert","react","reactjs","realert template"],"peerDependencies":{"@a-faraji/realert":"^0.0.4","@emotion/react":"^11.11.4","@emotion/styled":"^11.11.5","@mui/icons-material":"^5.15.18","@mui/material":"^5.15.18","react":"18","react-dom":"18"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^11.1.6","@types/react":"^18.3.2","@typescript-eslint/eslint-plugin":"^7.9.0","@typescript-eslint/parser":"^7.9.0","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-react":"^7.34.1","prettier":"^3.2.5","rollup":"^4.17.2","rollup-plugin-dts":"^6.1.1","rollup-plugin-peer-deps-external":"^2.2.4","typescript":"^5.4.5"},"_id":"@a-faraji/realert-template-mui@0.0.2","gitHead":"02ce5e8e9c1cedded7c87c845e0824fb5d6f61be","homepage":"https://github.com/a-faraji/realert-template-mui#readme","_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-6kbgvU7WsNQEtVd/iqtiUIbPNZTjfWOz1sw8XmNsdDJ2/WYyOObbnzp6wbTH+4Itua8Ub8nfR6RAAxiHVzUbZQ==","shasum":"d46c8cbbb2f872a99274fe774bcb97313c3d3bab","tarball":"https://registry.npmjs.org/@a-faraji/realert-template-mui/-/realert-template-mui-0.0.2.tgz","fileCount":16,"unpackedSize":61274,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@a-faraji%2frealert-template-mui@0.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGjRvb4UnLhcgi6rp1v+KsyzWM9UWAL7x+9UdEIVnjUoAiBF1pl5p+p723rybSaL7nY2OLQimKELlO57Rdpe9Et3wA=="}]},"_npmUser":{"name":"a-faraji","email":"ali.faraji90@gmail.com"},"directories":{},"maintainers":[{"name":"a-faraji","email":"ali.faraji90@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realert-template-mui_0.0.2_1716207148760_0.36781259054732174"},"_hasShrinkwrap":false},"0.0.3":{"name":"@a-faraji/realert-template-mui","version":"0.0.3","description":"The Material UI based template which can be used by @a-faraji/realert ","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/index.d.ts","type":"module","scripts":{"build":"rollup --config","clean":"rimraf dist","lint":"eslint src","prepare":"npm run clean && npm run build","test":"echo \"no test specified\" && exit 0"},"license":"MIT","author":{"name":"Ali Faraji","email":"ali.faraji90@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/a-faraji/realert-template-mui.git"},"bugs":{"url":"https://github.com/a-faraji/realert-template-mui/issues"},"keywords":["realert","react","reactjs","realert template"],"peerDependencies":{"@a-faraji/realert":"^0.0.4","@emotion/react":"^11.11.4","@emotion/styled":"^11.11.5","@mui/icons-material":"^5.15.18","@mui/material":"^5.15.18","react":"18","react-dom":"18"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^11.1.6","@types/react":"^18.3.2","@typescript-eslint/eslint-plugin":"^7.9.0","@typescript-eslint/parser":"^7.9.0","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-react":"^7.34.1","prettier":"^3.2.5","rollup":"^4.17.2","rollup-plugin-dts":"^6.1.1","rollup-plugin-peer-deps-external":"^2.2.4","typescript":"^5.4.5"},"_id":"@a-faraji/realert-template-mui@0.0.3","gitHead":"62edec36956643a9f16f36d06faef9788cdde18b","homepage":"https://github.com/a-faraji/realert-template-mui#readme","_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-2IdrTAi1icNsDVDSf9ZmEMyfyY2oILxWFBMvZDGbsER5+8D7heofTt5/jhyAZUm29/SKd9SsRPSSRRs5h9uL9w==","shasum":"7834e9def1173c504479a73a9381f91fb9e873cc","tarball":"https://registry.npmjs.org/@a-faraji/realert-template-mui/-/realert-template-mui-0.0.3.tgz","fileCount":16,"unpackedSize":61512,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@a-faraji%2frealert-template-mui@0.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFzXVFOw2cDSyvXqaTW6y5JbYuyRUsb0gL+sQ+VBcsXsAiAQz+JkdcKpoqijT7URum3IKNmbFMzR0iVqWqqaeysSbA=="}]},"_npmUser":{"name":"a-faraji","email":"ali.faraji90@gmail.com"},"directories":{},"maintainers":[{"name":"a-faraji","email":"ali.faraji90@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realert-template-mui_0.0.3_1716211527232_0.9936733084083462"},"_hasShrinkwrap":false},"0.0.4":{"name":"@a-faraji/realert-template-mui","version":"0.0.4","description":"The Material UI based template which can be used by @a-faraji/realert ","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/index.d.ts","type":"module","scripts":{"build":"rollup --config","clean":"rimraf dist","lint":"eslint src","prepare":"npm run clean && npm run build","test":"echo \"no test specified\" && exit 0"},"license":"MIT","author":{"name":"Ali Faraji","email":"ali.faraji90@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/a-faraji/realert-template-mui.git"},"bugs":{"url":"https://github.com/a-faraji/realert-template-mui/issues"},"keywords":["realert","react","reactjs","realert template"],"peerDependencies":{"@a-faraji/realert":"^0.0.5","@emotion/react":"^11.11.4","@emotion/styled":"^11.11.5","@mui/icons-material":"^5.15.18","@mui/material":"^5.15.18","react":"18","react-dom":"18"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^11.1.6","@types/react":"^18.3.2","@typescript-eslint/eslint-plugin":"^7.9.0","@typescript-eslint/parser":"^7.9.0","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","eslint-plugin-react":"^7.34.1","prettier":"^3.2.5","rollup":"^4.17.2","rollup-plugin-dts":"^6.1.1","rollup-plugin-peer-deps-external":"^2.2.4","rollup-plugin-postcss":"^4.0.2","typescript":"^5.4.5"},"_id":"@a-faraji/realert-template-mui@0.0.4","gitHead":"a470e460a49d9fb25baa46f307de85342029281f","homepage":"https://github.com/a-faraji/realert-template-mui#readme","_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-3JrNPD0BXzCJSaMZrUuzgRKsUb6+VJeElv8cMTzShjrqstRkl25w04ufcuWoWaiIMLKzxAwoSFBfn+v+CoOLtQ==","shasum":"5a227a6832c8cb452ef77341ebade8b2829c8d73","tarball":"https://registry.npmjs.org/@a-faraji/realert-template-mui/-/realert-template-mui-0.0.4.tgz","fileCount":17,"unpackedSize":65992,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@a-faraji%2frealert-template-mui@0.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCr43mVNqZNWywhiP/yCfwBBFP4Xz3DZ19PPJ+RRg/4/gIgMhBkzTFk0PJzxzPPb0Ws2ZP+Yev7UlFw806Gh5zg9mU="}]},"_npmUser":{"name":"a-faraji","email":"ali.faraji90@gmail.com"},"directories":{},"maintainers":[{"name":"a-faraji","email":"ali.faraji90@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/realert-template-mui_0.0.4_1716367323151_0.8430856043472652"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-20T12:12:28.648Z","0.0.2":"2024-05-20T12:12:28.898Z","modified":"2024-05-22T08:42:03.671Z","0.0.3":"2024-05-20T13:25:27.366Z","0.0.4":"2024-05-22T08:42:03.309Z"},"maintainers":[{"name":"a-faraji","email":"ali.faraji90@gmail.com"}],"description":"The Material UI based template which can be used by @a-faraji/realert ","homepage":"https://github.com/a-faraji/realert-template-mui#readme","keywords":["realert","react","reactjs","realert template"],"repository":{"type":"git","url":"git+https://github.com/a-faraji/realert-template-mui.git"},"author":{"name":"Ali Faraji","email":"ali.faraji90@gmail.com"},"bugs":{"url":"https://github.com/a-faraji/realert-template-mui/issues"},"license":"MIT","readme":"# Realert Template: MUI\n\n[![RealertTemplateMui Build](https://github.com/a-faraji/realert-template-mui/actions/workflows/build.yml/badge.svg)](https://github.com/a-faraji/realert-template-mui/actions/workflows/build.yml)\n\nThis is a template to be used with [Realert Package](https://github.com/a-faraji/realert).\n\n## Installation\n\n```shell\nnpm i @a-faraji/realert-template-mui\n```\n```shell\nyarn add @a-faraji/realert-template-mui\n```\n\n## Usage\n\nPass `RealertTemplateMui` as `template` prop to `RealertProvider`.\n\n```jsx\nimport React from 'react';\nimport { RealertProvider } from '@a-faraji/realert';\nimport { RealertTemplateMui } from '@a-faraji/realert-template-mui';\n\nexport default function App() {\n  return (\n    <RealertProvider template={RealertTemplateMui}>\n      {/* ... rest of your code */}\n    </RealertProvider>\n  );\n};\n```\n\nTo have typescript support for additional dialog props, define the type-aware hook.\n\n```tsx\nimport { useRealert, RealertTemplateMuiProps } from '@a-faraji/realert';\n\nconst useMuiRealert = useRealert<RealertTemplateMuiProps>;\n```\n\nThis new defined hook can be used like this:\n\n```tsx\n// inside a component\nconst alert = useMuiRealert();\n\nalert.show('This is a MUI alert!')\n```\n\n## API\n*Coming soon!*\n","readmeFilename":"README.md"}