Skip to content

Commit 9fa4836

Browse files
committed
⬆️ Upgrade to Mantine v5.1.0 (from v5.0.2)
1 parent 439874e commit 9fa4836

File tree

5 files changed

+102
-124
lines changed

5 files changed

+102
-124
lines changed

package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@
3232
"@dnd-kit/utilities": "^3.2.0",
3333
"@emotion/react": "^11.10.0",
3434
"@emotion/server": "^11.10.0",
35-
"@mantine/carousel": "^5.0.0",
36-
"@mantine/core": "^5.0.2",
37-
"@mantine/dates": "^5.0.2",
38-
"@mantine/dropzone": "^5.0.2",
39-
"@mantine/form": "^5.0.2",
40-
"@mantine/hooks": "^5.0.2",
41-
"@mantine/modals": "^5.0.3",
42-
"@mantine/next": "^5.0.2",
43-
"@mantine/notifications": "^5.0.2",
35+
"@mantine/carousel": "^5.1.0",
36+
"@mantine/core": "^5.1.0",
37+
"@mantine/dates": "^5.1.0",
38+
"@mantine/dropzone": "^5.1.0",
39+
"@mantine/form": "^5.1.0",
40+
"@mantine/hooks": "^5.1.0",
41+
"@mantine/modals": "^5.1.0",
42+
"@mantine/next": "^5.1.0",
43+
"@mantine/notifications": "^5.1.0",
4444
"@mantine/prism": "^5.0.0",
4545
"@nivo/core": "^0.79.0",
4646
"@nivo/line": "^0.79.1",
@@ -51,7 +51,7 @@
5151
"cookies-next": "^2.1.1",
5252
"dayjs": "^1.11.4",
5353
"dockerode": "^3.3.2",
54-
"embla-carousel-react": "^7.0.0-rc05",
54+
"embla-carousel-react": "^7.0.0",
5555
"framer-motion": "^6.5.1",
5656
"js-file-download": "^0.4.12",
5757
"next": "12.1.6",

src/modules/downloads/DownloadsModule.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import {
99
ScrollArea,
1010
Center,
1111
Image,
12-
Stack,
1312
} from '@mantine/core';
1413
import { IconDownload as Download } from '@tabler/icons';
1514
import { useEffect, useState } from 'react';

src/modules/moduleWrapper.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import {
22
ActionIcon,
3-
Box,
43
Button,
54
Card,
65
Group,
@@ -10,7 +9,6 @@ import {
109
TextInput,
1110
useMantineColorScheme,
1211
} from '@mantine/core';
13-
import { useHover } from '@mantine/hooks';
1412
import { IconAdjustments } from '@tabler/icons';
1513
import { motion } from 'framer-motion';
1614
import { useState } from 'react';

src/modules/overseerr/RequestModal.tsx

+2-13
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,9 @@
1-
import {
2-
Alert,
3-
Button,
4-
Checkbox,
5-
createStyles,
6-
Group,
7-
LoadingOverlay,
8-
Modal,
9-
Stack,
10-
Table,
11-
} from '@mantine/core';
12-
import { openConfirmModal } from '@mantine/modals';
1+
import { Alert, Button, Checkbox, createStyles, Group, Modal, Stack, Table } from '@mantine/core';
132
import { showNotification, updateNotification } from '@mantine/notifications';
143
import { IconAlertCircle, IconCheck, IconDownload } from '@tabler/icons';
154
import axios from 'axios';
165
import Consola from 'consola';
17-
import { useEffect, useState } from 'react';
6+
import { useState } from 'react';
187
import { useColorTheme } from '../../tools/color';
198
import { MovieResult } from './Movie.d';
209
import { MediaType, Result } from './SearchResult.d';

yarn.lock

+90-98
Original file line numberDiff line numberDiff line change
@@ -1084,126 +1084,127 @@ __metadata:
10841084
languageName: node
10851085
linkType: hard
10861086

1087-
"@mantine/carousel@npm:^5.0.0":
1088-
version: 5.0.0
1089-
resolution: "@mantine/carousel@npm:5.0.0"
1087+
"@mantine/carousel@npm:^5.1.0":
1088+
version: 5.1.0
1089+
resolution: "@mantine/carousel@npm:5.1.0"
10901090
dependencies:
1091-
"@mantine/utils": 5.0.0
1091+
"@mantine/utils": 5.1.0
10921092
peerDependencies:
1093-
"@mantine/core": 5.0.0
1094-
"@mantine/hooks": 5.0.0
1095-
embla-carousel-react: 6.2.0
1093+
"@mantine/core": 5.1.0
1094+
"@mantine/hooks": 5.1.0
1095+
embla-carousel-react: 7.0.0
10961096
react: ">=16.8.0"
1097-
checksum: 67930f5c4db077c250d40d1ecc641a0cd92e8223db3cb41a061fa3505d67fc8fdc7040bb74b4093512e053f4807d314e301d7d4c7039bad8b71a0dea771866d6
1097+
checksum: 0aa6beda2c1c406ea1cf07ece919999a7591b838579c1a0b90f88d1491d75f0871418deb700976791e14d870543f7594ea28569af13b330444ed8c810ab47ac3
10981098
languageName: node
10991099
linkType: hard
11001100

1101-
"@mantine/core@npm:^5.0.2":
1102-
version: 5.0.2
1103-
resolution: "@mantine/core@npm:5.0.2"
1101+
"@mantine/core@npm:^5.1.0":
1102+
version: 5.1.0
1103+
resolution: "@mantine/core@npm:5.1.0"
11041104
dependencies:
11051105
"@floating-ui/react-dom-interactions": 0.6.6
1106-
"@mantine/styles": 5.0.2
1107-
"@mantine/utils": 5.0.2
1106+
"@mantine/styles": 5.1.0
1107+
"@mantine/utils": 5.1.0
11081108
"@radix-ui/react-scroll-area": 1.0.0
11091109
react-textarea-autosize: 8.3.4
11101110
peerDependencies:
1111-
"@mantine/hooks": 5.0.2
1111+
"@mantine/hooks": 5.1.0
11121112
react: ">=16.8.0"
11131113
react-dom: ">=16.8.0"
1114-
checksum: 3677995cb6b31481b29ee56096ba9366d68062fb9e636e271685a2e0ec7df852231edbe111aded6b02e7ddf2c6abc20f6c6aead42a30d130d8687540406dcedd
1114+
checksum: a170d3a97c66fc78ade98a4ec01ff854e998d5af3acca46275c241bb74ed8e3980cdb71e40fed6b9ce1d210d3ec6dfc8bb71cd591b359d10f194dac3faa6f4b9
11151115
languageName: node
11161116
linkType: hard
11171117

1118-
"@mantine/dates@npm:^5.0.2":
1119-
version: 5.0.2
1120-
resolution: "@mantine/dates@npm:5.0.2"
1118+
"@mantine/dates@npm:^5.1.0":
1119+
version: 5.1.0
1120+
resolution: "@mantine/dates@npm:5.1.0"
11211121
dependencies:
1122-
"@mantine/utils": 5.0.2
1122+
"@mantine/utils": 5.1.0
11231123
peerDependencies:
1124-
"@mantine/core": 5.0.2
1125-
"@mantine/hooks": 5.0.2
1124+
"@mantine/core": 5.1.0
1125+
"@mantine/hooks": 5.1.0
11261126
dayjs: ">=1.0.0"
11271127
react: ">=16.8.0"
1128-
checksum: 818fce70324347c870dd04354c9e4b29f7d4241f56b3d7fbac668de3b25efa29a265e2ba817a42bf7151548e89f17825b63047fb2694215ccad1c993a3b2a772
1128+
checksum: 0352073ed3f553853f5024f319f170ff22f34317ad6fe4500f847828667763f9a1108b701c60754f159ddab35a91e68a29f60ee4f00f9b43fce6128f8d1d0d10
11291129
languageName: node
11301130
linkType: hard
11311131

1132-
"@mantine/dropzone@npm:^5.0.2":
1133-
version: 5.0.2
1134-
resolution: "@mantine/dropzone@npm:5.0.2"
1132+
"@mantine/dropzone@npm:^5.1.0":
1133+
version: 5.1.0
1134+
resolution: "@mantine/dropzone@npm:5.1.0"
11351135
dependencies:
1136-
"@mantine/utils": 5.0.2
1136+
"@mantine/utils": 5.1.0
11371137
react-dropzone: 14.2.1
11381138
peerDependencies:
1139-
"@mantine/core": 5.0.2
1140-
"@mantine/hooks": 5.0.2
1139+
"@mantine/core": 5.1.0
1140+
"@mantine/hooks": 5.1.0
11411141
react: ">=16.8.0"
11421142
react-dom: ">=16.8.0"
1143-
checksum: 3837d3f4763a33407c197cf7ca3510b2d0051be5419bd48e421a0fc748545c409f49200ee18942932403bd770d76c6ac78770d1067b67dfcbe7837d6606b100a
1143+
checksum: 5a9c7fe0db1bf6af845a161c1620fb544fcebd376785abfb77d0e9cf2babef00068a5e8f32c7707f100ccf2f7caf6e75c817ec6d6fa8b5d470ebf749dcbd5624
11441144
languageName: node
11451145
linkType: hard
11461146

1147-
"@mantine/form@npm:^5.0.2":
1148-
version: 5.0.2
1149-
resolution: "@mantine/form@npm:5.0.2"
1147+
"@mantine/form@npm:^5.1.0":
1148+
version: 5.1.0
1149+
resolution: "@mantine/form@npm:5.1.0"
11501150
dependencies:
1151+
fast-deep-equal: ^3.1.3
11511152
klona: ^2.0.5
11521153
peerDependencies:
11531154
react: ">=16.8.0"
1154-
checksum: db08b33a0e95a20fb4dffc22d58be7f5ece6bbd824b40fa1bccee310587b932f73492bdef1de8d8023777a8bf6d1c7fe76594dba319055b8865543b53f3c60e0
1155+
checksum: 4727e7f8842918aa3adf58030d4f27083bb245661b540f0ad3d14d37fc14d1851e454f5462a78b773e3839aaf535d93ed4d4628782d04d0cb899a900d8e6b70b
11551156
languageName: node
11561157
linkType: hard
11571158

1158-
"@mantine/hooks@npm:^5.0.2":
1159-
version: 5.0.2
1160-
resolution: "@mantine/hooks@npm:5.0.2"
1159+
"@mantine/hooks@npm:^5.1.0":
1160+
version: 5.1.0
1161+
resolution: "@mantine/hooks@npm:5.1.0"
11611162
peerDependencies:
11621163
react: ">=16.8.0"
1163-
checksum: 792b2ce59bc5a3bfb14e3f12762eaeb1e9b7edf080d03e2515c68ddd6b54fb6923e9c6461e5bd1030c043801f241f09be15bae5d6236b58a4206203a4d0166c6
1164+
checksum: de4c2c1fe408efddeda88c331242c14e6aa44f65a0d78fc9ca2812e07f9593f27dbc593afd4f320bc36e618bbb7d3cbe5869aebe6d7f2a8b9af8f342f1913a5a
11641165
languageName: node
11651166
linkType: hard
11661167

1167-
"@mantine/modals@npm:^5.0.3":
1168-
version: 5.0.3
1169-
resolution: "@mantine/modals@npm:5.0.3"
1168+
"@mantine/modals@npm:^5.1.0":
1169+
version: 5.1.0
1170+
resolution: "@mantine/modals@npm:5.1.0"
11701171
dependencies:
1171-
"@mantine/utils": 5.0.3
1172+
"@mantine/utils": 5.1.0
11721173
peerDependencies:
1173-
"@mantine/core": 5.0.3
1174-
"@mantine/hooks": 5.0.3
1174+
"@mantine/core": 5.1.0
1175+
"@mantine/hooks": 5.1.0
11751176
react: ">=16.8.0"
11761177
react-dom: ">=16.8.0"
1177-
checksum: 4d38f867405a91421c7d84716cceeb34a766c476aa0159034342e1ee681aa990cd16863e55930a889b6149fdae1b43ba00703783d7d5d91a271db40c9d3c5ec9
1178+
checksum: ab3d9d78f70b631bec7f0a89d0f4c5275b043fb147ac5db83c7be8ef5d80fa75e9a4560c470f8c888e13c00b1d533c5d8c89eb6c9ce19297c32178044946cb93
11781179
languageName: node
11791180
linkType: hard
11801181

1181-
"@mantine/next@npm:^5.0.2":
1182-
version: 5.0.2
1183-
resolution: "@mantine/next@npm:5.0.2"
1182+
"@mantine/next@npm:^5.1.0":
1183+
version: 5.1.0
1184+
resolution: "@mantine/next@npm:5.1.0"
11841185
dependencies:
1185-
"@mantine/ssr": 5.0.2
1186-
"@mantine/styles": 5.0.2
1186+
"@mantine/ssr": 5.1.0
1187+
"@mantine/styles": 5.1.0
11871188
peerDependencies:
11881189
next: "*"
11891190
react: ">=16.8.0"
11901191
react-dom: ">=16.8.0"
1191-
checksum: f03257fe69a36fc54e6d8eda2d4a791277eecc1642fe6ffccae6d252e728288ee30cd89acb16a35c58ac1b064f2e8ba7950b4f98a0f2b003d34ae6024c107159
1192+
checksum: 422f53fa3b18525b2baf95988260782c0b4321fdb6d004f611830b456d492feaa53c40fb5f2ba8f546701ed8b608c8a01ff129d7f76c5dabacb164bf3af20529
11921193
languageName: node
11931194
linkType: hard
11941195

1195-
"@mantine/notifications@npm:^5.0.2":
1196-
version: 5.0.2
1197-
resolution: "@mantine/notifications@npm:5.0.2"
1196+
"@mantine/notifications@npm:^5.1.0":
1197+
version: 5.1.0
1198+
resolution: "@mantine/notifications@npm:5.1.0"
11981199
dependencies:
1199-
"@mantine/utils": 5.0.2
1200+
"@mantine/utils": 5.1.0
12001201
react-transition-group: 4.4.2
12011202
peerDependencies:
1202-
"@mantine/core": 5.0.2
1203-
"@mantine/hooks": 5.0.2
1203+
"@mantine/core": 5.1.0
1204+
"@mantine/hooks": 5.1.0
12041205
react: ">=16.8.0"
12051206
react-dom: ">=16.8.0"
1206-
checksum: 6284e9e26fa64a20417eaf9593a935083bc95095a84d8ae98c32c22becec202419523d7bb71ecfb08e307d05d11565a8403da68da42252c867a351fa08435a63
1207+
checksum: 0e86dd8f114b6b971f2ab72ac76e0faf9c592a59893e6ffbd0f22fef14abfe58610fc6bf3526b1258e95591d5b5472b0d7fef455a3caab5bca7b795d0fc4c545
12071208
languageName: node
12081209
linkType: hard
12091210

@@ -1222,32 +1223,32 @@ __metadata:
12221223
languageName: node
12231224
linkType: hard
12241225

1225-
"@mantine/ssr@npm:5.0.2":
1226-
version: 5.0.2
1227-
resolution: "@mantine/ssr@npm:5.0.2"
1226+
"@mantine/ssr@npm:5.1.0":
1227+
version: 5.1.0
1228+
resolution: "@mantine/ssr@npm:5.1.0"
12281229
dependencies:
1229-
"@mantine/styles": 5.0.2
1230+
"@mantine/styles": 5.1.0
12301231
html-react-parser: 1.4.12
12311232
peerDependencies:
12321233
"@emotion/react": ">=11.9.0"
12331234
"@emotion/server": ">=11.4.0"
12341235
react: ">=16.8.0"
12351236
react-dom: ">=16.8.0"
1236-
checksum: 396f3da4cdd15dde1a6707350b428862127a66d204c5b625cab70b92729d709d42a4ffeeb8dfa267035648373f3f3e016d78e15ed9758b00266013475008e663
1237+
checksum: 1b3f9d81eaccd7a43db21b496b2cb6e5ba019e96e05faf8109577330a54b6eb28b393204c1eb01639bde3c04ae503491b7913e4573806803388ed91947a0bfb0
12371238
languageName: node
12381239
linkType: hard
12391240

1240-
"@mantine/styles@npm:5.0.2":
1241-
version: 5.0.2
1242-
resolution: "@mantine/styles@npm:5.0.2"
1241+
"@mantine/styles@npm:5.1.0":
1242+
version: 5.1.0
1243+
resolution: "@mantine/styles@npm:5.1.0"
12431244
dependencies:
12441245
clsx: 1.1.1
12451246
csstype: 3.0.9
12461247
peerDependencies:
12471248
"@emotion/react": ">=11.9.0"
12481249
react: ">=16.8.0"
12491250
react-dom: ">=16.8.0"
1250-
checksum: a602c1453007d52c2d779e3ff107b26f6072158c3d9ffda4be42276bdccfff4b7695cb48f41ead0aacd42af97d40d61b61b022c530200c60f8cf3db711721bee
1251+
checksum: 9d7dc4d55eeea09f86e205a33051d397da45c06ce213860d4f013b9770dde34256bd8056d76ceceb6993828f864df103b1967b2a9d9b0cbe29d7334ec2c30318
12511252
languageName: node
12521253
linkType: hard
12531254

@@ -1260,21 +1261,12 @@ __metadata:
12601261
languageName: node
12611262
linkType: hard
12621263

1263-
"@mantine/utils@npm:5.0.2":
1264-
version: 5.0.2
1265-
resolution: "@mantine/utils@npm:5.0.2"
1266-
peerDependencies:
1267-
react: ">=16.8.0"
1268-
checksum: fe618eb37c8f900ea2ed7ba25a95c01d55a9cc6d3e82ee46d36446258e52a8828098a5d8bd0c53ca269bb876cffd4c8162110715da7e912f552a99b1f2f5ba22
1269-
languageName: node
1270-
linkType: hard
1271-
1272-
"@mantine/utils@npm:5.0.3":
1273-
version: 5.0.3
1274-
resolution: "@mantine/utils@npm:5.0.3"
1264+
"@mantine/utils@npm:5.1.0":
1265+
version: 5.1.0
1266+
resolution: "@mantine/utils@npm:5.1.0"
12751267
peerDependencies:
12761268
react: ">=16.8.0"
1277-
checksum: febde84bcb4369dad4f4476fbd864220608855a30921816ea7033689cc6c921212de2042ae5fc0bd446273874198c3775142c46dae6465f4173fa411798aff75
1269+
checksum: f6d2dd28f97d9e2d09eea3db7d1f2e0a82c451bd7a0c80f9a38c421c7003052b822917d4128a055e39c5822c6de61ecb53728aa86ab726bf4dcda911ab47f650
12781270
languageName: node
12791271
linkType: hard
12801272

@@ -3515,21 +3507,21 @@ __metadata:
35153507
languageName: node
35163508
linkType: hard
35173509

3518-
"embla-carousel-react@npm:^7.0.0-rc05":
3519-
version: 7.0.0-rc05
3520-
resolution: "embla-carousel-react@npm:7.0.0-rc05"
3510+
"embla-carousel-react@npm:^7.0.0":
3511+
version: 7.0.0
3512+
resolution: "embla-carousel-react@npm:7.0.0"
35213513
dependencies:
3522-
embla-carousel: 7.0.0-rc05
3514+
embla-carousel: 7.0.0
35233515
peerDependencies:
35243516
react: ^18.1.0
3525-
checksum: d6d579b047e7ba106653c052e30b198f74288e7cfb501d3212e6516afa5417b9539415a546e38e21ba1fe97069db4c809be3317eaee2bd963bf530a6b73eef5c
3517+
checksum: d44b93901fb6a5be2236ce86115d7132a91f3e1943dc4d2cb0bccf045173008e947a35ebf0e345b90dc33ba06d8a0011913d45e2dbfd6cc47d58953bab96486e
35263518
languageName: node
35273519
linkType: hard
35283520

3529-
"embla-carousel@npm:7.0.0-rc05":
3530-
version: 7.0.0-rc05
3531-
resolution: "embla-carousel@npm:7.0.0-rc05"
3532-
checksum: 7cfe080ab3bdfc013a7d4304a3deb6f2aeef34f1c8f613f5d5760995dcb91512787edac534830d5c22aaa803e6377b3964cf4d2a41eb519f1d6cd297d9a2cbee
3521+
"embla-carousel@npm:7.0.0":
3522+
version: 7.0.0
3523+
resolution: "embla-carousel@npm:7.0.0"
3524+
checksum: e662d18caf4371c04673372bf0e9144aec4b97629bbf48eb623e938ef27bd9f8de0d0f5b344d67bfdc777cce011518b7e833ec74773338292701c7d7efacb779
35333525
languageName: node
35343526
linkType: hard
35353527

@@ -4643,15 +4635,15 @@ __metadata:
46434635
"@dnd-kit/utilities": ^3.2.0
46444636
"@emotion/react": ^11.10.0
46454637
"@emotion/server": ^11.10.0
4646-
"@mantine/carousel": ^5.0.0
4647-
"@mantine/core": ^5.0.2
4648-
"@mantine/dates": ^5.0.2
4649-
"@mantine/dropzone": ^5.0.2
4650-
"@mantine/form": ^5.0.2
4651-
"@mantine/hooks": ^5.0.2
4652-
"@mantine/modals": ^5.0.3
4653-
"@mantine/next": ^5.0.2
4654-
"@mantine/notifications": ^5.0.2
4638+
"@mantine/carousel": ^5.1.0
4639+
"@mantine/core": ^5.1.0
4640+
"@mantine/dates": ^5.1.0
4641+
"@mantine/dropzone": ^5.1.0
4642+
"@mantine/form": ^5.1.0
4643+
"@mantine/hooks": ^5.1.0
4644+
"@mantine/modals": ^5.1.0
4645+
"@mantine/next": ^5.1.0
4646+
"@mantine/notifications": ^5.1.0
46554647
"@mantine/prism": ^5.0.0
46564648
"@next/bundle-analyzer": ^12.1.4
46574649
"@next/eslint-plugin-next": ^12.1.4
@@ -4670,7 +4662,7 @@ __metadata:
46704662
cookies-next: ^2.1.1
46714663
dayjs: ^1.11.4
46724664
dockerode: ^3.3.2
4673-
embla-carousel-react: ^7.0.0-rc05
4665+
embla-carousel-react: ^7.0.0
46744666
eslint: ^8.20.0
46754667
eslint-config-airbnb: ^19.0.4
46764668
eslint-config-airbnb-typescript: ^17.0.0

0 commit comments

Comments
 (0)