Skip to content

Commit 0fd4ec5

Browse files
committed
v12.2.0
1 parent 1404f42 commit 0fd4ec5

File tree

2,265 files changed

+481165
-130982
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,265 files changed

+481165
-130982
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "highcharts",
3-
"version": "12.1.2",
3+
"version": "12.2.0",
44
"main": "highcharts.js",
55
"license": "https://www.highcharts.com/license",
66
"types": "highcharts.d.ts"

css/highcharts.css

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Highcharts
33
*
4-
* (c) 2009-2022 Torstein Honsi
4+
* (c) 2009-2025 Torstein Honsi
55
*
66
* License: www.highcharts.com/license
77
*/
@@ -52,7 +52,7 @@
5252
/* Minor grid lines etc. */
5353
--highcharts-neutral-color-5: #f2f2f2;
5454

55-
/* Tooltip backgroud, button fills, map null points. */
55+
/* Tooltip background, button fills, map null points. */
5656
--highcharts-neutral-color-3: #f7f7f7;
5757

5858
/*
@@ -311,7 +311,8 @@
311311
stroke: none;
312312
}
313313

314-
.highcharts-tooltip text {
314+
.highcharts-tooltip text,
315+
.highcharts-tooltip foreignObject span {
315316
fill: var(--highcharts-neutral-color-80);
316317
font-size: 0.8em;
317318
}
@@ -472,6 +473,7 @@ g.highcharts-series,
472473
}
473474

474475
.highcharts-data-label text,
476+
.highcharts-data-label span,
475477
text.highcharts-data-label {
476478
font-size: 0.7em;
477479
font-weight: bold;
@@ -627,9 +629,9 @@ text.highcharts-data-label {
627629
stroke-width: 0;
628630
}
629631

630-
.highcharts-legend-item > text {
632+
.highcharts-legend-item > text,
633+
.highcharts-legend-item span {
631634
fill: var(--highcharts-neutral-color-80);
632-
font-weight: bold;
633635
font-size: 0.8em;
634636
cursor: pointer;
635637
stroke-width: 0;
@@ -1300,3 +1302,8 @@ g.highcharts-series,
13001302
stroke: var(--highcharts-neutral-color-20);
13011303
stroke-width: 1px;
13021304
}
1305+
1306+
.highcharts-gantt-series .highcharts-partfill-overlay {
1307+
fill: hsla(0, 0%, 0%, 0.3);
1308+
stroke: hsla(0, 0%, 0%, 0.3);
1309+
}

es-modules/Accessibility/A11yI18n.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Accessibility module - internationalization support
44
*
5-
* (c) 2010-2024 Highsoft AS
5+
* (c) 2010-2025 Highsoft AS
66
* Author: Øystein Moseng
77
*
88
* License: www.highcharts.com/license

es-modules/Accessibility/Accessibility.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* *
22
*
3-
* (c) 2009-2024 Øystein Moseng
3+
* (c) 2009-2025 Øystein Moseng
44
*
55
* Accessibility module for Highcharts
66
*
@@ -76,7 +76,7 @@ class Accessibility {
7676
init(chart) {
7777
this.chart = chart;
7878
// Abort on old browsers
79-
if (!doc.addEventListener) {
79+
if (!doc?.addEventListener) {
8080
this.zombie = true;
8181
this.components = {};
8282
chart.renderTo.setAttribute('aria-hidden', true);

es-modules/Accessibility/AccessibilityComponent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* *
22
*
3-
* (c) 2009-2024 Øystein Moseng
3+
* (c) 2009-2025 Øystein Moseng
44
*
55
* Accessibility component class definition
66
*

es-modules/Accessibility/Components/AnnotationsA11y.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* *
22
*
3-
* (c) 2009-2024 Øystein Moseng
3+
* (c) 2009-2025 Øystein Moseng
44
*
55
* Annotations accessibility code.
66
*

es-modules/Accessibility/Components/ContainerComponent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* *
22
*
3-
* (c) 2009-2024 Øystein Moseng
3+
* (c) 2009-2025 Øystein Moseng
44
*
55
* Accessibility component for chart container.
66
*

es-modules/Accessibility/Components/InfoRegionsComponent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* *
22
*
3-
* (c) 2009-2024 Øystein Moseng
3+
* (c) 2009-2025 Øystein Moseng
44
*
55
* Accessibility component for chart info region and table.
66
*

es-modules/Accessibility/Components/LegendComponent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* *
22
*
3-
* (c) 2009-2024 Øystein Moseng
3+
* (c) 2009-2025 Øystein Moseng
44
*
55
* Accessibility component for chart legend.
66
*

es-modules/Accessibility/Components/MenuComponent.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* *
22
*
3-
* (c) 2009-2024 Øystein Moseng
3+
* (c) 2009-2025 Øystein Moseng
44
*
55
* Accessibility component for exporting menu.
66
*
@@ -214,6 +214,11 @@ class MenuComponent extends AccessibilityComponent {
214214
// enabled on chart
215215
validate: function () {
216216
return !!chart.exporting &&
217+
chart
218+
.options
219+
.exporting
220+
?.buttons
221+
?.contextButton.enabled !== false &&
217222
chart.options.exporting.enabled !== false &&
218223
chart.options.exporting.accessibility.enabled !==
219224
false;

0 commit comments

Comments
 (0)