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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hds-web",
3
- "version": "1.6.2",
3
+ "version": "1.6.3",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -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={`${cardHoverClasses} ${cardBgColorClass} hover:shadow-xl rounded-2xl p-6 h-full block`}
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 className={`${tabClass(tab.name)} cursor-pointer px-3 py-1 z-[2] relative whitespace-nowrap`} textStyle='body3c-medium'>{tab.name}</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]` }
@@ -6961,6 +6961,10 @@ select {
6961
6961
  transition-duration: 500ms;
6962
6962
  }
6963
6963
 
6964
+ .duration-75 {
6965
+ transition-duration: 75ms;
6966
+ }
6967
+
6964
6968
  .ease-in {
6965
6969
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
6966
6970
  }