playbook_ui_docs 14.12.0.pre.alpha.testingwithfas5689 → 14.12.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/docs/_advanced_table_pagination.jsx +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pagination_with_props.jsx +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_control.md +2 -2
- data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +0 -7
- data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +1 -6
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.md +1 -1
- data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.html.erb +3 -1
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md +0 -7
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list_rails.html.erb +9 -3
- data/app/pb_kits/playbook/pb_draggable/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_borders.jsx +45 -3
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_breakpoints.jsx +1 -0
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_default.jsx +16 -9
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_menu.jsx +19 -44
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_menu.md +3 -21
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_overlay.jsx +21 -16
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_sizes.jsx +19 -2
- data/app/pb_kits/playbook/pb_drawer/docs/example.yml +1 -2
- data/app/pb_kits/playbook/pb_drawer/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subtle_variant.md +1 -1
- data/app/pb_kits/playbook/pb_phone_number_input/docs/example.yml +1 -3
- data/app/pb_kits/playbook/pb_phone_number_input/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_radio/docs/_radio_custom_children.jsx +3 -8
- data/app/pb_kits/playbook/pb_selectable_icon/docs/_selectable_icon_default.jsx +1 -4
- data/app/pb_kits/playbook/pb_selectable_icon/docs/_selectable_icon_single_select.jsx +1 -4
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns_rails.md +2 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content.jsx +8 -12
- data/app/pb_kits/playbook/pb_table/docs/example.yml +0 -6
- data/app/pb_kits/playbook/pb_text_input/docs/example.yml +1 -2
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_custom_menu_list.jsx +0 -2
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.jsx +2 -4
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_custom_options.jsx +5 -5
- data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_typeahead/docs/index.js +0 -1
- data/dist/playbook-doc.js +1 -1
- metadata +7 -49
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_no_subrows.jsx +0 -50
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_responsive.html.erb +0 -38
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows.jsx +0 -60
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows.md +0 -5
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_actions.jsx +0 -78
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_actions.md +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_header.jsx +0 -53
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_header.md +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_no_subrows.jsx +0 -52
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_no_subrows.md +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props.html.erb +0 -33
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_rails.md +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data_no_subrows.json +0 -42
- data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data_with_id.json +0 -299
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_turbo_frames.html.erb +0 -13
- data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_turbo_frames_rails.md +0 -3
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list_rails.md +0 -5
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list_rails.html.erb +0 -38
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list_rails.md +0 -3
- data/app/pb_kits/playbook/pb_drawer/docs/_drawer_behavior.jsx +0 -38
- data/app/pb_kits/playbook/pb_icon_button/docs/_icon_button_default.html.erb +0 -3
- data/app/pb_kits/playbook/pb_icon_button/docs/example.yml +0 -7
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_format.html.erb +0 -15
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_format.jsx +0 -24
- data/app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_format.md +0 -1
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_columns.html.erb +0 -74
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_columns_rails.md +0 -3
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_right_columns.html.erb +0 -74
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_right_columns_rails.md +0 -3
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible.html.erb +0 -47
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_rails.md +0 -2
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content_rails.html.erb +0 -52
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content_rails.md +0 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_rows_rails.html.erb +0 -52
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_rows_rails.md +0 -3
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table_rails.html.erb +0 -80
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table_rails.md +0 -1
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_mask.html.erb +0 -46
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_mask_rails.md +0 -3
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_truncated_text.html.erb +0 -19
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_truncated_text.jsx +0 -27
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_truncated_text.md +0 -1
- /data/app/pb_kits/playbook/pb_advanced_table/docs/{_advanced_table_table_props_react.md → _advanced_table_table_props.md} +0 -0
- /data/app/pb_kits/playbook/pb_table/docs/{_table_with_collapsible_react.md → _table_with_collapsible.md} +0 -0
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui_docs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 14.12.0.pre.
|
4
|
+
version: 14.12.0.pre.rc.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
8
8
|
- Power Devs
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2025-01-
|
12
|
+
date: 2025-01-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: playbook_ui
|
@@ -61,22 +61,12 @@ files:
|
|
61
61
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_inline_row_loading.md
|
62
62
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_loading.jsx
|
63
63
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_loading.md
|
64
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_no_subrows.jsx
|
65
64
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pagination.jsx
|
66
65
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pagination.md
|
67
66
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pagination_with_props.jsx
|
68
67
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pagination_with_props.md
|
69
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_responsive.html.erb
|
70
68
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_responsive.jsx
|
71
69
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_responsive.md
|
72
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows.jsx
|
73
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows.md
|
74
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_actions.jsx
|
75
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_actions.md
|
76
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_header.jsx
|
77
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_header.md
|
78
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_no_subrows.jsx
|
79
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_no_subrows.md
|
80
70
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort.jsx
|
81
71
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort.md
|
82
72
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort_control.jsx
|
@@ -85,14 +75,10 @@ files:
|
|
85
75
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_subrow_headers.md
|
86
76
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.jsx
|
87
77
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_options.md
|
88
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props.html.erb
|
89
78
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props.jsx
|
90
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/
|
91
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_react.md
|
79
|
+
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props.md
|
92
80
|
- app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading.js
|
93
81
|
- app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data.json
|
94
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data_no_subrows.json
|
95
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data_with_id.json
|
96
82
|
- app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_pagination_mock_data.json
|
97
83
|
- app/pb_kits/playbook/pb_advanced_table/docs/example.yml
|
98
84
|
- app/pb_kits/playbook/pb_advanced_table/docs/index.js
|
@@ -554,8 +540,6 @@ files:
|
|
554
540
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_time.html.erb
|
555
541
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_time.jsx
|
556
542
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_time.md
|
557
|
-
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_turbo_frames.html.erb
|
558
|
-
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_turbo_frames_rails.md
|
559
543
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_week.html.erb
|
560
544
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_week.jsx
|
561
545
|
- app/pb_kits/playbook/pb_date_picker/docs/_date_picker_week.md
|
@@ -696,14 +680,10 @@ files:
|
|
696
680
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list.jsx
|
697
681
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list.md
|
698
682
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list_rails.html.erb
|
699
|
-
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list_rails.md
|
700
683
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list.jsx
|
701
684
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list.md
|
702
|
-
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list_rails.html.erb
|
703
|
-
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list_rails.md
|
704
685
|
- app/pb_kits/playbook/pb_draggable/docs/example.yml
|
705
686
|
- app/pb_kits/playbook/pb_draggable/docs/index.js
|
706
|
-
- app/pb_kits/playbook/pb_drawer/docs/_drawer_behavior.jsx
|
707
687
|
- app/pb_kits/playbook/pb_drawer/docs/_drawer_borders.jsx
|
708
688
|
- app/pb_kits/playbook/pb_drawer/docs/_drawer_breakpoints.jsx
|
709
689
|
- app/pb_kits/playbook/pb_drawer/docs/_drawer_default.html.erb
|
@@ -1010,8 +990,6 @@ files:
|
|
1010
990
|
- app/pb_kits/playbook/pb_icon/docs/_icon_sizes_swift.md
|
1011
991
|
- app/pb_kits/playbook/pb_icon/docs/example.yml
|
1012
992
|
- app/pb_kits/playbook/pb_icon/docs/index.js
|
1013
|
-
- app/pb_kits/playbook/pb_icon_button/docs/_icon_button_default.html.erb
|
1014
|
-
- app/pb_kits/playbook/pb_icon_button/docs/example.yml
|
1015
993
|
- app/pb_kits/playbook/pb_icon_circle/docs/_description.md
|
1016
994
|
- app/pb_kits/playbook/pb_icon_circle/docs/_footer.md
|
1017
995
|
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color.html.erb
|
@@ -1415,9 +1393,6 @@ files:
|
|
1415
1393
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.html.erb
|
1416
1394
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.jsx
|
1417
1395
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_default.md
|
1418
|
-
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_format.html.erb
|
1419
|
-
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_format.jsx
|
1420
|
-
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_format.md
|
1421
1396
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_initial_country.html.erb
|
1422
1397
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_initial_country.jsx
|
1423
1398
|
- app/pb_kits/playbook/pb_phone_number_input/docs/_phone_number_input_initial_country.md
|
@@ -1794,17 +1769,13 @@ files:
|
|
1794
1769
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky.html.erb
|
1795
1770
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky.jsx
|
1796
1771
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky.md
|
1797
|
-
- app/pb_kits/playbook/pb_table/docs/_table_sticky_columns.html.erb
|
1798
1772
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky_columns.jsx
|
1799
|
-
- app/pb_kits/playbook/pb_table/docs/_table_sticky_columns_rails.md
|
1800
1773
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky_columns_react.md
|
1801
1774
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns.html.erb
|
1802
1775
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns.jsx
|
1803
1776
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns_rails.md
|
1804
1777
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns_react.md
|
1805
|
-
- app/pb_kits/playbook/pb_table/docs/_table_sticky_right_columns.html.erb
|
1806
1778
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky_right_columns.jsx
|
1807
|
-
- app/pb_kits/playbook/pb_table/docs/_table_sticky_right_columns_rails.md
|
1808
1779
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky_right_columns_react.md
|
1809
1780
|
- app/pb_kits/playbook/pb_table/docs/_table_striped.html.erb
|
1810
1781
|
- app/pb_kits/playbook/pb_table/docs/_table_striped.jsx
|
@@ -1819,24 +1790,16 @@ files:
|
|
1819
1790
|
- app/pb_kits/playbook/pb_table/docs/_table_vertical_border.jsx
|
1820
1791
|
- app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
|
1821
1792
|
- app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
|
1822
|
-
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible.html.erb
|
1823
1793
|
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible.jsx
|
1824
|
-
- app/pb_kits/playbook/pb_table/docs/
|
1825
|
-
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_react.md
|
1794
|
+
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible.md
|
1826
1795
|
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click.jsx
|
1827
1796
|
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click.md
|
1828
1797
|
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content.jsx
|
1829
1798
|
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content.md
|
1830
|
-
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content_rails.html.erb
|
1831
|
-
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content_rails.md
|
1832
1799
|
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_rows.jsx
|
1833
1800
|
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_rows.md
|
1834
|
-
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_rows_rails.html.erb
|
1835
|
-
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_rows_rails.md
|
1836
1801
|
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table.jsx
|
1837
1802
|
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table.md
|
1838
|
-
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table_rails.html.erb
|
1839
|
-
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table_rails.md
|
1840
1803
|
- app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents.jsx
|
1841
1804
|
- app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents.md
|
1842
1805
|
- app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.html.erb
|
@@ -1865,9 +1828,7 @@ files:
|
|
1865
1828
|
- app/pb_kits/playbook/pb_text_input/docs/_text_input_error_swift.md
|
1866
1829
|
- app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.html.erb
|
1867
1830
|
- app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
|
1868
|
-
- app/pb_kits/playbook/pb_text_input/docs/_text_input_mask.html.erb
|
1869
1831
|
- app/pb_kits/playbook/pb_text_input/docs/_text_input_mask.jsx
|
1870
|
-
- app/pb_kits/playbook/pb_text_input/docs/_text_input_mask_rails.md
|
1871
1832
|
- app/pb_kits/playbook/pb_text_input/docs/_text_input_no_label.html.erb
|
1872
1833
|
- app/pb_kits/playbook/pb_text_input/docs/_text_input_no_label.jsx
|
1873
1834
|
- app/pb_kits/playbook/pb_text_input/docs/_text_input_options.html.erb
|
@@ -2068,9 +2029,6 @@ files:
|
|
2068
2029
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_margin_bottom.jsx
|
2069
2030
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.html.erb
|
2070
2031
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx
|
2071
|
-
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_truncated_text.html.erb
|
2072
|
-
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_truncated_text.jsx
|
2073
|
-
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_truncated_text.md
|
2074
2032
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_context.html.erb
|
2075
2033
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_highlight.jsx
|
2076
2034
|
- app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.html.erb
|
@@ -2148,7 +2106,7 @@ homepage: https://playbook.powerapp.cloud/
|
|
2148
2106
|
licenses:
|
2149
2107
|
- ISC
|
2150
2108
|
metadata: {}
|
2151
|
-
post_install_message:
|
2109
|
+
post_install_message:
|
2152
2110
|
rdoc_options: []
|
2153
2111
|
require_paths:
|
2154
2112
|
- lib
|
@@ -2164,7 +2122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
2164
2122
|
version: '0'
|
2165
2123
|
requirements: []
|
2166
2124
|
rubygems_version: 3.5.3
|
2167
|
-
signing_key:
|
2125
|
+
signing_key:
|
2168
2126
|
specification_version: 4
|
2169
2127
|
summary: Playbook Design System Docs
|
2170
2128
|
test_files: []
|
@@ -1,50 +0,0 @@
|
|
1
|
-
import React from "react"
|
2
|
-
import { AdvancedTable } from "playbook-ui"
|
3
|
-
import MOCK_DATA from "./advanced_table_mock_data_no_subrows.json"
|
4
|
-
|
5
|
-
const AdvancedTableNoSubrows = (props) => {
|
6
|
-
const columnDefinitions = [
|
7
|
-
{
|
8
|
-
accessor: "year",
|
9
|
-
label: "Year",
|
10
|
-
cellAccessors: ["quarter", "month", "day"],
|
11
|
-
},
|
12
|
-
{
|
13
|
-
accessor: "newEnrollments",
|
14
|
-
label: "New Enrollments",
|
15
|
-
},
|
16
|
-
{
|
17
|
-
accessor: "scheduledMeetings",
|
18
|
-
label: "Scheduled Meetings",
|
19
|
-
},
|
20
|
-
{
|
21
|
-
accessor: "attendanceRate",
|
22
|
-
label: "Attendance Rate",
|
23
|
-
},
|
24
|
-
{
|
25
|
-
accessor: "completedClasses",
|
26
|
-
label: "Completed Classes",
|
27
|
-
},
|
28
|
-
{
|
29
|
-
accessor: "classCompletionRate",
|
30
|
-
label: "Class Completion Rate",
|
31
|
-
},
|
32
|
-
{
|
33
|
-
accessor: "graduatedStudents",
|
34
|
-
label: "Graduated Students",
|
35
|
-
},
|
36
|
-
]
|
37
|
-
|
38
|
-
return (
|
39
|
-
<div>
|
40
|
-
<AdvancedTable
|
41
|
-
columnDefinitions={columnDefinitions}
|
42
|
-
enableToggleExpansion="all"
|
43
|
-
tableData={MOCK_DATA}
|
44
|
-
{...props}
|
45
|
-
/>
|
46
|
-
</div>
|
47
|
-
)
|
48
|
-
}
|
49
|
-
|
50
|
-
export default AdvancedTableNoSubrows
|
@@ -1,38 +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
|
-
},
|
12
|
-
{
|
13
|
-
accessor: "scheduledMeetings",
|
14
|
-
label: "Scheduled Meetings",
|
15
|
-
},
|
16
|
-
{
|
17
|
-
accessor: "attendanceRate",
|
18
|
-
label: "Attendance Rate",
|
19
|
-
},
|
20
|
-
{
|
21
|
-
accessor: "completedClasses",
|
22
|
-
label: "Completed Classes",
|
23
|
-
},
|
24
|
-
{
|
25
|
-
accessor: "classCompletionRate",
|
26
|
-
label: "Class Completion Rate",
|
27
|
-
},
|
28
|
-
{
|
29
|
-
accessor: "graduatedStudents",
|
30
|
-
label: "Graduated Students",
|
31
|
-
},
|
32
|
-
] %>
|
33
|
-
|
34
|
-
<%= pb_rails("title", props: { size: 4 }) do %> Not Responsive <% end %>
|
35
|
-
<%= pb_rails("advanced_table", props: { id: "table_props_table_non_responsive", table_data: @table_data, column_definitions: column_definitions, responsive: "none" }) %>
|
36
|
-
|
37
|
-
<%= pb_rails("title", props: { padding_top: "sm", size: 4 }) do %> Responsive as Default <% end %>
|
38
|
-
<%= pb_rails("advanced_table", props: { id: "table_props_table_responsive", table_data: @table_data, column_definitions: column_definitions }) %>
|
@@ -1,60 +0,0 @@
|
|
1
|
-
import React from "react"
|
2
|
-
import { AdvancedTable } from "playbook-ui"
|
3
|
-
import MOCK_DATA from "./advanced_table_mock_data_with_id.json"
|
4
|
-
|
5
|
-
const AdvancedTableSelectableRows = (props) => {
|
6
|
-
const columnDefinitions = [
|
7
|
-
{
|
8
|
-
accessor: "year",
|
9
|
-
label: "Year",
|
10
|
-
cellAccessors: ["quarter", "month", "day"],
|
11
|
-
},
|
12
|
-
{
|
13
|
-
accessor: "newEnrollments",
|
14
|
-
label: "New Enrollments",
|
15
|
-
},
|
16
|
-
{
|
17
|
-
accessor: "scheduledMeetings",
|
18
|
-
label: "Scheduled Meetings",
|
19
|
-
},
|
20
|
-
{
|
21
|
-
accessor: "attendanceRate",
|
22
|
-
label: "Attendance Rate",
|
23
|
-
},
|
24
|
-
{
|
25
|
-
accessor: "completedClasses",
|
26
|
-
label: "Completed Classes",
|
27
|
-
},
|
28
|
-
{
|
29
|
-
accessor: "classCompletionRate",
|
30
|
-
label: "Class Completion Rate",
|
31
|
-
},
|
32
|
-
{
|
33
|
-
accessor: "graduatedStudents",
|
34
|
-
label: "Graduated Students",
|
35
|
-
},
|
36
|
-
]
|
37
|
-
|
38
|
-
//Render the subRow header rows
|
39
|
-
const subRowHeaders = ["Quarter", "Month", "Day"]
|
40
|
-
|
41
|
-
|
42
|
-
return (
|
43
|
-
<div>
|
44
|
-
<AdvancedTable
|
45
|
-
columnDefinitions={columnDefinitions}
|
46
|
-
enableToggleExpansion="all"
|
47
|
-
onRowSelectionChange={(selectedRows) => console.log(selectedRows)}
|
48
|
-
selectableRows
|
49
|
-
tableData={MOCK_DATA}
|
50
|
-
|
51
|
-
{...props}
|
52
|
-
>
|
53
|
-
<AdvancedTable.Header />
|
54
|
-
<AdvancedTable.Body subRowHeaders={subRowHeaders}/>
|
55
|
-
</AdvancedTable>
|
56
|
-
</div>
|
57
|
-
)
|
58
|
-
}
|
59
|
-
|
60
|
-
export default AdvancedTableSelectableRows
|
@@ -1,5 +0,0 @@
|
|
1
|
-
`selectableRows` is a boolean prop that if present will add checkboxes to all rows that will allow for selecting rows.
|
2
|
-
|
3
|
-
When a parent row is clicked, it will check all nested children rows, Children rows can be manually checked or unchecked as well.
|
4
|
-
|
5
|
-
The `onRowSelectionChange` prop returns an array of ids of all Rows that have been selected. Open the console on this example and check and uncheck checkboxes to see this is action! __NOTE__: Each object within the `tableData`Array must contain a unique id in order to attach an id to all Rows for this to function.
|
data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_actions.jsx
DELETED
@@ -1,78 +0,0 @@
|
|
1
|
-
import React, {useState} from "react"
|
2
|
-
import { AdvancedTable, CircleIconButton, Flex } from "playbook-ui"
|
3
|
-
import MOCK_DATA from "./advanced_table_mock_data_no_subrows.json"
|
4
|
-
|
5
|
-
const AdvancedTableSelectableRowsActions = (props) => {
|
6
|
-
const columnDefinitions = [
|
7
|
-
{
|
8
|
-
accessor: "year",
|
9
|
-
label: "Year",
|
10
|
-
cellAccessors: ["quarter", "month", "day"],
|
11
|
-
},
|
12
|
-
{
|
13
|
-
accessor: "newEnrollments",
|
14
|
-
label: "New Enrollments",
|
15
|
-
},
|
16
|
-
{
|
17
|
-
accessor: "scheduledMeetings",
|
18
|
-
label: "Scheduled Meetings",
|
19
|
-
},
|
20
|
-
{
|
21
|
-
accessor: "attendanceRate",
|
22
|
-
label: "Attendance Rate",
|
23
|
-
},
|
24
|
-
{
|
25
|
-
accessor: "completedClasses",
|
26
|
-
label: "Completed Classes",
|
27
|
-
},
|
28
|
-
{
|
29
|
-
accessor: "classCompletionRate",
|
30
|
-
label: "Class Completion Rate",
|
31
|
-
},
|
32
|
-
{
|
33
|
-
accessor: "graduatedStudents",
|
34
|
-
label: "Graduated Students",
|
35
|
-
},
|
36
|
-
]
|
37
|
-
|
38
|
-
const [selectedRows, setSelectedRows] = useState()
|
39
|
-
|
40
|
-
const CustomActions = () => {
|
41
|
-
const rowIds = selectedRows ? Object.keys(selectedRows) : [];
|
42
|
-
|
43
|
-
return (
|
44
|
-
<Flex>
|
45
|
-
<CircleIconButton
|
46
|
-
icon="file-csv"
|
47
|
-
onClick={() =>
|
48
|
-
alert(rowIds.length === 0 ? "No Selection Made" : `Row ids ${rowIds.join(", ")} will be exported!`)
|
49
|
-
}
|
50
|
-
variant="link"
|
51
|
-
/>
|
52
|
-
<CircleIconButton
|
53
|
-
icon="trash-alt"
|
54
|
-
onClick={() =>
|
55
|
-
alert(rowIds.length === 0 ? "No Selection Made" : `Row ids ${rowIds.join(", ")} will be deleted!`)
|
56
|
-
}
|
57
|
-
variant="link"
|
58
|
-
/>
|
59
|
-
</Flex>
|
60
|
-
);
|
61
|
-
};
|
62
|
-
|
63
|
-
|
64
|
-
return (
|
65
|
-
<div>
|
66
|
-
<AdvancedTable
|
67
|
-
actions={<CustomActions/>}
|
68
|
-
columnDefinitions={columnDefinitions}
|
69
|
-
onRowSelectionChange={(selected) => setSelectedRows(selected)}
|
70
|
-
selectableRows
|
71
|
-
tableData={MOCK_DATA}
|
72
|
-
{...props}
|
73
|
-
/>
|
74
|
-
</div>
|
75
|
-
)
|
76
|
-
}
|
77
|
-
|
78
|
-
export default AdvancedTableSelectableRowsActions
|
@@ -1 +0,0 @@
|
|
1
|
-
Custom actions content can be rendered within the Actions Bar as shown in this doc example. The component passed to `actions` will be rendered on the right of the actionsBar. The `onRowSelectionChange` can then be used to attach the needed click events to those actions.
|
@@ -1,53 +0,0 @@
|
|
1
|
-
import React from "react"
|
2
|
-
import { AdvancedTable } from "playbook-ui"
|
3
|
-
import MOCK_DATA from "./advanced_table_mock_data_no_subrows.json"
|
4
|
-
|
5
|
-
const AdvancedTableSelectableRowsHeader = (props) => {
|
6
|
-
const columnDefinitions = [
|
7
|
-
{
|
8
|
-
accessor: "year",
|
9
|
-
label: "Year",
|
10
|
-
cellAccessors: ["quarter", "month", "day"],
|
11
|
-
},
|
12
|
-
{
|
13
|
-
accessor: "newEnrollments",
|
14
|
-
label: "New Enrollments",
|
15
|
-
},
|
16
|
-
{
|
17
|
-
accessor: "scheduledMeetings",
|
18
|
-
label: "Scheduled Meetings",
|
19
|
-
},
|
20
|
-
{
|
21
|
-
accessor: "attendanceRate",
|
22
|
-
label: "Attendance Rate",
|
23
|
-
},
|
24
|
-
{
|
25
|
-
accessor: "completedClasses",
|
26
|
-
label: "Completed Classes",
|
27
|
-
},
|
28
|
-
{
|
29
|
-
accessor: "classCompletionRate",
|
30
|
-
label: "Class Completion Rate",
|
31
|
-
},
|
32
|
-
{
|
33
|
-
accessor: "graduatedStudents",
|
34
|
-
label: "Graduated Students",
|
35
|
-
},
|
36
|
-
]
|
37
|
-
|
38
|
-
|
39
|
-
return (
|
40
|
-
<div>
|
41
|
-
<AdvancedTable
|
42
|
-
columnDefinitions={columnDefinitions}
|
43
|
-
onRowSelectionChange={(selectedRows) => console.log(selectedRows)}
|
44
|
-
selectableRows
|
45
|
-
showActionsBar={false}
|
46
|
-
tableData={MOCK_DATA}
|
47
|
-
{...props}
|
48
|
-
/>
|
49
|
-
</div>
|
50
|
-
)
|
51
|
-
}
|
52
|
-
|
53
|
-
export default AdvancedTableSelectableRowsHeader
|
@@ -1 +0,0 @@
|
|
1
|
-
`showActionsBar` is an optional prop that renders the header at the top showing the row count. This is set to `true` by default but can be toggled off by setting it to `false`
|
data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_no_subrows.jsx
DELETED
@@ -1,52 +0,0 @@
|
|
1
|
-
import React from "react"
|
2
|
-
import { AdvancedTable } from "playbook-ui"
|
3
|
-
import MOCK_DATA from "./advanced_table_mock_data_no_subrows.json"
|
4
|
-
|
5
|
-
const AdvancedTableSelectableRowsNoSubrows = (props) => {
|
6
|
-
const columnDefinitions = [
|
7
|
-
{
|
8
|
-
accessor: "year",
|
9
|
-
label: "Year",
|
10
|
-
cellAccessors: ["quarter", "month", "day"],
|
11
|
-
},
|
12
|
-
{
|
13
|
-
accessor: "newEnrollments",
|
14
|
-
label: "New Enrollments",
|
15
|
-
},
|
16
|
-
{
|
17
|
-
accessor: "scheduledMeetings",
|
18
|
-
label: "Scheduled Meetings",
|
19
|
-
},
|
20
|
-
{
|
21
|
-
accessor: "attendanceRate",
|
22
|
-
label: "Attendance Rate",
|
23
|
-
},
|
24
|
-
{
|
25
|
-
accessor: "completedClasses",
|
26
|
-
label: "Completed Classes",
|
27
|
-
},
|
28
|
-
{
|
29
|
-
accessor: "classCompletionRate",
|
30
|
-
label: "Class Completion Rate",
|
31
|
-
},
|
32
|
-
{
|
33
|
-
accessor: "graduatedStudents",
|
34
|
-
label: "Graduated Students",
|
35
|
-
},
|
36
|
-
]
|
37
|
-
|
38
|
-
|
39
|
-
return (
|
40
|
-
<div>
|
41
|
-
<AdvancedTable
|
42
|
-
columnDefinitions={columnDefinitions}
|
43
|
-
onRowSelectionChange={(selectedRows) => console.log(selectedRows)}
|
44
|
-
selectableRows
|
45
|
-
tableData={MOCK_DATA}
|
46
|
-
{...props}
|
47
|
-
/>
|
48
|
-
</div>
|
49
|
-
)
|
50
|
-
}
|
51
|
-
|
52
|
-
export default AdvancedTableSelectableRowsNoSubrows
|
data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_no_subrows.md
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
`selectableRows` can also be used with tables without nested row data.
|
@@ -1,33 +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
|
-
<%= pb_rails("advanced_table", props: { id: "table_props_table", table_data: @table_data, column_definitions: column_definitions, table_props: { container: false, sticky: true }}) %>
|
@@ -1 +0,0 @@
|
|
1
|
-
This kit uses the [Table kit](https://playbook.powerapp.cloud/kits/table) under the hood which comes with it's own set of props. If you want to apply certain Table props to that underlying kit, you can do so by using the optional `table_props` prop. This prop must be an object that contains valid Table props. For a full list of Table props, see [here](https://playbook.powerapp.cloud/kits/table).
|
@@ -1,42 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"year": "2021",
|
4
|
-
"id": "1",
|
5
|
-
"newEnrollments": "20",
|
6
|
-
"scheduledMeetings": "10",
|
7
|
-
"attendanceRate": "51%",
|
8
|
-
"completedClasses": "3",
|
9
|
-
"classCompletionRate": "33%",
|
10
|
-
"graduatedStudents": "19"
|
11
|
-
},
|
12
|
-
{
|
13
|
-
"year": "2022",
|
14
|
-
"id": "8",
|
15
|
-
"newEnrollments": "25",
|
16
|
-
"scheduledMeetings": "17",
|
17
|
-
"attendanceRate": "75%",
|
18
|
-
"completedClasses": "5",
|
19
|
-
"classCompletionRate": "45%",
|
20
|
-
"graduatedStudents": "32"
|
21
|
-
},
|
22
|
-
{
|
23
|
-
"year": "2023",
|
24
|
-
"id": "15",
|
25
|
-
"newEnrollments": "10",
|
26
|
-
"scheduledMeetings": "15",
|
27
|
-
"attendanceRate": "65%",
|
28
|
-
"completedClasses": "4",
|
29
|
-
"classCompletionRate": "49%",
|
30
|
-
"graduatedStudents": "29"
|
31
|
-
},
|
32
|
-
{
|
33
|
-
"year": "2024",
|
34
|
-
"id": "14",
|
35
|
-
"newEnrollments": "15",
|
36
|
-
"scheduledMeetings": "34",
|
37
|
-
"attendanceRate": "32%",
|
38
|
-
"completedClasses": "6",
|
39
|
-
"classCompletionRate": "67%",
|
40
|
-
"graduatedStudents": "65"
|
41
|
-
}
|
42
|
-
]
|