hds-web 1.21.5 → 1.21.6

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.6",
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'>{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-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>
96
+ <img src={props.brandImageURL} alt={props.brandImageAlt} className="pb-6 " />
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,7 +160,7 @@ 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='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-4'>
164
164
  {components.map((component, index) => (
165
165
  <React.Fragment key={index}>
166
166
  <div className='tb-l:min-w-[700px] tb:min-w-[500px] mb-s:min-w-[350px]'>
@@ -1692,6 +1692,10 @@ select{
1692
1692
  height: 100vh;
1693
1693
  }
1694
1694
 
1695
+ .h-auto{
1696
+ height: auto;
1697
+ }
1698
+
1695
1699
  .max-h-\[181px\]{
1696
1700
  max-height: 181px;
1697
1701
  }
@@ -1720,6 +1724,18 @@ select{
1720
1724
  max-height: 100vh;
1721
1725
  }
1722
1726
 
1727
+ .max-h-\[64px\]{
1728
+ max-height: 64px;
1729
+ }
1730
+
1731
+ .max-h-\[28px\]{
1732
+ max-height: 28px;
1733
+ }
1734
+
1735
+ .max-h-\[40px\]{
1736
+ max-height: 40px;
1737
+ }
1738
+
1723
1739
  .min-h-\[12px\]{
1724
1740
  min-height: 12px;
1725
1741
  }
@@ -2130,6 +2146,14 @@ select{
2130
2146
  max-width: min-content;
2131
2147
  }
2132
2148
 
2149
+ .max-w-\[547px\]{
2150
+ max-width: 547px;
2151
+ }
2152
+
2153
+ .max-w-\[240px\]{
2154
+ max-width: 240px;
2155
+ }
2156
+
2133
2157
  .flex-1{
2134
2158
  flex: 1 1 0%;
2135
2159
  }
@@ -2302,6 +2326,10 @@ select{
2302
2326
  user-select: none;
2303
2327
  }
2304
2328
 
2329
+ .resize{
2330
+ resize: both;
2331
+ }
2332
+
2305
2333
  .snap-x{
2306
2334
  scroll-snap-type: x var(--tw-scroll-snap-strictness);
2307
2335
  }
@@ -6599,6 +6627,10 @@ select{
6599
6627
  padding-top: 81px;
6600
6628
  }
6601
6629
 
6630
+ .pb-5{
6631
+ padding-bottom: 1.25rem;
6632
+ }
6633
+
6602
6634
  .text-left{
6603
6635
  text-align: left;
6604
6636
  }
@@ -7633,6 +7665,10 @@ select{
7633
7665
  transition-duration: 1500ms;
7634
7666
  }
7635
7667
 
7668
+ .duration-\[350ms\]{
7669
+ transition-duration: 350ms;
7670
+ }
7671
+
7636
7672
  .ease-in{
7637
7673
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
7638
7674
  }
@@ -10612,6 +10648,10 @@ select{
10612
10648
  height: 100%;
10613
10649
  }
10614
10650
 
10651
+ .tb\:h-8{
10652
+ height: 2rem;
10653
+ }
10654
+
10615
10655
  .tb\:max-h-\[181px\]{
10616
10656
  max-height: 181px;
10617
10657
  }
@@ -10646,6 +10686,10 @@ select{
10646
10686
  width: 100%;
10647
10687
  }
10648
10688
 
10689
+ .tb\:w-8{
10690
+ width: 2rem;
10691
+ }
10692
+
10649
10693
  .tb\:min-w-\[150px\]{
10650
10694
  min-width: 150px;
10651
10695
  }
@@ -11441,6 +11485,10 @@ select{
11441
11485
  gap: 4rem;
11442
11486
  }
11443
11487
 
11488
+ .tb-m\:gap-4{
11489
+ gap: 1rem;
11490
+ }
11491
+
11444
11492
  .tb-m\:self-start{
11445
11493
  align-self: flex-start;
11446
11494
  }
@@ -11506,6 +11554,10 @@ select{
11506
11554
  display: flex;
11507
11555
  }
11508
11556
 
11557
+ .tb-l\:grid{
11558
+ display: grid;
11559
+ }
11560
+
11509
11561
  .tb-l\:hidden{
11510
11562
  display: none;
11511
11563
  }
@@ -11552,6 +11604,10 @@ select{
11552
11604
  min-width: 700px;
11553
11605
  }
11554
11606
 
11607
+ .tb-l\:min-w-\[550px\]{
11608
+ min-width: 550px;
11609
+ }
11610
+
11555
11611
  .tb-l\:max-w-\[1240px\]{
11556
11612
  max-width: 1240px;
11557
11613
  }
@@ -11564,6 +11620,18 @@ select{
11564
11620
  max-width: 658px;
11565
11621
  }
11566
11622
 
11623
+ .tb-l\:max-w-\[522px\]{
11624
+ max-width: 522px;
11625
+ }
11626
+
11627
+ .tb-l\:max-w-\[547px\]{
11628
+ max-width: 547px;
11629
+ }
11630
+
11631
+ .tb-l\:max-w-\[600px\]{
11632
+ max-width: 600px;
11633
+ }
11634
+
11567
11635
  .tb-l\:grid-cols-2{
11568
11636
  grid-template-columns: repeat(2, minmax(0, 1fr));
11569
11637
  }
@@ -11584,6 +11652,10 @@ select{
11584
11652
  justify-content: flex-start;
11585
11653
  }
11586
11654
 
11655
+ .tb-l\:justify-end{
11656
+ justify-content: flex-end;
11657
+ }
11658
+
11587
11659
  .tb-l\:justify-center{
11588
11660
  justify-content: center;
11589
11661
  }
@@ -11608,6 +11680,14 @@ select{
11608
11680
  gap: 9rem;
11609
11681
  }
11610
11682
 
11683
+ .tb-l\:gap-32{
11684
+ gap: 8rem;
11685
+ }
11686
+
11687
+ .tb-l\:gap-10{
11688
+ gap: 2.5rem;
11689
+ }
11690
+
11611
11691
  .tb-l\:space-x-6 > :not([hidden]) ~ :not([hidden]){
11612
11692
  --tw-space-x-reverse: 0;
11613
11693
  margin-right: calc(1.5rem * var(--tw-space-x-reverse));
@@ -11624,6 +11704,10 @@ select{
11624
11704
  align-self: center;
11625
11705
  }
11626
11706
 
11707
+ .tb-l\:rounded-none{
11708
+ border-radius: 0px;
11709
+ }
11710
+
11627
11711
  .tb-l\:rounded-b-3xl{
11628
11712
  border-bottom-right-radius: 1.5rem;
11629
11713
  border-bottom-left-radius: 1.5rem;
@@ -11639,6 +11723,14 @@ select{
11639
11723
  border-end-start-radius: 0px;
11640
11724
  }
11641
11725
 
11726
+ .tb-l\:rounded-br-3xl{
11727
+ border-bottom-right-radius: 1.5rem;
11728
+ }
11729
+
11730
+ .tb-l\:rounded-tl-3xl{
11731
+ border-top-left-radius: 1.5rem;
11732
+ }
11733
+
11642
11734
  .tb-l\:border-0{
11643
11735
  border-width: 0px;
11644
11736
  }
@@ -11679,6 +11771,16 @@ select{
11679
11771
  padding-bottom: 3rem;
11680
11772
  }
11681
11773
 
11774
+ .tb-l\:px-0{
11775
+ padding-left: 0px;
11776
+ padding-right: 0px;
11777
+ }
11778
+
11779
+ .tb-l\:py-0{
11780
+ padding-top: 0px;
11781
+ padding-bottom: 0px;
11782
+ }
11783
+
11682
11784
  .tb-l\:pb-0{
11683
11785
  padding-bottom: 0px;
11684
11786
  }
@@ -11699,6 +11801,18 @@ select{
11699
11801
  padding-top: 0px;
11700
11802
  }
11701
11803
 
11804
+ .tb-l\:pb-14{
11805
+ padding-bottom: 3.5rem;
11806
+ }
11807
+
11808
+ .tb-l\:pl-20{
11809
+ padding-left: 5rem;
11810
+ }
11811
+
11812
+ .tb-l\:pt-20{
11813
+ padding-top: 5rem;
11814
+ }
11815
+
11702
11816
  .tb-l\:text-left{
11703
11817
  text-align: left;
11704
11818
  }
@@ -11802,6 +11916,14 @@ select{
11802
11916
  max-width: 540px;
11803
11917
  }
11804
11918
 
11919
+ .db-s\:max-w-\[547px\]{
11920
+ max-width: 547px;
11921
+ }
11922
+
11923
+ .db-s\:max-w-\[717px\]{
11924
+ max-width: 717px;
11925
+ }
11926
+
11805
11927
  .db-s\:flex-row{
11806
11928
  flex-direction: row;
11807
11929
  }
@@ -11877,6 +11999,10 @@ select{
11877
11999
  padding-top: 5rem;
11878
12000
  }
11879
12001
 
12002
+ .db-s\:pb-14{
12003
+ padding-bottom: 3.5rem;
12004
+ }
12005
+
11880
12006
  .db-s\:shadow-lg{
11881
12007
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
11882
12008
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
@@ -12019,6 +12145,10 @@ select{
12019
12145
  gap: 132px;
12020
12146
  }
12021
12147
 
12148
+ .db\:gap-32{
12149
+ gap: 8rem;
12150
+ }
12151
+
12022
12152
  .db\:gap-x-10{
12023
12153
  -webkit-column-gap: 2.5rem;
12024
12154
  column-gap: 2.5rem;