hds-web 1.6.2 → 1.6.3
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 +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/HDS/components/Cards/Link/link.js +1 -4
- package/src/HDS/components/Tabs/tab.js +5 -1
- package/src/HDS/modules/TextCard/textCard.js +1 -1
- package/src/styles/tailwind.css +4 -0
package/package.json
CHANGED
@@ -6,13 +6,11 @@ import { Typography } from '../../../foundation/Typography'
|
|
6
6
|
|
7
7
|
|
8
8
|
export default function LinkCard(props) {
|
9
|
-
const cardBgColorClass = HDSColor(props.cardBgColor)
|
10
|
-
const cardHoverClasses = HDSColor(`hover:${props.cardHoverBg}`);
|
11
9
|
return (
|
12
10
|
<>
|
13
11
|
<a
|
14
12
|
href={props.linkUrl}
|
15
|
-
className={
|
13
|
+
className={`rounded-2xl p-6 h-full block`}
|
16
14
|
>
|
17
15
|
{props.brandImageUrl ?
|
18
16
|
(
|
@@ -85,7 +83,6 @@ LinkCard.defaultProps = {
|
|
85
83
|
brandImageUrl: '',
|
86
84
|
brandImageAlt:'',
|
87
85
|
linkUrl: '#',
|
88
|
-
cardHoverBg: 'bg-pink-600',
|
89
86
|
iconVariant: 'videorecorder',
|
90
87
|
iconStrokeColor: 'blue-500',
|
91
88
|
iconArrowVariant: 'arrownarrowupright',
|
@@ -56,7 +56,11 @@ export default function Tab(props) {
|
|
56
56
|
key={tab.name}
|
57
57
|
onClick={(event) => handleTabClick(event, tab)}
|
58
58
|
>
|
59
|
-
<Typography
|
59
|
+
<Typography
|
60
|
+
className={`${tabClass(tab.name)} cursor-pointer px-3 py-1 z-[2] relative whitespace-nowrap`}
|
61
|
+
textStyle='body3c-medium'>
|
62
|
+
{tab.name}
|
63
|
+
</Typography>
|
60
64
|
</div>
|
61
65
|
))}
|
62
66
|
<span
|
@@ -57,7 +57,7 @@ export default function TextCard(props) {
|
|
57
57
|
const imgBgColor = HDSColor(list.tab_img_bg_class)
|
58
58
|
return (
|
59
59
|
<div className='border-b border-b-neutral-150 last:border-b-0 cursor-pointer' onClick={()=>setImgActive(list.title)}>
|
60
|
-
<div className={'m-2 p-0 tb:p-6 rounded-lg hover:bg-neutral-50' + ((imgActive === list.title) ? " bg-neutral-100" : "")} key={i}>
|
60
|
+
<div className={'m-2 p-0 tb:p-6 rounded-lg transition-all ease-in duration-75 hover:bg-neutral-50' + ((imgActive === list.title) ? " bg-neutral-100" : "")} key={i}>
|
61
61
|
<div className='flex items-center pb-4'>
|
62
62
|
<Icon
|
63
63
|
height={`w-6 h-6 mr-2 stroke-[1.5px]` }
|
package/src/styles/tailwind.css
CHANGED