diff --git a/package.json b/package.json index 554f3de..357e580 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "@jcoreio/toolchain-semantic-release": "^3.9.8", "@jcoreio/toolchain-typescript": "^3.9.8", "@mui/icons-material": "^5.10.16", - "@mui/material": "^5.0.0", + "@mui/material": "^5.15.18", "@mui/styles": "5.15.14", "@mui/types": "^7.2.2", "@testing-library/react": "^13.4.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 558b1e0..e727bd4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -24,22 +24,22 @@ dependencies: devDependencies: '@babel/eslint-parser': specifier: ^7.19.1 - version: 7.19.1(@babel/core@7.24.1)(eslint@8.57.0) + version: 7.19.1(@babel/core@7.24.5)(eslint@8.57.0) '@babel/node': specifier: ^7.20.5 - version: 7.20.5(@babel/core@7.24.1) + version: 7.20.5(@babel/core@7.24.5) '@babel/plugin-syntax-flow': specifier: ^7.14.5 - version: 7.18.6(@babel/core@7.24.1) + version: 7.18.6(@babel/core@7.24.5) '@babel/plugin-transform-react-jsx': specifier: ^7.14.9 - version: 7.19.0(@babel/core@7.24.1) + version: 7.19.0(@babel/core@7.24.5) '@emotion/react': specifier: ^11.10.5 - version: 11.10.5(@babel/core@7.24.1)(@types/react@18.0.26)(react@18.2.0) + version: 11.10.5(@babel/core@7.24.5)(@types/react@18.0.26)(react@18.2.0) '@emotion/styled': specifier: ^11.10.5 - version: 11.10.5(@babel/core@7.24.1)(@emotion/react@11.10.5)(@types/react@18.0.26)(react@18.2.0) + version: 11.10.5(@babel/core@7.24.5)(@emotion/react@11.10.5)(@types/react@18.0.26)(react@18.2.0) '@jcoreio/eslint-plugin-implicit-dependencies': specifier: ^1.1.1 version: 1.1.1 @@ -69,10 +69,10 @@ devDependencies: version: 3.9.8(eslint@8.57.0)(typescript@5.4.2) '@mui/icons-material': specifier: ^5.10.16 - version: 5.10.16(@mui/material@5.15.14)(@types/react@18.0.26)(react@18.2.0) + version: 5.10.16(@mui/material@5.15.18)(@types/react@18.0.26)(react@18.2.0) '@mui/material': - specifier: ^5.0.0 - version: 5.15.14(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(@types/react@18.0.26)(react-dom@18.2.0)(react@18.2.0) + specifier: ^5.15.18 + version: 5.15.18(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(@types/react@18.0.26)(react-dom@18.2.0)(react@18.2.0) '@mui/styles': specifier: 5.15.14 version: 5.15.14(@types/react@18.0.26)(react@18.2.0) @@ -108,7 +108,7 @@ devDependencies: version: 2.1.3 babel-loader: specifier: ^9.1.0 - version: 9.1.0(@babel/core@7.24.1)(webpack@5.75.0) + version: 9.1.0(@babel/core@7.24.5)(webpack@5.75.0) chai: specifier: ^4.3.7 version: 4.4.1 @@ -237,13 +237,21 @@ packages: picocolors: 1.0.0 dev: true + /@babel/code-frame@7.24.2: + resolution: {integrity: sha512-y5+tLQyV8pg3fsiln67BVLD1P13Eg4lh5RW9mF0zUuvLrv9uIQ4MCL+CRT+FTsBlBjcIan6PGsLcBN0m3ClUyQ==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/highlight': 7.24.5 + picocolors: 1.0.1 + dev: true + /@babel/compat-data@7.20.5: resolution: {integrity: sha512-KZXo2t10+/jxmkhNXc7pZTqRvSOIvVv/+lJwHS+B2rErwOyjuVRh60yVpb7liQ1U5t7lLJ1bz+t8tSypUZdm0g==} engines: {node: '>=6.9.0'} dev: true - /@babel/compat-data@7.24.1: - resolution: {integrity: sha512-Pc65opHDliVpRHuKfzI+gSA4zcgr65O4cl64fFJIWEEh8JoHIHh0Oez1Eo8Arz8zq/JhgKodQaxEwUPRtZylVA==} + /@babel/compat-data@7.24.4: + resolution: {integrity: sha512-vg8Gih2MLK+kOkHJp4gBEIkyaIi00jgWot2D9QOmmfLC8jINSOzmCLta6Bvz/JSBCqnegV0L80jhxkol5GWNfQ==} engines: {node: '>=6.9.0'} dev: true @@ -270,20 +278,20 @@ packages: - supports-color dev: true - /@babel/core@7.24.1: - resolution: {integrity: sha512-F82udohVyIgGAY2VVj/g34TpFUG606rumIHjTfVbssPg2zTR7PuuEpZcX8JA6sgBfIYmJrFtWgPvHQuJamVqZQ==} + /@babel/core@7.24.5: + resolution: {integrity: sha512-tVQRucExLQ02Boi4vdPp49svNGcfL2GhdTCT9aldhXgCJVAI21EtRfBettiuLUwce/7r6bFdgs6JFkcdTiFttA==} engines: {node: '>=6.9.0'} dependencies: '@ampproject/remapping': 2.3.0 - '@babel/code-frame': 7.24.1 - '@babel/generator': 7.24.1 + '@babel/code-frame': 7.24.2 + '@babel/generator': 7.24.5 '@babel/helper-compilation-targets': 7.23.6 - '@babel/helper-module-transforms': 7.23.3(@babel/core@7.24.1) - '@babel/helpers': 7.24.1 - '@babel/parser': 7.24.1 + '@babel/helper-module-transforms': 7.24.5(@babel/core@7.24.5) + '@babel/helpers': 7.24.5 + '@babel/parser': 7.24.5 '@babel/template': 7.24.0 - '@babel/traverse': 7.24.1 - '@babel/types': 7.24.0 + '@babel/traverse': 7.24.5 + '@babel/types': 7.24.5 convert-source-map: 2.0.0 debug: 4.3.4 gensync: 1.0.0-beta.2 @@ -293,14 +301,14 @@ packages: - supports-color dev: true - /@babel/eslint-parser@7.19.1(@babel/core@7.24.1)(eslint@8.57.0): + /@babel/eslint-parser@7.19.1(@babel/core@7.24.5)(eslint@8.57.0): resolution: {integrity: sha512-AqNf2QWt1rtu2/1rLswy6CDP7H9Oh3mMhk177Y67Rg8d7RD9WfOLLv8CGn6tisFvS2htm86yIe1yLF6I1UDaGQ==} engines: {node: ^10.13.0 || ^12.13.0 || >=14.0.0} peerDependencies: '@babel/core': '>=7.11.0' eslint: ^7.5.0 || ^8.0.0 dependencies: - '@babel/core': 7.24.1 + '@babel/core': 7.24.5 '@nicolo-ribaudo/eslint-scope-5-internals': 5.1.1-v1 eslint: 8.57.0 eslint-visitor-keys: 2.1.0 @@ -340,6 +348,16 @@ packages: jsesc: 2.5.2 dev: true + /@babel/generator@7.24.5: + resolution: {integrity: sha512-x32i4hEXvr+iI0NEoEfDKzlemF8AmtOP8CcrRaEcpzysWuoEb1KknpcvMsHKPONoKZiDuItklgWhB18xEhr9PA==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.24.5 + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 + jsesc: 2.5.2 + dev: true + /@babel/helper-annotate-as-pure@7.18.6: resolution: {integrity: sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA==} engines: {node: '>=6.9.0'} @@ -372,7 +390,7 @@ packages: resolution: {integrity: sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==} engines: {node: '>=6.9.0'} dependencies: - '@babel/compat-data': 7.24.1 + '@babel/compat-data': 7.24.4 '@babel/helper-validator-option': 7.23.5 browserslist: 4.23.0 lru-cache: 5.1.1 @@ -485,11 +503,11 @@ packages: '@babel/types': 7.24.0 dev: true - /@babel/helper-module-imports@7.24.1: - resolution: {integrity: sha512-HfEWzysMyOa7xI5uQHc/OcZf67/jc+xe/RZlznWQHhbb8Pg1SkRdbK4yEi61aY8wxQA7PkSfoojtLQP/Kpe3og==} + /@babel/helper-module-imports@7.24.3: + resolution: {integrity: sha512-viKb0F9f2s0BCS22QSF308z/+1YWKV/76mwt61NBzS5izMzDPwdq1pTrzf+Li3npBWX9KdQbkeCt1jSAM7lZqg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.24.0 + '@babel/types': 7.24.5 dev: true /@babel/helper-module-transforms@7.20.2: @@ -508,18 +526,18 @@ packages: - supports-color dev: true - /@babel/helper-module-transforms@7.23.3(@babel/core@7.24.1): - resolution: {integrity: sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==} + /@babel/helper-module-transforms@7.24.5(@babel/core@7.24.5): + resolution: {integrity: sha512-9GxeY8c2d2mdQUP1Dye0ks3VDyIMS98kt/llQ2nUId8IsWqTF0l1LkSX0/uP7l7MCDrzXS009Hyhe2gzTiGW8A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.24.1 + '@babel/core': 7.24.5 '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-module-imports': 7.24.1 - '@babel/helper-simple-access': 7.22.5 - '@babel/helper-split-export-declaration': 7.22.6 - '@babel/helper-validator-identifier': 7.22.20 + '@babel/helper-module-imports': 7.24.3 + '@babel/helper-simple-access': 7.24.5 + '@babel/helper-split-export-declaration': 7.24.5 + '@babel/helper-validator-identifier': 7.24.5 dev: true /@babel/helper-optimise-call-expression@7.18.6: @@ -569,11 +587,11 @@ packages: '@babel/types': 7.24.0 dev: true - /@babel/helper-simple-access@7.22.5: - resolution: {integrity: sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==} + /@babel/helper-simple-access@7.24.5: + resolution: {integrity: sha512-uH3Hmf5q5n7n8mz7arjUlDOCbttY/DW4DYhE6FUsjKJ/oYC1kQQUvwEQWxRwUpX9qQKRXeqLwWxrqilMrf32sQ==} engines: {node: '>=6.9.0'} dependencies: - '@babel/types': 7.24.0 + '@babel/types': 7.24.5 dev: true /@babel/helper-skip-transparent-expression-wrappers@7.20.0: @@ -597,6 +615,13 @@ packages: '@babel/types': 7.24.0 dev: true + /@babel/helper-split-export-declaration@7.24.5: + resolution: {integrity: sha512-5CHncttXohrHk8GWOFCcCl4oRD9fKosWlIRgWm4ql9VYioKm52Mk2xsmoohvm7f3JoiLSM5ZgJuRaf5QZZYd3Q==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.24.5 + dev: true + /@babel/helper-string-parser@7.19.4: resolution: {integrity: sha512-nHtDoQcuqFmwYNYPz3Rah5ph2p8PFeFCsZk9A/48dPc/rGocJ5J3hAAZ7pb76VWX3fZKu+uEr/FhH5jLx7umrw==} engines: {node: '>=6.9.0'} @@ -617,6 +642,11 @@ packages: engines: {node: '>=6.9.0'} dev: true + /@babel/helper-validator-identifier@7.24.5: + resolution: {integrity: sha512-3q93SSKX2TWCG30M2G2kwaKeTYgEUp5Snjuj8qm729SObL6nbtUldAi37qbxkD5gg3xnBio+f9nqpSepGZMvxA==} + engines: {node: '>=6.9.0'} + dev: true + /@babel/helper-validator-option@7.18.6: resolution: {integrity: sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==} engines: {node: '>=6.9.0'} @@ -650,13 +680,13 @@ packages: - supports-color dev: true - /@babel/helpers@7.24.1: - resolution: {integrity: sha512-BpU09QqEe6ZCHuIHFphEFgvNSrubve1FtyMton26ekZ85gRGi6LrTF7zArARp2YvyFxloeiRmtSCq5sjh1WqIg==} + /@babel/helpers@7.24.5: + resolution: {integrity: sha512-CiQmBMMpMQHwM5m01YnrM6imUG1ebgYJ+fAIW4FZe6m4qHTPaRHti+R8cggAwkdz4oXhtO4/K9JWlh+8hIfR2Q==} engines: {node: '>=6.9.0'} dependencies: '@babel/template': 7.24.0 - '@babel/traverse': 7.24.1 - '@babel/types': 7.24.0 + '@babel/traverse': 7.24.5 + '@babel/types': 7.24.5 transitivePeerDependencies: - supports-color dev: true @@ -680,6 +710,16 @@ packages: picocolors: 1.0.0 dev: true + /@babel/highlight@7.24.5: + resolution: {integrity: sha512-8lLmua6AVh/8SLJRRVD6V8p73Hir9w5mJrhE+IPpILG31KKlI9iz5zmBYKcWPS59qSfgP9RaSBQSHHE81WKuEw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-validator-identifier': 7.24.5 + chalk: 2.4.2 + js-tokens: 4.0.0 + picocolors: 1.0.1 + dev: true + /@babel/node@7.20.5(@babel/core@7.20.5): resolution: {integrity: sha512-ElSr40UtumWE4fYYF1xfLP2C6b9nfS/rswK7YYpLo9HDGEXGXEAWZaGCxIirxGIDyoV0rbl6jV1LyFMQ6ZOQSA==} engines: {node: '>=6.9.0'} @@ -696,15 +736,15 @@ packages: v8flags: 3.2.0 dev: true - /@babel/node@7.20.5(@babel/core@7.24.1): + /@babel/node@7.20.5(@babel/core@7.24.5): resolution: {integrity: sha512-ElSr40UtumWE4fYYF1xfLP2C6b9nfS/rswK7YYpLo9HDGEXGXEAWZaGCxIirxGIDyoV0rbl6jV1LyFMQ6ZOQSA==} engines: {node: '>=6.9.0'} hasBin: true peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.24.1 - '@babel/register': 7.18.9(@babel/core@7.24.1) + '@babel/core': 7.24.5 + '@babel/register': 7.18.9(@babel/core@7.24.5) commander: 4.1.1 core-js: 3.36.1 node-environment-flags: 1.0.6 @@ -728,6 +768,14 @@ packages: '@babel/types': 7.24.0 dev: true + /@babel/parser@7.24.5: + resolution: {integrity: sha512-EOv5IK8arwh3LI47dz1b0tKUb/1uhHAnHJOrjgtQMIpu1uXd9mlFrJg9IUgGUgZ41Ch0K8REPTYpO7B76b4vJg==} + engines: {node: '>=6.0.0'} + hasBin: true + dependencies: + '@babel/types': 7.24.5 + dev: true + /@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@7.18.6(@babel/core@7.20.5): resolution: {integrity: sha512-Dgxsyg54Fx1d4Nge8UnvTrED63vrwOdPmyvPzlNN/boaliRP54pm3pGzZD1SJUwrBA+Cs/xdG8kXX6Mn/RfISQ==} engines: {node: '>=6.9.0'} @@ -990,13 +1038,13 @@ packages: '@babel/helper-plugin-utils': 7.20.2 dev: true - /@babel/plugin-syntax-flow@7.18.6(@babel/core@7.24.1): + /@babel/plugin-syntax-flow@7.18.6(@babel/core@7.24.5): resolution: {integrity: sha512-LUbR+KNTBWCUAqRG9ex5Gnzu2IOkt8jRJbHHXFT9q+L9zm7M/QQbEqXyw1n1pohYvOyWC8CjeyjrSaIwiYjK7A==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.24.1 + '@babel/core': 7.24.5 '@babel/helper-plugin-utils': 7.20.2 dev: true @@ -1029,13 +1077,13 @@ packages: '@babel/helper-plugin-utils': 7.20.2 dev: true - /@babel/plugin-syntax-jsx@7.18.6(@babel/core@7.24.1): + /@babel/plugin-syntax-jsx@7.18.6(@babel/core@7.24.5): resolution: {integrity: sha512-6mmljtAedFGTWu2p/8WIORGwy+61PLgOMPOdazc7YoJ9ZCWUyFy3A6CpPkRKLKD1ToAesxX8KGEViAiLo9N+7Q==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.24.1 + '@babel/core': 7.24.5 '@babel/helper-plugin-utils': 7.20.2 dev: true @@ -1435,17 +1483,17 @@ packages: '@babel/types': 7.24.0 dev: true - /@babel/plugin-transform-react-jsx@7.19.0(@babel/core@7.24.1): + /@babel/plugin-transform-react-jsx@7.19.0(@babel/core@7.24.5): resolution: {integrity: sha512-UVEvX3tXie3Szm3emi1+G63jyw1w5IcMY0FSKM+CRnKRI5Mr1YbCNgsSTwoTwKphQEG9P+QqmuRFneJPZuHNhg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.24.1 + '@babel/core': 7.24.5 '@babel/helper-annotate-as-pure': 7.18.6 '@babel/helper-module-imports': 7.18.6 '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-jsx': 7.18.6(@babel/core@7.24.1) + '@babel/plugin-syntax-jsx': 7.18.6(@babel/core@7.24.5) '@babel/types': 7.24.0 dev: true @@ -1738,13 +1786,13 @@ packages: source-map-support: 0.5.21 dev: true - /@babel/register@7.18.9(@babel/core@7.24.1): + /@babel/register@7.18.9(@babel/core@7.24.5): resolution: {integrity: sha512-ZlbnXDcNYHMR25ITwwNKT88JiaukkdVj/nG7r3wnuXkOTHc60Uy05PwMCPre0hSkY68E6zK3xz+vUJSP2jWmcw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: - '@babel/core': 7.24.1 + '@babel/core': 7.24.5 clone-deep: 4.0.1 find-cache-dir: 2.1.0 make-dir: 2.1.0 @@ -1765,6 +1813,13 @@ packages: regenerator-runtime: 0.14.1 dev: true + /@babel/runtime@7.24.5: + resolution: {integrity: sha512-Nms86NXrsaeU9vbBJKni6gXiEXZ4CVpYVzEjDH9Sb8vmZ3UljyA1GSOJl/6LGPO8EHLuSF9H+IxNXHPX8QHJ4g==} + engines: {node: '>=6.9.0'} + dependencies: + regenerator-runtime: 0.14.1 + dev: true + /@babel/template@7.18.10: resolution: {integrity: sha512-TI+rCtooWHr3QJ27kJxfjutghu44DLnasDMwpDqCXVTal9RLp3RSYNh4NdBrRP2cQAoG9A8juOQl6P6oZG4JxA==} engines: {node: '>=6.9.0'} @@ -1819,6 +1874,24 @@ packages: - supports-color dev: true + /@babel/traverse@7.24.5: + resolution: {integrity: sha512-7aaBLeDQ4zYcUFDUD41lJc1fG8+5IU9DaNSJAgal866FGvmD5EbWQgnEC6kO1gGLsX0esNkfnJSndbTXA3r7UA==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/code-frame': 7.24.2 + '@babel/generator': 7.24.5 + '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-function-name': 7.23.0 + '@babel/helper-hoist-variables': 7.22.5 + '@babel/helper-split-export-declaration': 7.24.5 + '@babel/parser': 7.24.5 + '@babel/types': 7.24.5 + debug: 4.3.4 + globals: 11.12.0 + transitivePeerDependencies: + - supports-color + dev: true + /@babel/types@7.20.5: resolution: {integrity: sha512-c9fst/h2/dcF7H+MJKZ2T0KjEQ8hY/BNnDk/H3XY8C4Aw/eWQXWn/lWntHF9ooUBnGmEvbfGrTgLWc+um0YDUg==} engines: {node: '>=6.9.0'} @@ -1837,6 +1910,15 @@ packages: to-fast-properties: 2.0.0 dev: true + /@babel/types@7.24.5: + resolution: {integrity: sha512-6mQNsaLeXTw0nxYUYu+NSa4Hx4BlF1x1x8/PMFbiR+GBSr+2DkECc69b8hgy2frEodNcvPffeH8YfWd3LI6jhQ==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-string-parser': 7.24.1 + '@babel/helper-validator-identifier': 7.24.5 + to-fast-properties: 2.0.0 + dev: true + /@colors/colors@1.5.0: resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} engines: {node: '>=0.1.90'} @@ -1849,14 +1931,14 @@ packages: engines: {node: '>=10.0.0'} dev: true - /@emotion/babel-plugin@11.10.5(@babel/core@7.24.1): + /@emotion/babel-plugin@11.10.5(@babel/core@7.24.5): resolution: {integrity: sha512-xE7/hyLHJac7D2Ve9dKroBBZqBT7WuPQmWcq7HSGb84sUuP4mlOWoB8dvVfD9yk5DHkU1m6RW7xSoDtnQHNQeA==} peerDependencies: '@babel/core': ^7.0.0 dependencies: - '@babel/core': 7.24.1 + '@babel/core': 7.24.5 '@babel/helper-module-imports': 7.18.6 - '@babel/plugin-syntax-jsx': 7.18.6(@babel/core@7.24.1) + '@babel/plugin-syntax-jsx': 7.18.6(@babel/core@7.24.5) '@babel/runtime': 7.20.6 '@emotion/hash': 0.9.0 '@emotion/memoize': 0.8.0 @@ -1911,7 +1993,7 @@ packages: resolution: {integrity: sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==} dev: true - /@emotion/react@11.10.5(@babel/core@7.24.1)(@types/react@18.0.26)(react@18.2.0): + /@emotion/react@11.10.5(@babel/core@7.24.5)(@types/react@18.0.26)(react@18.2.0): resolution: {integrity: sha512-TZs6235tCJ/7iF6/rvTaOH4oxQg2gMAcdHemjwLKIjKz4rRuYe1HJ2TQJKnAcRAfOUDdU8XoDadCe1rl72iv8A==} peerDependencies: '@babel/core': ^7.0.0 @@ -1923,9 +2005,9 @@ packages: '@types/react': optional: true dependencies: - '@babel/core': 7.24.1 + '@babel/core': 7.24.5 '@babel/runtime': 7.20.6 - '@emotion/babel-plugin': 11.10.5(@babel/core@7.24.1) + '@emotion/babel-plugin': 11.10.5(@babel/core@7.24.5) '@emotion/cache': 11.10.5 '@emotion/serialize': 1.1.1 '@emotion/use-insertion-effect-with-fallbacks': 1.0.0(react@18.2.0) @@ -1954,7 +2036,7 @@ packages: resolution: {integrity: sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA==} dev: true - /@emotion/styled@11.10.5(@babel/core@7.24.1)(@emotion/react@11.10.5)(@types/react@18.0.26)(react@18.2.0): + /@emotion/styled@11.10.5(@babel/core@7.24.5)(@emotion/react@11.10.5)(@types/react@18.0.26)(react@18.2.0): resolution: {integrity: sha512-8EP6dD7dMkdku2foLoruPCNkRevzdcBaY6q0l0OsbyJK+x8D9HWjX27ARiSIKNF634hY9Zdoedh8bJCiva8yZw==} peerDependencies: '@babel/core': ^7.0.0 @@ -1967,11 +2049,11 @@ packages: '@types/react': optional: true dependencies: - '@babel/core': 7.24.1 + '@babel/core': 7.24.5 '@babel/runtime': 7.20.6 - '@emotion/babel-plugin': 11.10.5(@babel/core@7.24.1) + '@emotion/babel-plugin': 11.10.5(@babel/core@7.24.5) '@emotion/is-prop-valid': 1.2.0 - '@emotion/react': 11.10.5(@babel/core@7.24.1)(@types/react@18.0.26)(react@18.2.0) + '@emotion/react': 11.10.5(@babel/core@7.24.5)(@types/react@18.0.26)(react@18.2.0) '@emotion/serialize': 1.1.1 '@emotion/use-insertion-effect-with-fallbacks': 1.0.0(react@18.2.0) '@emotion/utils': 1.2.0 @@ -2044,32 +2126,32 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@floating-ui/core@1.6.0: - resolution: {integrity: sha512-PcF++MykgmTj3CIyOQbKA/hDzOAiqI3mhuoN44WRCopIs1sgoDoU4oty4Jtqaj/y3oDU6fnVSm4QG0a3t5i0+g==} + /@floating-ui/core@1.6.2: + resolution: {integrity: sha512-+2XpQV9LLZeanU4ZevzRnGFg2neDeKHgFLjP6YLW+tly0IvrhqT4u8enLGjLH3qeh85g19xY5rsAusfwTdn5lg==} dependencies: - '@floating-ui/utils': 0.2.1 + '@floating-ui/utils': 0.2.2 dev: true - /@floating-ui/dom@1.6.3: - resolution: {integrity: sha512-RnDthu3mzPlQ31Ss/BTwQ1zjzIhr3lk1gZB1OC56h/1vEtaXkESrOqL5fQVMfXpwGtRwX+YsZBdyHtJMQnkArw==} + /@floating-ui/dom@1.6.5: + resolution: {integrity: sha512-Nsdud2X65Dz+1RHjAIP0t8z5e2ff/IRbei6BqFrl1urT8sDVzM1HMQ+R0XcU5ceRfyO3I6ayeqIfh+6Wb8LGTw==} dependencies: - '@floating-ui/core': 1.6.0 - '@floating-ui/utils': 0.2.1 + '@floating-ui/core': 1.6.2 + '@floating-ui/utils': 0.2.2 dev: true - /@floating-ui/react-dom@2.0.8(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-HOdqOt3R3OGeTKidaLvJKcgg75S6tibQ3Tif4eyd91QnIJWr0NLvoXFpJA/j8HqkFSL68GDca9AuyWEHlhyClw==} + /@floating-ui/react-dom@2.0.9(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-q0umO0+LQK4+p6aGyvzASqKbKOJcAHJ7ycE9CuUvfx3s9zTHWmGJTPOIlM/hmSBfUfg/XfY5YhLBLR/LHwShQQ==} peerDependencies: react: '>=16.8.0' react-dom: '>=16.8.0' dependencies: - '@floating-ui/dom': 1.6.3 + '@floating-ui/dom': 1.6.5 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: true - /@floating-ui/utils@0.2.1: - resolution: {integrity: sha512-9TANp6GPoMtYzQdt54kfAyMmz1+osLlXdg2ENroU7zzrtflTLrrC/lgrIfaSe+Wu0b89GKccT7vxXA0MoAIO+Q==} + /@floating-ui/utils@0.2.2: + resolution: {integrity: sha512-J4yDIIthosAsRZ5CPYP/jQvUAQtlZTTD/4suA08/FEnlxqW3sKS9iAhgsa9VYLZ6vDHn/ixJgIqRQPotoBjxIw==} dev: true /@humanwhocodes/config-array@0.11.14: @@ -2354,23 +2436,23 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.24.1 - '@floating-ui/react-dom': 2.0.8(react-dom@18.2.0)(react@18.2.0) + '@babel/runtime': 7.24.5 + '@floating-ui/react-dom': 2.0.9(react-dom@18.2.0)(react@18.2.0) '@mui/types': 7.2.14(@types/react@18.0.26) '@mui/utils': 5.15.14(@types/react@18.0.26)(react@18.2.0) '@popperjs/core': 2.11.8 '@types/react': 18.0.26 - clsx: 2.1.0 + clsx: 2.1.1 prop-types: 15.8.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: true - /@mui/core-downloads-tracker@5.15.14: - resolution: {integrity: sha512-on75VMd0XqZfaQW+9pGjSNiqW+ghc5E2ZSLRBXwcXl/C4YzjfyjrLPhrEpKnR9Uym9KXBvxrhoHfPcczYHweyA==} + /@mui/core-downloads-tracker@5.15.18: + resolution: {integrity: sha512-/9pVk+Al8qxAjwFUADv4BRZgMpZM4m5E+2Q/20qhVPuIJWqKp4Ie4tGExac6zu93rgPTYVQGgu+1vjiT0E+cEw==} dev: true - /@mui/icons-material@5.10.16(@mui/material@5.15.14)(@types/react@18.0.26)(react@18.2.0): + /@mui/icons-material@5.10.16(@mui/material@5.15.18)(@types/react@18.0.26)(react@18.2.0): resolution: {integrity: sha512-jjCc0IF6iyLiucQCu5igg3fOscSqbbvRCmyRxXgzOcLR56B0sg2L8o+ZfJ0dAg59+wvgtXaxvjze/mJg0B4iWA==} engines: {node: '>=12.0.0'} peerDependencies: @@ -2382,13 +2464,13 @@ packages: optional: true dependencies: '@babel/runtime': 7.20.6 - '@mui/material': 5.15.14(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(@types/react@18.0.26)(react-dom@18.2.0)(react@18.2.0) + '@mui/material': 5.15.18(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(@types/react@18.0.26)(react-dom@18.2.0)(react@18.2.0) '@types/react': 18.0.26 react: 18.2.0 dev: true - /@mui/material@5.15.14(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(@types/react@18.0.26)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-kEbRw6fASdQ1SQ7LVdWR5OlWV3y7Y54ZxkLzd6LV5tmz+NpO3MJKZXSfgR0LHMP7meKsPiMm4AuzV0pXDpk/BQ==} + /@mui/material@5.15.18(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(@types/react@18.0.26)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-n+/dsiqux74fFfcRUJjok+ieNQ7+BEk6/OwX9cLcLvriZrZb+/7Y8+Fd2HlUUbn5N0CDurgAHm0VH1DqyJ9HAw==} engines: {node: '>=12.0.0'} peerDependencies: '@emotion/react': ^11.5.0 @@ -2404,22 +2486,22 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.24.1 - '@emotion/react': 11.10.5(@babel/core@7.24.1)(@types/react@18.0.26)(react@18.2.0) - '@emotion/styled': 11.10.5(@babel/core@7.24.1)(@emotion/react@11.10.5)(@types/react@18.0.26)(react@18.2.0) + '@babel/runtime': 7.24.5 + '@emotion/react': 11.10.5(@babel/core@7.24.5)(@types/react@18.0.26)(react@18.2.0) + '@emotion/styled': 11.10.5(@babel/core@7.24.5)(@emotion/react@11.10.5)(@types/react@18.0.26)(react@18.2.0) '@mui/base': 5.0.0-beta.40(@types/react@18.0.26)(react-dom@18.2.0)(react@18.2.0) - '@mui/core-downloads-tracker': 5.15.14 - '@mui/system': 5.15.14(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(@types/react@18.0.26)(react@18.2.0) + '@mui/core-downloads-tracker': 5.15.18 + '@mui/system': 5.15.15(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(@types/react@18.0.26)(react@18.2.0) '@mui/types': 7.2.14(@types/react@18.0.26) '@mui/utils': 5.15.14(@types/react@18.0.26)(react@18.2.0) '@types/react': 18.0.26 '@types/react-transition-group': 4.4.10 - clsx: 2.1.0 + clsx: 2.1.1 csstype: 3.1.3 prop-types: 15.8.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - react-is: 18.2.0 + react-is: 18.3.1 react-transition-group: 4.4.5(react-dom@18.2.0)(react@18.2.0) dev: true @@ -2453,10 +2535,10 @@ packages: '@emotion/styled': optional: true dependencies: - '@babel/runtime': 7.24.1 + '@babel/runtime': 7.24.5 '@emotion/cache': 11.11.0 - '@emotion/react': 11.10.5(@babel/core@7.24.1)(@types/react@18.0.26)(react@18.2.0) - '@emotion/styled': 11.10.5(@babel/core@7.24.1)(@emotion/react@11.10.5)(@types/react@18.0.26)(react@18.2.0) + '@emotion/react': 11.10.5(@babel/core@7.24.5)(@types/react@18.0.26)(react@18.2.0) + '@emotion/styled': 11.10.5(@babel/core@7.24.5)(@emotion/react@11.10.5)(@types/react@18.0.26)(react@18.2.0) csstype: 3.1.3 prop-types: 15.8.1 react: 18.2.0 @@ -2493,8 +2575,8 @@ packages: react: 18.2.0 dev: true - /@mui/system@5.15.14(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(@types/react@18.0.26)(react@18.2.0): - resolution: {integrity: sha512-auXLXzUaCSSOLqJXmsAaq7P96VPRXg2Rrz6OHNV7lr+kB8lobUF+/N84Vd9C4G/wvCXYPs5TYuuGBRhcGbiBGg==} + /@mui/system@5.15.15(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(@types/react@18.0.26)(react@18.2.0): + resolution: {integrity: sha512-aulox6N1dnu5PABsfxVGOZffDVmlxPOVgj56HrUnJE8MCSh8lOvvkd47cebIVQQYAjpwieXQXiDPj5pwM40jTQ==} engines: {node: '>=12.0.0'} peerDependencies: '@emotion/react': ^11.5.0 @@ -2509,15 +2591,15 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.24.1 - '@emotion/react': 11.10.5(@babel/core@7.24.1)(@types/react@18.0.26)(react@18.2.0) - '@emotion/styled': 11.10.5(@babel/core@7.24.1)(@emotion/react@11.10.5)(@types/react@18.0.26)(react@18.2.0) + '@babel/runtime': 7.24.5 + '@emotion/react': 11.10.5(@babel/core@7.24.5)(@types/react@18.0.26)(react@18.2.0) + '@emotion/styled': 11.10.5(@babel/core@7.24.5)(@emotion/react@11.10.5)(@types/react@18.0.26)(react@18.2.0) '@mui/private-theming': 5.15.14(@types/react@18.0.26)(react@18.2.0) '@mui/styled-engine': 5.15.14(@emotion/react@11.10.5)(@emotion/styled@11.10.5)(react@18.2.0) '@mui/types': 7.2.14(@types/react@18.0.26) '@mui/utils': 5.15.14(@types/react@18.0.26)(react@18.2.0) '@types/react': 18.0.26 - clsx: 2.1.0 + clsx: 2.1.1 csstype: 3.1.3 prop-types: 15.8.1 react: 18.2.0 @@ -4012,14 +4094,14 @@ packages: possible-typed-array-names: 1.0.0 dev: true - /babel-loader@9.1.0(@babel/core@7.24.1)(webpack@5.75.0): + /babel-loader@9.1.0(@babel/core@7.24.5)(webpack@5.75.0): resolution: {integrity: sha512-Antt61KJPinUMwHwIIz9T5zfMgevnfZkEVWYDWlG888fgdvRRGD0JTuf/fFozQnfT+uq64sk1bmdHDy/mOEWnA==} engines: {node: '>= 14.15.0'} peerDependencies: '@babel/core': ^7.12.0 webpack: '>=5' dependencies: - '@babel/core': 7.24.1 + '@babel/core': 7.24.5 find-cache-dir: 3.3.2 schema-utils: 4.0.0 webpack: 5.75.0(webpack-cli@5.0.1) @@ -4212,10 +4294,10 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001599 - electron-to-chromium: 1.4.710 + caniuse-lite: 1.0.30001620 + electron-to-chromium: 1.4.773 node-releases: 2.0.14 - update-browserslist-db: 1.0.13(browserslist@4.23.0) + update-browserslist-db: 1.0.16(browserslist@4.23.0) dev: true /buffer-from@1.1.2: @@ -4294,8 +4376,8 @@ packages: resolution: {integrity: sha512-1MgUzEkoMO6gKfXflStpYgZDlFM7M/ck/bgfVCACO5vnAf0fXoNVHdWtqGU+MYca+4bL9Z5bpOVmR33cWW9G2A==} dev: true - /caniuse-lite@1.0.30001599: - resolution: {integrity: sha512-LRAQHZ4yT1+f9LemSMeqdMpMxZcc4RMWdj4tiFe3G8tNkWK+E58g+/tzotb5cU6TbcVJLr4fySiAW7XmxQvZQA==} + /caniuse-lite@1.0.30001620: + resolution: {integrity: sha512-WJvYsOjd1/BYUY6SNGUosK9DUidBPDTnOARHp3fSmFO1ekdxaY6nKRttEVrfMmYi80ctS0kz1wiWmm14fVc3ew==} dev: true /cardinal@2.1.1: @@ -4490,6 +4572,11 @@ packages: engines: {node: '>=6'} dev: true + /clsx@2.1.1: + resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==} + engines: {node: '>=6'} + dev: true + /color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} dependencies: @@ -5091,7 +5178,7 @@ packages: /dom-helpers@5.2.1: resolution: {integrity: sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==} dependencies: - '@babel/runtime': 7.24.1 + '@babel/runtime': 7.20.6 csstype: 3.1.3 dev: true @@ -5120,8 +5207,8 @@ packages: resolution: {integrity: sha512-M8WEXFuKXMYMVr45fo8mq0wUrrJHheiKZf6BArTKk9ZBYCKJEOU5H8cdWgDT+qCVZf7Na4lVUaZsA+h6uA9+PA==} dev: true - /electron-to-chromium@1.4.710: - resolution: {integrity: sha512-w+9yAVHoHhysCa+gln7AzbO9CdjFcL/wN/5dd+XW/Msl2d/4+WisEaCF1nty0xbAKaxdaJfgLB2296U7zZB7BA==} + /electron-to-chromium@1.4.773: + resolution: {integrity: sha512-87eHF+h3PlCRwbxVEAw9KtK3v7lWfc/sUDr0W76955AdYTG4bV/k0zrl585Qnj/skRMH2qOSiE+kqMeOQ+LOpw==} dev: true /email-addresses@3.1.0: @@ -5452,8 +5539,8 @@ packages: '@babel/plugin-transform-react-jsx': ^7.14.9 eslint: ^8.1.0 dependencies: - '@babel/plugin-syntax-flow': 7.18.6(@babel/core@7.24.1) - '@babel/plugin-transform-react-jsx': 7.19.0(@babel/core@7.24.1) + '@babel/plugin-syntax-flow': 7.18.6(@babel/core@7.24.5) + '@babel/plugin-transform-react-jsx': 7.19.0(@babel/core@7.24.5) eslint: 8.57.0 lodash: 4.17.21 string-natural-compare: 3.0.1 @@ -8798,6 +8885,10 @@ packages: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} dev: true + /picocolors@1.0.1: + resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} + dev: true + /picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} @@ -9053,13 +9144,17 @@ packages: resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} dev: true + /react-is@18.3.1: + resolution: {integrity: sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==} + dev: true + /react-transition-group@4.4.5(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-pZcd1MCJoiKiBR2NRxeCRg13uCXbydPnmB4EOeRrY7480qNWO8IIgQG6zlDkm6uRMsURXPuKq0GWtiM59a5Q6g==} peerDependencies: react: '>=16.6.0' react-dom: '>=16.6.0' dependencies: - '@babel/runtime': 7.24.1 + '@babel/runtime': 7.20.6 dom-helpers: 5.2.1 loose-envify: 1.4.0 prop-types: 15.8.1 @@ -10583,15 +10678,15 @@ packages: picocolors: 1.0.0 dev: true - /update-browserslist-db@1.0.13(browserslist@4.23.0): - resolution: {integrity: sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==} + /update-browserslist-db@1.0.16(browserslist@4.23.0): + resolution: {integrity: sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ==} hasBin: true peerDependencies: browserslist: '>= 4.21.0' dependencies: browserslist: 4.23.0 escalade: 3.1.2 - picocolors: 1.0.0 + picocolors: 1.0.1 dev: true /uri-js@4.4.1: diff --git a/src/HoverMenu.tsx b/src/HoverMenu.tsx index 26f8d20..66db262 100644 --- a/src/HoverMenu.tsx +++ b/src/HoverMenu.tsx @@ -6,6 +6,24 @@ const Menu = interopRequireDefault(_Menu) const HoverMenu: React.ComponentType = React.forwardRef( function HoverMenu(props: MenuProps, ref): any { + const paperSlotProps = React.useCallback( + // eslint-disable-next-line @typescript-eslint/ban-types + (ownerProps: {}) => { + const base = + props.slotProps?.paper instanceof Function + ? props.slotProps?.paper(ownerProps) + : props.slotProps?.paper + return { + ...base, + style: { + pointerEvents: 'auto', + ...base?.style, + }, + } as const + }, + [props.slotProps?.paper] + ) + return ( = React.forwardRef( style={{ pointerEvents: 'none', ...props.style }} PaperProps={{ ...props.PaperProps, - style: { pointerEvents: 'auto', ...props.PaperProps?.style }, + style: { + pointerEvents: 'auto', + ...props.PaperProps?.style, + }, + }} + slotProps={{ + ...props.slotProps, + paper: paperSlotProps, }} /> ) diff --git a/src/HoverPopover.tsx b/src/HoverPopover.tsx index 051664f..331ce14 100644 --- a/src/HoverPopover.tsx +++ b/src/HoverPopover.tsx @@ -6,6 +6,24 @@ const Popover = interopRequireDefault(_Popover) const HoverPopover: React.ComponentType = React.forwardRef( function HoverPopover(props: PopoverProps, ref): any { + const paperSlotProps = React.useCallback( + // eslint-disable-next-line @typescript-eslint/ban-types + (ownerProps: {}) => { + const base = + props.slotProps?.paper instanceof Function + ? props.slotProps?.paper(ownerProps) + : props.slotProps?.paper + return { + ...base, + style: { + pointerEvents: 'auto', + ...base?.style, + }, + } as const + }, + [props.slotProps?.paper] + ) + return ( = React.forwardRef( style={{ pointerEvents: 'none', ...props.style }} PaperProps={{ ...props.PaperProps, - style: { pointerEvents: 'auto', ...props.PaperProps?.style }, + style: { + pointerEvents: 'auto', + ...props.PaperProps?.style, + }, + }} + slotProps={{ + ...props.slotProps, + paper: paperSlotProps, }} /> )