Skip to content

Commit 12dee8d

Browse files
committed
chore(version): bump to v0.7.18
1 parent 9b233bf commit 12dee8d

11 files changed

+48
-34
lines changed

.bmp.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
version: 0.7.17
2+
version: 0.7.18
33
commit: 'chore(version): bump to v%.%.%'
44
files:
55
src/core.js: 'version: ''%.%.%'''

c3.esm.js

+11-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* @license C3.js v0.7.17 | (c) C3 Team and other contributors | http://c3js.org/ */
1+
/* @license C3.js v0.7.18 | (c) C3 Team and other contributors | http://c3js.org/ */
22
import * as d3 from 'd3';
33

44
function ChartInternal(api) {
@@ -1407,7 +1407,7 @@ Axis.prototype.redraw = function redraw(duration, isHidden) {
14071407
};
14081408

14091409
var c3 = {
1410-
version: '0.7.17',
1410+
version: '0.7.18',
14111411
chart: {
14121412
fn: Chart.prototype,
14131413
internal: {
@@ -9341,10 +9341,10 @@ ChartInternal.prototype.drag = function(mouse) {
93419341
main
93429342
.selectAll('.' + CLASS.shapes)
93439343
.selectAll('.' + CLASS.shape)
9344-
.filter(function(d) {
9345-
return config.data_selection_isselectable(d)
9346-
})
93479344
.each(function(d, i) {
9345+
if (!config.data_selection_isselectable(d)) {
9346+
return
9347+
}
93489348
var shape = d3.select(this),
93499349
isSelected = shape.classed(CLASS.SELECTED),
93509350
isIncluded = shape.classed(CLASS.INCLUDED),
@@ -10524,7 +10524,8 @@ ChartInternal.prototype.updateLegend = function(
1052410524
.style('cursor', function() {
1052510525
return config.interaction_enabled ? 'pointer' : 'auto'
1052610526
})
10527-
.on('click',
10527+
.on(
10528+
'click',
1052810529
config.interaction_enabled
1052910530
? function(id) {
1053010531
if (config.legend_item_onclick) {
@@ -10541,7 +10542,8 @@ ChartInternal.prototype.updateLegend = function(
1054110542
}
1054210543
: null
1054310544
)
10544-
.on('mouseover',
10545+
.on(
10546+
'mouseover',
1054510547
config.interaction_enabled
1054610548
? function(id) {
1054710549
if (config.legend_item_onmouseover) {
@@ -10555,7 +10557,8 @@ ChartInternal.prototype.updateLegend = function(
1055510557
}
1055610558
: null
1055710559
)
10558-
.on('mouseout',
10560+
.on(
10561+
'mouseout',
1055910562
config.interaction_enabled
1056010563
? function(id) {
1056110564
if (config.legend_item_onmouseout) {

c3.js

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* @license C3.js v0.7.17 | (c) C3 Team and other contributors | http://c3js.org/ */
1+
/* @license C3.js v0.7.18 | (c) C3 Team and other contributors | http://c3js.org/ */
22
(function (global, factory) {
33
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
44
typeof define === 'function' && define.amd ? define(factory) :
@@ -1294,7 +1294,7 @@
12941294
};
12951295

12961296
var c3 = {
1297-
version: '0.7.17',
1297+
version: '0.7.18',
12981298
chart: {
12991299
fn: Chart.prototype,
13001300
internal: {
@@ -8354,9 +8354,11 @@
83548354
maxY = config.data_selection_grouped ? $$.height : Math.max(sy, my);
83558355
main.select('.' + CLASS.dragarea).attr('x', minX).attr('y', minY).attr('width', maxX - minX).attr('height', maxY - minY); // TODO: binary search when multiple xs
83568356

8357-
main.selectAll('.' + CLASS.shapes).selectAll('.' + CLASS.shape).filter(function (d) {
8358-
return config.data_selection_isselectable(d);
8359-
}).each(function (d, i) {
8357+
main.selectAll('.' + CLASS.shapes).selectAll('.' + CLASS.shape).each(function (d, i) {
8358+
if (!config.data_selection_isselectable(d)) {
8359+
return;
8360+
}
8361+
83608362
var shape = d3.select(this),
83618363
isSelected = shape.classed(CLASS.SELECTED),
83628364
isIncluded = shape.classed(CLASS.INCLUDED),

c3.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

component.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "c3",
33
"repo": "masayuki0812/c3",
44
"description": "A D3-based reusable chart library",
5-
"version": "0.7.17",
5+
"version": "0.7.18",
66
"keywords": [],
77
"dependencies": {
88
"mbostock/d3": "v5.0.0"

docs/index.html.haml

+4
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@
3838

3939
%h3 Change Log
4040
%ul
41+
%li
42+
<a href="https://github.com/c3js/c3/releases/tag/v0.7.18">v0.7.18</a><span class="gray">&nbsp;-&nbsp;2020-06-17</span>
43+
%ul
44+
%li Bug fixes.
4145
%li
4246
<a href="https://github.com/c3js/c3/releases/tag/v0.7.17">v0.7.17</a><span class="gray">&nbsp;-&nbsp;2020-06-15</span>
4347
%ul

docs/js/c3.esm.js

+11-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* @license C3.js v0.7.17 | (c) C3 Team and other contributors | http://c3js.org/ */
1+
/* @license C3.js v0.7.18 | (c) C3 Team and other contributors | http://c3js.org/ */
22
import * as d3 from 'd3';
33

44
function ChartInternal(api) {
@@ -1407,7 +1407,7 @@ Axis.prototype.redraw = function redraw(duration, isHidden) {
14071407
};
14081408

14091409
var c3 = {
1410-
version: '0.7.17',
1410+
version: '0.7.18',
14111411
chart: {
14121412
fn: Chart.prototype,
14131413
internal: {
@@ -9341,10 +9341,10 @@ ChartInternal.prototype.drag = function(mouse) {
93419341
main
93429342
.selectAll('.' + CLASS.shapes)
93439343
.selectAll('.' + CLASS.shape)
9344-
.filter(function(d) {
9345-
return config.data_selection_isselectable(d)
9346-
})
93479344
.each(function(d, i) {
9345+
if (!config.data_selection_isselectable(d)) {
9346+
return
9347+
}
93489348
var shape = d3.select(this),
93499349
isSelected = shape.classed(CLASS.SELECTED),
93509350
isIncluded = shape.classed(CLASS.INCLUDED),
@@ -10524,7 +10524,8 @@ ChartInternal.prototype.updateLegend = function(
1052410524
.style('cursor', function() {
1052510525
return config.interaction_enabled ? 'pointer' : 'auto'
1052610526
})
10527-
.on('click',
10527+
.on(
10528+
'click',
1052810529
config.interaction_enabled
1052910530
? function(id) {
1053010531
if (config.legend_item_onclick) {
@@ -10541,7 +10542,8 @@ ChartInternal.prototype.updateLegend = function(
1054110542
}
1054210543
: null
1054310544
)
10544-
.on('mouseover',
10545+
.on(
10546+
'mouseover',
1054510547
config.interaction_enabled
1054610548
? function(id) {
1054710549
if (config.legend_item_onmouseover) {
@@ -10555,7 +10557,8 @@ ChartInternal.prototype.updateLegend = function(
1055510557
}
1055610558
: null
1055710559
)
10558-
.on('mouseout',
10560+
.on(
10561+
'mouseout',
1055910562
config.interaction_enabled
1056010563
? function(id) {
1056110564
if (config.legend_item_onmouseout) {

docs/js/c3.js

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* @license C3.js v0.7.17 | (c) C3 Team and other contributors | http://c3js.org/ */
1+
/* @license C3.js v0.7.18 | (c) C3 Team and other contributors | http://c3js.org/ */
22
(function (global, factory) {
33
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
44
typeof define === 'function' && define.amd ? define(factory) :
@@ -1294,7 +1294,7 @@
12941294
};
12951295

12961296
var c3 = {
1297-
version: '0.7.17',
1297+
version: '0.7.18',
12981298
chart: {
12991299
fn: Chart.prototype,
13001300
internal: {
@@ -8354,9 +8354,11 @@
83548354
maxY = config.data_selection_grouped ? $$.height : Math.max(sy, my);
83558355
main.select('.' + CLASS.dragarea).attr('x', minX).attr('y', minY).attr('width', maxX - minX).attr('height', maxY - minY); // TODO: binary search when multiple xs
83568356

8357-
main.selectAll('.' + CLASS.shapes).selectAll('.' + CLASS.shape).filter(function (d) {
8358-
return config.data_selection_isselectable(d);
8359-
}).each(function (d, i) {
8357+
main.selectAll('.' + CLASS.shapes).selectAll('.' + CLASS.shape).each(function (d, i) {
8358+
if (!config.data_selection_isselectable(d)) {
8359+
return;
8360+
}
8361+
83608362
var shape = d3.select(this),
83618363
isSelected = shape.classed(CLASS.SELECTED),
83628364
isIncluded = shape.classed(CLASS.INCLUDED),

docs/js/c3.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "c3",
3-
"version": "0.7.17",
3+
"version": "0.7.18",
44
"description": "D3-based reusable chart library",
55
"main": "c3.js",
66
"files": [

src/core.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
} from './util'
1515

1616
var c3 = {
17-
version: '0.7.17',
17+
version: '0.7.18',
1818
chart: {
1919
fn: Chart.prototype,
2020
internal: {

0 commit comments

Comments
 (0)