playbook_ui 13.18.0.pre.alpha.thor93bargraphoptions2211 → 13.18.0.pre.alpha.useexactnodejsversionghactions2179
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 +1 -3
- data/dist/playbook-rails.js +1 -1
- 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: dd9ffb70b5d6626e4af5cfd9d7e9a97a7ba066d45cdf1d8cd2a97632417308b5
|
4
|
+
data.tar.gz: f8944632474383cfc0e0f30163544f72260be8dc92f98f36caf4978087c940dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03d8a9249cd5ccaf13ac744c74428340c0e45a05685d82b7195c9aea53ac0f40243d671db3acb480da70fd1ec1d2ff0450fdb411485ba5a71ffd483b4ebc30ed
|
7
|
+
data.tar.gz: 7fb0b5cc304d4223e1f2686fde547db1690f57805a2bcafcb1b817e54d8d45ed098612143f1395ce6915a6a22b73f76effcb9d6b4d29523bf66dc3584c870e44
|
@@ -19,7 +19,6 @@ type BarGraphProps = {
|
|
19
19
|
yAxisMax: number;
|
20
20
|
chartData: { name: string; data: number[] }[];
|
21
21
|
className?: string;
|
22
|
-
customOptions?: Partial<Highcharts.Options>;
|
23
22
|
id: string;
|
24
23
|
pointStart: number;
|
25
24
|
htmlOptions?: {[key: string]: string | number | boolean | (() => void)},
|
@@ -49,7 +48,6 @@ const BarGraph = ({
|
|
49
48
|
className = "pb_bar_graph",
|
50
49
|
colors,
|
51
50
|
htmlOptions = {},
|
52
|
-
customOptions = {},
|
53
51
|
id,
|
54
52
|
pointStart,
|
55
53
|
subTitle,
|
@@ -130,7 +128,7 @@ const BarGraph = ({
|
|
130
128
|
const [options, setOptions] = useState({});
|
131
129
|
|
132
130
|
useEffect(() => {
|
133
|
-
setOptions({ ...staticOptions
|
131
|
+
setOptions({ ...staticOptions });
|
134
132
|
}, [chartData]);
|
135
133
|
|
136
134
|
return (
|