File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @programmer_network/yail" ,
3
- "version" : " 1.0.168 " ,
3
+ "version" : " 1.0.169 " ,
4
4
"description" : " Programmer Network's official UI library for React" ,
5
5
"author" : " Aleksandar Grbic - (https://programmer.network)" ,
6
6
"publishConfig" : {
Original file line number Diff line number Diff line change @@ -11,15 +11,15 @@ exports[`Accordion component > renders correctly 1`] = `
11
11
>
12
12
<h3
13
13
aria-expanded = " true"
14
- class = " yl-relative yl-flex yl-cursor-pointer yl-select-none yl-items-center yl-justify-between yl-font-semibold yl-capitalize yl-text-primary-text-color yl-p-4 yl-bg-primary-text-color/5"
14
+ class = " yl-relative yl-flex yl-cursor-pointer yl-select-none yl-items-center yl-justify-between yl-font-semibold yl-capitalize yl-text-primary-text-color yl-py-4 yl-pl-4 yl-pr-8 yl-bg-primary-text-color/5"
15
15
role = " button"
16
16
tabindex = " 0"
17
17
>
18
18
<div
19
19
class = " yl-flex yl-flex-col yl-gap-1 yl-overflow-hidden yl-text-ellipsis yl-whitespace-nowrap yl-text-base"
20
20
>
21
21
<svg
22
- class = " yl-absolute yl-right-0 yl-w-6 yl-cursor-pointer yl-fill-primary-text-color hover:yl-fill-primary"
22
+ class = " yl-absolute yl-right-2 yl-w-6 yl-cursor-pointer yl-fill-primary-text-color hover:yl-fill-primary"
23
23
data-testid = " icon-expand-less"
24
24
fill = " currentColor"
25
25
viewBox = " 0 0 24 24"
@@ -80,15 +80,15 @@ exports[`Accordion component > renders correctly 1`] = `
80
80
>
81
81
<h3
82
82
aria-expanded = " false"
83
- class = " yl-relative yl-flex yl-cursor-pointer yl-select-none yl-items-center yl-justify-between yl-font-semibold yl-capitalize yl-text-primary-text-color yl-p-4 "
83
+ class = " yl-relative yl-flex yl-cursor-pointer yl-select-none yl-items-center yl-justify-between yl-font-semibold yl-capitalize yl-text-primary-text-color yl-py-4 yl-pl-4 yl-pr-8 "
84
84
role = " button"
85
85
tabindex = " 0"
86
86
>
87
87
<div
88
88
class = " yl-flex yl-flex-col yl-gap-1 yl-overflow-hidden yl-text-ellipsis yl-whitespace-nowrap yl-text-base"
89
89
>
90
90
<svg
91
- class = " yl-absolute yl-right-0 yl-w-6 yl-cursor-pointer yl-fill-primary-text-color hover:yl-fill-primary"
91
+ class = " yl-absolute yl-right-2 yl-w-6 yl-cursor-pointer yl-fill-primary-text-color hover:yl-fill-primary"
92
92
data-testid = " icon-expand-more"
93
93
fill = " currentColor"
94
94
viewBox = " 0 0 24 24"
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ const Accordion: FC<IAccordionProps> = ({
50
50
>
51
51
< h3
52
52
className = { classNames (
53
- "yl-relative yl-flex yl-cursor-pointer yl-select-none yl-items-center yl-justify-between yl-font-semibold yl-capitalize yl-text-primary-text-color yl-p-4 " ,
53
+ "yl-relative yl-flex yl-cursor-pointer yl-select-none yl-items-center yl-justify-between yl-font-semibold yl-capitalize yl-text-primary-text-color yl-py-4 yl-pl-4 yl-pr-8 " ,
54
54
sectionTitleClassName ,
55
55
{
56
56
"yl-bg-primary-text-color/5" : expanded . includes ( section . id )
@@ -68,9 +68,9 @@ const Accordion: FC<IAccordionProps> = ({
68
68
>
69
69
< div className = 'yl-flex yl-flex-col yl-gap-1 yl-overflow-hidden yl-text-ellipsis yl-whitespace-nowrap yl-text-base' >
70
70
{ expanded . includes ( section . id ) ? (
71
- < IconExpandLess className = 'yl-absolute yl-right-0 yl-w-6 yl-cursor-pointer yl-fill-primary-text-color hover:yl-fill-primary' />
71
+ < IconExpandLess className = 'yl-absolute yl-right-2 yl-w-6 yl-cursor-pointer yl-fill-primary-text-color hover:yl-fill-primary' />
72
72
) : (
73
- < IconExpandMore className = 'yl-absolute yl-right-0 yl-w-6 yl-cursor-pointer yl-fill-primary-text-color hover:yl-fill-primary' />
73
+ < IconExpandMore className = 'yl-absolute yl-right-2 yl-w-6 yl-cursor-pointer yl-fill-primary-text-color hover:yl-fill-primary' />
74
74
) }
75
75
{ section . title }
76
76
{ section . description && (
You can’t perform that action at this time.
0 commit comments