hds-web 1.22.9 → 1.23.1

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.9",
3
+ "version": "1.23.1",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -11,6 +11,8 @@ export default function StoryCard(props) {
11
11
  <>
12
12
  <a
13
13
  href={props.linkUrl}
14
+ target={props.isExternalLink ? '_blank' : ""}
15
+ rel={props.isExternalLink ? 'noopener noreferrer' : ""}
14
16
  className={`rounded-2xl hover:shadow-xl p-8 h-full flex flex-col justify-between group/sc border border-neutral-200 hover:border-opacity-0 min-h-[260px] group`}
15
17
  >
16
18
  <>
@@ -85,11 +87,12 @@ export default function StoryCard(props) {
85
87
 
86
88
  StoryCard.defaultProps = {
87
89
  descTextColor: 'text-neutral-700',
90
+ isExternalLink:'false',
88
91
  iconTag: 'Customer Stories',
89
92
  titleTextColor: '',
90
93
  brandImageUrl: 'https://res.cloudinary.com/dh8fp23nd/image/upload/v1690909443/hasura-design-system/swiggy_m2hjxy.png',
91
94
  brandImageAlt: 'pipe',
92
- linkUrl: '#',
95
+ linkUrl: '?path=/story/hasura-design-system--hasura-design-system&globals=backgrounds.value:!hex(3b5998)',
93
96
  iconVariant: 'videorecorder',
94
97
  iconStrokeColor: 'blue-500',
95
98
  iconArrowVariant: 'home03',
@@ -8,7 +8,7 @@ export default function StoryCardXL(props) {
8
8
  <>
9
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 tb-l:max-w-7xl min-h-[518px]">
10
10
 
11
- <div className="flex flex-col tb-l:pl-20 tb-l:pt-20 tb-l:pb-14">
11
+ <div className="flex flex-col tb-l:pl-20 tb-l:pt-14 tb-l:pb-14">
12
12
  {
13
13
  props.tagline && (
14
14
  <Typography textStyle='h6' className='text-blue-400 tb-l:block uppercase mb-2 hidden '>{props.tagline}</Typography>
@@ -24,7 +24,7 @@ export default function StoryCardXL(props) {
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 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
  (
@@ -51,7 +51,7 @@ export default function StoryCardXL(props) {
51
51
  </div>
52
52
  )}
53
53
  {props.CTA &&
54
- <div className="mt-16 tb:mt-10 tb:flex">
54
+ <div className="mt-10 tb:flex">
55
55
  <a href={props.CTA['url']}>
56
56
  <HDSButton
57
57
  label={props.CTA['text']}
@@ -66,7 +66,7 @@ export default function StoryCardXL(props) {
66
66
  props.heroImageAlt) ?
67
67
  (
68
68
  <>
69
- <div className="flex justify-center tb:justify-start tb-l:justify-end tb-l:pt-20 tb:max-w-[600px]">
69
+ <div className="flex justify-center tb:justify-start tb-l:justify-end tb-l:pt-14 tb:max-w-[600px]">
70
70
  <img
71
71
  src={props.heroImageURL}
72
72
  alt={props.heroImageAlt}
@@ -129,16 +129,15 @@ StoryCardXL.defaultProps = {
129
129
  heroList: [
130
130
  {
131
131
  iconVariant: 'calendar',
132
- title: '100 days from concept to production, 100 days from concept to production'
132
+ title: '100 days from concept to production'
133
133
  },
134
134
  {
135
135
  iconVariant: 'database03',
136
- title: 'Vastly improved access to relevant data, 100 days from concept to production'
136
+ title: 'Vastly improved access to relevant data'
137
137
  },
138
138
  {
139
139
  iconVariant: 'settings01',
140
- title: 'Simpler data and API management, 100 days from concept to production'
141
- }
140
+ title: 'Simpler data and API management'}
142
141
  ]
143
142
  // video_url: 'https://res.cloudinary.com/dh8fp23nd/video/upload/v1654760488/samples/sea-turtle.mp4'
144
143
  }
@@ -1708,6 +1708,10 @@ select{
1708
1708
  height: 100vh;
1709
1709
  }
1710
1710
 
1711
+ .h-\[800px\]{
1712
+ height: 800px;
1713
+ }
1714
+
1711
1715
  .max-h-\[181px\]{
1712
1716
  max-height: 181px;
1713
1717
  }
@@ -1804,6 +1808,10 @@ select{
1804
1808
  min-height: 855px;
1805
1809
  }
1806
1810
 
1811
+ .min-h-\[200px\]{
1812
+ min-height: 200px;
1813
+ }
1814
+
1807
1815
  .\!w-full{
1808
1816
  width: 100% !important;
1809
1817
  }
@@ -6675,6 +6683,10 @@ select{
6675
6683
  padding-top: 81px;
6676
6684
  }
6677
6685
 
6686
+ .pt-1{
6687
+ padding-top: 0.25rem;
6688
+ }
6689
+
6678
6690
  .text-left{
6679
6691
  text-align: left;
6680
6692
  }
@@ -11994,6 +12006,10 @@ select{
11994
12006
  padding-top: 5rem;
11995
12007
  }
11996
12008
 
12009
+ .tb-l\:pt-14{
12010
+ padding-top: 3.5rem;
12011
+ }
12012
+
11997
12013
  .tb-l\:text-left{
11998
12014
  text-align: left;
11999
12015
  }