luna-data-grid
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -50,2 +50,3 @@ "use strict"; | ||
_this.isAscending = true; | ||
_this.$container.attr('tabindex', '0'); | ||
_this.resizeSensor = new ResizeSensor_1.default(container); | ||
@@ -91,2 +92,3 @@ _this.onResize = (0, throttle_1.default)(function () { | ||
this.resizeSensor.destroy(); | ||
this.$container.rmAttr('tabindex'); | ||
}; | ||
@@ -284,3 +286,3 @@ DataGrid.prototype.remove = function (node) { | ||
DataGrid.prototype.initTpl = function () { | ||
this.$container.html(this.c((0, stripIndent_1.default)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n <div class=\"header-container\">\n <table class=\"header\">\n <colgroup></colgroup>\n <tbody>\n <tr></tr>\n </tbody>\n </table>\n </div>\n <div class=\"data-container\" tabindex=\"0\">\n <table class=\"data\">\n <colgroup></colgroup>\n <tbody>\n <tr class=\"filler-row\"></tr>\n </tbody>\n </table>\n </div>\n "], ["\n <div class=\"header-container\">\n <table class=\"header\">\n <colgroup></colgroup>\n <tbody>\n <tr></tr>\n </tbody>\n </table>\n </div>\n <div class=\"data-container\" tabindex=\"0\">\n <table class=\"data\">\n <colgroup></colgroup>\n <tbody>\n <tr class=\"filler-row\"></tr>\n </tbody>\n </table>\n </div>\n "]))))); | ||
this.$container.html(this.c((0, stripIndent_1.default)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n <div class=\"header-container\">\n <table class=\"header\">\n <colgroup></colgroup>\n <tbody>\n <tr></tr>\n </tbody>\n </table>\n </div>\n <div class=\"data-container\">\n <table class=\"data\">\n <colgroup></colgroup>\n <tbody>\n <tr class=\"filler-row\"></tr>\n </tbody>\n </table>\n </div>\n "], ["\n <div class=\"header-container\">\n <table class=\"header\">\n <colgroup></colgroup>\n <tbody>\n <tr></tr>\n </tbody>\n </table>\n </div>\n <div class=\"data-container\">\n <table class=\"data\">\n <colgroup></colgroup>\n <tbody>\n <tr class=\"filler-row\"></tr>\n </tbody>\n </table>\n </div>\n "]))))); | ||
}; | ||
@@ -287,0 +289,0 @@ return DataGrid; |
@@ -24,2 +24,3 @@ import $ from 'licia/$'; | ||
this.isAscending = true; | ||
this.$container.attr('tabindex', '0'); | ||
this.resizeSensor = new ResizeSensor(container); | ||
@@ -64,2 +65,3 @@ this.onResize = throttle(() => { | ||
this.resizeSensor.destroy(); | ||
this.$container.rmAttr('tabindex'); | ||
} | ||
@@ -264,3 +266,3 @@ remove(node) { | ||
</div> | ||
<div class="data-container" tabindex="0"> | ||
<div class="data-container"> | ||
<table class="data"> | ||
@@ -267,0 +269,0 @@ <colgroup></colgroup> |
{ | ||
"name": "luna-data-grid", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Grid for displaying datasets", | ||
@@ -5,0 +5,0 @@ "main": "cjs/data-grid/index.js", |
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 too big to display
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
322217
5074
0