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

react-konva-grid

Package Overview
Dependencies
Maintainers
1
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-konva-grid - npm Package Compare versions

Comparing version 2.8.19 to 2.8.20

dist/Text.d.ts

4

dist/Cell.js

@@ -44,4 +44,4 @@ "use strict";

return (react_1.default.createElement(react_konva_1.Group, Object.assign({}, rest),
react_1.default.createElement(react_konva_1.Rect, { x: x, y: y, height: height, width: width, fill: fill, stroke: stroke, strokeWidth: strokeWidth, shadowForStrokeEnabled: false, hitStrokeWidth: 0, strokeHitEnabled: false }),
helpers_1.isNull(value) ? null : (react_1.default.createElement(react_konva_1.Text, { x: x, y: y, height: height, width: width, text: value, fill: textColor, verticalAlign: verticalAlign, align: align, fontFamily: fontFamily, fontSize: fontSize, padding: padding, wrap: wrap, hitStrokeWidth: 0, strokeHitEnabled: false })),
react_1.default.createElement(react_konva_1.Rect, { x: x, y: y, height: height, width: width, fill: fill, stroke: stroke, strokeWidth: strokeWidth, shadowForStrokeEnabled: false, hitStrokeWidth: 0 }),
helpers_1.isNull(value) ? null : (react_1.default.createElement(react_konva_1.Text, { x: x, y: y, height: height, width: width, text: value, fill: textColor, verticalAlign: verticalAlign, align: align, fontFamily: fontFamily, fontSize: fontSize, padding: padding, wrap: wrap, hitStrokeWidth: 0 })),
children));

@@ -48,0 +48,0 @@ });

@@ -227,6 +227,8 @@ "use strict";

}
if (direction === types_1.Direction.Down) {
/* Move to the next row + cell */
initialActiveCell.current = undefined;
}
/* If user has selected some cells and active cell is within this selection */
if (selections.length && currentCell && gridRef) {
/* Move to the next row + cell */
initialActiveCell.current = undefined;
const { bounds } = selections[selections.length - 1];

@@ -233,0 +235,0 @@ const activeCellBounds = gridRef.current.getCellBounds(currentCell);

{
"name": "react-konva-grid",
"description": "Declarative React Canvas Grid primitive for Data table, Pivot table, Excel Worksheets",
"version": "2.8.19",
"version": "2.8.20",
"main": "dist/index.js",

@@ -6,0 +6,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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