chore: update to Mantine 6

proto-module-actu-react
Jalil Arfaoui 2023-05-02 16:45:58 +02:00
parent e8d21a0f1e
commit 8240e71d6e
2 changed files with 154 additions and 71 deletions

View File

@ -9,9 +9,9 @@
"preview": "vite preview" "preview": "vite preview"
}, },
"dependencies": { "dependencies": {
"@emotion/react": "^11.10.5", "@emotion/react": "^11.10.8",
"@mantine/core": "^5.10.3", "@mantine/core": "^6.0.10",
"@mantine/hooks": "^5.10.3", "@mantine/hooks": "^6.0.10",
"@tabler/icons-react": "^2.2.0", "@tabler/icons-react": "^2.2.0",
"mapbox-gl": "^2.12.1", "mapbox-gl": "^2.12.1",
"react": "^18.2.0", "react": "^18.2.0",

219
yarn.lock
View File

@ -23,13 +23,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@babel/helper-plugin-utils@npm:^7.18.6":
version: 7.20.2
resolution: "@babel/helper-plugin-utils@npm:7.20.2"
checksum: f6cae53b7fdb1bf3abd50fa61b10b4470985b400cc794d92635da1e7077bb19729f626adc0741b69403d9b6e411cddddb9c0157a709cc7c4eeb41e663be5d74b
languageName: node
linkType: hard
"@babel/helper-string-parser@npm:^7.19.4": "@babel/helper-string-parser@npm:^7.19.4":
version: 7.19.4 version: 7.19.4
resolution: "@babel/helper-string-parser@npm:7.19.4" resolution: "@babel/helper-string-parser@npm:7.19.4"
@ -55,17 +48,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@babel/plugin-syntax-jsx@npm:^7.17.12":
version: 7.18.6
resolution: "@babel/plugin-syntax-jsx@npm:7.18.6"
dependencies:
"@babel/helper-plugin-utils": ^7.18.6
peerDependencies:
"@babel/core": ^7.0.0-0
checksum: 6d37ea972970195f1ffe1a54745ce2ae456e0ac6145fae9aa1480f297248b262ea6ebb93010eddb86ebfacb94f57c05a1fc5d232b9a67325b09060299d515c67
languageName: node
linkType: hard
"@babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.18.3": "@babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.18.3":
version: 7.20.13 version: 7.20.13
resolution: "@babel/runtime@npm:7.20.13" resolution: "@babel/runtime@npm:7.20.13"
@ -86,12 +68,11 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@emotion/babel-plugin@npm:^11.10.5": "@emotion/babel-plugin@npm:^11.10.8":
version: 11.10.5 version: 11.10.8
resolution: "@emotion/babel-plugin@npm:11.10.5" resolution: "@emotion/babel-plugin@npm:11.10.8"
dependencies: dependencies:
"@babel/helper-module-imports": ^7.16.7 "@babel/helper-module-imports": ^7.16.7
"@babel/plugin-syntax-jsx": ^7.17.12
"@babel/runtime": ^7.18.3 "@babel/runtime": ^7.18.3
"@emotion/hash": ^0.9.0 "@emotion/hash": ^0.9.0
"@emotion/memoize": ^0.8.0 "@emotion/memoize": ^0.8.0
@ -101,23 +82,21 @@ __metadata:
escape-string-regexp: ^4.0.0 escape-string-regexp: ^4.0.0
find-root: ^1.1.0 find-root: ^1.1.0
source-map: ^0.5.7 source-map: ^0.5.7
stylis: 4.1.3 stylis: 4.1.4
peerDependencies: checksum: b8e2ed0c68a2ea423c5c2efdcf37e0b482dcb74caba042d2987a058f151819f0574fb2298fba4f76fa23265e1975dcf337f1f59ad6f35a33db2f9bf1afe03ee0
"@babel/core": ^7.0.0
checksum: e3353499c76c4422d6e900c0dfab73607056d9da86161a3f27c3459c193c4908050c5d252c68fcde231e13f02a9d8e0dc07d260317ae0e5206841e331cc4caae
languageName: node languageName: node
linkType: hard linkType: hard
"@emotion/cache@npm:^11.10.5": "@emotion/cache@npm:^11.10.8":
version: 11.10.5 version: 11.10.8
resolution: "@emotion/cache@npm:11.10.5" resolution: "@emotion/cache@npm:11.10.8"
dependencies: dependencies:
"@emotion/memoize": ^0.8.0 "@emotion/memoize": ^0.8.0
"@emotion/sheet": ^1.2.1 "@emotion/sheet": ^1.2.1
"@emotion/utils": ^1.2.0 "@emotion/utils": ^1.2.0
"@emotion/weak-memoize": ^0.3.0 "@emotion/weak-memoize": ^0.3.0
stylis: 4.1.3 stylis: 4.1.4
checksum: 1dd2d9af2d3ecbd3d4469ecdf91a335eef6034c851b57a474471b2d2280613eb35bbed98c0368cc4625f188619fbdaf04cf07e8107aaffce94b2178444c0fe7b checksum: a67751db54077813ee3a011f255ee5c79eb375284cec8404866d44da904d69b037566047ca52549772b8038f8cd00ebd092c628ddc764fe89d6932c16afd71e3
languageName: node languageName: node
linkType: hard linkType: hard
@ -135,27 +114,24 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@emotion/react@npm:^11.10.5": "@emotion/react@npm:^11.10.8":
version: 11.10.5 version: 11.10.8
resolution: "@emotion/react@npm:11.10.5" resolution: "@emotion/react@npm:11.10.8"
dependencies: dependencies:
"@babel/runtime": ^7.18.3 "@babel/runtime": ^7.18.3
"@emotion/babel-plugin": ^11.10.5 "@emotion/babel-plugin": ^11.10.8
"@emotion/cache": ^11.10.5 "@emotion/cache": ^11.10.8
"@emotion/serialize": ^1.1.1 "@emotion/serialize": ^1.1.1
"@emotion/use-insertion-effect-with-fallbacks": ^1.0.0 "@emotion/use-insertion-effect-with-fallbacks": ^1.0.0
"@emotion/utils": ^1.2.0 "@emotion/utils": ^1.2.0
"@emotion/weak-memoize": ^0.3.0 "@emotion/weak-memoize": ^0.3.0
hoist-non-react-statics: ^3.3.1 hoist-non-react-statics: ^3.3.1
peerDependencies: peerDependencies:
"@babel/core": ^7.0.0
react: ">=16.8.0" react: ">=16.8.0"
peerDependenciesMeta: peerDependenciesMeta:
"@babel/core":
optional: true
"@types/react": "@types/react":
optional: true optional: true
checksum: 32b67b28e9b6d6c53b970072680697f04c2521441050bdeb19a1a7f0164af549b4dad39ff375eda1b6a3cf1cc86ba2c6fa55460ec040e6ebbca3e9ec58353cf7 checksum: ac56ef6375fa3bc7acd5a62eb5b2cf9eb4b1586a6a06cb05caab11a516700cf2f7857e0ad65bac57abd74e1141388e01fe65238f2de0075a912e129271c658b8
languageName: node languageName: node
linkType: hard linkType: hard
@ -412,35 +388,36 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@mantine/core@npm:^5.10.3": "@mantine/core@npm:^6.0.10":
version: 5.10.3 version: 6.0.10
resolution: "@mantine/core@npm:5.10.3" resolution: "@mantine/core@npm:6.0.10"
dependencies: dependencies:
"@floating-ui/react": ^0.19.1 "@floating-ui/react": ^0.19.1
"@mantine/styles": 5.10.3 "@mantine/styles": 6.0.10
"@mantine/utils": 5.10.3 "@mantine/utils": 6.0.10
"@radix-ui/react-scroll-area": 1.0.2 "@radix-ui/react-scroll-area": 1.0.2
react-remove-scroll: ^2.5.5
react-textarea-autosize: 8.3.4 react-textarea-autosize: 8.3.4
peerDependencies: peerDependencies:
"@mantine/hooks": 5.10.3 "@mantine/hooks": 6.0.10
react: ">=16.8.0" react: ">=16.8.0"
react-dom: ">=16.8.0" react-dom: ">=16.8.0"
checksum: 460e613e90ecd94a9414bb93a98046e076256fa54ec5cd0b43d20815755e7862826d912a516591d2a2e0356647d72b293564d2ccb9ca1fb8999da0e963d701bd checksum: 9ef041357599584eed7cc23b68d5cb4d9fc88db1f9942c2f51360bbaeec5a02b66bf87a3f11ac2f40180aef8f098512d325b4df26c5328239011102f34800f13
languageName: node languageName: node
linkType: hard linkType: hard
"@mantine/hooks@npm:^5.10.3": "@mantine/hooks@npm:^6.0.10":
version: 5.10.3 version: 6.0.10
resolution: "@mantine/hooks@npm:5.10.3" resolution: "@mantine/hooks@npm:6.0.10"
peerDependencies: peerDependencies:
react: ">=16.8.0" react: ">=16.8.0"
checksum: 629554658e910dec1c14ecbdaf8e48c1ce2af022044269e73ff069d719a4f9b68428bb75ade5108ace40bd29253658e663c594a237e080226de28705c10c871e checksum: 95c634f8e391b5ade9b4fa68b8fb8341e41db123703606647809260016471147e2fbf5b6c5266f557e5f260ef65d21c9d5048a98c9040fbb59df390fe1f6a014
languageName: node languageName: node
linkType: hard linkType: hard
"@mantine/styles@npm:5.10.3": "@mantine/styles@npm:6.0.10":
version: 5.10.3 version: 6.0.10
resolution: "@mantine/styles@npm:5.10.3" resolution: "@mantine/styles@npm:6.0.10"
dependencies: dependencies:
clsx: 1.1.1 clsx: 1.1.1
csstype: 3.0.9 csstype: 3.0.9
@ -448,16 +425,16 @@ __metadata:
"@emotion/react": ">=11.9.0" "@emotion/react": ">=11.9.0"
react: ">=16.8.0" react: ">=16.8.0"
react-dom: ">=16.8.0" react-dom: ">=16.8.0"
checksum: 60fcfd5ccbfd7e1106a24a13c3f705ac4b995214ae038c2d8e7bf5e795cb7c1f5da9ee5e336caedf2a537e77272a05eb315e76df3edb4a466ec158ae6aeaf8b5 checksum: b88de24de6d56cdd3734efff97590cc8beb2439c01e486a78f984866fdc4d11126432ffd4423cc1c8b8337609ff9114b5acfe54ddea2b968e550edd78116d141
languageName: node languageName: node
linkType: hard linkType: hard
"@mantine/utils@npm:5.10.3": "@mantine/utils@npm:6.0.10":
version: 5.10.3 version: 6.0.10
resolution: "@mantine/utils@npm:5.10.3" resolution: "@mantine/utils@npm:6.0.10"
peerDependencies: peerDependencies:
react: ">=16.8.0" react: ">=16.8.0"
checksum: 063237e49f3c52e3bbcd99e7a8383ac881718d9e1e039d32249231370a463a19e070cea7f90c3c0fea2933c3c162f5509a0f2add015db2aeb90f7945cd954a12 checksum: 945e9a409ec74eb5cf811d87fd5859c6c5a520a36add1c90e9a7b50cc15dcc5a412f3f405f8be73a15e3c33682131c5aeb2b252809c1f32d2a6967970089ad3c
languageName: node languageName: node
linkType: hard linkType: hard
@ -1180,6 +1157,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"detect-node-es@npm:^1.1.0":
version: 1.1.0
resolution: "detect-node-es@npm:1.1.0"
checksum: e46307d7264644975b71c104b9f028ed1d3d34b83a15b8a22373640ce5ea630e5640b1078b8ea15f202b54641da71e4aa7597093bd4b91f113db520a26a37449
languageName: node
linkType: hard
"earcut@npm:^2.2.4": "earcut@npm:^2.2.4":
version: 2.2.4 version: 2.2.4
resolution: "earcut@npm:2.2.4" resolution: "earcut@npm:2.2.4"
@ -1389,6 +1373,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"get-nonce@npm:^1.0.0":
version: 1.0.1
resolution: "get-nonce@npm:1.0.1"
checksum: e2614e43b4694c78277bb61b0f04583d45786881289285c73770b07ded246a98be7e1f78b940c80cbe6f2b07f55f0b724e6db6fd6f1bcbd1e8bdac16521074ed
languageName: node
linkType: hard
"get-stream@npm:^6.0.1": "get-stream@npm:^6.0.1":
version: 6.0.1 version: 6.0.1
resolution: "get-stream@npm:6.0.1" resolution: "get-stream@npm:6.0.1"
@ -1577,6 +1568,15 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"invariant@npm:^2.2.4":
version: 2.2.4
resolution: "invariant@npm:2.2.4"
dependencies:
loose-envify: ^1.0.0
checksum: cc3182d793aad82a8d1f0af697b462939cb46066ec48bbf1707c150ad5fad6406137e91a262022c269702e01621f35ef60269f6c0d7fd178487959809acdfb14
languageName: node
linkType: hard
"ip@npm:^2.0.0": "ip@npm:^2.0.0":
version: 2.0.0 version: 2.0.0
resolution: "ip@npm:2.0.0" resolution: "ip@npm:2.0.0"
@ -1656,7 +1656,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"loose-envify@npm:^1.1.0, loose-envify@npm:^1.4.0": "loose-envify@npm:^1.0.0, loose-envify@npm:^1.1.0, loose-envify@npm:^1.4.0":
version: 1.4.0 version: 1.4.0
resolution: "loose-envify@npm:1.4.0" resolution: "loose-envify@npm:1.4.0"
dependencies: dependencies:
@ -2137,6 +2137,41 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"react-remove-scroll-bar@npm:^2.3.4":
version: 2.3.4
resolution: "react-remove-scroll-bar@npm:2.3.4"
dependencies:
react-style-singleton: ^2.2.1
tslib: ^2.0.0
peerDependencies:
"@types/react": ^16.8.0 || ^17.0.0 || ^18.0.0
react: ^16.8.0 || ^17.0.0 || ^18.0.0
peerDependenciesMeta:
"@types/react":
optional: true
checksum: b5ce5f2f98d65c97a3e975823ae4043a4ba2a3b63b5ba284b887e7853f051b5cd6afb74abde6d57b421931c52f2e1fdbb625dc858b1cb5a32c27c14ab85649d4
languageName: node
linkType: hard
"react-remove-scroll@npm:^2.5.5":
version: 2.5.6
resolution: "react-remove-scroll@npm:2.5.6"
dependencies:
react-remove-scroll-bar: ^2.3.4
react-style-singleton: ^2.2.1
tslib: ^2.1.0
use-callback-ref: ^1.3.0
use-sidecar: ^1.1.2
peerDependencies:
"@types/react": ^16.8.0 || ^17.0.0 || ^18.0.0
react: ^16.8.0 || ^17.0.0 || ^18.0.0
peerDependenciesMeta:
"@types/react":
optional: true
checksum: 0a31f822136f4d4cde0c34264b68dd3a0432d36e2ca5162cd2df0f205980debb9a5e107843120220a599275af02df7805f0d5f44e54f2bd8b0c39a7fdd304036
languageName: node
linkType: hard
"react-router-dom@npm:^6.8.0": "react-router-dom@npm:^6.8.0":
version: 6.8.0 version: 6.8.0
resolution: "react-router-dom@npm:6.8.0" resolution: "react-router-dom@npm:6.8.0"
@ -2161,6 +2196,23 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"react-style-singleton@npm:^2.2.1":
version: 2.2.1
resolution: "react-style-singleton@npm:2.2.1"
dependencies:
get-nonce: ^1.0.0
invariant: ^2.2.4
tslib: ^2.0.0
peerDependencies:
"@types/react": ^16.8.0 || ^17.0.0 || ^18.0.0
react: ^16.8.0 || ^17.0.0 || ^18.0.0
peerDependenciesMeta:
"@types/react":
optional: true
checksum: 7ee8ef3aab74c7ae1d70ff34a27643d11ba1a8d62d072c767827d9ff9a520905223e567002e0bf6c772929d8ea1c781a3ba0cc4a563e92b1e3dc2eaa817ecbe8
languageName: node
linkType: hard
"react-textarea-autosize@npm:8.3.4": "react-textarea-autosize@npm:8.3.4":
version: 8.3.4 version: 8.3.4
resolution: "react-textarea-autosize@npm:8.3.4" resolution: "react-textarea-autosize@npm:8.3.4"
@ -2205,9 +2257,9 @@ __metadata:
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "resistants@workspace:." resolution: "resistants@workspace:."
dependencies: dependencies:
"@emotion/react": ^11.10.5 "@emotion/react": ^11.10.8
"@mantine/core": ^5.10.3 "@mantine/core": ^6.0.10
"@mantine/hooks": ^5.10.3 "@mantine/hooks": ^6.0.10
"@tabler/icons-react": ^2.2.0 "@tabler/icons-react": ^2.2.0
"@types/react": ^18.0.26 "@types/react": ^18.0.26
"@types/react-dom": ^18.0.9 "@types/react-dom": ^18.0.9
@ -2435,10 +2487,10 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"stylis@npm:4.1.3": "stylis@npm:4.1.4":
version: 4.1.3 version: 4.1.4
resolution: "stylis@npm:4.1.3" resolution: "stylis@npm:4.1.4"
checksum: d04dbffcb9bf2c5ca8d8dc09534203c75df3bf711d33973ea22038a99cc475412a350b661ebd99cbc01daa50d7eedcf0d130d121800eb7318759a197023442a6 checksum: cd929bd89709def13b47e6c16b11317bf996a09b4e987fc45a235549c3adf49d41531e017d7df511daa095bc9468c923ae9094a934fe9c62440b7351874dafb7
languageName: node languageName: node
linkType: hard linkType: hard
@ -2502,7 +2554,7 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"tslib@npm:^2.0.0": "tslib@npm:^2.0.0, tslib@npm:^2.1.0":
version: 2.5.0 version: 2.5.0
resolution: "tslib@npm:2.5.0" resolution: "tslib@npm:2.5.0"
checksum: ae3ed5f9ce29932d049908ebfdf21b3a003a85653a9a140d614da6b767a93ef94f460e52c3d787f0e4f383546981713f165037dc2274df212ea9f8a4541004e1 checksum: ae3ed5f9ce29932d049908ebfdf21b3a003a85653a9a140d614da6b767a93ef94f460e52c3d787f0e4f383546981713f165037dc2274df212ea9f8a4541004e1
@ -2547,6 +2599,21 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"use-callback-ref@npm:^1.3.0":
version: 1.3.0
resolution: "use-callback-ref@npm:1.3.0"
dependencies:
tslib: ^2.0.0
peerDependencies:
"@types/react": ^16.8.0 || ^17.0.0 || ^18.0.0
react: ^16.8.0 || ^17.0.0 || ^18.0.0
peerDependenciesMeta:
"@types/react":
optional: true
checksum: 7913df383a5a6fcb399212eedefaac2e0c6f843555202d4e3010bac3848afe38ecaa3d0d6500ad1d936fbeffd637e6c517e68edb024af5e6beca7f27f3ce7b21
languageName: node
linkType: hard
"use-composed-ref@npm:^1.3.0": "use-composed-ref@npm:^1.3.0":
version: 1.3.0 version: 1.3.0
resolution: "use-composed-ref@npm:1.3.0" resolution: "use-composed-ref@npm:1.3.0"
@ -2582,6 +2649,22 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"use-sidecar@npm:^1.1.2":
version: 1.1.2
resolution: "use-sidecar@npm:1.1.2"
dependencies:
detect-node-es: ^1.1.0
tslib: ^2.0.0
peerDependencies:
"@types/react": ^16.9.0 || ^17.0.0 || ^18.0.0
react: ^16.8.0 || ^17.0.0 || ^18.0.0
peerDependenciesMeta:
"@types/react":
optional: true
checksum: 925d1922f9853e516eaad526b6fed1be38008073067274f0ecc3f56b17bb8ab63480140dd7c271f94150027c996cea4efe83d3e3525e8f3eda22055f6a39220b
languageName: node
linkType: hard
"util-deprecate@npm:^1.0.1": "util-deprecate@npm:^1.0.1":
version: 1.0.2 version: 1.0.2
resolution: "util-deprecate@npm:1.0.2" resolution: "util-deprecate@npm:1.0.2"