hds-web 1.12.1 → 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.1",
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>
@@ -106,10 +106,14 @@ export default function V3Footer(props) {
106
106
  }
107
107
  </div>
108
108
  {isItems && !isError && (
109
- <div className=' bg-neutral-0 rounded-full shadow px-4 py-2 inline-flex justify-center items-center'>
110
- <div className='w-4 h-4 bg-green-400 rounded-full mr-2'></div>
111
- <Typography textStyle='body3' className='text-neutral-1000'>{isItems?.status.description}</Typography>
112
- </div>
109
+ <>
110
+ <a href='https://status.hasura.io/' className=''>
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>
116
+ </>
113
117
  )}
114
118
  <div>
115
119
  <Typography textStyle='body3c' className='text-neutral-600 pt-4 tb-m:pt-0'>© {new Date().getFullYear()} Hasura Inc. All rights reserved</Typography>
@@ -301,4 +305,4 @@ V3Footer.defaultProps = {
301
305
  ]
302
306
  },
303
307
  ],
304
- }
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"
@@ -1591,6 +1591,10 @@ select{
1591
1591
  max-height: 100%;
1592
1592
  }
1593
1593
 
1594
+ .min-h-\[12px\]{
1595
+ min-height: 12px;
1596
+ }
1597
+
1594
1598
  .min-h-\[20px\]{
1595
1599
  min-height: 20px;
1596
1600
  }
@@ -1773,12 +1777,16 @@ select{
1773
1777
  min-width: 11.5rem;
1774
1778
  }
1775
1779
 
1780
+ .min-w-\[110px\]{
1781
+ min-width: 110px;
1782
+ }
1783
+
1776
1784
  .min-w-\[112px\]{
1777
1785
  min-width: 112px;
1778
1786
  }
1779
1787
 
1780
- .min-w-\[130px\]{
1781
- min-width: 130px;
1788
+ .min-w-\[12px\]{
1789
+ min-width: 12px;
1782
1790
  }
1783
1791
 
1784
1792
  .min-w-\[169px\]{
@@ -1827,6 +1835,10 @@ select{
1827
1835
  min-width: 100%;
1828
1836
  }
1829
1837
 
1838
+ .min-w-\[130px\]{
1839
+ min-width: 130px;
1840
+ }
1841
+
1830
1842
  .max-w-2xl{
1831
1843
  max-width: 42rem;
1832
1844
  }
@@ -5911,6 +5923,10 @@ select{
5911
5923
  stroke-width: 2;
5912
5924
  }
5913
5925
 
5926
+ .stroke-\[1\.5\]{
5927
+ stroke-width: 1.5;
5928
+ }
5929
+
5914
5930
  .stroke-\[1\.5px\]{
5915
5931
  stroke-width: 1.5px;
5916
5932
  }
@@ -7481,6 +7497,51 @@ select{
7481
7497
  }
7482
7498
  }
7483
7499
 
7500
+ @-webkit-keyframes up-right {
7501
+ 0% {
7502
+ -webkit-transform: scale(1);
7503
+ transform: scale(1);
7504
+ opacity: 0.25;
7505
+ }
7506
+
7507
+ 50% {
7508
+ -webkit-transform: scale (1, 5);
7509
+ transform: scale (1, 5);
7510
+ opacity: 1;
7511
+ }
7512
+
7513
+ 100% {
7514
+ -webkit-transform: scale(1);
7515
+ transform: scale(1);
7516
+ opacity: 0.25;
7517
+ }
7518
+ }
7519
+
7520
+ @keyframes up-right {
7521
+ 0% {
7522
+ -webkit-transform: scale(1);
7523
+ transform: scale(1);
7524
+ opacity: 0.25;
7525
+ }
7526
+
7527
+ 50% {
7528
+ -webkit-transform: scale (1, 5);
7529
+ transform: scale (1, 5);
7530
+ opacity: 1;
7531
+ }
7532
+
7533
+ 100% {
7534
+ -webkit-transform: scale(1);
7535
+ transform: scale(1);
7536
+ opacity: 0.25;
7537
+ }
7538
+ }
7539
+
7540
+ .blinking {
7541
+ -webkit-animation: up-right 1s infinite;
7542
+ animation: up-right 1s infinite;
7543
+ }
7544
+
7484
7545
  .card-animation-wrapper {
7485
7546
  position: relative;
7486
7547
  }
@@ -8589,6 +8650,10 @@ select{
8589
8650
  margin-right: 0px;
8590
8651
  }
8591
8652
 
8653
+ .last\:justify-start:last-child{
8654
+ justify-content: flex-start;
8655
+ }
8656
+
8592
8657
  .last\:rounded-r-full:last-child{
8593
8658
  border-top-right-radius: 9999px;
8594
8659
  border-bottom-right-radius: 9999px;
@@ -9731,6 +9796,12 @@ select{
9731
9796
  }
9732
9797
  }
9733
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
+
9734
9805
  @media (max-width: 369px){
9735
9806
  .max-\[369px\]\:mt-8{
9736
9807
  margin-top: 2rem;
@@ -9832,6 +9903,10 @@ select{
9832
9903
  .mb-m\:pt-0{
9833
9904
  padding-top: 0px;
9834
9905
  }
9906
+
9907
+ .mb-m\:last\:justify-start:last-child{
9908
+ justify-content: flex-start;
9909
+ }
9835
9910
  }
9836
9911
 
9837
9912
  @media (min-width: 600px){
@@ -11456,4 +11531,4 @@ select{
11456
11531
  .\[\&\>ul\]\:ps-4>ul{
11457
11532
  -webkit-padding-start: 1rem;
11458
11533
  padding-inline-start: 1rem;
11459
- }
11534
+ }
@@ -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',