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

Documentatie API conventies voor states #1078

Open
Robbert opened this issue Jul 2, 2024 · 1 comment · May be fixed by #1201
Open

Documentatie API conventies voor states #1078

Robbert opened this issue Jul 2, 2024 · 1 comment · May be fixed by #1201
Assignees

Comments

@Robbert
Copy link
Member

Robbert commented Jul 2, 2024

Onderdeel van "Documentatie API conventies" #1006

Acceptatie-criteria

  • De volgende termen zijn gedocumenteerd:
    • Interactie-states
    • Andere states
    • Tegenovergestelde states zonder naam in webstandaarden prefixen met not-
      • not-checked
      • not-expanded
      • Sommige states hebben inmiddels wel een specifieke naam, bijvoorbeeld:
        • enabled vs disabled
        • read-only vs read-write (MDN)
@jeffreylauwers
Copy link
Contributor

jeffreylauwers commented Jul 9, 2024

In Figma gebruiken we bovenstaande termen. Paar notities:

  • We gebruiken 'Default' voor de default state. We hebben iets van een naam nodig. Zie bijvoorbeeld Button.
  • We hebben ook een 'Invalid' state. Zie bijvoorbeeld Checkbox of Text input.
  • We combineren soms ook interactie-states zoals `hover+focus-visible. Zie bijvoorbeeld Button.
  • We werken we momenteel niet met not-checked of not-expanded omdat deze componenten werken met een boolean property. Zie bijvoorbeeld Checkbox of Accordion.

@wartburggraaf wartburggraaf linked a pull request Jul 23, 2024 that will close this issue
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 a pull request may close this issue.

3 participants