playbook_ui 9.19.0 → 10.0.0.pre.alphafonts

Sign up to get free protection for your applications and to get access to all the features.
Files changed (333) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +5 -9
  3. data/app/pb_kits/playbook/_playbook.scss +0 -1
  4. data/app/pb_kits/playbook/_reset.scss +42 -0
  5. data/app/pb_kits/playbook/index.js +107 -107
  6. data/app/pb_kits/playbook/pb_avatar/_avatar.jsx +3 -2
  7. data/app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.jsx +3 -2
  8. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.jsx +2 -1
  9. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.jsx +2 -1
  10. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_on_click.jsx +2 -1
  11. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.jsx +2 -1
  12. data/app/pb_kits/playbook/pb_badge/_badge.jsx +3 -2
  13. data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.jsx +2 -1
  14. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx +2 -1
  15. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.jsx +2 -1
  16. data/app/pb_kits/playbook/pb_body/_body.jsx +4 -2
  17. data/app/pb_kits/playbook/pb_card/docs/_card_content.jsx +2 -1
  18. data/app/pb_kits/playbook/pb_card/docs/_card_header.jsx +4 -1
  19. data/app/pb_kits/playbook/pb_card/docs/_card_highlight.jsx +2 -1
  20. data/app/pb_kits/playbook/pb_card/docs/_card_padding.jsx +2 -1
  21. data/app/pb_kits/playbook/pb_card/docs/_card_separator.jsx +3 -2
  22. data/app/pb_kits/playbook/pb_card/docs/_card_shadow.jsx +2 -1
  23. data/app/pb_kits/playbook/pb_card/docs/_card_tag.jsx +2 -1
  24. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_checked.jsx +2 -1
  25. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_custom.jsx +2 -1
  26. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default.jsx +2 -1
  27. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.jsx +2 -2
  28. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.jsx +3 -1
  29. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.jsx +2 -1
  30. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.jsx +2 -1
  31. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_inner_sizes.jsx +2 -1
  32. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_live_data.jsx +3 -1
  33. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.jsx +2 -1
  34. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx +2 -1
  35. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_legend_kit.jsx +2 -1
  36. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx +2 -1
  37. data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.jsx +4 -5
  38. data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_default.jsx +2 -1
  39. data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_link.jsx +2 -1
  40. data/app/pb_kits/playbook/pb_collapsible/_collapsible.jsx +5 -3
  41. data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleContent.jsx +1 -1
  42. data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleMain.jsx +4 -3
  43. data/app/pb_kits/playbook/pb_collapsible/context.js +5 -0
  44. data/app/pb_kits/playbook/pb_contact/_contact.jsx +5 -2
  45. data/app/pb_kits/playbook/pb_currency/_currency.jsx +4 -1
  46. data/app/pb_kits/playbook/pb_currency/docs/_currency_alignment.jsx +2 -1
  47. data/app/pb_kits/playbook/pb_currency/docs/_currency_no_symbol.jsx +2 -1
  48. data/app/pb_kits/playbook/pb_currency/docs/_currency_size.jsx +2 -1
  49. data/app/pb_kits/playbook/pb_currency/docs/_currency_variants.jsx +2 -1
  50. data/app/pb_kits/playbook/pb_dashboard_value/_dashboard_value.jsx +4 -5
  51. data/app/pb_kits/playbook/pb_dashboard_value/docs/_dashboard_value_align.jsx +2 -1
  52. data/app/pb_kits/playbook/pb_dashboard_value/docs/_dashboard_value_default.jsx +2 -1
  53. data/app/pb_kits/playbook/pb_date/_date.jsx +8 -3
  54. data/app/pb_kits/playbook/pb_date_picker/_date_picker.jsx +7 -3
  55. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default.jsx +2 -1
  56. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx +2 -1
  57. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_disabled.jsx +2 -1
  58. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_error.jsx +2 -1
  59. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_flatpickr_methods.jsx +4 -1
  60. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_format.jsx +2 -1
  61. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_hide_icon.jsx +2 -1
  62. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_hooks.jsx +2 -1
  63. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_input.jsx +2 -1
  64. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_label.jsx +2 -1
  65. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_min_max.jsx +2 -1
  66. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.jsx +2 -1
  67. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_year_range.jsx +2 -1
  68. data/app/pb_kits/playbook/pb_date_picker/sass_partials/_header_styles.scss +2 -1
  69. data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.jsx +7 -3
  70. data/app/pb_kits/playbook/pb_date_range_stacked/_date_range_stacked.jsx +7 -2
  71. data/app/pb_kits/playbook/pb_date_stacked/_date_stacked.jsx +7 -3
  72. data/app/pb_kits/playbook/pb_date_time/_date_time.jsx +6 -2
  73. data/app/pb_kits/playbook/pb_date_time_stacked/_date_time_stacked.jsx +7 -2
  74. data/app/pb_kits/playbook/pb_date_time_stacked/docs/_date_time_stacked_default.jsx +2 -4
  75. data/app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.jsx +5 -3
  76. data/app/pb_kits/playbook/pb_dialog/_close_icon.jsx +1 -1
  77. data/app/pb_kits/playbook/pb_dialog/_dialog.jsx +12 -3
  78. data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_footer.jsx +4 -1
  79. data/app/pb_kits/playbook/pb_dialog/child_kits/_dialog_header.jsx +3 -1
  80. data/app/pb_kits/playbook/pb_dialog/docs/_dialog_default.jsx +3 -1
  81. data/app/pb_kits/playbook/pb_enhanced_element/index.js +2 -1
  82. data/app/pb_kits/playbook/pb_file_upload/_file_upload.jsx +5 -4
  83. data/app/pb_kits/playbook/pb_filter/Filter/CurrentFilters.jsx +4 -1
  84. data/app/pb_kits/playbook/pb_filter/Filter/FilterBackground.jsx +3 -1
  85. data/app/pb_kits/playbook/pb_filter/Filter/FilterDouble.jsx +3 -1
  86. data/app/pb_kits/playbook/pb_filter/Filter/FilterSingle.jsx +2 -1
  87. data/app/pb_kits/playbook/pb_filter/Filter/FiltersPopover.jsx +3 -1
  88. data/app/pb_kits/playbook/pb_filter/Filter/ResultsCount.jsx +3 -1
  89. data/app/pb_kits/playbook/pb_filter/Filter/SortMenu.jsx +6 -1
  90. data/app/pb_kits/playbook/pb_filter/docs/_filter_single.jsx +7 -1
  91. data/app/pb_kits/playbook/pb_filter/docs/_sort_only.jsx +2 -1
  92. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.jsx +5 -2
  93. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_close.jsx +2 -1
  94. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_default.jsx +2 -1
  95. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line.jsx +2 -1
  96. data/app/pb_kits/playbook/pb_form_group/docs/_form_group_button.jsx +4 -1
  97. data/app/pb_kits/playbook/pb_form_group/docs/_form_group_date_picker.jsx +5 -1
  98. data/app/pb_kits/playbook/pb_form_group/docs/_form_group_default.jsx +3 -1
  99. data/app/pb_kits/playbook/pb_form_group/docs/_form_group_full_width.jsx +4 -1
  100. data/app/pb_kits/playbook/pb_form_group/docs/_form_group_select.jsx +5 -1
  101. data/app/pb_kits/playbook/pb_form_group/docs/_form_group_selectable_card.jsx +3 -1
  102. data/app/pb_kits/playbook/pb_form_group/docs/_form_group_selectable_card_icon.jsx +3 -1
  103. data/app/pb_kits/playbook/pb_form_group/docs/_form_group_typeahead.jsx +5 -1
  104. data/app/pb_kits/playbook/pb_gauge/_gauge.jsx +3 -7
  105. data/app/pb_kits/playbook/pb_hashtag/_hashtag.jsx +3 -2
  106. data/app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx +3 -1
  107. data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.jsx +5 -2
  108. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_default.jsx +2 -1
  109. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis.jsx +2 -1
  110. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_modified.jsx +2 -1
  111. data/app/pb_kits/playbook/pb_icon/_icon.jsx +41 -21
  112. data/app/pb_kits/playbook/pb_icon/docs/_icon_animate.jsx +2 -1
  113. data/app/pb_kits/playbook/pb_icon/docs/_icon_border.jsx +2 -1
  114. data/app/pb_kits/playbook/pb_icon/docs/_icon_custom.jsx +34 -0
  115. data/app/pb_kits/playbook/pb_icon/docs/_icon_default.jsx +2 -1
  116. data/app/pb_kits/playbook/pb_icon/docs/_icon_flip.jsx +2 -1
  117. data/app/pb_kits/playbook/pb_icon/docs/_icon_pull.jsx +2 -1
  118. data/app/pb_kits/playbook/pb_icon/docs/_icon_rotate.jsx +2 -1
  119. data/app/pb_kits/playbook/pb_icon/docs/_icon_sizes.jsx +2 -1
  120. data/app/pb_kits/playbook/pb_icon/docs/example.yml +1 -0
  121. data/app/pb_kits/playbook/pb_icon/docs/index.js +1 -0
  122. data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.jsx +3 -2
  123. data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color.jsx +2 -1
  124. data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_default.jsx +2 -1
  125. data/app/pb_kits/playbook/pb_icon_stat_value/_icon_stat_value.jsx +7 -1
  126. data/app/pb_kits/playbook/pb_icon_value/_icon_value.jsx +3 -2
  127. data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_align.jsx +2 -1
  128. data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_default.jsx +2 -1
  129. data/app/pb_kits/playbook/pb_image/docs/_custom_error_image.jsx +4 -1
  130. data/app/pb_kits/playbook/pb_image/docs/_default_image.jsx +2 -1
  131. data/app/pb_kits/playbook/pb_image/docs/_rounded_image.jsx +2 -1
  132. data/app/pb_kits/playbook/pb_kit/dateTime.js +2 -2
  133. data/app/pb_kits/playbook/pb_label_pill/_label_pill.jsx +2 -1
  134. data/app/pb_kits/playbook/pb_label_pill/docs/_label_pill_default.jsx +2 -1
  135. data/app/pb_kits/playbook/pb_label_value/_label_value.jsx +7 -2
  136. data/app/pb_kits/playbook/pb_layout/docs/_layout_collection.jsx +4 -1
  137. data/app/pb_kits/playbook/pb_layout/docs/_layout_collection_detail.jsx +7 -1
  138. data/app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx +4 -1
  139. data/app/pb_kits/playbook/pb_layout/docs/_layout_content.jsx +4 -1
  140. data/app/pb_kits/playbook/pb_layout/docs/_layout_kanban.jsx +11 -12
  141. data/app/pb_kits/playbook/pb_layout/docs/_layout_kanban_responsive.jsx +5 -1
  142. data/app/pb_kits/playbook/pb_layout/docs/_layout_masonry.jsx +4 -1
  143. data/app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx +2 -1
  144. data/app/pb_kits/playbook/pb_layout/docs/_layout_transparent.jsx +2 -1
  145. data/app/pb_kits/playbook/pb_legend/_legend.jsx +4 -2
  146. data/app/pb_kits/playbook/pb_legend/docs/_legend_default.jsx +2 -1
  147. data/app/pb_kits/playbook/pb_line_graph/_line_graph.jsx +2 -1
  148. data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_default.jsx +2 -1
  149. data/app/pb_kits/playbook/pb_line_graph/docs/_line_graph_height.jsx +1 -1
  150. data/app/pb_kits/playbook/pb_list/docs/_list_borderless.jsx +2 -1
  151. data/app/pb_kits/playbook/pb_list/docs/_list_default.jsx +2 -1
  152. data/app/pb_kits/playbook/pb_list/docs/_list_layout_left.jsx +4 -1
  153. data/app/pb_kits/playbook/pb_list/docs/_list_layout_right.jsx +5 -1
  154. data/app/pb_kits/playbook/pb_list/docs/_list_lg.jsx +2 -1
  155. data/app/pb_kits/playbook/pb_list/docs/_list_ordered.jsx +2 -1
  156. data/app/pb_kits/playbook/pb_list/docs/_list_xpadding.jsx +2 -1
  157. data/app/pb_kits/playbook/pb_loading_inline/_loading_inline.jsx +3 -2
  158. data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_light.jsx +2 -1
  159. data/app/pb_kits/playbook/pb_logistic/_logistic.jsx +7 -2
  160. data/app/pb_kits/playbook/pb_message/_message.jsx +19 -6
  161. data/app/pb_kits/playbook/pb_message/docs/_message_default.html.erb +21 -0
  162. data/app/pb_kits/playbook/pb_message/docs/_message_default.jsx +34 -1
  163. data/app/pb_kits/playbook/pb_message/message.html.erb +9 -4
  164. data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.jsx +3 -1
  165. data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.jsx +4 -2
  166. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_default.jsx +2 -1
  167. data/app/pb_kits/playbook/pb_nav/_item.jsx +5 -2
  168. data/app/pb_kits/playbook/pb_nav/_nav.jsx +4 -2
  169. data/app/pb_kits/playbook/pb_nav/_vertical_nav.scss +2 -2
  170. data/app/pb_kits/playbook/pb_nav/docs/_block_nav.jsx +4 -2
  171. data/app/pb_kits/playbook/pb_nav/docs/_block_no_title_nav.jsx +3 -2
  172. data/app/pb_kits/playbook/pb_nav/docs/_borderless_nav.jsx +3 -2
  173. data/app/pb_kits/playbook/pb_nav/docs/_default_nav.jsx +3 -2
  174. data/app/pb_kits/playbook/pb_nav/docs/_horizontal_nav.jsx +3 -2
  175. data/app/pb_kits/playbook/pb_nav/docs/_new_tab.jsx +3 -2
  176. data/app/pb_kits/playbook/pb_nav/docs/_no_highlight_nav.jsx +3 -2
  177. data/app/pb_kits/playbook/pb_nav/docs/_subtle_horizontal_nav.jsx +3 -2
  178. data/app/pb_kits/playbook/pb_nav/docs/_subtle_nav.jsx +3 -2
  179. data/app/pb_kits/playbook/pb_nav/docs/_subtle_no_highlight_nav.jsx +3 -2
  180. data/app/pb_kits/playbook/pb_nav/docs/_subtle_with_icons_nav.jsx +3 -2
  181. data/app/pb_kits/playbook/pb_nav/docs/_with_icons_nav.jsx +3 -2
  182. data/app/pb_kits/playbook/pb_nav/docs/_with_img_nav.jsx +3 -2
  183. data/app/pb_kits/playbook/pb_online_status/docs/_online_status_default.jsx +2 -1
  184. data/app/pb_kits/playbook/pb_passphrase/_passphrase.jsx +11 -2
  185. data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_breached.jsx +2 -1
  186. data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_common.jsx +3 -1
  187. data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_default.jsx +2 -1
  188. data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_input_props.jsx +2 -1
  189. data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_meter_settings.jsx +4 -1
  190. data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_strength_change.jsx +4 -1
  191. data/app/pb_kits/playbook/pb_passphrase/docs/_passphrase_tips.jsx +2 -1
  192. data/app/pb_kits/playbook/pb_person/_person.jsx +3 -2
  193. data/app/pb_kits/playbook/pb_person/docs/_person_default.jsx +2 -1
  194. data/app/pb_kits/playbook/pb_person_contact/_person_contact.jsx +5 -8
  195. data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_default.jsx +2 -1
  196. data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_multiple.jsx +2 -1
  197. data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_with_detail.jsx +2 -1
  198. data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_with_wrong_numbers.jsx +2 -1
  199. data/app/pb_kits/playbook/pb_progress_pills/_progress_pills.jsx +4 -7
  200. data/app/pb_kits/playbook/pb_progress_step/_progress_step_item.jsx +3 -1
  201. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.jsx +1 -0
  202. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.jsx +5 -2
  203. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker_click_events.jsx +6 -2
  204. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.jsx +1 -0
  205. data/app/pb_kits/playbook/pb_radio/docs/_radio_custom.jsx +2 -1
  206. data/app/pb_kits/playbook/pb_radio/docs/_radio_default.jsx +2 -1
  207. data/app/pb_kits/playbook/pb_rich_text_editor/_rich_text_editor.jsx +10 -8
  208. data/app/pb_kits/playbook/pb_section_separator/_section_separator.jsx +4 -2
  209. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical.jsx +5 -1
  210. data/app/pb_kits/playbook/pb_select/_select.jsx +6 -13
  211. data/app/pb_kits/playbook/pb_select/_select.scss +1 -1
  212. data/app/pb_kits/playbook/pb_select/docs/_select_blank.jsx +2 -1
  213. data/app/pb_kits/playbook/pb_select/docs/_select_custom_select.jsx +2 -1
  214. data/app/pb_kits/playbook/pb_select/docs/_select_default.jsx +2 -1
  215. data/app/pb_kits/playbook/pb_select/docs/_select_disabled.jsx +2 -1
  216. data/app/pb_kits/playbook/pb_select/docs/_select_disabled_options.jsx +2 -1
  217. data/app/pb_kits/playbook/pb_select/docs/_select_required.jsx +2 -1
  218. data/app/pb_kits/playbook/pb_select/docs/_select_value_text_same.jsx +2 -1
  219. data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.jsx +6 -3
  220. data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_block.jsx +5 -1
  221. data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_image.jsx +4 -5
  222. data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_input.jsx +4 -5
  223. data/app/pb_kits/playbook/pb_selectable_card_icon/_selectable_card_icon.jsx +5 -2
  224. data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_checkmark.jsx +2 -1
  225. data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_default.jsx +2 -1
  226. data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_single_select.jsx +2 -1
  227. data/app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.jsx +3 -2
  228. data/app/pb_kits/playbook/pb_selectable_icon/docs/_selectable_icon_default.jsx +2 -1
  229. data/app/pb_kits/playbook/pb_selectable_icon/docs/_selectable_icon_single_select.jsx +2 -1
  230. data/app/pb_kits/playbook/pb_selectable_list/_item.jsx +7 -2
  231. data/app/pb_kits/playbook/pb_selectable_list/_selectable_list.jsx +4 -2
  232. data/app/pb_kits/playbook/pb_source/_source.jsx +8 -13
  233. data/app/pb_kits/playbook/pb_source/docs/_source_default.jsx +2 -1
  234. data/app/pb_kits/playbook/pb_source/docs/_source_noicon.jsx +2 -1
  235. data/app/pb_kits/playbook/pb_source/docs/_source_types.jsx +2 -1
  236. data/app/pb_kits/playbook/pb_star_rating/_star_rating.jsx +2 -7
  237. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_default.jsx +2 -1
  238. data/app/pb_kits/playbook/pb_star_rating/docs/_star_rating_hide.jsx +2 -1
  239. data/app/pb_kits/playbook/pb_stat_change/_stat_change.jsx +4 -2
  240. data/app/pb_kits/playbook/pb_stat_value/_stat_value.jsx +3 -2
  241. data/app/pb_kits/playbook/pb_stat_value/docs/_stat_value_default.jsx +2 -1
  242. data/app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx +3 -2
  243. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column.jsx +2 -1
  244. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_row.jsx +2 -1
  245. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_data.jsx +2 -1
  246. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_shift_row.jsx +2 -1
  247. data/app/pb_kits/playbook/pb_table/docs/_table_container.jsx +2 -1
  248. data/app/pb_kits/playbook/pb_table/docs/_table_data_table.jsx +2 -1
  249. data/app/pb_kits/playbook/pb_table/docs/_table_disable_hover.jsx +2 -1
  250. data/app/pb_kits/playbook/pb_table/docs/_table_icon_buttons.jsx +6 -2
  251. data/app/pb_kits/playbook/pb_table/docs/_table_lg.jsx +2 -1
  252. data/app/pb_kits/playbook/pb_table/docs/_table_md.jsx +2 -1
  253. data/app/pb_kits/playbook/pb_table/docs/_table_multiline.jsx +2 -1
  254. data/app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx +3 -2
  255. data/app/pb_kits/playbook/pb_table/docs/_table_responsive_table.jsx +3 -1
  256. data/app/pb_kits/playbook/pb_table/docs/_table_side_highlight.jsx +3 -1
  257. data/app/pb_kits/playbook/pb_table/docs/_table_single_line.jsx +2 -1
  258. data/app/pb_kits/playbook/pb_table/docs/_table_sm.jsx +2 -1
  259. data/app/pb_kits/playbook/pb_table/docs/_table_two_actions.jsx +3 -2
  260. data/app/pb_kits/playbook/pb_table/docs/_table_two_plus_actions.jsx +3 -2
  261. data/app/pb_kits/playbook/pb_text_input/_text_input.jsx +7 -2
  262. data/app/pb_kits/playbook/pb_text_input/_text_input.scss +1 -1
  263. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_add_on.jsx +2 -1
  264. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_custom.jsx +2 -1
  265. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_default.jsx +4 -5
  266. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_disabled.jsx +2 -1
  267. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx +2 -1
  268. data/app/pb_kits/playbook/pb_textarea/_textarea.jsx +9 -3
  269. data/app/pb_kits/playbook/pb_textarea/_textarea.scss +3 -3
  270. data/app/pb_kits/playbook/pb_textarea/docs/_textarea_character_counter.jsx +2 -1
  271. data/app/pb_kits/playbook/pb_textarea/docs/_textarea_custom.jsx +2 -1
  272. data/app/pb_kits/playbook/pb_textarea/docs/_textarea_default.jsx +2 -1
  273. data/app/pb_kits/playbook/pb_textarea/docs/_textarea_resize.jsx +2 -1
  274. data/app/pb_kits/playbook/pb_time/_time.jsx +3 -1
  275. data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.jsx +7 -3
  276. data/app/pb_kits/playbook/pb_time_stacked/_time_stacked.jsx +3 -2
  277. data/app/pb_kits/playbook/pb_timeline/_item.jsx +4 -1
  278. data/app/pb_kits/playbook/pb_timeline/_timeline.jsx +3 -1
  279. data/app/pb_kits/playbook/pb_timeline/docs/_timeline_default.jsx +4 -2
  280. data/app/pb_kits/playbook/pb_timeline/docs/_timeline_vertical.jsx +4 -2
  281. data/app/pb_kits/playbook/pb_timeline/docs/_timeline_with_date.jsx +3 -2
  282. data/app/pb_kits/playbook/pb_timestamp/_timestamp.jsx +5 -3
  283. data/app/pb_kits/playbook/pb_title/_title.scss +1 -1
  284. data/app/pb_kits/playbook/pb_title/_title_mixin.scss +1 -40
  285. data/app/pb_kits/playbook/pb_title/docs/_title_light.jsx +2 -1
  286. data/app/pb_kits/playbook/pb_title/docs/_title_variants.jsx +2 -1
  287. data/app/pb_kits/playbook/pb_title_count/_title_count.jsx +3 -2
  288. data/app/pb_kits/playbook/pb_title_count/docs/_title_count_align.jsx +2 -1
  289. data/app/pb_kits/playbook/pb_title_count/docs/_title_count_default.jsx +2 -1
  290. data/app/pb_kits/playbook/pb_title_detail/_title_detail.jsx +4 -3
  291. data/app/pb_kits/playbook/pb_title_detail/docs/_title_detail_default.jsx +2 -1
  292. data/app/pb_kits/playbook/pb_typeahead/_typeahead.jsx +18 -15
  293. data/app/pb_kits/playbook/pb_typeahead/components/Control.jsx +2 -4
  294. data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.jsx +2 -1
  295. data/app/pb_kits/playbook/pb_typeahead/components/Option.jsx +1 -3
  296. data/app/pb_kits/playbook/pb_typeahead/components/Placeholder.jsx +3 -1
  297. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.jsx +2 -1
  298. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_inline.jsx +2 -1
  299. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_multi_kit.jsx +2 -1
  300. data/app/pb_kits/playbook/pb_user/_user.jsx +6 -2
  301. data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_default.jsx +2 -1
  302. data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_size.jsx +2 -1
  303. data/app/pb_kits/playbook/pb_weekday_stacked/_weekday_stacked.jsx +6 -5
  304. data/app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_compact.jsx +2 -3
  305. data/app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_default.jsx +2 -3
  306. data/app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_variant.jsx +2 -3
  307. data/app/pb_kits/playbook/playbook-doc.js +195 -0
  308. data/app/pb_kits/playbook/playbook-rails-react-bindings.js +35 -0
  309. data/app/pb_kits/playbook/{vendor.js → playbook-rails.js} +1 -5
  310. data/app/pb_kits/playbook/plugins/pb_chart.js +6 -4
  311. data/app/pb_kits/playbook/tokens/_colors.scss +4 -0
  312. data/app/pb_kits/playbook/tokens/_titles.scss +38 -0
  313. data/app/pb_kits/playbook/utilities/_colors.scss +0 -4
  314. data/dist/reset.css +61 -1
  315. data/lib/playbook.rb +1 -15
  316. data/lib/playbook/engine.rb +11 -21
  317. data/lib/playbook/props/nested_props.rb +1 -1
  318. data/lib/playbook/version.rb +2 -2
  319. metadata +22 -136
  320. data/app/assets/images/clark.jpg +0 -0
  321. data/app/assets/images/full_page_samples.svg +0 -7
  322. data/app/assets/images/giant.jpg +0 -0
  323. data/app/assets/images/github-brands.svg +0 -1
  324. data/app/assets/images/landing-background.svg +0 -36
  325. data/app/assets/images/landing-image.svg +0 -203
  326. data/app/assets/images/pb-caret.svg +0 -1
  327. data/app/assets/images/pb-check.svg +0 -11
  328. data/app/assets/images/pb-logo.svg +0 -28
  329. data/app/assets/images/pb-white-logo.svg +0 -15
  330. data/app/assets/images/pb.logo.svg +0 -28
  331. data/app/pb_kits/playbook/react_rails_kits.js +0 -13
  332. data/app/pb_kits/playbook/tokens/_fonts.scss +0 -97
  333. data/app/pb_kits/playbook/utilities/accessibility.js +0 -22
@@ -5,7 +5,7 @@ import Select from 'react-select'
5
5
  import AsyncSelect from 'react-select/async'
6
6
  import CreateableSelect from 'react-select/creatable'
7
7
  import AsyncCreateableSelect from 'react-select/async-creatable'
8
- import { get } from 'lodash'
8
+ import { get, isString, uniqueId } from 'lodash'
9
9
  import { globalProps } from '../utilities/globalProps.js'
10
10
  import classnames from 'classnames'
11
11
 
@@ -27,23 +27,24 @@ import { noop } from '../utilities/props'
27
27
  * @prop {string} label - the text for the optional typeahead input label
28
28
  */
29
29
 
30
- type Props = {
30
+ type TypeaheadProps = {
31
+ id?: string,
31
32
  async?: boolean,
32
33
  createable?: boolean,
33
34
  dark?: boolean,
34
35
  label?: string,
35
- loadOptions?: noop | string,
36
- getOptionLabel?: () => any,
37
- getOptionValue?: () => any,
36
+ loadOptions?: string,
37
+ getOptionLabel?: string | (() => any),
38
+ getOptionValue?: string | (() => any),
38
39
  name?: string,
39
40
  }
40
41
 
41
42
  /**
42
43
  * @constant {React.ReactComponent} Typeahead
43
- * @param {Props} props - props as described at https://react-select.com/props
44
+ * @param {TypeaheadProps} props - props as described at https://react-select.com/props
44
45
  */
45
46
 
46
- const Typeahead = (props: Props) => {
47
+ const Typeahead = ({ loadOptions = noop, getOptionLabel, id, getOptionValue, createable, async, ...props }: TypeaheadProps) => {
47
48
  const selectProps = {
48
49
  cacheOptions: true,
49
50
  components: {
@@ -57,8 +58,11 @@ const Typeahead = (props: Props) => {
57
58
  Placeholder,
58
59
  ValueContainer,
59
60
  },
61
+ loadOptions: isString(loadOptions) ? get(window, loadOptions) : loadOptions,
62
+ getOptionLabel: isString(getOptionLabel) ? get(window, getOptionLabel) : getOptionLabel,
63
+ getOptionValue: isString(getOptionValue) ? get(window, getOptionValue) : getOptionValue,
60
64
  defaultOptions: true,
61
- id: 'react-select-input',
65
+ id: id || uniqueId(),
62
66
  inline: false,
63
67
  isClearable: true,
64
68
  isSearchable: true,
@@ -69,14 +73,13 @@ const Typeahead = (props: Props) => {
69
73
  ...props,
70
74
  }
71
75
 
72
- if (typeof(props.loadOptions) === 'string') selectProps.loadOptions = get(window, props.loadOptions)
73
- if (typeof(props.getOptionLabel) === 'string') selectProps.getOptionLabel = get(window, props.getOptionLabel)
74
- if (typeof(props.getOptionValue) === 'string') selectProps.getOptionValue = get(window, props.getOptionValue)
75
-
76
- let Tag = props.async ? AsyncSelect : Select
77
- if (props.createable) Tag = props.async ? AsyncCreateableSelect : CreateableSelect
76
+ const Tag = (
77
+ createable
78
+ ? (async ? AsyncCreateableSelect : CreateableSelect)
79
+ : (async ? AsyncSelect : Select)
80
+ )
78
81
 
79
- const handleOnChange = (data, { action, option, removedValue }) => {
82
+ const handleOnChange = (_data, { action, option, removedValue }) => {
80
83
  if (action === 'select-option') {
81
84
  if (selectProps.onMultiValueClick) selectProps.onMultiValueClick(option)
82
85
  const multiValueClearEvent = new CustomEvent(`pb-typeahead-kit-${selectProps.id}-result-option-select`, { detail: option })
@@ -3,10 +3,8 @@
3
3
  import React from 'react'
4
4
  import { components } from 'react-select'
5
5
 
6
- import {
7
- Flex,
8
- TextInput,
9
- } from '../..'
6
+ import Flex from '../../pb_flex/_flex'
7
+ import TextInput from '../../pb_text_input/_text_input'
10
8
 
11
9
  type Props = {
12
10
  selectProps: any,
@@ -3,7 +3,8 @@
3
3
  import React from 'react'
4
4
  import { components } from 'react-select'
5
5
 
6
- import { Badge, FormPill } from '../../'
6
+ import Badge from '../../pb_badge/_badge'
7
+ import FormPill from '../../pb_form_pill/_form_pill'
7
8
 
8
9
  type Props = {
9
10
  data: object,
@@ -3,9 +3,7 @@
3
3
  import React from 'react'
4
4
  import { components } from 'react-select'
5
5
 
6
- import {
7
- User,
8
- } from '../../'
6
+ import User from '../../pb_user/_user'
9
7
 
10
8
  const Option = (props: any) => {
11
9
  const {
@@ -1,9 +1,11 @@
1
1
  /* @flow */
2
2
 
3
3
  import React from 'react'
4
- import { Flex, Icon } from '../../'
5
4
  import { components } from 'react-select'
6
5
 
6
+ import Flex from '../../pb_flex/_flex'
7
+ import Icon from '../../pb_icon/_icon'
8
+
7
9
  const Placeholder = (props: any) => (
8
10
  <>
9
11
  <Flex
@@ -1,7 +1,8 @@
1
1
  // @flow
2
2
 
3
3
  import React from 'react'
4
- import { Typeahead } from '../../'
4
+
5
+ import Typeahead from '../_typeahead'
5
6
 
6
7
  const options = [
7
8
  { label: 'Orange', value: '#FFA500' },
@@ -1,7 +1,8 @@
1
1
  // @flow
2
2
 
3
3
  import React from 'react'
4
- import { Typeahead } from '../../'
4
+
5
+ import Typeahead from '../_typeahead'
5
6
 
6
7
  const synths = [
7
8
  { label: 'Oberheim', value: 'OBXa' },
@@ -1,7 +1,8 @@
1
1
  // @flow
2
2
 
3
3
  import React from 'react'
4
- import { Typeahead } from '../../'
4
+
5
+ import Typeahead from '../_typeahead'
5
6
 
6
7
  const labels = [
7
8
  { label: 'Verve', value: '1956' },
@@ -2,9 +2,13 @@
2
2
 
3
3
  import React from 'react'
4
4
  import classnames from 'classnames'
5
+
5
6
  import { buildAriaProps, buildCss, buildDataProps } from '../utilities/props'
6
- import { Avatar, Body, Title } from '../'
7
- import { globalProps } from '../utilities/globalProps.js'
7
+ import { globalProps } from '../utilities/globalProps'
8
+
9
+ import Avatar from '../pb_avatar/_avatar'
10
+ import Body from '../pb_body/_body'
11
+ import Title from '../pb_title/_title'
8
12
 
9
13
  type UserProps = {
10
14
  align?: "left" | "center" | "right",
@@ -1,5 +1,6 @@
1
1
  import React from 'react'
2
- import { UserBadge } from '../../'
2
+
3
+ import UserBadge from '../_user_badge'
3
4
 
4
5
  const UserBadgeDefault = () => {
5
6
  return (
@@ -1,5 +1,6 @@
1
1
  import React from 'react'
2
- import { UserBadge } from '../../'
2
+
3
+ import UserBadge from '../_user_badge'
3
4
 
4
5
  const UserBadgeSize = () => {
5
6
  return (
@@ -5,7 +5,8 @@ import classnames from 'classnames'
5
5
  import { globalProps } from '../utilities/globalProps.js'
6
6
  import { buildAriaProps, buildCss, buildDataProps } from '../utilities/props'
7
7
 
8
- import { Caption, Title } from '../'
8
+ import Caption from '../pb_caption/_caption'
9
+ import Title from '../pb_title/_title'
9
10
 
10
11
  import DateTime from '../pb_kit/dateTime.js'
11
12
 
@@ -22,8 +23,8 @@ type WeekdayStackedProps = {
22
23
  id?: string,
23
24
  }
24
25
 
25
- const getDayOfWeek = (date, compact) => {
26
- const dateTime = new DateTime({ value: date })
26
+ const getDayOfWeek = (value, compact) => {
27
+ const dateTime = new DateTime({ value })
27
28
  if (compact) {
28
29
  return dateTime.toDayAbbr()
29
30
  } else {
@@ -31,8 +32,8 @@ const getDayOfWeek = (date, compact) => {
31
32
  }
32
33
  }
33
34
 
34
- const getFormattedDate = (date, variant) => {
35
- const dateTime = new DateTime({ value: date })
35
+ const getFormattedDate = (value, variant) => {
36
+ const dateTime = new DateTime({ value })
36
37
  if (variant === 'day_only') {
37
38
  return dateTime.toDay()
38
39
  } else {
@@ -1,7 +1,6 @@
1
1
  import React from 'react'
2
- import {
3
- WeekdayStacked,
4
- } from '../../'
2
+
3
+ import WeekdayStacked from '../_weekday_stacked'
5
4
 
6
5
  const WeekdayStackedCompact = (props) => (
7
6
  <div>
@@ -1,7 +1,6 @@
1
1
  import React from 'react'
2
- import {
3
- WeekdayStacked,
4
- } from '../../'
2
+
3
+ import WeekdayStacked from '../_weekday_stacked'
5
4
 
6
5
  const WeekdayStackedDefault = (props) => (
7
6
  <div>
@@ -1,7 +1,6 @@
1
1
  import React from 'react'
2
- import {
3
- WeekdayStacked,
4
- } from '../../'
2
+
3
+ import WeekdayStacked from '../_weekday_stacked'
5
4
 
6
5
  const WeekdayStackedVariant = (props) => (
7
6
  <div>
@@ -0,0 +1,195 @@
1
+ // !!! IMPORTANT: This file is autogenerated. Please do not edit.!!!
2
+ import WebpackerReact from 'webpacker-react'
3
+ import ujs from 'webpacker-react/ujs'
4
+
5
+ // KIT EXAMPLES
6
+ import 'pb_form/pb_form_validation'
7
+ import * as Avatar from 'pb_avatar/docs'
8
+ import * as AvatarActionButton from 'pb_avatar_action_button/docs'
9
+ import * as Background from 'pb_background/docs'
10
+ import * as Badge from 'pb_badge/docs'
11
+ import * as BarGraphDocs from 'pb_bar_graph/docs'
12
+ import * as Body from 'pb_body/docs'
13
+ import * as BreadCrumbs from 'pb_bread_crumbs/docs'
14
+ import * as Button from 'pb_button/docs'
15
+ import * as ButtonToolbar from 'pb_button_toolbar/docs'
16
+ import * as Caption from 'pb_caption/docs'
17
+ import * as Card from 'pb_card/docs'
18
+ import * as Checkbox from 'pb_checkbox/docs'
19
+ import * as CircleChart from 'pb_circle_chart/docs'
20
+ import * as CircleIconButton from 'pb_circle_icon_button/docs'
21
+ import * as Collapsible from 'pb_collapsible/docs'
22
+ import * as Contact from 'pb_contact/docs'
23
+ import * as Currency from 'pb_currency/docs'
24
+ import * as DashboardValue from 'pb_dashboard_value/docs'
25
+ import * as Date from 'pb_date/docs'
26
+ import * as DatePicker from 'pb_date_picker/docs'
27
+ import * as DateRangeInline from 'pb_date_range_inline/docs'
28
+ import * as DateRangeStacked from 'pb_date_range_stacked/docs'
29
+ import * as DateStacked from 'pb_date_stacked/docs'
30
+ import * as DateTime from 'pb_date_time/docs'
31
+ import * as DateTimeStacked from 'pb_date_time_stacked/docs'
32
+ import * as DateYearStacked from 'pb_date_year_stacked/docs'
33
+ import * as Dialog from 'pb_dialog/docs'
34
+ import * as DistributionBarDocs from 'pb_distribution_bar/docs'
35
+ import * as FileUpload from 'pb_file_upload/docs'
36
+ import * as Filter from 'pb_filter/docs'
37
+ import * as FixedConfirmationToast from 'pb_fixed_confirmation_toast/docs'
38
+ import * as Flex from 'pb_flex/docs'
39
+ import * as FormGroup from 'pb_form_group/docs'
40
+ import * as FormPill from 'pb_form_pill/docs'
41
+ import * as Gauge from 'pb_gauge/docs'
42
+ import * as Hashtag from 'pb_hashtag/docs'
43
+ import * as Highlight from 'pb_highlight/docs'
44
+ import * as HomeAddressStreet from 'pb_home_address_street/docs'
45
+ import * as Icon from 'pb_icon/docs'
46
+ import * as IconCircle from 'pb_icon_circle/docs'
47
+ import * as IconStatValue from 'pb_icon_stat_value/docs'
48
+ import * as IconValue from 'pb_icon_value/docs'
49
+ import * as Image from 'pb_image/docs'
50
+ import * as LabelPill from 'pb_label_pill/docs'
51
+ import * as LabelValue from 'pb_label_value/docs'
52
+ import * as Layout from 'pb_layout/docs'
53
+ import * as LegendDocs from 'pb_legend/docs'
54
+ import * as LineGraphDocs from 'pb_line_graph/docs'
55
+ import * as List from 'pb_list/docs'
56
+ import * as LoadingInline from 'pb_loading_inline/docs'
57
+ import * as Message from 'pb_message/docs'
58
+ import * as MultipleUsers from 'pb_multiple_users/docs'
59
+ import * as MultipleUsersStacked from 'pb_multiple_users_stacked/docs'
60
+ import * as Nav from 'pb_nav/docs'
61
+ import * as OnlineStatus from 'pb_online_status/docs'
62
+ import * as Passphrase from 'pb_passphrase/docs'
63
+ import * as PbReactPopover from 'pb_popover/docs'
64
+ import * as Person from 'pb_person/docs'
65
+ import * as PersonContact from 'pb_person_contact/docs'
66
+ import * as Pill from 'pb_pill/docs'
67
+ import * as ProgressPills from 'pb_progress_pills/docs'
68
+ import * as ProgressSimple from 'pb_progress_simple/docs'
69
+ import * as ProgressStep from 'pb_progress_step/docs'
70
+ import * as Radio from 'pb_radio/docs'
71
+ import * as RichTextEditor from 'pb_rich_text_editor/docs'
72
+ import * as SectionSeparator from 'pb_section_separator/docs'
73
+ import * as Select from 'pb_select/docs'
74
+ import * as SelectableCard from 'pb_selectable_card/docs'
75
+ import * as SelectableCardIcon from 'pb_selectable_card_icon/docs'
76
+ import * as SelectableIcon from 'pb_selectable_icon/docs'
77
+ import * as SelectableList from 'pb_selectable_list/docs'
78
+ import * as Source from 'pb_source/docs'
79
+ import * as StarRating from 'pb_star_rating/docs'
80
+ import * as StatChange from 'pb_stat_change/docs'
81
+ import * as StatValue from 'pb_stat_value/docs'
82
+ import * as Table from 'pb_table/docs'
83
+ import * as TextInput from 'pb_text_input/docs'
84
+ import * as Textarea from 'pb_textarea/docs'
85
+ import * as Time from 'pb_time/docs'
86
+ import * as TimeRangeInline from 'pb_time_range_inline/docs'
87
+ import * as TimeStacked from 'pb_time_stacked/docs'
88
+ import * as Timeline from 'pb_timeline/docs'
89
+ import * as Timestamp from 'pb_timestamp/docs'
90
+ import * as Title from 'pb_title/docs'
91
+ import * as TitleCount from 'pb_title_count/docs'
92
+ import * as TitleDetail from 'pb_title_detail/docs'
93
+ import * as Toggle from 'pb_toggle/docs'
94
+ import * as Typeahead from 'pb_typeahead/docs'
95
+ import * as User from 'pb_user/docs'
96
+ import * as UserBadge from 'pb_user_badge/docs'
97
+ import * as WeekdayStacked from 'pb_weekday_stacked/docs'
98
+
99
+ WebpackerReact.registerComponents({
100
+ ...Avatar,
101
+ ...AvatarActionButton,
102
+ ...Background,
103
+ ...Badge,
104
+ ...BarGraphDocs,
105
+ ...Body,
106
+ ...BreadCrumbs,
107
+ ...Button,
108
+ ...ButtonToolbar,
109
+ ...Caption,
110
+ ...Card,
111
+ ...Checkbox,
112
+ ...CircleChart,
113
+ ...CircleIconButton,
114
+ ...Collapsible,
115
+ ...Contact,
116
+ ...Currency,
117
+ ...DashboardValue,
118
+ ...Date,
119
+ ...DatePicker,
120
+ ...DateRangeInline,
121
+ ...DateRangeStacked,
122
+ ...DateStacked,
123
+ ...DateTime,
124
+ ...DateTimeStacked,
125
+ ...DateYearStacked,
126
+ ...Dialog,
127
+ ...DistributionBarDocs,
128
+ ...FileUpload,
129
+ ...Filter,
130
+ ...FixedConfirmationToast,
131
+ ...Flex,
132
+ ...FormGroup,
133
+ ...FormPill,
134
+ ...Gauge,
135
+ ...Hashtag,
136
+ ...Highlight,
137
+ ...HomeAddressStreet,
138
+ ...Icon,
139
+ ...IconCircle,
140
+ ...IconStatValue,
141
+ ...IconValue,
142
+ ...Image,
143
+ ...LabelPill,
144
+ ...LabelValue,
145
+ ...Layout,
146
+ ...LegendDocs,
147
+ ...LineGraphDocs,
148
+ ...List,
149
+ ...LoadingInline,
150
+ ...Message,
151
+ ...MultipleUsers,
152
+ ...MultipleUsersStacked,
153
+ ...Nav,
154
+ ...OnlineStatus,
155
+ ...Passphrase,
156
+ ...PbReactPopover,
157
+ ...Person,
158
+ ...PersonContact,
159
+ ...Pill,
160
+ ...ProgressPills,
161
+ ...ProgressSimple,
162
+ ...ProgressStep,
163
+ ...Radio,
164
+ ...RichTextEditor,
165
+ ...SectionSeparator,
166
+ ...Select,
167
+ ...SelectableCard,
168
+ ...SelectableCardIcon,
169
+ ...SelectableIcon,
170
+ ...SelectableList,
171
+ ...Source,
172
+ ...StarRating,
173
+ ...StatChange,
174
+ ...StatValue,
175
+ ...Table,
176
+ ...TextInput,
177
+ ...Textarea,
178
+ ...Time,
179
+ ...TimeRangeInline,
180
+ ...TimeStacked,
181
+ ...Timeline,
182
+ ...Timestamp,
183
+ ...Title,
184
+ ...TitleCount,
185
+ ...TitleDetail,
186
+ ...Toggle,
187
+ ...Typeahead,
188
+ ...User,
189
+ ...UserBadge,
190
+ ...WeekdayStacked,
191
+ })
192
+ ujs.setup(
193
+ () => WebpackerReact.mountComponents(),
194
+ () => WebpackerReact.unmountComponents()
195
+ )