playbook_ui 14.13.0.pre.alpha.PBNTR457formtimezoneselect6219 → 14.13.0.pre.alpha.PBNTR5596029

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/_playbook.scss +1 -0
  3. data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.scss +0 -3
  4. data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.tsx +5 -6
  5. data/app/pb_kits/playbook/pb_advanced_table/advanced_table.rb +1 -8
  6. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props.html.erb +1 -1
  7. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_rails.md +1 -3
  8. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_react.md +1 -1
  9. data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +0 -2
  10. data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +1 -2
  11. data/app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.scss +66 -0
  12. data/app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.tsx +98 -0
  13. data/app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb +28 -0
  14. data/app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.rb +42 -0
  15. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.html.erb +19 -0
  16. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.jsx +26 -0
  17. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.html.erb +10 -0
  18. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.jsx +17 -0
  19. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_on_click.jsx +19 -0
  20. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb +16 -0
  21. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.html.erb +35 -0
  22. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.jsx +42 -0
  23. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_tooltip.html.erb +13 -0
  24. data/app/pb_kits/playbook/pb_avatar_action_button/docs/example.yml +15 -0
  25. data/app/pb_kits/playbook/pb_avatar_action_button/docs/index.js +4 -0
  26. data/app/pb_kits/playbook/pb_avatar_action_button/pb_avatar_action_button.test.js +31 -0
  27. data/app/pb_kits/playbook/pb_bar_graph/docs/example.yml +0 -1
  28. data/app/pb_kits/playbook/pb_bar_graph/docs/index.js +0 -1
  29. data/app/pb_kits/playbook/pb_checkbox/_checkbox.tsx +8 -17
  30. data/app/pb_kits/playbook/pb_checkbox/checkbox.test.js +0 -16
  31. data/app/pb_kits/playbook/pb_checkbox/docs/example.yml +1 -2
  32. data/app/pb_kits/playbook/pb_checkbox/docs/index.js +0 -1
  33. data/app/pb_kits/playbook/pb_date_picker/_date_picker.tsx +1 -3
  34. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_table.html.erb +2 -2
  35. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_table.md +1 -4
  36. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_table_react.jsx +0 -1
  37. data/app/pb_kits/playbook/pb_draggable/docs/example.yml +1 -1
  38. data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +0 -1
  39. data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +0 -1
  40. data/app/pb_kits/playbook/pb_icon_button/docs/_icon_button_default.html.erb +2 -1
  41. data/app/pb_kits/playbook/pb_icon_button/docs/example.yml +3 -1
  42. data/app/pb_kits/playbook/pb_icon_button/icon_button.html.erb +1 -1
  43. data/app/pb_kits/playbook/pb_icon_button/icon_button.rb +0 -3
  44. data/app/pb_kits/playbook/pb_multi_level_select/multi_level_select.html.erb +6 -1
  45. data/app/pb_kits/playbook/pb_nav/item.html.erb +19 -7
  46. data/app/pb_kits/playbook/pb_nav/nav.html.erb +8 -3
  47. data/app/pb_kits/playbook/pb_online_status/online_status.html.erb +6 -1
  48. data/app/pb_kits/playbook/pb_overlay/_overlay.tsx +0 -4
  49. data/app/pb_kits/playbook/pb_overlay/docs/example.yml +0 -1
  50. data/app/pb_kits/playbook/pb_overlay/docs/index.js +0 -1
  51. data/app/pb_kits/playbook/pb_overlay/subcomponents/_overlay_token.tsx +10 -48
  52. data/app/pb_kits/playbook/pb_popover/popover.html.erb +6 -1
  53. data/app/pb_kits/playbook/pb_progress_pills/_progress_pills.scss +1 -6
  54. data/app/pb_kits/playbook/pb_progress_pills/_progress_pills.tsx +5 -7
  55. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_default.html.erb +0 -1
  56. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_default.jsx +0 -7
  57. data/app/pb_kits/playbook/pb_progress_pills/docs/example.yml +0 -2
  58. data/app/pb_kits/playbook/pb_progress_pills/docs/index.js +0 -1
  59. data/app/pb_kits/playbook/pb_progress_pills/progress_pills.html.erb +7 -2
  60. data/app/pb_kits/playbook/pb_progress_pills/progress_pills.rb +0 -6
  61. data/app/pb_kits/playbook/pb_progress_pills/progress_pills.test.js +1 -26
  62. data/app/pb_kits/playbook/pb_progress_simple/progress_simple.html.erb +5 -1
  63. data/app/pb_kits/playbook/pb_progress_step/progress_step.html.erb +5 -1
  64. data/app/pb_kits/playbook/pb_progress_step/progress_step_item.html.erb +5 -1
  65. data/app/pb_kits/playbook/pb_radio/radio.html.erb +11 -6
  66. data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible.jsx +1 -1
  67. data/app/pb_kits/playbook/pb_table/docs/example.yml +0 -5
  68. data/app/pb_kits/playbook/pb_table/docs/index.js +1 -3
  69. data/app/pb_kits/playbook/pb_table/index.ts +9 -41
  70. data/app/pb_kits/playbook/pb_table/styles/_collapsible.scss +0 -4
  71. data/app/pb_kits/playbook/pb_table/table_body.html.erb +7 -13
  72. data/app/pb_kits/playbook/pb_table/table_body.rb +0 -2
  73. data/app/pb_kits/playbook/pb_table/table_row.html.erb +7 -14
  74. data/app/pb_kits/playbook/pb_table/table_row.rb +1 -14
  75. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_mask.html.erb +0 -14
  76. data/app/pb_kits/playbook/pb_text_input/index.js +0 -9
  77. data/app/pb_kits/playbook/pb_text_input/text_input.rb +2 -5
  78. data/dist/chunks/{_typeahead-PqkcDf1H.js → _typeahead-TUUtEUg8.js} +3 -3
  79. data/dist/chunks/_weekday_stacked--GSH9pBR.js +45 -0
  80. data/dist/chunks/{lib-D3us1bGD.js → lib-DjpLC8uO.js} +2 -2
  81. data/dist/chunks/{pb_form_validation-BpihMSOQ.js → pb_form_validation-S56UaHZl.js} +1 -1
  82. data/dist/chunks/vendor.js +1 -1
  83. data/dist/menu.yml +7 -0
  84. data/dist/playbook-doc.js +1 -1
  85. data/dist/playbook-rails-react-bindings.js +1 -1
  86. data/dist/playbook-rails.js +1 -1
  87. data/dist/playbook.css +1 -1
  88. data/lib/playbook/forms/builder.rb +0 -1
  89. data/lib/playbook/version.rb +1 -1
  90. metadata +23 -32
  91. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_custom_cell.jsx +0 -75
  92. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header.html.erb +0 -33
  93. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_rails.md +0 -3
  94. data/app/pb_kits/playbook/pb_bar_graph/BarGraphStyles.scss +0 -58
  95. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_pb_styles.jsx +0 -64
  96. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_pb_styles.md +0 -1
  97. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_react_hook.jsx +0 -69
  98. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_react_hook.md +0 -1
  99. data/app/pb_kits/playbook/pb_icon_button/docs/_icon_button_sizes.html.erb +0 -27
  100. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_vertical_dynamic_multi_directional.jsx +0 -37
  101. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_vertical_dynamic_multi_directional_react.md +0 -1
  102. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_default.md +0 -1
  103. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_full_width.html.erb +0 -1
  104. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_full_width.jsx +0 -18
  105. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_full_width_rails.md +0 -1
  106. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_full_width_react.md +0 -1
  107. data/app/pb_kits/playbook/pb_table/docs/_table_with_clickable_rows.html.erb +0 -47
  108. data/app/pb_kits/playbook/pb_table/docs/_table_with_clickable_rows.jsx +0 -88
  109. data/app/pb_kits/playbook/pb_table/docs/_table_with_clickable_rows.md +0 -1
  110. data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click.html.erb +0 -51
  111. data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click_rails.md +0 -2
  112. data/app/pb_kits/playbook/pb_table/docs/_table_with_selectable_rows.html.erb +0 -96
  113. data/app/pb_kits/playbook/pb_table/docs/_table_with_selectable_rows.jsx +0 -101
  114. data/app/pb_kits/playbook/pb_table/docs/_table_with_selectable_rows.md +0 -1
  115. data/dist/chunks/_weekday_stacked-C7J0S4f7.js +0 -45
  116. data/lib/playbook/forms/builder/time_zone_select_field.rb +0 -19
  117. /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
@@ -15,7 +15,6 @@ module Playbook
15
15
  require_relative "builder/phone_number_field"
16
16
  require_relative "builder/dropdown_field"
17
17
  require_relative "builder/star_rating_field"
18
- require_relative "builder/time_zone_select_field"
19
18
 
20
19
  prepend(FormFieldBuilder.new(:email_field, kit_name: "text_input"))
21
20
  prepend(FormFieldBuilder.new(:number_field, kit_name: "text_input"))
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "14.13.0"
5
- VERSION = "14.13.0.pre.alpha.PBNTR457formtimezoneselect6219"
5
+ VERSION = "14.13.0.pre.alpha.PBNTR5596029"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.13.0.pre.alpha.PBNTR457formtimezoneselect6219
4
+ version: 14.13.0.pre.alpha.PBNTR5596029
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-02-20 00:00:00.000000000 Z
12
+ date: 2025-02-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -288,7 +288,6 @@ files:
288
288
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers.html.erb
289
289
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers.jsx
290
290
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers.md
291
- - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_custom_cell.jsx
292
291
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_multiple.html.erb
293
292
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_multiple.jsx
294
293
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_headers_multiple.md
@@ -334,9 +333,7 @@ files:
334
333
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props.jsx
335
334
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_rails.md
336
335
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_react.md
337
- - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header.html.erb
338
336
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header.jsx
339
- - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_rails.md
340
337
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_react.md
341
338
  - app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading.js
342
339
  - app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data.json
@@ -387,6 +384,22 @@ files:
387
384
  - app/pb_kits/playbook/pb_avatar/docs/_footer.md
388
385
  - app/pb_kits/playbook/pb_avatar/docs/example.yml
389
386
  - app/pb_kits/playbook/pb_avatar/docs/index.js
387
+ - app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.scss
388
+ - app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.tsx
389
+ - app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
390
+ - app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.rb
391
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.html.erb
392
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.jsx
393
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.html.erb
394
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.jsx
395
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_on_click.jsx
396
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb
397
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.html.erb
398
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.jsx
399
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_tooltip.html.erb
400
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/example.yml
401
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/index.js
402
+ - app/pb_kits/playbook/pb_avatar_action_button/pb_avatar_action_button.test.js
390
403
  - app/pb_kits/playbook/pb_background/_background.scss
391
404
  - app/pb_kits/playbook/pb_background/_background.tsx
392
405
  - app/pb_kits/playbook/pb_background/background.html.erb
@@ -437,7 +450,6 @@ files:
437
450
  - app/pb_kits/playbook/pb_badge/docs/_description.md
438
451
  - app/pb_kits/playbook/pb_badge/docs/example.yml
439
452
  - app/pb_kits/playbook/pb_badge/docs/index.js
440
- - app/pb_kits/playbook/pb_bar_graph/BarGraphStyles.scss
441
453
  - app/pb_kits/playbook/pb_bar_graph/_bar_graph.scss
442
454
  - app/pb_kits/playbook/pb_bar_graph/_bar_graph.tsx
443
455
  - app/pb_kits/playbook/pb_bar_graph/barGraph.test.js
@@ -466,8 +478,6 @@ files:
466
478
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_position.md
467
479
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.html.erb
468
480
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_negative_numbers.jsx
469
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_pb_styles.jsx
470
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_pb_styles.md
471
481
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.html.erb
472
482
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.jsx
473
483
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_secondary_y_axis.md
@@ -672,8 +682,6 @@ files:
672
682
  - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate_swift.md
673
683
  - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_options.html.erb
674
684
  - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_props_swift.md
675
- - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_react_hook.jsx
676
- - app/pb_kits/playbook/pb_checkbox/docs/_checkbox_react_hook.md
677
685
  - app/pb_kits/playbook/pb_checkbox/docs/_description.md
678
686
  - app/pb_kits/playbook/pb_checkbox/docs/example.yml
679
687
  - app/pb_kits/playbook/pb_checkbox/docs/index.js
@@ -1623,7 +1631,6 @@ files:
1623
1631
  - app/pb_kits/playbook/pb_icon/icon.test.js
1624
1632
  - app/pb_kits/playbook/pb_icon_button/_icon_button.scss
1625
1633
  - app/pb_kits/playbook/pb_icon_button/docs/_icon_button_default.html.erb
1626
- - app/pb_kits/playbook/pb_icon_button/docs/_icon_button_sizes.html.erb
1627
1634
  - app/pb_kits/playbook/pb_icon_button/docs/example.yml
1628
1635
  - app/pb_kits/playbook/pb_icon_button/icon_button.html.erb
1629
1636
  - app/pb_kits/playbook/pb_icon_button/icon_button.rb
@@ -2116,8 +2123,6 @@ files:
2116
2123
  - app/pb_kits/playbook/pb_overlay/docs/_overlay_toggle.html.erb
2117
2124
  - app/pb_kits/playbook/pb_overlay/docs/_overlay_toggle.jsx
2118
2125
  - app/pb_kits/playbook/pb_overlay/docs/_overlay_toggle.md
2119
- - app/pb_kits/playbook/pb_overlay/docs/_overlay_vertical_dynamic_multi_directional.jsx
2120
- - app/pb_kits/playbook/pb_overlay/docs/_overlay_vertical_dynamic_multi_directional_react.md
2121
2126
  - app/pb_kits/playbook/pb_overlay/docs/example.yml
2122
2127
  - app/pb_kits/playbook/pb_overlay/docs/index.js
2123
2128
  - app/pb_kits/playbook/pb_overlay/overlay.html.erb
@@ -2272,11 +2277,6 @@ files:
2272
2277
  - app/pb_kits/playbook/pb_progress_pills/docs/_description.md
2273
2278
  - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_default.html.erb
2274
2279
  - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_default.jsx
2275
- - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_default.md
2276
- - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_full_width.html.erb
2277
- - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_full_width.jsx
2278
- - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_full_width_rails.md
2279
- - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_full_width_react.md
2280
2280
  - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_status.html.erb
2281
2281
  - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_status.jsx
2282
2282
  - app/pb_kits/playbook/pb_progress_pills/docs/example.yml
@@ -2745,17 +2745,12 @@ files:
2745
2745
  - app/pb_kits/playbook/pb_table/docs/_table_vertical_border.jsx
2746
2746
  - app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
2747
2747
  - app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
2748
- - app/pb_kits/playbook/pb_table/docs/_table_with_clickable_rows.html.erb
2749
- - app/pb_kits/playbook/pb_table/docs/_table_with_clickable_rows.jsx
2750
- - app/pb_kits/playbook/pb_table/docs/_table_with_clickable_rows.md
2751
2748
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible.html.erb
2752
2749
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible.jsx
2753
2750
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_rails.md
2754
2751
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_react.md
2755
- - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click.html.erb
2756
2752
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click.jsx
2757
- - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click_rails.md
2758
- - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click_react.md
2753
+ - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click.md
2759
2754
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content.jsx
2760
2755
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content.md
2761
2756
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content_rails.html.erb
@@ -2768,9 +2763,6 @@ files:
2768
2763
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table.md
2769
2764
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table_rails.html.erb
2770
2765
  - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table_rails.md
2771
- - app/pb_kits/playbook/pb_table/docs/_table_with_selectable_rows.html.erb
2772
- - app/pb_kits/playbook/pb_table/docs/_table_with_selectable_rows.jsx
2773
- - app/pb_kits/playbook/pb_table/docs/_table_with_selectable_rows.md
2774
2766
  - app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents.jsx
2775
2767
  - app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents.md
2776
2768
  - app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.html.erb
@@ -3342,11 +3334,11 @@ files:
3342
3334
  - app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
3343
3335
  - app/pb_kits/playbook/utilities/text.ts
3344
3336
  - app/pb_kits/playbook/utilities/validEmojiChecker.ts
3345
- - dist/chunks/_typeahead-PqkcDf1H.js
3346
- - dist/chunks/_weekday_stacked-C7J0S4f7.js
3337
+ - dist/chunks/_typeahead-TUUtEUg8.js
3338
+ - dist/chunks/_weekday_stacked--GSH9pBR.js
3347
3339
  - dist/chunks/lazysizes-B7xYodB-.js
3348
- - dist/chunks/lib-D3us1bGD.js
3349
- - dist/chunks/pb_form_validation-BpihMSOQ.js
3340
+ - dist/chunks/lib-DjpLC8uO.js
3341
+ - dist/chunks/pb_form_validation-S56UaHZl.js
3350
3342
  - dist/chunks/vendor.js
3351
3343
  - dist/menu.yml
3352
3344
  - dist/playbook-doc.js
@@ -3382,7 +3374,6 @@ files:
3382
3374
  - lib/playbook/forms/builder/phone_number_field.rb
3383
3375
  - lib/playbook/forms/builder/select_field.rb
3384
3376
  - lib/playbook/forms/builder/star_rating_field.rb
3385
- - lib/playbook/forms/builder/time_zone_select_field.rb
3386
3377
  - lib/playbook/forms/builder/typeahead_field.rb
3387
3378
  - lib/playbook/height.rb
3388
3379
  - lib/playbook/hover.rb
@@ -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,58 +0,0 @@
1
- @import "../tokens/colors";
2
- @import "../tokens/typography";
3
- @import url("https://code.highcharts.com/css/highcharts.css");
4
-
5
- :root {
6
- --highcharts-color-0: #{$data_1};
7
- --highcharts-color-1: #{$data_2};
8
- --highcharts-color-2: #{$data_3};
9
- --highcharts-color-3: #{$data_4};
10
- --highcharts-color-4: #{$data_5};
11
- --highcharts-color-5: #{$data_6};
12
- --highcharts-color-6: #{$data_7};
13
- --highcharts-color-7: #{$data_8};
14
- }
15
-
16
- .highcharts-title {
17
- font-family: $font_family_base;
18
- font-weight: $bold;
19
- font-size: $heading_3;
20
- color: $text_lt_default;
21
- fill: $text_lt_default;
22
- }
23
-
24
- .highcharts-subtitle {
25
- font-family: $font_family_base;
26
- color: $text_lt_light;
27
- fill: $text_lt_light;
28
- font-weight: $regular;
29
- font-size: $text_base;
30
- }
31
-
32
- .highcharts-yaxis > .highcharts-axis-title {
33
- color: $text_lt_lighter;
34
- fill: $text_lt_lighter;
35
- font-family: $font_family_base;
36
- font-weight: $bold;
37
- font-size: $text_smaller;
38
- }
39
-
40
- .highcharts-axis-labels {
41
- font-family: $font_family_base;
42
- color: $text_lt_lighter;
43
- fill: $text_lt_lighter;
44
- font-weight: $bold;
45
- font-size: $text_smaller;
46
- }
47
-
48
- .highcharts-grid-line {
49
- stroke: $border_light;
50
- }
51
-
52
- .highcharts-point {
53
- border-radius: 3px;
54
- }
55
-
56
- .highcharts-axis-line {
57
- stroke: $border_light;
58
- }
@@ -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,27 +0,0 @@
1
- <%= pb_rails("flex", props: { align: "center"}) do %>
2
- <%= pb_rails("icon_button", props: {size: "lg"}) %> <span>Large</span>
3
- <% end %>
4
-
5
- <%= pb_rails("flex", props: { align: "center" }) do %>
6
- <%= pb_rails("icon_button", props: {size: "sm"}) %> <span>Small</span>
7
- <% end %>
8
-
9
- <%= pb_rails("flex", props: { align: "center" }) do %>
10
- <%= pb_rails("icon_button", props: {size: "xs"}) %> <span>XSmall</span>
11
- <% end %>
12
-
13
- <%= pb_rails("flex", props: { align: "center", margin_top: "md" }) do %>
14
- <%= pb_rails("icon_button", props: {size: "1x"}) %> <span>1x</span>
15
- <% end %>
16
-
17
- <%= pb_rails("flex", props: { align: "center" }) do %>
18
- <%= pb_rails("icon_button", props: {size: "2x"}) %> <span>2x</span>
19
- <% end %>
20
-
21
- <%= pb_rails("flex", props: { align: "center" }) do %>
22
- <%= pb_rails("icon_button", props: {size: "3x"}) %> <span>3x</span>
23
- <% end %>
24
-
25
- <%= pb_rails("flex", props: { align: "center" }) do %>
26
- <%= pb_rails("icon_button", props: {size: "4x"}) %> <span>4x</span>
27
- <% end %>
@@ -1,37 +0,0 @@
1
- import React, { forwardRef } from 'react'
2
- import {
3
- Overlay,
4
- Card,
5
- Flex,
6
- FlexItem,
7
- } from 'playbook-ui'
8
-
9
- const InlineCardsExample = forwardRef(function InlineCardsExample(ref) {
10
- return (
11
- <Flex
12
- columnGap="lg"
13
- orientation="row"
14
- ref={ref}
15
- >
16
- {Array.from({ length: 15 }, (_, index) => (
17
- <FlexItem key={index}>
18
- <Card>{"Card Content"}</Card>
19
- </FlexItem>
20
- ))}
21
- </Flex>
22
- )
23
- })
24
-
25
- const OverlayVerticalDynamicMultiDirectional = () => (
26
- <>
27
- <Overlay
28
- color="card_light"
29
- dynamic
30
- layout={{"x": "xl"}}
31
- >
32
- <InlineCardsExample />
33
- </Overlay>
34
- </>
35
- )
36
-
37
- export default OverlayVerticalDynamicMultiDirectional
@@ -1 +0,0 @@
1
- Pass the `dynamic` prop to make the overlay render while the scrollbar isn't at either end on the scrollbar. You must also add a `ref` to the child that's being passed through the Overlay.
@@ -1 +0,0 @@
1
- Progress pills start at `45px` wide if the container allows, but will shrink down to `1px` as the container gets smaller. Resize this window to see each pill shrink.
@@ -1 +0,0 @@
1
- <%= pb_rails("progress_pills", props: { aria: { label: "2 out of 5 steps complete" }, steps: 5, active: 2, full_width_pill: true }) %>
@@ -1,18 +0,0 @@
1
- import React from 'react'
2
- import ProgressPills from '../_progress_pills'
3
-
4
- const ProgressPillsFullWidth = (props) => {
5
- return (
6
- <>
7
- <ProgressPills
8
- active={2}
9
- aria={{ label: '2 out of 5 steps complete' }}
10
- fullWidthPill
11
- steps={5}
12
- {...props}
13
- />
14
- </>
15
- )
16
- }
17
-
18
- export default ProgressPillsFullWidth
@@ -1 +0,0 @@
1
- Pass `full_width_pill: true` to the Progress Pill kit to get true 100% full width pills. The kit will take up the full width of the container that it is in.
@@ -1 +0,0 @@
1
- Pass `fullWidthPill` to the Progress Pill kit to get true 100% full width pills. The kit will take up the full width of the container that it is in.
@@ -1,47 +0,0 @@
1
- <%= pb_rails("table", props: { size: "sm" }) do %>
2
- <%= pb_rails("table/table_head") do %>
3
- <%= pb_rails("table/table_row") do %>
4
- <%= pb_rails("table/table_header", props: { text: "Column 1" }) %>
5
- <%= pb_rails("table/table_header", props: { text: "Column 2" }) %>
6
- <%= pb_rails("table/table_header", props: { text: "Column 3" }) %>
7
- <%= pb_rails("table/table_header", props: { text: "Column 4" }) %>
8
- <%= pb_rails("table/table_header", props: { text: "Column 5" }) %>
9
- <%= pb_rails("table/table_header", props: { text: "" }) %>
10
- <% end %>
11
- <% end %>
12
- <%= pb_rails("table/table_body") do %>
13
- <%= pb_rails("table/table_row", props: { cursor: "pointer", html_options: { onclick: "alert('Row 1 clicked')" } }) do %>
14
- <%= pb_rails("table/table_cell", props: { text: "Value 1" }) %>
15
- <%= pb_rails("table/table_cell", props: { text: "Value 2" }) %>
16
- <%= pb_rails("table/table_cell", props: { text: "Value 3" }) %>
17
- <%= pb_rails("table/table_cell", props: { text: "Value 4" }) %>
18
- <%= pb_rails("table/table_cell", props: { text: "Value 5" }) %>
19
- <%= pb_rails("table/table_cell", props: { text_align: "right" }) do %>
20
- <%= pb_rails("icon", props: { color: "primary_action", fixed_width: true, icon: "chevron-right", size: "xs" }) %>
21
- <% end %>
22
- <% end %>
23
-
24
- <%= pb_rails("table/table_row", props: { cursor: "pointer", html_options: { onclick: "alert('Row 2 clicked')" } }) do %>
25
- <%= pb_rails("table/table_cell", props: { text: "Value 1" }) %>
26
- <%= pb_rails("table/table_cell", props: { text: "Value 2" }) %>
27
- <%= pb_rails("table/table_cell", props: { text: "Value 3" }) %>
28
- <%= pb_rails("table/table_cell", props: { text: "Value 4" }) %>
29
- <%= pb_rails("table/table_cell", props: { text: "Value 5" }) %>
30
- <%= pb_rails("table/table_cell", props: { text_align: "right" }) do %>
31
- <%= pb_rails("icon", props: { color: "primary_action", fixed_width: true, icon: "chevron-right", size: "xs" }) %>
32
- <% end %>
33
- <% end %>
34
-
35
- <%= pb_rails("table/table_row", props: { cursor: "pointer", html_options: { onclick: "alert('Row 3 clicked')" } }) do %>
36
- <%= pb_rails("table/table_cell", props: { text: "Value 1" }) %>
37
- <%= pb_rails("table/table_cell", props: { text: "Value 2" }) %>
38
- <%= pb_rails("table/table_cell", props: { text: "Value 3" }) %>
39
- <%= pb_rails("table/table_cell", props: { text: "Value 4" }) %>
40
- <%= pb_rails("table/table_cell", props: { text: "Value 5" }) %>
41
- <%= pb_rails("table/table_cell", props: { text_align: "right" }) do %>
42
- <%= pb_rails("icon", props: { color: "primary_action", fixed_width: true, icon: "chevron-right", size: "xs" }) %>
43
- <% end %>
44
- <% end %>
45
- <% end %>
46
- <% end %>
47
-