hds-web 1.7.5 → 1.7.7

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.5",
3
+ "version": "1.7.7",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -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-[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`}>
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={''} />
@@ -112,7 +112,7 @@ export default function HeroSecondary({ heroData, logo, scrollArrow, fontSize })
112
112
 
113
113
  {heroData.buttons[0] &&
114
114
  <HDSButton
115
- type="secondary"
115
+ type={heroData.buttons[0].cta_type || "secondary"}
116
116
  btnTextColorClass={HDSColor('text-neutral-0')}
117
117
  leftIconVariant='none'
118
118
  rightIconVariant='none'
@@ -124,7 +124,7 @@ export default function HeroSecondary({ heroData, logo, scrollArrow, fontSize })
124
124
  />
125
125
  }
126
126
  {heroData.buttons[1] && <HDSButton
127
- type="primaryLink"
127
+ type={heroData.buttons[0].cta_type || "primaryLink"}
128
128
  btnTextColorClass={HDSColor('text-neutral-0')}
129
129
  leftIconVariant='none'
130
130
  rightIconVariant='none'
@@ -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
  }