hds-web 1.7.7 → 1.7.9

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.7",
3
+ "version": "1.7.9",
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 max-w-[1328px] mx-auto">
171
- <div className={`flex items-center ${HDSColor(props.headerBg)} pl-4 tb:pl-0 justify-between py-4 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={''} />
@@ -87,15 +87,13 @@ export default function HeroIntegration({ heroData}) {
87
87
  const LinkCardsFn = (heroData) => {
88
88
  return (
89
89
  heroData.linkCards && (
90
- <div className="flex px-8 tb:px-10 tb:justify-center db-s:px-0 overflow-auto scrollbar-hide flex-row gap-6 db-s:mt-[68px] tb:flex-row ">
90
+ <div className="flex px-8 tb:px-10 tb:justify-center db-s:px-0 overflow-auto scrollbar-hide flex-row gap-6 db-s:mt-[68px] tb:flex-row ">
91
91
  {heroData.linkCards.map((card, index) => (
92
- <div key={index} className={`${HDSColor(card.cardBorderClass)} border rounded-2xl w-full pb-2 min-w-[11.5rem] max-w-[22.313rem]`}>
92
+ <div key={index} className={`${HDSColor(card.cardBorderClass)} ${HDSColor(card.cardBgColor)} ${HDSColor(card.cardHoverBg)} transition-all ease-out duration-300 hover:shadow-2xl hover:border-opacity-0 border rounded-2xl w-full min-w-[11.5rem] max-w-[22.313rem]`}>
93
93
  <LinkCard
94
94
  titleTextColor={card.titleTextColor}
95
95
  descTextColor={card.descTextColor}
96
96
  linkUrl={card.linkUrl}
97
- cardBgColor={card.cardBgColor}
98
- cardHoverBg={card.cardHoverBg}
99
97
  iconVariant={card.iconVariant}
100
98
  iconStrokeClass={card.iconStrokeColor}
101
99
  iconArrowVariant={card.iconArrowVariant}
@@ -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
  {
@@ -8334,6 +8334,10 @@ select{
8334
8334
  border-color: rgb(210 214 219 / var(--tw-border-opacity));
8335
8335
  }
8336
8336
 
8337
+ .hover\:border-opacity-0:hover{
8338
+ --tw-border-opacity: 0;
8339
+ }
8340
+
8337
8341
  .hover\:bg-amber-100:hover{
8338
8342
  --tw-bg-opacity: 1;
8339
8343
  background-color: rgb(255 243 212 / var(--tw-bg-opacity));
@@ -8847,6 +8851,12 @@ select{
8847
8851
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
8848
8852
  }
8849
8853
 
8854
+ .hover\:shadow-2xl:hover{
8855
+ --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
8856
+ --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
8857
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
8858
+ }
8859
+
8850
8860
  .hover\:transition:hover{
8851
8861
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, -webkit-transform, -webkit-filter, -webkit-backdrop-filter;
8852
8862
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
@@ -10365,6 +10375,10 @@ select{
10365
10375
  row-gap: 0.5rem;
10366
10376
  }
10367
10377
 
10378
+ .db\:overflow-visible{
10379
+ overflow: visible;
10380
+ }
10381
+
10368
10382
  .db\:rounded-3xl{
10369
10383
  border-radius: 1.5rem;
10370
10384
  }