playbook_ui 13.28.0 → 13.29.0.pre.alpha.PBNTR329draggablev33060

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/_playbook.scss +2 -3
  3. data/app/pb_kits/playbook/index.js +2 -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.scss +5 -0
  24. data/app/pb_kits/playbook/pb_card/_card.tsx +56 -9
  25. data/app/pb_kits/playbook/pb_card/_card_mixin.scss +2 -1
  26. data/app/pb_kits/playbook/pb_checkbox/_checkbox.scss +1 -2
  27. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx +9 -3
  28. data/app/pb_kits/playbook/pb_circle_chart/circleChart.test.js +45 -0
  29. data/app/pb_kits/playbook/pb_circle_chart/circle_chart.rb +24 -1
  30. data/app/pb_kits/playbook/pb_collapsible/__snapshots__/collapsible.test.js.snap +53 -0
  31. data/app/pb_kits/playbook/pb_collapsible/_collapsible.tsx +14 -8
  32. data/app/pb_kits/playbook/pb_collapsible/collapsible.test.js +24 -0
  33. data/app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.ts +7 -1
  34. data/app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.ts +9 -1
  35. data/app/pb_kits/playbook/pb_draggable/_draggable.scss +13 -0
  36. data/app/pb_kits/playbook/pb_draggable/_draggable.tsx +53 -0
  37. data/app/pb_kits/playbook/pb_draggable/context/index.tsx +92 -0
  38. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_default.jsx +53 -0
  39. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_default.md +4 -0
  40. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.jsx +158 -0
  41. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.jsx +100 -0
  42. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list.jsx +50 -0
  43. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list.md +1 -0
  44. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list.jsx +51 -0
  45. data/app/pb_kits/playbook/pb_draggable/docs/example.yml +11 -0
  46. data/app/pb_kits/playbook/pb_draggable/docs/index.js +5 -0
  47. data/app/pb_kits/playbook/pb_draggable/draggable.test.jsx +63 -0
  48. data/app/pb_kits/playbook/pb_draggable/subcomponents/DraggableContainer.tsx +54 -0
  49. data/app/pb_kits/playbook/pb_draggable/subcomponents/DraggableItem.tsx +57 -0
  50. data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +10 -0
  51. data/app/pb_kits/playbook/pb_form_group/_form_group.scss +2 -2
  52. data/app/pb_kits/playbook/pb_gauge/_gauge.tsx +4 -1
  53. data/app/pb_kits/playbook/pb_gauge/gauge.rb +6 -1
  54. data/app/pb_kits/playbook/pb_gauge/gauge.test.js +35 -0
  55. data/app/pb_kits/playbook/pb_icon/icon.rb +3 -2
  56. data/app/pb_kits/playbook/pb_line_graph/_line_graph.tsx +8 -2
  57. data/app/pb_kits/playbook/pb_line_graph/lineGraph.test.js +52 -0
  58. data/app/pb_kits/playbook/pb_line_graph/line_graph.rb +22 -1
  59. data/app/pb_kits/playbook/pb_list/_list.tsx +43 -2
  60. data/app/pb_kits/playbook/pb_list/_list_item.tsx +46 -10
  61. data/app/pb_kits/playbook/pb_pill/docs/_description.md +1 -1
  62. data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.scss +1 -0
  63. data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.tsx +30 -32
  64. data/app/pb_kits/playbook/pb_selectable_card/selectable_card.html.erb +0 -2
  65. data/app/pb_kits/playbook/pb_selectable_list/_item.tsx +35 -28
  66. data/app/pb_kits/playbook/pb_selectable_list/_selectable_list.tsx +5 -1
  67. data/app/pb_kits/playbook/pb_table/_table.tsx +5 -0
  68. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx +33 -32
  69. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column.md +1 -1
  70. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column_rails.md +2 -0
  71. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row.jsx +33 -33
  72. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row.md +1 -1
  73. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row_rails.html.erb +34 -0
  74. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row_rails.md +2 -0
  75. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.jsx +51 -50
  76. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.md +1 -1
  77. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data_rails.html.erb +54 -0
  78. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data_rails.md +2 -0
  79. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.jsx +37 -38
  80. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.md +1 -0
  81. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row_rails.html.erb +53 -0
  82. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row_rails.md +1 -0
  83. data/app/pb_kits/playbook/pb_table/docs/{_table_alignment_row.html.erb → _table_outer_padding.html.erb} +7 -7
  84. data/app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx +76 -0
  85. data/app/pb_kits/playbook/pb_table/docs/_table_outer_padding.md +1 -0
  86. data/app/pb_kits/playbook/pb_table/docs/example.yml +9 -9
  87. data/app/pb_kits/playbook/pb_table/docs/index.js +1 -0
  88. data/app/pb_kits/playbook/pb_table/styles/_all.scss +1 -0
  89. data/app/pb_kits/playbook/pb_table/styles/_outer_padding.scss +21 -0
  90. data/app/pb_kits/playbook/pb_table/table.rb +14 -1
  91. data/app/pb_kits/playbook/pb_table/table.test.js +5 -1
  92. data/app/pb_kits/playbook/pb_tooltip/index.js +1 -0
  93. data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.tsx +12 -9
  94. data/app/pb_kits/playbook/pb_treemap_chart/treemapChart.test.js +61 -0
  95. data/app/pb_kits/playbook/pb_treemap_chart/treemap_chart.rb +6 -1
  96. data/app/pb_kits/playbook/playbook-doc.js +2 -0
  97. data/app/pb_kits/playbook/tokens/_vertical_align.scss +18 -0
  98. data/app/pb_kits/playbook/utilities/_vertical_align.scss +16 -0
  99. data/app/pb_kits/playbook/utilities/globalProps.ts +12 -1
  100. data/dist/menu.yml +5 -2
  101. data/dist/playbook-rails.js +7 -7
  102. data/lib/playbook/classnames.rb +1 -0
  103. data/lib/playbook/forms/builder/dropdown_field.rb +14 -0
  104. data/lib/playbook/forms/builder.rb +1 -0
  105. data/lib/playbook/kit_base.rb +2 -0
  106. data/lib/playbook/version.rb +2 -2
  107. data/lib/playbook/vertical_align.rb +37 -0
  108. metadata +49 -10
  109. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.html.erb +0 -63
  110. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.html.erb +0 -52
  111. /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
 
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Playbook
4
+ module Forms
5
+ class Builder
6
+ def dropdown_field(name, props: {})
7
+ props[:name] = name
8
+ props[:margin_bottom] = "sm"
9
+ props[:label] = @template.label(@object_name, name) if props[:label] == true
10
+ @template.pb_rails("dropdown", props: props)
11
+ end
12
+ end
13
+ end
14
+ end
@@ -13,6 +13,7 @@ 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"
16
17
 
17
18
  prepend(FormFieldBuilder.new(:email_field, kit_name: "text_input"))
18
19
  prepend(FormFieldBuilder.new(:number_field, kit_name: "text_input"))
@@ -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: {}
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- PREVIOUS_VERSION = "13.27.0"
5
- VERSION = "13.28.0"
4
+ PREVIOUS_VERSION = "13.29.0"
5
+ VERSION = "13.29.0.pre.alpha.PBNTR329draggablev33060"
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,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.28.0
4
+ version: 13.29.0.pre.alpha.PBNTR329draggablev33060
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
8
8
  - Power Devs
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-05-21 00:00:00.000000000 Z
12
+ date: 2024-06-11 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,21 @@ 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_default.md
1081
+ - app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.jsx
1082
+ - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.jsx
1083
+ - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list.jsx
1084
+ - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list.md
1085
+ - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list.jsx
1086
+ - app/pb_kits/playbook/pb_draggable/docs/example.yml
1087
+ - app/pb_kits/playbook/pb_draggable/docs/index.js
1088
+ - app/pb_kits/playbook/pb_draggable/draggable.test.jsx
1089
+ - app/pb_kits/playbook/pb_draggable/subcomponents/DraggableContainer.tsx
1090
+ - app/pb_kits/playbook/pb_draggable/subcomponents/DraggableItem.tsx
1068
1091
  - app/pb_kits/playbook/pb_dropdown/_dropdown.scss
1069
1092
  - app/pb_kits/playbook/pb_dropdown/_dropdown.tsx
1070
1093
  - app/pb_kits/playbook/pb_dropdown/context/index.tsx
@@ -1330,6 +1353,7 @@ files:
1330
1353
  - app/pb_kits/playbook/pb_gauge/docs/index.js
1331
1354
  - app/pb_kits/playbook/pb_gauge/gauge.html.erb
1332
1355
  - app/pb_kits/playbook/pb_gauge/gauge.rb
1356
+ - app/pb_kits/playbook/pb_gauge/gauge.test.js
1333
1357
  - app/pb_kits/playbook/pb_hashtag/_hashtag.scss
1334
1358
  - app/pb_kits/playbook/pb_hashtag/_hashtag.tsx
1335
1359
  - app/pb_kits/playbook/pb_hashtag/docs/_description.md
@@ -1628,6 +1652,7 @@ files:
1628
1652
  - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.md
1629
1653
  - app/pb_kits/playbook/pb_line_graph/docs/example.yml
1630
1654
  - app/pb_kits/playbook/pb_line_graph/docs/index.js
1655
+ - app/pb_kits/playbook/pb_line_graph/lineGraph.test.js
1631
1656
  - app/pb_kits/playbook/pb_line_graph/lineGraphSettings.js
1632
1657
  - app/pb_kits/playbook/pb_line_graph/line_graph.html.erb
1633
1658
  - app/pb_kits/playbook/pb_line_graph/line_graph.rb
@@ -2326,17 +2351,22 @@ files:
2326
2351
  - app/pb_kits/playbook/pb_table/docs/_table_action_middle.html.erb
2327
2352
  - app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
2328
2353
  - 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
2354
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx
2331
2355
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_column.md
2332
- - app/pb_kits/playbook/pb_table/docs/_table_alignment_row.html.erb
2356
+ - app/pb_kits/playbook/pb_table/docs/_table_alignment_column_rails.html.erb
2357
+ - app/pb_kits/playbook/pb_table/docs/_table_alignment_column_rails.md
2333
2358
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_row.jsx
2334
2359
  - 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
2360
+ - app/pb_kits/playbook/pb_table/docs/_table_alignment_row_rails.html.erb
2361
+ - app/pb_kits/playbook/pb_table/docs/_table_alignment_row_rails.md
2336
2362
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.jsx
2337
2363
  - 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
2364
+ - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data_rails.html.erb
2365
+ - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data_rails.md
2339
2366
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.jsx
2367
+ - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.md
2368
+ - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row_rails.html.erb
2369
+ - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row_rails.md
2340
2370
  - app/pb_kits/playbook/pb_table/docs/_table_container.html.erb
2341
2371
  - app/pb_kits/playbook/pb_table/docs/_table_container.jsx
2342
2372
  - app/pb_kits/playbook/pb_table/docs/_table_data_table.html.erb
@@ -2362,6 +2392,9 @@ files:
2362
2392
  - app/pb_kits/playbook/pb_table/docs/_table_one_action.html.erb
2363
2393
  - app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
2364
2394
  - app/pb_kits/playbook/pb_table/docs/_table_one_action.md
2395
+ - app/pb_kits/playbook/pb_table/docs/_table_outer_padding.html.erb
2396
+ - app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx
2397
+ - app/pb_kits/playbook/pb_table/docs/_table_outer_padding.md
2365
2398
  - app/pb_kits/playbook/pb_table/docs/_table_responsive_table.html.erb
2366
2399
  - app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
2367
2400
  - app/pb_kits/playbook/pb_table/docs/_table_side_highlight.html.erb
@@ -2406,6 +2439,7 @@ files:
2406
2439
  - app/pb_kits/playbook/pb_table/styles/_hover.scss
2407
2440
  - app/pb_kits/playbook/pb_table/styles/_mobile.scss
2408
2441
  - app/pb_kits/playbook/pb_table/styles/_mobile_collapse.scss
2442
+ - app/pb_kits/playbook/pb_table/styles/_outer_padding.scss
2409
2443
  - app/pb_kits/playbook/pb_table/styles/_reset.scss
2410
2444
  - app/pb_kits/playbook/pb_table/styles/_side_highlight.scss
2411
2445
  - app/pb_kits/playbook/pb_table/styles/_single-line.scss
@@ -2705,6 +2739,7 @@ files:
2705
2739
  - app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_tooltip.md
2706
2740
  - app/pb_kits/playbook/pb_treemap_chart/docs/example.yml
2707
2741
  - app/pb_kits/playbook/pb_treemap_chart/docs/index.js
2742
+ - app/pb_kits/playbook/pb_treemap_chart/treemapChart.test.js
2708
2743
  - app/pb_kits/playbook/pb_treemap_chart/treemap_chart.html.erb
2709
2744
  - app/pb_kits/playbook/pb_treemap_chart/treemap_chart.rb
2710
2745
  - app/pb_kits/playbook/pb_typeahead/_typeahead.scss
@@ -2846,6 +2881,7 @@ files:
2846
2881
  - app/pb_kits/playbook/tokens/_titles.scss
2847
2882
  - app/pb_kits/playbook/tokens/_transition.scss
2848
2883
  - app/pb_kits/playbook/tokens/_typography.scss
2884
+ - app/pb_kits/playbook/tokens/_vertical_align.scss
2849
2885
  - app/pb_kits/playbook/tokens/exports/_border_radius.scss
2850
2886
  - app/pb_kits/playbook/tokens/exports/_colors.scss
2851
2887
  - app/pb_kits/playbook/tokens/exports/_line_height.scss
@@ -2876,6 +2912,7 @@ files:
2876
2912
  - app/pb_kits/playbook/utilities/_spacing.scss
2877
2913
  - app/pb_kits/playbook/utilities/_text_align.scss
2878
2914
  - app/pb_kits/playbook/utilities/_truncate.scss
2915
+ - app/pb_kits/playbook/utilities/_vertical_align.scss
2879
2916
  - app/pb_kits/playbook/utilities/flexbox_global_props/_align_content.scss
2880
2917
  - app/pb_kits/playbook/utilities/flexbox_global_props/_align_items.scss
2881
2918
  - app/pb_kits/playbook/utilities/flexbox_global_props/_align_self.scss
@@ -2930,6 +2967,7 @@ files:
2930
2967
  - lib/playbook/forms/builder/checkbox_field.rb
2931
2968
  - lib/playbook/forms/builder/collection_select_field.rb
2932
2969
  - lib/playbook/forms/builder/date_picker_field.rb
2970
+ - lib/playbook/forms/builder/dropdown_field.rb
2933
2971
  - lib/playbook/forms/builder/form_field_builder.rb
2934
2972
  - lib/playbook/forms/builder/intl_telephone_field.rb
2935
2973
  - lib/playbook/forms/builder/multi_level_select_field.rb
@@ -2974,13 +3012,14 @@ files:
2974
3012
  - lib/playbook/top.rb
2975
3013
  - lib/playbook/truncate.rb
2976
3014
  - lib/playbook/version.rb
3015
+ - lib/playbook/vertical_align.rb
2977
3016
  - lib/playbook/z_index.rb
2978
3017
  - lib/playbook_ui.rb
2979
3018
  homepage: https://playbook.powerapp.cloud/
2980
3019
  licenses:
2981
3020
  - ISC
2982
3021
  metadata: {}
2983
- post_install_message:
3022
+ post_install_message:
2984
3023
  rdoc_options: []
2985
3024
  require_paths:
2986
3025
  - lib
@@ -2996,7 +3035,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2996
3035
  version: '0'
2997
3036
  requirements: []
2998
3037
  rubygems_version: 3.5.3
2999
- signing_key:
3038
+ signing_key:
3000
3039
  specification_version: 4
3001
3040
  summary: Playbook Design System
3002
3041
  test_files: []
@@ -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 %>