Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@js-draw/material-icons

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@js-draw/material-icons - npm Package Compare versions

Comparing version 1.9.1 to 1.10.0

dist/cjs/icons/Shapes.svg.d.ts

2

dist/cjs/lib.d.ts

@@ -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;

6

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc