@flozy/editor 4.0.1 → 4.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Editor/ChatEditor.js +3 -19
- package/dist/Editor/CommonEditor.js +181 -109
- package/dist/Editor/Editor.css +31 -3
- package/dist/Editor/Elements/AI/AIInput.js +31 -33
- package/dist/Editor/Elements/AI/CustomSelect.js +19 -12
- package/dist/Editor/Elements/AI/PopoverAIInput.js +73 -97
- package/dist/Editor/Elements/AI/Styles.js +2 -2
- package/dist/Editor/Elements/AI/VoiceToText/AudioWave.js +73 -0
- package/dist/Editor/Elements/AI/VoiceToText/index.js +184 -0
- package/dist/Editor/Elements/AI/VoiceToText/style.js +40 -0
- package/dist/Editor/Elements/AI/helper.js +5 -3
- package/dist/Editor/Elements/Accordion/Accordion.js +1 -1
- package/dist/Editor/Elements/Accordion/AccordionSummary.js +5 -10
- package/dist/Editor/Elements/AppHeader/AppHeader.js +26 -4
- package/dist/Editor/Elements/Button/EditorButton.js +28 -16
- package/dist/Editor/Elements/Carousel/CarouselButton.js +2 -1
- package/dist/Editor/Elements/Color Picker/ColorButtons.js +60 -15
- 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 +3 -1
- package/dist/Editor/Elements/Emoji/EmojiPicker.js +2 -4
- 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 +73 -14
- package/dist/Editor/Elements/Link/LinkPopupStyles.js +28 -0
- package/dist/Editor/Elements/List/CheckList.js +1 -2
- package/dist/Editor/Elements/NewLine/NewLineButton.js +2 -1
- package/dist/Editor/Elements/PageSettings/PageSettingsButton.js +3 -3
- package/dist/Editor/Elements/Redo/RedoButton.js +14 -0
- package/dist/Editor/Elements/Signature/Signature.css +13 -6
- package/dist/Editor/Elements/Signature/SignatureOptions/UploadSignature.js +2 -1
- package/dist/Editor/Elements/Signature/SignaturePopup.js +185 -30
- package/dist/Editor/Elements/SimpleText/index.js +11 -1
- package/dist/Editor/Elements/SimpleText/style.js +1 -1
- 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 +27 -3
- package/dist/Editor/Toolbar/FormatTools/MarkButton.js +2 -2
- package/dist/Editor/Toolbar/FormatTools/TextSize.js +31 -20
- package/dist/Editor/Toolbar/Mini/MiniToolbar.js +36 -5
- package/dist/Editor/Toolbar/Mini/Options/Options.js +10 -0
- package/dist/Editor/Toolbar/Mini/Styles.js +7 -0
- package/dist/Editor/Toolbar/PopupTool/ButtonTemplatesCard.js +12 -13
- package/dist/Editor/Toolbar/PopupTool/FullViewCard.js +12 -13
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/CustomSelectTool.js +3 -0
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectFontSize.js +4 -11
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectSuperSubscript.js +59 -0
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectTypography.js +213 -86
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/index.js +4 -2
- package/dist/Editor/Toolbar/PopupTool/PopupToolStyle.js +123 -44
- package/dist/Editor/Toolbar/PopupTool/TextFormat.js +106 -44
- package/dist/Editor/Toolbar/PopupTool/ThemeTextFormat.js +438 -0
- package/dist/Editor/Toolbar/PopupTool/index.js +7 -6
- package/dist/Editor/Toolbar/toolbarGroups.js +53 -11
- 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 +26 -18
- 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/EditorIcons.js +7 -7
- package/dist/Editor/common/Icon.js +64 -25
- package/dist/Editor/common/ImageList.js +16 -3
- package/dist/Editor/common/ImageSelector/ImageSelector.js +30 -9
- package/dist/Editor/common/ImageSelector/Styles.js +2 -1
- 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/MentionsPopup/Styles.js +1 -1
- 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 +63 -9
- package/dist/Editor/common/StyleBuilder/accordionTitleBtnStyle.js +1 -2
- package/dist/Editor/common/StyleBuilder/buttonStyle.js +4 -2
- package/dist/Editor/common/StyleBuilder/fieldTypes/bannerSpacing.js +13 -3
- package/dist/Editor/common/StyleBuilder/fieldTypes/borderRadius.js +15 -7
- package/dist/Editor/common/StyleBuilder/fieldTypes/buttonLink.js +1 -1
- package/dist/Editor/common/StyleBuilder/fieldTypes/color.js +29 -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/iconListV2.js +843 -0
- package/dist/Editor/common/iconslist.js +0 -31
- package/dist/Editor/commonStyle.js +6 -0
- package/dist/Editor/helper/index.js +0 -22
- package/dist/Editor/helper/theme.js +189 -3
- 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 +169 -27
- 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,7 +1,7 @@
|
|
1
|
-
import React, {
|
1
|
+
import React, { useState } from "react";
|
2
2
|
import { Grid, Button, Popover } from "@mui/material";
|
3
|
-
import ColorPickerTool from "react-gcolor-picker";
|
4
3
|
import { colors } from "../Elements/Color Picker/defaultColors";
|
4
|
+
import CustomColorPicker from "./CustomColorPicker";
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
6
6
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
7
7
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
@@ -9,10 +9,12 @@ const ColorPickerButton = props => {
|
|
9
9
|
const {
|
10
10
|
value,
|
11
11
|
onSave,
|
12
|
-
defaultColors = [],
|
13
12
|
classes = {},
|
14
13
|
recentColors = [],
|
15
|
-
|
14
|
+
children,
|
15
|
+
handleClose: closeDrawer,
|
16
|
+
hideThemeColors,
|
17
|
+
disableEditTheme
|
16
18
|
} = props;
|
17
19
|
const [anchorEl, setAnchorEl] = useState(null);
|
18
20
|
const [color, setColor] = useState(value);
|
@@ -30,15 +32,14 @@ const ColorPickerButton = props => {
|
|
30
32
|
const handleColorChange = color => {
|
31
33
|
setColor(color);
|
32
34
|
};
|
33
|
-
const initialColors = useMemo(() => {
|
34
|
-
let colors = [...recentColors, ...defaultColors];
|
35
|
-
if (hideGradient) {
|
36
|
-
colors = colors.filter(c => c && !c.includes("gradient"));
|
37
|
-
}
|
38
|
-
return colors;
|
39
|
-
}, [recentColors, defaultColors, hideGradient]);
|
40
35
|
return /*#__PURE__*/_jsxs(_Fragment, {
|
41
|
-
children: [/*#__PURE__*/_jsx(
|
36
|
+
children: [children ? /*#__PURE__*/_jsx("div", {
|
37
|
+
onClick: handleColorPicker,
|
38
|
+
style: {
|
39
|
+
cursor: "pointer"
|
40
|
+
},
|
41
|
+
children: children
|
42
|
+
}) : /*#__PURE__*/_jsx(Button, {
|
42
43
|
style: {
|
43
44
|
background: value,
|
44
45
|
height: "22px",
|
@@ -68,17 +69,24 @@ const ColorPickerButton = props => {
|
|
68
69
|
item: true,
|
69
70
|
xs: 12,
|
70
71
|
children: [/*#__PURE__*/_jsx("div", {
|
71
|
-
children: /*#__PURE__*/_jsx(
|
72
|
-
gradient:
|
73
|
-
|
72
|
+
children: /*#__PURE__*/_jsx(CustomColorPicker, {
|
73
|
+
gradient: true,
|
74
|
+
color: color,
|
74
75
|
onChange: handleColorChange,
|
75
|
-
|
76
|
+
recentColors: recentColors,
|
77
|
+
closeDrawer: closeDrawer,
|
78
|
+
hideThemeColors: hideThemeColors,
|
79
|
+
disableEditTheme: disableEditTheme
|
76
80
|
})
|
77
81
|
}), /*#__PURE__*/_jsxs("div", {
|
78
82
|
style: {
|
79
83
|
display: "flex",
|
80
|
-
justifyContent: "end",
|
81
|
-
|
84
|
+
justifyContent: "flex-end",
|
85
|
+
padding: "8px",
|
86
|
+
background: "white",
|
87
|
+
position: "sticky",
|
88
|
+
bottom: 0,
|
89
|
+
boxShadow: "0 -1px 5px rgba(0,0,0,0.1)"
|
82
90
|
},
|
83
91
|
children: [/*#__PURE__*/_jsx(Button, {
|
84
92
|
onClick: handleClose,
|
@@ -0,0 +1,106 @@
|
|
1
|
+
import { Box, Button, Typography, useTheme } from "@mui/material";
|
2
|
+
import ColorPickerTool from "react-gcolor-picker";
|
3
|
+
import customColorPickerStyles from "./style";
|
4
|
+
import { colors } from "../../Elements/Color Picker/defaultColors";
|
5
|
+
import { useContext, useMemo } from "react";
|
6
|
+
import { ThemeContext } from "../../CommonEditor";
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
8
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
9
|
+
function CustomColorPicker(props) {
|
10
|
+
const {
|
11
|
+
gradient,
|
12
|
+
color,
|
13
|
+
onChange,
|
14
|
+
defaultColors,
|
15
|
+
recentColors = [],
|
16
|
+
closeDrawer,
|
17
|
+
hideThemeColors,
|
18
|
+
disableEditTheme
|
19
|
+
} = props;
|
20
|
+
const {
|
21
|
+
setOpenTheme
|
22
|
+
} = useContext(ThemeContext);
|
23
|
+
const classes = customColorPickerStyles();
|
24
|
+
const theme = useTheme();
|
25
|
+
const colorVars = theme?.vars?.colors || {};
|
26
|
+
const colorTabs = useMemo(() => {
|
27
|
+
const otherColors = {
|
28
|
+
title: "Recent colours",
|
29
|
+
colors: [...recentColors, ...defaultColors],
|
30
|
+
onChange: onChange
|
31
|
+
};
|
32
|
+
const themeColors = Object.values(colorVars);
|
33
|
+
const tabs = [];
|
34
|
+
if (themeColors?.length && !hideThemeColors) {
|
35
|
+
tabs.push({
|
36
|
+
title: "Theme colour",
|
37
|
+
onEdit: () => {
|
38
|
+
setOpenTheme("editThemeColor");
|
39
|
+
closeDrawer();
|
40
|
+
},
|
41
|
+
colors: Object.values(colorVars),
|
42
|
+
onChange: onChange
|
43
|
+
});
|
44
|
+
}
|
45
|
+
tabs.push(otherColors);
|
46
|
+
return tabs;
|
47
|
+
}, [recentColors, defaultColors, onChange, colorVars]);
|
48
|
+
return /*#__PURE__*/_jsxs(Box, {
|
49
|
+
component: "div",
|
50
|
+
sx: classes.customColorPickerContainer,
|
51
|
+
children: [/*#__PURE__*/_jsx(ColorPickerTool, {
|
52
|
+
gradient: gradient,
|
53
|
+
value: color?.startsWith("var") ? "" : color,
|
54
|
+
onChange: onChange,
|
55
|
+
defaultColors: [],
|
56
|
+
popupWidth: "300"
|
57
|
+
}), colorTabs.map((tab, i) => {
|
58
|
+
const {
|
59
|
+
title,
|
60
|
+
onEdit,
|
61
|
+
colors = [],
|
62
|
+
onChange
|
63
|
+
} = tab;
|
64
|
+
return /*#__PURE__*/_jsxs(Box, {
|
65
|
+
component: "div",
|
66
|
+
className: "customColorPickerWrapper",
|
67
|
+
children: [/*#__PURE__*/_jsxs(Box, {
|
68
|
+
component: "div",
|
69
|
+
className: "colorTitleWrapper",
|
70
|
+
children: [/*#__PURE__*/_jsx(Typography, {
|
71
|
+
variant: "subtitle2",
|
72
|
+
children: title
|
73
|
+
}), onEdit && !disableEditTheme ? /*#__PURE__*/_jsx(Button, {
|
74
|
+
variant: "text",
|
75
|
+
className: "editBtn",
|
76
|
+
onClick: () => onEdit(tab),
|
77
|
+
children: "Edit"
|
78
|
+
}) : null]
|
79
|
+
}), /*#__PURE__*/_jsx(Box, {
|
80
|
+
component: "div",
|
81
|
+
className: "colorPickerBtnContainer",
|
82
|
+
children: colors.map((colorVar, i) => {
|
83
|
+
const isSelected = colorVar === color;
|
84
|
+
return /*#__PURE__*/_jsx(Box, {
|
85
|
+
className: isSelected ? "colorPicketBtnActive" : "",
|
86
|
+
component: "div",
|
87
|
+
children: /*#__PURE__*/_jsx("button", {
|
88
|
+
style: {
|
89
|
+
background: colorVar
|
90
|
+
},
|
91
|
+
onClick: () => onChange(colorVar),
|
92
|
+
className: `colorPicketBtn`,
|
93
|
+
type: "button"
|
94
|
+
})
|
95
|
+
}, i);
|
96
|
+
})
|
97
|
+
})]
|
98
|
+
}, i);
|
99
|
+
})]
|
100
|
+
});
|
101
|
+
}
|
102
|
+
CustomColorPicker.defaultProps = {
|
103
|
+
defaultColors: [...colors],
|
104
|
+
closeDrawer: () => {}
|
105
|
+
};
|
106
|
+
export default CustomColorPicker;
|
@@ -0,0 +1,53 @@
|
|
1
|
+
const styles = () => ({
|
2
|
+
customColorPickerContainer: {
|
3
|
+
background: "white",
|
4
|
+
width: "300px",
|
5
|
+
"& .popup_tabs": {
|
6
|
+
boxShadow: "none"
|
7
|
+
},
|
8
|
+
".customColorPickerWrapper": {
|
9
|
+
padding: "10px 0px",
|
10
|
+
margin: "0px 16px",
|
11
|
+
borderTop: "1px solid #DCE4EC"
|
12
|
+
},
|
13
|
+
".colorTitleWrapper": {
|
14
|
+
display: "flex",
|
15
|
+
justifyContent: "space-between",
|
16
|
+
alignItems: "center",
|
17
|
+
paddingBottom: "10px",
|
18
|
+
".MuiTypography-root": {
|
19
|
+
fontWeight: "600"
|
20
|
+
},
|
21
|
+
".editBtn": {
|
22
|
+
textTransform: "none",
|
23
|
+
color: "#2563EB",
|
24
|
+
textDecoration: "underline",
|
25
|
+
padding: "0px",
|
26
|
+
minWidth: "unset"
|
27
|
+
}
|
28
|
+
},
|
29
|
+
".colorPickerBtnContainer": {
|
30
|
+
display: "flex",
|
31
|
+
flexWrap: "wrap",
|
32
|
+
gap: "10px"
|
33
|
+
},
|
34
|
+
".colorPicketBtn": {
|
35
|
+
width: "26px",
|
36
|
+
height: "26px",
|
37
|
+
outline: "none",
|
38
|
+
borderRadius: "50%",
|
39
|
+
cursor: "pointer",
|
40
|
+
border: "1.5px solid #DCE4EC"
|
41
|
+
},
|
42
|
+
".colorPicketBtnActive": {
|
43
|
+
borderRadius: "50%",
|
44
|
+
padding: "1px",
|
45
|
+
border: "1.5px solid rgb(83, 83, 249)",
|
46
|
+
width: "fit-content",
|
47
|
+
height: "fit-content",
|
48
|
+
display: "flex",
|
49
|
+
justifyContent: "center"
|
50
|
+
}
|
51
|
+
}
|
52
|
+
});
|
53
|
+
export default styles;
|
@@ -0,0 +1,94 @@
|
|
1
|
+
import Dialog from "@mui/material/Dialog";
|
2
|
+
import DialogTitle from "@mui/material/DialogTitle";
|
3
|
+
import DialogContent from "@mui/material/DialogContent";
|
4
|
+
import DialogActions from "@mui/material/DialogActions";
|
5
|
+
import IconButton from "@mui/material/IconButton";
|
6
|
+
import CloseIcon from "@mui/icons-material/Close";
|
7
|
+
import { Box, Typography, Button } from "@mui/material";
|
8
|
+
import SwipeableDrawer from "../SwipeableDrawer";
|
9
|
+
import customDialogStyles from "./style";
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
11
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
12
|
+
import { Fragment as _Fragment } from "react/jsx-runtime";
|
13
|
+
function CustomDialog(props) {
|
14
|
+
const {
|
15
|
+
handleClose,
|
16
|
+
customProps,
|
17
|
+
children,
|
18
|
+
onSubmit
|
19
|
+
} = props;
|
20
|
+
const {
|
21
|
+
isMobile
|
22
|
+
} = customProps;
|
23
|
+
const classes = customDialogStyles();
|
24
|
+
if (isMobile) {
|
25
|
+
return /*#__PURE__*/_jsx(Box, {
|
26
|
+
sx: classes.dialogContainer,
|
27
|
+
children: /*#__PURE__*/_jsxs(SwipeableDrawer, {
|
28
|
+
onClose: handleClose,
|
29
|
+
children: [/*#__PURE__*/_jsx(Typography, {
|
30
|
+
variant: "subtitle1",
|
31
|
+
gutterBottom: true,
|
32
|
+
sx: {
|
33
|
+
fontWeight: 600
|
34
|
+
},
|
35
|
+
children: "What do you want to link to?"
|
36
|
+
}), /*#__PURE__*/_jsx(Box, {
|
37
|
+
sx: classes.mobileDialogContent,
|
38
|
+
children: children
|
39
|
+
}), /*#__PURE__*/_jsx(Box, {
|
40
|
+
component: "div",
|
41
|
+
sx: classes.mobileActionBtns,
|
42
|
+
children: /*#__PURE__*/_jsx(ActionsButtons, {
|
43
|
+
classes: classes,
|
44
|
+
onCancel: handleClose,
|
45
|
+
onSave: onSubmit
|
46
|
+
})
|
47
|
+
})]
|
48
|
+
})
|
49
|
+
});
|
50
|
+
} else {
|
51
|
+
return /*#__PURE__*/_jsxs(Dialog, {
|
52
|
+
onClose: handleClose,
|
53
|
+
open: true,
|
54
|
+
sx: classes.dialogContainer,
|
55
|
+
fullWidth: true,
|
56
|
+
maxWidth: "sm",
|
57
|
+
children: [/*#__PURE__*/_jsx(DialogTitle, {
|
58
|
+
children: "What do you want to link to?"
|
59
|
+
}), /*#__PURE__*/_jsx(IconButton, {
|
60
|
+
"aria-label": "close",
|
61
|
+
onClick: handleClose,
|
62
|
+
sx: classes.closeIcon,
|
63
|
+
children: /*#__PURE__*/_jsx(CloseIcon, {})
|
64
|
+
}), /*#__PURE__*/_jsx(DialogContent, {
|
65
|
+
dividers: true,
|
66
|
+
children: children
|
67
|
+
}), /*#__PURE__*/_jsx(DialogActions, {
|
68
|
+
children: /*#__PURE__*/_jsx(ActionsButtons, {
|
69
|
+
classes: classes,
|
70
|
+
onCancel: handleClose,
|
71
|
+
onSave: onSubmit
|
72
|
+
})
|
73
|
+
})]
|
74
|
+
});
|
75
|
+
}
|
76
|
+
}
|
77
|
+
export default CustomDialog;
|
78
|
+
function ActionsButtons({
|
79
|
+
classes,
|
80
|
+
onCancel,
|
81
|
+
onSave
|
82
|
+
}) {
|
83
|
+
return /*#__PURE__*/_jsxs(_Fragment, {
|
84
|
+
children: [/*#__PURE__*/_jsx(Button, {
|
85
|
+
onClick: onCancel,
|
86
|
+
sx: classes.closeBtn,
|
87
|
+
children: "Cancel"
|
88
|
+
}), /*#__PURE__*/_jsx(Button, {
|
89
|
+
onClick: onSave,
|
90
|
+
sx: classes.saveBtn,
|
91
|
+
children: "Save"
|
92
|
+
})]
|
93
|
+
});
|
94
|
+
}
|
@@ -0,0 +1,67 @@
|
|
1
|
+
const styles = () => ({
|
2
|
+
dialogContainer: {
|
3
|
+
"& .MuiDialogContent-root": {
|
4
|
+
padding: "0px 20px"
|
5
|
+
},
|
6
|
+
"& .MuiDialogActions-root": {
|
7
|
+
padding: "10px"
|
8
|
+
},
|
9
|
+
"& .MuiTypography-h6": {
|
10
|
+
fontWeight: 600,
|
11
|
+
fontSize: "16px",
|
12
|
+
paddingRight: "20px"
|
13
|
+
},
|
14
|
+
"& .MuiGrid-container": {
|
15
|
+
marginTop: "0px"
|
16
|
+
},
|
17
|
+
"& .MuiGrid-item": {
|
18
|
+
padding: "14px"
|
19
|
+
}
|
20
|
+
},
|
21
|
+
saveBtn: {
|
22
|
+
color: "#fff",
|
23
|
+
background: "#2563EB",
|
24
|
+
fontSize: "14px",
|
25
|
+
fontWeight: 500,
|
26
|
+
padding: "4px 24px",
|
27
|
+
textTransform: "none",
|
28
|
+
"&:hover": {
|
29
|
+
color: "#fff",
|
30
|
+
background: "#2563EB"
|
31
|
+
}
|
32
|
+
},
|
33
|
+
closeBtn: {
|
34
|
+
backgroundColor: "#F4F6F9",
|
35
|
+
color: "#64748B",
|
36
|
+
fontSize: "14px",
|
37
|
+
fontWeight: 500,
|
38
|
+
padding: "4px 22px",
|
39
|
+
textTransform: "none",
|
40
|
+
border: "1px solid #D8DDE1",
|
41
|
+
"&:hover": {
|
42
|
+
border: "1px solid #64748B"
|
43
|
+
}
|
44
|
+
},
|
45
|
+
closeIcon: {
|
46
|
+
position: "absolute",
|
47
|
+
right: 8,
|
48
|
+
top: 8,
|
49
|
+
color: theme => theme.palette.grey[500]
|
50
|
+
},
|
51
|
+
gridDivider: {
|
52
|
+
borderRight: "1px solid rgba(0, 0, 0, 0.12)"
|
53
|
+
},
|
54
|
+
mobileActionBtns: {
|
55
|
+
display: "flex",
|
56
|
+
justifyContent: "flex-end",
|
57
|
+
gap: "8px",
|
58
|
+
paddingTop: "14px",
|
59
|
+
marginTop: "14px",
|
60
|
+
borderTop: theme => `1px solid ${theme.palette.grey[300]}`
|
61
|
+
},
|
62
|
+
mobileDialogContent: {
|
63
|
+
borderTop: theme => `1px solid ${theme.palette.grey[300]}`,
|
64
|
+
paddingTop: "14px"
|
65
|
+
}
|
66
|
+
});
|
67
|
+
export default styles;
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { MenuItem, Select } from "@mui/material";
|
2
|
+
import { fontFamilyMap } from "../utils/font";
|
3
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
4
|
+
function CustomSelect(props) {
|
5
|
+
const {
|
6
|
+
onChange,
|
7
|
+
options = [],
|
8
|
+
value
|
9
|
+
} = props;
|
10
|
+
return /*#__PURE__*/_jsx(Select, {
|
11
|
+
fullWidth: true,
|
12
|
+
value: value,
|
13
|
+
onChange: onChange,
|
14
|
+
className: "editor-dd",
|
15
|
+
style: {
|
16
|
+
fontFamily: fontFamilyMap[value],
|
17
|
+
width: "100%",
|
18
|
+
height: "36px",
|
19
|
+
borderRadius: "10px",
|
20
|
+
fontSize: "14px"
|
21
|
+
},
|
22
|
+
children: options.map((option, i) => {
|
23
|
+
return /*#__PURE__*/_jsx(MenuItem, {
|
24
|
+
value: option.value,
|
25
|
+
style: {
|
26
|
+
fontFamily: option.text
|
27
|
+
},
|
28
|
+
children: option?.label || option?.text
|
29
|
+
}, i);
|
30
|
+
})
|
31
|
+
});
|
32
|
+
}
|
33
|
+
export default CustomSelect;
|
@@ -7,59 +7,68 @@ import { useEditorContext } from "../../hooks/useMouseMove";
|
|
7
7
|
import { Transforms } from "slate";
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
9
9
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
10
|
-
const DRAGGABLE_TYPES = ["paragraph", "headingOne", "headingTwo", "headingThree", "grid"];
|
11
|
-
const DragHandleStyle =
|
12
|
-
|
13
|
-
|
14
|
-
|
10
|
+
const DRAGGABLE_TYPES = ["paragraph", "headingOne", "headingTwo", "headingThree", "headingFour", "headingFive", "headingSix", "paragraphOne", "paragraphTwo", "paragraphThree", "grid"];
|
11
|
+
const DragHandleStyle = fromPopper => {
|
12
|
+
const handleDragStyle = fromPopper ? {
|
13
|
+
position: "absolute",
|
14
|
+
top: "6px",
|
15
|
+
left: "4px"
|
16
|
+
} : {
|
15
17
|
position: "absolute",
|
16
18
|
top: "3px",
|
17
|
-
left: "-52px"
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
19
|
+
left: "-52px"
|
20
|
+
};
|
21
|
+
return {
|
22
|
+
dragHandle: {
|
23
|
+
opacity: 0,
|
24
|
+
content: '" "',
|
25
|
+
...handleDragStyle,
|
26
|
+
borderRadius: "0px",
|
27
|
+
padding: "0px",
|
28
|
+
width: "20px",
|
29
|
+
height: "20px",
|
30
|
+
border: 0,
|
31
|
+
display: "flex",
|
32
|
+
alignItems: "center",
|
33
|
+
justifyContent: "center",
|
34
|
+
cursor: "grab",
|
35
|
+
color: "#D7D7D6",
|
36
|
+
background: "rgb(221, 221, 221, 0.1)",
|
37
|
+
"& svg": {
|
38
|
+
width: "20px"
|
39
|
+
},
|
40
|
+
"&:hover": {
|
41
|
+
opacity: 1,
|
42
|
+
background: "rgb(221, 221, 221, 0.8)"
|
43
|
+
},
|
44
|
+
"&.active": {
|
45
|
+
opacity: 1,
|
46
|
+
cursor: "grabbing"
|
47
|
+
}
|
31
48
|
},
|
32
|
-
|
33
|
-
|
34
|
-
|
49
|
+
dropArea: {
|
50
|
+
position: "absolute",
|
51
|
+
left: 0,
|
52
|
+
top: 0,
|
53
|
+
width: "100%",
|
54
|
+
height: "100%",
|
55
|
+
pointerEvents: "none",
|
56
|
+
zIndex: -1,
|
57
|
+
"&.dragging": {
|
58
|
+
backgroundColor: "#def4ff"
|
59
|
+
}
|
35
60
|
},
|
36
|
-
|
37
|
-
|
38
|
-
|
61
|
+
dropAreaOver: {
|
62
|
+
position: "absolute",
|
63
|
+
left: 0,
|
64
|
+
top: 0,
|
65
|
+
width: "100%",
|
66
|
+
height: "4px"
|
39
67
|
}
|
40
|
-
}
|
41
|
-
|
42
|
-
position: "absolute",
|
43
|
-
left: 0,
|
44
|
-
top: 0,
|
45
|
-
width: "100%",
|
46
|
-
height: "100%",
|
47
|
-
pointerEvents: "none",
|
48
|
-
zIndex: -1,
|
49
|
-
"&.dragging": {
|
50
|
-
backgroundColor: "#def4ff"
|
51
|
-
}
|
52
|
-
},
|
53
|
-
dropAreaOver: {
|
54
|
-
position: "absolute",
|
55
|
-
left: 0,
|
56
|
-
top: 0,
|
57
|
-
width: "100%",
|
58
|
-
height: "4px"
|
59
|
-
}
|
60
|
-
});
|
68
|
+
};
|
69
|
+
};
|
61
70
|
const DragHandle = props => {
|
62
|
-
const classes = DragHandleStyle();
|
71
|
+
const classes = DragHandleStyle(props.fromPopper);
|
63
72
|
const editor = useSlateStatic();
|
64
73
|
const [dragging, setDragging] = useState(false);
|
65
74
|
const {
|
@@ -9,23 +9,23 @@ export const DrawSignature = props => /*#__PURE__*/_jsxs("svg", {
|
|
9
9
|
children: [/*#__PURE__*/_jsx("path", {
|
10
10
|
className: "fillPath",
|
11
11
|
d: "M21.3748 1.49609L12.1426 10.7274C11.6087 11.2606 11.6087 12.126 12.1426 12.6598L12.6527 13.17C13.1859 13.7031 14.052 13.7031 14.5851 13.17L23.8183 3.93768L21.3748 1.49609Z",
|
12
|
-
fill:
|
12
|
+
fill: props.fill
|
13
13
|
}), /*#__PURE__*/_jsx("path", {
|
14
14
|
className: "fillPath",
|
15
15
|
d: "M11.7399 13.0617C11.4885 12.8102 11.3279 12.5025 11.2544 12.1797L11.2125 12.2944C11.1271 12.5293 10.9854 12.9153 10.8993 13.1501L10.3267 14.7154C10.3236 14.7233 10.3227 14.7313 10.3203 14.7367L11.0133 14.0446C11.0837 13.9751 11.1975 13.9751 11.268 14.0446C11.3385 14.1158 11.3385 14.2298 11.268 14.2994L10.5759 14.9931C10.5837 14.99 10.5901 14.9883 10.5981 14.9852L12.1634 14.4133C12.3983 14.327 12.7836 14.1863 13.0192 14.1002L13.1339 14.0583C12.8103 13.984 12.5026 13.8234 12.2511 13.5734L11.7399 13.0617Z",
|
16
|
-
fill:
|
16
|
+
fill: props.fill
|
17
17
|
}), /*#__PURE__*/_jsx("path", {
|
18
18
|
className: "fillPath",
|
19
19
|
d: "M24.9119 0.911237L24.4018 0.401078C23.8679 -0.133693 23.0025 -0.133693 22.4694 0.401078L21.7852 1.08533L24.2277 3.52785L24.9119 2.8436C25.4451 2.30976 25.4451 1.44433 24.9119 0.911237Z",
|
20
|
-
fill:
|
20
|
+
fill: props.fill
|
21
21
|
}), /*#__PURE__*/_jsx("path", {
|
22
22
|
className: "fillPath",
|
23
23
|
d: "M23.8386 4.55868L19.678 8.71929C19.511 8.88625 19.511 9.15663 19.678 9.3236C19.8449 9.49056 20.1153 9.49056 20.2823 9.3236L24.4419 5.16299C24.6089 4.99603 24.6089 4.72565 24.4419 4.55868C24.2752 4.3919 24.0046 4.3919 23.8386 4.55868Z",
|
24
|
-
fill:
|
24
|
+
fill: props.fill
|
25
25
|
}), /*#__PURE__*/_jsx("path", {
|
26
26
|
className: "fillPath",
|
27
27
|
d: "M12.3531 15.8358H9.24616C8.12385 15.8358 7.46165 16.0692 7.02266 16.2235C6.5125 16.4046 6.4706 16.4181 5.99284 15.9839C5.84645 15.8493 5.7088 15.669 5.56332 15.4768C5.20573 15.007 4.75821 14.4169 3.98619 14.4635C2.88281 14.5253 2.78539 15.6729 2.72768 16.3587C2.71822 16.4742 2.70711 16.6031 2.69218 16.7296C2.61698 16.4948 2.54433 16.2384 2.48898 16.0423C2.39886 15.7211 2.30545 15.3905 2.20494 15.1121C1.9961 14.5371 1.63139 14.4588 1.41311 14.4635C1.19717 14.4683 0.622914 14.4801 0.0266173 16.3713C-0.0682457 16.671 0.0985384 16.9907 0.398416 17.0863C0.699748 17.1805 1.01928 17.0135 1.11432 16.7138C1.17604 16.5177 1.25196 16.3136 1.32862 16.1301C1.3492 16.2029 1.3705 16.2772 1.39107 16.3508C1.68458 17.3933 1.91638 18.215 2.54596 18.3655C2.59421 18.3766 2.65429 18.3853 2.72384 18.3853C2.9041 18.3853 3.14462 18.3219 3.37803 18.0658C3.7633 17.6443 3.81701 17.0121 3.86363 16.456C3.88584 16.1902 3.92772 15.6942 4.0488 15.6018C4.21339 15.5954 4.39128 15.8193 4.65549 16.1673C4.81772 16.3809 5.00198 16.6228 5.22503 16.8253C6.14103 17.6597 6.65833 17.5609 7.40173 17.2983C7.80994 17.1543 8.31848 16.9757 9.24543 16.9757H12.3523C12.6672 16.9757 12.9226 16.7193 12.9226 16.4054C12.9233 16.0914 12.6688 15.8359 12.353 15.8359L12.3531 15.8358Z",
|
28
|
-
fill:
|
28
|
+
fill: props.fill
|
29
29
|
})]
|
30
30
|
});
|
31
31
|
export const TypeSignature = props => /*#__PURE__*/_jsx("svg", {
|
@@ -37,7 +37,7 @@ export const TypeSignature = props => /*#__PURE__*/_jsx("svg", {
|
|
37
37
|
children: /*#__PURE__*/_jsx("path", {
|
38
38
|
className: "fillPath",
|
39
39
|
d: "M20.6332 10.8976H13.0855V10.1307C13.0855 10.0886 13.0811 10.0476 13.0728 10.008H13.0736C13.0726 10.0021 13.0687 9.99736 13.0674 9.99145C13.0567 9.9473 13.0404 9.9056 13.0203 9.86571C12.9221 9.65741 12.7112 9.51065 12.4594 9.51065H11.3456V9.48406C11.3456 9.04891 11.7123 8.69365 12.1615 8.69365H16.9192C17.7488 8.69365 18.4225 8.03654 18.4225 7.23285C18.4225 6.42917 17.7488 5.77205 16.9192 5.77205H4.06291C3.39377 5.77205 2.84834 5.24366 2.84834 4.59541C2.84834 3.94276 3.39377 3.41436 4.06291 3.41436H17.5286C18.5781 3.41436 19.4306 2.58853 19.4306 1.57174V0H18.7432V1.57174C18.7432 2.21999 18.1978 2.74838 17.5286 2.74838H4.06291C3.01339 2.74838 2.16089 3.57867 2.16089 4.59541C2.16089 5.61216 3.01334 6.43803 4.06291 6.43803H16.9192C17.3683 6.43803 17.7351 6.79326 17.7351 7.23285C17.7351 7.668 17.3684 8.02767 16.9192 8.02767H12.1615C11.3319 8.02767 10.6582 8.68033 10.6582 9.48402V9.51061H9.86996C9.62477 9.51061 9.41974 9.64932 9.31945 9.84877C9.27336 9.9333 9.24473 10.0282 9.24473 10.1304V10.8974L1.36692 10.8975C0.612058 10.8975 0 11.4904 0 12.2218V19.6758C0 20.4071 0.612015 21 1.36692 21L20.6331 20.9998C21.3879 20.9998 22 20.4069 22 19.6756V12.2216C22 11.4905 21.388 10.8975 20.6331 10.8975L20.6332 10.8976ZM15.62 12.4314C15.62 12.2068 15.808 12.0248 16.0398 12.0248H17.2884C17.5202 12.0248 17.7081 12.2068 17.7081 12.4314V13.641C17.7081 13.8656 17.5202 14.0476 17.2884 14.0476H16.0398C15.808 14.0476 15.62 13.8656 15.62 13.641V12.4314ZM11.6247 14.0477H10.3761C10.1443 14.0477 9.95641 13.8656 9.95641 13.641V12.4314C9.95641 12.2069 10.1443 12.0248 10.3761 12.0248H11.6247C11.8566 12.0248 12.0445 12.2069 12.0445 12.4314V13.641C12.0445 13.8656 11.8566 14.0477 11.6247 14.0477ZM12.0445 15.2478V16.4574C12.0445 16.682 11.8566 16.864 11.6247 16.864H10.3761C10.1443 16.864 9.95641 16.682 9.95641 16.4574V15.2478C9.95641 15.0232 10.1443 14.8412 10.3761 14.8412H11.6247C11.8566 14.841 12.0445 15.0232 12.0445 15.2478ZM7.12457 12.4314C7.12457 12.2068 7.31249 12.0248 7.54429 12.0248H8.79291C9.02471 12.0248 9.21263 12.2068 9.21263 12.4314V13.641C9.21263 13.8656 9.02471 14.0476 8.79291 14.0476H7.54429C7.31249 14.0476 7.12457 13.8656 7.12457 13.641V12.4314ZM7.12457 15.2478C7.12457 15.0232 7.31249 14.8412 7.54429 14.8412H8.79291C9.02471 14.8412 9.21263 15.0232 9.21263 15.2478V16.4574C9.21263 16.682 9.02471 16.864 8.79291 16.864H7.54429C7.31249 16.864 7.12457 16.682 7.12457 16.4574V15.2478ZM3.54896 19.2736C3.54896 19.4982 3.36104 19.6802 3.12924 19.6802H1.88062C1.64882 19.6802 1.4609 19.4982 1.4609 19.2736V18.064C1.4609 17.8394 1.64882 17.6574 1.88062 17.6574H3.12924C3.36104 17.6574 3.54896 17.8394 3.54896 18.064V19.2736ZM3.54896 16.4574C3.54896 16.682 3.36104 16.864 3.12924 16.864H1.88062C1.64882 16.864 1.4609 16.682 1.4609 16.4574V15.2478C1.4609 15.0232 1.64882 14.8412 1.88062 14.8412H3.12924C3.36104 14.8412 3.54896 15.0232 3.54896 15.2478V16.4574ZM3.54896 13.641C3.54896 13.8656 3.36104 14.0476 3.12924 14.0476H1.88062C1.64882 14.0476 1.4609 13.8656 1.4609 13.641V12.4314C1.4609 12.2068 1.64882 12.0248 1.88062 12.0248H3.12924C3.36104 12.0248 3.54896 12.2068 3.54896 12.4314V13.641ZM6.38069 19.2738C6.38069 19.4983 6.19278 19.6804 5.96098 19.6804H4.71235C4.48055 19.6804 4.29264 19.4983 4.29264 19.2738V18.0642C4.29264 17.8396 4.48055 17.6576 4.71235 17.6576H5.96098C6.19278 17.6576 6.38069 17.8396 6.38069 18.0642V19.2738ZM6.38069 16.4576C6.38069 16.6821 6.19278 16.8642 5.96098 16.8642H4.71235C4.48055 16.8642 4.29264 16.6821 4.29264 16.4576V15.248C4.29264 15.0234 4.48055 14.8413 4.71235 14.8413H5.96098C6.19278 14.8413 6.38069 15.0234 6.38069 15.248V16.4576ZM6.38069 13.6412C6.38069 13.8658 6.19278 14.0478 5.96098 14.0478H4.71235C4.48055 14.0478 4.29264 13.8658 4.29264 13.6412V12.4316C4.29264 12.207 4.48055 12.025 4.71235 12.025H5.96098C6.19278 12.025 6.38069 12.207 6.38069 12.4316V13.6412ZM14.8762 19.274C14.8762 19.4985 14.6883 19.6806 14.4565 19.6806H7.54426C7.31246 19.6806 7.12455 19.4985 7.12455 19.274V18.0643C7.12455 17.8398 7.31246 17.6577 7.54426 17.6577H14.4565C14.6883 17.6577 14.8762 17.8398 14.8762 18.0643V19.274ZM14.8762 16.4577C14.8762 16.6823 14.6883 16.8644 14.4565 16.8644H13.2079C12.9761 16.8644 12.7881 16.6823 12.7881 16.4577V15.2481C12.7881 15.0236 12.9761 14.8415 13.2079 14.8415H14.4565C14.6883 14.8415 14.8762 15.0236 14.8762 15.2481V16.4577ZM14.8762 13.6414C14.8762 13.8659 14.6883 14.048 14.4565 14.048H13.2079C12.9761 14.048 12.7881 13.8659 12.7881 13.6414V12.4317C12.7881 12.2072 12.9761 12.0251 13.2079 12.0251H14.4565C14.6883 12.0251 14.8762 12.2072 14.8762 12.4317V13.6414ZM17.7081 19.2741C17.7081 19.4987 17.5202 19.6807 17.2884 19.6807H16.0398C15.808 19.6807 15.6201 19.4987 15.6201 19.2741V18.0645C15.6201 17.8399 15.808 17.6579 16.0398 17.6579H17.2884C17.5202 17.6579 17.7081 17.8399 17.7081 18.0645V19.2741ZM20.5398 19.2741C20.5398 19.4987 20.3519 19.6807 20.1201 19.6807H18.8715C18.6397 19.6807 18.4518 19.4987 18.4518 19.2741V18.0645C18.4518 17.8399 18.6397 17.6579 18.8715 17.6579H20.1201C20.3519 17.6579 20.5398 17.8399 20.5398 18.0645V19.2741ZM20.5398 16.4579C20.5398 16.6825 20.3519 16.8645 20.1201 16.8645H16.0398C15.808 16.8645 15.6201 16.6825 15.6201 16.4579V15.2483C15.6201 15.0237 15.808 14.8417 16.0398 14.8417H20.1201C20.3519 14.8417 20.5398 15.0237 20.5398 15.2483V16.4579ZM20.5398 13.6415C20.5398 13.8661 20.3519 14.0481 20.1201 14.0481H18.8715C18.6397 14.0481 18.4518 13.8661 18.4518 13.6415V12.4319C18.4518 12.2074 18.6397 12.0253 18.8715 12.0253H20.1201C20.3519 12.0253 20.5398 12.2074 20.5398 12.4319V13.6415Z",
|
40
|
-
fill:
|
40
|
+
fill: props.fill
|
41
41
|
})
|
42
42
|
});
|
43
43
|
export const UploadSignature = props => /*#__PURE__*/_jsx("svg", {
|
@@ -51,7 +51,7 @@ export const UploadSignature = props => /*#__PURE__*/_jsx("svg", {
|
|
51
51
|
fillRule: "evenodd",
|
52
52
|
clipRule: "evenodd",
|
53
53
|
d: "M9.11105 6.94403V12H3.90249C1.74708 12 0 10.3115 0 8.22877C0 6.2095 1.64226 4.56091 3.70654 4.46225C3.89348 1.96767 6.04701 0 8.67605 0C10.7426 0 12.5153 1.21592 13.2701 2.94791C13.5384 2.87841 13.8204 2.84119 14.1116 2.84119C15.9012 2.84119 17.3519 4.24319 17.3519 5.97277C17.3519 6.01559 17.351 6.05819 17.3494 6.10079C18.8463 6.29676 20 7.53667 20 9.03682C20 10.6734 18.6273 12 16.9338 12H10.8892V6.94403L12.4098 8.24737C12.7768 8.56172 13.3385 8.52988 13.6647 8.17607C13.9907 7.82226 13.9577 7.28055 13.5908 6.966L10.5909 4.39451L10.0003 3.88847L9.40974 4.39451L6.40986 6.966C6.04295 7.28057 6.00994 7.82227 6.33592 8.17607C6.66214 8.52988 7.2239 8.56172 7.5908 8.24737L9.11105 6.94403Z",
|
54
|
-
fill:
|
54
|
+
fill: props.fill
|
55
55
|
})
|
56
56
|
});
|
57
57
|
export const PencilIcon = props => /*#__PURE__*/_jsx("svg", {
|