hds-web 1.21.5 → 1.21.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.21.5",
3
+ "version": "1.21.7",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -15,39 +15,30 @@ export default function StoryCard(props) {
15
15
  >
16
16
 
17
17
  <>
18
- <div className='flex items-center justify-between'>
18
+ <div className='flex items-center justify-between pb-5'>
19
19
  {props.brandImageUrl && props.brandImageAlt && (
20
- <div className="max-w-[190px]">
21
- <img src={props.brandImageUrl} alt={props.brandImageAlt} className='max-w-[100px]' />
20
+ <div className="max-h-[64px]">
21
+ <img src={props.brandImageUrl} alt={props.brandImageAlt} className='max-h-[64px]' />
22
22
  </div>
23
23
  )
24
24
 
25
25
  }
26
26
  {props.iconVariant &&
27
27
  (
28
- <div className="flex flex-row relative ">
29
- <div className="group-hover/sc:opacity-0 left-0 absolute">
30
- {/* <Icon
31
- height={'w-6 h-6 stroke-[1.5px] stroke-blue-400'}
32
- variant={props.iconArrowVariant}
33
- strokeColor={props.iconArrowStrokeColor}
34
- strokeClass={HDSColor(props.iconArrowStrokeClass)}
35
- /> */}
36
- </div>
37
- {props.iconTag &&
38
- (
39
- <div className=" gap-2 transition-all duration-300 group-hover/sc:opacity-100 inline-flex flex-row translate-x-0 group-hover/sc:-translate-x-5">
40
- <Icon
41
- height={'w-6 h-6 stroke-[1.5px] stroke-blue-400'}
42
- variant={props.iconArrowVariant}
43
- strokeColor={props.iconArrowStrokeColor}
44
- strokeClass={HDSColor(props.iconArrowStrokeClass)}
45
- />
46
- <div
47
- className=" opacity-0 group-hover/sc:opacity-100 transition-opacity duration-300 ">
48
- <Typography textStyle='body3c' className='hidden group-hover/sc:block'>{props.iconTag}</Typography>
28
+ <div className="hidden tb:flex flex-row relative ">
29
+ {props.iconTag
30
+ && (
31
+ <div className="gap-2 items-center transition-all duration-[350ms] group-hover/sc:opacity-100 inline-flex flex-row translate-x-0 group-hover/sc:-translate-x-5">
32
+ <Icon
33
+ height={'w-6 h-6 stroke-[1.5px]'}
34
+ variant={props.iconArrowVariant ?? ''}
35
+ strokeClass='stroke-neutral-400'
36
+ />
37
+ <div
38
+ className=" opacity-0 group-hover/sc:opacity-100 transition-opacity duration-[350ms] ">
39
+ <Typography textStyle='body3-medium' className='hidden text-neutral-400 group-hover/sc:block'>{props.iconTag}</Typography>
40
+ </div>
49
41
  </div>
50
- </div>
51
42
  )
52
43
  }
53
44
  </div>
@@ -60,7 +51,7 @@ export default function StoryCard(props) {
60
51
  <div>
61
52
  <div className="translate-y-10 group-hover/sc:translate-y-0 duration-300 transition-all">
62
53
  <Typography
63
- textStyle="body3"
54
+ textStyle="body1c"
64
55
  className={`${HDSColor(props.descTextColor)} mt-2`}>
65
56
  {props.description}
66
57
  </Typography>
@@ -95,7 +86,7 @@ export default function StoryCard(props) {
95
86
  }
96
87
 
97
88
  StoryCard.defaultProps = {
98
- descTextColor: '',
89
+ descTextColor: 'text-neutral-700',
99
90
  iconTag: 'Customer Stories',
100
91
  titleTextColor: '',
101
92
  brandImageUrl: 'https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1687778913/image_16_a725262c4e.png',
@@ -103,10 +94,10 @@ StoryCard.defaultProps = {
103
94
  linkUrl: '#',
104
95
  iconVariant: 'videorecorder',
105
96
  iconStrokeColor: 'blue-500',
106
- iconArrowVariant: 'arrownarrowupright',
97
+ iconArrowVariant: 'home03',
107
98
  iconArrowStrokeColor: 'blue-400',
108
99
  title: 'Webinar',
109
- description: 'Model Level Authorization System for GraphQL with Hasura Model Level Authorization System for GraphQL with Hasura Model Level Authorization System for GraphQL with Hasura',
100
+ description: 'Model Level Authorization System for GraphQL with Hasura Model Level Authorization System for ',
110
101
  readMoreBtn: {
111
102
  cta_text: 'Read More'
112
103
  }
@@ -6,26 +6,26 @@ import { Icon } from "../../common-components";
6
6
  export default function StoryCardXL(props) {
7
7
  return (
8
8
  <>
9
- <div className="flex flex-col-reverse px-6 py-10 db-s:px-0 db-s:py-0 db-s:flex-row db:gap-2 max-w-7xl">
9
+ <div className="flex flex-col-reverse px-6 py-10 tb-l:px-0 tb-l:py-0 tb-l:flex-row tb-l:gap-10 db:gap-32 max-w-7xl">
10
10
 
11
- <div className="flex flex-col db-s:pl-20 db-s:pt-20 db-s:pb-[74px]">
11
+ <div className="flex flex-col tb-l:pl-20 tb-l:pt-20 tb-l:pb-14">
12
12
  {
13
13
  props.tagline && (
14
- <Typography textStyle='h6' className='text-blue-400 db-s:block uppercase mb-2 hidden '>{props.tagline}</Typography>
14
+ <Typography textStyle='h6' className='text-blue-400 tb-l:block uppercase mb-2 hidden '>{props.tagline}</Typography>
15
15
  )
16
16
  }
17
17
  {props.brandImageURL &&
18
18
  props.brandImageAlt && (
19
- <>
20
- <img src={props.brandImageURL} alt={props.brandImageAlt} className="max-w-[140px] db-s:block hidden " />
21
- </>
19
+ <div className="flex justify-start max-h-[40px]">
20
+ <img src={props.brandImageURL} alt={props.brandImageAlt} className=" tb-l:flex hidden " />
21
+ </div>
22
22
  )
23
23
 
24
24
  }
25
25
  {props.title &&
26
26
  (
27
- <div className="flex pt-6 flex-col gap-6">
28
- <Typography textStyle='h3' className='text-neutral-1000 db-s:block hidden'>{props.title}</Typography>
27
+ <div className="flex pt-6 flex-col gap-6 tb-l:max-w-[547px] ">
28
+ <Typography textStyle='h3' className='text-neutral-1000 tb-l:block hidden max-h-[144px] overflow-clip'>{props.title}</Typography>
29
29
  {props.heroList &&
30
30
  (
31
31
  <div>
@@ -33,18 +33,14 @@ export default function StoryCardXL(props) {
33
33
  {props.heroList.map((value, index) => (
34
34
  <div key={index} className='flex gap-5'>
35
35
  <Icon
36
- height='h-8 w-8 stroke-2' variant={value.heroIconVariant} strokeClass='stroke-neutral-800' />
36
+ height='tb:h-8 tb:w-8 h-6 w-6' variant={value.heroIconVariant} strokeClass='stroke-neutral-800' />
37
37
  <Typography
38
38
  textStyle='sub2' className='text-neutral-700' >
39
39
  {value.heroListTitle}
40
40
  </Typography>
41
41
  </div>
42
-
43
42
  ))
44
-
45
-
46
43
  }
47
-
48
44
  </div>
49
45
  </div>
50
46
  )
@@ -66,41 +62,46 @@ export default function StoryCardXL(props) {
66
62
  {(props.heroImageURL &&
67
63
  props.heroImageAlt) ?
68
64
  (
69
- <div className="flex mt-4 tb:mt-0 justify-start db-s:justify-end db-s:pt-20 tb:max-w-[600px]">
70
- <img src={props.heroImageURL} alt={props.heroImageAlt} className="rounded-xl db-s:rounded-none db-s:rounded-br-3xl db-s:rounded-tl-3xl max-w-[280px] tb:max-w-[400px] db-s:max-w-[522px] " />
71
- </div>
65
+ <>
66
+ <div className="flex mt-4 tb:mt-0 justify-center tb:justify-start tb-l:justify-end tb-l:pt-20 tb:max-w-[600px]">
67
+ <img
68
+ src={props.heroImageURL}
69
+ alt={props.heroImageAlt}
70
+ className="rounded-xl tb-l:rounded-none tb-l:rounded-br-3xl tb-l:rounded-tl-3xl w-full h-auto object-cover db-s:max-w-[717px] tb-l:max-w-[600px] max-w-[240px]"
71
+ />
72
+ </div>
73
+ </>
72
74
  )
73
75
  :
74
76
  (
75
77
  <>
76
78
  {props.video_url && (
77
- <div className="flex mt-4 tb:mt-0 tb:items-end tb:max-w-[600px] db-s:min-w-[550px]">
79
+ <div className="flex mt-4 tb:mt-0 tb:items-end tb:max-w-[600px] tb-l:min-w-[550px]">
78
80
  <video
79
81
  autoPlay
80
82
  loop
81
83
  playsInline
82
84
  muted
83
85
  src={props.video_url}
84
- className=" rounded-xl db-s:rounded-none db-s:rounded-br-3xl db-s:rounded-tl-3xl"
86
+ className=" rounded-xl tb-l:rounded-none tb-l:rounded-br-3xl tb-l:rounded-tl-3xl"
85
87
  />
86
88
  </div>)}
87
89
  </>
88
90
  )}
89
91
 
90
- <div className="db-s:hidden pb-6">
92
+ <div className="tb-l:hidden pb-6">
91
93
  {props.brandImageURL &&
92
94
  props.brandImageAlt && (
93
- <>
94
- <img src={props.brandImageURL} alt={props.brandImageAlt} className="max-w-[140px] pb-6 " />
95
- </>
95
+ <div className="pb-4 ">
96
+ <img src={props.brandImageURL} alt={props.brandImageAlt} className="max-h-[28px]" />
97
+ </div>
96
98
  )
97
-
98
99
  }
99
100
  <Typography textStyle='h3' className='text-neutral-1000'>{props.title}</Typography>
100
101
  </div>
101
102
  {
102
103
  props.tagline && (
103
- <Typography textStyle='h6' className='text-blue-400 db-s:hidden uppercase'>{props.tagline}</Typography>
104
+ <Typography textStyle='h6' className='text-blue-400 tb-l:hidden uppercase'>{props.tagline}</Typography>
104
105
  )
105
106
  }
106
107
  </div>
@@ -110,7 +111,7 @@ export default function StoryCardXL(props) {
110
111
  }
111
112
 
112
113
  StoryCardXL.defaultProps = {
113
- heroImageURL: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1690373781/website%20v3/optum_geyxv3.png',
114
+ heroImageURL: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1690802853/website%20v3/optum_hiqty8.png',
114
115
  heroImageAlt: 'optum',
115
116
  heroIconVariant: 'calendar',
116
117
  heroIconStrokeClass: 'stroke-neutral-1000',
@@ -81,7 +81,7 @@ export default function Carousels ({ components, variants }) {
81
81
  onMouseLeave={handleMouseLeave}
82
82
  >
83
83
  <div
84
- className="hidden db-s:grid relative h-full"
84
+ className="hidden tb-l:grid relative h-full"
85
85
  >
86
86
  <motion.div className=" ">
87
87
  <AnimatePresence initial={false}>
@@ -127,7 +127,7 @@ export default function Carousels ({ components, variants }) {
127
127
  ))}
128
128
  </div> */}
129
129
  </div>
130
- <div className="hidden db-s:flex mt-10 ">
130
+ <div className="hidden tb-l:flex mt-10 ">
131
131
  <div className="gap-4 w-full h-full flex justify-center">
132
132
  <motion.button
133
133
  initial={{ opacity: 0, scale: 0 }}
@@ -160,10 +160,10 @@ export default function Carousels ({ components, variants }) {
160
160
  </motion.button>
161
161
  </div>
162
162
  </div>
163
- <div className='db-s:hidden flex flex-row overflow-scroll pb-10 pt-4 tb:pb-16 tb:pt-10 px-4 scrollbar-hide gap-2 mb-m:gap-4 tb-m:gap-10'>
163
+ <div className='tb-l:hidden flex overflow-x-scroll pb-10 pt-4 tb:pb-16 tb:pt-10 px-4 gap-2 mb-m:gap-4 tb-m:gap-4'>
164
164
  {components.map((component, index) => (
165
165
  <React.Fragment key={index}>
166
- <div className='tb-l:min-w-[700px] tb:min-w-[500px] mb-s:min-w-[350px]'>
166
+ <div className='tb-l:min-w-[700px] tb:min-w-[500px] mb-s:min-w-[350px] min-w-[300px]'>
167
167
  {component}
168
168
  </div>
169
169
  </React.Fragment>
@@ -1692,6 +1692,24 @@ select{
1692
1692
  height: 100vh;
1693
1693
  }
1694
1694
 
1695
+ .h-auto{
1696
+ height: auto;
1697
+ }
1698
+
1699
+ .h-\[518px\]{
1700
+ height: 518px;
1701
+ }
1702
+
1703
+ .h-\[200px\]{
1704
+ height: 200px;
1705
+ }
1706
+
1707
+ .h-fit{
1708
+ height: -webkit-fit-content;
1709
+ height: -moz-fit-content;
1710
+ height: fit-content;
1711
+ }
1712
+
1695
1713
  .max-h-\[181px\]{
1696
1714
  max-height: 181px;
1697
1715
  }
@@ -1720,6 +1738,30 @@ select{
1720
1738
  max-height: 100vh;
1721
1739
  }
1722
1740
 
1741
+ .max-h-\[64px\]{
1742
+ max-height: 64px;
1743
+ }
1744
+
1745
+ .max-h-\[28px\]{
1746
+ max-height: 28px;
1747
+ }
1748
+
1749
+ .max-h-\[40px\]{
1750
+ max-height: 40px;
1751
+ }
1752
+
1753
+ .max-h-\[518px\]{
1754
+ max-height: 518px;
1755
+ }
1756
+
1757
+ .max-h-\[144px\]{
1758
+ max-height: 144px;
1759
+ }
1760
+
1761
+ .max-h-\[200px\]{
1762
+ max-height: 200px;
1763
+ }
1764
+
1723
1765
  .min-h-\[12px\]{
1724
1766
  min-height: 12px;
1725
1767
  }
@@ -1752,6 +1794,10 @@ select{
1752
1794
  min-height: 64px;
1753
1795
  }
1754
1796
 
1797
+ .min-h-\[144px\]{
1798
+ min-height: 144px;
1799
+ }
1800
+
1755
1801
  .\!w-full{
1756
1802
  width: 100% !important;
1757
1803
  }
@@ -1984,6 +2030,18 @@ select{
1984
2030
  min-width: 100%;
1985
2031
  }
1986
2032
 
2033
+ .min-w-\[350px\]{
2034
+ min-width: 350px;
2035
+ }
2036
+
2037
+ .min-w-\[240px\]{
2038
+ min-width: 240px;
2039
+ }
2040
+
2041
+ .min-w-\[300px\]{
2042
+ min-width: 300px;
2043
+ }
2044
+
1987
2045
  .max-w-2xl{
1988
2046
  max-width: 42rem;
1989
2047
  }
@@ -2130,6 +2188,14 @@ select{
2130
2188
  max-width: min-content;
2131
2189
  }
2132
2190
 
2191
+ .max-w-\[547px\]{
2192
+ max-width: 547px;
2193
+ }
2194
+
2195
+ .max-w-\[240px\]{
2196
+ max-width: 240px;
2197
+ }
2198
+
2133
2199
  .flex-1{
2134
2200
  flex: 1 1 0%;
2135
2201
  }
@@ -2302,6 +2368,10 @@ select{
2302
2368
  user-select: none;
2303
2369
  }
2304
2370
 
2371
+ .resize{
2372
+ resize: both;
2373
+ }
2374
+
2305
2375
  .snap-x{
2306
2376
  scroll-snap-type: x var(--tw-scroll-snap-strictness);
2307
2377
  }
@@ -6599,6 +6669,10 @@ select{
6599
6669
  padding-top: 81px;
6600
6670
  }
6601
6671
 
6672
+ .pb-5{
6673
+ padding-bottom: 1.25rem;
6674
+ }
6675
+
6602
6676
  .text-left{
6603
6677
  text-align: left;
6604
6678
  }
@@ -7633,6 +7707,10 @@ select{
7633
7707
  transition-duration: 1500ms;
7634
7708
  }
7635
7709
 
7710
+ .duration-\[350ms\]{
7711
+ transition-duration: 350ms;
7712
+ }
7713
+
7636
7714
  .ease-in{
7637
7715
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
7638
7716
  }
@@ -10612,6 +10690,10 @@ select{
10612
10690
  height: 100%;
10613
10691
  }
10614
10692
 
10693
+ .tb\:h-8{
10694
+ height: 2rem;
10695
+ }
10696
+
10615
10697
  .tb\:max-h-\[181px\]{
10616
10698
  max-height: 181px;
10617
10699
  }
@@ -10620,6 +10702,10 @@ select{
10620
10702
  max-height: 25.25rem;
10621
10703
  }
10622
10704
 
10705
+ .tb\:max-h-\[144px\]{
10706
+ max-height: 144px;
10707
+ }
10708
+
10623
10709
  .tb\:min-h-\[245px\]{
10624
10710
  min-height: 245px;
10625
10711
  }
@@ -10646,6 +10732,10 @@ select{
10646
10732
  width: 100%;
10647
10733
  }
10648
10734
 
10735
+ .tb\:w-8{
10736
+ width: 2rem;
10737
+ }
10738
+
10649
10739
  .tb\:min-w-\[150px\]{
10650
10740
  min-width: 150px;
10651
10741
  }
@@ -11441,6 +11531,10 @@ select{
11441
11531
  gap: 4rem;
11442
11532
  }
11443
11533
 
11534
+ .tb-m\:gap-4{
11535
+ gap: 1rem;
11536
+ }
11537
+
11444
11538
  .tb-m\:self-start{
11445
11539
  align-self: flex-start;
11446
11540
  }
@@ -11506,6 +11600,10 @@ select{
11506
11600
  display: flex;
11507
11601
  }
11508
11602
 
11603
+ .tb-l\:grid{
11604
+ display: grid;
11605
+ }
11606
+
11509
11607
  .tb-l\:hidden{
11510
11608
  display: none;
11511
11609
  }
@@ -11552,6 +11650,10 @@ select{
11552
11650
  min-width: 700px;
11553
11651
  }
11554
11652
 
11653
+ .tb-l\:min-w-\[550px\]{
11654
+ min-width: 550px;
11655
+ }
11656
+
11555
11657
  .tb-l\:max-w-\[1240px\]{
11556
11658
  max-width: 1240px;
11557
11659
  }
@@ -11564,6 +11666,18 @@ select{
11564
11666
  max-width: 658px;
11565
11667
  }
11566
11668
 
11669
+ .tb-l\:max-w-\[522px\]{
11670
+ max-width: 522px;
11671
+ }
11672
+
11673
+ .tb-l\:max-w-\[547px\]{
11674
+ max-width: 547px;
11675
+ }
11676
+
11677
+ .tb-l\:max-w-\[600px\]{
11678
+ max-width: 600px;
11679
+ }
11680
+
11567
11681
  .tb-l\:grid-cols-2{
11568
11682
  grid-template-columns: repeat(2, minmax(0, 1fr));
11569
11683
  }
@@ -11584,6 +11698,10 @@ select{
11584
11698
  justify-content: flex-start;
11585
11699
  }
11586
11700
 
11701
+ .tb-l\:justify-end{
11702
+ justify-content: flex-end;
11703
+ }
11704
+
11587
11705
  .tb-l\:justify-center{
11588
11706
  justify-content: center;
11589
11707
  }
@@ -11608,6 +11726,14 @@ select{
11608
11726
  gap: 9rem;
11609
11727
  }
11610
11728
 
11729
+ .tb-l\:gap-32{
11730
+ gap: 8rem;
11731
+ }
11732
+
11733
+ .tb-l\:gap-10{
11734
+ gap: 2.5rem;
11735
+ }
11736
+
11611
11737
  .tb-l\:space-x-6 > :not([hidden]) ~ :not([hidden]){
11612
11738
  --tw-space-x-reverse: 0;
11613
11739
  margin-right: calc(1.5rem * var(--tw-space-x-reverse));
@@ -11624,6 +11750,10 @@ select{
11624
11750
  align-self: center;
11625
11751
  }
11626
11752
 
11753
+ .tb-l\:rounded-none{
11754
+ border-radius: 0px;
11755
+ }
11756
+
11627
11757
  .tb-l\:rounded-b-3xl{
11628
11758
  border-bottom-right-radius: 1.5rem;
11629
11759
  border-bottom-left-radius: 1.5rem;
@@ -11639,6 +11769,14 @@ select{
11639
11769
  border-end-start-radius: 0px;
11640
11770
  }
11641
11771
 
11772
+ .tb-l\:rounded-br-3xl{
11773
+ border-bottom-right-radius: 1.5rem;
11774
+ }
11775
+
11776
+ .tb-l\:rounded-tl-3xl{
11777
+ border-top-left-radius: 1.5rem;
11778
+ }
11779
+
11642
11780
  .tb-l\:border-0{
11643
11781
  border-width: 0px;
11644
11782
  }
@@ -11679,6 +11817,16 @@ select{
11679
11817
  padding-bottom: 3rem;
11680
11818
  }
11681
11819
 
11820
+ .tb-l\:px-0{
11821
+ padding-left: 0px;
11822
+ padding-right: 0px;
11823
+ }
11824
+
11825
+ .tb-l\:py-0{
11826
+ padding-top: 0px;
11827
+ padding-bottom: 0px;
11828
+ }
11829
+
11682
11830
  .tb-l\:pb-0{
11683
11831
  padding-bottom: 0px;
11684
11832
  }
@@ -11699,6 +11847,18 @@ select{
11699
11847
  padding-top: 0px;
11700
11848
  }
11701
11849
 
11850
+ .tb-l\:pb-14{
11851
+ padding-bottom: 3.5rem;
11852
+ }
11853
+
11854
+ .tb-l\:pl-20{
11855
+ padding-left: 5rem;
11856
+ }
11857
+
11858
+ .tb-l\:pt-20{
11859
+ padding-top: 5rem;
11860
+ }
11861
+
11702
11862
  .tb-l\:text-left{
11703
11863
  text-align: left;
11704
11864
  }
@@ -11802,6 +11962,14 @@ select{
11802
11962
  max-width: 540px;
11803
11963
  }
11804
11964
 
11965
+ .db-s\:max-w-\[547px\]{
11966
+ max-width: 547px;
11967
+ }
11968
+
11969
+ .db-s\:max-w-\[717px\]{
11970
+ max-width: 717px;
11971
+ }
11972
+
11805
11973
  .db-s\:flex-row{
11806
11974
  flex-direction: row;
11807
11975
  }
@@ -11877,6 +12045,10 @@ select{
11877
12045
  padding-top: 5rem;
11878
12046
  }
11879
12047
 
12048
+ .db-s\:pb-14{
12049
+ padding-bottom: 3.5rem;
12050
+ }
12051
+
11880
12052
  .db-s\:shadow-lg{
11881
12053
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
11882
12054
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
@@ -12019,6 +12191,10 @@ select{
12019
12191
  gap: 132px;
12020
12192
  }
12021
12193
 
12194
+ .db\:gap-32{
12195
+ gap: 8rem;
12196
+ }
12197
+
12022
12198
  .db\:gap-x-10{
12023
12199
  -webkit-column-gap: 2.5rem;
12024
12200
  column-gap: 2.5rem;