Skip to content

Commit e43f561

Browse files
committed
fix(coachmark): remove repetitive wrapper styles
1 parent 8706bf6 commit e43f561

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

components/coachmark/stories/coachmark.test.js

-24
Original file line numberDiff line numberDiff line change
@@ -30,70 +30,46 @@ export const CoachMarkGroup = Variants({
3030
testHeading: "Default",
3131
hasActionMenu: false,
3232
hasPagination: false,
33-
wrapperStyles: {
34-
"background-color": "var(--spectrum-gray-50, white)",
35-
},
3633
},
3734
{
3835
testHeading: "With media",
3936
hasActionMenu: false,
4037
hasPagination: false,
4138
hasImage: true,
42-
wrapperStyles: {
43-
"background-color": "var(--spectrum-gray-50, white)",
44-
},
4539
},
4640
{
4741
testHeading: "With media + fixed height",
4842
hasActionMenu: false,
4943
hasPagination: false,
5044
hasImage: true,
5145
imageIsFixedHeight: true,
52-
wrapperStyles: {
53-
"background-color": "var(--spectrum-gray-50, white)",
54-
},
5546
},
5647
{
5748
testHeading: "With action menu",
5849
hasPagination: false,
5950
hasActionMenu: true,
6051
isOpen: true,
61-
wrapperStyles: {
62-
"background-color": "var(--spectrum-gray-50, white)",
63-
},
6452
},
6553
{
6654
testHeading: "With action menu + media",
6755
hasPagination: false,
6856
isOpen: true,
6957
hasImage: true,
7058
hasActionMenu: true,
71-
wrapperStyles: {
72-
"background-color": "var(--spectrum-gray-50, white)",
73-
},
7459
},
7560
{
7661
testHeading: "With pagination",
7762
hasActionMenu: false,
78-
wrapperStyles: {
79-
"background-color": "var(--spectrum-gray-50, white)",
80-
},
8163
},
8264
{
8365
testHeading: "With pagination + media",
8466
hasActionMenu: false,
8567
hasImage: true,
86-
wrapperStyles: {
87-
"background-color": "var(--spectrum-gray-50, white)",
88-
},
8968
},
9069
{
9170
testHeading: "With a long title",
9271
title: "Coach mark title with longer text that wraps to see how icon should align",
9372
hasActionMenu: true,
94-
wrapperStyles: {
95-
"background-color": "var(--spectrum-gray-50, white)",
96-
},
9773
},
9874
],
9975
stateData: [],

0 commit comments

Comments
 (0)