Skip to content

material-renderers require strict outdated version of @mui/icons-material #2185

@IhsenBen

Description

@IhsenBen

Describe the bug

The latest material ui icons package is not supported, the strict required "~5.11.16" for "@mui/icons-material@" seems unnecessary for just an icons package.

Expected behavior

changing the peer dependency of material-renderers to ">=5.11.16" can make the package compatible with the latest versions of the material UI icons package.

Steps to reproduce the issue

  1. Go to a react project
  2. Install latest @mui/icons-material
  3. Try to install @jsonforms/material-renderers@"^3.1.0"
  4. See error

Screenshots

npm ERR! Could not resolve dependency:
npm ERR! peer @mui/icons-material@"~5.11.16" from @jsonforms/[email protected]
npm ERR! node_modules/@jsonforms/material-renderers
npm ERR!   @jsonforms/material-renderers@"^3.1.0" from the root project

In which browser are you experiencing the issue?

Version 117.0.5938.132 (Official Build) (64-bit)

Which Version of JSON Forms are you using?

3.1.0

Framework

React

RendererSet

Material

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions