diff --git a/.pnp.cjs b/.pnp.cjs index 56dc88d..d70116e 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -29,7 +29,7 @@ const RAW_RUNTIME_STATE = "packageDependencies": [\ ["@commitlint/cli", "npm:18.4.4"],\ ["@commitlint/config-conventional", "npm:18.4.4"],\ - ["@next/eslint-plugin-next", "npm:14.2.3"],\ + ["@next/eslint-plugin-next", "npm:14.2.4"],\ ["@storybook/addon-essentials", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:7.6.8"],\ ["@storybook/addon-interactions", "npm:7.6.8"],\ ["@storybook/addon-links", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:7.6.8"],\ @@ -69,12 +69,13 @@ const RAW_RUNTIME_STATE = ["eslint-plugin-storybook", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:0.6.15"],\ ["eslint-plugin-testing-library", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:6.2.0"],\ ["eslint-plugin-unused-imports", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:3.2.0"],\ - ["framer-motion", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:11.2.0"],\ + ["framer-motion", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:11.2.10"],\ ["husky", "npm:8.0.3"],\ ["jest", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:29.7.0"],\ ["jest-environment-jsdom", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:29.7.0"],\ ["lint-staged", "npm:15.2.0"],\ - ["next", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:14.2.3"],\ + ["next", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:14.2.4"],\ + ["pdfjs-dist", "npm:3.11.174"],\ ["postcss", "npm:8.4.32"],\ ["postcss-scss", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:4.0.9"],\ ["prop-types", "npm:15.8.1"],\ @@ -4172,7 +4173,7 @@ const RAW_RUNTIME_STATE = ["detect-libc", "npm:2.0.2"],\ ["https-proxy-agent", "npm:5.0.1"],\ ["make-dir", "npm:3.1.0"],\ - ["node-fetch", "virtual:148a20b1b9edf8dbd1aa2e3bec11ab0e7da56b53327e37a00df3eb26590d849d1542aa8f2fb6de0ca73f920758a0d89dd38b04c79c5be8b8c820de34a9e8026e#npm:2.7.0"],\ + ["node-fetch", "virtual:5547f15a2bb3d361d141532d43f94523f31e9edfe533f8367b3e26e300194e2978be03f56c09e100afcfee4c02b7fbe13c6ffcf58c613b457a86da522a2979f2#npm:2.7.0"],\ ["nopt", "npm:5.0.0"],\ ["npmlog", "npm:5.0.1"],\ ["rimraf", "npm:3.0.2"],\ @@ -4218,101 +4219,101 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["@next/env", [\ - ["npm:14.2.3", {\ - "packageLocation": "./.yarn/cache/@next-env-npm-14.2.3-439888dc66-82b445331d.zip/node_modules/@next/env/",\ + ["npm:14.2.4", {\ + "packageLocation": "./.yarn/cache/@next-env-npm-14.2.4-9859535528-1f48bd96dd.zip/node_modules/@next/env/",\ "packageDependencies": [\ - ["@next/env", "npm:14.2.3"]\ + ["@next/env", "npm:14.2.4"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@next/eslint-plugin-next", [\ - ["npm:14.2.3", {\ - "packageLocation": "./.yarn/cache/@next-eslint-plugin-next-npm-14.2.3-22dfe5fe9e-f462941b65.zip/node_modules/@next/eslint-plugin-next/",\ + ["npm:14.2.4", {\ + "packageLocation": "./.yarn/cache/@next-eslint-plugin-next-npm-14.2.4-ca7149f339-44c94d13ae.zip/node_modules/@next/eslint-plugin-next/",\ "packageDependencies": [\ - ["@next/eslint-plugin-next", "npm:14.2.3"],\ + ["@next/eslint-plugin-next", "npm:14.2.4"],\ ["glob", "npm:10.3.10"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@next/swc-darwin-arm64", [\ - ["npm:14.2.3", {\ - "packageLocation": "./.yarn/unplugged/@next-swc-darwin-arm64-npm-14.2.3-a4a36e8f73/node_modules/@next/swc-darwin-arm64/",\ + ["npm:14.2.4", {\ + "packageLocation": "./.yarn/unplugged/@next-swc-darwin-arm64-npm-14.2.4-86d534c3ee/node_modules/@next/swc-darwin-arm64/",\ "packageDependencies": [\ - ["@next/swc-darwin-arm64", "npm:14.2.3"]\ + ["@next/swc-darwin-arm64", "npm:14.2.4"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@next/swc-darwin-x64", [\ - ["npm:14.2.3", {\ - "packageLocation": "./.yarn/unplugged/@next-swc-darwin-x64-npm-14.2.3-bb811d66d3/node_modules/@next/swc-darwin-x64/",\ + ["npm:14.2.4", {\ + "packageLocation": "./.yarn/unplugged/@next-swc-darwin-x64-npm-14.2.4-56f1600da7/node_modules/@next/swc-darwin-x64/",\ "packageDependencies": [\ - ["@next/swc-darwin-x64", "npm:14.2.3"]\ + ["@next/swc-darwin-x64", "npm:14.2.4"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@next/swc-linux-arm64-gnu", [\ - ["npm:14.2.3", {\ - "packageLocation": "./.yarn/unplugged/@next-swc-linux-arm64-gnu-npm-14.2.3-8a1a464ce1/node_modules/@next/swc-linux-arm64-gnu/",\ + ["npm:14.2.4", {\ + "packageLocation": "./.yarn/unplugged/@next-swc-linux-arm64-gnu-npm-14.2.4-acf896e2cf/node_modules/@next/swc-linux-arm64-gnu/",\ "packageDependencies": [\ - ["@next/swc-linux-arm64-gnu", "npm:14.2.3"]\ + ["@next/swc-linux-arm64-gnu", "npm:14.2.4"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@next/swc-linux-arm64-musl", [\ - ["npm:14.2.3", {\ - "packageLocation": "./.yarn/unplugged/@next-swc-linux-arm64-musl-npm-14.2.3-ae66d88cf4/node_modules/@next/swc-linux-arm64-musl/",\ + ["npm:14.2.4", {\ + "packageLocation": "./.yarn/unplugged/@next-swc-linux-arm64-musl-npm-14.2.4-f27a7623b2/node_modules/@next/swc-linux-arm64-musl/",\ "packageDependencies": [\ - ["@next/swc-linux-arm64-musl", "npm:14.2.3"]\ + ["@next/swc-linux-arm64-musl", "npm:14.2.4"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@next/swc-linux-x64-gnu", [\ - ["npm:14.2.3", {\ - "packageLocation": "./.yarn/unplugged/@next-swc-linux-x64-gnu-npm-14.2.3-635f7187f5/node_modules/@next/swc-linux-x64-gnu/",\ + ["npm:14.2.4", {\ + "packageLocation": "./.yarn/unplugged/@next-swc-linux-x64-gnu-npm-14.2.4-80ebbf3a12/node_modules/@next/swc-linux-x64-gnu/",\ "packageDependencies": [\ - ["@next/swc-linux-x64-gnu", "npm:14.2.3"]\ + ["@next/swc-linux-x64-gnu", "npm:14.2.4"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@next/swc-linux-x64-musl", [\ - ["npm:14.2.3", {\ - "packageLocation": "./.yarn/unplugged/@next-swc-linux-x64-musl-npm-14.2.3-b72b7c2b49/node_modules/@next/swc-linux-x64-musl/",\ + ["npm:14.2.4", {\ + "packageLocation": "./.yarn/unplugged/@next-swc-linux-x64-musl-npm-14.2.4-6abc6a27a7/node_modules/@next/swc-linux-x64-musl/",\ "packageDependencies": [\ - ["@next/swc-linux-x64-musl", "npm:14.2.3"]\ + ["@next/swc-linux-x64-musl", "npm:14.2.4"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@next/swc-win32-arm64-msvc", [\ - ["npm:14.2.3", {\ - "packageLocation": "./.yarn/unplugged/@next-swc-win32-arm64-msvc-npm-14.2.3-ea400e0417/node_modules/@next/swc-win32-arm64-msvc/",\ + ["npm:14.2.4", {\ + "packageLocation": "./.yarn/unplugged/@next-swc-win32-arm64-msvc-npm-14.2.4-d42c8a31ad/node_modules/@next/swc-win32-arm64-msvc/",\ "packageDependencies": [\ - ["@next/swc-win32-arm64-msvc", "npm:14.2.3"]\ + ["@next/swc-win32-arm64-msvc", "npm:14.2.4"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@next/swc-win32-ia32-msvc", [\ - ["npm:14.2.3", {\ - "packageLocation": "./.yarn/unplugged/@next-swc-win32-ia32-msvc-npm-14.2.3-f9b5545461/node_modules/@next/swc-win32-ia32-msvc/",\ + ["npm:14.2.4", {\ + "packageLocation": "./.yarn/unplugged/@next-swc-win32-ia32-msvc-npm-14.2.4-cf01237202/node_modules/@next/swc-win32-ia32-msvc/",\ "packageDependencies": [\ - ["@next/swc-win32-ia32-msvc", "npm:14.2.3"]\ + ["@next/swc-win32-ia32-msvc", "npm:14.2.4"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@next/swc-win32-x64-msvc", [\ - ["npm:14.2.3", {\ - "packageLocation": "./.yarn/unplugged/@next-swc-win32-x64-msvc-npm-14.2.3-d5afefe541/node_modules/@next/swc-win32-x64-msvc/",\ + ["npm:14.2.4", {\ + "packageLocation": "./.yarn/unplugged/@next-swc-win32-x64-msvc-npm-14.2.4-619f8a900f/node_modules/@next/swc-win32-x64-msvc/",\ "packageDependencies": [\ - ["@next/swc-win32-x64-msvc", "npm:14.2.3"]\ + ["@next/swc-win32-x64-msvc", "npm:14.2.4"]\ ],\ "linkType": "HARD"\ }]\ @@ -6403,7 +6404,7 @@ const RAW_RUNTIME_STATE = ["glob", "npm:10.3.10"],\ ["handlebars", "npm:4.7.8"],\ ["lazy-universal-dotenv", "npm:4.0.0"],\ - ["node-fetch", "virtual:148a20b1b9edf8dbd1aa2e3bec11ab0e7da56b53327e37a00df3eb26590d849d1542aa8f2fb6de0ca73f920758a0d89dd38b04c79c5be8b8c820de34a9e8026e#npm:2.7.0"],\ + ["node-fetch", "virtual:5547f15a2bb3d361d141532d43f94523f31e9edfe533f8367b3e26e300194e2978be03f56c09e100afcfee4c02b7fbe13c6ffcf58c613b457a86da522a2979f2#npm:2.7.0"],\ ["picomatch", "npm:2.3.1"],\ ["pkg-dir", "npm:5.0.0"],\ ["pretty-hrtime", "npm:1.0.3"],\ @@ -6672,7 +6673,7 @@ const RAW_RUNTIME_STATE = ["fs-extra", "npm:11.2.0"],\ ["image-size", "npm:1.1.1"],\ ["loader-utils", "npm:3.2.1"],\ - ["next", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:14.2.3"],\ + ["next", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:14.2.4"],\ ["node-polyfill-webpack-plugin", "virtual:4d6c08034179406353edf01a6ab77c94db941fd1272d2398f5cabb0a4f0dcc53dc37a16efaa680b61db674958082da37ea4c2dcd0a51f2e896b4cc00273dc45d#npm:2.0.1"],\ ["pnp-webpack-plugin", "npm:1.7.0"],\ ["postcss", "npm:8.4.33"],\ @@ -12115,7 +12116,7 @@ const RAW_RUNTIME_STATE = ["dnd-academy-v2", "workspace:."],\ ["@commitlint/cli", "npm:18.4.4"],\ ["@commitlint/config-conventional", "npm:18.4.4"],\ - ["@next/eslint-plugin-next", "npm:14.2.3"],\ + ["@next/eslint-plugin-next", "npm:14.2.4"],\ ["@storybook/addon-essentials", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:7.6.8"],\ ["@storybook/addon-interactions", "npm:7.6.8"],\ ["@storybook/addon-links", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:7.6.8"],\ @@ -12155,12 +12156,13 @@ const RAW_RUNTIME_STATE = ["eslint-plugin-storybook", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:0.6.15"],\ ["eslint-plugin-testing-library", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:6.2.0"],\ ["eslint-plugin-unused-imports", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:3.2.0"],\ - ["framer-motion", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:11.2.0"],\ + ["framer-motion", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:11.2.10"],\ ["husky", "npm:8.0.3"],\ ["jest", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:29.7.0"],\ ["jest-environment-jsdom", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:29.7.0"],\ ["lint-staged", "npm:15.2.0"],\ - ["next", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:14.2.3"],\ + ["next", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:14.2.4"],\ + ["pdfjs-dist", "npm:3.11.174"],\ ["postcss", "npm:8.4.32"],\ ["postcss-scss", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:4.0.9"],\ ["prop-types", "npm:15.8.1"],\ @@ -14281,17 +14283,17 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["framer-motion", [\ - ["npm:11.2.0", {\ - "packageLocation": "./.yarn/cache/framer-motion-npm-11.2.0-7fa18cfcb7-8dfda743e3.zip/node_modules/framer-motion/",\ + ["npm:11.2.10", {\ + "packageLocation": "./.yarn/cache/framer-motion-npm-11.2.10-3bbc864848-3f09356c08.zip/node_modules/framer-motion/",\ "packageDependencies": [\ - ["framer-motion", "npm:11.2.0"]\ + ["framer-motion", "npm:11.2.10"]\ ],\ "linkType": "SOFT"\ }],\ - ["virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:11.2.0", {\ - "packageLocation": "./.yarn/__virtual__/framer-motion-virtual-848df460aa/0/cache/framer-motion-npm-11.2.0-7fa18cfcb7-8dfda743e3.zip/node_modules/framer-motion/",\ + ["virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:11.2.10", {\ + "packageLocation": "./.yarn/__virtual__/framer-motion-virtual-810dc611c4/0/cache/framer-motion-npm-11.2.10-3bbc864848-3f09356c08.zip/node_modules/framer-motion/",\ "packageDependencies": [\ - ["framer-motion", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:11.2.0"],\ + ["framer-motion", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:11.2.10"],\ ["@emotion/is-prop-valid", null],\ ["@types/emotion__is-prop-valid", null],\ ["@types/react", "npm:18.3.2"],\ @@ -18180,27 +18182,27 @@ const RAW_RUNTIME_STATE = }]\ ]],\ ["next", [\ - ["npm:14.2.3", {\ - "packageLocation": "./.yarn/cache/next-npm-14.2.3-7770cdfada-666c977020.zip/node_modules/next/",\ + ["npm:14.2.4", {\ + "packageLocation": "./.yarn/cache/next-npm-14.2.4-37fb4e5b51-5bf2ccb4c6.zip/node_modules/next/",\ "packageDependencies": [\ - ["next", "npm:14.2.3"]\ + ["next", "npm:14.2.4"]\ ],\ "linkType": "SOFT"\ }],\ - ["virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:14.2.3", {\ - "packageLocation": "./.yarn/__virtual__/next-virtual-73810bcb17/0/cache/next-npm-14.2.3-7770cdfada-666c977020.zip/node_modules/next/",\ + ["virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:14.2.4", {\ + "packageLocation": "./.yarn/__virtual__/next-virtual-114fec8257/0/cache/next-npm-14.2.4-37fb4e5b51-5bf2ccb4c6.zip/node_modules/next/",\ "packageDependencies": [\ - ["next", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:14.2.3"],\ - ["@next/env", "npm:14.2.3"],\ - ["@next/swc-darwin-arm64", "npm:14.2.3"],\ - ["@next/swc-darwin-x64", "npm:14.2.3"],\ - ["@next/swc-linux-arm64-gnu", "npm:14.2.3"],\ - ["@next/swc-linux-arm64-musl", "npm:14.2.3"],\ - ["@next/swc-linux-x64-gnu", "npm:14.2.3"],\ - ["@next/swc-linux-x64-musl", "npm:14.2.3"],\ - ["@next/swc-win32-arm64-msvc", "npm:14.2.3"],\ - ["@next/swc-win32-ia32-msvc", "npm:14.2.3"],\ - ["@next/swc-win32-x64-msvc", "npm:14.2.3"],\ + ["next", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:14.2.4"],\ + ["@next/env", "npm:14.2.4"],\ + ["@next/swc-darwin-arm64", "npm:14.2.4"],\ + ["@next/swc-darwin-x64", "npm:14.2.4"],\ + ["@next/swc-linux-arm64-gnu", "npm:14.2.4"],\ + ["@next/swc-linux-arm64-musl", "npm:14.2.4"],\ + ["@next/swc-linux-x64-gnu", "npm:14.2.4"],\ + ["@next/swc-linux-x64-musl", "npm:14.2.4"],\ + ["@next/swc-win32-arm64-msvc", "npm:14.2.4"],\ + ["@next/swc-win32-ia32-msvc", "npm:14.2.4"],\ + ["@next/swc-win32-x64-msvc", "npm:14.2.4"],\ ["@opentelemetry/api", null],\ ["@playwright/test", null],\ ["@swc/helpers", "npm:0.5.5"],\ @@ -18216,7 +18218,7 @@ const RAW_RUNTIME_STATE = ["react", "npm:18.3.1"],\ ["react-dom", "virtual:fb849477c4f6827542d449f15c7c722160da93f176c17f812a0313ca46807e09cc98138e0137a27649585f2cd5cc0e349cf48f47e4f114851c36835d574e8126#npm:18.3.1"],\ ["sass", "npm:1.69.6"],\ - ["styled-jsx", "virtual:73810bcb173017e1475484220779bc007aa556c889db3f3e7d2faa25272bab0b83f74aa1178b9263c89fa9d213acda75673fe5aecd56d1ecf565719272e4f5a7#npm:5.1.1"]\ + ["styled-jsx", "virtual:114fec8257d8b78d536c9df432aabfeab7e0754c3956282fad28d808fc7d680379b7f62cf066ebe8414e6c570e53eefa7531ebfeef92ba789fc9494539747d06#npm:5.1.1"]\ ],\ "packagePeers": [\ "@opentelemetry/api",\ @@ -18291,10 +18293,10 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:148a20b1b9edf8dbd1aa2e3bec11ab0e7da56b53327e37a00df3eb26590d849d1542aa8f2fb6de0ca73f920758a0d89dd38b04c79c5be8b8c820de34a9e8026e#npm:2.7.0", {\ - "packageLocation": "./.yarn/__virtual__/node-fetch-virtual-aefdb90dca/0/cache/node-fetch-npm-2.7.0-587d57004e-b24f8a3dc9.zip/node_modules/node-fetch/",\ + ["virtual:5547f15a2bb3d361d141532d43f94523f31e9edfe533f8367b3e26e300194e2978be03f56c09e100afcfee4c02b7fbe13c6ffcf58c613b457a86da522a2979f2#npm:2.7.0", {\ + "packageLocation": "./.yarn/__virtual__/node-fetch-virtual-64b33d0816/0/cache/node-fetch-npm-2.7.0-587d57004e-b24f8a3dc9.zip/node_modules/node-fetch/",\ "packageDependencies": [\ - ["node-fetch", "virtual:148a20b1b9edf8dbd1aa2e3bec11ab0e7da56b53327e37a00df3eb26590d849d1542aa8f2fb6de0ca73f920758a0d89dd38b04c79c5be8b8c820de34a9e8026e#npm:2.7.0"],\ + ["node-fetch", "virtual:5547f15a2bb3d361d141532d43f94523f31e9edfe533f8367b3e26e300194e2978be03f56c09e100afcfee4c02b7fbe13c6ffcf58c613b457a86da522a2979f2#npm:2.7.0"],\ ["@types/encoding", null],\ ["encoding", null],\ ["whatwg-url", "npm:5.0.0"]\ @@ -22013,11 +22015,11 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "SOFT"\ }],\ - ["virtual:4d6c08034179406353edf01a6ab77c94db941fd1272d2398f5cabb0a4f0dcc53dc37a16efaa680b61db674958082da37ea4c2dcd0a51f2e896b4cc00273dc45d#npm:5.1.1", {\ - "packageLocation": "./.yarn/__virtual__/styled-jsx-virtual-06ddfab8fb/0/cache/styled-jsx-npm-5.1.1-2557a209ba-4f6a5d0010.zip/node_modules/styled-jsx/",\ + ["virtual:114fec8257d8b78d536c9df432aabfeab7e0754c3956282fad28d808fc7d680379b7f62cf066ebe8414e6c570e53eefa7531ebfeef92ba789fc9494539747d06#npm:5.1.1", {\ + "packageLocation": "./.yarn/__virtual__/styled-jsx-virtual-8ec63203ea/0/cache/styled-jsx-npm-5.1.1-2557a209ba-4f6a5d0010.zip/node_modules/styled-jsx/",\ "packageDependencies": [\ - ["styled-jsx", "virtual:4d6c08034179406353edf01a6ab77c94db941fd1272d2398f5cabb0a4f0dcc53dc37a16efaa680b61db674958082da37ea4c2dcd0a51f2e896b4cc00273dc45d#npm:5.1.1"],\ - ["@babel/core", "npm:7.23.7"],\ + ["styled-jsx", "virtual:114fec8257d8b78d536c9df432aabfeab7e0754c3956282fad28d808fc7d680379b7f62cf066ebe8414e6c570e53eefa7531ebfeef92ba789fc9494539747d06#npm:5.1.1"],\ + ["@babel/core", null],\ ["@types/babel-plugin-macros", null],\ ["@types/babel__core", null],\ ["@types/react", "npm:18.3.2"],\ @@ -22035,11 +22037,11 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "HARD"\ }],\ - ["virtual:73810bcb173017e1475484220779bc007aa556c889db3f3e7d2faa25272bab0b83f74aa1178b9263c89fa9d213acda75673fe5aecd56d1ecf565719272e4f5a7#npm:5.1.1", {\ - "packageLocation": "./.yarn/__virtual__/styled-jsx-virtual-63f19e3930/0/cache/styled-jsx-npm-5.1.1-2557a209ba-4f6a5d0010.zip/node_modules/styled-jsx/",\ + ["virtual:4d6c08034179406353edf01a6ab77c94db941fd1272d2398f5cabb0a4f0dcc53dc37a16efaa680b61db674958082da37ea4c2dcd0a51f2e896b4cc00273dc45d#npm:5.1.1", {\ + "packageLocation": "./.yarn/__virtual__/styled-jsx-virtual-06ddfab8fb/0/cache/styled-jsx-npm-5.1.1-2557a209ba-4f6a5d0010.zip/node_modules/styled-jsx/",\ "packageDependencies": [\ - ["styled-jsx", "virtual:73810bcb173017e1475484220779bc007aa556c889db3f3e7d2faa25272bab0b83f74aa1178b9263c89fa9d213acda75673fe5aecd56d1ecf565719272e4f5a7#npm:5.1.1"],\ - ["@babel/core", null],\ + ["styled-jsx", "virtual:4d6c08034179406353edf01a6ab77c94db941fd1272d2398f5cabb0a4f0dcc53dc37a16efaa680b61db674958082da37ea4c2dcd0a51f2e896b4cc00273dc45d#npm:5.1.1"],\ + ["@babel/core", "npm:7.23.7"],\ ["@types/babel-plugin-macros", null],\ ["@types/babel__core", null],\ ["@types/react", "npm:18.3.2"],\ diff --git a/.yarn/cache/@next-env-npm-14.2.3-439888dc66-82b445331d.zip b/.yarn/cache/@next-env-npm-14.2.4-9859535528-1f48bd96dd.zip similarity index 89% rename from .yarn/cache/@next-env-npm-14.2.3-439888dc66-82b445331d.zip rename to .yarn/cache/@next-env-npm-14.2.4-9859535528-1f48bd96dd.zip index 69a16d9..3e73a45 100644 Binary files a/.yarn/cache/@next-env-npm-14.2.3-439888dc66-82b445331d.zip and b/.yarn/cache/@next-env-npm-14.2.4-9859535528-1f48bd96dd.zip differ diff --git a/.yarn/cache/@next-eslint-plugin-next-npm-14.2.3-22dfe5fe9e-f462941b65.zip b/.yarn/cache/@next-eslint-plugin-next-npm-14.2.4-ca7149f339-44c94d13ae.zip similarity index 94% rename from .yarn/cache/@next-eslint-plugin-next-npm-14.2.3-22dfe5fe9e-f462941b65.zip rename to .yarn/cache/@next-eslint-plugin-next-npm-14.2.4-ca7149f339-44c94d13ae.zip index e26d50a..5f538a6 100644 Binary files a/.yarn/cache/@next-eslint-plugin-next-npm-14.2.3-22dfe5fe9e-f462941b65.zip and b/.yarn/cache/@next-eslint-plugin-next-npm-14.2.4-ca7149f339-44c94d13ae.zip differ diff --git a/.yarn/cache/@next-swc-darwin-x64-npm-14.2.3-bb811d66d3-10.zip b/.yarn/cache/@next-swc-darwin-x64-npm-14.2.4-56f1600da7-10.zip similarity index 76% rename from .yarn/cache/@next-swc-darwin-x64-npm-14.2.3-bb811d66d3-10.zip rename to .yarn/cache/@next-swc-darwin-x64-npm-14.2.4-56f1600da7-10.zip index 0a69b3d..34472e8 100644 Binary files a/.yarn/cache/@next-swc-darwin-x64-npm-14.2.3-bb811d66d3-10.zip and b/.yarn/cache/@next-swc-darwin-x64-npm-14.2.4-56f1600da7-10.zip differ diff --git a/.yarn/cache/framer-motion-npm-11.2.0-7fa18cfcb7-8dfda743e3.zip b/.yarn/cache/framer-motion-npm-11.2.0-7fa18cfcb7-8dfda743e3.zip deleted file mode 100644 index 7232ae2..0000000 Binary files a/.yarn/cache/framer-motion-npm-11.2.0-7fa18cfcb7-8dfda743e3.zip and /dev/null differ diff --git a/.yarn/cache/framer-motion-npm-11.2.10-3bbc864848-3f09356c08.zip b/.yarn/cache/framer-motion-npm-11.2.10-3bbc864848-3f09356c08.zip new file mode 100644 index 0000000..25a8c37 Binary files /dev/null and b/.yarn/cache/framer-motion-npm-11.2.10-3bbc864848-3f09356c08.zip differ diff --git a/.yarn/cache/next-npm-14.2.3-7770cdfada-666c977020.zip b/.yarn/cache/next-npm-14.2.4-37fb4e5b51-5bf2ccb4c6.zip similarity index 89% rename from .yarn/cache/next-npm-14.2.3-7770cdfada-666c977020.zip rename to .yarn/cache/next-npm-14.2.4-37fb4e5b51-5bf2ccb4c6.zip index 96a781a..0df4fe8 100644 Binary files a/.yarn/cache/next-npm-14.2.3-7770cdfada-666c977020.zip and b/.yarn/cache/next-npm-14.2.4-37fb4e5b51-5bf2ccb4c6.zip differ diff --git a/package.json b/package.json index 64b0fc0..cc4731c 100644 --- a/package.json +++ b/package.json @@ -33,8 +33,9 @@ "dependencies": { "clsx": "2.1.1", "dayjs": "1.11.11", - "framer-motion": "11.2.0", - "next": "14.2.3", + "framer-motion": "11.2.10", + "next": "14.2.4", + "pdfjs-dist": "3.11.174", "qs": "6.12.1", "react": "18.3.1", "react-countup": "6.5.3", @@ -51,7 +52,7 @@ "devDependencies": { "@commitlint/cli": "18.4.4", "@commitlint/config-conventional": "18.4.4", - "@next/eslint-plugin-next": "14.2.3", + "@next/eslint-plugin-next": "14.2.4", "@storybook/addon-essentials": "7.6.8", "@storybook/addon-interactions": "7.6.8", "@storybook/addon-links": "7.6.8", diff --git a/src/components/molecules/PDFViewer/index.tsx b/src/components/molecules/PDFViewer/index.tsx index 55fde89..1d5e0bb 100644 --- a/src/components/molecules/PDFViewer/index.tsx +++ b/src/components/molecules/PDFViewer/index.tsx @@ -1,8 +1,9 @@ 'use client'; import { useState } from 'react'; -import { Document, Page, pdfjs } from 'react-pdf'; -import { DocumentCallback } from 'react-pdf/dist/cjs/shared/types'; +import { + Document, DocumentProps, Page, pdfjs, +} from 'react-pdf'; import clsx from 'clsx'; import useResizeObserver from 'use-resize-observer'; @@ -14,7 +15,10 @@ import 'react-pdf/dist/Page/AnnotationLayer.css'; import 'react-pdf/dist/Page/TextLayer.css'; import styles from './index.module.scss'; -pdfjs.GlobalWorkerOptions.workerSrc = `//unpkg.com/pdfjs-dist@${pdfjs.version}/build/pdf.worker.min.js`; +pdfjs.GlobalWorkerOptions.workerSrc = new URL( + 'pdfjs-dist/build/pdf.worker.min.js', + import.meta.url, +).toString(); type Props = { url: string | null; @@ -28,7 +32,7 @@ function PDFViewer({ url }: Props) { box: 'border-box', }); - const onDocumentLoadSuccess = (data: DocumentCallback) => { + const onDocumentLoadSuccess: DocumentProps['onLoadSuccess'] = (data) => { setNumPages(data.numPages); }; diff --git a/yarn.lock b/yarn.lock index 2ee1a00..5cc0e8e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2510,81 +2510,81 @@ __metadata: languageName: node linkType: hard -"@next/env@npm:14.2.3": - version: 14.2.3 - resolution: "@next/env@npm:14.2.3" - checksum: 10/82b445331d46b4896dc86c0e33a7eaaa6f6abfd2408d49e1cb90fbfd6b26c698ea8e69c911ffe597e30fd8294db4e3445cde44b0771eabbfcd13663a9832a397 +"@next/env@npm:14.2.4": + version: 14.2.4 + resolution: "@next/env@npm:14.2.4" + checksum: 10/1f48bd96dd92a98b8e7ccfbd494f5893174721cb164dfda898728db37c0413fe0ca71872c1c7c56a46419a417137bc3aaa3e53543f938bea14589f68474bfd73 languageName: node linkType: hard -"@next/eslint-plugin-next@npm:14.2.3": - version: 14.2.3 - resolution: "@next/eslint-plugin-next@npm:14.2.3" +"@next/eslint-plugin-next@npm:14.2.4": + version: 14.2.4 + resolution: "@next/eslint-plugin-next@npm:14.2.4" dependencies: glob: "npm:10.3.10" - checksum: 10/f462941b651cc570635d0098e9a66db7b8c8e18a585c399f4457dccba458b481618388881abc10f2f12d806f060e55e19159a82f3a19e15b5d094ee5cd2ff226 + checksum: 10/44c94d13aea1937d202324ec66a902c473e6c5eafd3033049f95a43510255c8871084e5532d4c0211faf7ffc8c8027109b40a26ee164f0cf169cac28abe27097 languageName: node linkType: hard -"@next/swc-darwin-arm64@npm:14.2.3": - version: 14.2.3 - resolution: "@next/swc-darwin-arm64@npm:14.2.3" +"@next/swc-darwin-arm64@npm:14.2.4": + version: 14.2.4 + resolution: "@next/swc-darwin-arm64@npm:14.2.4" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@next/swc-darwin-x64@npm:14.2.3": - version: 14.2.3 - resolution: "@next/swc-darwin-x64@npm:14.2.3" +"@next/swc-darwin-x64@npm:14.2.4": + version: 14.2.4 + resolution: "@next/swc-darwin-x64@npm:14.2.4" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@next/swc-linux-arm64-gnu@npm:14.2.3": - version: 14.2.3 - resolution: "@next/swc-linux-arm64-gnu@npm:14.2.3" +"@next/swc-linux-arm64-gnu@npm:14.2.4": + version: 14.2.4 + resolution: "@next/swc-linux-arm64-gnu@npm:14.2.4" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:14.2.3": - version: 14.2.3 - resolution: "@next/swc-linux-arm64-musl@npm:14.2.3" +"@next/swc-linux-arm64-musl@npm:14.2.4": + version: 14.2.4 + resolution: "@next/swc-linux-arm64-musl@npm:14.2.4" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:14.2.3": - version: 14.2.3 - resolution: "@next/swc-linux-x64-gnu@npm:14.2.3" +"@next/swc-linux-x64-gnu@npm:14.2.4": + version: 14.2.4 + resolution: "@next/swc-linux-x64-gnu@npm:14.2.4" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:14.2.3": - version: 14.2.3 - resolution: "@next/swc-linux-x64-musl@npm:14.2.3" +"@next/swc-linux-x64-musl@npm:14.2.4": + version: 14.2.4 + resolution: "@next/swc-linux-x64-musl@npm:14.2.4" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:14.2.3": - version: 14.2.3 - resolution: "@next/swc-win32-arm64-msvc@npm:14.2.3" +"@next/swc-win32-arm64-msvc@npm:14.2.4": + version: 14.2.4 + resolution: "@next/swc-win32-arm64-msvc@npm:14.2.4" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:14.2.3": - version: 14.2.3 - resolution: "@next/swc-win32-ia32-msvc@npm:14.2.3" +"@next/swc-win32-ia32-msvc@npm:14.2.4": + version: 14.2.4 + resolution: "@next/swc-win32-ia32-msvc@npm:14.2.4" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@next/swc-win32-x64-msvc@npm:14.2.3": - version: 14.2.3 - resolution: "@next/swc-win32-x64-msvc@npm:14.2.3" +"@next/swc-win32-x64-msvc@npm:14.2.4": + version: 14.2.4 + resolution: "@next/swc-win32-x64-msvc@npm:14.2.4" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -8270,7 +8270,7 @@ __metadata: dependencies: "@commitlint/cli": "npm:18.4.4" "@commitlint/config-conventional": "npm:18.4.4" - "@next/eslint-plugin-next": "npm:14.2.3" + "@next/eslint-plugin-next": "npm:14.2.4" "@storybook/addon-essentials": "npm:7.6.8" "@storybook/addon-interactions": "npm:7.6.8" "@storybook/addon-links": "npm:7.6.8" @@ -8310,12 +8310,13 @@ __metadata: eslint-plugin-storybook: "npm:0.6.15" eslint-plugin-testing-library: "npm:6.2.0" eslint-plugin-unused-imports: "npm:3.2.0" - framer-motion: "npm:11.2.0" + framer-motion: "npm:11.2.10" husky: "npm:8.0.3" jest: "npm:29.7.0" jest-environment-jsdom: "npm:29.7.0" lint-staged: "npm:15.2.0" - next: "npm:14.2.3" + next: "npm:14.2.4" + pdfjs-dist: "npm:3.11.174" postcss: "npm:8.4.32" postcss-scss: "npm:4.0.9" prop-types: "npm:15.8.1" @@ -10031,9 +10032,9 @@ __metadata: languageName: node linkType: hard -"framer-motion@npm:11.2.0": - version: 11.2.0 - resolution: "framer-motion@npm:11.2.0" +"framer-motion@npm:11.2.10": + version: 11.2.10 + resolution: "framer-motion@npm:11.2.10" dependencies: tslib: "npm:^2.4.0" peerDependencies: @@ -10047,7 +10048,7 @@ __metadata: optional: true react-dom: optional: true - checksum: 10/8dfda743e394067f3ccec8b397992a4f2c91966ee349aa5928852fab6ffe4bceafef85820d133a1bec74fc63b893ed069147c94ea91c006aff6d727ecd49e52c + checksum: 10/3f09356c08700f5f405b6259617d9eb3f49d49770efe15a81211bc41625001485f242fe2b44f6de657e707cd2ac766ca243bab72192dc948672525d331628a5d languageName: node linkType: hard @@ -13449,20 +13450,20 @@ __metadata: languageName: node linkType: hard -"next@npm:14.2.3": - version: 14.2.3 - resolution: "next@npm:14.2.3" +"next@npm:14.2.4": + version: 14.2.4 + resolution: "next@npm:14.2.4" dependencies: - "@next/env": "npm:14.2.3" - "@next/swc-darwin-arm64": "npm:14.2.3" - "@next/swc-darwin-x64": "npm:14.2.3" - "@next/swc-linux-arm64-gnu": "npm:14.2.3" - "@next/swc-linux-arm64-musl": "npm:14.2.3" - "@next/swc-linux-x64-gnu": "npm:14.2.3" - "@next/swc-linux-x64-musl": "npm:14.2.3" - "@next/swc-win32-arm64-msvc": "npm:14.2.3" - "@next/swc-win32-ia32-msvc": "npm:14.2.3" - "@next/swc-win32-x64-msvc": "npm:14.2.3" + "@next/env": "npm:14.2.4" + "@next/swc-darwin-arm64": "npm:14.2.4" + "@next/swc-darwin-x64": "npm:14.2.4" + "@next/swc-linux-arm64-gnu": "npm:14.2.4" + "@next/swc-linux-arm64-musl": "npm:14.2.4" + "@next/swc-linux-x64-gnu": "npm:14.2.4" + "@next/swc-linux-x64-musl": "npm:14.2.4" + "@next/swc-win32-arm64-msvc": "npm:14.2.4" + "@next/swc-win32-ia32-msvc": "npm:14.2.4" + "@next/swc-win32-x64-msvc": "npm:14.2.4" "@swc/helpers": "npm:0.5.5" busboy: "npm:1.6.0" caniuse-lite: "npm:^1.0.30001579" @@ -13503,7 +13504,7 @@ __metadata: optional: true bin: next: dist/bin/next - checksum: 10/666c9770206ce693732a6d772297f1ddb3ce72f59862fa4cd104c5536da596026f758c4c9256ea790cf22d1bb8a15e27e5ea9455c948f72a9e3ca61fb745b0f5 + checksum: 10/5bf2ccb4c6b0076a61b875a1112d34a31f5afc9d5f2676acf6c8151b425c38d289b951de70b598ad6ed9fa6be5fa3c215d1d9b462ba2b72075cb80501fd9fd07 languageName: node linkType: hard