@flozy/editor 3.9.0 → 3.9.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/dist/Editor/CommonEditor.js +177 -109
- package/dist/Editor/Editor.css +8 -12
- package/dist/Editor/Elements/AI/AIInput.js +17 -18
- package/dist/Editor/Elements/AI/CustomSelect.js +19 -12
- package/dist/Editor/Elements/AI/PopoverAIInput.js +23 -28
- package/dist/Editor/Elements/AI/Styles.js +2 -1
- package/dist/Editor/Elements/AI/VoiceToText/AudioWave.js +73 -0
- package/dist/Editor/Elements/AI/VoiceToText/index.js +177 -0
- package/dist/Editor/Elements/AI/VoiceToText/style.js +40 -0
- package/dist/Editor/Elements/Accordion/AccordionSummary.js +4 -15
- package/dist/Editor/Elements/AppHeader/AppHeader.js +26 -4
- package/dist/Editor/Elements/Button/EditorButton.js +28 -16
- package/dist/Editor/Elements/Color Picker/ColorButtons.js +60 -17
- package/dist/Editor/Elements/Color Picker/ColorPicker.css +25 -1
- package/dist/Editor/Elements/Color Picker/ColorPicker.js +4 -4
- package/dist/Editor/Elements/Color Picker/Styles.js +2 -1
- package/dist/Editor/Elements/Form/Workflow/FormWorkflow.js +12 -3
- package/dist/Editor/Elements/Form/Workflow/UserInputs.js +2 -1
- package/dist/Editor/Elements/Grid/Grid.js +27 -3
- package/dist/Editor/Elements/Grid/GridItem.js +3 -1
- package/dist/Editor/Elements/Link/Link.js +6 -1
- package/dist/Editor/Elements/Link/LinkButton.js +4 -2
- package/dist/Editor/Elements/Link/LinkPopup.js +10 -3
- package/dist/Editor/Elements/Link/LinkPopupStyles.js +28 -0
- package/dist/Editor/Elements/PageSettings/PageSettingsButton.js +3 -3
- package/dist/Editor/Elements/Redo/RedoButton.js +14 -0
- package/dist/Editor/Elements/Signature/SignaturePopup.js +14 -3
- package/dist/Editor/Elements/Table/Styles.js +23 -1
- package/dist/Editor/Elements/Table/Table.js +2 -1
- package/dist/Editor/Elements/Table/TableCell.js +69 -7
- package/dist/Editor/Elements/TableContextMenu/TableContextMenu.js +1 -0
- package/dist/Editor/Elements/Undo/UndoButton.js +14 -0
- package/dist/Editor/MiniEditor.js +3 -1
- package/dist/Editor/Styles/EditorStyles.js +1 -1
- package/dist/Editor/Toolbar/Basic/index.js +4 -2
- package/dist/Editor/Toolbar/FormatTools/Dropdown.js +26 -2
- package/dist/Editor/Toolbar/FormatTools/MarkButton.js +2 -2
- package/dist/Editor/Toolbar/FormatTools/TextSize.js +29 -18
- package/dist/Editor/Toolbar/Mini/MiniToolbar.js +4 -2
- package/dist/Editor/Toolbar/Mini/Options/Options.js +10 -0
- package/dist/Editor/Toolbar/Mini/Styles.js +7 -0
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectFontSize.js +4 -11
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectTypography.js +213 -86
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/index.js +2 -1
- package/dist/Editor/Toolbar/PopupTool/PopupToolStyle.js +22 -16
- package/dist/Editor/Toolbar/PopupTool/TextFormat.js +52 -7
- package/dist/Editor/Toolbar/PopupTool/ThemeTextFormat.js +438 -0
- package/dist/Editor/Toolbar/PopupTool/index.js +7 -17
- package/dist/Editor/Toolbar/toolbarGroups.js +48 -6
- package/dist/Editor/assets/svg/AIIcons.js +153 -1
- package/dist/Editor/assets/svg/AddTemplateIcon.js +13 -10
- package/dist/Editor/assets/svg/RedoIcon.js +27 -0
- package/dist/Editor/assets/svg/SettingsIcon.js +28 -0
- package/dist/Editor/assets/svg/TextIcon.js +8 -5
- package/dist/Editor/assets/svg/ThemeIcons.js +291 -0
- package/dist/Editor/assets/svg/UndoIcon.js +27 -0
- package/dist/Editor/common/ColorPickerButton.js +25 -9
- package/dist/Editor/common/CustomColorPicker/index.js +106 -0
- package/dist/Editor/common/CustomColorPicker/style.js +53 -0
- package/dist/Editor/common/CustomDialog/index.js +94 -0
- package/dist/Editor/common/CustomDialog/style.js +67 -0
- package/dist/Editor/common/CustomSelect.js +33 -0
- package/dist/Editor/common/DnD/DragHandleButton.js +56 -47
- package/dist/Editor/common/Icon.js +43 -3
- package/dist/Editor/common/LinkSettings/NavComponents.js +5 -2
- package/dist/Editor/common/LinkSettings/index.js +4 -2
- package/dist/Editor/common/LinkSettings/navOptions.js +7 -2
- package/dist/Editor/common/LinkSettings/style.js +11 -8
- package/dist/Editor/common/Section/index.js +57 -7
- package/dist/Editor/common/Section/styles.js +11 -0
- package/dist/Editor/common/Shorthands/elements.js +54 -0
- package/dist/Editor/common/StyleBuilder/buttonStyle.js +4 -2
- package/dist/Editor/common/StyleBuilder/fieldTypes/bannerSpacing.js +33 -29
- package/dist/Editor/common/StyleBuilder/fieldTypes/borderRadius.js +31 -25
- package/dist/Editor/common/StyleBuilder/fieldTypes/buttonLink.js +1 -1
- package/dist/Editor/common/StyleBuilder/fieldTypes/color.js +31 -7
- package/dist/Editor/common/StyleBuilder/fieldTypes/fontSize.js +13 -4
- package/dist/Editor/common/StyleBuilder/fieldTypes/textOptions.js +14 -4
- package/dist/Editor/common/StyleBuilder/index.js +1 -1
- package/dist/Editor/common/iconslist.js +0 -31
- package/dist/Editor/helper/theme.js +189 -4
- package/dist/Editor/hooks/useEditorTheme.js +139 -0
- package/dist/Editor/hooks/useMouseMove.js +4 -1
- package/dist/Editor/hooks/useWindowMessage.js +10 -7
- package/dist/Editor/plugins/withEmbeds.js +1 -1
- package/dist/Editor/plugins/withHTML.js +1 -1
- package/dist/Editor/plugins/withTable.js +1 -1
- package/dist/Editor/theme/ThemeList.js +50 -173
- package/dist/Editor/theme/index.js +144 -0
- package/dist/Editor/themeSettings/ActiveTheme.js +72 -0
- package/dist/Editor/themeSettings/buttons/index.js +290 -0
- package/dist/Editor/themeSettings/buttons/style.js +21 -0
- package/dist/Editor/themeSettings/colorTheme/index.js +290 -0
- package/dist/Editor/themeSettings/colorTheme/style.js +77 -0
- package/dist/Editor/themeSettings/fonts/PreviewElement.js +123 -0
- package/dist/Editor/themeSettings/fonts/index.js +213 -0
- package/dist/Editor/themeSettings/fonts/style.js +44 -0
- package/dist/Editor/themeSettings/icons.js +60 -0
- package/dist/Editor/themeSettings/index.js +320 -0
- package/dist/Editor/themeSettings/style.js +152 -0
- package/dist/Editor/themeSettingsAI/icons.js +96 -0
- package/dist/Editor/themeSettingsAI/index.js +356 -0
- package/dist/Editor/themeSettingsAI/saveTheme.js +190 -0
- package/dist/Editor/themeSettingsAI/style.js +247 -0
- package/dist/Editor/utils/SlateUtilityFunctions.js +161 -25
- package/dist/Editor/utils/button.js +1 -17
- package/dist/Editor/utils/events.js +54 -2
- package/dist/Editor/utils/font.js +40 -37
- package/dist/Editor/utils/helper.js +31 -2
- package/dist/Editor/utils/table.js +51 -43
- package/package.json +4 -3
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React, { useEffect, useState } from "react";
|
|
2
2
|
import { Popper, Fade, Paper, ClickAwayListener } from "@mui/material";
|
|
3
3
|
import { Editor, Range } from "slate";
|
|
4
|
-
import { useSlate
|
|
4
|
+
import { useSlate } from "slate-react";
|
|
5
5
|
import useDrag from "../../hooks/useDrag";
|
|
6
6
|
import { TableUtil } from "../../utils/table";
|
|
7
|
-
import useWindowResize from "../../hooks/useWindowResize";
|
|
8
7
|
import MiniTextFormat from "./MiniTextFormat";
|
|
9
8
|
import { useEditorContext } from "../../hooks/useMouseMove";
|
|
10
9
|
import usePopupStyles from "../PopupTool/PopupToolStyle";
|
|
@@ -23,14 +22,12 @@ const PopupTool = props => {
|
|
|
23
22
|
const [anchorEl, setAnchorEl] = useState(null);
|
|
24
23
|
const [open, setOpen] = useState(false);
|
|
25
24
|
const editor = useSlate();
|
|
26
|
-
const inFocus = useFocused();
|
|
27
25
|
const {
|
|
28
26
|
selection
|
|
29
27
|
} = editor;
|
|
30
28
|
const [event] = useDrag(anchorEl);
|
|
31
29
|
const id = open ? "popup-edit-tool" : "";
|
|
32
30
|
const table = new TableUtil(editor);
|
|
33
|
-
const [size] = useWindowResize();
|
|
34
31
|
useEffect(() => {
|
|
35
32
|
if (event === "end" && anchorEl && !open) {
|
|
36
33
|
// for table cell selection
|
|
@@ -47,7 +44,7 @@ const PopupTool = props => {
|
|
|
47
44
|
}
|
|
48
45
|
}, [event, anchorEl]);
|
|
49
46
|
useEffect(() => {
|
|
50
|
-
if (!selection ||
|
|
47
|
+
if (!selection || Range.isCollapsed(selection) || Editor.string(editor, selection) === "") {
|
|
51
48
|
setAnchorEl(null);
|
|
52
49
|
} else {
|
|
53
50
|
updateAnchorEl();
|
|
@@ -86,35 +83,28 @@ const PopupTool = props => {
|
|
|
86
83
|
handleClose();
|
|
87
84
|
}
|
|
88
85
|
},
|
|
89
|
-
children:
|
|
90
|
-
className: "mobileMiniTextWrapper",
|
|
91
|
-
children: /*#__PURE__*/_jsx(MiniTextFormat, {
|
|
92
|
-
editor: editor,
|
|
93
|
-
classes: classes,
|
|
94
|
-
closeMainPopup: handleClose,
|
|
95
|
-
customProps: customProps
|
|
96
|
-
})
|
|
97
|
-
}) : /*#__PURE__*/_jsx(Popper, {
|
|
86
|
+
children: /*#__PURE__*/_jsx(Popper, {
|
|
98
87
|
id: id,
|
|
99
88
|
open: open,
|
|
100
89
|
anchorEl: anchorEl,
|
|
101
90
|
transition: true,
|
|
102
91
|
placement: "auto-end",
|
|
103
92
|
sx: classes.popupWrapper,
|
|
104
|
-
className: `tools-drawer ${size?.device}`,
|
|
105
93
|
children: ({
|
|
106
94
|
TransitionProps
|
|
107
95
|
}) => /*#__PURE__*/_jsx(Fade, {
|
|
108
96
|
...TransitionProps,
|
|
109
97
|
children: /*#__PURE__*/_jsx(Paper, {
|
|
110
98
|
style: {
|
|
111
|
-
borderRadius: "
|
|
99
|
+
borderRadius: "6px",
|
|
100
|
+
border: "1px solid #8360FD"
|
|
112
101
|
},
|
|
113
102
|
children: /*#__PURE__*/_jsx(MiniTextFormat, {
|
|
114
103
|
editor: editor,
|
|
115
104
|
classes: classes,
|
|
116
105
|
closeMainPopup: handleClose,
|
|
117
|
-
customProps: customProps
|
|
106
|
+
customProps: customProps,
|
|
107
|
+
theme: theme
|
|
118
108
|
})
|
|
119
109
|
})
|
|
120
110
|
})
|
|
@@ -28,16 +28,20 @@ export const toolbarGroups = [[{
|
|
|
28
28
|
type: "dropdown",
|
|
29
29
|
options: [{
|
|
30
30
|
text: "Normal",
|
|
31
|
-
value: "normal"
|
|
31
|
+
value: "normal",
|
|
32
|
+
numVal: "400"
|
|
32
33
|
}, {
|
|
33
34
|
text: "Bold",
|
|
34
|
-
value: "bold"
|
|
35
|
+
value: "bold",
|
|
36
|
+
numVal: "700"
|
|
35
37
|
}, {
|
|
36
38
|
text: "Bolder",
|
|
37
|
-
value: "bolder"
|
|
39
|
+
value: "bolder",
|
|
40
|
+
numVal: "700"
|
|
38
41
|
}, {
|
|
39
42
|
text: "Lighter",
|
|
40
|
-
value: "lighter"
|
|
43
|
+
value: "lighter",
|
|
44
|
+
numVal: "100"
|
|
41
45
|
}],
|
|
42
46
|
icon: FormatBoldIcon,
|
|
43
47
|
width: "100px"
|
|
@@ -46,13 +50,15 @@ export const toolbarGroups = [[{
|
|
|
46
50
|
format: "bold",
|
|
47
51
|
type: "mark",
|
|
48
52
|
title: "Bold",
|
|
49
|
-
basic: true
|
|
53
|
+
basic: true,
|
|
54
|
+
themeEnabled: true
|
|
50
55
|
}, {
|
|
51
56
|
id: 4,
|
|
52
57
|
format: "italic",
|
|
53
58
|
type: "mark",
|
|
54
59
|
title: "Italic",
|
|
55
|
-
basic: true
|
|
60
|
+
basic: true,
|
|
61
|
+
themeEnabled: true
|
|
56
62
|
}, {
|
|
57
63
|
id: 5,
|
|
58
64
|
format: "underline",
|
|
@@ -101,6 +107,42 @@ export const toolbarGroups = [[{
|
|
|
101
107
|
type: "block",
|
|
102
108
|
title: "H3",
|
|
103
109
|
group: "typography"
|
|
110
|
+
}, {
|
|
111
|
+
id: 39,
|
|
112
|
+
format: "headingFour",
|
|
113
|
+
type: "block",
|
|
114
|
+
title: "H4",
|
|
115
|
+
group: "typography"
|
|
116
|
+
}, {
|
|
117
|
+
id: 40,
|
|
118
|
+
format: "headingFive",
|
|
119
|
+
type: "block",
|
|
120
|
+
title: "H5",
|
|
121
|
+
group: "typography"
|
|
122
|
+
}, {
|
|
123
|
+
id: 41,
|
|
124
|
+
format: "headingSix",
|
|
125
|
+
type: "block",
|
|
126
|
+
title: "H6",
|
|
127
|
+
group: "typography"
|
|
128
|
+
}, {
|
|
129
|
+
id: 42,
|
|
130
|
+
format: "paragraphOne",
|
|
131
|
+
type: "block",
|
|
132
|
+
title: "Paragraph 1",
|
|
133
|
+
group: "typography"
|
|
134
|
+
}, {
|
|
135
|
+
id: 43,
|
|
136
|
+
format: "paragraphTwo",
|
|
137
|
+
type: "block",
|
|
138
|
+
title: "Paragraph 2",
|
|
139
|
+
group: "typography"
|
|
140
|
+
}, {
|
|
141
|
+
id: 44,
|
|
142
|
+
format: "paragraphThree",
|
|
143
|
+
type: "block",
|
|
144
|
+
title: "Paragraph 3",
|
|
145
|
+
group: "typography"
|
|
104
146
|
}, {
|
|
105
147
|
id: 14,
|
|
106
148
|
format: "doublequote",
|
|
@@ -435,4 +435,156 @@ export function DeleteIcon(props) {
|
|
|
435
435
|
strokeLinejoin: "round"
|
|
436
436
|
})]
|
|
437
437
|
});
|
|
438
|
-
}
|
|
438
|
+
}
|
|
439
|
+
export const PauseRecordingIcon = () => /*#__PURE__*/_jsxs("svg", {
|
|
440
|
+
width: "30",
|
|
441
|
+
height: "30",
|
|
442
|
+
viewBox: "0 0 30 30",
|
|
443
|
+
fill: "none",
|
|
444
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
445
|
+
children: [/*#__PURE__*/_jsx("circle", {
|
|
446
|
+
cx: "15",
|
|
447
|
+
cy: "15",
|
|
448
|
+
r: "14.5",
|
|
449
|
+
fill: "white",
|
|
450
|
+
stroke: "url(#paint0_linear_29403_449555)"
|
|
451
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
452
|
+
d: "M13.6916 21.125H10.8817C10.5953 21.125 10.3447 20.8744 10.3447 20.5881V9.84943C10.3447 9.54517 10.5953 9.3125 10.8817 9.3125H13.6916C13.932 9.3125 14.2285 9.54517 14.2285 9.84943V20.5881C14.2285 20.8744 13.932 21.125 13.6916 21.125Z",
|
|
453
|
+
fill: "url(#paint1_linear_29403_449555)"
|
|
454
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
455
|
+
d: "M20.1346 21.125H17.3426C17.0383 21.125 16.8057 20.8744 16.8057 20.5881V9.84943C16.8057 9.54517 17.0383 9.3125 17.3426 9.3125H20.1525C20.4568 9.3125 20.6895 9.54517 20.6895 9.84943V20.5881C20.6716 20.8744 20.4389 21.125 20.1346 21.125Z",
|
|
456
|
+
fill: "url(#paint2_linear_29403_449555)"
|
|
457
|
+
}), /*#__PURE__*/_jsxs("defs", {
|
|
458
|
+
children: [/*#__PURE__*/_jsxs("linearGradient", {
|
|
459
|
+
id: "paint0_linear_29403_449555",
|
|
460
|
+
x1: "15",
|
|
461
|
+
y1: "0",
|
|
462
|
+
x2: "15",
|
|
463
|
+
y2: "30",
|
|
464
|
+
gradientUnits: "userSpaceOnUse",
|
|
465
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
466
|
+
stopColor: "#8061FD"
|
|
467
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
468
|
+
offset: "1",
|
|
469
|
+
stopColor: "#2C64ED"
|
|
470
|
+
})]
|
|
471
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
472
|
+
id: "paint1_linear_29403_449555",
|
|
473
|
+
x1: "12.2866",
|
|
474
|
+
y1: "9.3125",
|
|
475
|
+
x2: "12.2866",
|
|
476
|
+
y2: "21.125",
|
|
477
|
+
gradientUnits: "userSpaceOnUse",
|
|
478
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
479
|
+
stopColor: "#8161FD"
|
|
480
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
481
|
+
offset: "1",
|
|
482
|
+
stopColor: "#2A64EC"
|
|
483
|
+
})]
|
|
484
|
+
}), /*#__PURE__*/_jsxs("linearGradient", {
|
|
485
|
+
id: "paint2_linear_29403_449555",
|
|
486
|
+
x1: "18.7476",
|
|
487
|
+
y1: "9.3125",
|
|
488
|
+
x2: "18.7476",
|
|
489
|
+
y2: "21.125",
|
|
490
|
+
gradientUnits: "userSpaceOnUse",
|
|
491
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
492
|
+
stopColor: "#8161FD"
|
|
493
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
494
|
+
offset: "1",
|
|
495
|
+
stopColor: "#2A64EC"
|
|
496
|
+
})]
|
|
497
|
+
})]
|
|
498
|
+
})]
|
|
499
|
+
});
|
|
500
|
+
export const CloseGreyCircle = () => /*#__PURE__*/_jsxs("svg", {
|
|
501
|
+
width: "30",
|
|
502
|
+
height: "30",
|
|
503
|
+
viewBox: "0 0 30 30",
|
|
504
|
+
fill: "none",
|
|
505
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
506
|
+
children: [/*#__PURE__*/_jsx("rect", {
|
|
507
|
+
width: "30",
|
|
508
|
+
height: "30",
|
|
509
|
+
rx: "15",
|
|
510
|
+
fill: "#DAE4ED"
|
|
511
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
512
|
+
d: "M19.1245 10.875L10.8749 19.1246",
|
|
513
|
+
stroke: "#2563EB",
|
|
514
|
+
strokeWidth: "1.5",
|
|
515
|
+
strokeLinecap: "round",
|
|
516
|
+
strokeLinejoin: "round"
|
|
517
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
518
|
+
d: "M10.875 10.875L19.1246 19.1246",
|
|
519
|
+
stroke: "#2563EB",
|
|
520
|
+
strokeWidth: "1.5",
|
|
521
|
+
strokeLinecap: "round",
|
|
522
|
+
strokeLinejoin: "round"
|
|
523
|
+
})]
|
|
524
|
+
});
|
|
525
|
+
export const TickBlueCircle = () => /*#__PURE__*/_jsxs("svg", {
|
|
526
|
+
width: "30",
|
|
527
|
+
height: "30",
|
|
528
|
+
viewBox: "0 0 30 30",
|
|
529
|
+
fill: "none",
|
|
530
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
531
|
+
children: [/*#__PURE__*/_jsx("rect", {
|
|
532
|
+
width: "30",
|
|
533
|
+
height: "30",
|
|
534
|
+
rx: "15",
|
|
535
|
+
fill: "url(#paint0_linear_30220_64249)"
|
|
536
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
537
|
+
d: "M9 15L13.0011 19L21 11",
|
|
538
|
+
stroke: "white",
|
|
539
|
+
strokeWidth: "1.5",
|
|
540
|
+
strokeLinecap: "round",
|
|
541
|
+
strokeLinejoin: "round"
|
|
542
|
+
}), /*#__PURE__*/_jsx("defs", {
|
|
543
|
+
children: /*#__PURE__*/_jsxs("linearGradient", {
|
|
544
|
+
id: "paint0_linear_30220_64249",
|
|
545
|
+
x1: "15",
|
|
546
|
+
y1: "0",
|
|
547
|
+
x2: "15",
|
|
548
|
+
y2: "30",
|
|
549
|
+
gradientUnits: "userSpaceOnUse",
|
|
550
|
+
children: [/*#__PURE__*/_jsx("stop", {
|
|
551
|
+
stopColor: "#8360FD"
|
|
552
|
+
}), /*#__PURE__*/_jsx("stop", {
|
|
553
|
+
offset: "1",
|
|
554
|
+
stopColor: "#2563EB"
|
|
555
|
+
})]
|
|
556
|
+
})
|
|
557
|
+
})]
|
|
558
|
+
});
|
|
559
|
+
export const ChatMicIcon = props => /*#__PURE__*/_jsxs("svg", {
|
|
560
|
+
width: "26",
|
|
561
|
+
height: "26",
|
|
562
|
+
viewBox: "0 0 26 26",
|
|
563
|
+
fill: "none",
|
|
564
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
565
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
566
|
+
d: "M13 19.3194C15.9882 19.3194 18.4166 16.8909 18.4166 13.9028V9.38887C18.4166 6.40067 15.9882 3.9722 13 3.9722C10.0118 3.9722 7.58331 6.40067 7.58331 9.38887V13.9028C7.58331 16.8909 10.0118 19.3194 13 19.3194Z",
|
|
567
|
+
stroke: "#94A3B8",
|
|
568
|
+
strokeWidth: "1.4",
|
|
569
|
+
strokeLinecap: "round",
|
|
570
|
+
strokeLinejoin: "round"
|
|
571
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
572
|
+
d: "M4.875 12.0972V13.9028C4.875 18.3896 8.51319 22.0278 13 22.0278C17.4868 22.0278 21.125 18.3896 21.125 13.9028V12.0972",
|
|
573
|
+
stroke: "#94A3B8",
|
|
574
|
+
strokeWidth: "1.4",
|
|
575
|
+
strokeLinecap: "round",
|
|
576
|
+
strokeLinejoin: "round"
|
|
577
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
578
|
+
d: "M10.3913 8.91914C11.9982 8.33233 13.7496 8.33233 15.3565 8.91914",
|
|
579
|
+
stroke: "#94A3B8",
|
|
580
|
+
strokeWidth: "1.4",
|
|
581
|
+
strokeLinecap: "round",
|
|
582
|
+
strokeLinejoin: "round"
|
|
583
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
584
|
+
d: "M11.2218 11.6295C12.3051 11.3316 13.4516 11.3316 14.535 11.6295",
|
|
585
|
+
stroke: "#94A3B8",
|
|
586
|
+
strokeWidth: "1.4",
|
|
587
|
+
strokeLinecap: "round",
|
|
588
|
+
strokeLinejoin: "round"
|
|
589
|
+
})]
|
|
590
|
+
});
|
|
@@ -1,29 +1,32 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
-
const
|
|
4
|
+
const AddTemplateIcon = () => {
|
|
5
5
|
return /*#__PURE__*/_jsxs("svg", {
|
|
6
6
|
width: "17",
|
|
7
|
-
height: "
|
|
8
|
-
viewBox: "0 0 17
|
|
7
|
+
height: "18",
|
|
8
|
+
viewBox: "0 0 17 18",
|
|
9
9
|
fill: "none",
|
|
10
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11
11
|
children: [/*#__PURE__*/_jsx("path", {
|
|
12
|
-
d: "M9.
|
|
13
|
-
|
|
12
|
+
d: "M9.21541 2.18999L13.3946 4.15499C14.5987 4.71749 14.5987 5.64749 13.3946 6.20999L9.21541 8.17499C8.74083 8.39999 7.96166 8.39999 7.48708 8.17499L3.30791 6.20999C2.10374 5.64749 2.10374 4.71749 3.30791 4.15499L7.48708 2.18999C7.96166 1.96499 8.74083 1.96499 9.21541 2.18999Z",
|
|
13
|
+
stroke: "#64748B",
|
|
14
|
+
strokeWidth: "1.5",
|
|
14
15
|
strokeLinecap: "round",
|
|
15
16
|
strokeLinejoin: "round"
|
|
16
17
|
}), /*#__PURE__*/_jsx("path", {
|
|
17
|
-
d: "M2.
|
|
18
|
-
|
|
18
|
+
d: "M2.125 8.25C2.125 8.88 2.57125 9.6075 3.11667 9.8625L7.92625 12.1275C8.29458 12.3 8.7125 12.3 9.07375 12.1275L13.8833 9.8625C14.4287 9.6075 14.875 8.88 14.875 8.25",
|
|
19
|
+
stroke: "#64748B",
|
|
20
|
+
strokeWidth: "1.5",
|
|
19
21
|
strokeLinecap: "round",
|
|
20
22
|
strokeLinejoin: "round"
|
|
21
23
|
}), /*#__PURE__*/_jsx("path", {
|
|
22
|
-
d: "M2.
|
|
23
|
-
|
|
24
|
+
d: "M2.125 12C2.125 12.6975 2.51458 13.3275 3.11667 13.6125L7.92625 15.8775C8.29458 16.05 8.7125 16.05 9.07375 15.8775L13.8833 13.6125C14.4854 13.3275 14.875 12.6975 14.875 12",
|
|
25
|
+
stroke: "#64748B",
|
|
26
|
+
strokeWidth: "1.5",
|
|
24
27
|
strokeLinecap: "round",
|
|
25
28
|
strokeLinejoin: "round"
|
|
26
29
|
})]
|
|
27
30
|
});
|
|
28
31
|
};
|
|
29
|
-
export default
|
|
32
|
+
export default AddTemplateIcon;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
const RedoIcon = props => {
|
|
4
|
+
return /*#__PURE__*/_jsxs("svg", {
|
|
5
|
+
width: "17",
|
|
6
|
+
height: "18",
|
|
7
|
+
viewBox: "0 0 17 18",
|
|
8
|
+
fill: "none",
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
...props,
|
|
11
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
12
|
+
d: "M12.25 14.5H6.25C4.18 14.5 2.5 12.484 2.5 10C2.5 7.516 4.18 5.5 6.25 5.5H14.5",
|
|
13
|
+
stroke: "#64748B",
|
|
14
|
+
strokeWidth: "1.5",
|
|
15
|
+
strokeMiterlimit: "10",
|
|
16
|
+
strokeLinecap: "round",
|
|
17
|
+
strokeLinejoin: "round"
|
|
18
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
19
|
+
d: "M12.5 7.5L14.5 5.5L12.5 3.5",
|
|
20
|
+
stroke: "#64748B",
|
|
21
|
+
strokeWidth: "1.5",
|
|
22
|
+
strokeLinecap: "round",
|
|
23
|
+
strokeLinejoin: "round"
|
|
24
|
+
})]
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
export default RedoIcon;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
const SettingsIcon = props => {
|
|
4
|
+
return /*#__PURE__*/_jsxs("svg", {
|
|
5
|
+
width: "17",
|
|
6
|
+
height: "18",
|
|
7
|
+
viewBox: "0 0 17 18",
|
|
8
|
+
fill: "none",
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
...props,
|
|
11
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
12
|
+
d: "M8.5 11.125C9.6736 11.125 10.625 10.1736 10.625 9C10.625 7.82639 9.6736 6.875 8.5 6.875C7.32639 6.875 6.375 7.82639 6.375 9C6.375 10.1736 7.32639 11.125 8.5 11.125Z",
|
|
13
|
+
stroke: "#64748B",
|
|
14
|
+
strokeWidth: "1.5",
|
|
15
|
+
strokeMiterlimit: "10",
|
|
16
|
+
strokeLinecap: "round",
|
|
17
|
+
strokeLinejoin: "round"
|
|
18
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
19
|
+
d: "M1.4165 9.62343V8.37676C1.4165 7.6401 2.01859 7.03093 2.76234 7.03093C4.04442 7.03093 4.56859 6.12426 3.924 5.01218C3.55567 4.37468 3.77525 3.54593 4.41984 3.1776L5.64525 2.47635C6.20484 2.14343 6.92734 2.34176 7.26025 2.90135L7.33817 3.03593C7.97567 4.14801 9.024 4.14801 9.66859 3.03593L9.7465 2.90135C10.0794 2.34176 10.8019 2.14343 11.3615 2.47635L12.5869 3.1776C13.2315 3.54593 13.4511 4.37468 13.0828 5.01218C12.4382 6.12426 12.9623 7.03093 14.2444 7.03093C14.9811 7.03093 15.5903 7.63301 15.5903 8.37676V9.62343C15.5903 10.3601 14.9882 10.9693 14.2444 10.9693C12.9623 10.9693 12.4382 11.8759 13.0828 12.988C13.4511 13.6326 13.2315 14.4543 12.5869 14.8226L11.3615 15.5238C10.8019 15.8568 10.0794 15.6584 9.7465 15.0988L9.66859 14.9643C9.03109 13.8522 7.98275 13.8522 7.33817 14.9643L7.26025 15.0988C6.92734 15.6584 6.20484 15.8568 5.64525 15.5238L4.41984 14.8226C3.77525 14.4543 3.55567 13.6255 3.924 12.988C4.56859 11.8759 4.04442 10.9693 2.76234 10.9693C2.01859 10.9693 1.4165 10.3601 1.4165 9.62343Z",
|
|
20
|
+
stroke: "#64748B",
|
|
21
|
+
strokeWidth: "1.5",
|
|
22
|
+
strokeMiterlimit: "10",
|
|
23
|
+
strokeLinecap: "round",
|
|
24
|
+
strokeLinejoin: "round"
|
|
25
|
+
})]
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
export default SettingsIcon;
|
|
@@ -4,22 +4,25 @@ import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
4
4
|
const TextIcon = () => {
|
|
5
5
|
return /*#__PURE__*/_jsxs("svg", {
|
|
6
6
|
width: "15",
|
|
7
|
-
height: "
|
|
8
|
-
viewBox: "0 0 15
|
|
7
|
+
height: "16",
|
|
8
|
+
viewBox: "0 0 15 16",
|
|
9
9
|
fill: "none",
|
|
10
10
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11
11
|
children: [/*#__PURE__*/_jsx("path", {
|
|
12
|
-
d: "
|
|
12
|
+
d: "M1.66895 4.9813V3.8438C1.66895 3.12505 2.2502 2.55005 2.9627 2.55005H12.0377C12.7564 2.55005 13.3314 3.1313 13.3314 3.8438V4.9813",
|
|
13
|
+
stroke: "#64748B",
|
|
13
14
|
strokeWidth: "1.5",
|
|
14
15
|
strokeLinecap: "round",
|
|
15
16
|
strokeLinejoin: "round"
|
|
16
17
|
}), /*#__PURE__*/_jsx("path", {
|
|
17
|
-
d: "M7.5
|
|
18
|
+
d: "M7.5 13.4501V3.06885",
|
|
19
|
+
stroke: "#64748B",
|
|
18
20
|
strokeWidth: "1.5",
|
|
19
21
|
strokeLinecap: "round",
|
|
20
22
|
strokeLinejoin: "round"
|
|
21
23
|
}), /*#__PURE__*/_jsx("path", {
|
|
22
|
-
d: "M5.
|
|
24
|
+
d: "M5.0376 13.45H9.9626",
|
|
25
|
+
stroke: "#64748B",
|
|
23
26
|
strokeWidth: "1.5",
|
|
24
27
|
strokeLinecap: "round",
|
|
25
28
|
strokeLinejoin: "round"
|