@progress/kendo-charts 2.8.0-develop.2 → 2.8.0-develop.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.
@@ -53,7 +53,7 @@ class BarLinearPointer extends LinearPointer {
53
53
  p4.translate(0, size);
54
54
  }
55
55
 
56
- return [ p1, p2, p3, p4 ];
56
+ return [p1, p2, p3, p4];
57
57
  }
58
58
 
59
59
  repaint() {
@@ -67,8 +67,8 @@ class BarLinearPointer extends LinearPointer {
67
67
  const animation = new BarLinearPointerAnimation(pointerPath, deepExtend(options.animation, {
68
68
  reverse: scale.options.reverse,
69
69
  vertical: scale.options.vertical,
70
- oldPoints: [ oldShape[1], oldShape[2] ],
71
- newPoints: [ shape[1], shape[2] ]
70
+ oldPoints: [oldShape[1], oldShape[2]],
71
+ newPoints: [shape[1], shape[2]]
72
72
  }));
73
73
 
74
74
  if (options.animation.transitions === false) {
@@ -104,7 +104,7 @@ class BarLinearPointer extends LinearPointer {
104
104
  const border = trackOptions.border || {};
105
105
  const trackBox = this.trackBox.clone().pad(border.width || 0);
106
106
 
107
- return new Path.fromRect(trackBox.toRect(), {
107
+ return Path.fromRect(trackBox.toRect(), {
108
108
  fill: {
109
109
  color: trackOptions.color,
110
110
  opacity: trackOptions.opacity
@@ -118,4 +118,4 @@ class BarLinearPointer extends LinearPointer {
118
118
  }
119
119
  }
120
120
 
121
- export default BarLinearPointer;
121
+ export default BarLinearPointer;
@@ -38,7 +38,7 @@ const directionsMap = {
38
38
 
39
39
  function createButton(direction, iconOptions) {
40
40
  const html =
41
- '<button class="k-button k-button-square k-rounded-full k-button-flat k-button-flat-base k-icon-button ' +
41
+ '<button type="button" class="k-button k-button-square k-rounded-full k-button-flat k-button-flat-base k-icon-button ' +
42
42
  directionsMap[direction].className +
43
43
  '" aria-label="move ' + direction + '">' +
44
44
  renderIcon({ icon: `caret-alt-${direction}`, iconClass: "k-button-icon", svgIcons: iconOptions.svgIcons, type: iconOptions.type }) +
@@ -17,7 +17,7 @@ import {
17
17
 
18
18
  function createButton(direction, icon, iconOptions) {
19
19
  const html =
20
- '<button class="k-button k-button-md k-rounded-md k-button-solid k-button-solid-base k-icon-button k-zoom-' + direction +
20
+ '<button type="button" class="k-button k-button-md k-rounded-md k-button-solid k-button-solid-base k-icon-button k-zoom-' + direction +
21
21
  '" title="zoom-' + direction +
22
22
  '" aria-label="zoom-' + direction + '">' +
23
23
  renderIcon({ icon: icon, iconClass: "k-button-icon", svgIcons: iconOptions.svgIcons, type: iconOptions.type }) +
@@ -53,7 +53,7 @@ class BarLinearPointer extends LinearPointer {
53
53
  p4.translate(0, size);
54
54
  }
55
55
 
56
- return [ p1, p2, p3, p4 ];
56
+ return [p1, p2, p3, p4];
57
57
  }
58
58
 
59
59
  repaint() {
@@ -67,8 +67,8 @@ class BarLinearPointer extends LinearPointer {
67
67
  const animation = new BarLinearPointerAnimation(pointerPath, deepExtend(options.animation, {
68
68
  reverse: scale.options.reverse,
69
69
  vertical: scale.options.vertical,
70
- oldPoints: [ oldShape[1], oldShape[2] ],
71
- newPoints: [ shape[1], shape[2] ]
70
+ oldPoints: [oldShape[1], oldShape[2]],
71
+ newPoints: [shape[1], shape[2]]
72
72
  }));
73
73
 
74
74
  if (options.animation.transitions === false) {
@@ -104,7 +104,7 @@ class BarLinearPointer extends LinearPointer {
104
104
  const border = trackOptions.border || {};
105
105
  const trackBox = this.trackBox.clone().pad(border.width || 0);
106
106
 
107
- return new Path.fromRect(trackBox.toRect(), {
107
+ return Path.fromRect(trackBox.toRect(), {
108
108
  fill: {
109
109
  color: trackOptions.color,
110
110
  opacity: trackOptions.opacity
@@ -118,4 +118,4 @@ class BarLinearPointer extends LinearPointer {
118
118
  }
119
119
  }
120
120
 
121
- export default BarLinearPointer;
121
+ export default BarLinearPointer;
@@ -38,7 +38,7 @@ const directionsMap = {
38
38
 
39
39
  function createButton(direction, iconOptions) {
40
40
  const html =
41
- '<button class="k-button k-button-square k-rounded-full k-button-flat k-button-flat-base k-icon-button ' +
41
+ '<button type="button" class="k-button k-button-square k-rounded-full k-button-flat k-button-flat-base k-icon-button ' +
42
42
  directionsMap[direction].className +
43
43
  '" aria-label="move ' + direction + '">' +
44
44
  renderIcon({ icon: `caret-alt-${direction}`, iconClass: "k-button-icon", svgIcons: iconOptions.svgIcons, type: iconOptions.type }) +
@@ -17,7 +17,7 @@ import {
17
17
 
18
18
  function createButton(direction, icon, iconOptions) {
19
19
  const html =
20
- '<button class="k-button k-button-md k-rounded-md k-button-solid k-button-solid-base k-icon-button k-zoom-' + direction +
20
+ '<button type="button" class="k-button k-button-md k-rounded-md k-button-solid k-button-solid-base k-icon-button k-zoom-' + direction +
21
21
  '" title="zoom-' + direction +
22
22
  '" aria-label="zoom-' + direction + '">' +
23
23
  renderIcon({ icon: icon, iconClass: "k-button-icon", svgIcons: iconOptions.svgIcons, type: iconOptions.type }) +