Skip to content

Commit

Permalink
Chromatic in UI (#26)
Browse files Browse the repository at this point in the history
* Update SB, add visual regression tests in UI

* Ignore chromatic.config.json
  • Loading branch information
ahosgood authored Oct 23, 2023
1 parent b44d5f8 commit 140afae
Show file tree
Hide file tree
Showing 5 changed files with 882 additions and 500 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ package
storybook
*.zip
*.tgz
build-storybook.log
build-storybook.log
chromatic.config.json
1 change: 1 addition & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = {
"@storybook/addon-a11y",
"@storybook/addon-interactions",
"@storybook/addon-mdx-gfm",
"@chromaui/addon-visual-tests",
],
framework: {
name: "@storybook/html-webpack5",
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

- `tna-aside` now has a `--tight` modifier with less padding
- Visual regression tests can now be run in the Storyobok UI

### Changed

Expand All @@ -20,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Links in footer and text in buttons have balanced wrapping applied
- Header and header group class modifiers have been moved to separate blocks (`tna-heading tna-heading--xl` -> `tna-heading-xl`)
- `space-below` has been replaced with `space-above` and all paddings in between page elements reassessed
- Updated Storybook to `7.5.1`

### Deprecated
### Removed
Expand Down
Loading

0 comments on commit 140afae

Please sign in to comment.