playbook_ui 13.12.0.pre.alpha.play1051highchartstest1567 → 13.12.0.pre.alpha.play1051testhighcharts1574
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.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.tsx +2 -2
- data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx +5 -5
- data/app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.ts +207 -459
- data/app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.ts +209 -207
- data/app/pb_kits/playbook/pb_gauge/_gauge.tsx +8 -8
- data/app/pb_kits/playbook/pb_line_graph/_line_graph.tsx +3 -3
- data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.tsx +106 -105
- data/app/pb_kits/playbook/playbook-doc.js +4 -4
- data/app/pb_kits/playbook/playbook-rails-react-bindings.js +4 -4
- data/dist/playbook-rails.js +7 -7
- data/lib/playbook/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 742b34880d0bdb3442c95207474d669ce1002aaeabe691ce401cbc298dbc860b
|
4
|
+
data.tar.gz: 8e9942e5fa926d6663d24cc4a10ac8bf2f323b7c8022f64ac81161f1f582c1c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62f9f6ec0051b7f0998ee9aa750dee206d523eed5eb093c2dc77f85f43b9a0f8adf48e4b4c365bd6a4594335dd813eb7265a46c9b4e1fbbe8182153c413c6eaf
|
7
|
+
data.tar.gz: 4c7de0cae6eba4f8ddfa8b3d2a7af4c8097cd8ca93fd724d4b9c39a0665a76dfe626e43bc5e92c98b2e71f6f6d5c7f5258680f7cd08b69a24c2f23789df59972
|
@@ -96,7 +96,7 @@ const BarGraph = ({
|
|
96
96
|
colors:
|
97
97
|
colors !== undefined && colors.length > 0
|
98
98
|
? mapColors(colors)
|
99
|
-
: highchartsTheme.colors,
|
99
|
+
: highchartsTheme(window.Highcharts).colors,
|
100
100
|
plotOptions: {
|
101
101
|
series: {
|
102
102
|
pointStart: pointStart,
|
@@ -125,7 +125,7 @@ const BarGraph = ({
|
|
125
125
|
clearInterval(interval)
|
126
126
|
dark
|
127
127
|
? window.Highcharts.setOptions(highchartsDarkTheme(window.Highcharts))
|
128
|
-
: window.Highcharts.setOptions(highchartsTheme)
|
128
|
+
: window.Highcharts.setOptions(highchartsTheme(window.Highcharts))
|
129
129
|
setIsHighchartsLoaded(true)
|
130
130
|
}
|
131
131
|
}, 0)
|
@@ -17,8 +17,8 @@ type CircleChartProps = {
|
|
17
17
|
children?: Node,
|
18
18
|
className?: string,
|
19
19
|
colors?: string[],
|
20
|
-
dark?:
|
21
|
-
data?:
|
20
|
+
dark?: Boolean,
|
21
|
+
data?: Object,
|
22
22
|
dataLabelHtml?: string,
|
23
23
|
dataLabels?: boolean,
|
24
24
|
height?: string,
|
@@ -125,7 +125,7 @@ const CircleChart = ({
|
|
125
125
|
plotOptions: {
|
126
126
|
pie: {
|
127
127
|
colors:
|
128
|
-
colors.length > 0 ? mapColors(colors) : highchartsTheme.colors,
|
128
|
+
colors.length > 0 ? mapColors(colors) : highchartsTheme(window.Highcharts).colors,
|
129
129
|
dataLabels: {
|
130
130
|
enabled: dataLabels,
|
131
131
|
connectorShape: "straight",
|
@@ -156,8 +156,8 @@ const CircleChart = ({
|
|
156
156
|
clearInterval(interval)
|
157
157
|
dark
|
158
158
|
? window.Highcharts.setOptions(highchartsDarkTheme(window.Highcharts))
|
159
|
-
: window.Highcharts.setOptions(highchartsTheme)
|
160
|
-
|
159
|
+
: window.Highcharts.setOptions(highchartsTheme(window.Highcharts))
|
160
|
+
|
161
161
|
highchartsMore(window.Highcharts);
|
162
162
|
|
163
163
|
window.Highcharts.setOptions({
|