hds-web 1.23.0 → 1.23.1
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 +2 -2
- package/dist/index.es.css +2 -2
- package/dist/index.es.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/HDS/components/Cards/StoryCard/storyxl.js +7 -8
- package/src/styles/tailwind.css +12 -0
package/package.json
CHANGED
@@ -8,7 +8,7 @@ export default function StoryCardXL(props) {
|
|
8
8
|
<>
|
9
9
|
<div className="flex flex-col-reverse px-6 py-10 tb-l:px-0 tb-l:py-0 tb-l:flex-row tb-l:gap-10 db:gap-32 tb-l:max-w-7xl min-h-[518px]">
|
10
10
|
|
11
|
-
<div className="flex flex-col tb-l:pl-20 tb-l:pt-
|
11
|
+
<div className="flex flex-col tb-l:pl-20 tb-l:pt-14 tb-l:pb-14">
|
12
12
|
{
|
13
13
|
props.tagline && (
|
14
14
|
<Typography textStyle='h6' className='text-blue-400 tb-l:block uppercase mb-2 hidden '>{props.tagline}</Typography>
|
@@ -24,7 +24,7 @@ export default function StoryCardXL(props) {
|
|
24
24
|
}
|
25
25
|
{props.title &&
|
26
26
|
(
|
27
|
-
<div className="flex
|
27
|
+
<div className="flex flex-col gap-6 tb-l:max-w-[547px] ">
|
28
28
|
<Typography textStyle='h3' className='text-neutral-1000 tb-l:block hidden min-h-[144px] overflow-clip'>{props.title}</Typography>
|
29
29
|
{props.heroList &&
|
30
30
|
(
|
@@ -51,7 +51,7 @@ export default function StoryCardXL(props) {
|
|
51
51
|
</div>
|
52
52
|
)}
|
53
53
|
{props.CTA &&
|
54
|
-
<div className="mt-
|
54
|
+
<div className="mt-10 tb:flex">
|
55
55
|
<a href={props.CTA['url']}>
|
56
56
|
<HDSButton
|
57
57
|
label={props.CTA['text']}
|
@@ -66,7 +66,7 @@ export default function StoryCardXL(props) {
|
|
66
66
|
props.heroImageAlt) ?
|
67
67
|
(
|
68
68
|
<>
|
69
|
-
<div className="flex justify-center tb:justify-start tb-l:justify-end tb-l:pt-
|
69
|
+
<div className="flex justify-center tb:justify-start tb-l:justify-end tb-l:pt-14 tb:max-w-[600px]">
|
70
70
|
<img
|
71
71
|
src={props.heroImageURL}
|
72
72
|
alt={props.heroImageAlt}
|
@@ -129,16 +129,15 @@ StoryCardXL.defaultProps = {
|
|
129
129
|
heroList: [
|
130
130
|
{
|
131
131
|
iconVariant: 'calendar',
|
132
|
-
title: '100 days from concept to production
|
132
|
+
title: '100 days from concept to production'
|
133
133
|
},
|
134
134
|
{
|
135
135
|
iconVariant: 'database03',
|
136
|
-
title: 'Vastly improved access to relevant data
|
136
|
+
title: 'Vastly improved access to relevant data'
|
137
137
|
},
|
138
138
|
{
|
139
139
|
iconVariant: 'settings01',
|
140
|
-
title: 'Simpler data and API management
|
141
|
-
}
|
140
|
+
title: 'Simpler data and API management'}
|
142
141
|
]
|
143
142
|
// video_url: 'https://res.cloudinary.com/dh8fp23nd/video/upload/v1654760488/samples/sea-turtle.mp4'
|
144
143
|
}
|
package/src/styles/tailwind.css
CHANGED
@@ -1808,6 +1808,10 @@ select{
|
|
1808
1808
|
min-height: 855px;
|
1809
1809
|
}
|
1810
1810
|
|
1811
|
+
.min-h-\[200px\]{
|
1812
|
+
min-height: 200px;
|
1813
|
+
}
|
1814
|
+
|
1811
1815
|
.\!w-full{
|
1812
1816
|
width: 100% !important;
|
1813
1817
|
}
|
@@ -6679,6 +6683,10 @@ select{
|
|
6679
6683
|
padding-top: 81px;
|
6680
6684
|
}
|
6681
6685
|
|
6686
|
+
.pt-1{
|
6687
|
+
padding-top: 0.25rem;
|
6688
|
+
}
|
6689
|
+
|
6682
6690
|
.text-left{
|
6683
6691
|
text-align: left;
|
6684
6692
|
}
|
@@ -11998,6 +12006,10 @@ select{
|
|
11998
12006
|
padding-top: 5rem;
|
11999
12007
|
}
|
12000
12008
|
|
12009
|
+
.tb-l\:pt-14{
|
12010
|
+
padding-top: 3.5rem;
|
12011
|
+
}
|
12012
|
+
|
12001
12013
|
.tb-l\:text-left{
|
12002
12014
|
text-align: left;
|
12003
12015
|
}
|