playbook_ui 7.0.0.pre.alpha10 → 7.0.0.pre.alpha11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (351) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -2
  3. data/app/controllers/playbook/application_controller.rb +2 -0
  4. data/app/helpers/playbook/application_helper.rb +19 -0
  5. data/app/helpers/playbook/pb_kit_helper.rb +18 -3
  6. data/app/pb_kits/playbook/config/_kit_example.html.erb +3 -3
  7. data/app/pb_kits/playbook/config/_kit_ui.html.erb +2 -1
  8. data/app/pb_kits/playbook/config/_pb_kit_api.html.erb +10 -12
  9. data/app/pb_kits/playbook/index.js +1 -0
  10. data/app/pb_kits/playbook/pb_avatar/_avatar.jsx +13 -4
  11. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx +6 -1
  12. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_monogram.jsx +6 -1
  13. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_status.jsx +5 -1
  14. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.jsx +3 -1
  15. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.jsx +2 -1
  16. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_on_click.jsx +2 -1
  17. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.jsx +5 -1
  18. data/app/pb_kits/playbook/pb_avatar_action_button/docs/example.yml +1 -9
  19. data/app/pb_kits/playbook/pb_avatar_action_button/docs/index.js +0 -4
  20. data/app/pb_kits/playbook/pb_badge/_badge.jsx +4 -2
  21. data/app/pb_kits/playbook/pb_badge/docs/_badge_colors.jsx +19 -1
  22. data/app/pb_kits/playbook/pb_badge/docs/_badge_default.jsx +4 -1
  23. data/app/pb_kits/playbook/pb_badge/docs/_badge_rounded.jsx +4 -1
  24. data/app/pb_kits/playbook/pb_badge/docs/example.yml +1 -2
  25. data/app/pb_kits/playbook/pb_badge/docs/index.js +0 -1
  26. data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.jsx +1 -1
  27. data/app/pb_kits/playbook/pb_body/docs/_body_block.jsx +2 -2
  28. data/app/pb_kits/playbook/pb_body/docs/_body_light.jsx +6 -1
  29. data/app/pb_kits/playbook/pb_body/docs/example.yml +2 -4
  30. data/app/pb_kits/playbook/pb_body/docs/index.js +0 -1
  31. data/app/pb_kits/playbook/pb_button/_button.jsx +5 -1
  32. data/app/pb_kits/playbook/pb_button/docs/_button_accessibility.jsx +2 -1
  33. data/app/pb_kits/playbook/pb_button/docs/_button_block_content.jsx +2 -1
  34. data/app/pb_kits/playbook/pb_button/docs/_button_default.jsx +6 -2
  35. data/app/pb_kits/playbook/pb_button/docs/_button_full_width.jsx +2 -1
  36. data/app/pb_kits/playbook/pb_button/docs/_button_link.jsx +4 -1
  37. data/app/pb_kits/playbook/pb_button/docs/_button_loading.jsx +4 -1
  38. data/app/pb_kits/playbook/pb_button/docs/_button_options.jsx +2 -1
  39. data/app/pb_kits/playbook/pb_button/docs/example.yml +0 -2
  40. data/app/pb_kits/playbook/pb_button/docs/index.js +0 -1
  41. data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.jsx +5 -1
  42. data/app/pb_kits/playbook/pb_caption/_caption.jsx +2 -2
  43. data/app/pb_kits/playbook/pb_caption/docs/_caption_light.jsx +7 -2
  44. data/app/pb_kits/playbook/pb_caption/docs/example.yml +2 -6
  45. data/app/pb_kits/playbook/pb_caption/docs/index.js +0 -1
  46. data/app/pb_kits/playbook/pb_card/_card.scss +0 -3
  47. data/app/pb_kits/playbook/pb_card/docs/_card_border_none.jsx +7 -4
  48. data/app/pb_kits/playbook/pb_card/docs/_card_content.jsx +3 -3
  49. data/app/pb_kits/playbook/pb_card/docs/_card_header.jsx +39 -13
  50. data/app/pb_kits/playbook/pb_card/docs/_card_highlight.jsx +13 -4
  51. data/app/pb_kits/playbook/pb_card/docs/_card_light.jsx +2 -2
  52. data/app/pb_kits/playbook/pb_card/docs/_card_padding.jsx +37 -7
  53. data/app/pb_kits/playbook/pb_card/docs/_card_selected.jsx +8 -3
  54. data/app/pb_kits/playbook/pb_card/docs/_card_separator.jsx +13 -4
  55. data/app/pb_kits/playbook/pb_card/docs/_card_shadow.jsx +25 -5
  56. data/app/pb_kits/playbook/pb_card/docs/example.yml +0 -2
  57. data/app/pb_kits/playbook/pb_card/docs/index.js +0 -1
  58. data/app/pb_kits/playbook/pb_checkbox/_checkbox.jsx +5 -2
  59. data/app/pb_kits/playbook/pb_checkbox/checkbox.rb +3 -1
  60. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_checked.jsx +2 -1
  61. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_custom.jsx +5 -2
  62. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default.jsx +2 -1
  63. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error.jsx +2 -1
  64. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_options.html.erb +10 -0
  65. data/app/pb_kits/playbook/pb_checkbox/docs/example.yml +1 -4
  66. data/app/pb_kits/playbook/pb_checkbox/docs/index.js +0 -2
  67. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.html.erb +1 -1
  68. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.jsx +130 -0
  69. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.scss +1 -1
  70. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_block.jsx +39 -0
  71. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_colors.jsx +29 -0
  72. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_default.jsx +28 -0
  73. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_inner_sizes.jsx +117 -0
  74. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_live_data.jsx +53 -0
  75. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_rounded.jsx +30 -0
  76. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_labels.jsx +45 -0
  77. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_legend_kit.jsx +30 -0
  78. data/app/pb_kits/playbook/pb_circle_chart/docs/_circle_chart_with_title.jsx +45 -0
  79. data/app/pb_kits/playbook/pb_circle_chart/docs/example.yml +11 -0
  80. data/app/pb_kits/playbook/pb_circle_chart/docs/index.js +9 -0
  81. data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.jsx +5 -1
  82. data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_click.jsx +2 -1
  83. data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_default.jsx +5 -1
  84. data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_link.jsx +3 -1
  85. data/app/pb_kits/playbook/pb_circle_icon_button/docs/example.yml +0 -2
  86. data/app/pb_kits/playbook/pb_circle_icon_button/docs/index.js +0 -1
  87. data/app/pb_kits/playbook/pb_contact/_contact.jsx +5 -1
  88. data/app/pb_kits/playbook/pb_contact/docs/_contact_default.jsx +6 -1
  89. data/app/pb_kits/playbook/pb_contact/docs/_contact_with_detail.jsx +5 -1
  90. data/app/pb_kits/playbook/pb_currency/_currency.jsx +5 -1
  91. data/app/pb_kits/playbook/pb_currency/docs/_currency_large.jsx +4 -1
  92. data/app/pb_kits/playbook/pb_currency/docs/_currency_medium.jsx +4 -1
  93. data/app/pb_kits/playbook/pb_currency/docs/_currency_small.jsx +4 -1
  94. data/app/pb_kits/playbook/pb_currency/docs/example.yml +1 -2
  95. data/app/pb_kits/playbook/pb_currency/docs/index.js +0 -1
  96. data/app/pb_kits/playbook/pb_dashboard_value/_dashboard_value.jsx +5 -1
  97. data/app/pb_kits/playbook/pb_dashboard_value/docs/_dashboard_value_align.jsx +4 -1
  98. data/app/pb_kits/playbook/pb_dashboard_value/docs/_dashboard_value_default.jsx +4 -1
  99. data/app/pb_kits/playbook/pb_date_picker/_date_picker.jsx +2 -2
  100. data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.js +4 -0
  101. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.jsx +34 -0
  102. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md +3 -0
  103. data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +1 -0
  104. data/app/pb_kits/playbook/pb_date_picker/docs/index.js +1 -0
  105. data/app/pb_kits/playbook/pb_date_range_stacked/_date_range_stacked.jsx +5 -1
  106. data/app/pb_kits/playbook/pb_date_stacked/_date_stacked.jsx +2 -2
  107. data/app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.jsx +5 -1
  108. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.jsx +2 -2
  109. data/app/pb_kits/playbook/pb_flex/_flex.jsx +2 -2
  110. data/app/pb_kits/playbook/pb_flex/_flex_item.jsx +1 -1
  111. data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +9 -1
  112. data/app/pb_kits/playbook/pb_form/form_builder/checkbox_field.rb +7 -2
  113. data/app/pb_kits/playbook/pb_form_pill/_form_pill.jsx +3 -2
  114. data/app/pb_kits/playbook/pb_gauge/_gauge.jsx +1 -1
  115. data/app/pb_kits/playbook/pb_hashtag/docs/_hashtag_default.jsx +5 -1
  116. data/app/pb_kits/playbook/pb_hashtag/docs/example.yml +0 -2
  117. data/app/pb_kits/playbook/pb_hashtag/docs/index.js +0 -1
  118. data/app/pb_kits/playbook/pb_highlight/_highlight.jsx +1 -1
  119. data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.jsx +2 -2
  120. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_emphasis.jsx +3 -1
  121. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_modified.jsx +2 -1
  122. data/app/pb_kits/playbook/pb_home_address_street/docs/example.yml +1 -3
  123. data/app/pb_kits/playbook/pb_home_address_street/docs/index.js +0 -1
  124. data/app/pb_kits/playbook/pb_icon/_icon.jsx +2 -2
  125. data/app/pb_kits/playbook/pb_icon_value/_icon_value.jsx +5 -1
  126. data/app/pb_kits/playbook/pb_image/_image.jsx +5 -1
  127. data/app/pb_kits/playbook/pb_label_pill/_label_pill.jsx +5 -1
  128. data/app/pb_kits/playbook/pb_label_value/docs/example.yml +1 -7
  129. data/app/pb_kits/playbook/pb_label_value/docs/index.js +0 -4
  130. data/app/pb_kits/playbook/pb_layout/_layout.jsx +4 -4
  131. data/app/pb_kits/playbook/pb_legend/docs/example.yml +1 -5
  132. data/app/pb_kits/playbook/pb_legend/docs/index.js +0 -2
  133. data/app/pb_kits/playbook/pb_line_graph/_line_graph.jsx +1 -1
  134. data/app/pb_kits/playbook/pb_list/_list.jsx +3 -2
  135. data/app/pb_kits/playbook/pb_list/_list_item.jsx +3 -2
  136. data/app/pb_kits/playbook/pb_list/docs/example.yml +1 -11
  137. data/app/pb_kits/playbook/pb_list/docs/index.js +0 -6
  138. data/app/pb_kits/playbook/pb_loading_inline/docs/example.yml +1 -3
  139. data/app/pb_kits/playbook/pb_loading_inline/docs/index.js +0 -1
  140. data/app/pb_kits/playbook/pb_logistic/_logistic.jsx +5 -1
  141. data/app/pb_kits/playbook/pb_message/_message.jsx +5 -1
  142. data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.jsx +5 -2
  143. data/app/pb_kits/playbook/pb_multiple_users/docs/example.yml +1 -2
  144. data/app/pb_kits/playbook/pb_multiple_users/docs/index.js +0 -1
  145. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/example.yml +1 -2
  146. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/index.js +0 -1
  147. data/app/pb_kits/playbook/pb_nav/_horizontal_nav.scss +24 -0
  148. data/app/pb_kits/playbook/pb_nav/_nav.jsx +2 -2
  149. data/app/pb_kits/playbook/pb_nav/_vertical_nav.scss +28 -0
  150. data/app/pb_kits/playbook/pb_online_status/docs/_online_status_default.jsx +13 -4
  151. data/app/pb_kits/playbook/pb_online_status/docs/example.yml +1 -2
  152. data/app/pb_kits/playbook/pb_online_status/docs/index.js +0 -1
  153. data/app/pb_kits/playbook/pb_person/_person.jsx +5 -1
  154. data/app/pb_kits/playbook/pb_person_contact/_person_contact.jsx +5 -1
  155. data/app/pb_kits/playbook/pb_pill/docs/example.yml +1 -3
  156. data/app/pb_kits/playbook/pb_pill/docs/index.js +0 -1
  157. data/app/pb_kits/playbook/pb_popover/_popover.jsx +5 -1
  158. data/app/pb_kits/playbook/pb_progress_pills/docs/example.yml +1 -4
  159. data/app/pb_kits/playbook/pb_progress_pills/docs/index.js +0 -2
  160. data/app/pb_kits/playbook/pb_progress_simple/_progress_simple.jsx +4 -4
  161. data/app/pb_kits/playbook/pb_progress_step/_progress_step.jsx +1 -1
  162. data/app/pb_kits/playbook/pb_progress_step/docs/example.yml +0 -2
  163. data/app/pb_kits/playbook/pb_progress_step/docs/index.js +0 -1
  164. data/app/pb_kits/playbook/pb_radio/_radio.html.erb +1 -1
  165. data/app/pb_kits/playbook/pb_radio/docs/_radio_options.html.erb +9 -0
  166. data/app/pb_kits/playbook/pb_radio/docs/example.yml +1 -4
  167. data/app/pb_kits/playbook/pb_radio/docs/index.js +0 -3
  168. data/app/pb_kits/playbook/pb_radio/radio.rb +2 -4
  169. data/app/pb_kits/playbook/pb_section_separator/_section_separator.jsx +1 -1
  170. data/app/pb_kits/playbook/pb_section_separator/docs/example.yml +1 -2
  171. data/app/pb_kits/playbook/pb_section_separator/docs/index.js +0 -1
  172. data/app/pb_kits/playbook/pb_select/_select.scss +1 -1
  173. data/app/pb_kits/playbook/pb_select/docs/example.yml +1 -4
  174. data/app/pb_kits/playbook/pb_select/docs/index.js +0 -2
  175. data/app/pb_kits/playbook/pb_selectable_card/docs/example.yml +1 -2
  176. data/app/pb_kits/playbook/pb_selectable_card/docs/index.js +0 -1
  177. data/app/pb_kits/playbook/pb_selectable_card_icon/docs/example.yml +1 -4
  178. data/app/pb_kits/playbook/pb_selectable_card_icon/docs/index.js +0 -1
  179. data/app/pb_kits/playbook/pb_selectable_icon/docs/example.yml +1 -3
  180. data/app/pb_kits/playbook/pb_selectable_icon/docs/index.js +0 -1
  181. data/app/pb_kits/playbook/pb_stat_change/_stat_change.jsx +2 -2
  182. data/app/pb_kits/playbook/pb_stat_value/_stat_value.jsx +3 -3
  183. data/app/pb_kits/playbook/pb_stat_value/docs/_stat_value_default.jsx +6 -1
  184. data/app/pb_kits/playbook/pb_table/_table.jsx +2 -2
  185. data/app/pb_kits/playbook/pb_table/docs/example.yml +1 -4
  186. data/app/pb_kits/playbook/pb_table/docs/index.js +0 -2
  187. data/app/pb_kits/playbook/pb_text_input/_text_input.jsx +1 -1
  188. data/app/pb_kits/playbook/pb_text_input/docs/example.yml +0 -5
  189. data/app/pb_kits/playbook/pb_text_input/docs/index.js +0 -2
  190. data/app/pb_kits/playbook/pb_textarea/_textarea.jsx +1 -1
  191. data/app/pb_kits/playbook/pb_textarea/docs/example.yml +1 -4
  192. data/app/pb_kits/playbook/pb_textarea/docs/index.js +0 -2
  193. data/app/pb_kits/playbook/pb_time/_time.jsx +2 -2
  194. data/app/pb_kits/playbook/pb_time/docs/_time_default.html.erb +4 -4
  195. data/app/pb_kits/playbook/pb_time/docs/_time_timestamp.html.erb +2 -1
  196. data/app/pb_kits/playbook/pb_time/docs/_time_timezone.html.erb +1 -5
  197. data/app/pb_kits/playbook/pb_time/docs/example.yml +0 -2
  198. data/app/pb_kits/playbook/pb_time/docs/index.js +0 -1
  199. data/app/pb_kits/playbook/pb_time/time.rb +1 -1
  200. data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.jsx +1 -1
  201. data/app/pb_kits/playbook/pb_time_range_inline/docs/example.yml +0 -3
  202. data/app/pb_kits/playbook/pb_time_range_inline/docs/index.js +0 -1
  203. data/app/pb_kits/playbook/pb_time_stacked/_time_stacked.jsx +3 -3
  204. data/app/pb_kits/playbook/pb_time_stacked/docs/example.yml +1 -3
  205. data/app/pb_kits/playbook/pb_time_stacked/docs/index.js +0 -1
  206. data/app/pb_kits/playbook/pb_timestamp/_timestamp.jsx +1 -1
  207. data/app/pb_kits/playbook/pb_title/_title.jsx +5 -1
  208. data/app/pb_kits/playbook/pb_title/docs/example.yml +1 -2
  209. data/app/pb_kits/playbook/pb_title/docs/index.js +0 -1
  210. data/app/pb_kits/playbook/pb_title_count/_title_count.jsx +5 -1
  211. data/app/pb_kits/playbook/pb_title_count/docs/example.yml +0 -4
  212. data/app/pb_kits/playbook/pb_title_count/docs/index.js +0 -2
  213. data/app/pb_kits/playbook/pb_title_detail/_title_detail.jsx +1 -1
  214. data/app/pb_kits/playbook/pb_toggle/_toggle.jsx +3 -3
  215. data/app/pb_kits/playbook/pb_toggle/_toggle.scss +41 -43
  216. data/app/pb_kits/playbook/pb_toggle/docs/example.yml +0 -2
  217. data/app/pb_kits/playbook/pb_toggle/docs/index.js +0 -1
  218. data/app/pb_kits/playbook/pb_toggle/toggle.rb +1 -1
  219. data/app/pb_kits/playbook/pb_user/docs/example.yml +1 -4
  220. data/app/pb_kits/playbook/pb_user/docs/index.js +0 -3
  221. data/app/pb_kits/playbook/pb_user_badge/_user_badge.jsx +5 -2
  222. data/app/pb_kits/playbook/pb_user_badge/docs/example.yml +0 -5
  223. data/app/pb_kits/playbook/pb_user_badge/docs/index.js +0 -1
  224. data/app/pb_kits/playbook/pb_weekday_stacked/docs/example.yml +0 -3
  225. data/app/pb_kits/playbook/pb_weekday_stacked/docs/index.js +0 -1
  226. data/app/pb_kits/playbook/plugins/pb_chart.js +1 -1
  227. data/app/pb_kits/playbook/tokens/_colors.scss +1 -1
  228. data/lib/generators/kit/kit_generator.rb +1 -1
  229. data/lib/generators/kit/templates/kit_jsx.erb.tt +1 -1
  230. data/lib/playbook/version.rb +1 -2
  231. data/lib/tasks/pb_release.rake +6 -2
  232. metadata +17 -121
  233. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions_dark.html.erb +0 -17
  234. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions_dark.jsx +0 -21
  235. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_dark.html.erb +0 -9
  236. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_dark.jsx +0 -14
  237. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_on_click_dark.html.erb +0 -15
  238. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_on_click_dark.jsx +0 -16
  239. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement_dark.html.erb +0 -31
  240. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement_dark.jsx +0 -33
  241. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_tooltip_dark.html.erb +0 -12
  242. data/app/pb_kits/playbook/pb_badge/docs/_badge_dark.html.erb +0 -124
  243. data/app/pb_kits/playbook/pb_badge/docs/_badge_dark.jsx +0 -160
  244. data/app/pb_kits/playbook/pb_body/docs/_body_dark.html.erb +0 -28
  245. data/app/pb_kits/playbook/pb_body/docs/_body_dark.jsx +0 -35
  246. data/app/pb_kits/playbook/pb_button/docs/_button_default_dark.html.erb +0 -22
  247. data/app/pb_kits/playbook/pb_button/docs/_button_default_dark.jsx +0 -31
  248. data/app/pb_kits/playbook/pb_caption/docs/_caption_dark.html.erb +0 -3
  249. data/app/pb_kits/playbook/pb_caption/docs/_caption_dark.jsx +0 -25
  250. data/app/pb_kits/playbook/pb_card/docs/_card_dark.html.erb +0 -3
  251. data/app/pb_kits/playbook/pb_card/docs/_card_dark.jsx +0 -12
  252. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_dark.html.erb +0 -4
  253. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_dark.jsx +0 -17
  254. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_dark_error.html.erb +0 -7
  255. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_dark_error.jsx +0 -18
  256. data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_dark.html.erb +0 -29
  257. data/app/pb_kits/playbook/pb_circle_icon_button/docs/_circle_icon_button_dark.jsx +0 -38
  258. data/app/pb_kits/playbook/pb_currency/docs/_currency_dark.html.erb +0 -23
  259. data/app/pb_kits/playbook/pb_currency/docs/_currency_dark.jsx +0 -32
  260. data/app/pb_kits/playbook/pb_hashtag/docs/_hashtag_dark.html.erb +0 -13
  261. data/app/pb_kits/playbook/pb_hashtag/docs/_hashtag_dark.jsx +0 -41
  262. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_dark.html.erb +0 -12
  263. data/app/pb_kits/playbook/pb_home_address_street/docs/_home_address_street_dark.jsx +0 -20
  264. data/app/pb_kits/playbook/pb_label_value/docs/_label_value_dark.html.erb +0 -24
  265. data/app/pb_kits/playbook/pb_label_value/docs/_label_value_dark.jsx +0 -35
  266. data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details_dark.html.erb +0 -43
  267. data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details_dark.jsx +0 -54
  268. data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples_dark.html.erb +0 -80
  269. data/app/pb_kits/playbook/pb_label_value/docs/_label_value_details_examples_dark.jsx +0 -101
  270. data/app/pb_kits/playbook/pb_legend/docs/_legend_dark.html.erb +0 -5
  271. data/app/pb_kits/playbook/pb_legend/docs/_legend_dark.jsx +0 -21
  272. data/app/pb_kits/playbook/pb_legend/docs/_legend_dark_prefix.html.erb +0 -1
  273. data/app/pb_kits/playbook/pb_legend/docs/_legend_dark_prefix.jsx +0 -15
  274. data/app/pb_kits/playbook/pb_list/docs/_list_dark.html.erb +0 -7
  275. data/app/pb_kits/playbook/pb_list/docs/_list_dark.jsx +0 -19
  276. data/app/pb_kits/playbook/pb_list/docs/_list_dark_borderless.html.erb +0 -7
  277. data/app/pb_kits/playbook/pb_list/docs/_list_dark_borderless.jsx +0 -22
  278. data/app/pb_kits/playbook/pb_list/docs/_list_dark_lg.html.erb +0 -7
  279. data/app/pb_kits/playbook/pb_list/docs/_list_dark_lg.jsx +0 -22
  280. data/app/pb_kits/playbook/pb_list/docs/_list_dark_ordered.html.erb +0 -7
  281. data/app/pb_kits/playbook/pb_list/docs/_list_dark_ordered.jsx +0 -22
  282. data/app/pb_kits/playbook/pb_list/docs/_list_dark_xpadding.html.erb +0 -7
  283. data/app/pb_kits/playbook/pb_list/docs/_list_dark_xpadding.jsx +0 -22
  284. data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_dark.html.erb +0 -13
  285. data/app/pb_kits/playbook/pb_loading_inline/docs/_loading_inline_dark.jsx +0 -20
  286. data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_dark.html.erb +0 -41
  287. data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_dark.jsx +0 -52
  288. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_dark.html.erb +0 -53
  289. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_dark.jsx +0 -62
  290. data/app/pb_kits/playbook/pb_online_status/docs/_online_status_dark.html.erb +0 -9
  291. data/app/pb_kits/playbook/pb_online_status/docs/_online_status_dark.jsx +0 -28
  292. data/app/pb_kits/playbook/pb_pill/docs/_pill_dark.html.erb +0 -52
  293. data/app/pb_kits/playbook/pb_pill/docs/_pill_dark.jsx +0 -69
  294. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_dark.html.erb +0 -1
  295. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_dark.jsx +0 -20
  296. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_status_dark.html.erb +0 -1
  297. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_status_dark.jsx +0 -19
  298. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_dark.html.erb +0 -34
  299. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_dark.jsx +0 -18
  300. data/app/pb_kits/playbook/pb_radio/docs/_radio_dark.html.erb +0 -25
  301. data/app/pb_kits/playbook/pb_radio/docs/_radio_dark.jsx +0 -33
  302. data/app/pb_kits/playbook/pb_radio/docs/_radio_dark_error.html.erb +0 -7
  303. data/app/pb_kits/playbook/pb_radio/docs/_radio_dark_error.jsx +0 -17
  304. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_dark.html.erb +0 -1
  305. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_dark.jsx +0 -14
  306. data/app/pb_kits/playbook/pb_select/docs/_select_dark.html.erb +0 -24
  307. data/app/pb_kits/playbook/pb_select/docs/_select_dark.jsx +0 -33
  308. data/app/pb_kits/playbook/pb_select/docs/_select_dark_error.html.erb +0 -25
  309. data/app/pb_kits/playbook/pb_select/docs/_select_dark_error.jsx +0 -39
  310. data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_dark.html.erb +0 -45
  311. data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_dark.jsx +0 -72
  312. data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_dark.html.erb +0 -30
  313. data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_dark.jsx +0 -40
  314. data/app/pb_kits/playbook/pb_selectable_icon/docs/_selectable_icon_dark.html.erb +0 -26
  315. data/app/pb_kits/playbook/pb_selectable_icon/docs/_selectable_icon_dark.jsx +0 -43
  316. data/app/pb_kits/playbook/pb_table/docs/_table_container_dark.html.erb +0 -34
  317. data/app/pb_kits/playbook/pb_table/docs/_table_container_dark.jsx +0 -47
  318. data/app/pb_kits/playbook/pb_table/docs/_table_dark.html.erb +0 -34
  319. data/app/pb_kits/playbook/pb_table/docs/_table_dark.jsx +0 -46
  320. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_dark.html.erb +0 -5
  321. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_dark.jsx +0 -78
  322. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_dark_error.html.erb +0 -14
  323. data/app/pb_kits/playbook/pb_text_input/docs/_text_input_dark_error.jsx +0 -18
  324. data/app/pb_kits/playbook/pb_textarea/docs/_textarea_dark.html.erb +0 -9
  325. data/app/pb_kits/playbook/pb_textarea/docs/_textarea_dark.jsx +0 -34
  326. data/app/pb_kits/playbook/pb_textarea/docs/_textarea_dark_error.html.erb +0 -6
  327. data/app/pb_kits/playbook/pb_textarea/docs/_textarea_dark_error.jsx +0 -19
  328. data/app/pb_kits/playbook/pb_time/docs/_time_dark.html.erb +0 -70
  329. data/app/pb_kits/playbook/pb_time/docs/_time_dark.jsx +0 -21
  330. data/app/pb_kits/playbook/pb_time_range_inline/docs/_time_range_inline_dark.html.erb +0 -72
  331. data/app/pb_kits/playbook/pb_time_range_inline/docs/_time_range_inline_dark.jsx +0 -81
  332. data/app/pb_kits/playbook/pb_time_stacked/docs/_time_stacked_dark.html.erb +0 -1
  333. data/app/pb_kits/playbook/pb_time_stacked/docs/_time_stacked_dark.jsx +0 -15
  334. data/app/pb_kits/playbook/pb_title/docs/_title_dark.html.erb +0 -8
  335. data/app/pb_kits/playbook/pb_title/docs/_title_dark.jsx +0 -35
  336. data/app/pb_kits/playbook/pb_title_count/docs/_title_count_align_dark.html.erb +0 -23
  337. data/app/pb_kits/playbook/pb_title_count/docs/_title_count_align_dark.jsx +0 -34
  338. data/app/pb_kits/playbook/pb_title_count/docs/_title_count_dark.html.erb +0 -23
  339. data/app/pb_kits/playbook/pb_title_count/docs/_title_count_dark.jsx +0 -34
  340. data/app/pb_kits/playbook/pb_title_detail/docs/_title_detail_dark.html.erb +0 -19
  341. data/app/pb_kits/playbook/pb_title_detail/docs/_title_detail_dark.jsx +0 -29
  342. data/app/pb_kits/playbook/pb_toggle/docs/_toggle_size.html.erb +0 -11
  343. data/app/pb_kits/playbook/pb_toggle/docs/_toggle_size.jsx +0 -44
  344. data/app/pb_kits/playbook/pb_user/docs/_user_dark.html.erb +0 -42
  345. data/app/pb_kits/playbook/pb_user/docs/_user_dark.jsx +0 -55
  346. data/app/pb_kits/playbook/pb_user/docs/_user_text_only_dark.html.erb +0 -19
  347. data/app/pb_kits/playbook/pb_user/docs/_user_text_only_dark.jsx +0 -26
  348. data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_dark.html.erb +0 -13
  349. data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_dark.jsx +0 -27
  350. data/app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_dark.html.erb +0 -1
  351. data/app/pb_kits/playbook/pb_weekday_stacked/docs/_weekday_stacked_dark.jsx +0 -14
@@ -40,12 +40,12 @@ const HomeAddressStreet = (props: HomeAddressStreetProps) => {
40
40
 
41
41
  const classes = (className, dark) =>
42
42
  classnames(
43
- className,
44
43
  {
45
44
  'pb_home_address_street': !dark,
46
45
  'pb_home_address_street_dark': dark,
47
46
  },
48
- globalProps(props)
47
+ globalProps(props),
48
+ className
49
49
  )
50
50
  return (
51
51
  <div className={classes(className, dark)}>
@@ -1,7 +1,7 @@
1
1
  import React from 'react'
2
2
  import { HomeAddressStreet } from '../../'
3
3
 
4
- const HomeAddressStreetEmphasis = () => {
4
+ const HomeAddressStreetEmphasis = (props) => {
5
5
  return (
6
6
  <div>
7
7
  <HomeAddressStreet
@@ -14,6 +14,7 @@ const HomeAddressStreetEmphasis = () => {
14
14
  state="PA"
15
15
  territory="PHL"
16
16
  zipcode="19382"
17
+ {...props}
17
18
  />
18
19
  <br />
19
20
  <br />
@@ -28,6 +29,7 @@ const HomeAddressStreetEmphasis = () => {
28
29
  state="PA"
29
30
  territory="PHL"
30
31
  zipcode="19382"
32
+ {...props}
31
33
  />
32
34
  </div>
33
35
  )
@@ -1,7 +1,7 @@
1
1
  import React from 'react'
2
2
  import { HomeAddressStreet } from '../../'
3
3
 
4
- const HomeAddressStreetModified = () => {
4
+ const HomeAddressStreetModified = (props) => {
5
5
  return (
6
6
  <HomeAddressStreet
7
7
  address="70 Prospect Ave"
@@ -9,6 +9,7 @@ const HomeAddressStreetModified = () => {
9
9
  state="PA"
10
10
  territory="PHL"
11
11
  zipcode="19382"
12
+ {...props}
12
13
  />
13
14
  )
14
15
  }
@@ -4,12 +4,10 @@ examples:
4
4
  - home_address_street_default: Default
5
5
  - home_address_street_emphasis: Emphasis
6
6
  - home_address_street_modified: Modified
7
- - home_address_street_dark: Dark
7
+
8
8
 
9
9
 
10
10
  react:
11
11
  - home_address_street_default: Default
12
12
  - home_address_street_emphasis: Emphasis
13
13
  - home_address_street_modified: Modified
14
- - home_address_street_dark: Dark
15
-
@@ -1,4 +1,3 @@
1
1
  export { default as HomeAddressStreetDefault } from './_home_address_street_default.jsx'
2
2
  export { default as HomeAddressStreetEmphasis } from './_home_address_street_emphasis.jsx'
3
3
  export { default as HomeAddressStreetModified } from './_home_address_street_modified.jsx'
4
- export { default as HomeAddressStreetDark } from './_home_address_street_dark.jsx'
@@ -56,7 +56,6 @@ const Icon = (props: IconProps) => {
56
56
  spin = false,
57
57
  } = props
58
58
  const classes = classnames(
59
- className,
60
59
  flipMap[flip],
61
60
  'pb_icon_kit',
62
61
  'far',
@@ -72,7 +71,8 @@ const Icon = (props: IconProps) => {
72
71
  [`fa-pull-${pull}`]: pull,
73
72
  [`fa-rotate-${rotation}`]: rotation,
74
73
  },
75
- globalProps(props)
74
+ globalProps(props),
75
+ className
76
76
  )
77
77
 
78
78
  return (
@@ -32,7 +32,11 @@ const IconValue = (props: IconValueProps) => {
32
32
  } = props
33
33
  const ariaProps = buildAriaProps(aria)
34
34
  const dataProps = buildDataProps(data)
35
- const classes = classnames(buildCss('pb_icon_value_kit', align), className, globalProps(props))
35
+ const classes = classnames(
36
+ buildCss('pb_icon_value_kit', align),
37
+ globalProps(props),
38
+ className
39
+ )
36
40
 
37
41
  return (
38
42
  <div
@@ -25,7 +25,11 @@ const Image = (props: ImageProps) => {
25
25
  } = props
26
26
 
27
27
  const ariaProps = buildAriaProps(aria)
28
- const classes = classnames(buildCss('pb_image lazyload blur_up'), className, globalProps(props))
28
+ const classes = classnames(
29
+ buildCss('pb_image lazyload blur_up'),
30
+ globalProps(props),
31
+ className
32
+ )
29
33
  const dataProps = buildDataProps(data)
30
34
 
31
35
  return (
@@ -30,7 +30,11 @@ const LabelPill = (props: LabelPillProps) => {
30
30
  } = props
31
31
  const ariaProps = buildAriaProps(aria)
32
32
  const dataProps = buildDataProps(data)
33
- const css = classnames(['pb_label_pill_kit', className], globalProps(props))
33
+ const css = classnames(
34
+ 'pb_label_pill_kit',
35
+ globalProps(props),
36
+ className
37
+ )
34
38
 
35
39
  return (
36
40
  <div
@@ -4,16 +4,10 @@ examples:
4
4
  - label_value_default: Default
5
5
  - label_value_details: Details
6
6
  - label_value_details_examples: Other Examples
7
- - label_value_dark: Dark
8
- - label_value_details_dark: Details Dark
9
- - label_value_details_examples_dark: Other Examples Dark
7
+
10
8
 
11
9
 
12
10
  react:
13
11
  - label_value_default: Default
14
12
  - label_value_details: Details
15
13
  - label_value_details_examples: Other Examples
16
- - label_value_dark: Dark
17
- - label_value_details_dark: Details Dark
18
- - label_value_details_examples_dark: Other Examples Dark
19
-
@@ -1,7 +1,3 @@
1
1
  export { default as LabelValueDefault } from './_label_value_default.jsx'
2
2
  export { default as LabelValueDetails } from './_label_value_details.jsx'
3
3
  export { default as LabelValueDetailsExamples } from './_label_value_details_examples.jsx'
4
-
5
- export { default as LabelValueDark } from './_label_value_dark.jsx'
6
- export { default as LabelValueDetailsDark } from './_label_value_details_dark.jsx'
7
- export { default as LabelValueDetailsExamplesDark } from './_label_value_details_examples_dark.jsx'
@@ -46,7 +46,7 @@ type LayoutFooterProps = {
46
46
  const Side = (props: LayoutSideProps) => {
47
47
  const { children, className } = props
48
48
  return (
49
- <div className={classnames('layout_sidebar', className, globalProps(props))}>
49
+ <div className={classnames('layout_sidebar', globalProps(props), className)}>
50
50
  {children}
51
51
  </div>
52
52
  )
@@ -56,7 +56,7 @@ const Side = (props: LayoutSideProps) => {
56
56
  const Body = (props: LayoutBodyProps) => {
57
57
  const { children, className } = props
58
58
  return (
59
- <div className={classnames('layout_body', className, globalProps(props))}>
59
+ <div className={classnames('layout_body', globalProps(props), className)}>
60
60
  {children}
61
61
  </div>
62
62
  )
@@ -66,7 +66,7 @@ const Body = (props: LayoutBodyProps) => {
66
66
  const Header = (props: LayoutHeaderProps) => {
67
67
  const { children, className } = props
68
68
  return (
69
- <div className={classnames('layout_header', className, globalProps(props))}>
69
+ <div className={classnames('layout_header', globalProps(props), className)}>
70
70
  {children}
71
71
  </div>
72
72
  )
@@ -76,7 +76,7 @@ const Header = (props: LayoutHeaderProps) => {
76
76
  const Footer = (props: LayoutFooterProps) => {
77
77
  const { children, className } = props
78
78
  return (
79
- <div className={classnames('layout_footer', className, globalProps(props))}>
79
+ <div className={classnames('layout_footer', globalProps(props), className)}>
80
80
  {children}
81
81
  </div>
82
82
  )
@@ -3,13 +3,9 @@ examples:
3
3
  rails:
4
4
  - legend_default: Default
5
5
  - legend_prefix: With Prefix Text
6
- - legend_dark: Dark Mode
7
- - legend_dark_prefix: Dark Mode with Prefix Text
6
+
8
7
 
9
8
 
10
9
  react:
11
10
  - legend_default: Default
12
11
  - legend_prefix: With Prefix Text
13
- - legend_dark: Dark Mode
14
- - legend_dark_prefix: Dark Mode with Prefix Text
15
-
@@ -1,4 +1,2 @@
1
1
  export { default as LegendDefault } from './_legend_default.jsx'
2
2
  export { default as LegendPrefix } from './_legend_prefix.jsx'
3
- export { default as LegendDark } from './_legend_dark.jsx'
4
- export { default as LegendDarkPrefix } from './_legend_dark_prefix.jsx'
@@ -77,7 +77,7 @@ export default class LineGraph extends React.Component<LineGraphProps> {
77
77
 
78
78
  return (
79
79
  <div
80
- className={classnames(className, globalProps(this.props))}
80
+ className={classnames(globalProps(this.props), className)}
81
81
  id={id}
82
82
  />
83
83
  )
@@ -52,8 +52,9 @@ const List = (props: ListProps) => {
52
52
  borderless: borderless,
53
53
  ordered: ordered,
54
54
  xpadding: xpadding,
55
- }), className,
56
- globalProps(props)
55
+ }),
56
+ globalProps(props),
57
+ className
57
58
  )
58
59
 
59
60
  return (
@@ -27,8 +27,9 @@ const ListItem = (props: ListItemProps) => {
27
27
  const ariaProps = buildAriaProps(aria)
28
28
  const dataProps = buildDataProps(data)
29
29
  const classes = classnames(
30
- buildCss('pb_item_kit'), className,
31
- globalProps(props)
30
+ buildCss('pb_item_kit'),
31
+ globalProps(props),
32
+ className
32
33
  )
33
34
 
34
35
  return (
@@ -7,11 +7,7 @@ examples:
7
7
  - list_xpadding: Horizontal Padding
8
8
  - list_layout_left: Layout Left
9
9
  - list_layout_right: Layout Right
10
- - list_dark: Dark Default
11
- - list_dark_lg: Dark Large
12
- - list_dark_ordered: Dark Ordered
13
- - list_dark_borderless: Dark Borderless
14
- - list_dark_xpadding: Dark Horizontal Padding
10
+
15
11
  react:
16
12
  - list_default: Default
17
13
  - list_lg: Large
@@ -20,9 +16,3 @@ examples:
20
16
  - list_xpadding: Horizontal Padding
21
17
  - list_layout_left: Layout Left
22
18
  - list_layout_right: Layout Right
23
- - list_dark: Dark Default
24
- - list_dark_lg: Dark Large
25
- - list_dark_ordered: Dark Ordered
26
- - list_dark_borderless: Dark Borderless
27
- - list_dark_xpadding: Dark Horizontal Padding
28
-
@@ -1,13 +1,7 @@
1
1
  export { default as ListDefault } from './_list_default.jsx'
2
- export { default as ListDark } from './_list_dark.jsx'
3
2
  export { default as ListXpadding } from './_list_xpadding.jsx'
4
- export { default as ListDarkBorderless } from './_list_dark_borderless.jsx'
5
- export { default as ListDarkLg } from './_list_dark_lg.jsx'
6
- export { default as ListDarkXpadding } from './_list_dark_xpadding.jsx'
7
- export { default as ListDarkOrdered } from './_list_dark_ordered.jsx'
8
3
  export { default as ListLayoutRight } from './_list_layout_right.jsx'
9
4
  export { default as ListLayoutLeft } from './_list_layout_left.jsx'
10
5
  export { default as ListLg } from './_list_lg.jsx'
11
6
  export { default as ListOrdered } from './_list_ordered.jsx'
12
7
  export { default as ListBorderless } from './_list_borderless.jsx'
13
-
@@ -2,10 +2,8 @@ examples:
2
2
 
3
3
  rails:
4
4
  - loading_inline_light: Light
5
- - loading_inline_dark: Dark
5
+
6
6
 
7
7
 
8
8
  react:
9
9
  - loading_inline_light: Default
10
- - loading_inline_dark: Default
11
-
@@ -1,2 +1 @@
1
1
  export { default as LoadingInlineLight } from './_loading_inline_light.jsx'
2
- export { default as LoadingInlineDark } from './_loading_inline_dark.jsx'
@@ -40,7 +40,11 @@ const Logistic = (props: LogisticProps) => {
40
40
  const ariaProps = buildAriaProps(aria)
41
41
  const dataProps = buildDataProps(data)
42
42
  const formattedDate = new DateTime({ value: date })
43
- const classes = classnames(buildCss('pb_logistic_kit', { dark: dark }), className, globalProps(props))
43
+ const classes = classnames(
44
+ buildCss('pb_logistic_kit', { dark }),
45
+ globalProps(props),
46
+ className
47
+ )
44
48
 
45
49
  return (
46
50
  <div
@@ -39,7 +39,11 @@ const Message = (props: MessageProps) => {
39
39
  ? 'pb_message_kit_avatar'
40
40
  : 'pb_message_kit'
41
41
 
42
- const classes = classnames(buildCss(baseClassName), className, globalProps(props))
42
+ const classes = classnames(
43
+ buildCss(baseClassName),
44
+ globalProps(props),
45
+ className
46
+ )
43
47
 
44
48
  return (
45
49
  <div
@@ -36,8 +36,11 @@ const MultipleUsers = (props: MultipleUsersProps) => {
36
36
  const reverseClass = reverse === true ? 'reverse' : ''
37
37
  const ariaProps = buildAriaProps(aria)
38
38
  const dataProps = buildDataProps(data)
39
- const classes = classnames(buildCss('pb_multiple_users_kit', reverseClass),
40
- className, globalProps(props))
39
+ const classes = classnames(
40
+ buildCss('pb_multiple_users_kit', reverseClass),
41
+ globalProps(props),
42
+ className
43
+ )
41
44
 
42
45
  return (
43
46
  <div
@@ -3,9 +3,8 @@ examples:
3
3
  rails:
4
4
  - multiple_users_default: Default
5
5
  - multiple_users_reverse: Reverse
6
- - multiple_users_dark: Dark
6
+
7
7
 
8
8
  react:
9
9
  - multiple_users_default: Default
10
10
  - multiple_users_reverse: Reverse
11
- - multiple_users_dark: Dark
@@ -1,3 +1,2 @@
1
1
  export { default as MultipleUsersDefault } from './_multiple_users_default.jsx'
2
2
  export { default as MultipleUsersReverse } from './_multiple_users_reverse.jsx'
3
- export { default as MultipleUsersDark } from './_multiple_users_dark.jsx'
@@ -2,8 +2,7 @@ examples:
2
2
 
3
3
  rails:
4
4
  - multiple_users_stacked_default: Default
5
- - multiple_users_stacked_dark: Dark
5
+
6
6
 
7
7
  react:
8
8
  - multiple_users_stacked_default: Default
9
- - multiple_users_stacked_dark: Dark
@@ -1,2 +1 @@
1
1
  export { default as MultipleUsersStackedDefault } from './_multiple_users_stacked_default.jsx'
2
- export { default as MultipleUsersStackedDark } from './_multiple_users_stacked_dark.jsx'
@@ -71,4 +71,28 @@ $selector: ".pb_nav_list";
71
71
  }
72
72
  }
73
73
  }
74
+ &[class*=dark]{
75
+ [class*=pb_nav_list_kit_item]{
76
+ [class*=_link]{
77
+ border-color: rgba($white, $opacity_3);
78
+ }
79
+ &[class*=_active] [class*=_link]{
80
+ border-color: $white;
81
+ [class*=_text],[class*=_icon]{
82
+ color: $text_dk_default;
83
+ }
84
+ }
85
+ [class*=_link] {
86
+ [class*=_text],[class*=_icon]{
87
+ color: $text_dk_lighter;
88
+ }
89
+ &:hover{
90
+ background-color: rgba($white, $opacity_1);
91
+ [class*=_icon],[class*=_text] {
92
+ color: $white;
93
+ }
94
+ }
95
+ }
96
+ }
97
+ }
74
98
  }
@@ -40,8 +40,8 @@ const Nav = (props: NavProps) => {
40
40
  buildCss('pb_nav_list', variant, orientation, {
41
41
  highlight: highlight,
42
42
  }),
43
- className,
44
- globalProps(props)
43
+ globalProps(props),
44
+ className
45
45
  )
46
46
 
47
47
  return (
@@ -136,7 +136,35 @@ $selector: ".pb_nav_list";
136
136
  [class*=_active] {
137
137
  background-color: $active_light;
138
138
  }
139
+ &[class*=dark]{
140
+ [class*=_active] {
141
+ background-color: rgba($white, $opacity_1);
142
+ }
143
+ }
139
144
  }
140
145
 
146
+ &[class*=dark]{
147
+ background: tint($bg_dark,10%);
148
+ [class*=pb_nav_list_kit_item]{
149
+ border-color: rgba($white, $opacity_1);
150
+ &[class*=_active] [class*=_link]{
151
+ border-color: $white;
152
+ [class*=_text],[class*=_icon]{
153
+ color: $text_dk_default;
154
+ }
155
+ }
156
+ [class*=_link] {
157
+ [class*=_text],[class*=_icon]{
158
+ color: $text_dk_lighter;
159
+ }
160
+ &:hover{
161
+ background-color: rgba($white, $opacity_1);
162
+ [class*=_icon],[class*=_text] {
163
+ color: $white;
164
+ }
165
+ }
166
+ }
167
+ }
168
+ }
141
169
 
142
170
  }