Implement new inputs and select components #46812
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This change:
Input
andFieldInput
componentsSelect*
andFieldSelect*
family of components, including unifying the set of accepted properties and supported features between the components of the familyFigma: inputs, dropdowns
This is a large PR, so it's best to review it commit by commit. I decided to lump both input and select changes together, since they frequently appear together and testing these changes together saved a lot of time.
Caveats:
SelectCreatable
insideteleport/Discover/Shared/SelectCreatable
, but I don't want to make this PR bigger than it already is.Fixes #46611
Needs to be merged together with https://github.com/gravitational/teleport.e/pull/5052.
Tested by inspecting all storybook entries and making sure that layouts are fine and don't break when they show validation errors. A couple of screens were also tested on the real Web and Connect UI.
Note: since this PR is the largest and latest of the highly-visible UI changes, it bears the changelog line; however, this has been gradually introduced to v17 across a multitude of PRs. To see the entire development history, see all subissues of #37260.
Changelog: Refreshed the Web and Teleport Connect UI design.