Skip to content

Commit 83ef34a

Browse files
authored
chore(storybook): remove foundations snapshots (#4216)
1 parent 491e391 commit 83ef34a

File tree

6 files changed

+33
-0
lines changed

6 files changed

+33
-0
lines changed

.storybook/foundations/corner-rounding/action-button-corner-rounding.stories.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,6 @@ const ActionButtonTable = (args, context) => {
9696

9797
export const ActionButtonExamples = ActionButtonTable.bind({});
9898
ActionButtonExamples.args = {};
99+
ActionButtonExamples.parameters = {
100+
chromatic: { disableSnapshot: true },
101+
};

.storybook/foundations/corner-rounding/checkbox-corner-rounding.stories.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,6 @@ const CheckboxTable = (args, context) => {
8686

8787
export const CheckboxExamples = CheckboxTable.bind({});
8888
CheckboxExamples.args = {};
89+
CheckboxExamples.parameters = {
90+
chromatic: { disableSnapshot: true },
91+
};

.storybook/foundations/corner-rounding/corner-rounding.stories.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,6 @@ const CornerRadiusGroup = (args = {}, context = {}) => html`
8686

8787
export const CornerRounding = CornerRadiusGroup.bind({});
8888
CornerRounding.args = {};
89+
CornerRounding.parameters = {
90+
chromatic: { disableSnapshot: true },
91+
};

.storybook/foundations/down-state/button-down-state.stories.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@ ButtonDownState.args = {
2525
"--spectrum-downstate-height": "32px"
2626
}
2727
};
28+
ButtonDownState.parameters = {
29+
chromatic: { disableSnapshot: true },
30+
};

.storybook/foundations/down-state/checkbox-down-state.stories.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ export const CheckboxDownState = Template.bind({});
2020
CheckboxDownState.args = {
2121
label: "Checkbox",
2222
};
23+
CheckboxDownState.parameters = {
24+
chromatic: { disableSnapshot: true },
25+
};

.storybook/foundations/drop-shadow/drop-shadow.stories.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,33 +57,51 @@ DropShadowEmphasizedDefault.args = {
5757
variant: "emphasized-default",
5858
isDropShadow: true,
5959
};
60+
DropShadowEmphasizedDefault.parameters = {
61+
chromatic: { disableSnapshot: true },
62+
};
6063

6164
export const DropShadowEmphasizedHover = DropShadowVariant.bind({});
6265
DropShadowEmphasizedHover.args = {
6366
variant: "emphasized-hover",
6467
isDropShadow: true,
6568
};
69+
DropShadowEmphasizedHover.parameters = {
70+
chromatic: { disableSnapshot: true },
71+
};
6672

6773
export const DropShadowElevated = DropShadowVariant.bind({});
6874
DropShadowElevated.args = {
6975
variant: "elevated",
7076
isDropShadow: true,
7177
};
78+
DropShadowElevated.parameters = {
79+
chromatic: { disableSnapshot: true },
80+
};
7281

7382
export const BoxShadowEmphasizedDefault = DropShadowVariant.bind({});
7483
BoxShadowEmphasizedDefault.args = {
7584
variant: "emphasized-default",
7685
isDropShadow: false,
7786
};
87+
BoxShadowEmphasizedDefault.parameters = {
88+
chromatic: { disableSnapshot: true },
89+
};
7890

7991
export const BoxShadowEmphasizedHover = DropShadowVariant.bind({});
8092
BoxShadowEmphasizedHover.args = {
8193
variant: "emphasized-hover",
8294
isDropShadow: false,
8395
};
96+
BoxShadowEmphasizedHover.parameters = {
97+
chromatic: { disableSnapshot: true },
98+
};
8499

85100
export const BoxShadowElevated = DropShadowVariant.bind({});
86101
BoxShadowElevated.args = {
87102
variant: "elevated",
88103
isDropShadow: false,
89104
};
105+
BoxShadowElevated.parameters = {
106+
chromatic: { disableSnapshot: true },
107+
};

0 commit comments

Comments
 (0)