hds-web 1.11.5 → 1.11.7

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.5",
3
+ "version": "1.11.7",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -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
 
@@ -189,6 +191,7 @@ export default function IconCard(props) {
189
191
  {props.button &&
190
192
  <div className="flex gap-2">
191
193
  {props.button.map((btn, index) => (
194
+ <div className="flex">
192
195
  <HDSButton
193
196
  label={btn.cta_text}
194
197
  type={btn.cta_type || 'secondary'}
@@ -202,7 +205,9 @@ export default function IconCard(props) {
202
205
  btnTextHoverClass={btn.btnTextColorClass}
203
206
  animatedHoverStroke={btn.animatedHoverStroke}
204
207
  btnTextColorClass={btn.btnTextColorClass}
205
- />))
208
+ />
209
+ </div>
210
+ ))
206
211
  }
207
212
  </div>
208
213
  }
@@ -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'}