playbook_ui 10.15.1 → 10.16.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7ee8425528b21e2bb63767bc76445975be02da3384f3017cb6f5e50173d4e71
4
- data.tar.gz: b4babf980f0b1c23f47806960681e3be2cd51ba84cde87e3db323a44602e6219
3
+ metadata.gz: 8cb62e7e4c4ce0582f7c7af3baec2eb4b35cb022ca13dc4b373e768f69bbbd32
4
+ data.tar.gz: 94a24d2c6cc426fcde35a23e33dafe44aec865a0913acba42fa716590eaaedb2
5
5
  SHA512:
6
- metadata.gz: 8b826a1b1925b42c4d3dd31b28f43b2ba2db9a9acfd0063b3c40c6a35219d3a41489d8d0b0450b49fd88aebb2bafd684e3db6be7725ce0e6c61c8468bea8565b
7
- data.tar.gz: b70a63ba9e9b7f031b633e96637685b6baed8c271df59e5cc0808de55066523be89ef860065557f22abf3e2ab4dafba633cc8feff0c044ae74888aa4c6bda34f
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
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- PREVIOUS_VERSION = "10.15.0"
5
- VERSION = "10.15.1"
4
+ PREVIOUS_VERSION = "10.15.1"
5
+ VERSION = "10.16.0"
6
6
  end
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.15.1
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-29 00:00:00.000000000 Z
12
+ date: 2021-11-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack