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

Redesign Inputs API #1619

Merged
merged 32 commits into from
Mar 3, 2024
Merged

Redesign Inputs API #1619

merged 32 commits into from
Mar 3, 2024

Conversation

ovidiuch
Copy link
Member

@ovidiuch ovidiuch commented Feb 17, 2024

Implementation

  • Add useCosmosInput alias. Add useInput API with backwards compatible useValue alias.
  • Add useCosmosSelect alias.
  • Rename controls to inputs in fixture state and Cosmos UI plugins.

Update docs

  • Use new API methods in examples.
  • Rename "UI Controls" to "Inputs" in docs.
  • Separate Viewport from Inputs docs.
  • Mention support for useSelect option groups in docs.

Copy link

cloudflare-pages bot commented Feb 17, 2024

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: dca391d
Status: ✅  Deploy successful!
Preview URL: https://34bccb64.reactcosmos.pages.dev
Branch Preview URL: https://refactor-controls.reactcosmos.pages.dev

View logs

@ovidiuch ovidiuch changed the title Improve UI control API Improve UI controls API Feb 17, 2024
@ovidiuch ovidiuch changed the title Improve UI controls API Improve UI control APIs Feb 17, 2024
@ovidiuch ovidiuch changed the title Improve UI control APIs Refactor Inputs API Mar 2, 2024
@ovidiuch ovidiuch changed the title Refactor Inputs API Redesign Inputs API Mar 2, 2024
@ovidiuch ovidiuch marked this pull request as ready for review March 2, 2024 22:47
@ovidiuch ovidiuch changed the title Redesign Inputs API Redesign Input APIs Mar 3, 2024
@ovidiuch ovidiuch changed the title Redesign Input APIs Redesign Inputs API Mar 3, 2024
@ovidiuch ovidiuch merged commit 84a35da into main Mar 3, 2024
13 checks passed
@ovidiuch ovidiuch deleted the refactor-controls branch March 3, 2024 11:04
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.

None yet

1 participant