playbook_ui 13.27.0 → 13.28.0.pre.alpha.PBNTR297gradientoverlay3029

Sign up to get free protection for your applications and to get access to all the features.
Files changed (254) 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 +3 -7
  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 +2 -6
  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 +11 -7
  12. data/app/pb_kits/playbook/pb_advanced_table/table_row.html.erb +2 -6
  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_avatar/Utilities/GetPlacementPropsHelper.tsx +16 -0
  17. data/app/pb_kits/playbook/pb_avatar/_avatar.scss +16 -0
  18. data/app/pb_kits/playbook/pb_avatar/avatar.html.erb +1 -1
  19. data/app/pb_kits/playbook/pb_avatar/avatar.rb +4 -0
  20. data/app/pb_kits/playbook/pb_avatar/avatar.test.js +47 -0
  21. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_badge_component_overlay.html.erb +46 -66
  22. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_badge_component_overlay.jsx +8 -29
  23. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_badge_component_overlay.md +3 -0
  24. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_circle_icon_component_overlay.html.erb +13 -33
  25. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_circle_icon_component_overlay.jsx +48 -67
  26. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_circle_icon_component_overlay.md +3 -0
  27. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx +0 -20
  28. data/app/pb_kits/playbook/pb_avatar/docs/example.yml +2 -2
  29. data/app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb +1 -6
  30. data/app/pb_kits/playbook/pb_badge/badge.html.erb +1 -6
  31. data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.tsx +4 -1
  32. data/app/pb_kits/playbook/pb_bar_graph/barGraph.test.js +31 -0
  33. data/app/pb_kits/playbook/pb_bar_graph/bar_graph.rb +16 -0
  34. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.md +2 -1
  35. data/app/pb_kits/playbook/pb_bar_graph/docs/{_bar_graph_custom.html.erb → _bar_graph_custom_rails.html.erb} +3 -3
  36. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom_rails.md +2 -0
  37. data/app/pb_kits/playbook/pb_bar_graph/docs/example.yml +1 -1
  38. data/app/pb_kits/playbook/pb_body/_body.scss +3 -0
  39. data/app/pb_kits/playbook/pb_body/_body_mixins.scss +1 -1
  40. data/app/pb_kits/playbook/pb_button/_button_mixins.scss +4 -3
  41. data/app/pb_kits/playbook/pb_button_toolbar/button_toolbar.html.erb +1 -6
  42. data/app/pb_kits/playbook/pb_caption/_caption_mixin.scss +1 -1
  43. data/app/pb_kits/playbook/pb_card/_card_mixin.scss +7 -1
  44. data/app/pb_kits/playbook/pb_card/card.rb +1 -1
  45. data/app/pb_kits/playbook/pb_card/docs/_card_background.html.erb +20 -0
  46. data/app/pb_kits/playbook/pb_card/docs/_card_background.jsx +41 -1
  47. data/app/pb_kits/playbook/pb_card/docs/_card_background.md +1 -1
  48. data/app/pb_kits/playbook/pb_card/docs/_card_header.html.erb +1 -1
  49. data/app/pb_kits/playbook/pb_card/docs/_card_header.md +1 -1
  50. data/app/pb_kits/playbook/pb_card/docs/_card_highlight.md +1 -1
  51. data/app/pb_kits/playbook/pb_checkbox/_checkbox.scss +1 -2
  52. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx +9 -3
  53. data/app/pb_kits/playbook/pb_circle_chart/circleChart.test.js +45 -0
  54. data/app/pb_kits/playbook/pb_circle_chart/circle_chart.rb +22 -1
  55. data/app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.html.erb +1 -6
  56. data/app/pb_kits/playbook/pb_collapsible/__snapshots__/collapsible.test.js.snap +53 -0
  57. data/app/pb_kits/playbook/pb_collapsible/_collapsible.tsx +33 -16
  58. data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleIcon.tsx +92 -0
  59. data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleMain.tsx +3 -75
  60. data/app/pb_kits/playbook/pb_collapsible/collapsible.html.erb +1 -6
  61. data/app/pb_kits/playbook/pb_collapsible/collapsible.test.js +24 -0
  62. data/app/pb_kits/playbook/pb_collapsible/collapsible_content.html.erb +1 -6
  63. data/app/pb_kits/playbook/pb_collapsible/collapsible_icon.html.erb +15 -0
  64. data/app/pb_kits/playbook/pb_collapsible/collapsible_icon.rb +37 -0
  65. data/app/pb_kits/playbook/pb_collapsible/collapsible_main.html.erb +1 -6
  66. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main.jsx +72 -0
  67. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main.md +3 -0
  68. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main_rails.html.erb +19 -0
  69. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main_rails.md +3 -0
  70. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main_with_icon.jsx +73 -0
  71. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main_with_icon.md +3 -0
  72. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main_with_icon_rails.html.erb +20 -0
  73. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main_with_icon_rails.md +3 -0
  74. data/app/pb_kits/playbook/pb_collapsible/docs/example.yml +7 -0
  75. data/app/pb_kits/playbook/pb_collapsible/docs/index.js +3 -1
  76. data/app/pb_kits/playbook/pb_collapsible/index.js +16 -6
  77. data/app/pb_kits/playbook/pb_contact/contact.html.erb +1 -6
  78. data/app/pb_kits/playbook/pb_currency/currency.html.erb +1 -6
  79. data/app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.ts +7 -1
  80. data/app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.ts +9 -1
  81. data/app/pb_kits/playbook/pb_dashboard_value/dashboard_value.html.erb +1 -6
  82. data/app/pb_kits/playbook/pb_date/date.html.erb +1 -6
  83. data/app/pb_kits/playbook/pb_date_range_inline/date_range_inline.html.erb +1 -5
  84. data/app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md +61 -0
  85. data/app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_props_swift.md +11 -0
  86. data/app/pb_kits/playbook/pb_date_range_inline/docs/example.yml +4 -1
  87. data/app/pb_kits/playbook/pb_date_range_stacked/date_range_stacked.html.erb +1 -5
  88. data/app/pb_kits/playbook/pb_date_stacked/date_stacked.html.erb +1 -5
  89. data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_bold_swift.md +32 -0
  90. data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_default_swift.md +17 -0
  91. data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_not_current_year_swift.md +19 -0
  92. data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_props_swift.md +10 -0
  93. data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_reversed_swift.md +17 -0
  94. data/app/pb_kits/playbook/pb_date_stacked/docs/example.yml +7 -0
  95. data/app/pb_kits/playbook/pb_date_time/date_time.html.erb +1 -6
  96. data/app/pb_kits/playbook/pb_date_time/docs/_date_time_alignment_swift.md +39 -0
  97. data/app/pb_kits/playbook/pb_date_time/docs/_date_time_default_swift.md +39 -0
  98. data/app/pb_kits/playbook/pb_date_time/docs/_date_time_props_swift.md +15 -0
  99. data/app/pb_kits/playbook/pb_date_time/docs/_date_time_size_swift.md +78 -0
  100. data/app/pb_kits/playbook/pb_date_time/docs/example.yml +6 -0
  101. data/app/pb_kits/playbook/pb_date_time_stacked/date_time_stacked.html.erb +1 -6
  102. data/app/pb_kits/playbook/pb_date_year_stacked/date_year_stacked.html.erb +1 -5
  103. data/app/pb_kits/playbook/pb_detail/_detail_mixins.scss +1 -1
  104. data/app/pb_kits/playbook/pb_docs/kit_example.html.erb +3 -3
  105. data/app/pb_kits/playbook/pb_draggable/_draggable.scss +10 -0
  106. data/app/pb_kits/playbook/pb_draggable/_draggable.tsx +53 -0
  107. data/app/pb_kits/playbook/pb_draggable/context/index.tsx +92 -0
  108. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_default.jsx +53 -0
  109. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.jsx +159 -0
  110. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.jsx +121 -0
  111. data/app/pb_kits/playbook/pb_draggable/docs/example.yml +9 -0
  112. data/app/pb_kits/playbook/pb_draggable/docs/index.js +3 -0
  113. data/app/pb_kits/playbook/pb_draggable/draggable.test.jsx +65 -0
  114. data/app/pb_kits/playbook/pb_draggable/subcomponents/DraggableContainer.tsx +54 -0
  115. data/app/pb_kits/playbook/pb_draggable/subcomponents/DraggableItem.tsx +57 -0
  116. data/app/pb_kits/playbook/pb_dropdown/_dropdown.scss +6 -1
  117. data/app/pb_kits/playbook/pb_dropdown/_dropdown.tsx +5 -6
  118. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default.html.erb +3 -3
  119. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default.md +1 -1
  120. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subcomponent_structure.md +5 -6
  121. data/app/pb_kits/playbook/pb_dropdown/docs/{_dropdown_subcomponent_structure.html.erb → _dropdown_subcomponent_structure_rails.html.erb} +3 -3
  122. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subcomponent_structure_rails.md +6 -0
  123. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.jsx +6 -3
  124. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.md +3 -3
  125. data/app/pb_kits/playbook/pb_dropdown/docs/{_dropdown_with_custom_display.html.erb → _dropdown_with_custom_display_rails.html.erb} +11 -6
  126. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display_rails.md +5 -0
  127. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options.jsx +5 -2
  128. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options.md +1 -1
  129. data/app/pb_kits/playbook/pb_dropdown/docs/{_dropdown_with_custom_options.html.erb → _dropdown_with_custom_options_rails.html.erb} +16 -11
  130. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options_rails.md +1 -0
  131. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb +3 -3
  132. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.md +1 -1
  133. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger.jsx +5 -2
  134. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger.md +1 -1
  135. data/app/pb_kits/playbook/pb_dropdown/docs/{_dropdown_with_custom_trigger.html.erb → _dropdown_with_custom_trigger_rails.html.erb} +16 -11
  136. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger_rails.md +1 -0
  137. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_label.html.erb +3 -3
  138. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_label.md +1 -1
  139. data/app/pb_kits/playbook/pb_dropdown/docs/example.yml +6 -6
  140. data/app/pb_kits/playbook/pb_dropdown/dropdown.html.erb +1 -0
  141. data/app/pb_kits/playbook/pb_dropdown/dropdown.rb +1 -0
  142. data/app/pb_kits/playbook/pb_dropdown/dropdown.test.jsx +1 -1
  143. data/app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb +3 -9
  144. data/app/pb_kits/playbook/pb_dropdown/dropdown_option.rb +2 -6
  145. data/app/pb_kits/playbook/pb_dropdown/index.js +2 -1
  146. data/app/pb_kits/playbook/pb_dropdown/subcomponents/DropdownOption.tsx +6 -14
  147. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_children_swift.md +23 -0
  148. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_close_swift.md +7 -0
  149. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_default_swift.md +9 -0
  150. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_dismiss_with_timer_swift.md +22 -0
  151. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line_swift.md +9 -0
  152. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_positions_swift.md +62 -0
  153. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_props_swift.md +8 -0
  154. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/example.yml +9 -0
  155. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/fixed_confirmation_toast.html.erb +1 -6
  156. data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +11 -1
  157. data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +1 -1
  158. data/app/pb_kits/playbook/pb_form_group/_form_group.scss +17 -2
  159. data/app/pb_kits/playbook/pb_gauge/_gauge.tsx +4 -1
  160. data/app/pb_kits/playbook/pb_gauge/gauge.rb +6 -1
  161. data/app/pb_kits/playbook/pb_gauge/gauge.test.js +35 -0
  162. data/app/pb_kits/playbook/pb_icon_circle/icon_circle.html.erb +1 -6
  163. data/app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.html.erb +1 -6
  164. data/app/pb_kits/playbook/pb_icon_value/icon_value.html.erb +1 -6
  165. data/app/pb_kits/playbook/pb_label_pill/label_pill.html.erb +1 -6
  166. data/app/pb_kits/playbook/pb_label_value/label_value.html.erb +1 -6
  167. data/app/pb_kits/playbook/pb_line_graph/_line_graph.tsx +8 -2
  168. data/app/pb_kits/playbook/pb_line_graph/lineGraph.test.js +52 -0
  169. data/app/pb_kits/playbook/pb_line_graph/line_graph.rb +22 -1
  170. data/app/pb_kits/playbook/pb_loading_inline/loading_inline.html.erb +1 -5
  171. data/app/pb_kits/playbook/pb_message/message_mention.html.erb +6 -6
  172. data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss +8 -0
  173. data/app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb +1 -6
  174. data/app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb +1 -6
  175. data/app/pb_kits/playbook/pb_overlay/_overlay.scss +12 -0
  176. data/app/pb_kits/playbook/pb_overlay/_overlay.tsx +93 -0
  177. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_default.jsx +40 -0
  178. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_default.md +7 -0
  179. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx +36 -0
  180. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.md +5 -0
  181. data/app/pb_kits/playbook/pb_overlay/docs/example.yml +4 -0
  182. data/app/pb_kits/playbook/pb_overlay/docs/index.js +2 -0
  183. data/app/pb_kits/playbook/pb_overlay/overlay.test.jsx +66 -0
  184. data/app/pb_kits/playbook/pb_pagination/_pagination.scss +1 -1
  185. data/app/pb_kits/playbook/pb_pagination/pagination.html.erb +1 -6
  186. data/app/pb_kits/playbook/pb_person/person.html.erb +1 -6
  187. data/app/pb_kits/playbook/pb_person_contact/person_contact.html.erb +1 -6
  188. data/app/pb_kits/playbook/pb_pill/docs/_description.md +1 -1
  189. data/app/pb_kits/playbook/pb_pill/pill.html.erb +1 -6
  190. data/app/pb_kits/playbook/pb_section_separator/section_separator.html.erb +1 -6
  191. data/app/pb_kits/playbook/pb_select/_select.scss +8 -0
  192. data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.scss +1 -0
  193. data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.tsx +30 -32
  194. data/app/pb_kits/playbook/pb_selectable_card/selectable_card.html.erb +0 -2
  195. data/app/pb_kits/playbook/pb_source/source.html.erb +1 -5
  196. data/app/pb_kits/playbook/pb_stat_change/stat_change.html.erb +1 -5
  197. data/app/pb_kits/playbook/pb_stat_value/stat_value.html.erb +1 -5
  198. data/app/pb_kits/playbook/pb_table/_table.tsx +5 -0
  199. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx +33 -32
  200. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column.md +1 -1
  201. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column_rails.md +2 -0
  202. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row.jsx +33 -33
  203. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row.md +1 -1
  204. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row_rails.html.erb +34 -0
  205. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row_rails.md +2 -0
  206. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.jsx +51 -50
  207. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.md +1 -1
  208. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data_rails.html.erb +54 -0
  209. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data_rails.md +2 -0
  210. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.jsx +37 -38
  211. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.md +1 -0
  212. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row_rails.html.erb +53 -0
  213. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row_rails.md +1 -0
  214. data/app/pb_kits/playbook/pb_table/docs/{_table_alignment_row.html.erb → _table_outer_padding.html.erb} +7 -7
  215. data/app/pb_kits/playbook/pb_table/docs/_table_outer_padding.jsx +76 -0
  216. data/app/pb_kits/playbook/pb_table/docs/_table_outer_padding.md +1 -0
  217. data/app/pb_kits/playbook/pb_table/docs/example.yml +9 -9
  218. data/app/pb_kits/playbook/pb_table/docs/index.js +1 -0
  219. data/app/pb_kits/playbook/pb_table/styles/_all.scss +1 -0
  220. data/app/pb_kits/playbook/pb_table/styles/_outer_padding.scss +21 -0
  221. data/app/pb_kits/playbook/pb_table/table.rb +14 -1
  222. data/app/pb_kits/playbook/pb_table/table.test.js +5 -1
  223. data/app/pb_kits/playbook/pb_text_input/_text_input.scss +19 -0
  224. data/app/pb_kits/playbook/pb_time_range_inline/time_range_inline.html.erb +1 -5
  225. data/app/pb_kits/playbook/pb_time_stacked/time_stacked.html.erb +1 -5
  226. data/app/pb_kits/playbook/pb_timeline/item.html.erb +1 -5
  227. data/app/pb_kits/playbook/pb_timeline/timeline.html.erb +1 -5
  228. data/app/pb_kits/playbook/pb_timestamp/timestamp.html.erb +1 -6
  229. data/app/pb_kits/playbook/pb_title/_title.scss +5 -1
  230. data/app/pb_kits/playbook/pb_title_count/title_count.html.erb +1 -6
  231. data/app/pb_kits/playbook/pb_title_detail/title_detail.html.erb +1 -5
  232. data/app/pb_kits/playbook/pb_tooltip/index.js +1 -0
  233. data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.tsx +12 -9
  234. data/app/pb_kits/playbook/pb_treemap_chart/treemapChart.test.js +61 -0
  235. data/app/pb_kits/playbook/pb_treemap_chart/treemap_chart.rb +6 -1
  236. data/app/pb_kits/playbook/pb_weekday_stacked/weekday_stacked.html.erb +1 -6
  237. data/app/pb_kits/playbook/playbook-doc.js +4 -0
  238. data/app/pb_kits/playbook/tokens/_titles.scss +5 -1
  239. data/app/pb_kits/playbook/tokens/_vertical_align.scss +18 -0
  240. data/app/pb_kits/playbook/utilities/_vertical_align.scss +16 -0
  241. data/app/pb_kits/playbook/utilities/globalProps.ts +12 -1
  242. data/dist/menu.yml +9 -4
  243. data/dist/playbook-rails.js +6 -6
  244. data/lib/playbook/classnames.rb +1 -0
  245. data/lib/playbook/forms/builder/dropdown_field.rb +14 -0
  246. data/lib/playbook/forms/builder/phone_number_field.rb +12 -0
  247. data/lib/playbook/forms/builder.rb +2 -0
  248. data/lib/playbook/kit_base.rb +3 -1
  249. data/lib/playbook/version.rb +2 -2
  250. data/lib/playbook/vertical_align.rb +37 -0
  251. metadata +94 -14
  252. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.html.erb +0 -63
  253. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.html.erb +0 -52
  254. /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
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Playbook
4
+ module Forms
5
+ class Builder
6
+ def phone_number_field(name, props: {})
7
+ props[:name] = name
8
+ @template.pb_rails("phone_number_input", props: props)
9
+ end
10
+ end
11
+ end
12
+ end
@@ -12,6 +12,8 @@ module Playbook
12
12
  require_relative "builder/typeahead_field"
13
13
  require_relative "builder/intl_telephone_field"
14
14
  require_relative "builder/multi_level_select_field"
15
+ require_relative "builder/phone_number_field"
16
+ require_relative "builder/dropdown_field"
15
17
 
16
18
  prepend(FormFieldBuilder.new(:email_field, kit_name: "text_input"))
17
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: {}
@@ -81,7 +83,7 @@ module Playbook
81
83
  end
82
84
 
83
85
  # rubocop:disable Style/OptionalBooleanParameter
84
- def pb_content_tag(name, content_or_options_with_block = nil, options = {}, escape = true, &block)
86
+ def pb_content_tag(name = :div, content_or_options_with_block = {}, options = {}, escape = true, &block)
85
87
  combined_options = options
86
88
  .merge(combined_html_options)
87
89
  .merge(default_options.merge(content_or_options_with_block))
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- PREVIOUS_VERSION = "13.26.0"
5
- VERSION = "13.27.0"
4
+ PREVIOUS_VERSION = "13.28.0"
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,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.27.0
4
+ version: 13.28.0.pre.alpha.PBNTR297gradientoverlay3029
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-06 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
@@ -305,8 +309,10 @@ files:
305
309
  - app/pb_kits/playbook/pb_avatar/avatar.test.js
306
310
  - app/pb_kits/playbook/pb_avatar/docs/_avatar_badge_component_overlay.html.erb
307
311
  - app/pb_kits/playbook/pb_avatar/docs/_avatar_badge_component_overlay.jsx
312
+ - app/pb_kits/playbook/pb_avatar/docs/_avatar_badge_component_overlay.md
308
313
  - app/pb_kits/playbook/pb_avatar/docs/_avatar_circle_icon_component_overlay.html.erb
309
314
  - app/pb_kits/playbook/pb_avatar/docs/_avatar_circle_icon_component_overlay.jsx
315
+ - app/pb_kits/playbook/pb_avatar/docs/_avatar_circle_icon_component_overlay.md
310
316
  - app/pb_kits/playbook/pb_avatar/docs/_avatar_default.html.erb
311
317
  - app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx
312
318
  - app/pb_kits/playbook/pb_avatar/docs/_avatar_default_swift.md
@@ -393,15 +399,17 @@ files:
393
399
  - app/pb_kits/playbook/pb_badge/docs/index.js
394
400
  - app/pb_kits/playbook/pb_bar_graph/_bar_graph.scss
395
401
  - app/pb_kits/playbook/pb_bar_graph/_bar_graph.tsx
402
+ - app/pb_kits/playbook/pb_bar_graph/barGraph.test.js
396
403
  - app/pb_kits/playbook/pb_bar_graph/barGraphSettings.js
397
404
  - app/pb_kits/playbook/pb_bar_graph/bar_graph.html.erb
398
405
  - app/pb_kits/playbook/pb_bar_graph/bar_graph.rb
399
406
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.html.erb
400
407
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.jsx
401
408
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_colors.md
402
- - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.html.erb
403
409
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.jsx
404
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
405
413
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.html.erb
406
414
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx
407
415
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.html.erb
@@ -625,6 +633,7 @@ files:
625
633
  - app/pb_kits/playbook/pb_circle_chart/ChartsTypes.ts
626
634
  - app/pb_kits/playbook/pb_circle_chart/_circle_chart.scss
627
635
  - app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx
636
+ - app/pb_kits/playbook/pb_circle_chart/circleChart.test.js
628
637
  - app/pb_kits/playbook/pb_circle_chart/circle_chart.html.erb
629
638
  - app/pb_kits/playbook/pb_circle_chart/circle_chart.rb
630
639
  - app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.html.erb
@@ -667,16 +676,20 @@ files:
667
676
  - app/pb_kits/playbook/pb_circle_icon_button/docs/_footer.md
668
677
  - app/pb_kits/playbook/pb_circle_icon_button/docs/example.yml
669
678
  - app/pb_kits/playbook/pb_circle_icon_button/docs/index.js
679
+ - app/pb_kits/playbook/pb_collapsible/__snapshots__/collapsible.test.js.snap
670
680
  - app/pb_kits/playbook/pb_collapsible/_collapsible.scss
671
681
  - app/pb_kits/playbook/pb_collapsible/_collapsible.tsx
672
682
  - app/pb_kits/playbook/pb_collapsible/_helper_functions.ts
673
683
  - app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleContent.tsx
684
+ - app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleIcon.tsx
674
685
  - app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleMain.tsx
675
686
  - app/pb_kits/playbook/pb_collapsible/collapsible.html.erb
676
687
  - app/pb_kits/playbook/pb_collapsible/collapsible.rb
677
688
  - app/pb_kits/playbook/pb_collapsible/collapsible.test.js
678
689
  - app/pb_kits/playbook/pb_collapsible/collapsible_content.html.erb
679
690
  - app/pb_kits/playbook/pb_collapsible/collapsible_content.rb
691
+ - app/pb_kits/playbook/pb_collapsible/collapsible_icon.html.erb
692
+ - app/pb_kits/playbook/pb_collapsible/collapsible_icon.rb
680
693
  - app/pb_kits/playbook/pb_collapsible/collapsible_main.html.erb
681
694
  - app/pb_kits/playbook/pb_collapsible/collapsible_main.rb
682
695
  - app/pb_kits/playbook/pb_collapsible/context.ts
@@ -684,6 +697,14 @@ files:
684
697
  - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_color.jsx
685
698
  - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_color.md
686
699
  - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_colors_swift.md
700
+ - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main.jsx
701
+ - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main.md
702
+ - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main_rails.html.erb
703
+ - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main_rails.md
704
+ - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main_with_icon.jsx
705
+ - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main_with_icon.md
706
+ - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main_with_icon_rails.html.erb
707
+ - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main_with_icon_rails.md
687
708
  - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_default.html.erb
688
709
  - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_default.jsx
689
710
  - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_default_swift.md
@@ -887,6 +908,8 @@ files:
887
908
  - app/pb_kits/playbook/pb_date_range_inline/date_range_inline.test.js
888
909
  - app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.html.erb
889
910
  - app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx
911
+ - app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md
912
+ - app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_props_swift.md
890
913
  - app/pb_kits/playbook/pb_date_range_inline/docs/_description.md
891
914
  - app/pb_kits/playbook/pb_date_range_inline/docs/example.yml
892
915
  - app/pb_kits/playbook/pb_date_range_inline/docs/index.js
@@ -910,12 +933,17 @@ files:
910
933
  - app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_align.jsx
911
934
  - app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_bold.html.erb
912
935
  - app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_bold.jsx
936
+ - app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_bold_swift.md
913
937
  - app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_default.html.erb
914
938
  - app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_default.jsx
939
+ - app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_default_swift.md
915
940
  - app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_not_current_year.html.erb
916
941
  - app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_not_current_year.jsx
942
+ - app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_not_current_year_swift.md
943
+ - app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_props_swift.md
917
944
  - app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_reverse.html.erb
918
945
  - app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_reverse.jsx
946
+ - app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_reversed_swift.md
919
947
  - app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_sizes.html.erb
920
948
  - app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_sizes.jsx
921
949
  - app/pb_kits/playbook/pb_date_stacked/docs/_description.md
@@ -929,10 +957,14 @@ files:
929
957
  - app/pb_kits/playbook/pb_date_time/date_time.rb
930
958
  - app/pb_kits/playbook/pb_date_time/docs/_date_time_align.html.erb
931
959
  - app/pb_kits/playbook/pb_date_time/docs/_date_time_align.jsx
960
+ - app/pb_kits/playbook/pb_date_time/docs/_date_time_alignment_swift.md
932
961
  - app/pb_kits/playbook/pb_date_time/docs/_date_time_default.html.erb
933
962
  - app/pb_kits/playbook/pb_date_time/docs/_date_time_default.jsx
963
+ - app/pb_kits/playbook/pb_date_time/docs/_date_time_default_swift.md
964
+ - app/pb_kits/playbook/pb_date_time/docs/_date_time_props_swift.md
934
965
  - app/pb_kits/playbook/pb_date_time/docs/_date_time_size.html.erb
935
966
  - app/pb_kits/playbook/pb_date_time/docs/_date_time_size.jsx
967
+ - app/pb_kits/playbook/pb_date_time/docs/_date_time_size_swift.md
936
968
  - app/pb_kits/playbook/pb_date_time/docs/_description.md
937
969
  - app/pb_kits/playbook/pb_date_time/docs/example.yml
938
970
  - app/pb_kits/playbook/pb_date_time/docs/index.js
@@ -1041,31 +1073,46 @@ files:
1041
1073
  - app/pb_kits/playbook/pb_distribution_bar/docs/index.js
1042
1074
  - app/pb_kits/playbook/pb_docs/kit_example.html.erb
1043
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
1044
1087
  - app/pb_kits/playbook/pb_dropdown/_dropdown.scss
1045
1088
  - app/pb_kits/playbook/pb_dropdown/_dropdown.tsx
1046
1089
  - app/pb_kits/playbook/pb_dropdown/context/index.tsx
1047
1090
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default.html.erb
1048
1091
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default.jsx
1049
1092
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default.md
1050
- - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subcomponent_structure.html.erb
1051
1093
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subcomponent_structure.jsx
1052
1094
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subcomponent_structure.md
1095
+ - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subcomponent_structure_rails.html.erb
1096
+ - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subcomponent_structure_rails.md
1053
1097
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_autocomplete.jsx
1054
1098
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_autocomplete.md
1055
1099
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_autocomplete_and_custom_display.jsx
1056
1100
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_autocomplete_and_custom_display.md
1057
- - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.html.erb
1058
1101
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.jsx
1059
1102
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.md
1060
- - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options.html.erb
1103
+ - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display_rails.html.erb
1104
+ - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display_rails.md
1061
1105
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options.jsx
1062
1106
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options.md
1107
+ - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options_rails.html.erb
1108
+ - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options_rails.md
1063
1109
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb
1064
1110
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.jsx
1065
1111
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.md
1066
- - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger.html.erb
1067
1112
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger.jsx
1068
1113
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger.md
1114
+ - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger_rails.html.erb
1115
+ - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger_rails.md
1069
1116
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_external_control.jsx
1070
1117
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_hook.jsx
1071
1118
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_label.html.erb
@@ -1160,15 +1207,22 @@ files:
1160
1207
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_children.html.erb
1161
1208
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_children.jsx
1162
1209
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_children.md
1210
+ - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_children_swift.md
1163
1211
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_close.html.erb
1164
1212
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_close.jsx
1213
+ - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_close_swift.md
1165
1214
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_default.html.erb
1166
1215
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_default.jsx
1216
+ - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_default_swift.md
1217
+ - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_dismiss_with_timer_swift.md
1167
1218
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line.html.erb
1168
1219
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line.jsx
1169
1220
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line.md
1221
+ - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line_swift.md
1170
1222
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_positions.html.erb
1171
1223
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_positions.jsx
1224
+ - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_positions_swift.md
1225
+ - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_props_swift.md
1172
1226
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/example.yml
1173
1227
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/index.js
1174
1228
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/fixed_confirmation_toast.html.erb
@@ -1295,6 +1349,7 @@ files:
1295
1349
  - app/pb_kits/playbook/pb_gauge/docs/index.js
1296
1350
  - app/pb_kits/playbook/pb_gauge/gauge.html.erb
1297
1351
  - app/pb_kits/playbook/pb_gauge/gauge.rb
1352
+ - app/pb_kits/playbook/pb_gauge/gauge.test.js
1298
1353
  - app/pb_kits/playbook/pb_hashtag/_hashtag.scss
1299
1354
  - app/pb_kits/playbook/pb_hashtag/_hashtag.tsx
1300
1355
  - app/pb_kits/playbook/pb_hashtag/docs/_description.md
@@ -1593,6 +1648,7 @@ files:
1593
1648
  - app/pb_kits/playbook/pb_line_graph/docs/_line_graph_legend_position.md
1594
1649
  - app/pb_kits/playbook/pb_line_graph/docs/example.yml
1595
1650
  - app/pb_kits/playbook/pb_line_graph/docs/index.js
1651
+ - app/pb_kits/playbook/pb_line_graph/lineGraph.test.js
1596
1652
  - app/pb_kits/playbook/pb_line_graph/lineGraphSettings.js
1597
1653
  - app/pb_kits/playbook/pb_line_graph/line_graph.html.erb
1598
1654
  - app/pb_kits/playbook/pb_line_graph/line_graph.rb
@@ -1816,6 +1872,15 @@ files:
1816
1872
  - app/pb_kits/playbook/pb_online_status/docs/index.js
1817
1873
  - app/pb_kits/playbook/pb_online_status/online_status.html.erb
1818
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
1819
1884
  - app/pb_kits/playbook/pb_pagination/_pagination.scss
1820
1885
  - app/pb_kits/playbook/pb_pagination/docs/_pagination_default.html.erb
1821
1886
  - app/pb_kits/playbook/pb_pagination/docs/_pagination_default.md
@@ -2291,17 +2356,22 @@ files:
2291
2356
  - app/pb_kits/playbook/pb_table/docs/_table_action_middle.html.erb
2292
2357
  - app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx
2293
2358
  - app/pb_kits/playbook/pb_table/docs/_table_action_middle.md
2294
- - app/pb_kits/playbook/pb_table/docs/_table_alignment_column.html.erb
2295
2359
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx
2296
2360
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_column.md
2297
- - 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
2298
2363
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_row.jsx
2299
2364
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_row.md
2300
- - 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
2301
2367
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.jsx
2302
2368
  - app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.md
2303
- - 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
2304
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
2305
2375
  - app/pb_kits/playbook/pb_table/docs/_table_container.html.erb
2306
2376
  - app/pb_kits/playbook/pb_table/docs/_table_container.jsx
2307
2377
  - app/pb_kits/playbook/pb_table/docs/_table_data_table.html.erb
@@ -2327,6 +2397,9 @@ files:
2327
2397
  - app/pb_kits/playbook/pb_table/docs/_table_one_action.html.erb
2328
2398
  - app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx
2329
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
2330
2403
  - app/pb_kits/playbook/pb_table/docs/_table_responsive_table.html.erb
2331
2404
  - app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx
2332
2405
  - app/pb_kits/playbook/pb_table/docs/_table_side_highlight.html.erb
@@ -2371,6 +2444,7 @@ files:
2371
2444
  - app/pb_kits/playbook/pb_table/styles/_hover.scss
2372
2445
  - app/pb_kits/playbook/pb_table/styles/_mobile.scss
2373
2446
  - app/pb_kits/playbook/pb_table/styles/_mobile_collapse.scss
2447
+ - app/pb_kits/playbook/pb_table/styles/_outer_padding.scss
2374
2448
  - app/pb_kits/playbook/pb_table/styles/_reset.scss
2375
2449
  - app/pb_kits/playbook/pb_table/styles/_side_highlight.scss
2376
2450
  - app/pb_kits/playbook/pb_table/styles/_single-line.scss
@@ -2670,6 +2744,7 @@ files:
2670
2744
  - app/pb_kits/playbook/pb_treemap_chart/docs/_treemap_chart_tooltip.md
2671
2745
  - app/pb_kits/playbook/pb_treemap_chart/docs/example.yml
2672
2746
  - app/pb_kits/playbook/pb_treemap_chart/docs/index.js
2747
+ - app/pb_kits/playbook/pb_treemap_chart/treemapChart.test.js
2673
2748
  - app/pb_kits/playbook/pb_treemap_chart/treemap_chart.html.erb
2674
2749
  - app/pb_kits/playbook/pb_treemap_chart/treemap_chart.rb
2675
2750
  - app/pb_kits/playbook/pb_typeahead/_typeahead.scss
@@ -2811,6 +2886,7 @@ files:
2811
2886
  - app/pb_kits/playbook/tokens/_titles.scss
2812
2887
  - app/pb_kits/playbook/tokens/_transition.scss
2813
2888
  - app/pb_kits/playbook/tokens/_typography.scss
2889
+ - app/pb_kits/playbook/tokens/_vertical_align.scss
2814
2890
  - app/pb_kits/playbook/tokens/exports/_border_radius.scss
2815
2891
  - app/pb_kits/playbook/tokens/exports/_colors.scss
2816
2892
  - app/pb_kits/playbook/tokens/exports/_line_height.scss
@@ -2841,6 +2917,7 @@ files:
2841
2917
  - app/pb_kits/playbook/utilities/_spacing.scss
2842
2918
  - app/pb_kits/playbook/utilities/_text_align.scss
2843
2919
  - app/pb_kits/playbook/utilities/_truncate.scss
2920
+ - app/pb_kits/playbook/utilities/_vertical_align.scss
2844
2921
  - app/pb_kits/playbook/utilities/flexbox_global_props/_align_content.scss
2845
2922
  - app/pb_kits/playbook/utilities/flexbox_global_props/_align_items.scss
2846
2923
  - app/pb_kits/playbook/utilities/flexbox_global_props/_align_self.scss
@@ -2895,9 +2972,11 @@ files:
2895
2972
  - lib/playbook/forms/builder/checkbox_field.rb
2896
2973
  - lib/playbook/forms/builder/collection_select_field.rb
2897
2974
  - lib/playbook/forms/builder/date_picker_field.rb
2975
+ - lib/playbook/forms/builder/dropdown_field.rb
2898
2976
  - lib/playbook/forms/builder/form_field_builder.rb
2899
2977
  - lib/playbook/forms/builder/intl_telephone_field.rb
2900
2978
  - lib/playbook/forms/builder/multi_level_select_field.rb
2979
+ - lib/playbook/forms/builder/phone_number_field.rb
2901
2980
  - lib/playbook/forms/builder/select_field.rb
2902
2981
  - lib/playbook/forms/builder/typeahead_field.rb
2903
2982
  - lib/playbook/hover.rb
@@ -2938,13 +3017,14 @@ files:
2938
3017
  - lib/playbook/top.rb
2939
3018
  - lib/playbook/truncate.rb
2940
3019
  - lib/playbook/version.rb
3020
+ - lib/playbook/vertical_align.rb
2941
3021
  - lib/playbook/z_index.rb
2942
3022
  - lib/playbook_ui.rb
2943
3023
  homepage: https://playbook.powerapp.cloud/
2944
3024
  licenses:
2945
3025
  - ISC
2946
3026
  metadata: {}
2947
- post_install_message:
3027
+ post_install_message:
2948
3028
  rdoc_options: []
2949
3029
  require_paths:
2950
3030
  - lib
@@ -2960,7 +3040,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2960
3040
  version: '0'
2961
3041
  requirements: []
2962
3042
  rubygems_version: 3.5.3
2963
- signing_key:
3043
+ signing_key:
2964
3044
  specification_version: 4
2965
3045
  summary: Playbook Design System
2966
3046
  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 %>