@flozy/editor 9.5.4 → 9.5.5
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 +29 -20
- package/dist/Editor/CommonEditor.js +19 -130
- package/dist/Editor/DialogWrapper.js +25 -31
- package/dist/Editor/Editor.css +7 -11
- package/dist/Editor/Elements/AI/AIInput.js +3 -5
- package/dist/Editor/Elements/AI/CustomSelect.js +5 -9
- package/dist/Editor/Elements/AI/PopoverAIInput.js +2 -4
- package/dist/Editor/Elements/Accordion/Accordion.js +3 -4
- package/dist/Editor/Elements/Accordion/AccordionBtnPopup.js +1 -4
- package/dist/Editor/Elements/Accordion/AccordionButton.js +2 -6
- package/dist/Editor/Elements/Accordion/AccordionTitlePopup.js +1 -4
- package/dist/Editor/Elements/AppHeader/AppHeader.js +3 -3
- package/dist/Editor/Elements/AppHeader/AppHeaderButton.js +2 -6
- package/dist/Editor/Elements/AppHeader/AppHeaderPopup.js +1 -4
- package/dist/Editor/Elements/Attachments/AttachmentsButton.js +1 -4
- package/dist/Editor/Elements/Button/ButtonPopup.js +1 -4
- package/dist/Editor/Elements/Button/ButtonToolIcon.js +2 -6
- package/dist/Editor/Elements/Button/EditorButton.js +14 -31
- package/dist/Editor/Elements/Carousel/Carousel.js +4 -5
- package/dist/Editor/Elements/Carousel/CarouselButton.js +2 -6
- package/dist/Editor/Elements/Carousel/CarouselItem.js +2 -3
- package/dist/Editor/Elements/ChipText/ChipTextPopup.js +1 -4
- package/dist/Editor/Elements/CodeToText/CodeToText.js +4 -5
- package/dist/Editor/Elements/CodeToText/HtmlContextMenu.js +2 -6
- package/dist/Editor/Elements/Color Picker/ColorButtons.js +14 -60
- package/dist/Editor/Elements/Color Picker/ColorPicker.css +1 -25
- package/dist/Editor/Elements/Color Picker/ColorPicker.js +7 -10
- package/dist/Editor/Elements/Color Picker/Styles.js +3 -3
- package/dist/Editor/Elements/Colorbox/ColorboxButton.js +2 -6
- package/dist/Editor/Elements/DataView/DataView.js +2 -5
- package/dist/Editor/Elements/DataView/DataViewButton.js +2 -6
- package/dist/Editor/Elements/DataView/Layouts/ColumnView.js +2 -7
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/Select.js +3 -4
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/MultiSelectType.js +5 -25
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/TextType.js +2 -7
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/SortOptions/ChooseSort.js +12 -13
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/SortOptions/index.js +4 -7
- package/dist/Editor/Elements/DataView/Layouts/FilterSort/index.js +5 -7
- package/dist/Editor/Elements/DataView/Layouts/FilterView.js +7 -9
- package/dist/Editor/Elements/DataView/Layouts/Options/AddOptions.js +3 -8
- package/dist/Editor/Elements/DataView/Layouts/Options/AddProperty.js +3 -5
- package/dist/Editor/Elements/DataView/Layouts/Options/AllProperties.js +5 -6
- package/dist/Editor/Elements/DataView/Layouts/Options/ChangeProperty.js +3 -5
- package/dist/Editor/Elements/DataView/Layouts/Options/EditOption.js +7 -9
- package/dist/Editor/Elements/DataView/Layouts/Options/EditProperty.js +38 -64
- package/dist/Editor/Elements/DataView/Layouts/Options/FilterProperty.js +2 -3
- package/dist/Editor/Elements/DataView/Layouts/Options/PropertyList.js +2 -3
- package/dist/Editor/Elements/DataView/Layouts/Options/index.js +6 -23
- package/dist/Editor/Elements/DataView/Layouts/TableStyles.js +1 -4
- package/dist/Editor/Elements/DataView/Layouts/TableView.js +4 -6
- package/dist/Editor/Elements/DataView/Layouts/ViewData.js +4 -8
- package/dist/Editor/Elements/DataView/Layouts/index.js +1 -3
- package/dist/Editor/Elements/DataView/Providers/DataViewProvider.js +2 -5
- package/dist/Editor/Elements/DataView/styles.js +0 -13
- package/dist/Editor/Elements/Divider/Divider.js +3 -5
- package/dist/Editor/Elements/Divider/DividerButton.js +2 -6
- package/dist/Editor/Elements/Divider/DividerPopup.js +2 -3
- package/dist/Editor/Elements/Embed/Embed.js +1 -4
- package/dist/Editor/Elements/Embed/EmbedPopup.js +1 -4
- package/dist/Editor/Elements/Embed/Image.js +11 -16
- package/dist/Editor/Elements/Embed/Video.js +6 -9
- package/dist/Editor/Elements/EmbedScript/Code.js +4 -7
- package/dist/Editor/Elements/EmbedScript/EmbedScript.js +2 -6
- package/dist/Editor/Elements/EmbedScript/EmbedScriptPopup.js +5 -8
- package/dist/Editor/Elements/Emoji/EmojiButton.js +2 -6
- package/dist/Editor/Elements/Form/FieldPopup.js +1 -4
- package/dist/Editor/Elements/Form/Form.js +9 -12
- package/dist/Editor/Elements/Form/FormButton.js +2 -6
- package/dist/Editor/Elements/Form/FormPopup.js +2 -3
- package/dist/Editor/Elements/Form/Workflow/FormWorkflow.js +12 -18
- package/dist/Editor/Elements/Form/Workflow/ListWorkflow.js +8 -13
- package/dist/Editor/Elements/Form/Workflow/MoreOptions.js +2 -3
- package/dist/Editor/Elements/Form/Workflow/UserInputs.js +2 -4
- package/dist/Editor/Elements/Form/Workflow/index.js +9 -15
- package/dist/Editor/Elements/FreeGrid/FreeGrid.js +23 -67
- package/dist/Editor/Elements/FreeGrid/FreeGridBox.js +3 -21
- package/dist/Editor/Elements/FreeGrid/FreeGridButton.js +2 -6
- package/dist/Editor/Elements/FreeGrid/FreeGridItem.js +4 -34
- package/dist/Editor/Elements/FreeGrid/Options/AddElement.js +2 -3
- package/dist/Editor/Elements/FreeGrid/Options/More.js +4 -10
- package/dist/Editor/Elements/FreeGrid/styles.js +0 -3
- package/dist/Editor/Elements/Grid/Grid.js +10 -13
- package/dist/Editor/Elements/Grid/GridButton.js +5 -9
- package/dist/Editor/Elements/Grid/GridItem.js +8 -14
- package/dist/Editor/Elements/Grid/GridItemPopup.js +1 -4
- package/dist/Editor/Elements/Grid/GridPopup.js +1 -4
- package/dist/Editor/Elements/Grid/SectionPopup.js +1 -4
- package/dist/Editor/Elements/Link/Link.js +5 -8
- package/dist/Editor/Elements/Link/LinkButton.js +1 -4
- package/dist/Editor/Elements/List/CheckList.js +9 -14
- package/dist/Editor/Elements/NewLine/NewLineButton.js +2 -6
- package/dist/Editor/Elements/PageSettings/PageSettingsButton.js +1 -4
- package/dist/Editor/Elements/PageSettings/PageSettingsPopup.js +1 -4
- package/dist/Editor/Elements/Search/SearchButton.js +3 -6
- package/dist/Editor/Elements/Search/SearchList.js +3 -7
- package/dist/Editor/Elements/Signature/SignatureButton.js +2 -6
- package/dist/Editor/Elements/Signature/SignatureOptions/TypeSignature.js +2 -6
- package/dist/Editor/Elements/Signature/SignatureOptions/UploadSignature.js +1 -4
- package/dist/Editor/Elements/Signature/SignaturePopup.js +16 -17
- package/dist/Editor/Elements/SimpleText/index.js +4 -5
- package/dist/Editor/Elements/SimpleText/style.js +2 -2
- package/dist/Editor/Elements/Table/DragButton.js +2 -4
- package/dist/Editor/Elements/Table/Table.js +11 -23
- package/dist/Editor/Elements/Table/TableCell.js +2 -6
- package/dist/Editor/Elements/Table/TablePopup.js +1 -4
- package/dist/Editor/Elements/Table/TableSelector.js +6 -10
- package/dist/Editor/Elements/Table/TableTool.js +4 -8
- package/dist/Editor/Elements/Title/title.js +0 -10
- package/dist/Editor/Elements/TopBanner/TopBannerButton.js +1 -4
- package/dist/Editor/Elements/Variables/VariableButton.js +1 -10
- package/dist/Editor/MiniEditor.js +3 -10
- package/dist/Editor/Styles/EditorStyles.js +5 -5
- package/dist/Editor/Toolbar/Basic/index.js +1 -2
- package/dist/Editor/Toolbar/FormatTools/BlockButton.js +2 -6
- package/dist/Editor/Toolbar/FormatTools/Dropdown.js +3 -27
- package/dist/Editor/Toolbar/FormatTools/FontFamilyAutocomplete.js +3 -4
- package/dist/Editor/Toolbar/FormatTools/MarkButton.js +4 -8
- package/dist/Editor/Toolbar/FormatTools/TextSize.js +13 -10
- package/dist/Editor/Toolbar/Mini/MiniToolbar.js +3 -5
- package/dist/Editor/Toolbar/PopupTool/AddTemplates.js +5 -10
- package/dist/Editor/Toolbar/PopupTool/ButtonTemplatesCard.js +4 -10
- package/dist/Editor/Toolbar/PopupTool/FullViewCard.js +4 -10
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/MiniColorPicker.js +3 -9
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectAlignment.js +35 -42
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectFontSize.js +13 -6
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectList.js +51 -58
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectSuperSubscript.js +22 -29
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectTypography.js +87 -226
- package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/index.js +10 -20
- package/dist/Editor/Toolbar/PopupTool/PopperHeader.js +4 -8
- package/dist/Editor/Toolbar/PopupTool/PopupToolStyle.js +9 -16
- package/dist/Editor/Toolbar/PopupTool/TemplateCard.js +5 -11
- package/dist/Editor/Toolbar/PopupTool/TextFormat.js +42 -122
- package/dist/Editor/Toolbar/PopupTool/index.js +1 -17
- package/dist/Editor/Toolbar/Toolbar.js +10 -20
- package/dist/Editor/Toolbar/toolbarGroups.js +6 -48
- package/dist/Editor/common/ColorPickerButton.js +14 -39
- package/dist/Editor/common/CustomDialog/index.js +10 -8
- package/dist/Editor/common/DnD/DragHandleButton.js +1 -1
- package/dist/Editor/common/FontLoader/FontLoader.js +0 -3
- package/dist/Editor/common/Icon.js +1 -46
- package/dist/Editor/common/ImageSelector/ImageSelector.js +8 -10
- package/dist/Editor/common/ImageSelector/Options/AddLink.js +4 -6
- package/dist/Editor/common/ImageSelector/Styles.js +9 -3
- package/dist/Editor/common/LinkSettings/NavComponents.js +10 -14
- package/dist/Editor/common/LinkSettings/index.js +14 -20
- package/dist/Editor/common/LinkSettings/navOptions.js +1 -1
- package/dist/Editor/common/MentionsPopup/index.js +2 -6
- package/dist/Editor/common/RnD/ContextMenu/CMenus.js +22 -22
- package/dist/Editor/common/RnD/ContextMenu/index.js +2 -3
- package/dist/Editor/common/RnD/ElementOptions/index.js +2 -7
- package/dist/Editor/common/RnD/ElementSettings/OtherSettings/SaveAsTemplate.js +3 -8
- package/dist/Editor/common/RnD/ElementSettings/OtherSettings/Settings.js +3 -7
- package/dist/Editor/common/RnD/ElementSettings/Settings/AppHeaderSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/BoxSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/ButtonSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/CodeSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/FormSettings.js +4 -7
- package/dist/Editor/common/RnD/ElementSettings/Settings/ImageSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/TableSettings.js +2 -3
- package/dist/Editor/common/RnD/ElementSettings/Settings/TextSettings.js +2 -6
- package/dist/Editor/common/RnD/ElementSettings/Settings/VideoSettings.js +2 -3
- package/dist/Editor/common/RnD/OptionsPopup/index.js +3 -4
- package/dist/Editor/common/RnD/SwitchViewport/SwitchViewport.js +4 -11
- package/dist/Editor/common/RnD/Theme/ViewportStimulator.js +3 -6
- package/dist/Editor/common/RnD/Utils/gridDropItem.js +7 -56
- package/dist/Editor/common/RnD/Utils/index.js +0 -3
- package/dist/Editor/common/RnD/VirtualElement/index.js +103 -187
- package/dist/Editor/common/RnD/VirtualElement/styles.js +7 -123
- package/dist/Editor/common/RnD/VirtualElement/updateAutoProps.js +3 -5
- package/dist/Editor/common/RnD/index.js +7 -59
- package/dist/Editor/common/Section/index.js +4 -7
- package/dist/Editor/common/Shorthands/elements.js +3 -74
- package/dist/Editor/common/StyleBuilder/appHeaderStyle.js +4 -4
- package/dist/Editor/common/StyleBuilder/boxStyle.js +2 -2
- package/dist/Editor/common/StyleBuilder/buttonStyle.js +4 -6
- package/dist/Editor/common/StyleBuilder/dividerStyles.js +2 -2
- package/dist/Editor/common/StyleBuilder/embedVideoStyle.js +6 -6
- package/dist/Editor/common/StyleBuilder/fieldStyle.js +2 -2
- package/dist/Editor/common/StyleBuilder/fieldTypes/alignment.js +9 -13
- package/dist/Editor/common/StyleBuilder/fieldTypes/backgroundImage.js +3 -11
- package/dist/Editor/common/StyleBuilder/fieldTypes/bannerSpacing.js +5 -19
- package/dist/Editor/common/StyleBuilder/fieldTypes/borderRadius.js +10 -22
- package/dist/Editor/common/StyleBuilder/fieldTypes/buttonLink.js +3 -6
- package/dist/Editor/common/StyleBuilder/fieldTypes/card.js +13 -27
- package/dist/Editor/common/StyleBuilder/fieldTypes/color.js +14 -43
- package/dist/Editor/common/StyleBuilder/fieldTypes/elementSize.js +6 -10
- package/dist/Editor/common/StyleBuilder/fieldTypes/fontSize.js +6 -19
- package/dist/Editor/common/StyleBuilder/fieldTypes/gridSize.js +2 -6
- package/dist/Editor/common/StyleBuilder/fieldTypes/icons.js +2 -5
- package/dist/Editor/common/StyleBuilder/fieldTypes/menusArray.js +6 -9
- package/dist/Editor/common/StyleBuilder/fieldTypes/metaDataMapping.js +2 -8
- package/dist/Editor/common/StyleBuilder/fieldTypes/saveAsTemplate.js +11 -12
- package/dist/Editor/common/StyleBuilder/fieldTypes/selectBox.js +2 -6
- package/dist/Editor/common/StyleBuilder/fieldTypes/text.js +4 -8
- package/dist/Editor/common/StyleBuilder/fieldTypes/textAlign.js +2 -6
- package/dist/Editor/common/StyleBuilder/fieldTypes/textOptions.js +12 -21
- package/dist/Editor/common/StyleBuilder/formStyle.js +7 -7
- package/dist/Editor/common/StyleBuilder/gridItemStyle.js +6 -6
- package/dist/Editor/common/StyleBuilder/gridStyle.js +5 -5
- package/dist/Editor/common/StyleBuilder/index.js +5 -8
- package/dist/Editor/common/StyleBuilder/pageSettingsStyle.js +7 -5
- package/dist/Editor/common/Uploader.js +5 -16
- package/dist/Editor/commonStyle.js +57 -68
- package/dist/Editor/helper/index.js +2 -2
- package/dist/Editor/helper/theme.js +2 -202
- package/dist/Editor/hooks/useMouseMove.js +3 -9
- package/dist/Editor/plugins/withEmbeds.js +1 -1
- package/dist/Editor/plugins/withHTML.js +7 -10
- package/dist/Editor/plugins/withLayout.js +2 -3
- package/dist/Editor/plugins/withTable.js +1 -1
- package/dist/Editor/theme/ThemeList.js +173 -50
- package/dist/Editor/utils/SlateUtilityFunctions.js +47 -164
- package/dist/Editor/utils/draftToSlate.js +2 -3
- package/dist/Editor/utils/embed.js +6 -8
- package/dist/Editor/utils/font.js +37 -40
- package/dist/Editor/utils/freegrid.js +2 -2
- package/dist/Editor/utils/helper.js +19 -90
- package/dist/Editor/utils/table.js +6 -9
- package/package.json +2 -2
- package/dist/Editor/Elements/DataView/Layouts/DataTypes/Components/MultiSelect.js +0 -425
- package/dist/Editor/Toolbar/PopupTool/ThemeTextFormat.js +0 -441
- package/dist/Editor/assets/svg/ClearAllRounded.js +0 -31
- package/dist/Editor/assets/svg/ThemeIcons.js +0 -291
- package/dist/Editor/common/CustomColorPicker/index.js +0 -131
- package/dist/Editor/common/CustomColorPicker/style.js +0 -53
- package/dist/Editor/common/CustomDialog2/index.js +0 -94
- package/dist/Editor/common/CustomDialog2/style.js +0 -67
- package/dist/Editor/common/CustomSelect.js +0 -33
- package/dist/Editor/common/RnD/Theme/MainThemeProvider.js +0 -17
- package/dist/Editor/common/RnD/VirtualElement/ForceAutoAlignment.js +0 -117
- package/dist/Editor/common/RnD/VirtualElement/VirtualTextElement.js +0 -134
- package/dist/Editor/common/RnD/VirtualElement/helper.js +0 -281
- package/dist/Editor/common/SnackBar/index.js +0 -43
- package/dist/Editor/helper/textIndeces.js +0 -58
- package/dist/Editor/hooks/useAutoScroll.js +0 -38
- package/dist/Editor/hooks/useEditorTheme.js +0 -153
- package/dist/Editor/hooks/useThemeValues.js +0 -63
- package/dist/Editor/theme/index.js +0 -147
- package/dist/Editor/themeSettings/ActiveTheme.js +0 -72
- package/dist/Editor/themeSettings/buttons/index.js +0 -285
- package/dist/Editor/themeSettings/buttons/style.js +0 -23
- package/dist/Editor/themeSettings/colorTheme/index.js +0 -305
- package/dist/Editor/themeSettings/colorTheme/style.js +0 -81
- package/dist/Editor/themeSettings/fonts/PreviewElement.js +0 -121
- package/dist/Editor/themeSettings/fonts/index.js +0 -222
- package/dist/Editor/themeSettings/fonts/style.js +0 -60
- package/dist/Editor/themeSettings/icons.js +0 -60
- package/dist/Editor/themeSettings/index.js +0 -331
- package/dist/Editor/themeSettings/style.js +0 -211
- package/dist/Editor/themeSettingsAI/icons.js +0 -96
- package/dist/Editor/themeSettingsAI/index.js +0 -355
- package/dist/Editor/themeSettingsAI/saveTheme.js +0 -205
- package/dist/Editor/themeSettingsAI/style.js +0 -259
@@ -67,8 +67,7 @@ const Accordion = props => {
|
|
67
67
|
customProps
|
68
68
|
} = props;
|
69
69
|
const {
|
70
|
-
readOnly
|
71
|
-
translation
|
70
|
+
readOnly
|
72
71
|
} = customProps;
|
73
72
|
const [toggle, setToggle] = useState(false);
|
74
73
|
const [openSetttings, setOpenSettings] = useState(false);
|
@@ -98,7 +97,7 @@ const Accordion = props => {
|
|
98
97
|
width: "fit-content"
|
99
98
|
},
|
100
99
|
children: [/*#__PURE__*/_jsx(Tooltip, {
|
101
|
-
title:
|
100
|
+
title: "Settings",
|
102
101
|
arrow: true,
|
103
102
|
children: /*#__PURE__*/_jsx(IconButton, {
|
104
103
|
size: "small",
|
@@ -107,7 +106,7 @@ const Accordion = props => {
|
|
107
106
|
children: /*#__PURE__*/_jsx(GridSettingsIcon, {})
|
108
107
|
})
|
109
108
|
}), /*#__PURE__*/_jsx(Tooltip, {
|
110
|
-
title:
|
109
|
+
title: "Delete",
|
111
110
|
arrow: true,
|
112
111
|
children: /*#__PURE__*/_jsx(IconButton, {
|
113
112
|
size: "small",
|
@@ -10,11 +10,8 @@ const AccordionBtnPopup = props => {
|
|
10
10
|
onClose,
|
11
11
|
customProps
|
12
12
|
} = props;
|
13
|
-
const {
|
14
|
-
translation
|
15
|
-
} = customProps;
|
16
13
|
return /*#__PURE__*/_jsx(StyleBuilder, {
|
17
|
-
title:
|
14
|
+
title: "Accordion Settings",
|
18
15
|
type: "accordionTitleBtnStyle",
|
19
16
|
element: element,
|
20
17
|
onSave: onSave,
|
@@ -6,12 +6,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
const AccordionButton = props => {
|
7
7
|
const {
|
8
8
|
editor,
|
9
|
-
icoBtnType
|
10
|
-
customProps
|
9
|
+
icoBtnType
|
11
10
|
} = props;
|
12
|
-
const {
|
13
|
-
translation
|
14
|
-
} = customProps;
|
15
11
|
const handleInsertAccordion = () => {
|
16
12
|
insertAccordion(editor);
|
17
13
|
};
|
@@ -19,7 +15,7 @@ const AccordionButton = props => {
|
|
19
15
|
icon: /*#__PURE__*/_jsx(Icon, {
|
20
16
|
icon: "accordion"
|
21
17
|
}),
|
22
|
-
title:
|
18
|
+
title: "Accordion",
|
23
19
|
onClick: handleInsertAccordion,
|
24
20
|
style: {
|
25
21
|
marginLeft: "0px"
|
@@ -9,11 +9,8 @@ const AccordionTitlePopup = props => {
|
|
9
9
|
onClose,
|
10
10
|
customProps
|
11
11
|
} = props;
|
12
|
-
const {
|
13
|
-
translation
|
14
|
-
} = customProps;
|
15
12
|
return /*#__PURE__*/_jsx(StyleBuilder, {
|
16
|
-
title:
|
13
|
+
title: "Accordion Title",
|
17
14
|
type: "accordionTitleStyle",
|
18
15
|
element: element,
|
19
16
|
onSave: onSave,
|
@@ -265,7 +265,7 @@ function AppHeader(props) {
|
|
265
265
|
style: {
|
266
266
|
display: "inline-flex",
|
267
267
|
alignItems: "center",
|
268
|
-
color: textColor
|
268
|
+
color: textColor,
|
269
269
|
fontSize: logoFontSize,
|
270
270
|
fontFamily: titleFontFamily,
|
271
271
|
justifyContent: isLogoRight ? "end" : "start"
|
@@ -320,7 +320,7 @@ function AppHeader(props) {
|
|
320
320
|
fontFamily: fontFamily,
|
321
321
|
textTransform: "none",
|
322
322
|
fontSize: fontSize || "16px",
|
323
|
-
color: textColor || "#
|
323
|
+
color: textColor || "#FFF",
|
324
324
|
background: bgColor || "none",
|
325
325
|
"& .m-settings": {
|
326
326
|
display: "none",
|
@@ -335,7 +335,7 @@ function AppHeader(props) {
|
|
335
335
|
background: "#FFF"
|
336
336
|
},
|
337
337
|
"&:hover": {
|
338
|
-
color: textColorHover || textColor || "#
|
338
|
+
color: textColorHover || textColor || "#FFF",
|
339
339
|
background: bgColorHover || bgColor || "none",
|
340
340
|
"& .m-settings": {
|
341
341
|
display: "block"
|
@@ -7,18 +7,14 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
const AppHeaderButton = props => {
|
8
8
|
const {
|
9
9
|
editor,
|
10
|
-
icoBtnType
|
11
|
-
customProps
|
10
|
+
icoBtnType
|
12
11
|
} = props;
|
13
|
-
const {
|
14
|
-
translation
|
15
|
-
} = customProps;
|
16
12
|
const handleClick = () => {
|
17
13
|
insertAppHeader(editor, {});
|
18
14
|
insertNewLine(editor);
|
19
15
|
};
|
20
16
|
return /*#__PURE__*/_jsx(ToolbarIcon, {
|
21
|
-
title:
|
17
|
+
title: "App Header",
|
22
18
|
onClick: handleClick,
|
23
19
|
icon: /*#__PURE__*/_jsx(Icon, {
|
24
20
|
icon: "appHeader"
|
@@ -10,11 +10,8 @@ const AppHeaderPopup = props => {
|
|
10
10
|
onDelete,
|
11
11
|
customProps
|
12
12
|
} = props;
|
13
|
-
const {
|
14
|
-
translation
|
15
|
-
} = customProps;
|
16
13
|
return /*#__PURE__*/_jsx(StyleBuilder, {
|
17
|
-
title:
|
14
|
+
title: "App Header",
|
18
15
|
type: "gridItemStyle",
|
19
16
|
element: element,
|
20
17
|
onSave: onSave,
|
@@ -14,9 +14,6 @@ const AttachmentsButton = props => {
|
|
14
14
|
icoBtnType
|
15
15
|
} = props;
|
16
16
|
const [open, SetOpen] = useState(false);
|
17
|
-
const {
|
18
|
-
translation
|
19
|
-
} = customProps;
|
20
17
|
const handleClick = () => {
|
21
18
|
SetOpen(true);
|
22
19
|
};
|
@@ -31,7 +28,7 @@ const AttachmentsButton = props => {
|
|
31
28
|
};
|
32
29
|
return /*#__PURE__*/_jsxs(_Fragment, {
|
33
30
|
children: [/*#__PURE__*/_jsx(ToolbarIcon, {
|
34
|
-
title:
|
31
|
+
title: "Doc Upload",
|
35
32
|
onClick: handleClick,
|
36
33
|
icon: /*#__PURE__*/_jsx(Icon, {
|
37
34
|
icon: "docsUpload"
|
@@ -12,11 +12,8 @@ const ButtonPopup = props => {
|
|
12
12
|
styleName,
|
13
13
|
onDelete
|
14
14
|
} = props;
|
15
|
-
const {
|
16
|
-
translation
|
17
|
-
} = customProps;
|
18
15
|
return /*#__PURE__*/_jsx(StyleBuilder, {
|
19
|
-
title:
|
16
|
+
title: "Button",
|
20
17
|
type: styleName ? "" : "buttonStyle",
|
21
18
|
element: element,
|
22
19
|
onSave: onSave,
|
@@ -6,17 +6,13 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
const ButtonToolIcon = props => {
|
7
7
|
const {
|
8
8
|
editor,
|
9
|
-
icoBtnType
|
10
|
-
customProps
|
9
|
+
icoBtnType
|
11
10
|
} = props;
|
12
|
-
const {
|
13
|
-
translation
|
14
|
-
} = customProps;
|
15
11
|
const handleInsertButton = () => {
|
16
12
|
insertButton(editor);
|
17
13
|
};
|
18
14
|
return /*#__PURE__*/_jsx(ToolbarIcon, {
|
19
|
-
title:
|
15
|
+
title: "Button",
|
20
16
|
onClick: handleInsertButton,
|
21
17
|
icon: /*#__PURE__*/_jsx(Icon, {
|
22
18
|
icon: "button"
|
@@ -9,8 +9,6 @@ import { WorkflowIcon } from "../../common/iconslist";
|
|
9
9
|
import { getTRBLBreakPoints, getBreakPointsValue, groupByBreakpoint } from "../../helper/theme";
|
10
10
|
import { handleLinkType, windowVar } from "../../utils/helper";
|
11
11
|
import LinkSettings from "../../common/LinkSettings";
|
12
|
-
import { useEditorTheme } from "../../hooks/useEditorTheme";
|
13
|
-
import { getTheme } from "../../theme";
|
14
12
|
import Icon from "../../common/Icon";
|
15
13
|
import { useEditorContext } from "../../hooks/useMouseMove";
|
16
14
|
import useCommonStyle from "../../commonStyle";
|
@@ -32,8 +30,7 @@ const EditorButton = props => {
|
|
32
30
|
const {
|
33
31
|
readOnly,
|
34
32
|
metadata,
|
35
|
-
isMobile
|
36
|
-
translation
|
33
|
+
isMobile
|
37
34
|
} = customProps;
|
38
35
|
const editor = useSlateStatic();
|
39
36
|
const path = ReactEditor.findPath(editor, element);
|
@@ -41,12 +38,6 @@ const EditorButton = props => {
|
|
41
38
|
const [openNav, setOpenNav] = useState(false);
|
42
39
|
const [openMoreOptions, setOpenMoreOptions] = useState(false);
|
43
40
|
const classes = useCommonStyle(appTheme);
|
44
|
-
const {
|
45
|
-
theme: selectedTheme
|
46
|
-
} = useEditorTheme();
|
47
|
-
const {
|
48
|
-
buttonTheme
|
49
|
-
} = getTheme(selectedTheme);
|
50
41
|
const {
|
51
42
|
label,
|
52
43
|
bgColor,
|
@@ -60,7 +51,7 @@ const EditorButton = props => {
|
|
60
51
|
fontFamily,
|
61
52
|
textColorHover,
|
62
53
|
bgColorHover,
|
63
|
-
|
54
|
+
buttonIcon,
|
64
55
|
iconPosition = "start",
|
65
56
|
borderStyle,
|
66
57
|
borderWidth,
|
@@ -81,7 +72,6 @@ const EditorButton = props => {
|
|
81
72
|
};
|
82
73
|
const isTrigger = linkType === "nextTrigger" || linkType === "prevTrigger";
|
83
74
|
const refURl = isTrigger ? buttonLink?.url : url;
|
84
|
-
const buttonIcon = element?.buttonIcon || buttonTheme?.buttonIcon;
|
85
75
|
const BtnIcon = buttonIcon ? buttonIcon : null;
|
86
76
|
windowVar.lastButtonProps = element;
|
87
77
|
const handleTrigger = async () => {
|
@@ -144,7 +134,7 @@ const EditorButton = props => {
|
|
144
134
|
justifyContent: "center"
|
145
135
|
},
|
146
136
|
children: [/*#__PURE__*/_jsx(Tooltip, {
|
147
|
-
title:
|
137
|
+
title: "Settings",
|
148
138
|
arrow: true,
|
149
139
|
children: /*#__PURE__*/_jsx(IconButton, {
|
150
140
|
onClick: onMenuClick("edit"),
|
@@ -154,7 +144,7 @@ const EditorButton = props => {
|
|
154
144
|
})
|
155
145
|
})
|
156
146
|
}), /*#__PURE__*/_jsx(Tooltip, {
|
157
|
-
title:
|
147
|
+
title: "Nav Settings",
|
158
148
|
arrow: true,
|
159
149
|
children: /*#__PURE__*/_jsx(IconButton, {
|
160
150
|
onClick: onMenuClick("nav"),
|
@@ -165,14 +155,13 @@ const EditorButton = props => {
|
|
165
155
|
})
|
166
156
|
}), hideOpenLink ? null : /*#__PURE__*/_jsx(_Fragment, {
|
167
157
|
children: /*#__PURE__*/_jsx(Tooltip, {
|
168
|
-
title:
|
158
|
+
title: "Open Link",
|
169
159
|
arrow: true,
|
170
160
|
children: /*#__PURE__*/_jsx(Box, {
|
171
161
|
sx: {
|
172
162
|
display: "inline-flex",
|
173
163
|
color: "rgba(0, 0, 0, 0.54)",
|
174
164
|
marginBottom: "0px !important",
|
175
|
-
...classes.buttonMoreOption,
|
176
165
|
...classes.buttonMoreOption3
|
177
166
|
},
|
178
167
|
...btnProps,
|
@@ -264,14 +253,19 @@ const EditorButton = props => {
|
|
264
253
|
display: "inline-block"
|
265
254
|
},
|
266
255
|
children: [/*#__PURE__*/_jsxs(Box, {
|
267
|
-
className: `btn textAlign-${tAlign} button theme-element`,
|
268
256
|
ref: buttonRef,
|
257
|
+
className: `btn textAlign-${tAlign}`,
|
269
258
|
sx: {
|
270
259
|
textDecoration: "none",
|
260
|
+
background: bgColor || "rgb(30, 75, 122)",
|
271
261
|
borderBlockStyle: "solid",
|
262
|
+
borderColor: borderColor || "transparent",
|
272
263
|
borderWidth: borderWidth !== undefined ? borderWidth : borderColor ? "1px" : "0px",
|
273
264
|
...btnSp,
|
274
265
|
borderStyle: borderStyle || "solid",
|
266
|
+
color: `${textColor || "#FFFFFF"}`,
|
267
|
+
fontSize: textSize || "inherit",
|
268
|
+
fontFamily: fontFamily || "PoppinsRegular",
|
275
269
|
display: "inline-flex",
|
276
270
|
alignItems: "center",
|
277
271
|
position: "relative",
|
@@ -280,22 +274,11 @@ const EditorButton = props => {
|
|
280
274
|
display: "none"
|
281
275
|
},
|
282
276
|
"&:hover": {
|
283
|
-
color: `${textColorHover || textColor}`,
|
284
|
-
background: bgColorHover || bgColor,
|
277
|
+
color: `${textColorHover || textColor || "#FFFFFF"}`,
|
278
|
+
background: bgColorHover || bgColor || "rgb(30, 75, 122)",
|
285
279
|
"& .element-toolbar": {
|
286
280
|
display: "flex"
|
287
281
|
}
|
288
|
-
},
|
289
|
-
color: textColor ? `${textColor} !important` : "#FFFFFF",
|
290
|
-
fontSize: textSize ? `${textSize}px !important` : "inherit",
|
291
|
-
fontFamily: fontFamily ? `${fontFamily} !important` : "PoppinsRegular",
|
292
|
-
background: `${bgColor} !important`,
|
293
|
-
borderColor: `${borderColor} !important`,
|
294
|
-
borderRadius: {
|
295
|
-
...getBreakPointsValue(borderRadius || buttonTheme?.borderRadius || {}, null, "overrideBorderRadius", true)
|
296
|
-
},
|
297
|
-
padding: {
|
298
|
-
...getTRBLBreakPoints(bannerSpacing || buttonTheme?.bannerSpacing || {})
|
299
282
|
}
|
300
283
|
},
|
301
284
|
...buttonProps,
|
@@ -306,7 +289,7 @@ const EditorButton = props => {
|
|
306
289
|
paddingRight: "4px"
|
307
290
|
},
|
308
291
|
props: customProps
|
309
|
-
}), label ||
|
292
|
+
}), label || "My Button", BtnIcon && iconPosition === "end" && /*#__PURE__*/_jsx(MUIIcon, {
|
310
293
|
iconName: buttonIcon,
|
311
294
|
style: {
|
312
295
|
paddingLeft: "4px",
|
@@ -29,8 +29,7 @@ const Carousel = props => {
|
|
29
29
|
customProps
|
30
30
|
} = props;
|
31
31
|
const {
|
32
|
-
readOnly
|
33
|
-
translation
|
32
|
+
readOnly
|
34
33
|
} = customProps;
|
35
34
|
const editor = useSlateStatic();
|
36
35
|
const [showOptions, setShowOptions] = useState(false);
|
@@ -97,21 +96,21 @@ const Carousel = props => {
|
|
97
96
|
left: "0px"
|
98
97
|
},
|
99
98
|
children: [/*#__PURE__*/_jsx(Tooltip, {
|
100
|
-
title: edit ?
|
99
|
+
title: edit ? "Save Carousel" : "Edit Carousel",
|
101
100
|
arrow: true,
|
102
101
|
children: /*#__PURE__*/_jsx(IconButton, {
|
103
102
|
onClick: onEdit,
|
104
103
|
children: !edit ? /*#__PURE__*/_jsx(EditIcon, {}) : /*#__PURE__*/_jsx(CheckCircleIcon, {})
|
105
104
|
})
|
106
105
|
}), /*#__PURE__*/_jsx(Tooltip, {
|
107
|
-
title:
|
106
|
+
title: "Add Slide",
|
108
107
|
arrow: true,
|
109
108
|
children: /*#__PURE__*/_jsx(IconButton, {
|
110
109
|
onClick: onAddSlide,
|
111
110
|
children: /*#__PURE__*/_jsx(GridAddSectionIcon, {})
|
112
111
|
})
|
113
112
|
}), /*#__PURE__*/_jsx(Tooltip, {
|
114
|
-
title:
|
113
|
+
title: "Delete Carousel",
|
115
114
|
arrow: true,
|
116
115
|
children: /*#__PURE__*/_jsx(IconButton, {
|
117
116
|
onClick: onDelete,
|
@@ -6,17 +6,13 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
const CarouselButton = props => {
|
7
7
|
const {
|
8
8
|
editor,
|
9
|
-
icoBtnType
|
10
|
-
customProps
|
9
|
+
icoBtnType
|
11
10
|
} = props;
|
12
|
-
const {
|
13
|
-
translation
|
14
|
-
} = customProps;
|
15
11
|
const handleClick = () => {
|
16
12
|
insertCarousel(editor);
|
17
13
|
};
|
18
14
|
return /*#__PURE__*/_jsx(ToolbarIcon, {
|
19
|
-
title:
|
15
|
+
title: "Carousel",
|
20
16
|
onClick: handleClick,
|
21
17
|
icon: /*#__PURE__*/_jsx(CarouselElementIcon, {}),
|
22
18
|
icoBtnType: icoBtnType
|
@@ -13,8 +13,7 @@ const CarouselItem = props => {
|
|
13
13
|
customProps
|
14
14
|
} = props;
|
15
15
|
const {
|
16
|
-
readOnly
|
17
|
-
translation
|
16
|
+
readOnly
|
18
17
|
} = customProps;
|
19
18
|
const editor = useSlateStatic();
|
20
19
|
const onMenuClick = val => () => {
|
@@ -42,7 +41,7 @@ const CarouselItem = props => {
|
|
42
41
|
},
|
43
42
|
contentEditable: false,
|
44
43
|
children: /*#__PURE__*/_jsx(Tooltip, {
|
45
|
-
title:
|
44
|
+
title: "Delete Slide",
|
46
45
|
arrow: true,
|
47
46
|
children: /*#__PURE__*/_jsx(IconButton, {
|
48
47
|
onClick: onMenuClick("delete"),
|
@@ -10,11 +10,8 @@ const ChipTextPopup = props => {
|
|
10
10
|
onDelete,
|
11
11
|
customProps
|
12
12
|
} = props;
|
13
|
-
const {
|
14
|
-
translation
|
15
|
-
} = customProps;
|
16
13
|
return /*#__PURE__*/_jsx(StyleBuilder, {
|
17
|
-
title:
|
14
|
+
title: "Chip Text",
|
18
15
|
type: "ChipTextPopup",
|
19
16
|
element: element,
|
20
17
|
onSave: onSave,
|
@@ -11,8 +11,7 @@ const CodeToText = props => {
|
|
11
11
|
html,
|
12
12
|
action,
|
13
13
|
location,
|
14
|
-
handleCodeToText
|
15
|
-
translation
|
14
|
+
handleCodeToText
|
16
15
|
} = props;
|
17
16
|
const codeToTextRef = useRef();
|
18
17
|
const wrapperRef = useRef();
|
@@ -90,7 +89,7 @@ const CodeToText = props => {
|
|
90
89
|
id: "",
|
91
90
|
value: html,
|
92
91
|
onChange: codeOnChange,
|
93
|
-
placeholder:
|
92
|
+
placeholder: "Write html here..."
|
94
93
|
}), /*#__PURE__*/_jsx("div", {
|
95
94
|
style: {
|
96
95
|
display: "flex",
|
@@ -111,11 +110,11 @@ const CodeToText = props => {
|
|
111
110
|
children: [/*#__PURE__*/_jsx("button", {
|
112
111
|
onClick: addHtml,
|
113
112
|
className: "done",
|
114
|
-
children:
|
113
|
+
children: "Done"
|
115
114
|
}), /*#__PURE__*/_jsx("button", {
|
116
115
|
className: "clear",
|
117
116
|
onClick: clearHtml,
|
118
|
-
children:
|
117
|
+
children: "Clear"
|
119
118
|
})]
|
120
119
|
})]
|
121
120
|
})
|
@@ -7,17 +7,13 @@ import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
7
|
const HtmlContextMenu = props => {
|
8
8
|
const {
|
9
9
|
editor,
|
10
|
-
handleCodeToText
|
11
|
-
customProps
|
10
|
+
handleCodeToText
|
12
11
|
} = props;
|
13
12
|
const [selection, setSelection] = useState();
|
14
13
|
const [showMenu, {
|
15
14
|
top,
|
16
15
|
left
|
17
16
|
}] = useContextMenu(editor, "htmlCode", setSelection);
|
18
|
-
const {
|
19
|
-
translation
|
20
|
-
} = customProps;
|
21
17
|
const handleEditHtml = () => {
|
22
18
|
Transforms.select(editor, selection);
|
23
19
|
const parentPath = Path.parent(selection.focus.path);
|
@@ -41,7 +37,7 @@ const HtmlContextMenu = props => {
|
|
41
37
|
children: [/*#__PURE__*/_jsx(Icon, {
|
42
38
|
icon: "pen"
|
43
39
|
}), /*#__PURE__*/_jsx("span", {
|
44
|
-
children:
|
40
|
+
children: "Edit HTML"
|
45
41
|
})]
|
46
42
|
})
|
47
43
|
});
|
@@ -1,15 +1,11 @@
|
|
1
1
|
import React, { useState } from "react";
|
2
|
-
import { Box, IconButton, Popover
|
2
|
+
import { Box, IconButton, Popover } from "@mui/material";
|
3
3
|
import KeyboardArrowDownRoundedIcon from "@mui/icons-material/KeyboardArrowDownRounded";
|
4
4
|
import Button from "../../common/Button";
|
5
5
|
import { colors } from "./defaultColors";
|
6
6
|
import ColorPicker from "./colorPicker.svg";
|
7
|
-
import { useSlateStatic } from "slate-react";
|
8
|
-
import { Transforms } from "slate";
|
9
|
-
import { useEditorContext } from "../../hooks/useMouseMove";
|
10
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
11
8
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
12
|
-
import { Fragment as _Fragment } from "react/jsx-runtime";
|
13
9
|
let c = [];
|
14
10
|
const ColorChunks = (recentColors = []) => [...recentColors, ...colors].reduce((a, b, i) => {
|
15
11
|
if (i % 7 === 0) {
|
@@ -36,8 +32,8 @@ const SingleColorButton = ({
|
|
36
32
|
width: "100%",
|
37
33
|
display: "flex",
|
38
34
|
alignItems: "center",
|
39
|
-
padding: padding || "8px 0px"
|
40
|
-
|
35
|
+
padding: padding || "8px 0px",
|
36
|
+
justifyContent: "center"
|
41
37
|
},
|
42
38
|
children: [crs.map(m => /*#__PURE__*/_jsx(Button, {
|
43
39
|
onClick: handleSelect(m),
|
@@ -114,18 +110,12 @@ const ColorButtons = props => {
|
|
114
110
|
openColorTool,
|
115
111
|
onClose,
|
116
112
|
onColorPickerClick,
|
117
|
-
disableEditTheme,
|
118
113
|
defaultColors = []
|
119
114
|
} = props;
|
120
115
|
const [row1, ...restRows] = ColorChunks([]);
|
121
116
|
const [anchorEl, setAnchorEl] = useState(null);
|
122
117
|
const open = Boolean(anchorEl);
|
123
118
|
const firstRow = defaultColors?.length ? defaultColors : row1;
|
124
|
-
const theme = useTheme();
|
125
|
-
const editor = useSlateStatic();
|
126
|
-
const {
|
127
|
-
setOpenTheme
|
128
|
-
} = useEditorContext();
|
129
119
|
const handleMore = e => {
|
130
120
|
setAnchorEl(e.currentTarget);
|
131
121
|
};
|
@@ -138,7 +128,6 @@ const ColorButtons = props => {
|
|
138
128
|
const handleSelect = color => () => {
|
139
129
|
onSelect(color);
|
140
130
|
};
|
141
|
-
const colorVars = theme?.vars?.colors || {};
|
142
131
|
return /*#__PURE__*/_jsxs(Box, {
|
143
132
|
component: "span",
|
144
133
|
sx: classes.colorButtons,
|
@@ -155,7 +144,7 @@ const ColorButtons = props => {
|
|
155
144
|
activeColor: activeColor
|
156
145
|
}, `si_btn_row1_${m}_${i}`);
|
157
146
|
})
|
158
|
-
}), /*#__PURE__*/
|
147
|
+
}), /*#__PURE__*/_jsxs(Popover, {
|
159
148
|
open: open || openColorTool,
|
160
149
|
anchorEl: anchorEl || openColorTool,
|
161
150
|
onClose: handleClose,
|
@@ -169,40 +158,9 @@ const ColorButtons = props => {
|
|
169
158
|
},
|
170
159
|
sx: classes.colorPopper,
|
171
160
|
className: "colorPopper",
|
172
|
-
children: /*#__PURE__*/
|
161
|
+
children: [/*#__PURE__*/_jsx(Box, {
|
173
162
|
sx: classes.colorButtonsInner,
|
174
|
-
children:
|
175
|
-
children: [/*#__PURE__*/_jsxs(Box, {
|
176
|
-
component: "div",
|
177
|
-
className: "singleColorTitleWrapper",
|
178
|
-
children: [/*#__PURE__*/_jsx(Typography, {
|
179
|
-
variant: "subtitle2",
|
180
|
-
children: "Theme colours"
|
181
|
-
}), disableEditTheme ? null : /*#__PURE__*/_jsx("div", {
|
182
|
-
className: "editBtn",
|
183
|
-
onClick: () => {
|
184
|
-
Transforms.deselect(editor, {
|
185
|
-
at: editor.selection
|
186
|
-
});
|
187
|
-
handleClose();
|
188
|
-
setOpenTheme("editThemeColor");
|
189
|
-
},
|
190
|
-
children: "Edit"
|
191
|
-
})]
|
192
|
-
}), /*#__PURE__*/_jsx(SingleColorButton, {
|
193
|
-
crs: Object.values(colorVars),
|
194
|
-
handleSelect: handleSelect,
|
195
|
-
classes: classes,
|
196
|
-
activeColor: activeColor
|
197
|
-
})]
|
198
|
-
}) : null, /*#__PURE__*/_jsx(Box, {
|
199
|
-
component: "div",
|
200
|
-
className: "singleColorTitleWrapper",
|
201
|
-
children: /*#__PURE__*/_jsx(Typography, {
|
202
|
-
variant: "subtitle2",
|
203
|
-
children: "Custom colour"
|
204
|
-
})
|
205
|
-
}), restRows.map((m, i) => {
|
163
|
+
children: restRows.map((m, i) => {
|
206
164
|
return /*#__PURE__*/_jsx(SingleColorButton, {
|
207
165
|
id: `p2_${id}`,
|
208
166
|
crs: m,
|
@@ -211,18 +169,14 @@ const ColorButtons = props => {
|
|
211
169
|
classes: classes,
|
212
170
|
activeColor: activeColor
|
213
171
|
}, `si_btn_${m}_${i}`);
|
214
|
-
})
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
alt: "color wheel"
|
223
|
-
})
|
224
|
-
}) : null]
|
225
|
-
})
|
172
|
+
})
|
173
|
+
}), forMiniTool ? /*#__PURE__*/_jsx(IconButton, {
|
174
|
+
onClick: onColorPickerClick,
|
175
|
+
children: /*#__PURE__*/_jsx("img", {
|
176
|
+
src: ColorPicker,
|
177
|
+
alt: "color wheel"
|
178
|
+
})
|
179
|
+
}) : null]
|
226
180
|
})]
|
227
181
|
});
|
228
182
|
};
|
@@ -60,28 +60,4 @@
|
|
60
60
|
padding: 0 15px !important;
|
61
61
|
width: 60px !important;
|
62
62
|
flex-shrink: 0;
|
63
|
-
}
|
64
|
-
|
65
|
-
|
66
|
-
.singleColorTitleWrapper {
|
67
|
-
display: flex;
|
68
|
-
justify-content: space-between;
|
69
|
-
align-items: center;
|
70
|
-
padding: 10px;
|
71
|
-
width: 100%;
|
72
|
-
border-bottom: 1px solid #DCE4EC;
|
73
|
-
}
|
74
|
-
|
75
|
-
.singleColorTitleWrapper .MuiTypography-root {
|
76
|
-
font-weight: 600;
|
77
|
-
}
|
78
|
-
|
79
|
-
.singleColorTitleWrapper .editBtn {
|
80
|
-
text-transform: none;
|
81
|
-
color: #2563EB;
|
82
|
-
text-decoration: underline;
|
83
|
-
padding: 0px;
|
84
|
-
min-width: unset;
|
85
|
-
cursor: pointer;
|
86
|
-
font-size: 14px;
|
87
|
-
}
|
63
|
+
}
|