hds-web 1.26.9 → 1.27.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 +5 -5
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/HDS/components/Hero/herolinkcard.js +9 -9
- package/src/styles/tailwind.css +8 -0
package/package.json
CHANGED
@@ -28,11 +28,11 @@ const tabCard = (Content) => (
|
|
28
28
|
<div className='flex items-center flex-wrap flex-row gap-2'>
|
29
29
|
{Content.buttons.map((btn, index) => (
|
30
30
|
<Fragment key={index}>
|
31
|
-
{btn.
|
32
|
-
<a href={btn.
|
31
|
+
{btn.url && btn.text && btn.type && (
|
32
|
+
<a href={btn.url} key={index} className='flex pt-6'>
|
33
33
|
<HDSButton
|
34
|
-
label={btn.
|
35
|
-
type={ btn.
|
34
|
+
label={btn.text}
|
35
|
+
type={ btn.type}
|
36
36
|
leftIconVariant='none'
|
37
37
|
rightIconVariant='none'
|
38
38
|
state='default'
|
@@ -40,7 +40,7 @@ const tabCard = (Content) => (
|
|
40
40
|
rightAnimatedArrow={true}
|
41
41
|
rightAnimatedArrowColor='#3970FD'
|
42
42
|
animatedHoverStroke='group-hover:stroke-neutral-0'
|
43
|
-
className={'flex ' + ((btn.
|
43
|
+
className={'flex ' + ((btn.type === 'ghost') ?
|
44
44
|
' border-opacity-0 hover:border-opacity-100 border-2 border-purple-800 rounded-full ' : '') }
|
45
45
|
// btnTextColorClass={HDSColor('text-neutral-0')}
|
46
46
|
btnbgHoverClass={btn.btnBgColorClass}
|
@@ -63,7 +63,7 @@ export default function HeroLinkCard(props) {
|
|
63
63
|
const LinkCardsFn = (props) => {
|
64
64
|
return (
|
65
65
|
props.linkCards && (
|
66
|
-
<div className="flex
|
66
|
+
<div className="flex tb:justify-center overflow-auto no-scrollbar db:overflow-visible scrollbar-hide flex-row mt-10 tb:mt-12 db:mt-16 gap-6 tb:flex-row ">
|
67
67
|
{props.linkCards.map((card, index) => (
|
68
68
|
<div key={index} className={`${HDSColor(card.cardBorderClass)} ${HDSColor(card.cardBgColor)} ${HDSColor(card.cardHoverBg)} transition-all ease-out duration-300 hover:shadow-2xl hover:border-opacity-0 border rounded-2xl w-full min-w-[11.5rem] max-w-[22.313rem]`}>
|
69
69
|
<LinkCard
|
@@ -84,11 +84,11 @@ export default function HeroLinkCard(props) {
|
|
84
84
|
);
|
85
85
|
};
|
86
86
|
|
87
|
-
|
87
|
+
|
88
88
|
return (
|
89
89
|
<div>
|
90
90
|
<div className="flex flex-col-reverse tb:flex tb:flex-row tb:justify-between">
|
91
|
-
<div className=
|
91
|
+
<div className={`tb:w-1/2 db:max-w-[${props.contentWd ? props.contentWd : '535px'}]`}>
|
92
92
|
{props &&
|
93
93
|
tabCard(props)}
|
94
94
|
</div>
|
@@ -143,4 +143,4 @@ export default function HeroLinkCard(props) {
|
|
143
143
|
</div>
|
144
144
|
</div>
|
145
145
|
);
|
146
|
-
}
|
146
|
+
}
|
package/src/styles/tailwind.css
CHANGED
@@ -10876,6 +10876,10 @@ select{
|
|
10876
10876
|
margin-top: -4px;
|
10877
10877
|
}
|
10878
10878
|
|
10879
|
+
.tb\:mt-12{
|
10880
|
+
margin-top: 3rem;
|
10881
|
+
}
|
10882
|
+
|
10879
10883
|
.tb\:block{
|
10880
10884
|
display: block;
|
10881
10885
|
}
|
@@ -12307,6 +12311,10 @@ select{
|
|
12307
12311
|
margin-top: 0px;
|
12308
12312
|
}
|
12309
12313
|
|
12314
|
+
.db\:mt-16{
|
12315
|
+
margin-top: 4rem;
|
12316
|
+
}
|
12317
|
+
|
12310
12318
|
.db\:block{
|
12311
12319
|
display: block;
|
12312
12320
|
}
|