playbook_ui 6.2.1 → 6.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (190) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/data/menu.yml +4 -3
  3. data/app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.html.erb +7 -4
  4. data/app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.jsx +29 -21
  5. data/app/pb_kits/playbook/pb_avatar_action_button/_avatar_action_button.scss +3 -0
  6. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions_dark.html.erb +17 -0
  7. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions_dark.jsx +21 -0
  8. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_dark.html.erb +9 -0
  9. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_dark.jsx +14 -0
  10. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_on_click_dark.html.erb +15 -0
  11. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_on_click_dark.jsx +16 -0
  12. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement_dark.html.erb +31 -0
  13. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement_dark.jsx +33 -0
  14. data/app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_tooltip_dark.html.erb +12 -0
  15. data/app/pb_kits/playbook/pb_avatar_action_button/docs/example.yml +10 -3
  16. data/app/pb_kits/playbook/pb_avatar_action_button/docs/index.js +4 -0
  17. data/app/pb_kits/playbook/pb_badge/_badge.jsx +2 -6
  18. data/app/pb_kits/playbook/pb_badge/docs/_description.md +1 -0
  19. data/app/pb_kits/playbook/pb_body/_body.jsx +3 -3
  20. data/app/pb_kits/playbook/pb_body/_body.scss +12 -9
  21. data/app/pb_kits/playbook/pb_body/_body_mixins.scss +6 -3
  22. data/app/pb_kits/playbook/pb_body/body.rb +3 -3
  23. data/app/pb_kits/playbook/pb_caption/_caption.scss +3 -0
  24. data/app/pb_kits/playbook/pb_card/_card.jsx +1 -1
  25. data/app/pb_kits/playbook/pb_checkbox/_checkbox.html.erb +1 -1
  26. data/app/pb_kits/playbook/pb_checkbox/checkbox.rb +5 -0
  27. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.html.erb +1 -0
  28. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_dark.html.erb +21 -0
  29. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_dark.jsx +40 -0
  30. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line_dark.html.erb +5 -0
  31. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line_dark.jsx +16 -0
  32. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/example.yml +4 -1
  33. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/index.js +2 -0
  34. data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +1 -0
  35. data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +1 -0
  36. data/app/pb_kits/playbook/pb_form/docs/_form_simple_form.html.erb +3 -1
  37. data/app/pb_kits/playbook/pb_form/docs/_form_simple_form_validate.html.erb +3 -1
  38. data/app/pb_kits/playbook/pb_form/form_builder.rb +1 -0
  39. data/app/pb_kits/playbook/pb_form/form_builder/checkbox_field.rb +29 -0
  40. data/app/pb_kits/playbook/pb_hashtag/_hashtag.html.erb +4 -4
  41. data/app/pb_kits/playbook/pb_hashtag/_hashtag.jsx +22 -8
  42. data/app/pb_kits/playbook/pb_hashtag/docs/_hashtag_dark.jsx +3 -0
  43. data/app/pb_kits/playbook/pb_hashtag/docs/_hashtag_default.jsx +3 -0
  44. data/app/pb_kits/playbook/pb_hashtag/hashtag.rb +1 -6
  45. data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.html.erb +4 -3
  46. data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.jsx +21 -6
  47. data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.scss +4 -1
  48. data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color_dark.html.erb +42 -0
  49. data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color_dark.jsx +59 -0
  50. data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_dark.html.erb +4 -0
  51. data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_dark.jsx +16 -0
  52. data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes.html.erb +4 -4
  53. data/app/pb_kits/playbook/pb_icon_circle/docs/{_icon_circle_size.jsx → _icon_circle_sizes.jsx} +2 -2
  54. data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes_dark.html.erb +29 -0
  55. data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes_dark.jsx +34 -0
  56. data/app/pb_kits/playbook/pb_icon_circle/docs/example.yml +8 -1
  57. data/app/pb_kits/playbook/pb_icon_circle/docs/index.js +4 -1
  58. data/app/pb_kits/playbook/pb_icon_value/_icon_value.html.erb +4 -3
  59. data/app/pb_kits/playbook/pb_icon_value/_icon_value.jsx +9 -3
  60. data/app/pb_kits/playbook/pb_icon_value/_icon_value.scss +3 -0
  61. data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_align.jsx +31 -0
  62. data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_align_dark.html.erb +23 -0
  63. data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_align_dark.jsx +34 -0
  64. data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_dark.html.erb +21 -0
  65. data/app/pb_kits/playbook/pb_icon_value/docs/_icon_value_dark.jsx +32 -0
  66. data/app/pb_kits/playbook/pb_icon_value/docs/example.yml +5 -0
  67. data/app/pb_kits/playbook/pb_icon_value/docs/index.js +3 -0
  68. data/app/pb_kits/playbook/pb_label_value/_label_value.html.erb +1 -1
  69. data/app/pb_kits/playbook/pb_label_value/_label_value.jsx +6 -10
  70. data/app/pb_kits/playbook/pb_label_value/_label_value.scss +1 -1
  71. data/app/pb_kits/playbook/pb_label_value/label_value.rb +1 -6
  72. data/app/pb_kits/playbook/pb_legend/_legend.jsx +5 -5
  73. data/app/pb_kits/playbook/pb_legend/legend.rb +1 -6
  74. data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.html.erb +4 -3
  75. data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.jsx +25 -7
  76. data/app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss +6 -0
  77. data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_dark.html.erb +41 -0
  78. data/app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_dark.jsx +52 -0
  79. data/app/pb_kits/playbook/pb_multiple_users/docs/example.yml +2 -0
  80. data/app/pb_kits/playbook/pb_multiple_users/docs/index.js +1 -0
  81. data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.html.erb +6 -4
  82. data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.jsx +19 -8
  83. data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss +12 -7
  84. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_dark.html.erb +53 -0
  85. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_dark.jsx +62 -0
  86. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/example.yml +2 -0
  87. data/app/pb_kits/playbook/pb_multiple_users_stacked/docs/index.js +1 -0
  88. data/app/pb_kits/playbook/pb_nav/_item.html.erb +3 -2
  89. data/app/pb_kits/playbook/pb_nav/_item.jsx +36 -14
  90. data/app/pb_kits/playbook/pb_nav/_nav.html.erb +3 -2
  91. data/app/pb_kits/playbook/pb_nav/_nav.jsx +27 -13
  92. data/app/pb_kits/playbook/pb_nav/docs/example.yml +1 -0
  93. data/app/pb_kits/playbook/pb_online_status/_online_status.html.erb +3 -2
  94. data/app/pb_kits/playbook/pb_online_status/_online_status.jsx +14 -4
  95. data/app/pb_kits/playbook/pb_online_status/_online_status_mixins.scss +5 -2
  96. data/app/pb_kits/playbook/pb_online_status/docs/_online_status_dark.html.erb +9 -0
  97. data/app/pb_kits/playbook/pb_online_status/docs/_online_status_dark.jsx +28 -0
  98. data/app/pb_kits/playbook/pb_online_status/docs/example.yml +2 -0
  99. data/app/pb_kits/playbook/pb_online_status/docs/index.js +1 -0
  100. data/app/pb_kits/playbook/pb_pill/_pill.html.erb +3 -2
  101. data/app/pb_kits/playbook/pb_pill/_pill.jsx +21 -3
  102. data/app/pb_kits/playbook/pb_pill/_pill.scss +1 -1
  103. data/app/pb_kits/playbook/pb_pill/docs/_pill_dark.html.erb +52 -0
  104. data/app/pb_kits/playbook/pb_pill/docs/_pill_dark.jsx +69 -0
  105. data/app/pb_kits/playbook/pb_pill/docs/example.yml +3 -1
  106. data/app/pb_kits/playbook/pb_pill/docs/index.js +1 -0
  107. data/app/pb_kits/playbook/pb_popover/_popover.html.erb +3 -2
  108. data/app/pb_kits/playbook/pb_popover/_popover.jsx +16 -4
  109. data/app/pb_kits/playbook/pb_popover/docs/_popover_close_dark.html.erb +43 -0
  110. data/app/pb_kits/playbook/pb_popover/docs/_popover_close_dark.jsx +102 -0
  111. data/app/pb_kits/playbook/pb_popover/docs/_popover_dark.html.erb +25 -0
  112. data/app/pb_kits/playbook/pb_popover/docs/_popover_dark.jsx +48 -0
  113. data/app/pb_kits/playbook/pb_popover/docs/_popover_default.html.erb +1 -0
  114. data/app/pb_kits/playbook/pb_popover/docs/_popover_list_dark.html.erb +13 -0
  115. data/app/pb_kits/playbook/pb_popover/docs/_popover_list_dark.jsx +51 -0
  116. data/app/pb_kits/playbook/pb_popover/docs/_popover_scroll_height_dark.html.erb +25 -0
  117. data/app/pb_kits/playbook/pb_popover/docs/_popover_scroll_height_dark.jsx +54 -0
  118. data/app/pb_kits/playbook/pb_popover/docs/_popover_z_index_dark.html.erb +14 -0
  119. data/app/pb_kits/playbook/pb_popover/docs/_popover_z_index_dark.jsx +52 -0
  120. data/app/pb_kits/playbook/pb_popover/docs/example.yml +10 -0
  121. data/app/pb_kits/playbook/pb_popover/docs/index.js +5 -0
  122. data/app/pb_kits/playbook/pb_progress_pills/_progress_pills.html.erb +1 -1
  123. data/app/pb_kits/playbook/pb_progress_pills/_progress_pills.jsx +2 -3
  124. data/app/pb_kits/playbook/pb_progress_pills/_progress_pills.scss +1 -2
  125. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_status_dark.html.erb +1 -0
  126. data/app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_status_dark.jsx +19 -0
  127. data/app/pb_kits/playbook/pb_progress_pills/docs/example.yml +2 -0
  128. data/app/pb_kits/playbook/pb_progress_pills/docs/index.js +1 -0
  129. data/app/pb_kits/playbook/pb_progress_pills/progress_pills.rb +2 -13
  130. data/app/pb_kits/playbook/pb_progress_step/_progress_step.html.erb +1 -1
  131. data/app/pb_kits/playbook/pb_progress_step/_progress_step.jsx +5 -6
  132. data/app/pb_kits/playbook/pb_progress_step/_progress_step.scss +124 -538
  133. data/app/pb_kits/playbook/pb_progress_step/_progress_step_item.html.erb +4 -16
  134. data/app/pb_kits/playbook/pb_progress_step/_progress_step_item.jsx +10 -20
  135. data/app/pb_kits/playbook/pb_progress_step/docs/_description.md +5 -1
  136. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_dark.html.erb +26 -0
  137. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.html.erb +27 -1
  138. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.jsx +3 -3
  139. data/app/pb_kits/playbook/pb_progress_step/docs/{_progress_step_child.html.erb → _progress_step_tracker.html.erb} +5 -5
  140. data/app/pb_kits/playbook/pb_progress_step/docs/{_progress_step_child.jsx → _progress_step_tracker.jsx} +7 -7
  141. data/app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.html.erb +7 -1
  142. data/app/pb_kits/playbook/pb_progress_step/docs/example.yml +2 -3
  143. data/app/pb_kits/playbook/pb_progress_step/docs/index.js +1 -1
  144. data/app/pb_kits/playbook/pb_progress_step/progress_step.rb +10 -7
  145. data/app/pb_kits/playbook/pb_progress_step/progress_step_item.rb +2 -1
  146. data/app/pb_kits/playbook/pb_radio/_radio.html.erb +6 -5
  147. data/app/pb_kits/playbook/pb_radio/_radio.jsx +26 -21
  148. data/app/pb_kits/playbook/pb_radio/_radio.scss +1 -1
  149. data/app/pb_kits/playbook/pb_radio/docs/_radio_dark.jsx +5 -3
  150. data/app/pb_kits/playbook/pb_radio/docs/_radio_default.jsx +3 -1
  151. data/app/pb_kits/playbook/pb_radio/radio.rb +2 -8
  152. data/app/pb_kits/playbook/pb_select/_select.html.erb +3 -3
  153. data/app/pb_kits/playbook/pb_select/_select.jsx +6 -8
  154. data/app/pb_kits/playbook/pb_select/_select.scss +1 -1
  155. data/app/pb_kits/playbook/pb_select/select.rb +1 -6
  156. data/app/pb_kits/playbook/pb_table/_table.html.erb +3 -2
  157. data/app/pb_kits/playbook/pb_table/_table.jsx +15 -2
  158. data/app/pb_kits/playbook/pb_table/_table_row.html.erb +3 -2
  159. data/app/pb_kits/playbook/pb_table/_table_row.jsx +22 -4
  160. data/app/pb_kits/playbook/pb_table/table.rb +3 -5
  161. data/app/pb_kits/playbook/pb_title_count/_title_count.html.erb +5 -3
  162. data/app/pb_kits/playbook/pb_title_count/_title_count.jsx +7 -1
  163. data/app/pb_kits/playbook/pb_title_count/docs/_title_count_align_dark.html.erb +23 -0
  164. data/app/pb_kits/playbook/pb_title_count/docs/_title_count_align_dark.jsx +34 -0
  165. data/app/pb_kits/playbook/pb_title_count/docs/_title_count_dark.html.erb +23 -0
  166. data/app/pb_kits/playbook/pb_title_count/docs/_title_count_dark.jsx +34 -0
  167. data/app/pb_kits/playbook/pb_title_count/docs/example.yml +4 -0
  168. data/app/pb_kits/playbook/pb_title_count/docs/index.js +2 -0
  169. data/app/pb_kits/playbook/pb_tooltip/index.js +1 -1
  170. data/app/pb_kits/playbook/pb_user/_user.html.erb +3 -2
  171. data/app/pb_kits/playbook/pb_user/_user.jsx +51 -17
  172. data/app/pb_kits/playbook/pb_user/docs/_user_dark.jsx +55 -0
  173. data/app/pb_kits/playbook/pb_user/docs/_user_text_only_dark.jsx +26 -0
  174. data/app/pb_kits/playbook/pb_user/docs/example.yml +2 -0
  175. data/app/pb_kits/playbook/pb_user/docs/index.js +2 -0
  176. data/app/pb_kits/playbook/pb_user/user.rb +1 -7
  177. data/app/pb_kits/playbook/pb_user_badge/_user_badge.html.erb +3 -2
  178. data/app/pb_kits/playbook/pb_user_badge/_user_badge.jsx +23 -3
  179. data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_dark.html.erb +13 -0
  180. data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_dark.jsx +27 -0
  181. data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_size_dark.html.erb +21 -0
  182. data/app/pb_kits/playbook/pb_user_badge/docs/_user_badge_size_dark.jsx +36 -0
  183. data/app/pb_kits/playbook/pb_user_badge/docs/example.yml +4 -0
  184. data/app/pb_kits/playbook/pb_user_badge/docs/index.js +2 -0
  185. data/app/pb_kits/playbook/pb_weekday_stacked/_weekday_stacked.html.erb +3 -2
  186. data/app/pb_kits/playbook/pb_weekday_stacked/_weekday_stacked.jsx +20 -6
  187. data/app/pb_kits/playbook/pb_weekday_stacked/weekday_stacked.rb +0 -3
  188. data/app/views/playbook/pages/tokens/_pb_doc_spacing.html.slim +44 -0
  189. data/lib/playbook/version.rb +1 -1
  190. metadata +61 -5
@@ -3,8 +3,12 @@ examples:
3
3
  rails:
4
4
  - user_badge_default: Default
5
5
  - user_badge_size: Sizes
6
+ - user_badge_dark: Dark
7
+ - user_badge_size_dark: Sizes Dark
6
8
 
7
9
 
8
10
  react:
9
11
  - user_badge_default: Default
10
12
  - user_badge_size: Sizes
13
+ - user_badge_dark: Dark
14
+ - user_badge_size_dark: Sizes Dark
@@ -1,2 +1,4 @@
1
1
  export { default as UserBadgeDefault } from './_user_badge_default.jsx'
2
2
  export { default as UserBadgeSize } from './_user_badge_size.jsx'
3
+ export { default as UserBadgeDark } from './_user_badge_dark.jsx'
4
+ export { default as UserBadgeSizeDark } from './_user_badge_size_dark.jsx'
@@ -1,7 +1,8 @@
1
1
  <%= content_tag(:div,
2
- id: object.id,
2
+ aria: object.aria,
3
+ class: object.classname,
3
4
  data: object.data,
4
- class: object.classname) do %>
5
+ id: object.id) do %>
5
6
  <%= pb_rails("caption", props: {dark: object.dark, text: object.day_of_week}) %>
6
7
  <%= pb_rails("title", props: {dark: object.dark, size: 4, tag: "span", text: object.formatted_month_and_day}) %>
7
8
  <% end %>
@@ -3,7 +3,7 @@
3
3
  import React from 'react'
4
4
  import classnames from 'classnames'
5
5
  import { globalProps } from '../utilities/globalProps.js'
6
- import { buildCss } from '../utilities/props'
6
+ import { buildAriaProps, buildCss, buildDataProps } from '../utilities/props'
7
7
 
8
8
  import { Caption, Title } from '../'
9
9
 
@@ -11,9 +11,12 @@ import DateTime from '../pb_kit/dateTime.js'
11
11
 
12
12
  type WeekdayStackedProps = {
13
13
  align?: "left" | "center" | "right",
14
+ aria?: object,
14
15
  className?: string,
15
16
  dark?: boolean,
17
+ data?: object,
16
18
  date: date,
19
+ id?: string,
17
20
  variant?: "day_only" | "month_day" | "expanded",
18
21
  compact?: boolean,
19
22
  id?: string,
@@ -41,19 +44,30 @@ const getFormattedDate = (date, variant) => {
41
44
  const WeekdayStacked = (props: WeekdayStackedProps) => {
42
45
  const {
43
46
  align = 'left',
47
+ aria = {},
44
48
  className,
45
49
  dark = false,
50
+ data = {},
46
51
  date = new Date(),
52
+ id,
47
53
  variant = 'month_day',
48
54
  compact = false,
49
55
  } = props
56
+
57
+ const ariaProps = buildAriaProps(aria)
58
+ const dataProps = buildDataProps(data)
59
+ const classes = classnames(
60
+ buildCss('pb_weekday_stacked_kit', align),
61
+ globalProps(props),
62
+ className
63
+ )
64
+
50
65
  return (
51
66
  <div
52
- className={classnames(
53
- buildCss('pb_weekday_stacked_kit', align),
54
- className,
55
- globalProps(props)
56
- )}
67
+ {...ariaProps}
68
+ {...dataProps}
69
+ className={classes}
70
+ id={id}
57
71
  >
58
72
  <Caption dark={dark}>{getDayOfWeek(date, compact)}</Caption>
59
73
  <Title
@@ -13,9 +13,6 @@ module Playbook
13
13
  values: %w[left center right],
14
14
  default: "left"
15
15
 
16
- prop :dark, type: Playbook::Props::Boolean,
17
- default: false
18
-
19
16
  prop :date, type: Playbook::Props::Date,
20
17
  default: ::Date.current
21
18
 
@@ -15,3 +15,47 @@ ul.pb--tokens-spacing
15
15
  li class=(item[:dark] == true ? "dark" : "") data-name="#{item[:name]}" data-variable="#{variable}"
16
16
  div
17
17
  div class="pb--spacing_#{item[:class]}"
18
+
19
+ = pb_rails("title", props: { text: "Spacing Props in Kits", tag: "h4", size: 4, padding_top: "sm" })
20
+ br
21
+ ul.pb_card_kit_shadow_deep_deselected.p_md
22
+ markdown:
23
+ Rails kits the following spacing props:<br/>
24
+ `margin`<br/>
25
+ `margin_bottom`<br/>
26
+ `margin_left`<br/>
27
+ `margin_right`<br/>
28
+ `margin_top`<br/>
29
+ `margin_x`<br/>
30
+ `margin_y`<br/>
31
+ `padding`<br/>
32
+ `padding_bottom`<br/>
33
+ `padding_left`<br/>
34
+ `padding_right`<br/>
35
+ `padding_top`<br/>
36
+ `padding_x`<br/>
37
+ `padding_y`<br/>
38
+
39
+
40
+ <br/>
41
+ React kits have the following spacing props:<br/>
42
+ `margin`<br/>
43
+ `marginBottom`<br/>
44
+ `marginLeft`<br/>
45
+ `marginRight`<br/>
46
+ `marginTop`<br/>
47
+ `marginX`<br/>
48
+ `marginY`<br/>
49
+ `padding`<br/>
50
+ `paddingBottom`<br/>
51
+ `paddingLeft`<br/>
52
+ `paddingRight`<br/>
53
+ `paddingTop`<br/>
54
+ `paddingX`<br/>
55
+ `paddingY`<br/>
56
+
57
+ <br/>
58
+
59
+ The values possible are: `"none", "xs", "sm", "md", "lg", "xl"`
60
+
61
+
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- VERSION = "6.2.1"
4
+ VERSION = "6.3.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.2.1
4
+ version: 6.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-08-19 00:00:00.000000000 Z
12
+ date: 2020-08-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -455,13 +455,22 @@ files:
455
455
  - app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.rb
456
456
  - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.html.erb
457
457
  - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions.jsx
458
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions_dark.html.erb
459
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_actions_dark.jsx
460
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_dark.html.erb
461
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_dark.jsx
458
462
  - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.html.erb
459
463
  - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_default.jsx
460
464
  - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_on_click.jsx
465
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_on_click_dark.html.erb
466
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_on_click_dark.jsx
461
467
  - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_onclick.html.erb
462
468
  - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.html.erb
463
469
  - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement.jsx
470
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement_dark.html.erb
471
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_placement_dark.jsx
464
472
  - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_tooltip.html.erb
473
+ - app/pb_kits/playbook/pb_avatar_action_button/docs/_avatar_action_button_tooltip_dark.html.erb
465
474
  - app/pb_kits/playbook/pb_avatar_action_button/docs/example.yml
466
475
  - app/pb_kits/playbook/pb_avatar_action_button/docs/index.js
467
476
  - app/pb_kits/playbook/pb_badge/_badge.html.erb
@@ -476,6 +485,7 @@ files:
476
485
  - app/pb_kits/playbook/pb_badge/docs/_badge_default.jsx
477
486
  - app/pb_kits/playbook/pb_badge/docs/_badge_rounded.html.erb
478
487
  - app/pb_kits/playbook/pb_badge/docs/_badge_rounded.jsx
488
+ - app/pb_kits/playbook/pb_badge/docs/_description.md
479
489
  - app/pb_kits/playbook/pb_badge/docs/example.yml
480
490
  - app/pb_kits/playbook/pb_badge/docs/index.js
481
491
  - app/pb_kits/playbook/pb_bar_graph/_bar_graph.html.erb
@@ -806,11 +816,15 @@ files:
806
816
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.jsx
807
817
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/_fixed_confirmation_toast.scss
808
818
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_description.md
819
+ - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_dark.html.erb
820
+ - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_dark.jsx
809
821
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_default.html.erb
810
822
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_default.jsx
811
823
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line.html.erb
812
824
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line.jsx
813
825
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line.md
826
+ - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line_dark.html.erb
827
+ - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line_dark.jsx
814
828
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/example.yml
815
829
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/index.js
816
830
  - app/pb_kits/playbook/pb_fixed_confirmation_toast/fixed_confirmation_toast.rb
@@ -858,6 +872,7 @@ files:
858
872
  - app/pb_kits/playbook/pb_form/form/simple_form_form.rb
859
873
  - app/pb_kits/playbook/pb_form/form_builder.rb
860
874
  - app/pb_kits/playbook/pb_form/form_builder/action_area.rb
875
+ - app/pb_kits/playbook/pb_form/form_builder/checkbox_field.rb
861
876
  - app/pb_kits/playbook/pb_form/form_builder/collection_select_field.rb
862
877
  - app/pb_kits/playbook/pb_form/form_builder/form_field_builder.rb
863
878
  - app/pb_kits/playbook/pb_form/form_builder/form_with_form_builder.rb
@@ -975,10 +990,16 @@ files:
975
990
  - app/pb_kits/playbook/pb_icon_circle/docs/_footer.md
976
991
  - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color.html.erb
977
992
  - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color.jsx
993
+ - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color_dark.html.erb
994
+ - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color_dark.jsx
995
+ - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_dark.html.erb
996
+ - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_dark.jsx
978
997
  - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_default.html.erb
979
998
  - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_default.jsx
980
- - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_size.jsx
981
999
  - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes.html.erb
1000
+ - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes.jsx
1001
+ - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes_dark.html.erb
1002
+ - app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes_dark.jsx
982
1003
  - app/pb_kits/playbook/pb_icon_circle/docs/example.yml
983
1004
  - app/pb_kits/playbook/pb_icon_circle/docs/index.js
984
1005
  - app/pb_kits/playbook/pb_icon_circle/icon_circle.rb
@@ -987,6 +1008,11 @@ files:
987
1008
  - app/pb_kits/playbook/pb_icon_value/_icon_value.scss
988
1009
  - app/pb_kits/playbook/pb_icon_value/docs/_description.md
989
1010
  - app/pb_kits/playbook/pb_icon_value/docs/_icon_value_align.html.erb
1011
+ - app/pb_kits/playbook/pb_icon_value/docs/_icon_value_align.jsx
1012
+ - app/pb_kits/playbook/pb_icon_value/docs/_icon_value_align_dark.html.erb
1013
+ - app/pb_kits/playbook/pb_icon_value/docs/_icon_value_align_dark.jsx
1014
+ - app/pb_kits/playbook/pb_icon_value/docs/_icon_value_dark.html.erb
1015
+ - app/pb_kits/playbook/pb_icon_value/docs/_icon_value_dark.jsx
990
1016
  - app/pb_kits/playbook/pb_icon_value/docs/_icon_value_default.html.erb
991
1017
  - app/pb_kits/playbook/pb_icon_value/docs/_icon_value_default.jsx
992
1018
  - app/pb_kits/playbook/pb_icon_value/docs/example.yml
@@ -1168,6 +1194,8 @@ files:
1168
1194
  - app/pb_kits/playbook/pb_multiple_users/_multiple_users.jsx
1169
1195
  - app/pb_kits/playbook/pb_multiple_users/_multiple_users.scss
1170
1196
  - app/pb_kits/playbook/pb_multiple_users/docs/_description.md
1197
+ - app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_dark.html.erb
1198
+ - app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_dark.jsx
1171
1199
  - app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_default.html.erb
1172
1200
  - app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_default.jsx
1173
1201
  - app/pb_kits/playbook/pb_multiple_users/docs/_multiple_users_reverse.html.erb
@@ -1179,6 +1207,8 @@ files:
1179
1207
  - app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.jsx
1180
1208
  - app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss
1181
1209
  - app/pb_kits/playbook/pb_multiple_users_stacked/docs/_description.md
1210
+ - app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_dark.html.erb
1211
+ - app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_dark.jsx
1182
1212
  - app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_default.html.erb
1183
1213
  - app/pb_kits/playbook/pb_multiple_users_stacked/docs/_multiple_users_stacked_default.jsx
1184
1214
  - app/pb_kits/playbook/pb_multiple_users_stacked/docs/example.yml
@@ -1219,6 +1249,8 @@ files:
1219
1249
  - app/pb_kits/playbook/pb_online_status/_online_status.scss
1220
1250
  - app/pb_kits/playbook/pb_online_status/_online_status_mixins.scss
1221
1251
  - app/pb_kits/playbook/pb_online_status/docs/_description.md
1252
+ - app/pb_kits/playbook/pb_online_status/docs/_online_status_dark.html.erb
1253
+ - app/pb_kits/playbook/pb_online_status/docs/_online_status_dark.jsx
1222
1254
  - app/pb_kits/playbook/pb_online_status/docs/_online_status_default.html.erb
1223
1255
  - app/pb_kits/playbook/pb_online_status/docs/_online_status_default.jsx
1224
1256
  - app/pb_kits/playbook/pb_online_status/docs/example.yml
@@ -1255,6 +1287,8 @@ files:
1255
1287
  - app/pb_kits/playbook/pb_pill/_pill.jsx
1256
1288
  - app/pb_kits/playbook/pb_pill/_pill.scss
1257
1289
  - app/pb_kits/playbook/pb_pill/docs/_description.md
1290
+ - app/pb_kits/playbook/pb_pill/docs/_pill_dark.html.erb
1291
+ - app/pb_kits/playbook/pb_pill/docs/_pill_dark.jsx
1258
1292
  - app/pb_kits/playbook/pb_pill/docs/_pill_default.html.erb
1259
1293
  - app/pb_kits/playbook/pb_pill/docs/_pill_default.jsx
1260
1294
  - app/pb_kits/playbook/pb_pill/docs/example.yml
@@ -1266,15 +1300,25 @@ files:
1266
1300
  - app/pb_kits/playbook/pb_popover/docs/_description.md
1267
1301
  - app/pb_kits/playbook/pb_popover/docs/_popover_close.html.erb
1268
1302
  - app/pb_kits/playbook/pb_popover/docs/_popover_close.jsx
1303
+ - app/pb_kits/playbook/pb_popover/docs/_popover_close_dark.html.erb
1304
+ - app/pb_kits/playbook/pb_popover/docs/_popover_close_dark.jsx
1305
+ - app/pb_kits/playbook/pb_popover/docs/_popover_dark.html.erb
1306
+ - app/pb_kits/playbook/pb_popover/docs/_popover_dark.jsx
1269
1307
  - app/pb_kits/playbook/pb_popover/docs/_popover_default.html.erb
1270
1308
  - app/pb_kits/playbook/pb_popover/docs/_popover_default.jsx
1271
1309
  - app/pb_kits/playbook/pb_popover/docs/_popover_list.html.erb
1272
1310
  - app/pb_kits/playbook/pb_popover/docs/_popover_list.jsx
1273
1311
  - app/pb_kits/playbook/pb_popover/docs/_popover_list.md
1312
+ - app/pb_kits/playbook/pb_popover/docs/_popover_list_dark.html.erb
1313
+ - app/pb_kits/playbook/pb_popover/docs/_popover_list_dark.jsx
1274
1314
  - app/pb_kits/playbook/pb_popover/docs/_popover_scroll_height.html.erb
1275
1315
  - app/pb_kits/playbook/pb_popover/docs/_popover_scroll_height.jsx
1316
+ - app/pb_kits/playbook/pb_popover/docs/_popover_scroll_height_dark.html.erb
1317
+ - app/pb_kits/playbook/pb_popover/docs/_popover_scroll_height_dark.jsx
1276
1318
  - app/pb_kits/playbook/pb_popover/docs/_popover_z_index.html.erb
1277
1319
  - app/pb_kits/playbook/pb_popover/docs/_popover_z_index.jsx
1320
+ - app/pb_kits/playbook/pb_popover/docs/_popover_z_index_dark.html.erb
1321
+ - app/pb_kits/playbook/pb_popover/docs/_popover_z_index_dark.jsx
1278
1322
  - app/pb_kits/playbook/pb_popover/docs/example.yml
1279
1323
  - app/pb_kits/playbook/pb_popover/docs/index.js
1280
1324
  - app/pb_kits/playbook/pb_popover/index.js
@@ -1289,6 +1333,8 @@ files:
1289
1333
  - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_default.jsx
1290
1334
  - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_status.html.erb
1291
1335
  - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_status.jsx
1336
+ - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_status_dark.html.erb
1337
+ - app/pb_kits/playbook/pb_progress_pills/docs/_progress_pills_status_dark.jsx
1292
1338
  - app/pb_kits/playbook/pb_progress_pills/docs/example.yml
1293
1339
  - app/pb_kits/playbook/pb_progress_pills/docs/index.js
1294
1340
  - app/pb_kits/playbook/pb_progress_pills/progress_pills.rb
@@ -1319,12 +1365,12 @@ files:
1319
1365
  - app/pb_kits/playbook/pb_progress_step/_progress_step_item.html.erb
1320
1366
  - app/pb_kits/playbook/pb_progress_step/_progress_step_item.jsx
1321
1367
  - app/pb_kits/playbook/pb_progress_step/docs/_description.md
1322
- - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_child.html.erb
1323
- - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_child.jsx
1324
1368
  - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_dark.html.erb
1325
1369
  - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_dark.jsx
1326
1370
  - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.html.erb
1327
1371
  - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_default.jsx
1372
+ - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.html.erb
1373
+ - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_tracker.jsx
1328
1374
  - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.html.erb
1329
1375
  - app/pb_kits/playbook/pb_progress_step/docs/_progress_step_vertical.jsx
1330
1376
  - app/pb_kits/playbook/pb_progress_step/docs/example.yml
@@ -1667,6 +1713,10 @@ files:
1667
1713
  - app/pb_kits/playbook/pb_title_count/docs/_footer.md
1668
1714
  - app/pb_kits/playbook/pb_title_count/docs/_title_count_align.html.erb
1669
1715
  - app/pb_kits/playbook/pb_title_count/docs/_title_count_align.jsx
1716
+ - app/pb_kits/playbook/pb_title_count/docs/_title_count_align_dark.html.erb
1717
+ - app/pb_kits/playbook/pb_title_count/docs/_title_count_align_dark.jsx
1718
+ - app/pb_kits/playbook/pb_title_count/docs/_title_count_dark.html.erb
1719
+ - app/pb_kits/playbook/pb_title_count/docs/_title_count_dark.jsx
1670
1720
  - app/pb_kits/playbook/pb_title_count/docs/_title_count_default.html.erb
1671
1721
  - app/pb_kits/playbook/pb_title_count/docs/_title_count_default.jsx
1672
1722
  - app/pb_kits/playbook/pb_title_count/docs/_title_count_default.md
@@ -1726,6 +1776,7 @@ files:
1726
1776
  - app/pb_kits/playbook/pb_user/docs/_description.md
1727
1777
  - app/pb_kits/playbook/pb_user/docs/_footer.md
1728
1778
  - app/pb_kits/playbook/pb_user/docs/_user_dark.html.erb
1779
+ - app/pb_kits/playbook/pb_user/docs/_user_dark.jsx
1729
1780
  - app/pb_kits/playbook/pb_user/docs/_user_default.html.erb
1730
1781
  - app/pb_kits/playbook/pb_user/docs/_user_default.jsx
1731
1782
  - app/pb_kits/playbook/pb_user/docs/_user_size.html.erb
@@ -1733,6 +1784,7 @@ files:
1733
1784
  - app/pb_kits/playbook/pb_user/docs/_user_text_only.html.erb
1734
1785
  - app/pb_kits/playbook/pb_user/docs/_user_text_only.jsx
1735
1786
  - app/pb_kits/playbook/pb_user/docs/_user_text_only_dark.html.erb
1787
+ - app/pb_kits/playbook/pb_user/docs/_user_text_only_dark.jsx
1736
1788
  - app/pb_kits/playbook/pb_user/docs/_user_vertical_size.html.erb
1737
1789
  - app/pb_kits/playbook/pb_user/docs/_user_vertical_size.jsx
1738
1790
  - app/pb_kits/playbook/pb_user/docs/_user_with_territory.html.erb
@@ -1747,11 +1799,15 @@ files:
1747
1799
  - app/pb_kits/playbook/pb_user_badge/badges/_veteran.svg
1748
1800
  - app/pb_kits/playbook/pb_user_badge/docs/_description.md
1749
1801
  - app/pb_kits/playbook/pb_user_badge/docs/_footer.md
1802
+ - app/pb_kits/playbook/pb_user_badge/docs/_user_badge_dark.html.erb
1803
+ - app/pb_kits/playbook/pb_user_badge/docs/_user_badge_dark.jsx
1750
1804
  - app/pb_kits/playbook/pb_user_badge/docs/_user_badge_default.html.erb
1751
1805
  - app/pb_kits/playbook/pb_user_badge/docs/_user_badge_default.jsx
1752
1806
  - app/pb_kits/playbook/pb_user_badge/docs/_user_badge_default.md
1753
1807
  - app/pb_kits/playbook/pb_user_badge/docs/_user_badge_size.html.erb
1754
1808
  - app/pb_kits/playbook/pb_user_badge/docs/_user_badge_size.jsx
1809
+ - app/pb_kits/playbook/pb_user_badge/docs/_user_badge_size_dark.html.erb
1810
+ - app/pb_kits/playbook/pb_user_badge/docs/_user_badge_size_dark.jsx
1755
1811
  - app/pb_kits/playbook/pb_user_badge/docs/example.yml
1756
1812
  - app/pb_kits/playbook/pb_user_badge/docs/index.js
1757
1813
  - app/pb_kits/playbook/pb_user_badge/user_badge.rb