-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(breadcrumb, checkbox, clearbutton, coachindicator): Site Docs to…
… Storybook (#2793) * docs: fix typo in storybook/guides/develop.mdx * docs(breadcrumb): add missing stories and test coverage * docs(checkbox): add missing stories and test coverage * docs(clearbutton): add missing stories and test coverage * docs(coachindicator): add missing stories * docs(checkbox,clearbutton): refactor to use Sizes decorator this removes a custom "Sizing" template for the 2 components and uses the updated Sizes decorator. * chore(checkbox): additional test cases for states and checked - adds disabled-checked and readonly-checked checkbox tests * chore(breadcrumb): additional test cases - adds nested & nested-root-visible test cases for default/compact/ multiline variants - clarifies the state data heading to call out the dragged and disabled breadcrumb states * docs(breadcrumb): add more documentation - adds documentation for nesting/overflow, and root-visible stories - refactors some storyNames to follow a convention/pattern better - removes MultilineDragged story since that state is covered in the separate Dragged story * docs(checkbox): use Container() decorator on docs page - exports the Container() function from utilities.js - refactors DocsCheckboxGroup to use Container(), instead of custom template and styles - refactors AllVariantsCheckboxGroup to also use Container(), instead of more custom styles and headings * docs(breadcrumb): refactor test cases - adds dragged/disabled stateData back to all variants - cleans up items object for each subvariant (default, nested, nested- root-visible) * docs(breadcrumb): cleans up stories - use sentence case in breadcrumb text - refactor items to use ...Default.args etc. where possible - reorganize stories so major variants are grouped together * docs(coachindicator): use Container() decorator on docs page - refactors AllVariantsCoachIndicatorGroup to use Container(), instead of custom template and styles * chore(breadcrumb): use select dropdown for variants - use a select instead of inline-radio - display defaultValue in arg table * chore(checkbox): simplify content arg Co-authored-by: [ Cassondra ] <[email protected]> * chore(coachindicator): simplify content arg Co-authored-by: [ Cassondra ] <[email protected]> * chore(checkbox,coachindicator): pr edits - fix sentence case in clear button args table - add variant: default to coachindicator default args --------- Co-authored-by: [ Cassondra ] <[email protected]>
- Loading branch information
1 parent
2c14098
commit 2621341
Showing
13 changed files
with
545 additions
and
44 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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.