billboard.js 3.14.2 → 3.14.3

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.
Files changed (47) hide show
  1. package/dist/billboard.css +1 -1
  2. package/dist/billboard.js +7 -6
  3. package/dist/billboard.min.css +1 -1
  4. package/dist/billboard.min.js +3 -3
  5. package/dist/billboard.pkgd.js +7 -6
  6. package/dist/billboard.pkgd.min.js +17 -17
  7. package/dist/plugin/billboardjs-plugin-bubblecompare.js +2 -2
  8. package/dist/plugin/billboardjs-plugin-bubblecompare.min.js +2 -2
  9. package/dist/plugin/billboardjs-plugin-sparkline.js +2 -2
  10. package/dist/plugin/billboardjs-plugin-sparkline.min.js +2 -2
  11. package/dist/plugin/billboardjs-plugin-stanford.js +2 -2
  12. package/dist/plugin/billboardjs-plugin-stanford.min.js +2 -2
  13. package/dist/plugin/billboardjs-plugin-tableview.js +2 -2
  14. package/dist/plugin/billboardjs-plugin-tableview.min.js +2 -2
  15. package/dist/plugin/billboardjs-plugin-textoverlap.js +2 -2
  16. package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
  17. package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.js +2 -2
  18. package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.min.js +2 -2
  19. package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js +2 -2
  20. package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js +2 -2
  21. package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.js +2 -2
  22. package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js +2 -2
  23. package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js +2 -2
  24. package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js +2 -2
  25. package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.js +2 -2
  26. package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js +2 -2
  27. package/dist/theme/dark.css +1 -1
  28. package/dist/theme/dark.min.css +1 -1
  29. package/dist/theme/datalab.css +1 -1
  30. package/dist/theme/datalab.min.css +1 -1
  31. package/dist/theme/graph.css +1 -1
  32. package/dist/theme/graph.min.css +1 -1
  33. package/dist/theme/insight.css +1 -1
  34. package/dist/theme/insight.min.css +1 -1
  35. package/dist/theme/modern.css +1 -1
  36. package/dist/theme/modern.min.css +1 -1
  37. package/dist-esm/billboard.js +377 -376
  38. package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +4 -4
  39. package/dist-esm/plugin/billboardjs-plugin-sparkline.js +15 -15
  40. package/dist-esm/plugin/billboardjs-plugin-stanford.js +13 -13
  41. package/dist-esm/plugin/billboardjs-plugin-tableview.js +10 -10
  42. package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +8 -8
  43. package/package.json +29 -29
  44. package/src/ChartInternal/data/data.ts +1 -1
  45. package/src/ChartInternal/interactions/interaction.ts +1 -1
  46. package/src/config/Options/shape/gauge.ts +3 -2
  47. package/types/options.shape.d.ts +3 -2
@@ -5,7 +5,7 @@
5
5
  * billboard.js, JavaScript chart library
6
6
  * https://naver.github.io/billboard.js/
7
7
  *
8
- * @version 3.14.2
8
+ * @version 3.14.3
9
9
  *
10
10
  * All-in-one packaged file for ease use of 'billboard.js' with dependant d3.js modules & polyfills.
11
11
  * - @types/d3-selection ^3.0.11
@@ -27905,7 +27905,7 @@ function getDataKeyForJson(keysParam, config) {
27905
27905
  if (hasViewBox($el.svg)) {
27906
27906
  const pos = [point, 0];
27907
27907
  isRotated && pos.reverse();
27908
- point = getTransformCTM($el.svg.node(), ...pos)[isRotated ? "y" : "x"];
27908
+ point = getTransformCTM($el.eventRect.node(), ...pos)[isRotated ? "y" : "x"];
27909
27909
  } else {
27910
27910
  point -= isRotated ? rect.top : rect.left;
27911
27911
  }
@@ -28650,7 +28650,7 @@ function drag_defaultTouchable() {
28650
28650
  let x = left + (mouse ? mouse[0] : 0) + (isMultipleX || isRotated ? 0 : width / 2);
28651
28651
  let y = top + (mouse ? mouse[1] : 0) + (isRotated ? 4 : 0);
28652
28652
  if (hasViewBox(svg)) {
28653
- const ctm = getTransformCTM($$.$el.svg.node(), x, y, false);
28653
+ const ctm = getTransformCTM($$.$el.eventRect.node(), x, y, false);
28654
28654
  x = ctm.x;
28655
28655
  y = ctm.y;
28656
28656
  }
@@ -48728,8 +48728,9 @@ ${percentValue}%`;
48728
48728
  * @property {number} [gauge.expand.rate=0.98] Set expand rate.
48729
48729
  * @property {number} [gauge.expand.duration=50] Set the expand transition time in milliseconds.
48730
48730
  * @property {boolean} [gauge.enforceMinMax=false] Enforce to given min/max value.
48731
- * - When `gauge.min=50` and given value is `30`, gauge will render as empty value.
48732
- * - When `gauge.max=100` and given value is `120`, gauge will render till 100, not surpassing max value.
48731
+ * - **Note:** Only works for single data series.
48732
+ * - When `gauge.min=50` and given value is `30`, gauge will render as empty value.
48733
+ * - When `gauge.max=100` and given value is `120`, gauge will render till 100, not surpassing max value.
48733
48734
  * @property {number} [gauge.min=0] Set min value of the gauge.
48734
48735
  * @property {number} [gauge.max=100] Set max value of the gauge.
48735
48736
  * @property {number} [gauge.startingAngle=-1 * Math.PI / 2] Set starting angle where data draws.
@@ -49232,7 +49233,7 @@ const bb = {
49232
49233
  * bb.version; // "1.0.0"
49233
49234
  * @memberof bb
49234
49235
  */
49235
- version: "3.14.2",
49236
+ version: "3.14.3",
49236
49237
  /**
49237
49238
  * Generate chart
49238
49239
  * - **NOTE:** Bear in mind for the possiblity of ***throwing an error***, during the generation when: