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

react-xarrows

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-xarrows - npm Package Versions

234

2.0.2

Diff

Changelog

Source

2.0.2

  • prop suggestions did not appear on IDE's because wrong package.json.types path.
eliav2
published 2.0.1 •

Changelog

Source

2.0.1

  • fixed issues with StrictMode #82

top level Xwrapper context and useXarrow hook added!

new features

  • top level API components added: Xwrapper wrapper and useXarrow hook.
  • zIndex prop added to Xarrow

breaking changes

  • label prop renamed to labels
  • startAnchor.offset.rightness renamed to startAnchor.offset.x.
  • startAnchor.offset.bottomness renamed to startAnchor.offset.y.
    same for endAnchor.
  • gridBreak type changed from number to string. API changed(see readme)!
  • headShape and tailShape breaking change: custom svg is now supported using jsx only. headShape.svgElem is now jsx element and not a string. headShape.svgProps removed! example: headShape={ svgElem: <path d="M 0 0 L 1 0.5 L 0 1 L 0.25 0.5 z" />, offsetForward: 0.25 }
    same for tailShape.
eliav2
published 2.0.0 •

eliav2
published 1.7.2 •

Changelog

Source

v1.7.2:

bundler is now webpack, optimized and smaller bundle size.

eliav2
published 1.7.1 •

Changelog

Source

v1.7.1:

  • various checks related to the presence of the connected element has been added. now if the elements are not present the arrow will not be drawn, but the app will be not crush, and a prop-type error will be raised.
    related to #77, #72.
  • one proptype was wrong and was fixed #79
eliav2
published 1.7.0 •

Changelog

Source

v1.7.0:

big update!

performance improvements:

  • much faster and optimized render cycle.

feature update:

  • creation animation added (see animateDrawing,showXarrow)
  • custom svg now supported,added circle and heart shapes just for examples.

new properties:

  • gridBreak
  • showXarrow
  • animateDrawing
  • headShape
  • tailShape

Docs improved!

eliav2
published 1.6.1 •

eliav2
published 1.6.0 •

Changelog

Source

v1.6.0:

  • proptypes - typescript types issues fixed.
  • now all pointer events enabled in the arrowhead by default (#50)
  • added properties: SVGcanvasStyle and divContainerStyle ([#42])(https://github.com/Eliav2/react-xarrows/issues/42)
  • examples: bugfixes(playground) and examples update.
  • a new feature! tail support! new properties: showHead,showTail,tailSize,tailColor,arrowTailProps .
  • renamed extendSVGcanvas to _extendSVGcanvas
  • advanced customization support: newProperties: _cpx1Offset,_cpy1Offset,_cpx2Offset,_cpy2Offset.
  • bugfix: in grid mode in some cases exceeded canvas.
  • 1.6.1 - typescript fix: optional properties were require
eliav2
published 1.5.2 •

eliav2
published 1.5.1 •

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