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

SpinButton Convergence #20930

Closed
30 of 33 tasks
spmonahan opened this issue Dec 6, 2021 · 3 comments
Closed
30 of 33 tasks

SpinButton Convergence #20930

spmonahan opened this issue Dec 6, 2021 · 3 comments

Comments

@spmonahan
Copy link
Contributor

spmonahan commented Dec 6, 2021

Preparation:

Implementation

link to react-spinbutton package folder

  • Started impl
  • Implement SpinButton component #21815
  • Add storybook stories
  • Using hooks
  • Using Griffle
  • Respects Figma tokens (and using provider)
  • Respects API principles, shorthands and slots handling
  • No dependency on v0/v7
  • Add tests - Conformance, Unit, and VR
    • Bundle size fixtures
    • Conformance tests
    • Unit tests
    • VR tests
    • Accessibility behavior tests
  • Write README.md covering basic usage
  • Write initial MIGRATION.md guide (include v8 and v0)
  • Set component ownership in CODEOWNERS
  • Deliverable: Experimental component ready for partner use, component re-exported in react-components

Validation

  • Started validating
  • Add and validate in UI Builder
  • Add and validate in docs site
  • Validate with token pipeline
  • Validate in product
  • Finalize migration guide
    • Author codemods
  • Deliverable: Preview component ready for broader/3rd party use
@spmonahan
Copy link
Contributor Author

@1muen
Copy link

1muen commented Mar 3, 2022

There is also no required or errorMessage property on the SpinButton :( This was already reported in # [SpinButton] Add errorMessage and onGetErrorMessage #11923 or #3620

@spmonahan
Copy link
Contributor Author

The converged inputs like this SpinButton implementation support all the native HTMLInputElement attributes so there is a required property. Error messaging for inputs will be handled by a different control for this version of the library.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants