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 Versions

123

1.4.1

Diff

Changelog

Source

1.4.1

  • Bug fixes
    • Fix minDimension argument not resizing the background when toSVG was called on an empty, auto-resizing image.
personalizedrefrigerator
published 1.4.0 •

Changelog

Source

1.4.0

  • Featrues
    • Editor::toSVG now allows specifying a minimum output dimension.
    • Added Editor::toSVGAsync.
    • Added support for read-only editors (see Editor::setReadOnly). Note that this feature only attempts to prevent a user from editing the image (and doesn't protect from edits via the API).
    • Change the cursor to a resize icon when hovering over selection resize boxes.
  • Localization
    • Improved Spanish localization.
  • Bug fixes
    • Navigation: Prevent app from entering an invalid state (and thus breaking navigation) when scrolling very far away from (0,0) then zooming in.
    • Edge toolbar
      • Fix: Save/close buttons were extra wide on some screen sizes in Safari.
      • Fix: Padding not adjusted for scroll when icons are all on one line. When working properly, the rightmost icon should be roughly half visible to indicate scroll.
personalizedrefrigerator
published 1.3.1 •

Changelog

Source

1.3.1

  • Bug fixes
    • Fix grid lines disappearing when zooming and autoresize enabled
    • Fix very small image/text elements moving on save/reload
personalizedrefrigerator
published 1.3.0 •

Changelog

Source

1.3.0

  • Features
    • Adds support for images with full-screen backgrounds and no border (see EditorImage.setAutoresizeEnabled). These drawings automatically resize to fit what has been drawn when saved.
    • Scrollbars within the editor. These scrollbars are currently read-only.
  • Bug fixes
    • Fix ctrl+scroll zoom rate is significantly faster than pinch zooming.
    • Fix zoom level jumping when attempting to zoom outside of zoom limits with a touchscreen.
    • Fix elements intersecting the selection rectangle not recognized as selected in some cases.
    • Fix context menu sometimes shown when long-pressing toplevel buttons in the sidebar toolbar (rather than showing the button's tooltip).
  • Other changes
    • Slightly faster loading of large SVGs.
personalizedrefrigerator
published 1.2.2 •

Changelog

Source

1.2.2

  • API fixes
    • Exports pathToRenderable, pathFromRenderable, and pathVisualEquivalent. These functions were renamed in version 1.0.0 and the new versions were not exported.
  • Bug fixes
    • Updates the grid selector widget to use the correct icon foreground for selected items.
personalizedrefrigerator
published 1.2.1 •

Changelog

Source

1.2.1

  • Bug fixes
    • Fix adjustEditorThemeForContrast not ensuring that the selection and the main toolbar background have sufficient contrast.
personalizedrefrigerator
published 1.2.0 •

Changelog

Source

1.2.0

  • Features
    • Added additional Color4 utility functions (fromHSV, fromRGBVector, contrastRatio, and .rgb).
    • Added adjustEditorThemeForContrast function.
  • Other changes
    • Prefers transform to translation when setting the position of the edge toolbar for compatibility with older browsers.
personalizedrefrigerator
published 1.1.0 •

Changelog

Source

1.1.0

  • Features
  • Bug fixes
    • Edge toolbar: Fix edge menu text using incorrect CSS variable (it should use --foreground-color-2 to match --background-color-2).
personalizedrefrigerator
published 1.0.2 •

Changelog

Source

1.0.2

  • Fix .npmignore allowing some unnecessary files.
personalizedrefrigerator
published 1.0.0 •

Changelog

Source

1.0.0

Special thanks to:

Breaking changes (see the migration guide)

  • The --secondary-foreground-color and --secondary-background-color are no longer used for selected items. Use --selection-foreground-color and --selection-background-color instead.
  • The Pen constructor now accepts parameters in a different format — the PenStyle should contain the pen factory.
  • Timestamps in Pointers and StrokeDataPoints use performance.now instead of Date.now.
  • A more specific selector than .imageEditorContainer is now required to override the width and height of an editor. Use .js-draw.imageEditorContainer or body .imageEditorContainer.

Other changes

  • New default toolbar (see makeEdgeToolbar).
  • New material icon pack
  • Preserve <g> element parents when writing SVGs.
  • Fix: Editor thinks control key is still pressed after shortcuts like ctrl+Tab that defocus the editor before a keyup event is sent for ctrl.
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