billboard.js 4.1.0 → 4.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/billboard.css +1 -1
- package/dist/billboard.js +6 -4
- package/dist/billboard.min.css +1 -1
- package/dist/billboard.min.js +16 -16
- package/dist/billboard.pkgd.js +7 -5
- package/dist/billboard.pkgd.min.js +5 -5
- package/dist/billboard.react.js +1 -1
- package/dist/billboard.react.min.js +1 -1
- package/dist/billboard.worker.js +1 -1
- package/dist/plugin/billboardjs-plugin-bubblecompare.js +2 -2
- package/dist/plugin/billboardjs-plugin-bubblecompare.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-sparkline.js +2 -2
- package/dist/plugin/billboardjs-plugin-sparkline.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-stanford.js +2 -2
- package/dist/plugin/billboardjs-plugin-stanford.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-tableview.js +2 -2
- package/dist/plugin/billboardjs-plugin-tableview.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-textoverlap.js +2 -2
- package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.min.js +8 -8
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js +9 -9
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js +9 -9
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js +10 -10
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js +8 -8
- package/dist/theme/dark.css +1 -1
- package/dist/theme/dark.min.css +1 -1
- package/dist/theme/datalab.css +1 -1
- package/dist/theme/datalab.min.css +1 -1
- package/dist/theme/graph.css +1 -1
- package/dist/theme/graph.min.css +1 -1
- package/dist/theme/insight.css +1 -1
- package/dist/theme/insight.min.css +1 -1
- package/dist/theme/modern.css +1 -1
- package/dist/theme/modern.min.css +1 -1
- package/dist-esm/Chart/Chart.js +1 -1
- package/dist-esm/Chart/api/axis.js +1 -1
- package/dist-esm/Chart/api/category.js +1 -1
- package/dist-esm/Chart/api/chart.js +1 -1
- package/dist-esm/Chart/api/color.js +1 -1
- package/dist-esm/Chart/api/data.js +1 -1
- package/dist-esm/Chart/api/export.js +1 -1
- package/dist-esm/Chart/api/flow.js +1 -1
- package/dist-esm/Chart/api/focus.js +1 -1
- package/dist-esm/Chart/api/grid.js +1 -1
- package/dist-esm/Chart/api/group.js +1 -1
- package/dist-esm/Chart/api/legend.js +1 -1
- package/dist-esm/Chart/api/load.js +1 -1
- package/dist-esm/Chart/api/regions.js +1 -1
- package/dist-esm/Chart/api/selection.js +1 -1
- package/dist-esm/Chart/api/show.js +1 -1
- package/dist-esm/Chart/api/stubs.js +1 -1
- package/dist-esm/Chart/api/subchart.js +1 -1
- package/dist-esm/Chart/api/tooltip.js +1 -1
- package/dist-esm/Chart/api/x.js +1 -1
- package/dist-esm/Chart/api/zoom.js +1 -1
- package/dist-esm/ChartInternal/Axis/Axis.js +1 -1
- package/dist-esm/ChartInternal/Axis/AxisRenderer.js +1 -1
- package/dist-esm/ChartInternal/Axis/AxisRendererHelper.js +1 -1
- package/dist-esm/ChartInternal/ChartInternal.js +1 -1
- package/dist-esm/ChartInternal/data/convert.helper.js +1 -1
- package/dist-esm/ChartInternal/data/convert.js +1 -1
- package/dist-esm/ChartInternal/data/data.js +1 -1
- package/dist-esm/ChartInternal/data/load.js +1 -1
- package/dist-esm/ChartInternal/interactions/drag.js +1 -1
- package/dist-esm/ChartInternal/interactions/eventrect.js +1 -1
- package/dist-esm/ChartInternal/interactions/flow.js +1 -1
- package/dist-esm/ChartInternal/interactions/interaction.js +1 -1
- package/dist-esm/ChartInternal/interactions/subchart.js +1 -1
- package/dist-esm/ChartInternal/interactions/zoom.js +1 -1
- package/dist-esm/ChartInternal/internals/category.js +1 -1
- package/dist-esm/ChartInternal/internals/class.js +1 -1
- package/dist-esm/ChartInternal/internals/clip.js +1 -1
- package/dist-esm/ChartInternal/internals/color.js +1 -1
- package/dist-esm/ChartInternal/internals/domain.js +1 -1
- package/dist-esm/ChartInternal/internals/format.js +1 -1
- package/dist-esm/ChartInternal/internals/grid.js +3 -2
- package/dist-esm/ChartInternal/internals/legend.js +1 -1
- package/dist-esm/ChartInternal/internals/redraw.js +1 -1
- package/dist-esm/ChartInternal/internals/region.js +1 -1
- package/dist-esm/ChartInternal/internals/scale.js +1 -1
- package/dist-esm/ChartInternal/internals/selection.js +1 -1
- package/dist-esm/ChartInternal/internals/size.axis.js +1 -1
- package/dist-esm/ChartInternal/internals/size.js +1 -1
- package/dist-esm/ChartInternal/internals/style.js +1 -1
- package/dist-esm/ChartInternal/internals/subchart.util.js +1 -1
- package/dist-esm/ChartInternal/internals/text.arc.js +1 -1
- package/dist-esm/ChartInternal/internals/text.js +5 -2
- package/dist-esm/ChartInternal/internals/text.util.js +1 -1
- package/dist-esm/ChartInternal/internals/title.js +1 -1
- package/dist-esm/ChartInternal/internals/tooltip.js +1 -1
- package/dist-esm/ChartInternal/internals/transform.js +1 -1
- package/dist-esm/ChartInternal/internals/type.js +1 -1
- package/dist-esm/ChartInternal/shape/arc.js +1 -1
- package/dist-esm/ChartInternal/shape/area.js +1 -1
- package/dist-esm/ChartInternal/shape/bar.js +1 -1
- package/dist-esm/ChartInternal/shape/bubble.js +1 -1
- package/dist-esm/ChartInternal/shape/candlestick.js +1 -1
- package/dist-esm/ChartInternal/shape/core/barRadius.js +1 -1
- package/dist-esm/ChartInternal/shape/core/bubble.js +1 -1
- package/dist-esm/ChartInternal/shape/core/candlestick.js +1 -1
- package/dist-esm/ChartInternal/shape/core/dataRegion.js +1 -1
- package/dist-esm/ChartInternal/shape/core/geometry.js +1 -1
- package/dist-esm/ChartInternal/shape/core/path.js +1 -1
- package/dist-esm/ChartInternal/shape/core/point.js +1 -1
- package/dist-esm/ChartInternal/shape/core/treemap.js +1 -1
- package/dist-esm/ChartInternal/shape/funnel.js +1 -1
- package/dist-esm/ChartInternal/shape/gauge.js +1 -1
- package/dist-esm/ChartInternal/shape/line.js +1 -1
- package/dist-esm/ChartInternal/shape/point.js +1 -1
- package/dist-esm/ChartInternal/shape/polar.js +1 -1
- package/dist-esm/ChartInternal/shape/radar.js +2 -3
- package/dist-esm/ChartInternal/shape/shape.js +1 -1
- package/dist-esm/ChartInternal/shape/treemap.js +1 -1
- package/dist-esm/canvas/CanvasAxisRenderer.js +1 -1
- package/dist-esm/canvas/CanvasEngine.js +1 -1
- package/dist-esm/canvas/CanvasPainter.js +1 -1
- package/dist-esm/canvas/CanvasRenderer.js +1 -1
- package/dist-esm/canvas/CanvasTheme.js +1 -1
- package/dist-esm/canvas/HitDetector.js +1 -1
- package/dist-esm/canvas/axisTicks.js +1 -1
- package/dist-esm/canvas/classes.js +1 -1
- package/dist-esm/canvas/color.js +1 -1
- package/dist-esm/canvas/geometry.js +1 -1
- package/dist-esm/canvas/labels.js +1 -1
- package/dist-esm/canvas/pointPattern.js +1 -1
- package/dist-esm/canvas/util.js +1 -1
- package/dist-esm/config/Options/Options.js +1 -1
- package/dist-esm/config/Options/axis/axis.js +1 -1
- package/dist-esm/config/Options/axis/x.js +1 -1
- package/dist-esm/config/Options/axis/y.js +1 -1
- package/dist-esm/config/Options/axis/y2.js +1 -1
- package/dist-esm/config/Options/common/boost.js +1 -1
- package/dist-esm/config/Options/common/color.js +1 -1
- package/dist-esm/config/Options/common/grid.js +1 -1
- package/dist-esm/config/Options/common/legend.js +1 -1
- package/dist-esm/config/Options/common/main.js +1 -1
- package/dist-esm/config/Options/common/point.js +1 -1
- package/dist-esm/config/Options/common/title.js +1 -1
- package/dist-esm/config/Options/common/tooltip.js +1 -1
- package/dist-esm/config/Options/data/axis.js +1 -1
- package/dist-esm/config/Options/data/data.js +1 -1
- package/dist-esm/config/Options/data/selection.js +1 -1
- package/dist-esm/config/Options/interaction/interaction.js +1 -1
- package/dist-esm/config/Options/interaction/subchart.js +1 -1
- package/dist-esm/config/Options/interaction/zoom.js +1 -1
- package/dist-esm/config/Options/shape/arc.js +1 -1
- package/dist-esm/config/Options/shape/area.js +1 -1
- package/dist-esm/config/Options/shape/bar.js +1 -1
- package/dist-esm/config/Options/shape/bubble.js +1 -1
- package/dist-esm/config/Options/shape/candlestick.js +1 -1
- package/dist-esm/config/Options/shape/donut.js +1 -1
- package/dist-esm/config/Options/shape/funnel.js +1 -1
- package/dist-esm/config/Options/shape/gauge.js +1 -1
- package/dist-esm/config/Options/shape/line.js +1 -1
- package/dist-esm/config/Options/shape/pie.js +1 -1
- package/dist-esm/config/Options/shape/polar.js +1 -1
- package/dist-esm/config/Options/shape/radar.js +1 -1
- package/dist-esm/config/Options/shape/scatter.js +1 -1
- package/dist-esm/config/Options/shape/spline.js +1 -1
- package/dist-esm/config/Options/shape/treemap.js +1 -1
- package/dist-esm/config/Store/Element.js +1 -1
- package/dist-esm/config/Store/State.js +1 -1
- package/dist-esm/config/Store/Store.js +1 -1
- package/dist-esm/config/classes.js +1 -1
- package/dist-esm/config/config.js +1 -1
- package/dist-esm/config/const.js +1 -1
- package/dist-esm/config/resolver/axis.core.js +1 -1
- package/dist-esm/config/resolver/axis.js +1 -1
- package/dist-esm/config/resolver/canvas.js +1 -1
- package/dist-esm/config/resolver/canvasShape.js +1 -1
- package/dist-esm/config/resolver/category.js +1 -1
- package/dist-esm/config/resolver/export.js +1 -1
- package/dist-esm/config/resolver/flow.js +1 -1
- package/dist-esm/config/resolver/grid.js +1 -1
- package/dist-esm/config/resolver/interaction/selection.js +1 -1
- package/dist-esm/config/resolver/interaction/subchart.js +1 -1
- package/dist-esm/config/resolver/interaction/zoom.js +1 -1
- package/dist-esm/config/resolver/regions.js +1 -1
- package/dist-esm/config/resolver/shape/arc.helpers.js +1 -1
- package/dist-esm/config/resolver/shape/area.js +1 -1
- package/dist-esm/config/resolver/shape/axis.helpers.js +1 -1
- package/dist-esm/config/resolver/shape/bar.js +1 -1
- package/dist-esm/config/resolver/shape/bubble.js +1 -1
- package/dist-esm/config/resolver/shape/candlestick.js +1 -1
- package/dist-esm/config/resolver/shape/donut.js +1 -1
- package/dist-esm/config/resolver/shape/funnel.js +1 -1
- package/dist-esm/config/resolver/shape/gauge.js +1 -1
- package/dist-esm/config/resolver/shape/line.js +1 -1
- package/dist-esm/config/resolver/shape/pie.js +1 -1
- package/dist-esm/config/resolver/shape/polar.js +1 -1
- package/dist-esm/config/resolver/shape/radar.js +1 -1
- package/dist-esm/config/resolver/shape/scatter.js +1 -1
- package/dist-esm/config/resolver/shape/treemap.js +1 -1
- package/dist-esm/core.js +3 -3
- package/dist-esm/index.canvas.js +1 -1
- package/dist-esm/index.esm.js +1 -1
- package/dist-esm/module/Cache.js +1 -1
- package/dist-esm/module/browser.js +1 -1
- package/dist-esm/module/dsv.js +1 -1
- package/dist-esm/module/error.js +1 -1
- package/dist-esm/module/generator.js +1 -1
- package/dist-esm/module/sanitize.js +1 -1
- package/dist-esm/module/util/brush.js +1 -1
- package/dist-esm/module/util/dom.js +1 -1
- package/dist-esm/module/util/object.js +1 -1
- package/dist-esm/module/util/type-checks.js +1 -1
- package/dist-esm/module/worker.js +1 -1
- package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-sparkline.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-stanford.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-tableview.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +2 -2
- package/dist-esm/react/index.js +1 -1
- package/package.json +19 -19
- package/src/ChartInternal/internals/grid.ts +3 -2
- package/src/ChartInternal/internals/text.ts +6 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 4.1.
|
|
8
|
+
* @version 4.1.2
|
|
9
9
|
*/
|
|
10
10
|
import { cancelAnimationFrame, cancelIdleCallback, requestAnimationFrame, requestIdleCallback, window as win } from "./browser.js";
|
|
11
11
|
import { isArray, isNumber } from "./util/type-checks.js";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 4.1.
|
|
8
|
+
* @version 4.1.2
|
|
9
9
|
*/
|
|
10
10
|
import { requestAnimationFrame } from "../browser.js";
|
|
11
11
|
import { isArray, isDefined, isFunction, isNumber, isObject, isString, notEmpty } from "./type-checks.js";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 4.1.
|
|
8
|
+
* @version 4.1.2
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -63,7 +63,7 @@ var Plugin = class {
|
|
|
63
63
|
$$;
|
|
64
64
|
options;
|
|
65
65
|
config;
|
|
66
|
-
static version = "4.1.
|
|
66
|
+
static version = "4.1.2";
|
|
67
67
|
/**
|
|
68
68
|
* Constructor
|
|
69
69
|
* @param {Any} options config option object
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 4.1.
|
|
8
|
+
* @version 4.1.2
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -169,7 +169,7 @@ var Plugin = class {
|
|
|
169
169
|
$$;
|
|
170
170
|
options;
|
|
171
171
|
config;
|
|
172
|
-
static version = "4.1.
|
|
172
|
+
static version = "4.1.2";
|
|
173
173
|
/**
|
|
174
174
|
* Constructor
|
|
175
175
|
* @param {Any} options config option object
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 4.1.
|
|
8
|
+
* @version 4.1.2
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -200,7 +200,7 @@ var Plugin = class {
|
|
|
200
200
|
$$;
|
|
201
201
|
options;
|
|
202
202
|
config;
|
|
203
|
-
static version = "4.1.
|
|
203
|
+
static version = "4.1.2";
|
|
204
204
|
/**
|
|
205
205
|
* Constructor
|
|
206
206
|
* @param {Any} options config option object
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 4.1.
|
|
8
|
+
* @version 4.1.2
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -428,7 +428,7 @@ var Plugin = class {
|
|
|
428
428
|
$$;
|
|
429
429
|
options;
|
|
430
430
|
config;
|
|
431
|
-
static version = "4.1.
|
|
431
|
+
static version = "4.1.2";
|
|
432
432
|
/**
|
|
433
433
|
* Constructor
|
|
434
434
|
* @param {Any} options config option object
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 4.1.
|
|
8
|
+
* @version 4.1.2
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -175,7 +175,7 @@ var Plugin = class {
|
|
|
175
175
|
$$;
|
|
176
176
|
options;
|
|
177
177
|
config;
|
|
178
|
-
static version = "4.1.
|
|
178
|
+
static version = "4.1.2";
|
|
179
179
|
/**
|
|
180
180
|
* Constructor
|
|
181
181
|
* @param {Any} options config option object
|
package/dist-esm/react/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "billboard.js",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.2",
|
|
4
4
|
"description": "Re-usable easy interface JavaScript chart library, based on D3 v4+",
|
|
5
5
|
"homepage": "https://naver.github.io/billboard.js/",
|
|
6
6
|
"main": "dist/billboard.js",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"license": "MIT",
|
|
109
109
|
"readmeFilename": "README.md",
|
|
110
110
|
"dependencies": {
|
|
111
|
-
"@types/d3-selection": "^3.0.
|
|
111
|
+
"@types/d3-selection": "^3.0.12",
|
|
112
112
|
"@types/d3-transition": "^3.0.9",
|
|
113
113
|
"d3-axis": "^3.0.0",
|
|
114
114
|
"d3-brush": "^3.0.0",
|
|
@@ -131,27 +131,27 @@
|
|
|
131
131
|
}
|
|
132
132
|
},
|
|
133
133
|
"devDependencies": {
|
|
134
|
-
"@commitlint/cli": "^21.2.
|
|
135
|
-
"@commitlint/config-conventional": "^21.2.
|
|
134
|
+
"@commitlint/cli": "^21.2.3",
|
|
135
|
+
"@commitlint/config-conventional": "^21.2.3",
|
|
136
136
|
"@eslint/js": "^10.0.1",
|
|
137
137
|
"@playwright/test": "^1.63.0",
|
|
138
138
|
"@semantic-release/changelog": "^7.0.0",
|
|
139
139
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
140
140
|
"@semantic-release/exec": "^7.1.0",
|
|
141
141
|
"@semantic-release/git": "^11.0.1",
|
|
142
|
-
"@semantic-release/npm": "^13.
|
|
142
|
+
"@semantic-release/npm": "^13.2.0",
|
|
143
143
|
"@semantic-release/release-notes-generator": "^14.1.1",
|
|
144
144
|
"@storybook/react-vite": "^10.6.0",
|
|
145
|
-
"@testing-library/dom": "^10.4.
|
|
145
|
+
"@testing-library/dom": "^10.4.2",
|
|
146
146
|
"@testing-library/react": "^16.3.3",
|
|
147
147
|
"@types/d3": "^7.4.3",
|
|
148
148
|
"@types/react": "^19.3.0",
|
|
149
149
|
"@types/react-dom": "^19.3.0",
|
|
150
150
|
"@types/sinon": "^22.0.0",
|
|
151
|
-
"@vitest/browser": "^5.0.
|
|
152
|
-
"@vitest/browser-playwright": "^5.0.
|
|
153
|
-
"@vitest/coverage-istanbul": "^5.0.
|
|
154
|
-
"@vitest/ui": "^5.0.
|
|
151
|
+
"@vitest/browser": "^5.0.2",
|
|
152
|
+
"@vitest/browser-playwright": "^5.0.2",
|
|
153
|
+
"@vitest/coverage-istanbul": "^5.0.2",
|
|
154
|
+
"@vitest/ui": "^5.0.2",
|
|
155
155
|
"better-docs": "^2.7.3",
|
|
156
156
|
"clean-webpack-plugin": "^4.0.0",
|
|
157
157
|
"cloc": "2.6.0-cloc",
|
|
@@ -164,19 +164,19 @@
|
|
|
164
164
|
"docdash": "^2.0.2",
|
|
165
165
|
"dprint": "^0.57.4",
|
|
166
166
|
"esbuild-loader": "^4.5.0",
|
|
167
|
-
"eslint": "^10.
|
|
167
|
+
"eslint": "^10.11.0",
|
|
168
168
|
"eslint-plugin-import": "^2.32.0",
|
|
169
|
-
"eslint-plugin-jsdoc": "^64.
|
|
169
|
+
"eslint-plugin-jsdoc": "^64.5.4",
|
|
170
170
|
"husky": "^9.1.7",
|
|
171
171
|
"jsdoc": "^4.0.5",
|
|
172
|
-
"lint-staged": "^17.
|
|
172
|
+
"lint-staged": "^17.6.0",
|
|
173
173
|
"mini-css-extract-plugin": "^2.10.2",
|
|
174
174
|
"playwright": "^1.63.0",
|
|
175
175
|
"react": "^19.3.0",
|
|
176
176
|
"react-dom": "^19.3.0",
|
|
177
177
|
"regenerator-runtime": "^0.14.1",
|
|
178
|
-
"rolldown": "^1.2.
|
|
179
|
-
"sass": "^1.
|
|
178
|
+
"rolldown": "^1.2.11",
|
|
179
|
+
"sass": "^1.105.0",
|
|
180
180
|
"sass-loader": "^17.0.1",
|
|
181
181
|
"semantic-release": "^25.0.9",
|
|
182
182
|
"simulant": "^0.2.2",
|
|
@@ -186,10 +186,10 @@
|
|
|
186
186
|
"style-loader": "^4.0.0",
|
|
187
187
|
"tslib": "^2.8.1",
|
|
188
188
|
"typescript": "^6.0.3",
|
|
189
|
-
"typescript-eslint": "^8.70.
|
|
190
|
-
"vitest": "^5.0.
|
|
191
|
-
"webpack": "^5.
|
|
192
|
-
"webpack-bundle-analyzer": "^5.
|
|
189
|
+
"typescript-eslint": "^8.70.1",
|
|
190
|
+
"vitest": "^5.0.2",
|
|
191
|
+
"webpack": "^5.111.1",
|
|
192
|
+
"webpack-bundle-analyzer": "^5.4.0",
|
|
193
193
|
"webpack-clean": "^1.2.5",
|
|
194
194
|
"webpack-cli": "^7.2.3",
|
|
195
195
|
"webpack-dev-server": "^6.0.0",
|
|
@@ -172,8 +172,9 @@ export default {
|
|
|
172
172
|
const {axis, config, scale, state, $el: {grid, main}} = $$;
|
|
173
173
|
const isRotated = config.axis_rotated;
|
|
174
174
|
const pos = d => scale.y(d);
|
|
175
|
-
const
|
|
176
|
-
|
|
175
|
+
const generated = axis.y.getGeneratedTicks(config.grid_y_ticks);
|
|
176
|
+
// when the y axis (or its ticks) isn't rendered, no ticks are generated
|
|
177
|
+
const gridValues = generated?.length ? generated : $$.scale.y.ticks(config.grid_y_ticks);
|
|
177
178
|
|
|
178
179
|
grid.y = main.select(`.${$GRID.ygrids}`)
|
|
179
180
|
.selectAll(`.${$GRID.ygrid}`)
|
|
@@ -433,9 +433,14 @@ export default {
|
|
|
433
433
|
return isPositive ? h : -h - 2;
|
|
434
434
|
}
|
|
435
435
|
} else if (isTreemapType) {
|
|
436
|
+
// single-line labels are positioned by 'y' attribute, which is included in bbox.
|
|
437
|
+
// exclude it to get the position-independent offset.
|
|
438
|
+
const rectY = rect.y -
|
|
439
|
+
(textElement.childElementCount ? 0 : +(textElement.getAttribute("y") || 0));
|
|
440
|
+
|
|
436
441
|
return type === "x" ?
|
|
437
442
|
(points[1][0] - points[0][0]) / 2 : // X: Move to horizontal center of rect
|
|
438
|
-
(points[1][1] - points[0][1]) / 2 -
|
|
443
|
+
(points[1][1] - points[0][1]) / 2 - rectY - rect.height / 2; // Y: Calculate true vertical center
|
|
439
444
|
}
|
|
440
445
|
}
|
|
441
446
|
|