hds-web 1.19.6 → 1.19.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
@@ -25,7 +25,7 @@ export default function AnnouncementMd(props) {
|
|
25
25
|
<div className="block items-center tb:flex tb:justify-center">
|
26
26
|
{
|
27
27
|
props.brandImg && (
|
28
|
-
<div className="
|
28
|
+
<div className="pb-1 tb:pb-0 tb:pl-14 tb:pr-2">
|
29
29
|
<img className="max-h-[32px]" src={props.brandImg} alt={props.brandImgAlt} />
|
30
30
|
</div>
|
31
31
|
)
|
@@ -39,17 +39,17 @@ export default function AnnouncementMd(props) {
|
|
39
39
|
}
|
40
40
|
{
|
41
41
|
props.tagText && (
|
42
|
-
<Typography textStyle="body2-medium" className={`inline-flex py-1 px-3 ml-0 tb:ml-14 tb-m:ml-6 rounded-full mr-4 min-w-fit ${tagColorVariants[tagClass]}`}>{props.tagText}</Typography>
|
42
|
+
<Typography textStyle="body2-medium" className={`inline-flex py-1 px-0 tb:px-3 ml-0 tb:ml-14 tb-m:ml-6 rounded-full mr-4 min-w-fit ${tagColorVariants[tagClass]}`}>{props.tagText}</Typography>
|
43
43
|
)
|
44
44
|
}
|
45
|
-
<a href={props.linkUrl} className="
|
45
|
+
<a href={props.linkUrl} className="block pb-1 tb:pb-0">
|
46
46
|
<Typography textStyle="body2-medium" className={`${linkTextClass} group flex items-center [&>div]:inline-block`}>
|
47
47
|
{props.linkText}
|
48
|
-
<Icon height={'block w-6 h-6 stroke-[2px] ml-3 transition ease-in-out group-hover:translate-x-[5px]'} variant='arrownarrowright' strokeClass='stroke-blue-500' />
|
48
|
+
<Icon height={' hidden tb:block w-6 h-6 stroke-[2px] ml-3 transition ease-in-out group-hover:translate-x-[5px]'} variant='arrownarrowright' strokeClass='stroke-blue-500' />
|
49
49
|
</Typography>
|
50
50
|
</a>
|
51
51
|
</div>
|
52
|
-
<div className="
|
52
|
+
<div className="static ml-3 tb:absolute top-1/2 tb:-translate-y-1/2 tb:left-6 cursor-pointer w-8 min-w-[32px] h-8 rounded-full bg-neutral-100 flex items-center justify-center" onClick={()=>toggleBanner(false)}>
|
53
53
|
<Icon height={'block w-6 h-6 stroke-[2px] transition ease-in-out'} variant='xclose' strokeClass='stroke-neutral-800' />
|
54
54
|
</div>
|
55
55
|
</div>
|