playbook_ui 13.20.0.pre.alpha.PLAY12572402 → 13.20.0.pre.alpha.play1247htmloptions2403

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_avatar/avatar.html.erb +2 -1
  3. data/app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb +2 -1
  4. data/app/pb_kits/playbook/pb_background/background.html.erb +2 -1
  5. data/app/pb_kits/playbook/pb_badge/badge.html.erb +2 -1
  6. data/app/pb_kits/playbook/pb_body/body.html.erb +2 -1
  7. data/app/pb_kits/playbook/pb_bread_crumbs/bread_crumb_item.html.erb +2 -1
  8. data/app/pb_kits/playbook/pb_bread_crumbs/bread_crumbs.html.erb +2 -1
  9. data/app/pb_kits/playbook/pb_button/button.html.erb +2 -1
  10. data/app/pb_kits/playbook/pb_button_toolbar/button_toolbar.html.erb +2 -1
  11. data/app/pb_kits/playbook/pb_caption/caption.html.erb +2 -1
  12. data/app/pb_kits/playbook/pb_card/card.html.erb +2 -1
  13. data/app/pb_kits/playbook/pb_card/card_body.html.erb +2 -1
  14. data/app/pb_kits/playbook/pb_card/card_header.html.erb +2 -1
  15. data/app/pb_kits/playbook/pb_checkbox/checkbox.html.erb +3 -1
  16. data/app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.html.erb +2 -1
  17. data/app/pb_kits/playbook/pb_collapsible/collapsible.html.erb +2 -1
  18. data/app/pb_kits/playbook/pb_collapsible/collapsible_content.html.erb +2 -1
  19. data/app/pb_kits/playbook/pb_collapsible/collapsible_main.html.erb +2 -1
  20. data/app/pb_kits/playbook/pb_contact/contact.html.erb +2 -1
  21. data/app/pb_kits/playbook/pb_currency/currency.html.erb +2 -1
  22. data/app/pb_kits/playbook/pb_dashboard_value/dashboard_value.html.erb +2 -1
  23. data/app/pb_kits/playbook/pb_date/date.html.erb +2 -1
  24. data/app/pb_kits/playbook/pb_date_picker/date_picker.html.erb +3 -2
  25. data/app/pb_kits/playbook/pb_date_range_inline/date_range_inline.html.erb +2 -1
  26. data/app/pb_kits/playbook/pb_date_range_stacked/date_range_stacked.html.erb +2 -1
  27. data/app/pb_kits/playbook/pb_date_stacked/date_stacked.html.erb +2 -1
  28. data/app/pb_kits/playbook/pb_date_time/date_time.html.erb +2 -1
  29. data/app/pb_kits/playbook/pb_date_time_stacked/date_time_stacked.html.erb +3 -2
  30. data/app/pb_kits/playbook/pb_date_year_stacked/date_year_stacked.html.erb +2 -1
  31. data/app/pb_kits/playbook/pb_detail/detail.html.erb +2 -1
  32. data/app/pb_kits/playbook/pb_dialog/dialog.html.erb +2 -1
  33. data/app/pb_kits/playbook/pb_dialog/dialog_body.html.erb +3 -2
  34. data/app/pb_kits/playbook/pb_dialog/dialog_footer.html.erb +2 -1
  35. data/app/pb_kits/playbook/pb_dialog/dialog_header.html.erb +3 -2
  36. data/app/pb_kits/playbook/pb_file_upload/file_upload.html.erb +2 -1
  37. data/app/pb_kits/playbook/pb_filter/filter.html.erb +2 -1
  38. data/app/pb_kits/playbook/pb_fixed_confirmation_toast/fixed_confirmation_toast.html.erb +2 -1
  39. data/app/pb_kits/playbook/pb_flex/flex.html.erb +2 -1
  40. data/app/pb_kits/playbook/pb_flex/flex_item.html.erb +2 -1
  41. data/app/pb_kits/playbook/pb_form_group/form_group.html.erb +2 -1
  42. data/app/pb_kits/playbook/pb_form_pill/form_pill.html.erb +2 -2
  43. data/app/pb_kits/playbook/pb_hashtag/hashtag.html.erb +2 -1
  44. data/app/pb_kits/playbook/pb_highlight/highlight.html.erb +2 -1
  45. data/app/pb_kits/playbook/pb_home_address_street/home_address_street.html.erb +2 -1
  46. data/app/pb_kits/playbook/pb_icon/icon.html.erb +2 -1
  47. data/app/pb_kits/playbook/pb_icon_circle/icon_circle.html.erb +2 -1
  48. data/app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.html.erb +2 -1
  49. data/app/pb_kits/playbook/pb_icon_value/icon_value.html.erb +2 -1
  50. data/app/pb_kits/playbook/pb_image/image.html.erb +2 -1
  51. data/app/pb_kits/playbook/pb_label_pill/label_pill.html.erb +2 -1
  52. data/app/pb_kits/playbook/pb_label_value/label_value.html.erb +3 -2
  53. data/app/pb_kits/playbook/pb_layout/body.html.erb +2 -1
  54. data/app/pb_kits/playbook/pb_layout/footer.html.erb +2 -1
  55. data/app/pb_kits/playbook/pb_layout/header.html.erb +2 -1
  56. data/app/pb_kits/playbook/pb_layout/item.html.erb +2 -1
  57. data/app/pb_kits/playbook/pb_layout/layout.html.erb +2 -1
  58. data/app/pb_kits/playbook/pb_layout/sidebar.html.erb +2 -1
  59. data/app/pb_kits/playbook/pb_legend/legend.html.erb +2 -1
  60. data/app/pb_kits/playbook/pb_list/item.html.erb +2 -1
  61. data/app/pb_kits/playbook/pb_list/list.html.erb +2 -1
  62. data/app/pb_kits/playbook/pb_loading_inline/loading_inline.html.erb +2 -1
  63. data/app/pb_kits/playbook/pb_message/message.html.erb +2 -1
  64. data/app/pb_kits/playbook/pb_message/message_mention.html.erb +3 -2
  65. data/app/pb_kits/playbook/pb_multi_level_select/multi_level_select.html.erb +2 -1
  66. data/app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb +2 -1
  67. data/app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb +2 -1
  68. data/app/pb_kits/playbook/pb_nav/item.html.erb +4 -2
  69. data/app/pb_kits/playbook/pb_nav/nav.html.erb +2 -1
  70. data/app/pb_kits/playbook/pb_online_status/online_status.html.erb +2 -1
  71. data/app/pb_kits/playbook/pb_pagination/pagination.html.erb +2 -1
  72. data/app/pb_kits/playbook/pb_passphrase/passphrase.html.erb +1 -1
  73. data/app/pb_kits/playbook/pb_person/person.html.erb +2 -1
  74. data/app/pb_kits/playbook/pb_person_contact/person_contact.html.erb +2 -1
  75. data/app/pb_kits/playbook/pb_pill/pill.html.erb +2 -1
  76. data/app/pb_kits/playbook/pb_popover/popover.html.erb +2 -1
  77. data/app/pb_kits/playbook/pb_progress_pills/progress_pills.html.erb +2 -1
  78. data/app/pb_kits/playbook/pb_progress_simple/progress_simple.html.erb +2 -1
  79. data/app/pb_kits/playbook/pb_progress_step/progress_step.html.erb +2 -1
  80. data/app/pb_kits/playbook/pb_progress_step/progress_step_item.html.erb +2 -1
  81. data/app/pb_kits/playbook/pb_radio/radio.html.erb +2 -1
  82. data/app/pb_kits/playbook/pb_section_separator/section_separator.html.erb +2 -1
  83. data/app/pb_kits/playbook/pb_select/select.html.erb +2 -1
  84. data/app/pb_kits/playbook/pb_selectable_card/selectable_card.html.erb +2 -1
  85. data/app/pb_kits/playbook/pb_selectable_card_icon/selectable_card_icon.html.erb +2 -1
  86. data/app/pb_kits/playbook/pb_selectable_icon/selectable_icon.html.erb +2 -1
  87. data/app/pb_kits/playbook/pb_selectable_list/selectable_list.html.erb +2 -1
  88. data/app/pb_kits/playbook/pb_selectable_list/selectable_list_item.html.erb +2 -1
  89. data/app/pb_kits/playbook/pb_source/source.html.erb +2 -1
  90. data/app/pb_kits/playbook/pb_star_rating/star_rating.html.erb +2 -1
  91. data/app/pb_kits/playbook/pb_stat_change/stat_change.html.erb +2 -1
  92. data/app/pb_kits/playbook/pb_stat_value/stat_value.html.erb +2 -1
  93. data/app/pb_kits/playbook/pb_table/table.html.erb +4 -2
  94. data/app/pb_kits/playbook/pb_table/table_body.html.erb +5 -3
  95. data/app/pb_kits/playbook/pb_table/table_cell.html.erb +5 -3
  96. data/app/pb_kits/playbook/pb_table/table_head.html.erb +5 -3
  97. data/app/pb_kits/playbook/pb_table/table_header.html.erb +5 -3
  98. data/app/pb_kits/playbook/pb_table/table_row.html.erb +5 -3
  99. data/app/pb_kits/playbook/pb_text_input/text_input.html.erb +2 -1
  100. data/app/pb_kits/playbook/pb_textarea/textarea.html.erb +2 -1
  101. data/app/pb_kits/playbook/pb_time/time.html.erb +2 -1
  102. data/app/pb_kits/playbook/pb_time_range_inline/time_range_inline.html.erb +3 -2
  103. data/app/pb_kits/playbook/pb_time_stacked/time_stacked.html.erb +2 -1
  104. data/app/pb_kits/playbook/pb_timeline/item.html.erb +2 -1
  105. data/app/pb_kits/playbook/pb_timeline/timeline.html.erb +2 -1
  106. data/app/pb_kits/playbook/pb_timestamp/timestamp.html.erb +2 -1
  107. data/app/pb_kits/playbook/pb_title/title.html.erb +3 -2
  108. data/app/pb_kits/playbook/pb_title_count/title_count.html.erb +2 -1
  109. data/app/pb_kits/playbook/pb_title_detail/title_detail.html.erb +2 -1
  110. data/app/pb_kits/playbook/pb_toggle/toggle.html.erb +2 -1
  111. data/app/pb_kits/playbook/pb_tooltip/tooltip.html.erb +2 -1
  112. data/app/pb_kits/playbook/pb_typeahead/typeahead.html.erb +2 -1
  113. data/app/pb_kits/playbook/pb_user/user.html.erb +2 -1
  114. data/app/pb_kits/playbook/pb_user_badge/user_badge.html.erb +2 -1
  115. data/app/pb_kits/playbook/pb_weekday_stacked/weekday_stacked.html.erb +2 -1
  116. data/lib/playbook/kit_base.rb +18 -0
  117. data/lib/playbook/version.rb +1 -1
  118. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb6d3b38a06890fb4242896896403e642f363c6a220d7483b366c26289aab8cd
4
- data.tar.gz: ce847f1594dc3eb1ba9e142bafc7cca62bb8ab750a80df5e07962eb7dd6f0c3a
3
+ metadata.gz: 20abf2c5fe178ed6b4e57bfcb4594e19422a896320894a73dc21e235a6c73900
4
+ data.tar.gz: 94f3a5e02dce461ac10b0cdb5a97f4dd37b9ffc98a0515d15e8a4e3e385905bb
5
5
  SHA512:
6
- metadata.gz: 00d36dc613747a14e0796cf9ea2d52ce59305ba50c509b28620766ba4b4e0060150bd45efa77a9ebe61cf220acb0d7501ce470a8ecbc42edf8a6cc47fab930f8
7
- data.tar.gz: c1937c7a96b2f26b583798205223b98d1117236fa94ea764408e01896e5981700216e873fd466f76efc8cd842479d7afadc6c0a20deb10bae7235e74f3edc784
6
+ metadata.gz: 0751da3abfc4b7819bbcd33afd9f37a6945b6a02f347bfde538ccaed29231d1e361839bce246b2ce09a1e9a85b5f8c57d2cd19e5be43d442fac6108612a96cdc
7
+ data.tar.gz: c5088daa8946d2af65085af515ebc537a2a3890a64141f4a60bf36505e3bf829a82d8c56c4fd25b07b51e2056bdba5d7607a4f238eacdd793ddeab224dc2226c
@@ -2,7 +2,8 @@
2
2
  id: object.id,
3
3
  data: object.data.merge(initials: object.initials),
4
4
  class: object.classname,
5
- aria: object.aria) do %>
5
+ aria: object.aria,
6
+ **combined_html_options) do %>
6
7
  <%= content_tag(:div, data: { initials: object.initials }, class: "avatar_wrapper") do %>
7
8
  <%= pb_rails("image", props: { alt: object.alt_text, url: object.image_url, on_error: object.handle_img_error }) if object.image_url.present? %>
8
9
  <% end %>
@@ -2,7 +2,8 @@
2
2
  aria: object.aria,
3
3
  id: object.id,
4
4
  data: object.data,
5
- class: object.classname) do %>
5
+ class: object.classname,
6
+ **combined_html_options) do %>
6
7
  <% if object.tooltip_text.present? %>
7
8
  <%= pb_rails("tooltip", props: {
8
9
  trigger_element_id: object.tooltip_id,
@@ -7,7 +7,8 @@
7
7
  style: "background-image: url('#{object.image_url}');
8
8
  background-repeat: #{object.background_repeat};
9
9
  background-size: #{object.background_size};
10
- background-position: #{object.background_position};"
10
+ background-position: #{object.background_position};",
11
+ **combined_html_options
11
12
  ) do %>
12
13
  <%= content.presence %>
13
14
  <% end %>
@@ -2,6 +2,7 @@
2
2
  aria: object.aria,
3
3
  id: object.id,
4
4
  data: object.data,
5
- class: object.classname) do %>
5
+ class: object.classname,
6
+ **combined_html_options) do %>
6
7
  <span><%= object.text %></span>
7
8
  <% end %>
@@ -2,6 +2,7 @@
2
2
  aria: object.aria,
3
3
  id: object.id,
4
4
  data: object.data,
5
- class: object.classname) do %>
5
+ class: object.classname,
6
+ **combined_html_options) do %>
6
7
  <%= object.content %>
7
8
  <% end %>
@@ -2,7 +2,8 @@
2
2
  id: object.id,
3
3
  data: object.data,
4
4
  class: object.classname,
5
- aria: object.aria) do%>
5
+ aria: object.aria,
6
+ **combined_html_options) do%>
6
7
  <%= content_tag(object.link ? 'a' : 'span', class: 'bread_crumb_item', href: object.link) do %>
7
8
  <%= content.presence %>
8
9
  <% end %>
@@ -2,6 +2,7 @@
2
2
  aria: object.aria,
3
3
  id: object.id,
4
4
  data: object.data,
5
- class: object.classname) do %>
5
+ class: object.classname,
6
+ **combined_html_options) do %>
6
7
  <%= content.presence %>
7
8
  <% end %>
@@ -1,5 +1,6 @@
1
1
  <%= content_tag(object.tag,
2
- object.tag == "button" ? object.options : object.link_options) do %>
2
+ object.tag == "button" ? object.options : object.link_options,
3
+ **combined_html_options) do %>
3
4
  <% if object.variant === "reaction" %>
4
5
  <% if icon && object.valid_emoji(object.icon) %>
5
6
  <%= pb_rails("flex", props:{ align: "center" }) do %>
@@ -2,6 +2,7 @@
2
2
  aria: object.aria,
3
3
  class: object.classname,
4
4
  data: object.data,
5
- id: object.id) do %>
5
+ id: object.id,
6
+ **combined_html_options) do %>
6
7
  <%= content.presence || object.text %>
7
8
  <% end %>
@@ -2,6 +2,7 @@
2
2
  aria: object.aria,
3
3
  id: object.id,
4
4
  data: object.data,
5
- class: object.classname) do %>
5
+ class: object.classname,
6
+ **combined_html_options) do %>
6
7
  <%= content.presence || object.text %>
7
8
  <% end %>
@@ -3,7 +3,8 @@
3
3
  data: object.data,
4
4
  class: object.classname,
5
5
  aria: object.aria,
6
- dark: object.dark) do %>
6
+ dark: object.dark,
7
+ **combined_html_options) do %>
7
8
  <%= content.presence %>
8
9
  <% end %>
9
10
 
@@ -2,6 +2,7 @@
2
2
  id: object.id,
3
3
  data: object.data,
4
4
  class: object.classname,
5
- aria: object.aria) do %>
5
+ aria: object.aria,
6
+ **combined_html_options) do %>
6
7
  <%= content.presence %>
7
8
  <% end %>
@@ -2,6 +2,7 @@
2
2
  id: object.id,
3
3
  data: object.data,
4
4
  class: object.classname,
5
- aria: object.aria) do %>
5
+ aria: object.aria,
6
+ **combined_html_options) do %>
6
7
  <%= content.presence %>
7
8
  <% end %>
@@ -1,7 +1,9 @@
1
1
  <%= content_tag(:label, aria: object.aria,
2
2
  id: object.id,
3
3
  data: object.data,
4
- class: object.classname) do %>
4
+ class: object.classname,
5
+ **combined_html_options
6
+ ) do %>
5
7
  <%= content.presence || object.input %>
6
8
  <% if object.indeterminate %>
7
9
  <span class="pb_checkbox_indeterminate">
@@ -2,7 +2,8 @@
2
2
  aria: object.aria,
3
3
  id: object.id,
4
4
  data: object.data,
5
- class: object.classname) do %>
5
+ class: object.classname,
6
+ **combined_html_options) do %>
6
7
  <%= pb_rails("button", props: {type: object.type, link: object.link, new_window:object.new_window, variant: object.variant, disabled: object.disabled, dark: object.dark}) do %>
7
8
  <%= pb_rails("icon", props: {icon: object.icon, fixed_width: true, dark: object.dark}) %>
8
9
  <% end %>
@@ -2,6 +2,7 @@
2
2
  aria: object.aria,
3
3
  class: object.classname,
4
4
  data: object.data,
5
- id: object.id) do %>
5
+ id: object.id,
6
+ **combined_html_options) do %>
6
7
  <%= content.presence %>
7
8
  <% end %>
@@ -2,6 +2,7 @@
2
2
  id: object.id,
3
3
  data: object.data,
4
4
  class: object.classname,
5
- aria: object.aria) do %>
5
+ aria: object.aria,
6
+ **combined_html_options) do %>
6
7
  <%= content.presence %>
7
8
  <% end %>
@@ -2,7 +2,8 @@
2
2
  id: object.id,
3
3
  data: object.data,
4
4
  class: object.classname,
5
- aria: object.aria) do %>
5
+ aria: object.aria,
6
+ **combined_html_options) do %>
6
7
 
7
8
  <%= pb_rails("flex", props: {vertical: "center", spacing: "between", cursor: "pointer"}) do %>
8
9
  <%= pb_rails("flex/flex_item") do %>
@@ -2,7 +2,8 @@
2
2
  aria: object.aria,
3
3
  id: object.id,
4
4
  data: object.data,
5
- class: object.classname) do %>
5
+ class: object.classname,
6
+ **combined_html_options) do %>
6
7
  <%= pb_rails("body", props: {
7
8
  tag: "span",
8
9
  classname: "pb_contact_kit",
@@ -2,7 +2,8 @@
2
2
  aria: object.aria,
3
3
  id: object.id,
4
4
  data: object.data,
5
- class: object.classname) do %>
5
+ class: object.classname,
6
+ **combined_html_options) do %>
6
7
  <%= pb_rails("caption", props: object.caption_props) %>
7
8
 
8
9
  <div class=<%= "pb_currency_wrapper#{object.variant_class || object.emphasized_class}" %>>
@@ -2,7 +2,8 @@
2
2
  aria: object.aria,
3
3
  class: object.classname,
4
4
  data: object.data,
5
- id: object.id) do %>
5
+ id: object.id,
6
+ **combined_html_options) do %>
6
7
  <% if object.stat_label.present? %>
7
8
  <%= pb_rails("body", props: { color: "light", text: object.stat_label } ) %>
8
9
  <% end %>
@@ -2,7 +2,8 @@
2
2
  id: object.id,
3
3
  data: object.data,
4
4
  class: object.classname,
5
- aria: object.aria) do %>
5
+ aria: object.aria,
6
+ **combined_html_options) do %>
6
7
 
7
8
  <% if object.unstyled %>
8
9
  <!-- icon -->
@@ -2,7 +2,8 @@
2
2
  aria: object.aria,
3
3
  class: object.classname + object.error_class,
4
4
  data: object.data,
5
- id: object.id) do %>
5
+ id: object.id,
6
+ **combined_html_options) do %>
6
7
  <div class="input_wrapper">
7
8
  <% if content.present? %>
8
9
  <%= content %>
@@ -80,4 +81,4 @@
80
81
  }
81
82
  })
82
83
  <% end %>
83
- <% end %>
84
+ <% end %>
@@ -1,7 +1,8 @@
1
1
  <%= content_tag(:div,
2
2
  id: object.id,
3
3
  data: object.data,
4
- class: object.classname) do %>
4
+ class: object.classname,
5
+ **combined_html_options) do %>
5
6
  <div class="pb_date_range_inline_wrapper">
6
7
  <% if object.icon == true %>
7
8
  <%= pb_rails(object.text_kit, props: { tag: "span", dark: object.dark, color: object.icon_color, text: pb_rails("icon", props: { icon: "calendar-alt", fixed_width: true, size: object.size, classname: "pb_date_range_inline_icon" }) }) %>
@@ -1,7 +1,8 @@
1
1
  <%= content_tag(:div,
2
2
  id: object.id,
3
3
  data: object.data,
4
- class: object.classname) do %>
4
+ class: object.classname,
5
+ **combined_html_options) do %>
5
6
 
6
7
  <%= pb_rails("flex", props: {vertical: "center"}) do %>
7
8
  <%= pb_rails("flex/flex_item") do %>
@@ -1,7 +1,8 @@
1
1
  <%= content_tag(:div,
2
2
  id: object.id,
3
3
  data: object.data,
4
- class: object.classname) do %>
4
+ class: object.classname,
5
+ **combined_html_options) do %>
5
6
 
6
7
  <% if object.bold == false %>
7
8
 
@@ -2,7 +2,8 @@
2
2
  aria: object.aria,
3
3
  id: object.id,
4
4
  data: object.data,
5
- class: object.classname) do %>
5
+ class: object.classname,
6
+ **combined_html_options) do %>
6
7
 
7
8
  <%= pb_rails("flex", props: {
8
9
  orientation: "row",
@@ -2,7 +2,8 @@
2
2
  id: object.id,
3
3
  data: object.data,
4
4
  class: object.classname,
5
- aria: object.aria) do %>
5
+ aria: object.aria,
6
+ **combined_html_options) do %>
6
7
 
7
8
  <%= pb_rails("flex", props: {classname: "flex-container", vertical: "stretch"}) do %>
8
9
  <%= pb_rails("body", props: {classname: "flex-item"}) do %>
@@ -14,4 +15,4 @@
14
15
  <% end %>
15
16
  <% end %>
16
17
 
17
- <% end %>
18
+ <% end %>
@@ -1,7 +1,8 @@
1
1
  <%= content_tag(:div,
2
2
  id: object.id,
3
3
  data: object.data,
4
- class: object.classname) do %>
4
+ class: object.classname,
5
+ **combined_html_options) do %>
5
6
  <%= pb_rails("title", props: { text: object.day_month, size: 4, dark: object.dark }) %>
6
7
  <%= pb_rails("body", props: { text: object.year, size: 4, color: "light", dark: object.dark }) %>
7
8
  <% end %>
@@ -2,6 +2,7 @@
2
2
  aria: object.aria,
3
3
  class: object.classname,
4
4
  data: object.data,
5
- id: object.id) do %>
5
+ id: object.id,
6
+ **combined_html_options) do %>
6
7
  <%= object.content %>
7
8
  <% end %>
@@ -3,7 +3,8 @@
3
3
  aria: object.aria,
4
4
  data: object.data,
5
5
  id: object.id,
6
- class: object.classname) do %>
6
+ class: object.classname,
7
+ **combined_html_options) do %>
7
8
  <% if object.status === "" && object.title %>
8
9
  <%= pb_rails("dialog/dialog_header", props: { title: object.title, id: object.id }) %>
9
10
  <% end %>
@@ -2,6 +2,7 @@
2
2
  id: object.id,
3
3
  data: object.data,
4
4
  class: object.classname,
5
- aria: object.aria) do %>
5
+ aria: object.aria,
6
+ **combined_html_options) do %>
6
7
  <%= content.presence || object.text %>
7
- <% end %>
8
+ <% end %>
@@ -1,7 +1,8 @@
1
1
  <%= content_tag(:div,
2
2
  id: object.id,
3
3
  data: object.data,
4
- aria: object.aria) do %>
4
+ aria: object.aria,
5
+ **combined_html_options) do %>
5
6
  <% if object.confirm_button && object.cancel_button %>
6
7
  <div class="dialog-pseudo-footer"></div>
7
8
  <%= pb_rails("flex", props: { classname:object.classname, spacing:"between", padding_x:"sm", padding:"sm", padding_bottom:"sm" }) do %>
@@ -2,7 +2,8 @@
2
2
  id: object.id,
3
3
  data: object.data,
4
4
  class: object.sticky_header,
5
- aria: object.aria) do %>
5
+ aria: object.aria,
6
+ **combined_html_options) do %>
6
7
  <%= pb_rails("flex", props: {classname:object.classname, spacing:"between", padding:"sm", align:"center"}) do %>
7
8
  <%= content.presence || object.title %>
8
9
 
@@ -11,4 +12,4 @@
11
12
  </button>
12
13
  <% end %>
13
14
  <%= pb_rails("section_separator") %>
14
- <% end %>
15
+ <% end %>
@@ -2,7 +2,8 @@
2
2
  aria: object.aria,
3
3
  class: object.classname,
4
4
  data: object.data,
5
- id: object.id) do %>
5
+ id: object.id,
6
+ **combined_html_options) do %>
6
7
  <%= pb_rails("form_group", props: {cursor: "pointer", full_width: object.full_width}) do %>
7
8
  <label for="upload-<%= object.id %>" class="pb_button_kit_secondary_inline_enabled"><%= "#{object.label}" %></label>
8
9
  <%= pb_rails("text_input", props: {
@@ -1,7 +1,8 @@
1
1
  <%= content_tag(:div,
2
2
  id: object.id,
3
3
  data: object.data,
4
- class: object.classname) do %>
4
+ class: object.classname,
5
+ **combined_html_options) do %>
5
6
  <%= object.wrapper do %>
6
7
  <%= pb_rails("flex", props: { orientation: "row", padding_right: "lg", vertical: "center" }) do %>
7
8
  <% if (object.template != "sort_only") %>
@@ -2,7 +2,8 @@
2
2
  aria: object.aria,
3
3
  id: object.id,
4
4
  data: object.data,
5
- class: object.classname) do %>
5
+ class: object.classname,
6
+ **combined_html_options) do %>
6
7
  <%= pb_rails("icon", props: { icon: object.icon_value, classname: "pb_icon", fixed_width: true }) %>
7
8
 
8
9
  <% if content %>
@@ -1,6 +1,7 @@
1
1
  <%= content_tag(:div,
2
2
  id: object.id,
3
3
  data: object.data,
4
- class: object.classname) do %>
4
+ class: object.classname,
5
+ **combined_html_options) do %>
5
6
  <%= content.presence %>
6
7
  <% end %>
@@ -2,6 +2,7 @@
2
2
  id: object.id,
3
3
  data: object.data,
4
4
  class: object.classname,
5
- style: object.style_value) do %>
5
+ style: object.style_value,
6
+ **combined_html_options) do %>
6
7
  <%= content.presence %>
7
8
  <% end %>
@@ -2,6 +2,7 @@
2
2
  aria: object.aria,
3
3
  class: object.classname,
4
4
  data: object.data,
5
- id: object.id) do %>
5
+ id: object.id,
6
+ **combined_html_options) do %>
6
7
  <%= content.presence %>
7
8
  <% end %>
@@ -1,4 +1,4 @@
1
- <%= content_tag(:div, id: object.id, data: object.data, class: object.classname + object.size_class) do %>
1
+ <%= content_tag(:div, id: object.id, data: object.data, class: object.classname + object.size_class, **combined_html_options) do %>
2
2
  <% if object.name.present? %>
3
3
  <%= pb_rails("avatar", props: { name: object.name, image_url: object.avatar_url, size: "xs" }) %>
4
4
  <%= pb_rails("title", props: { text: object.name, size: 4, classname: "pb_form_pill_text" }) %>
@@ -9,4 +9,4 @@
9
9
  <%= pb_rails("body", props: { classname: "pb_form_pill_close" }) do %>
10
10
  <%= pb_rails("icon", props: { icon: 'times' , fixed_width: true }) %>
11
11
  <% end %>
12
- <% end %>
12
+ <% end %>
@@ -2,7 +2,8 @@
2
2
  aria: object.aria,
3
3
  class: object.classname,
4
4
  data: object.data,
5
- id: object.id) do %>
5
+ id: object.id,
6
+ **combined_html_options) do %>
6
7
  <%= link_to object.url, target: object.link_option do %>
7
8
  <%= pb_rails("badge", props: { dark: object.dark, variant: "primary", text: object.hashtag_text }) %>
8
9
  <% end %>
@@ -1,7 +1,8 @@
1
1
  <%= content_tag(:span,
2
2
  id: object.id,
3
3
  data: object.data,
4
- class: object.classname) do %>
4
+ class: object.classname,
5
+ **combined_html_options) do %>
5
6
  <mark>
6
7
  <%= content.presence || object.text %>
7
8
  </mark>
@@ -1,7 +1,8 @@
1
1
  <%= content_tag(:div,
2
2
  id: object.id,
3
3
  data: object.data,
4
- class: object.classname) do %>
4
+ class: object.classname,
5
+ **combined_html_options) do %>
5
6
  <%= pb_rails("home_address_street/#{emphasis}_emphasis", props: object.send("#{emphasis}_emphasis_props")) %>
6
7
  <% end %>
7
8
 
@@ -8,7 +8,8 @@
8
8
  <%= content_tag(:i, nil,
9
9
  id: object.id,
10
10
  data: object.data,
11
- class: object.classname
11
+ class: object.classname,
12
+ **combined_html_options
12
13
  ) %>
13
14
  <%= content_tag(:span, nil,
14
15
  aria: { label: "#{object.icon} icon" }.merge(object.aria),
@@ -2,6 +2,7 @@
2
2
  aria: object.aria,
3
3
  class: object.classname,
4
4
  data: object.data,
5
- id: object.id) do %>
5
+ id: object.id,
6
+ **combined_html_options) do %>
6
7
  <%= pb_rails("icon", props: { dark: object.dark, icon: object.icon, fixed_width: true }) %>
7
8
  <% end %>
@@ -2,7 +2,8 @@
2
2
  aria: object.aria,
3
3
  id: object.id,
4
4
  data: object.data,
5
- class: object.classname) do %>
5
+ class: object.classname,
6
+ **combined_html_options) do %>
6
7
 
7
8
  <%= pb_rails("icon_circle", props: {
8
9
  dark: object.dark,
@@ -2,7 +2,8 @@
2
2
  aria: object.aria,
3
3
  class: object.classname,
4
4
  data: object.data,
5
- id: object.id) do %>
5
+ id: object.id,
6
+ **combined_html_options) do %>
6
7
  <%= pb_rails("body", props: { color: "light", dark: object.dark }) do %>
7
8
  <%= pb_rails("icon", props: { icon: object.icon, fixed_width: true }) %>
8
9
  <%= object.text %>
@@ -6,5 +6,6 @@
6
6
  src: object.url,
7
7
  alt: object.alt,
8
8
  onerror: object.on_error,
9
+ **combined_html_options
9
10
  )
10
- %>
11
+ %>
@@ -2,7 +2,8 @@
2
2
  aria: object.aria,
3
3
  id: object.id,
4
4
  data: object.data,
5
- class: object.classname) do %>
5
+ class: object.classname,
6
+ **combined_html_options) do %>
6
7
  <%= pb_rails("caption", props: { text: object.label, classname: "pb_label_pill_label"}) %>
7
8
  <%= pb_rails("pill", props: { text: object.pill_value, variant: object.variant, classname: "pb_label_pill_pill" }) %>
8
9
  <% end %>
@@ -2,7 +2,8 @@
2
2
  aria: object.aria,
3
3
  id: object.id,
4
4
  data: object.data,
5
- class: object.classname) do %>
5
+ class: object.classname,
6
+ **combined_html_options) do %>
6
7
  <%= pb_rails("caption", props: { text: object.label, dark: object.dark }) %>
7
8
  <% if object.variant == "details" %>
8
9
  <%= pb_rails("flex", props: {inline: true, vertical: "center"}) do %>
@@ -23,4 +24,4 @@
23
24
  <% else %>
24
25
  <%= pb_rails("body", props: { text: object.value, dark: object.dark }) if object.value.present? %>
25
26
  <% end %>
26
- <% end %>
27
+ <% end %>
@@ -1,6 +1,7 @@
1
1
  <%= content_tag(object.tag,
2
2
  id: object.id,
3
3
  data: object.data,
4
- class: object.classname) do %>
4
+ class: object.classname,
5
+ **combined_html_options) do %>
5
6
  <%= content.presence %>
6
7
  <% end %>
@@ -1,6 +1,7 @@
1
1
  <%= content_tag(object.tag,
2
2
  id: object.id,
3
3
  data: object.data,
4
- class: object.classname) do %>
4
+ class: object.classname,
5
+ **combined_html_options) do %>
5
6
  <%= content.presence %>
6
7
  <% end %>
@@ -1,6 +1,7 @@
1
1
  <%= content_tag(object.tag,
2
2
  id: object.id,
3
3
  data: object.data,
4
- class: object.classname) do %>
4
+ class: object.classname,
5
+ **combined_html_options) do %>
5
6
  <%= content.presence %>
6
7
  <% end %>
@@ -1,6 +1,7 @@
1
1
  <%= content_tag(:div,
2
2
  id: object.id,
3
3
  data: object.data,
4
- class: object.classname) do %>
4
+ class: object.classname,
5
+ **combined_html_options) do %>
5
6
  <%= content %>
6
7
  <% end %>
@@ -1,6 +1,7 @@
1
1
  <%= content_tag(:div,
2
2
  id: object.id,
3
3
  data: object.data,
4
- class: object.classname) do %>
4
+ class: object.classname,
5
+ **combined_html_options) do %>
5
6
  <%= content.presence %>
6
7
  <% end %>