playbook_ui 14.5.0.pre.alpha.PLAY1486highchartscssdrivenPOC3950 → 14.5.0.pre.alpha.PLAY1486highchartscssdrivenPOC3954

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: d722a0acf93dc0f92c6f6e00dc44fec3393f8e63699e6f35e50f646938115831
4
- data.tar.gz: 0f5388ac958243c7efa786a0b6ae126785bc145ae63ec62be76caafb84d777f8
3
+ metadata.gz: 5daa365c41ed9327bba1499769eed256b0dad354cb6eb38a522723885329127b
4
+ data.tar.gz: ab0a8207ba8250f6cfd189c1dcd09706ea22e74485e458567490cf1db87a23a3
5
5
  SHA512:
6
- metadata.gz: 0dc3916b423231f83311cd8475c7ac7b4a5d68da6cb2fa4c6f7a73921abe125e5e4b6cb5f2dd4111a6df35025900d4b2c19995f08adfd8a36673a9e714c15bf0
7
- data.tar.gz: 858d2c04df67722139de459a406a31730794b3de4af970aaa9b185746ff1637020bf2efb3207ed24aa2e69d223f0868456d6a38b400e9b018d6b5efb58c5879c
6
+ metadata.gz: f34fff2a97be348639735790f39740bfc6a44113c7dccc99e7a5651bcb2babf3a1ca946c7a872929d00b53f800895ad79a1f64d0be63ab56914981af42682cbb
7
+ data.tar.gz: 6052de28664531556ce2ed71d373af06677c5c6100d3b1379d36ee7ca701a761f2f43ef1006993d6eb96f8040ad69f9b88221febdaf96cea2b552a62b235742d
@@ -17,7 +17,6 @@ const highchartsDarkTheme = {
17
17
  chart: {
18
18
  borderWidth: 0,
19
19
  borderRadius: 0,
20
- plotBackgroundColor: undefined,
21
20
  plotShadow: false,
22
21
  plotBorderWidth: 0,
23
22
  },
@@ -59,8 +58,6 @@ const highchartsDarkTheme = {
59
58
  },
60
59
  },
61
60
  yAxis: {
62
- alternateGridColor: undefined,
63
- minorTickInterval: null,
64
61
  gridLineColor: colors.border_dark,
65
62
  minorGridLineColor: colors.border_dark,
66
63
  lineWidth: 0,
@@ -131,7 +128,6 @@ const highchartsDarkTheme = {
131
128
  series: {
132
129
  borderColor: colors.bg_dark_card,
133
130
  borderWidth: 2,
134
- threshold: null,
135
131
  },
136
132
  // PIE STYLES
137
133
  pie: {
@@ -205,4 +201,4 @@ const highchartsDarkTheme = {
205
201
  },
206
202
  }
207
203
 
208
- export { highchartsDarkTheme }
204
+ export default highchartsDarkTheme
@@ -17,7 +17,6 @@ const highchartsTheme = {
17
17
  chart: {
18
18
  borderWidth: 0,
19
19
  borderRadius: 0,
20
- plotBackgroundColor: undefined,
21
20
  plotShadow: false,
22
21
  plotBorderWidth: 0,
23
22
  },
@@ -59,8 +58,6 @@ const highchartsTheme = {
59
58
  },
60
59
  },
61
60
  yAxis: {
62
- alternateGridColor: undefined,
63
- minorTickInterval: null,
64
61
  gridLineColor: colors.border_light,
65
62
  minorGridLineColor: colors.border_light,
66
63
  lineWidth: 0,
@@ -128,9 +125,6 @@ const highchartsTheme = {
128
125
  },
129
126
 
130
127
  plotOptions: {
131
- series: {
132
- threshold: null,
133
- },
134
128
  // PIE STYLES
135
129
  pie: {
136
130
  colors: [
@@ -204,4 +198,4 @@ const highchartsTheme = {
204
198
  },
205
199
  }
206
200
 
207
- export { highchartsTheme }
201
+ export default highchartsTheme
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "14.5.0"
5
- VERSION = "14.5.0.pre.alpha.PLAY1486highchartscssdrivenPOC3950"
5
+ VERSION = "14.5.0.pre.alpha.PLAY1486highchartscssdrivenPOC3954"
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: 14.5.0.pre.alpha.PLAY1486highchartscssdrivenPOC3950
4
+ version: 14.5.0.pre.alpha.PLAY1486highchartscssdrivenPOC3954
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
@@ -779,8 +779,8 @@ files:
779
779
  - app/pb_kits/playbook/pb_dashboard/_highcharts_theme.scss
780
780
  - app/pb_kits/playbook/pb_dashboard/commonSettings.js
781
781
  - app/pb_kits/playbook/pb_dashboard/pbChartsColorsHelper.ts
782
- - app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.js
783
- - app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.js
782
+ - app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.ts
783
+ - app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.ts
784
784
  - app/pb_kits/playbook/pb_dashboard/themeTypes.ts
785
785
  - app/pb_kits/playbook/pb_dashboard_value/_dashboard_value.scss
786
786
  - app/pb_kits/playbook/pb_dashboard_value/_dashboard_value.tsx
@@ -1765,7 +1765,6 @@ files:
1765
1765
  - app/pb_kits/playbook/pb_map/docs/example.yml
1766
1766
  - app/pb_kits/playbook/pb_map/docs/index.js
1767
1767
  - app/pb_kits/playbook/pb_map/map.test.jsx
1768
- - app/pb_kits/playbook/pb_map/pbChartsLightTheme.js
1769
1768
  - app/pb_kits/playbook/pb_map/pbMapTheme.ts
1770
1769
  - app/pb_kits/playbook/pb_message/_message.scss
1771
1770
  - app/pb_kits/playbook/pb_message/_message.tsx
@@ -1,207 +0,0 @@
1
- import colors from '../tokens/exports/_colors.module.scss'
2
- import typography from '../tokens/exports/_typography.module.scss'
3
-
4
- const highchartsTheme = {
5
- lang: {
6
- thousandsSep: ',',
7
- },
8
- colors: [
9
- colors.data_1,
10
- colors.data_2,
11
- colors.data_3,
12
- colors.data_4,
13
- colors.data_5,
14
- colors.data_6,
15
- colors.data_7,
16
- ],
17
- chart: {
18
- borderWidth: 0,
19
- borderRadius: 0,
20
- plotBackgroundColor: undefined,
21
- plotShadow: false,
22
- plotBorderWidth: 0,
23
- },
24
- title: {
25
- style: {
26
- color: colors.text_lt_default,
27
- fontFamily: typography.font_family_base,
28
- fontWeight: typography.bold,
29
- fontSize: typography.heading_3,
30
- },
31
- },
32
- subtitle: {
33
- style: {
34
- fontFamily: typography.font_family_base,
35
- color: colors.text_lt_light,
36
- fontWeight: typography.regular,
37
- fontSize: typography.text_base,
38
- },
39
- },
40
- xAxis: {
41
- gridLineWidth: 0,
42
- lineColor: colors.border_light,
43
- tickColor: colors.border_light,
44
- labels: {
45
- style: {
46
- fontFamily: typography.font_family_base,
47
- color: colors.text_lt_lighter,
48
- fontWeight: typography.bold,
49
- fontSize: typography.text_smaller,
50
- },
51
- },
52
- title: {
53
- style: {
54
- color: colors.text_lt_default,
55
- fontFamily: typography.font_family_base,
56
- fontWeight: typography.regular,
57
- fontSize: typography.heading_4,
58
- },
59
- },
60
- },
61
- yAxis: {
62
- alternateGridColor: undefined,
63
- minorTickInterval: null,
64
- gridLineColor: colors.border_light,
65
- minorGridLineColor: colors.border_light,
66
- lineWidth: 0,
67
- tickWidth: 0,
68
- labels: {
69
- style: {
70
- fontFamily: typography.font_family_base,
71
- color: colors.text_lt_lighter,
72
- fontWeight: typography.bold,
73
- fontSize: typography.text_smaller,
74
- },
75
- },
76
- title: {
77
- style: {
78
- fontFamily: typography.font_family_base,
79
- color: colors.text_lt_lighter,
80
- fontWeight: typography.bold,
81
- fontSize: typography.text_smaller,
82
- },
83
- },
84
- },
85
- legend: {
86
- layout: 'horizontal',
87
- align: 'center',
88
- verticalAlign: 'bottom',
89
- itemStyle: {
90
- fontFamily: typography.font_family_base,
91
- color: colors.text_lt_light,
92
- fontWeight: typography.regular,
93
- fontSize: typography.text_smaller,
94
- },
95
- itemHoverStyle: {
96
- color: colors.text_lt_default,
97
- },
98
- itemHiddenStyle: {
99
- color: colors.text_lt_lighter,
100
- },
101
- },
102
- tooltip: {
103
- backgroundColor: {
104
- linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
105
- stops: [
106
- [0, colors.bg_dark],
107
- [1, colors.bg_dark],
108
- ],
109
- },
110
- shadow: false,
111
- borderWidth: 0,
112
- borderRadius: 10,
113
- style: {
114
- fontFamily: typography.font_family_base,
115
- color: colors.text_dk_default,
116
- fontWeight: typography.regular,
117
- fontSize: typography.text_smaller,
118
- },
119
- },
120
- // specific to gauge
121
- // unfilled gauge color
122
- pane: {
123
- background: {
124
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
125
- // @ts-ignore
126
- borderColor: colors.border_light,
127
- },
128
- },
129
-
130
- plotOptions: {
131
- series: {
132
- threshold: null,
133
- },
134
- // PIE STYLES
135
- pie: {
136
- colors: [
137
- colors.data_1,
138
- colors.data_2,
139
- colors.data_3,
140
- colors.data_4,
141
- colors.data_5,
142
- colors.data_6,
143
- colors.data_7,
144
- ],
145
- dataLabels: {
146
- style: {
147
- fontFamily: typography.font_family_base,
148
- fontSize: typography.text_smaller,
149
- color: colors.text_lt_light,
150
- fontWeight: typography.regular,
151
- textOutline: '2px $white',
152
- },
153
- },
154
- },
155
-
156
- // LINE CHART STYLES
157
- line: {
158
- dataLabels: {
159
- color: '#CCC',
160
- },
161
- marker: {
162
- lineColor: '#333',
163
- },
164
- },
165
-
166
- //TREEMAP CHART STYLES
167
- treemap: {
168
- layoutAlgorithm: "squarified",
169
- allowTraversingTree: false,
170
- animationLimit: 1000,
171
- colors: [
172
- colors.data_1,
173
- colors.data_2,
174
- colors.data_3,
175
- colors.data_4,
176
- colors.data_5,
177
- colors.data_6,
178
- colors.data_7,
179
- colors.data_8,
180
- ],
181
- dataLabels: {
182
- enabled: true,
183
- style: {
184
- fontFamily: typography.font_family_base,
185
- fontWeight: typography.bold,
186
- fontSize: typography.heading_4,
187
- },
188
- },
189
- levels: [
190
- {
191
- level: 1,
192
- dataLabels: {
193
- enabled: false,
194
- },
195
- },
196
- ],
197
- traverseUpButton: {
198
- position: { y: -50 },
199
- },
200
- },
201
- },
202
- credits: {
203
- enabled: false
204
- },
205
- }
206
-
207
- export { highchartsTheme }