playbook_ui 13.27.0.pre.alpha.PLAY1342DRYcontenttagRailssimplekits2896 → 13.27.0.pre.alpha.testingcollapsible2912

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) 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_toolbar/button_toolbar.html.erb +6 -1
  9. data/app/pb_kits/playbook/pb_circle_icon_button/circle_icon_button.html.erb +6 -1
  10. data/app/pb_kits/playbook/pb_collapsible/_collapsible.tsx +19 -10
  11. data/app/pb_kits/playbook/pb_collapsible/collapsible.html.erb +6 -1
  12. data/app/pb_kits/playbook/pb_collapsible/collapsible_content.html.erb +6 -1
  13. data/app/pb_kits/playbook/pb_collapsible/collapsible_main.html.erb +6 -1
  14. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main.html.erb +23 -0
  15. data/app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main.jsx +76 -0
  16. data/app/pb_kits/playbook/pb_collapsible/docs/example.yml +3 -0
  17. data/app/pb_kits/playbook/pb_collapsible/docs/index.js +2 -1
  18. data/app/pb_kits/playbook/pb_collapsible/index.js +16 -6
  19. data/app/pb_kits/playbook/pb_contact/contact.html.erb +6 -1
  20. data/app/pb_kits/playbook/pb_currency/currency.html.erb +6 -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_icon_circle/icon_circle.html.erb +6 -1
  44. data/app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.html.erb +6 -1
  45. data/app/pb_kits/playbook/pb_icon_value/icon_value.html.erb +6 -1
  46. data/app/pb_kits/playbook/pb_label_pill/label_pill.html.erb +6 -1
  47. data/app/pb_kits/playbook/pb_label_value/label_value.html.erb +6 -1
  48. data/app/pb_kits/playbook/pb_loading_inline/loading_inline.html.erb +5 -1
  49. data/app/pb_kits/playbook/pb_message/message_mention.html.erb +6 -6
  50. data/app/pb_kits/playbook/pb_multiple_users/multiple_users.html.erb +6 -1
  51. data/app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb +6 -1
  52. data/app/pb_kits/playbook/pb_pagination/pagination.html.erb +6 -1
  53. data/app/pb_kits/playbook/pb_person/person.html.erb +6 -1
  54. data/app/pb_kits/playbook/pb_person_contact/person_contact.html.erb +6 -1
  55. data/app/pb_kits/playbook/pb_pill/pill.html.erb +6 -1
  56. data/app/pb_kits/playbook/pb_section_separator/section_separator.html.erb +6 -1
  57. data/app/pb_kits/playbook/pb_source/source.html.erb +5 -1
  58. data/app/pb_kits/playbook/pb_stat_change/stat_change.html.erb +5 -1
  59. data/app/pb_kits/playbook/pb_stat_value/stat_value.html.erb +5 -1
  60. data/app/pb_kits/playbook/pb_time_range_inline/time_range_inline.html.erb +5 -1
  61. data/app/pb_kits/playbook/pb_time_stacked/time_stacked.html.erb +5 -1
  62. data/app/pb_kits/playbook/pb_timeline/item.html.erb +5 -1
  63. data/app/pb_kits/playbook/pb_timeline/timeline.html.erb +5 -1
  64. data/app/pb_kits/playbook/pb_timestamp/timestamp.html.erb +6 -1
  65. data/app/pb_kits/playbook/pb_title_count/title_count.html.erb +6 -1
  66. data/app/pb_kits/playbook/pb_title_detail/title_detail.html.erb +5 -1
  67. data/app/pb_kits/playbook/pb_weekday_stacked/weekday_stacked.html.erb +6 -1
  68. data/dist/menu.yml +2 -2
  69. data/dist/playbook-rails.js +2 -2
  70. data/lib/playbook/kit_base.rb +1 -1
  71. data/lib/playbook/version.rb +1 -1
  72. metadata +12 -6
  73. /data/app/pb_kits/playbook/pb_dropdown/docs/{_dropdown_subcomponent_structure.html.erb → _dropdown_subcomponent_structure_rails.html.erb} +0 -0
  74. /data/app/pb_kits/playbook/pb_dropdown/docs/{_dropdown_with_custom_display.html.erb → _dropdown_with_custom_display_rails.html.erb} +0 -0
  75. /data/app/pb_kits/playbook/pb_dropdown/docs/{_dropdown_with_custom_options.html.erb → _dropdown_with_custom_options_rails.html.erb} +0 -0
  76. /data/app/pb_kits/playbook/pb_dropdown/docs/{_dropdown_with_custom_trigger.html.erb → _dropdown_with_custom_trigger_rails.html.erb} +0 -0
@@ -81,7 +81,7 @@ module Playbook
81
81
  end
82
82
 
83
83
  # rubocop:disable Style/OptionalBooleanParameter
84
- def pb_content_tag(name = :div, content_or_options_with_block = {}, options = {}, escape = true, &block)
84
+ def pb_content_tag(name, content_or_options_with_block = nil, options = {}, escape = true, &block)
85
85
  combined_options = options
86
86
  .merge(combined_html_options)
87
87
  .merge(default_options.merge(content_or_options_with_block))
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "13.27.0"
5
- VERSION = "13.27.0.pre.alpha.PLAY1342DRYcontenttagRailssimplekits2896"
5
+ VERSION = "13.27.0.pre.alpha.testingcollapsible2912"
6
6
  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: 13.27.0.pre.alpha.PLAY1342DRYcontenttagRailssimplekits2896
4
+ version: 13.27.0.pre.alpha.testingcollapsible2912
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: 2024-05-13 00:00:00.000000000 Z
12
+ date: 2024-05-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -686,6 +686,8 @@ files:
686
686
  - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_color.jsx
687
687
  - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_color.md
688
688
  - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_colors_swift.md
689
+ - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main.html.erb
690
+ - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_custom_main.jsx
689
691
  - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_default.html.erb
690
692
  - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_default.jsx
691
693
  - app/pb_kits/playbook/pb_collapsible/docs/_collapsible_default_swift.md
@@ -1049,25 +1051,29 @@ files:
1049
1051
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default.html.erb
1050
1052
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default.jsx
1051
1053
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default.md
1052
- - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subcomponent_structure.html.erb
1053
1054
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subcomponent_structure.jsx
1054
1055
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subcomponent_structure.md
1056
+ - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subcomponent_structure_rails.html.erb
1057
+ - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_subcomponent_structure_rails.md
1055
1058
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_autocomplete.jsx
1056
1059
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_autocomplete.md
1057
1060
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_autocomplete_and_custom_display.jsx
1058
1061
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_autocomplete_and_custom_display.md
1059
- - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.html.erb
1060
1062
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.jsx
1061
1063
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.md
1062
- - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options.html.erb
1064
+ - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display_rails.html.erb
1065
+ - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display_rails.md
1063
1066
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options.jsx
1064
1067
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options.md
1068
+ - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options_rails.html.erb
1069
+ - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_options_rails.md
1065
1070
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb
1066
1071
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.jsx
1067
1072
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.md
1068
- - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger.html.erb
1069
1073
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger.jsx
1070
1074
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger.md
1075
+ - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger_rails.html.erb
1076
+ - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_trigger_rails.md
1071
1077
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_external_control.jsx
1072
1078
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_hook.jsx
1073
1079
  - app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_label.html.erb