hds-web 1.31.3 → 1.31.4

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.31.3",
3
+ "version": "1.31.4",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -37,31 +37,40 @@ function DefaultAccordion(props) {
37
37
  {props.accordionData && props.accordionData.map((item, index) => (
38
38
  <div
39
39
  key={index}
40
- className=" first:pt-0 last:pb-0 py-6 flex cursor-pointer"
41
- onClick={() => handleOpen(index)}
40
+ className=" first:pt-0 last:pb-0 py-6 flex"
41
+
42
42
  >
43
43
  {/* <div
44
44
  className='pr-4'
45
45
  >
46
46
  {icon(open === index ? true : false)}
47
47
  </div> */}
48
- <Icon
49
- height={'h-5 w-5 stroke-[1.5px] '}
50
- variant={open === index ? 'minus' : 'plus'}
51
- strokeClass='stroke-blue-600'
52
- className=' transition-opacity duration-300 mt-1'
53
- />
48
+ <div
49
+ className=' cursor-pointer'
50
+ onClick={() => handleOpen(index)}
51
+ >
52
+ <Icon
53
+
54
+ height={'h-5 w-5 stroke-[1.5px] '}
55
+ variant={open === index ? 'minus' : 'plus'}
56
+ strokeClass='stroke-blue-600'
57
+ className=' transition-opacity duration-300 mt-1'
58
+ />
59
+ </div>
54
60
  <div>
55
61
 
56
62
  <motion.div
57
- className="cursor-pointer pl-4 "
63
+ className=" pl-4 "
58
64
  initial={{ opacity: 0 }}
59
65
  animate={{ opacity: 1 }}
60
66
  exit={{ opacity: 1 }}
61
67
  transition={{ duration: 0.3, type: 'easeIn' }}
62
68
  >
63
- <div className="flex items-center justify-between">
64
- <div className='flex items-center'>
69
+ <div className="flex items-center justify-between cursor-pointer">
70
+ <div
71
+ className='flex items-center'
72
+ onClick={() => handleOpen(index)}
73
+ >
65
74
 
66
75
  {item.title && <Typography textStyle='body1-medium' className='text-neutral-900'>
67
76
  {item.title}