playbook_ui_docs 14.14.0.pre.alpha.revert4339revert4242play1633displaytitle6456 → 14.14.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.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props.html.erb +1 -1
  3. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_rails.md +1 -3
  4. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_react.md +1 -1
  5. data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +0 -2
  6. data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +1 -2
  7. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.html.erb +19 -0
  8. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.jsx +26 -0
  9. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.html.erb +10 -0
  10. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.jsx +17 -0
  11. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_on_click.jsx +19 -0
  12. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb +16 -0
  13. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.html.erb +35 -0
  14. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.jsx +42 -0
  15. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_tooltip.html.erb +13 -0
  16. data/app/pb_kits/playbook/pb_avatar_action_button/docs/example.yml +15 -0
  17. data/app/pb_kits/playbook/pb_avatar_action_button/docs/index.js +4 -0
  18. data/app/pb_kits/playbook/pb_bar_graph/docs/example.yml +0 -1
  19. data/app/pb_kits/playbook/pb_bar_graph/docs/index.js +0 -1
  20. data/app/pb_kits/playbook/pb_checkbox/docs/example.yml +1 -2
  21. data/app/pb_kits/playbook/pb_checkbox/docs/index.js +0 -1
  22. data/app/pb_kits/playbook/pb_currency/docs/example.yml +0 -2
  23. data/app/pb_kits/playbook/pb_currency/docs/index.js +1 -2
  24. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_table.html.erb +2 -2
  25. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_table.md +1 -4
  26. data/app/pb_kits/playbook/pb_draggable/docs/example.yml +0 -2
  27. data/app/pb_kits/playbook/pb_draggable/docs/index.js +1 -2
  28. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_default.html.erb +1 -20
  29. data/app/pb_kits/playbook/pb_drawer/docs/example.yml +0 -5
  30. data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +0 -1
  31. data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +1 -2
  32. data/app/pb_kits/playbook/pb_icon_button/docs/_icon_button_default.html.erb +2 -1
  33. data/app/pb_kits/playbook/pb_icon_button/docs/example.yml +3 -5
  34. data/app/pb_kits/playbook/pb_overlay/docs/example.yml +0 -2
  35. data/app/pb_kits/playbook/pb_overlay/docs/index.js +0 -1
  36. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_default.html.erb +0 -1
  37. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_default.jsx +0 -7
  38. data/app/pb_kits/playbook/pb_progress_pills/docs/example.yml +0 -2
  39. data/app/pb_kits/playbook/pb_progress_pills/docs/index.js +0 -1
  40. data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible.jsx +1 -1
  41. data/app/pb_kits/playbook/pb_table/docs/example.yml +0 -5
  42. data/app/pb_kits/playbook/pb_table/docs/index.js +1 -3
  43. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_mask.html.erb +0 -14
  44. data/app/pb_kits/playbook/pb_title/docs/_title_default.html.erb +2 -1
  45. data/app/pb_kits/playbook/pb_title/docs/_title_default.jsx +1 -1
  46. data/app/pb_kits/playbook/pb_title/docs/example.yml +0 -2
  47. data/app/pb_kits/playbook/pb_title/docs/index.js +0 -1
  48. data/app/pb_kits/playbook/pb_tooltip/docs/example.yml +0 -2
  49. data/dist/playbook-doc.js +1 -1
  50. metadata +14 -50
  51. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_custom_cell.jsx +0 -75
  52. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header.html.erb +0 -33
  53. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_rails.md +0 -3
  54. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_pb_styles.jsx +0 -64
  55. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_pb_styles.md +0 -1
  56. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_react_hook.jsx +0 -69
  57. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_react_hook.md +0 -1
  58. data/app/pb_kits/playbook/pb_currency/docs/_currency_null_display.html.erb +0 -22
  59. data/app/pb_kits/playbook/pb_currency/docs/_currency_null_display.jsx +0 -34
  60. data/app/pb_kits/playbook/pb_currency/docs/_currency_null_display_rails.md +0 -1
  61. data/app/pb_kits/playbook/pb_currency/docs/_currency_null_display_react.md +0 -1
  62. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_table_react.jsx +0 -90
  63. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_table_react.md +0 -5
  64. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_behavior.html.erb +0 -8
  65. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_borders.html.erb +0 -33
  66. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_breakpoints.html.erb +0 -0
  67. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_menu.html.erb +0 -24
  68. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_overlay.html.erb +0 -21
  69. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_overlay.md +0 -1
  70. data/app/pb_kits/playbook/pb_drawer/docs/_drawer_sizes.html.erb +0 -49
  71. data/app/pb_kits/playbook/pb_icon_button/docs/_icon_button_default.jsx +0 -17
  72. data/app/pb_kits/playbook/pb_icon_button/docs/_icon_button_sizes.html.erb +0 -27
  73. data/app/pb_kits/playbook/pb_icon_button/docs/_icon_button_sizes.jsx +0 -61
  74. data/app/pb_kits/playbook/pb_icon_button/docs/index.js +0 -2
  75. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_vertical_dynamic_multi_directional.html.erb +0 -11
  76. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_vertical_dynamic_multi_directional.jsx +0 -37
  77. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_vertical_dynamic_multi_directional.md +0 -1
  78. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_vertical_dynamic_multi_directional_react.md +0 -1
  79. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_default.md +0 -1
  80. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_full_width.html.erb +0 -1
  81. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_full_width.jsx +0 -18
  82. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_full_width_rails.md +0 -1
  83. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_full_width_react.md +0 -1
  84. data/app/pb_kits/playbook/pb_table/docs/_table_with_clickable_rows.html.erb +0 -47
  85. data/app/pb_kits/playbook/pb_table/docs/_table_with_clickable_rows.jsx +0 -88
  86. data/app/pb_kits/playbook/pb_table/docs/_table_with_clickable_rows.md +0 -1
  87. data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click.html.erb +0 -51
  88. data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click_rails.md +0 -2
  89. data/app/pb_kits/playbook/pb_table/docs/_table_with_selectable_rows.html.erb +0 -96
  90. data/app/pb_kits/playbook/pb_table/docs/_table_with_selectable_rows.jsx +0 -101
  91. data/app/pb_kits/playbook/pb_table/docs/_table_with_selectable_rows.md +0 -1
  92. data/app/pb_kits/playbook/pb_title/docs/_title_display_size.html.erb +0 -7
  93. data/app/pb_kits/playbook/pb_title/docs/_title_display_size.jsx +0 -54
  94. data/app/pb_kits/playbook/pb_title/docs/_title_display_size.md +0 -1
  95. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_delay_rails.html.erb +0 -39
  96. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_delay_rails.md +0 -3
  97. data/app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.html.erb +0 -26
  98. /data/app/pb_kits/playbook/pb_table/docs/{_table_with_collapsible_with_custom_click_react.md → _table_with_collapsible_with_custom_click.md} +0 -0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui_docs
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.14.0.pre.alpha.revert4339revert4242play1633displaytitle6456
4
+ version: 14.14.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-03-04 00:00:00.000000000 Z
12
+ date: 2025-02-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: playbook_ui
@@ -46,7 +46,6 @@ files:
46
46
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers.html.erb
47
47
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers.jsx
48
48
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers.md
49
- - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_custom_cell.jsx
50
49
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_multiple.html.erb
51
50
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_multiple.jsx
52
51
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_multiple.md
@@ -92,9 +91,7 @@ files:
92
91
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props.jsx
93
92
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_rails.md
94
93
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_react.md
95
- - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header.html.erb
96
94
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header.jsx
97
- - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_rails.md
98
95
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_react.md
99
96
  - app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading.js
100
97
  - app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data.json
@@ -127,6 +124,17 @@ files:
127
124
  - app/pb_kits/playbook/pb_avatar/docs/_footer.md
128
125
  - app/pb_kits/playbook/pb_avatar/docs/example.yml
129
126
  - app/pb_kits/playbook/pb_avatar/docs/index.js
127
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.html.erb
128
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.jsx
129
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.html.erb
130
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.jsx
131
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_on_click.jsx
132
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb
133
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.html.erb
134
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.jsx
135
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_tooltip.html.erb
136
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/example.yml
137
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/index.js
130
138
  - app/pb_kits/playbook/pb_background/docs/_background_category.html.erb
131
139
  - app/pb_kits/playbook/pb_background/docs/_background_category.jsx
132
140
  - app/pb_kits/playbook/pb_background/docs/_background_category.md
@@ -189,8 +197,6 @@ files:
189
197
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.md
190
198
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb
191
199
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
192
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_pb_styles.jsx
193
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_pb_styles.md
194
200
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.html.erb
195
201
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.jsx
196
202
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.md
@@ -348,8 +354,6 @@ files:
348
354
  - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate_swift.md
349
355
  - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_options.html.erb
350
356
  - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_props_swift.md
351
- - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_react_hook.jsx
352
- - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_react_hook.md
353
357
  - app/pb_kits/playbook/pb_checkbox/docs/_description.md
354
358
  - app/pb_kits/playbook/pb_checkbox/docs/example.yml
355
359
  - app/pb_kits/playbook/pb_checkbox/docs/index.js
@@ -455,10 +459,6 @@ files:
455
459
  - app/pb_kits/playbook/pb_currency/docs/_currency_negative.jsx
456
460
  - app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol.html.erb
457
461
  - app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol.jsx
458
- - app/pb_kits/playbook/pb_currency/docs/_currency_null_display.html.erb
459
- - app/pb_kits/playbook/pb_currency/docs/_currency_null_display.jsx
460
- - app/pb_kits/playbook/pb_currency/docs/_currency_null_display_rails.md
461
- - app/pb_kits/playbook/pb_currency/docs/_currency_null_display_react.md
462
462
  - app/pb_kits/playbook/pb_currency/docs/_currency_props_swift.md
463
463
  - app/pb_kits/playbook/pb_currency/docs/_currency_size.html.erb
464
464
  - app/pb_kits/playbook/pb_currency/docs/_currency_size.jsx
@@ -716,25 +716,16 @@ files:
716
716
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list_rails.md
717
717
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_table.html.erb
718
718
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_table.md
719
- - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_table_react.jsx
720
- - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_table_react.md
721
719
  - app/pb_kits/playbook/pb_draggable/docs/example.yml
722
720
  - app/pb_kits/playbook/pb_draggable/docs/index.js
723
- - app/pb_kits/playbook/pb_drawer/docs/_drawer_behavior.html.erb
724
721
  - app/pb_kits/playbook/pb_drawer/docs/_drawer_behavior.jsx
725
- - app/pb_kits/playbook/pb_drawer/docs/_drawer_borders.html.erb
726
722
  - app/pb_kits/playbook/pb_drawer/docs/_drawer_borders.jsx
727
- - app/pb_kits/playbook/pb_drawer/docs/_drawer_breakpoints.html.erb
728
723
  - app/pb_kits/playbook/pb_drawer/docs/_drawer_breakpoints.jsx
729
724
  - app/pb_kits/playbook/pb_drawer/docs/_drawer_default.html.erb
730
725
  - app/pb_kits/playbook/pb_drawer/docs/_drawer_default.jsx
731
- - app/pb_kits/playbook/pb_drawer/docs/_drawer_menu.html.erb
732
726
  - app/pb_kits/playbook/pb_drawer/docs/_drawer_menu.jsx
733
727
  - app/pb_kits/playbook/pb_drawer/docs/_drawer_menu.md
734
- - app/pb_kits/playbook/pb_drawer/docs/_drawer_overlay.html.erb
735
728
  - app/pb_kits/playbook/pb_drawer/docs/_drawer_overlay.jsx
736
- - app/pb_kits/playbook/pb_drawer/docs/_drawer_overlay.md
737
- - app/pb_kits/playbook/pb_drawer/docs/_drawer_sizes.html.erb
738
729
  - app/pb_kits/playbook/pb_drawer/docs/_drawer_sizes.jsx
739
730
  - app/pb_kits/playbook/pb_drawer/docs/example.yml
740
731
  - app/pb_kits/playbook/pb_drawer/docs/index.js
@@ -1041,11 +1032,7 @@ files:
1041
1032
  - app/pb_kits/playbook/pb_icon/docs/example.yml
1042
1033
  - app/pb_kits/playbook/pb_icon/docs/index.js
1043
1034
  - app/pb_kits/playbook/pb_icon_button/docs/_icon_button_default.html.erb
1044
- - app/pb_kits/playbook/pb_icon_button/docs/_icon_button_default.jsx
1045
- - app/pb_kits/playbook/pb_icon_button/docs/_icon_button_sizes.html.erb
1046
- - app/pb_kits/playbook/pb_icon_button/docs/_icon_button_sizes.jsx
1047
1035
  - app/pb_kits/playbook/pb_icon_button/docs/example.yml
1048
- - app/pb_kits/playbook/pb_icon_button/docs/index.js
1049
1036
  - app/pb_kits/playbook/pb_icon_circle/docs/_description.md
1050
1037
  - app/pb_kits/playbook/pb_icon_circle/docs/_footer.md
1051
1038
  - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color.html.erb
@@ -1388,10 +1375,6 @@ files:
1388
1375
  - app/pb_kits/playbook/pb_overlay/docs/_overlay_toggle.html.erb
1389
1376
  - app/pb_kits/playbook/pb_overlay/docs/_overlay_toggle.jsx
1390
1377
  - app/pb_kits/playbook/pb_overlay/docs/_overlay_toggle.md
1391
- - app/pb_kits/playbook/pb_overlay/docs/_overlay_vertical_dynamic_multi_directional.html.erb
1392
- - app/pb_kits/playbook/pb_overlay/docs/_overlay_vertical_dynamic_multi_directional.jsx
1393
- - app/pb_kits/playbook/pb_overlay/docs/_overlay_vertical_dynamic_multi_directional.md
1394
- - app/pb_kits/playbook/pb_overlay/docs/_overlay_vertical_dynamic_multi_directional_react.md
1395
1378
  - app/pb_kits/playbook/pb_overlay/docs/example.yml
1396
1379
  - app/pb_kits/playbook/pb_overlay/docs/index.js
1397
1380
  - app/pb_kits/playbook/pb_pagination/docs/_pagination_default.html.erb
@@ -1503,11 +1486,6 @@ files:
1503
1486
  - app/pb_kits/playbook/pb_progress_pills/docs/_description.md
1504
1487
  - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_default.html.erb
1505
1488
  - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_default.jsx
1506
- - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_default.md
1507
- - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_full_width.html.erb
1508
- - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_full_width.jsx
1509
- - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_full_width_rails.md
1510
- - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_full_width_react.md
1511
1489
  - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_status.html.erb
1512
1490
  - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_status.jsx
1513
1491
  - app/pb_kits/playbook/pb_progress_pills/docs/example.yml
@@ -1864,17 +1842,12 @@ files:
1864
1842
  - app/pb_kits/playbook/pb_table/docs/_table_vertical_border.jsx
1865
1843
  - app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
1866
1844
  - app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
1867
- - app/pb_kits/playbook/pb_table/docs/_table_with_clickable_rows.html.erb
1868
- - app/pb_kits/playbook/pb_table/docs/_table_with_clickable_rows.jsx
1869
- - app/pb_kits/playbook/pb_table/docs/_table_with_clickable_rows.md
1870
1845
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible.html.erb
1871
1846
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible.jsx
1872
1847
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_rails.md
1873
1848
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_react.md
1874
- - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click.html.erb
1875
1849
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click.jsx
1876
- - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click_rails.md
1877
- - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click_react.md
1850
+ - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click.md
1878
1851
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content.jsx
1879
1852
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content.md
1880
1853
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content_rails.html.erb
@@ -1887,9 +1860,6 @@ files:
1887
1860
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table.md
1888
1861
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table_rails.html.erb
1889
1862
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table_rails.md
1890
- - app/pb_kits/playbook/pb_table/docs/_table_with_selectable_rows.html.erb
1891
- - app/pb_kits/playbook/pb_table/docs/_table_with_selectable_rows.jsx
1892
- - app/pb_kits/playbook/pb_table/docs/_table_with_selectable_rows.md
1893
1863
  - app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents.jsx
1894
1864
  - app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents.md
1895
1865
  - app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.html.erb
@@ -2021,9 +1991,6 @@ files:
2021
1991
  - app/pb_kits/playbook/pb_title/docs/_title_default.html.erb
2022
1992
  - app/pb_kits/playbook/pb_title/docs/_title_default.jsx
2023
1993
  - app/pb_kits/playbook/pb_title/docs/_title_default.md
2024
- - app/pb_kits/playbook/pb_title/docs/_title_display_size.html.erb
2025
- - app/pb_kits/playbook/pb_title/docs/_title_display_size.jsx
2026
- - app/pb_kits/playbook/pb_title/docs/_title_display_size.md
2027
1994
  - app/pb_kits/playbook/pb_title/docs/_title_light_weight.html.erb
2028
1995
  - app/pb_kits/playbook/pb_title/docs/_title_light_weight.jsx
2029
1996
  - app/pb_kits/playbook/pb_title/docs/_title_light_weight.md
@@ -2074,12 +2041,9 @@ files:
2074
2041
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_default_react.md
2075
2042
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_delay.jsx
2076
2043
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_delay.md
2077
- - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_delay_rails.html.erb
2078
- - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_delay_rails.md
2079
2044
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.erb
2080
2045
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.jsx
2081
2046
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_icon.md
2082
- - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.html.erb
2083
2047
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.jsx
2084
2048
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_interaction.md
2085
2049
  - app/pb_kits/playbook/pb_tooltip/docs/_tooltip_margin.jsx
@@ -1,75 +0,0 @@
1
- import React from "react"
2
- import { AdvancedTable, Pill } from "playbook-ui"
3
- import MOCK_DATA from "./advanced_table_mock_data.json"
4
-
5
- const AdvancedTableColumnHeadersCustomCell = (props) => {
6
- const columnDefinitions = [
7
- {
8
- accessor: "year",
9
- label: "Year",
10
- cellAccessors: ["quarter", "month", "day"],
11
- },
12
- {
13
- label: "Enrollment Data",
14
- columns: [
15
- {
16
- accessor: "newEnrollments",
17
- label: "New Enrollments",
18
- customRenderer: (row, value) => (
19
- <Pill text={value}
20
- variant="success"
21
- />
22
- ),
23
- },
24
- {
25
- accessor: "scheduledMeetings",
26
- label: "Scheduled Meetings",
27
- customRenderer: (row, value) => (
28
- <Pill text={value}
29
- variant="info"
30
- />
31
- ),
32
- },
33
- ],
34
- },
35
- {
36
- label: "Performance Data",
37
- columns: [
38
- {
39
- accessor: "attendanceRate",
40
- label: "Attendance Rate",
41
- },
42
- {
43
- accessor: "completedClasses",
44
- label: "Completed Classes",
45
- customRenderer: (row, value) => (
46
- <Pill text={value}
47
- variant="error"
48
- />
49
- ),
50
- },
51
- {
52
- accessor: "classCompletionRate",
53
- label: "Class Completion Rate",
54
- },
55
- {
56
- accessor: "graduatedStudents",
57
- label: "Graduated Students",
58
- },
59
- ],
60
- },
61
- ];
62
-
63
-
64
- return (
65
- <>
66
- <AdvancedTable
67
- columnDefinitions={columnDefinitions}
68
- tableData={MOCK_DATA}
69
- {...props}
70
- />
71
- </>
72
- )
73
- }
74
-
75
- export default AdvancedTableColumnHeadersCustomCell
@@ -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, max_height: "xs", table_props: { sticky: true }}) %>
@@ -1,3 +0,0 @@
1
- Create a sticky header that works for responsive Advanced Tables by setting `sticky: true` via `table_props` and giving the AdvancedTable a `max_height` using our [Max Height](https://playbook.powerapp.cloud/visual_guidelines/max_height) global prop. This behavior requires a `max_height` to work. The header is sticky within the table container, allowing for it to work along with the first column stickiness of a responsive table on smaller screen sizes.
2
-
3
- A sticky header on a nonresponsive table is demonstrated in the ["Table Props"](https://playbook.powerapp.cloud/kits/advanced_table#table-props) doc example above.
@@ -1,64 +0,0 @@
1
- import React from 'react'
2
- import Highcharts from "highcharts";
3
- import HighchartsReact from "highcharts-react-official";
4
-
5
- import "../BarGraphStyles.scss";
6
- // Your path might look more like this
7
- //import "playbook-ui/dist/pb_bar_graph/BarGraphStyles.scss";
8
-
9
- const columnChartData = [
10
- {
11
- name: "Installation",
12
- data: [1475, 200, 3000, 654, 656],
13
- },
14
- {
15
- name: "Manufacturing",
16
- data: [4434, 524, 2320, 440, 500],
17
- },
18
- {
19
- name: "Sales & Distribution",
20
- data: [3387, 743, 1344, 434, 440],
21
- },
22
- {
23
- name: "Project Development",
24
- data: [3227, 878, 999, 780, 1000],
25
- },
26
- {
27
- name: "Other",
28
- data: [1111, 677, 3245, 500, 200],
29
- },
30
- ];
31
-
32
- const columnOptions = {
33
- chart: {
34
- type: "column",
35
- },
36
- series: columnChartData,
37
- title: {
38
- text: "Solar Employment Growth by Sector, 2010-2016",
39
- },
40
- subtitle: {
41
- text: "Source: thesolarfoundation.com",
42
- },
43
- xAxis: {
44
- categories: ["Jan", "Feb", "Mar", "Apr", "May"],
45
- },
46
- yAxis: {
47
- min: 0,
48
- title: {
49
- text: "Number of Employees",
50
- },
51
- },
52
- legend: { enabled: false },
53
- credits: { enabled: false },
54
- };
55
-
56
- const BarGraphPbStyles = () => (
57
- <div>
58
- <HighchartsReact highcharts={Highcharts}
59
- options={columnOptions}
60
- />
61
- </div>
62
- )
63
-
64
- export default BarGraphPbStyles
@@ -1 +0,0 @@
1
- You don't need to use the bar graph kit to apply the styles to your Highcharts bar graph. Just import the BarGraphStyles.scss to your component and the styles will apply automatically.
@@ -1,69 +0,0 @@
1
- import React, { useState } from "react"
2
- import { useForm } from "react-hook-form"
3
- import { Button, Checkbox, Flex, Body } from "playbook-ui"
4
-
5
- const CheckboxReactHook = () => {
6
- const { register, handleSubmit } = useForm({
7
- defaultValues: {
8
- Small: false,
9
- Medium: false,
10
- Large: false,
11
- },
12
- })
13
-
14
- const [submittedData, setSubmittedData] = useState({
15
- Small: false,
16
- Medium: false,
17
- Large: false,
18
- })
19
-
20
- const onSubmit = (data) => {
21
- setSubmittedData(data)
22
- }
23
-
24
- return (
25
- <Flex orientation="row">
26
- <Flex align="start"
27
- orientation="column"
28
- paddingRight="lg"
29
- >
30
- <form onSubmit={handleSubmit(onSubmit)}>
31
- <Checkbox padding="xs"
32
- text="Small"
33
- {...register("Small")}
34
- />
35
- <br />
36
- <Checkbox padding="xs"
37
- text="Medium"
38
- {...register("Medium")}
39
- />
40
- <br />
41
- <Checkbox padding="xs"
42
- text="Large"
43
- {...register("Large")}
44
- />
45
- <br />
46
- <Button htmlType="submit"
47
- marginTop="sm"
48
- text="submit"
49
- />
50
- </form>
51
- </Flex>
52
- <Flex align="start"
53
- orientation="column"
54
- >
55
- <Body padding="xs"
56
- text={`Small: ${submittedData.Small ? "true" : "false"}`}
57
- />
58
- <Body padding="xs"
59
- text={`Medium: ${submittedData.Medium ? "true" : "false"}`}
60
- />
61
- <Body padding="xs"
62
- text={`Large: ${submittedData.Large ? "true" : "false"}`}
63
- />
64
- </Flex>
65
- </Flex>
66
- )
67
- }
68
-
69
- export default CheckboxReactHook
@@ -1 +0,0 @@
1
- You can pass react hook props to the checkbox kit.
@@ -1,22 +0,0 @@
1
- <%= pb_rails("currency", props: {
2
- amount: "",
3
- label: "Nil",
4
- margin_bottom: "md",
5
- null_display: "--",
6
- size: "sm"
7
- }) %>
8
-
9
- <%= pb_rails("currency", props: {
10
- amount: "",
11
- label: "Nil",
12
- margin_bottom: "md",
13
- null_display: "$0.00",
14
- size: "sm"
15
- }) %>
16
-
17
- <%= pb_rails("currency", props: {
18
- amount: "",
19
- label: "Nil",
20
- null_display: " ",
21
- size: "sm"
22
- }) %>
@@ -1,34 +0,0 @@
1
- import React from 'react'
2
- import { Currency } from 'playbook-ui'
3
-
4
- const CurrencyNullDisplay = (props) => {
5
- return (
6
- <>
7
- <Currency
8
- amount=""
9
- label="Null"
10
- marginBottom="md"
11
- nullDisplay="--"
12
- {...props}
13
- />
14
-
15
- <Currency
16
- amount=""
17
- label="Null"
18
- marginBottom="md"
19
- nullDisplay="$0.00"
20
- {...props}
21
- />
22
-
23
- <Currency
24
- amount=""
25
- label="Null"
26
- marginBottom="md"
27
- nullDisplay=" "
28
- {...props}
29
- />
30
- </>
31
- )
32
- }
33
-
34
- export default CurrencyNullDisplay
@@ -1 +0,0 @@
1
- To customize how the `amount` field appears when it is empty, use the `null_display` prop and set it to the desired value you want to display.
@@ -1 +0,0 @@
1
- To customize how the `amount` field appears when it is empty, use the `nullDisplay` prop and set it to the desired value you want to display.
@@ -1,90 +0,0 @@
1
- import React, { useState } from "react";
2
- import { Flex, Table, Body, Avatar, DraggableProvider } from "playbook-ui";
3
-
4
- // Initial items to be dragged
5
- const data = [
6
- {
7
- id: "1",
8
- task: "Task 1",
9
- assignee_name: "Terry Miles",
10
- assignee_img: "https://randomuser.me/api/portraits/men/44.jpg",
11
- },
12
- {
13
- id: "2",
14
- task: "Task 2",
15
- assignee_name: "Sophia Miles",
16
- assignee_img: "https://randomuser.me/api/portraits/women/8.jpg",
17
- },
18
- {
19
- id: "3",
20
- task: "Task 3",
21
- assignee_name: "Alice Jones",
22
- assignee_img: "https://randomuser.me/api/portraits/women/10.jpg",
23
- },
24
- {
25
- id: "4",
26
- task: "Task 4",
27
- assignee_name: "Mike James",
28
- assignee_img: "https://randomuser.me/api/portraits/men/8.jpg",
29
- },
30
- {
31
- id: "5",
32
- task: "Task 5",
33
- assignee_name: "James Guy",
34
- assignee_img: "https://randomuser.me/api/portraits/men/18.jpg",
35
- }
36
- ];
37
-
38
- const DraggableWithTableReact = (props) => {
39
- const [initialState, setInitialState] = useState(data);
40
-
41
- return (
42
- <>
43
- <DraggableProvider initialItems={data}
44
- onReorder={(items) => setInitialState(items)}
45
- >
46
- <Table
47
- responsive="none"
48
- size="sm"
49
- {...props}
50
- >
51
- <Table.Head>
52
- <Table.Row>
53
- <Table.Header>{"id"}</Table.Header>
54
- <Table.Header>{"name"}</Table.Header>
55
- <Table.Header>{"task number"}</Table.Header>
56
- </Table.Row>
57
- </Table.Head>
58
- <Table.Body draggableContainer>
59
- {initialState.map(({ id, task, assignee_name, assignee_img }) => (
60
- <Table.Row
61
- dragId={id}
62
- draggableItem
63
- key={id}
64
- >
65
- <Table.Cell>{id}</Table.Cell>
66
- <Table.Cell>
67
- <Flex align="center">
68
- <Avatar
69
- imageUrl={assignee_img}
70
- size="xs"
71
- />
72
- <Body
73
- paddingLeft="xxs"
74
- text={assignee_name}
75
- {...props}
76
- />
77
- </Flex>
78
- </Table.Cell>
79
- <Table.Cell>{task}</Table.Cell>
80
- </Table.Row>
81
- ))}
82
- </Table.Body>
83
- </Table>
84
- </DraggableProvider>
85
- </>
86
-
87
- );
88
- };
89
-
90
- export default DraggableWithTableReact;
@@ -1,5 +0,0 @@
1
- The draggable kit can also be used in conjunction with the table kit to create draggable table rows. To do this:
2
-
3
- - Wrap the Table with the `DraggableProvider` and manage state as shown.
4
- - use the `draggableContainer` prop on the Table.Body to designate it as the Draggable Container
5
- - use the `draggableItem` prop on the Table.Row to designate it as the Draggable Item. Make sure to also pass id to the `dragId` prop here.
@@ -1,8 +0,0 @@
1
- <%= pb_rails("button", props: { text: "Push Drawer", margin_right: "sm", data: {"open-drawer": "drawer-3"} }) %>
2
-
3
- <%= pb_rails("drawer", props: {
4
- id:"drawer-3",
5
- behavior: "push"
6
- }) do %>
7
- Test me (Push Behavior)
8
- <% end %>
@@ -1,33 +0,0 @@
1
- <%= pb_rails("flex") do %>
2
- <%= pb_rails("button", props: { text: "Drawer with border right", margin_right: "sm", data: {"open-drawer": "drawer-12"} }) %>
3
-
4
- <%= pb_rails("drawer", props: {
5
- id:"drawer-12",
6
- overlay: false,
7
- border: "right"
8
- }) do %>
9
- Test me (Border Right)
10
- <% end %>
11
-
12
-
13
- <%= pb_rails("button", props: { text: "Drawer with border left", margin_right: "sm", data: {"open-drawer": "drawer-13"} }) %>
14
-
15
- <%= pb_rails("drawer", props: {
16
- id:"drawer-13",
17
- overlay: false,
18
- border: "left"
19
- }) do %>
20
- Test me (Border Left)
21
- <% end %>
22
-
23
- <%= pb_rails("button", props: { text: "Drawer with border full", data: {"open-drawer": "drawer-14"} }) %>
24
-
25
- <%= pb_rails("drawer", props: {
26
- id:"drawer-14",
27
- overlay: false,
28
- border: "full"
29
- }) do %>
30
- Test me (Border Full)
31
- <% end %>
32
- <% end %>
33
-