playbook_ui 16.6.0.pre.alpha.PLAY2941iconbuttonsfontawesomeicons16097 → 16.6.0.pre.alpha.RTEPOC15801

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 (304) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.tsx +3 -15
  3. data/app/pb_kits/playbook/pb_advanced_table/kit.schema.json +7 -54
  4. data/app/pb_kits/playbook/pb_avatar/kit.schema.json +5 -13
  5. data/app/pb_kits/playbook/pb_background/kit.schema.json +0 -14
  6. data/app/pb_kits/playbook/pb_badge/kit.schema.json +0 -6
  7. data/app/pb_kits/playbook/pb_body/kit.schema.json +0 -6
  8. data/app/pb_kits/playbook/pb_bread_crumbs/_bread_crumbs.tsx +1 -0
  9. data/app/pb_kits/playbook/pb_button/_button.scss +23 -24
  10. data/app/pb_kits/playbook/pb_button/button.rb +1 -3
  11. data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.tsx +1 -0
  12. data/app/pb_kits/playbook/pb_button_toolbar/kit.schema.json +8 -7
  13. data/app/pb_kits/playbook/pb_card/kit.schema.json +8 -30
  14. data/app/pb_kits/playbook/pb_checkbox/kit.schema.json +0 -6
  15. data/app/pb_kits/playbook/pb_circle_icon_button/kit.schema.json +0 -6
  16. data/app/pb_kits/playbook/pb_collapsible/kit.schema.json +3 -18
  17. data/app/pb_kits/playbook/pb_contact/kit.schema.json +0 -6
  18. data/app/pb_kits/playbook/pb_currency/kit.schema.json +0 -6
  19. data/app/pb_kits/playbook/pb_dashboard_value/kit.schema.json +7 -9
  20. data/app/pb_kits/playbook/pb_date/kit.schema.json +12 -17
  21. data/app/pb_kits/playbook/pb_date_picker/date_picker.test.js +0 -30
  22. data/app/pb_kits/playbook/pb_date_picker/kit.schema.json +3 -9
  23. data/app/pb_kits/playbook/pb_date_range_inline/kit.schema.json +10 -16
  24. data/app/pb_kits/playbook/pb_date_range_stacked/kit.schema.json +0 -6
  25. data/app/pb_kits/playbook/pb_date_stacked/kit.schema.json +6 -12
  26. data/app/pb_kits/playbook/pb_date_time_stacked/kit.schema.json +0 -6
  27. data/app/pb_kits/playbook/pb_date_year_stacked/kit.schema.json +0 -6
  28. data/app/pb_kits/playbook/pb_detail/kit.schema.json +0 -6
  29. data/app/pb_kits/playbook/pb_dialog/kit.schema.json +19 -17
  30. data/app/pb_kits/playbook/pb_draggable/kit.schema.json +5 -11
  31. data/app/pb_kits/playbook/pb_dropdown/dropdown.test.jsx +2 -51
  32. data/app/pb_kits/playbook/pb_dropdown/kit.schema.json +20 -32
  33. data/app/pb_kits/playbook/pb_file_upload/kit.schema.json +2 -8
  34. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/kit.schema.json +10 -16
  35. data/app/pb_kits/playbook/pb_flex/kit.schema.json +0 -18
  36. data/app/pb_kits/playbook/pb_form_pill/kit.schema.json +1 -7
  37. data/app/pb_kits/playbook/pb_hashtag/kit.schema.json +0 -6
  38. data/app/pb_kits/playbook/pb_home_address_street/kit.schema.json +0 -6
  39. data/app/pb_kits/playbook/pb_icon/kit.schema.json +2 -2
  40. data/app/pb_kits/playbook/pb_icon_button/kit.schema.json +7 -7
  41. data/app/pb_kits/playbook/pb_icon_circle/kit.schema.json +0 -6
  42. data/app/pb_kits/playbook/pb_icon_stat_value/kit.schema.json +0 -6
  43. data/app/pb_kits/playbook/pb_icon_value/kit.schema.json +0 -6
  44. data/app/pb_kits/playbook/pb_kit/dateTime.ts +22 -4
  45. data/app/pb_kits/playbook/pb_label_value/kit.schema.json +8 -14
  46. data/app/pb_kits/playbook/pb_layout/kit.schema.json +2 -18
  47. data/app/pb_kits/playbook/pb_legend/kit.schema.json +0 -6
  48. data/app/pb_kits/playbook/pb_link/kit.schema.json +0 -6
  49. data/app/pb_kits/playbook/pb_list/kit.schema.json +12 -17
  50. data/app/pb_kits/playbook/pb_loading_inline/kit.schema.json +0 -6
  51. data/app/pb_kits/playbook/pb_map/_map.scss +0 -30
  52. data/app/pb_kits/playbook/pb_map/docs/_map_default.md +2 -2
  53. data/app/pb_kits/playbook/pb_map/docs/_map_with_plugin.jsx +0 -6
  54. data/app/pb_kits/playbook/pb_multi_level_select/kit.schema.json +15 -15
  55. data/app/pb_kits/playbook/pb_multiple_users/kit.schema.json +0 -6
  56. data/app/pb_kits/playbook/pb_multiple_users_stacked/kit.schema.json +0 -6
  57. data/app/pb_kits/playbook/pb_nav/kit.schema.json +1 -7
  58. data/app/pb_kits/playbook/pb_overlay/kit.schema.json +1 -7
  59. data/app/pb_kits/playbook/pb_pagination/_pagination.scss +23 -274
  60. data/app/pb_kits/playbook/pb_pagination/docs/_pagination_default.html.erb +1 -1
  61. data/app/pb_kits/playbook/pb_pagination/kit.schema.json +3 -3
  62. data/app/pb_kits/playbook/pb_passphrase/kit.schema.json +0 -6
  63. data/app/pb_kits/playbook/pb_phone_number_input/kit.schema.json +0 -6
  64. data/app/pb_kits/playbook/pb_popover/kit.schema.json +8 -7
  65. data/app/pb_kits/playbook/pb_progress_pills/kit.schema.json +0 -6
  66. data/app/pb_kits/playbook/pb_progress_simple/kit.schema.json +0 -12
  67. data/app/pb_kits/playbook/pb_radio/kit.schema.json +0 -6
  68. data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.tsx +1 -1
  69. data/app/pb_kits/playbook/pb_rich_text_editor/_tiptap_styles.scss +262 -43
  70. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_rails_default.html.erb +1 -0
  71. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_rails_default.md +12 -0
  72. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_rails_simple.html.erb +9 -0
  73. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_rich_text_editor_rails_simple.md +8 -0
  74. data/app/pb_kits/playbook/pb_rich_text_editor/docs/example.yml +2 -0
  75. data/app/pb_kits/playbook/pb_rich_text_editor/kit.schema.json +20 -17
  76. data/app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor.html.erb +218 -0
  77. data/app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor.rb +71 -0
  78. data/app/pb_kits/playbook/pb_rich_text_editor/rich_text_editor_rails.js +201 -0
  79. data/app/pb_kits/playbook/pb_section_separator/kit.schema.json +0 -6
  80. data/app/pb_kits/playbook/pb_select/docs/_select_error.jsx +1 -1
  81. data/app/pb_kits/playbook/pb_select/docs/_select_inline.jsx +1 -1
  82. data/app/pb_kits/playbook/pb_select/docs/_select_inline_compact.jsx +1 -1
  83. data/app/pb_kits/playbook/pb_select/docs/_select_inline_show_arrow.jsx +1 -1
  84. data/app/pb_kits/playbook/pb_select/docs/_select_multiple.html.erb +3 -3
  85. data/app/pb_kits/playbook/pb_select/docs/_select_multiple.jsx +5 -5
  86. data/app/pb_kits/playbook/pb_select/docs/_select_react_hook.jsx +5 -5
  87. data/app/pb_kits/playbook/pb_select/docs/_select_required_indicator.jsx +1 -1
  88. data/app/pb_kits/playbook/pb_select/kit.schema.json +1 -13
  89. data/app/pb_kits/playbook/pb_selectable_card/kit.schema.json +1 -7
  90. data/app/pb_kits/playbook/pb_selectable_card_icon/kit.schema.json +1 -7
  91. data/app/pb_kits/playbook/pb_selectable_icon/kit.schema.json +1 -7
  92. data/app/pb_kits/playbook/pb_skeleton_loading/kit.schema.json +0 -30
  93. data/app/pb_kits/playbook/pb_star_rating/kit.schema.json +0 -6
  94. data/app/pb_kits/playbook/pb_stat_change/kit.schema.json +0 -6
  95. data/app/pb_kits/playbook/pb_table/kit.schema.json +3 -9
  96. data/app/pb_kits/playbook/pb_text_input/kit.schema.json +6 -13
  97. data/app/pb_kits/playbook/pb_textarea/kit.schema.json +1 -1
  98. data/app/pb_kits/playbook/pb_time/kit.schema.json +12 -16
  99. data/app/pb_kits/playbook/pb_time_picker/kit.schema.json +2 -8
  100. data/app/pb_kits/playbook/pb_time_range_inline/kit.schema.json +0 -6
  101. data/app/pb_kits/playbook/pb_time_stacked/kit.schema.json +0 -6
  102. data/app/pb_kits/playbook/pb_timestamp/kit.schema.json +0 -6
  103. data/app/pb_kits/playbook/pb_title_count/kit.schema.json +0 -6
  104. data/app/pb_kits/playbook/pb_tooltip/kit.schema.json +2 -48
  105. data/app/pb_kits/playbook/pb_typeahead/kit.schema.json +3 -24
  106. data/app/pb_kits/playbook/pb_user/kit.schema.json +0 -6
  107. data/app/pb_kits/playbook/pb_weekday_stacked/kit.schema.json +0 -6
  108. data/dist/chunks/{_pb_line_graph-D7f-RfJJ.js → _pb_line_graph-EzcacMw_.js} +1 -1
  109. data/dist/chunks/{_typeahead-DO5eU-VL.js → _typeahead-BYUXg9ZT.js} +1 -1
  110. data/dist/chunks/{globalProps-BwwZkfTI.js → globalProps-6Hsm3bJX.js} +1 -1
  111. data/dist/chunks/{lib-Ch18RlJa.js → lib-o4u12zAw.js} +1 -1
  112. data/dist/chunks/vendor.js +2 -2
  113. data/dist/menu.yml +1 -2
  114. data/dist/playbook-rails-react-bindings.js +1 -1
  115. data/dist/playbook-rails.js +1 -1
  116. data/dist/playbook.css +1 -1
  117. data/lib/playbook/pagination_renderer.rb +8 -119
  118. data/lib/playbook/version.rb +1 -1
  119. metadata +13 -191
  120. data/app/pb_kits/playbook/pb_advanced_table/docs/_playground.json +0 -8970
  121. data/app/pb_kits/playbook/pb_advanced_table/docs/_playground.overrides.json +0 -403
  122. data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_column_definitions_grouped_simple.json +0 -41
  123. data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_column_definitions_grouped_triple.json +0 -56
  124. data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_column_definitions_standard.json +0 -31
  125. data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_column_definitions_standard_sort.json +0 -37
  126. data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_column_definitions_styling.json +0 -44
  127. data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_column_definitions_with_ids.json +0 -38
  128. data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data_inline_loading.json +0 -199
  129. data/app/pb_kits/playbook/pb_avatar/docs/_playground.json +0 -136
  130. data/app/pb_kits/playbook/pb_avatar/docs/_playground.overrides.json +0 -94
  131. data/app/pb_kits/playbook/pb_background/docs/_playground.json +0 -107
  132. data/app/pb_kits/playbook/pb_background/docs/_playground.overrides.json +0 -72
  133. data/app/pb_kits/playbook/pb_badge/docs/_playground.json +0 -112
  134. data/app/pb_kits/playbook/pb_badge/docs/_playground.overrides.json +0 -63
  135. data/app/pb_kits/playbook/pb_body/docs/_playground.json +0 -78
  136. data/app/pb_kits/playbook/pb_body/docs/_playground.overrides.json +0 -47
  137. data/app/pb_kits/playbook/pb_bread_crumbs/docs/_playground.json +0 -54
  138. data/app/pb_kits/playbook/pb_bread_crumbs/docs/_playground.overrides.json +0 -44
  139. data/app/pb_kits/playbook/pb_button/docs/_playground.json +0 -164
  140. data/app/pb_kits/playbook/pb_button/docs/_playground.overrides.json +0 -45
  141. data/app/pb_kits/playbook/pb_button_toolbar/docs/_playground.json +0 -81
  142. data/app/pb_kits/playbook/pb_button_toolbar/docs/_playground.overrides.json +0 -54
  143. data/app/pb_kits/playbook/pb_caption/docs/_playground.json +0 -64
  144. data/app/pb_kits/playbook/pb_caption/docs/_playground.overrides.json +0 -39
  145. data/app/pb_kits/playbook/pb_card/docs/_playground.json +0 -157
  146. data/app/pb_kits/playbook/pb_card/docs/_playground.overrides.json +0 -119
  147. data/app/pb_kits/playbook/pb_checkbox/docs/_playground.json +0 -80
  148. data/app/pb_kits/playbook/pb_checkbox/docs/_playground.overrides.json +0 -58
  149. data/app/pb_kits/playbook/pb_circle_icon_button/docs/_playground.json +0 -113
  150. data/app/pb_kits/playbook/pb_circle_icon_button/docs/_playground.overrides.json +0 -62
  151. data/app/pb_kits/playbook/pb_collapsible/docs/_playground.json +0 -91
  152. data/app/pb_kits/playbook/pb_collapsible/docs/_playground.overrides.json +0 -65
  153. data/app/pb_kits/playbook/pb_contact/docs/_playground.json +0 -69
  154. data/app/pb_kits/playbook/pb_contact/docs/_playground.overrides.json +0 -60
  155. data/app/pb_kits/playbook/pb_copy_button/docs/_playground.json +0 -120
  156. data/app/pb_kits/playbook/pb_copy_button/docs/_playground.overrides.json +0 -96
  157. data/app/pb_kits/playbook/pb_currency/docs/_playground.json +0 -117
  158. data/app/pb_kits/playbook/pb_currency/docs/_playground.overrides.json +0 -98
  159. data/app/pb_kits/playbook/pb_dashboard_value/docs/_playground.json +0 -87
  160. data/app/pb_kits/playbook/pb_dashboard_value/docs/_playground.overrides.json +0 -19
  161. data/app/pb_kits/playbook/pb_date/docs/_playground.json +0 -73
  162. data/app/pb_kits/playbook/pb_date/docs/_playground.overrides.json +0 -54
  163. data/app/pb_kits/playbook/pb_date_picker/docs/_playground.json +0 -178
  164. data/app/pb_kits/playbook/pb_date_picker/docs/_playground.overrides.json +0 -156
  165. data/app/pb_kits/playbook/pb_date_range_inline/docs/_playground.json +0 -31
  166. data/app/pb_kits/playbook/pb_date_range_stacked/docs/_playground.json +0 -23
  167. data/app/pb_kits/playbook/pb_date_stacked/docs/_playground.json +0 -68
  168. data/app/pb_kits/playbook/pb_date_stacked/docs/_playground.overrides.json +0 -51
  169. data/app/pb_kits/playbook/pb_date_time/docs/_playground.json +0 -76
  170. data/app/pb_kits/playbook/pb_date_time/docs/_playground.overrides.json +0 -58
  171. data/app/pb_kits/playbook/pb_date_time_stacked/docs/_playground.json +0 -57
  172. data/app/pb_kits/playbook/pb_date_time_stacked/docs/_playground.overrides.json +0 -46
  173. data/app/pb_kits/playbook/pb_date_year_stacked/docs/_playground.json +0 -45
  174. data/app/pb_kits/playbook/pb_date_year_stacked/docs/_playground.overrides.json +0 -36
  175. data/app/pb_kits/playbook/pb_detail/docs/_playground.json +0 -75
  176. data/app/pb_kits/playbook/pb_detail/docs/_playground.overrides.json +0 -44
  177. data/app/pb_kits/playbook/pb_dialog/docs/_playground.json +0 -121
  178. data/app/pb_kits/playbook/pb_dialog/docs/_playground.overrides.json +0 -95
  179. data/app/pb_kits/playbook/pb_distribution_bar/docs/_playground.json +0 -25
  180. data/app/pb_kits/playbook/pb_draggable/docs/_playground.json +0 -54
  181. data/app/pb_kits/playbook/pb_draggable/docs/_playground.overrides.json +0 -34
  182. data/app/pb_kits/playbook/pb_dropdown/docs/_playground.json +0 -236
  183. data/app/pb_kits/playbook/pb_dropdown/docs/_playground.overrides.json +0 -137
  184. data/app/pb_kits/playbook/pb_empty_state/docs/_playground.json +0 -34
  185. data/app/pb_kits/playbook/pb_file_upload/docs/_playground.json +0 -34
  186. data/app/pb_kits/playbook/pb_filter/docs/_playground.json +0 -13
  187. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_playground.json +0 -37
  188. data/app/pb_kits/playbook/pb_flex/docs/_playground.json +0 -133
  189. data/app/pb_kits/playbook/pb_flex/docs/_playground.overrides.json +0 -105
  190. data/app/pb_kits/playbook/pb_form/docs/_playground.json +0 -13
  191. data/app/pb_kits/playbook/pb_form_group/docs/_playground.json +0 -23
  192. data/app/pb_kits/playbook/pb_form_pill/docs/_playground.json +0 -36
  193. data/app/pb_kits/playbook/pb_hashtag/docs/_playground.json +0 -30
  194. data/app/pb_kits/playbook/pb_highlight/docs/_playground.json +0 -22
  195. data/app/pb_kits/playbook/pb_home_address_street/docs/_playground.json +0 -38
  196. data/app/pb_kits/playbook/pb_icon/docs/_playground.json +0 -115
  197. data/app/pb_kits/playbook/pb_icon/docs/_playground.overrides.json +0 -60
  198. data/app/pb_kits/playbook/pb_icon_button/docs/_playground.json +0 -33
  199. data/app/pb_kits/playbook/pb_icon_circle/docs/_playground.json +0 -27
  200. data/app/pb_kits/playbook/pb_icon_stat_value/docs/_playground.json +0 -89
  201. data/app/pb_kits/playbook/pb_icon_stat_value/docs/_playground.overrides.json +0 -29
  202. data/app/pb_kits/playbook/pb_icon_value/docs/_playground.json +0 -60
  203. data/app/pb_kits/playbook/pb_icon_value/docs/_playground.overrides.json +0 -19
  204. data/app/pb_kits/playbook/pb_image/docs/_playground.json +0 -101
  205. data/app/pb_kits/playbook/pb_image/docs/_playground.overrides.json +0 -89
  206. data/app/pb_kits/playbook/pb_label_pill/docs/_playground.json +0 -25
  207. data/app/pb_kits/playbook/pb_label_value/docs/_playground.json +0 -126
  208. data/app/pb_kits/playbook/pb_label_value/docs/_playground.overrides.json +0 -52
  209. data/app/pb_kits/playbook/pb_layout/docs/_playground.json +0 -40
  210. data/app/pb_kits/playbook/pb_legend/docs/_playground.json +0 -26
  211. data/app/pb_kits/playbook/pb_link/docs/_playground.json +0 -130
  212. data/app/pb_kits/playbook/pb_link/docs/_playground.overrides.json +0 -81
  213. data/app/pb_kits/playbook/pb_list/docs/_playground.json +0 -45
  214. data/app/pb_kits/playbook/pb_loading_inline/docs/_playground.json +0 -66
  215. data/app/pb_kits/playbook/pb_loading_inline/docs/_playground.overrides.json +0 -25
  216. data/app/pb_kits/playbook/pb_map/docs/_playground.json +0 -25
  217. data/app/pb_kits/playbook/pb_message/docs/_playground.json +0 -39
  218. data/app/pb_kits/playbook/pb_multi_level_select/docs/_playground.json +0 -162
  219. data/app/pb_kits/playbook/pb_multi_level_select/docs/_playground.overrides.json +0 -126
  220. data/app/pb_kits/playbook/pb_multiple_users/docs/_playground.json +0 -182
  221. data/app/pb_kits/playbook/pb_multiple_users/docs/_playground.overrides.json +0 -167
  222. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_playground.json +0 -145
  223. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_playground.overrides.json +0 -131
  224. data/app/pb_kits/playbook/pb_nav/docs/_playground.json +0 -65
  225. data/app/pb_kits/playbook/pb_nav/docs/_playground.overrides.json +0 -45
  226. data/app/pb_kits/playbook/pb_online_status/docs/_playground.json +0 -71
  227. data/app/pb_kits/playbook/pb_online_status/docs/_playground.overrides.json +0 -40
  228. data/app/pb_kits/playbook/pb_overlay/docs/_playground.json +0 -38
  229. data/app/pb_kits/playbook/pb_pagination/docs/_playground.json +0 -69
  230. data/app/pb_kits/playbook/pb_pagination/docs/_playground.overrides.json +0 -61
  231. data/app/pb_kits/playbook/pb_passphrase/docs/_playground.json +0 -34
  232. data/app/pb_kits/playbook/pb_pb_bar_graph/docs/_playground.json +0 -21
  233. data/app/pb_kits/playbook/pb_pb_circle_chart/docs/_playground.json +0 -21
  234. data/app/pb_kits/playbook/pb_pb_gauge_chart/docs/_playground.json +0 -21
  235. data/app/pb_kits/playbook/pb_pb_line_graph/docs/_playground.json +0 -21
  236. data/app/pb_kits/playbook/pb_person/docs/_playground.json +0 -42
  237. data/app/pb_kits/playbook/pb_person/docs/_playground.overrides.json +0 -28
  238. data/app/pb_kits/playbook/pb_person_contact/docs/_playground.json +0 -98
  239. data/app/pb_kits/playbook/pb_person_contact/docs/_playground.overrides.json +0 -92
  240. data/app/pb_kits/playbook/pb_phone_number_input/docs/_playground.json +0 -52
  241. data/app/pb_kits/playbook/pb_pill/docs/_playground.json +0 -106
  242. data/app/pb_kits/playbook/pb_pill/docs/_playground.overrides.json +0 -56
  243. data/app/pb_kits/playbook/pb_popover/docs/_playground.json +0 -104
  244. data/app/pb_kits/playbook/pb_popover/docs/_playground.overrides.json +0 -67
  245. data/app/pb_kits/playbook/pb_progress_pills/docs/_playground.json +0 -90
  246. data/app/pb_kits/playbook/pb_progress_pills/docs/_playground.overrides.json +0 -51
  247. data/app/pb_kits/playbook/pb_progress_simple/docs/_playground.json +0 -87
  248. data/app/pb_kits/playbook/pb_progress_simple/docs/_playground.overrides.json +0 -28
  249. data/app/pb_kits/playbook/pb_progress_step/docs/_playground.json +0 -31
  250. data/app/pb_kits/playbook/pb_radio/docs/_playground.json +0 -83
  251. data/app/pb_kits/playbook/pb_radio/docs/_playground.overrides.json +0 -59
  252. data/app/pb_kits/playbook/pb_rich_text_editor/docs/_playground.json +0 -41
  253. data/app/pb_kits/playbook/pb_section_separator/docs/_playground.json +0 -128
  254. data/app/pb_kits/playbook/pb_section_separator/docs/_playground.overrides.json +0 -109
  255. data/app/pb_kits/playbook/pb_select/docs/_playground.json +0 -149
  256. data/app/pb_kits/playbook/pb_select/docs/_playground.overrides.json +0 -80
  257. data/app/pb_kits/playbook/pb_selectable_card/docs/_playground.json +0 -145
  258. data/app/pb_kits/playbook/pb_selectable_card/docs/_playground.overrides.json +0 -115
  259. data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_playground.json +0 -38
  260. data/app/pb_kits/playbook/pb_selectable_icon/docs/_playground.json +0 -113
  261. data/app/pb_kits/playbook/pb_selectable_icon/docs/_playground.overrides.json +0 -92
  262. data/app/pb_kits/playbook/pb_selectable_list/docs/_playground.json +0 -53
  263. data/app/pb_kits/playbook/pb_selectable_list/docs/_playground.overrides.json +0 -34
  264. data/app/pb_kits/playbook/pb_skeleton_loading/docs/_playground.json +0 -30
  265. data/app/pb_kits/playbook/pb_source/docs/_playground.json +0 -27
  266. data/app/pb_kits/playbook/pb_star_rating/docs/_playground.json +0 -128
  267. data/app/pb_kits/playbook/pb_star_rating/docs/_playground.overrides.json +0 -87
  268. data/app/pb_kits/playbook/pb_stat_change/docs/_playground.json +0 -71
  269. data/app/pb_kits/playbook/pb_stat_change/docs/_playground.overrides.json +0 -29
  270. data/app/pb_kits/playbook/pb_stat_value/docs/_playground.json +0 -56
  271. data/app/pb_kits/playbook/pb_stat_value/docs/_playground.overrides.json +0 -23
  272. data/app/pb_kits/playbook/pb_table/docs/_playground.json +0 -57
  273. data/app/pb_kits/playbook/pb_text_input/docs/_playground.json +0 -90
  274. data/app/pb_kits/playbook/pb_text_input/docs/_playground.overrides.json +0 -62
  275. data/app/pb_kits/playbook/pb_textarea/docs/_playground.json +0 -89
  276. data/app/pb_kits/playbook/pb_textarea/docs/_playground.overrides.json +0 -62
  277. data/app/pb_kits/playbook/pb_time/docs/_playground.json +0 -74
  278. data/app/pb_kits/playbook/pb_time/docs/_playground.overrides.json +0 -54
  279. data/app/pb_kits/playbook/pb_time_picker/docs/_playground.json +0 -119
  280. data/app/pb_kits/playbook/pb_time_picker/docs/_playground.overrides.json +0 -96
  281. data/app/pb_kits/playbook/pb_time_range_inline/docs/_playground.json +0 -32
  282. data/app/pb_kits/playbook/pb_time_stacked/docs/_playground.json +0 -54
  283. data/app/pb_kits/playbook/pb_time_stacked/docs/_playground.overrides.json +0 -43
  284. data/app/pb_kits/playbook/pb_timeline/docs/_playground.json +0 -27
  285. data/app/pb_kits/playbook/pb_timestamp/docs/_playground.json +0 -104
  286. data/app/pb_kits/playbook/pb_timestamp/docs/_playground.overrides.json +0 -84
  287. data/app/pb_kits/playbook/pb_title/docs/_playground.json +0 -80
  288. data/app/pb_kits/playbook/pb_title/docs/_playground.overrides.json +0 -44
  289. data/app/pb_kits/playbook/pb_title_count/docs/_playground.json +0 -66
  290. data/app/pb_kits/playbook/pb_title_count/docs/_playground.overrides.json +0 -20
  291. data/app/pb_kits/playbook/pb_title_detail/docs/_playground.json +0 -60
  292. data/app/pb_kits/playbook/pb_title_detail/docs/_playground.overrides.json +0 -19
  293. data/app/pb_kits/playbook/pb_toggle/docs/_playground.json +0 -68
  294. data/app/pb_kits/playbook/pb_toggle/docs/_playground.overrides.json +0 -53
  295. data/app/pb_kits/playbook/pb_tooltip/docs/_playground.json +0 -91
  296. data/app/pb_kits/playbook/pb_tooltip/docs/_playground.overrides.json +0 -53
  297. data/app/pb_kits/playbook/pb_typeahead/docs/_playground.json +0 -205
  298. data/app/pb_kits/playbook/pb_typeahead/docs/_playground.overrides.json +0 -115
  299. data/app/pb_kits/playbook/pb_user/docs/_playground.json +0 -110
  300. data/app/pb_kits/playbook/pb_user/docs/_playground.overrides.json +0 -89
  301. data/app/pb_kits/playbook/pb_user_badge/docs/_playground.json +0 -61
  302. data/app/pb_kits/playbook/pb_user_badge/docs/_playground.overrides.json +0 -36
  303. data/app/pb_kits/playbook/pb_weekday_stacked/docs/_playground.json +0 -64
  304. data/app/pb_kits/playbook/pb_weekday_stacked/docs/_playground.overrides.json +0 -51
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3bed4584dabb4f4e7e69874dbffca2b5e2e8f8e271db23656bb11ecc42d243f0
4
- data.tar.gz: fe526f8e75eae5a1735e4b75fb3c03f15ca73f7fd423a022ed6c1ae1b7d2172a
3
+ metadata.gz: '0579ec6de5e9e30afb606c6eadccdbabeebc719f76d24e94ffe7430209adf83e'
4
+ data.tar.gz: d1adde04c2ae78461561bcd870bbdc28c1a17523ff57690f211d3e46e99af18e
5
5
  SHA512:
6
- metadata.gz: 971f25b641ec97a375e46fa4cd5348d7f31056e7e90e804564aa4e6091c7d8fa5679efc3c2a9ab05f31c77e0ecdc73bd7f27be6166ebb51141ea9bbab233ad2f
7
- data.tar.gz: 6586ee67929d3a1407b45c1ba311d8a60d427e0ac7737167fde8b22e0e827d7c3bd1eed304e2512f65e9ae512dd8a67aa36f90bef425115a09f8cbc291b289aa
6
+ metadata.gz: c29039b3e065b5af3245c26a9255e13b5c7160e0402416e8e2eccc29e4ba0b6bc791da1bdf309bc76cf384e3c4c9e97aaf682402215e184be33ae070ae1dff46
7
+ data.tar.gz: 517ea2840ffe6696926263093a7e87d9f453f679399122494354acaa1ad4410a57b6c5ff66bb751d10eec1ece049365db2bdc9930a0312b03977275ab100bddf
@@ -37,12 +37,13 @@ type AdvancedTableProps = {
37
37
  columnDefinitions: GenericObject[]
38
38
  columnGroupBorderColor?: "text_lt_default" | "text_lt_light" | "text_lt_lighter" | "text_dk_default" | "text_dk_light" | "text_dk_lighter"
39
39
  columnVisibilityControl?: GenericObject
40
- customSort?: boolean
40
+ customSort?:boolean;
41
+ dark?: boolean
41
42
  data?: { [key: string]: string }
42
43
  enableToggleExpansion?: "all" | "header" | "none"
43
44
  enableSortingRemoval?: boolean
44
45
  expandedControl?: GenericObject
45
- expandByDepth?: GenericObject[]
46
+ expandByDepth?: { [key: string]: string | number }
46
47
  onExpandByDepthClick?: (arg: number, arg1: any) => void
47
48
  htmlOptions?: {[key: string]: string | number | boolean | (() => void)},
48
49
  id?: string
@@ -66,7 +67,6 @@ type AdvancedTableProps = {
66
67
  persistToggleExpansionButton?: boolean,
67
68
  sortControl?: GenericObject
68
69
  sortParentOnly?: boolean
69
- stickyLeftColumn?: string[]
70
70
  tableData: GenericObject[]
71
71
  tableOptions?: GenericObject
72
72
  tableProps?: GenericObject
@@ -78,18 +78,6 @@ type AdvancedTableProps = {
78
78
  fullScreenControl?: (controls: FullscreenControls) => void
79
79
  } & GlobalProps;
80
80
 
81
- /**
82
- * Subcomponent props (AdvancedTable.Header / AdvancedTable.Body). Must be a plain `type NameProps = { ... }` block—
83
- * `yarn generate-ai-metadata` only parses that shape in this file (not Omit<> / intersection).
84
- * Not used on the root component; playground routes these via propTargets.
85
- */
86
- type _AdvancedTableSubkitSchemaProps = {
87
- enableSorting?: boolean
88
- sortIcon?: string | string[]
89
- collapsibleTrail?: boolean
90
- subRowHeaders?: string[]
91
- }
92
-
93
81
  const AdvancedTable = (props: AdvancedTableProps) => {
94
82
  const {
95
83
  aria = {},
@@ -50,7 +50,7 @@
50
50
  ]
51
51
  },
52
52
  "customSort": {
53
- "type": "boolean",
53
+ "type": "boolean;",
54
54
  "platforms": [
55
55
  "react"
56
56
  ]
@@ -81,7 +81,7 @@
81
81
  ]
82
82
  },
83
83
  "expandByDepth": {
84
- "type": "array",
84
+ "type": "{ [key: string]: string | number }",
85
85
  "platforms": [
86
86
  "react"
87
87
  ]
@@ -114,22 +114,6 @@
114
114
  ],
115
115
  "default": false
116
116
  },
117
- "maxHeight": {
118
- "type": "enum",
119
- "platforms": [
120
- "react"
121
- ],
122
- "values": [
123
- "auto",
124
- "xs",
125
- "sm",
126
- "md",
127
- "lg",
128
- "xl",
129
- "xxl",
130
- "xxxl"
131
- ]
132
- },
133
117
  "onRowToggleClick": {
134
118
  "type": "function",
135
119
  "platforms": [
@@ -149,18 +133,11 @@
149
133
  ]
150
134
  },
151
135
  "paginationProps": {
152
- "type": "GenericObject",
136
+ "type": "function",
153
137
  "platforms": [
154
138
  "react"
155
139
  ]
156
140
  },
157
- "pinnedRows": {
158
- "type": "GenericObject",
159
- "platforms": [
160
- "react",
161
- "rails"
162
- ]
163
- },
164
141
  "responsive": {
165
142
  "type": "enum",
166
143
  "platforms": [
@@ -224,12 +201,6 @@
224
201
  "react"
225
202
  ]
226
203
  },
227
- "stickyLeftColumn": {
228
- "type": "array",
229
- "platforms": [
230
- "react"
231
- ]
232
- },
233
204
  "tableData": {
234
205
  "type": "array",
235
206
  "platforms": [
@@ -286,29 +257,11 @@
286
257
  "react"
287
258
  ]
288
259
  },
289
- "enableSorting": {
290
- "type": "boolean",
291
- "platforms": [
292
- "react"
293
- ]
294
- },
295
- "sortIcon": {
296
- "type": "string | string[]",
297
- "platforms": [
298
- "react"
299
- ]
300
- },
301
- "collapsibleTrail": {
302
- "type": "boolean",
303
- "platforms": [
304
- "react"
305
- ]
306
- },
307
- "subRowHeaders": {
308
- "type": "array",
260
+ "pinnedRows": {
309
261
  "platforms": [
310
- "react"
311
- ]
262
+ "rails"
263
+ ],
264
+ "type": "string"
312
265
  }
313
266
  },
314
267
  "globalProps": true,
@@ -7,19 +7,6 @@
7
7
  "rails"
8
8
  ],
9
9
  "props": {
10
- "componentOverlay": {
11
- "type": "GenericObject",
12
- "platforms": [
13
- "react",
14
- "rails"
15
- ]
16
- },
17
- "dark": {
18
- "type": "boolean",
19
- "platforms": [
20
- "react"
21
- ]
22
- },
23
10
  "grayscale": {
24
11
  "type": "boolean",
25
12
  "platforms": [
@@ -78,6 +65,11 @@
78
65
  "offline",
79
66
  "online"
80
67
  ]
68
+ },
69
+ "componentOverlay": {
70
+ "platforms": [
71
+ "rails"
72
+ ]
81
73
  }
82
74
  },
83
75
  "globalProps": true,
@@ -156,20 +156,6 @@
156
156
  ],
157
157
  "default": null
158
158
  },
159
- "padding": {
160
- "type": "enum",
161
- "platforms": [
162
- "react"
163
- ],
164
- "values": [
165
- "none",
166
- "xs",
167
- "sm",
168
- "md",
169
- "lg",
170
- "xl"
171
- ]
172
- },
173
159
  "tag": {
174
160
  "type": "enum",
175
161
  "platforms": [
@@ -7,12 +7,6 @@
7
7
  "rails"
8
8
  ],
9
9
  "props": {
10
- "closeProps": {
11
- "type": "GenericObject",
12
- "platforms": [
13
- "react"
14
- ]
15
- },
16
10
  "removeIcon": {
17
11
  "type": "boolean",
18
12
  "platforms": [
@@ -23,12 +23,6 @@
23
23
  ],
24
24
  "default": "default"
25
25
  },
26
- "dark": {
27
- "type": "boolean",
28
- "platforms": [
29
- "react"
30
- ]
31
- },
32
26
  "highlightedText": {
33
27
  "type": "array",
34
28
  "platforms": [
@@ -15,6 +15,7 @@ type BreadCrumbsProps = {
15
15
  data?: {[key: string]: string},
16
16
  htmlOptions?: {[key: string]: string | number | boolean | (() => void)},
17
17
  id?: string,
18
+ text?: string,
18
19
  children?: React.ReactChild[] | React.ReactNode,
19
20
  }
20
21
  const BreadCrumbs = (props: BreadCrumbsProps): React.ReactElement => {
@@ -11,13 +11,6 @@ $pb_button_sizes: (
11
11
  "lg": ($font_large - 2px),
12
12
  );
13
13
 
14
- // Icon-only: fixed square hit targets (not derived from font padding).
15
- $pb_button_icon_only_dimensions: (
16
- "sm": 35px,
17
- "md": 40px,
18
- "lg": 45px,
19
- );
20
-
21
14
  // Base button class
22
15
  .pb_button_kit {
23
16
  @include pb_button;
@@ -120,26 +113,32 @@ $pb_button_icon_only_dimensions: (
120
113
  }
121
114
  }
122
115
 
123
- // Icon-only button (icon prop set, no text) fixed squares; icon scales via font-size from size prop.
124
- // Rails: .pb_button_icon_only; React: class or :has(...) when label is empty.
125
- // Rails uses a truly empty .pb_button_content; React wraps text in a child span (may be empty).
116
+ // Icon-only button (icon prop set, no text) - square with equal padding
117
+ // Rails: uses .pb_button_icon_only class
118
+ // React: when pb_button_content is empty (no text). Do not match when content has
119
+ // text + icon (e.g. "Exit Fullscreen" + FA icon) which can include empty spans.
126
120
  &.pb_button_icon_only,
127
121
  &:has(.pb_button_content:empty) {
128
122
  aspect-ratio: 1;
129
- box-sizing: border-box;
130
- $pb_button_icon_only_default: map-get($pb_button_icon_only_dimensions, "md");
131
- width: $pb_button_icon_only_default;
132
- min-width: $pb_button_icon_only_default;
133
- height: $pb_button_icon_only_default;
134
- min-height: $pb_button_icon_only_default;
135
- padding: 0 !important;
136
- @each $name, $dim in $pb_button_icon_only_dimensions {
137
- &.pb_button_size_#{$name} {
138
- width: $dim;
139
- min-width: $dim;
140
- height: $dim;
141
- min-height: $dim;
142
- }
123
+ min-width: auto;
124
+ width: auto;
125
+ height: auto;
126
+ padding: $pb_button_v_padding !important;
127
+ min-height: ($pb_button_v_padding * 2) + $font_small;
128
+
129
+ &.pb_button_size_sm {
130
+ padding: $font_smaller !important;
131
+ min-height: ($font_smaller * 2) + $font_smaller;
132
+ }
133
+
134
+ &.pb_button_size_md {
135
+ padding: $font_small !important;
136
+ min-height: ($font_small * 2) + $font_small;
137
+ }
138
+
139
+ &.pb_button_size_lg {
140
+ padding: ($font_large - 2px) !important;
141
+ min-height: (($font_large - 2px) * 2) + ($font_large - 2px);
143
142
  }
144
143
 
145
144
  // Remove margins from icons
@@ -73,10 +73,8 @@ module Playbook
73
73
  emoji_regex.match?(icon)
74
74
  end
75
75
 
76
- # Icon-only = icon with no label. Label may come from `text` or from a block (e.g. CopyButton);
77
- # block content must not be treated as icon-only when `text` is unset.
78
76
  def icon_only?
79
- icon.present? && text.blank? && children.blank? && variant != "reaction"
77
+ icon.present? && text.blank? && variant != "reaction"
80
78
  end
81
79
 
82
80
  def classname
@@ -9,6 +9,7 @@ type ButtonToolbarProps = {
9
9
  aria?: {[key: string]: string},
10
10
  children?: React.ReactChild[] | React.ReactChild,
11
11
  className?: string,
12
+ connected?: boolean,
12
13
  data?: {[key: string]: string},
13
14
  htmlOptions?: {[key: string]: string | number | boolean | (() => void)},
14
15
  id?: string,
@@ -7,6 +7,14 @@
7
7
  "rails"
8
8
  ],
9
9
  "props": {
10
+ "connected": {
11
+ "type": "boolean",
12
+ "platforms": [
13
+ "react",
14
+ "rails"
15
+ ],
16
+ "default": false
17
+ },
10
18
  "onClick": {
11
19
  "type": "ReactNode",
12
20
  "platforms": [
@@ -43,13 +51,6 @@
43
51
  "secondary"
44
52
  ],
45
53
  "default": "primary"
46
- },
47
- "connected": {
48
- "platforms": [
49
- "rails"
50
- ],
51
- "type": "boolean",
52
- "default": false
53
54
  }
54
55
  },
55
56
  "globalProps": true,
@@ -61,21 +61,6 @@
61
61
  ],
62
62
  "default": false
63
63
  },
64
- "borderRadius": {
65
- "type": "enum",
66
- "platforms": [
67
- "react"
68
- ],
69
- "values": [
70
- "xs",
71
- "sm",
72
- "md",
73
- "lg",
74
- "xl",
75
- "none",
76
- "rounded"
77
- ]
78
- },
79
64
  "dragId": {
80
65
  "type": "string",
81
66
  "platforms": [
@@ -99,25 +84,12 @@
99
84
  ],
100
85
  "default": true
101
86
  },
102
- "highlight": {
103
- "type": "GenericObject",
104
- "platforms": [
105
- "react",
106
- "rails"
107
- ]
108
- },
109
87
  "length": {
110
88
  "type": "number",
111
89
  "platforms": [
112
90
  "react"
113
91
  ]
114
92
  },
115
- "padding": {
116
- "type": "string",
117
- "platforms": [
118
- "react"
119
- ]
120
- },
121
93
  "selected": {
122
94
  "type": "boolean",
123
95
  "platforms": [
@@ -158,6 +130,12 @@
158
130
  ],
159
131
  "default": false
160
132
  },
133
+ "highlight": {
134
+ "platforms": [
135
+ "rails"
136
+ ],
137
+ "type": "string"
138
+ },
161
139
  "items": {
162
140
  "platforms": [
163
141
  "rails"
@@ -180,11 +158,11 @@
180
158
  "usage": {
181
159
  "react": {
182
160
  "import": "import { Card } from 'playbook-ui'",
183
- "example": "<Card background=\"white\" borderRadius=\"xs\"></Card>"
161
+ "example": "<Card background=\"white\" tag=\"div\"></Card>"
184
162
  },
185
163
  "rails": {
186
164
  "import": null,
187
- "example": "<%= pb_rails(\"card\", props: { background: \"white\", border_radius: \"xs\" }) %>"
165
+ "example": "<%= pb_rails(\"card\", props: { background: \"white\", tag: \"div\" }) %>"
188
166
  }
189
167
  }
190
168
  }
@@ -15,12 +15,6 @@
15
15
  ],
16
16
  "default": false
17
17
  },
18
- "dark": {
19
- "type": "boolean",
20
- "platforms": [
21
- "react"
22
- ]
23
- },
24
18
  "disabled": {
25
19
  "type": "boolean",
26
20
  "platforms": [
@@ -7,12 +7,6 @@
7
7
  "rails"
8
8
  ],
9
9
  "props": {
10
- "dark": {
11
- "type": "boolean",
12
- "platforms": [
13
- "react"
14
- ]
15
- },
16
10
  "disabled": {
17
11
  "type": "boolean",
18
12
  "platforms": [
@@ -34,24 +34,9 @@
34
34
  ]
35
35
  },
36
36
  "iconSize": {
37
- "type": "enum",
37
+ "type": "IconSizes",
38
38
  "platforms": [
39
39
  "react"
40
- ],
41
- "values": [
42
- "lg",
43
- "xs",
44
- "sm",
45
- "1x",
46
- "2x",
47
- "3x",
48
- "4x",
49
- "5x",
50
- "6x",
51
- "7x",
52
- "8x",
53
- "9x",
54
- "10x"
55
40
  ]
56
41
  },
57
42
  "onIconClick": {
@@ -95,11 +80,11 @@
95
80
  "usage": {
96
81
  "react": {
97
82
  "import": "import { Collapsible } from 'playbook-ui'",
98
- "example": "<Collapsible iconColor=\"default\" iconSize=\"lg\"></Collapsible>"
83
+ "example": "<Collapsible iconColor=\"default\" tag=\"h1\"></Collapsible>"
99
84
  },
100
85
  "rails": {
101
86
  "import": null,
102
- "example": "<%= pb_rails(\"collapsible\", props: { icon_color: \"default\", icon_size: \"lg\" }) %>"
87
+ "example": "<%= pb_rails(\"collapsible\", props: { icon_color: \"default\", tag: \"h1\" }) %>"
103
88
  }
104
89
  }
105
90
  }
@@ -28,12 +28,6 @@
28
28
  "rails"
29
29
  ]
30
30
  },
31
- "dark": {
32
- "type": "boolean",
33
- "platforms": [
34
- "react"
35
- ]
36
- },
37
31
  "iconEnabled": {
38
32
  "type": "boolean",
39
33
  "platforms": [
@@ -35,12 +35,6 @@
35
35
  "rails"
36
36
  ]
37
37
  },
38
- "dark": {
39
- "type": "boolean",
40
- "platforms": [
41
- "react"
42
- ]
43
- },
44
38
  "decimals": {
45
39
  "type": "enum",
46
40
  "platforms": [
@@ -20,26 +20,24 @@
20
20
  ],
21
21
  "default": "left"
22
22
  },
23
- "statChange": {
24
- "type": "GenericObject",
23
+ "statLabel": {
24
+ "type": "string statValue?: { unit?: string value?: string | number",
25
25
  "platforms": [
26
26
  "react",
27
27
  "rails"
28
28
  ]
29
29
  },
30
- "statLabel": {
31
- "type": "string",
30
+ "statChange": {
32
31
  "platforms": [
33
- "react",
34
32
  "rails"
35
- ]
33
+ ],
34
+ "type": "string"
36
35
  },
37
36
  "statValue": {
38
- "type": "GenericObject",
39
37
  "platforms": [
40
- "react",
41
38
  "rails"
42
- ]
39
+ ],
40
+ "type": "string"
43
41
  }
44
42
  },
45
43
  "globalProps": true,
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "props": {
10
10
  "alignment": {
11
- "type": "enum",
11
+ "type": "\"left\" | \"center\" | \"right\";",
12
12
  "platforms": [
13
13
  "react",
14
14
  "rails"
@@ -20,14 +20,8 @@
20
20
  ],
21
21
  "default": "left"
22
22
  },
23
- "dark": {
24
- "type": "boolean",
25
- "platforms": [
26
- "react"
27
- ]
28
- },
29
23
  "showDayOfWeek": {
30
- "type": "boolean",
24
+ "type": "boolean;",
31
25
  "platforms": [
32
26
  "react",
33
27
  "rails"
@@ -35,7 +29,7 @@
35
29
  "default": false
36
30
  },
37
31
  "showCurrentYear": {
38
- "type": "boolean",
32
+ "type": "boolean;",
39
33
  "platforms": [
40
34
  "react",
41
35
  "rails"
@@ -43,7 +37,7 @@
43
37
  "default": false
44
38
  },
45
39
  "showIcon": {
46
- "type": "boolean",
40
+ "type": "boolean;",
47
41
  "platforms": [
48
42
  "react",
49
43
  "rails"
@@ -51,20 +45,21 @@
51
45
  "default": false
52
46
  },
53
47
  "size": {
54
- "type": "enum",
48
+ "type": "\"sm\" | \"md\" | \"lg\";",
55
49
  "platforms": [
56
50
  "react",
57
51
  "rails"
58
52
  ],
59
53
  "values": [
60
- "sm",
54
+ "lg",
61
55
  "md",
62
- "lg"
56
+ "sm",
57
+ "xs"
63
58
  ],
64
59
  "default": "md"
65
60
  },
66
61
  "unstyled": {
67
- "type": "boolean",
62
+ "type": "boolean;",
68
63
  "platforms": [
69
64
  "react",
70
65
  "rails"
@@ -72,7 +67,7 @@
72
67
  "default": false
73
68
  },
74
69
  "value": {
75
- "type": "Date",
70
+ "type": "Date;",
76
71
  "platforms": [
77
72
  "react"
78
73
  ]
@@ -93,11 +88,11 @@
93
88
  "usage": {
94
89
  "react": {
95
90
  "import": "import { Date } from 'playbook-ui'",
96
- "example": "<Date alignment=\"left\" size=\"sm\"></Date>"
91
+ "example": "<Date alignment=\"left\" size=\"lg\"></Date>"
97
92
  },
98
93
  "rails": {
99
94
  "import": null,
100
- "example": "<%= pb_rails(\"date\", props: { alignment: \"left\", size: \"sm\" }) %>"
95
+ "example": "<%= pb_rails(\"date\", props: { alignment: \"left\", size: \"lg\" }) %>"
101
96
  }
102
97
  }
103
98
  }