hds-web 1.7.7 → 1.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +2 -2
- package/dist/index.es.css +2 -2
- package/dist/index.es.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/HDS/components/Cards/Misc/iconCard.js +1 -0
- package/src/HDS/components/Headers/v3Header.js +2 -2
- package/src/HDS/modules/TextCard/textCard.js +22 -13
package/package.json
CHANGED
@@ -167,8 +167,8 @@ export default function V3Header(props) {
|
|
167
167
|
}
|
168
168
|
|
169
169
|
return (
|
170
|
-
<Popover className="relative max-w-
|
171
|
-
<div className={`flex items-center ${HDSColor(props.headerBg)}
|
170
|
+
<Popover className="relative max-w-7xl mx-auto">
|
171
|
+
<div className={`flex items-center ${HDSColor(props.headerBg)} justify-between py-4 db:py-6 tb-l:justify-between`}>
|
172
172
|
<div className='flex items-center'>
|
173
173
|
<a href={props.headerUrl} className="flex items-center">
|
174
174
|
<Icon height='w-[103px] h-[33px]' variant={'hasuraPrimary'} strokeColor={''} />
|
@@ -131,19 +131,28 @@ export default function TextCard(props) {
|
|
131
131
|
</div>
|
132
132
|
)
|
133
133
|
}
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
134
|
+
|
135
|
+
{props.button &&
|
136
|
+
<div className="flex gap-6 items-center">
|
137
|
+
{props.button.map((btn, index) => (
|
138
|
+
<a href={btn.cta_link} key={index} className="flex ">
|
139
|
+
<HDSButton
|
140
|
+
label={btn.cta_text}
|
141
|
+
type={btn.cta_type || 'secondary'}
|
142
|
+
leftIconVariant='none'
|
143
|
+
rightIconVariant='none'
|
144
|
+
state='default'
|
145
|
+
size='md'
|
146
|
+
rightAnimatedArrow={true}
|
147
|
+
rightAnimatedArrowColor={btn.rightAnimatedArrowColor || '#3970FD'}
|
148
|
+
btnBgColorClass={btn.btnBg}
|
149
|
+
btnTextHoverClass={btn.btnTextColorClass}
|
150
|
+
animatedHoverStroke={btn.animatedHoverStroke}
|
151
|
+
btnTextColorClass={btn.btnTextColorClass}
|
152
|
+
/>
|
153
|
+
</a>))
|
154
|
+
}
|
155
|
+
</div>
|
147
156
|
}
|
148
157
|
</div>
|
149
158
|
{
|