playbook_ui 13.29.0.pre.alpha.testingcollapsibleissue3052 → 13.30.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/_playbook.scss +1 -0
  3. data/app/pb_kits/playbook/index.js +1 -0
  4. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_horizontal.html.erb +58 -0
  5. data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_horizontal.jsx +68 -0
  6. data/app/pb_kits/playbook/pb_bar_graph/docs/example.yml +2 -0
  7. data/app/pb_kits/playbook/pb_bar_graph/docs/index.js +1 -0
  8. data/app/pb_kits/playbook/pb_card/_card.scss +5 -0
  9. data/app/pb_kits/playbook/pb_card/_card.tsx +56 -9
  10. data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx +9 -5
  11. data/app/pb_kits/playbook/pb_dialog/dialog.html.erb +2 -3
  12. data/app/pb_kits/playbook/pb_draggable/context/index.tsx +2 -2
  13. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_default.jsx +1 -1
  14. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_default.md +1 -1
  15. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.jsx +8 -7
  16. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.md +1 -0
  17. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.jsx +13 -32
  18. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.md +3 -0
  19. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list.jsx +5 -5
  20. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list.md +1 -1
  21. data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list.jsx +5 -5
  22. data/app/pb_kits/playbook/pb_draggable/draggable.test.jsx +1 -3
  23. data/app/pb_kits/playbook/pb_overlay/_overlay.scss +72 -0
  24. data/app/pb_kits/playbook/pb_overlay/_overlay.tsx +78 -0
  25. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_default.jsx +40 -0
  26. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_default.md +7 -0
  27. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx +36 -0
  28. data/app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.md +5 -0
  29. data/app/pb_kits/playbook/pb_overlay/docs/example.yml +4 -0
  30. data/app/pb_kits/playbook/pb_overlay/docs/index.js +2 -0
  31. data/app/pb_kits/playbook/pb_overlay/overlay.test.jsx +66 -0
  32. data/app/pb_kits/playbook/pb_overlay/subcomponents/_overlay_percentage.tsx +57 -0
  33. data/app/pb_kits/playbook/pb_overlay/subcomponents/_overlay_token.tsx +48 -0
  34. data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.scss +43 -25
  35. data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column_rails.html.erb +32 -33
  36. data/app/pb_kits/playbook/pb_table/table_header.html.erb +0 -2
  37. data/app/pb_kits/playbook/playbook-doc.js +2 -0
  38. data/dist/menu.yml +5 -1
  39. data/dist/playbook-rails.js +6 -6
  40. data/lib/playbook/kit_base.rb +19 -0
  41. data/lib/playbook/version.rb +1 -1
  42. metadata +20 -5
@@ -82,6 +82,25 @@ module Playbook
82
82
  default_html_options.merge(html_options.deep_merge(data_attributes))
83
83
  end
84
84
 
85
+ # rubocop:disable Layout/CommentIndentation
86
+ # pb_content_tag information (potentially to be abstracted into its own dev doc in the future)
87
+ # The pb_content_tag generates HTML content tags for rails kits with flexible options.
88
+ # Modify a generated kit.html.erb file accordingly (the default_options listed below no longer need to be explictly outlined in that file, only modifications).
89
+ # name - the first argument is for HTML tag. The default is :div.
90
+ # content_or_options_with_block - additional content or options for the tag (i.e., the customizations a dev adds to kit.html.erb).
91
+ # options - Within combined_options, the empty options hash allows for customizations to
92
+ # merge with the default_options and combined_html_options.
93
+ # escape - set to true, this allows for HTML-escape.
94
+ # block - an optional block for content inside the tag.
95
+ # The return is a HTML tag that includes any provided customizations. If nothing is specified in kit.html.erb, the default shape is:
96
+ # :div,
97
+ # aria: object.aria,
98
+ # class: object.classname,
99
+ # data: object.data,
100
+ # id: object.id,
101
+ # **combined_html_options
102
+ # rubocop:enable Layout/CommentIndentation
103
+
85
104
  # rubocop:disable Style/OptionalBooleanParameter
86
105
  def pb_content_tag(name = :div, content_or_options_with_block = {}, options = {}, escape = true, &block)
87
106
  combined_options = options
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "13.29.0"
5
- VERSION = "13.29.0.pre.alpha.testingcollapsibleissue3052"
5
+ VERSION = "13.30.0"
6
6
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: playbook_ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.29.0.pre.alpha.testingcollapsibleissue3052
4
+ version: 13.30.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
8
8
  - Power Devs
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-06-10 00:00:00.000000000 Z
12
+ date: 2024-06-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -414,6 +414,8 @@ files:
414
414
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_default.jsx
415
415
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.html.erb
416
416
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_height.jsx
417
+ - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_horizontal.html.erb
418
+ - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_horizontal.jsx
417
419
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend.html.erb
418
420
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend.jsx
419
421
  - app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_legend_non_clickable.html.erb
@@ -1079,7 +1081,9 @@ files:
1079
1081
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_default.jsx
1080
1082
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_default.md
1081
1083
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.jsx
1084
+ - app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.md
1082
1085
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.jsx
1086
+ - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.md
1083
1087
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list.jsx
1084
1088
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list.md
1085
1089
  - app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list.jsx
@@ -1876,6 +1880,17 @@ files:
1876
1880
  - app/pb_kits/playbook/pb_online_status/docs/index.js
1877
1881
  - app/pb_kits/playbook/pb_online_status/online_status.html.erb
1878
1882
  - app/pb_kits/playbook/pb_online_status/online_status.rb
1883
+ - app/pb_kits/playbook/pb_overlay/_overlay.scss
1884
+ - app/pb_kits/playbook/pb_overlay/_overlay.tsx
1885
+ - app/pb_kits/playbook/pb_overlay/docs/_overlay_default.jsx
1886
+ - app/pb_kits/playbook/pb_overlay/docs/_overlay_default.md
1887
+ - app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
1888
+ - app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.md
1889
+ - app/pb_kits/playbook/pb_overlay/docs/example.yml
1890
+ - app/pb_kits/playbook/pb_overlay/docs/index.js
1891
+ - app/pb_kits/playbook/pb_overlay/overlay.test.jsx
1892
+ - app/pb_kits/playbook/pb_overlay/subcomponents/_overlay_percentage.tsx
1893
+ - app/pb_kits/playbook/pb_overlay/subcomponents/_overlay_token.tsx
1879
1894
  - app/pb_kits/playbook/pb_pagination/_pagination.scss
1880
1895
  - app/pb_kits/playbook/pb_pagination/docs/_pagination_default.html.erb
1881
1896
  - app/pb_kits/playbook/pb_pagination/docs/_pagination_default.md
@@ -3019,7 +3034,7 @@ homepage: https://playbook.powerapp.cloud/
3019
3034
  licenses:
3020
3035
  - ISC
3021
3036
  metadata: {}
3022
- post_install_message:
3037
+ post_install_message:
3023
3038
  rdoc_options: []
3024
3039
  require_paths:
3025
3040
  - lib
@@ -3035,7 +3050,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
3035
3050
  version: '0'
3036
3051
  requirements: []
3037
3052
  rubygems_version: 3.5.3
3038
- signing_key:
3053
+ signing_key:
3039
3054
  specification_version: 4
3040
3055
  summary: Playbook Design System
3041
3056
  test_files: []