Skip to content

Conversation

jamesmcroft
Copy link
Owner

This pull request updates dependencies in package.json and refactors the layout components in src/App.jsx and src/components/calculator/ImageEditor.jsx by replacing the item prop in Grid components with the size prop. The most important changes are grouped into dependency updates and layout refactoring.

Dependency Updates:

  • Updated several dependencies in package.json, including @mui/icons-material, @mui/material, zustand, and various development dependencies such as eslint and vite. These updates ensure compatibility and incorporate the latest features and bug fixes.

Layout Refactoring:

  • In src/App.jsx, replaced the item prop with the size prop in Grid components to align with updated Material-UI conventions. This change affects the main layout structure. [1] [2]
  • In src/components/calculator/ImageEditor.jsx, replaced the item prop with the size prop in multiple Grid components to improve layout consistency and adhere to updated Material-UI practices. This refactoring impacts various sections, including image details and input fields for height, width, and count. [1] [2] [3] [4] [5]

- Upgraded @mui/icons-material and @mui/material from 6.2.1 to 7.1.1
- Updated zustand from 5.0.2 to 5.0.5
- Bumped @vitejs/plugin-react from 4.3.4 to 4.5.1
- Upgraded eslint from 9.17.0 to 9.28.0
- Updated eslint-plugin-react from 7.37.2 to 7.37.5
- Bumped eslint-plugin-react-hooks from 5.1.0 to 5.2.0
- Updated eslint-plugin-react-refresh from 0.4.16 to 0.4.20
- Bumped vite from 6.3.4 to 6.3.5
@jamesmcroft jamesmcroft requested a review from Copilot June 6, 2025 13:42
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates dependency versions and refactors layout components to replace the deprecated "item" prop with the updated "size" prop according to the latest Material-UI conventions.

  • Updated dependency versions in package.json to ensure compatibility.
  • Replaced the "item" prop with the "size" prop in Grid components in both src/App.jsx and src/components/calculator/ImageEditor.jsx for improved layout consistency.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
package.json Updated dependency versions for MUI, zustand, and development tools.
src/App.jsx Replaced "item" prop with "size" prop in Grid components.
src/components/calculator/ImageEditor.jsx Replaced "item" prop with "size" prop in Grid components.

@jamesmcroft jamesmcroft merged commit b4be883 into main Jun 6, 2025
4 checks passed
@jamesmcroft jamesmcroft deleted the npm-update branch June 6, 2025 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant