@akemona-org/strapi-plugin-content-manager 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.
- package/admin/src/components/AddDropdown/components.js +3 -4
- package/admin/src/components/Block/components.js +2 -2
- package/admin/src/components/Block/index.js +15 -13
- package/admin/src/components/Container/index.js +1 -1
- package/admin/src/components/CustomInputCheckbox/components.js +8 -8
- package/admin/src/components/CustomTable/ActionCollapse/Delete.js +1 -1
- package/admin/src/components/CustomTable/ActionCollapse/DeleteAll.js +1 -1
- package/admin/src/components/CustomTable/Row/ActionContainer.js +1 -2
- package/admin/src/components/CustomTable/styledComponents.js +3 -3
- package/admin/src/components/DraggedField/GrabWrapper.js +2 -2
- package/admin/src/components/DraggedField/RemoveWrapper.js +2 -2
- package/admin/src/components/DraggedField/SubWrapper.js +0 -2
- package/admin/src/components/DraggedFieldWithPreview/Carret.js +1 -1
- package/admin/src/components/DraggedFieldWithPreview/DynamicZoneWrapper.js +1 -1
- package/admin/src/components/DraggedFieldWithPreview/Tooltip.js +1 -1
- package/admin/src/components/DynamicComponentCard/Wrapper.js +2 -2
- package/admin/src/components/DynamicZone/Button.js +2 -2
- package/admin/src/components/DynamicZone/Component/RoundCTA.js +3 -3
- package/admin/src/components/DynamicZone/ComponentWrapper.js +1 -1
- package/admin/src/components/DynamicZone/Label.js +2 -2
- package/admin/src/components/DynamicZone/Picker/Category/Banner/Wrapper.js +1 -1
- package/admin/src/components/DynamicZone/Picker/Wrapper.js +1 -1
- package/admin/src/components/DynamicZone/utils/connect.js +1 -1
- package/admin/src/components/FieldComponent/EmptyComponent.js +1 -1
- package/admin/src/components/FieldComponent/ResetComponent.js +2 -2
- package/admin/src/components/FieldComponent/utils/connect.js +1 -1
- package/admin/src/components/FilterOptionsCTA/index.js +1 -1
- package/admin/src/components/FilterPicker/components.js +2 -2
- package/admin/src/components/FilterPickerOption/components.js +4 -4
- package/admin/src/components/FormTitle/index.js +8 -4
- package/admin/src/components/FormWrapper/index.js +2 -2
- package/admin/src/components/InputUID/Options/index.js +13 -11
- package/admin/src/components/Inputs/utils/connect.js +1 -1
- package/admin/src/components/MediaPreviewList/StyledMediaPreviewList.js +2 -2
- package/admin/src/components/PlusButton/index.js +4 -4
- package/admin/src/components/PreviewCarret/components.js +0 -2
- package/admin/src/components/PreviewCarret/index.js +5 -3
- package/admin/src/components/PreviewWysiwyg/Wrapper.js +6 -7
- package/admin/src/components/RepeatableComponent/AddFieldButton.js +4 -7
- package/admin/src/components/RepeatableComponent/BannerWrapper.js +0 -5
- package/admin/src/components/RepeatableComponent/DraggedItem/utils/connect.js +1 -1
- package/admin/src/components/RepeatableComponent/EmptyComponent.js +1 -1
- package/admin/src/components/RepeatableComponent/FormWrapper.js +1 -4
- package/admin/src/components/RepeatableComponent/utils/connect.js +1 -1
- package/admin/src/components/SelectMany/components.js +14 -14
- package/admin/src/components/SelectWrapper/IndicatorSeparator.js +1 -1
- package/admin/src/components/SelectWrapper/utils/connect.js +1 -1
- package/admin/src/components/SettingFormWrapper/index.js +1 -1
- package/admin/src/components/Truncate/index.js +1 -0
- package/admin/src/components/Wysiwyg/EditorWrapper.js +3 -7
- package/admin/src/components/Wysiwyg/PreviewControlWrapper.js +2 -1
- package/admin/src/components/Wysiwyg/SelectWrapper.js +1 -1
- package/admin/src/components/Wysiwyg/ToggleModeWrapper.js +1 -1
- package/admin/src/components/Wysiwyg/previewControl.js +8 -6
- package/admin/src/components/WysiwygBottomControls/components.js +1 -1
- package/admin/src/components/WysiwygDropUpload/Label.js +2 -5
- package/admin/src/components/WysiwygInlineControls/StyledButton.js +5 -5
- package/admin/src/components/WysiwygInlineControls/Wrapper.js +1 -1
- package/admin/src/components/WysiwygWithErrors/Wrapper.js +1 -1
- package/admin/src/containers/EditView/DeleteLink/utils/connect.js +1 -1
- package/admin/src/containers/EditView/Header/utils/connect.js +1 -1
- package/admin/src/containers/EditView/components.js +3 -3
- package/admin/src/containers/EditViewDataManagerProvider/utils/schema.js +6 -6
- package/admin/src/containers/ListSettingsView/DragWrapper.js +1 -2
- package/admin/src/containers/ListSettingsView/MenuDropdown.js +2 -3
- package/admin/src/containers/ListSettingsView/Toggle.js +2 -3
- package/admin/src/containers/ListView/FieldPicker/ConfigureLink/StyledLink.js +0 -1
- package/admin/src/containers/ListView/FieldPicker/Fields/Wrapper.js +1 -1
- package/admin/src/containers/ListView/components.js +6 -6
- package/admin/src/containers/ListView/index.js +129 -131
- package/package.json +5 -5
|
@@ -7,7 +7,7 @@ const Wrapper = styled.div`
|
|
|
7
7
|
height: 30px;
|
|
8
8
|
width: 100%;
|
|
9
9
|
justify-content: space-between;
|
|
10
|
-
background: #
|
|
10
|
+
background: #fff;
|
|
11
11
|
color: #333740;
|
|
12
12
|
border-radius: 2px;
|
|
13
13
|
border: solid 1px #007eff;
|
|
@@ -19,7 +19,7 @@ const Wrapper = styled.div`
|
|
|
19
19
|
width: 100%;
|
|
20
20
|
color: #333740;
|
|
21
21
|
text-align: left;
|
|
22
|
-
background-color: #
|
|
22
|
+
background-color: #fff;
|
|
23
23
|
border: none;
|
|
24
24
|
font-size: 13px;
|
|
25
25
|
font-weight: 500;
|
|
@@ -59,8 +59,7 @@ const Wrapper = styled.div`
|
|
|
59
59
|
border-top-right-radius: 0;
|
|
60
60
|
border-color: #e3e9f3 !important;
|
|
61
61
|
border-top-color: #aed4fb !important;
|
|
62
|
-
box-shadow: 0 2px 3px
|
|
63
|
-
|
|
62
|
+
box-shadow: 0 2px 3px rgb(227 233 245 / 50%);
|
|
64
63
|
overflow: scroll;
|
|
65
64
|
|
|
66
65
|
button {
|
|
@@ -2,7 +2,7 @@ import styled from 'styled-components';
|
|
|
2
2
|
|
|
3
3
|
const Wrapper = styled.div`
|
|
4
4
|
margin-bottom: 35px;
|
|
5
|
-
background: #
|
|
5
|
+
background: #fff;
|
|
6
6
|
padding: 22px 28px 18px;
|
|
7
7
|
padding-bottom: 13px;
|
|
8
8
|
border-radius: 2px;
|
|
@@ -11,7 +11,7 @@ const Wrapper = styled.div`
|
|
|
11
11
|
`;
|
|
12
12
|
|
|
13
13
|
const Sub = styled.div`
|
|
14
|
-
padding-top:
|
|
14
|
+
padding-top: 0;
|
|
15
15
|
line-height: 18px;
|
|
16
16
|
> p:first-child {
|
|
17
17
|
margin-bottom: 1px;
|
|
@@ -11,19 +11,21 @@ import { Wrapper, Sub } from './components';
|
|
|
11
11
|
const renderMsg = (msg) => <p>{msg}</p>;
|
|
12
12
|
|
|
13
13
|
function Block({ children, description, style, title }) {
|
|
14
|
-
return
|
|
15
|
-
<
|
|
16
|
-
<
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
<
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
14
|
+
return (
|
|
15
|
+
<div className="col-md-12">
|
|
16
|
+
<Wrapper style={style}>
|
|
17
|
+
<Sub>
|
|
18
|
+
{!!title && (
|
|
19
|
+
<p>
|
|
20
|
+
<FormattedMessage id={title} />
|
|
21
|
+
</p>
|
|
22
|
+
)}
|
|
23
|
+
{!!description && <FormattedMessage id={description}>{renderMsg}</FormattedMessage>}
|
|
24
|
+
</Sub>
|
|
25
|
+
{children}
|
|
26
|
+
</Wrapper>
|
|
27
|
+
</div>
|
|
28
|
+
);
|
|
27
29
|
}
|
|
28
30
|
|
|
29
31
|
Block.defaultProps = {
|
|
@@ -8,14 +8,14 @@ const Label = styled.label`
|
|
|
8
8
|
> input {
|
|
9
9
|
display: none;
|
|
10
10
|
}
|
|
11
|
-
|
|
11
|
+
&::before {
|
|
12
12
|
content: '';
|
|
13
13
|
position: absolute;
|
|
14
14
|
left: 15px;
|
|
15
15
|
top: calc(50% - 8px);
|
|
16
16
|
width: 14px;
|
|
17
17
|
height: 14px;
|
|
18
|
-
border: 1px solid
|
|
18
|
+
border: 1px solid rgb(16 22 34 / 15%);
|
|
19
19
|
background-color: #fdfdfd;
|
|
20
20
|
border-radius: 3px;
|
|
21
21
|
}
|
|
@@ -23,13 +23,13 @@ const Label = styled.label`
|
|
|
23
23
|
${({ shouldDisplaySomeChecked }) => {
|
|
24
24
|
if (shouldDisplaySomeChecked) {
|
|
25
25
|
return css`
|
|
26
|
-
|
|
26
|
+
&::after {
|
|
27
27
|
content: '\f068';
|
|
28
28
|
position: absolute;
|
|
29
29
|
top: calc(50% - 8px);
|
|
30
30
|
left: 18px;
|
|
31
31
|
font-size: 10px;
|
|
32
|
-
font-family:
|
|
32
|
+
font-family: FontAwesome;
|
|
33
33
|
font-weight: 100;
|
|
34
34
|
color: #1c5de7;
|
|
35
35
|
}
|
|
@@ -40,13 +40,13 @@ const Label = styled.label`
|
|
|
40
40
|
${({ shouldDisplayAllChecked }) => {
|
|
41
41
|
if (shouldDisplayAllChecked) {
|
|
42
42
|
return css`
|
|
43
|
-
|
|
43
|
+
&::after {
|
|
44
44
|
content: '\f00c';
|
|
45
45
|
position: absolute;
|
|
46
46
|
top: calc(50% - 9px);
|
|
47
47
|
left: 17px;
|
|
48
48
|
font-size: 10px;
|
|
49
|
-
font-family:
|
|
49
|
+
font-family: FontAwesome;
|
|
50
50
|
font-weight: 100;
|
|
51
51
|
color: #1c5de7;
|
|
52
52
|
transition: all 0.2s;
|
|
@@ -58,13 +58,13 @@ const Label = styled.label`
|
|
|
58
58
|
${({ isChecked }) => {
|
|
59
59
|
if (isChecked) {
|
|
60
60
|
return css`
|
|
61
|
-
|
|
61
|
+
&::after {
|
|
62
62
|
content: '\f00c';
|
|
63
63
|
position: absolute;
|
|
64
64
|
top: calc(50% - 11px);
|
|
65
65
|
left: 17px;
|
|
66
66
|
font-size: 10px;
|
|
67
|
-
font-family:
|
|
67
|
+
font-family: FontAwesome;
|
|
68
68
|
font-weight: 100;
|
|
69
69
|
color: #1c5de7;
|
|
70
70
|
transition: all 0.2s;
|
|
@@ -29,7 +29,7 @@ const Table = styled.table`
|
|
|
29
29
|
const TableEmpty = styled.tr`
|
|
30
30
|
width: 100%;
|
|
31
31
|
height: 108px;
|
|
32
|
-
background: #
|
|
32
|
+
background: #fff;
|
|
33
33
|
|
|
34
34
|
td {
|
|
35
35
|
height: 106px;
|
|
@@ -45,7 +45,7 @@ const TableEmpty = styled.tr`
|
|
|
45
45
|
|
|
46
46
|
const TableRow = styled.tr`
|
|
47
47
|
height: 54px;
|
|
48
|
-
background: #
|
|
48
|
+
background: #fff;
|
|
49
49
|
|
|
50
50
|
&:hover {
|
|
51
51
|
cursor: pointer;
|
|
@@ -75,7 +75,7 @@ const LoadingWrapper = styled.div`
|
|
|
75
75
|
display: flex;
|
|
76
76
|
background: ${(props) => props.theme.main.colors.white};
|
|
77
77
|
box-shadow: 0 2px 4px ${(props) => props.theme.main.colors.darkGrey};
|
|
78
|
-
clip-path: inset(
|
|
78
|
+
clip-path: inset(0 -5px -5px -5px);
|
|
79
79
|
`;
|
|
80
80
|
|
|
81
81
|
LoadingWrapper.propTypes = {
|
|
@@ -14,10 +14,8 @@ const SubWrapper = styled.div`
|
|
|
14
14
|
`;
|
|
15
15
|
}
|
|
16
16
|
}};
|
|
17
|
-
|
|
18
17
|
line-height: ${({ withLongerHeight }) => getHeight(withLongerHeight)};
|
|
19
18
|
cursor: pointer;
|
|
20
|
-
|
|
21
19
|
background: ${({ isOverEditBlock, isOverRemove, isSelected }) => {
|
|
22
20
|
if (isOverRemove) {
|
|
23
21
|
return '#ffe9e0';
|
|
@@ -6,12 +6,12 @@ const Wrapper = styled.div`
|
|
|
6
6
|
width: 139px !important;
|
|
7
7
|
margin: 0 10px 10px 0;
|
|
8
8
|
padding: 18px 10px;
|
|
9
|
-
background-color: #
|
|
9
|
+
background-color: #fff;
|
|
10
10
|
color: #919bae;
|
|
11
11
|
text-align: center;
|
|
12
12
|
border-radius: 2px;
|
|
13
13
|
cursor: pointer;
|
|
14
|
-
border: 1px solid #
|
|
14
|
+
border: 1px solid #fff;
|
|
15
15
|
|
|
16
16
|
button {
|
|
17
17
|
outline: 0;
|
|
@@ -5,7 +5,7 @@ const RoundCTA = styled.div`
|
|
|
5
5
|
width: 31px;
|
|
6
6
|
border-radius: 50%;
|
|
7
7
|
background-color: #f2f3f4;
|
|
8
|
-
border: 2px solid #
|
|
8
|
+
border: 2px solid #fff;
|
|
9
9
|
cursor: pointer;
|
|
10
10
|
display: flex;
|
|
11
11
|
z-index: 9;
|
|
@@ -27,8 +27,8 @@ const RoundCTA = styled.div`
|
|
|
27
27
|
&.arrow-btn {
|
|
28
28
|
height: 22px;
|
|
29
29
|
width: 22px;
|
|
30
|
-
background-color: #
|
|
31
|
-
border: 2px solid #
|
|
30
|
+
background-color: #fff;
|
|
31
|
+
border: 2px solid #fff;
|
|
32
32
|
svg {
|
|
33
33
|
font-size: 10px;
|
|
34
34
|
line-height: 22px;
|
|
@@ -6,7 +6,7 @@ const Label = styled.div`
|
|
|
6
6
|
font-weight: 600;
|
|
7
7
|
position: relative;
|
|
8
8
|
min-height: 64px;
|
|
9
|
-
|
|
9
|
+
&::after {
|
|
10
10
|
content: '•';
|
|
11
11
|
position: absolute;
|
|
12
12
|
top: 15px;
|
|
@@ -19,7 +19,7 @@ const Label = styled.div`
|
|
|
19
19
|
border-radius: 4px;
|
|
20
20
|
border: 1px solid white;
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
&::before {
|
|
23
23
|
content: '&';
|
|
24
24
|
position: absolute;
|
|
25
25
|
top: 22px;
|
|
@@ -8,7 +8,7 @@ const BannerWrapper = styled.button`
|
|
|
8
8
|
width: 100%;
|
|
9
9
|
padding: 0 15px;
|
|
10
10
|
border-bottom: 0;
|
|
11
|
-
border: 1px solid
|
|
11
|
+
border: 1px solid rgb(227 233 243 / 75%);
|
|
12
12
|
background-color: ${({ theme }) => theme.main.colors.white};
|
|
13
13
|
font-size: ${({ theme }) => theme.main.sizes.fonts.md};
|
|
14
14
|
font-weight: ${({ theme }) => theme.main.fontWeights.semiBold};
|
|
@@ -2,7 +2,7 @@ import styled from 'styled-components';
|
|
|
2
2
|
|
|
3
3
|
const EmptyComponent = styled.div`
|
|
4
4
|
height: 72px;
|
|
5
|
-
border: 1px solid
|
|
5
|
+
border: 1px solid rgb(227 233 243 / 75%);
|
|
6
6
|
border-top-left-radius: 2px;
|
|
7
7
|
border-top-right-radius: 2px;
|
|
8
8
|
border-bottom: 0;
|
|
@@ -5,7 +5,6 @@ const ResetComponent = styled.div`
|
|
|
5
5
|
top: 0;
|
|
6
6
|
right: 15px;
|
|
7
7
|
display: flex;
|
|
8
|
-
|
|
9
8
|
cursor: pointer;
|
|
10
9
|
color: #4b515a;
|
|
11
10
|
|
|
@@ -18,6 +17,7 @@ const ResetComponent = styled.div`
|
|
|
18
17
|
> div {
|
|
19
18
|
background-color: #faa684;
|
|
20
19
|
}
|
|
20
|
+
|
|
21
21
|
color: #f64d0a;
|
|
22
22
|
> span {
|
|
23
23
|
display: initial;
|
|
@@ -30,7 +30,7 @@ const ResetComponent = styled.div`
|
|
|
30
30
|
background-color: #f3f4f4;
|
|
31
31
|
text-align: center;
|
|
32
32
|
border-radius: 2px;
|
|
33
|
-
|
|
33
|
+
&::after {
|
|
34
34
|
content: '\f2ed';
|
|
35
35
|
font-size: 10px;
|
|
36
36
|
font-family: FontAwesome;
|
|
@@ -19,7 +19,7 @@ const Span = styled.span`
|
|
|
19
19
|
vertical-align: text-top;
|
|
20
20
|
cursor: pointer;
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
&::after {
|
|
23
23
|
margin-left: 2px;
|
|
24
24
|
content: '\f077';
|
|
25
25
|
font-family: FontAwesome;
|
|
@@ -41,7 +41,7 @@ const Div = styled.div`
|
|
|
41
41
|
margin: ${(props) => (props.show ? '-100px -30px 30px' : `-${props.number}px -30px 103px`)};
|
|
42
42
|
background: #fff;
|
|
43
43
|
box-shadow: 3px 2px 4px #e3e9f3;
|
|
44
|
-
padding: 18px 30px
|
|
44
|
+
padding: 18px 30px 0;
|
|
45
45
|
transition: ${(props) => {
|
|
46
46
|
if (props.anim) {
|
|
47
47
|
return props.show
|
|
@@ -6,14 +6,14 @@ const Wrapper = styled.div`
|
|
|
6
6
|
min-height: 38px;
|
|
7
7
|
border-left: ${(props) => props.borderLeft && '3px solid #007EFF'};
|
|
8
8
|
padding-left: ${(props) => (props.borderLeft ? '10px' : '13px')};
|
|
9
|
-
margin-bottom:
|
|
9
|
+
margin-bottom: 0 !important;
|
|
10
10
|
`;
|
|
11
11
|
|
|
12
12
|
const InputWrapper = styled.div`
|
|
13
13
|
display: flex;
|
|
14
14
|
input,
|
|
15
15
|
select {
|
|
16
|
-
margin:
|
|
16
|
+
margin: 0 5px !important;
|
|
17
17
|
}
|
|
18
18
|
`;
|
|
19
19
|
|
|
@@ -54,7 +54,7 @@ const Input = styled.input`
|
|
|
54
54
|
border-radius: 0.25rem;
|
|
55
55
|
line-height: 3.4rem;
|
|
56
56
|
font-size: 1.3rem;
|
|
57
|
-
font-family:
|
|
58
|
-
box-shadow:
|
|
57
|
+
font-family: Lato !important;
|
|
58
|
+
box-shadow: 0 1px 1px rgb(104 118 142 / 5%);
|
|
59
59
|
`;
|
|
60
60
|
export { InputWrapper, Wrapper, InputWrapperDate, Input };
|
|
@@ -3,10 +3,14 @@ import PropTypes from 'prop-types';
|
|
|
3
3
|
import { FormattedMessage } from 'react-intl';
|
|
4
4
|
|
|
5
5
|
function FormTitle({ description, title }) {
|
|
6
|
-
return
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
return (
|
|
7
|
+
<>
|
|
8
|
+
{!!title && <FormattedMessage id={title} />}
|
|
9
|
+
{!!description && (
|
|
10
|
+
<FormattedMessage id={description}>{(msg) => <p>{msg}</p>}</FormattedMessage>
|
|
11
|
+
)}
|
|
12
|
+
</>
|
|
13
|
+
);
|
|
10
14
|
}
|
|
11
15
|
|
|
12
16
|
FormTitle.propTypes = {
|
|
@@ -9,17 +9,19 @@ import OptionsTitle from './OptionsTitle';
|
|
|
9
9
|
import RightOptionLabel from './RightOptionLabel';
|
|
10
10
|
|
|
11
11
|
function Options({ options, title }) {
|
|
12
|
-
return
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
<
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
12
|
+
return (
|
|
13
|
+
<OptionsWrapper>
|
|
14
|
+
{title && <OptionsTitle>{title}</OptionsTitle>}
|
|
15
|
+
{options.map((option) => (
|
|
16
|
+
<Option key={option.id} onClick={option.onClick}>
|
|
17
|
+
<div>{option.label}</div>
|
|
18
|
+
<FormattedMessage id={getTrad('components.uid.apply')}>
|
|
19
|
+
{(msg) => <RightOptionLabel className="right-label">{msg}</RightOptionLabel>}
|
|
20
|
+
</FormattedMessage>
|
|
21
|
+
</Option>
|
|
22
|
+
))}
|
|
23
|
+
</OptionsWrapper>
|
|
24
|
+
);
|
|
23
25
|
}
|
|
24
26
|
|
|
25
27
|
Options.propTypes = {
|
|
@@ -80,7 +80,7 @@ const MediaPreviewFile = styled(MediaPreviewItem)`
|
|
|
80
80
|
font-size: 15px;
|
|
81
81
|
width: 100%;
|
|
82
82
|
height: 100%;
|
|
83
|
-
|
|
83
|
+
&::before {
|
|
84
84
|
width: 100%;
|
|
85
85
|
height: 100%;
|
|
86
86
|
padding: 10px;
|
|
@@ -145,7 +145,7 @@ const MediaPreviewImage = styled(MediaPreviewItem)`
|
|
|
145
145
|
border-radius: calc(${sizes.big} / 2);
|
|
146
146
|
margin-top: calc(${`-${sizes.big}`} - ${sizes.small} - 5px);
|
|
147
147
|
margin-left: calc((${sizes.small} - ${sizes.big}) / 2);
|
|
148
|
-
box-shadow:
|
|
148
|
+
box-shadow: 0 2px 4px 0 rgb(0 0 0 / 5%);
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
&.hoverable {
|
|
@@ -36,15 +36,15 @@ const Button = styled.button`
|
|
|
36
36
|
outline: 0;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
::before {
|
|
40
40
|
${beforeStyle}
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
::after {
|
|
43
43
|
${afterStyle}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
::before,
|
|
47
|
+
::after {
|
|
48
48
|
background-color: #b4b6ba;
|
|
49
49
|
}
|
|
50
50
|
`;
|
|
@@ -4,9 +4,11 @@ import PropTypes from 'prop-types';
|
|
|
4
4
|
import Wrapper from './components';
|
|
5
5
|
|
|
6
6
|
function PreviewCarret({ isComponent, style }) {
|
|
7
|
-
return
|
|
8
|
-
<
|
|
9
|
-
|
|
7
|
+
return (
|
|
8
|
+
<Wrapper isComponent={isComponent} style={style}>
|
|
9
|
+
<div />
|
|
10
|
+
</Wrapper>
|
|
11
|
+
);
|
|
10
12
|
}
|
|
11
13
|
|
|
12
14
|
PreviewCarret.defaultProps = {
|