hds-web 1.31.3 → 1.31.5
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 +1 -1
- package/dist/index.es.css +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/HDS/components/Headers/v3Header.js +14 -14
- package/src/HDS/modules/Faq/faq.js +20 -11
- package/src/index.css +1 -1
- package/src/styles/tailwind.css +1 -1
package/package.json
CHANGED
@@ -773,20 +773,20 @@ V3Header.defaultProps = {
|
|
773
773
|
name: 'Work at Hasura',
|
774
774
|
strokeClass: 'stroke-neutral-500'
|
775
775
|
},
|
776
|
-
{
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
},
|
783
|
-
{
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
},
|
776
|
+
// {
|
777
|
+
// description: '',
|
778
|
+
// href: '/press/',
|
779
|
+
// icon: 'headingsquare',
|
780
|
+
// name: 'Newsroom',
|
781
|
+
// strokeClass: 'stroke-neutral-500'
|
782
|
+
// },
|
783
|
+
// {
|
784
|
+
// description: '',
|
785
|
+
// href: '/brand',
|
786
|
+
// icon: 'star06',
|
787
|
+
// name: 'Brand',
|
788
|
+
// strokeClass: 'stroke-neutral-500'
|
789
|
+
// },
|
790
790
|
|
791
791
|
],
|
792
792
|
label: 'Company'
|
@@ -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
|
41
|
-
|
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
|
-
<
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
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="
|
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
|
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}
|
package/src/index.css
CHANGED