@flozy/editor 5.8.6 → 5.8.8
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/Editor/Editor.css
CHANGED
@@ -104,9 +104,9 @@ export default function Select(props) {
|
|
104
104
|
return /*#__PURE__*/_jsx(Box, {
|
105
105
|
className: "tv-ms-tag-wrpr",
|
106
106
|
sx: {
|
107
|
-
|
108
|
-
marginRight:
|
109
|
-
|
107
|
+
"& svg": {
|
108
|
+
marginRight: "5px",
|
109
|
+
"& path": {
|
110
110
|
stroke: "#000"
|
111
111
|
}
|
112
112
|
}
|
@@ -125,15 +125,19 @@ export default function Select(props) {
|
|
125
125
|
sx: {
|
126
126
|
background: option?.color || appTheme?.palette?.editor?.tv_border1,
|
127
127
|
border: "none",
|
128
|
-
|
129
|
-
paddingLeft:
|
128
|
+
"& .MuiChip-label": {
|
129
|
+
paddingLeft: "12px !important"
|
130
130
|
}
|
131
131
|
},
|
132
132
|
avatar: /*#__PURE__*/_jsx(AvatarIcon, {
|
133
133
|
option: option,
|
134
134
|
avatar: optionAvatar
|
135
135
|
}),
|
136
|
-
deleteIcon: /*#__PURE__*/_jsx(CloseIcon, {
|
136
|
+
deleteIcon: /*#__PURE__*/_jsx(CloseIcon, {
|
137
|
+
style: {
|
138
|
+
cursor: "pointer"
|
139
|
+
}
|
140
|
+
})
|
137
141
|
}, key) : null;
|
138
142
|
})
|
139
143
|
});
|
@@ -149,8 +153,8 @@ export default function Select(props) {
|
|
149
153
|
label: option.label || option.value || "",
|
150
154
|
sx: {
|
151
155
|
background: option.color || appTheme?.palette?.editor?.tv_border1,
|
152
|
-
|
153
|
-
paddingLeft:
|
156
|
+
"& .MuiChip-label": {
|
157
|
+
paddingLeft: "12px !important"
|
154
158
|
}
|
155
159
|
},
|
156
160
|
avatar: /*#__PURE__*/_jsx(AvatarIcon, {
|
@@ -57,9 +57,9 @@ const Divider = props => {
|
|
57
57
|
// : {};
|
58
58
|
return /*#__PURE__*/_jsx("div", {
|
59
59
|
contentEditable: false,
|
60
|
-
className: "
|
60
|
+
className: "element-toolbar dividerIcon",
|
61
61
|
style: {
|
62
|
-
top: "
|
62
|
+
top: "3px",
|
63
63
|
left: 0
|
64
64
|
},
|
65
65
|
children: /*#__PURE__*/_jsx(Tooltip, {
|
@@ -76,7 +76,7 @@ const Divider = props => {
|
|
76
76
|
// theme?.palette?.type === "dark"
|
77
77
|
// ? "1px solid #E4E8EB33"
|
78
78
|
// : "none",
|
79
|
-
boxShadow: "0px 0px 4px 0px #00000040",
|
79
|
+
boxShadow: "0px 0px 4px 0px #00000040 !important",
|
80
80
|
borderRadius: "50%",
|
81
81
|
"& svg": {
|
82
82
|
width: '16px',
|
@@ -11,6 +11,9 @@ const SectionStyle = (themeReact, theme) => ({
|
|
11
11
|
"& .sectionIcon": {
|
12
12
|
opacity: 1
|
13
13
|
},
|
14
|
+
'& .dividerIcon': {
|
15
|
+
opacity: 1
|
16
|
+
},
|
14
17
|
"& .sectionPopper": {
|
15
18
|
opacity: 1
|
16
19
|
}
|
@@ -52,6 +55,18 @@ const SectionStyle = (themeReact, theme) => ({
|
|
52
55
|
opacity: 1
|
53
56
|
}
|
54
57
|
},
|
58
|
+
"& .dividerIcon": {
|
59
|
+
opacity: 0,
|
60
|
+
padding: "0px",
|
61
|
+
background: "transparent",
|
62
|
+
border: "none",
|
63
|
+
width: "20px",
|
64
|
+
height: "20px",
|
65
|
+
"& button": {
|
66
|
+
boxShadow: "none",
|
67
|
+
background: "transparent"
|
68
|
+
}
|
69
|
+
},
|
55
70
|
"& .ed-section-inner": {
|
56
71
|
[themeReact.breakpoints.between("xs", "md")]: {
|
57
72
|
maxWidth: `320px !important`,
|
@@ -1654,12 +1654,13 @@ export const CsvIcon = () => /*#__PURE__*/_jsxs("svg", {
|
|
1654
1654
|
fill: "white"
|
1655
1655
|
})]
|
1656
1656
|
});
|
1657
|
-
export const CloseIcon =
|
1657
|
+
export const CloseIcon = props => /*#__PURE__*/_jsxs("svg", {
|
1658
1658
|
width: "20",
|
1659
1659
|
height: "20",
|
1660
1660
|
viewBox: "0 0 20 20",
|
1661
1661
|
fill: "none",
|
1662
1662
|
xmlns: "http://www.w3.org/2000/svg",
|
1663
|
+
...(props || {}),
|
1663
1664
|
children: [/*#__PURE__*/_jsx("path", {
|
1664
1665
|
d: "M14.1245 5.875L5.87493 14.1246",
|
1665
1666
|
stroke: "#64748B",
|