playbook_ui 13.28.0.pre.alpha.PBNTR296dropdownwithform2941 → 13.28.0.pre.alpha.PBNTR297gradientoverlay3029

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 (106) 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 +3 -0
  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_beta_subrow_headers.html.erb +40 -0
  6. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta_subrow_headers.md +3 -0
  7. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_subrow_headers.md +1 -1
  8. data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +1 -1
  9. data/app/pb_kits/playbook/pb_advanced_table/table_body.html.erb +1 -1
  10. data/app/pb_kits/playbook/pb_advanced_table/table_body.rb +14 -4
  11. data/app/pb_kits/playbook/pb_advanced_table/table_header.html.erb +10 -2
  12. data/app/pb_kits/playbook/pb_advanced_table/table_row.html.erb +1 -1
  13. data/app/pb_kits/playbook/pb_advanced_table/table_row.rb +2 -0
  14. data/app/pb_kits/playbook/pb_advanced_table/table_subrow_header.html.erb +34 -0
  15. data/app/pb_kits/playbook/pb_advanced_table/table_subrow_header.rb +31 -0
  16. data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.tsx +4 -1
  17. data/app/pb_kits/playbook/pb_bar_graph/barGraph.test.js +31 -0
  18. data/app/pb_kits/playbook/pb_bar_graph/bar_graph.rb +16 -0
  19. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.md +2 -1
  20. data/app/pb_kits/playbook/pb_bar_graph/docs/{_bar_graph_custom.html.erb → _bar_graph_custom_rails.html.erb} +3 -3
  21. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom_rails.md +2 -0
  22. data/app/pb_kits/playbook/pb_bar_graph/docs/example.yml +1 -1
  23. data/app/pb_kits/playbook/pb_card/_card_mixin.scss +2 -1
  24. data/app/pb_kits/playbook/pb_checkbox/_checkbox.scss +1 -2
  25. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx +9 -3
  26. data/app/pb_kits/playbook/pb_circle_chart/circleChart.test.js +45 -0
  27. data/app/pb_kits/playbook/pb_circle_chart/circle_chart.rb +22 -1
  28. data/app/pb_kits/playbook/pb_collapsible/__snapshots__/collapsible.test.js.snap +53 -0
  29. data/app/pb_kits/playbook/pb_collapsible/_collapsible.tsx +14 -8
  30. data/app/pb_kits/playbook/pb_collapsible/collapsible.test.js +24 -0
  31. data/app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.ts +7 -1
  32. data/app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.ts +9 -1
  33. data/app/pb_kits/playbook/pb_draggable/_draggable.scss +10 -0
  34. data/app/pb_kits/playbook/pb_draggable/_draggable.tsx +53 -0
  35. data/app/pb_kits/playbook/pb_draggable/context/index.tsx +92 -0
  36. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_default.jsx +53 -0
  37. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.jsx +159 -0
  38. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.jsx +121 -0
  39. data/app/pb_kits/playbook/pb_draggable/docs/example.yml +9 -0
  40. data/app/pb_kits/playbook/pb_draggable/docs/index.js +3 -0
  41. data/app/pb_kits/playbook/pb_draggable/draggable.test.jsx +65 -0
  42. data/app/pb_kits/playbook/pb_draggable/subcomponents/DraggableContainer.tsx +54 -0
  43. data/app/pb_kits/playbook/pb_draggable/subcomponents/DraggableItem.tsx +57 -0
  44. data/app/pb_kits/playbook/pb_form_group/_form_group.scss +2 -2
  45. data/app/pb_kits/playbook/pb_gauge/_gauge.tsx +4 -1
  46. data/app/pb_kits/playbook/pb_gauge/gauge.rb +6 -1
  47. data/app/pb_kits/playbook/pb_gauge/gauge.test.js +35 -0
  48. data/app/pb_kits/playbook/pb_line_graph/_line_graph.tsx +8 -2
  49. data/app/pb_kits/playbook/pb_line_graph/lineGraph.test.js +52 -0
  50. data/app/pb_kits/playbook/pb_line_graph/line_graph.rb +22 -1
  51. data/app/pb_kits/playbook/pb_overlay/_overlay.scss +12 -0
  52. data/app/pb_kits/playbook/pb_overlay/_overlay.tsx +93 -0
  53. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_default.jsx +40 -0
  54. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_default.md +7 -0
  55. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx +36 -0
  56. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.md +5 -0
  57. data/app/pb_kits/playbook/pb_overlay/docs/example.yml +4 -0
  58. data/app/pb_kits/playbook/pb_overlay/docs/index.js +2 -0
  59. data/app/pb_kits/playbook/pb_overlay/overlay.test.jsx +66 -0
  60. data/app/pb_kits/playbook/pb_pill/docs/_description.md +1 -1
  61. data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.scss +1 -0
  62. data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.tsx +30 -32
  63. data/app/pb_kits/playbook/pb_selectable_card/selectable_card.html.erb +0 -2
  64. data/app/pb_kits/playbook/pb_table/_table.tsx +5 -0
  65. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx +33 -32
  66. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column.md +1 -1
  67. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column_rails.md +2 -0
  68. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row.jsx +33 -33
  69. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row.md +1 -1
  70. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row_rails.html.erb +34 -0
  71. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row_rails.md +2 -0
  72. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.jsx +51 -50
  73. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.md +1 -1
  74. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data_rails.html.erb +54 -0
  75. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data_rails.md +2 -0
  76. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.jsx +37 -38
  77. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.md +1 -0
  78. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row_rails.html.erb +53 -0
  79. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row_rails.md +1 -0
  80. data/app/pb_kits/playbook/pb_table/docs/{_table_alignment_row.html.erb → _table_outer_padding.html.erb} +7 -7
  81. data/app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx +76 -0
  82. data/app/pb_kits/playbook/pb_table/docs/_table_outer_padding.md +1 -0
  83. data/app/pb_kits/playbook/pb_table/docs/example.yml +9 -9
  84. data/app/pb_kits/playbook/pb_table/docs/index.js +1 -0
  85. data/app/pb_kits/playbook/pb_table/styles/_all.scss +1 -0
  86. data/app/pb_kits/playbook/pb_table/styles/_outer_padding.scss +21 -0
  87. data/app/pb_kits/playbook/pb_table/table.rb +14 -1
  88. data/app/pb_kits/playbook/pb_table/table.test.js +5 -1
  89. data/app/pb_kits/playbook/pb_tooltip/index.js +1 -0
  90. data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.tsx +12 -9
  91. data/app/pb_kits/playbook/pb_treemap_chart/treemapChart.test.js +61 -0
  92. data/app/pb_kits/playbook/pb_treemap_chart/treemap_chart.rb +6 -1
  93. data/app/pb_kits/playbook/playbook-doc.js +4 -0
  94. data/app/pb_kits/playbook/tokens/_vertical_align.scss +18 -0
  95. data/app/pb_kits/playbook/utilities/_vertical_align.scss +16 -0
  96. data/app/pb_kits/playbook/utilities/globalProps.ts +12 -1
  97. data/dist/menu.yml +7 -2
  98. data/dist/playbook-rails.js +6 -6
  99. data/lib/playbook/classnames.rb +1 -0
  100. data/lib/playbook/kit_base.rb +2 -0
  101. data/lib/playbook/version.rb +1 -1
  102. data/lib/playbook/vertical_align.rb +37 -0
  103. metadata +50 -7
  104. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.html.erb +0 -63
  105. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.html.erb +0 -52
  106. /data/app/pb_kits/playbook/pb_table/docs/{_table_alignment_column.html.erb → _table_alignment_column_rails.html.erb} +0 -0
@@ -41,6 +41,7 @@ module Playbook
41
41
  top_props,
42
42
  right_props,
43
43
  bottom_props,
44
+ vertical_align_props,
44
45
  ].compact.join(" ")
45
46
  end
46
47
 
@@ -29,6 +29,7 @@ require "playbook/left"
29
29
  require "playbook/top"
30
30
  require "playbook/right"
31
31
  require "playbook/bottom"
32
+ require "playbook/vertical_align"
32
33
 
33
34
  module Playbook
34
35
  include ActionView::Helpers
@@ -65,6 +66,7 @@ module Playbook
65
66
  include Playbook::Top
66
67
  include Playbook::Right
67
68
  include Playbook::Bottom
69
+ include Playbook::VerticalAlign
68
70
 
69
71
  prop :id
70
72
  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.PBNTR296dropdownwithform2941"
5
+ VERSION = "13.28.0.pre.alpha.PBNTR297gradientoverlay3029"
6
6
  end
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Playbook
4
+ module VerticalAlign
5
+ def self.included(base)
6
+ base.prop :vertical_align
7
+ end
8
+
9
+ # rubocop:disable Style/IfInsideElse
10
+ def vertical_align_props
11
+ selected_props = vertical_align_options.keys.select { |sk| try(sk) }
12
+ return nil unless selected_props.present?
13
+
14
+ selected_props.map do |k|
15
+ vertical_align_value = send(k)
16
+ if vertical_align_value.is_a?(Hash)
17
+ vertical_align_value.map do |media_size, flex_value|
18
+ "vertical_align_#{media_size}_#{flex_value.underscore}" if vertical_align_values.include? flex_value
19
+ end
20
+ else
21
+ "vertical_align_#{vertical_align_value.underscore}" if vertical_align_values.include? vertical_align_value
22
+ end
23
+ end.compact.join(" ")
24
+ end
25
+ # rubocop:enable Style/IfInsideElse
26
+
27
+ def vertical_align_options
28
+ {
29
+ vertical_align: "vertical_align",
30
+ }
31
+ end
32
+
33
+ def vertical_align_values
34
+ %w[baseline super top middle bottom sub text-top text-bottom]
35
+ end
36
+ end
37
+ 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.PBNTR296dropdownwithform2941
4
+ version: 13.28.0.pre.alpha.PBNTR297gradientoverlay3029
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-05-22 00:00:00.000000000 Z
12
+ date: 2024-06-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -263,6 +263,8 @@ 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
266
268
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_collapsible_trail.jsx
267
269
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_collapsible_trail.md
268
270
  - app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.jsx
@@ -297,6 +299,8 @@ files:
297
299
  - app/pb_kits/playbook/pb_advanced_table/table_header.rb
298
300
  - app/pb_kits/playbook/pb_advanced_table/table_row.html.erb
299
301
  - 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
300
304
  - app/pb_kits/playbook/pb_avatar/Utilities/GetPlacementPropsHelper.tsx
301
305
  - app/pb_kits/playbook/pb_avatar/_avatar.scss
302
306
  - app/pb_kits/playbook/pb_avatar/_avatar.tsx
@@ -395,15 +399,17 @@ files:
395
399
  - app/pb_kits/playbook/pb_badge/docs/index.js
396
400
  - app/pb_kits/playbook/pb_bar_graph/_bar_graph.scss
397
401
  - app/pb_kits/playbook/pb_bar_graph/_bar_graph.tsx
402
+ - app/pb_kits/playbook/pb_bar_graph/barGraph.test.js
398
403
  - app/pb_kits/playbook/pb_bar_graph/barGraphSettings.js
399
404
  - app/pb_kits/playbook/pb_bar_graph/bar_graph.html.erb
400
405
  - app/pb_kits/playbook/pb_bar_graph/bar_graph.rb
401
406
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.html.erb
402
407
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.jsx
403
408
  - 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
405
409
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.jsx
406
410
  - 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
407
413
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.html.erb
408
414
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx
409
415
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.html.erb
@@ -627,6 +633,7 @@ files:
627
633
  - app/pb_kits/playbook/pb_circle_chart/ChartsTypes.ts
628
634
  - app/pb_kits/playbook/pb_circle_chart/_circle_chart.scss
629
635
  - app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx
636
+ - app/pb_kits/playbook/pb_circle_chart/circleChart.test.js
630
637
  - app/pb_kits/playbook/pb_circle_chart/circle_chart.html.erb
631
638
  - app/pb_kits/playbook/pb_circle_chart/circle_chart.rb
632
639
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.html.erb
@@ -669,6 +676,7 @@ files:
669
676
  - app/pb_kits/playbook/pb_circle_icon_button/docs/_footer.md
670
677
  - app/pb_kits/playbook/pb_circle_icon_button/docs/example.yml
671
678
  - app/pb_kits/playbook/pb_circle_icon_button/docs/index.js
679
+ - app/pb_kits/playbook/pb_collapsible/__snapshots__/collapsible.test.js.snap
672
680
  - app/pb_kits/playbook/pb_collapsible/_collapsible.scss
673
681
  - app/pb_kits/playbook/pb_collapsible/_collapsible.tsx
674
682
  - app/pb_kits/playbook/pb_collapsible/_helper_functions.ts
@@ -1065,6 +1073,17 @@ files:
1065
1073
  - app/pb_kits/playbook/pb_distribution_bar/docs/index.js
1066
1074
  - app/pb_kits/playbook/pb_docs/kit_example.html.erb
1067
1075
  - 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
1068
1087
  - app/pb_kits/playbook/pb_dropdown/_dropdown.scss
1069
1088
  - app/pb_kits/playbook/pb_dropdown/_dropdown.tsx
1070
1089
  - app/pb_kits/playbook/pb_dropdown/context/index.tsx
@@ -1330,6 +1349,7 @@ files:
1330
1349
  - app/pb_kits/playbook/pb_gauge/docs/index.js
1331
1350
  - app/pb_kits/playbook/pb_gauge/gauge.html.erb
1332
1351
  - app/pb_kits/playbook/pb_gauge/gauge.rb
1352
+ - app/pb_kits/playbook/pb_gauge/gauge.test.js
1333
1353
  - app/pb_kits/playbook/pb_hashtag/_hashtag.scss
1334
1354
  - app/pb_kits/playbook/pb_hashtag/_hashtag.tsx
1335
1355
  - app/pb_kits/playbook/pb_hashtag/docs/_description.md
@@ -1628,6 +1648,7 @@ files:
1628
1648
  - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.md
1629
1649
  - app/pb_kits/playbook/pb_line_graph/docs/example.yml
1630
1650
  - app/pb_kits/playbook/pb_line_graph/docs/index.js
1651
+ - app/pb_kits/playbook/pb_line_graph/lineGraph.test.js
1631
1652
  - app/pb_kits/playbook/pb_line_graph/lineGraphSettings.js
1632
1653
  - app/pb_kits/playbook/pb_line_graph/line_graph.html.erb
1633
1654
  - app/pb_kits/playbook/pb_line_graph/line_graph.rb
@@ -1851,6 +1872,15 @@ files:
1851
1872
  - app/pb_kits/playbook/pb_online_status/docs/index.js
1852
1873
  - app/pb_kits/playbook/pb_online_status/online_status.html.erb
1853
1874
  - 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
1854
1884
  - app/pb_kits/playbook/pb_pagination/_pagination.scss
1855
1885
  - app/pb_kits/playbook/pb_pagination/docs/_pagination_default.html.erb
1856
1886
  - app/pb_kits/playbook/pb_pagination/docs/_pagination_default.md
@@ -2326,17 +2356,22 @@ files:
2326
2356
  - app/pb_kits/playbook/pb_table/docs/_table_action_middle.html.erb
2327
2357
  - app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
2328
2358
  - app/pb_kits/playbook/pb_table/docs/_table_action_middle.md
2329
- - app/pb_kits/playbook/pb_table/docs/_table_alignment_column.html.erb
2330
2359
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx
2331
2360
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_column.md
2332
- - app/pb_kits/playbook/pb_table/docs/_table_alignment_row.html.erb
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
2333
2363
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_row.jsx
2334
2364
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_row.md
2335
- - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.html.erb
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
2336
2367
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.jsx
2337
2368
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.md
2338
- - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.html.erb
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
2339
2371
  - 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
2340
2375
  - app/pb_kits/playbook/pb_table/docs/_table_container.html.erb
2341
2376
  - app/pb_kits/playbook/pb_table/docs/_table_container.jsx
2342
2377
  - app/pb_kits/playbook/pb_table/docs/_table_data_table.html.erb
@@ -2362,6 +2397,9 @@ files:
2362
2397
  - app/pb_kits/playbook/pb_table/docs/_table_one_action.html.erb
2363
2398
  - app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
2364
2399
  - 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
2365
2403
  - app/pb_kits/playbook/pb_table/docs/_table_responsive_table.html.erb
2366
2404
  - app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
2367
2405
  - app/pb_kits/playbook/pb_table/docs/_table_side_highlight.html.erb
@@ -2406,6 +2444,7 @@ files:
2406
2444
  - app/pb_kits/playbook/pb_table/styles/_hover.scss
2407
2445
  - app/pb_kits/playbook/pb_table/styles/_mobile.scss
2408
2446
  - app/pb_kits/playbook/pb_table/styles/_mobile_collapse.scss
2447
+ - app/pb_kits/playbook/pb_table/styles/_outer_padding.scss
2409
2448
  - app/pb_kits/playbook/pb_table/styles/_reset.scss
2410
2449
  - app/pb_kits/playbook/pb_table/styles/_side_highlight.scss
2411
2450
  - app/pb_kits/playbook/pb_table/styles/_single-line.scss
@@ -2705,6 +2744,7 @@ files:
2705
2744
  - app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_tooltip.md
2706
2745
  - app/pb_kits/playbook/pb_treemap_chart/docs/example.yml
2707
2746
  - app/pb_kits/playbook/pb_treemap_chart/docs/index.js
2747
+ - app/pb_kits/playbook/pb_treemap_chart/treemapChart.test.js
2708
2748
  - app/pb_kits/playbook/pb_treemap_chart/treemap_chart.html.erb
2709
2749
  - app/pb_kits/playbook/pb_treemap_chart/treemap_chart.rb
2710
2750
  - app/pb_kits/playbook/pb_typeahead/_typeahead.scss
@@ -2846,6 +2886,7 @@ files:
2846
2886
  - app/pb_kits/playbook/tokens/_titles.scss
2847
2887
  - app/pb_kits/playbook/tokens/_transition.scss
2848
2888
  - app/pb_kits/playbook/tokens/_typography.scss
2889
+ - app/pb_kits/playbook/tokens/_vertical_align.scss
2849
2890
  - app/pb_kits/playbook/tokens/exports/_border_radius.scss
2850
2891
  - app/pb_kits/playbook/tokens/exports/_colors.scss
2851
2892
  - app/pb_kits/playbook/tokens/exports/_line_height.scss
@@ -2876,6 +2917,7 @@ files:
2876
2917
  - app/pb_kits/playbook/utilities/_spacing.scss
2877
2918
  - app/pb_kits/playbook/utilities/_text_align.scss
2878
2919
  - app/pb_kits/playbook/utilities/_truncate.scss
2920
+ - app/pb_kits/playbook/utilities/_vertical_align.scss
2879
2921
  - app/pb_kits/playbook/utilities/flexbox_global_props/_align_content.scss
2880
2922
  - app/pb_kits/playbook/utilities/flexbox_global_props/_align_items.scss
2881
2923
  - app/pb_kits/playbook/utilities/flexbox_global_props/_align_self.scss
@@ -2975,6 +3017,7 @@ files:
2975
3017
  - lib/playbook/top.rb
2976
3018
  - lib/playbook/truncate.rb
2977
3019
  - lib/playbook/version.rb
3020
+ - lib/playbook/vertical_align.rb
2978
3021
  - lib/playbook/z_index.rb
2979
3022
  - lib/playbook_ui.rb
2980
3023
  homepage: https://playbook.powerapp.cloud/
@@ -1,63 +0,0 @@
1
- <%= pb_rails("table") do %>
2
- <thead>
3
- <tr>
4
- <th>&nbsp;</th>
5
- <th>Price</th>
6
- </tr>
7
- </thead>
8
- <tbody>
9
- <tr>
10
- <td shift="down">Total</td>
11
- <td>
12
- $12
13
- <br/>
14
- $46
15
- <br/>
16
- $25
17
- <br/>
18
- -------
19
- <br/>
20
- $83
21
- </td>
22
- </tr>
23
- </tbody>
24
- <% end %>
25
- <br/>
26
- <%= pb_rails("table") do %>
27
- <thead>
28
- <tr>
29
- <th>Espresso Drinks</th>
30
- <th>Ingredients</th>
31
- </tr>
32
- </thead>
33
- <tbody>
34
- <tr>
35
- <td shift="up">Cappuccino</td>
36
- <td>
37
- Espresso
38
- <br/>
39
- Steamed Milk
40
- <br/>
41
- Milk Foam
42
- </td>
43
- </tr>
44
- <tr>
45
- <td shift="up">Macchiato</td>
46
- <td>
47
- Espresso
48
- <br/>
49
- Steamed Milk
50
- </td>
51
- </tr>
52
- <tr>
53
- <td shift="up">Mocha</td>
54
- <td>
55
- Espresso
56
- <br/>
57
- Hot Chocolate
58
- <br/>
59
- Steamed Milk
60
- </td>
61
- </tr>
62
- </tbody>
63
- <% end %>
@@ -1,52 +0,0 @@
1
- <%= pb_rails("table") do %>
2
- <thead>
3
- <tr>
4
- <th>Column 1</th>
5
- <th>Column 2</th>
6
- <th>Column 3</th>
7
- <th>Column 4</th>
8
- <th>Column 5</th>
9
- </tr>
10
- </thead>
11
- <tbody>
12
- <tr>
13
- <td>
14
- Value 1a
15
- <br/>
16
- Value 1a
17
- <br/>
18
- Value 1a
19
- </td>
20
- <td>Value 2a</td>
21
- <td>Value 3a</td>
22
- <td>Value 4a</td>
23
- <td>Value 5a</td>
24
- </tr>
25
- <tr shift="middle">
26
- <td>
27
- Value 1b
28
- <br/>
29
- Value 1b
30
- <br/>
31
- Value 1b
32
- </td>
33
- <td>Value 2b</td>
34
- <td>Value 3b</td>
35
- <td>Value 4b</td>
36
- <td>Value 5b</td>
37
- </tr>
38
- <tr shift="down">
39
- <td>
40
- Value 1c
41
- <br/>
42
- Value 1c
43
- <br/>
44
- Value 1c
45
- </td>
46
- <td>Value 2c</td>
47
- <td>Value 3c</td>
48
- <td>Value 4c</td>
49
- <td>Value 5c</td>
50
- </tr>
51
- </tbody>
52
- <% end %>