polotno 3.0.0-0 → 3.0.0-2
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/icons/meronex.d.ts +26 -0
- package/icons/meronex.js +1 -0
- package/package.json +4 -8
- package/polotno.bundle.js +87 -87
- package/side-panel/background-panel.js +2 -2
- package/side-panel/side-panel.js +7 -7
- package/side-panel/size-panel.js +1 -1
- package/toolbar/figure-toolbar.js +1 -1
- package/toolbar/html-toolbar.js +1 -1
- package/toolbar/opacity-picker.js +1 -1
- package/toolbar/sketch.d.ts +28 -1
- package/toolbar/sketch.js +1 -1
- package/toolbar/text-toolbar.js +2 -2
- package/utils/react-color/components/common/Alpha.d.ts +15 -0
- package/utils/react-color/components/common/Alpha.js +1 -0
- package/utils/react-color/components/common/Checkboard.d.ts +19 -0
- package/utils/react-color/components/common/Checkboard.js +1 -0
- package/utils/react-color/components/common/ColorWrap.d.ts +30 -0
- package/utils/react-color/components/common/ColorWrap.js +1 -0
- package/utils/react-color/components/common/EditableInput.d.ts +25 -0
- package/utils/react-color/components/common/EditableInput.js +1 -0
- package/utils/react-color/components/common/Hue.d.ts +15 -0
- package/utils/react-color/components/common/Hue.js +1 -0
- package/utils/react-color/components/common/Saturation.d.ts +21 -0
- package/utils/react-color/components/common/Saturation.js +1 -0
- package/utils/react-color/components/common/Swatch.d.ts +66 -0
- package/utils/react-color/components/common/Swatch.js +1 -0
- package/utils/react-color/components/common/index.d.ts +7 -0
- package/utils/react-color/components/common/index.js +1 -0
- package/utils/react-color/components/sketch/SketchFields.d.ts +12 -0
- package/utils/react-color/components/sketch/SketchFields.js +1 -0
- package/utils/react-color/components/sketch/SketchPresetColors.d.ts +13 -0
- package/utils/react-color/components/sketch/SketchPresetColors.js +1 -0
- package/utils/react-color/helpers/alpha.d.ts +1 -0
- package/utils/react-color/helpers/alpha.js +1 -0
- package/utils/react-color/helpers/checkboard.d.ts +2 -0
- package/utils/react-color/helpers/checkboard.js +1 -0
- package/utils/react-color/helpers/color.d.ts +26 -0
- package/utils/react-color/helpers/color.js +1 -0
- package/utils/react-color/helpers/hue.d.ts +1 -0
- package/utils/react-color/helpers/hue.js +1 -0
- package/utils/react-color/helpers/index.d.ts +2 -0
- package/utils/react-color/helpers/index.js +2 -0
- package/utils/react-color/helpers/interaction.d.ts +55 -0
- package/utils/react-color/helpers/interaction.js +1 -0
- package/utils/react-color/helpers/saturation.d.ts +1 -0
- package/utils/react-color/helpers/saturation.js +1 -0
- package/utils/reactcss/autoprefix.d.ts +2 -0
- package/utils/reactcss/autoprefix.js +1 -0
- package/utils/reactcss/components/active.d.ts +56 -0
- package/utils/reactcss/components/active.js +1 -0
- package/utils/reactcss/components/hover.d.ts +56 -0
- package/utils/reactcss/components/hover.js +1 -0
- package/utils/reactcss/flattenNames.d.ts +2 -0
- package/utils/reactcss/flattenNames.js +1 -0
- package/utils/reactcss/index.d.ts +9 -0
- package/utils/reactcss/index.js +1 -0
- package/utils/reactcss/loop.d.ts +2 -0
- package/utils/reactcss/loop.js +1 -0
- package/utils/reactcss/mergeClasses.d.ts +2 -0
- package/utils/reactcss/mergeClasses.js +1 -0
- package/utils/validate-key.js +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SVGProps } from 'react';
|
|
3
|
+
export declare const MdOpacity: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
4
|
+
export declare const MdFormatTextdirectionRToL: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
5
|
+
export declare const MdFormatTextdirectionLToR: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
6
|
+
export declare const MdcFormatVerticalAlignTop: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
7
|
+
export declare const MdcFormatVerticalAlignCenter: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
8
|
+
export declare const MdcFormatVerticalAlignBottom: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
9
|
+
export declare const MdcFormatListBulleted: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
10
|
+
export declare const MdcFormatListNumbered: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
11
|
+
export declare const MdcFormatLineSpacing: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
12
|
+
export declare const MdcFormatLetterCase: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
13
|
+
export declare const FaShapes: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
14
|
+
export declare const FaBrain: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
15
|
+
export declare const FdPageMultiple: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
16
|
+
export declare const ZoStrokeWidth: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
17
|
+
export declare const ZoDocument: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
18
|
+
export declare const CgColorPicker: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
19
|
+
export declare const AiOutlineFacebook: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
20
|
+
export declare const AiOutlineInstagram: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
21
|
+
export declare const AiOutlineYoutube: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
22
|
+
export declare const AiOutlineVideoCamera: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
23
|
+
export declare const AiOutlineIdcard: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
24
|
+
export declare const AiOutlineLinkedin: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
25
|
+
export declare const AiOutlineTwitter: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
|
26
|
+
export declare const IoMdColorPalette: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
|
package/icons/meronex.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"react";export const MdOpacity=t=>e.createElement("svg",Object.assign({width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor"},t),e.createElement("path",{d:"M17.66 8L12 2.35 6.34 8C4.78 9.56 4 11.64 4 13.64s.78 4.11 2.34 5.67 3.61 2.35 5.66 2.35 4.1-.79 5.66-2.35S20 15.64 20 13.64 19.22 9.56 17.66 8zM6 14c.01-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 17.99 12 18 14H6z"}));export const MdFormatTextdirectionRToL=t=>e.createElement("svg",Object.assign({width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor"},t),e.createElement("path",{d:"M10 10v5h2V4h2v11h2V4h2V2h-8C7.79 2 6 3.79 6 6s1.79 4 4 4zm-2 7v-3l-4 4 4 4v-3h12v-2H8z"}));export const MdFormatTextdirectionLToR=t=>e.createElement("svg",Object.assign({width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor"},t),e.createElement("path",{d:"M9 10v5h2V4h2v11h2V4h2V2H9C6.79 2 5 3.79 5 6s1.79 4 4 4zm12 8l-4-4v3H5v2h12v3l4-4z"}));export const MdcFormatVerticalAlignTop=t=>e.createElement("svg",Object.assign({width:"16",height:"16",version:"1.1",id:"mdi-format-vertical-align-top",viewBox:"0 0 24 24",fill:"currentColor"},t),e.createElement("path",{d:"M8,11H11V21H13V11H16L12,7L8,11M4,3V5H20V3H4Z"}));export const MdcFormatVerticalAlignCenter=t=>e.createElement("svg",Object.assign({width:"16",height:"16",version:"1.1",id:"mdi-format-vertical-align-center",viewBox:"0 0 24 24",fill:"currentColor"},t),e.createElement("path",{d:"M8,19H11V23H13V19H16L12,15L8,19M16,5H13V1H11V5H8L12,9L16,5M4,11V13H20V11H4Z"}));export const MdcFormatVerticalAlignBottom=t=>e.createElement("svg",Object.assign({width:"16",height:"16",version:"1.1",id:"mdi-format-vertical-align-bottom",viewBox:"0 0 24 24",fill:"currentColor"},t),e.createElement("path",{d:"M16,13H13V3H11V13H8L12,17L16,13M4,19V21H20V19H4Z"}));export const MdcFormatListBulleted=t=>e.createElement("svg",Object.assign({width:"16",height:"16",version:"1.1",id:"mdi-format-list-bulleted",viewBox:"0 0 24 24",fill:"currentColor"},t),e.createElement("path",{d:"M7,5H21V7H7V5M7,13V11H21V13H7M4,4.5A1.5,1.5 0 0,1 5.5,6A1.5,1.5 0 0,1 4,7.5A1.5,1.5 0 0,1 2.5,6A1.5,1.5 0 0,1 4,4.5M4,10.5A1.5,1.5 0 0,1 5.5,12A1.5,1.5 0 0,1 4,13.5A1.5,1.5 0 0,1 2.5,12A1.5,1.5 0 0,1 4,10.5M7,19V17H21V19H7M4,16.5A1.5,1.5 0 0,1 5.5,18A1.5,1.5 0 0,1 4,19.5A1.5,1.5 0 0,1 2.5,18A1.5,1.5 0 0,1 4,16.5Z"}));export const MdcFormatListNumbered=t=>e.createElement("svg",Object.assign({width:"16",height:"16",version:"1.1",id:"mdi-format-list-numbered",viewBox:"0 0 24 24",fill:"currentColor"},t),e.createElement("path",{d:"M7,13V11H21V13H7M7,19V17H21V19H7M7,7V5H21V7H7M3,8V5H2V4H4V8H3M2,17V16H5V20H2V19H4V18.5H3V17.5H4V17H2M4.25,10A0.75,0.75 0 0,1 5,10.75C5,10.95 4.92,11.14 4.79,11.27L3.12,13H5V14H2V13.08L4,11H2V10H4.25Z"}));export const MdcFormatLineSpacing=t=>e.createElement("svg",Object.assign({width:"16",height:"16",version:"1.1",id:"mdi-format-line-spacing",viewBox:"0 0 24 24",fill:"currentColor"},t),e.createElement("path",{d:"M10,13H22V11H10M10,19H22V17H10M10,7H22V5H10M6,7H8.5L5,3.5L1.5,7H4V17H1.5L5,20.5L8.5,17H6V7Z"}));export const MdcFormatLetterCase=t=>e.createElement("svg",Object.assign({width:"16",height:"16",version:"1.1",id:"mdi-format-letter-case",viewBox:"0 0 24 24",fill:"currentColor"},t),e.createElement("path",{d:"M20.06,18C20,17.83 19.91,17.54 19.86,17.11C19.19,17.81 18.38,18.16 17.45,18.16C16.62,18.16 15.93,17.92 15.4,17.45C14.87,17 14.6,16.39 14.6,15.66C14.6,14.78 14.93,14.1 15.6,13.61C16.27,13.12 17.21,12.88 18.43,12.88H19.83V12.24C19.83,11.75 19.68,11.36 19.38,11.07C19.08,10.78 18.63,10.64 18.05,10.64C17.53,10.64 17.1,10.76 16.75,11C16.4,11.25 16.23,11.54 16.23,11.89H14.77C14.77,11.46 14.92,11.05 15.22,10.65C15.5,10.25 15.93,9.94 16.44,9.71C16.95,9.5 17.5,9.36 18.13,9.36C19.11,9.36 19.87,9.6 20.42,10.09C20.97,10.58 21.26,11.25 21.28,12.11V16C21.28,16.8 21.38,17.42 21.58,17.88V18H20.06M17.66,16.88C18.11,16.88 18.54,16.77 18.95,16.56C19.35,16.35 19.65,16.07 19.83,15.73V14.16H18.7C16.93,14.16 16.04,14.63 16.04,15.57C16.04,16 16.19,16.3 16.5,16.53C16.8,16.76 17.18,16.88 17.66,16.88M5.46,13.71H9.53L7.5,8.29L5.46,13.71M6.64,6H8.36L13.07,18H11.14L10.17,15.43H4.82L3.86,18H1.93L6.64,6Z"}));export const FaShapes=t=>e.createElement("svg",Object.assign({width:"16",height:"16",viewBox:"0 0 512 512",fill:"currentColor"},t),e.createElement("path",{d:"M128,256A128,128,0,1,0,256,384,128,128,0,0,0,128,256Zm379-54.86L400.07,18.29a37.26,37.26,0,0,0-64.14,0L229,201.14C214.76,225.52,232.58,256,261.09,256H474.91C503.42,256,521.24,225.52,507,201.14ZM480,288H320a32,32,0,0,0-32,32V480a32,32,0,0,0,32,32H480a32,32,0,0,0,32-32V320A32,32,0,0,0,480,288Z"}));export const FaBrain=t=>e.createElement("svg",Object.assign({width:"16",height:"16",viewBox:"0 0 576 512",fill:"currentColor"},t),e.createElement("path",{d:"M208 0c-29.9 0-54.7 20.5-61.8 48.2-.8 0-1.4-.2-2.2-.2-35.3 0-64 28.7-64 64 0 4.8.6 9.5 1.7 14C52.5 138 32 166.6 32 200c0 12.6 3.2 24.3 8.3 34.9C16.3 248.7 0 274.3 0 304c0 33.3 20.4 61.9 49.4 73.9-.9 4.6-1.4 9.3-1.4 14.1 0 39.8 32.2 72 72 72 4.1 0 8.1-.5 12-1.2 9.6 28.5 36.2 49.2 68 49.2 39.8 0 72-32.2 72-72V64c0-35.3-28.7-64-64-64zm368 304c0-29.7-16.3-55.3-40.3-69.1 5.2-10.6 8.3-22.3 8.3-34.9 0-33.4-20.5-62-49.7-74 1-4.5 1.7-9.2 1.7-14 0-35.3-28.7-64-64-64-.8 0-1.5.2-2.2.2C422.7 20.5 397.9 0 368 0c-35.3 0-64 28.6-64 64v376c0 39.8 32.2 72 72 72 31.8 0 58.4-20.7 68-49.2 3.9.7 7.9 1.2 12 1.2 39.8 0 72-32.2 72-72 0-4.8-.5-9.5-1.4-14.1 29-12 49.4-40.6 49.4-73.9z"}));export const FdPageMultiple=t=>e.createElement("svg",Object.assign({width:"16",height:"16",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 100 100",enableBackground:"new 0 0 100 100",fill:"currentColor"},t),e.createElement("g",null,e.createElement("path",{d:"M86.45,23.27h-3.475V90.18c0,0.835-0.677,1.513-1.513,1.513H31.987v3.475c0,0.836,0.677,1.513,1.513,1.513l0.001,0v0h52.95c0.836,0,1.513-0.677,1.513-1.513V24.782C87.963,23.946,87.286,23.27,86.45,23.27z"}),e.createElement("path",{d:"M77.988,85.193V14.807c0-0.836-0.677-1.513-1.513-1.513h-3.475v66.911c0,0.836-0.677,1.513-1.513,1.513H22.011v3.475c0,0.836,0.677,1.513,1.513,1.513c0,0,0,0,0,0h52.951C77.311,86.706,77.988,86.029,77.988,85.193z"}),e.createElement("path",{d:"M68.013,75.218V4.832c0-0.836-0.677-1.513-1.513-1.513H13.55c-0.836,0-1.513,0.677-1.513,1.513v70.386c0,0.836,0.677,1.513,1.513,1.513H66.5C67.336,76.731,68.013,76.054,68.013,75.218z"})));export const ZoStrokeWidth=t=>e.createElement("svg",Object.assign({width:"16",height:"16",viewBox:"0 0 20 20",fill:"currentColor"},t),e.createElement("path",{d:"M0 0h20v5H0V0zm0 7h20v4H0V7zm0 6h20v3H0v-3zm0 5h20v2H0v-2z"}));export const ZoDocument=t=>e.createElement("svg",Object.assign({width:"16",height:"16",viewBox:"0 0 20 20",fill:"currentColor"},t),e.createElement("path",{d:"M4 18h12V6h-4V2H4v16zm-2 1V0h12l4 4v16H2v-1z"}));export const CgColorPicker=t=>e.createElement("svg",Object.assign({width:"16",height:"16",viewBox:"0 0 24 24",fill:"none"},t),e.createElement("path",{d:"M20.3847 2.87868C19.2132 1.70711 17.3137 1.70711 16.1421 2.87868L14.0202 5.00052L13.313 4.29332C12.9225 3.9028 12.2894 3.9028 11.8988 4.29332C11.5083 4.68385 11.5083 5.31701 11.8988 5.70754L17.5557 11.3644C17.9462 11.7549 18.5794 11.7549 18.9699 11.3644C19.3604 10.9739 19.3604 10.3407 18.9699 9.95018L18.2629 9.24316L20.3847 7.12132C21.5563 5.94975 21.5563 4.05025 20.3847 2.87868Z",fill:"currentColor"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9297 7.09116L4.1515 14.8693C3.22786 15.793 3.03239 17.169 3.5651 18.2842L1.99994 19.8493L3.41415 21.2635L4.97931 19.6984C6.09444 20.2311 7.4705 20.0356 8.39414 19.112L16.1723 11.3338L11.9297 7.09116ZM13.3439 11.3338L11.9297 9.91959L5.56571 16.2835C5.17518 16.6741 5.17518 17.3072 5.56571 17.6978C5.95623 18.0883 6.5894 18.0883 6.97992 17.6978L13.3439 11.3338Z",fill:"currentColor"}));export const AiOutlineFacebook=t=>e.createElement("svg",Object.assign({width:"16",height:"16",className:"icon",viewBox:"0 0 1024 1024",fill:"currentColor"},t),e.createElement("path",{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-32 736H663.9V602.2h104l15.6-120.7H663.9v-77.1c0-35 9.7-58.8 59.8-58.8h63.9v-108c-11.1-1.5-49-4.8-93.2-4.8-92.2 0-155.3 56.3-155.3 159.6v89H434.9v120.7h104.3V848H176V176h672v672z"}));export const AiOutlineInstagram=t=>e.createElement("svg",Object.assign({width:"16",height:"16",className:"icon",viewBox:"0 0 1024 1024",fill:"currentColor"},t),e.createElement("path",{d:"M512 306.9c-113.5 0-205.1 91.6-205.1 205.1S398.5 717.1 512 717.1 717.1 625.5 717.1 512 625.5 306.9 512 306.9zm0 338.4c-73.4 0-133.3-59.9-133.3-133.3S438.6 378.7 512 378.7 645.3 438.6 645.3 512 585.4 645.3 512 645.3zm213.5-394.6c-26.5 0-47.9 21.4-47.9 47.9s21.4 47.9 47.9 47.9 47.9-21.3 47.9-47.9a47.84 47.84 0 0 0-47.9-47.9zM911.8 512c0-55.2.5-109.9-2.6-165-3.1-64-17.7-120.8-64.5-167.6-46.9-46.9-103.6-61.4-167.6-64.5-55.2-3.1-109.9-2.6-165-2.6-55.2 0-109.9-.5-165 2.6-64 3.1-120.8 17.7-167.6 64.5C132.6 226.3 118.1 283 115 347c-3.1 55.2-2.6 109.9-2.6 165s-.5 109.9 2.6 165c3.1 64 17.7 120.8 64.5 167.6 46.9 46.9 103.6 61.4 167.6 64.5 55.2 3.1 109.9 2.6 165 2.6 55.2 0 109.9.5 165-2.6 64-3.1 120.8-17.7 167.6-64.5 46.9-46.9 61.4-103.6 64.5-167.6 3.2-55.1 2.6-109.8 2.6-165zm-88 235.8c-7.3 18.2-16.1 31.8-30.2 45.8-14.1 14.1-27.6 22.9-45.8 30.2C695.2 844.7 570.3 840 512 840c-58.3 0-183.3 4.7-235.9-16.1-18.2-7.3-31.8-16.1-45.8-30.2-14.1-14.1-22.9-27.6-30.2-45.8C179.3 695.2 184 570.3 184 512c0-58.3-4.7-183.3 16.1-235.9 7.3-18.2 16.1-31.8 30.2-45.8s27.6-22.9 45.8-30.2C328.7 179.3 453.7 184 512 184s183.3-4.7 235.9 16.1c18.2 7.3 31.8 16.1 45.8 30.2 14.1 14.1 22.9 27.6 30.2 45.8C844.7 328.7 840 453.7 840 512c0 58.3 4.7 183.2-16.2 235.8z"}));export const AiOutlineYoutube=t=>e.createElement("svg",Object.assign({width:"16",height:"16",className:"icon",viewBox:"0 0 1024 1024",fill:"currentColor"},t),e.createElement("path",{d:"M960 509.2c0-2.2 0-4.7-.1-7.6-.1-8.1-.3-17.2-.5-26.9-.8-27.9-2.2-55.7-4.4-81.9-3-36.1-7.4-66.2-13.4-88.8a139.52 139.52 0 0 0-98.3-98.5c-28.3-7.6-83.7-12.3-161.7-15.2-37.1-1.4-76.8-2.3-116.5-2.8-13.9-.2-26.8-.3-38.4-.4h-29.4c-11.6.1-24.5.2-38.4.4-39.7.5-79.4 1.4-116.5 2.8-78 3-133.5 7.7-161.7 15.2A139.35 139.35 0 0 0 82.4 304C76.3 326.6 72 356.7 69 392.8c-2.2 26.2-3.6 54-4.4 81.9-.3 9.7-.4 18.8-.5 26.9 0 2.9-.1 5.4-.1 7.6v5.6c0 2.2 0 4.7.1 7.6.1 8.1.3 17.2.5 26.9.8 27.9 2.2 55.7 4.4 81.9 3 36.1 7.4 66.2 13.4 88.8 12.8 47.9 50.4 85.7 98.3 98.5 28.2 7.6 83.7 12.3 161.7 15.2 37.1 1.4 76.8 2.3 116.5 2.8 13.9.2 26.8.3 38.4.4h29.4c11.6-.1 24.5-.2 38.4-.4 39.7-.5 79.4-1.4 116.5-2.8 78-3 133.5-7.7 161.7-15.2 47.9-12.8 85.5-50.5 98.3-98.5 6.1-22.6 10.4-52.7 13.4-88.8 2.2-26.2 3.6-54 4.4-81.9.3-9.7.4-18.8.5-26.9 0-2.9.1-5.4.1-7.6v-5.6zm-72 5.2c0 2.1 0 4.4-.1 7.1-.1 7.8-.3 16.4-.5 25.7-.7 26.6-2.1 53.2-4.2 77.9-2.7 32.2-6.5 58.6-11.2 76.3-6.2 23.1-24.4 41.4-47.4 47.5-21 5.6-73.9 10.1-145.8 12.8-36.4 1.4-75.6 2.3-114.7 2.8-13.7.2-26.4.3-37.8.3h-28.6l-37.8-.3c-39.1-.5-78.2-1.4-114.7-2.8-71.9-2.8-124.9-7.2-145.8-12.8-23-6.2-41.2-24.4-47.4-47.5-4.7-17.7-8.5-44.1-11.2-76.3-2.1-24.7-3.4-51.3-4.2-77.9-.3-9.3-.4-18-.5-25.7 0-2.7-.1-5.1-.1-7.1v-4.8c0-2.1 0-4.4.1-7.1.1-7.8.3-16.4.5-25.7.7-26.6 2.1-53.2 4.2-77.9 2.7-32.2 6.5-58.6 11.2-76.3 6.2-23.1 24.4-41.4 47.4-47.5 21-5.6 73.9-10.1 145.8-12.8 36.4-1.4 75.6-2.3 114.7-2.8 13.7-.2 26.4-.3 37.8-.3h28.6l37.8.3c39.1.5 78.2 1.4 114.7 2.8 71.9 2.8 124.9 7.2 145.8 12.8 23 6.2 41.2 24.4 47.4 47.5 4.7 17.7 8.5 44.1 11.2 76.3 2.1 24.7 3.4 51.3 4.2 77.9.3 9.3.4 18 .5 25.7 0 2.7.1 5.1.1 7.1v4.8zM423 646l232-135-232-133z"}));export const AiOutlineVideoCamera=t=>e.createElement("svg",Object.assign({width:"16",height:"16",className:"icon",viewBox:"0 0 1024 1024",fill:"currentColor"},t),e.createElement("path",{d:"M912 302.3L784 376V224c0-35.3-28.7-64-64-64H128c-35.3 0-64 28.7-64 64v576c0 35.3 28.7 64 64 64h592c35.3 0 64-28.7 64-64V648l128 73.7c21.3 12.3 48-3.1 48-27.6V330c0-24.6-26.7-40-48-27.7zM712 792H136V232h576v560zm176-167l-104-59.8V458.9L888 399v226zM208 360h112c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H208c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}));export const AiOutlineIdcard=t=>e.createElement("svg",Object.assign({width:"16",height:"16",className:"icon",viewBox:"0 0 1024 1024",fill:"currentColor"},t),e.createElement("path",{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136V232h752v560zM610.3 476h123.4c1.3 0 2.3-3.6 2.3-8v-48c0-4.4-1-8-2.3-8H610.3c-1.3 0-2.3 3.6-2.3 8v48c0 4.4 1 8 2.3 8zm4.8 144h185.7c3.9 0 7.1-3.6 7.1-8v-48c0-4.4-3.2-8-7.1-8H615.1c-3.9 0-7.1 3.6-7.1 8v48c0 4.4 3.2 8 7.1 8zM224 673h43.9c4.2 0 7.6-3.3 7.9-7.5 3.8-50.5 46-90.5 97.2-90.5s93.4 40 97.2 90.5c.3 4.2 3.7 7.5 7.9 7.5H522a8 8 0 0 0 8-8.4c-2.8-53.3-32-99.7-74.6-126.1a111.8 111.8 0 0 0 29.1-75.5c0-61.9-49.9-112-111.4-112s-111.4 50.1-111.4 112c0 29.1 11 55.5 29.1 75.5a158.09 158.09 0 0 0-74.6 126.1c-.4 4.6 3.2 8.4 7.8 8.4zm149-262c28.5 0 51.7 23.3 51.7 52s-23.2 52-51.7 52-51.7-23.3-51.7-52 23.2-52 51.7-52z"}));export const AiOutlineLinkedin=t=>e.createElement("svg",Object.assign({width:"16",height:"16",className:"icon",viewBox:"0 0 1024 1024",fill:"currentColor"},t),e.createElement("path",{d:"M847.7 112H176.3c-35.5 0-64.3 28.8-64.3 64.3v671.4c0 35.5 28.8 64.3 64.3 64.3h671.4c35.5 0 64.3-28.8 64.3-64.3V176.3c0-35.5-28.8-64.3-64.3-64.3zm0 736c-447.8-.1-671.7-.2-671.7-.3.1-447.8.2-671.7.3-671.7 447.8.1 671.7.2 671.7.3-.1 447.8-.2 671.7-.3 671.7zM230.6 411.9h118.7v381.8H230.6zm59.4-52.2c37.9 0 68.8-30.8 68.8-68.8a68.8 68.8 0 1 0-137.6 0c-.1 38 30.7 68.8 68.8 68.8zm252.3 245.1c0-49.8 9.5-98 71.2-98 60.8 0 61.7 56.9 61.7 101.2v185.7h118.6V584.3c0-102.8-22.2-181.9-142.3-181.9-57.7 0-96.4 31.7-112.3 61.7h-1.6v-52.2H423.7v381.8h118.6V604.8z"}));export const AiOutlineTwitter=t=>e.createElement("svg",Object.assign({width:"16",height:"16",className:"icon",viewBox:"0 0 1024 1024",fill:"currentColor"},t),e.createElement("path",{d:"M928 254.3c-30.6 13.2-63.9 22.7-98.2 26.4a170.1 170.1 0 0 0 75-94 336.64 336.64 0 0 1-108.2 41.2A170.1 170.1 0 0 0 672 174c-94.5 0-170.5 76.6-170.5 170.6 0 13.2 1.6 26.4 4.2 39.1-141.5-7.4-267.7-75-351.6-178.5a169.32 169.32 0 0 0-23.2 86.1c0 59.2 30.1 111.4 76 142.1a172 172 0 0 1-77.1-21.7v2.1c0 82.9 58.6 151.6 136.7 167.4a180.6 180.6 0 0 1-44.9 5.8c-11.1 0-21.6-1.1-32.2-2.6C211 652 273.9 701.1 348.8 702.7c-58.6 45.9-132 72.9-211.7 72.9-14.3 0-27.5-.5-41.2-2.1C171.5 822 261.2 850 357.8 850 671.4 850 843 590.2 843 364.7c0-7.4 0-14.8-.5-22.2 33.2-24.3 62.3-54.4 85.5-88.2z"}));export const IoMdColorPalette=t=>e.createElement("svg",Object.assign({width:"16",height:"16",viewBox:"0 0 512 512",fill:"currentColor"},t),e.createElement("path",{d:"M430.1 347.9c-6.6-6.1-16.3-7.6-24.6-9-11.5-1.9-15.9-4-22.6-10-14.3-12.7-14.3-31.1 0-43.8l30.3-26.9c46.4-41 46.4-108.2 0-149.2-34.2-30.1-80.1-45-127.8-45-55.7 0-113.9 20.3-158.8 60.1-83.5 73.8-83.5 194.7 0 268.5 41.5 36.7 97.5 55 152.9 55.4h1.7c55.4 0 110-17.9 148.8-52.4 14.4-12.7 12-36.6.1-47.7zM120 216c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm40 126c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm64-161c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm72 219c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm24-208c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "polotno",
|
|
3
|
-
"version": "3.0.0-
|
|
3
|
+
"version": "3.0.0-2",
|
|
4
4
|
"description": "Design Editor Framework",
|
|
5
5
|
"author": "Anton Lavrenov",
|
|
6
6
|
"keywords": [
|
|
@@ -60,10 +60,6 @@
|
|
|
60
60
|
"@blueprintjs/core": "6.3.4",
|
|
61
61
|
"@blueprintjs/icons": "^6.3.1",
|
|
62
62
|
"@blueprintjs/select": "6.0.8",
|
|
63
|
-
"@meronex/icons": "^4.0.0",
|
|
64
|
-
"cssom": "^0.5.0",
|
|
65
|
-
"fast-json-patch": "^3.1.1",
|
|
66
|
-
"functions-have-names": "^1.2.3",
|
|
67
63
|
"gifuct-js": "^2.1.2",
|
|
68
64
|
"gradient-parser": "^1.1.1",
|
|
69
65
|
"konva": "^10.0.9",
|
|
@@ -74,7 +70,7 @@
|
|
|
74
70
|
"nanoid": "^3.3.11",
|
|
75
71
|
"quill": "^2.0.3",
|
|
76
72
|
"rasterizehtml": "^1.4.0",
|
|
77
|
-
"
|
|
73
|
+
"tinycolor2": "^1.6.0",
|
|
78
74
|
"react-konva": "^19.2.0",
|
|
79
75
|
"react-konva-utils": "^2.0.0",
|
|
80
76
|
"react-sortablejs": "6.1.4",
|
|
@@ -93,8 +89,8 @@
|
|
|
93
89
|
},
|
|
94
90
|
"main": "./polotno-app.js",
|
|
95
91
|
"peerDependencies": {
|
|
96
|
-
"react": "^
|
|
97
|
-
"react-dom": "^
|
|
92
|
+
"react": "^19.2.0",
|
|
93
|
+
"react-dom": "^19.2.0"
|
|
98
94
|
},
|
|
99
95
|
"size-limit": [
|
|
100
96
|
{
|