feat(storybook): custom properties panel#3166
Conversation
🦋 Changeset detectedLatest commit: 73e0812 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
2ed616c to
e1f7a95
Compare
|
🚀 Deployed on https://pr-3166--spectrum-css.netlify.app |
e1f7a95 to
27b6165
Compare
File metricsSummaryTotal size: 2.25 MB* 🎉 No changes detected in any packages * Size is the sum of all main files for packages in the library.* An ASCII character in UTF-8 is 8 bits or 1 byte. |
754b512 to
59656d1
Compare
59656d1 to
4c2f600
Compare
4c2f600 to
d497927
Compare
d497927 to
82d2f9e
Compare
eb20c09 to
3d14fcc
Compare
e66a6ff to
df9d5cc
Compare
2eebf01 to
711d4cd
Compare
df9d5cc to
ff03881
Compare
b77c8b2 to
d020047
Compare
41beabc to
1c62593
Compare
| - [What it's for](#what-its-for) | ||
| - [Getting started](#getting-started) | ||
| - [Usage](#usage) | ||
| - [Adding to DocsPage and MDX](#adding-to-docspage-and-mdx) |
There was a problem hiding this comment.
[markdownlint] reported by reviewdog 🐶
MD051/link-fragments Link fragments should be valid [Context: "Adding to DocsPage and MDX"]
| - [Getting started](#getting-started) | ||
| - [Usage](#usage) | ||
| - [Adding to DocsPage and MDX](#adding-to-docspage-and-mdx) | ||
| - [DocsPage](#docspage) |
| - [Usage](#usage) | ||
| - [Adding to DocsPage and MDX](#adding-to-docspage-and-mdx) | ||
| - [DocsPage](#docspage) | ||
| - [Advanced configuration](#advanced-configuration) |
There was a problem hiding this comment.
[markdownlint] reported by reviewdog 🐶
MD051/link-fragments Link fragments should be valid [Context: "Advanced configuration"]
| - [Adding to DocsPage and MDX](#adding-to-docspage-and-mdx) | ||
| - [DocsPage](#docspage) | ||
| - [Advanced configuration](#advanced-configuration) | ||
| - [Development](#development) |
There was a problem hiding this comment.
[markdownlint] reported by reviewdog 🐶
MD051/link-fragments Link fragments should be valid [Context: "Development"]
| - [DocsPage](#docspage) | ||
| - [Advanced configuration](#advanced-configuration) | ||
| - [Development](#development) | ||
| - [TODOs and ideas for the future](#todos-and-ideas-for-the-future) |
There was a problem hiding this comment.
[markdownlint] reported by reviewdog 🐶
MD051/link-fragments Link fragments should be valid [Context: "TODOs and ideas for the future"]
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
--- Co-authored-by: TarunAdobe <ttomar@adobe.com>
* docs(assetcard): remove MDX file - adds some missing documentation regarding stories, classes and custom properties - corrects sentence-casing of story names * docs(avatar): remove MDX file - adds some missing documentation regarding stories - reorganizes some information to sit with appropriate story/variant - migrates documentation from MDX file to the stories file instead * chore(avatar): fix disabled test arguments * docs(badge): remove MDX file - adds notice badge variants to semantic story - adds sizing story to docs page - migrates documentation in MDX to stories.js instead * docs(badge): pr fixes - remove empty doc block line - remove html wrapper in favor of content array - add notice badge to test coverage
Expanding the existing themes system to support the new S2 mappings. --- Co-authored-by: castastrophe <castastrophe@users.noreply.github.com> Co-authored-by: Patrick Fulton <pfulton@adobe.com> Co-authored-by: Cory Dransfeldt <cdransfeldt@adobe.com> Co-authored-by: Aziz Ramos <azizramos@Azizs-MBP.lan> Co-authored-by: Josh Winn <965114+jawinn@users.noreply.github.com> Co-authored-by: Rise Erpelding <rise@heysparkbox.com> Co-authored-by: Marissa Huysentruyt <marissa.huysentruyt@heysparkbox.com> Co-authored-by: Rajdeep Chandra <rajdeepc@adobe.com> Co-authored-by: TarunAdobe <ttomar@adobe.com> Co-authored-by: Dragan Eror<el22or@users.noreply.github.com>
Expanding the existing themes system to support the new S2 mappings. --- Co-authored-by: castastrophe <castastrophe@users.noreply.github.com> Co-authored-by: Patrick Fulton <pfulton@adobe.com> Co-authored-by: Cory Dransfeldt <cdransfeldt@adobe.com> Co-authored-by: Aziz Ramos <azizramos@Azizs-MBP.lan> Co-authored-by: Josh Winn <965114+jawinn@users.noreply.github.com> Co-authored-by: Rise Erpelding <rise@heysparkbox.com> Co-authored-by: Marissa Huysentruyt <marissa.huysentruyt@heysparkbox.com> Co-authored-by: Rajdeep Chandra <rajdeepc@adobe.com> Co-authored-by: TarunAdobe <ttomar@adobe.com> Co-authored-by: Dragan Eror<el22or@users.noreply.github.com>
Description
Adds a new custom properties panel to the development preview pages for each component that surfaces the modifiable custom properties as sourced from the metadata/metadata.json file (note that this is not a live updated list because metadata.json is not generated by storybook).
This panel allows a visitor to put in their own values and see how it impacts the styling of the component in the view panel.
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
--mod-accordion-background-color-defaultentry; expect to see the background color of the accordion to update live.To-do list