Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Designer: Added feature to create interactive component states #156

Merged
merged 3 commits into from
Nov 1, 2023

Conversation

bheston
Copy link
Member

@bheston bheston commented Oct 28, 2023

Pull Request

Description

In the Figma Designer, a new feature when you select a component state, to create the interactive state variants automatically (hover, active, focus, and disabled).

Reviewer Notes

A portion of this work updates the messaging model between the plugin and the UI. Previously we only had one type of message, which was component styling state back and forth. Updated to support multiple types of messages and added a new one for the "create states" message.

Test Plan

Tested in Figma.

Checklist

General

  • I have included a change request file using $ npm run change
  • I have added tests for my changes.
  • I have tested my changes.
  • I have updated the project documentation to reflect my changes.
  • I have read the CONTRIBUTING documentation for this project.

⏭ Next Steps

I think I can clean up the need to manage the serialization by removing the use of maps. Everything else should serialize correctly by default.

@bheston bheston force-pushed the users/bheston/designer-create-states branch from 66dee30 to abedd22 Compare October 30, 2023 16:37
@bheston bheston merged commit 24d13ec into main Nov 1, 2023
2 checks passed
@bheston bheston deleted the users/bheston/designer-create-states branch November 1, 2023 21:05
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.

2 participants