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

Render property/attribute in all pseudo state permutations #7

Open
4 of 5 tasks
philippone opened this issue Apr 5, 2020 · 0 comments · Fixed by #21
Open
4 of 5 tasks

Render property/attribute in all pseudo state permutations #7

philippone opened this issue Apr 5, 2020 · 0 comments · Fixed by #21
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@philippone
Copy link
Member

philippone commented Apr 5, 2020

Describe the solution you'd like
Instead of showing an attribute the same way as the pseudo states, apply all pseudo states to the attribute, too.
image
For instance, instead of selected state is displayed below all other states, it is used as a second 'normal' state and all pseudo states are applied to the selected state in a second column next to the normal.

Describe alternatives you've considered

  • Workaround is to create another story and enable property/attribute manually via props instead of parameters.withPseudo.attributes
  • Another solution is to use knobs-addon and enable property/attribute via knob

Progress:

  • Angular
  • React
  • Vue
  • HTML
  • Lit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant