@glideapps/glide-data-grid
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -10,3 +10,3 @@ "use strict"; | ||
var _lodash = require("lodash"); | ||
var _clamp = _interopRequireDefault(require("lodash/clamp")); | ||
@@ -17,4 +17,2 @@ var React = _interopRequireWildcard(require("react")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; } | ||
@@ -24,2 +22,4 @@ | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
@@ -121,3 +121,3 @@ | ||
var column = columns[resizeCol]; | ||
var newWidth = (0, _lodash.clamp)(event.clientX - resizeColStartX, 50, 500); | ||
var newWidth = (0, _clamp.default)(event.clientX - resizeColStartX, 50, 500); | ||
onColumnResized === null || onColumnResized === void 0 ? void 0 : onColumnResized(column, newWidth); | ||
@@ -124,0 +124,0 @@ }, [resizeCol, resizeColStartX, columns, onColumnResized]); |
{ | ||
"name": "@glideapps/glide-data-grid", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Super fast, pure canvas Data Grid Editor", | ||
@@ -5,0 +5,0 @@ "main": "dist/js/index.js", |
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
412140