Skip to content

Commit 4510975

Browse files
authored
fix: remove storybook-addon-pseudo-states (#2401)
- Removed pseudo states add-on because it injects CSS that results in incorrect VRTs (especially with any styles containing :not selectors)
1 parent a665a63 commit 4510975

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

.storybook/main.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ module.exports = {
3232
"@whitespace/storybook-addon-html",
3333
// https://storybook.js.org/addons/@etchteam/storybook-addon-status
3434
"@etchteam/storybook-addon-status",
35-
"storybook-addon-pseudo-states",
3635
// https://github.com/storybookjs/storybook/tree/next/code/addons/interactions
3736
"@storybook/addon-interactions",
3837
// https://www.chromatic.com/docs/visual-testing-addon/

.storybook/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
"react-syntax-highlighter": "^15.5.0",
5858
"source-map-loader": "^4.0.1",
5959
"storybook": "^7.5.1",
60-
"storybook-addon-pseudo-states": "^2.1.0",
6160
"style-loader": "3.3.3",
6261
"webpack": "^5.83.1"
6362
}

yarn.lock

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

16056-
storybook-addon-pseudo-states@^2.1.0:
16057-
version "2.1.2"
16058-
resolved "https://registry.yarnpkg.com/storybook-addon-pseudo-states/-/storybook-addon-pseudo-states-2.1.2.tgz#9a04b8b97abecba69a47eca37966e297d15f924f"
16059-
integrity sha512-AHv6q1JiQEUnMyZE3729iV6cNmBW7bueeytc4Lga4+8W1En8YNea5VjqAdrDNJhXVU0QEEIGtxkD3EoC9aVWLw==
16060-
1606116056
storybook@^7.5.1:
1606216057
version "7.5.3"
1606316058
resolved "https://registry.yarnpkg.com/storybook/-/storybook-7.5.3.tgz#0003b072736b8b15c3b7205e9775d0c5ec898b4d"

0 commit comments

Comments
 (0)