Skip to content

Button Convergence #16746

@khmakoto

Description

@khmakoto

Preparation:

Implementation

  • Started impl
    https://github.com/microsoft/fluentui/tree/master/packages/react-button
  • Implement component
  • Add storybook stories (see Documentation section below)
  • Using hooks
  • Using makeStyles
  • Respects Figma tokens (and using provider)
  • Respects API principles, shorthands and slots handling
  • No dependency on v0/v7
  • Add tests - Conformance, Unit, and VR
    • Conformance tests
    • Unit tests
    • VR tests
    • Accessibility behavior tests
  • Write README.md covering basic usage
  • Write initial MIGRATION.md guide (include v8 and v0)
  • Deliverable: Experimental component ready for partner use

Styling variants

  • block
  • circular
  • outline
  • primary
  • subtle
  • transparent

Component variants

  • CompoundButton
  • ToggleButton

Validation

  • Started validating
  • Add and validate in UI Builder
  • Add and validate in docs site
  • Validate with token pipeline
  • Validate in product
    • Currently being validated in Ribbon
  • Finalize migration guide
    • Author codemods
  • Deliverable: Preview component ready for broader/3rd party use

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions