playbook_ui 14.22.0.pre.alpha.PLAY22958843 → 14.22.0.pre.alpha.customheaderat8564

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.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/Components/CustomCell.tsx +7 -6
  3. data/app/pb_kits/playbook/pb_advanced_table/Components/SubRowHeaderRow.tsx +11 -32
  4. data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.tsx +0 -6
  5. data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +8 -10
  6. data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +1 -2
  7. data/app/pb_kits/playbook/pb_advanced_table/table_row.html.erb +2 -2
  8. data/app/pb_kits/playbook/pb_badge/_badge.scss +6 -5
  9. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.jsx +15 -33
  10. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.jsx +72 -0
  11. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.md +6 -0
  12. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx +15 -33
  13. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.jsx +22 -52
  14. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_horizontal.jsx +16 -12
  15. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend.jsx +15 -31
  16. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_non_clickable.jsx +16 -39
  17. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.jsx +38 -86
  18. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx +15 -32
  19. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_pb_styles.jsx +64 -0
  20. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_pb_styles.md +1 -0
  21. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.jsx +22 -72
  22. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.md +1 -1
  23. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.jsx +15 -31
  24. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx +16 -37
  25. data/app/pb_kits/playbook/pb_bar_graph/docs/_description.md +3 -1
  26. data/app/pb_kits/playbook/pb_bar_graph/docs/example.yml +3 -1
  27. data/app/pb_kits/playbook/pb_bar_graph/docs/index.js +2 -0
  28. data/app/pb_kits/playbook/pb_circle_chart/circleChartTheme.ts +1 -36
  29. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.jsx +26 -71
  30. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.jsx +16 -29
  31. data/app/pb_kits/playbook/pb_circle_chart/docs/{_circle_chart_colors_rails.md → _circle_chart_colors.md} +1 -1
  32. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.jsx +16 -28
  33. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.md +2 -4
  34. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.jsx +15 -23
  35. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_inner_sizes.jsx +51 -81
  36. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.jsx +75 -103
  37. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.md +6 -3
  38. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_live_data.jsx +13 -19
  39. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_pb_styles.jsx +38 -0
  40. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_pb_styles.md +1 -0
  41. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.jsx +17 -30
  42. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx +20 -34
  43. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_legend_kit.jsx +20 -29
  44. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx +20 -28
  45. data/app/pb_kits/playbook/pb_circle_chart/docs/example.yml +1 -0
  46. data/app/pb_kits/playbook/pb_circle_chart/docs/index.js +1 -0
  47. data/app/pb_kits/playbook/pb_table/_table.tsx +4 -4
  48. data/app/pb_kits/playbook/pb_table/docs/_table_sticky_columns.jsx +8 -8
  49. data/app/pb_kits/playbook/pb_table/docs/_table_sticky_columns_react.md +1 -1
  50. data/app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns.jsx +12 -12
  51. data/app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns_react.md +3 -3
  52. data/app/pb_kits/playbook/pb_table/docs/_table_sticky_right_columns.jsx +12 -12
  53. data/app/pb_kits/playbook/pb_table/docs/_table_sticky_right_columns_react.md +3 -3
  54. data/app/pb_kits/playbook/pb_tooltip/docs/example.yml +0 -1
  55. data/app/pb_kits/playbook/pb_tooltip/index.js +36 -59
  56. data/app/pb_kits/playbook/pb_tooltip/tooltip.rb +2 -9
  57. data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +0 -1
  58. data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +0 -3
  59. data/dist/chunks/{_typeahead-CuwY9iVi.js → _typeahead-B7FRYVtS.js} +3 -3
  60. data/dist/chunks/_weekday_stacked-CEJcIpjK.js +45 -0
  61. data/dist/chunks/{lib-DYpq0k8j.js → lib-Carqm8Ip.js} +1 -1
  62. data/dist/chunks/{pb_form_validation-BUOKwfvW.js → pb_form_validation-DqRmTS8m.js} +1 -1
  63. data/dist/chunks/vendor.js +1 -1
  64. data/dist/menu.yml +8 -68
  65. data/dist/playbook-doc.js +2 -2
  66. data/dist/playbook-rails-react-bindings.js +1 -1
  67. data/dist/playbook-rails.js +1 -1
  68. data/dist/playbook.css +1 -1
  69. data/lib/playbook/version.rb +1 -1
  70. metadata +15 -20
  71. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_custom_sort.jsx +0 -65
  72. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_custom_sort.md +0 -5
  73. data/app/pb_kits/playbook/pb_bar_graph/barGraphTheme.ts +0 -106
  74. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.md +0 -3
  75. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors_react.md +0 -2
  76. data/app/pb_kits/playbook/pb_circle_chart/docs/_description.md +0 -1
  77. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open.html.erb +0 -14
  78. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open_rails.md +0 -1
  79. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_preserve_input.html.erb +0 -18
  80. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_preserve_input_rails.md +0 -1
  81. data/dist/chunks/_circle_chart-BjcInQNv.js +0 -1
  82. data/dist/chunks/_weekday_stacked-C3EeTZ8D.js +0 -45
  83. /data/app/pb_kits/playbook/pb_tooltip/docs/{_tooltip_click_open_react.md → _tooltip_click_open.md} +0 -0
  84. /data/app/pb_kits/playbook/pb_typeahead/docs/{_typeahead_preserve_input_react.md → _typeahead_preserve_input.md} +0 -0
@@ -5,7 +5,9 @@ export { default as BarGraphLegendNonClickable } from './_bar_graph_legend_non_c
5
5
  export { default as BarGraphHeight } from './_bar_graph_height.jsx'
6
6
  export { default as BarGraphSpline } from './_bar_graph_spline.jsx'
7
7
  export { default as BarGraphColors } from './_bar_graph_colors.jsx'
8
+ export { default as BarGraphCustom } from './_bar_graph_custom.jsx'
8
9
  export { default as BarGraphStacked } from './_bar_graph_stacked.jsx'
9
10
  export { default as BarGraphNegativeNumbers } from './_bar_graph_negative_numbers.jsx'
10
11
  export { default as BarGraphSecondaryYAxis } from './_bar_graph_secondary_y_axis.jsx'
11
12
  export { default as BarGraphHorizontal } from './_bar_graph_horizontal.jsx'
13
+ export { default as BarGraphPbStyles } from './_bar_graph_pb_styles.jsx'
@@ -2,15 +2,7 @@ import colors from '../tokens/exports/_colors.module.scss'
2
2
  import typography from '../tokens/exports/_typography.module.scss'
3
3
 
4
4
  const circleChartTheme = {
5
- title: {
6
- text: "",
7
- style: {
8
- color: colors.text_lt_default,
9
- fontFamily: typography.font_family_base,
10
- fontWeight: typography.bold,
11
- fontSize: typography.heading_3,
12
- },
13
- },
5
+ title: { text: "" },
14
6
  chart: {
15
7
  type: "pie",
16
8
  },
@@ -40,16 +32,6 @@ const circleChartTheme = {
40
32
  pie: {
41
33
  dataLabels: {
42
34
  enabled: false,
43
- connectorShape: "straight",
44
- connectorWidth: 3,
45
- format: "<div>{point.name}</div>",
46
- style: {
47
- fontFamily: typography.font_family_base,
48
- fontSize: typography.text_smaller,
49
- color: colors.text_lt_light,
50
- fontWeight: typography.regular,
51
- textOutline: '2px $white',
52
- },
53
35
  },
54
36
  innerSize: '50%',
55
37
  borderColor: "",
@@ -65,23 +47,6 @@ const circleChartTheme = {
65
47
  ],
66
48
  },
67
49
  },
68
- legend: {
69
- layout: 'horizontal',
70
- align: 'center',
71
- verticalAlign: 'bottom',
72
- itemStyle: {
73
- fontFamily: typography.font_family_base,
74
- color: colors.text_lt_light,
75
- fontWeight: typography.regular,
76
- fontSize: typography.text_smaller,
77
- },
78
- itemHoverStyle: {
79
- color: colors.text_lt_default,
80
- },
81
- itemHiddenStyle: {
82
- color: colors.text_lt_lighter,
83
- },
84
- },
85
50
  credits: { enabled: false }
86
51
  }
87
52
 
@@ -1,88 +1,43 @@
1
1
  import React from 'react'
2
- import circleChartTheme from '../circleChartTheme'
3
- import Highcharts from "highcharts"
4
- import HighchartsReact from "highcharts-react-official"
2
+
3
+ import CircleChart from '../_circle_chart'
5
4
  import Title from '../../pb_title/_title'
6
5
 
7
6
  const dataWithABlock = [
8
7
  {
9
8
  name: 'Waiting for Calls',
10
- y: 41,
9
+ value: 41,
11
10
  },
12
11
  {
13
12
  name: 'On Call',
14
- y: 49,
13
+ value: 49,
15
14
  },
16
15
  {
17
16
  name: 'After Call',
18
- y: 10,
17
+ value: 10,
19
18
  },
20
19
  ]
21
20
 
22
- const CircleChartBlock = (props) => {
23
- const chartOptions = {
24
- series: [{
25
- data: dataWithABlock,
26
- innerSize: '100%',
27
- borderWidth: 20,
28
- borderColor: null,
29
- }],
30
- chart: {
31
- events: {
32
- render: function() {
33
- const chart = this;
34
- const blockElement = document.querySelector('.pb-circle-chart-block');
35
- if (blockElement) {
36
- blockElement.style.width = chart.chartWidth + 'px';
37
- blockElement.style.height = chart.chartHeight + 'px';
38
- }
39
- },
40
- redraw: function() {
41
- const chart = this;
42
- const blockElement = document.querySelector('.pb-circle-chart-block');
43
- if (blockElement) {
44
- blockElement.style.width = chart.chartWidth + 'px';
45
- blockElement.style.height = chart.chartHeight + 'px';
46
- }
47
- }
48
- }
49
- }
50
- }
51
-
52
- const options = Highcharts.merge({}, circleChartTheme, chartOptions)
21
+ const CircleChartBlock = (props) => (
53
22
 
54
- return (
55
- <div>
56
- <div style={{ position: 'relative' }}>
57
- <HighchartsReact
58
- highcharts={Highcharts}
59
- options={options}
60
- />
61
- <div
62
- className="pb-circle-chart-block"
63
- style={{
64
- position: 'absolute',
65
- top: 0,
66
- left: 0,
67
- display: 'flex',
68
- justifyContent: 'center',
69
- alignItems: 'center',
70
- zIndex: 1,
71
- textAlign: 'center',
72
- pointerEvents: 'none'
73
- }}
74
- >
75
- <Title
76
- size={1}
77
- tag="div"
78
- {...props}
79
- >
80
- {'83'}
81
- </Title>
82
- </div>
83
- </div>
84
- </div>
85
- )
86
- }
23
+ <div>
24
+ <CircleChart
25
+ chartData={dataWithABlock}
26
+ id="chart-with-a-block"
27
+ innerSize="lg"
28
+ marginTop="xl"
29
+ rounded
30
+ {...props}
31
+ >
32
+ <Title
33
+ size={1}
34
+ tag="div"
35
+ {...props}
36
+ >
37
+ {'83'}
38
+ </Title>
39
+ </CircleChart>
40
+ </div>
41
+ )
87
42
 
88
- export default CircleChartBlock
43
+ export default CircleChartBlock
@@ -1,44 +1,31 @@
1
1
  import React from 'react'
2
- import circleChartTheme from '../circleChartTheme'
3
- import Highcharts from "highcharts"
4
- import HighchartsReact from "highcharts-react-official"
5
- import colors from '../../tokens/exports/_colors.module.scss'
2
+
3
+ import CircleChart from '../_circle_chart'
6
4
 
7
5
  const dataWithColors = [
8
6
  {
9
7
  name: 'Waiting for Calls',
10
- y: 41,
8
+ value: 41,
11
9
  },
12
10
  {
13
11
  name: 'On Call',
14
- y: 49,
12
+ value: 49,
15
13
  },
16
14
  {
17
15
  name: 'After Call',
18
- y: 10,
16
+ value: 10,
19
17
  },
20
18
  ]
21
19
 
22
- const CircleChartColors = () => {
23
- const chartOptions = {
24
- series: [{ data: dataWithColors }],
25
- plotOptions: {
26
- pie: {
27
- colors: ["#144075", colors.data_4, colors.data_2]
28
- }
29
- }
30
- }
31
-
32
- const options = Highcharts.merge({}, circleChartTheme, chartOptions)
33
-
34
- return (
35
- <div>
36
- <HighchartsReact
37
- highcharts={Highcharts}
38
- options={options}
39
- />
40
- </div>
41
- )
42
- }
20
+ const CircleChartColors = (props) => (
21
+ <div>
22
+ <CircleChart
23
+ chartData={dataWithColors}
24
+ colors={['data-6', 'data-4', 'data-2']}
25
+ id="colors-example"
26
+ {...props}
27
+ />
28
+ </div>
29
+ )
43
30
 
44
- export default CircleChartColors
31
+ export default CircleChartColors
@@ -1,2 +1,2 @@
1
1
  Custom data colors allow for color customization to match the needs of business requirements.
2
- Pass the prop `colors` and use desired values `data-1 | data-2 | data-3 | data-4 | data-5 | data-6 | data-7 | data-8` in an array. Hex colors are also available `eg: #CA0095`.
2
+ Pass the prop `colors` and use desired values `data-1 | data-2 | data-3 | data-4 | data-5 | data-6 | data-7 | data-8` in an array. Hex colors are also available `eg: #CA0095`
@@ -1,43 +1,31 @@
1
1
  import React from 'react'
2
- import circleChartTheme from '../circleChartTheme'
3
- import Highcharts from "highcharts"
4
- import HighchartsReact from "highcharts-react-official"
2
+
3
+ import CircleChart from '../_circle_chart'
5
4
 
6
5
  const data = [
7
6
  {
8
7
  name: 'Waiting for Calls',
9
- y: 41,
8
+ value: 41,
10
9
  },
11
10
  {
12
11
  name: 'On Call',
13
- y: 49,
12
+ value: 49,
14
13
  },
15
14
  {
16
15
  name: 'After Call',
17
- y: 10,
16
+ value: 10,
18
17
  },
19
18
  ]
20
19
 
21
- const CircleChartCustomTooltip = () => {
22
- const chartOptions = {
23
- series: [{ data: data }],
24
- tooltip: {
25
- headerFormat: null,
26
- pointFormat: '<p>Custom tooltip for {point.name} <br/>with value: {point.y}</p>',
27
- useHTML: true,
28
- },
29
- }
30
-
31
- const options = Highcharts.merge({}, circleChartTheme, chartOptions)
32
-
33
- return (
34
- <div>
35
- <HighchartsReact
36
- highcharts={Highcharts}
37
- options={options}
38
- />
39
- </div>
40
- )
41
- }
20
+ const CircleChartCustomTooltip = (props) => (
21
+ <div>
22
+ <CircleChart
23
+ chartData={data}
24
+ id="circle-chart-default"
25
+ tooltipHtml= '<p>Custom tooltip for {point.name} <br/>with value: {point.y}</p>'
26
+ {...props}
27
+ />
28
+ </div>
29
+ )
42
30
 
43
- export default CircleChartCustomTooltip
31
+ export default CircleChartCustomTooltip
@@ -1,5 +1,3 @@
1
- Custom tooltip formatting is configured through the tooltip object in the chart options:
2
- `headerFormat` **Type**: String | when set to null will disable the header.
3
- `pointFormat` **Type**: String | defines the HTML template for each data point and supports custom HTML when `useHTML` is enabled.
4
- `useHTML` **Type**: boolean (default false) | enables HTML rendering in tooltips.
1
+ A custom tooltip format can be specified. The desired format can be passed as a `string` of custom HTML to the `tooltipHtml` prop.
2
+
5
3
  `{point.name}` and `{point.y}` are useful values that can be referenced for each point in the graph.
@@ -1,38 +1,30 @@
1
1
  import React from 'react'
2
- import circleChartTheme from '../circleChartTheme'
3
- import Highcharts from "highcharts"
4
- import HighchartsReact from "highcharts-react-official"
2
+
3
+ import CircleChart from '../_circle_chart'
5
4
 
6
5
  const data = [
7
6
  {
8
7
  name: 'Waiting for Calls',
9
- y: 41,
8
+ value: 41,
10
9
  },
11
10
  {
12
11
  name: 'On Call',
13
- y: 49,
12
+ value: 49,
14
13
  },
15
14
  {
16
15
  name: 'After Call',
17
- y: 10,
16
+ value: 10,
18
17
  },
19
18
  ]
20
19
 
21
- const chartOptions = {
22
- series: [{ data: data }],
23
- }
24
-
25
- const CircleChartDefault = () => {
26
- const options = Highcharts.merge({}, circleChartTheme, chartOptions)
27
-
28
- return (
29
- <div>
30
- <HighchartsReact
31
- highcharts={Highcharts}
32
- options={options}
33
- />
34
- </div>
35
- );
36
- };
20
+ const CircleChartDefault = (props) => (
21
+ <div>
22
+ <CircleChart
23
+ chartData={data}
24
+ id="circle-chart-default"
25
+ {...props}
26
+ />
27
+ </div>
28
+ )
37
29
 
38
- export default CircleChartDefault;
30
+ export default CircleChartDefault
@@ -1,152 +1,122 @@
1
1
  import React from 'react'
2
- import circleChartTheme from '../circleChartTheme'
3
- import Highcharts from "highcharts"
4
- import HighchartsReact from "highcharts-react-official"
2
+
3
+ import CircleChart from '../_circle_chart'
5
4
 
6
5
  const dataFirst = [
7
6
  {
8
7
  name: 'Bugs',
9
- y: 8,
8
+ value: 8,
10
9
  },
11
10
  {
12
11
  name: 'Chores',
13
- y: 1,
12
+ value: 1,
14
13
  },
15
14
  {
16
15
  name: 'Stories',
17
- y: 12,
16
+ value: 12,
18
17
  },
19
18
  ]
20
19
 
21
20
  const dataSecond = [
22
21
  {
23
22
  name: 'Queued',
24
- y: 7,
23
+ value: 7,
25
24
  },
26
25
  {
27
26
  name: 'In Progress',
28
- y: 6,
27
+ value: 6,
29
28
  },
30
29
  {
31
30
  name: 'Validation',
32
- y: 3,
31
+ value: 3,
33
32
  },
34
33
  {
35
34
  name: 'Done',
36
- y: 6,
35
+ value: 6,
37
36
  },
38
37
  ]
39
38
 
40
39
  const dataThird = [
41
40
  {
42
41
  name: '1 Point Tickets',
43
- y: 2,
42
+ value: 2,
44
43
  },
45
44
  {
46
45
  name: '3 Point Tickets',
47
- y: 5,
46
+ value: 5,
48
47
  },
49
48
  {
50
49
  name: '5 Point Tickets',
51
- y: 6,
50
+ value: 6,
52
51
  },
53
52
  {
54
53
  name: '8 Point Tickets',
55
- y: 3,
54
+ value: 3,
56
55
  },
57
56
  {
58
57
  name: '13 Point Tickets',
59
- y: 1,
58
+ value: 1,
60
59
  },
61
60
  ]
62
-
63
61
  const dataFourth = [
64
62
  {
65
63
  name: 'Facebook',
66
- y: 2498,
64
+ value: 2498,
67
65
  },
68
66
  {
69
67
  name: 'YouTube',
70
- y: 2000,
68
+ value: 2000,
71
69
  },
72
70
  {
73
71
  name: 'WhatsApp',
74
- y: 2000,
72
+ value: 2000,
75
73
  },
76
74
  {
77
75
  name: 'Facebook Messenger',
78
- y: 1300,
76
+ value: 1300,
79
77
  },
80
78
  {
81
79
  name: 'WeChat',
82
- y: 1165,
80
+ value: 1165,
83
81
  },
84
82
  {
85
83
  name: 'Instagram',
86
- y: 1000,
84
+ value: 1000,
87
85
  },
88
86
  {
89
87
  name: 'Tik Tok',
90
- y: 800,
88
+ value: 800,
91
89
  },
92
90
  ]
93
91
 
94
- const CircleChartInnerSizes = () => {
95
- const chartOptionsSmall = {
96
- series: [{
97
- data: dataFirst,
98
- innerSize: '35%'
99
- }],
100
- }
101
-
102
- const chartOptionsMedium = {
103
- series: [{
104
- data: dataSecond,
105
- innerSize: '50%'
106
- }],
107
- }
108
-
109
- const chartOptionsLarge = {
110
- series: [{
111
- data: dataThird,
112
- innerSize: '85%'
113
- }],
114
- }
115
-
116
- const chartOptionsNone = {
117
- series: [{
118
- data: dataFourth,
119
- innerSize: '0%'
120
- }],
121
- }
122
-
123
- const optionsSmall = Highcharts.merge({}, circleChartTheme, chartOptionsSmall)
124
- const optionsMedium = Highcharts.merge({}, circleChartTheme, chartOptionsMedium)
125
- const optionsLarge = Highcharts.merge({}, circleChartTheme, chartOptionsLarge)
126
- const optionsNone = Highcharts.merge({}, circleChartTheme, chartOptionsNone)
127
-
128
- return (
129
- <div>
130
- <HighchartsReact
131
- highcharts={Highcharts}
132
- options={optionsSmall}
133
- />
134
- <HighchartsReact
135
- highcharts={Highcharts}
136
- options={optionsMedium}
137
- />
138
- <HighchartsReact
139
- highcharts={Highcharts}
140
- options={optionsLarge}
141
- />
142
- <div className="poop">
143
- <HighchartsReact
144
- highcharts={Highcharts}
145
- options={optionsNone}
146
- />
147
- </div>
148
- </div>
149
- )
150
- }
92
+ const CircleChartInnerSizes = (props) => (
93
+ <div>
94
+ <CircleChart
95
+ chartData={dataFirst}
96
+ id="with-innersize-sm"
97
+ innerSize="sm"
98
+ {...props}
99
+ />
100
+ <CircleChart
101
+ chartData={dataSecond}
102
+ id="with-innersize-md"
103
+ innerSize="md"
104
+ {...props}
105
+ />
106
+ <CircleChart
107
+ chartData={dataThird}
108
+ id="with-innersize-lg"
109
+ innerSize="lg"
110
+ {...props}
111
+ />
112
+ <CircleChart
113
+ chartData={dataFourth}
114
+ className="poop"
115
+ id="with-innersize-none "
116
+ innerSize="none"
117
+ {...props}
118
+ />
119
+ </div>
120
+ )
151
121
 
152
- export default CircleChartInnerSizes
122
+ export default CircleChartInnerSizes