hds-web 1.11.4 → 1.11.6

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.11.4",
3
+ "version": "1.11.6",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -8,7 +8,7 @@ const imgSizes = {
8
8
  'sm': 'h-10 w-10',
9
9
  'md': 'h-12 w-12 min-w-[48px]',
10
10
  'lg': 'h-[60px] w-[60px]',
11
- 'xl': 'h-16 w-16',
11
+ 'xl': 'h-16 w-16 min-w-[64px] min-h-[64px]',
12
12
  }
13
13
  const AvatarVariant = {
14
14
  'circular': 'shadow rounded-full ',
@@ -22,7 +22,7 @@ export default function FeedbackCard(props) {
22
22
  avatarType="secondary"
23
23
  />
24
24
  <div className={((props.dividerClass) ? "py-8" : "py-6")}>
25
- <Typography textStyle='sub1' className='text-neutral-1000'>{props.description}</Typography>
25
+ <Typography textStyle='sub2' className='text-neutral-1000'>{props.description}</Typography>
26
26
  </div>
27
27
  </div>
28
28
  <div className=" self-end">
@@ -77,6 +77,7 @@ export default function IconCard(props) {
77
77
  </Typography>
78
78
  {props.readMoreBtn && (
79
79
  <a href={props.readMoreBtn.cta_link} className='flex'>
80
+ <div className="flex">
80
81
  <HDSButton
81
82
  label={props.readMoreBtn.cta_text}
82
83
  type='secondaryLink'
@@ -91,6 +92,7 @@ export default function IconCard(props) {
91
92
  btnTextHoverClass=''
92
93
  className=' mt-4'
93
94
  />
95
+ </div>
94
96
  </a>
95
97
  )
96
98
 
@@ -3,6 +3,7 @@ import { Typography } from '../../foundation/Typography'
3
3
  import { HDSButton } from '../../components/Buttons';
4
4
 
5
5
  export default function DataSourcesCard(props) {
6
+ console.log(props)
6
7
  return (
7
8
  <>
8
9
 
@@ -18,10 +19,10 @@ export default function DataSourcesCard(props) {
18
19
  && (<div className="flex flex-col gap-4">
19
20
  <Typography textStyle='h3' className='text-neutral-1000 db:block hidden'>{props.title}</Typography>
20
21
  <Typography textStyle='sub2' className='text-neutral-600 db:mt-0 mt-4 '>{props.description}</Typography>
21
- </div>)}
22
+ </div>)}https://pr-3736---main-site-nextjs-5kcgrtdh3a-wl.a.run.app
22
23
  {props.CTA &&
23
24
  <div className="mt-4 tb:mt-6 flex">
24
- <a href={props.CTA['link']}>
25
+ <a href={props.CTA['url']}>
25
26
  <HDSButton
26
27
  label={props.CTA['text']}
27
28
  type={props.CTA['type'] || 'secondary'}
@@ -1607,6 +1607,10 @@ select{
1607
1607
  min-height: 443px;
1608
1608
  }
1609
1609
 
1610
+ .min-h-\[64px\]{
1611
+ min-height: 64px;
1612
+ }
1613
+
1610
1614
  .w-1\/2{
1611
1615
  width: 50%;
1612
1616
  }
@@ -1805,6 +1809,10 @@ select{
1805
1809
  min-width: 48px;
1806
1810
  }
1807
1811
 
1812
+ .min-w-\[64px\]{
1813
+ min-width: 64px;
1814
+ }
1815
+
1808
1816
  .min-w-\[72px\]{
1809
1817
  min-width: 72px;
1810
1818
  }