playbook_ui 15.3.0.pre.alpha.play262912095 → 15.3.0.pre.rc.0

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 (228) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/_playbook.scss +5 -5
  3. data/app/pb_kits/playbook/pb_advanced_table/Components/RegularTableView.tsx +1 -2
  4. data/app/pb_kits/playbook/pb_advanced_table/Components/TableHeaderCell.tsx +1 -3
  5. data/app/pb_kits/playbook/pb_advanced_table/Hooks/useTableActions.ts +3 -18
  6. data/app/pb_kits/playbook/pb_advanced_table/Hooks/useTableState.ts +14 -71
  7. data/app/pb_kits/playbook/pb_advanced_table/SubKits/TableHeader.tsx +0 -3
  8. data/app/pb_kits/playbook/pb_advanced_table/Utilities/RowUtils.ts +1 -1
  9. data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.scss +4 -4
  10. data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.tsx +3 -12
  11. data/app/pb_kits/playbook/pb_advanced_table/advanced_table.html.erb +2 -2
  12. data/app/pb_kits/playbook/pb_advanced_table/advanced_table.test.jsx +5 -127
  13. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta.md +1 -3
  14. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta_sort.html.erb +3 -3
  15. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta_subrow_headers.html.erb +3 -3
  16. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_collapsible_trail_rails.html.erb +2 -2
  17. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_border_color.md +1 -1
  18. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_border_color_rails.md +1 -1
  19. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling.jsx +1 -3
  20. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling.md +1 -3
  21. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_column_headers.jsx +1 -1
  22. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_column_headers_rails.html.erb +2 -2
  23. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_rails.html.erb +2 -3
  24. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_styling_rails.md +1 -3
  25. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_inline_row_loading.jsx +0 -28
  26. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_inline_row_loading.md +2 -11
  27. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_padding_control.jsx +1 -9
  28. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_padding_control.md +1 -1
  29. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pagination_with_props.jsx +1 -4
  30. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pagination_with_props.md +2 -3
  31. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling_rails.md +1 -1
  32. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_row_styling_react.md +1 -1
  33. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_rails.html.erb +2 -2
  34. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sticky_columns_and_header.md +1 -1
  35. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_rails.md +1 -1
  36. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props_sticky_header_react.md +1 -1
  37. data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +0 -3
  38. data/app/pb_kits/playbook/pb_advanced_table/flat_advanced_table.js +2 -2
  39. data/app/pb_kits/playbook/pb_advanced_table/index.js +8 -12
  40. data/app/pb_kits/playbook/pb_advanced_table/scss_partials/advanced_table_sticky_mixin.scss +2 -2
  41. data/app/pb_kits/playbook/pb_advanced_table/table_body.rb +6 -6
  42. data/app/pb_kits/playbook/pb_advanced_table/table_header.rb +6 -6
  43. data/app/pb_kits/playbook/pb_advanced_table/table_row.html.erb +2 -3
  44. data/app/pb_kits/playbook/pb_advanced_table/table_row.rb +6 -79
  45. data/app/pb_kits/playbook/pb_background/background.html.erb +2 -10
  46. data/app/pb_kits/playbook/pb_background/docs/_background_category.md +1 -1
  47. data/app/pb_kits/playbook/pb_bread_crumbs/docs/_bread_crumbs_default.html.erb +4 -4
  48. data/app/pb_kits/playbook/pb_bread_crumbs/docs/_bread_crumbs_default.jsx +0 -4
  49. data/app/pb_kits/playbook/pb_card/docs/_card_background.md +1 -1
  50. data/app/pb_kits/playbook/pb_card/docs/_card_header.md +1 -1
  51. data/app/pb_kits/playbook/pb_card/docs/_card_highlight.md +1 -1
  52. data/app/pb_kits/playbook/pb_card/docs/_card_light.md +1 -1
  53. data/app/pb_kits/playbook/pb_currency/_currency.tsx +7 -20
  54. data/app/pb_kits/playbook/pb_currency/currency.rb +8 -35
  55. data/app/pb_kits/playbook/pb_currency/currency.test.js +0 -47
  56. data/app/pb_kits/playbook/pb_currency/docs/_currency_variants.html.erb +1 -1
  57. data/app/pb_kits/playbook/pb_currency/docs/_currency_variants.jsx +1 -1
  58. data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +0 -2
  59. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range_pattern.jsx +1 -1
  60. data/app/pb_kits/playbook/pb_date_picker/sass_partials/_quick_pick_styles.scss +30 -11
  61. data/app/pb_kits/playbook/pb_distribution_bar/docs/_distribution_bar_custom_colors.md +1 -1
  62. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_active_style_options_react.md +1 -1
  63. data/app/pb_kits/playbook/pb_filter/docs/_filter_max_width.md +1 -1
  64. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss +1 -0
  65. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.tsx +3 -5
  66. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_description.md +0 -2
  67. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/fixed_confirmation_toast.rb +1 -4
  68. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/fixed_confirmation_toast.test.js +0 -10
  69. data/app/pb_kits/playbook/pb_form/docs/_form_form_with_loading.html.erb +1 -1
  70. data/app/pb_kits/playbook/pb_form/formHelper.js +1 -1
  71. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_truncated_text_rails.md +1 -1
  72. data/app/pb_kits/playbook/pb_form_pill/docs/_form_pill_truncated_text_react.md +1 -1
  73. data/app/pb_kits/playbook/pb_icon/docs/_icon_color.md +1 -1
  74. data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color.md +1 -1
  75. data/app/pb_kits/playbook/pb_icon_stat_value/docs/_icon_stat_value_color.html.erb +14 -7
  76. data/app/pb_kits/playbook/pb_icon_stat_value/docs/_icon_stat_value_color.jsx +15 -6
  77. data/app/pb_kits/playbook/pb_layout/docs/_layout_collection.md +1 -1
  78. data/app/pb_kits/playbook/pb_nav/docs/_collapsible_nav_item_spacing.md +1 -1
  79. data/app/pb_kits/playbook/pb_nav/docs/_nav_with_spacing_control.md +1 -1
  80. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_layout.md +1 -1
  81. data/app/pb_kits/playbook/pb_pb_bar_graph/_pb_bar_graph.tsx +6 -8
  82. data/app/pb_kits/playbook/pb_pb_bar_graph/pb_bar_graph.rb +10 -7
  83. data/app/pb_kits/playbook/pb_pb_bar_graph/pbbargraph.test.jsx +1 -73
  84. data/app/pb_kits/playbook/pb_pb_circle_chart/_pb_circle_chart.tsx +1 -1
  85. data/app/pb_kits/playbook/pb_pb_circle_chart/pb_circle_chart.rb +10 -7
  86. data/app/pb_kits/playbook/pb_pb_circle_chart/pb_circle_chart.test.jsx +0 -47
  87. data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.tsx +6 -25
  88. data/app/pb_kits/playbook/pb_pill/docs/_description.md +1 -1
  89. data/app/pb_kits/playbook/pb_popover/_popover.tsx +34 -69
  90. data/app/pb_kits/playbook/pb_popover/docs/example.yml +0 -1
  91. data/app/pb_kits/playbook/pb_popover/docs/index.js +0 -1
  92. data/app/pb_kits/playbook/pb_popover/popover.test.js +0 -80
  93. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/Toolbar.tsx +2 -41
  94. data/app/pb_kits/playbook/pb_rich_text_editor/TipTap/ToolbarDropdown.tsx +0 -1
  95. data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.tsx +20 -60
  96. data/app/pb_kits/playbook/pb_rich_text_editor/_tiptap_styles.scss +0 -36
  97. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_description.md +1 -1
  98. data/app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml +2 -8
  99. data/app/pb_kits/playbook/pb_rich_text_editor/docs/index.js +0 -6
  100. data/app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor.test.js +1 -127
  101. data/app/pb_kits/playbook/pb_section_separator/docs/_description.md +1 -1
  102. data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.scss +0 -29
  103. data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_border_radius_rails.md +1 -1
  104. data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_border_radius_react.md +1 -1
  105. data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_layout.md +1 -1
  106. data/app/pb_kits/playbook/pb_table/docs/_table_side_highlight.md +1 -1
  107. data/app/pb_kits/playbook/pb_table/docs/_table_sm.md +1 -1
  108. data/app/pb_kits/playbook/pb_table/docs/example.yml +0 -2
  109. data/app/pb_kits/playbook/pb_table/docs/index.js +0 -1
  110. data/app/pb_kits/playbook/pb_text_input/text_input.rb +2 -2
  111. data/app/pb_kits/playbook/pb_typeahead/_typeahead.test.jsx +1 -76
  112. data/app/pb_kits/playbook/pb_typeahead/_typeahead.tsx +2 -85
  113. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_truncated_text.md +1 -1
  114. data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +0 -4
  115. data/app/pb_kits/playbook/pb_typeahead/docs/index.js +0 -2
  116. data/app/pb_kits/playbook/tokens/_positioning.scss +0 -1
  117. data/app/pb_kits/playbook/utilities/_positioning.scss +1 -6
  118. data/app/pb_kits/playbook/utilities/globalProps.ts +1 -3
  119. data/dist/chunks/{_line_graph-CqE0-dq5.js → _line_graph-DY4PK6AH.js} +1 -1
  120. data/dist/chunks/_typeahead-fQDb_yVO.js +6 -0
  121. data/dist/chunks/{_weekday_stacked-W1kKx2Gl.js → _weekday_stacked-D_bGbWtk.js} +3 -3
  122. data/dist/chunks/{lib-CGxXTQ75.js → lib-QZuu1ltS.js} +1 -1
  123. data/dist/chunks/{pb_form_validation-DebqlUKZ.js → pb_form_validation-CleM960_.js} +1 -1
  124. data/dist/chunks/vendor.js +1 -1
  125. data/dist/menu.yml +0 -12
  126. data/dist/playbook-doc.js +2 -2
  127. data/dist/playbook-rails-react-bindings.js +1 -1
  128. data/dist/playbook-rails.js +1 -1
  129. data/dist/playbook.css +1 -1
  130. data/lib/playbook/pb_forms_helper.rb +6 -7
  131. data/lib/playbook/version.rb +2 -2
  132. data/lib/playbook/z_index.rb +1 -1
  133. metadata +8 -101
  134. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_background_control_rails.html.erb +0 -43
  135. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_background_control_rails.md +0 -1
  136. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_padding_control_per_row_rails.html.erb +0 -51
  137. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_padding_control_per_row_rails.md +0 -1
  138. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_padding_control_rails.html.erb +0 -40
  139. data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_padding_control_rails.md +0 -1
  140. data/app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading_empty_children.js +0 -42
  141. data/app/pb_kits/playbook/pb_currency/docs/_currency_variants.md +0 -1
  142. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_description.md +0 -3
  143. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_description.md +0 -3
  144. data/app/pb_kits/playbook/pb_pb_gauge_chart/_pb_gauge_chart.scss +0 -3
  145. data/app/pb_kits/playbook/pb_pb_gauge_chart/_pb_gauge_chart.tsx +0 -69
  146. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_description.md +0 -3
  147. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_color.html.erb +0 -12
  148. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_color.jsx +0 -24
  149. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_color.md +0 -5
  150. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_complex.html.erb +0 -45
  151. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_complex.jsx +0 -119
  152. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_complex.md +0 -1
  153. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_default.html.erb +0 -5
  154. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_default.jsx +0 -17
  155. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_disable_animation.html.erb +0 -12
  156. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_disable_animation.jsx +0 -24
  157. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_full_circle.html.erb +0 -23
  158. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_full_circle.jsx +0 -37
  159. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_height.html.erb +0 -40
  160. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_height.jsx +0 -56
  161. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_live_data.jsx +0 -64
  162. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_min_max.html.erb +0 -27
  163. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_min_max.jsx +0 -40
  164. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_min_max.md +0 -1
  165. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_sizing.html.erb +0 -19
  166. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_sizing.jsx +0 -65
  167. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_sizing.md +0 -3
  168. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_title.html.erb +0 -14
  169. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_title.jsx +0 -27
  170. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_units.html.erb +0 -39
  171. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_units.jsx +0 -58
  172. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_pb_gauge_chart_units.md +0 -1
  173. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/example.yml +0 -29
  174. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/index.js +0 -11
  175. data/app/pb_kits/playbook/pb_pb_gauge_chart/pbGaugeGraphTheme.ts +0 -91
  176. data/app/pb_kits/playbook/pb_pb_gauge_chart/pb_gauge_chart.html.erb +0 -1
  177. data/app/pb_kits/playbook/pb_pb_gauge_chart/pb_gauge_chart.rb +0 -25
  178. data/app/pb_kits/playbook/pb_pb_gauge_chart/pb_gauge_chart.test.jsx +0 -80
  179. data/app/pb_kits/playbook/pb_pb_line_graph/_pb_line_graph.scss +0 -3
  180. data/app/pb_kits/playbook/pb_pb_line_graph/_pb_line_graph.tsx +0 -61
  181. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_description.md +0 -3
  182. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_colors.html.erb +0 -34
  183. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_colors.jsx +0 -52
  184. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_colors.md +0 -5
  185. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_default.html.erb +0 -34
  186. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_default.jsx +0 -45
  187. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_height.html.erb +0 -47
  188. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_height.jsx +0 -64
  189. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_height.md +0 -3
  190. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_legend.html.erb +0 -24
  191. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_legend.jsx +0 -37
  192. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_legend_nonclickable.html.erb +0 -39
  193. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_legend_nonclickable.jsx +0 -45
  194. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_legend_position.html.erb +0 -86
  195. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_legend_position.jsx +0 -116
  196. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_pb_line_graph_legend_position.md +0 -11
  197. data/app/pb_kits/playbook/pb_pb_line_graph/docs/example.yml +0 -20
  198. data/app/pb_kits/playbook/pb_pb_line_graph/docs/index.js +0 -6
  199. data/app/pb_kits/playbook/pb_pb_line_graph/pbLineGraphTheme.ts +0 -125
  200. data/app/pb_kits/playbook/pb_pb_line_graph/pb_line_graph.html.erb +0 -1
  201. data/app/pb_kits/playbook/pb_pb_line_graph/pb_line_graph.rb +0 -25
  202. data/app/pb_kits/playbook/pb_pb_line_graph/pb_line_graph.test.jsx +0 -110
  203. data/app/pb_kits/playbook/pb_popover/docs/_popover_append_to.jsx +0 -68
  204. data/app/pb_kits/playbook/pb_popover/docs/_popover_append_to_react.md +0 -1
  205. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_attributes.jsx +0 -38
  206. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_attributes.md +0 -1
  207. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_focus.jsx +0 -34
  208. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_focus.md +0 -1
  209. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_inline.jsx +0 -37
  210. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_inline.md +0 -1
  211. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_simple.jsx +0 -37
  212. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_sticky.jsx +0 -38
  213. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_sticky.md +0 -1
  214. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_templates.jsx +0 -69
  215. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_advanced_templates.md +0 -1
  216. data/app/pb_kits/playbook/pb_table/docs/_table_with_dynamic_collapsible.html.erb +0 -63
  217. data/app/pb_kits/playbook/pb_table/docs/_table_with_dynamic_collapsible.jsx +0 -89
  218. data/app/pb_kits/playbook/pb_table/docs/_table_with_dynamic_collapsible_rails.md +0 -4
  219. data/app/pb_kits/playbook/pb_table/docs/_table_with_dynamic_collapsible_react.md +0 -3
  220. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_custom_options.html.erb +0 -64
  221. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_custom_options.jsx +0 -70
  222. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_custom_options.md +0 -1
  223. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default_options.html.erb +0 -102
  224. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default_options.md +0 -1
  225. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default_value.jsx +0 -103
  226. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default_value.md +0 -1
  227. data/dist/chunks/_typeahead-3ZAbZUqU.js +0 -6
  228. /data/app/pb_kits/playbook/pb_popover/docs/{_popover_append_to_rails.md → _popover_append_to.md} +0 -0
@@ -12,7 +12,6 @@ const BreadCrumbsDefault = (props) => {
12
12
  {...props}
13
13
  >
14
14
  <Icon
15
- color="link"
16
15
  icon="home"
17
16
  size="1x"
18
17
  {...props}
@@ -22,7 +21,6 @@ const BreadCrumbsDefault = (props) => {
22
21
  href="/home"
23
22
  >
24
23
  <Title
25
- color="link"
26
24
  size="4"
27
25
  tag="span"
28
26
  text="Home"
@@ -30,7 +28,6 @@ const BreadCrumbsDefault = (props) => {
30
28
  />
31
29
  </BreadCrumbItem>
32
30
  <Icon
33
- color="link"
34
31
  icon="users"
35
32
  size="1x"
36
33
  {...props}
@@ -40,7 +37,6 @@ const BreadCrumbsDefault = (props) => {
40
37
  href="/users"
41
38
  >
42
39
  <Title
43
- color="link"
44
40
  size="4"
45
41
  tag="span"
46
42
  text="Users"
@@ -1 +1 @@
1
- Add a background color by passing the color name to background. List of all colors can be viewed <a href="https://playbook.powerapp.cloud/tokens/colors" target="_blank">here</a> under Product Colors and Status: Subtle Variations.
1
+ Add a background color by passing the color name to background. List of all colors can be viewed <a href="https://playbook.powerapp.cloud/visual_guidelines" target="_blank">here</a> under Product Colors and Status: Subtle Variations.
@@ -1 +1 @@
1
- Card headers pass category, product, status and background colors only. List of all category, product, status and background colors can be viewed <a href="https://playbook.powerapp.cloud/token/colors" target="_blank">here</a>.
1
+ Card headers pass category, product, status and background colors only. List of all category, product, status and background colors can be viewed <a href="https://playbook.powerapp.cloud/visual_guidelines/colors" target="_blank">here</a>.
@@ -1 +1 @@
1
- Card highlight can pass status, product, and category colors. List of all colors can be viewed <a href="https://playbook.powerapp.cloud/token/colors" target="_blank">here</a>.
1
+ Card highlight can pass status, product, and category colors. List of all colors can be viewed <a href="https://playbook.powerapp.cloud/visual_guidelines/colors" target="_blank">here</a>.
@@ -1 +1 @@
1
- Card can leverage the max-width property. Learn more in our <a href="https://playbook.powerapp.cloud/global_props/max_width" target="_blank">visual guidelines.</a>
1
+ Card can leverage the max-width property. Learn more in our <a href="https://playbook.powerapp.cloud/visual_guidelines" target="_blank">visual guidelines.</a>
@@ -11,7 +11,7 @@ import Title from '../pb_title/_title'
11
11
  type CurrencyProps = {
12
12
  abbreviate?: boolean,
13
13
  align?: 'center' | 'left' | 'right',
14
- amount: string | number,
14
+ amount: string,
15
15
  aria?: {[key:string]:string},
16
16
  className?: string,
17
17
  dark?: boolean,
@@ -59,19 +59,6 @@ const Currency = (props: CurrencyProps): React.ReactElement => {
59
59
  commaSeparator = false,
60
60
  } = props
61
61
 
62
- // Convert numeric input to string format
63
- const convertAmount = (input: string | number): string => {
64
- if (typeof input === 'number') {
65
- if (input === 0 && !nullDisplay) {
66
- return ""
67
- }
68
- return input.toFixed(2)
69
- }
70
- return input
71
- }
72
-
73
- const currencyAmount = convertAmount(amount)
74
-
75
62
  const emphasizedClass = emphasized ? '' : '_deemphasized'
76
63
 
77
64
  let variantClass
@@ -81,7 +68,7 @@ const Currency = (props: CurrencyProps): React.ReactElement => {
81
68
  variantClass = '_bold'
82
69
  }
83
70
 
84
- const [whole, decimal = '00'] = currencyAmount.split('.')
71
+ const [whole, decimal = '00'] = amount.split('.')
85
72
  const ariaProps = buildAriaProps(aria)
86
73
  const dataProps = buildDataProps(data)
87
74
  const htmlProps = buildHtmlProps(htmlOptions)
@@ -105,19 +92,19 @@ const Currency = (props: CurrencyProps): React.ReactElement => {
105
92
  return isAmount ? num.slice(0, -1) : isUnit ? num.slice(-1) : ''
106
93
  }
107
94
 
108
- const getMatchingDecimalAmount = decimals === "matching" ? currencyAmount : whole
95
+ const getMatchingDecimalAmount = decimals === "matching" ? amount : whole
109
96
  const getMatchingDecimalValue = decimals === "matching" ? '' : `.${decimal}`
110
97
 
111
98
  const formatAmount = (amount: string) => {
112
99
  if (!commaSeparator) return amount;
113
-
100
+
114
101
  const [wholePart, decimalPart] = amount.split('.');
115
102
  const formattedWhole = new Intl.NumberFormat('en-US').format(parseInt(wholePart));
116
103
  return decimalPart ? `${formattedWhole}.${decimalPart}` : formattedWhole;
117
104
  }
118
105
 
119
106
  const swapNegative = size === "sm" && symbol !== ""
120
- const handleNegative = currencyAmount.startsWith("-") && swapNegative ? "-" : ""
107
+ const handleNegative = amount.startsWith("-") && swapNegative ? "-" : ""
121
108
  const getAbsoluteAmount = (amountString: string) => amountString.replace(/^-/,'')
122
109
  const getAbbrOrFormatAmount = abbreviate ? getAbbreviatedValue('amount') : formatAmount(getMatchingDecimalAmount)
123
110
  const getAmount = swapNegative ? getAbsoluteAmount(getAbbrOrFormatAmount) : getAbbrOrFormatAmount
@@ -165,7 +152,7 @@ const Currency = (props: CurrencyProps): React.ReactElement => {
165
152
  >
166
153
  {handleNegative}{symbol}
167
154
  </Body>
168
-
155
+
169
156
  <Title
170
157
  className="pb_currency_value"
171
158
  dark={dark}
@@ -173,7 +160,7 @@ const Currency = (props: CurrencyProps): React.ReactElement => {
173
160
  >
174
161
  {getAmount}
175
162
  </Title>
176
-
163
+
177
164
  <Body
178
165
  className="unit"
179
166
  color="light"
@@ -17,7 +17,8 @@ module Playbook
17
17
  prop :symbol, type: Playbook::Props::String,
18
18
  default: "$"
19
19
 
20
- prop :amount, required: true
20
+ prop :amount, type: Playbook::Props::String,
21
+ required: true
21
22
 
22
23
  prop :unit, type: Playbook::Props::String,
23
24
  required: false
@@ -91,7 +92,7 @@ module Playbook
91
92
  end
92
93
 
93
94
  def negative_sign
94
- currency_amount.starts_with?("-") && swap_negative ? "-" : ""
95
+ amount.starts_with?("-") && swap_negative ? "-" : ""
95
96
  end
96
97
 
97
98
  def body_props
@@ -116,32 +117,10 @@ module Playbook
116
117
  end
117
118
  end
118
119
 
119
- def currency_amount
120
- @currency_amount ||= convert_amount(amount)
121
- end
122
-
123
120
  private
124
121
 
125
- # Convert numeric input to string format
126
- def convert_amount(input)
127
- if input.is_a?(Numeric)
128
- if input.zero? && null_display.nil?
129
- ""
130
- else
131
- format("%.2f", input)
132
- end
133
- # Handle string representations of zero
134
- elsif input.to_s.strip.match?(/^-?0+(\.0+)?$/) && null_display.nil?
135
- ""
136
- else
137
- input.to_s
138
- end
139
- end
140
-
141
122
  def whole_value
142
- return "" if currency_amount.blank?
143
-
144
- value = currency_amount.split(".").first
123
+ value = amount.split(".").first
145
124
  if comma_separator
146
125
  number_with_delimiter(value.gsub(",", ""))
147
126
  else
@@ -150,9 +129,7 @@ module Playbook
150
129
  end
151
130
 
152
131
  def decimal_value
153
- return "00" if currency_amount.blank?
154
-
155
- currency_amount.split(".")[1] || "00"
132
+ amount.split(".")[1] || "00"
156
133
  end
157
134
 
158
135
  def units_element
@@ -170,9 +147,7 @@ module Playbook
170
147
  end
171
148
 
172
149
  def abbreviated_value(index = 0..-2)
173
- return "" if currency_amount.blank?
174
-
175
- value = currency_amount.split(".").first.gsub(",", "").to_i
150
+ value = amount.split(".").first.gsub(",", "").to_i
176
151
  abbreviated_num = number_to_human(value, units: { thousand: "K", million: "M", billion: "B", trillion: "T" }).gsub(/\s+/, "")
177
152
  abbreviated_num[index]
178
153
  end
@@ -199,11 +174,9 @@ module Playbook
199
174
 
200
175
  if decimals == "matching"
201
176
  if comma_separator
202
- return "" if currency_amount.blank?
203
-
204
- number_with_delimiter(currency_amount.gsub(",", ""))
177
+ number_with_delimiter(amount.gsub(",", ""))
205
178
  else
206
- currency_amount
179
+ amount
207
180
  end
208
181
  else
209
182
  whole_value
@@ -133,50 +133,3 @@ test('handles negative amounts correctly', () => {
133
133
  expect(screen.getByTestId('test-negative-no-symbol')).toHaveTextContent('-400.50')
134
134
  expect(screen.getByTestId('test-negative-medium-size')).toHaveTextContent('$-500.55')
135
135
  })
136
-
137
- test('handles numeric amounts correctly', () => {
138
- render(
139
- <>
140
- <Currency
141
- amount={320}
142
- data={{ testid: 'test-numeric-default' }}
143
- />
144
- <Currency
145
- abbreviate
146
- amount={3200000}
147
- data={{ testid: 'test-numeric-millions' }}
148
- />
149
- <Currency
150
- amount={123456.78}
151
- commaSeparator
152
- data={{ testid: 'test-numeric-comma-decimals' }}
153
- />
154
- <Currency
155
- amount={400.50}
156
- data={{ testid: 'test-numeric-no-symbol' }}
157
- symbol=""
158
- />
159
- <Currency
160
- amount={500.55}
161
- data={{ testid: 'test-numeric-medium-size' }}
162
- size="md"
163
- />
164
- <Currency
165
- amount={-600.70}
166
- data={{ testid: 'test-numeric-negative' }}
167
- />
168
- <Currency
169
- amount={0.00}
170
- data={{ testid: 'test-numeric-null' }}
171
- />
172
- </>
173
- )
174
-
175
- expect(screen.getByTestId('test-numeric-default')).toHaveTextContent('$320')
176
- expect(screen.getByTestId('test-numeric-millions')).toHaveTextContent('$3.2M')
177
- expect(screen.getByTestId('test-numeric-comma-decimals')).toHaveTextContent('$123,456.78')
178
- expect(screen.getByTestId('test-numeric-no-symbol')).toHaveTextContent('400.50')
179
- expect(screen.getByTestId('test-numeric-medium-size')).toHaveTextContent('$500.55')
180
- expect(screen.getByTestId('test-numeric-negative')).toHaveTextContent('-$600.70')
181
- expect(screen.getByTestId('test-numeric-null')).toHaveTextContent('$.00')
182
- })
@@ -7,7 +7,7 @@
7
7
  }) %>
8
8
 
9
9
  <%= pb_rails("currency", props: {
10
- amount: 342,
10
+ amount: "342",
11
11
  label: "Light",
12
12
  margin_bottom: "md",
13
13
  size: "sm",
@@ -14,7 +14,7 @@ const CurrencyVariants = (props) => {
14
14
  {...props}
15
15
  />
16
16
  <Currency
17
- amount={342}
17
+ amount="342"
18
18
  label="Light"
19
19
  marginBottom="md"
20
20
  size="sm"
@@ -85,8 +85,6 @@ module Playbook
85
85
  default: ""
86
86
  prop :sync_end_with, type: Playbook::Props::String,
87
87
  default: ""
88
- prop :cursor, type: Playbook::Props::String,
89
- default: "pointer"
90
88
 
91
89
  def classname
92
90
  default_margin_bottom = margin_bottom.present? ? "" : " mb_sm"
@@ -23,7 +23,7 @@ const DatePickerRangePattern = (props) => {
23
23
 
24
24
  <DatePicker
25
25
  pickerId="end-date-picker"
26
- placeholder="Select an End Date"
26
+ placeholder="Select a End Date"
27
27
  syncEndWith="quickpick-for-range"
28
28
  {...props}
29
29
  />
@@ -9,20 +9,29 @@ $pb_card_border_radius: $border_rad_heavier;
9
9
 
10
10
  // used to display dropdown on the left of the calender
11
11
  .quick-pick-drop-down {
12
- width: 100%;
12
+ width: auto;
13
+ display: grid;
13
14
  }
14
15
 
15
16
  .quick-pick-ul {
17
+ padding: $space_xs 0px;
16
18
  margin: 0;
17
19
  list-style: none;
18
20
  }
19
21
 
20
22
  .nav-item {
21
23
  list-style: none;
24
+ border-radius: 6px;
25
+ border-bottom: 0;
26
+ margin: $space_xs $space_sm;
22
27
  }
23
28
 
24
29
  .nav-item-link {
25
30
  text-decoration: none;
31
+ border-width: $pb_card_border_width;
32
+ border-style: solid;
33
+ border-color: $border_light;
34
+ border-radius: $pb_card_border_radius;
26
35
  padding: $space_xs 14px;
27
36
  transition-property: color, background-color;
28
37
  transition-duration: 0.15s;
@@ -31,21 +40,15 @@ $pb_card_border_radius: $border_rad_heavier;
31
40
  color: $charcoal;
32
41
  font-size: $font_default;
33
42
  font-weight: $regular;
34
- text-align: left;
35
- border-bottom: 1px solid $border_light;
36
43
  &.active {
37
- color: $white;
38
- background-color: $primary;
39
- &:hover {
40
- background-color: $product_1_background;
41
- color: $white;
42
- }
44
+ border-width: 2px;
45
+ border-color: $primary;
43
46
  }
44
47
  @media (hover:hover) {
45
48
  &:hover {
46
49
  cursor: pointer;
47
- background-color: $bg_light;
48
- color: $primary;
50
+ box-shadow: $shadow-deep;
51
+ border-color: $slate;
49
52
  }
50
53
  }
51
54
  }
@@ -54,3 +57,19 @@ $pb_card_border_radius: $border_rad_heavier;
54
57
  .quick-pick-drop-down > .flatpickr-months, .quick-pick-drop-down > .flatpickr-innerContainer {
55
58
  display: none;
56
59
  }
60
+
61
+ @media only screen and (max-width: 767px) {
62
+ .quick-pick-ul {
63
+ padding: $space_xs $space_xs;
64
+ display: grid;
65
+ grid-template-columns: 1fr 1fr;
66
+ }
67
+
68
+ .nav-item {
69
+ margin: $space_xxs $space_xs;
70
+ }
71
+
72
+ .nav-item-link {
73
+ padding: $space_xs $space_xxs;
74
+ }
75
+ }
@@ -1 +1 @@
1
- You can customize the order of the colors you would like to use by using the `colors` prop. Only the data and status colors will work for Playbook charts. See the [design page](https://playbook.powerapp.cloud/token/colors) for reference.
1
+ You can customize the order of the colors you would like to use by using the `colors` prop. Only the data and status colors will work for Playbook charts. See the [design page](/visual_guidelines) for reference.
@@ -1,4 +1,4 @@
1
1
  The `activeStyle` prop can be used to customize the appearance of the dropdown selection indicator. It accepts an object with the following keys: `backgroundColor` sets the background color of the selected item (and its hover state); `fontColor` sets the font color of the selected item.
2
2
 
3
3
  `backgroundColor` **Type**: String | **Values**: bg_light | white | **Default**: (no selection) is primary
4
- `fontColor` **Type**: String | **Values**: primary | all [Playbook Text Colors](https://playbook.powerapp.cloud/global_props/colors) | **Default**: (no selection) is white
4
+ `fontColor` **Type**: String | **Values**: primary | all [Playbook Text Colors](https://playbook.powerapp.cloud/visual_guidelines/colors) | **Default**: (no selection) is white
@@ -1 +1 @@
1
- Filter can leverage the max-width property. Learn more in our <a href="https://playbook.powerapp.cloud/global_props/max_width" target="_blank">visual guidelines.</a>
1
+ Filter can leverage the max-width property. Learn more in our <a href="https://playbook.powerapp.cloud/visual_guidelines" target="_blank">visual guidelines.</a>
@@ -40,6 +40,7 @@ $confirmation_toast_colors: (
40
40
 
41
41
  &.positioned_toast {
42
42
  position: fixed;
43
+ z-index: $z_10 !important;
43
44
  display: flex;
44
45
  justify-content: space-around;
45
46
  max-width: max-content;
@@ -1,7 +1,7 @@
1
1
  import React, { useEffect, useState } from "react";
2
2
  import classnames from "classnames";
3
3
 
4
- import { globalProps, GlobalProps } from "../utilities/globalProps";
4
+ import { globalProps } from "../utilities/globalProps";
5
5
  import { buildHtmlProps } from "../utilities/props";
6
6
  import { VoidCallback } from "../types";
7
7
 
@@ -31,8 +31,7 @@ type FixedConfirmationToastProps = {
31
31
  status?: "success" | "error" | "neutral" | "tip";
32
32
  text?: string;
33
33
  vertical?: "top" | "bottom";
34
- zIndex?: number | string;
35
- } & GlobalProps
34
+ };
36
35
 
37
36
  const FixedConfirmationToast = (props: FixedConfirmationToastProps): React.ReactElement => {
38
37
  const [showToast, toggleToast] = useState(true);
@@ -51,7 +50,6 @@ const FixedConfirmationToast = (props: FixedConfirmationToastProps): React.React
51
50
  status = "neutral",
52
51
  text,
53
52
  vertical,
54
- zIndex = 'max',
55
53
  } = props;
56
54
 
57
55
  const returnedIcon = icon || iconMap[status]
@@ -61,7 +59,7 @@ const FixedConfirmationToast = (props: FixedConfirmationToastProps): React.React
61
59
  `pb_fixed_confirmation_toast_kit_${status}${multiLine ? '_multi_line' : ''}`,
62
60
  { [`positioned_toast ${vertical} ${horizontal}`]: vertical && horizontal },
63
61
  `${iconClass}`,
64
- globalProps(props, { zIndex }),
62
+ globalProps(props),
65
63
  className
66
64
  );
67
65
 
@@ -1,4 +1,2 @@
1
1
 
2
2
  Fixed Confirmation Toast is used as an alert. Success is used when a user successfully completes an action. Error is used when there is an error and the user cannot proceed. Neutral is used to display information to a user to complete a task.
3
-
4
- **NOTE**: z index for Fixed Confirmation Toast is set to 'max' by default which has the value of `999999`. the z Index global prop can be used to override this if you want to set it to a different value.
@@ -60,10 +60,7 @@ module Playbook
60
60
  end
61
61
 
62
62
  def classname
63
- default_z_index = z_index.present? ? "" : " z_index_max"
64
- # IMPORTANT: the AutoClose class must be the last class in the string for JS to read it correctly
65
- # Changing the order will break the auto_close functionality
66
- generate_classname("pb_fixed_confirmation_toast_kit", status, multi_line_class) + close_class + position_class + icon_class + default_z_index + auto_close_class
63
+ generate_classname("pb_fixed_confirmation_toast_kit", status, multi_line_class) + close_class + position_class + auto_close_class + icon_class
67
64
  end
68
65
  end
69
66
  end
@@ -75,14 +75,4 @@ test('renders position when provided', () => {
75
75
  />
76
76
  );
77
77
  expect(container.querySelector('.positioned_toast')).toBeInTheDocument();
78
- });
79
-
80
- test('renders max zIndex by default', () => {
81
- const { container } = render(<FixedConfirmationToast />);
82
- expect(container.querySelector('.z_index_max')).toBeInTheDocument();
83
- });
84
-
85
- test('applies custom zIndex when provided', () => {
86
- const { container } = render(<FixedConfirmationToast zIndex={10} />);
87
- expect(container.querySelector('.z_index_10')).toBeInTheDocument();
88
78
  });
@@ -18,7 +18,7 @@
18
18
 
19
19
  if (submitButton) {
20
20
  let currentClass = submitButton.className;
21
- let newClass = currentClass.replace("pb_button_disabled pb_button_loading", "pb_button_enabled");
21
+ let newClass = currentClass.replace("_disabled_loading", "_enabled");
22
22
 
23
23
  let cancelClass = cancelButton ? cancelButton.className : "";
24
24
  let newCancelClass = cancelClass.replace("_disabled", "_enabled");
@@ -7,7 +7,7 @@ const formHelper = () => {
7
7
 
8
8
  if (submitButton) {
9
9
  let currentClass = submitButton.className;
10
- let newClass = currentClass.replace("pb_button_enabled", "pb_button_disabled pb_button_loading");
10
+ let newClass = currentClass.replace("_enabled", "_disabled_loading");
11
11
 
12
12
  let cancelClass = cancelButton ? cancelButton.className : "";
13
13
  let newCancelClass = cancelClass.replace("_enabled", "_disabled");
@@ -1,3 +1,3 @@
1
- For Form Pills with longer text, the truncate global prop can be used to truncate the label within each Form Pill. See [here](https://playbook.powerapp.cloud/global_props/truncate) for more information on the truncate global prop.
1
+ For Form Pills with longer text, the truncate global prop can be used to truncate the label within each Form Pill. See [here](https://playbook.powerapp.cloud/visual_guidelines/truncate) for more information on the truncate global prop.
2
2
 
3
3
  __NOTE__: For Rails Form Pills (not ones embedded within a React-rendered Typeahead or MultiLevelSelect), a unique `id` is required to enable the Tooltip functionality displaying the text or tag section of the Form Pill.
@@ -1 +1 @@
1
- For Form Pills with longer text, the `truncate` global prop can be used to truncate the label within each Form Pill. Hover over the truncated Form Pill and a Tooltip containing the text or tag section of the Form Pill will appear. See [here](https://playbook.powerapp.cloud/global_props/truncate) for more information on the truncate global prop.
1
+ For Form Pills with longer text, the `truncate` global prop can be used to truncate the label within each Form Pill. Hover over the truncated Form Pill and a Tooltip containing the text or tag section of the Form Pill will appear. See [here](https://playbook.powerapp.cloud/visual_guidelines/truncate) for more information on the truncate global prop.
@@ -1 +1 @@
1
- Pass any text, status, data, product, or category Playbook <a href="https://playbook.powerapp.cloud/tokens/colors" target="_blank">color token</a> to the `color` prop to change any icon's color.
1
+ Pass any text, status, data, product, or category Playbook <a href="https://playbook.powerapp.cloud/visual_guidelines/colors" target="_blank">color token</a> to the `color` prop to change any icon's color.
@@ -1 +1 @@
1
- Customize your icon circle by passing one of our seven base colors to the `variant` prop: `royal` `orange` `purple` `teal` `red` `yellow` `green`
1
+ Customize your icon circle by passing one of our seven base colors to the `variant` prop: `royal` `blue` `orange` `purple` `teal` `red` `yellow` `green`
@@ -3,41 +3,48 @@
3
3
  text: "Mercury",
4
4
  unit: "AU",
5
5
  value: 0.39,
6
- variant:"royal"
6
+ variant:"blue"
7
7
  }) %>
8
8
  <br>
9
9
  <%= pb_rails("icon_stat_value", props: { icon: "planet-ringed",
10
10
  text: "Venus",
11
11
  unit: "AU",
12
12
  value: 0.723,
13
- variant:"purple"
13
+ variant:"royal"
14
14
  }) %>
15
15
  <br>
16
16
  <%= pb_rails("icon_stat_value", props: { icon: "planet-moon",
17
17
  text: "Earth",
18
18
  unit: "AU",
19
19
  value: 1.0,
20
- variant:"teal"
20
+ variant:"purple"
21
21
  }) %>
22
22
  <br>
23
23
  <%= pb_rails("icon_stat_value", props: { icon: "solar-system",
24
24
  text: "Mars",
25
25
  unit: "AU",
26
26
  value: 1.524,
27
- variant:"red"
27
+ variant:"teal"
28
28
  }) %>
29
29
  <br>
30
30
  <%= pb_rails("icon_stat_value", props: { icon: "globe-americas",
31
- text: "Jupiter",
31
+ text: "Jupitar",
32
32
  unit: "AU",
33
33
  value: 5.203,
34
- variant:"yellow"
34
+ variant:"red"
35
35
  }) %>
36
36
  <br>
37
37
  <%= pb_rails("icon_stat_value", props: { icon: "globe-africa",
38
38
  text: "Saturn",
39
39
  unit: "AU",
40
40
  value: 9.539,
41
+ variant:"yellow"
42
+ }) %>
43
+ <br>
44
+ <%= pb_rails("icon_stat_value", props: { icon: "globe",
45
+ text: "Uranus",
46
+ unit: "AU",
47
+ value: 19.18,
41
48
  variant:"green"
42
49
  }) %>
43
50
  <br>
@@ -46,4 +53,4 @@
46
53
  unit: "AU",
47
54
  value: 19.18,
48
55
  variant:"orange"
49
- }) %>
56
+ }) %>
@@ -9,7 +9,7 @@ const IconStatValueColor = (props) => {
9
9
  text="Mercury"
10
10
  unit="AU"
11
11
  value={0.39}
12
- variant="royal"
12
+ variant="blue"
13
13
  {...props}
14
14
  />
15
15
  <br />
@@ -18,7 +18,7 @@ const IconStatValueColor = (props) => {
18
18
  text="Venus"
19
19
  unit="AU"
20
20
  value={0.723}
21
- variant="purple"
21
+ variant="royal"
22
22
  {...props}
23
23
  />
24
24
  <br />
@@ -27,7 +27,7 @@ const IconStatValueColor = (props) => {
27
27
  text="Earth"
28
28
  unit="AU"
29
29
  value={1.0}
30
- variant="teal"
30
+ variant="purple"
31
31
  {...props}
32
32
  />
33
33
  <br />
@@ -36,16 +36,16 @@ const IconStatValueColor = (props) => {
36
36
  text="Mars"
37
37
  unit="AU"
38
38
  value={1.524}
39
- variant="red"
39
+ variant="teal"
40
40
  {...props}
41
41
  />
42
42
  <br />
43
43
  <IconStatValue
44
44
  icon="globe-americas"
45
- text="Jupiter"
45
+ text="Jupitar"
46
46
  unit="AU"
47
47
  value={5.203}
48
- variant="yellow"
48
+ variant="red"
49
49
  {...props}
50
50
  />
51
51
  <br />
@@ -54,6 +54,15 @@ const IconStatValueColor = (props) => {
54
54
  text="Saturn"
55
55
  unit="AU"
56
56
  value={9.539}
57
+ variant="yellow"
58
+ {...props}
59
+ />
60
+ <br />
61
+ <IconStatValue
62
+ icon="globe"
63
+ text="Uranus"
64
+ unit="AU"
65
+ value={19.18}
57
66
  variant="green"
58
67
  {...props}
59
68
  />
@@ -1 +1 @@
1
- Layout can leverage the max-width property. Learn more in our <a href="https://playbook.powerapp.cloud/global_props/max_width" target="_blank">visual guidelines.</a>
1
+ Layout can leverage the max-width property. Learn more in our <a href="https://playbook.powerapp.cloud/visual_guidelines" target="_blank">visual guidelines.</a>