@highcharts/grid-pro 2.3.0 → 2.3.1

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 (54) hide show
  1. package/css/grid-pro.css +3 -3
  2. package/css/modules/grid-pro.css +1 -1
  3. package/es-modules/Accessibility/Components/ContainerComponent.js +0 -1
  4. package/es-modules/Accessibility/Components/InfoRegionsComponent.js +1 -2
  5. package/es-modules/Accessibility/Components/MenuComponent.js +0 -1
  6. package/es-modules/Accessibility/Components/RangeSelectorComponent.js +0 -1
  7. package/es-modules/Accessibility/Components/SeriesComponent/ForcedMarkers.js +21 -9
  8. package/es-modules/Accessibility/Components/SeriesComponent/NewDataAnnouncer.js +0 -3
  9. package/es-modules/Accessibility/Components/SeriesComponent/SeriesComponent.js +0 -1
  10. package/es-modules/Accessibility/Components/SeriesComponent/SeriesDescriber.js +0 -1
  11. package/es-modules/Accessibility/Components/SeriesComponent/SeriesKeyboardNavigation.js +0 -2
  12. package/es-modules/Accessibility/FocusBorder.js +5 -5
  13. package/es-modules/Accessibility/Options/DeprecatedOptions.js +1 -2
  14. package/es-modules/Accessibility/ProxyElement.d.ts +2 -2
  15. package/es-modules/Accessibility/ProxyElement.js +2 -2
  16. package/es-modules/Accessibility/Utils/ChartUtilities.js +0 -1
  17. package/es-modules/Accessibility/Utils/HTMLUtilities.js +0 -1
  18. package/es-modules/Core/Chart/Chart.js +8 -1
  19. package/es-modules/Core/Chart/ChartNavigationComposition.js +0 -1
  20. package/es-modules/Core/Chart/MapChart.js +2 -0
  21. package/es-modules/Core/Color/Color.js +0 -1
  22. package/es-modules/Core/Defaults.js +0 -1
  23. package/es-modules/Core/Delaunay.d.ts +0 -51
  24. package/es-modules/Core/Delaunay.js +5 -3
  25. package/es-modules/Core/Foundation.js +0 -1
  26. package/es-modules/Core/Globals.js +1 -1
  27. package/es-modules/Core/MSPointer.js +0 -1
  28. package/es-modules/Core/Renderer/HTML/HTMLAttributes.d.ts +3 -0
  29. package/es-modules/Core/Renderer/RendererUtilities.js +0 -1
  30. package/es-modules/Core/Renderer/SVG/SVGRenderer.d.ts +1 -1
  31. package/es-modules/Core/Renderer/SVG/Symbols.d.ts +2 -2
  32. package/es-modules/Core/Utilities.js +4 -2
  33. package/es-modules/Data/Connectors/DataConnector.d.ts +4 -4
  34. package/es-modules/Data/Connectors/DataConnector.js +4 -4
  35. package/es-modules/Data/DataPool.js +2 -2
  36. package/es-modules/Grid/Core/Globals.d.ts +2 -2
  37. package/es-modules/Grid/Core/Globals.js +1 -1
  38. package/es-modules/Grid/Core/Grid.js +4 -4
  39. package/es-modules/Grid/Core/Pagination/Pagination.js +5 -5
  40. package/es-modules/Grid/Core/Querying/PaginationController.d.ts +1 -1
  41. package/es-modules/Grid/Core/Querying/PaginationController.js +4 -3
  42. package/es-modules/Grid/Core/Responsive/ResponsiveComposition.js +53 -10
  43. package/es-modules/Grid/Core/Table/Actions/RowsVirtualizer.js +15 -1
  44. package/es-modules/Grid/Pro/Credits/CreditsProComposition.d.ts +1 -1
  45. package/es-modules/Grid/Pro/Data/DataSourceHelper.js +20 -10
  46. package/es-modules/Shared/Utilities.js +3 -11
  47. package/es-modules/masters/grid-pro.src.d.ts +3 -3
  48. package/es-modules/masters/grid-pro.src.js +1 -1
  49. package/grid-pro.d.ts +3 -3
  50. package/grid-pro.js +3 -3
  51. package/grid-pro.js.map +1 -1
  52. package/grid-pro.src.d.ts +3 -3
  53. package/grid-pro.src.js +117 -57
  54. package/package.json +1 -1
package/css/grid-pro.css CHANGED
@@ -1,7 +1,7 @@
1
1
  /* SPDX-License-Identifier: LicenseRef-Highcharts */
2
2
 
3
3
  /**
4
- * @license Highcharts Grid Pro v2.3.0
4
+ * @license Highcharts Grid Pro v2.3.1
5
5
  *
6
6
  * (c) 2009-2025 Highsoft AS
7
7
  *
@@ -974,7 +974,7 @@
974
974
  /* SPDX-License-Identifier: LicenseRef-Highcharts */
975
975
 
976
976
  /**
977
- * @license Highcharts Grid Lite v2.3.0
977
+ * @license Highcharts Grid Lite v2.3.1
978
978
  *
979
979
  * (c) 2009-2025 Highsoft AS
980
980
  *
@@ -1663,7 +1663,7 @@
1663
1663
  /* SPDX-License-Identifier: LicenseRef-Highcharts */
1664
1664
 
1665
1665
  /**
1666
- * @license Highcharts Grid Pro v2.3.0
1666
+ * @license Highcharts Grid Pro v2.3.1
1667
1667
  *
1668
1668
  * (c) 2009-2025 Highsoft AS
1669
1669
  *
@@ -1,7 +1,7 @@
1
1
  /* SPDX-License-Identifier: LicenseRef-Highcharts */
2
2
 
3
3
  /**
4
- * @license Highcharts Grid Pro v2.3.0
4
+ * @license Highcharts Grid Pro v2.3.1
5
5
  *
6
6
  * (c) 2009-2025 Highsoft AS
7
7
  *
@@ -32,7 +32,6 @@ class ContainerComponent extends AccessibilityComponent {
32
32
  * Functions
33
33
  *
34
34
  * */
35
- /* eslint-disable valid-jsdoc */
36
35
  /**
37
36
  * Called on first render/updates to the chart, including options changes.
38
37
  */
@@ -31,7 +31,6 @@ import { attr, pick, replaceNested } from '../../Shared/Utilities.js';
31
31
  * Functions
32
32
  *
33
33
  * */
34
- /* eslint-disable valid-jsdoc */
35
34
  /**
36
35
  * @private
37
36
  */
@@ -73,6 +72,7 @@ function buildTypeDescriptionFromSeries(chart, types, context) {
73
72
  *
74
73
  * @private
75
74
  * @function Highcharts.Chart#getTypeDescription
75
+ * @param {Highcharts.Chart} chart The associated Chart instance.
76
76
  * @param {Array<string>} types The series types in this chart.
77
77
  * @return {string} The text description of the chart type.
78
78
  */
@@ -129,7 +129,6 @@ class InfoRegionsComponent extends AccessibilityComponent {
129
129
  * Functions
130
130
  *
131
131
  * */
132
- /* eslint-disable valid-jsdoc */
133
132
  /**
134
133
  * Init the component
135
134
  * @private
@@ -60,7 +60,6 @@ class MenuComponent extends AccessibilityComponent {
60
60
  * Functions
61
61
  *
62
62
  * */
63
- /* eslint-disable valid-jsdoc */
64
63
  /**
65
64
  * Init the component
66
65
  */
@@ -52,7 +52,6 @@ class RangeSelectorComponent extends AccessibilityComponent {
52
52
  * Functions
53
53
  *
54
54
  * */
55
- /* eslint-disable valid-jsdoc */
56
55
  /**
57
56
  * Init the component
58
57
  * @private
@@ -148,7 +148,7 @@ var ForcedMarkersComposition;
148
148
  function seriesOnRender() {
149
149
  const series = this, options = series.options;
150
150
  if (shouldForceMarkers(series)) {
151
- if (options.marker && options.marker.enabled === false) {
151
+ if (options.marker?.enabled === false) {
152
152
  series.a11yMarkersForced = true;
153
153
  forceZeroOpacityMarkerOptions(series.options);
154
154
  }
@@ -161,10 +161,17 @@ var ForcedMarkersComposition;
161
161
  // Mark series dirty to ensure marker graphics are cleaned up
162
162
  series.isDirty = true;
163
163
  unforceSeriesMarkerOptions(series);
164
- if (options.marker && options.marker.enabled === false) { // #23329
164
+ if (options.marker?.enabled === false) { // #23329
165
165
  delete series.resetA11yMarkerOptions; // #16624
166
166
  }
167
167
  }
168
+ else if (series.chart.styledMode &&
169
+ options.marker?.enabled === false &&
170
+ !hasIndividualPointMarkerOptions(series)) {
171
+ // `a11yMarkersForced` can be reset during `Series.update`.
172
+ // Clean up stale marker graphics that may still exist (#24164).
173
+ destroyPointMarkerGraphics(series);
174
+ }
168
175
  }
169
176
  /**
170
177
  * @private
@@ -188,6 +195,16 @@ var ForcedMarkersComposition;
188
195
  }
189
196
  });
190
197
  }
198
+ /**
199
+ * @private
200
+ */
201
+ function destroyPointMarkerGraphics(series) {
202
+ series.points?.forEach((point) => {
203
+ if (point.graphic) {
204
+ point.graphic = point.graphic.destroy();
205
+ }
206
+ });
207
+ }
191
208
  /**
192
209
  * Reset markers to normal
193
210
  * @private
@@ -200,13 +217,8 @@ var ForcedMarkersComposition;
200
217
  resetMarkerOptions.states.normal.opacity;
201
218
  // Prevent ghost markers when zooming out (#23878).
202
219
  if (series.chart.styledMode &&
203
- resetMarkerOptions.enabled === false &&
204
- series.points) {
205
- series.points.forEach((point) => {
206
- if (point.graphic) {
207
- point.graphic = point.graphic.destroy();
208
- }
209
- });
220
+ resetMarkerOptions.enabled === false) {
221
+ destroyPointMarkerGraphics(series);
210
222
  }
211
223
  // Temporarily set the old marker options to enabled in order to
212
224
  // trigger destruction of the markers in Series.update.
@@ -25,7 +25,6 @@ const { defaultPointDescriptionFormatter, defaultSeriesDescriptionFormatter } =
25
25
  * Functions
26
26
  *
27
27
  * */
28
- /* eslint-disable valid-jsdoc */
29
28
  /**
30
29
  * @private
31
30
  */
@@ -79,7 +78,6 @@ class NewDataAnnouncer {
79
78
  * Functions
80
79
  *
81
80
  * */
82
- /* eslint-disable valid-jsdoc */
83
81
  /**
84
82
  * Initialize the new data announcer.
85
83
  * @private
@@ -288,7 +286,6 @@ class NewDataAnnouncer {
288
286
  /**
289
287
  * On new data in the series, make sure we add it to the dirty list.
290
288
  * @private
291
- * @param {Highcharts.Series} series
292
289
  */
293
290
  function seriesOnUpdatedData() {
294
291
  const chart = this.chart, newDataAnnouncer = chart.accessibility?.components
@@ -37,7 +37,6 @@ class SeriesComponent extends AccessibilityComponent {
37
37
  * Static Functions
38
38
  *
39
39
  * */
40
- /* eslint-disable valid-jsdoc */
41
40
  /**
42
41
  * @private
43
42
  */
@@ -25,7 +25,6 @@ import { defined, find, isString, isNumber, pick } from '../../../Shared/Utiliti
25
25
  * Functions
26
26
  *
27
27
  * */
28
- /* eslint-disable valid-jsdoc */
29
28
  /**
30
29
  * @private
31
30
  */
@@ -27,7 +27,6 @@ const { getPointFromXY, getSeriesFromName, scrollAxisToPoint } = ChartUtilities;
27
27
  * Functions
28
28
  *
29
29
  * */
30
- /* eslint-disable valid-jsdoc */
31
30
  /**
32
31
  * Get the index of a point in a series. This is needed when using e.g. data
33
32
  * grouping.
@@ -176,7 +175,6 @@ class SeriesKeyboardNavigation {
176
175
  * Functions
177
176
  *
178
177
  * */
179
- /* eslint-disable valid-jsdoc */
180
178
  /**
181
179
  * Init the keyboard navigation
182
180
  */
@@ -117,7 +117,7 @@ var FocusBorderComposition;
117
117
  * Add hook to destroy focus border if SVG element is destroyed, unless
118
118
  * hook already exists.
119
119
  * @private
120
- * @param el Element to add destroy hook to
120
+ * @param {object} el Element to add destroy hook to
121
121
  */
122
122
  function svgElementAddDestroyFocusBorderHook(el) {
123
123
  if (el.focusBorderDestroyHook) {
@@ -225,8 +225,8 @@ var FocusBorderComposition;
225
225
  * Add hooks to update the focus border of an element when the element
226
226
  * size/position is updated, unless already added.
227
227
  * @private
228
- * @param el Element to add update hooks to
229
- * @param updateParams Parameters to pass through to addFocusBorder when updating.
228
+ * @param {object} el Element to add update hooks to
229
+ * @param {...*} updateParams Parameters to pass through to addFocusBorder when updating.
230
230
  */
231
231
  function avgElementAddUpdateFocusBorderHooks(el, ...updateParams) {
232
232
  if (el.focusBorderUpdateHooks) {
@@ -248,7 +248,7 @@ var FocusBorderComposition;
248
248
  * Remove hook from SVG element added by addDestroyFocusBorderHook, if
249
249
  * existing.
250
250
  * @private
251
- * @param el Element to remove destroy hook from
251
+ * @param {object} el Element to remove destroy hook from
252
252
  */
253
253
  function svgElementRemoveDestroyFocusBorderHook(el) {
254
254
  if (!el.focusBorderDestroyHook) {
@@ -275,7 +275,7 @@ var FocusBorderComposition;
275
275
  * Remove hooks from SVG element added by addUpdateFocusBorderHooks, if
276
276
  * existing.
277
277
  * @private
278
- * @param el Element to remove update hooks from
278
+ * @param {object} el Element to remove update hooks from
279
279
  */
280
280
  function svgElementRemoveUpdateFocusBorderHooks(el) {
281
281
  if (!el.focusBorderUpdateHooks) {
@@ -70,12 +70,11 @@ import { error } from '../../Core/Utilities.js';
70
70
  * Functions
71
71
  *
72
72
  * */
73
- /* eslint-disable valid-jsdoc */
74
73
  /**
75
74
  * Set a new option on a root prop, where the option is defined as an array of
76
75
  * suboptions.
77
76
  * @private
78
- * @param root
77
+ * @param {Record<string, *>} root
79
78
  * @param {Array<string>} optionAsArray
80
79
  * @param {*} val
81
80
  * @return {void}
@@ -35,8 +35,8 @@ declare class ProxyElement {
35
35
  /**
36
36
  * Update the target to be proxied. The position and events are updated to
37
37
  * match the new target.
38
- * @param target The new target definition
39
- * @param attributes New HTML attributes to apply to the proxy. Set an
38
+ * @param {object} target The new target definition
39
+ * @param {object} attributes New HTML attributes to apply to the proxy. Set an
40
40
  * attribute to null to remove.
41
41
  */
42
42
  updateTarget(target: ProxyElement.Target, attributes?: NullableHTMLAttributes): void;
@@ -78,8 +78,8 @@ class ProxyElement {
78
78
  /**
79
79
  * Update the target to be proxied. The position and events are updated to
80
80
  * match the new target.
81
- * @param target The new target definition
82
- * @param attributes New HTML attributes to apply to the proxy. Set an
81
+ * @param {object} target The new target definition
82
+ * @param {object} attributes New HTML attributes to apply to the proxy. Set an
83
83
  * attribute to null to remove.
84
84
  */
85
85
  updateTarget(target, attributes) {
@@ -21,7 +21,6 @@ import { defined, find, fireEvent } from '../../Shared/Utilities.js';
21
21
  * Functions
22
22
  *
23
23
  * */
24
- /* eslint-disable valid-jsdoc */
25
24
  /**
26
25
  * Fire an event on an element that is either wrapped by Highcharts,
27
26
  * or a DOM element.
@@ -25,7 +25,6 @@ const simulatedEventTarget = win.EventTarget && new win.EventTarget() || 'none';
25
25
  * Functions
26
26
  *
27
27
  * */
28
- /* eslint-disable valid-jsdoc */
29
28
  /**
30
29
  * @private
31
30
  * @param {Highcharts.HTMLDOMElement} el
@@ -65,6 +65,7 @@ import { error, uniqueKey } from '../Utilities.js';
65
65
  * handler is equivalent.
66
66
  */
67
67
  class Chart {
68
+ /* eslint-disable jsdoc/check-param-names */
68
69
  /**
69
70
  * Factory function for basic charts.
70
71
  *
@@ -1283,6 +1284,12 @@ class Chart {
1283
1284
  // (#1257)
1284
1285
  if (chart.container) {
1285
1286
  chart.setSize(void 0, void 0, false);
1287
+ // #23712: sync containerBox with reflowed height to
1288
+ // break infinite loop
1289
+ const box = chart.containerBox;
1290
+ if (box) {
1291
+ box.height = chart.chartHeight;
1292
+ }
1286
1293
  }
1287
1294
  }, e ? 100 : 0);
1288
1295
  }
@@ -2168,7 +2175,7 @@ class Chart {
2168
2175
  * @param {string} coll
2169
2176
  * An axis type.
2170
2177
  *
2171
- * @param {...Array<*>} arguments
2178
+ * @param {...Array<*>} options
2172
2179
  * All arguments for the constructor.
2173
2180
  *
2174
2181
  * @return {Highcharts.Axis}
@@ -26,7 +26,6 @@ var ChartNavigationComposition;
26
26
  * Functions
27
27
  *
28
28
  * */
29
- /* eslint-disable valid-jsdoc */
30
29
  /** @internal */
31
30
  function compose(chart) {
32
31
  if (!chart.navigation) {
@@ -164,6 +164,7 @@ class MapChart extends Chart {
164
164
  * Functions
165
165
  *
166
166
  * */
167
+ /* eslint-disable jsdoc/check-param-names */
167
168
  /**
168
169
  * The factory function for creating new map charts. Creates a new {@link
169
170
  * Highcharts.MapChart|MapChart} object with different default options than
@@ -194,6 +195,7 @@ class MapChart extends Chart {
194
195
  return new MapChart(a, b, c);
195
196
  }
196
197
  MapChart.mapChart = mapChart;
198
+ /* eslint-enable jsdoc/check-param-names */
197
199
  /**
198
200
  * Utility for reading SVG paths directly.
199
201
  *
@@ -24,7 +24,6 @@ const isStringColor = (color) => isString(color) && !!color && color !== 'none';
24
24
  * Class
25
25
  *
26
26
  * */
27
- /* eslint-disable valid-jsdoc */
28
27
  /**
29
28
  * Handle color operations. Some object methods are chainable.
30
29
  *
@@ -1130,7 +1130,6 @@ const defaultOptions = {
1130
1130
  * @since 1.3
1131
1131
  * @apioption legend.labelFormat
1132
1132
  */
1133
- /* eslint-disable valid-jsdoc */
1134
1133
  /**
1135
1134
  * Callback function to format each of the series' labels. The `this`
1136
1135
  * keyword refers to the series object, or the point object in case of
@@ -1,52 +1 @@
1
- /**
2
- * Delaunay triangulation of a 2D point set.
3
- */
4
- declare class Delaunay<T extends Float32Array | Float64Array = Float32Array> {
5
- /**
6
- * The resulting triangulation as a flat array of triangle vertex indices.
7
- */
8
- readonly triangles: Uint32Array;
9
- /**
10
- * The input points array.
11
- */
12
- readonly points: T;
13
- /**
14
- * Sorted and deduplicated point indices used for triangulation.
15
- */
16
- private readonly ids;
17
- /**
18
- * Numerical tolerance for geometric predicates.
19
- */
20
- private readonly epsilon;
21
- /**
22
- * Minimum X value used for normalization.
23
- */
24
- private readonly minX;
25
- /**
26
- * Minimum Y value used for normalization.
27
- */
28
- private readonly minY;
29
- /**
30
- * Inverse X scale factor used for normalization.
31
- */
32
- private readonly invScaleX;
33
- /**
34
- * Inverse Y scale factor used for normalization.
35
- */
36
- private readonly invScaleY;
37
- /**
38
- * Create a new Delaunay triangulation.
39
- *
40
- * @param {Float32Array|Float64Array} points
41
- * A 1D array of points in the format [x0, y0, x1, y1, ...].
42
- */
43
- constructor(points: T);
44
- /**
45
- * Triangulate the points.
46
- *
47
- * @return {Uint32Array}
48
- * A 1D array of triangle vertex indices.
49
- */
50
- private triangulate;
51
- }
52
1
  export default Delaunay;
@@ -1,10 +1,10 @@
1
1
  /* *
2
2
  *
3
- * (c) 2009-2025 Highsoft AS
3
+ * (c) 2009-2026 Highsoft AS
4
4
  *
5
- * License: www.highcharts.com/license
5
+ * A commercial license may be required depending on use.
6
+ * See www.highcharts.com/license
6
7
  *
7
- * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
8
8
  *
9
9
  * Authors:
10
10
  * - Dawid Dragula
@@ -18,6 +18,8 @@
18
18
  * */
19
19
  /**
20
20
  * Delaunay triangulation of a 2D point set.
21
+ *
22
+ * @internal
21
23
  */
22
24
  class Delaunay {
23
25
  /* *
@@ -23,7 +23,6 @@ var Foundation;
23
23
  * Functions
24
24
  *
25
25
  * */
26
- /* eslint-disable valid-jsdoc */
27
26
  /**
28
27
  * Register event options. If an event handler is set on the options, it
29
28
  * should be subject to Chart.update, Axis.update and Series.update. This is
@@ -25,7 +25,7 @@ var Globals;
25
25
  * Constants
26
26
  *
27
27
  * */
28
- Globals.SVG_NS = 'http://www.w3.org/2000/svg', Globals.product = 'Highcharts', Globals.version = '2.3.0', Globals.win = (typeof window !== 'undefined' ?
28
+ Globals.SVG_NS = 'http://www.w3.org/2000/svg', Globals.product = 'Highcharts', Globals.version = '2.3.1', Globals.win = (typeof window !== 'undefined' ?
29
29
  window :
30
30
  {}), // eslint-disable-line node/no-unsupported-features/es-builtins
31
31
  Globals.doc = Globals.win.document, Globals.svg = !!Globals.doc?.createElementNS?.(Globals.SVG_NS, 'svg')?.createSVGRect, Globals.pageLang = Globals.doc?.documentElement?.closest('[lang]')?.lang, Globals.userAgent = Globals.win.navigator?.userAgent || '', Globals.isChrome = Globals.win.chrome, Globals.isFirefox = Globals.userAgent.indexOf('Firefox') !== -1, Globals.isMS = /(edge|msie|trident)/i.test(Globals.userAgent) && !Globals.win.opera, Globals.isSafari = !Globals.isChrome && Globals.userAgent.indexOf('Safari') !== -1, Globals.isTouchDevice = /(Mobile|Android|Windows Phone)/.test(Globals.userAgent), Globals.isWebKit = Globals.userAgent.indexOf('AppleWebKit') !== -1, Globals.deg2rad = Math.PI * 2 / 360, Globals.marginNames = [
@@ -26,7 +26,6 @@ const hasPointerEvent = !!win.PointerEvent;
26
26
  * Functions
27
27
  *
28
28
  * */
29
- /* eslint-disable valid-jsdoc */
30
29
  /** @internal */
31
30
  function getWebkitTouches() {
32
31
  const fake = [];
@@ -13,6 +13,8 @@ export interface HTMLAttributes {
13
13
  href?: string;
14
14
  htmlFor?: string;
15
15
  id?: string;
16
+ min?: string;
17
+ max?: string;
16
18
  name?: string;
17
19
  onclick?: any;
18
20
  onload?: any;
@@ -24,6 +26,7 @@ export interface HTMLAttributes {
24
26
  rel?: string;
25
27
  role?: string;
26
28
  src?: string;
29
+ step?: string;
27
30
  rowspan?: number;
28
31
  summary?: string;
29
32
  tabindex?: number;
@@ -33,7 +33,6 @@ var RendererUtilities;
33
33
  * Functions
34
34
  *
35
35
  * */
36
- /* eslint-disable valid-jsdoc */
37
36
  /**
38
37
  * General distribution algorithm for distributing labels of differing size
39
38
  * along a confined length in two dimensions. The algorithm takes an array
@@ -251,7 +251,7 @@ declare class SVGRenderer implements SVGRendererBase {
251
251
  *
252
252
  * @function Highcharts.SVGRenderer#path
253
253
  *
254
- * @param {Highcharts.SVGAttributes} [attribs]
254
+ * @param {Highcharts.SVGAttributes|Highcharts.SVGPathArray} [path]
255
255
  * The initial attributes.
256
256
  *
257
257
  * @return {Highcharts.SVGElement}
@@ -21,9 +21,9 @@ declare function arc(cx: number, cy: number, w: number, h: number, options?: Sym
21
21
  /**
22
22
  * Callout shape used for default tooltips.
23
23
  *
24
- * @param {number} cx
24
+ * @param {number} x
25
25
  * Center X
26
- * @param {number} cy
26
+ * @param {number} y
27
27
  * Center Y
28
28
  * @param {number} w
29
29
  * Width
@@ -212,6 +212,7 @@ if (win.jQuery) {
212
212
  *
213
213
  * @external JQuery
214
214
  */
215
+ /* eslint-disable jsdoc/check-param-names */
215
216
  /**
216
217
  * Helper function to return the chart of the current JQuery selector
217
218
  * element.
@@ -256,6 +257,7 @@ if (win.jQuery) {
256
257
  return charts[attr(this[0], 'data-highcharts-chart')];
257
258
  }
258
259
  };
260
+ /* eslint-enable jsdoc/check-param-names */
259
261
  }
260
262
  /* *
261
263
  *
@@ -315,7 +317,7 @@ if (win.jQuery) {
315
317
  */ /**
316
318
  * Radius of the element border.
317
319
  * @name Highcharts.CSSObject#borderRadius
318
- * @type {number|undefined}
320
+ * @type {string|undefined}
319
321
  */ /**
320
322
  * Color used in the element. The 'contrast' option is a Highcharts custom
321
323
  * property that results in black or white, depending on the background of the
@@ -334,7 +336,7 @@ if (win.jQuery) {
334
336
  */ /**
335
337
  * Font size of the element text.
336
338
  * @name Highcharts.CSSObject#fontSize
337
- * @type {string|undefined}
339
+ * @type {number|string|undefined}
338
340
  */ /**
339
341
  * Font weight of the element text.
340
342
  * @name Highcharts.CSSObject#fontWeight
@@ -121,10 +121,10 @@ declare abstract class DataConnector implements DataEventEmitter<Event> {
121
121
  /**
122
122
  * Updates the connector with new options.
123
123
  *
124
- * @param newOptions
124
+ * @param {object} newOptions
125
125
  * The new options to be applied to the connector.
126
126
  *
127
- * @param reload
127
+ * @param {boolean} [reload=true]
128
128
  * Whether to reload the connector after applying the new options.
129
129
  */
130
130
  update(newOptions: DeepPartial<typeof this.options>, reload?: boolean): Promise<void>;
@@ -164,10 +164,10 @@ declare abstract class DataConnector implements DataEventEmitter<Event> {
164
164
  /**
165
165
  * Registers a callback for a specific connector event.
166
166
  *
167
- * @param type
167
+ * @param {string} type
168
168
  * Event type.
169
169
  *
170
- * @param callback
170
+ * @param {Function} callback
171
171
  * Function to register for the connector callback.
172
172
  *
173
173
  * @return {Function}
@@ -190,10 +190,10 @@ class DataConnector {
190
190
  /**
191
191
  * Updates the connector with new options.
192
192
  *
193
- * @param newOptions
193
+ * @param {object} newOptions
194
194
  * The new options to be applied to the connector.
195
195
  *
196
- * @param reload
196
+ * @param {boolean} [reload=true]
197
197
  * Whether to reload the connector after applying the new options.
198
198
  */
199
199
  async update(newOptions, reload = true) {
@@ -298,10 +298,10 @@ class DataConnector {
298
298
  /**
299
299
  * Registers a callback for a specific connector event.
300
300
  *
301
- * @param type
301
+ * @param {string} type
302
302
  * Event type.
303
303
  *
304
- * @param callback
304
+ * @param {Function} callback
305
305
  * Function to register for the connector callback.
306
306
  *
307
307
  * @return {Function}
@@ -212,10 +212,10 @@ class DataPool {
212
212
  /**
213
213
  * Sets connector options under the specified `options.id`.
214
214
  *
215
- * @param options
215
+ * @param {object} options
216
216
  * Connector options to set.
217
217
  *
218
- * @param update
218
+ * @param {boolean} [update]
219
219
  * Whether to update the existing connector with the new options and reload
220
220
  * it (`true`) or replace it with a new connector instance (`false`).
221
221
  */
@@ -3,7 +3,7 @@ export type DeepRequired<T> = {
3
3
  };
4
4
  export type ClassNameKey = keyof typeof rawClassNames;
5
5
  export declare const classNamePrefix: string;
6
- export declare const version = "2.3.0";
6
+ export declare const version = "2.3.1";
7
7
  export declare const rawClassNames: {
8
8
  readonly container: "container";
9
9
  readonly tableElement: "table";
@@ -92,7 +92,7 @@ export declare const isSafari: boolean;
92
92
  export declare const getClassName: (classNameKey: ClassNameKey) => string;
93
93
  declare const _default: {
94
94
  readonly classNamePrefix: string;
95
- readonly version: "2.3.0";
95
+ readonly version: "2.3.1";
96
96
  readonly rawClassNames: {
97
97
  readonly container: "container";
98
98
  readonly tableElement: "table";
@@ -18,7 +18,7 @@
18
18
  *
19
19
  * */
20
20
  export const classNamePrefix = 'hcg-';
21
- export const version = '2.3.0';
21
+ export const version = '2.3.1';
22
22
  export const rawClassNames = {
23
23
  container: 'container',
24
24
  tableElement: 'table',