@flozy/editor 3.1.7 → 3.1.8

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.
@@ -168,7 +168,7 @@ const Image = ({
168
168
  opacity: frame ? 0 : 1,
169
169
  cursor: webAddress ? "pointer" : "",
170
170
  border: `1px solid ${borderColor}`,
171
- borderWidth: borderWidth['borderWidth']
171
+ borderWidth: borderWidth?.['borderWidth'] ? borderWidth?.['borderWidth'] : "1px"
172
172
  },
173
173
  alt: alt,
174
174
  src: url,
@@ -7,7 +7,7 @@ import { AiFillEdit, AiOutlineInsertRowBelow, AiOutlineInsertRowRight, AiOutline
7
7
  import { SiLatex } from "react-icons/si";
8
8
  import { RiDeleteColumn, RiDeleteRow } from "react-icons/ri";
9
9
  import { IoIosImage } from "react-icons/io";
10
- import { GridIcon, AccordionIcon, SignatureIcon, ButtonIcon, Carousal, FormIcon, BoldIcon, FontFamilyIcon, FontSizeIcon, ImageIcon, ItalicIcon, LinkIcon, StrikethroughIcon, TableIcon, UnderLineIcon, VideoIcon, CheckboxIcon, AppHeader, MoreHorizontal, UploadImage, DocsUpload, LeftArrow, RightArrow, CheckListButton, CheckListButtonActive, ExcelIcon, CsvIcon, DividerIcon, CloseIcon, SearchIcon, ExpandIcon } from "./iconslist";
10
+ import { GridIcon, AccordionIcon, SignatureIcon, ButtonIcon, Carousal, FormIcon, BoldIcon, FontFamilyIcon, FontSizeIcon, ImageIcon, ItalicIcon, LinkIcon, StrikethroughIcon, TableIcon, UnderLineIcon, VideoIcon, CheckboxIcon, AppHeader, MoreHorizontal, UploadImage, DocsUpload, LeftArrow, RightArrow, CheckListButton, CheckListButtonActive, ExcelIcon, CsvIcon, DividerIcon, CloseIcon, SearchIcon, ExpandIcon, CalendarIconNew } from "./iconslist";
11
11
  import ArrowRightIcon from "@mui/icons-material/ArrowRight";
12
12
  import ArrowDropDownIcon from "@mui/icons-material/ArrowDropDown";
13
13
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -211,7 +211,8 @@ const iconList = {
211
211
  style: {
212
212
  fill: "#64748B"
213
213
  }
214
- })
214
+ }),
215
+ calenderNewIcon: /*#__PURE__*/_jsx(CalendarIconNew, {})
215
216
  };
216
217
  const Icon = props => {
217
218
  const {
@@ -120,7 +120,7 @@ const ELEMENTS_LIST = [{
120
120
  group: "Media",
121
121
  type: "embed",
122
122
  icon: /*#__PURE__*/_jsx(Icon, {
123
- icon: "embed"
123
+ icon: "calenderNewIcon"
124
124
  }),
125
125
  onInsert: editor => insertDefaultEmbed(editor, "calendly", "")
126
126
  }, {
@@ -1750,4 +1750,57 @@ export const ExpandIcon = () => /*#__PURE__*/_jsxs("svg", {
1750
1750
  strokeLinecap: "round",
1751
1751
  strokeLinejoin: "round"
1752
1752
  })]
1753
+ });
1754
+ export const CalendarIconNew = ({
1755
+ height = 15,
1756
+ width = 14
1757
+ }) => /*#__PURE__*/_jsxs("svg", {
1758
+ xmlns: "http://www.w3.org/2000/svg",
1759
+ width: width,
1760
+ height: height,
1761
+ viewBox: "0 0 14 15",
1762
+ fill: "none",
1763
+ children: [/*#__PURE__*/_jsx("path", {
1764
+ className: "strokeFill",
1765
+ d: "M10.9993 3.01172H2.99935C2.26297 3.01172 1.66602 3.60867 1.66602 4.34505V12.3451C1.66602 13.0814 2.26297 13.6784 2.99935 13.6784H10.9993C11.7357 13.6784 12.3327 13.0814 12.3327 12.3451V4.34505C12.3327 3.60867 11.7357 3.01172 10.9993 3.01172Z",
1766
+ stroke: "#64748B",
1767
+ strokeWidth: "1.5",
1768
+ strokeLinecap: "round",
1769
+ strokeLinejoin: "round"
1770
+ }), /*#__PURE__*/_jsx("path", {
1771
+ className: "strokeFill",
1772
+ d: "M9.66602 1.67969V4.34635",
1773
+ stroke: "#64748B",
1774
+ strokeWidth: "1.5",
1775
+ strokeLinecap: "round",
1776
+ strokeLinejoin: "round"
1777
+ }), /*#__PURE__*/_jsx("path", {
1778
+ className: "strokeFill",
1779
+ d: "M4.33203 1.67969V4.34635",
1780
+ stroke: "#64748B",
1781
+ strokeWidth: "1.5",
1782
+ strokeLinecap: "round",
1783
+ strokeLinejoin: "round"
1784
+ }), /*#__PURE__*/_jsx("path", {
1785
+ className: "strokeFill",
1786
+ d: "M1.66602 7.01172H12.3327",
1787
+ stroke: "#64748B",
1788
+ strokeWidth: "1.5",
1789
+ strokeLinecap: "round",
1790
+ strokeLinejoin: "round"
1791
+ }), /*#__PURE__*/_jsx("path", {
1792
+ className: "strokeFill",
1793
+ d: "M6.33203 9.67969H6.9987",
1794
+ stroke: "#64748B",
1795
+ strokeWidth: "1.5",
1796
+ strokeLinecap: "round",
1797
+ strokeLinejoin: "round"
1798
+ }), /*#__PURE__*/_jsx("path", {
1799
+ className: "strokeFill",
1800
+ d: "M7 9.67969V11.6797",
1801
+ stroke: "#64748B",
1802
+ strokeWidth: "1.5",
1803
+ strokeLinecap: "round",
1804
+ strokeLinejoin: "round"
1805
+ })]
1753
1806
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flozy/editor",
3
- "version": "3.1.7",
3
+ "version": "3.1.8",
4
4
  "description": "An Editor for flozy app brain",
5
5
  "files": [
6
6
  "dist"