mui / mui-design-kits

The public feature and bug tracker for the MUI Design kits and Connect Figma plugin.
https://mui.com/design-kits/
110 stars 16 forks source link

[figma-pro] Invalid assets on publish as library #349

Closed smith558 closed 1 month ago

smith558 commented 4 months ago

Steps to reproduce

Steps:

  1. following guide at https://help.figma.com/hc/en-us/articles/360041051154-Guide-to-libraries-in-Figma
  2. download the full (paid) version kit MUI for Figma v5.16.0 - Material UI
  3. import to Figma
  4. press "Publish library"

Current behavior

image

Expected behavior

No invalid assets are expected.

Your environment

Software Version
Design file version Material UI - v5.16.0
Design tool Figma
etc.

Search keywords: invalid

adrianmanea commented 4 months ago

Thank you for reporting this. It must be something new, since all the components are processed by me. Can you check which unused properties are causing the issue?

smith558 commented 4 months ago

Thank you for reporting this. It must be something new, since all the components are processed by me. Can you check which unused properties are causing the issue?

The unused properties were the only properties of these respective components I believe. I removed them for now as a temporary fix (which enabled library important but might be breaking the internals of these 2 components).