playbook_ui 10.15.1 → 10.16.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cb62e7e4c4ce0582f7c7af3baec2eb4b35cb022ca13dc4b373e768f69bbbd32
|
4
|
+
data.tar.gz: 94a24d2c6cc426fcde35a23e33dafe44aec865a0913acba42fa716590eaaedb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9629982686a67ac50d4a4687ab2cb8194e5796982ba91459842efb615b2167fd92342cb3e60e645da24dc6291e944059248d38a50f85a8b746bd820b6f8d53ea
|
7
|
+
data.tar.gz: 05e31457c3ace5f05fa663d5031cc5d3367e0eb3b58f61c00df6b9d5df495ed91254335f74e10eaee5f807f611e70c3c408fb14248d60e2777dc93975ce3eb68
|
@@ -18,6 +18,7 @@ type CircleChartProps = {
|
|
18
18
|
dataLabelHtml: string,
|
19
19
|
dataLabels: boolean,
|
20
20
|
headerFormat: string,
|
21
|
+
height?: string,
|
21
22
|
id?: string,
|
22
23
|
innerSize: "sm" | "md" | "lg" | "none",
|
23
24
|
legend: boolean,
|
@@ -43,6 +44,7 @@ const CircleChart = (props: CircleChartProps) => {
|
|
43
44
|
dataLabelHtml = '<div>{point.name}</div>',
|
44
45
|
dataLabels = false,
|
45
46
|
headerFormat = null,
|
47
|
+
height,
|
46
48
|
id,
|
47
49
|
innerSize = 'md',
|
48
50
|
legend = false,
|
@@ -85,6 +87,7 @@ const CircleChart = (props: CircleChartProps) => {
|
|
85
87
|
dataLabelHtml,
|
86
88
|
dataLabels,
|
87
89
|
headerFormat,
|
90
|
+
height: height,
|
88
91
|
tooltipHtml,
|
89
92
|
useHTML: useHtml,
|
90
93
|
minPointSize,
|
@@ -25,6 +25,7 @@ module Playbook
|
|
25
25
|
prop :use_html, type: Playbook::Props::Boolean, default: false
|
26
26
|
prop :legend, type: Playbook::Props::Boolean, default: false
|
27
27
|
prop :title, default: ""
|
28
|
+
prop :height
|
28
29
|
prop :rounded, type: Playbook::Props::Boolean, default: false
|
29
30
|
prop :colors, type: Playbook::Props::Array,
|
30
31
|
default: []
|
@@ -67,6 +68,7 @@ module Playbook
|
|
67
68
|
borderWidth: rounded_border_width,
|
68
69
|
chartData: chart_data_formatted,
|
69
70
|
title: title,
|
71
|
+
height: height,
|
70
72
|
type: chart_type,
|
71
73
|
showInLegend: legend,
|
72
74
|
dataLabelHtml: data_label_html,
|
@@ -155,6 +155,7 @@ class pbChart {
|
|
155
155
|
text: this.defaults.title,
|
156
156
|
},
|
157
157
|
chart: {
|
158
|
+
height: this.defaults.height,
|
158
159
|
type: this.defaults.type,
|
159
160
|
events: {
|
160
161
|
render: (event) => alignBlockElement(event),
|
@@ -172,7 +173,6 @@ class pbChart {
|
|
172
173
|
format: this.defaults.dataLabelHtml,
|
173
174
|
},
|
174
175
|
showInLegend: this.defaults.showInLegend,
|
175
|
-
|
176
176
|
},
|
177
177
|
},
|
178
178
|
|
data/lib/playbook/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 10.
|
4
|
+
version: 10.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-11-
|
12
|
+
date: 2021-11-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|