Skip to content

Commit

Permalink
Update minified files in the dist folder
Browse files Browse the repository at this point in the history
  • Loading branch information
g1eb committed Jan 18, 2018
1 parent 7895060 commit 7bffef4
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 26 deletions.
16 changes: 8 additions & 8 deletions dist/calendar-heatmap.component.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/calendar-heatmap.component.js.map

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions dist/calendar-heatmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ var CalendarHeatmap = /** @class */ (function () {
while (_this.width - x < (_this.tooltip_width + _this.tooltip_padding * 5)) {
x -= 10;
}
var /** @type {?} */ y = _this.tooltip_padding * 3;
var /** @type {?} */ y = _this.tooltip_padding * 4;
// Show tooltip
_this.tooltip.html(tooltip_html)
.style('left', x + 'px')
Expand Down Expand Up @@ -558,11 +558,11 @@ var CalendarHeatmap = /** @class */ (function () {
tooltip_html += '<span>' + _this.formatTime(d.value) + '</span></div>';
});
// Calculate tooltip position
var /** @type {?} */ x = _this.calcItemX(d, start_of_year) + _this.item_size;
var /** @type {?} */ x = _this.calcItemX(d, start_of_year) + _this.item_size / 2;
if (_this.width - x < (_this.tooltip_width + _this.tooltip_padding * 3)) {
x -= _this.tooltip_width + _this.tooltip_padding * 2;
}
var /** @type {?} */ y = _this.calcItemY(d) + _this.item_size;
var /** @type {?} */ y = _this.calcItemY(d) + _this.item_size / 2;
// Show tooltip
_this.tooltip.html(tooltip_html)
.style('left', x + 'px')
Expand Down Expand Up @@ -868,7 +868,7 @@ var CalendarHeatmap = /** @class */ (function () {
while (_this.width - x < (_this.tooltip_width + _this.tooltip_padding * 3)) {
x -= 10;
}
var /** @type {?} */ y = dayScale(moment(date).weekday().toString()) + _this.tooltip_padding * 2;
var /** @type {?} */ y = dayScale(moment(date).weekday().toString()) + _this.tooltip_padding;
// Show tooltip
_this.tooltip.html(tooltip_html)
.style('left', x + 'px')
Expand Down Expand Up @@ -1141,11 +1141,11 @@ var CalendarHeatmap = /** @class */ (function () {
// Calculate tooltip position
var /** @type {?} */ total = parseInt(select(event.currentTarget.parentNode).attr('total'));
itemScale.domain([0, total]);
var /** @type {?} */ x = parseInt(select(event.currentTarget).attr('x')) + itemScale(d.value) / 4 + _this.tooltip_width / 4;
var /** @type {?} */ x = parseInt(select(event.currentTarget).attr('x')) + _this.tooltip_padding * 5;
while (_this.width - x < (_this.tooltip_width + _this.tooltip_padding * 3)) {
x -= 10;
}
var /** @type {?} */ y = dayScale(moment(date).weekday().toString()) + _this.tooltip_padding * 1.5;
var /** @type {?} */ y = dayScale(moment(date).weekday().toString()) + _this.tooltip_padding;
// Show tooltip
_this.tooltip.html(tooltip_html)
.style('left', x + 'px')
Expand Down Expand Up @@ -1329,7 +1329,7 @@ var CalendarHeatmap = /** @class */ (function () {
while (_this.width - x < (_this.tooltip_width + _this.tooltip_padding * 3)) {
x -= 10;
}
var /** @type {?} */ y = projectScale(d.name) + projectScale.bandwidth() / 2 + _this.tooltip_padding / 2;
var /** @type {?} */ y = projectScale(d.name) + _this.tooltip_padding;
// Show tooltip
_this.tooltip.html(tooltip_html)
.style('left', x + 'px')
Expand Down Expand Up @@ -1704,7 +1704,7 @@ var CalendarHeatmap = /** @class */ (function () {
{ type: Component, args: [{
selector: 'calendar-heatmap',
template: "<div #root></div>",
styles: ["\n :host {\n user-select: none;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n }\n :host >>> .item {\n cursor: pointer;\n }\n :host >>> .label {\n cursor: pointer;\n fill: rgb(170, 170, 170);\n font-family: Helvetica, arial, 'Open Sans', sans-serif;\n }\n :host >>> .button {\n cursor: pointer;\n fill: transparent;\n stroke-width: 2;\n stroke: rgb(170, 170, 170);\n }\n :host >>> .button text {\n stroke-width: 1;\n text-anchor: middle;\n fill: rgb(170, 170, 170);\n }\n :host >>> .heatmap-tooltip {\n pointer-events: none;\n position: absolute;\n z-index: 9999;\n width: 250px;\n max-width: 250px;\n overflow: hidden;\n padding: 15px;\n font-size: 12px;\n line-height: 14px;\n color: rgb(51, 51, 51);\n font-family: Helvetica, arial, 'Open Sans', sans-serif;\n background: rgba(255, 255, 255, 0.75);\n }\n :host >>> .heatmap-tooltip .header strong {\n display: inline-block;\n width: 250px;\n }\n :host >>> .heatmap-tooltip span {\n display: inline-block;\n width: 50%;\n padding-right: 10px;\n box-sizing: border-box;\n }\n :host >>> .heatmap-tooltip span,\n :host >>> .heatmap-tooltip .header strong {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n "],
styles: ["\n :host {\n position: relative;\n user-select: none;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n }\n :host >>> .item {\n cursor: pointer;\n }\n :host >>> .label {\n cursor: pointer;\n fill: rgb(170, 170, 170);\n font-family: Helvetica, arial, 'Open Sans', sans-serif;\n }\n :host >>> .button {\n cursor: pointer;\n fill: transparent;\n stroke-width: 2;\n stroke: rgb(170, 170, 170);\n }\n :host >>> .button text {\n stroke-width: 1;\n text-anchor: middle;\n fill: rgb(170, 170, 170);\n }\n :host >>> .heatmap-tooltip {\n pointer-events: none;\n position: absolute;\n z-index: 9999;\n width: 250px;\n max-width: 250px;\n overflow: hidden;\n padding: 15px;\n font-size: 12px;\n line-height: 14px;\n color: rgb(51, 51, 51);\n font-family: Helvetica, arial, 'Open Sans', sans-serif;\n background: rgba(255, 255, 255, 0.75);\n }\n :host >>> .heatmap-tooltip .header strong {\n display: inline-block;\n width: 250px;\n }\n :host >>> .heatmap-tooltip span {\n display: inline-block;\n width: 50%;\n padding-right: 10px;\n box-sizing: border-box;\n }\n :host >>> .heatmap-tooltip span,\n :host >>> .heatmap-tooltip .header strong {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n "],
},] },
];
/**
Expand Down
Loading

0 comments on commit 7bffef4

Please sign in to comment.