Skip to content

Commit bca8aa3

Browse files
sookburtsookburt
andauthored
Bump support-dotcom-components for CTA hover removal from CtaDesign type (#14283)
* bumps SDC to v7.7.0 * remove hover from storybook settings now type is updated --------- Co-authored-by: sookburt <“[email protected]”>
1 parent 1ba97b4 commit bca8aa3

File tree

3 files changed

+78
-207
lines changed

3 files changed

+78
-207
lines changed

dotcom-rendering/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"@guardian/shimport": "1.0.2",
4444
"@guardian/source": "10.2.0",
4545
"@guardian/source-development-kitchen": "18.1.1",
46-
"@guardian/support-dotcom-components": "7.6.2",
46+
"@guardian/support-dotcom-components": "7.7.0",
4747
"@guardian/tsconfig": "0.2.0",
4848
"@playwright/test": "1.52.0",
4949
"@sentry/browser": "7.75.1",

dotcom-rendering/src/components/marketing/banners/utils/storybook.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -114,33 +114,20 @@ export const design: ConfigurableDesign = {
114114
text: stringToHexColour('FFFFFF'),
115115
background: stringToHexColour('0077B6'),
116116
},
117-
hover: {
118-
text: stringToHexColour('FFFFFF'),
119-
background: stringToHexColour('004E7C'),
120-
},
121117
},
122118
secondaryCta: {
123119
default: {
124120
text: stringToHexColour('004E7C'),
125121
background: stringToHexColour('F1F8FC'),
126122
border: stringToHexColour('004E7C'),
127123
},
128-
hover: {
129-
text: stringToHexColour('004E7C'),
130-
background: stringToHexColour('E5E5E5'),
131-
border: stringToHexColour('004E7C'),
132-
},
133124
},
134125
closeButton: {
135126
default: {
136127
text: stringToHexColour('052962'),
137128
background: stringToHexColour('F1F8FC'),
138129
border: stringToHexColour('052962'),
139130
},
140-
hover: {
141-
text: stringToHexColour('052962'),
142-
background: stringToHexColour('E5E5E5'),
143-
},
144131
},
145132
ticker: {
146133
text: stringToHexColour('052962'),

0 commit comments

Comments
 (0)