figma / plugin-typings

Typings for the Figma Plugin API
MIT License
195 stars 45 forks source link

new typings for variants #10

Closed matthewhuang97 closed 3 years ago

matthewhuang97 commented 3 years ago

This PR adds new typings for variants.

It involves refactoring the DefaultFrameMixin interface, as component sets should have many of the default frame properties, but should not have some of the other properties (i.e. prototyping-related properties + reactions).

This PR also adds a PublishableMixin to unify the publishing-related properties on components, component sets, and styles.

minigolf2000 commented 3 years ago

🎉

Miniplop commented 3 years ago

nice 👍