-
Notifications
You must be signed in to change notification settings - Fork 194
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
docs(swatch,swatchgroup,table,tabs): docs migrations to storybook #2925
base: main
Are you sure you want to change the base?
docs(swatch,swatchgroup,table,tabs): docs migrations to storybook #2925
Conversation
|
🚀 Deployed on https://pr-2925--spectrum-css.netlify.app |
File metricsSummaryTotal size: 4.63 MB* 🎉 No changes detected in any packages * Size determined by adding together the size of the main file for all packages in the library.* Results are not gzipped or minified. * An ASCII character in UTF-8 is 8 bits or 1 byte. |
597c65b
to
6b6d58a
Compare
f7ce386
to
8633c48
Compare
- templates for sizes, border, rectangle, disabled, image, gradient, corner rounding, nothing/empty
- templates for sizes, corner rounding
- templates for sizes, body dropzone, hasColumnDividers
- templates for sizes, overflow, densities, orientations, quiet - moves markup to template.js
- corrects the misuse of `is-image` in favor of `spectrum-Swatch-image` - correctly adds `is-image` when the swatch represents mixed values
- expand chromatic coverage for new stories - corrects some isDisabled behavior so the disabled state takes precendence over other args (like image, gradient, etc)
8633c48
to
c6f7deb
Compare
for new stories, disabled the snapshot since the default group should encompass all stories
Description
This PR continues migrating documentation from the static docs site into Storybook. The focus is on
swatch
,swatchgroup
,table
andtabs
. All variants of the components should now be displayed on the StorybookDocs
page. All components haveautodocs
and/or!dev
stories now. Migration notes fortables
andtabs
have been added to the correspondingchangelog
s.Jira
No MDX pages were added for any components.
This PR doesn't need a changeset since it's docs-only.
How and where has this been tested?
Please tag yourself on the tests you've marked complete to confirm the tests have been run by someone other than the author.
Validation steps
Regression testing
Validate:
Screenshots
To-do list