@flozy/editor 5.1.5 → 5.1.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Editor/ChatEditor.js +25 -34
- package/dist/Editor/CommonEditor.js +15 -9
- package/dist/Editor/Editor.css +56 -12
- package/dist/Editor/Elements/AI/AIInput.js +0 -1
- package/dist/Editor/Elements/AI/CustomSelect.js +17 -10
- package/dist/Editor/Elements/AI/Styles.js +7 -1
- package/dist/Editor/Elements/AppHeader/AppHeader.js +6 -6
- package/dist/Editor/Elements/Button/EditorButton.js +1 -1
- package/dist/Editor/Elements/Carousel/CarouselItem.js +1 -1
- package/dist/Editor/Elements/Color Picker/ColorButtons.js +7 -5
- package/dist/Editor/Elements/Color Picker/Styles.js +7 -3
- package/dist/Editor/Elements/Color Picker/defaultColors.js +2 -2
- package/dist/Editor/Elements/DataView/DataView.js +109 -0
- package/dist/Editor/Elements/DataView/DataViewButton.js +23 -0
- package/dist/Editor/Elements/DataView/Layouts/ColumnView.js +66 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/CheckType.js +30 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/Select.js +162 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/SimpleSelect.js +40 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/styles.js +67 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/DateType.js +30 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/MultiSelectType.js +39 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/NumberType.js +30 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/PersonType.js +30 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/SelectType.js +35 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/TextType.js +36 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/index.js +17 -0
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/SortOptions/ChooseField.js +29 -0
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/SortOptions/ChooseSort.js +38 -0
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/SortOptions/index.js +74 -0
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/index.js +64 -0
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/styles.js +106 -0
- package/dist/Editor/Elements/DataView/Layouts/FilterView.js +174 -0
- package/dist/Editor/Elements/DataView/Layouts/Formula.js +29 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/AddOptions.js +113 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/AddProperty.js +37 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/AllProperties.js +111 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/ChangeProperty.js +60 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/ColumnsList.js +36 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/Constants.js +101 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/EditOption.js +160 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/EditProperty.js +190 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/FilterProperty.js +42 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/PropertyList.js +30 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/index.js +110 -0
- package/dist/Editor/Elements/DataView/Layouts/Options/styles.js +179 -0
- package/dist/Editor/Elements/DataView/Layouts/TableStyles.js +112 -0
- package/dist/Editor/Elements/DataView/Layouts/TableView.js +227 -0
- package/dist/Editor/Elements/DataView/Layouts/ViewData.js +70 -0
- package/dist/Editor/Elements/DataView/Layouts/index.js +25 -0
- package/dist/Editor/Elements/DataView/Providers/DataViewProvider.js +288 -0
- package/dist/Editor/Elements/DataView/Utils/globalSearch.js +15 -0
- package/dist/Editor/Elements/DataView/Utils/multiSortRows.js +72 -0
- package/dist/Editor/Elements/DataView/styles.js +143 -0
- package/dist/Editor/Elements/Divider/Divider.js +15 -14
- package/dist/Editor/Elements/Form/Form.js +38 -2
- package/dist/Editor/Elements/Form/FormElements/FormCheckbox.js +7 -1
- package/dist/Editor/Elements/Form/FormElements/FormDate.js +7 -1
- package/dist/Editor/Elements/Form/FormElements/FormEmail.js +7 -1
- package/dist/Editor/Elements/Form/FormElements/FormNumbers.js +7 -1
- package/dist/Editor/Elements/Form/FormElements/FormRadioButton.js +7 -1
- package/dist/Editor/Elements/Form/FormElements/FormText.js +7 -1
- package/dist/Editor/Elements/Form/FormElements/FormTextArea.js +6 -1
- package/dist/Editor/Elements/Form/FormPopup.js +12 -9
- package/dist/Editor/Elements/FreeGrid/FreeGrid.js +1 -1
- package/dist/Editor/Elements/FreeGrid/FreeGridItem.js +20 -1
- package/dist/Editor/Elements/FreeGrid/breakpointConstants.js +4 -4
- package/dist/Editor/Elements/FreeGrid/styles.js +1 -1
- package/dist/Editor/Elements/Grid/GridButton.js +2 -2
- package/dist/Editor/Elements/Grid/GridItem.js +21 -18
- package/dist/Editor/Elements/Link/LinkButton.js +1 -1
- package/dist/Editor/Elements/Signature/Signature.css +1 -1
- package/dist/Editor/Elements/Signature/SignatureOptions/TypeSignature.js +2 -2
- package/dist/Editor/Elements/Signature/SignaturePopup.js +13 -48
- package/dist/Editor/Elements/SimpleText/index.js +8 -1
- package/dist/Editor/Elements/SimpleText/style.js +13 -1
- package/dist/Editor/Elements/Table/AddRowCol.js +77 -0
- package/dist/Editor/Elements/Table/DragButton.js +141 -0
- package/dist/Editor/Elements/Table/DragStyles.js +70 -0
- package/dist/Editor/Elements/Table/Draggable.js +25 -0
- package/dist/Editor/Elements/Table/Droppable.js +53 -0
- package/dist/Editor/Elements/Table/Styles.js +25 -43
- package/dist/Editor/Elements/Table/Table.js +205 -138
- package/dist/Editor/Elements/Table/TableCell.js +355 -102
- package/dist/Editor/Elements/Table/TablePopup.js +9 -3
- package/dist/Editor/Elements/Table/TableRow.js +10 -2
- package/dist/Editor/Elements/Table/TableTool.js +101 -0
- package/dist/Editor/Elements/Table/tableHelper.js +71 -0
- package/dist/Editor/Styles/EditorStyles.js +3 -1
- package/dist/Editor/Toolbar/FormatTools/BlockButton.js +10 -0
- package/dist/Editor/Toolbar/FormatTools/Dropdown.js +7 -12
- package/dist/Editor/Toolbar/FormatTools/FontFamilyAutocomplete.js +10 -4
- package/dist/Editor/Toolbar/FormatTools/MarkButton.js +3 -0
- package/dist/Editor/Toolbar/FormatTools/TextSize.js +0 -2
- package/dist/Editor/Toolbar/Mini/MiniToolbar.js +3 -6
- package/dist/Editor/Toolbar/Mini/Styles.js +4 -1
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/index.js +3 -3
- package/dist/Editor/Toolbar/PopupTool/PopperHeader.js +19 -15
- package/dist/Editor/Toolbar/PopupTool/PopupToolStyle.js +411 -49
- package/dist/Editor/Toolbar/PopupTool/TextFormat.js +62 -8
- package/dist/Editor/Toolbar/PopupTool/index.js +5 -6
- package/dist/Editor/Toolbar/Toolbar.js +6 -0
- package/dist/Editor/Toolbar/toolbarGroups.js +4 -0
- package/dist/Editor/assets/svg/BrainIcon.js +2 -2
- package/dist/Editor/assets/svg/TableIcons.js +220 -0
- package/dist/Editor/common/ColorPickerButton.js +3 -2
- package/dist/Editor/common/FontLoader/FontLoader.js +4 -4
- package/dist/Editor/common/Icon.js +20 -19
- package/dist/Editor/common/LinkSettings/NavComponents.js +2 -1
- package/dist/Editor/common/LinkSettings/index.js +2 -1
- package/dist/Editor/common/MentionsPopup/Styles.js +152 -8
- package/dist/Editor/common/MentionsPopup/index.js +1 -1
- package/dist/Editor/common/RnD/ElementSettings/Settings/FormSettings.js +108 -12
- package/dist/Editor/common/RnD/GuideLines/styles.js +3 -3
- package/dist/Editor/common/RnD/ShadowElement.js +1 -1
- package/dist/Editor/common/RnD/SwitchViewport/SwitchViewport.js +14 -2
- package/dist/Editor/common/Select/index.js +20 -0
- package/dist/Editor/common/Select/styles.js +17 -0
- package/dist/Editor/common/Shorthands/elements.js +13 -1
- package/dist/Editor/common/StyleBuilder/fieldTypes/backgroundImage.js +5 -0
- package/dist/Editor/common/StyleBuilder/fieldTypes/bannerSpacing.js +8 -4
- package/dist/Editor/common/StyleBuilder/fieldTypes/card.js +10 -2
- package/dist/Editor/common/StyleBuilder/fieldTypes/index.js +3 -1
- package/dist/Editor/common/StyleBuilder/fieldTypes/lineSpacing.js +79 -0
- package/dist/Editor/common/StyleBuilder/fieldTypes/radiusStyle.js +7 -7
- package/dist/Editor/common/StyleBuilder/fieldTypes/textOptions.js +5 -2
- package/dist/Editor/common/StyleBuilder/formStyle.js +268 -149
- package/dist/Editor/common/StyleBuilder/index.js +84 -11
- package/dist/Editor/common/StyleBuilder/pageSettingsStyle.js +4 -0
- package/dist/Editor/common/StyleBuilder/tableStyle.js +69 -25
- package/dist/Editor/common/SwipeableDrawer/style.js +15 -4
- package/dist/Editor/common/Uploader.js +8 -0
- package/dist/Editor/common/iconListV2.js +378 -40
- package/dist/Editor/common/iconslist.js +23 -17
- package/dist/Editor/commonStyle.js +126 -9
- package/dist/Editor/helper/deserialize/index.js +4 -1
- package/dist/Editor/helper/index.js +2 -2
- package/dist/Editor/helper/theme.js +24 -1
- package/dist/Editor/hooks/useMouseMove.js +5 -2
- package/dist/Editor/hooks/useTable.js +195 -0
- package/dist/Editor/plugins/withCustomDeleteBackward.js +3 -2
- package/dist/Editor/plugins/withHTML.js +17 -1
- package/dist/Editor/plugins/withLayout.js +48 -1
- package/dist/Editor/utils/SlateUtilityFunctions.js +18 -0
- package/dist/Editor/utils/button.js +4 -4
- package/dist/Editor/utils/chatEditor/SlateUtilityFunctions.js +21 -0
- package/dist/Editor/utils/dataView.js +43 -0
- package/dist/Editor/utils/embed.js +2 -1
- package/dist/Editor/utils/events.js +0 -1
- package/dist/Editor/utils/font.js +11 -4
- package/dist/Editor/utils/formfield.js +8 -4
- package/dist/Editor/utils/helper.js +67 -2
- package/dist/Editor/utils/insertNewLine.js +19 -1
- package/dist/Editor/utils/pageSettings.js +14 -2
- package/dist/Editor/utils/serializeToText.js +2 -0
- package/dist/Editor/utils/table.js +228 -24
- package/package.json +1 -1
@@ -1,14 +1,15 @@
|
|
1
1
|
const usePopupStyle = theme => ({
|
2
2
|
popupWrapper: {
|
3
|
-
boxShadow: "1px 2px 15px 0px #2563EB40",
|
3
|
+
boxShadow: theme?.palette?.type === "light" ? "1px 2px 15px 0px #2563EB40" : "unset",
|
4
4
|
zIndex: 1300,
|
5
5
|
marginBottom: "12px !important",
|
6
|
-
borderRadius: "
|
7
|
-
border:
|
6
|
+
borderRadius: "20px !important",
|
7
|
+
border: `1px solid ${theme?.palette?.editor?.popUpBorderColor} !important`,
|
8
8
|
maxWidth: "100%",
|
9
9
|
// maxHeight: "40px",
|
10
10
|
"&.fullscreen": {
|
11
11
|
marginBottom: "0px !important",
|
12
|
+
borderRadius: "0px !important",
|
12
13
|
"& .papper-wrpr": {
|
13
14
|
boxShadow: "none"
|
14
15
|
}
|
@@ -17,7 +18,42 @@ const usePopupStyle = theme => ({
|
|
17
18
|
transform: "none !important"
|
18
19
|
},
|
19
20
|
"& .MuiPaper-root": {
|
20
|
-
backgroundColor: theme?.palette?.editor?.
|
21
|
+
backgroundColor: `${theme?.palette?.editor?.textFormatBgColor} !important`,
|
22
|
+
borderRadius: "19px !important"
|
23
|
+
},
|
24
|
+
"& .MuiDialog-paperFullScreen": {
|
25
|
+
borderRadius: "0px !important"
|
26
|
+
},
|
27
|
+
"& .inputField": {
|
28
|
+
height: "29px",
|
29
|
+
"& .MuiIconButton-root": {
|
30
|
+
padding: "5px"
|
31
|
+
},
|
32
|
+
"& .MuiOutlinedInput-root ": {
|
33
|
+
background: `${theme?.palette?.editor?.inputFieldBgColor}`,
|
34
|
+
borderRadius: "8px",
|
35
|
+
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder}`
|
36
|
+
},
|
37
|
+
"& .MuiFormControl-root": {
|
38
|
+
background: `${theme?.palette?.editor?.inputFieldBgColor} !important`,
|
39
|
+
borderRadius: "8px",
|
40
|
+
height: "29px"
|
41
|
+
},
|
42
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
43
|
+
borderRadius: "8px",
|
44
|
+
border: `1px solid transparent`
|
45
|
+
},
|
46
|
+
"& .MuiOutlinedInput-input": {
|
47
|
+
padding: "3px 35px 4px 2px !important"
|
48
|
+
},
|
49
|
+
"& .MuiInputBase-adornedStart": {
|
50
|
+
padding: "0px 0px 0px 9px"
|
51
|
+
},
|
52
|
+
"& svg": {
|
53
|
+
"& path": {
|
54
|
+
stroke: `${theme?.palette?.editor?.closeButtonSvgStroke} !important`
|
55
|
+
}
|
56
|
+
}
|
21
57
|
},
|
22
58
|
"&.textSettings": {
|
23
59
|
"@media only screen and (max-width: 600px)": {
|
@@ -26,7 +62,7 @@ const usePopupStyle = theme => ({
|
|
26
62
|
}
|
27
63
|
},
|
28
64
|
"& .MuiTypography-root": {
|
29
|
-
color: theme?.palette?.editor?.
|
65
|
+
color: theme?.palette?.editor?.textFormatTextColor
|
30
66
|
},
|
31
67
|
"& .MuiInputBase-root": {
|
32
68
|
color: theme?.palette?.editor?.textColor,
|
@@ -51,15 +87,21 @@ const usePopupStyle = theme => ({
|
|
51
87
|
"& .buttonsWrpr": {
|
52
88
|
"& button": {
|
53
89
|
color: theme?.palette?.editor?.textColor
|
90
|
+
},
|
91
|
+
"& .more-btn-cbs": {
|
92
|
+
color: `${theme?.palette?.editor?.closeButtonSvgStroke}`,
|
93
|
+
border: `1.5px solid ${theme?.palette?.editor?.closeButtonSvgStroke}`,
|
94
|
+
paddingTop: "10px"
|
54
95
|
}
|
55
96
|
},
|
56
97
|
"@media only screen and (max-width: 599px)": {
|
57
|
-
|
98
|
+
margin: "10px !important",
|
58
99
|
background: "unset",
|
59
|
-
boxShadow: "unset"
|
60
|
-
border: "none"
|
100
|
+
boxShadow: "unset"
|
101
|
+
// border: "none",
|
61
102
|
}
|
62
103
|
},
|
104
|
+
|
63
105
|
textFormatWrapper: {
|
64
106
|
padding: "0px 16px 16px 16px",
|
65
107
|
width: "323px",
|
@@ -90,13 +132,37 @@ const usePopupStyle = theme => ({
|
|
90
132
|
width: "100%",
|
91
133
|
maxHeight: "fit-content"
|
92
134
|
},
|
135
|
+
"& .MuiTab-root": {
|
136
|
+
textTransform: "capitalize",
|
137
|
+
color: "#64748B",
|
138
|
+
borderBottom: `1.5px solid ${theme?.palette?.editor?.deviderBgColor}`
|
139
|
+
},
|
140
|
+
"& .Mui-selected": {
|
141
|
+
color: `${theme?.palette?.editor?.textColor} !important`,
|
142
|
+
fontWeight: "700 !important"
|
143
|
+
},
|
144
|
+
"& .MuiTabs-indicator": {
|
145
|
+
background: "#2563EB"
|
146
|
+
},
|
147
|
+
"& .MuiTabScrollButton-horizontal": {
|
148
|
+
borderBottom: "unset !important",
|
149
|
+
"& svg": {
|
150
|
+
color: theme?.palette?.editor?.closeButtonSvgStroke
|
151
|
+
}
|
152
|
+
},
|
93
153
|
"@media only screen and (max-width: 599px)": {
|
94
154
|
width: "330px"
|
155
|
+
},
|
156
|
+
"& .MuiCardContent-root": {
|
157
|
+
color: theme?.palette?.editor?.textColor,
|
158
|
+
fontFamily: "Inter, sans-serif",
|
159
|
+
fontSize: "12px",
|
160
|
+
fontWeight: "500"
|
95
161
|
}
|
96
162
|
},
|
97
163
|
"& .headerContainer": {},
|
98
164
|
"& .textSettingHeader": {
|
99
|
-
borderBottom: "1px solid #DCE4EC",
|
165
|
+
// borderBottom: "1px solid #DCE4EC",
|
100
166
|
padding: "8px 0px 5px",
|
101
167
|
marginBottom: "20px"
|
102
168
|
},
|
@@ -111,8 +177,72 @@ const usePopupStyle = theme => ({
|
|
111
177
|
justifyContent: "start",
|
112
178
|
borderRadius: "10px !important",
|
113
179
|
transition: "background-color 0.3s ease",
|
180
|
+
"& .signatureElementIcon": {
|
181
|
+
"& path": {
|
182
|
+
fill: `${theme?.palette?.editor?.closeButtonSvgStroke}`
|
183
|
+
}
|
184
|
+
},
|
185
|
+
"& .commonSvgStyle": {
|
186
|
+
"& path": {
|
187
|
+
stroke: `${theme?.palette?.editor?.closeButtonSvgStroke}`
|
188
|
+
}
|
189
|
+
},
|
190
|
+
"& .commonSvgStyle2": {
|
191
|
+
"& path": {
|
192
|
+
stroke: `${theme?.palette?.editor?.closeButtonSvgStroke}`
|
193
|
+
}
|
194
|
+
},
|
195
|
+
"& .colorBoxElementIcon": {
|
196
|
+
"& path": {
|
197
|
+
stroke: `${theme?.palette?.editor?.closeButtonSvgStroke}`,
|
198
|
+
fill: "none"
|
199
|
+
}
|
200
|
+
},
|
201
|
+
"& .gridElementIcon": {
|
202
|
+
"& path": {
|
203
|
+
stroke: `${theme?.palette?.editor?.closeButtonSvgStroke}`,
|
204
|
+
fill: `${theme?.palette?.editor?.closeButtonSvgStroke}`
|
205
|
+
}
|
206
|
+
},
|
207
|
+
"& .newLineElementIcon": {
|
208
|
+
"& path": {
|
209
|
+
fill: `${theme?.palette?.editor?.closeButtonSvgStroke}`
|
210
|
+
}
|
211
|
+
},
|
114
212
|
"&:hover": {
|
115
|
-
backgroundColor:
|
213
|
+
backgroundColor: `${theme?.palette?.editor?.menuOptionSelectedOption} !important`,
|
214
|
+
"& .signatureElementIcon": {
|
215
|
+
"& path": {
|
216
|
+
fill: `${theme?.palette?.editor?.menuOptionTextColor}`
|
217
|
+
}
|
218
|
+
},
|
219
|
+
"& .commonSvgStyle": {
|
220
|
+
"& path": {
|
221
|
+
stroke: `${theme?.palette?.editor?.menuOptionTextColor}`
|
222
|
+
}
|
223
|
+
},
|
224
|
+
"& .commonSvgStyle2": {
|
225
|
+
"& path": {
|
226
|
+
stroke: `${theme?.palette?.editor?.menuOptionTextColor}`
|
227
|
+
}
|
228
|
+
},
|
229
|
+
"& .colorBoxElementIcon": {
|
230
|
+
"& path": {
|
231
|
+
stroke: `${theme?.palette?.editor?.menuOptionTextColor}`,
|
232
|
+
fill: "none"
|
233
|
+
}
|
234
|
+
},
|
235
|
+
"& .gridElementIcon": {
|
236
|
+
"& path": {
|
237
|
+
stroke: `${theme?.palette?.editor?.menuOptionTextColor}`,
|
238
|
+
fill: `${theme?.palette?.editor?.menuOptionTextColor}`
|
239
|
+
}
|
240
|
+
},
|
241
|
+
"& .newLineElementIcon": {
|
242
|
+
"& path": {
|
243
|
+
fill: `${theme?.palette?.editor?.menuOptionTextColor}`
|
244
|
+
}
|
245
|
+
}
|
116
246
|
},
|
117
247
|
"& svg": {
|
118
248
|
width: "24px",
|
@@ -151,6 +281,11 @@ const usePopupStyle = theme => ({
|
|
151
281
|
},
|
152
282
|
"@media only screen and (max-width: 599px)": {
|
153
283
|
width: "330px"
|
284
|
+
},
|
285
|
+
"& .textFormatMUIIcon": {
|
286
|
+
"& svg": {
|
287
|
+
color: theme?.palette?.editor?.closeButtonSvgStroke
|
288
|
+
}
|
154
289
|
}
|
155
290
|
},
|
156
291
|
textFormatLabel: {
|
@@ -168,8 +303,21 @@ const usePopupStyle = theme => ({
|
|
168
303
|
},
|
169
304
|
"& .MuiFormControl-root.MuiTextField-root input": {
|
170
305
|
padding: "8px 35px 6px 12px"
|
306
|
+
},
|
307
|
+
"& .toogleFullScreenBtn": {
|
308
|
+
background: `${theme?.palette?.editor?.closeButtonBgColor} !important`,
|
309
|
+
padding: "4px !important",
|
310
|
+
"& .toogleFullScreenSvg": {
|
311
|
+
"& path": {
|
312
|
+
stroke: `${theme?.palette?.editor?.closeButtonSvgStroke} !important`
|
313
|
+
}
|
314
|
+
}
|
171
315
|
}
|
172
316
|
},
|
317
|
+
textSettingHeader: {
|
318
|
+
display: "flex",
|
319
|
+
borderBottom: `1px solid ${theme?.palette?.editor?.deviderBgColor} !important`
|
320
|
+
},
|
173
321
|
textFormatField: {
|
174
322
|
marginBottom: "16px",
|
175
323
|
marginTop: "10px"
|
@@ -182,6 +330,93 @@ const usePopupStyle = theme => ({
|
|
182
330
|
// marginBottom: "16px",
|
183
331
|
marginTop: "10px"
|
184
332
|
},
|
333
|
+
textFormatField3: {
|
334
|
+
marginBottom: "16px"
|
335
|
+
},
|
336
|
+
textAlignButtons: {
|
337
|
+
// "& .justifyIcon": {
|
338
|
+
// "& path": {
|
339
|
+
// fill: `${theme?.palette?.editor?.svgTextAlignStrokeColor}`,
|
340
|
+
// stroke: `${theme?.palette?.editor?.svgTextAlignStrokeColor}`,
|
341
|
+
// },
|
342
|
+
// },
|
343
|
+
// "& .textAlignIconSameStyles": {
|
344
|
+
// "& path": {
|
345
|
+
// fill: `${theme?.palette?.editor?.svgTextAlignStrokeColor}`,
|
346
|
+
// },
|
347
|
+
// },
|
348
|
+
// "& .orderedListIcon": {
|
349
|
+
// "& path": {
|
350
|
+
// stroke: `${theme?.palette?.editor?.svgTextAlignStrokeColor}`,
|
351
|
+
// },
|
352
|
+
// "& text": {
|
353
|
+
// fill: `${theme?.palette?.editor?.svgTextAlignStrokeColor}`,
|
354
|
+
// },
|
355
|
+
// },
|
356
|
+
// "& .bulletedListTextIcon": {
|
357
|
+
// "& path": {
|
358
|
+
// fill: `${theme?.palette?.editor?.svgTextAlignStrokeColor}`,
|
359
|
+
// stroke: `${theme?.palette?.editor?.svgTextAlignStrokeColor}`,
|
360
|
+
// },
|
361
|
+
// "& circle": {
|
362
|
+
// fill: `${theme?.palette?.editor?.svgTextAlignStrokeColor}`,
|
363
|
+
// },
|
364
|
+
// },
|
365
|
+
// "& .checkedListTextIcon": {
|
366
|
+
// "& path": {
|
367
|
+
// stroke: `${theme?.palette?.editor?.svgTextAlignStrokeColor}`,
|
368
|
+
// },
|
369
|
+
// },
|
370
|
+
// "& .accordianListTextIcon": {
|
371
|
+
// // stroke: `${theme?.palette?.editor?.svgTextAlignStrokeColor} !important`,
|
372
|
+
// "& svg": {
|
373
|
+
// fill: `${theme?.palette?.editor?.svgTextAlignStrokeColor}`,
|
374
|
+
// stroke: `${theme?.palette?.editor?.svgTextAlignStrokeColor}`,
|
375
|
+
// },
|
376
|
+
// "& path": {
|
377
|
+
// fill: `${theme?.palette?.editor?.svgTextAlignStrokeColor}`,
|
378
|
+
// stroke: `${theme?.palette?.editor?.svgTextAlignStrokeColor}`,
|
379
|
+
// },
|
380
|
+
// },
|
381
|
+
},
|
382
|
+
autoCompleteaFontFamily: {
|
383
|
+
"& .MuiOutlinedInput-root": {
|
384
|
+
borderRadius: "8px",
|
385
|
+
backgroundColor: `${theme?.palette?.editor?.inputFieldBgColor}`,
|
386
|
+
fontSize: "14px",
|
387
|
+
height: "36px",
|
388
|
+
paddingLeft: "15px !important"
|
389
|
+
},
|
390
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
391
|
+
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder} !important`
|
392
|
+
},
|
393
|
+
'& .MuiInputBase-root': {
|
394
|
+
'& input': {
|
395
|
+
border: "none !important"
|
396
|
+
}
|
397
|
+
}
|
398
|
+
},
|
399
|
+
textFormatSelect: {
|
400
|
+
background: `${theme?.palette?.editor?.inputFieldBgColor} !important`,
|
401
|
+
width: "100%",
|
402
|
+
height: "36px",
|
403
|
+
borderRadius: "10px",
|
404
|
+
fontSize: "12px",
|
405
|
+
fontFamily: "Inter, sans-serif",
|
406
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
407
|
+
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder} !important`
|
408
|
+
}
|
409
|
+
},
|
410
|
+
textFormatSelectOptions: {
|
411
|
+
margin: "5px !important",
|
412
|
+
borderRadius: "4px !important",
|
413
|
+
fontSize: "12px !important",
|
414
|
+
fontWeight: 500,
|
415
|
+
"&.Mui-selected": {
|
416
|
+
background: `${theme?.palette?.editor?.menuOptionSelectedOption} !important`,
|
417
|
+
color: `${theme?.palette?.editor?.menuOptionTextColor} !important`
|
418
|
+
}
|
419
|
+
},
|
185
420
|
textFormatFieldBorder: {
|
186
421
|
display: "flex",
|
187
422
|
alignItems: "center",
|
@@ -191,7 +426,8 @@ const usePopupStyle = theme => ({
|
|
191
426
|
boxShadow: "0px 4px 18px 0px rgba(0, 0, 0, 0.05)"
|
192
427
|
},
|
193
428
|
dividerGrid: {
|
194
|
-
margin: "5px 0px 10px 0px"
|
429
|
+
margin: "5px 0px 10px 0px",
|
430
|
+
background: `${theme?.palette?.editor?.deviderBgColor} !important`
|
195
431
|
},
|
196
432
|
textFormatColorWrpr: {
|
197
433
|
display: "flex",
|
@@ -301,61 +537,100 @@ const usePopupStyle = theme => ({
|
|
301
537
|
}
|
302
538
|
},
|
303
539
|
btnGroup: {
|
304
|
-
|
540
|
+
border: `1px solid ${theme?.palette?.editor?.borderColor}`,
|
541
|
+
borderRadius: "7px",
|
542
|
+
backgroundColor: theme?.palette?.editor?.inputFieldBgColor,
|
305
543
|
"& button": {
|
306
|
-
backgroundColor: theme?.palette?.editor?.
|
544
|
+
backgroundColor: theme?.palette?.editor?.inputFieldBgColor,
|
307
545
|
marginRight: "0px",
|
308
546
|
color: theme?.palette?.editor?.textColor,
|
309
|
-
borderColor:
|
547
|
+
borderColor: "#ffffff00 !important",
|
310
548
|
textTransform: "capitalize",
|
311
549
|
marginBottom: "0px",
|
312
|
-
"&:hover": {
|
313
|
-
color: theme?.palette?.editor?.borderColor,
|
314
|
-
background: theme?.palette?.editor?.background
|
315
|
-
},
|
316
550
|
"&.active": {
|
317
551
|
background: theme?.palette?.editor?.background,
|
318
552
|
color: theme?.palette?.editor?.activeColor
|
319
553
|
},
|
320
554
|
"&.no-hover": {
|
321
|
-
border: `1px solid
|
555
|
+
border: `1px solid #ffffff00`
|
322
556
|
}
|
557
|
+
},
|
558
|
+
"& .colorBox": {
|
559
|
+
background: theme?.palette?.editor?.inputFieldBgColor,
|
560
|
+
borderRadius: "7px 0px 0px 7px",
|
561
|
+
fontSize: "12px !important",
|
562
|
+
fontWeight: 500
|
563
|
+
},
|
564
|
+
"& .colorPicker": {
|
565
|
+
background: theme?.palette?.editor?.inputFieldBgColor,
|
566
|
+
borderRadius: "0px 7px 7px 0px",
|
567
|
+
padding: "0px"
|
568
|
+
},
|
569
|
+
"& .vl": {
|
570
|
+
background: theme?.palette?.editor?.borderColor,
|
571
|
+
width: "2px",
|
572
|
+
height: "25px",
|
573
|
+
margin: "5px 0px"
|
323
574
|
}
|
324
575
|
},
|
325
576
|
btnGroup2: {
|
326
|
-
|
577
|
+
border: `1px solid ${theme?.palette?.editor?.borderColor}`,
|
578
|
+
borderRadius: "7px",
|
579
|
+
backgroundColor: theme?.palette?.editor?.inputFieldBgColor,
|
327
580
|
"& button": {
|
328
581
|
backgroundColor: theme?.palette?.editor?.background,
|
329
582
|
marginRight: "0px",
|
330
583
|
color: theme?.palette?.editor?.textColor,
|
331
|
-
borderColor:
|
584
|
+
borderColor: "#ffffff00 !important",
|
332
585
|
textTransform: "capitalize",
|
333
586
|
marginBottom: "0px",
|
334
|
-
"&:hover": {
|
335
|
-
|
336
|
-
|
337
|
-
},
|
587
|
+
// "&:hover": {
|
588
|
+
// color: theme?.palette?.editor?.borderColor,
|
589
|
+
// background: theme?.palette?.editor?.background,
|
590
|
+
// },
|
338
591
|
"&.active": {
|
339
592
|
background: theme?.palette?.editor?.background,
|
340
593
|
color: theme?.palette?.editor?.activeColor
|
341
594
|
},
|
342
595
|
"&.no-hover": {
|
343
|
-
border: `1px solid
|
344
|
-
|
596
|
+
border: `1px solid #ffffff00`,
|
597
|
+
borderRadius: "7px 0px 0px 7px"
|
345
598
|
}
|
599
|
+
},
|
600
|
+
"& .colorBox": {
|
601
|
+
background: theme?.palette?.editor?.inputFieldBgColor,
|
602
|
+
borderRadius: "7px 0px 0px 7px",
|
603
|
+
fontSize: "12px !important",
|
604
|
+
fontWeight: 500
|
605
|
+
},
|
606
|
+
"& .colorPicker": {
|
607
|
+
background: theme?.palette?.editor?.inputFieldBgColor,
|
608
|
+
borderRadius: "0px 7px 7px 0px",
|
609
|
+
padding: "0px"
|
610
|
+
},
|
611
|
+
"& .vl": {
|
612
|
+
background: theme?.palette?.editor?.borderColor,
|
613
|
+
width: "2px",
|
614
|
+
height: "25px",
|
615
|
+
margin: "5px 0px"
|
346
616
|
}
|
347
617
|
},
|
348
618
|
allColor: {
|
619
|
+
borderRadius: "7px !important",
|
349
620
|
"& .buttonsWrpr": {
|
621
|
+
backgroundColor: `${theme?.palette?.editor?.miniToolBarBackground} !important`,
|
622
|
+
border: `1px solid ${theme?.palette?.editor?.miniToolBarBorder} !important`,
|
623
|
+
borderRadius: "7px !important",
|
350
624
|
"& button": {
|
351
625
|
color: theme?.palette?.editor?.textColor
|
352
626
|
}
|
353
627
|
}
|
354
628
|
},
|
355
629
|
allColorInner: {
|
630
|
+
borderRadius: "7px !important",
|
356
631
|
"& .buttonsWrpr": {
|
357
632
|
"& button": {
|
358
|
-
border: "1px solid #ccc",
|
633
|
+
// border: "1px solid #ccc",
|
359
634
|
margin: "4px",
|
360
635
|
width: "24px",
|
361
636
|
height: "24px",
|
@@ -382,7 +657,7 @@ const usePopupStyle = theme => ({
|
|
382
657
|
padding: "0px 10px"
|
383
658
|
},
|
384
659
|
defaultBtn2: {
|
385
|
-
color:
|
660
|
+
color: `${theme?.palette?.editor?.deafultColorOptionTextColor} !important`,
|
386
661
|
textTransform: "none",
|
387
662
|
textDecorationLine: "underline",
|
388
663
|
textUnderlineOffset: "2px",
|
@@ -411,14 +686,16 @@ const usePopupStyle = theme => ({
|
|
411
686
|
padding: "7px 15px",
|
412
687
|
color: "#FFF",
|
413
688
|
width: "100px",
|
414
|
-
marginBottom: "10px"
|
689
|
+
marginBottom: "10px",
|
690
|
+
textTransform: "capitalize"
|
415
691
|
},
|
416
692
|
"& .outlineBtn": {
|
417
693
|
border: "1px solid #D7DBEC",
|
418
694
|
borderRadius: "7px",
|
419
695
|
padding: "7px 15px",
|
420
696
|
color: "#FFF",
|
421
|
-
width: "100px"
|
697
|
+
width: "100px",
|
698
|
+
textTransform: "capitalize"
|
422
699
|
}
|
423
700
|
},
|
424
701
|
searchBox: {
|
@@ -430,10 +707,24 @@ const usePopupStyle = theme => ({
|
|
430
707
|
}
|
431
708
|
},
|
432
709
|
textOptions: {
|
433
|
-
backgroundColor: theme?.palette?.editor?.
|
434
|
-
color: theme?.palette?.editor?.textColor
|
710
|
+
backgroundColor: `${theme?.palette?.editor?.textWeightPopUpBackground} !important`,
|
711
|
+
color: theme?.palette?.editor?.textColor,
|
712
|
+
borderRadius: "8px !important",
|
713
|
+
fontFamily: "Inter, sans-serif",
|
714
|
+
"& .MuiList-root": {
|
715
|
+
padding: "0px !important"
|
716
|
+
}
|
435
717
|
},
|
436
718
|
textSize: {
|
719
|
+
height: "36px !important",
|
720
|
+
"& .MuiOutlinedInput-root": {
|
721
|
+
borderRadius: "8px !important",
|
722
|
+
height: "36px !important",
|
723
|
+
background: `${theme?.palette?.editor?.inputFieldBgColor} !important`
|
724
|
+
},
|
725
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
726
|
+
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder} !important`
|
727
|
+
},
|
437
728
|
"& .textFontArrows": {
|
438
729
|
"& svg": {
|
439
730
|
stroke: theme?.palette?.editor?.textColor
|
@@ -441,41 +732,79 @@ const usePopupStyle = theme => ({
|
|
441
732
|
}
|
442
733
|
},
|
443
734
|
closeBtn: {
|
444
|
-
|
445
|
-
color: theme?.palette?.editor?.
|
735
|
+
background: `${theme?.palette?.editor?.closeButtonBgColor} !important`,
|
736
|
+
color: `${theme?.palette?.editor?.closeButtonSvgStroke} !important`
|
446
737
|
},
|
447
738
|
colorPickerPopup: {
|
448
739
|
margin: "30px",
|
449
740
|
"& .MuiPaper-root": {
|
450
741
|
overflow: "auto",
|
451
|
-
backgroundColor: theme?.palette?.editor?.background
|
742
|
+
backgroundColor: theme?.palette?.editor?.background,
|
743
|
+
borderRadius: "14px !important",
|
744
|
+
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder} !important`
|
452
745
|
},
|
453
746
|
"& .popup_tabs": {
|
454
|
-
backgroundColor: theme?.palette?.editor?.
|
747
|
+
backgroundColor: theme?.palette?.editor?.inputFieldBgColor
|
455
748
|
},
|
456
749
|
"& .popup_tabs-header": {
|
457
|
-
|
750
|
+
fontFamily: "Inter, sans-serif",
|
751
|
+
fontWeight: 700,
|
752
|
+
fontSize: "12px !important",
|
753
|
+
backgroundColor: theme?.palette?.editor?.miniToolBarBackground,
|
458
754
|
"& .popup_tabs-header-label-active": {
|
459
755
|
color: theme?.palette?.editor?.activeColor,
|
460
|
-
backgroundColor: theme?.palette?.editor?.
|
756
|
+
backgroundColor: theme?.palette?.editor?.miniToolBarBackground
|
461
757
|
}
|
462
758
|
},
|
759
|
+
"& .popup_tabs-body": {
|
760
|
+
backgroundColor: theme?.palette?.editor?.miniToolBarBackground
|
761
|
+
},
|
463
762
|
"& .colorpicker": {
|
464
|
-
backgroundColor: theme?.palette?.editor?.
|
763
|
+
backgroundColor: theme?.palette?.editor?.miniToolBarBackground
|
465
764
|
},
|
466
765
|
"& .color-picker-panel": {
|
467
|
-
backgroundColor: theme?.palette?.editor?.
|
766
|
+
backgroundColor: theme?.palette?.editor?.miniToolBarBackground
|
468
767
|
},
|
469
768
|
"& .input_rgba": {
|
470
769
|
"& input": {
|
471
|
-
backgroundColor: theme?.palette?.editor?.
|
472
|
-
color: theme?.palette?.editor?.textColor
|
770
|
+
backgroundColor: theme?.palette?.editor?.inputFieldBgColor,
|
771
|
+
color: theme?.palette?.editor?.textColor,
|
772
|
+
height: "32px !important",
|
773
|
+
borderRadius: "10px !important",
|
774
|
+
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder} !important`,
|
775
|
+
boxShadow: "none",
|
776
|
+
"&:hover": {
|
777
|
+
backgroundColor: `${theme?.palette?.editor?.inputFieldBgColor} !important`
|
778
|
+
},
|
779
|
+
"&:focus": {
|
780
|
+
border: `1px solid ${theme?.palette?.editor?.inputFieldBorder} !important`,
|
781
|
+
backgroundColor: `${theme?.palette?.editor?.inputFieldBgColor} !important`,
|
782
|
+
boxShadow: "none"
|
783
|
+
}
|
784
|
+
},
|
785
|
+
"& .input_rgba-hex-label": {
|
786
|
+
top: "4px !important"
|
787
|
+
},
|
788
|
+
"& .input_rgba-alpha-label": {
|
789
|
+
top: "6px !important"
|
790
|
+
},
|
791
|
+
"& .input_rgba-label": {
|
792
|
+
display: "none"
|
793
|
+
}
|
794
|
+
},
|
795
|
+
"& .default-color-panel": {
|
796
|
+
gridTemplateColumns: "repeat(auto-fill, 24px)",
|
797
|
+
"& .default-color-panel_item": {
|
798
|
+
borderRadius: "50%",
|
799
|
+
width: "16px",
|
800
|
+
height: "16px"
|
473
801
|
}
|
474
802
|
}
|
475
803
|
},
|
476
804
|
colorPopper: {
|
477
805
|
"& .MuiPaper-root": {
|
478
806
|
backgroundColor: theme?.palette?.editor?.background,
|
807
|
+
borderRadius: "7px !important",
|
479
808
|
"@media only screen and (max-width: 600px)": {
|
480
809
|
marginTop: "-40px"
|
481
810
|
}
|
@@ -589,17 +918,18 @@ const usePopupStyle = theme => ({
|
|
589
918
|
"& .MuiPopover-paper": {
|
590
919
|
maxHeight: "140px",
|
591
920
|
// minWidth: "130px",
|
592
|
-
border: "1px solid #E4E8EB",
|
593
|
-
background: `${theme?.palette?.editor?.
|
921
|
+
// border: "1px solid #E4E8EB",
|
922
|
+
background: `${theme?.palette?.editor?.textWeightPopUpBackground} !important`,
|
594
923
|
overflowY: "scroll",
|
595
|
-
padding: "
|
924
|
+
padding: "3px 12px 8px 2px",
|
925
|
+
borderRadius: "8px",
|
596
926
|
"@media only screen and (max-width: 600px)": {
|
597
927
|
marginTop: "-40px"
|
598
928
|
}
|
599
929
|
},
|
600
930
|
"& .customSelectOptionLabel": {
|
601
931
|
color: theme?.palette?.editor?.textColor || "black",
|
602
|
-
margin: "
|
932
|
+
margin: "6px 6px 0px 6px",
|
603
933
|
width: "100%",
|
604
934
|
justifyContent: "start",
|
605
935
|
paddingRight: "20px",
|
@@ -612,8 +942,40 @@ const usePopupStyle = theme => ({
|
|
612
942
|
background: `${theme?.palette?.action?.selected} !important`
|
613
943
|
},
|
614
944
|
"&.selected": {
|
615
|
-
color:
|
616
|
-
background:
|
945
|
+
color: `${theme?.palette?.editor?.menuOptionTextColor} !important`,
|
946
|
+
background: `${theme?.palette?.editor?.menuOptionSelectedOption} !important`,
|
947
|
+
"& .orderedListIcon": {
|
948
|
+
"& path": {
|
949
|
+
stroke: `${theme?.palette?.editor?.menuOptionsSelectedTextColor}`
|
950
|
+
},
|
951
|
+
"& text": {
|
952
|
+
fill: `${theme?.palette?.editor?.menuOptionsSelectedTextColor}`
|
953
|
+
}
|
954
|
+
},
|
955
|
+
"& .bulletedListTextIcon": {
|
956
|
+
"& path": {
|
957
|
+
fill: `${theme?.palette?.editor?.menuOptionsSelectedTextColor}`,
|
958
|
+
stroke: `${theme?.palette?.editor?.menuOptionsSelectedTextColor}`
|
959
|
+
},
|
960
|
+
"& circle": {
|
961
|
+
fill: `${theme?.palette?.editor?.menuOptionsSelectedTextColor}`
|
962
|
+
}
|
963
|
+
},
|
964
|
+
"& .checkedListTextIcon": {
|
965
|
+
"& path": {
|
966
|
+
stroke: `${theme?.palette?.editor?.menuOptionsSelectedTextColor}`
|
967
|
+
}
|
968
|
+
},
|
969
|
+
"& .accordianIconSvgTextFormat": {
|
970
|
+
"& path": {
|
971
|
+
stroke: `${theme?.palette?.editor?.menuOptionsSelectedTextColor} !important`
|
972
|
+
}
|
973
|
+
},
|
974
|
+
"& .textAlignIconSameStyles": {
|
975
|
+
"& path": {
|
976
|
+
fill: `${theme?.palette?.editor?.menuOptionsSelectedTextColor}`
|
977
|
+
}
|
978
|
+
}
|
617
979
|
}
|
618
980
|
},
|
619
981
|
"& .menuOptions": {
|