@npm_leadtech/legal-lib-components 5.11.0 → 5.11.2
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/src/components/molecules/MoreDocsMobile/MoreDocsMobile.js +1 -1
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.js +7 -7
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.ts +7 -7
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.tsx +1 -1
- package/package.json +1 -1
|
@@ -11,7 +11,7 @@ export const MoreDocsMobile = ({ title, documents }) => {
|
|
|
11
11
|
if (event.key === 'Enter' || event.key === ' ') {
|
|
12
12
|
setIsOpen(!isOpen);
|
|
13
13
|
}
|
|
14
|
-
}, children: _jsxs("div", { className: 'box-closed', children: [_jsx("p", { className: 'box-title', children: title }), _jsx("div", { className: `icon-see-more ${!isOpen ? 'open' : ''}`, children: _jsx(ChevronRight24px, {}) })] }) }), isOpen && (_jsx("div", { className: 'more-docs-list', children: documents.map((document) => {
|
|
14
|
+
}, children: _jsxs("div", { className: 'box-closed', children: [_jsx("p", { className: 'box-title sans-serif --medium', children: title }), _jsx("div", { className: `icon-see-more ${!isOpen ? 'open' : ''}`, children: _jsx(ChevronRight24px, {}) })] }) }), isOpen && (_jsx("div", { className: 'more-docs-list', children: documents.map((document) => {
|
|
15
15
|
return (_jsxs("div", { className: 'docs-list', children: [_jsx(MoreDocsItem, { ...document }), _jsx("div", { className: 'separation-line' })] }, document.id));
|
|
16
16
|
}) }))] }));
|
|
17
17
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
export const MoreDocsMobileStyled = styled.div `
|
|
3
3
|
.more-docs-mobile {
|
|
4
|
-
margin:
|
|
4
|
+
margin: 0 1.5rem 2.5rem 1.5rem;
|
|
5
5
|
padding: 5px 0;
|
|
6
6
|
border-radius: 4px;
|
|
7
7
|
border: solid 2px #dfe5e8;
|
|
@@ -13,8 +13,10 @@ export const MoreDocsMobileStyled = styled.div `
|
|
|
13
13
|
|
|
14
14
|
.box-closed {
|
|
15
15
|
display: flex;
|
|
16
|
-
|
|
16
|
+
padding: 1rem;
|
|
17
|
+
justify-content: space-between;
|
|
17
18
|
align-items: center;
|
|
19
|
+
align-self: stretch;
|
|
18
20
|
|
|
19
21
|
.icon-see-more {
|
|
20
22
|
transform: rotate(-90deg);
|
|
@@ -29,14 +31,12 @@ export const MoreDocsMobileStyled = styled.div `
|
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
svg {
|
|
32
|
-
width:
|
|
33
|
-
height:
|
|
34
|
+
width: 1.5rem;
|
|
35
|
+
height: 1.5rem;
|
|
34
36
|
}
|
|
35
37
|
}
|
|
36
|
-
|
|
37
38
|
.box-title {
|
|
38
|
-
|
|
39
|
-
margin-right: 4rem;
|
|
39
|
+
color: var(--neutral-neutral-1);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -2,7 +2,7 @@ import styled from 'styled-components'
|
|
|
2
2
|
|
|
3
3
|
export const MoreDocsMobileStyled = styled.div`
|
|
4
4
|
.more-docs-mobile {
|
|
5
|
-
margin:
|
|
5
|
+
margin: 0 1.5rem 2.5rem 1.5rem;
|
|
6
6
|
padding: 5px 0;
|
|
7
7
|
border-radius: 4px;
|
|
8
8
|
border: solid 2px #dfe5e8;
|
|
@@ -14,8 +14,10 @@ export const MoreDocsMobileStyled = styled.div`
|
|
|
14
14
|
|
|
15
15
|
.box-closed {
|
|
16
16
|
display: flex;
|
|
17
|
-
|
|
17
|
+
padding: 1rem;
|
|
18
|
+
justify-content: space-between;
|
|
18
19
|
align-items: center;
|
|
20
|
+
align-self: stretch;
|
|
19
21
|
|
|
20
22
|
.icon-see-more {
|
|
21
23
|
transform: rotate(-90deg);
|
|
@@ -30,14 +32,12 @@ export const MoreDocsMobileStyled = styled.div`
|
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
svg {
|
|
33
|
-
width:
|
|
34
|
-
height:
|
|
35
|
+
width: 1.5rem;
|
|
36
|
+
height: 1.5rem;
|
|
35
37
|
}
|
|
36
38
|
}
|
|
37
|
-
|
|
38
39
|
.box-title {
|
|
39
|
-
|
|
40
|
-
margin-right: 4rem;
|
|
40
|
+
color: var(--neutral-neutral-1);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
|
@@ -24,7 +24,7 @@ export const MoreDocsMobile: React.FC<MoreDocsMobileProps> = ({ title, documents
|
|
|
24
24
|
}}
|
|
25
25
|
>
|
|
26
26
|
<div className='box-closed'>
|
|
27
|
-
<p className='box-title'>{title}</p>
|
|
27
|
+
<p className='box-title sans-serif --medium'>{title}</p>
|
|
28
28
|
<div className={`icon-see-more ${!isOpen ? 'open' : ''}`}>
|
|
29
29
|
<ChevronRight24px />
|
|
30
30
|
</div>
|