@akemona-org/strapi-admin 3.13.2 → 3.14.0
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/admin/src/components/BaselineAlignement/index.js +2 -4
- package/admin/src/components/Fonts/index.js +13 -7
- package/admin/src/components/FormBloc/index.js +36 -34
- package/admin/src/components/GlobalStyle/index.js +5 -4
- package/admin/src/components/Header/index.js +1 -4
- package/admin/src/components/LeftMenu/LeftMenuFooter/Wrapper.js +1 -1
- package/admin/src/components/LeftMenu/LeftMenuHeader/Wrapper.js +1 -2
- package/admin/src/components/LeftMenu/LeftMenuHeader/index.js +7 -5
- package/admin/src/components/LeftMenu/LeftMenuLink/LeftMenuIcon.js +1 -1
- package/admin/src/components/LeftMenu/LeftMenuLink/NotificationCount.js +8 -6
- package/admin/src/components/LeftMenu/LinksContainer/index.js +1 -4
- package/admin/src/components/Notifications/Notification/Li.js +3 -3
- package/admin/src/components/PageTitle/index.js +1 -1
- package/admin/src/components/Roles/CheckboxWithCondition/index.js +1 -1
- package/admin/src/components/Roles/ConditionsButton/index.js +1 -0
- package/admin/src/components/Roles/ConditionsModal/ConditionsSelect/IndicatorSeparator.js +1 -1
- package/admin/src/components/Roles/ConditionsModal/ConditionsSelect/MenuList/SubUl.js +1 -1
- package/admin/src/components/Roles/ConditionsModal/ConditionsSelect/MenuList/Ul.js +3 -7
- package/admin/src/components/Roles/ContentTypeCollapse/CollapsePropertyMatrix/SubActionRow/row.js +1 -1
- package/admin/src/components/Roles/ContentTypeCollapse/CollapsePropertyMatrix/Wrapper.js +1 -1
- package/admin/src/components/Roles/ContentTypeCollapse/Wrapper.js +1 -1
- package/admin/src/components/Roles/Curve/index.js +23 -21
- package/admin/src/components/Roles/PluginsAndSettings/SubCategory/Wrapper.js +1 -1
- package/admin/src/components/Roles/PluginsAndSettings/SubCategory/index.js +1 -1
- package/admin/src/components/Roles/RequiredSign/index.js +1 -1
- package/admin/src/components/Roles/RoleForm/NameInput.js +1 -1
- package/admin/src/components/Roles/Tabs/TabsWrapper.js +3 -1
- package/admin/src/components/UpgradePlanModal/components/Option/Wrapper.js +2 -2
- package/admin/src/components/Users/LinkNotification/Envelope.js +15 -13
- package/admin/src/components/Users/LinkNotification/Wrapper.js +3 -2
- package/admin/src/components/Users/List/ActiveStatus.js +1 -1
- package/admin/src/components/Users/SelectRoles/IndicatorSeparator.js +1 -1
- package/admin/src/components/Webhooks/EventInput/Wrapper.js +4 -4
- package/admin/src/components/Webhooks/HeadersInput/Wrapper.js +1 -1
- package/admin/src/components/Webhooks/Switch/Wrapper.js +2 -5
- package/admin/src/containers/Admin/Logout/components.js +7 -7
- package/admin/src/containers/App/components.js +1 -1
- package/admin/src/containers/AuthPage/components/Box/Wrapper.js +1 -1
- package/admin/src/containers/AuthPage/components/Box/index.js +10 -8
- package/admin/src/containers/AuthPage/components/ForgotPasswordSuccess/Envelope.js +15 -13
- package/admin/src/containers/AuthPage/components/Logo/index.js +1 -1
- package/admin/src/containers/HomePage/components.js +16 -16
- package/admin/src/containers/InstalledPluginsPage/Logo.js +1 -4
- package/admin/src/containers/LeftMenu/LoaderWrapper.js +1 -4
- package/admin/src/containers/LocaleToggle/Wrapper.js +7 -7
- package/admin/src/containers/MarketplacePage/MarketplaceBanner/Wrapper.js +0 -1
- package/admin/src/containers/MarketplacePage/PluginCard/Wrapper.js +2 -1
- package/admin/src/containers/NewNotification/Notification/styledComponents.js +1 -1
- package/admin/src/containers/NotFoundPage/index.js +1 -1
- package/admin/src/containers/Onboarding/Li.js +1 -1
- package/admin/src/containers/Onboarding/Wrapper.js +4 -4
- package/admin/src/containers/PrivateRoute/index.js +16 -14
- package/admin/src/containers/Roles/ProtectedListPage/index.js +5 -3
- package/admin/src/containers/SettingsPage/components/ApplicationDetailLink/Notif.js +1 -1
- package/admin/src/containers/SettingsPage/components/ApplicationDetailLink/Wrapper.js +1 -1
- package/admin/src/containers/SettingsPage/components/StyledLeftMenu/index.js +1 -0
- package/admin/src/containers/Users/ProtectedListPage/index.js +5 -3
- package/admin/src/containers/Webhooks/EditView/Wrapper.js +3 -3
- package/admin/src/containers/Webhooks/ProtectedCreateView/index.js +5 -3
- package/admin/src/containers/Webhooks/ProtectedEditView/index.js +5 -3
- package/admin/src/containers/Webhooks/ProtectedListView/index.js +5 -3
- package/package.json +5 -5
|
@@ -8,10 +8,8 @@ import styled from 'styled-components';
|
|
|
8
8
|
// I create it to temporary fix the baseline alignment until we have the design system.
|
|
9
9
|
|
|
10
10
|
const BaselineAlignment = styled.div`
|
|
11
|
-
padding
|
|
12
|
-
|
|
13
|
-
padding-bottom: ${({ size, bottom }) => bottom && size};
|
|
14
|
-
padding-left: ${({ size, left }) => left && size};
|
|
11
|
+
padding: ${({ size, top }) => top && size} ${({ size, right }) => right && size}
|
|
12
|
+
${({ size, bottom }) => bottom && size} ${({ size, left }) => left && size};
|
|
15
13
|
`;
|
|
16
14
|
|
|
17
15
|
BaselineAlignment.defaultProps = {
|
|
@@ -26,47 +26,53 @@ import latoBlackWoff2 from '@buffetjs/styles/webfonts/Lato-Black.woff2';
|
|
|
26
26
|
|
|
27
27
|
const Fonts = createGlobalStyle`
|
|
28
28
|
@font-face {
|
|
29
|
-
font-family:
|
|
29
|
+
font-family: FontAwesome;
|
|
30
30
|
src: url(${faBrandsLight2}) format("woff2"), url(${faBrandsLight}) format("woff");
|
|
31
31
|
font-weight: 400;
|
|
32
32
|
font-style: normal;
|
|
33
33
|
}
|
|
34
|
+
|
|
34
35
|
@font-face {
|
|
35
|
-
font-family:
|
|
36
|
+
font-family: FontAwesome;
|
|
36
37
|
src: url(${faRegularLight2}) format("woff2"), url(${faRegularLight}) format("woff");
|
|
37
38
|
font-weight: 400;
|
|
38
39
|
font-style: normal;
|
|
39
40
|
}
|
|
41
|
+
|
|
40
42
|
@font-face {
|
|
41
|
-
font-family:
|
|
43
|
+
font-family: FontAwesome;
|
|
42
44
|
src: url(${faSolidHeavy2}) format("woff2"), url(${faSolidHeavy}) format("woff");
|
|
43
45
|
font-weight: 400;
|
|
44
46
|
font-style: normal;
|
|
45
47
|
}
|
|
48
|
+
|
|
46
49
|
/* Lato Regular - 400 */
|
|
47
50
|
@font-face {
|
|
48
|
-
font-family:
|
|
51
|
+
font-family: Lato;
|
|
49
52
|
src: url(${latoRegularWoff2}) format('woff2'), url(${latoRegularWoff}) format('woff'), url(${latoRegular}) format('truetype');
|
|
50
53
|
font-weight: 400;
|
|
51
54
|
font-style: normal;
|
|
52
55
|
}
|
|
56
|
+
|
|
53
57
|
/* Lato Semi-Bold - 500 */
|
|
54
58
|
@font-face {
|
|
55
|
-
font-family:
|
|
59
|
+
font-family: Lato;
|
|
56
60
|
src: url(${latoSemiBoldWoff2}) format('woff2'), url(${latoSemiBoldWoff}) format('woff'), url(${latoSemiBold}) format('truetype');
|
|
57
61
|
font-weight: 500;
|
|
58
62
|
font-style: normal;
|
|
59
63
|
}
|
|
64
|
+
|
|
60
65
|
/* Lato Bold - 600 */
|
|
61
66
|
@font-face {
|
|
62
|
-
font-family:
|
|
67
|
+
font-family: Lato;
|
|
63
68
|
src: url(${latoBoldWoff2}) format('woff2'), url(${latoBoldWoff}) format('woff'), url(${latoBold}) format('truetype');
|
|
64
69
|
font-weight: 600;
|
|
65
70
|
font-style: normal;
|
|
66
71
|
}
|
|
72
|
+
|
|
67
73
|
/* Lato Black - 900 */
|
|
68
74
|
@font-face {
|
|
69
|
-
font-family:
|
|
75
|
+
font-family: Lato;
|
|
70
76
|
src: url(${latoBlackWoff2}) format('woff2'), url(${latoBlackWoff}) format('woff'), url(${latoBlack}) format('truetype');
|
|
71
77
|
font-weight: 900;
|
|
72
78
|
font-style: normal;
|
|
@@ -5,41 +5,43 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import Bloc from '../Bloc';
|
|
6
6
|
|
|
7
7
|
function FormBloc({ children, actions, isLoading, title, subtitle }) {
|
|
8
|
-
return
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
<
|
|
22
|
-
<
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
{subtitle && (
|
|
27
|
-
<Text color="grey" lineHeight="1.8rem">
|
|
28
|
-
{subtitle}
|
|
8
|
+
return (
|
|
9
|
+
<Bloc>
|
|
10
|
+
<BaselineAlignment top size={title ? '18px' : '22px'} />
|
|
11
|
+
<Padded left right size="sm">
|
|
12
|
+
{isLoading ? (
|
|
13
|
+
<>
|
|
14
|
+
<LoadingIndicator />
|
|
15
|
+
<BaselineAlignment bottom size="22px" />
|
|
16
|
+
</>
|
|
17
|
+
) : (
|
|
18
|
+
<>
|
|
19
|
+
{title && (
|
|
20
|
+
<>
|
|
21
|
+
<Padded left right size="xs">
|
|
22
|
+
<Flex justifyContent="space-between">
|
|
23
|
+
<Padded left right size="sm">
|
|
24
|
+
<Text fontSize="lg" fontWeight="bold">
|
|
25
|
+
{title}
|
|
29
26
|
</Text>
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
27
|
+
{subtitle && (
|
|
28
|
+
<Text color="grey" lineHeight="1.8rem">
|
|
29
|
+
{subtitle}
|
|
30
|
+
</Text>
|
|
31
|
+
)}
|
|
32
|
+
</Padded>
|
|
33
|
+
{actions}
|
|
34
|
+
</Flex>
|
|
35
|
+
</Padded>
|
|
36
|
+
<BaselineAlignment top size="18px" />
|
|
37
|
+
</>
|
|
38
|
+
)}
|
|
39
|
+
<Row>{children}</Row>
|
|
40
|
+
</>
|
|
41
|
+
)}
|
|
42
|
+
</Padded>
|
|
43
|
+
</Bloc>
|
|
44
|
+
);
|
|
43
45
|
}
|
|
44
46
|
|
|
45
47
|
FormBloc.defaultProps = {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { createGlobalStyle } from 'styled-components';
|
|
2
2
|
|
|
3
|
+
/* stylelint-disable selector-not-notation */
|
|
3
4
|
const GlobalStyle = createGlobalStyle`
|
|
4
5
|
html {
|
|
5
6
|
font-size: 62.5%;
|
|
6
7
|
}
|
|
7
8
|
|
|
8
9
|
body {
|
|
9
|
-
font-family:
|
|
10
|
+
font-family: Lato;
|
|
10
11
|
font-size: 1.4rem;
|
|
11
12
|
line-height: 1.5;
|
|
12
13
|
color: #292b2c;
|
|
@@ -15,7 +16,7 @@ const GlobalStyle = createGlobalStyle`
|
|
|
15
16
|
* {
|
|
16
17
|
-webkit-font-smoothing: antialiased;
|
|
17
18
|
box-sizing: border-box;
|
|
18
|
-
font-family:
|
|
19
|
+
font-family: Lato;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
|
|
@@ -52,7 +53,7 @@ const GlobalStyle = createGlobalStyle`
|
|
|
52
53
|
|
|
53
54
|
.modal-content {
|
|
54
55
|
border-radius: .2rem;
|
|
55
|
-
box-shadow: 0 2px 4px rgba(0, 0, 0,
|
|
56
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, 5%);
|
|
56
57
|
border: none;
|
|
57
58
|
|
|
58
59
|
}
|
|
@@ -101,7 +102,7 @@ const GlobalStyle = createGlobalStyle`
|
|
|
101
102
|
.btn-secondary,
|
|
102
103
|
.show > .btn-secondary.dropdown-toggle:focus {
|
|
103
104
|
&:focus, &:active, &:hover, &.focus {
|
|
104
|
-
box-shadow: 0 0 0
|
|
105
|
+
box-shadow: 0 0 0 0 rgba(134,142,150,50%);
|
|
105
106
|
color: rgb(51, 55, 64);
|
|
106
107
|
background-color: rgb(250, 250, 251) !important;
|
|
107
108
|
|
|
@@ -10,14 +10,11 @@ import PropTypes from 'prop-types';
|
|
|
10
10
|
const Header = styled.div`
|
|
11
11
|
width: 100%;
|
|
12
12
|
height: ${(props) => props.theme.main.sizes.header.height};
|
|
13
|
-
|
|
14
13
|
position: fixed;
|
|
15
14
|
z-index: 1040;
|
|
16
15
|
left: ${(props) => props.theme.main.sizes.leftMenu.width};
|
|
17
|
-
|
|
18
|
-
box-shadow: 0 1px 2px 0 rgba(40, 42, 49, 0.16);
|
|
16
|
+
box-shadow: 0 1px 2px 0 rgb(40 42 49 / 16%);
|
|
19
17
|
background-color: ${(props) => props.theme.main.colors.white};
|
|
20
|
-
|
|
21
18
|
line-height: ${(props) => props.theme.main.sizes.header.height};
|
|
22
19
|
`;
|
|
23
20
|
|
|
@@ -20,8 +20,7 @@ const Wrapper = styled.div`
|
|
|
20
20
|
height: ${(props) => props.theme.main.sizes.leftMenu.height};
|
|
21
21
|
font-size: 2rem;
|
|
22
22
|
letter-spacing: 0.2rem;
|
|
23
|
-
color:
|
|
24
|
-
|
|
23
|
+
color: white;
|
|
25
24
|
background-image: url(${Logo});
|
|
26
25
|
background-repeat: no-repeat;
|
|
27
26
|
background-position: left center;
|
|
@@ -4,11 +4,13 @@ import { Link } from 'react-router-dom';
|
|
|
4
4
|
import Wrapper from './Wrapper';
|
|
5
5
|
|
|
6
6
|
function LeftMenuHeader() {
|
|
7
|
-
return
|
|
8
|
-
<
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
return (
|
|
8
|
+
<Wrapper>
|
|
9
|
+
<Link to="/" className="leftMenuHeaderLink">
|
|
10
|
+
<span className="projectName" />
|
|
11
|
+
</Link>
|
|
12
|
+
</Wrapper>
|
|
13
|
+
);
|
|
12
14
|
}
|
|
13
15
|
|
|
14
16
|
export default LeftMenuHeader;
|
|
@@ -12,7 +12,7 @@ const FaIcon = styled(({ small, ...props }) => <FontAwesomeIcon {...props} />)`
|
|
|
12
12
|
`;
|
|
13
13
|
|
|
14
14
|
function LeftMenuIcon({ icon }) {
|
|
15
|
-
return <FaIcon small={icon === 'circle'} icon={icon}
|
|
15
|
+
return <FaIcon small={icon === 'circle'} icon={icon} />;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
LeftMenuIcon.propTypes = {
|
|
@@ -7,18 +7,20 @@ const NotificationWrapper = styled.div`
|
|
|
7
7
|
height: 14px;
|
|
8
8
|
margin-top: 4px;
|
|
9
9
|
margin-right: 20px;
|
|
10
|
-
padding:
|
|
10
|
+
padding: 0 4px;
|
|
11
11
|
background-color: #383d49;
|
|
12
12
|
border-radius: 2px;
|
|
13
13
|
font-size: 11px;
|
|
14
14
|
`;
|
|
15
15
|
|
|
16
16
|
function NotificationCount({ count }) {
|
|
17
|
-
return
|
|
18
|
-
<
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
return (
|
|
18
|
+
<NotificationWrapper>
|
|
19
|
+
<Text fontWeight="bold" fontSize="xs" lineHeight="14px" color="#919bae">
|
|
20
|
+
{count}
|
|
21
|
+
</Text>
|
|
22
|
+
</NotificationWrapper>
|
|
23
|
+
);
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
NotificationCount.defaultProps = {
|
|
@@ -4,10 +4,7 @@ import PropTypes from 'prop-types';
|
|
|
4
4
|
const LinksContainer = styled.div`
|
|
5
5
|
padding-top: 0.7rem;
|
|
6
6
|
position: absolute;
|
|
7
|
-
|
|
8
|
-
right: 0;
|
|
9
|
-
bottom: 0;
|
|
10
|
-
left: 0;
|
|
7
|
+
inset: ${(props) => props.theme.main.sizes.leftMenu.height} 0 0 0;
|
|
11
8
|
overflow-y: auto;
|
|
12
9
|
height: calc(100vh - (${(props) => props.theme.main.sizes.leftMenu.height} + 3rem));
|
|
13
10
|
box-sizing: border-box;
|
|
@@ -31,7 +31,7 @@ const GlobalNotification = createGlobalStyle`
|
|
|
31
31
|
width: 220px;
|
|
32
32
|
margin: 0;
|
|
33
33
|
padding-right: 10px;
|
|
34
|
-
border-right: 1px solid
|
|
34
|
+
border-right: 1px solid rgb(255 255 255 / 30%);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.notificationTitle {
|
|
@@ -118,7 +118,7 @@ const Li = styled.li`
|
|
|
118
118
|
margin-bottom: 14px;
|
|
119
119
|
background: ${(props) => props.theme.main.colors.white};
|
|
120
120
|
border-radius: 2px;
|
|
121
|
-
box-shadow: 0 1px 3px 0
|
|
121
|
+
box-shadow: 0 1px 3px 0 rgb(0 0 0 / 15%);
|
|
122
122
|
color: #333740;
|
|
123
123
|
transition: all 0.15s ease;
|
|
124
124
|
overflow: hidden;
|
|
@@ -141,7 +141,7 @@ const Li = styled.li`
|
|
|
141
141
|
|
|
142
142
|
&:hover {
|
|
143
143
|
cursor: pointer;
|
|
144
|
-
box-shadow: 0 1px 5px 0
|
|
144
|
+
box-shadow: 0 1px 5px 0 rgb(0 0 0 / 20%);
|
|
145
145
|
}
|
|
146
146
|
`;
|
|
147
147
|
|
|
@@ -5,7 +5,7 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import favicon from '../../favicon.png';
|
|
6
6
|
|
|
7
7
|
function PageTitle({ title }) {
|
|
8
|
-
return <Helmet title={title} link={[{ rel: 'icon', type: 'image/png', href: favicon }]}
|
|
8
|
+
return <Helmet title={title} link={[{ rel: 'icon', type: 'image/png', href: favicon }]} />;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
PageTitle.propTypes = {
|
|
@@ -46,4 +46,5 @@ ConditionsButton.propTypes = {
|
|
|
46
46
|
// This is a styled component advanced usage :
|
|
47
47
|
// Used to make a ref to a non styled component.
|
|
48
48
|
// https://styled-components.com/docs/advanced#caveat
|
|
49
|
+
/* stylelint-disable no-empty-source */
|
|
49
50
|
export default styled(ConditionsButton)``;
|
|
@@ -6,7 +6,7 @@ const Ul = styled.ul`
|
|
|
6
6
|
max-height: 150px;
|
|
7
7
|
font-size: 13px;
|
|
8
8
|
padding: 0 15px;
|
|
9
|
-
margin-bottom:
|
|
9
|
+
margin-bottom: 0;
|
|
10
10
|
list-style: none;
|
|
11
11
|
background-color: #fff;
|
|
12
12
|
> li {
|
|
@@ -14,7 +14,7 @@ const Ul = styled.ul`
|
|
|
14
14
|
flex-shrink: 1;
|
|
15
15
|
width: fit-content !important;
|
|
16
16
|
cursor: pointer;
|
|
17
|
-
margin-bottom:
|
|
17
|
+
margin-bottom: 0;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.check-wrapper {
|
|
@@ -25,7 +25,6 @@ const Ul = styled.ul`
|
|
|
25
25
|
}
|
|
26
26
|
.chevron {
|
|
27
27
|
margin: auto;
|
|
28
|
-
|
|
29
28
|
font-size: 11px;
|
|
30
29
|
color: #919bae;
|
|
31
30
|
}
|
|
@@ -53,10 +52,7 @@ const Ul = styled.ul`
|
|
|
53
52
|
content: '';
|
|
54
53
|
position: absolute;
|
|
55
54
|
z-index: 1;
|
|
56
|
-
|
|
57
|
-
left: -30px;
|
|
58
|
-
right: -30px;
|
|
59
|
-
bottom: 0;
|
|
55
|
+
inset: 0 -30px;
|
|
60
56
|
background-color: ${({ theme }) => theme.main.colors.lightBlue};
|
|
61
57
|
}
|
|
62
58
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/* eslint-disable indent */
|
|
2
|
+
/* stylelint-disable */
|
|
2
3
|
import styled from 'styled-components';
|
|
3
4
|
import CollapsePropertyMatrix from './CollapsePropertyMatrix/Wrapper';
|
|
4
5
|
|
|
@@ -8,7 +9,6 @@ const RowWrapper = styled.div`
|
|
|
8
9
|
`
|
|
9
10
|
margin: 9px 0;
|
|
10
11
|
`}
|
|
11
|
-
|
|
12
12
|
${CollapsePropertyMatrix}:last-of-type {
|
|
13
13
|
padding-bottom: 17px;
|
|
14
14
|
}
|
|
@@ -2,27 +2,29 @@ import React, { memo } from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
|
|
4
4
|
function Curve(props) {
|
|
5
|
-
return
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
<
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
5
|
+
return (
|
|
6
|
+
<svg
|
|
7
|
+
style={{
|
|
8
|
+
height: '14px',
|
|
9
|
+
transform: 'translate(-3.2px, -1px)',
|
|
10
|
+
position: 'relative',
|
|
11
|
+
}}
|
|
12
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
13
|
+
viewBox="0 0 21.08 21"
|
|
14
|
+
{...props}
|
|
15
|
+
>
|
|
16
|
+
<g>
|
|
17
|
+
<path
|
|
18
|
+
d="M2.58 2.5q-1.2 16 16 16"
|
|
19
|
+
fill="none"
|
|
20
|
+
stroke={props.fill}
|
|
21
|
+
strokeLinecap="round"
|
|
22
|
+
strokeLinejoin="round"
|
|
23
|
+
strokeWidth="5"
|
|
24
|
+
/>
|
|
25
|
+
</g>
|
|
26
|
+
</svg>
|
|
27
|
+
);
|
|
26
28
|
}
|
|
27
29
|
|
|
28
30
|
Curve.defaultProps = {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import SizedInput from '../../SizedInput';
|
|
3
3
|
|
|
4
4
|
function NameInput(inputProps) {
|
|
5
|
-
return <SizedInput name="name" type="text" {...inputProps}
|
|
5
|
+
return <SizedInput name="name" type="text" {...inputProps} />;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
export default NameInput;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
/* stylelint-disable */
|
|
2
|
+
|
|
1
3
|
import styled from 'styled-components';
|
|
2
4
|
import Tab from './Tab';
|
|
3
5
|
|
|
4
6
|
const TabsWrapper = styled.div`
|
|
5
7
|
display: block;
|
|
6
8
|
border-radius: ${({ theme }) => theme.main.sizes.borderRadius};
|
|
7
|
-
box-shadow: ${({ theme }) => `0px 2px 4px
|
|
9
|
+
box-shadow: ${({ theme }) => `0px 2px 4px 0 ${theme.main.colors.darkGrey}`};
|
|
8
10
|
|
|
9
11
|
${Tab}:first-of-type {
|
|
10
12
|
border-top-left-radius: ${({ theme }) => theme.main.sizes.borderRadius};
|
|
@@ -4,8 +4,8 @@ const Wrapper = styled.div`
|
|
|
4
4
|
height: 25px;
|
|
5
5
|
max-width: fit-content;
|
|
6
6
|
padding: 0 15px;
|
|
7
|
-
background:
|
|
8
|
-
border: 1px solid
|
|
7
|
+
background: rgb(0 126 255 / 8%);
|
|
8
|
+
border: 1px solid rgb(0 126 255 / 24%);
|
|
9
9
|
border-radius: 2px;
|
|
10
10
|
`;
|
|
11
11
|
|
|
@@ -2,19 +2,21 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
4
|
function Envelope() {
|
|
5
|
-
return
|
|
6
|
-
<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
5
|
+
return (
|
|
6
|
+
<svg width="24" height="17" xmlns="http://www.w3.org/2000/svg">
|
|
7
|
+
<text
|
|
8
|
+
transform="translate(-23 -9)"
|
|
9
|
+
fill="#4B515A"
|
|
10
|
+
fillRule="evenodd"
|
|
11
|
+
fontSize="24"
|
|
12
|
+
fontFamily="AppleColorEmoji, Apple Color Emoji"
|
|
13
|
+
>
|
|
14
|
+
<tspan x="23" y="28">
|
|
15
|
+
✉️
|
|
16
|
+
</tspan>
|
|
17
|
+
</text>
|
|
18
|
+
</svg>
|
|
19
|
+
);
|
|
18
20
|
}
|
|
19
21
|
|
|
20
22
|
export default Envelope;
|
|
@@ -5,7 +5,7 @@ const Wrapper = styled.div`
|
|
|
5
5
|
width: 100%;
|
|
6
6
|
display: flex;
|
|
7
7
|
margin-bottom: 4px;
|
|
8
|
-
|
|
8
|
+
&::before {
|
|
9
9
|
content: '';
|
|
10
10
|
width: 5px;
|
|
11
11
|
height: 100%;
|
|
@@ -14,8 +14,9 @@ const Wrapper = styled.div`
|
|
|
14
14
|
border-top-left-radius: ${({ theme }) => theme.main.sizes.borderRadius};
|
|
15
15
|
border-bottom-left-radius: ${({ theme }) => theme.main.sizes.borderRadius};
|
|
16
16
|
}
|
|
17
|
+
|
|
17
18
|
border-radius: ${({ theme }) => theme.main.sizes.borderRadius};
|
|
18
|
-
box-shadow: 0 2px 4px
|
|
19
|
+
box-shadow: 0 2px 4px rgb(0 0 0 / 5%);
|
|
19
20
|
|
|
20
21
|
.icon-duplicate {
|
|
21
22
|
margin-left: 10px;
|