playbook_ui 13.27.0.pre.alpha.PLAY888Cardkithighlightoverflowtooltiperror2930 → 13.27.0.pre.alpha.PLAY1122fixMultipleUserspaddingoverflow2844

Sign up to get free protection for your applications and to get access to all the features.
Files changed (164) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/advanced_table.html.erb +5 -1
  3. data/app/pb_kits/playbook/pb_advanced_table/table_body.html.erb +5 -1
  4. data/app/pb_kits/playbook/pb_advanced_table/table_header.html.erb +5 -1
  5. data/app/pb_kits/playbook/pb_advanced_table/table_row.html.erb +5 -1
  6. data/app/pb_kits/playbook/pb_avatar/Utilities/GetPlacementPropsHelper.tsx +0 -16
  7. data/app/pb_kits/playbook/pb_avatar/_avatar.scss +0 -16
  8. data/app/pb_kits/playbook/pb_avatar/avatar.html.erb +1 -1
  9. data/app/pb_kits/playbook/pb_avatar/avatar.rb +0 -4
  10. data/app/pb_kits/playbook/pb_avatar/avatar.test.js +0 -47
  11. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_badge_component_overlay.html.erb +66 -46
  12. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_badge_component_overlay.jsx +29 -8
  13. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_circle_icon_component_overlay.html.erb +33 -13
  14. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_circle_icon_component_overlay.jsx +67 -48
  15. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_default.jsx +20 -0
  16. data/app/pb_kits/playbook/pb_avatar/docs/example.yml +2 -2
  17. data/app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb +6 -1
  18. data/app/pb_kits/playbook/pb_badge/badge.html.erb +6 -1
  19. data/app/pb_kits/playbook/pb_body/_body.scss +0 -3
  20. data/app/pb_kits/playbook/pb_body/_body_mixins.scss +1 -1
  21. data/app/pb_kits/playbook/pb_button/_button_mixins.scss +3 -4
  22. data/app/pb_kits/playbook/pb_button_toolbar/button_toolbar.html.erb +6 -1
  23. data/app/pb_kits/playbook/pb_caption/_caption_mixin.scss +1 -1
  24. data/app/pb_kits/playbook/pb_card/_card.scss +1 -1
  25. data/app/pb_kits/playbook/pb_card/_card_mixin.scss +0 -5
  26. data/app/pb_kits/playbook/pb_card/card.rb +1 -1
  27. data/app/pb_kits/playbook/pb_card/docs/_card_background.html.erb +0 -20
  28. data/app/pb_kits/playbook/pb_card/docs/_card_background.jsx +1 -41
  29. data/app/pb_kits/playbook/pb_card/docs/_card_background.md +1 -1
  30. data/app/pb_kits/playbook/pb_card/docs/_card_header.html.erb +1 -1
  31. data/app/pb_kits/playbook/pb_card/docs/_card_header.md +1 -1
  32. data/app/pb_kits/playbook/pb_card/docs/_card_highlight.md +1 -1
  33. data/app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.html.erb +6 -1
  34. data/app/pb_kits/playbook/pb_collapsible/_collapsible.tsx +10 -21
  35. data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleMain.tsx +75 -3
  36. data/app/pb_kits/playbook/pb_collapsible/collapsible.html.erb +6 -1
  37. data/app/pb_kits/playbook/pb_collapsible/collapsible_content.html.erb +6 -1
  38. data/app/pb_kits/playbook/pb_collapsible/collapsible_main.html.erb +6 -1
  39. data/app/pb_kits/playbook/pb_collapsible/docs/example.yml +0 -7
  40. data/app/pb_kits/playbook/pb_collapsible/docs/index.js +1 -3
  41. data/app/pb_kits/playbook/pb_collapsible/index.js +6 -16
  42. data/app/pb_kits/playbook/pb_contact/contact.html.erb +6 -1
  43. data/app/pb_kits/playbook/pb_currency/currency.html.erb +6 -1
  44. data/app/pb_kits/playbook/pb_dashboard_value/dashboard_value.html.erb +6 -1
  45. data/app/pb_kits/playbook/pb_date/date.html.erb +6 -1
  46. data/app/pb_kits/playbook/pb_date_range_inline/date_range_inline.html.erb +5 -1
  47. data/app/pb_kits/playbook/pb_date_range_inline/docs/example.yml +1 -4
  48. data/app/pb_kits/playbook/pb_date_range_stacked/date_range_stacked.html.erb +5 -1
  49. data/app/pb_kits/playbook/pb_date_stacked/date_stacked.html.erb +5 -1
  50. data/app/pb_kits/playbook/pb_date_stacked/docs/example.yml +0 -7
  51. data/app/pb_kits/playbook/pb_date_time/date_time.html.erb +6 -1
  52. data/app/pb_kits/playbook/pb_date_time/docs/example.yml +0 -6
  53. data/app/pb_kits/playbook/pb_date_time_stacked/date_time_stacked.html.erb +6 -1
  54. data/app/pb_kits/playbook/pb_date_year_stacked/date_year_stacked.html.erb +5 -1
  55. data/app/pb_kits/playbook/pb_date_year_stacked/docs/example.yml +0 -4
  56. data/app/pb_kits/playbook/pb_detail/_detail_mixins.scss +1 -1
  57. data/app/pb_kits/playbook/pb_docs/kit_example.html.erb +3 -3
  58. data/app/pb_kits/playbook/pb_dropdown/_dropdown.scss +1 -6
  59. data/app/pb_kits/playbook/pb_dropdown/_dropdown.tsx +6 -5
  60. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default.html.erb +3 -3
  61. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default.md +1 -1
  62. data/app/pb_kits/playbook/pb_dropdown/docs/{_dropdown_subcomponent_structure_rails.html.erb → _dropdown_subcomponent_structure.html.erb} +3 -3
  63. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subcomponent_structure.md +6 -5
  64. data/app/pb_kits/playbook/pb_dropdown/docs/{_dropdown_with_custom_display_rails.html.erb → _dropdown_with_custom_display.html.erb} +6 -11
  65. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.jsx +3 -6
  66. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.md +3 -3
  67. data/app/pb_kits/playbook/pb_dropdown/docs/{_dropdown_with_custom_options_rails.html.erb → _dropdown_with_custom_options.html.erb} +11 -16
  68. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options.jsx +2 -5
  69. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options.md +1 -1
  70. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb +3 -3
  71. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.md +1 -1
  72. data/app/pb_kits/playbook/pb_dropdown/docs/{_dropdown_with_custom_trigger_rails.html.erb → _dropdown_with_custom_trigger.html.erb} +11 -16
  73. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger.jsx +2 -5
  74. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger.md +1 -1
  75. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_label.html.erb +3 -3
  76. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_label.md +1 -1
  77. data/app/pb_kits/playbook/pb_dropdown/docs/example.yml +6 -6
  78. data/app/pb_kits/playbook/pb_dropdown/dropdown.html.erb +0 -1
  79. data/app/pb_kits/playbook/pb_dropdown/dropdown.rb +0 -1
  80. data/app/pb_kits/playbook/pb_dropdown/dropdown.test.jsx +1 -1
  81. data/app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb +9 -3
  82. data/app/pb_kits/playbook/pb_dropdown/dropdown_option.rb +6 -2
  83. data/app/pb_kits/playbook/pb_dropdown/index.js +1 -2
  84. data/app/pb_kits/playbook/pb_dropdown/subcomponents/DropdownOption.tsx +14 -6
  85. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/example.yml +0 -9
  86. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/fixed_confirmation_toast.html.erb +6 -1
  87. data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +1 -1
  88. data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +1 -1
  89. data/app/pb_kits/playbook/pb_form_group/_form_group.scss +0 -15
  90. data/app/pb_kits/playbook/pb_icon_circle/icon_circle.html.erb +6 -1
  91. data/app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.html.erb +6 -1
  92. data/app/pb_kits/playbook/pb_icon_value/icon_value.html.erb +6 -1
  93. data/app/pb_kits/playbook/pb_label_pill/label_pill.html.erb +6 -1
  94. data/app/pb_kits/playbook/pb_label_value/label_value.html.erb +6 -1
  95. data/app/pb_kits/playbook/pb_loading_inline/loading_inline.html.erb +5 -1
  96. data/app/pb_kits/playbook/pb_message/message_mention.html.erb +6 -6
  97. data/app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb +6 -1
  98. data/app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb +6 -1
  99. data/app/pb_kits/playbook/pb_pagination/_pagination.scss +1 -1
  100. data/app/pb_kits/playbook/pb_pagination/pagination.html.erb +6 -1
  101. data/app/pb_kits/playbook/pb_person/person.html.erb +6 -1
  102. data/app/pb_kits/playbook/pb_person_contact/person_contact.html.erb +6 -1
  103. data/app/pb_kits/playbook/pb_pill/pill.html.erb +6 -1
  104. data/app/pb_kits/playbook/pb_section_separator/section_separator.html.erb +6 -1
  105. data/app/pb_kits/playbook/pb_select/_select.scss +0 -8
  106. data/app/pb_kits/playbook/pb_source/source.html.erb +5 -1
  107. data/app/pb_kits/playbook/pb_stat_change/stat_change.html.erb +5 -1
  108. data/app/pb_kits/playbook/pb_stat_value/stat_value.html.erb +5 -1
  109. data/app/pb_kits/playbook/pb_text_input/_text_input.scss +0 -19
  110. data/app/pb_kits/playbook/pb_time_range_inline/time_range_inline.html.erb +5 -1
  111. data/app/pb_kits/playbook/pb_time_stacked/time_stacked.html.erb +5 -1
  112. data/app/pb_kits/playbook/pb_timeline/item.html.erb +5 -1
  113. data/app/pb_kits/playbook/pb_timeline/timeline.html.erb +5 -1
  114. data/app/pb_kits/playbook/pb_timestamp/timestamp.html.erb +6 -1
  115. data/app/pb_kits/playbook/pb_title/_title.scss +1 -5
  116. data/app/pb_kits/playbook/pb_title_count/title_count.html.erb +6 -1
  117. data/app/pb_kits/playbook/pb_title_detail/title_detail.html.erb +5 -1
  118. data/app/pb_kits/playbook/pb_tooltip/index.js +0 -1
  119. data/app/pb_kits/playbook/pb_weekday_stacked/weekday_stacked.html.erb +6 -1
  120. data/app/pb_kits/playbook/tokens/_titles.scss +1 -5
  121. data/dist/menu.yml +2 -2
  122. data/dist/playbook-rails.js +5 -5
  123. data/lib/playbook/forms/builder.rb +0 -1
  124. data/lib/playbook/kit_base.rb +1 -1
  125. data/lib/playbook/version.rb +1 -1
  126. metadata +6 -44
  127. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_badge_component_overlay.md +0 -3
  128. data/app/pb_kits/playbook/pb_avatar/docs/_avatar_circle_icon_component_overlay.md +0 -3
  129. data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleIcon.tsx +0 -92
  130. data/app/pb_kits/playbook/pb_collapsible/collapsible_icon.html.erb +0 -15
  131. data/app/pb_kits/playbook/pb_collapsible/collapsible_icon.rb +0 -37
  132. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main.jsx +0 -72
  133. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main.md +0 -3
  134. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main_rails.html.erb +0 -19
  135. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main_rails.md +0 -3
  136. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main_with_icon.jsx +0 -73
  137. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main_with_icon.md +0 -3
  138. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main_with_icon_rails.html.erb +0 -20
  139. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main_with_icon_rails.md +0 -3
  140. data/app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_default_swift.md +0 -61
  141. data/app/pb_kits/playbook/pb_date_range_inline/docs/_date_range_inline_props_swift.md +0 -11
  142. data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_bold_swift.md +0 -32
  143. data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_default_swift.md +0 -17
  144. data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_not_current_year_swift.md +0 -19
  145. data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_props_swift.md +0 -10
  146. data/app/pb_kits/playbook/pb_date_stacked/docs/_date_stacked_reversed_swift.md +0 -17
  147. data/app/pb_kits/playbook/pb_date_time/docs/_date_time_alignment_swift.md +0 -39
  148. data/app/pb_kits/playbook/pb_date_time/docs/_date_time_default_swift.md +0 -39
  149. data/app/pb_kits/playbook/pb_date_time/docs/_date_time_props_swift.md +0 -15
  150. data/app/pb_kits/playbook/pb_date_time/docs/_date_time_size_swift.md +0 -78
  151. data/app/pb_kits/playbook/pb_date_year_stacked/docs/_date_year_stacked_default_swift.md +0 -20
  152. data/app/pb_kits/playbook/pb_date_year_stacked/docs/_date_year_stacked_props_swift.md +0 -6
  153. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subcomponent_structure_rails.md +0 -6
  154. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display_rails.md +0 -5
  155. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options_rails.md +0 -1
  156. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger_rails.md +0 -1
  157. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_children_swift.md +0 -23
  158. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_close_swift.md +0 -7
  159. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_default_swift.md +0 -9
  160. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_dismiss_with_timer_swift.md +0 -22
  161. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_multi_line_swift.md +0 -9
  162. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_positions_swift.md +0 -62
  163. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/docs/_fixed_confirmation_toast_props_swift.md +0 -8
  164. data/lib/playbook/forms/builder/phone_number_field.rb +0 -12
@@ -1,4 +1,9 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ aria: object.aria,
3
+ id: object.id,
4
+ data: object.data,
5
+ class: object.classname,
6
+ **combined_html_options) do %>
2
7
 
3
8
  <%= pb_rails("icon_circle", props: {
4
9
  dark: object.dark,
@@ -1,4 +1,9 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ aria: object.aria,
3
+ class: object.classname,
4
+ data: object.data,
5
+ id: object.id,
6
+ **combined_html_options) do %>
2
7
  <%= pb_rails("body", props: { color: "light", dark: object.dark }) do %>
3
8
  <%= pb_rails("icon", props: { icon: object.icon, fixed_width: true }) %>
4
9
  <%= object.text %>
@@ -1,4 +1,9 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ aria: object.aria,
3
+ id: object.id,
4
+ data: object.data,
5
+ class: object.classname,
6
+ **combined_html_options) do %>
2
7
  <%= pb_rails("caption", props: { text: object.label, classname: "pb_label_pill_label"}) %>
3
8
  <%= pb_rails("pill", props: { text: object.pill_value, variant: object.variant, classname: "pb_label_pill_pill" }) %>
4
9
  <% end %>
@@ -1,4 +1,9 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ aria: object.aria,
3
+ id: object.id,
4
+ data: object.data,
5
+ class: object.classname,
6
+ **combined_html_options) do %>
2
7
  <%= pb_rails("caption", props: { text: object.label, dark: object.dark }) %>
3
8
  <% if object.variant == "details" %>
4
9
  <%= pb_rails("flex", props: {inline: true, vertical: "center"}) do %>
@@ -1,4 +1,8 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ id: object.id,
3
+ data: object.data,
4
+ class: object.classname,
5
+ **combined_html_options) do %>
2
6
 
3
7
  <%= pb_rails("body", props: { color: "light", dark: object.dark }) do %>
4
8
  <%= pb_rails("icon", props: { aria: { label: "loading icon" }, fixed_width: true, icon: "spinner", pulse: true }) %> <%= object.text %>
@@ -1,8 +1,8 @@
1
1
  <%= content_tag(:div,
2
- id: object.id,
3
- data: object.data,
4
- class: object.classname,
5
- aria: object.aria,
6
- **combined_html_options) do %>
7
- <%= content %>
2
+ id: object.id,
3
+ data: object.data,
4
+ class: object.classname,
5
+ aria: object.aria,
6
+ **combined_html_options) do %>
7
+ <%= content %>
8
8
  <% end %>
@@ -1,4 +1,9 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ aria: object.aria,
3
+ class: object.classname,
4
+ data: object.data,
5
+ id: object.id,
6
+ **combined_html_options) do %>
2
7
  <% object.users.take(object.display_count).each do |user| %>
3
8
  <%= pb_rails("avatar", props: user.merge({size: object.size, classname: "pb_multiple_users_item", dark: object.dark}) ) %>
4
9
  <% end %>
@@ -1,4 +1,9 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ aria: object.aria,
3
+ class: object.classname,
4
+ data: object.data,
5
+ id: object.id,
6
+ **combined_html_options) do %>
2
7
  <%= pb_rails("avatar", props: object.users[0].merge({size: "xs", classname: "pb_multiple_users_stacked_item", dark: object.dark}) ) %>
3
8
 
4
9
  <% unless object.only_one %>
@@ -11,7 +11,7 @@ $top_bottom_radius: 0px;
11
11
  border-radius: $border_rad_light;
12
12
  border: $border_rad_lightest solid $border_light;
13
13
  background-color: $white;
14
- padding: $space_xxs 0px !important;
14
+ padding: $space_xxs 0px;
15
15
  li {
16
16
  display: inline;
17
17
  > a, li > span {
@@ -1,3 +1,8 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ aria: object.aria,
3
+ class: object.classname,
4
+ data: object.data,
5
+ id: object.id,
6
+ **combined_html_options) do %>
2
7
  <%= will_paginate object.model, renderer: Playbook::Pagination::Rails %>
3
8
  <% end %>
@@ -1,4 +1,9 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ aria: object.aria,
3
+ id: object.id,
4
+ data: object.data,
5
+ class: object.classname,
6
+ **combined_html_options) do %>
2
7
  <%= pb_rails("body", props: {
3
8
  tag: "span",
4
9
  classname: "pb_person_first" }) { object.first_name } %>
@@ -1,4 +1,9 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ aria: object.aria,
3
+ id: object.id,
4
+ data: object.data,
5
+ class: object.classname,
6
+ **combined_html_options) do %>
2
7
  <%= pb_rails("person", props: {
3
8
  first_name: object.first_name,
4
9
  last_name: object.last_name,
@@ -1,3 +1,8 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ aria: object.aria,
3
+ class: object.classname,
4
+ data: object.data,
5
+ id: object.id,
6
+ **combined_html_options) do %>
2
7
  <%= pb_rails("title", props: { text: object.display_text, tag: "div", size: 4, classname: "pb_pill_text" }) %>
3
8
  <% end %>
@@ -1,4 +1,9 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ aria: object.aria,
3
+ id: object.id,
4
+ data: object.data,
5
+ class: object.classname,
6
+ **combined_html_options) do %>
2
7
  <% if object.orientation === 'horizontal' %>
3
8
  <% if content %>
4
9
  <%= content %>
@@ -102,9 +102,6 @@
102
102
  pointer-events: none;
103
103
  }
104
104
  &.inline {
105
- svg {
106
- right: 6px;
107
- }
108
105
  @mixin active_arrow_style {
109
106
  svg {
110
107
  color: $primary !important;
@@ -133,7 +130,6 @@
133
130
  box-shadow: none;
134
131
  border-color: transparent;
135
132
  padding: 4px 8px;
136
- padding-right: $space_lg;
137
133
  border-radius: 4px;
138
134
  option {
139
135
  background-color: $white;
@@ -217,9 +213,6 @@
217
213
  }
218
214
  }
219
215
  &.inline {
220
- svg {
221
- right: 6px;
222
- }
223
216
  &:not(:hover) {
224
217
  svg {
225
218
  display: none;
@@ -240,7 +233,6 @@
240
233
  border-color: transparent;
241
234
  background: transparent;
242
235
  padding: 4px 8px;
243
- padding-right: $space_lg;
244
236
  border-radius: 4px;
245
237
  option {
246
238
  background-color: $white;
@@ -1,4 +1,8 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ id: object.id,
3
+ data: object.data,
4
+ class: object.classname,
5
+ **combined_html_options) do %>
2
6
  <div class="pb__source_layout">
3
7
  <% if !object.hide_icon %>
4
8
  <% if object.show_icon? %>
@@ -1,4 +1,8 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ id: object.id,
3
+ data: object.data,
4
+ class: object.classname,
5
+ **combined_html_options) do %>
2
6
  <%= pb_rails("body", props: { status: object.status }) do %>
3
7
  <%= pb_rails("icon", props: { fixed_width: true, icon: object.returned_icon }) if object.returned_icon %>
4
8
  <%= "#{object.value}%" if object.value %>
@@ -1,4 +1,8 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ id: object.id,
3
+ data: object.data,
4
+ class: object.classname,
5
+ **combined_html_options) do %>
2
6
  <div class="pb_stat_value_wrapper">
3
7
  <%= pb_rails "title", props: {
4
8
  classname: "pb_stat_value_kit",
@@ -76,25 +76,6 @@
76
76
  .text_input {
77
77
  border-color: $error_dark;
78
78
  }
79
- [class*=pb_body_kit_negative] {
80
- color: $error_dark;
81
- }
82
- }
83
- .text_input_wrapper_add_on {
84
- .add-on {
85
- &-right {
86
- .add-on-card {
87
- border: 1px solid $error_dark;
88
- border-left: 0;
89
- }
90
- }
91
- &-left {
92
- .add-on-card {
93
- border: 1px solid $error_dark;
94
- border-right: 0;
95
- }
96
- }
97
- }
98
79
  }
99
80
  }
100
81
  }
@@ -1,4 +1,8 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ id: object.id,
3
+ data: object.data,
4
+ class: object.classname,
5
+ **combined_html_options) do %>
2
6
  <div class="pb_time_range_inline_wrapper">
3
7
  <% if object.icon == true %>
4
8
  <%= pb_rails(object.text_kit, props: { tag: "span", dark: object.dark, color: object.icon_color, text: pb_rails("icon", props: { icon: "clock", dark: object.dark, classname:"pb_time_range_inline_icon", fixed_width: true, size: object.size }) }) %>
@@ -1,4 +1,8 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ id: object.id,
3
+ data: object.data,
4
+ class: object.classname,
5
+ **combined_html_options) do %>
2
6
 
3
7
  <%= pb_rails("body", props: { color: "light", dark: object.dark, classname: "pb_time_stacked time-spacing" }) do %>
4
8
  <time>
@@ -1,4 +1,8 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ id: object.id,
3
+ data: object.data,
4
+ class: object.classname,
5
+ **combined_html_options) do %>
2
6
 
3
7
  <div class="pb_timeline_item_left_block">
4
8
  <% if object.date.present? %>
@@ -1,3 +1,7 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ id: object.id,
3
+ data: object.data,
4
+ class: object.classname,
5
+ **combined_html_options) do %>
2
6
  <%= content.presence %>
3
7
  <% end %>
@@ -1,4 +1,9 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ aria: object.aria,
3
+ id: object.id,
4
+ data: object.data,
5
+ class: object.classname,
6
+ **combined_html_options) do %>
2
7
 
3
8
  <% if object.unstyled %>
4
9
  <div><%= object.timestamp_text %></div>
@@ -49,10 +49,6 @@
49
49
  }
50
50
 
51
51
  &.dark {
52
- @include pb_title_dark;
53
- }
54
-
55
- &.dark[class*=_link] {
56
- @include pb_title_dark_link;
52
+ @include pb_title_dark;
57
53
  }
58
54
  }
@@ -1,4 +1,9 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ aria: object.aria,
3
+ class: object.classname,
4
+ data: object.data,
5
+ id: object.id,
6
+ **combined_html_options) do %>
2
7
  <%= pb_rails("title", props: {
3
8
  dark: object.dark,
4
9
  size: object.title_size,
@@ -1,4 +1,8 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ id: object.id,
3
+ data: object.data,
4
+ class: object.classname,
5
+ **combined_html_options) do %>
2
6
  <%= pb_rails("title", props: { text: object.title, size: 4 }) %>
3
7
  <%= pb_rails("body", props: { text: object.detail, color: "light" }) %>
4
8
  <% end %>
@@ -58,7 +58,6 @@ export default class PbTooltip extends PbEnhancedElement {
58
58
 
59
59
  this.popper = createPopper(trigger, this.tooltip, {
60
60
  placement: this.position,
61
- strategy: 'fixed',
62
61
  modifiers: [
63
62
  {
64
63
  name: 'offset',
@@ -1,4 +1,9 @@
1
- <%= pb_content_tag do %>
1
+ <%= content_tag(:div,
2
+ aria: object.aria,
3
+ class: object.classname,
4
+ data: object.data,
5
+ id: object.id,
6
+ **combined_html_options) do %>
2
7
  <%= pb_rails("caption", props: {dark: object.dark, text: object.day_of_week}) %>
3
8
  <%= pb_rails("title", props: {dark: object.dark, size: 4, tag: "span", text: object.formatted_month_and_day}) %>
4
9
  <% end %>
@@ -34,11 +34,7 @@
34
34
  }
35
35
 
36
36
  @mixin pb_title_dark {
37
- color: $text_dk_default;
38
- }
39
-
40
- @mixin pb_title_dark_link {
41
- color: $active_dark;
37
+ color: $text_dk_default;
42
38
  }
43
39
 
44
40
  @mixin pb_title_bold {
data/dist/menu.yml CHANGED
@@ -255,9 +255,9 @@ kits:
255
255
  description: Playbook's date picker is built using flatpickr, a vanilla js library. Common date picker use cases and features have been adapted into simple prop based configuration detailed in the docs below.
256
256
  status: "stable"
257
257
  - name: dropdown
258
- platforms: *web
258
+ platforms: *react_only
259
259
  description: ""
260
- status: "stable"
260
+ status: "beta"
261
261
  - name: "multi_level_select"
262
262
  platforms: *web
263
263
  description: The MultiLevelSelect kit renders a multi leveled select dropdown based on data from the user.