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
@@ -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',
|