Skip to content

Commit

Permalink
fix(deps): update React Compiler dependencies 🤖 ✨ (#1545)
Browse files Browse the repository at this point in the history
* 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 <stipsan@gmail.com>
  • Loading branch information
ecospark[bot] and stipsan authored Jan 6, 2025
1 parent 3b884e2 commit e0ef70b
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 17 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
26 changes: 13 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 12 additions & 2 deletions src/core/components/menu/menuGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<PopoverProps, 'content' | 'open'>
radius?: Radius | Radius[]
Expand Down Expand Up @@ -131,14 +141,14 @@ export function MenuGroup(

const childMenu = (
<Menu
{...menuProps}
onClickOutside={onClickOutside}
onEscape={onEscape}
onItemClick={handleChildItemClick}
onKeyDown={handleMenuKeyDown}
onMouseEnter={handleMenuMouseEnter}
registerElement={registerElement}
shouldFocus={shouldFocus}
{...menuProps}
>
{children}
</Menu>
Expand Down

0 comments on commit e0ef70b

Please sign in to comment.