From e0ef70b14781f2cec3960b333c94785c2855bbe9 Mon Sep 17 00:00:00 2001 From: "ecospark[bot]" <128108030+ecospark[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 11:55:26 +0100 Subject: [PATCH] =?UTF-8?q?fix(deps):=20update=20React=20Compiler=20depend?= =?UTF-8?q?encies=20=F0=9F=A4=96=20=E2=9C=A8=20(#1545)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(deps): update react compiler dependencies 🤖 ✨ * chore: fix build * chore: temp downgrade --------- Co-authored-by: ecospark[bot] <128108030+ecospark[bot]@users.noreply.github.com> Co-authored-by: Cody Olsen --- package.json | 4 ++-- pnpm-lock.yaml | 26 +++++++++++++------------- src/core/components/menu/menuGroup.tsx | 14 ++++++++++++-- 3 files changed, 27 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index 4d0cc4224..d1bf9d923 100644 --- a/package.json +++ b/package.json @@ -154,7 +154,7 @@ "@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/parser": "^7.18.0", "@vitejs/plugin-react": "^4.3.4", - "babel-plugin-react-compiler": "19.0.0-beta-55955c9-20241229", + "babel-plugin-react-compiler": "19.0.0-beta-63e3235-20250105", "babel-plugin-styled-components": "^2.1.4", "commitizen": "^4.3.1", "cypress": "^13.17.0", @@ -166,7 +166,7 @@ "eslint-plugin-import": "^2.31.0", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-react": "^7.37.3", - "eslint-plugin-react-compiler": "19.0.0-beta-55955c9-20241229", + "eslint-plugin-react-compiler": "19.0.0-beta-63e3235-20250105", "eslint-plugin-react-hooks": "^5.1.0", "eslint-plugin-storybook": "^0.11.2", "http-server": "^14.1.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 471231451..6dfbc4a41 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -65,7 +65,7 @@ importers: version: 3.4.0 '@sanity/pkg-utils': specifier: ^6.13.0 - version: 6.13.0(@types/babel__core@7.20.5)(@types/node@20.17.11)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(typescript@5.7.2) + version: 6.13.0(@types/babel__core@7.20.5)(@types/node@20.17.11)(babel-plugin-react-compiler@19.0.0-beta-63e3235-20250105)(typescript@5.7.2) '@sanity/prettier-config': specifier: ^1.0.3 version: 1.0.3(prettier@3.4.2) @@ -160,8 +160,8 @@ importers: specifier: ^4.3.4 version: 4.3.4(vite@5.4.11(@types/node@20.17.11)(terser@5.37.0)) babel-plugin-react-compiler: - specifier: 19.0.0-beta-55955c9-20241229 - version: 19.0.0-beta-55955c9-20241229 + specifier: 19.0.0-beta-63e3235-20250105 + version: 19.0.0-beta-63e3235-20250105 babel-plugin-styled-components: specifier: ^2.1.4 version: 2.1.4(@babel/core@7.26.0)(styled-components@6.1.13(react-dom@19.0.0(react@19.0.0))(react@19.0.0)) @@ -196,8 +196,8 @@ importers: specifier: ^7.37.3 version: 7.37.3(eslint@8.57.1) eslint-plugin-react-compiler: - specifier: 19.0.0-beta-55955c9-20241229 - version: 19.0.0-beta-55955c9-20241229(eslint@8.57.1) + specifier: 19.0.0-beta-63e3235-20250105 + version: 19.0.0-beta-63e3235-20250105(eslint@8.57.1) eslint-plugin-react-hooks: specifier: ^5.1.0 version: 5.1.0(eslint@8.57.1) @@ -2705,8 +2705,8 @@ packages: peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 - babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229: - resolution: {integrity: sha512-APpa9fRiG5UN5kxnB/vznaSBKbXwAWZs6QshN3MLntzWa4cUhOxzUSd7Ohmr5sLQaM0ZHjjOg07pw1ZoR7+Oog==} + babel-plugin-react-compiler@19.0.0-beta-63e3235-20250105: + resolution: {integrity: sha512-38qEX4e1nNOZ9K7rVAF4VVijcjTHBbRHd+ftYpfim2Oabitd1NGjvrL0bnwFymDTBB4MqswqIHTYjYfuy1OeTQ==} babel-plugin-styled-components@2.1.4: resolution: {integrity: sha512-Xgp9g+A/cG47sUyRwwYxGM4bR/jDRg5N6it/8+HxCnbT5XNKSKDT9xm4oag/osgqjC2It/vH0yXsomOG6k558g==} @@ -3640,8 +3640,8 @@ packages: peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9 - eslint-plugin-react-compiler@19.0.0-beta-55955c9-20241229: - resolution: {integrity: sha512-KsE6bQrNvtPDbMb9EolZ2C+Z2/uv2Y5cAUgN+pzbriXjKlf1FkbgiyE153m2mIT6gEZq2OrtFvX7uJj5IrNQlg==} + eslint-plugin-react-compiler@19.0.0-beta-63e3235-20250105: + resolution: {integrity: sha512-Smts5x+u+rRopr0926jCXFPkS8D8hFJexDvTW41V0Xu/xHgd4pnGWiJQRBsvTEARzOdJ6NdlmYs4n+O4Thn2iA==} engines: {node: ^14.17.0 || ^16.0.0 || >= 18.0.0} peerDependencies: eslint: '>=7' @@ -9248,7 +9248,7 @@ snapshots: dependencies: react: 19.0.0 - '@sanity/pkg-utils@6.13.0(@types/babel__core@7.20.5)(@types/node@20.17.11)(babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229)(typescript@5.7.2)': + '@sanity/pkg-utils@6.13.0(@types/babel__core@7.20.5)(@types/node@20.17.11)(babel-plugin-react-compiler@19.0.0-beta-63e3235-20250105)(typescript@5.7.2)': dependencies: '@babel/core': 7.26.0 '@babel/preset-typescript': 7.26.0(@babel/core@7.26.0) @@ -9293,7 +9293,7 @@ snapshots: zod: 3.24.1 zod-validation-error: 3.4.0(zod@3.24.1) optionalDependencies: - babel-plugin-react-compiler: 19.0.0-beta-55955c9-20241229 + babel-plugin-react-compiler: 19.0.0-beta-63e3235-20250105 transitivePeerDependencies: - '@types/babel__core' - '@types/node' @@ -10451,7 +10451,7 @@ snapshots: transitivePeerDependencies: - supports-color - babel-plugin-react-compiler@19.0.0-beta-55955c9-20241229: + babel-plugin-react-compiler@19.0.0-beta-63e3235-20250105: dependencies: '@babel/types': 7.26.3 @@ -11588,7 +11588,7 @@ snapshots: safe-regex-test: 1.1.0 string.prototype.includes: 2.0.1 - eslint-plugin-react-compiler@19.0.0-beta-55955c9-20241229(eslint@8.57.1): + eslint-plugin-react-compiler@19.0.0-beta-63e3235-20250105(eslint@8.57.1): dependencies: '@babel/core': 7.26.0 '@babel/parser': 7.26.3 diff --git a/src/core/components/menu/menuGroup.tsx b/src/core/components/menu/menuGroup.tsx index cc5cf0fe5..a8874b6fc 100644 --- a/src/core/components/menu/menuGroup.tsx +++ b/src/core/components/menu/menuGroup.tsx @@ -16,7 +16,17 @@ export interface MenuGroupProps { as?: React.ElementType | keyof React.JSX.IntrinsicElements fontSize?: number | number[] icon?: React.ElementType | React.ReactNode - menu?: MenuProps + menu?: Omit< + MenuProps, + | 'onClickOutside' + | 'onEscape' + | 'onItemClick' + | 'onKeyDown' + | 'onMouseEnter' + | 'registerElement' + | 'shouldFocus' + | 'onBlurCapture' + > padding?: number | number[] popover?: Omit radius?: Radius | Radius[] @@ -131,6 +141,7 @@ export function MenuGroup( const childMenu = ( {children}