From 0d100c484181b809c82f23464b11580875c88560 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Gonz=C3=A1lez=20Mu=C3=B1oz?= Date: Mon, 17 Jun 2024 09:49:31 +0200 Subject: [PATCH] fixes types --- marketing/package.json | 4 +- .../resources/webinar/component.tsx | 10 ++- marketing/yarn.lock | 87 ++++++++++++------- 3 files changed, 62 insertions(+), 39 deletions(-) diff --git a/marketing/package.json b/marketing/package.json index 793d60155..ca539daeb 100644 --- a/marketing/package.json +++ b/marketing/package.json @@ -15,7 +15,8 @@ }, "dependencies": { "@artsy/fresnel": "^3.5.0", - "@egjs/react-flicking": "^4.9.0", + "@egjs/flicking-plugins": "4.7.1", + "@egjs/react-flicking": "4.11.3", "@floating-ui/react-dom": "^0.7.0", "@heroicons/react": "1.0.6", "@hookform/resolvers": "2.8.8", @@ -55,7 +56,6 @@ "yup": "0.32.11" }, "devDependencies": { - "@egjs/flicking-plugins": "4.7.1", "@types/d3-format": "^3.0.1", "@types/node": "16.11.6", "@types/react": "17.0.5", diff --git a/marketing/src/containers/repository/resources/webinar/component.tsx b/marketing/src/containers/repository/resources/webinar/component.tsx index 4a7397054..408131d50 100644 --- a/marketing/src/containers/repository/resources/webinar/component.tsx +++ b/marketing/src/containers/repository/resources/webinar/component.tsx @@ -5,17 +5,16 @@ import FadeIn from 'components/fade'; import Link from 'next/link'; import Icon from 'components/icon'; -import { motion } from 'framer-motion'; +import { Variants, motion } from 'framer-motion'; import ARROW_SVG from 'svgs/ui/arrow-right.svg?sprite'; import { DATA } from './constants'; -const arrowMotion = { +const arrowMotion: Variants = { initial: { x: 0 }, animate: { x: 5 }, hover: { x: 20 }, - transition: { duration: 0.5, ease: 'easeInOut' }, }; const Webinar: React.FC = () => ( @@ -50,7 +49,10 @@ const Webinar: React.FC = () => ( rel="noreferrer noopener" > Join us - + diff --git a/marketing/yarn.lock b/marketing/yarn.lock index d33010098..10993559a 100644 --- a/marketing/yarn.lock +++ b/marketing/yarn.lock @@ -306,27 +306,46 @@ __metadata: languageName: node linkType: hard +"@cfcs/core@npm:^0.0.24": + version: 0.0.24 + resolution: "@cfcs/core@npm:0.0.24" + dependencies: + "@egjs/component": ^3.0.4 + checksum: 6e1873f0ce85d2a401f3938a5bc9ce396c49b1fdcac0a3b2369245be25d7a7522e98515b7b7157ad6f0ce7b4e0a996b47ed2d3b8c70a4531e57d83b6dedbafa9 + languageName: node + linkType: hard + +"@cfcs/core@npm:^0.1.0": + version: 0.1.0 + resolution: "@cfcs/core@npm:0.1.0" + dependencies: + "@egjs/component": ^3.0.4 + checksum: 98e09a1788270f7f2c3921d7d099cbfe41ba3601398e60deb433eec3f67ccf692458eeecaa7261c868ff23ec046160e454680781c92155473b9077cdb4c608bc + languageName: node + linkType: hard + "@egjs/agent@npm:^2.2.1": - version: 2.4.2 - resolution: "@egjs/agent@npm:2.4.2" - checksum: 6ceff64ebbc07e16fc226aa369286fff8fabd72e65aa95f1690a93cb66234d6fb5ff08ab8297cd2b753bd6e082cbf6766698c95f733596dee299b922556d8b7e + version: 2.4.3 + resolution: "@egjs/agent@npm:2.4.3" + checksum: 4f2654ba7a877bb9cd1019c86fa245efb3a4c5e07a24e0e2a0bf1724ee457d25a57960a39b26c5fcd1fb71e80d2e6e3ad53eba6ab1a6f2099568f050fb28ee29 languageName: node linkType: hard -"@egjs/axes@npm:^3.2.2": - version: 3.4.0 - resolution: "@egjs/axes@npm:3.4.0" +"@egjs/axes@npm:^3.9.0": + version: 3.9.0 + resolution: "@egjs/axes@npm:3.9.0" dependencies: + "@cfcs/core": ^0.1.0 "@egjs/agent": ^2.2.1 "@egjs/component": ^3.0.1 - checksum: e0c31d298b2137792dc255933211617c7036bc69d200b0abf74b9e3af44890e552b8601cbed8c664cc78558f6b02baa205d7c735ba84b829b192e8bde14f3e6c + checksum: 1a55e7b9909c2720ed841e28d1fc459e70a858b0004c878fea286db1d815ca890ea88a0a010a79e0ca0001eb5db09b4880d55077a18d02035ed75e3e42216849 languageName: node linkType: hard -"@egjs/component@npm:^3.0.1": - version: 3.0.2 - resolution: "@egjs/component@npm:3.0.2" - checksum: 4fd8854192e52f47b5cec5bad4952448b0df3b36f65bc1adae0f933164877d33fc705e9533af27a02b6faa0a4fddcaf101cce7c8f156de6202ad174b1df61e81 +"@egjs/component@npm:^3.0.1, @egjs/component@npm:^3.0.2, @egjs/component@npm:^3.0.4": + version: 3.0.5 + resolution: "@egjs/component@npm:3.0.5" + checksum: d2ca53cc86b82df0fac3f21045a05d70a542c1f6a061cf534c67b336830644d0fbef07e322fcbe5bd809f59504103319a2c6467af58a9f8009a81655c3fe366f languageName: node linkType: hard @@ -339,41 +358,43 @@ __metadata: languageName: node linkType: hard -"@egjs/flicking@npm:~4.9.0": - version: 4.9.0 - resolution: "@egjs/flicking@npm:4.9.0" +"@egjs/flicking@npm:~4.11.3": + version: 4.11.3 + resolution: "@egjs/flicking@npm:4.11.3" dependencies: - "@egjs/axes": ^3.2.2 + "@egjs/axes": ^3.9.0 "@egjs/component": ^3.0.1 - "@egjs/imready": ^1.1.3 - "@egjs/list-differ": ^1.0.0 - checksum: 9f6b2d6f39ca1c896a173c3c5308c5a9d4459460d9e681295cbad0b174fd4496cedf0b74159f376f472e92f49a7e60101a3a1dda30bf47d2050dc40abd556d43 + "@egjs/imready": ^1.3.1 + "@egjs/list-differ": ^1.0.1 + checksum: 57a083012f0074e7e8e2f903c87cfe1b287e54f43246dd75401dd06eb9bce314721897ab109a51654d6c57133681dde6ba0b6f9b58f8819e85635ee7c4330260 languageName: node linkType: hard -"@egjs/imready@npm:^1.1.3": - version: 1.3.0 - resolution: "@egjs/imready@npm:1.3.0" +"@egjs/imready@npm:^1.3.1": + version: 1.4.1 + resolution: "@egjs/imready@npm:1.4.1" dependencies: + "@cfcs/core": ^0.0.24 "@egjs/component": ^3.0.1 - checksum: 207736c7586619f736413ac4da0ea3fdb4b8a83cf315d6911f4258b61769738e8ece37c7f661bc6a0f4464618b581af9b94001833ba743d06d9d120e8c3cdaf0 + checksum: 719afe734c4346555ffb75a5a487242c02a26509cfda9cc77272c7ec878e5058fff68027ea64a70a460b3e9393164df8adb70cba9a008d13d2029e8932687df9 languageName: node linkType: hard -"@egjs/list-differ@npm:^1.0.0": - version: 1.0.0 - resolution: "@egjs/list-differ@npm:1.0.0" - checksum: d1827d134ddab12a024358367cb8a3b70d2ba0f286e5beb6ce2a6bbd021594f26b02c38b2d8b3d1dfd76bd7d1fcda54de3b40decaa9b4fc939230f6e7d531d0c +"@egjs/list-differ@npm:^1.0.1": + version: 1.0.1 + resolution: "@egjs/list-differ@npm:1.0.1" + checksum: 2c126c66d7753c1b86816192f265fa8a58fc45b62b739ebce9008202c2485dcc81d62a9e8d26ceb73efd1679140d39dd5ae3638d63e1ebaf5ca9d6bc824a16c7 languageName: node linkType: hard -"@egjs/react-flicking@npm:^4.9.0": - version: 4.9.0 - resolution: "@egjs/react-flicking@npm:4.9.0" +"@egjs/react-flicking@npm:4.11.3": + version: 4.11.3 + resolution: "@egjs/react-flicking@npm:4.11.3" dependencies: - "@egjs/flicking": ~4.9.0 - "@egjs/list-differ": ^1.0.0 - checksum: 776d575213d7fd972671f52ee418bfebdb66b46c109a0cf369c4f7cbafd2a1ef3e5cd50812ccce301470e3ec2adcd7d6b219eb056d241cb65cce5f9fed07f9e0 + "@egjs/component": ^3.0.2 + "@egjs/flicking": ~4.11.3 + "@egjs/list-differ": ^1.0.1 + checksum: cdcdf08a380e586342fc6943a179cd5f9a4c7d29b00ee74615c3e57a50599b3c179d8356af521da10c596c2072da6f3107db05d2fb5360d7037d6acdc98455f6 languageName: node linkType: hard @@ -4995,7 +5016,7 @@ __metadata: dependencies: "@artsy/fresnel": ^3.5.0 "@egjs/flicking-plugins": 4.7.1 - "@egjs/react-flicking": ^4.9.0 + "@egjs/react-flicking": 4.11.3 "@floating-ui/react-dom": ^0.7.0 "@heroicons/react": 1.0.6 "@hookform/resolvers": 2.8.8