-
Notifications
You must be signed in to change notification settings - Fork 615
Correct and improve Storybook and docs for form controls #2143
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
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
30433df
updates checkbox props tables, storybook stories, and storybook controls
mperrotti 97ed7dc
updates Radio props table, Storybook stories, and Storybook controls
mperrotti c7651e3
updates FormControl Storybook stories, and Storybook controls
mperrotti 37a0af4
Merge branch 'main' of github.com:primer/react into mp/fix-form-docs-…
mperrotti 62aa753
updates TextInput and TextInputWithWrapper props tables, Storybook st…
mperrotti b1b6b9e
updates Select stories
mperrotti 44c7233
fixes more issues with Select stories and prop docs
mperrotti 5721897
updates Textarea prop tables, Storybook stories, and Storybook controls
mperrotti 7bebbda
updates CheckboxGroup and RadioGroup Storybook stories, and Storybook…
mperrotti d2faf40
updates Autocomplete Storybook stories, and Storybook controls
mperrotti f34efe0
fixes 'size' control in TextInput stories
mperrotti d71d421
fixes a11y issues with Autocomplete examples
mperrotti a41637b
updates input stories to use the FormControl component and controls, …
mperrotti 9de5485
Merge branch 'main' of github.com:primer/react into mp/fix-form-docs-…
mperrotti 4eac20c
updates tests
mperrotti 7d11bf0
adds changeset
mperrotti 4ec08e9
fix linting issue
mperrotti 99e0775
updates after merging from main
mperrotti ce43782
Merge branch 'main' into mp/fix-form-docs-storybook-and-mdx
mperrotti 78c71f9
Merge branch 'main' of github.com:primer/react into mp/fix-form-docs-…
mperrotti 2cc71f5
Merge branch 'mp/fix-form-docs-storybook-and-mdx' of github.com:prime…
mperrotti 635ea7e
Merge branch 'main' of github.com:primer/react into mp/fix-form-docs-…
mperrotti f40050d
Merge branch 'main' into mp/fix-form-docs-storybook-and-mdx
mperrotti dc0e139
Merge branch 'main' of github.com:primer/react into mp/fix-form-docs-…
mperrotti 2c034c9
excludes story-helpers.tsx from build
mperrotti 76eded2
fixes regression in CheckboxGroup and RadioGroup fixture stories
mperrotti File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@primer/react': patch | ||
--- | ||
|
||
Fixes bugs in form components discovered while fixing/improving Storybook and docs. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there any details which we should surface in the changelog?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing major - it was mostly minor visual tweaks.
However, I should mention that
FormControl.Label
can now accept anid
prop.