playbook_ui 14.23.0.pre.alpha.highchartstest9121 → 14.23.0.pre.rc.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 +4 -4
- data/app/pb_kits/playbook/pb_advanced_table/Components/SubRowHeaderRow.tsx +11 -32
- data/app/pb_kits/playbook/pb_advanced_table/Hooks/useTableState.ts +2 -2
- data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.scss +0 -5
- data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.tsx +0 -6
- data/app/pb_kits/playbook/pb_advanced_table/advanced_table.html.erb +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/advanced_table.rb +0 -2
- data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +6 -11
- data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +0 -2
- data/app/pb_kits/playbook/pb_advanced_table/table_body.rb +1 -3
- data/app/pb_kits/playbook/pb_advanced_table/table_header.html.erb +1 -5
- data/app/pb_kits/playbook/pb_advanced_table/table_header.rb +0 -36
- data/app/pb_kits/playbook/pb_advanced_table/table_row.html.erb +2 -11
- data/app/pb_kits/playbook/pb_advanced_table/table_row.rb +0 -2
- data/app/pb_kits/playbook/pb_badge/_badge.scss +6 -5
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.jsx +15 -33
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.jsx +72 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.md +6 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx +15 -33
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.jsx +22 -52
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_horizontal.jsx +16 -12
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend.jsx +15 -31
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_non_clickable.jsx +16 -39
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.jsx +38 -86
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.md +1 -1
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx +15 -32
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_pb_styles.jsx +64 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_pb_styles.md +1 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.jsx +22 -72
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.md +1 -1
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_spline.jsx +15 -31
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_stacked.jsx +16 -37
- data/app/pb_kits/playbook/pb_bar_graph/docs/_description.md +3 -1
- data/app/pb_kits/playbook/pb_bar_graph/docs/example.yml +3 -1
- data/app/pb_kits/playbook/pb_bar_graph/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_body/docs/_body_truncate.jsx +3 -3
- data/app/pb_kits/playbook/pb_circle_chart/circleChartTheme.ts +1 -36
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.jsx +26 -71
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.jsx +16 -29
- data/app/pb_kits/playbook/pb_circle_chart/docs/{_circle_chart_colors_rails.md → _circle_chart_colors.md} +1 -1
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.jsx +16 -28
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.md +2 -4
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.jsx +15 -23
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_inner_sizes.jsx +51 -81
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.jsx +75 -103
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.md +7 -4
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_live_data.jsx +13 -19
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_pb_styles.jsx +38 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_pb_styles.md +1 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.jsx +17 -30
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx +20 -34
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_legend_kit.jsx +20 -29
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx +20 -28
- data/app/pb_kits/playbook/pb_circle_chart/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_circle_chart/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_draggable/context/index.tsx +4 -12
- data/app/pb_kits/playbook/pb_draggable/context/types.ts +2 -5
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_colors.jsx +15 -32
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_complex.jsx +9 -35
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_default.jsx +14 -26
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_disable_animation.jsx +15 -32
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_full_circle.jsx +17 -45
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx +22 -59
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_live_data.jsx +9 -40
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_min_max.jsx +18 -50
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_pb_styles.jsx +30 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_pb_styles.md +1 -0
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_sizing.jsx +18 -31
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_title.jsx +17 -34
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx +23 -64
- data/app/pb_kits/playbook/pb_gauge/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_gauge/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_gauge/gaugeTheme.ts +1 -7
- data/app/pb_kits/playbook/pb_line_graph/docs/_description.md +3 -1
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors.jsx +17 -36
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_default.jsx +16 -31
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx +31 -63
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend.jsx +16 -35
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_nonclickable.jsx +16 -41
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.jsx +62 -107
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.md +7 -4
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_pb_styles.jsx +52 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_pb_styles.md +1 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_line_graph/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_line_graph/lineGraphTheme.ts +1 -16
- data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.tsx +17 -30
- data/app/pb_kits/playbook/pb_phone_number_input/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_phone_number_input/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_phone_number_input/phone_number_input.rb +0 -3
- data/app/pb_kits/playbook/pb_title/docs/_title_truncate.jsx +3 -3
- data/app/pb_kits/playbook/pb_tooltip/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_tooltip/index.js +36 -59
- data/app/pb_kits/playbook/pb_tooltip/tooltip.rb +2 -9
- data/dist/chunks/_typeahead-B7FRYVtS.js +22 -0
- data/dist/chunks/_weekday_stacked-BNSy7Mo2.js +45 -0
- data/dist/chunks/lib-Carqm8Ip.js +29 -0
- data/dist/chunks/{pb_form_validation-kl-4Jv4t.js → pb_form_validation-DqRmTS8m.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/menu.yml +8 -68
- data/dist/playbook-doc.js +2 -2
- data/dist/playbook-rails-react-bindings.js +1 -1
- data/dist/playbook-rails.js +1 -1
- data/dist/playbook.css +1 -1
- data/lib/playbook/version.rb +2 -2
- metadata +24 -40
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_custom_sort.jsx +0 -65
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_custom_sort.md +0 -5
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling.html.erb +0 -46
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling_rails.md +0 -7
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header.jsx +0 -69
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header.md +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.html.erb +0 -51
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.md +0 -1
- data/app/pb_kits/playbook/pb_bar_graph/barGraphTheme.ts +0 -106
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.md +0 -3
- data/app/pb_kits/playbook/pb_body/docs/_body_truncate_react.md +0 -4
- data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors_react.md +0 -2
- data/app/pb_kits/playbook/pb_circle_chart/docs/_description.md +0 -1
- data/app/pb_kits/playbook/pb_gauge/docs/_description.md +0 -1
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_colors_react.md +0 -2
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_complex_react.md +0 -1
- data/app/pb_kits/playbook/pb_gauge/docs/_gauge_units_react.md +0 -1
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors_react.md +0 -3
- data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.md +0 -3
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_strict_mode.html.erb +0 -10
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_strict_mode.jsx +0 -26
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_strict_mode.md +0 -3
- data/app/pb_kits/playbook/pb_title/docs/_title_truncate_react.md +0 -4
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open.html.erb +0 -14
- data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open_rails.md +0 -1
- data/dist/chunks/_line_graph-BfCo79KE.js +0 -1
- data/dist/chunks/_typeahead-Db4YQA5c.js +0 -6
- data/dist/chunks/_weekday_stacked-DhFTG-Jt.js +0 -61
- data/dist/chunks/lib-DnQyMxO1.js +0 -29
- /data/app/pb_kits/playbook/pb_advanced_table/docs/{_advanced_table_row_styling_react.md → _advanced_table_row_styling.md} +0 -0
- /data/app/pb_kits/playbook/pb_body/docs/{_body_truncate_rails.md → _body_truncate.md} +0 -0
- /data/app/pb_kits/playbook/pb_gauge/docs/{_gauge_colors_rails.md → _gauge_colors.md} +0 -0
- /data/app/pb_kits/playbook/pb_gauge/docs/{_gauge_complex_rails.md → _gauge_complex.md} +0 -0
- /data/app/pb_kits/playbook/pb_line_graph/docs/{_line_graph_colors_rails.md → _line_graph_colors.md} +0 -0
- /data/app/pb_kits/playbook/pb_title/docs/{_title_truncate_rails.md → _title_truncate.md} +0 -0
- /data/app/pb_kits/playbook/pb_tooltip/docs/{_tooltip_click_open_react.md → _tooltip_click_open.md} +0 -0
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.23.0.pre.
|
4
|
+
version: 14.23.0.pre.rc.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: 2025-
|
12
|
+
date: 2025-06-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -328,8 +328,6 @@ files:
|
|
328
328
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_custom_cell.md
|
329
329
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_custom_cell_rails.html.erb
|
330
330
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_custom_cell_rails.md
|
331
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_custom_sort.jsx
|
332
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_custom_sort.md
|
333
331
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
|
334
332
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.md
|
335
333
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_expand_by_depth.jsx
|
@@ -359,10 +357,8 @@ files:
|
|
359
357
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_responsive.html.erb
|
360
358
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_responsive.jsx
|
361
359
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_responsive.md
|
362
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling.html.erb
|
363
360
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling.jsx
|
364
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/
|
365
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling_react.md
|
361
|
+
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling.md
|
366
362
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_scrollbar_none.html.erb
|
367
363
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_scrollbar_none.jsx
|
368
364
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows.jsx
|
@@ -405,10 +401,6 @@ files:
|
|
405
401
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header.jsx
|
406
402
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_rails.md
|
407
403
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_react.md
|
408
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header.jsx
|
409
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header.md
|
410
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.html.erb
|
411
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.md
|
412
404
|
- app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading.js
|
413
405
|
- app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data.json
|
414
406
|
- app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data_infinite_scroll.json
|
@@ -522,19 +514,19 @@ files:
|
|
522
514
|
- app/pb_kits/playbook/pb_bar_graph/_bar_graph.tsx
|
523
515
|
- app/pb_kits/playbook/pb_bar_graph/barGraph.test.js
|
524
516
|
- app/pb_kits/playbook/pb_bar_graph/barGraphSettings.js
|
525
|
-
- app/pb_kits/playbook/pb_bar_graph/barGraphTheme.ts
|
526
517
|
- app/pb_kits/playbook/pb_bar_graph/bar_graph.html.erb
|
527
518
|
- app/pb_kits/playbook/pb_bar_graph/bar_graph.rb
|
528
519
|
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.html.erb
|
529
520
|
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.jsx
|
530
521
|
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.md
|
522
|
+
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.jsx
|
523
|
+
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.md
|
531
524
|
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom_rails.html.erb
|
532
525
|
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom_rails.md
|
533
526
|
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.html.erb
|
534
527
|
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx
|
535
528
|
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.html.erb
|
536
529
|
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.jsx
|
537
|
-
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.md
|
538
530
|
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_horizontal.html.erb
|
539
531
|
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_horizontal.jsx
|
540
532
|
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend.html.erb
|
@@ -546,6 +538,8 @@ files:
|
|
546
538
|
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.md
|
547
539
|
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb
|
548
540
|
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
|
541
|
+
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_pb_styles.jsx
|
542
|
+
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_pb_styles.md
|
549
543
|
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.html.erb
|
550
544
|
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.jsx
|
551
545
|
- app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.md
|
@@ -577,8 +571,7 @@ files:
|
|
577
571
|
- app/pb_kits/playbook/pb_body/docs/_body_styled.md
|
578
572
|
- app/pb_kits/playbook/pb_body/docs/_body_truncate.html.erb
|
579
573
|
- app/pb_kits/playbook/pb_body/docs/_body_truncate.jsx
|
580
|
-
- app/pb_kits/playbook/pb_body/docs/
|
581
|
-
- app/pb_kits/playbook/pb_body/docs/_body_truncate_react.md
|
574
|
+
- app/pb_kits/playbook/pb_body/docs/_body_truncate.md
|
582
575
|
- app/pb_kits/playbook/pb_body/docs/_description.md
|
583
576
|
- app/pb_kits/playbook/pb_body/docs/_footer.md
|
584
577
|
- app/pb_kits/playbook/pb_body/docs/example.yml
|
@@ -772,8 +765,7 @@ files:
|
|
772
765
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.jsx
|
773
766
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.html.erb
|
774
767
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.jsx
|
775
|
-
- app/pb_kits/playbook/pb_circle_chart/docs/
|
776
|
-
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors_react.md
|
768
|
+
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.md
|
777
769
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.html.erb
|
778
770
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.jsx
|
779
771
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_custom_tooltip.md
|
@@ -785,6 +777,8 @@ files:
|
|
785
777
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.jsx
|
786
778
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_legend_position.md
|
787
779
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_live_data.jsx
|
780
|
+
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_pb_styles.jsx
|
781
|
+
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_pb_styles.md
|
788
782
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.html.erb
|
789
783
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.jsx
|
790
784
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.html.erb
|
@@ -793,7 +787,6 @@ files:
|
|
793
787
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_legend_kit.jsx
|
794
788
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.html.erb
|
795
789
|
- app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx
|
796
|
-
- app/pb_kits/playbook/pb_circle_chart/docs/_description.md
|
797
790
|
- app/pb_kits/playbook/pb_circle_chart/docs/example.yml
|
798
791
|
- app/pb_kits/playbook/pb_circle_chart/docs/index.js
|
799
792
|
- app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.scss
|
@@ -1678,15 +1671,12 @@ files:
|
|
1678
1671
|
- app/pb_kits/playbook/pb_form_pill/form_pill.rb
|
1679
1672
|
- app/pb_kits/playbook/pb_gauge/_gauge.scss
|
1680
1673
|
- app/pb_kits/playbook/pb_gauge/_gauge.tsx
|
1681
|
-
- app/pb_kits/playbook/pb_gauge/docs/_description.md
|
1682
1674
|
- app/pb_kits/playbook/pb_gauge/docs/_gauge_colors.html.erb
|
1683
1675
|
- app/pb_kits/playbook/pb_gauge/docs/_gauge_colors.jsx
|
1684
|
-
- app/pb_kits/playbook/pb_gauge/docs/
|
1685
|
-
- app/pb_kits/playbook/pb_gauge/docs/_gauge_colors_react.md
|
1676
|
+
- app/pb_kits/playbook/pb_gauge/docs/_gauge_colors.md
|
1686
1677
|
- app/pb_kits/playbook/pb_gauge/docs/_gauge_complex.html.erb
|
1687
1678
|
- app/pb_kits/playbook/pb_gauge/docs/_gauge_complex.jsx
|
1688
|
-
- app/pb_kits/playbook/pb_gauge/docs/
|
1689
|
-
- app/pb_kits/playbook/pb_gauge/docs/_gauge_complex_react.md
|
1679
|
+
- app/pb_kits/playbook/pb_gauge/docs/_gauge_complex.md
|
1690
1680
|
- app/pb_kits/playbook/pb_gauge/docs/_gauge_default.html.erb
|
1691
1681
|
- app/pb_kits/playbook/pb_gauge/docs/_gauge_default.jsx
|
1692
1682
|
- app/pb_kits/playbook/pb_gauge/docs/_gauge_disable_animation.html.erb
|
@@ -1699,6 +1689,8 @@ files:
|
|
1699
1689
|
- app/pb_kits/playbook/pb_gauge/docs/_gauge_min_max.html.erb
|
1700
1690
|
- app/pb_kits/playbook/pb_gauge/docs/_gauge_min_max.jsx
|
1701
1691
|
- app/pb_kits/playbook/pb_gauge/docs/_gauge_min_max.md
|
1692
|
+
- app/pb_kits/playbook/pb_gauge/docs/_gauge_pb_styles.jsx
|
1693
|
+
- app/pb_kits/playbook/pb_gauge/docs/_gauge_pb_styles.md
|
1702
1694
|
- app/pb_kits/playbook/pb_gauge/docs/_gauge_sizing.html.erb
|
1703
1695
|
- app/pb_kits/playbook/pb_gauge/docs/_gauge_sizing.jsx
|
1704
1696
|
- app/pb_kits/playbook/pb_gauge/docs/_gauge_sizing.md
|
@@ -1706,7 +1698,6 @@ files:
|
|
1706
1698
|
- app/pb_kits/playbook/pb_gauge/docs/_gauge_title.jsx
|
1707
1699
|
- app/pb_kits/playbook/pb_gauge/docs/_gauge_units.html.erb
|
1708
1700
|
- app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
|
1709
|
-
- app/pb_kits/playbook/pb_gauge/docs/_gauge_units_react.md
|
1710
1701
|
- app/pb_kits/playbook/pb_gauge/docs/example.yml
|
1711
1702
|
- app/pb_kits/playbook/pb_gauge/docs/index.js
|
1712
1703
|
- app/pb_kits/playbook/pb_gauge/gauge.html.erb
|
@@ -2023,13 +2014,11 @@ files:
|
|
2023
2014
|
- app/pb_kits/playbook/pb_line_graph/docs/_description.md
|
2024
2015
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors.html.erb
|
2025
2016
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors.jsx
|
2026
|
-
- app/pb_kits/playbook/pb_line_graph/docs/
|
2027
|
-
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors_react.md
|
2017
|
+
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_colors.md
|
2028
2018
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_default.html.erb
|
2029
2019
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_default.jsx
|
2030
2020
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.html.erb
|
2031
2021
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx
|
2032
|
-
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.md
|
2033
2022
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend.html.erb
|
2034
2023
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend.jsx
|
2035
2024
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_nonclickable.html.erb
|
@@ -2037,6 +2026,8 @@ files:
|
|
2037
2026
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.html.erb
|
2038
2027
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.jsx
|
2039
2028
|
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.md
|
2029
|
+
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_pb_styles.jsx
|
2030
|
+
- app/pb_kits/playbook/pb_line_graph/docs/_line_graph_pb_styles.md
|
2040
2031
|
- app/pb_kits/playbook/pb_line_graph/docs/example.yml
|
2041
2032
|
- app/pb_kits/playbook/pb_line_graph/docs/index.js
|
2042
2033
|
- app/pb_kits/playbook/pb_line_graph/lineGraph.test.js
|
@@ -2472,9 +2463,6 @@ files:
|
|
2472
2463
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.html.erb
|
2473
2464
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.jsx
|
2474
2465
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_preferred_countries.md
|
2475
|
-
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_strict_mode.html.erb
|
2476
|
-
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_strict_mode.jsx
|
2477
|
-
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_strict_mode.md
|
2478
2466
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.html.erb
|
2479
2467
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_validation.jsx
|
2480
2468
|
- app/pb_kits/playbook/pb_phone_number_input/docs/example.yml
|
@@ -3292,8 +3280,7 @@ files:
|
|
3292
3280
|
- app/pb_kits/playbook/pb_title/docs/_title_responsive.md
|
3293
3281
|
- app/pb_kits/playbook/pb_title/docs/_title_truncate.html.erb
|
3294
3282
|
- app/pb_kits/playbook/pb_title/docs/_title_truncate.jsx
|
3295
|
-
- app/pb_kits/playbook/pb_title/docs/
|
3296
|
-
- app/pb_kits/playbook/pb_title/docs/_title_truncate_react.md
|
3283
|
+
- app/pb_kits/playbook/pb_title/docs/_title_truncate.md
|
3297
3284
|
- app/pb_kits/playbook/pb_title/docs/example.yml
|
3298
3285
|
- app/pb_kits/playbook/pb_title/docs/index.js
|
3299
3286
|
- app/pb_kits/playbook/pb_title/title.html.erb
|
@@ -3350,10 +3337,8 @@ files:
|
|
3350
3337
|
- app/pb_kits/playbook/pb_toggle/toggle.test.js
|
3351
3338
|
- app/pb_kits/playbook/pb_tooltip/_tooltip.scss
|
3352
3339
|
- app/pb_kits/playbook/pb_tooltip/_tooltip.tsx
|
3353
|
-
- app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open.html.erb
|
3354
3340
|
- app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open.jsx
|
3355
|
-
- app/pb_kits/playbook/pb_tooltip/docs/
|
3356
|
-
- app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open_react.md
|
3341
|
+
- app/pb_kits/playbook/pb_tooltip/docs/_tooltip_click_open.md
|
3357
3342
|
- app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default.html.erb
|
3358
3343
|
- app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default_react.jsx
|
3359
3344
|
- app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default_react.md
|
@@ -3629,12 +3614,11 @@ files:
|
|
3629
3614
|
- app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
|
3630
3615
|
- app/pb_kits/playbook/utilities/text.ts
|
3631
3616
|
- app/pb_kits/playbook/utilities/validEmojiChecker.ts
|
3632
|
-
- dist/chunks/
|
3633
|
-
- dist/chunks/
|
3634
|
-
- dist/chunks/_weekday_stacked-DhFTG-Jt.js
|
3617
|
+
- dist/chunks/_typeahead-B7FRYVtS.js
|
3618
|
+
- dist/chunks/_weekday_stacked-BNSy7Mo2.js
|
3635
3619
|
- dist/chunks/lazysizes-B7xYodB-.js
|
3636
|
-
- dist/chunks/lib-
|
3637
|
-
- dist/chunks/pb_form_validation-
|
3620
|
+
- dist/chunks/lib-Carqm8Ip.js
|
3621
|
+
- dist/chunks/pb_form_validation-DqRmTS8m.js
|
3638
3622
|
- dist/chunks/vendor.js
|
3639
3623
|
- dist/menu.yml
|
3640
3624
|
- dist/playbook-doc.js
|
@@ -1,65 +0,0 @@
|
|
1
|
-
import React from "react"
|
2
|
-
import AdvancedTable from '../../pb_advanced_table/_advanced_table'
|
3
|
-
import MOCK_DATA from "./advanced_table_mock_data.json"
|
4
|
-
|
5
|
-
const AdvancedTableCustomSort = (props) => {
|
6
|
-
const columnDefinitions = [
|
7
|
-
{
|
8
|
-
accessor: "year",
|
9
|
-
label: "Year",
|
10
|
-
id: "year",
|
11
|
-
cellAccessors: ["quarter", "month", "day"],
|
12
|
-
},
|
13
|
-
{
|
14
|
-
accessor: "newEnrollments",
|
15
|
-
id: "newEnrollments",
|
16
|
-
label: "New Enrollments",
|
17
|
-
},
|
18
|
-
{
|
19
|
-
accessor: "scheduledMeetings",
|
20
|
-
id: "scheduledMeetings",
|
21
|
-
label: "Scheduled Meetings",
|
22
|
-
},
|
23
|
-
{
|
24
|
-
accessor: "attendanceRate",
|
25
|
-
id: "attendanceRate",
|
26
|
-
label: "Attendance Rate",
|
27
|
-
},
|
28
|
-
{
|
29
|
-
accessor: "completedClasses",
|
30
|
-
id: "completedClasses",
|
31
|
-
label: "Completed Classes",
|
32
|
-
},
|
33
|
-
{
|
34
|
-
accessor: "classCompletionRate",
|
35
|
-
id: "classCompletionRate",
|
36
|
-
label: "Class Completion Rate",
|
37
|
-
},
|
38
|
-
{
|
39
|
-
accessor: "graduatedStudents",
|
40
|
-
id: "graduatedStudents",
|
41
|
-
label: "Graduated Students",
|
42
|
-
},
|
43
|
-
]
|
44
|
-
|
45
|
-
//Render the subRow header rows
|
46
|
-
const subRowHeaders = ["Quarter", "Month", "Day"]
|
47
|
-
|
48
|
-
return (
|
49
|
-
<div>
|
50
|
-
<AdvancedTable
|
51
|
-
columnDefinitions={columnDefinitions}
|
52
|
-
customSort
|
53
|
-
enableToggleExpansion="all"
|
54
|
-
onCustomSortClick={(subrows)=>{console.log("Custom sort clicked", subrows)}}
|
55
|
-
tableData={MOCK_DATA}
|
56
|
-
{...props}
|
57
|
-
>
|
58
|
-
<AdvancedTable.Header enableSorting />
|
59
|
-
<AdvancedTable.Body subRowHeaders={subRowHeaders} />
|
60
|
-
</AdvancedTable>
|
61
|
-
</div>
|
62
|
-
)
|
63
|
-
}
|
64
|
-
|
65
|
-
export default AdvancedTableCustomSort
|
@@ -1,5 +0,0 @@
|
|
1
|
-
The optional `customSort` prop can be used to add a sort button within a subrow header. The button will only appear if that subrowheader has more than one subrow nested within it. This button comes with a callback function called `onCustomSortClick`.
|
2
|
-
|
3
|
-
The `onCustomSortClick` provides as an argument an array of all the subrows nested within that level of the table.
|
4
|
-
|
5
|
-
__NOTE__: `customSort` must be used in conjunction with the `subRowHeaders` prop. The `customSort` DOES NOT handle the sort logic, this must be handled on the frontend using the callback provided.
|
@@ -1,46 +0,0 @@
|
|
1
|
-
<% column_definitions = [
|
2
|
-
{
|
3
|
-
accessor: "year",
|
4
|
-
label: "Year",
|
5
|
-
cellAccessors: ["quarter", "month", "day"],
|
6
|
-
},
|
7
|
-
{
|
8
|
-
accessor: "newEnrollments",
|
9
|
-
label: "New Enrollments",
|
10
|
-
},
|
11
|
-
{
|
12
|
-
accessor: "scheduledMeetings",
|
13
|
-
label: "Scheduled Meetings",
|
14
|
-
},
|
15
|
-
{
|
16
|
-
accessor: "attendanceRate",
|
17
|
-
label: "Attendance Rate",
|
18
|
-
},
|
19
|
-
{
|
20
|
-
accessor: "completedClasses",
|
21
|
-
label: "Completed Classes",
|
22
|
-
},
|
23
|
-
{
|
24
|
-
accessor: "classCompletionRate",
|
25
|
-
label: "Class Completion Rate",
|
26
|
-
},
|
27
|
-
{
|
28
|
-
accessor: "graduatedStudents",
|
29
|
-
label: "Graduated Students",
|
30
|
-
}
|
31
|
-
] %>
|
32
|
-
|
33
|
-
<% row_styling = [
|
34
|
-
{
|
35
|
-
row_id: "1",
|
36
|
-
background_color: "#F9BB00",
|
37
|
-
},
|
38
|
-
{
|
39
|
-
row_id: "8",
|
40
|
-
background_color: "#0056CF",
|
41
|
-
font_color: "white",
|
42
|
-
expand_button_color: "white",
|
43
|
-
},
|
44
|
-
] %>
|
45
|
-
|
46
|
-
<%= pb_rails("advanced_table", props: { id: "row-styling", table_data: @table_data_with_id, column_definitions: column_definitions, row_styling: row_styling }) %>
|
@@ -1,7 +0,0 @@
|
|
1
|
-
The `row_styling` prop can be used in conjunction with row ids to control certain styling options on individual rows. Currently, `row_styling` gives you 3 optional controls:
|
2
|
-
|
3
|
-
- `background_color` : use this to control the background color of the row
|
4
|
-
- `font_color`: use this to control font color for each row if needed, for example if using a darker background color.
|
5
|
-
- `expand_button_color`: use this to control the color of the expand icon if needed, for example if using a darker background color.
|
6
|
-
|
7
|
-
**NOTE:** Each object within the `table_data` Array must contain a unique id in order to attach an id to all Rows for this to function.
|
@@ -1,69 +0,0 @@
|
|
1
|
-
import React from "react"
|
2
|
-
import AdvancedTable from '../../pb_advanced_table/_advanced_table'
|
3
|
-
import Icon from "../../pb_icon/_icon"
|
4
|
-
import Flex from "../../pb_flex/_flex"
|
5
|
-
import Caption from "../../pb_caption/_caption"
|
6
|
-
import Tooltip from "../../pb_tooltip/_tooltip"
|
7
|
-
import MOCK_DATA from "./advanced_table_mock_data.json"
|
8
|
-
|
9
|
-
const AdvancedTableWithCustomHeader = (props) => {
|
10
|
-
const columnDefinitions = [
|
11
|
-
{
|
12
|
-
accessor: "year",
|
13
|
-
label: "Year",
|
14
|
-
cellAccessors: ["quarter", "month", "day"],
|
15
|
-
},
|
16
|
-
{
|
17
|
-
accessor: "newEnrollments",
|
18
|
-
label: "New Enrollments",
|
19
|
-
header: () => (
|
20
|
-
<Flex alignItems="center"
|
21
|
-
justifyContent="center"
|
22
|
-
>
|
23
|
-
<Caption marginRight="xs">New Enrollments</Caption>
|
24
|
-
<Tooltip placement="top"
|
25
|
-
text="Whoa. I'm a Tooltip"
|
26
|
-
zIndex={10}
|
27
|
-
>
|
28
|
-
<Icon cursor="pointer"
|
29
|
-
icon="info"
|
30
|
-
size="xs"
|
31
|
-
/>
|
32
|
-
</Tooltip>
|
33
|
-
</Flex>
|
34
|
-
),
|
35
|
-
},
|
36
|
-
{
|
37
|
-
accessor: "scheduledMeetings",
|
38
|
-
label: "Scheduled Meetings",
|
39
|
-
},
|
40
|
-
{
|
41
|
-
accessor: "attendanceRate",
|
42
|
-
label: "Attendance Rate",
|
43
|
-
},
|
44
|
-
{
|
45
|
-
accessor: "completedClasses",
|
46
|
-
label: "Completed Classes",
|
47
|
-
},
|
48
|
-
{
|
49
|
-
accessor: "classCompletionRate",
|
50
|
-
label: "Class Completion Rate",
|
51
|
-
},
|
52
|
-
{
|
53
|
-
accessor: "graduatedStudents",
|
54
|
-
label: "Graduated Students",
|
55
|
-
},
|
56
|
-
];
|
57
|
-
|
58
|
-
return (
|
59
|
-
<div>
|
60
|
-
<AdvancedTable
|
61
|
-
columnDefinitions={columnDefinitions}
|
62
|
-
tableData={MOCK_DATA}
|
63
|
-
{...props}
|
64
|
-
/>
|
65
|
-
</div>
|
66
|
-
)
|
67
|
-
}
|
68
|
-
|
69
|
-
export default AdvancedTableWithCustomHeader
|
@@ -1 +0,0 @@
|
|
1
|
-
The optional `header` key/value pair can be used within `columnDefinitions` to render a custom header. This example shows an Icon and Tooltip being used but other kits can be used as well.
|
data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.html.erb
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
column_definitions = [
|
3
|
-
{
|
4
|
-
accessor: "year",
|
5
|
-
label: "Year",
|
6
|
-
cellAccessors: ["quarter", "month", "day"],
|
7
|
-
},
|
8
|
-
{
|
9
|
-
accessor: "newEnrollments",
|
10
|
-
label: "New Enrollments",
|
11
|
-
header: ->(cell, label) {
|
12
|
-
capture do
|
13
|
-
pb_rails("flex", props: { align_items: "center", justify_content: "center" }) do
|
14
|
-
pb_rails("caption", props: { margin_right: "xs", text: "New Enrollments" }) +
|
15
|
-
pb_rails("icon", props: { id: "tooltip-interact", icon: "info", size: "xs" }) +
|
16
|
-
pb_rails("tooltip", props: {
|
17
|
-
trigger_element_id: "tooltip-interact",
|
18
|
-
tooltip_id: "example-custom-tooltip",
|
19
|
-
position: "top",
|
20
|
-
z_index: "10"
|
21
|
-
}) do
|
22
|
-
"Whoa. I'm a Tooltip"
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
26
|
-
}
|
27
|
-
},
|
28
|
-
{
|
29
|
-
accessor: "scheduledMeetings",
|
30
|
-
label: "Scheduled Meetings",
|
31
|
-
},
|
32
|
-
{
|
33
|
-
accessor: "attendanceRate",
|
34
|
-
label: "Attendance Rate",
|
35
|
-
},
|
36
|
-
{
|
37
|
-
accessor: "completedClasses",
|
38
|
-
label: "Completed Classes",
|
39
|
-
},
|
40
|
-
{
|
41
|
-
accessor: "classCompletionRate",
|
42
|
-
label: "Class Completion Rate",
|
43
|
-
},
|
44
|
-
{
|
45
|
-
accessor: "graduatedStudents",
|
46
|
-
label: "Graduated Students",
|
47
|
-
}
|
48
|
-
]
|
49
|
-
%>
|
50
|
-
|
51
|
-
<%= pb_rails("advanced_table", props: { id: "custom_header_table", table_data: @table_data, column_definitions: column_definitions }) %>
|
data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_with_custom_header_rails.md
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
The optional `header` item can be used within `column_definitions` to render a custom header. This example shows an Icon and Tooltip being used but other kits can be used as well.
|
@@ -1,106 +0,0 @@
|
|
1
|
-
import colors from '../tokens/exports/_colors.module.scss'
|
2
|
-
import typography from '../tokens/exports/_typography.module.scss'
|
3
|
-
|
4
|
-
const barGraphTheme = {
|
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
|
-
},
|
14
|
-
subtitle: {
|
15
|
-
text: "",
|
16
|
-
style: {
|
17
|
-
fontFamily: typography.font_family_base,
|
18
|
-
color: colors.text_lt_light,
|
19
|
-
fontWeight: typography.regular,
|
20
|
-
fontSize: typography.text_base,
|
21
|
-
},
|
22
|
-
},
|
23
|
-
chart: {
|
24
|
-
type: "column",
|
25
|
-
},
|
26
|
-
tooltip: {
|
27
|
-
backgroundColor: {
|
28
|
-
linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 },
|
29
|
-
stops: [
|
30
|
-
[0, colors.bg_dark],
|
31
|
-
[1, colors.bg_dark],
|
32
|
-
],
|
33
|
-
},
|
34
|
-
style: {
|
35
|
-
fontFamily: typography.font_family_base,
|
36
|
-
color: colors.text_dk_default,
|
37
|
-
fontWeight: typography.regular,
|
38
|
-
fontSize: typography.text_smaller,
|
39
|
-
},
|
40
|
-
},
|
41
|
-
colors: [
|
42
|
-
colors.data_1,
|
43
|
-
colors.data_2,
|
44
|
-
colors.data_3,
|
45
|
-
colors.data_4,
|
46
|
-
colors.data_5,
|
47
|
-
colors.data_6,
|
48
|
-
colors.data_7,
|
49
|
-
],
|
50
|
-
credits: { enabled: false },
|
51
|
-
legend: {
|
52
|
-
enabled: false,
|
53
|
-
itemStyle: {
|
54
|
-
color: colors.text_lt_light,
|
55
|
-
fill: colors.text_lt_light,
|
56
|
-
fontSize: typography.text_smaller,
|
57
|
-
},
|
58
|
-
},
|
59
|
-
xAxis: {
|
60
|
-
gridLineWidth: 0,
|
61
|
-
lineColor: colors.border_light,
|
62
|
-
tickColor: colors.border_light,
|
63
|
-
labels: {
|
64
|
-
style: {
|
65
|
-
fontFamily: typography.font_family_base,
|
66
|
-
color: colors.text_lt_lighter,
|
67
|
-
fontWeight: typography.bold,
|
68
|
-
fontSize: typography.text_smaller,
|
69
|
-
},
|
70
|
-
},
|
71
|
-
title: {
|
72
|
-
style: {
|
73
|
-
color: colors.text_lt_default,
|
74
|
-
fontFamily: typography.font_family_base,
|
75
|
-
fontWeight: typography.regular,
|
76
|
-
fontSize: typography.heading_4,
|
77
|
-
},
|
78
|
-
},
|
79
|
-
},
|
80
|
-
yAxis: {
|
81
|
-
alternateGridColor: undefined as string | undefined,
|
82
|
-
minorTickInterval: null as number | null,
|
83
|
-
gridLineColor: colors.border_light,
|
84
|
-
minorGridLineColor: colors.border_light,
|
85
|
-
lineWidth: 0,
|
86
|
-
tickWidth: 0,
|
87
|
-
labels: {
|
88
|
-
style: {
|
89
|
-
fontFamily: typography.font_family_base,
|
90
|
-
color: colors.text_lt_lighter,
|
91
|
-
fontWeight: typography.bold,
|
92
|
-
fontSize: typography.text_smaller,
|
93
|
-
},
|
94
|
-
},
|
95
|
-
title: {
|
96
|
-
style: {
|
97
|
-
fontFamily: typography.font_family_base,
|
98
|
-
color: colors.text_lt_lighter,
|
99
|
-
fontWeight: typography.bold,
|
100
|
-
fontSize: typography.text_smaller,
|
101
|
-
},
|
102
|
-
},
|
103
|
-
},
|
104
|
-
}
|
105
|
-
|
106
|
-
export default barGraphTheme;
|
@@ -1,3 +0,0 @@
|
|
1
|
-
By default, Highcharts have a height of 400px, but this can be customized. You can override the default by specifying either a percentage or a fixed pixel value.
|
2
|
-
|
3
|
-
Using a percentage maintains a consistent aspect ratio across different responsive sizes. For example, setting the height to 50% makes the chart’s height half of its width.
|
@@ -1 +0,0 @@
|
|
1
|
-
**Important Note for the React Kit**: In order to leverage this kit, you must install `highcharts` and `highcharts-react-official` into your project as shown below. To then apply Playbook styles to your Highchart, import circleChartTheme.ts from playbook-ui and merge it with your Highchart options. Then, pass the merged value to the options prop. Playbook’s styling will be applied automatically. See the examples in the documentation below.
|
@@ -1 +0,0 @@
|
|
1
|
-
**Important Note for the React Kit**: In order to leverage this kit, you must install `highcharts` and `highcharts-react-official` into your project as shown below. To then apply Playbook styles to your Highchart, import gaugeTheme.ts from playbook-ui and merge it with your Highchart options. Then, pass the merged value to the options prop. Playbook’s styling will be applied automatically. See the examples in the documentation below.
|
@@ -1,2 +0,0 @@
|
|
1
|
-
Custom data colors allow for color customization to match the needs of business requirements.
|
2
|
-
Pass the prop `plotOptions.solidgauge.borderColor` with a Playbook token like `colors.` + `data_1 | data_2 | data_3 | data_4 | data_5 | data_6 | data_7 | data_8`. Hex colors are also available `eg: #CA0095`
|
@@ -1 +0,0 @@
|
|
1
|
-
We are able to wrap the Highcharts Gauge kit within Playbook kits (such as Flex and Card components).
|
@@ -1 +0,0 @@
|
|
1
|
-
Use custom CSS with classes or inline styles (as shown in these docs) to customize the appearance of prefix and suffix units.
|
@@ -1,3 +0,0 @@
|
|
1
|
-
By default, Highcharts have a height of 400px, but this can be customized. You can override the default by specifying either a percentage or a fixed pixel value.
|
2
|
-
|
3
|
-
Using a percentage maintains a consistent aspect ratio across different responsive sizes. For example, setting the height to 50% makes the chart’s height half of its width.
|