@akemona-org/strapi-admin 3.13.2 → 3.14.1

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.
Files changed (62) hide show
  1. package/admin/src/components/BaselineAlignement/index.js +2 -4
  2. package/admin/src/components/Fonts/index.js +13 -7
  3. package/admin/src/components/FormBloc/index.js +36 -34
  4. package/admin/src/components/GlobalStyle/index.js +5 -4
  5. package/admin/src/components/Header/index.js +1 -4
  6. package/admin/src/components/LeftMenu/LeftMenuFooter/Wrapper.js +1 -1
  7. package/admin/src/components/LeftMenu/LeftMenuHeader/Wrapper.js +1 -2
  8. package/admin/src/components/LeftMenu/LeftMenuHeader/index.js +7 -5
  9. package/admin/src/components/LeftMenu/LeftMenuLink/LeftMenuIcon.js +1 -1
  10. package/admin/src/components/LeftMenu/LeftMenuLink/NotificationCount.js +8 -6
  11. package/admin/src/components/LeftMenu/LinksContainer/index.js +1 -4
  12. package/admin/src/components/Notifications/Notification/Li.js +3 -3
  13. package/admin/src/components/PageTitle/index.js +1 -1
  14. package/admin/src/components/Roles/CheckboxWithCondition/index.js +1 -1
  15. package/admin/src/components/Roles/ConditionsButton/index.js +1 -0
  16. package/admin/src/components/Roles/ConditionsModal/ConditionsSelect/IndicatorSeparator.js +1 -1
  17. package/admin/src/components/Roles/ConditionsModal/ConditionsSelect/MenuList/SubUl.js +1 -1
  18. package/admin/src/components/Roles/ConditionsModal/ConditionsSelect/MenuList/Ul.js +3 -7
  19. package/admin/src/components/Roles/ContentTypeCollapse/CollapsePropertyMatrix/SubActionRow/row.js +1 -1
  20. package/admin/src/components/Roles/ContentTypeCollapse/CollapsePropertyMatrix/Wrapper.js +1 -1
  21. package/admin/src/components/Roles/ContentTypeCollapse/Wrapper.js +1 -1
  22. package/admin/src/components/Roles/Curve/index.js +23 -21
  23. package/admin/src/components/Roles/PluginsAndSettings/SubCategory/Wrapper.js +1 -1
  24. package/admin/src/components/Roles/PluginsAndSettings/SubCategory/index.js +1 -1
  25. package/admin/src/components/Roles/RequiredSign/index.js +1 -1
  26. package/admin/src/components/Roles/RoleForm/NameInput.js +1 -1
  27. package/admin/src/components/Roles/Tabs/TabsWrapper.js +3 -1
  28. package/admin/src/components/UpgradePlanModal/components/Option/Wrapper.js +2 -2
  29. package/admin/src/components/Users/LinkNotification/Envelope.js +15 -13
  30. package/admin/src/components/Users/LinkNotification/Wrapper.js +3 -2
  31. package/admin/src/components/Users/List/ActiveStatus.js +1 -1
  32. package/admin/src/components/Users/SelectRoles/IndicatorSeparator.js +1 -1
  33. package/admin/src/components/Webhooks/EventInput/Wrapper.js +4 -4
  34. package/admin/src/components/Webhooks/HeadersInput/Wrapper.js +1 -1
  35. package/admin/src/components/Webhooks/Switch/Wrapper.js +2 -5
  36. package/admin/src/containers/Admin/Logout/components.js +7 -7
  37. package/admin/src/containers/App/components.js +1 -1
  38. package/admin/src/containers/AuthPage/components/Box/Wrapper.js +1 -1
  39. package/admin/src/containers/AuthPage/components/Box/index.js +10 -8
  40. package/admin/src/containers/AuthPage/components/ForgotPasswordSuccess/Envelope.js +15 -13
  41. package/admin/src/containers/AuthPage/components/Logo/index.js +1 -1
  42. package/admin/src/containers/HomePage/components.js +16 -16
  43. package/admin/src/containers/InstalledPluginsPage/Logo.js +1 -4
  44. package/admin/src/containers/LeftMenu/LoaderWrapper.js +1 -4
  45. package/admin/src/containers/LocaleToggle/Wrapper.js +7 -7
  46. package/admin/src/containers/MarketplacePage/MarketplaceBanner/Wrapper.js +0 -1
  47. package/admin/src/containers/MarketplacePage/PluginCard/Wrapper.js +2 -1
  48. package/admin/src/containers/NewNotification/Notification/styledComponents.js +1 -1
  49. package/admin/src/containers/NotFoundPage/index.js +1 -1
  50. package/admin/src/containers/Onboarding/Li.js +1 -1
  51. package/admin/src/containers/Onboarding/Wrapper.js +4 -4
  52. package/admin/src/containers/PrivateRoute/index.js +16 -14
  53. package/admin/src/containers/Roles/ProtectedListPage/index.js +5 -3
  54. package/admin/src/containers/SettingsPage/components/ApplicationDetailLink/Notif.js +1 -1
  55. package/admin/src/containers/SettingsPage/components/ApplicationDetailLink/Wrapper.js +1 -1
  56. package/admin/src/containers/SettingsPage/components/StyledLeftMenu/index.js +1 -0
  57. package/admin/src/containers/Users/ProtectedListPage/index.js +5 -3
  58. package/admin/src/containers/Webhooks/EditView/Wrapper.js +3 -3
  59. package/admin/src/containers/Webhooks/ProtectedCreateView/index.js +5 -3
  60. package/admin/src/containers/Webhooks/ProtectedEditView/index.js +5 -3
  61. package/admin/src/containers/Webhooks/ProtectedListView/index.js +5 -3
  62. 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-top: ${({ size, top }) => top && size};
12
- padding-right: ${({ size, right }) => right && size};
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: 'FontAwesome';
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: 'FontAwesome';
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: 'FontAwesome';
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: 'Lato';
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: 'Lato';
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: 'Lato';
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: 'Lato';
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 <Bloc>
9
- <BaselineAlignment top size={title ? '18px' : '22px'} />
10
- <Padded left right size="sm">
11
- {isLoading ? (
12
- <>
13
- <LoadingIndicator />
14
- <BaselineAlignment bottom size="22px" />
15
- </>
16
- ) : (
17
- <>
18
- {title && (
19
- <>
20
- <Padded left right size="xs">
21
- <Flex justifyContent="space-between">
22
- <Padded left right size="sm">
23
- <Text fontSize="lg" fontWeight="bold">
24
- {title}
25
- </Text>
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
- </Padded>
32
- {actions}
33
- </Flex>
34
- </Padded>
35
- <BaselineAlignment top size="18px" />
36
- </>
37
- )}
38
- <Row>{children}</Row>
39
- </>
40
- )}
41
- </Padded>
42
- </Bloc>
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: 'Lato';
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: 'Lato';
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, 0.05);
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 0px rgba(134,142,150,0.5);
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
 
@@ -13,7 +13,7 @@ const Wrapper = styled.div`
13
13
  padding-left: 15px;
14
14
  padding-right: 15px;
15
15
  line-height: 3rem;
16
- background-color: rgba(255, 255, 255, 0.02);
16
+ background-color: rgb(255 255 255 / 2%);
17
17
  font-size: 1rem;
18
18
  font-weight: 400;
19
19
  letter-spacing: 0.05rem;
@@ -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: $white;
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 <Wrapper>
8
- <Link to="/" className="leftMenuHeaderLink">
9
- <span className="projectName" />
10
- </Link>
11
- </Wrapper>
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: 0px 4px;
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 <NotificationWrapper>
18
- <Text fontWeight="bold" fontSize="xs" lineHeight="14px" color="#919bae">
19
- {count}
20
- </Text>
21
- </NotificationWrapper>
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
- top: ${(props) => props.theme.main.sizes.leftMenu.height};
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 rgba(255, 255, 255, 0.3);
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 rgba(0, 0, 0, 0.15);
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 rgba(0, 0, 0, 0.2);
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 = {
@@ -10,7 +10,7 @@ const CheckboxWithCondition = styled(Checkbox)`
10
10
 
11
11
  input[type='checkbox'] {
12
12
  z-index: 10;
13
- &:after {
13
+ &::after {
14
14
  color: ${({ theme }) => theme.main.colors.mediumBlue};
15
15
  }
16
16
  }
@@ -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)``;
@@ -1,5 +1,5 @@
1
1
  function IndicatorSeparator() {
2
- return null
2
+ return null;
3
3
  }
4
4
 
5
5
  export default IndicatorSeparator;
@@ -6,7 +6,7 @@ import { Collapse } from 'reactstrap';
6
6
 
7
7
  const ToggleUl = styled(Collapse)`
8
8
  font-size: 13px;
9
- padding: 12px 15px 0 15px;
9
+ padding: 12px 15px 0;
10
10
  list-style: none;
11
11
  background-color: #fff;
12
12
  > li {
@@ -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: 0px;
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: 0px;
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
- top: 0;
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
  }
@@ -21,7 +21,7 @@ const RowStyle = styled.div`
21
21
  ${activeStyle(theme)}
22
22
  }
23
23
  `}
24
- ${({ isActive, theme }) => isActive && activeStyle(theme)}}
24
+ ${({ isActive, theme }) => isActive && activeStyle(theme)}
25
25
  `;
26
26
 
27
27
  RowStyle.propTypes = {
@@ -11,7 +11,7 @@ const Wrapper = styled.div`
11
11
 
12
12
  return `none`;
13
13
  }};
14
- border-radius: 0px 0px 2px 2px;
14
+ border-radius: 0 0 2px 2px;
15
15
  `;
16
16
 
17
17
  Wrapper.defaultProps = {
@@ -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 <svg
6
- style={{
7
- height: '14px',
8
- transform: 'translate(-3.2px, -1px)',
9
- position: 'relative',
10
- }}
11
- xmlns="http://www.w3.org/2000/svg"
12
- viewBox="0 0 21.08 21"
13
- {...props}
14
- >
15
- <g>
16
- <path
17
- d="M2.58 2.5q-1.2 16 16 16"
18
- fill="none"
19
- stroke={props.fill}
20
- strokeLinecap="round"
21
- strokeLinejoin="round"
22
- strokeWidth="5"
23
- />
24
- </g>
25
- </svg>
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 = {
@@ -4,7 +4,7 @@ import styled from 'styled-components';
4
4
  const Wrapper = styled.div`
5
5
  padding-bottom: 2.6rem;
6
6
  input[type='checkbox'] {
7
- &:after {
7
+ &::after {
8
8
  color: ${({ theme }) => theme.main.colors.mediumBlue};
9
9
  }
10
10
  }
@@ -19,7 +19,7 @@ const Border = styled.div`
19
19
  flex: 1;
20
20
  align-self: center;
21
21
  border-top: 1px solid #f6f6f6;
22
- padding: 0px 10px;
22
+ padding: 0 10px;
23
23
  `;
24
24
 
25
25
  function SubCategory({ categoryName, isFormDisabled, subCategoryName, actions, pathToData }) {
@@ -7,7 +7,7 @@ const Required = styled.span`
7
7
  `;
8
8
 
9
9
  function RequiredSign() {
10
- return <Required>*</Required>
10
+ return <Required>*</Required>;
11
11
  }
12
12
 
13
13
  export default RequiredSign;
@@ -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 0px ${theme.main.colors.darkGrey}`};
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: rgba(0, 126, 255, 0.08);
8
- border: 1px solid rgba(0, 126, 255, 0.24);
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 <svg width="24" height="17" xmlns="http://www.w3.org/2000/svg">
6
- <text
7
- transform="translate(-23 -9)"
8
- fill="#4B515A"
9
- fillRule="evenodd"
10
- fontSize="24"
11
- fontFamily="AppleColorEmoji, Apple Color Emoji"
12
- >
13
- <tspan x="23" y="28">
14
- ✉️
15
- </tspan>
16
- </text>
17
- </svg>
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
- &:before {
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 rgba(0, 0, 0, 0.05);
19
+ box-shadow: 0 2px 4px rgb(0 0 0 / 5%);
19
20
 
20
21
  .icon-duplicate {
21
22
  margin-left: 10px;
@@ -5,7 +5,7 @@ const ActiveStatus = styled.div`
5
5
  text-overflow: ellipsis;
6
6
  white-space: nowrap;
7
7
 
8
- &:before {
8
+ &::before {
9
9
  content: '';
10
10
  display: inline-block;
11
11
  width: 6px;
@@ -1,5 +1,5 @@
1
1
  function IndicatorSeparator() {
2
- return null
2
+ return null;
3
3
  }
4
4
 
5
5
  export default IndicatorSeparator;