hds-web 1.22.9 → 1.23.0

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.0",
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',
@@ -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
  }