hds-web 1.12.2 → 1.12.3

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.12.2",
3
+ "version": "1.12.3",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -11,7 +11,7 @@ export default function FeedbackCard(props) {
11
11
  logoBg = HDSColor(props.logoBg);
12
12
  }
13
13
  return (
14
- <div className='bg-neutral-0 rounded-3xl shadow p-6 tb-l:p-10 grid mb-6 db-s:mb-0 last:mb-0 flex-1 max-w-[920px] mx-auto flex-col'>
14
+ <a href={props.caseStudyUrl} className='group bg-neutral-0 rounded-3xl shadow p-6 tb-l:p-10 grid mb-6 db-s:mb-0 last:mb-0 flex-1 max-w-[920px] mx-auto flex-col transition-all duration-300 ease-in-out hover:shadow-lg hover:translate-y-0.5'>
15
15
  <div className=" self-start">
16
16
  <ProfileAvatar
17
17
  name={props.speakerName}
@@ -37,7 +37,7 @@ export default function FeedbackCard(props) {
37
37
  </div>
38
38
  <div className={"pt-4 mb-s:pt-0 " + ((props.dividerClass) ? "mb-s:pl-6" : "mb-s:pl-8")}>
39
39
  <Typography textStyle={((props.dividerClass) ? "body2" : "body1")} className='text-neutral-600 pb-1'>{props.blurb}</Typography>
40
- <a href={props.caseStudyUrl} className="flex">
40
+ <div className="flex">
41
41
  <HDSButton
42
42
  label='Read case study'
43
43
  type='secondaryLink'
@@ -52,10 +52,10 @@ export default function FeedbackCard(props) {
52
52
  btnTextHoverClass= 'hover:text-blue-500'
53
53
  animatedHoverStroke= 'group-hover:stroke-blue-500'
54
54
  />
55
- </a>
55
+ </div>
56
56
  </div>
57
57
  </div>
58
58
  </div>
59
- </div>
59
+ </a>
60
60
  )
61
61
  }
@@ -136,7 +136,7 @@ export default function IconCard(props) {
136
136
 
137
137
  (
138
138
  <a href={((props.readMoreBtn && !props.button) ? props.readMoreBtn['cta_link'] : props.button[0]['cta_link'])}
139
- className={`bg-neutral-0 group grid h-full transition-all ease-in-out rounded-3xl ${cardVariant[props.cardType]['cardStyle']} ` + ((props.cardBorder) ? props.cardBorder : 'shadow') + ((props.readMoreBtn || props.button) ? ' hover:shadow-lg hover:translate-y-0.5' : '')}
139
+ className={`bg-neutral-0 group grid h-full duration-300 transition-all ease-in-out rounded-3xl ${cardVariant[props.cardType]['cardStyle']} ` + ((props.cardBorder) ? props.cardBorder : 'shadow') + ((props.readMoreBtn || props.button) ? ' hover:shadow-lg hover:translate-y-0.5 ' : '')}
140
140
  >
141
141
  <div className=" self-start">
142
142
  <div
@@ -77,7 +77,7 @@ export default function CustomCarousel(props) {
77
77
 
78
78
  const maxVisibleCards = 6;
79
79
 
80
- const arrowStyle = ' text-2xl z-10 bg-black h-10 ml-6 w-10 rounded-full bg-neutral-0 shadow hover:bg-neutral-0 flex items-center justify-center shadow-md';
80
+ const arrowStyle = ' text-2xl z-10 bg-black h-10 w-10 ml-6 w-10 rounded-full bg-neutral-0 hover:bg-neutral-0 flex items-center justify-center shadow';
81
81
 
82
82
  const disableButton = (current, dir) => {
83
83
  if (dir === 'isLeft') {
@@ -106,7 +106,7 @@ export default function CustomCarousel(props) {
106
106
  >
107
107
  <span role="img" aria-label={`Arrow left `}>
108
108
  {(
109
- <Icon height={'h-6 w-6'} variant={'chevronleft'} strokeColor='#00288E' />
109
+ <Icon height={'h-6 w-6'} variant={'chevronleft'} strokeColor='#6C737F' />
110
110
  )}
111
111
  </span>
112
112
  </button>
@@ -124,7 +124,7 @@ export default function CustomCarousel(props) {
124
124
  >
125
125
  <span role="img" aria-label={`Arrow right `}>
126
126
  {(
127
- <Icon height={'h-6 w-6'} variant={'chevronright'} strokeColor='#00288E' />
127
+ <Icon height={'h-6 w-6 stroke-[1.5]'} variant={'chevronright'} strokeColor='#6C737F' />
128
128
  )}
129
129
  </span>
130
130
  </button>
@@ -80,7 +80,7 @@ export default function V3Footer(props) {
80
80
  </div>
81
81
  <div className='flex justify-between px-4 tb:px-0 tb:justify-start tb-l:justify-between flex-1 flex-wrap gap-y-10 tb:gap-y-16'>
82
82
  {
83
- props.footerLinks.map((footerLink, index) =>(
83
+ props.footerLinks.map((footerLink, index) => (
84
84
  <div key={index} className='min-w-[130px] db-s:min-w-fit'>
85
85
  <Typography textStyle='body3c-semi-bold' className='text-neutral-600'>{footerLink.title}</Typography>
86
86
  {
@@ -98,7 +98,7 @@ export default function V3Footer(props) {
98
98
  <div className='flex flex-col tb-m:flex-row items-center justify-between tb:pt-24'>
99
99
  <div className='flex items-center justify-center pt-10 tb-m:pt-0 pb-4 tb-m:pb-0 tb-m:justify-start'>
100
100
  {
101
- socialShare.map((icon, index)=>(
101
+ socialShare.map((icon, index) => (
102
102
  <a href={icon.linkUrl} className='mx-2 tb-l:mx-4 first:ml-0 last:mr-0 [&>svg>path]:fill-neutral-400 [&>svg>path]:hover:fill-neutral-600'>
103
103
  {icon.icon}
104
104
  </a>
@@ -109,10 +109,10 @@ export default function V3Footer(props) {
109
109
  <>
110
110
  <a href='https://status.hasura.io/' className=''>
111
111
  <div className=' bg-neutral-0 rounded-full shadow hover:shadow-lg transition-all duration-300 px-4 py-2 inline-flex justify-center items-center'>
112
- <div className='w-4 h-4 bg-green-400 rounded-full mr-2'></div>
113
- <Typography textStyle='body3' className='text-neutral-1000'>{isItems?.status.description}</Typography>
114
- </div>
115
- </a>
112
+ <div className='w-4 h-4 bg-green-400 rounded-full mr-2'></div>
113
+ <Typography textStyle='body3' className='text-neutral-1000'>{isItems?.status.description}</Typography>
114
+ </div>
115
+ </a>
116
116
  </>
117
117
  )}
118
118
  <div>
@@ -305,4 +305,4 @@ V3Footer.defaultProps = {
305
305
  ]
306
306
  },
307
307
  ],
308
- }
308
+ }
@@ -35,6 +35,7 @@ export default function DataSourcesCard(props) {
35
35
  <video
36
36
  autoPlay
37
37
  loop
38
+ playsInline
38
39
  muted
39
40
  src={props.video_url}
40
41
  className=" rounded-xl db:rounded-none db:rounded-br-3xl db:rounded-tl-3xl"
@@ -1777,6 +1777,10 @@ select{
1777
1777
  min-width: 11.5rem;
1778
1778
  }
1779
1779
 
1780
+ .min-w-\[110px\]{
1781
+ min-width: 110px;
1782
+ }
1783
+
1780
1784
  .min-w-\[112px\]{
1781
1785
  min-width: 112px;
1782
1786
  }
@@ -1785,10 +1789,6 @@ select{
1785
1789
  min-width: 12px;
1786
1790
  }
1787
1791
 
1788
- .min-w-\[130px\]{
1789
- min-width: 130px;
1790
- }
1791
-
1792
1792
  .min-w-\[169px\]{
1793
1793
  min-width: 169px;
1794
1794
  }
@@ -1835,6 +1835,10 @@ select{
1835
1835
  min-width: 100%;
1836
1836
  }
1837
1837
 
1838
+ .min-w-\[130px\]{
1839
+ min-width: 130px;
1840
+ }
1841
+
1838
1842
  .max-w-2xl{
1839
1843
  max-width: 42rem;
1840
1844
  }
@@ -5919,6 +5923,10 @@ select{
5919
5923
  stroke-width: 2;
5920
5924
  }
5921
5925
 
5926
+ .stroke-\[1\.5\]{
5927
+ stroke-width: 1.5;
5928
+ }
5929
+
5922
5930
  .stroke-\[1\.5px\]{
5923
5931
  stroke-width: 1.5px;
5924
5932
  }
@@ -8642,6 +8650,10 @@ select{
8642
8650
  margin-right: 0px;
8643
8651
  }
8644
8652
 
8653
+ .last\:justify-start:last-child{
8654
+ justify-content: flex-start;
8655
+ }
8656
+
8645
8657
  .last\:rounded-r-full:last-child{
8646
8658
  border-top-right-radius: 9999px;
8647
8659
  border-bottom-right-radius: 9999px;
@@ -9784,6 +9796,12 @@ select{
9784
9796
  }
9785
9797
  }
9786
9798
 
9799
+ @media not all and (min-width: 400px){
9800
+ .max-mb-m\:last\:justify-start:last-child{
9801
+ justify-content: flex-start;
9802
+ }
9803
+ }
9804
+
9787
9805
  @media (max-width: 369px){
9788
9806
  .max-\[369px\]\:mt-8{
9789
9807
  margin-top: 2rem;
@@ -9885,6 +9903,10 @@ select{
9885
9903
  .mb-m\:pt-0{
9886
9904
  padding-top: 0px;
9887
9905
  }
9906
+
9907
+ .mb-m\:last\:justify-start:last-child{
9908
+ justify-content: flex-start;
9909
+ }
9888
9910
  }
9889
9911
 
9890
9912
  @media (min-width: 600px){
@@ -169,6 +169,7 @@ module.exports = {
169
169
  extend: {
170
170
  boxShadow: {
171
171
  'sh1': '0px -1px 3px rgba(28, 38, 63, 0.1), 0px -1px 2px rgba(28, 38, 63, 0.06)',
172
+ 'home-drop': '0px 10px 30px 0px rgba(0, 0, 0, 0.16)'
172
173
  },
173
174
  screens: {
174
175
  'mb-s': '360px',