@flozy/editor 4.0.0 → 4.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. package/dist/Editor/ChatEditor.js +9 -14
  2. package/dist/Editor/CommonEditor.js +11 -7
  3. package/dist/Editor/Editor.css +36 -3
  4. package/dist/Editor/Elements/AI/AIInput.js +16 -12
  5. package/dist/Editor/Elements/AI/PopoverAIInput.js +7 -8
  6. package/dist/Editor/Elements/AI/Styles.js +0 -1
  7. package/dist/Editor/Elements/Accordion/AccordionSummary.js +15 -4
  8. package/dist/Editor/Elements/Carousel/CarouselButton.js +2 -1
  9. package/dist/Editor/Elements/Color Picker/ColorButtons.js +3 -1
  10. package/dist/Editor/Elements/Color Picker/Styles.js +1 -0
  11. package/dist/Editor/Elements/Link/LinkPopup.js +66 -14
  12. package/dist/Editor/Elements/NewLine/NewLineButton.js +2 -1
  13. package/dist/Editor/Elements/Signature/Signature.css +13 -6
  14. package/dist/Editor/Elements/Signature/SignatureOptions/UploadSignature.js +2 -1
  15. package/dist/Editor/Elements/Signature/SignaturePopup.js +172 -32
  16. package/dist/Editor/Elements/SimpleText/index.js +11 -1
  17. package/dist/Editor/Elements/SimpleText/style.js +1 -1
  18. package/dist/Editor/Toolbar/FormatTools/Dropdown.js +1 -1
  19. package/dist/Editor/Toolbar/FormatTools/TextSize.js +2 -2
  20. package/dist/Editor/Toolbar/Mini/MiniToolbar.js +32 -3
  21. package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/CustomSelectTool.js +3 -0
  22. package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/SelectSuperSubscript.js +59 -0
  23. package/dist/Editor/Toolbar/PopupTool/MiniTextFormat/index.js +2 -1
  24. package/dist/Editor/Toolbar/PopupTool/PopupToolStyle.js +91 -19
  25. package/dist/Editor/Toolbar/PopupTool/TextFormat.js +56 -39
  26. package/dist/Editor/Toolbar/toolbarGroups.js +5 -5
  27. package/dist/Editor/common/EditorIcons.js +7 -7
  28. package/dist/Editor/common/Icon.js +25 -26
  29. package/dist/Editor/common/ImageList.js +16 -3
  30. package/dist/Editor/common/ImageSelector/ImageSelector.js +30 -9
  31. package/dist/Editor/common/ImageSelector/Styles.js +2 -1
  32. package/dist/Editor/common/MentionsPopup/Styles.js +1 -1
  33. package/dist/Editor/common/Shorthands/elements.js +9 -9
  34. package/dist/Editor/common/StyleBuilder/fieldTypes/bannerSpacing.js +26 -20
  35. package/dist/Editor/common/StyleBuilder/fieldTypes/borderRadius.js +18 -16
  36. package/dist/Editor/common/iconListV2.js +843 -0
  37. package/dist/Editor/commonStyle.js +6 -0
  38. package/dist/Editor/helper/theme.js +2 -1
  39. package/package.json +1 -1
@@ -99,6 +99,12 @@ const useCommonStyle = theme => ({
99
99
  }
100
100
  }
101
101
  },
102
+ popupTitle2: {
103
+ fontWeight: "600 !important",
104
+ fontSize: "20px",
105
+ display: "flex",
106
+ alignItems: "center"
107
+ },
102
108
  textOptions: {
103
109
  "& .MuiPopover-root": {
104
110
  backgroundColor: theme?.palette?.editor?.background
@@ -283,4 +283,5 @@ export const saveToTheme = editor => {
283
283
  }
284
284
  };
285
285
  export const HEADING_THEME_FIELDS = ["h1", "h2", "h3", "h4", "h5", "h6"];
286
- export const PARAGRAPH_THEME_FIELDS = ["para1", "para2", "para3"];
286
+ export const PARAGRAPH_THEME_FIELDS = ["para1", "para2", "para3"];
287
+ export const getCustomizationValue = value => isNaN(parseInt(value)) ? null : parseInt(value);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flozy/editor",
3
- "version": "4.0.0",
3
+ "version": "4.0.2",
4
4
  "description": "An Editor for flozy app brain",
5
5
  "files": [
6
6
  "dist"