@js-draw/material-icons
Advanced tools
Comparing version 1.9.1 to 1.10.0
@@ -51,2 +51,4 @@ /** | ||
makePenIcon(style: PenStyle): IconElemType; | ||
makeShapeAutocorrectIcon(): IconElemType; | ||
makeStrokeSmoothingIcon(): IconElemType; | ||
makeResizeImageToSelectionIcon(): IconElemType; | ||
@@ -53,0 +55,0 @@ makeDuplicateSelectionIcon(): IconElemType; |
@@ -61,2 +61,4 @@ "use strict"; | ||
const Close_svg_1 = __importDefault(require("./icons/Close.svg")); | ||
const Shapes_svg_1 = __importDefault(require("./icons/Shapes.svg")); | ||
const Draw_svg_1 = __importDefault(require("./icons/Draw.svg")); | ||
const icon = (data) => { | ||
@@ -140,2 +142,8 @@ const icon = document.createElement('div'); | ||
// makeFormatSelectionIcon(): IconElemType; | ||
makeShapeAutocorrectIcon() { | ||
return icon(Shapes_svg_1.default); | ||
} | ||
makeStrokeSmoothingIcon() { | ||
return icon(Draw_svg_1.default); | ||
} | ||
makeResizeImageToSelectionIcon() { | ||
@@ -142,0 +150,0 @@ return icon(Resize_svg_1.default); |
@@ -51,2 +51,4 @@ /** | ||
makePenIcon(style: PenStyle): IconElemType; | ||
makeShapeAutocorrectIcon(): IconElemType; | ||
makeStrokeSmoothingIcon(): IconElemType; | ||
makeResizeImageToSelectionIcon(): IconElemType; | ||
@@ -53,0 +55,0 @@ makeDuplicateSelectionIcon(): IconElemType; |
{ | ||
"name": "@js-draw/material-icons", | ||
"version": "1.9.1", | ||
"version": "1.10.0", | ||
"description": "Material icon pack for js-draw. ", | ||
@@ -21,3 +21,3 @@ "types": "./dist/mjs/lib.d.ts", | ||
"@js-draw/build-tool": "^1.7.0", | ||
"js-draw": "^1.9.1" | ||
"js-draw": "^1.10.0" | ||
}, | ||
@@ -31,3 +31,3 @@ "peerDependencies": { | ||
"homepage": "https://github.com/personalizedrefrigerator/js-draw#readme", | ||
"gitHead": "b4bae7b437b2ce4ba8378a062b8e3959dca0f26e" | ||
"gitHead": "ccf1d0634e902c731fcd794df11cd001c3a30585" | ||
} |
@@ -58,2 +58,4 @@ | ||
import Close from './icons/Close.svg'; | ||
import Shapes from './icons/Shapes.svg'; | ||
import Draw from './icons/Draw.svg'; | ||
@@ -146,2 +148,8 @@ const icon = (data: string) => { | ||
// makeFormatSelectionIcon(): IconElemType; | ||
public override makeShapeAutocorrectIcon(): IconElemType { | ||
return icon(Shapes); | ||
} | ||
public override makeStrokeSmoothingIcon(): IconElemType { | ||
return icon(Draw); | ||
} | ||
public override makeResizeImageToSelectionIcon(): IconElemType { | ||
@@ -148,0 +156,0 @@ return icon(Resize); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
181812
133
1525