playbook_ui 7.3.0.pre.alpha1 → 7.3.0.pre.alpha2

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 (352) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -1
  3. data/app/controllers/playbook/application_controller.rb +2 -0
  4. data/app/controllers/playbook/guides_controller.rb +11 -0
  5. data/app/controllers/playbook/pages_controller.rb +99 -0
  6. data/app/controllers/playbook/samples_controller.rb +40 -0
  7. data/app/pb_kits/playbook/_playbook.scss +1 -1
  8. data/app/pb_kits/playbook/data/menu.yml +4 -4
  9. data/app/pb_kits/playbook/index.js +1 -4
  10. data/app/pb_kits/playbook/packs/application.js +55 -0
  11. data/app/pb_kits/playbook/packs/examples.js +182 -0
  12. data/app/pb_kits/playbook/packs/main.scss +12 -0
  13. data/app/pb_kits/playbook/packs/samples.js +21 -0
  14. data/app/pb_kits/playbook/packs/site_styles/_samples.scss +72 -0
  15. data/app/pb_kits/playbook/packs/site_styles/_scaffold.scss +43 -0
  16. data/app/pb_kits/playbook/packs/site_styles/_site-style.scss +146 -0
  17. data/app/pb_kits/playbook/packs/site_styles/docs/_all.scss +10 -0
  18. data/app/pb_kits/playbook/packs/site_styles/docs/_bg_light_doc_example.scss +7 -0
  19. data/app/pb_kits/playbook/packs/site_styles/docs/_code_snippet.scss +531 -0
  20. data/app/pb_kits/playbook/packs/site_styles/docs/_color_utilities.scss +92 -0
  21. data/app/pb_kits/playbook/packs/site_styles/docs/_flex_examples.scss +15 -0
  22. data/app/pb_kits/playbook/packs/site_styles/docs/_kit_doc.scss +148 -0
  23. data/app/pb_kits/playbook/packs/site_styles/docs/_kits_examples.scss +15 -0
  24. data/app/pb_kits/playbook/packs/site_styles/docs/_markdown.scss +88 -0
  25. data/app/pb_kits/playbook/packs/site_styles/docs/_spacing_tokens.scss +72 -0
  26. data/app/pb_kits/playbook/pb_avatar/_avatar.jsx +1 -5
  27. data/app/pb_kits/playbook/pb_badge/_badge.jsx +2 -4
  28. data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.html.erb +12 -1
  29. data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.jsx +1 -1
  30. data/app/pb_kits/playbook/pb_bar_graph/bar_graph.rb +1 -1
  31. data/app/pb_kits/playbook/pb_body/body.rb +1 -1
  32. data/app/pb_kits/playbook/pb_button/_button.jsx +1 -5
  33. data/app/pb_kits/playbook/pb_button/_button_mixins.scss +0 -1
  34. data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.jsx +3 -7
  35. data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.scss +90 -82
  36. data/app/pb_kits/playbook/pb_button_toolbar/button_toolbar.rb +2 -4
  37. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_default.html.erb +7 -17
  38. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_default.jsx +9 -32
  39. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_secondary.html.erb +7 -18
  40. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_secondary.jsx +9 -37
  41. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_vertical.html.erb +11 -0
  42. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_vertical.jsx +29 -0
  43. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_vertical_secondary.html.erb +11 -0
  44. data/app/pb_kits/playbook/pb_button_toolbar/docs/_button_toolbar_vertical_secondary.jsx +34 -0
  45. data/app/pb_kits/playbook/pb_button_toolbar/docs/example.yml +7 -3
  46. data/app/pb_kits/playbook/pb_button_toolbar/docs/index.js +2 -0
  47. data/app/pb_kits/playbook/pb_caption/_caption.html.erb +5 -7
  48. data/app/pb_kits/playbook/pb_caption/_caption.jsx +2 -2
  49. data/app/pb_kits/playbook/pb_caption/docs/example.yml +0 -2
  50. data/app/pb_kits/playbook/pb_caption/docs/index.js +0 -1
  51. data/app/pb_kits/playbook/pb_checkbox/_checkbox.jsx +2 -5
  52. data/app/pb_kits/playbook/pb_checkbox/checkbox.rb +1 -3
  53. data/app/pb_kits/playbook/pb_checkbox/docs/example.yml +0 -1
  54. data/app/pb_kits/playbook/pb_circle_icon_button/_circle_icon_button.jsx +1 -5
  55. data/app/pb_kits/playbook/pb_collapsible/_collapsible.html.erb +9 -0
  56. data/app/pb_kits/playbook/pb_collapsible/_collapsible.jsx +142 -0
  57. data/app/pb_kits/playbook/pb_collapsible/_collapsible.scss +17 -0
  58. data/app/pb_kits/playbook/pb_collapsible/child_kits/_collapsible_content.html.erb +7 -0
  59. data/app/pb_kits/playbook/pb_collapsible/child_kits/_collapsible_main.html.erb +16 -0
  60. data/app/pb_kits/playbook/pb_collapsible/collapsible.rb +15 -0
  61. data/app/pb_kits/playbook/pb_collapsible/collapsible_content.rb +21 -0
  62. data/app/pb_kits/playbook/pb_collapsible/collapsible_main.rb +24 -0
  63. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_dark.html.erb +10 -0
  64. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_dark.jsx +17 -0
  65. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_default.html.erb +10 -0
  66. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_default.jsx +17 -0
  67. data/app/pb_kits/playbook/pb_collapsible/docs/example.yml +9 -0
  68. data/app/pb_kits/playbook/pb_collapsible/docs/index.js +2 -0
  69. data/app/pb_kits/playbook/pb_collapsible/index.js +82 -0
  70. data/app/pb_kits/playbook/pb_contact/_contact.jsx +1 -5
  71. data/app/pb_kits/playbook/pb_currency/_currency.jsx +1 -5
  72. data/app/pb_kits/playbook/pb_dashboard_value/_dashboard_value.jsx +1 -5
  73. data/app/pb_kits/playbook/pb_date/_date.html.erb +8 -64
  74. data/app/pb_kits/playbook/pb_date/_date.jsx +66 -115
  75. data/app/pb_kits/playbook/pb_date/_date.scss +0 -30
  76. data/app/pb_kits/playbook/pb_date/date.rb +9 -21
  77. data/app/pb_kits/playbook/pb_date/docs/_date_default.html.erb +6 -21
  78. data/app/pb_kits/playbook/pb_date/docs/_date_default.jsx +12 -43
  79. data/app/pb_kits/playbook/pb_date/docs/example.yml +0 -4
  80. data/app/pb_kits/playbook/pb_date/docs/index.js +0 -2
  81. data/app/pb_kits/playbook/pb_date_picker/_date_picker.html.erb +2 -1
  82. data/app/pb_kits/playbook/pb_date_picker/_date_picker.jsx +5 -3
  83. data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +2 -3
  84. data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.js +31 -37
  85. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.html.erb +4 -0
  86. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.jsx +13 -0
  87. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_allow_input.md +1 -0
  88. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_dark.html.erb +4 -0
  89. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_dark.jsx +13 -0
  90. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.html.erb +2 -1
  91. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.jsx +2 -1
  92. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_format.html.erb +0 -4
  93. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_format.jsx +0 -4
  94. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_input.html.erb +9 -9
  95. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_input.jsx +8 -8
  96. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_input.md +1 -3
  97. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.html.erb +0 -1
  98. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_range.jsx +0 -1
  99. data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +4 -1
  100. data/app/pb_kits/playbook/pb_date_picker/docs/index.js +2 -1
  101. data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.html.erb +14 -8
  102. data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.jsx +39 -122
  103. data/app/pb_kits/playbook/pb_date_range_inline/_date_range_inline.scss +2 -33
  104. data/app/pb_kits/playbook/pb_date_range_inline/date_range_inline.rb +9 -44
  105. data/app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.html.erb +1 -14
  106. data/app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default.jsx +1 -45
  107. data/app/pb_kits/playbook/pb_date_range_stacked/_date_range_stacked.jsx +1 -5
  108. data/app/pb_kits/playbook/pb_date_stacked/_date_stacked.jsx +2 -2
  109. data/app/pb_kits/playbook/pb_date_year_stacked/_date_year_stacked.jsx +1 -5
  110. data/app/pb_kits/playbook/pb_distribution_bar/_distribution_bar.html.erb +8 -1
  111. data/app/pb_kits/playbook/pb_distribution_bar/distribution_bar.rb +0 -7
  112. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.html.erb +2 -3
  113. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.jsx +17 -31
  114. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss +0 -10
  115. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_default.html.erb +1 -2
  116. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_default.jsx +2 -1
  117. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line.html.erb +1 -1
  118. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line.jsx +1 -1
  119. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line_dark.html.erb +1 -1
  120. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line_dark.jsx +1 -1
  121. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/example.yml +0 -2
  122. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/index.js +0 -1
  123. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/fixed_confirmation_toast.rb +1 -7
  124. data/app/pb_kits/playbook/pb_flex/_flex.jsx +2 -2
  125. data/app/pb_kits/playbook/pb_flex/_flex_item.jsx +1 -1
  126. data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +2 -10
  127. data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +1 -1
  128. data/app/pb_kits/playbook/pb_form/docs/_form_simple_form.html.erb +3 -3
  129. data/app/pb_kits/playbook/pb_form/docs/_form_simple_form_validate.html.erb +3 -3
  130. data/app/pb_kits/playbook/pb_form/form_builder/checkbox_field.rb +2 -7
  131. data/app/pb_kits/playbook/pb_form/form_builder/date_picker_field.rb +0 -1
  132. data/app/pb_kits/playbook/pb_form_pill/_form_pill.jsx +2 -3
  133. data/app/pb_kits/playbook/pb_gauge/_gauge.jsx +1 -1
  134. data/app/pb_kits/playbook/pb_highlight/_highlight.jsx +1 -1
  135. data/app/pb_kits/playbook/pb_home_address_street/_home_address_street.jsx +2 -2
  136. data/app/pb_kits/playbook/pb_icon/_icon.jsx +2 -2
  137. data/app/pb_kits/playbook/pb_icon_value/_icon_value.jsx +1 -5
  138. data/app/pb_kits/playbook/pb_image/_image.jsx +1 -5
  139. data/app/pb_kits/playbook/pb_label_pill/_label_pill.jsx +1 -5
  140. data/app/pb_kits/playbook/pb_layout/_layout.jsx +4 -4
  141. data/app/pb_kits/playbook/pb_line_graph/_line_graph.html.erb +13 -1
  142. data/app/pb_kits/playbook/pb_line_graph/_line_graph.jsx +1 -1
  143. data/app/pb_kits/playbook/pb_line_graph/line_graph.rb +1 -1
  144. data/app/pb_kits/playbook/pb_list/_list.jsx +2 -3
  145. data/app/pb_kits/playbook/pb_list/_list_item.jsx +2 -3
  146. data/app/pb_kits/playbook/pb_logistic/_logistic.jsx +1 -5
  147. data/app/pb_kits/playbook/pb_message/_message.jsx +1 -5
  148. data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.jsx +2 -5
  149. data/app/pb_kits/playbook/pb_nav/_item.html.erb +0 -3
  150. data/app/pb_kits/playbook/pb_nav/_item.jsx +1 -14
  151. data/app/pb_kits/playbook/pb_nav/_nav.jsx +2 -5
  152. data/app/pb_kits/playbook/pb_nav/_vertical_nav.scss +3 -22
  153. data/app/pb_kits/playbook/pb_nav/docs/example.yml +0 -5
  154. data/app/pb_kits/playbook/pb_nav/docs/index.js +0 -2
  155. data/app/pb_kits/playbook/pb_nav/item.rb +0 -1
  156. data/app/pb_kits/playbook/pb_nav/nav.rb +1 -6
  157. data/app/pb_kits/playbook/pb_person/_person.jsx +1 -5
  158. data/app/pb_kits/playbook/pb_person_contact/_person_contact.jsx +7 -12
  159. data/app/pb_kits/playbook/pb_person_contact/docs/_person_contact_with_wrong_numbers.jsx +0 -1
  160. data/app/pb_kits/playbook/pb_pill/_pill.scss +0 -1
  161. data/app/pb_kits/playbook/pb_popover/_popover.jsx +1 -5
  162. data/app/pb_kits/playbook/pb_popover/_popover.scss +4 -6
  163. data/app/pb_kits/playbook/pb_popover/index.js +1 -3
  164. data/app/pb_kits/playbook/pb_progress_simple/_progress_simple.jsx +4 -4
  165. data/app/pb_kits/playbook/pb_progress_step/_progress_step.jsx +1 -4
  166. data/app/pb_kits/playbook/pb_progress_step/_progress_step.scss +33 -168
  167. data/app/pb_kits/playbook/pb_progress_step/_progress_step_item.html.erb +1 -3
  168. data/app/pb_kits/playbook/pb_progress_step/_progress_step_item.jsx +8 -10
  169. data/app/pb_kits/playbook/pb_progress_step/docs/_description.md +1 -1
  170. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.html.erb +16 -14
  171. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.jsx +3 -6
  172. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.html.erb +1 -17
  173. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.jsx +1 -17
  174. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.jsx +3 -10
  175. data/app/pb_kits/playbook/pb_progress_step/progress_step.rb +1 -11
  176. data/app/pb_kits/playbook/pb_progress_step/progress_step_item.rb +1 -1
  177. data/app/pb_kits/playbook/pb_radio/_radio.html.erb +1 -1
  178. data/app/pb_kits/playbook/pb_radio/docs/example.yml +0 -1
  179. data/app/pb_kits/playbook/pb_radio/radio.rb +4 -2
  180. data/app/pb_kits/playbook/pb_section_separator/_section_separator.jsx +3 -1
  181. data/app/pb_kits/playbook/pb_section_separator/_section_separator.scss +47 -26
  182. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_line.jsx +2 -6
  183. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_text.jsx +1 -2
  184. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_text_background.jsx +1 -2
  185. data/app/pb_kits/playbook/pb_section_separator/docs/_section_separator_vertical.jsx +3 -9
  186. data/app/pb_kits/playbook/pb_section_separator/section_separator.rb +1 -1
  187. data/app/pb_kits/playbook/pb_select/_select.scss +1 -1
  188. data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.html.erb +4 -4
  189. data/app/pb_kits/playbook/pb_selectable_card/docs/example.yml +2 -3
  190. data/app/pb_kits/playbook/pb_selectable_card/selectable_card.rb +9 -16
  191. data/app/pb_kits/playbook/pb_selectable_card_icon/_selectable_card_icon.html.erb +2 -3
  192. data/app/pb_kits/playbook/pb_selectable_card_icon/docs/example.yml +3 -4
  193. data/app/pb_kits/playbook/pb_selectable_card_icon/selectable_card_icon.rb +0 -3
  194. data/app/pb_kits/playbook/pb_selectable_icon/_selectable_icon.html.erb +3 -3
  195. data/app/pb_kits/playbook/pb_selectable_icon/docs/example.yml +2 -3
  196. data/app/pb_kits/playbook/pb_selectable_icon/selectable_icon.rb +0 -10
  197. data/app/pb_kits/playbook/pb_stat_change/_stat_change.jsx +2 -2
  198. data/app/pb_kits/playbook/pb_stat_value/_stat_value.jsx +3 -3
  199. data/app/pb_kits/playbook/pb_stat_value/docs/_stat_value_default.jsx +1 -6
  200. data/app/pb_kits/playbook/pb_table/_table.jsx +2 -2
  201. data/app/pb_kits/playbook/pb_table/docs/example.yml +0 -12
  202. data/app/pb_kits/playbook/pb_table/docs/index.js +0 -6
  203. data/app/pb_kits/playbook/pb_text_input/_text_input.jsx +1 -1
  204. data/app/pb_kits/playbook/pb_textarea/_textarea.jsx +1 -1
  205. data/app/pb_kits/playbook/pb_time/_time.html.erb +20 -17
  206. data/app/pb_kits/playbook/pb_time/_time.jsx +29 -42
  207. data/app/pb_kits/playbook/pb_time/_time.scss +24 -4
  208. data/app/pb_kits/playbook/pb_time/docs/_time_align.jsx +1 -4
  209. data/app/pb_kits/playbook/pb_time/docs/_time_default.html.erb +11 -11
  210. data/app/pb_kits/playbook/pb_time/docs/_time_default.jsx +1 -13
  211. data/app/pb_kits/playbook/pb_time/docs/_time_sizes.jsx +1 -4
  212. data/app/pb_kits/playbook/pb_time/docs/_time_timestamp.jsx +1 -3
  213. data/app/pb_kits/playbook/pb_time/docs/_time_timezone.html.erb +1 -2
  214. data/app/pb_kits/playbook/pb_time/docs/_time_timezone.jsx +2 -7
  215. data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.jsx +1 -1
  216. data/app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.scss +5 -5
  217. data/app/pb_kits/playbook/pb_time_stacked/_time_stacked.jsx +3 -3
  218. data/app/pb_kits/playbook/pb_timestamp/_timestamp.jsx +1 -1
  219. data/app/pb_kits/playbook/pb_title/_title.jsx +1 -5
  220. data/app/pb_kits/playbook/pb_title_count/_title_count.jsx +1 -5
  221. data/app/pb_kits/playbook/pb_title_detail/_title_detail.jsx +5 -5
  222. data/app/pb_kits/playbook/pb_toggle/_toggle.jsx +3 -3
  223. data/app/pb_kits/playbook/pb_toggle/_toggle.scss +43 -41
  224. data/app/pb_kits/playbook/pb_toggle/docs/_toggle_size.html.erb +11 -0
  225. data/app/pb_kits/playbook/pb_toggle/docs/_toggle_size.jsx +44 -0
  226. data/app/pb_kits/playbook/pb_toggle/docs/example.yml +2 -1
  227. data/app/pb_kits/playbook/pb_toggle/docs/index.js +1 -0
  228. data/app/pb_kits/playbook/pb_toggle/toggle.rb +2 -5
  229. data/app/pb_kits/playbook/pb_typeahead/_typeahead.html.erb +20 -24
  230. data/app/pb_kits/playbook/pb_typeahead/_typeahead.jsx +1 -19
  231. data/app/pb_kits/playbook/pb_typeahead/components/MultiValue.jsx +1 -8
  232. data/app/pb_kits/playbook/pb_typeahead/components/Option.jsx +13 -21
  233. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_default.html.erb +3 -4
  234. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_context_dark.html.erb +1 -1
  235. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.jsx +3 -0
  236. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_summary.jsx +45 -0
  237. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.jsx +3 -0
  238. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_summary.jsx +27 -0
  239. data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +0 -3
  240. data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +1 -24
  241. data/app/pb_kits/playbook/pb_user_badge/_user_badge.jsx +2 -5
  242. data/app/pb_kits/playbook/props.rb +1 -1
  243. data/app/pb_kits/playbook/props/base.rb +4 -6
  244. data/app/pb_kits/playbook/tokens/_colors.scss +23 -22
  245. data/app/pb_kits/playbook/tokens/_typography.scss +4 -4
  246. data/app/pb_kits/playbook/vendor.js +3 -8
  247. data/app/views/layouts/playbook/_mobile_hamburger.html.erb +2 -0
  248. data/app/views/layouts/playbook/_nav.html.erb +37 -0
  249. data/app/views/layouts/playbook/_sidebar.html.erb +51 -0
  250. data/app/views/layouts/playbook/application.html.erb +26 -0
  251. data/app/views/layouts/playbook/fullscreen.html.slim +10 -0
  252. data/app/views/layouts/playbook/grid.html.slim +10 -0
  253. data/app/views/layouts/playbook/samples.html.erb +19 -0
  254. data/app/views/playbook/guides/create_kit.html.slim +16 -0
  255. data/app/views/playbook/guides/create_kit/_file_naming.html.md +2 -0
  256. data/app/views/playbook/guides/create_kit/_generator.html.md +6 -0
  257. data/app/views/playbook/guides/create_kit/_kit_examples.html.md +2 -0
  258. data/app/views/playbook/guides/create_kit/_kit_rails.html.md +2 -0
  259. data/app/views/playbook/guides/create_kit/_kit_react.html.md +2 -0
  260. data/app/views/playbook/guides/create_kit/_layout.html.md +2 -0
  261. data/app/views/playbook/guides/create_kit/_view_objects.html.md +2 -0
  262. data/app/views/playbook/guides/create_kit/_writing_sass.md +10 -0
  263. data/app/views/playbook/guides/use_nitro.html.slim +6 -0
  264. data/app/views/playbook/guides/use_nitro/_local.html.md +2 -0
  265. data/app/views/playbook/guides/use_nitro/_nitro_components.html.md +2 -0
  266. data/app/views/playbook/guides/use_nitro/_versions.html.md +2 -0
  267. data/app/views/playbook/pages/fullscreen.html.slim +10 -0
  268. data/app/views/playbook/pages/grid.html.slim +2 -0
  269. data/app/views/playbook/pages/home.html.slim +4 -0
  270. data/app/views/playbook/pages/kit_category_show.html.erb +14 -0
  271. data/app/views/playbook/pages/kit_show.html.erb +33 -0
  272. data/app/views/playbook/pages/kits.html.erb +12 -0
  273. data/app/views/playbook/pages/principals/_getting_started.html.md +30 -0
  274. data/app/views/playbook/pages/principles.html.slim +3 -0
  275. data/app/views/playbook/pages/tokens.html.slim +15 -0
  276. data/app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim +61 -0
  277. data/app/views/playbook/pages/utilities.html.slim +116 -0
  278. data/app/views/playbook/pages/utilities/_pb_doc_color.html.slim +15 -0
  279. data/app/views/playbook/samples/collection_detail/index.html.erb +169 -0
  280. data/app/views/playbook/samples/collection_detail/index.jsx +372 -0
  281. data/app/views/playbook/samples/dashboards/index.html.erb +81 -0
  282. data/app/views/playbook/samples/dashboards/index.jsx +130 -0
  283. data/app/views/playbook/samples/filter_table/index.html.erb +348 -0
  284. data/app/views/playbook/samples/filter_table/index.jsx +433 -0
  285. data/app/views/playbook/samples/registration/index.html.erb +316 -0
  286. data/app/views/playbook/samples/registration/index.jsx +476 -0
  287. data/app/views/playbook/samples/sample_show.html.erb +36 -0
  288. data/lib/generators/kit/USAGE +5 -0
  289. data/lib/generators/kit/kit_generator.rb +95 -0
  290. data/lib/generators/kit/templates/kit_example_rails.erb.tt +1 -0
  291. data/lib/generators/kit/templates/kit_example_react.erb.tt +10 -0
  292. data/lib/generators/kit/templates/kit_example_yml.erb.tt +9 -0
  293. data/lib/generators/kit/templates/kit_html.erb.tt +7 -0
  294. data/lib/generators/kit/templates/kit_js.erb.tt +1 -0
  295. data/lib/generators/kit/templates/kit_jsx.erb.tt +68 -0
  296. data/lib/generators/kit/templates/kit_ruby.erb.tt +11 -0
  297. data/lib/generators/kit/templates/kit_ruby_spec.erb.tt +11 -0
  298. data/lib/generators/kit/templates/kit_scss.erb +3 -0
  299. data/lib/playbook/engine.rb +0 -1
  300. data/lib/playbook/version.rb +1 -1
  301. data/lib/tasks/pb_release.rake +77 -0
  302. data/lib/tasks/playbook_tasks.rake +26 -0
  303. metadata +104 -53
  304. data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss +0 -57
  305. data/app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_mixins.scss +0 -27
  306. data/app/pb_kits/playbook/pb_caption/docs/_caption_block.html.erb +0 -11
  307. data/app/pb_kits/playbook/pb_caption/docs/_caption_block.jsx +0 -28
  308. data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_options.html.erb +0 -10
  309. data/app/pb_kits/playbook/pb_date/docs/_date_alignment.html.erb +0 -24
  310. data/app/pb_kits/playbook/pb_date/docs/_date_alignment.jsx +0 -35
  311. data/app/pb_kits/playbook/pb_date/docs/_date_variants.html.erb +0 -27
  312. data/app/pb_kits/playbook/pb_date/docs/_date_variants.jsx +0 -43
  313. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_default_date.md +0 -1
  314. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.jsx +0 -34
  315. data/app/pb_kits/playbook/pb_date_picker/docs/_date_picker_on_change.md +0 -3
  316. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_close.html.erb +0 -21
  317. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_close.jsx +0 -38
  318. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/index.js +0 -18
  319. data/app/pb_kits/playbook/pb_nav/docs/_borderless_nav.html.erb +0 -6
  320. data/app/pb_kits/playbook/pb_nav/docs/_borderless_nav.jsx +0 -29
  321. data/app/pb_kits/playbook/pb_nav/docs/_with_img_nav.html.erb +0 -7
  322. data/app/pb_kits/playbook/pb_nav/docs/_with_img_nav.jsx +0 -42
  323. data/app/pb_kits/playbook/pb_nav/docs/_with_img_nav.md +0 -1
  324. data/app/pb_kits/playbook/pb_radio/docs/_radio_options.html.erb +0 -9
  325. data/app/pb_kits/playbook/pb_section_separator/_section_separator_mixin.scss +0 -32
  326. data/app/pb_kits/playbook/pb_selectable_card/docs/_selectable_card_options.html.erb +0 -16
  327. data/app/pb_kits/playbook/pb_selectable_card_icon/docs/_selectable_card_icon_options.html.erb +0 -16
  328. data/app/pb_kits/playbook/pb_selectable_icon/docs/_selectable_icon_options.html.erb +0 -15
  329. data/app/pb_kits/playbook/pb_table/docs/_table_action_middle.html.erb +0 -34
  330. data/app/pb_kits/playbook/pb_table/docs/_table_action_middle.jsx +0 -68
  331. data/app/pb_kits/playbook/pb_table/docs/_table_action_middle.md +0 -2
  332. data/app/pb_kits/playbook/pb_table/docs/_table_icon_buttons.html.erb +0 -61
  333. data/app/pb_kits/playbook/pb_table/docs/_table_icon_buttons.jsx +0 -89
  334. data/app/pb_kits/playbook/pb_table/docs/_table_icon_buttons.md +0 -1
  335. data/app/pb_kits/playbook/pb_table/docs/_table_one_action.html.erb +0 -34
  336. data/app/pb_kits/playbook/pb_table/docs/_table_one_action.jsx +0 -68
  337. data/app/pb_kits/playbook/pb_table/docs/_table_one_action.md +0 -2
  338. data/app/pb_kits/playbook/pb_table/docs/_table_two_actions.html.erb +0 -43
  339. data/app/pb_kits/playbook/pb_table/docs/_table_two_actions.jsx +0 -80
  340. data/app/pb_kits/playbook/pb_table/docs/_table_two_actions.md +0 -1
  341. data/app/pb_kits/playbook/pb_table/docs/_table_two_plus_actions.html.erb +0 -34
  342. data/app/pb_kits/playbook/pb_table/docs/_table_two_plus_actions.jsx +0 -63
  343. data/app/pb_kits/playbook/pb_table/docs/_table_two_plus_actions.md +0 -1
  344. data/app/pb_kits/playbook/pb_toggle/docs/_toggle_options.html.erb +0 -10
  345. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.html.erb +0 -25
  346. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.md +0 -8
  347. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.html.erb +0 -30
  348. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async.md +0 -11
  349. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.html.erb +0 -25
  350. data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills_async_users.md +0 -1
  351. data/app/pb_kits/playbook/react_rails_kits.js +0 -6
  352. data/app/pb_kits/playbook/tokens/index.scss +0 -11
@@ -2,9 +2,7 @@ examples:
2
2
  rails:
3
3
  - default_nav: Default
4
4
  - with_icons_nav: With Icons
5
- - with_img_nav: With Custom Icon
6
5
  - no_highlight_nav: No Highlight
7
- - borderless_nav: No Borders
8
6
  - subtle_nav: Subtle Variant
9
7
  - subtle_with_icons_nav: Subtle With Icons
10
8
  - subtle_no_highlight_nav: Subtle No Highlight
@@ -15,13 +13,10 @@ examples:
15
13
  react:
16
14
  - default_nav: Default
17
15
  - with_icons_nav: With Icons
18
- - with_img_nav: With Custom Icon
19
16
  - no_highlight_nav: No Highlight
20
- - borderless_nav: No Borders
21
17
  - subtle_nav: Subtle Variant
22
18
  - subtle_with_icons_nav: Subtle With Icons
23
19
  - subtle_no_highlight_nav: Subtle No Highlight
24
20
  - horizontal_nav: Horizontal Nav
25
21
  - block_nav: Block
26
22
  - block_no_title_nav: Without Title
27
-
@@ -3,9 +3,7 @@ export { default as HorizontalNav } from './_horizontal_nav.jsx'
3
3
  export { default as BlockNav } from './_block_nav.jsx'
4
4
  export { default as BlockNoTitleNav } from './_block_no_title_nav.jsx'
5
5
  export { default as NoHighlightNav } from './_no_highlight_nav.jsx'
6
- export { default as BorderlessNav } from './_borderless_nav.jsx'
7
6
  export { default as SubtleNav } from './_subtle_nav.jsx'
8
7
  export { default as SubtleNoHighlightNav } from './_subtle_no_highlight_nav.jsx'
9
8
  export { default as WithIconsNav } from './_with_icons_nav.jsx'
10
9
  export { default as SubtleWithIconsNav } from './_subtle_with_icons_nav.jsx'
11
- export { default as WithImgNav } from './_with_img_nav.jsx'
@@ -12,7 +12,6 @@ module Playbook
12
12
  prop :text
13
13
  prop :icon_left
14
14
  prop :icon_right
15
- prop :image_url
16
15
 
17
16
  def classname
18
17
  generate_classname("pb_nav_list_kit_item", active_class)
@@ -17,19 +17,14 @@ module Playbook
17
17
  values: %w[normal subtle],
18
18
  default: "normal"
19
19
  prop :highlight, type: Playbook::Props::Boolean, default: true
20
- prop :borderless, type: Playbook::Props::Boolean, default: false
21
20
 
22
21
  def classname
23
- generate_classname("pb_nav_list", variant, orientation, highlight_class, borderless_class)
22
+ generate_classname("pb_nav_list", variant, orientation, highlight_class)
24
23
  end
25
24
 
26
25
  def highlight_class
27
26
  highlight ? "highlight" : nil
28
27
  end
29
-
30
- def borderless_class
31
- borderless ? "borderless" : nil
32
- end
33
28
  end
34
29
  end
35
30
  end
@@ -32,11 +32,7 @@ const Person = (props: PersonProps) => {
32
32
 
33
33
  const ariaProps = buildAriaProps(aria)
34
34
  const dataProps = buildDataProps(data)
35
- const classes = classnames(
36
- buildCss('pb_person_kit'),
37
- globalProps(props),
38
- className
39
- )
35
+ const classes = classnames(buildCss('pb_person_kit'), className, globalProps(props))
40
36
 
41
37
  return (
42
38
  <div
@@ -43,11 +43,7 @@ const PersonContact = (props: PersonContactProps) => {
43
43
 
44
44
  const ariaProps = buildAriaProps(aria)
45
45
  const dataProps = buildDataProps(data)
46
- const classes = classnames(
47
- buildCss('pb_person_contact_kit'),
48
- globalProps(props),
49
- className
50
- )
46
+ const classes = classnames(buildCss('pb_person_contact_kit'), className, globalProps(props))
51
47
 
52
48
  const wrongContacts = () => (
53
49
  contacts.filter((contactObject) => (
@@ -77,23 +73,22 @@ const PersonContact = (props: PersonContactProps) => {
77
73
  contactDetail={contactObject.contactDetail}
78
74
  contactType={contactObject.contactType}
79
75
  contactValue={contactObject.contactValue}
80
- key={`valid-contact-${index}`}
76
+ key={index}
81
77
  />
82
- ))}
78
+ ))}
83
79
  {wrongContacts().map((contactObject, index) => (
84
- <div key={`wrong-contact-caption-wrapper-${index}`}>
80
+ <>
85
81
  <Caption
86
82
  className="wrong_numbers"
87
- key={`wrong-contact-caption-${index}`}
88
83
  text="wrong number"
89
84
  />
90
85
  <Contact
91
86
  contactType={contactObject.contactType}
92
87
  contactValue={contactObject.contactValue}
93
- key={`wrong-contact-${index}`}
88
+ key={index}
94
89
  />
95
- </div>
96
- ))}
90
+ </>
91
+ ))}
97
92
  </div>
98
93
  )
99
94
  }
@@ -23,7 +23,6 @@ const PersonContactWithWrongNumbers = () => {
23
23
  },
24
24
  ]}
25
25
  firstName="Pauline"
26
- key="person-contact-1"
27
26
  lastName="Smith"
28
27
  />
29
28
  </>
@@ -12,7 +12,6 @@ $pb_pill_height: 22px;
12
12
  padding: 0 $space-sm/1.8;
13
13
  height: $pb_pill_height;
14
14
  border-radius: $pb_pill_height/2;
15
- white-space: nowrap;
16
15
 
17
16
  @each $color_name, $color_value in $status_color_text {
18
17
  &[class*=_#{$color_name}] {
@@ -78,11 +78,7 @@ const Popover = (props: PbPopoverProps) => {
78
78
  }
79
79
  const ariaProps = buildAriaProps(aria)
80
80
  const dataProps = buildDataProps(data)
81
- const classes = classnames(
82
- buildCss('pb_popover_kit'),
83
- globalProps(props),
84
- className
85
- )
81
+ const classes = classnames(buildCss('pb_popover_kit'), className, globalProps(props))
86
82
 
87
83
  return (
88
84
  <Popper
@@ -31,14 +31,12 @@
31
31
 
32
32
  .pb_popover_tooltip {
33
33
  opacity: 0;
34
+ animation-name: fadeOut;
35
+ animation-duration: 150ms;
36
+ animation-timing-function: linear;
37
+ animation-fill-mode: forwards;
34
38
  visibility: hidden;
35
39
  pointer-events: none;
36
- &.hide {
37
- animation-name: fadeOut;
38
- animation-duration: 150ms;
39
- animation-timing-function: linear;
40
- animation-fill-mode: forwards;
41
- }
42
40
  &.show {
43
41
  animation-name: fadeIn;
44
42
  animation-duration: 150ms;
@@ -37,7 +37,7 @@ export default class PbPopover extends PbEnhancedElement {
37
37
 
38
38
  setTimeout(() => {
39
39
  this.popper.update()
40
- this.toggleTooltip()
40
+ this.tooltip.classList.toggle('show')
41
41
  }, 0)
42
42
  })
43
43
  }
@@ -71,12 +71,10 @@ export default class PbPopover extends PbEnhancedElement {
71
71
 
72
72
  hideTooltip() {
73
73
  this.tooltip.classList.remove('show')
74
- this.tooltip.classList.add('hide')
75
74
  }
76
75
 
77
76
  toggleTooltip() {
78
77
  this.tooltip.classList.toggle('show')
79
- this.tooltip.classList.toggle('hide')
80
78
  }
81
79
 
82
80
  get triggerElement() {
@@ -41,14 +41,14 @@ const ProgressSimple = (props: ProgressSimpleProps) => {
41
41
  }
42
42
 
43
43
  const wrapperClass = classnames(
44
+ className,
44
45
  buildCss('pb_progress_simple_wrapper', align, { dark: dark }),
45
- globalProps(props),
46
- className
46
+ globalProps(props)
47
47
  )
48
48
 
49
49
  const kitClass = classnames(
50
- buildCss('pb_progress_simple_kit', { muted }, variantStyle, align),
51
- className
50
+ className,
51
+ buildCss('pb_progress_simple_kit', { muted: muted }, variantStyle, align)
52
52
  )
53
53
 
54
54
  return (
@@ -13,14 +13,12 @@ type ProgressStepProps = {
13
13
  orientation?: "horizontal" | "vertical",
14
14
  icon?: boolean,
15
15
  variant?: string,
16
- color?: string,
17
16
  }
18
17
 
19
18
  const ProgressStep = (props: ProgressStepProps) => {
20
19
  const {
21
20
  className,
22
21
  children,
23
- color,
24
22
  orientation = 'horizontal',
25
23
  icon = false,
26
24
  variant,
@@ -31,11 +29,10 @@ const ProgressStep = (props: ProgressStepProps) => {
31
29
  orientation,
32
30
  iconStyle,
33
31
  variant,
34
- color,
35
32
  )
36
33
 
37
34
  return (
38
- <ul className={classnames(progressStepCss, globalProps(props), className)}>
35
+ <ul className={classnames(progressStepCss, className, globalProps(props))}>
39
36
  {children}
40
37
  </ul>
41
38
  )
@@ -4,17 +4,18 @@
4
4
  @import "../tokens/opacity";
5
5
  @import "../tokens/typography";
6
6
 
7
-
8
-
9
7
  [class^=pb_progress_step_kit]{
10
8
  list-style:none;
11
9
  display: flex;
10
+
12
11
  [class*=pb_progress_step_item] {
13
12
  display:flex;
13
+ flex-basis:100%;
14
14
  flex-direction:column;
15
+ justify-content:space-between;
15
16
  position: relative;
16
- flex-basis: 100%;
17
-
17
+ align-items: center;
18
+
18
19
  .circle {
19
20
  height:14px;
20
21
  width:14px;
@@ -38,6 +39,7 @@
38
39
  height: 4px;
39
40
  position: absolute;
40
41
  top: 5px;
42
+ left: -50%;
41
43
  width:100%;
42
44
  background-color:$border_light;
43
45
  }
@@ -56,7 +58,7 @@
56
58
  .circle{
57
59
  background-color: $white;
58
60
  border: solid 2px $primary;
59
- color: rgba( $primary, 0)
61
+ color: rgba($color: $primary, $alpha: 0)
60
62
  }
61
63
  &::before{
62
64
  background-color: $primary;
@@ -72,163 +74,18 @@
72
74
  }
73
75
  }
74
76
  }
75
- // Start of Horizontal
77
+
76
78
  &[class*=horizontal]{
77
79
  flex-direction: row;
78
- [class*=pb_progress_step_item]{
79
- align-items: flex-end;
80
- &::before{
81
- width: calc(100% + .04em);
82
- }
83
- [class*=box]{
84
- display: flex;
85
- flex-direction: column;
86
- align-items: center;
87
- .content{
88
- top: 16px;
89
- position: absolute;
90
- width: fit-content;
91
- min-width: max-content;
92
- }
93
- }
94
- &:first-child {
95
- position: relative;
96
- align-items: flex-start;
97
- flex-basis: 0;
98
- .box{
99
- align-items: flex-start;
100
- }
101
- }
102
- &:last-child{
103
- .box{
104
- align-items: flex-end;
105
- }
106
-
107
- }
108
- }
109
- // Start of Tracker
110
- &[class*=tracker] {
111
- background-color: $border_light;
112
- border-radius: 1rem;
113
- height:24px;
114
- align-items: center;
115
- [class*=box]{
116
- .circle{
117
- box-shadow: none;
118
- height: 24px;
119
- width: 24px;
120
- border: $primary solid 4px;
121
- }
122
- .content{
123
- top:-24px;
124
- position: absolute;
125
- }
126
- }
127
- li[class*=pb_progress_step_item]{
128
- &::before{
129
- background-color: $border_light;
130
- height: 24px;
131
- border-radius: 1rem;
132
- top: 0;
133
- width: calc(100% + 1.5em);
134
- }
135
- .box{
136
- align-items: center;
137
- }
138
- &:first-child{
139
- position: relative;
140
- .box{
141
- align-items: flex-start;
142
- }
143
- }
144
- &:last-child{
145
- .box{
146
- align-items: flex-end;
147
- }
148
- }
149
- }
150
- li[class*=_active]{
151
- .circle{
152
- height: 24px;
153
- width: 24px;
154
- border: $primary solid 6px;
155
- background-color: rgba($white, $opacity_8);
156
- }
157
- &::before {
158
- background-color: $primary;
159
- }
160
- }
161
- li[class*=_inactive]{
162
- &::before {
163
- display: none;
164
- background-color: $border_light;
165
- }
166
- .circle{
167
- background-color: darken($border_light,10%);
168
- border: $border_light solid 6px;
169
- }
170
-
171
- }
172
- li[class*=_complete]{
173
- &::before {
174
- background-color: $primary;
175
- }
176
- .circle{
177
- background-color: darken($primary,25%);
178
- }
179
- }
180
- li[class*=_hidden]{
181
- &::before, .circle {
182
- display: none;
183
- }
184
- }
185
- li[class*=_hidden] ~ li[class*=_active],
186
- li[class*=_hidden] ~ li[class*=_complete] {
187
- &::before {
188
- width: calc(200% + 1.5em);
189
- }
190
- }
191
- &[class*=dark]{
192
- background-color: tint($bg_dark,20%);
193
- [class*=_inactive]{
194
- .circle{
195
- border-color: tint($bg_dark,20%);
196
- }
197
- }
198
- }
199
- &[class*=info]{
200
- li[class*=inactive] .circle{
201
- border-color: $border_light;
202
- }
203
- .box .circle , li[class*=_active] .circle{
204
- border-color: $teal;
205
- }
206
- li[class*=_complete],li[class*=_active]{
207
- &::before {
208
- background-color: $teal;
209
- }
210
- }
211
- li[class*=_complete] .circle{
212
- background-color: darken($teal,25%);
213
- }
214
- }
215
- }
216
- //End of Tracker
217
-
218
80
  }
219
- // End of Horizontal
220
81
 
221
- // Start of Vertical
222
82
  &[class*=vertical]{
223
83
  flex-direction: column;
224
84
  [class*=pb_progress_step_item]{
225
- [class*=box]{
226
- display:flex;
227
85
  flex-direction: row;
228
86
  align-items: flex-start;
229
87
  justify-content: flex-start;
230
88
  margin: 8px;
231
- }
232
89
  &::before {
233
90
  display: flex;
234
91
  flex-direction: column;
@@ -236,7 +93,7 @@
236
93
  height: 100%;
237
94
  position: absolute;
238
95
  top:14px;
239
- left: 21px;
96
+ left: 13px;
240
97
  width:4px;
241
98
  background-color:$border_light;
242
99
  }
@@ -248,39 +105,47 @@
248
105
  }
249
106
  }
250
107
  }
251
- //End of Vertical
252
108
 
253
109
  &[class*=icon] [class*=_complete] svg{
254
110
  opacity: 1;
255
111
  }
256
112
 
257
113
  &[class*=dark] {
258
- [class*=progress_step_item]{
259
- &::before{
260
- background-color: tint($bg_dark,20%);
261
- }
262
- }
263
114
  .circle{
264
- box-shadow: 0 0 0 2px tint($bg_dark,10%);
115
+ box-shadow: 0 0 0 2px $bg_dark;
265
116
  }
266
117
  [class*=active]{
267
118
  .circle{
268
- background-color: tint($bg_dark,10%);
269
- }
270
- &::before{
271
- background-color: $primary;
119
+ background-color: $bg_dark;
272
120
  }
273
121
  }
274
122
  [class*=inactive]{
275
123
  .circle, &::before{
276
- background-color: tint($bg_dark,20%);
124
+ background-color: tint($bg_dark,10%);
277
125
  }
278
126
  }
279
- [class*=complete]{
280
- .circle, &::before{
281
- background-color: $primary;
127
+ }
128
+ &[class*=tracker] {
129
+ .circle{
130
+ box-shadow: none;
131
+ }
132
+ li[class*=pb_progress_step_item]{
133
+ flex-direction: column-reverse;
134
+ &::before{
135
+ background-color: $border_light;
136
+ top:auto;
137
+ bottom: 5px;
138
+ }
139
+ }
140
+ li[class*=active] .circle,li[class*=inactive] .circle{
141
+ background-color: $border_light;
142
+ border:none;
143
+ }
144
+ li[class*=complete]{
145
+ .circle, &::before {
146
+ background-color: $teal;
282
147
  }
283
148
  }
284
149
  }
285
150
 
286
- }
151
+ }