commit d65d47c13d4ecc041b216b5b0f912ff6ec9fe48f
parent 8ccbdb835b90ae4a2f9c3446fef93a8ce9c86c7e
Author: Yuukin256 <52195426+Yuukin256@users.noreply.github.com>
Date: Sat, 8 Jun 2024 23:01:51 +0900
Next.jsをv14にアップデート (#74)
* Next.js をv14にアップデート
* MUIをNext.js 14に対応
https://mui.com/material-ui/integrations/nextjs/#pages-router を参照した
* スタイル調整等
Diffstat:
9 files changed, 305 insertions(+), 100 deletions(-)
diff --git a/package.json b/package.json
@@ -16,12 +16,14 @@
"@babel/core": "^7.24.7",
"@emotion/cache": "^11.11.0",
"@emotion/react": "^11.11.4",
+ "@emotion/server": "^11.11.0",
"@emotion/styled": "^11.11.5",
"@hookform/resolvers": "^3.6.0",
"@mantine/hooks": "^7.10.1",
"@mui/icons-material": "^5.15.19",
"@mui/lab": "5.0.0-alpha.169",
"@mui/material": "^5.15.19",
+ "@mui/material-nextjs": "^5.15.11",
"@mui/system": "^5.15.15",
"@mui/x-date-pickers": "^6.20.1",
"@tanstack/react-query": "^4.36.1",
@@ -34,9 +36,9 @@
"date-fns": "^3.6.0",
"jotai": "^2.8.3",
"lodash": "^4.17.21",
- "next": "13.4.1",
+ "next": "14.2.3",
"next-pwa": "^5.6.0",
- "next-superjson-plugin": "0.5.7",
+ "next-superjson-plugin": "^0.6.3",
"notistack": "^3.0.1",
"react": "^18.3.1",
"react-cookie": "^4.1.1",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
@@ -17,6 +17,9 @@ importers:
'@emotion/react':
specifier: ^11.11.4
version: 11.11.4(@types/react@18.3.3)(react@18.3.1)
+ '@emotion/server':
+ specifier: ^11.11.0
+ version: 11.11.0
'@emotion/styled':
specifier: ^11.11.5
version: 11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1)
@@ -35,6 +38,9 @@ importers:
'@mui/material':
specifier: ^5.15.19
version: 5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
+ '@mui/material-nextjs':
+ specifier: ^5.15.11
+ version: 5.15.11(@emotion/cache@11.11.0)(@emotion/server@11.11.0)(@mui/material@5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.3)(next@14.2.3(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)
'@mui/system':
specifier: ^5.15.15
version: 5.15.15(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1)
@@ -49,7 +55,7 @@ importers:
version: 10.45.2(@trpc/server@10.45.2)
'@trpc/next':
specifier: ^10.45.2
- version: 10.45.2(@tanstack/react-query@4.36.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@trpc/client@10.45.2(@trpc/server@10.45.2))(@trpc/react-query@10.45.2(@tanstack/react-query@4.36.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@trpc/client@10.45.2(@trpc/server@10.45.2))(@trpc/server@10.45.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@trpc/server@10.45.2)(next@13.4.1(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
+ version: 10.45.2(@tanstack/react-query@4.36.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@trpc/client@10.45.2(@trpc/server@10.45.2))(@trpc/react-query@10.45.2(@tanstack/react-query@4.36.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@trpc/client@10.45.2(@trpc/server@10.45.2))(@trpc/server@10.45.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@trpc/server@10.45.2)(next@14.2.3(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
'@trpc/react-query':
specifier: ^10.45.2
version: 10.45.2(@tanstack/react-query@4.36.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@trpc/client@10.45.2(@trpc/server@10.45.2))(@trpc/server@10.45.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
@@ -72,14 +78,14 @@ importers:
specifier: ^4.17.21
version: 4.17.21
next:
- specifier: 13.4.1
- version: 13.4.1(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
+ specifier: 14.2.3
+ version: 14.2.3(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
next-pwa:
specifier: ^5.6.0
- version: 5.6.0(@babel/core@7.24.7)(next@13.4.1(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(webpack@5.91.0)
+ version: 5.6.0(@babel/core@7.24.7)(next@14.2.3(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(webpack@5.91.0)
next-superjson-plugin:
- specifier: 0.5.7
- version: 0.5.7(next@13.4.1(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(superjson@1.13.3)
+ specifier: ^0.6.3
+ version: 0.6.3(next@14.2.3(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(superjson@1.13.3)
notistack:
specifier: ^3.0.1
version: 3.0.1(csstype@3.1.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
@@ -790,6 +796,14 @@ packages:
'@emotion/serialize@1.1.4':
resolution: {integrity: sha512-RIN04MBT8g+FnDwgvIUi8czvr1LU1alUMI05LekWB5DGyTm8cCBMCRpq3GqaiyEDRptEXOyXnvZ58GZYu4kBxQ==}
+ '@emotion/server@11.11.0':
+ resolution: {integrity: sha512-6q89fj2z8VBTx9w93kJ5n51hsmtYuFPtZgnc1L8VzRx9ti4EU6EyvF6Nn1H1x3vcCQCF7u2dB2lY4AYJwUW4PA==}
+ peerDependencies:
+ '@emotion/css': ^11.0.0-rc.0
+ peerDependenciesMeta:
+ '@emotion/css':
+ optional: true
+
'@emotion/sheet@1.2.2':
resolution: {integrity: sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA==}
@@ -1067,6 +1081,24 @@ packages:
'@types/react':
optional: true
+ '@mui/material-nextjs@5.15.11':
+ resolution: {integrity: sha512-cp5RWYbBngyi7NKP91R9QITllfxumCVPFjqe4AKzNROVuCot0VpgkafxXqfbv0uFsyUU0ROs0O2M3r17q604Aw==}
+ engines: {node: '>=12.0.0'}
+ peerDependencies:
+ '@emotion/cache': ^11.11.0
+ '@emotion/server': ^11.11.0
+ '@mui/material': ^5.0.0
+ '@types/react': ^17.0.0 || ^18.0.0
+ next: ^13.0.0 || ^14.0.0
+ react: ^17.0.0 || ^18.0.0
+ peerDependenciesMeta:
+ '@emotion/cache':
+ optional: true
+ '@emotion/server':
+ optional: true
+ '@types/react':
+ optional: true
+
'@mui/material@5.15.19':
resolution: {integrity: sha512-lp5xQBbcRuxNtjpWU0BWZgIrv2XLUz4RJ0RqFXBdESIsKoGCQZ6P3wwU5ZPuj5TjssNiKv9AlM+vHopRxZhvVQ==}
engines: {node: '>=12.0.0'}
@@ -1178,62 +1210,62 @@ packages:
moment-jalaali:
optional: true
- '@next/env@13.4.1':
- resolution: {integrity: sha512-eD6WCBMFjLFooLM19SIhSkWBHtaFrZFfg2Cxnyl3vS3DAdFRfnx5TY2RxlkuKXdIRCC0ySbtK9JXXt8qLCqzZg==}
+ '@next/env@14.2.3':
+ resolution: {integrity: sha512-W7fd7IbkfmeeY2gXrzJYDx8D2lWKbVoTIj1o1ScPHNzvp30s1AuoEFSdr39bC5sjxJaxTtq3OTCZboNp0lNWHA==}
'@next/eslint-plugin-next@13.5.6':
resolution: {integrity: sha512-ng7pU/DDsxPgT6ZPvuprxrkeew3XaRf4LAT4FabaEO/hAbvVx4P7wqnqdbTdDn1kgTvsI4tpIgT4Awn/m0bGbg==}
- '@next/swc-darwin-arm64@13.4.1':
- resolution: {integrity: sha512-eF8ARHtYfnoYtDa6xFHriUKA/Mfj/cCbmKb3NofeKhMccs65G6/loZ15a6wYCCx4rPAd6x4t1WmVYtri7EdeBg==}
+ '@next/swc-darwin-arm64@14.2.3':
+ resolution: {integrity: sha512-3pEYo/RaGqPP0YzwnlmPN2puaF2WMLM3apt5jLW2fFdXD9+pqcoTzRk+iZsf8ta7+quAe4Q6Ms0nR0SFGFdS1A==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
- '@next/swc-darwin-x64@13.4.1':
- resolution: {integrity: sha512-7cmDgF9tGWTgn5Gw+vP17miJbH4wcraMHDCOHTYWkO/VeKT73dUWG23TNRLfgtCNSPgH4V5B4uLHoZTanx9bAw==}
+ '@next/swc-darwin-x64@14.2.3':
+ resolution: {integrity: sha512-6adp7waE6P1TYFSXpY366xwsOnEXM+y1kgRpjSRVI2CBDOcbRjsJ67Z6EgKIqWIue52d2q/Mx8g9MszARj8IEA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
- '@next/swc-linux-arm64-gnu@13.4.1':
- resolution: {integrity: sha512-qwJqmCri2ie8aTtE5gjTSr8S6O8B67KCYgVZhv9gKH44yvc/zXbAY8u23QGULsYOyh1islWE5sWfQNLOj9iryg==}
+ '@next/swc-linux-arm64-gnu@14.2.3':
+ resolution: {integrity: sha512-cuzCE/1G0ZSnTAHJPUT1rPgQx1w5tzSX7POXSLaS7w2nIUJUD+e25QoXD/hMfxbsT9rslEXugWypJMILBj/QsA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
- '@next/swc-linux-arm64-musl@13.4.1':
- resolution: {integrity: sha512-qcC54tWNGDv/VVIFkazxhqH1Bnagjfs4enzELVRlUOoJPD2BGJTPI7z08pQPbbgxLtRiu8gl2mXvpB8WlOkMeA==}
+ '@next/swc-linux-arm64-musl@14.2.3':
+ resolution: {integrity: sha512-0D4/oMM2Y9Ta3nGuCcQN8jjJjmDPYpHX9OJzqk42NZGJocU2MqhBq5tWkJrUQOQY9N+In9xOdymzapM09GeiZw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
- '@next/swc-linux-x64-gnu@13.4.1':
- resolution: {integrity: sha512-9TeWFlpLsBosZ+tsm/rWBaMwt5It9tPH8m3nawZqFUUrZyGRfGcI67js774vtx0k3rL9qbyY6+3pw9BCVpaYUA==}
+ '@next/swc-linux-x64-gnu@14.2.3':
+ resolution: {integrity: sha512-ENPiNnBNDInBLyUU5ii8PMQh+4XLr4pG51tOp6aJ9xqFQ2iRI6IH0Ds2yJkAzNV1CfyagcyzPfROMViS2wOZ9w==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
- '@next/swc-linux-x64-musl@13.4.1':
- resolution: {integrity: sha512-sNDGaWmSqTS4QRUzw61wl4mVPeSqNIr1OOjLlQTRuyInxMxtqImRqdvzDvFTlDfdeUMU/DZhWGYoHrXLlZXe6A==}
+ '@next/swc-linux-x64-musl@14.2.3':
+ resolution: {integrity: sha512-BTAbq0LnCbF5MtoM7I/9UeUu/8ZBY0i8SFjUMCbPDOLv+un67e2JgyN4pmgfXBwy/I+RHu8q+k+MCkDN6P9ViQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
- '@next/swc-win32-arm64-msvc@13.4.1':
- resolution: {integrity: sha512-+CXZC7u1iXdLRudecoUYbhbsXpglYv8KFYsFxKBPn7kg+bk7eJo738wAA4jXIl8grTF2mPdmO93JOQym+BlYGA==}
+ '@next/swc-win32-arm64-msvc@14.2.3':
+ resolution: {integrity: sha512-AEHIw/dhAMLNFJFJIJIyOFDzrzI5bAjI9J26gbO5xhAKHYTZ9Or04BesFPXiAYXDNdrwTP2dQceYA4dL1geu8A==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
- '@next/swc-win32-ia32-msvc@13.4.1':
- resolution: {integrity: sha512-vIoXVVc7UYO68VwVMDKwJC2+HqAZQtCYiVlApyKEeIPIQpz2gpufzGxk1z3/gwrJt/kJ5CDZjlhYDCzd3hdz+g==}
+ '@next/swc-win32-ia32-msvc@14.2.3':
+ resolution: {integrity: sha512-vga40n1q6aYb0CLrM+eEmisfKCR45ixQYXuBXxOOmmoV8sYST9k7E3US32FsY+CkkF7NtzdcebiFT4CHuMSyZw==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
- '@next/swc-win32-x64-msvc@13.4.1':
- resolution: {integrity: sha512-n8V5ImLQZibKTu10UUdI3nIeTLkliEXe628qxqW9v8My3BAH2a7H0SaCqkV2OgqFnn8sG1wxKYw9/SNJ632kSA==}
+ '@next/swc-win32-x64-msvc@14.2.3':
+ resolution: {integrity: sha512-Q1/zm43RWynxrO7lW4ehciQVj+5ePBhOK+/K2P7pLFX3JaJ/IZVC69SHidrmZSOkqz7ECIOhhy7XhAFG4JYyHA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
@@ -1287,8 +1319,11 @@ packages:
'@surma/rollup-plugin-off-main-thread@2.2.3':
resolution: {integrity: sha512-lR8q/9W7hZpMWweNiAKU7NQerBnzQQLvi8qnTDU/fxItPhtZVMbPV3lbCwjhIlNBe9Bbr5V+KHshvWmVSG9cxQ==}
- '@swc/helpers@0.5.1':
- resolution: {integrity: sha512-sJ902EfIzn1Fa+qYmjdQqh8tPsoxyBz+8yBKC2HKUxyezKJFwPGOn7pv4WY6QuQW//ySQi5lJjA/ZT9sNWWNTg==}
+ '@swc/counter@0.1.3':
+ resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==}
+
+ '@swc/helpers@0.5.5':
+ resolution: {integrity: sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==}
'@tanstack/query-core@4.36.1':
resolution: {integrity: sha512-DJSilV5+ytBP1FbFcEJovv4rnnm/CokuVvrBEtW/Va9DvuJ3HksbXUJEpI0aV1KtuL4ZoO9AVE6PyNLzF7tLeA==}
@@ -1676,6 +1711,9 @@ packages:
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
hasBin: true
+ buffer-from@0.1.2:
+ resolution: {integrity: sha512-RiWIenusJsmI2KcvqQABB83tLxCByE3upSP8QU3rJDMVFGPWLvPQJt/O1Su9moRWeH7d+Q2HYb68f6+v+tw2vg==}
+
buffer-from@1.1.2:
resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==}
@@ -1789,6 +1827,9 @@ packages:
core-js-compat@3.37.1:
resolution: {integrity: sha512-9TNiImhKvQqSUkOvk/mMRZzOANTiEVC7WaBNhHcKM7x+/5E1l5NvsysR19zuDQScE8k+kfQXWRN3AtS/eOSHpg==}
+ core-util-is@1.0.3:
+ resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==}
+
cosmiconfig@7.1.0:
resolution: {integrity: sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==}
engines: {node: '>=10'}
@@ -1889,6 +1930,9 @@ packages:
dom7@4.0.6:
resolution: {integrity: sha512-emjdpPLhpNubapLFdjNL9tP06Sr+GZkrIHEXLWvOGsytACUrkbeIdjO5g77m00BrHTznnlcNqgmn7pCN192TBA==}
+ duplexer2@0.1.4:
+ resolution: {integrity: sha512-asLFVfWWtJ90ZyOUHMqk7/S2w2guQKxUI2itj3d92ADHhxUSbCMGi1f1cBcJ7xM1To+pE/Khbwo1yuNbMEPKeA==}
+
eastasianwidth@0.2.0:
resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}
@@ -2295,6 +2339,10 @@ packages:
hoist-non-react-statics@3.3.2:
resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==}
+ html-tokenize@2.0.1:
+ resolution: {integrity: sha512-QY6S+hZ0f5m1WT8WffYN+Hg+xm/w5I8XeUcAq/ZYP5wVC8xbKi4Whhru3FtrAebD5EhBW8rmFzkDI6eCAuFe2w==}
+ hasBin: true
+
human-signals@4.3.1:
resolution: {integrity: sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==}
engines: {node: '>=14.18.0'}
@@ -2472,6 +2520,12 @@ packages:
resolution: {integrity: sha512-ZhMwEosbFJkA0YhFnNDgTM4ZxDRsS6HqTo7qsZM08fehyRYIYa0yHu5R6mgo1n/8MgaPBXiPimPD77baVFYg+A==}
engines: {node: '>=12.13'}
+ isarray@0.0.1:
+ resolution: {integrity: sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==}
+
+ isarray@1.0.0:
+ resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==}
+
isarray@2.0.5:
resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==}
@@ -2692,6 +2746,9 @@ packages:
ms@2.1.3:
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
+ multipipe@1.0.2:
+ resolution: {integrity: sha512-6uiC9OvY71vzSGX8lZvSqscE7ft9nPupJ8fMjrCNRAUy2LREUW42UL+V/NTrogr6rFgRydUrCX4ZitfpSNkSCQ==}
+
nanoid@3.3.7:
resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==}
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
@@ -2711,29 +2768,26 @@ packages:
peerDependencies:
next: '>=9.0.0'
- next-superjson-plugin@0.5.7:
- resolution: {integrity: sha512-bkF49B/Pcf0GCh10vXL+hjBodC404FgzEsl3wtrjwqvTkoWDnqBOgP2KqWR9sF1tz4MSMlo872Q4Srl/2XRFWw==}
+ next-superjson-plugin@0.6.3:
+ resolution: {integrity: sha512-gipGROzbbn1Koq84AZQodIvBdORp9dytIDv07SguwXdxnJb6v05KCmHVNU9L6AWqxjP14qNIWCNdKRDhnGRZrg==}
peerDependencies:
- next: ^13
- superjson: ^1
+ next: ^13.0 || ^14.0
+ superjson: ^1 || ^2
- next@13.4.1:
- resolution: {integrity: sha512-JBw2kAIyhKDpjhEWvNVoFeIzNp9xNxg8wrthDOtMctfn3EpqGCmW0FSviNyGgOSOSn6zDaX48pmvbdf6X2W9xA==}
- engines: {node: '>=16.8.0'}
+ next@14.2.3:
+ resolution: {integrity: sha512-dowFkFTR8v79NPJO4QsBUtxv0g9BrS/phluVpMAt2ku7H+cbcBJlopXjkWlwxrk/xGqMemr7JkGPGemPrLLX7A==}
+ engines: {node: '>=18.17.0'}
hasBin: true
peerDependencies:
'@opentelemetry/api': ^1.1.0
- fibers: '>= 3.1.0'
- node-sass: ^6.0.0 || ^7.0.0
+ '@playwright/test': ^1.41.2
react: ^18.2.0
react-dom: ^18.2.0
sass: ^1.3.0
peerDependenciesMeta:
'@opentelemetry/api':
optional: true
- fibers:
- optional: true
- node-sass:
+ '@playwright/test':
optional: true
sass:
optional: true
@@ -2759,6 +2813,9 @@ packages:
object-inspect@1.13.1:
resolution: {integrity: sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==}
+ object-keys@0.4.0:
+ resolution: {integrity: sha512-ncrLw+X55z7bkl5PnUvHwFK9FcGuFYo9gtjws2XtSzL+aZ8tm830P60WJ0dSmFVaSalWieW5MD7kEdnXda9yJw==}
+
object-keys@1.1.1:
resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==}
engines: {node: '>= 0.4'}
@@ -2896,8 +2953,8 @@ packages:
resolution: {integrity: sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==}
engines: {node: '>= 0.4'}
- postcss@8.4.14:
- resolution: {integrity: sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==}
+ postcss@8.4.31:
+ resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==}
engines: {node: ^10 || ^12 || >=14}
prelude-ls@1.2.1:
@@ -2913,6 +2970,9 @@ packages:
resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==}
engines: {node: '>=6'}
+ process-nextick-args@2.0.1:
+ resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==}
+
prop-types@15.8.1:
resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==}
@@ -2973,6 +3033,12 @@ packages:
resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==}
engines: {node: '>=0.10.0'}
+ readable-stream@1.0.34:
+ resolution: {integrity: sha512-ok1qVCJuRkNmvebYikljxJA/UEsKwLl2nI1OmaqAu4/UE+h0wKCHok4XkL/gvi39OacXvw59RJUOFUkDib2rHg==}
+
+ readable-stream@2.3.8:
+ resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==}
+
reflect.getprototypeof@1.0.6:
resolution: {integrity: sha512-fmfw4XgoDke3kdI6h4xcUz1dG8uaiv5q9gcEwLS4Pnth2kxT+GZ7YehS1JTMGBQmtV7Y4GFGbs2re2NqhdozUg==}
engines: {node: '>= 0.4'}
@@ -3060,6 +3126,9 @@ packages:
resolution: {integrity: sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==}
engines: {node: '>=0.4'}
+ safe-buffer@5.1.2:
+ resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==}
+
safe-buffer@5.2.1:
resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==}
@@ -3180,6 +3249,12 @@ packages:
resolution: {integrity: sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==}
engines: {node: '>= 0.4'}
+ string_decoder@0.10.31:
+ resolution: {integrity: sha512-ev2QzSzWPYmy9GuqfIVildA4OdcGLeFZQrq5ys6RtiuF+RQQiZWr8TZNyAcuVXyQRYfEO+MsoB/1BuQVhOJuoQ==}
+
+ string_decoder@1.1.1:
+ resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==}
+
stringify-object@3.3.0:
resolution: {integrity: sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw==}
engines: {node: '>=4'}
@@ -3284,6 +3359,12 @@ packages:
text-table@0.2.0:
resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==}
+ through2@0.4.2:
+ resolution: {integrity: sha512-45Llu+EwHKtAZYTPPVn3XZHBgakWMN3rokhEv5hu596XP+cNgplMg+Gj+1nmAvj+L0K7+N49zBKx5rah5u0QIQ==}
+
+ through@2.3.8:
+ resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==}
+
to-fast-properties@2.0.0:
resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==}
engines: {node: '>=4'}
@@ -3408,6 +3489,9 @@ packages:
peerDependencies:
react: ^16.8.0 || ^17 || ^18
+ util-deprecate@1.0.2:
+ resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
+
valibot@0.30.0:
resolution: {integrity: sha512-5POBdbSkM+3nvJ6ZlyQHsggisfRtyT4tVTo1EIIShs6qCdXJnyWU5TJ68vr8iTg5zpOLjXLRiBqNx+9zwZz/rA==}
@@ -3524,6 +3608,10 @@ packages:
wrappy@1.0.2:
resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}
+ xtend@2.1.2:
+ resolution: {integrity: sha512-vMNKzr2rHP9Dp/e1NQFnLQlwlhp9L/LfvnsVdHxN1f+uggyVI3i08uD14GPvCToPkdsRfyPqIyYGmIk58V98ZQ==}
+ engines: {node: '>=0.4'}
+
yallist@3.1.1:
resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==}
@@ -3539,9 +3627,6 @@ packages:
resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==}
engines: {node: '>=10'}
- zod@3.21.4:
- resolution: {integrity: sha512-m46AKbrzKVzOzs/DZgVnG5H55N1sv1M8qZU3A8RIKbs3mrACDNeIOeilDymVb2HdmP8uwshOCF4uJ8uM9rCqJw==}
-
zod@3.23.8:
resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==}
@@ -4383,6 +4468,13 @@ snapshots:
'@emotion/utils': 1.2.1
csstype: 3.1.3
+ '@emotion/server@11.11.0':
+ dependencies:
+ '@emotion/utils': 1.2.1
+ html-tokenize: 2.0.1
+ multipipe: 1.0.2
+ through: 2.3.8
+
'@emotion/sheet@1.2.2': {}
'@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1)':
@@ -4599,6 +4691,17 @@ snapshots:
'@emotion/styled': 11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1)
'@types/react': 18.3.3
+ '@mui/material-nextjs@5.15.11(@emotion/cache@11.11.0)(@emotion/server@11.11.0)(@mui/material@5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@types/react@18.3.3)(next@14.2.3(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)':
+ dependencies:
+ '@babel/runtime': 7.24.7
+ '@mui/material': 5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
+ next: 14.2.3(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
+ react: 18.3.1
+ optionalDependencies:
+ '@emotion/cache': 11.11.0
+ '@emotion/server': 11.11.0
+ '@types/react': 18.3.3
+
'@mui/material@5.15.19(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@emotion/styled@11.11.5(@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react@18.3.1))(@types/react@18.3.3)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
dependencies:
'@babel/runtime': 7.24.7
@@ -4690,37 +4793,37 @@ snapshots:
transitivePeerDependencies:
- '@types/react'
- '@next/env@13.4.1': {}
+ '@next/env@14.2.3': {}
'@next/eslint-plugin-next@13.5.6':
dependencies:
glob: 7.1.7
- '@next/swc-darwin-arm64@13.4.1':
+ '@next/swc-darwin-arm64@14.2.3':
optional: true
- '@next/swc-darwin-x64@13.4.1':
+ '@next/swc-darwin-x64@14.2.3':
optional: true
- '@next/swc-linux-arm64-gnu@13.4.1':
+ '@next/swc-linux-arm64-gnu@14.2.3':
optional: true
- '@next/swc-linux-arm64-musl@13.4.1':
+ '@next/swc-linux-arm64-musl@14.2.3':
optional: true
- '@next/swc-linux-x64-gnu@13.4.1':
+ '@next/swc-linux-x64-gnu@14.2.3':
optional: true
- '@next/swc-linux-x64-musl@13.4.1':
+ '@next/swc-linux-x64-musl@14.2.3':
optional: true
- '@next/swc-win32-arm64-msvc@13.4.1':
+ '@next/swc-win32-arm64-msvc@14.2.3':
optional: true
- '@next/swc-win32-ia32-msvc@13.4.1':
+ '@next/swc-win32-ia32-msvc@14.2.3':
optional: true
- '@next/swc-win32-x64-msvc@13.4.1':
+ '@next/swc-win32-x64-msvc@14.2.3':
optional: true
'@nodelib/fs.scandir@2.1.5':
@@ -4778,8 +4881,11 @@ snapshots:
magic-string: 0.25.9
string.prototype.matchall: 4.0.11
- '@swc/helpers@0.5.1':
+ '@swc/counter@0.1.3': {}
+
+ '@swc/helpers@0.5.5':
dependencies:
+ '@swc/counter': 0.1.3
tslib: 2.6.3
'@tanstack/query-core@4.36.1': {}
@@ -4796,13 +4902,13 @@ snapshots:
dependencies:
'@trpc/server': 10.45.2
- '@trpc/next@10.45.2(@tanstack/react-query@4.36.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@trpc/client@10.45.2(@trpc/server@10.45.2))(@trpc/react-query@10.45.2(@tanstack/react-query@4.36.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@trpc/client@10.45.2(@trpc/server@10.45.2))(@trpc/server@10.45.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@trpc/server@10.45.2)(next@13.4.1(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
+ '@trpc/next@10.45.2(@tanstack/react-query@4.36.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@trpc/client@10.45.2(@trpc/server@10.45.2))(@trpc/react-query@10.45.2(@tanstack/react-query@4.36.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@trpc/client@10.45.2(@trpc/server@10.45.2))(@trpc/server@10.45.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@trpc/server@10.45.2)(next@14.2.3(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)':
dependencies:
'@tanstack/react-query': 4.36.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
'@trpc/client': 10.45.2(@trpc/server@10.45.2)
'@trpc/react-query': 10.45.2(@tanstack/react-query@4.36.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(@trpc/client@10.45.2(@trpc/server@10.45.2))(@trpc/server@10.45.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
'@trpc/server': 10.45.2
- next: 13.4.1(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
+ next: 14.2.3(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
react: 18.3.1
react-dom: 18.3.1(react@18.3.1)
@@ -5256,6 +5362,8 @@ snapshots:
node-releases: 2.0.14
update-browserslist-db: 1.0.16(browserslist@4.23.0)
+ buffer-from@0.1.2: {}
+
buffer-from@1.1.2: {}
builtin-modules@3.3.0: {}
@@ -5349,6 +5457,8 @@ snapshots:
dependencies:
browserslist: 4.23.0
+ core-util-is@1.0.3: {}
+
cosmiconfig@7.1.0:
dependencies:
'@types/parse-json': 4.0.2
@@ -5450,6 +5560,10 @@ snapshots:
dependencies:
ssr-window: 4.0.2
+ duplexer2@0.1.4:
+ dependencies:
+ readable-stream: 2.3.8
+
eastasianwidth@0.2.0: {}
ejs@3.1.10:
@@ -6072,6 +6186,14 @@ snapshots:
dependencies:
react-is: 16.13.1
+ html-tokenize@2.0.1:
+ dependencies:
+ buffer-from: 0.1.2
+ inherits: 2.0.4
+ minimist: 1.2.8
+ readable-stream: 1.0.34
+ through2: 0.4.2
+
human-signals@4.3.1: {}
husky@8.0.3: {}
@@ -6218,6 +6340,10 @@ snapshots:
is-what@4.1.16: {}
+ isarray@0.0.1: {}
+
+ isarray@1.0.0: {}
+
isarray@2.0.5: {}
isexe@2.0.0: {}
@@ -6429,6 +6555,11 @@ snapshots:
ms@2.1.3: {}
+ multipipe@1.0.2:
+ dependencies:
+ duplexer2: 0.1.4
+ object-assign: 4.1.1
+
nanoid@3.3.7: {}
natural-compare-lite@1.4.0: {}
@@ -6437,12 +6568,12 @@ snapshots:
neo-async@2.6.2: {}
- next-pwa@5.6.0(@babel/core@7.24.7)(next@13.4.1(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(webpack@5.91.0):
+ next-pwa@5.6.0(@babel/core@7.24.7)(next@14.2.3(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(webpack@5.91.0):
dependencies:
babel-loader: 8.3.0(@babel/core@7.24.7)(webpack@5.91.0)
clean-webpack-plugin: 4.0.0(webpack@5.91.0)
globby: 11.1.0
- next: 13.4.1(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
+ next: 14.2.3(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
terser-webpack-plugin: 5.3.10(webpack@5.91.0)
workbox-webpack-plugin: 6.6.0(webpack@5.91.0)
workbox-window: 6.6.0
@@ -6455,33 +6586,33 @@ snapshots:
- uglify-js
- webpack
- next-superjson-plugin@0.5.7(next@13.4.1(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(superjson@1.13.3):
+ next-superjson-plugin@0.6.3(next@14.2.3(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(superjson@1.13.3):
dependencies:
hoist-non-react-statics: 3.3.2
- next: 13.4.1(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
+ next: 14.2.3(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
superjson: 1.13.3
- next@13.4.1(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
+ next@14.2.3(@babel/core@7.24.7)(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
dependencies:
- '@next/env': 13.4.1
- '@swc/helpers': 0.5.1
+ '@next/env': 14.2.3
+ '@swc/helpers': 0.5.5
busboy: 1.6.0
caniuse-lite: 1.0.30001629
- postcss: 8.4.14
+ graceful-fs: 4.2.11
+ postcss: 8.4.31
react: 18.3.1
react-dom: 18.3.1(react@18.3.1)
styled-jsx: 5.1.1(@babel/core@7.24.7)(react@18.3.1)
- zod: 3.21.4
optionalDependencies:
- '@next/swc-darwin-arm64': 13.4.1
- '@next/swc-darwin-x64': 13.4.1
- '@next/swc-linux-arm64-gnu': 13.4.1
- '@next/swc-linux-arm64-musl': 13.4.1
- '@next/swc-linux-x64-gnu': 13.4.1
- '@next/swc-linux-x64-musl': 13.4.1
- '@next/swc-win32-arm64-msvc': 13.4.1
- '@next/swc-win32-ia32-msvc': 13.4.1
- '@next/swc-win32-x64-msvc': 13.4.1
+ '@next/swc-darwin-arm64': 14.2.3
+ '@next/swc-darwin-x64': 14.2.3
+ '@next/swc-linux-arm64-gnu': 14.2.3
+ '@next/swc-linux-arm64-musl': 14.2.3
+ '@next/swc-linux-x64-gnu': 14.2.3
+ '@next/swc-linux-x64-musl': 14.2.3
+ '@next/swc-win32-arm64-msvc': 14.2.3
+ '@next/swc-win32-ia32-msvc': 14.2.3
+ '@next/swc-win32-x64-msvc': 14.2.3
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros
@@ -6505,6 +6636,8 @@ snapshots:
object-inspect@1.13.1: {}
+ object-keys@0.4.0: {}
+
object-keys@1.1.1: {}
object.assign@4.1.5:
@@ -6633,7 +6766,7 @@ snapshots:
possible-typed-array-names@1.0.0: {}
- postcss@8.4.14:
+ postcss@8.4.31:
dependencies:
nanoid: 3.3.7
picocolors: 1.0.1
@@ -6645,6 +6778,8 @@ snapshots:
pretty-bytes@5.6.0: {}
+ process-nextick-args@2.0.1: {}
+
prop-types@15.8.1:
dependencies:
loose-envify: 1.4.0
@@ -6702,6 +6837,23 @@ snapshots:
dependencies:
loose-envify: 1.4.0
+ readable-stream@1.0.34:
+ dependencies:
+ core-util-is: 1.0.3
+ inherits: 2.0.4
+ isarray: 0.0.1
+ string_decoder: 0.10.31
+
+ readable-stream@2.3.8:
+ dependencies:
+ core-util-is: 1.0.3
+ inherits: 2.0.4
+ isarray: 1.0.0
+ process-nextick-args: 2.0.1
+ safe-buffer: 5.1.2
+ string_decoder: 1.1.1
+ util-deprecate: 1.0.2
+
reflect.getprototypeof@1.0.6:
dependencies:
call-bind: 1.0.7
@@ -6802,6 +6954,8 @@ snapshots:
has-symbols: 1.0.3
isarray: 2.0.5
+ safe-buffer@5.1.2: {}
+
safe-buffer@5.2.1: {}
safe-regex-test@1.0.3:
@@ -6941,6 +7095,12 @@ snapshots:
define-properties: 1.2.1
es-object-atoms: 1.0.0
+ string_decoder@0.10.31: {}
+
+ string_decoder@1.1.1:
+ dependencies:
+ safe-buffer: 5.1.2
+
stringify-object@3.3.0:
dependencies:
get-own-enumerable-property-symbols: 3.0.2
@@ -7024,6 +7184,13 @@ snapshots:
text-table@0.2.0: {}
+ through2@0.4.2:
+ dependencies:
+ readable-stream: 1.0.34
+ xtend: 2.1.2
+
+ through@2.3.8: {}
+
to-fast-properties@2.0.0: {}
to-regex-range@5.0.1:
@@ -7154,6 +7321,8 @@ snapshots:
lodash.debounce: 4.0.8
react: 18.3.1
+ util-deprecate@1.0.2: {}
+
valibot@0.30.0: {}
watchpack@2.4.1:
@@ -7384,6 +7553,10 @@ snapshots:
wrappy@1.0.2: {}
+ xtend@2.1.2:
+ dependencies:
+ object-keys: 0.4.0
+
yallist@3.1.1: {}
yaml@1.10.2: {}
@@ -7392,6 +7565,4 @@ snapshots:
yocto-queue@0.1.0: {}
- zod@3.21.4: {}
-
zod@3.23.8: {}
diff --git a/src/client/components/WarningOfUse/index.tsx b/src/client/components/WarningOfUse/index.tsx
@@ -1,6 +1,6 @@
import { useIsomorphicEffect } from '@mantine/hooks';
-import { Alert, AlertTitle, useColorScheme } from '@mui/material';
-import { css, styled } from '@mui/material/styles';
+import { Alert, AlertTitle } from '@mui/material';
+import { css, styled, useColorScheme } from '@mui/material/styles';
import { useState } from 'react';
import type { AlertProps } from '@mui/material';
diff --git a/src/client/features/daily/components/Lessons/Lesson.tsx b/src/client/features/daily/components/Lessons/Lesson.tsx
@@ -1,7 +1,7 @@
import { useDisclosure } from '@mantine/hooks';
import CommentIcon from '@mui/icons-material/CommentOutlined';
import { Button } from '@mui/material';
-import { alpha, styled, useTheme } from '@mui/material/styles';
+import { alpha, styled } from '@mui/material/styles';
import { useAtomValue } from 'jotai';
import useMySubject from 'client/hooks/useMySubject';
@@ -68,12 +68,6 @@ export default function Lesson({ date, period, courses, basis }: Props) {
});
const [note, setNote] = useNote({ gradeClass, date, period });
- const theme = useTheme();
- const bgColor =
- theme.palette.mode === 'light'
- ? alpha(theme.palette.primary.main, 0.15)
- : alpha(theme.palette.primary.dark, 0.4);
-
return (
<ListItem>
<Button
@@ -84,7 +78,16 @@ export default function Lesson({ date, period, courses, basis }: Props) {
textAlign: 'left',
fontWeight: 'unset',
color: 'unset',
- backgroundColor: courses.length ? bgColor : 'inherit',
+ [theme.getColorSchemeSelector('light')]: {
+ backgroundColor: courses.length
+ ? alpha(theme.palette.primary.light, 0.15)
+ : 'inherit',
+ },
+ [theme.getColorSchemeSelector('dark')]: {
+ backgroundColor: courses.length
+ ? alpha(theme.palette.primary.dark, 0.4)
+ : 'inherit',
+ },
width: '100%',
textTransform: 'none',
flexDirection: 'row',
diff --git a/src/client/features/daily/components/SetMyClassFab.tsx b/src/client/features/daily/components/SetMyClassFab.tsx
@@ -3,6 +3,7 @@ import SchoolIcon from '@mui/icons-material/School';
import { Fab, Zoom } from '@mui/material';
import { useAtomValue } from 'jotai';
import { useSnackbar } from 'notistack';
+// TODO: mantine hooks で置き換え(usehooks-ts撲滅)
import { useTimeout } from 'usehooks-ts';
import useIsPwa from 'client/hooks/useIsPwa';
diff --git a/src/client/features/setting/components/ThemeSwitch.tsx b/src/client/features/setting/components/ThemeSwitch.tsx
@@ -4,9 +4,9 @@ import {
RadioGroup,
FormControlLabel,
Radio,
- useColorScheme,
Box,
} from '@mui/material';
+import { useColorScheme } from '@mui/material/styles';
import { useCallback } from 'react';
import type { ChangeEvent } from 'react';
diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx
@@ -1,10 +1,10 @@
-import { CacheProvider } from '@emotion/react';
import CloseIcon from '@mui/icons-material/Close';
import { CssBaseline, IconButton } from '@mui/material';
import {
styled,
Experimental_CssVarsProvider as CssVarsProvider,
} from '@mui/material/styles';
+import { AppCacheProvider } from '@mui/material-nextjs/v14-pagesRouter';
import Head from 'next/head';
import {
MaterialDesignContent,
@@ -47,7 +47,7 @@ function App({
const theme = useMemo(() => getMuiTheme(), []);
return (
- <CacheProvider value={emotionCache}>
+ <AppCacheProvider emotionCache={emotionCache}>
<CssVarsProvider theme={theme} defaultMode='system'>
<CookiesProvider>
<SnackbarProvider
@@ -79,7 +79,7 @@ function App({
</SnackbarProvider>
</CookiesProvider>
</CssVarsProvider>
- </CacheProvider>
+ </AppCacheProvider>
);
}
diff --git a/src/pages/_document.tsx b/src/pages/_document.tsx
@@ -1,10 +1,20 @@
import { getInitColorSchemeScript } from '@mui/material/styles';
+import {
+ DocumentHeadTags,
+ documentGetInitialProps,
+} from '@mui/material-nextjs/v14-pagesRouter';
import { Html, Head, Main, NextScript } from 'next/document';
-const MyDocument = () => {
+import type { DocumentHeadTagsProps } from '@mui/material-nextjs/v14-pagesRouter';
+import type { DocumentContext, DocumentProps } from 'next/document';
+
+export default function MyDocument(
+ props: DocumentProps & DocumentHeadTagsProps,
+) {
return (
- <Html lang='ja'>
+ <Html lang='ja' data-color-scheme='light'>
<Head>
+ <DocumentHeadTags {...props} />
<link rel='manifest' href='/manifest.json' />
<meta name='theme-color' content='#029494' />
<link rel='icon' sizes='16x16' href='/favicon.ico' />
@@ -21,6 +31,9 @@ const MyDocument = () => {
</body>
</Html>
);
-};
+}
-export default MyDocument;
+MyDocument.getInitialProps = async (ctx: DocumentContext) => {
+ const finalProps = await documentGetInitialProps(ctx);
+ return finalProps;
+};
diff --git a/src/pages/update-info.tsx b/src/pages/update-info.tsx
@@ -12,7 +12,22 @@ const UpdateInfoPage: NextPage = () => {
<>
<Head title='更新情報' />
<Layout title='更新情報'>
- <Box p={2} width={1} height='fit-content'>
+ <Box
+ p={2}
+ width={1}
+ height='fit-content'
+ sx={{
+ '& dd': {
+ marginLeft: '1em',
+ },
+ '& ul': {
+ listStyle: 'outside',
+ padding: 0,
+ margin: 0,
+ marginLeft: '1.5em',
+ },
+ }}
+ >
<Typography variant='h2'>アプリ更新情報</Typography>
<p>アプリの機能追加やバグ修正などの更新情報はこちら。</p>
<dl>