playbook_ui 13.27.0.pre.alpha.PLAY1342DRYcontenttagRailssimplekits2896 → 13.27.0.pre.alpha.powercentrainplaybookpt22905

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) 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_action_button/avatar_action_button.html.erb +6 -1
  7. data/app/pb_kits/playbook/pb_badge/badge.html.erb +6 -1
  8. data/app/pb_kits/playbook/pb_button/_button.scss +3 -3
  9. data/app/pb_kits/playbook/pb_button/_button_mixins.scss +3 -2
  10. data/app/pb_kits/playbook/pb_button_toolbar/button_toolbar.html.erb +6 -1
  11. data/app/pb_kits/playbook/pb_caption/_caption_mixin.scss +1 -1
  12. data/app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.html.erb +6 -1
  13. data/app/pb_kits/playbook/pb_collapsible/collapsible.html.erb +6 -1
  14. data/app/pb_kits/playbook/pb_collapsible/collapsible_content.html.erb +6 -1
  15. data/app/pb_kits/playbook/pb_collapsible/collapsible_main.html.erb +6 -1
  16. data/app/pb_kits/playbook/pb_contact/contact.html.erb +6 -1
  17. data/app/pb_kits/playbook/pb_currency/currency.html.erb +6 -1
  18. data/app/pb_kits/playbook/pb_dashboard/commonSettings.js +1 -1
  19. data/app/pb_kits/playbook/pb_dashboard/pbChartsDarkTheme.ts +1 -1
  20. data/app/pb_kits/playbook/pb_dashboard/pbChartsLightTheme.ts +1 -1
  21. data/app/pb_kits/playbook/pb_dashboard_value/dashboard_value.html.erb +6 -1
  22. data/app/pb_kits/playbook/pb_date/date.html.erb +6 -1
  23. data/app/pb_kits/playbook/pb_date_range_inline/date_range_inline.html.erb +5 -1
  24. data/app/pb_kits/playbook/pb_date_range_stacked/date_range_stacked.html.erb +5 -1
  25. data/app/pb_kits/playbook/pb_date_stacked/date_stacked.html.erb +5 -1
  26. data/app/pb_kits/playbook/pb_date_time/date_time.html.erb +6 -1
  27. data/app/pb_kits/playbook/pb_date_time_stacked/date_time_stacked.html.erb +6 -1
  28. data/app/pb_kits/playbook/pb_date_year_stacked/date_year_stacked.html.erb +5 -1
  29. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default.md +1 -1
  30. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subcomponent_structure.md +5 -6
  31. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subcomponent_structure_rails.md +6 -0
  32. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.md +3 -3
  33. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display_rails.md +5 -0
  34. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options.md +1 -1
  35. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options_rails.md +1 -0
  36. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.md +1 -1
  37. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger.md +1 -1
  38. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger_rails.md +1 -0
  39. data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_label.md +1 -1
  40. data/app/pb_kits/playbook/pb_dropdown/docs/example.yml +6 -6
  41. data/app/pb_kits/playbook/pb_dropdown/dropdown_option.rb +1 -1
  42. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/fixed_confirmation_toast.html.erb +6 -1
  43. data/app/pb_kits/playbook/pb_form_pill/_form_pill.scss +1 -1
  44. data/app/pb_kits/playbook/pb_icon_circle/icon_circle.html.erb +6 -1
  45. data/app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.html.erb +6 -1
  46. data/app/pb_kits/playbook/pb_icon_value/icon_value.html.erb +6 -1
  47. data/app/pb_kits/playbook/pb_label_pill/label_pill.html.erb +6 -1
  48. data/app/pb_kits/playbook/pb_label_value/label_value.html.erb +6 -1
  49. data/app/pb_kits/playbook/pb_loading_inline/loading_inline.html.erb +5 -1
  50. data/app/pb_kits/playbook/pb_message/message_mention.html.erb +6 -6
  51. data/app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb +6 -1
  52. data/app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb +6 -1
  53. data/app/pb_kits/playbook/pb_pagination/pagination.html.erb +6 -1
  54. data/app/pb_kits/playbook/pb_person/person.html.erb +6 -1
  55. data/app/pb_kits/playbook/pb_person_contact/person_contact.html.erb +6 -1
  56. data/app/pb_kits/playbook/pb_pill/pill.html.erb +6 -1
  57. data/app/pb_kits/playbook/pb_section_separator/section_separator.html.erb +6 -1
  58. data/app/pb_kits/playbook/pb_source/source.html.erb +5 -1
  59. data/app/pb_kits/playbook/pb_stat_change/stat_change.html.erb +5 -1
  60. data/app/pb_kits/playbook/pb_stat_value/stat_value.html.erb +5 -1
  61. data/app/pb_kits/playbook/pb_time_range_inline/time_range_inline.html.erb +5 -1
  62. data/app/pb_kits/playbook/pb_time_stacked/time_stacked.html.erb +5 -1
  63. data/app/pb_kits/playbook/pb_timeline/item.html.erb +5 -1
  64. data/app/pb_kits/playbook/pb_timeline/timeline.html.erb +5 -1
  65. data/app/pb_kits/playbook/pb_timestamp/timestamp.html.erb +6 -1
  66. data/app/pb_kits/playbook/pb_title_count/title_count.html.erb +6 -1
  67. data/app/pb_kits/playbook/pb_title_detail/title_detail.html.erb +5 -1
  68. data/app/pb_kits/playbook/pb_weekday_stacked/weekday_stacked.html.erb +6 -1
  69. data/app/pb_kits/playbook/tokens/_titles.scss +4 -4
  70. data/app/pb_kits/playbook/tokens/_typography.scss +10 -10
  71. data/dist/menu.yml +2 -2
  72. data/dist/playbook-rails.js +2 -2
  73. data/dist/reset.css +1 -1
  74. data/lib/playbook/kit_base.rb +1 -1
  75. data/lib/playbook/version.rb +1 -1
  76. metadata +10 -6
  77. /data/app/pb_kits/playbook/pb_dropdown/docs/{_dropdown_subcomponent_structure.html.erb → _dropdown_subcomponent_structure_rails.html.erb} +0 -0
  78. /data/app/pb_kits/playbook/pb_dropdown/docs/{_dropdown_with_custom_display.html.erb → _dropdown_with_custom_display_rails.html.erb} +0 -0
  79. /data/app/pb_kits/playbook/pb_dropdown/docs/{_dropdown_with_custom_options.html.erb → _dropdown_with_custom_options_rails.html.erb} +0 -0
  80. /data/app/pb_kits/playbook/pb_dropdown/docs/{_dropdown_with_custom_trigger.html.erb → _dropdown_with_custom_trigger_rails.html.erb} +0 -0
@@ -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 %>
@@ -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",
@@ -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>
@@ -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 %>
@@ -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 %>
@@ -5,10 +5,11 @@
5
5
  @mixin pb_title(
6
6
  $fontSize: $heading_1,
7
7
  $fontWeight: $lighter,
8
- $lineHeight: $lh_tighter
8
+ $lineHeight: $lh_tighter,
9
+ $letterSpacing: $lspace_tight
9
10
  ){
10
11
  font-size: $fontSize;
11
- letter-spacing: $lspace_tight;
12
+ letter-spacing: $letterSpacing;
12
13
  font-weight: $fontWeight;
13
14
  color: $text_lt_default;
14
15
  margin: 0;
@@ -29,8 +30,7 @@
29
30
  }
30
31
 
31
32
  @mixin pb_title_4 {
32
- @include pb_title($heading_4, $bolder);
33
- letter-spacing: -0.03em;
33
+ @include pb_title($heading_4, $bolder, $letterSpacing: $lspace_normal);
34
34
  }
35
35
 
36
36
  @mixin pb_title_dark {
@@ -1,11 +1,11 @@
1
- $font_family_base: "Proxima Nova", "Helvetica Neue", Helvetica, Arial, sans_serif !default;
1
+ $font_family_base: "Power Centra", "Helvetica Neue", Helvetica, Arial, sans_serif !default;
2
2
 
3
3
  /* CLEAN UP AND REMOVE */
4
4
  $font_jumbo: 36px !default;
5
5
  $font_largest: 32px !default;
6
- $font_larger: 28px !default;
6
+ $font_larger: 27px !default;
7
7
  $font_large: 20px !default;
8
- $font_base: 16px !default;
8
+ $font_base: 15.5px !default;
9
9
  $font_default: $font_base !default;
10
10
  $font_normal: $font_base !default;
11
11
  $font_medium: $font_base !default;
@@ -26,8 +26,8 @@ $text_smaller: $font_smaller !default;
26
26
  $text_smallest: $font_smallest !default;
27
27
 
28
28
  /* Headings */
29
- $heading_1: 46px !default;
30
- $heading_2: 34px !default;
29
+ $heading_1: 44px !default;
30
+ $heading_2: 32px !default;
31
31
  $heading_3: $font_larger !default;
32
32
  $heading_4: $font_base !default;
33
33
 
@@ -35,19 +35,19 @@ $heading_4: $font_base !default;
35
35
  $lspace_tightest: -.1em !default;
36
36
  $lspace_tighter: -.07em !default;
37
37
  $lspace_tight: -.01em !default;
38
- $lspace_normal: 0 !default;
38
+ $lspace_normal: .003em !default;
39
39
  $lspace_loose: .03em !default;
40
40
  $lspace_looser: .07em !default;
41
41
  $lspace_loosest: .1em !default;
42
42
  $lspace_super_loosest: .2em !default;
43
43
 
44
44
  /* Standard Font Weights */
45
- $bold: 600 !default;
45
+ $bold: 700 !default;
46
46
  $regular: 400 !default;
47
47
 
48
48
  /* Non_Standard Font Weights */
49
- $extrabold: 900 !default;
50
- $boldest: 800 !default;
49
+ $extrabold: 700 !default;
50
+ $boldest: 700 !default;
51
51
  $bolder: 700 !default;
52
52
  $light: 300 !default;
53
- $lighter: 100 !default;
53
+ $lighter: 300 !default;
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: *react_only
258
+ platforms: *web
259
259
  description: ""
260
- status: "beta"
260
+ status: "stable"
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.