hds-web 1.22.4 → 1.22.5

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.22.4",
3
+ "version": "1.22.5",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -16,15 +16,15 @@ export default function StoryCardXL(props) {
16
16
  }
17
17
  {props.brandImageURL &&
18
18
  props.brandImageAlt && (
19
- <div className="flex justify-start">
20
- <img src={props.brandImageURL} alt={props.brandImageAlt} className=" tb-l:flex hidden " />
19
+ <div className="tb-l:flex hidden justify-start">
20
+ <img src={props.brandImageURL} alt={props.brandImageAlt} className=" " />
21
21
  </div>
22
22
  )
23
23
 
24
24
  }
25
25
  {props.title &&
26
26
  (
27
- <div className="flex pt-6 flex-col gap-6 tb-l:max-w-[547px] ">
27
+ <div className="flex pt-3 flex-col gap-6 tb-l:max-w-[547px] ">
28
28
  <Typography textStyle='h3' className='text-neutral-1000 tb-l:block hidden min-h-[144px] overflow-clip'>{props.title}</Typography>
29
29
  {props.heroList &&
30
30
  (
@@ -33,7 +33,10 @@ 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='tb:h-8 tb:w-8 h-6 w-6' variant={value.iconVariant} strokeClass='stroke-neutral-800' />
36
+ height='tb:h-8 tb:w-8 h-6 w-6'
37
+ variant={value.iconVariant}
38
+ strokeClass={value.strokeClass ?? 'stroke-neutral-800'}
39
+ />
37
40
  <Typography
38
41
  textStyle='sub2' className='text-neutral-700' >
39
42
  {value.title}
@@ -92,8 +95,8 @@ export default function StoryCardXL(props) {
92
95
  <div className="tb-l:hidden pb-6">
93
96
  {props.brandImageURL &&
94
97
  props.brandImageAlt && (
95
- <div className="pb-4 ">
96
- <img src={props.brandImageURL} alt={props.brandImageAlt} className="max-h-[28px]" />
98
+ <div className="pb-1 ">
99
+ <img src={props.brandImageURL} alt={props.brandImageAlt} className="max-h-[64px]" />
97
100
  </div>
98
101
  )
99
102
  }
@@ -116,7 +119,7 @@ StoryCardXL.defaultProps = {
116
119
  heroIconVariant: 'calendar',
117
120
  heroIconStrokeClass: 'stroke-neutral-1000',
118
121
  heroListTitle: '100 days from concept to production',
119
- brandImageURL: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1690982687/website%20v3/customers/ushor_zewv16.png',
122
+ brandImageURL: 'https://res.cloudinary.com/hasura-cms-uploads/image/upload/v1690982762/pulley_pcj45e_8fd10af212.png',
120
123
  brandImageAlt: 'optum',
121
124
  title: 'Healthcare giant Optum goes from concept to production in 100 days with Hasura',
122
125
  description: 'description1',
@@ -2401,6 +2401,9 @@ export default function Icon ({ variant, height, strokeColor, strokeClass, class
2401
2401
  if (variant === 'meetup') {
2402
2402
  IconStrokeCLass = 'fill-neutral-500 group-hover/icon:fill-pink-meetup'
2403
2403
  }
2404
+ if (variant === 'graphQL') {
2405
+ IconStrokeCLass = ''
2406
+ }
2404
2407
  return (
2405
2408
  <div style={{ stroke: `${strokeColor}` }}>
2406
2409
  <CurrentActiveIcon