hds-web 1.7.6 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hds-web",
3
- "version": "1.7.6",
3
+ "version": "1.7.8",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -113,6 +113,7 @@ export default function IconCard(props) {
113
113
  btnBgColorClass={btn.btnBg}
114
114
  btnTextHoverClass={btn.btnTextColorClass}
115
115
  animatedHoverStroke={btn.animatedHoverStroke}
116
+ btnTextColorClass={btn.btnTextColorClass}
116
117
  />
117
118
  </a>))
118
119
  }
@@ -167,8 +167,8 @@ export default function V3Header(props) {
167
167
  }
168
168
 
169
169
  return (
170
- <Popover className="relative">
171
- <div className={`flex items-center ${HDSColor(props.headerBg)} justify-between py-4 pl-6 tb:px-8 db:px-[100px] db:py-6 tb-l:justify-between tb-l:space-x-6`}>
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
- props.button && (
136
- <HDSButton
137
- label={props.button.cta_text}
138
- type='secondary'
139
- leftIconVariant='none'
140
- rightIconVariant='none'
141
- state='default'
142
- size='md'
143
- rightAnimatedArrow={true}
144
- rightAnimatedArrowColor='#3970FD'
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
  {
@@ -1720,6 +1720,10 @@ select{
1720
1720
  max-width: min-content;
1721
1721
  }
1722
1722
 
1723
+ .max-w-\[1328px\]{
1724
+ max-width: 1328px;
1725
+ }
1726
+
1723
1727
  .flex-1{
1724
1728
  flex: 1 1 0%;
1725
1729
  }
@@ -9594,6 +9598,10 @@ select{
9594
9598
  padding-top: 2.875rem;
9595
9599
  }
9596
9600
 
9601
+ .tb\:pl-0{
9602
+ padding-left: 0px;
9603
+ }
9604
+
9597
9605
  .tb\:text-left{
9598
9606
  text-align: left;
9599
9607
  }