Skip to content

Commit 882a634

Browse files
pfultoncastastrophe
authored andcommitted
feat: add Storybook Pseudo States addon
Adds the Storybook Pseudo States addon so that we can more easily test hover states in Chromatic.
1 parent acfc9a1 commit 882a634

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

tools/preview/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ module.exports = {
3333
"@whitespace/storybook-addon-html",
3434
// https://storybook.js.org/addons/@etchteam/storybook-addon-status
3535
"@etchteam/storybook-addon-status",
36+
"storybook-addon-pseudo-states",
3637
],
3738
core: {
3839
disableTelemetry: true,

tools/preview/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
"rimraf": "^5.0.1",
6262
"source-map-loader": "^1.0.0",
6363
"storybook": "^7.0.26",
64+
"storybook-addon-pseudo-states": "^2.1.0",
6465
"style-loader": "3.3.3",
6566
"webpack": "^5.83.1"
6667
},

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15888,6 +15888,11 @@ store2@^2.14.2:
1588815888
resolved "https://registry.yarnpkg.com/store2/-/store2-2.14.2.tgz#56138d200f9fe5f582ad63bc2704dbc0e4a45068"
1588915889
integrity sha512-siT1RiqlfQnGqgT/YzXVUNsom9S0H1OX+dpdGN1xkyYATo4I6sep5NmsRD/40s3IIOvlCq6akxkqG82urIZW1w==
1589015890

15891+
storybook-addon-pseudo-states@^2.1.0:
15892+
version "2.1.0"
15893+
resolved "https://registry.yarnpkg.com/storybook-addon-pseudo-states/-/storybook-addon-pseudo-states-2.1.0.tgz#05faffb7e0d19fc012035ecee2a02d432f312d2d"
15894+
integrity sha512-AwbCL1OiZ16aIeXSP/IOovkMwXy7NTZqmjkz+UM2guSGjvogHNA95NhuVyWoqieE+QWUpGO48+MrBGMeeJcHOQ==
15895+
1589115896
storybook@^7.0.26:
1589215897
version "7.0.26"
1589315898
resolved "https://registry.yarnpkg.com/storybook/-/storybook-7.0.26.tgz#70a55074644c265770cc015c576aa005dad3b2ef"

0 commit comments

Comments
 (0)