hds-web 1.10.6 → 1.10.8
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/dist/index.css +1 -1
- package/dist/index.es.css +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/HDS/components/Cards/Announcement/announcementSm.js +1 -1
- package/src/HDS/components/Cards/Misc/imageBadgeCard.js +16 -14
- package/src/HDS/components/Cards/Misc/talkcard2.js +1 -0
- package/src/HDS/components/Cards/Testimonials/testimonial.js +4 -1
- package/src/HDS/components/Carousels/homeCarousel.js +2 -1
- package/src/HDS/modules/Cards/dataSourceCard.js +8 -8
- package/src/styles/tailwind.css +4 -0
package/package.json
CHANGED
@@ -10,7 +10,7 @@ export default function AnnouncementSM(props) {
|
|
10
10
|
const linkTextClass = props.linkTextColorClass ? HDSColor(props.linkTextColorClass) : 'text-neutral-600';
|
11
11
|
|
12
12
|
return (
|
13
|
-
<div className={`${bgClass} rounded-full shadow py-2 px-
|
13
|
+
<div className={`${bgClass} rounded-full shadow py-2 px-2 inline-flex items-center`}>
|
14
14
|
<div className={`${tagBgClass} hidden mb-m:block py-1 px-3 rounded-full mr-4`}>
|
15
15
|
<Typography textStyle="body2-medium" className={`${tagTextClass}`}>{props.tagText}</Typography>
|
16
16
|
</div>
|
@@ -6,22 +6,24 @@ export default function ImageBadgeCard(card) {
|
|
6
6
|
|
7
7
|
return (
|
8
8
|
<>
|
9
|
-
<div className={`${HDSColor(card.cardBg)}bg-neutral-0
|
10
|
-
<
|
11
|
-
<div className='tb:
|
12
|
-
<
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
<
|
9
|
+
<div className={`${HDSColor(card.cardBg)}bg-neutral-0 hover:shadow-lg hover:transition-all hover:ease-in-out hover:duration-300 hover:border-opacity-0 min-h-[443px] min-w-[312px] tb:max-w-[763px] tb:min-h-[245px] rounded-3xl tb:p-8 p-4`}>
|
10
|
+
<a href={card.sliderLink}>
|
11
|
+
<div className='flex flex-col-reverse tb:flex-row justify-between gap-4 items-center'>
|
12
|
+
<div className='tb:max-w-[393px] mt-8 tb:mt-0'>
|
13
|
+
<Badges
|
14
|
+
color={card.badge.color}
|
15
|
+
children={card.badge.label}
|
16
|
+
text_color='text-neutral-0'
|
17
|
+
/>
|
18
|
+
<Typography textStyle='h4' className='mt-2 text-neutral-1000 max-w-[326px]'>{card.title}</Typography>
|
19
|
+
<Typography textStyle='sub2' className='mt-2 text-neutral-600'>{card.subTitle}</Typography>
|
20
|
+
</div>
|
21
|
+
<div className="flex justify-center h-full items-center">
|
22
|
+
<img src={card.imageUrl} alt={card.title} className='tb:max-w-[290px] rounded-lg flex items-center justify-center tb:max-h-[181px]' />
|
22
23
|
|
24
|
+
</div>
|
23
25
|
</div>
|
24
|
-
</
|
26
|
+
</a>
|
25
27
|
</div>
|
26
28
|
</>
|
27
29
|
)
|
@@ -60,13 +60,16 @@ export default function Testimonial(props) {
|
|
60
60
|
|
61
61
|
</div>
|
62
62
|
<div className="flex pb-8 pl-6 pt-5">
|
63
|
+
<a href={cardHover?.slideCTA || ""}>
|
64
|
+
|
63
65
|
<HDSButton
|
64
66
|
className='flex'
|
65
67
|
label={cardHover.button['cta_text']}
|
66
68
|
type="secondaryLink"
|
67
69
|
btnTextHoverClass="hover:text-neutral-0"
|
68
70
|
btnTextColorClass='text-neutral-0'
|
69
|
-
|
71
|
+
/>
|
72
|
+
</a>
|
70
73
|
</div>
|
71
74
|
</div>
|
72
75
|
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import React from "react";
|
2
2
|
import { Typography } from '../../foundation/Typography'
|
3
|
-
import { HDSButton} from '../../components/Buttons';
|
3
|
+
import { HDSButton } from '../../components/Buttons';
|
4
4
|
|
5
5
|
export default function DataSourcesCard(props) {
|
6
6
|
return (
|
7
|
-
<>
|
8
|
-
|
7
|
+
<>
|
8
|
+
|
9
9
|
<div className="flex flex-col-reverse px-6 py-10 db:px-0 db:py-0 db:flex-row db:gap-[132px]">
|
10
10
|
|
11
11
|
<div className="flex flex-col db:pl-20 db:pt-20 db:pb-[74px]">
|
@@ -37,10 +37,10 @@ export default function DataSourcesCard(props) {
|
|
37
37
|
loop
|
38
38
|
muted
|
39
39
|
src={props.video_url}
|
40
|
-
className=" rounded-xl db:rounded-none db:rounded-tl-3xl"
|
40
|
+
className=" rounded-xl db:rounded-none db:rounded-br-3xl db:rounded-tl-3xl"
|
41
41
|
/>
|
42
42
|
</div>}
|
43
|
-
|
43
|
+
|
44
44
|
<div className="db:hidden pb-2">
|
45
45
|
<Typography textStyle='h3' className='text-neutral-1000'>{props.title}</Typography>
|
46
46
|
</div>
|
@@ -50,16 +50,16 @@ export default function DataSourcesCard(props) {
|
|
50
50
|
)
|
51
51
|
}
|
52
52
|
</div>
|
53
|
-
|
53
|
+
|
54
54
|
</>
|
55
55
|
)
|
56
56
|
}
|
57
57
|
|
58
58
|
DataSourcesCard.defaultProps = {
|
59
|
-
title:'100+ Data Sources',
|
59
|
+
title: '100+ Data Sources',
|
60
60
|
description: 'description1',
|
61
61
|
CTA: {
|
62
|
-
text:'Button Label',
|
62
|
+
text: 'Button Label',
|
63
63
|
},
|
64
64
|
video_url: 'https://res.cloudinary.com/dh8fp23nd/video/upload/v1654760488/samples/sea-turtle.mp4'
|
65
65
|
}
|
package/src/styles/tailwind.css
CHANGED
@@ -11087,6 +11087,10 @@ select{
|
|
11087
11087
|
border-radius: 0px;
|
11088
11088
|
}
|
11089
11089
|
|
11090
|
+
.db\:rounded-br-3xl{
|
11091
|
+
border-bottom-right-radius: 1.5rem;
|
11092
|
+
}
|
11093
|
+
|
11090
11094
|
.db\:rounded-tl-3xl{
|
11091
11095
|
border-top-left-radius: 1.5rem;
|
11092
11096
|
}
|