@amcharts/amcharts5 5.10.0 → 5.10.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.
- package/.internal/charts/pie/PieSeries.js +1 -1
- package/.internal/charts/pie/PieSeries.js.map +1 -1
- package/.internal/charts/stock/toolbar/DateRangeSelector.js +1 -1
- package/.internal/charts/stock/toolbar/DateRangeSelector.js.map +1 -1
- package/.internal/charts/stock/toolbar/StockToolbarCSS.js +56 -56
- package/.internal/charts/stock/toolbar/StockToolbarCSS.js.map +1 -1
- package/.internal/charts/xy/axes/ValueAxis.d.ts +2 -0
- package/.internal/charts/xy/axes/ValueAxis.d.ts.map +1 -1
- package/.internal/charts/xy/axes/ValueAxis.js +12 -1
- package/.internal/charts/xy/axes/ValueAxis.js.map +1 -1
- package/.internal/charts/xy/series/LineSeries.d.ts.map +1 -1
- package/.internal/charts/xy/series/LineSeries.js +4 -0
- package/.internal/charts/xy/series/LineSeries.js.map +1 -1
- package/.internal/core/Registry.js +1 -1
- package/.internal/core/Registry.js.map +1 -1
- package/.internal/core/render/Circle.js +1 -1
- package/.internal/core/render/Circle.js.map +1 -1
- package/.internal/core/render/Label.d.ts +8 -0
- package/.internal/core/render/Label.d.ts.map +1 -1
- package/.internal/core/render/Label.js +3 -1
- package/.internal/core/render/Label.js.map +1 -1
- package/.internal/core/render/Text.d.ts +9 -1
- package/.internal/core/render/Text.d.ts.map +1 -1
- package/.internal/core/render/Text.js +27 -3
- package/.internal/core/render/Text.js.map +1 -1
- package/.internal/core/render/gradients/LinearGradient.d.ts.map +1 -1
- package/.internal/core/render/gradients/LinearGradient.js.map +1 -1
- package/.internal/core/util/Modal.js +17 -17
- package/.internal/core/util/Modal.js.map +1 -1
- package/.internal/plugins/exporting/Exporting.d.ts.map +1 -1
- package/.internal/plugins/exporting/Exporting.js +25 -6
- package/.internal/plugins/exporting/Exporting.js.map +1 -1
- package/.internal/plugins/exporting/ExportingCSS.d.ts.map +1 -1
- package/.internal/plugins/exporting/ExportingCSS.js +22 -36
- package/.internal/plugins/exporting/ExportingCSS.js.map +1 -1
- package/CHANGELOG.md +15 -0
- package/examples/javascript/flow-arc-horizontal/package.json +1 -1
- package/examples/javascript/flow-arc-vertical/package.json +1 -1
- package/examples/javascript/flow-chord/package.json +1 -1
- package/examples/javascript/flow-chord-directed/package.json +1 -1
- package/examples/javascript/flow-chord-non-ribbon/package.json +1 -1
- package/examples/javascript/flow-sankey/package.json +1 -1
- package/examples/javascript/gauge/package.json +1 -1
- package/examples/javascript/gauge-bands/package.json +1 -1
- package/examples/javascript/hierarchy-force-directed/package.json +1 -1
- package/examples/javascript/hierarchy-pack/package.json +1 -1
- package/examples/javascript/hierarchy-partition/package.json +1 -1
- package/examples/javascript/hierarchy-sunburst/package.json +1 -1
- package/examples/javascript/hierarchy-tree/package.json +1 -1
- package/examples/javascript/hierarchy-treemap/package.json +1 -1
- package/examples/javascript/hierarchy-voronoi-treemap/package.json +1 -1
- package/examples/javascript/jest/package.json +1 -1
- package/examples/javascript/json-pie/package.json +1 -1
- package/examples/javascript/json-xy/package.json +1 -1
- package/examples/javascript/map-animating-along-lines/package.json +1 -1
- package/examples/javascript/map-clustered-points/package.json +1 -1
- package/examples/javascript/map-day-and-night/package.json +1 -1
- package/examples/javascript/map-globe-rotate-to-country/package.json +1 -1
- package/examples/javascript/map-globe-with-projected-circles/package.json +1 -1
- package/examples/javascript/map-with-bubbles/package.json +1 -1
- package/examples/javascript/map-zoom-to-country/package.json +1 -1
- package/examples/javascript/misc-40-charts/package.json +1 -1
- package/examples/javascript/misc-microchart-grid/package.json +1 -1
- package/examples/javascript/pie-chart/package.json +1 -1
- package/examples/javascript/pie-donut-chart/package.json +1 -1
- package/examples/javascript/pie-variable-radius/package.json +1 -1
- package/examples/javascript/radar-column-iwatch-style/package.json +1 -1
- package/examples/javascript/radar-heat-map/package.json +1 -1
- package/examples/javascript/radar-line/package.json +1 -1
- package/examples/javascript/radar-time-line/package.json +1 -1
- package/examples/javascript/sliced-funnel/package.json +1 -1
- package/examples/javascript/sliced-pictorial-stacked/package.json +1 -1
- package/examples/javascript/sliced-pyramid/package.json +1 -1
- package/examples/javascript/stock-chart/package.json +1 -1
- package/examples/javascript/stock-chart-comparing-stocks/package.json +1 -1
- package/examples/javascript/stock-chart-data-granularity/package.json +1 -1
- package/examples/javascript/stock-chart-data-grouping/package.json +1 -1
- package/examples/javascript/stock-chart-intraday/package.json +1 -1
- package/examples/javascript/stock-chart-live/package.json +1 -1
- package/examples/javascript/stock-chart-volume-separate-panel/package.json +1 -1
- package/examples/javascript/venn-diagram/package.json +1 -1
- package/examples/javascript/wordcloud-with-data/package.json +1 -1
- package/examples/javascript/wordcloud-with-text/package.json +1 -1
- package/examples/javascript/xy-100-percent-stacked-column/package.json +1 -1
- package/examples/javascript/xy-animated-bullet-at-the-end-of-the-series/package.json +1 -1
- package/examples/javascript/xy-bubble/package.json +1 -1
- package/examples/javascript/xy-candlestick/package.json +1 -1
- package/examples/javascript/xy-clustered-column/package.json +1 -1
- package/examples/javascript/xy-column/package.json +1 -1
- package/examples/javascript/xy-comparing-series-google-analytics-style/package.json +1 -1
- package/examples/javascript/xy-data-grouping/package.json +1 -1
- package/examples/javascript/xy-draggable-range/package.json +1 -1
- package/examples/javascript/xy-drawing-series-with-mouse-or-touch/package.json +1 -1
- package/examples/javascript/xy-dumbbell plot/package.json +1 -1
- package/examples/javascript/xy-evenly-spaced-date-axis/package.json +1 -1
- package/examples/javascript/xy-line/package.json +1 -1
- package/examples/javascript/xy-line-highlight-on-legend-hover/package.json +1 -1
- package/examples/javascript/xy-live-data/package.json +1 -1
- package/examples/javascript/xy-multiple-synced-value-axes/package.json +1 -1
- package/examples/javascript/xy-ohlc/package.json +1 -1
- package/examples/javascript/xy-real-time-data-sorting/package.json +1 -1
- package/examples/javascript/xy-smoothed-line/package.json +1 -1
- package/examples/javascript/xy-stacked-and-clustered-column/package.json +1 -1
- package/examples/javascript/xy-stacked-column/package.json +1 -1
- package/examples/javascript/xy-stacked-step/package.json +1 -1
- package/examples/javascript/xy-stock/package.json +1 -1
- package/examples/javascript/xy-stock-comparing/package.json +1 -1
- package/examples/typescript/flow-arc-horizontal/package.json +1 -1
- package/examples/typescript/flow-arc-vertical/package.json +1 -1
- package/examples/typescript/flow-chord/package.json +1 -1
- package/examples/typescript/flow-chord-directed/package.json +1 -1
- package/examples/typescript/flow-chord-non-ribbon/package.json +1 -1
- package/examples/typescript/flow-sankey/package.json +1 -1
- package/examples/typescript/gauge/package.json +1 -1
- package/examples/typescript/gauge-bands/package.json +1 -1
- package/examples/typescript/hierarchy-force-directed/package.json +1 -1
- package/examples/typescript/hierarchy-pack/package.json +1 -1
- package/examples/typescript/hierarchy-partition/package.json +1 -1
- package/examples/typescript/hierarchy-sunburst/package.json +1 -1
- package/examples/typescript/hierarchy-tree/package.json +1 -1
- package/examples/typescript/hierarchy-treemap/package.json +1 -1
- package/examples/typescript/hierarchy-voronoi-treemap/package.json +1 -1
- package/examples/typescript/jest/package.json +1 -1
- package/examples/typescript/json-pie/package.json +1 -1
- package/examples/typescript/json-xy/package.json +1 -1
- package/examples/typescript/map-animating-along-lines/package.json +1 -1
- package/examples/typescript/map-clustered-points/package.json +1 -1
- package/examples/typescript/map-day-and-night/package.json +1 -1
- package/examples/typescript/map-globe-rotate-to-country/package.json +1 -1
- package/examples/typescript/map-globe-with-projected-circles/package.json +1 -1
- package/examples/typescript/map-with-bubbles/package.json +1 -1
- package/examples/typescript/map-zoom-to-country/package.json +1 -1
- package/examples/typescript/misc-40-charts/package.json +1 -1
- package/examples/typescript/misc-microchart-grid/package.json +1 -1
- package/examples/typescript/pie-chart/package.json +1 -1
- package/examples/typescript/pie-donut-chart/package.json +1 -1
- package/examples/typescript/pie-variable-radius/package.json +1 -1
- package/examples/typescript/radar-column-iwatch-style/package.json +1 -1
- package/examples/typescript/radar-heat-map/package.json +1 -1
- package/examples/typescript/radar-line/package.json +1 -1
- package/examples/typescript/radar-time-line/package.json +1 -1
- package/examples/typescript/sliced-funnel/package.json +1 -1
- package/examples/typescript/sliced-pictorial-stacked/package.json +1 -1
- package/examples/typescript/sliced-pyramid/package.json +1 -1
- package/examples/typescript/stock-chart/package.json +1 -1
- package/examples/typescript/stock-chart-comparing-stocks/package.json +1 -1
- package/examples/typescript/stock-chart-data-granularity/package.json +1 -1
- package/examples/typescript/stock-chart-data-grouping/package.json +1 -1
- package/examples/typescript/stock-chart-intraday/package.json +1 -1
- package/examples/typescript/stock-chart-live/package.json +1 -1
- package/examples/typescript/stock-chart-volume-separate-panel/package.json +1 -1
- package/examples/typescript/venn-diagram/package.json +1 -1
- package/examples/typescript/wordcloud-with-data/package.json +1 -1
- package/examples/typescript/wordcloud-with-text/package.json +1 -1
- package/examples/typescript/xy-100-percent-stacked-column/package.json +1 -1
- package/examples/typescript/xy-animated-bullet-at-the-end-of-the-series/package.json +1 -1
- package/examples/typescript/xy-bubble/package.json +1 -1
- package/examples/typescript/xy-candlestick/package.json +1 -1
- package/examples/typescript/xy-clustered-column/package.json +1 -1
- package/examples/typescript/xy-column/package.json +1 -1
- package/examples/typescript/xy-comparing-series-google-analytics-style/package.json +1 -1
- package/examples/typescript/xy-data-grouping/package.json +1 -1
- package/examples/typescript/xy-draggable-range/package.json +1 -1
- package/examples/typescript/xy-drawing-series-with-mouse-or-touch/package.json +1 -1
- package/examples/typescript/xy-dumbbell plot/package.json +1 -1
- package/examples/typescript/xy-evenly-spaced-date-axis/package.json +1 -1
- package/examples/typescript/xy-line/package.json +1 -1
- package/examples/typescript/xy-line-highlight-on-legend-hover/package.json +1 -1
- package/examples/typescript/xy-live-data/package.json +1 -1
- package/examples/typescript/xy-multiple-synced-value-axes/package.json +1 -1
- package/examples/typescript/xy-ohlc/package.json +1 -1
- package/examples/typescript/xy-real-time-data-sorting/package.json +1 -1
- package/examples/typescript/xy-smoothed-line/package.json +1 -1
- package/examples/typescript/xy-stacked-and-clustered-column/package.json +1 -1
- package/examples/typescript/xy-stacked-column/package.json +1 -1
- package/examples/typescript/xy-stacked-step/package.json +1 -1
- package/examples/typescript/xy-stock/package.json +1 -1
- package/examples/typescript/xy-stock-comparing/package.json +1 -1
- package/package.json +1 -1
|
@@ -13,50 +13,36 @@ export default function (element, root, _prefix) {
|
|
|
13
13
|
const ic = root.interfaceColors;
|
|
14
14
|
if (!rules) {
|
|
15
15
|
const disposer = new MultiDisposer([
|
|
16
|
-
/*new StyleRule(".${newPrefix}-menu", {
|
|
17
|
-
"opacity": "0.3",
|
|
18
|
-
"transition": "all 100ms ease-in-out",
|
|
19
|
-
}),
|
|
20
|
-
|
|
21
|
-
new StyleRule("div:hover .${newPrefix}-menu, .${newPrefix}-menu.active", {
|
|
22
|
-
"opacity": "0.9",
|
|
23
|
-
}),*/
|
|
24
16
|
new StyleRule(element, ".am5exporting-menu", {
|
|
25
17
|
"color": ic.get("secondaryButtonText").toCSS(),
|
|
26
18
|
"font-size": "0.8em"
|
|
27
|
-
}),
|
|
19
|
+
}, root.nonce),
|
|
28
20
|
new StyleRule(element, ".am5exporting-menu *", {
|
|
29
21
|
"box-sizing": "border-box",
|
|
30
22
|
"transition": "all 100ms ease-in-out",
|
|
31
|
-
}),
|
|
23
|
+
}, root.nonce),
|
|
32
24
|
new StyleRule(element, ".am5exporting-menu a", {
|
|
33
25
|
"display": "block",
|
|
34
26
|
"cursor": "pointer"
|
|
35
|
-
}),
|
|
27
|
+
}, root.nonce),
|
|
36
28
|
new StyleRule(element, ".am5exporting-type-separator", {
|
|
37
29
|
"color": ic.get("disabled").toCSS(),
|
|
38
30
|
"border-bottom": "1px solid " + ic.get("secondaryButtonDown").toCSS(),
|
|
39
|
-
}),
|
|
31
|
+
}, root.nonce),
|
|
40
32
|
new StyleRule(element, ".am5exporting-label-alt", {
|
|
41
33
|
"color": ic.get("disabled").toCSS(),
|
|
42
34
|
"font-size": "0.8em"
|
|
43
|
-
}),
|
|
35
|
+
}, root.nonce),
|
|
44
36
|
new StyleRule(element, ".am5exporting-menu .am5exporting-type-separator a", {
|
|
45
37
|
"cursor": "default"
|
|
46
|
-
}),
|
|
38
|
+
}, root.nonce),
|
|
47
39
|
new StyleRule(element, ".am5exporting-menu .am5exporting-type-separator a:hover", {
|
|
48
40
|
"background": "initial"
|
|
49
|
-
}),
|
|
41
|
+
}, root.nonce),
|
|
50
42
|
new StyleRule(element, ".am5exporting-menu", {
|
|
51
43
|
"position": "absolute",
|
|
52
44
|
"z-index": "10"
|
|
53
|
-
}),
|
|
54
|
-
// new StyleRule(element, ".am5exporting-list:before", {
|
|
55
|
-
// // "display": "block",
|
|
56
|
-
// "width": "20px",
|
|
57
|
-
// "height": "20px",
|
|
58
|
-
// "content": "url(\"data:image/svg+xml; utf8, <svg fill=\"#f00\" height=\"20\" width=\"20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M6 10a2 2 0 11-4 0 2 2 0 014 0zM12 10a2 2 0 11-4 0 2 2 0 014 0zM16 12a2 2 0 100-4 2 2 0 000 4z\"/></svg>\")"
|
|
59
|
-
// }),
|
|
45
|
+
}, root.nonce),
|
|
60
46
|
new StyleRule(element, ".am5exporting-icon", {
|
|
61
47
|
"width": "30px",
|
|
62
48
|
"height": "26px",
|
|
@@ -67,14 +53,14 @@ export default function (element, root, _prefix) {
|
|
|
67
53
|
"opacity": "0.5",
|
|
68
54
|
"background": "rgba(255, 255, 255, 0.001)",
|
|
69
55
|
"background-opacity": "0"
|
|
70
|
-
}),
|
|
56
|
+
}, root.nonce),
|
|
71
57
|
new StyleRule(element, ".am5exporting-icon:focus, .am5exporting-icon:hover, .am5exporting-menu-open .am5exporting-icon", {
|
|
72
58
|
"background": ic.get("secondaryButtonHover").toCSS(),
|
|
73
59
|
"opacity": "1"
|
|
74
|
-
}),
|
|
60
|
+
}, root.nonce),
|
|
75
61
|
new StyleRule(element, ".am5exporting-menu path", {
|
|
76
62
|
"fill": ic.get("secondaryButtonText").toCSS()
|
|
77
|
-
}),
|
|
63
|
+
}, root.nonce),
|
|
78
64
|
new StyleRule(element, ".am5exporting-list", {
|
|
79
65
|
"display": "none",
|
|
80
66
|
"list-style": "none",
|
|
@@ -84,35 +70,35 @@ export default function (element, root, _prefix) {
|
|
|
84
70
|
"padding": "5px 0",
|
|
85
71
|
"border": "1px solid " + ic.get("secondaryButtonStroke").toCSS(),
|
|
86
72
|
"border-radius": "3px"
|
|
87
|
-
}),
|
|
73
|
+
}, root.nonce),
|
|
88
74
|
new StyleRule(element, ".am5exporting-menu-open .am5exporting-list", {
|
|
89
75
|
"display": "block"
|
|
90
|
-
}),
|
|
91
|
-
new StyleRule(element, ".am5exporting-item", {}),
|
|
76
|
+
}, root.nonce),
|
|
77
|
+
new StyleRule(element, ".am5exporting-item", {}, root.nonce),
|
|
92
78
|
new StyleRule(element, ".am5exporting-item a", {
|
|
93
79
|
"padding": "3px 15px",
|
|
94
|
-
}),
|
|
80
|
+
}, root.nonce),
|
|
95
81
|
new StyleRule(element, ".am5exporting-item a:hover, .am5exporting-item a.am5exporting-item-active", {
|
|
96
82
|
"background": ic.get("secondaryButtonHover").toCSS(),
|
|
97
|
-
}),
|
|
83
|
+
}, root.nonce),
|
|
98
84
|
new StyleRule(element, ".am5exporting-menu.am5exporting-align-left, .am5exporting-icon.am5exporting-align-left, .am5exporting-list.am5exporting-align-left", {
|
|
99
85
|
"left": "0"
|
|
100
|
-
}),
|
|
86
|
+
}, root.nonce),
|
|
101
87
|
new StyleRule(element, ".am5exporting-menu.am5exporting-align-right, .am5exporting-icon.am5exporting-align-right, .am5exporting-list.am5exporting-align-right", {
|
|
102
88
|
"right": "0"
|
|
103
|
-
}),
|
|
89
|
+
}, root.nonce),
|
|
104
90
|
new StyleRule(element, ".am5exporting-menu.am5exporting-valign-top, .am5exporting-icon.am5exporting-valign-top, .am5exporting-list.am5exporting-align-top", {
|
|
105
91
|
"top": "0"
|
|
106
|
-
}),
|
|
92
|
+
}, root.nonce),
|
|
107
93
|
new StyleRule(element, ".am5exporting-menu.am5exporting-valign-bottom, .am5exporting-icon.am5exporting-valign-bottom, .am5exporting-list.am5exporting-align-bottom", {
|
|
108
94
|
"bottom": "0"
|
|
109
|
-
}),
|
|
95
|
+
}, root.nonce),
|
|
110
96
|
new StyleRule(element, ".am5exporting-list.am5exporting-align-left", {
|
|
111
97
|
"margin-left": "40px"
|
|
112
|
-
}),
|
|
98
|
+
}, root.nonce),
|
|
113
99
|
new StyleRule(element, ".am5exporting-list.am5exporting-align-right", {
|
|
114
100
|
"margin-right": "40px"
|
|
115
|
-
}),
|
|
101
|
+
}, root.nonce),
|
|
116
102
|
// new StyleRule(element, ".${newPrefix}-menu-level-0", {
|
|
117
103
|
// "position": "absolute",
|
|
118
104
|
// "top": "5px",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportingCSS.js","sourceRoot":"","sources":["../../../../../src/.internal/plugins/exporting/ExportingCSS.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACjD,OAAO,EAAE,aAAa,EAAa,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAErF;;GAEG;AACH,IAAI,KAAkC,CAAC;AAEvC;;GAEG;AACH,MAAM,CAAC,OAAO,WAAU,OAA0B,EAAE,IAAU,EAAE,OAAgB;IAC/E,8CAA8C;IAE9C,yCAAyC;IACzC,MAAM,EAAE,GAAG,IAAI,CAAC,eAAe,CAAC;IAEhC,IAAI,CAAC,KAAK,EAAE;QACX,MAAM,QAAQ,GAAG,IAAI,aAAa,CAAC;YAElC
|
|
1
|
+
{"version":3,"file":"ExportingCSS.js","sourceRoot":"","sources":["../../../../../src/.internal/plugins/exporting/ExportingCSS.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACjD,OAAO,EAAE,aAAa,EAAa,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAErF;;GAEG;AACH,IAAI,KAAkC,CAAC;AAEvC;;GAEG;AACH,MAAM,CAAC,OAAO,WAAU,OAA0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AA2B;YAC3B,iBAAiB;YACjB,mBAAmB;YACnB,KAAK;SACL,CAAC,CAAC;QAEH,KAAK,GAAG,IAAI,eAAe,CAAC,GAAG,EAAE;YAChC,KAAK,GAAG,SAAS,CAAC;YAClB,QAAQ,CAAC,OAAO,EAAE,CAAC;QACpB,CAAC,CAAC,CAAC;KACH;IAED,OAAO,KAAK,CAAC,SAAS,EAAE,CAAC;AAC1B,CAAC","sourcesContent":["import type { Root } from \"../../core/Root\"\n\nimport { StyleRule } from \"../../core/util/Utils\"\nimport { MultiDisposer, IDisposer, CounterDisposer } from \"../../core/util/Disposer\";\n\n/**\n * @ignore\n */\nlet rules: CounterDisposer | undefined;\n\n/**\n * @ignore\n */\nexport default function(element: ShadowRoot | null, root: Root, _prefix?: string): IDisposer {\n\t//const newPrefix = (prefix ? prefix : \"am5\");\n\n\t//let colorSet = new InterfaceColorSet();\n\tconst ic = root.interfaceColors;\n\n\tif (!rules) {\n\t\tconst disposer = new MultiDisposer([\n\n\t\t\tnew StyleRule(element, \".am5exporting-menu\", {\n\t\t\t\t\"color\": ic.get(\"secondaryButtonText\")!.toCSS(),\n\t\t\t\t\"font-size\": \"0.8em\"\n\t\t\t}, root.nonce),\n\n\t\t\tnew StyleRule(element, \".am5exporting-menu *\", {\n\t\t\t\t\"box-sizing\": \"border-box\",\n\t\t\t\t\"transition\": \"all 100ms ease-in-out\",\n\t\t\t}, root.nonce),\n\n\t\t\tnew StyleRule(element, \".am5exporting-menu a\", {\n\t\t\t\t\"display\": \"block\",\n\t\t\t\t\"cursor\": \"pointer\"\n\t\t\t}, root.nonce),\n\n\t\t\tnew StyleRule(element, \".am5exporting-type-separator\", {\n\t\t\t\t\"color\": ic.get(\"disabled\")!.toCSS(),\n\t\t\t\t\"border-bottom\": \"1px solid \" + ic.get(\"secondaryButtonDown\")!.toCSS(),\n\t\t\t}, root.nonce),\n\n\t\t\tnew StyleRule(element, \".am5exporting-label-alt\", {\n\t\t\t\t\"color\": ic.get(\"disabled\")!.toCSS(),\n\t\t\t\t\"font-size\": \"0.8em\"\n\t\t\t}, root.nonce),\n\n\t\t\tnew StyleRule(element, \".am5exporting-menu .am5exporting-type-separator a\", {\n\t\t\t\t\"cursor\": \"default\"\n\t\t\t}, root.nonce),\n\t\t\tnew StyleRule(element, \".am5exporting-menu .am5exporting-type-separator a:hover\", {\n\t\t\t\t\"background\": \"initial\"\n\t\t\t}, root.nonce),\n\n\t\t\tnew StyleRule(element, \".am5exporting-menu\", {\n\t\t\t\t\"position\": \"absolute\",\n\t\t\t\t\"z-index\": \"10\"\n\t\t\t}, root.nonce),\n\n\t\t\tnew StyleRule(element, \".am5exporting-icon\", {\n\t\t\t\t\"width\": \"30px\",\n\t\t\t\t\"height\": \"26px\",\n\t\t\t\t\"position\": \"absolute\",\n\t\t\t\t\"margin\": \"5px\",\n\t\t\t\t\"padding\": \"3px 5px\",\n\t\t\t\t\"border-radius\": \"3px\",\n\t\t\t\t\"opacity\": \"0.5\",\n\t\t\t\t\"background\": \"rgba(255, 255, 255, 0.001)\",\n\t\t\t\t\"background-opacity\": \"0\"\n\t\t\t}, root.nonce),\n\n\t\t\tnew StyleRule(element, \".am5exporting-icon:focus, .am5exporting-icon:hover, .am5exporting-menu-open .am5exporting-icon\", {\n\t\t\t\t\"background\": ic.get(\"secondaryButtonHover\")!.toCSS(),\n\t\t\t\t\"opacity\": \"1\"\n\t\t\t}, root.nonce),\n\n\t\t\tnew StyleRule(element, \".am5exporting-menu path\", {\n\t\t\t\t\"fill\": ic.get(\"secondaryButtonText\")!.toCSS()\n\t\t\t}, root.nonce),\n\n\t\t\tnew StyleRule(element, \".am5exporting-list\", {\n\t\t\t\t\"display\": \"none\",\n\t\t\t\t\"list-style\": \"none\",\n\t\t\t\t\"list-style-type\": \"none\",\n\t\t\t\t\"margin\": \"5px\",\n\t\t\t\t\"background\": ic.get(\"secondaryButton\")!.toCSS(),\n\t\t\t\t\"padding\": \"5px 0\",\n\t\t\t\t\"border\": \"1px solid \" + ic.get(\"secondaryButtonStroke\")!.toCSS(),\n\t\t\t\t\"border-radius\": \"3px\"\n\t\t\t}, root.nonce),\n\n\t\t\tnew StyleRule(element, \".am5exporting-menu-open .am5exporting-list\", {\n\t\t\t\t\"display\": \"block\"\n\t\t\t}, root.nonce),\n\n\t\t\tnew StyleRule(element, \".am5exporting-item\", {\n\t\t\t}, root.nonce),\n\n\t\t\tnew StyleRule(element, \".am5exporting-item a\", {\n\t\t\t\t\"padding\": \"3px 15px\",\n\t\t\t}, root.nonce),\n\n\t\t\tnew StyleRule(element, \".am5exporting-item a:hover, .am5exporting-item a.am5exporting-item-active\", {\n\t\t\t\t\"background\": ic.get(\"secondaryButtonHover\")!.toCSS(),\n\t\t\t}, root.nonce),\n\n\t\t\tnew StyleRule(element, \".am5exporting-menu.am5exporting-align-left, .am5exporting-icon.am5exporting-align-left, .am5exporting-list.am5exporting-align-left\", {\n\t\t\t\t\"left\": \"0\"\n\t\t\t}, root.nonce),\n\n\t\t\tnew StyleRule(element, \".am5exporting-menu.am5exporting-align-right, .am5exporting-icon.am5exporting-align-right, .am5exporting-list.am5exporting-align-right\", {\n\t\t\t\t\"right\": \"0\"\n\t\t\t}, root.nonce),\n\n\t\t\tnew StyleRule(element, \".am5exporting-menu.am5exporting-valign-top, .am5exporting-icon.am5exporting-valign-top, .am5exporting-list.am5exporting-align-top\", {\n\t\t\t\t\"top\": \"0\"\n\t\t\t}, root.nonce),\n\n\t\t\tnew StyleRule(element, \".am5exporting-menu.am5exporting-valign-bottom, .am5exporting-icon.am5exporting-valign-bottom, .am5exporting-list.am5exporting-align-bottom\", {\n\t\t\t\t\"bottom\": \"0\"\n\t\t\t}, root.nonce),\n\n\t\t\tnew StyleRule(element, \".am5exporting-list.am5exporting-align-left\", {\n\t\t\t\t\"margin-left\": \"40px\"\n\t\t\t}, root.nonce),\n\n\t\t\tnew StyleRule(element, \".am5exporting-list.am5exporting-align-right\", {\n\t\t\t\t\"margin-right\": \"40px\"\n\t\t\t}, root.nonce),\n\n\t\t\t// new StyleRule(element, \".${newPrefix}-menu-level-0\", {\n\t\t\t// \t\"position\": \"absolute\",\n\t\t\t// \t\"top\": \"5px\",\n\t\t\t// \t\"right\": \"5px\",\n\t\t\t// })\n\t\t]);\n\n\t\trules = new CounterDisposer(() => {\n\t\t\trules = undefined;\n\t\t\tdisposer.dispose();\n\t\t});\n\t}\n\n\treturn rules.increment();\n}"]}
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,21 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
|
|
|
5
5
|
Please note, that this project, while following numbering syntax, it DOES NOT
|
|
6
6
|
adhere to [Semantic Versioning](http://semver.org/spec/v2.0.0.html) rules.
|
|
7
7
|
|
|
8
|
+
## [5.10.1] - 2024-08-09
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- `fillGradient` setting added to `Label`.
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
- Exporting a PDF will now check image size and will not scale it up to fit page size if it's smaller. It will still scale dowwn the image to fit in the page.
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
- Memory leak with axis ranges on `LineSeries` fixed.
|
|
18
|
+
- `PieSeries` tick was not visible if pie had two equal slices.
|
|
19
|
+
- `root.nonce` was not being added to all dynamically-loaded stylesheets.
|
|
20
|
+
- A stack overflow could occur when auto-zooming a `ValueAxis` in some very rare cases.
|
|
21
|
+
|
|
22
|
+
|
|
8
23
|
## [5.10.0] - 2024-07-22
|
|
9
24
|
|
|
10
25
|
### Added
|