playbook_ui 13.28.0.pre.alpha.PBNTR297gradientoverlay3029 → 13.28.0.pre.alpha.PLAY888Cardkithighlightoverflowtooltiperror2937

Sign up to get free protection for your applications and to get access to all the features.
Files changed (109) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/_playbook.scss +3 -3
  3. data/app/pb_kits/playbook/index.js +0 -3
  4. data/app/pb_kits/playbook/pb_advanced_table/advanced_table.html.erb +2 -2
  5. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_subrow_headers.md +1 -1
  6. data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +1 -1
  7. data/app/pb_kits/playbook/pb_advanced_table/table_body.html.erb +1 -1
  8. data/app/pb_kits/playbook/pb_advanced_table/table_body.rb +4 -14
  9. data/app/pb_kits/playbook/pb_advanced_table/table_header.html.erb +2 -10
  10. data/app/pb_kits/playbook/pb_advanced_table/table_row.html.erb +1 -1
  11. data/app/pb_kits/playbook/pb_advanced_table/table_row.rb +0 -2
  12. data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.tsx +1 -4
  13. data/app/pb_kits/playbook/pb_bar_graph/bar_graph.rb +0 -16
  14. data/app/pb_kits/playbook/pb_bar_graph/docs/{_bar_graph_custom_rails.html.erb → _bar_graph_custom.html.erb} +3 -3
  15. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.md +1 -2
  16. data/app/pb_kits/playbook/pb_bar_graph/docs/example.yml +1 -1
  17. data/app/pb_kits/playbook/pb_card/_card.scss +1 -1
  18. data/app/pb_kits/playbook/pb_card/_card_mixin.scss +1 -2
  19. data/app/pb_kits/playbook/pb_checkbox/_checkbox.scss +2 -1
  20. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx +3 -9
  21. data/app/pb_kits/playbook/pb_circle_chart/circle_chart.rb +1 -22
  22. data/app/pb_kits/playbook/pb_collapsible/_collapsible.tsx +8 -14
  23. data/app/pb_kits/playbook/pb_collapsible/collapsible.test.js +0 -24
  24. data/app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.ts +1 -7
  25. data/app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.ts +1 -9
  26. data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +0 -10
  27. data/app/pb_kits/playbook/pb_form_group/_form_group.scss +2 -2
  28. data/app/pb_kits/playbook/pb_gauge/_gauge.tsx +1 -4
  29. data/app/pb_kits/playbook/pb_gauge/gauge.rb +1 -6
  30. data/app/pb_kits/playbook/pb_line_graph/_line_graph.tsx +2 -8
  31. data/app/pb_kits/playbook/pb_line_graph/line_graph.rb +1 -22
  32. data/app/pb_kits/playbook/pb_pill/docs/_description.md +1 -1
  33. data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.scss +0 -1
  34. data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.tsx +32 -30
  35. data/app/pb_kits/playbook/pb_selectable_card/selectable_card.html.erb +2 -0
  36. data/app/pb_kits/playbook/pb_table/_table.tsx +0 -5
  37. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx +32 -33
  38. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column.md +1 -1
  39. data/app/pb_kits/playbook/pb_table/docs/{_table_outer_padding.html.erb → _table_alignment_row.html.erb} +7 -7
  40. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row.jsx +33 -33
  41. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row.md +1 -1
  42. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.html.erb +63 -0
  43. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.jsx +50 -51
  44. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.md +1 -1
  45. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.html.erb +52 -0
  46. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.jsx +38 -37
  47. data/app/pb_kits/playbook/pb_table/docs/example.yml +9 -9
  48. data/app/pb_kits/playbook/pb_table/docs/index.js +0 -1
  49. data/app/pb_kits/playbook/pb_table/styles/_all.scss +0 -1
  50. data/app/pb_kits/playbook/pb_table/table.rb +1 -14
  51. data/app/pb_kits/playbook/pb_table/table.test.js +1 -5
  52. data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.tsx +9 -12
  53. data/app/pb_kits/playbook/pb_treemap_chart/treemap_chart.rb +1 -6
  54. data/app/pb_kits/playbook/playbook-doc.js +0 -4
  55. data/app/pb_kits/playbook/utilities/globalProps.ts +1 -12
  56. data/dist/menu.yml +2 -7
  57. data/dist/playbook-rails.js +6 -6
  58. data/lib/playbook/classnames.rb +0 -1
  59. data/lib/playbook/forms/builder.rb +0 -1
  60. data/lib/playbook/kit_base.rb +0 -2
  61. data/lib/playbook/version.rb +1 -1
  62. metadata +7 -51
  63. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta_subrow_headers.html.erb +0 -40
  64. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta_subrow_headers.md +0 -3
  65. data/app/pb_kits/playbook/pb_advanced_table/table_subrow_header.html.erb +0 -34
  66. data/app/pb_kits/playbook/pb_advanced_table/table_subrow_header.rb +0 -31
  67. data/app/pb_kits/playbook/pb_bar_graph/barGraph.test.js +0 -31
  68. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom_rails.md +0 -2
  69. data/app/pb_kits/playbook/pb_circle_chart/circleChart.test.js +0 -45
  70. data/app/pb_kits/playbook/pb_collapsible/__snapshots__/collapsible.test.js.snap +0 -53
  71. data/app/pb_kits/playbook/pb_draggable/_draggable.scss +0 -10
  72. data/app/pb_kits/playbook/pb_draggable/_draggable.tsx +0 -53
  73. data/app/pb_kits/playbook/pb_draggable/context/index.tsx +0 -92
  74. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_default.jsx +0 -53
  75. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.jsx +0 -159
  76. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.jsx +0 -121
  77. data/app/pb_kits/playbook/pb_draggable/docs/example.yml +0 -9
  78. data/app/pb_kits/playbook/pb_draggable/docs/index.js +0 -3
  79. data/app/pb_kits/playbook/pb_draggable/draggable.test.jsx +0 -65
  80. data/app/pb_kits/playbook/pb_draggable/subcomponents/DraggableContainer.tsx +0 -54
  81. data/app/pb_kits/playbook/pb_draggable/subcomponents/DraggableItem.tsx +0 -57
  82. data/app/pb_kits/playbook/pb_gauge/gauge.test.js +0 -35
  83. data/app/pb_kits/playbook/pb_line_graph/lineGraph.test.js +0 -52
  84. data/app/pb_kits/playbook/pb_overlay/_overlay.scss +0 -12
  85. data/app/pb_kits/playbook/pb_overlay/_overlay.tsx +0 -93
  86. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_default.jsx +0 -40
  87. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_default.md +0 -7
  88. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx +0 -36
  89. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.md +0 -5
  90. data/app/pb_kits/playbook/pb_overlay/docs/example.yml +0 -4
  91. data/app/pb_kits/playbook/pb_overlay/docs/index.js +0 -2
  92. data/app/pb_kits/playbook/pb_overlay/overlay.test.jsx +0 -66
  93. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column_rails.md +0 -2
  94. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row_rails.html.erb +0 -34
  95. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row_rails.md +0 -2
  96. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data_rails.html.erb +0 -54
  97. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data_rails.md +0 -2
  98. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.md +0 -1
  99. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row_rails.html.erb +0 -53
  100. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row_rails.md +0 -1
  101. data/app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx +0 -76
  102. data/app/pb_kits/playbook/pb_table/docs/_table_outer_padding.md +0 -1
  103. data/app/pb_kits/playbook/pb_table/styles/_outer_padding.scss +0 -21
  104. data/app/pb_kits/playbook/pb_treemap_chart/treemapChart.test.js +0 -61
  105. data/app/pb_kits/playbook/tokens/_vertical_align.scss +0 -18
  106. data/app/pb_kits/playbook/utilities/_vertical_align.scss +0 -16
  107. data/lib/playbook/forms/builder/dropdown_field.rb +0 -14
  108. data/lib/playbook/vertical_align.rb +0 -37
  109. /data/app/pb_kits/playbook/pb_table/docs/{_table_alignment_column_rails.html.erb → _table_alignment_column.html.erb} +0 -0
@@ -41,7 +41,6 @@ module Playbook
41
41
  top_props,
42
42
  right_props,
43
43
  bottom_props,
44
- vertical_align_props,
45
44
  ].compact.join(" ")
46
45
  end
47
46
 
@@ -13,7 +13,6 @@ module Playbook
13
13
  require_relative "builder/intl_telephone_field"
14
14
  require_relative "builder/multi_level_select_field"
15
15
  require_relative "builder/phone_number_field"
16
- require_relative "builder/dropdown_field"
17
16
 
18
17
  prepend(FormFieldBuilder.new(:email_field, kit_name: "text_input"))
19
18
  prepend(FormFieldBuilder.new(:number_field, kit_name: "text_input"))
@@ -29,7 +29,6 @@ require "playbook/left"
29
29
  require "playbook/top"
30
30
  require "playbook/right"
31
31
  require "playbook/bottom"
32
- require "playbook/vertical_align"
33
32
 
34
33
  module Playbook
35
34
  include ActionView::Helpers
@@ -66,7 +65,6 @@ module Playbook
66
65
  include Playbook::Top
67
66
  include Playbook::Right
68
67
  include Playbook::Bottom
69
- include Playbook::VerticalAlign
70
68
 
71
69
  prop :id
72
70
  prop :data, type: Playbook::Props::HashProp, default: {}
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "13.28.0"
5
- VERSION = "13.28.0.pre.alpha.PBNTR297gradientoverlay3029"
5
+ VERSION = "13.28.0.pre.alpha.PLAY888Cardkithighlightoverflowtooltiperror2937"
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: 13.28.0.pre.alpha.PBNTR297gradientoverlay3029
4
+ version: 13.28.0.pre.alpha.PLAY888Cardkithighlightoverflowtooltiperror2937
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: 2024-06-06 00:00:00.000000000 Z
12
+ date: 2024-05-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -263,8 +263,6 @@ files:
263
263
  - app/pb_kits/playbook/pb_advanced_table/advanced_table.test.jsx
264
264
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta.html.erb
265
265
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta.md
266
- - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta_subrow_headers.html.erb
267
- - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta_subrow_headers.md
268
266
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_collapsible_trail.jsx
269
267
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_collapsible_trail.md
270
268
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
@@ -299,8 +297,6 @@ files:
299
297
  - app/pb_kits/playbook/pb_advanced_table/table_header.rb
300
298
  - app/pb_kits/playbook/pb_advanced_table/table_row.html.erb
301
299
  - app/pb_kits/playbook/pb_advanced_table/table_row.rb
302
- - app/pb_kits/playbook/pb_advanced_table/table_subrow_header.html.erb
303
- - app/pb_kits/playbook/pb_advanced_table/table_subrow_header.rb
304
300
  - app/pb_kits/playbook/pb_avatar/Utilities/GetPlacementPropsHelper.tsx
305
301
  - app/pb_kits/playbook/pb_avatar/_avatar.scss
306
302
  - app/pb_kits/playbook/pb_avatar/_avatar.tsx
@@ -399,17 +395,15 @@ files:
399
395
  - app/pb_kits/playbook/pb_badge/docs/index.js
400
396
  - app/pb_kits/playbook/pb_bar_graph/_bar_graph.scss
401
397
  - app/pb_kits/playbook/pb_bar_graph/_bar_graph.tsx
402
- - app/pb_kits/playbook/pb_bar_graph/barGraph.test.js
403
398
  - app/pb_kits/playbook/pb_bar_graph/barGraphSettings.js
404
399
  - app/pb_kits/playbook/pb_bar_graph/bar_graph.html.erb
405
400
  - app/pb_kits/playbook/pb_bar_graph/bar_graph.rb
406
401
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.html.erb
407
402
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.jsx
408
403
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.md
404
+ - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.html.erb
409
405
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.jsx
410
406
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.md
411
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom_rails.html.erb
412
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom_rails.md
413
407
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.html.erb
414
408
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx
415
409
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.html.erb
@@ -633,7 +627,6 @@ files:
633
627
  - app/pb_kits/playbook/pb_circle_chart/ChartsTypes.ts
634
628
  - app/pb_kits/playbook/pb_circle_chart/_circle_chart.scss
635
629
  - app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx
636
- - app/pb_kits/playbook/pb_circle_chart/circleChart.test.js
637
630
  - app/pb_kits/playbook/pb_circle_chart/circle_chart.html.erb
638
631
  - app/pb_kits/playbook/pb_circle_chart/circle_chart.rb
639
632
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.html.erb
@@ -676,7 +669,6 @@ files:
676
669
  - app/pb_kits/playbook/pb_circle_icon_button/docs/_footer.md
677
670
  - app/pb_kits/playbook/pb_circle_icon_button/docs/example.yml
678
671
  - app/pb_kits/playbook/pb_circle_icon_button/docs/index.js
679
- - app/pb_kits/playbook/pb_collapsible/__snapshots__/collapsible.test.js.snap
680
672
  - app/pb_kits/playbook/pb_collapsible/_collapsible.scss
681
673
  - app/pb_kits/playbook/pb_collapsible/_collapsible.tsx
682
674
  - app/pb_kits/playbook/pb_collapsible/_helper_functions.ts
@@ -1073,17 +1065,6 @@ files:
1073
1065
  - app/pb_kits/playbook/pb_distribution_bar/docs/index.js
1074
1066
  - app/pb_kits/playbook/pb_docs/kit_example.html.erb
1075
1067
  - app/pb_kits/playbook/pb_docs/kit_example.rb
1076
- - app/pb_kits/playbook/pb_draggable/_draggable.scss
1077
- - app/pb_kits/playbook/pb_draggable/_draggable.tsx
1078
- - app/pb_kits/playbook/pb_draggable/context/index.tsx
1079
- - app/pb_kits/playbook/pb_draggable/docs/_draggable_default.jsx
1080
- - app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.jsx
1081
- - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.jsx
1082
- - app/pb_kits/playbook/pb_draggable/docs/example.yml
1083
- - app/pb_kits/playbook/pb_draggable/docs/index.js
1084
- - app/pb_kits/playbook/pb_draggable/draggable.test.jsx
1085
- - app/pb_kits/playbook/pb_draggable/subcomponents/DraggableContainer.tsx
1086
- - app/pb_kits/playbook/pb_draggable/subcomponents/DraggableItem.tsx
1087
1068
  - app/pb_kits/playbook/pb_dropdown/_dropdown.scss
1088
1069
  - app/pb_kits/playbook/pb_dropdown/_dropdown.tsx
1089
1070
  - app/pb_kits/playbook/pb_dropdown/context/index.tsx
@@ -1349,7 +1330,6 @@ files:
1349
1330
  - app/pb_kits/playbook/pb_gauge/docs/index.js
1350
1331
  - app/pb_kits/playbook/pb_gauge/gauge.html.erb
1351
1332
  - app/pb_kits/playbook/pb_gauge/gauge.rb
1352
- - app/pb_kits/playbook/pb_gauge/gauge.test.js
1353
1333
  - app/pb_kits/playbook/pb_hashtag/_hashtag.scss
1354
1334
  - app/pb_kits/playbook/pb_hashtag/_hashtag.tsx
1355
1335
  - app/pb_kits/playbook/pb_hashtag/docs/_description.md
@@ -1648,7 +1628,6 @@ files:
1648
1628
  - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.md
1649
1629
  - app/pb_kits/playbook/pb_line_graph/docs/example.yml
1650
1630
  - app/pb_kits/playbook/pb_line_graph/docs/index.js
1651
- - app/pb_kits/playbook/pb_line_graph/lineGraph.test.js
1652
1631
  - app/pb_kits/playbook/pb_line_graph/lineGraphSettings.js
1653
1632
  - app/pb_kits/playbook/pb_line_graph/line_graph.html.erb
1654
1633
  - app/pb_kits/playbook/pb_line_graph/line_graph.rb
@@ -1872,15 +1851,6 @@ files:
1872
1851
  - app/pb_kits/playbook/pb_online_status/docs/index.js
1873
1852
  - app/pb_kits/playbook/pb_online_status/online_status.html.erb
1874
1853
  - app/pb_kits/playbook/pb_online_status/online_status.rb
1875
- - app/pb_kits/playbook/pb_overlay/_overlay.scss
1876
- - app/pb_kits/playbook/pb_overlay/_overlay.tsx
1877
- - app/pb_kits/playbook/pb_overlay/docs/_overlay_default.jsx
1878
- - app/pb_kits/playbook/pb_overlay/docs/_overlay_default.md
1879
- - app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
1880
- - app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.md
1881
- - app/pb_kits/playbook/pb_overlay/docs/example.yml
1882
- - app/pb_kits/playbook/pb_overlay/docs/index.js
1883
- - app/pb_kits/playbook/pb_overlay/overlay.test.jsx
1884
1854
  - app/pb_kits/playbook/pb_pagination/_pagination.scss
1885
1855
  - app/pb_kits/playbook/pb_pagination/docs/_pagination_default.html.erb
1886
1856
  - app/pb_kits/playbook/pb_pagination/docs/_pagination_default.md
@@ -2356,22 +2326,17 @@ files:
2356
2326
  - app/pb_kits/playbook/pb_table/docs/_table_action_middle.html.erb
2357
2327
  - app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
2358
2328
  - app/pb_kits/playbook/pb_table/docs/_table_action_middle.md
2329
+ - app/pb_kits/playbook/pb_table/docs/_table_alignment_column.html.erb
2359
2330
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx
2360
2331
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_column.md
2361
- - app/pb_kits/playbook/pb_table/docs/_table_alignment_column_rails.html.erb
2362
- - app/pb_kits/playbook/pb_table/docs/_table_alignment_column_rails.md
2332
+ - app/pb_kits/playbook/pb_table/docs/_table_alignment_row.html.erb
2363
2333
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_row.jsx
2364
2334
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_row.md
2365
- - app/pb_kits/playbook/pb_table/docs/_table_alignment_row_rails.html.erb
2366
- - app/pb_kits/playbook/pb_table/docs/_table_alignment_row_rails.md
2335
+ - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.html.erb
2367
2336
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.jsx
2368
2337
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.md
2369
- - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data_rails.html.erb
2370
- - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data_rails.md
2338
+ - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.html.erb
2371
2339
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.jsx
2372
- - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.md
2373
- - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row_rails.html.erb
2374
- - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row_rails.md
2375
2340
  - app/pb_kits/playbook/pb_table/docs/_table_container.html.erb
2376
2341
  - app/pb_kits/playbook/pb_table/docs/_table_container.jsx
2377
2342
  - app/pb_kits/playbook/pb_table/docs/_table_data_table.html.erb
@@ -2397,9 +2362,6 @@ files:
2397
2362
  - app/pb_kits/playbook/pb_table/docs/_table_one_action.html.erb
2398
2363
  - app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
2399
2364
  - app/pb_kits/playbook/pb_table/docs/_table_one_action.md
2400
- - app/pb_kits/playbook/pb_table/docs/_table_outer_padding.html.erb
2401
- - app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx
2402
- - app/pb_kits/playbook/pb_table/docs/_table_outer_padding.md
2403
2365
  - app/pb_kits/playbook/pb_table/docs/_table_responsive_table.html.erb
2404
2366
  - app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
2405
2367
  - app/pb_kits/playbook/pb_table/docs/_table_side_highlight.html.erb
@@ -2444,7 +2406,6 @@ files:
2444
2406
  - app/pb_kits/playbook/pb_table/styles/_hover.scss
2445
2407
  - app/pb_kits/playbook/pb_table/styles/_mobile.scss
2446
2408
  - app/pb_kits/playbook/pb_table/styles/_mobile_collapse.scss
2447
- - app/pb_kits/playbook/pb_table/styles/_outer_padding.scss
2448
2409
  - app/pb_kits/playbook/pb_table/styles/_reset.scss
2449
2410
  - app/pb_kits/playbook/pb_table/styles/_side_highlight.scss
2450
2411
  - app/pb_kits/playbook/pb_table/styles/_single-line.scss
@@ -2744,7 +2705,6 @@ files:
2744
2705
  - app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_tooltip.md
2745
2706
  - app/pb_kits/playbook/pb_treemap_chart/docs/example.yml
2746
2707
  - app/pb_kits/playbook/pb_treemap_chart/docs/index.js
2747
- - app/pb_kits/playbook/pb_treemap_chart/treemapChart.test.js
2748
2708
  - app/pb_kits/playbook/pb_treemap_chart/treemap_chart.html.erb
2749
2709
  - app/pb_kits/playbook/pb_treemap_chart/treemap_chart.rb
2750
2710
  - app/pb_kits/playbook/pb_typeahead/_typeahead.scss
@@ -2886,7 +2846,6 @@ files:
2886
2846
  - app/pb_kits/playbook/tokens/_titles.scss
2887
2847
  - app/pb_kits/playbook/tokens/_transition.scss
2888
2848
  - app/pb_kits/playbook/tokens/_typography.scss
2889
- - app/pb_kits/playbook/tokens/_vertical_align.scss
2890
2849
  - app/pb_kits/playbook/tokens/exports/_border_radius.scss
2891
2850
  - app/pb_kits/playbook/tokens/exports/_colors.scss
2892
2851
  - app/pb_kits/playbook/tokens/exports/_line_height.scss
@@ -2917,7 +2876,6 @@ files:
2917
2876
  - app/pb_kits/playbook/utilities/_spacing.scss
2918
2877
  - app/pb_kits/playbook/utilities/_text_align.scss
2919
2878
  - app/pb_kits/playbook/utilities/_truncate.scss
2920
- - app/pb_kits/playbook/utilities/_vertical_align.scss
2921
2879
  - app/pb_kits/playbook/utilities/flexbox_global_props/_align_content.scss
2922
2880
  - app/pb_kits/playbook/utilities/flexbox_global_props/_align_items.scss
2923
2881
  - app/pb_kits/playbook/utilities/flexbox_global_props/_align_self.scss
@@ -2972,7 +2930,6 @@ files:
2972
2930
  - lib/playbook/forms/builder/checkbox_field.rb
2973
2931
  - lib/playbook/forms/builder/collection_select_field.rb
2974
2932
  - lib/playbook/forms/builder/date_picker_field.rb
2975
- - lib/playbook/forms/builder/dropdown_field.rb
2976
2933
  - lib/playbook/forms/builder/form_field_builder.rb
2977
2934
  - lib/playbook/forms/builder/intl_telephone_field.rb
2978
2935
  - lib/playbook/forms/builder/multi_level_select_field.rb
@@ -3017,7 +2974,6 @@ files:
3017
2974
  - lib/playbook/top.rb
3018
2975
  - lib/playbook/truncate.rb
3019
2976
  - lib/playbook/version.rb
3020
- - lib/playbook/vertical_align.rb
3021
2977
  - lib/playbook/z_index.rb
3022
2978
  - lib/playbook_ui.rb
3023
2979
  homepage: https://playbook.powerapp.cloud/
@@ -1,40 +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
- subrow_headers = ["Quarter", "Month", "Day"]
35
- %>
36
-
37
- <%= pb_rails("advanced_table", props: { table_data: @table_data, column_definitions: column_definitions }) do %>
38
- <%= pb_rails("advanced_table/table_header", props: { column_definitions: column_definitions }) %>
39
- <%= pb_rails("advanced_table/table_body", props: { id: "subrow_headers", table_data: @table_data, column_definitions: column_definitions, subrow_headers: subrow_headers, enable_toggle_expansion: "all" }) %>
40
- <% end %>
@@ -1,3 +0,0 @@
1
- `subrow_headers` is an optional prop that if present will add header rows at each level of the nested data. The prop takes an array of strings, each string being the text for each header row. The array of strings must be in the order in which they need to be rendered in the UI according to depth.
2
-
3
- `enable_toggle_expansion` is an additional optional prop that can be used in conjunction with the subRowHeaders prop. `enable_toggle_expansion` is a string that can be "all", "header" or "none". If set to "all", the toggle exapansion button will appear in the table header as well as in the subRow headers. If set to "header" button will only appear in header and NOT in subRow headers. This is set to "header" by default.
@@ -1,34 +0,0 @@
1
- <%= content_tag(:div,
2
- aria: object.aria,
3
- class: object.classname,
4
- data: object.data,
5
- id: object.id) do %>
6
- <% object.column_definitions.each_with_index do |column, index| %>
7
- <%= pb_rails("table/table_cell", props: { tag: "div", classname: object.td_classname}) do %>
8
- <%= pb_rails("flex", props:{ align: "center", justify: "start" }) do %>
9
- <div style="padding-left: <%= depth * 1.25 %>em">
10
- <%= pb_rails("flex", props:{align: "center", column_gap: "xs"}) do %>
11
- <% if index.zero? && object.row[:children].present? %>
12
- <button class="gray-icon toggle-all-icon" onclick="expandAllSubRows(this, <%= depth %>)">
13
- <%= pb_rails("icon", props: { icon: "arrows-from-line", cursor: "pointer", fixed_width: true, padding_right:"xs" }) %>
14
- </button>
15
- <% end %>
16
- <%= pb_rails("flex/flex_item") do %>
17
- <% if index.zero? %>
18
- <%= pb_rails("caption", props: { margin_left: object.row[:children].present? ? "none" : "xs", text: object.subrow_header }) %>
19
- <% end %>
20
- <% end %>
21
- <% end %>
22
- </div>
23
- <% end %>
24
- <% end %>
25
- <% end %>
26
- <% end %>
27
-
28
- <script type="text/javascript">
29
- var expandAllSubRows = (element, rowDepth) => {
30
- element.closest(".toggle-content").querySelectorAll('.depth-sub-row-' + rowDepth + ' [data-advanced-table]').forEach((button) => {
31
- button.dispatchEvent(new Event('click'));
32
- });
33
- };
34
- </script>
@@ -1,31 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Playbook
4
- module PbAdvancedTable
5
- class TableSubrowHeader < Playbook::KitBase
6
- prop :column_definitions, type: Playbook::Props::Array,
7
- default: []
8
- prop :depth
9
- prop :row
10
- prop :enable_toggle_expansion, type: Playbook::Props::Enum,
11
- values: %w[all header none],
12
- default: "header"
13
- prop :subrow_header, type: Playbook::Props::String,
14
- default: ""
15
-
16
- def classname
17
- generate_classname("pb_table_tr", "bg-white", subrow_depth_classname, separator: " ")
18
- end
19
-
20
- def td_classname
21
- generate_classname("id-cell", "chrome-styles", separator: " ")
22
- end
23
-
24
- private
25
-
26
- def subrow_depth_classname
27
- depth.positive? ? "depth-sub-row-#{depth}" : ""
28
- end
29
- end
30
- end
31
- end
@@ -1,31 +0,0 @@
1
- import React from 'react';
2
- import { render, screen } from '../utilities/test-utils';
3
- import BarGraph from './_bar_graph';
4
-
5
- beforeEach(() => {
6
- // Silences error logs within the test suite.
7
- jest.spyOn(console, 'error');
8
- jest.spyOn(console, 'warn');
9
- console.error.mockImplementation(() => {});
10
- console.warn.mockImplementation(() => {});
11
- });
12
-
13
- afterEach(() => {
14
- console.error.mockRestore();
15
- console.warn.mockRestore();
16
- });
17
-
18
- const testId = 'bargraph1';
19
-
20
- test('bargraph uses exact classname', () => {
21
- render(
22
- <BarGraph
23
- className='super_important_class'
24
- data={{ testid: testId }}
25
- id='bar-default'
26
- />
27
- );
28
-
29
- const kit = screen.getByTestId(testId);
30
- expect(kit).toHaveClass('super_important_class');
31
- });
@@ -1,2 +0,0 @@
1
- The `custom_options` prop provides comprehensive access to additional [Highcharts options](https://api.highcharts.com/highcharts/) that are not explicitly defined as props.
2
- It's important to note that certain options may require specific script imports to function properly.
@@ -1,45 +0,0 @@
1
- import React from 'react';
2
- import { render, screen } from '../utilities/test-utils';
3
- import CircleChart from './_circle_chart';
4
-
5
- beforeEach(() => {
6
- // Silences error logs within the test suite.
7
- jest.spyOn(console, 'error');
8
- jest.spyOn(console, 'warn');
9
- console.error.mockImplementation(() => {});
10
- console.warn.mockImplementation(() => {});
11
- });
12
-
13
- afterEach(() => {
14
- console.error.mockRestore();
15
- console.warn.mockRestore();
16
- });
17
-
18
- const testId = 'circlechart1';
19
-
20
- test('uses exact classname', () => {
21
- const data = [
22
- {
23
- name: 'Waiting for Calls',
24
- value: 41,
25
- },
26
- {
27
- name: 'On Call',
28
- value: 49,
29
- },
30
- {
31
- name: 'After call',
32
- value: 10,
33
- },
34
- ]
35
- render(
36
- <CircleChart
37
- chartData={data}
38
- data={{ testid: testId }}
39
- id='circlechartid'
40
- />
41
- );
42
-
43
- const kit = screen.getByTestId(testId);
44
- expect(kit).toHaveClass('pb_circle_chart');
45
- });
@@ -1,53 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`html structure is correct 1`] = `
4
- <div>
5
- <div
6
- class="pb_collapsible_kit additional_class"
7
- data-testid="collapsible1"
8
- >
9
- <div
10
- class="pb_collapsible_main_kit cursor_pointer"
11
- >
12
- <div>
13
- <div
14
- class="pb_flex_kit_orientation_row_justify_content_left_align_items_center_spacing_between"
15
- >
16
- <div
17
- class="pb_flex_item_kit"
18
- >
19
- <div>
20
- Main Section
21
- </div>
22
- </div>
23
- <div
24
- class="pb_flex_item_kit"
25
- >
26
- <div
27
- class="icon_wrapper"
28
- style="vertical-align: middle; color: rgb(193, 205, 214);"
29
- >
30
- <i
31
- class="pb_icon_kit far fa-fw fa-lg fa-chevron-down"
32
- />
33
- <span
34
- aria-label="chevron-down icon"
35
- hidden=""
36
- />
37
- </div>
38
- </div>
39
- </div>
40
- </div>
41
- </div>
42
- <div
43
- class="pb_collapsible_content_kit toggle-content"
44
- data-collapsible-content="true"
45
- style="height: 0px;"
46
- >
47
- <div>
48
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. In vel erat sed purus hendrerit viverra. Duis et vestibulum metus. Sed consequat ut ante non vehicula. Etiam nunc massa, pharetra vel quam id, posuere rhoncus quam. Quisque imperdiet arcu enim, nec aliquet justo auctor eget. Curabitur in metus nec nunc rhoncus faucibus vitae ac elit. Nulla facilisi. Vestibulum quis pretium nulla. Nulla ut accumsan velit. Duis varius urna sed sem tempor, sit amet fermentum nibh auctor. Praesent lorem arcu, egestas non ante quis, placerat pellentesque lectus.Vestibulum lacinia ipsum quis venenatis tristique. Vivamus suscipit, libero eu fringilla egestas, orci urna commodo arcu, vel gravida turpis ipsum molestie nibh. Donec cursus eu ante sagittis ultrices. Phasellus id sagittis risus. Mauris dapibus neque faucibus, tempor ligula vel, cursus ante. Donec faucibus gravida porta. Nullam egestas est quis aliquam feugiat. Sed eget metus diam. Cras eget placerat libero.
49
- </div>
50
- </div>
51
- </div>
52
- </div>
53
- `;
@@ -1,10 +0,0 @@
1
- @import "../tokens/colors";
2
-
3
- .pb_draggable {
4
- .is_dragging {
5
- opacity: 40%;
6
- }
7
- .active {
8
- opacity: 60%;
9
- }
10
- }
@@ -1,53 +0,0 @@
1
- import React from "react";
2
- import classnames from "classnames";
3
- import { buildAriaProps, buildCss, buildDataProps, buildHtmlProps } from "../utilities/props";
4
- import { globalProps } from "../utilities/globalProps";
5
- import DraggableContainer from "./subcomponents/DraggableContainer";
6
- import DraggableItem from "./subcomponents/DraggableItem";
7
-
8
- type DraggableProps = {
9
- aria?: { [key: string]: string };
10
- className?: string;
11
- children?: React.ReactNode;
12
- data?: { [key: string]: string };
13
- htmlOptions?: {[key: string]: string | number | boolean | (() => void)},
14
- id?: string;
15
- };
16
-
17
- const Draggable = (props: DraggableProps) => {
18
- const {
19
- aria = {},
20
- className,
21
- children,
22
- data = {},
23
- htmlOptions = {},
24
- id,
25
- } = props;
26
-
27
-
28
- const ariaProps = buildAriaProps(aria);
29
- const dataProps = buildDataProps(data);
30
- const htmlProps = buildHtmlProps(htmlOptions);
31
-
32
- const classes = classnames(
33
- buildCss("pb_draggable"),
34
- globalProps(props),
35
- className
36
- );
37
-
38
- return (
39
- <div {...ariaProps}
40
- {...dataProps}
41
- {...htmlProps}
42
- className={classes}
43
- id={id}
44
- >
45
- {children}
46
- </div>
47
- );
48
- };
49
-
50
- Draggable.Container = DraggableContainer;
51
- Draggable.Item = DraggableItem;
52
-
53
- export default Draggable;
@@ -1,92 +0,0 @@
1
- import React, { createContext, useState, useContext, useEffect } from "react";
2
-
3
- const DragContext = createContext<any>({});
4
-
5
- export const DraggableContext = () => {
6
- return useContext(DragContext);
7
- };
8
-
9
- export const DraggableProvider = ({ children, initialItems, onChange }: any) => {
10
- const [items, setItems] = useState([]);
11
- const [dragData, setDragData] = useState<{ [key: string]: any }>({});
12
- const [isDragging, setIsDragging] = useState("");
13
- const [activeContainer, setActiveContainer] = useState("");
14
-
15
- useEffect(() => {
16
- setItems(initialItems);
17
- }, [initialItems]);
18
-
19
- useEffect(() => {
20
- onChange(items);
21
- }, [items]);
22
-
23
- const handleDragStart = (id: string, container: string) => {
24
- setDragData({ id: id, initialGroup: container });
25
- setIsDragging(id);
26
- };
27
-
28
- const handleDragEnter = (id: string, container: string) => {
29
- if (dragData?.id !== id) {
30
- const newItems = [...items];
31
- const draggedItem = newItems.find((item) => item.id === dragData.id);
32
- const draggedIndex = newItems.indexOf(draggedItem);
33
- const targetIndex = newItems.findIndex((item) => item.id === id);
34
-
35
- newItems.splice(draggedIndex, 1);
36
- newItems.splice(targetIndex, 0, draggedItem);
37
-
38
- setItems(newItems);
39
- setDragData({ id: dragData.id, initialGroup: container });
40
- }
41
- };
42
-
43
- const handleDragEnd = () => {
44
- setIsDragging("");
45
- setActiveContainer("");
46
- };
47
-
48
- const changeCategory = (itemId: string, container: string) => {
49
- const updatedItems = items.map((item) => {
50
- if (item.id === itemId) {
51
- return { ...item, container: container };
52
- }
53
- return item;
54
- });
55
-
56
- setItems(updatedItems);
57
- };
58
-
59
- const handleDrop = (container: string) => {
60
- setIsDragging("");
61
- setActiveContainer("");
62
- const selected = dragData.id;
63
- changeCategory(selected, container);
64
- };
65
-
66
- const handleDragOver = (e: Event, container: string) => {
67
- e.preventDefault();
68
- setActiveContainer(container);
69
- };
70
-
71
-
72
-
73
- const contextValue = {
74
- items,
75
- setItems,
76
- dragData,
77
- setDragData,
78
- isDragging,
79
- setIsDragging,
80
- activeContainer,
81
- setActiveContainer,
82
- handleDragStart,
83
- handleDragEnter,
84
- handleDragEnd,
85
- handleDrop,
86
- handleDragOver,
87
- };
88
-
89
- return (
90
- <DragContext.Provider value={contextValue}>{children}</DragContext.Provider>
91
- );
92
- };