hds-web 1.22.8 → 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.8",
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',
@@ -565,18 +565,18 @@ V3Header.defaultProps = {
565
565
  description: '',
566
566
  href: '/graphql/database',
567
567
  icon: 'database01',
568
- name: 'All DBs',
568
+ name: 'All databases',
569
569
  strokeClass: 'stroke-neutral-500'
570
570
  },
571
571
  {
572
572
  description: '',
573
573
  href: '/graphql/database?category=planned',
574
574
  icon: 'checksquare',
575
- name: 'Planned DBs',
575
+ name: 'Planned databases',
576
576
  strokeClass: 'stroke-neutral-500'
577
577
  },
578
578
  ],
579
- label: 'Integrations'
579
+ label: 'Data sources'
580
580
  }
581
581
  ]
582
582
  },
@@ -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
  }