@flozy/editor 9.8.5 → 9.8.7
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/ChatEditor.js +17 -16
- package/dist/Editor/CommonEditor.js +119 -17
- package/dist/Editor/DialogWrapper.js +31 -25
- package/dist/Editor/Editor.css +17 -9
- package/dist/Editor/Elements/AI/PopoverAIInput.js +11 -3
- package/dist/Editor/Elements/AppHeader/AppHeader.js +3 -3
- package/dist/Editor/Elements/Button/EditorButton.js +25 -9
- package/dist/Editor/Elements/Color Picker/ColorButtons.js +61 -14
- package/dist/Editor/Elements/Color Picker/ColorPicker.css +25 -1
- package/dist/Editor/Elements/Color Picker/ColorPicker.js +10 -7
- package/dist/Editor/Elements/Color Picker/Styles.js +15 -13
- package/dist/Editor/Elements/DataView/Layouts/ColumnView.js +4 -2
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/MultiSelect.js +448 -0
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/MultiSelectType.js +21 -6
- package/dist/Editor/Elements/DataView/Layouts/Options/AddOptions.js +5 -1
- package/dist/Editor/Elements/DataView/Layouts/Options/EditOption.js +3 -2
- package/dist/Editor/Elements/DataView/Layouts/Options/index.js +11 -0
- package/dist/Editor/Elements/DataView/Layouts/ViewData.js +8 -4
- package/dist/Editor/Elements/Embed/Image.js +2 -2
- package/dist/Editor/Elements/Embed/Video.js +1 -1
- package/dist/Editor/Elements/Form/Workflow/Styles.js +24 -22
- package/dist/Editor/Elements/FreeGrid/FreeGrid.js +48 -22
- package/dist/Editor/Elements/FreeGrid/FreeGridBox.js +25 -4
- package/dist/Editor/Elements/FreeGrid/FreeGridItem.js +46 -3
- package/dist/Editor/Elements/FreeGrid/Options/More.js +7 -2
- package/dist/Editor/Elements/FreeGrid/styles.js +3 -0
- package/dist/Editor/Elements/Grid/GridItem.js +1 -1
- package/dist/Editor/Elements/List/CheckList.js +4 -1
- package/dist/Editor/Elements/SimpleText/index.js +9 -1
- package/dist/Editor/Elements/SimpleText/style.js +2 -2
- package/dist/Editor/Elements/Table/Table.js +3 -3
- package/dist/Editor/Elements/Title/title.js +6 -6
- package/dist/Editor/Elements/Variables/VariableButton.js +10 -1
- package/dist/Editor/MiniEditor.js +2 -1
- package/dist/Editor/Styles/EditorStyles.js +5 -5
- package/dist/Editor/Toolbar/FormatTools/Dropdown.js +27 -3
- package/dist/Editor/Toolbar/FormatTools/FontFamilyAutocomplete.js +4 -3
- package/dist/Editor/Toolbar/FormatTools/MarkButton.js +2 -2
- package/dist/Editor/Toolbar/FormatTools/TextSize.js +10 -13
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/MiniColorPicker.js +4 -2
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectFontSize.js +6 -13
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectTypography.js +167 -42
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/index.js +7 -4
- package/dist/Editor/Toolbar/PopupTool/PopperHeader.js +2 -1
- package/dist/Editor/Toolbar/PopupTool/PopupToolStyle.js +72 -12
- package/dist/Editor/Toolbar/PopupTool/TextFormat.js +95 -23
- package/dist/Editor/Toolbar/PopupTool/ThemeTextFormat.js +439 -0
- package/dist/Editor/Toolbar/PopupTool/index.js +1 -1
- package/dist/Editor/Toolbar/toolbarGroups.js +48 -6
- package/dist/Editor/assets/svg/BackIcon.js +18 -0
- package/dist/Editor/assets/svg/ClearAllRounded.js +31 -0
- package/dist/Editor/assets/svg/ResetIconNew.js +23 -0
- package/dist/Editor/assets/svg/ThemeIcons.js +293 -0
- package/dist/Editor/common/ColorPickerButton.js +38 -16
- package/dist/Editor/common/CustomColorPicker/index.js +131 -0
- package/dist/Editor/common/CustomColorPicker/style.js +53 -0
- package/dist/Editor/common/CustomDialog2/index.js +94 -0
- package/dist/Editor/common/CustomDialog2/style.js +67 -0
- package/dist/Editor/common/CustomSelect.js +43 -0
- package/dist/Editor/common/DnD/DragHandleButton.js +1 -1
- package/dist/Editor/common/FontLoader/FontLoader.js +3 -0
- package/dist/Editor/common/Icon.js +31 -1
- package/dist/Editor/common/ImageSelector/Styles.js +3 -9
- package/dist/Editor/common/RnD/ContextMenu/CMenus.js +24 -0
- package/dist/Editor/common/RnD/ElementSettings/OtherSettings/Settings.js +2 -1
- package/dist/Editor/common/RnD/ElementSettings/Settings/AppHeaderSettings.js +3 -2
- package/dist/Editor/common/RnD/ElementSettings/Settings/BoxSettings.js +3 -2
- package/dist/Editor/common/RnD/ElementSettings/Settings/ButtonSettings.js +3 -2
- package/dist/Editor/common/RnD/ElementSettings/Settings/CodeSettings.js +3 -2
- package/dist/Editor/common/RnD/ElementSettings/Settings/FormSettings.js +4 -2
- package/dist/Editor/common/RnD/ElementSettings/Settings/ImageSettings.js +3 -2
- package/dist/Editor/common/RnD/ElementSettings/Settings/TableSettings.js +3 -2
- package/dist/Editor/common/RnD/ElementSettings/Settings/TextSettings.js +3 -1
- package/dist/Editor/common/RnD/ElementSettings/Settings/VideoSettings.js +3 -2
- package/dist/Editor/common/RnD/ShadowElement.js +2 -1
- package/dist/Editor/common/RnD/SwitchViewport/SwitchViewport.js +8 -2
- package/dist/Editor/common/RnD/Theme/MainThemeProvider.js +17 -0
- package/dist/Editor/common/RnD/Theme/ViewportStimulator.js +6 -3
- package/dist/Editor/common/RnD/Utils/gridDropItem.js +73 -9
- package/dist/Editor/common/RnD/Utils/index.js +3 -0
- package/dist/Editor/common/RnD/VirtualElement/BoxHeaderAutoAlignment.js +43 -0
- package/dist/Editor/common/RnD/VirtualElement/ForceAutoAlignment.js +44 -0
- package/dist/Editor/common/RnD/VirtualElement/VirtualTextElement.js +134 -0
- package/dist/Editor/common/RnD/VirtualElement/helper.js +382 -0
- package/dist/Editor/common/RnD/VirtualElement/index.js +187 -103
- package/dist/Editor/common/RnD/VirtualElement/styles.js +155 -7
- package/dist/Editor/common/RnD/VirtualElement/updateAutoProps.js +5 -3
- package/dist/Editor/common/RnD/index.js +59 -3
- package/dist/Editor/common/Shorthands/elements.js +54 -0
- package/dist/Editor/common/SnackBar/index.js +43 -0
- package/dist/Editor/common/StyleBuilder/buttonStyle.js +4 -2
- package/dist/Editor/common/StyleBuilder/fieldTypes/backgroundImage.js +5 -0
- package/dist/Editor/common/StyleBuilder/fieldTypes/bannerSpacing.js +12 -2
- package/dist/Editor/common/StyleBuilder/fieldTypes/borderRadius.js +15 -7
- package/dist/Editor/common/StyleBuilder/fieldTypes/card.js +16 -8
- package/dist/Editor/common/StyleBuilder/fieldTypes/color.js +36 -10
- package/dist/Editor/common/StyleBuilder/fieldTypes/fontSize.js +16 -7
- package/dist/Editor/common/StyleBuilder/fieldTypes/lineSpacing.js +7 -6
- package/dist/Editor/common/StyleBuilder/fieldTypes/textOptions.js +15 -7
- package/dist/Editor/common/StyleBuilder/pageSettingsStyle.js +5 -7
- package/dist/Editor/common/Uploader.js +8 -0
- package/dist/Editor/common/iconslist.js +7 -8
- package/dist/Editor/commonStyle.js +95 -60
- package/dist/Editor/helper/textIndeces.js +58 -0
- package/dist/Editor/helper/theme.js +202 -2
- package/dist/Editor/hooks/useAutoScroll.js +38 -0
- package/dist/Editor/hooks/useEditorTheme.js +153 -0
- package/dist/Editor/hooks/useMouseMove.js +9 -3
- package/dist/Editor/hooks/useThemeValues.js +63 -0
- package/dist/Editor/plugins/withEmbeds.js +1 -1
- package/dist/Editor/plugins/withHTML.js +10 -7
- package/dist/Editor/plugins/withLinks.js +9 -10
- package/dist/Editor/plugins/withTable.js +1 -1
- package/dist/Editor/theme/ThemeList.js +50 -173
- package/dist/Editor/theme/index.js +149 -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 +23 -0
- package/dist/Editor/themeSettings/colorTheme/index.js +309 -0
- package/dist/Editor/themeSettings/colorTheme/style.js +81 -0
- package/dist/Editor/themeSettings/fonts/PreviewElement.js +121 -0
- package/dist/Editor/themeSettings/fonts/index.js +240 -0
- package/dist/Editor/themeSettings/fonts/style.js +62 -0
- package/dist/Editor/themeSettings/icons.js +60 -0
- package/dist/Editor/themeSettings/index.js +361 -0
- package/dist/Editor/themeSettings/style.js +292 -0
- package/dist/Editor/themeSettingsAI/icons.js +96 -0
- package/dist/Editor/themeSettingsAI/index.js +355 -0
- package/dist/Editor/themeSettingsAI/saveTheme.js +202 -0
- package/dist/Editor/themeSettingsAI/style.js +324 -0
- package/dist/Editor/utils/SlateUtilityFunctions.js +171 -45
- package/dist/Editor/utils/button.js +1 -17
- package/dist/Editor/utils/draftToSlate.js +3 -2
- package/dist/Editor/utils/font.js +40 -37
- package/dist/Editor/utils/freegrid.js +2 -3
- package/dist/Editor/utils/helper.js +90 -19
- package/package.json +4 -4
@@ -0,0 +1,240 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { Accordion, AccordionDetails, AccordionSummary, Checkbox, Divider, Fade, FormControlLabel, Grid, IconButton, Paper, Popper, Typography, styled } from "@mui/material";
|
3
|
+
|
4
|
+
// Style
|
5
|
+
import Style from "./style";
|
6
|
+
import ThemeTextFormat from "../../Toolbar/PopupTool/ThemeTextFormat";
|
7
|
+
import { useEditorContext } from "../../hooks/useMouseMove";
|
8
|
+
import usePopupStyle from "../../Toolbar/PopupTool/PopupToolStyle";
|
9
|
+
import useWindowResize from "../../hooks/useWindowResize";
|
10
|
+
import PopperHeader from "../../Toolbar/PopupTool/PopperHeader";
|
11
|
+
import { useEditorTheme } from "../../hooks/useEditorTheme";
|
12
|
+
import { HEADING_THEME_FIELDS, PARAGRAPH_THEME_FIELDS } from "../../helper/theme";
|
13
|
+
import PreviewElement from "./PreviewElement";
|
14
|
+
import FontFamilyAutocomplete from "../../Toolbar/FormatTools/FontFamilyAutocomplete";
|
15
|
+
import { googleFontList as defaultFonts } from "../../common/FontLoader/FontList";
|
16
|
+
import { CheckedBoxCheckIcon } from "../../common/iconListV2";
|
17
|
+
import { KeyboardArrowDownRounded } from "@mui/icons-material";
|
18
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
19
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
20
|
+
const Fonts = props => {
|
21
|
+
const {
|
22
|
+
className,
|
23
|
+
customProps,
|
24
|
+
openSettings,
|
25
|
+
onSettingsChange,
|
26
|
+
type
|
27
|
+
} = props;
|
28
|
+
const [anchorEl, setAnchorEl] = React.useState();
|
29
|
+
const [selectedField, setSelectedField] = React.useState("");
|
30
|
+
const [settings, setSettings] = React.useState({});
|
31
|
+
const updateSettings = update => {
|
32
|
+
setSettings(prev => {
|
33
|
+
return {
|
34
|
+
...prev,
|
35
|
+
...update
|
36
|
+
};
|
37
|
+
});
|
38
|
+
};
|
39
|
+
const onClose = () => {
|
40
|
+
setAnchorEl(null);
|
41
|
+
setSelectedField("");
|
42
|
+
setSettings({});
|
43
|
+
};
|
44
|
+
const {
|
45
|
+
theme,
|
46
|
+
fontFamilies
|
47
|
+
} = useEditorContext();
|
48
|
+
const classes = usePopupStyle(theme);
|
49
|
+
const [size] = useWindowResize();
|
50
|
+
const {
|
51
|
+
selectedTheme,
|
52
|
+
updateTheme
|
53
|
+
} = useEditorTheme();
|
54
|
+
const {
|
55
|
+
otherProps = {}
|
56
|
+
} = selectedTheme || {};
|
57
|
+
const {
|
58
|
+
isHeadingCustomized,
|
59
|
+
headingFontFamily,
|
60
|
+
isParagraphCustomized,
|
61
|
+
paragraphFontFamily
|
62
|
+
} = otherProps;
|
63
|
+
const onSaveTextSettings = () => {
|
64
|
+
updateTheme(settings, {
|
65
|
+
action: "ELEMENT_PROPS_CHANGE",
|
66
|
+
fieldName: selectedField
|
67
|
+
});
|
68
|
+
onClose();
|
69
|
+
};
|
70
|
+
const updateOtherThemeProps = update => {
|
71
|
+
updateTheme(update, {
|
72
|
+
action: "OTHER_PROPS_CHANGE"
|
73
|
+
});
|
74
|
+
};
|
75
|
+
const updateFont = (update, fieldType) => {
|
76
|
+
updateTheme(update, {
|
77
|
+
action: "FONT_CHANGE",
|
78
|
+
fieldType
|
79
|
+
});
|
80
|
+
};
|
81
|
+
const tabs = [{
|
82
|
+
title: "Heading Font family",
|
83
|
+
onFontFamilyChange: ({
|
84
|
+
fontFamily
|
85
|
+
}) => {
|
86
|
+
updateFont({
|
87
|
+
fontFamily
|
88
|
+
}, "HEADING");
|
89
|
+
updateSettings({
|
90
|
+
fontFamily
|
91
|
+
});
|
92
|
+
},
|
93
|
+
fontFamily: headingFontFamily || defaultFonts[0],
|
94
|
+
isCustomized: isHeadingCustomized,
|
95
|
+
onCustomizeClick: event => {
|
96
|
+
updateOtherThemeProps({
|
97
|
+
isHeadingCustomized: event.target.checked
|
98
|
+
});
|
99
|
+
},
|
100
|
+
fields: HEADING_THEME_FIELDS
|
101
|
+
}, {
|
102
|
+
title: "Paragraph Font family",
|
103
|
+
onFontFamilyChange: ({
|
104
|
+
fontFamily
|
105
|
+
}) => {
|
106
|
+
updateFont({
|
107
|
+
fontFamily
|
108
|
+
}, "PARAGRAPH");
|
109
|
+
updateSettings({
|
110
|
+
fontFamily
|
111
|
+
});
|
112
|
+
},
|
113
|
+
fontFamily: paragraphFontFamily || defaultFonts[0],
|
114
|
+
isCustomized: isParagraphCustomized,
|
115
|
+
onCustomizeClick: event => {
|
116
|
+
updateOtherThemeProps({
|
117
|
+
isParagraphCustomized: event.target.checked
|
118
|
+
});
|
119
|
+
},
|
120
|
+
fields: PARAGRAPH_THEME_FIELDS
|
121
|
+
}];
|
122
|
+
return /*#__PURE__*/_jsxs(Grid, {
|
123
|
+
className: className,
|
124
|
+
children: [/*#__PURE__*/_jsxs(Accordion, {
|
125
|
+
className: "settingAccordion",
|
126
|
+
onChange: () => onSettingsChange(type),
|
127
|
+
expanded: openSettings === type,
|
128
|
+
children: [/*#__PURE__*/_jsx(AccordionSummary, {
|
129
|
+
expandIcon: /*#__PURE__*/_jsx(KeyboardArrowDownRounded, {}),
|
130
|
+
"aria-controls": "panel1-content",
|
131
|
+
id: "panel1-header",
|
132
|
+
children: "Fonts"
|
133
|
+
}), /*#__PURE__*/_jsx(AccordionDetails, {
|
134
|
+
children: tabs?.map((tab, i) => {
|
135
|
+
const {
|
136
|
+
title,
|
137
|
+
onFontFamilyChange,
|
138
|
+
fontFamily,
|
139
|
+
isCustomized = "",
|
140
|
+
onCustomizeClick,
|
141
|
+
fields
|
142
|
+
} = tab;
|
143
|
+
return /*#__PURE__*/_jsxs(React.Fragment, {
|
144
|
+
children: [/*#__PURE__*/_jsxs(Grid, {
|
145
|
+
sx: {
|
146
|
+
pt: 1
|
147
|
+
},
|
148
|
+
children: [/*#__PURE__*/_jsx(Typography, {
|
149
|
+
variant: "body2",
|
150
|
+
sx: {
|
151
|
+
pb: 1
|
152
|
+
},
|
153
|
+
className: "fs-14 fw-500",
|
154
|
+
children: title
|
155
|
+
}), /*#__PURE__*/_jsx(FontFamilyAutocomplete, {
|
156
|
+
editor: {},
|
157
|
+
format: "fontFamily",
|
158
|
+
options: fontFamilies.options,
|
159
|
+
width: "100%",
|
160
|
+
onChange: onFontFamilyChange,
|
161
|
+
val: fontFamily,
|
162
|
+
webFont: true
|
163
|
+
}), /*#__PURE__*/_jsx(FormControlLabel, {
|
164
|
+
className: "ccheckbox-primary",
|
165
|
+
sx: {
|
166
|
+
...classes.customCheckBox
|
167
|
+
},
|
168
|
+
control: /*#__PURE__*/_jsx(Checkbox, {
|
169
|
+
value: isCustomized,
|
170
|
+
checked: isCustomized,
|
171
|
+
onChange: onCustomizeClick,
|
172
|
+
variant: "outlined",
|
173
|
+
className: "checkBox",
|
174
|
+
checkedIcon: /*#__PURE__*/_jsx(IconButton, {
|
175
|
+
className: "checkedIcon",
|
176
|
+
children: /*#__PURE__*/_jsx(CheckedBoxCheckIcon, {})
|
177
|
+
}),
|
178
|
+
icon: /*#__PURE__*/_jsx(IconButton, {
|
179
|
+
className: "unCheckedIcon"
|
180
|
+
})
|
181
|
+
}),
|
182
|
+
label: /*#__PURE__*/_jsx(Typography, {
|
183
|
+
variant: "body1",
|
184
|
+
children: "Customize Font style"
|
185
|
+
})
|
186
|
+
}), isCustomized && /*#__PURE__*/_jsx(Grid, {
|
187
|
+
ref: anchorEl,
|
188
|
+
children: fields.map((field, index) => {
|
189
|
+
return /*#__PURE__*/_jsx(PreviewElement, {
|
190
|
+
field: field,
|
191
|
+
settings: settings,
|
192
|
+
setSettings: setSettings,
|
193
|
+
setAnchorEl: setAnchorEl,
|
194
|
+
selectedField: selectedField,
|
195
|
+
setSelectedField: setSelectedField
|
196
|
+
}, index);
|
197
|
+
})
|
198
|
+
})]
|
199
|
+
}), i === 0 && /*#__PURE__*/_jsx(Divider, {
|
200
|
+
sx: {
|
201
|
+
mt: 1,
|
202
|
+
mb: 1
|
203
|
+
}
|
204
|
+
})]
|
205
|
+
}, i);
|
206
|
+
})
|
207
|
+
})]
|
208
|
+
}), /*#__PURE__*/_jsx(Popper, {
|
209
|
+
open: Boolean(anchorEl),
|
210
|
+
anchorEl: anchorEl,
|
211
|
+
transition: true,
|
212
|
+
placement: "left-start",
|
213
|
+
sx: classes.popupWrapper,
|
214
|
+
className: `tools-drawer ${size?.device} textSettings`,
|
215
|
+
children: ({
|
216
|
+
TransitionProps
|
217
|
+
}) => /*#__PURE__*/_jsx(Fade, {
|
218
|
+
...TransitionProps,
|
219
|
+
children: /*#__PURE__*/_jsxs(Paper, {
|
220
|
+
style: {
|
221
|
+
borderRadius: "10px",
|
222
|
+
position: "relative"
|
223
|
+
},
|
224
|
+
children: [/*#__PURE__*/_jsx(PopperHeader, {
|
225
|
+
title: "Text Settings",
|
226
|
+
classes: classes,
|
227
|
+
onClose: onClose,
|
228
|
+
customProps: customProps
|
229
|
+
}), /*#__PURE__*/_jsx(ThemeTextFormat, {
|
230
|
+
settings: settings,
|
231
|
+
updateSettings: updateSettings,
|
232
|
+
onSaveTextSettings: onSaveTextSettings,
|
233
|
+
onClose: onClose
|
234
|
+
})]
|
235
|
+
})
|
236
|
+
})
|
237
|
+
})]
|
238
|
+
});
|
239
|
+
};
|
240
|
+
export default styled(Fonts)(Style);
|
@@ -0,0 +1,62 @@
|
|
1
|
+
const Style = ({
|
2
|
+
appTheme
|
3
|
+
}) => ({
|
4
|
+
".settingAccordion": {
|
5
|
+
".MuiOutlinedInput-root": {
|
6
|
+
borderRadius: "8px",
|
7
|
+
boxShadow: "0px 4px 16px 0px #0000000D"
|
8
|
+
}
|
9
|
+
},
|
10
|
+
".fontTypeItem": {
|
11
|
+
padding: "6px 10px",
|
12
|
+
width: "calc(100% + 20px)",
|
13
|
+
margin: "0 -10px",
|
14
|
+
"&:hover": {
|
15
|
+
background: appTheme?.palette?.editor?.tv_hover_bg,
|
16
|
+
".editIcon": {
|
17
|
+
opacity: "1",
|
18
|
+
visibility: "visible"
|
19
|
+
}
|
20
|
+
},
|
21
|
+
".editIcon": {
|
22
|
+
opacity: "0",
|
23
|
+
visibility: "hidden",
|
24
|
+
width: "30px",
|
25
|
+
height: "30px"
|
26
|
+
}
|
27
|
+
},
|
28
|
+
".typeValue": {
|
29
|
+
fontSize: "12px",
|
30
|
+
color: "#64748B",
|
31
|
+
".dotColor": {
|
32
|
+
width: "16px",
|
33
|
+
height: "16px",
|
34
|
+
borderRadius: "12px",
|
35
|
+
background: "#0F172A",
|
36
|
+
marginRight: "4px",
|
37
|
+
border: "1.5px solid #DCE4EC"
|
38
|
+
}
|
39
|
+
},
|
40
|
+
".preview-theme-text": {
|
41
|
+
width: "200px",
|
42
|
+
whiteSpace: "nowrap",
|
43
|
+
overflow: "hidden",
|
44
|
+
textOverflow: "ellipsis",
|
45
|
+
color: `${appTheme?.palette?.editor?.textColor} !important`,
|
46
|
+
margin: "0px"
|
47
|
+
},
|
48
|
+
".MuiAutocomplete-input": {
|
49
|
+
color: appTheme?.palette?.editor?.textColor
|
50
|
+
},
|
51
|
+
".MuiCheckbox-root": {
|
52
|
+
"& svg": {
|
53
|
+
fill: appTheme?.palette?.editor?.textColor
|
54
|
+
}
|
55
|
+
},
|
56
|
+
".MuiCheckbox-root.Mui-checked": {
|
57
|
+
"& svg": {
|
58
|
+
fill: "#1976d2"
|
59
|
+
}
|
60
|
+
}
|
61
|
+
});
|
62
|
+
export default Style;
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
3
|
+
export const TickIcon = () => /*#__PURE__*/_jsxs("svg", {
|
4
|
+
className: "tickIcon",
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
6
|
+
width: "26",
|
7
|
+
height: "26",
|
8
|
+
viewBox: "0 0 26 26",
|
9
|
+
fill: "none",
|
10
|
+
children: [/*#__PURE__*/_jsx("rect", {
|
11
|
+
x: "0.5",
|
12
|
+
y: "0.5",
|
13
|
+
width: "25",
|
14
|
+
height: "25",
|
15
|
+
rx: "12.5",
|
16
|
+
fill: "#2563EB",
|
17
|
+
stroke: "white"
|
18
|
+
}), /*#__PURE__*/_jsx("path", {
|
19
|
+
d: "M7 13.105L11.0011 17.21L19 9",
|
20
|
+
stroke: "white",
|
21
|
+
strokeWidth: "1.5",
|
22
|
+
strokeLinecap: "round",
|
23
|
+
strokeLinejoin: "round"
|
24
|
+
})]
|
25
|
+
});
|
26
|
+
export const EditIcon = () => /*#__PURE__*/_jsxs("svg", {
|
27
|
+
className: "editIcon",
|
28
|
+
xmlns: "http://www.w3.org/2000/svg",
|
29
|
+
width: "16",
|
30
|
+
height: "16",
|
31
|
+
viewBox: "0 0 16 16",
|
32
|
+
fill: "none",
|
33
|
+
children: [/*#__PURE__*/_jsx("circle", {
|
34
|
+
cx: "8",
|
35
|
+
cy: "8",
|
36
|
+
r: "8",
|
37
|
+
fill: "#2563EB",
|
38
|
+
fillOpacity: "0.14"
|
39
|
+
}), /*#__PURE__*/_jsx("path", {
|
40
|
+
d: "M11.3066 4.69573C10.3941 3.77831 9.50211 3.75792 8.5642 4.69573L7.98821 5.26658C7.93723 5.31754 7.92194 5.3889 7.94233 5.45516C8.29914 6.70387 9.29822 7.70284 10.5471 8.05962C10.5623 8.06472 10.5878 8.06472 10.6031 8.06472C10.6541 8.06472 10.7051 8.04433 10.7408 8.00865L11.3066 7.43781C11.7704 6.974 11.9998 6.53058 11.9998 6.07697C11.9998 5.61825 11.7704 5.16464 11.3066 4.69573Z",
|
41
|
+
fill: "#2563EB"
|
42
|
+
}), /*#__PURE__*/_jsx("path", {
|
43
|
+
d: "M9.69545 8.48831C9.55783 8.42206 9.4253 8.3558 9.30296 8.27935C9.20102 8.21819 9.09907 8.15193 9.00223 8.08058C8.92067 8.02961 8.82892 7.95316 8.73717 7.87671C8.72697 7.87161 8.69639 7.84613 8.65561 7.80535C8.4976 7.67793 8.32939 7.50464 8.17137 7.31606C8.16118 7.30587 8.1306 7.27529 8.10511 7.22942C8.05414 7.17336 7.97768 7.07652 7.91141 6.96949C7.85534 6.89813 7.78908 6.7962 7.72791 6.68916C7.65145 6.56175 7.58519 6.43433 7.52402 6.30181C7.45776 6.1591 7.40679 6.02659 7.36091 5.89917L4.61859 8.64122C4.44019 8.8196 4.26688 9.15599 4.2312 9.40573L4.01202 10.9246C3.96614 11.2457 4.0528 11.5464 4.25159 11.7451C4.4198 11.9133 4.64917 12 4.90404 12C4.96011 12 5.01618 11.9949 5.07225 11.9898L6.58613 11.7757C6.83589 11.74 7.17231 11.5718 7.35072 11.3884L10.093 8.64631C9.96561 8.60554 9.83818 8.54948 9.69545 8.48831Z",
|
44
|
+
fill: "#2563EB"
|
45
|
+
})]
|
46
|
+
});
|
47
|
+
export const PenIcon = () => /*#__PURE__*/_jsxs("svg", {
|
48
|
+
xmlns: "http://www.w3.org/2000/svg",
|
49
|
+
width: "14",
|
50
|
+
height: "14",
|
51
|
+
viewBox: "0 0 14 14",
|
52
|
+
fill: "none",
|
53
|
+
children: [/*#__PURE__*/_jsx("path", {
|
54
|
+
d: "M12.7874 1.21754C11.1907 -0.387958 9.62966 -0.423636 7.98833 1.21754L6.98034 2.21652C6.89114 2.30571 6.86438 2.43058 6.90006 2.54653C7.52448 4.7318 9.27285 6.48 11.4583 7.10436C11.4851 7.11328 11.5297 7.11328 11.5564 7.11328C11.6456 7.11328 11.7349 7.07761 11.7973 7.01517L12.7874 6.01619C13.5992 5.20452 14.0006 4.42853 14.0006 3.63471C14.0006 2.83196 13.5992 2.03813 12.7874 1.21754Z",
|
55
|
+
fill: "#2563EB"
|
56
|
+
}), /*#__PURE__*/_jsx("path", {
|
57
|
+
d: "M9.96704 7.85451C9.7262 7.73856 9.49427 7.62261 9.28019 7.48882C9.10178 7.38178 8.92338 7.26583 8.75389 7.14096C8.61117 7.05177 8.45061 6.91798 8.29004 6.78419C8.2722 6.77527 8.21868 6.73067 8.14732 6.65932C7.8708 6.43633 7.57643 6.13308 7.2999 5.80306C7.28206 5.78522 7.22854 5.73171 7.18394 5.65143C7.09474 5.55332 6.96094 5.38385 6.84497 5.19655C6.74685 5.07168 6.63089 4.89329 6.52385 4.70598C6.39005 4.483 6.27408 4.26002 6.16704 4.02811C6.05108 3.77837 5.96188 3.54647 5.88159 3.32349L1.08253 8.12209C0.770327 8.43427 0.46704 9.02294 0.404599 9.45999L0.0210312 12.118C-0.0592505 12.6799 0.0923925 13.2061 0.44028 13.554C0.734646 13.8483 1.13605 13.9999 1.58206 13.9999C1.68019 13.9999 1.77831 13.991 1.87643 13.9821L4.52573 13.6075C4.96282 13.545 5.55155 13.2507 5.86375 12.9296L10.6628 8.13101C10.4398 8.05965 10.2168 7.96154 9.96704 7.85451Z",
|
58
|
+
fill: "#2563EB"
|
59
|
+
})]
|
60
|
+
});
|