playbook_ui 14.5.0.pre.alpha.PLAY1486highchartscssdrivenPOC3931 → 14.5.0.pre.alpha.PLAY1486highchartscssdrivenPOC3944
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: 3a9114377efdf392c27e5ab55b3af4e52ac8650f2b83952980a9927b5486051c
|
4
|
+
data.tar.gz: 6fad58a2db127a94b2f6d6966580611a6742bb70eef8f27353b495810c621f26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c143cfa584e92e330f7920da29c3ad45d503308865175d777a84b62d15b3b89ae136bbdc286848a61cc9c640fc9e96eb590fa68c5082cc18d9d3c20099b4d68
|
7
|
+
data.tar.gz: c5e1e43db4ada861c092a2f20069b69ac9b9077d3d0a82b771115342acf5e2e0796418732cdbf355acbab0ca8c825b1274f7d1b307f673a705f57ac352df9c8a
|
@@ -1,11 +1,7 @@
|
|
1
1
|
import colors from '../tokens/exports/_colors.module.scss'
|
2
2
|
import typography from '../tokens/exports/_typography.module.scss'
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
import { PlotTreemapOptions } from "highcharts";
|
7
|
-
|
8
|
-
const highchartsDarkTheme: ThemeProps = {
|
4
|
+
const highchartsDarkTheme = {
|
9
5
|
lang: {
|
10
6
|
thousandsSep: ',',
|
11
7
|
},
|
@@ -202,11 +198,11 @@ const highchartsDarkTheme: ThemeProps = {
|
|
202
198
|
traverseUpButton: {
|
203
199
|
position: { y: -50 },
|
204
200
|
},
|
205
|
-
}
|
201
|
+
},
|
206
202
|
},
|
207
203
|
credits: {
|
208
204
|
enabled: false
|
209
205
|
},
|
210
206
|
}
|
211
207
|
|
212
|
-
export
|
208
|
+
export default highchartsDarkTheme
|
@@ -1,11 +1,7 @@
|
|
1
1
|
import colors from '../tokens/exports/_colors.module.scss'
|
2
2
|
import typography from '../tokens/exports/_typography.module.scss'
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
import { PlotTreemapOptions } from "highcharts";
|
7
|
-
|
8
|
-
const highchartsTheme: ThemeProps = {
|
4
|
+
const highchartsTheme = {
|
9
5
|
lang: {
|
10
6
|
thousandsSep: ',',
|
11
7
|
},
|
@@ -201,11 +197,11 @@ const highchartsTheme: ThemeProps = {
|
|
201
197
|
traverseUpButton: {
|
202
198
|
position: { y: -50 },
|
203
199
|
},
|
204
|
-
}
|
200
|
+
},
|
205
201
|
},
|
206
202
|
credits: {
|
207
203
|
enabled: false
|
208
204
|
},
|
209
205
|
}
|
210
206
|
|
211
|
-
export
|
207
|
+
export default highchartsTheme
|
@@ -45,7 +45,7 @@ module Playbook
|
|
45
45
|
|
46
46
|
# rubocop:disable Naming/AccessorMethodName
|
47
47
|
def get_kits
|
48
|
-
menu =
|
48
|
+
menu = ActiveSupport::ConfigurationFile.parse(Playbook::Engine.root.join("dist/menu.yml"))
|
49
49
|
all_kits = []
|
50
50
|
menu["kits"].each do |kit|
|
51
51
|
kit_name = kit["name"]
|
@@ -61,7 +61,7 @@ module Playbook
|
|
61
61
|
end
|
62
62
|
|
63
63
|
def get_kits_pb_website
|
64
|
-
menu =
|
64
|
+
menu = ActiveSupport::ConfigurationFile.parse(Rails.root.join("config/menu.yml"))
|
65
65
|
menu["kits"]
|
66
66
|
end
|
67
67
|
# rubocop:enable Naming/AccessorMethodName
|
@@ -84,9 +84,9 @@ module Playbook
|
|
84
84
|
def pb_doc_kit_examples(kit, type)
|
85
85
|
example_file = pb_doc_kit_path(kit, "example.yml")
|
86
86
|
if File.exist?(example_file)
|
87
|
-
|
88
|
-
|
89
|
-
|
87
|
+
ActiveSupport::ConfigurationFile.parse(example_file)
|
88
|
+
.transform_keys(&:to_sym)
|
89
|
+
.dig(:examples, type) || []
|
90
90
|
else
|
91
91
|
[]
|
92
92
|
end
|
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: 14.5.0.pre.alpha.
|
4
|
+
version: 14.5.0.pre.alpha.PLAY1486highchartscssdrivenPOC3944
|
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.
|
783
|
-
- app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.
|
782
|
+
- app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.js
|
783
|
+
- app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.js
|
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
|