playbook_ui 13.29.0 → 13.30.0.pre.alpha.PLAY1328fixtimelinekitglobalpropsreact3096
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/_playbook.scss +1 -0
- data/app/pb_kits/playbook/index.js +1 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_horizontal.html.erb +58 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_horizontal.jsx +68 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_bar_graph/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_card/_card.scss +5 -0
- data/app/pb_kits/playbook/pb_card/_card.tsx +56 -9
- data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx +9 -5
- data/app/pb_kits/playbook/pb_collapsible/_collapsible.tsx +2 -6
- data/app/pb_kits/playbook/pb_dialog/dialog.html.erb +2 -3
- data/app/pb_kits/playbook/pb_draggable/context/index.tsx +2 -2
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_default.jsx +1 -1
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_default.md +1 -1
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.jsx +8 -7
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.md +1 -0
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.jsx +13 -32
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.md +3 -0
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list.jsx +5 -5
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list.md +1 -1
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list.jsx +5 -5
- data/app/pb_kits/playbook/pb_draggable/draggable.test.jsx +1 -3
- data/app/pb_kits/playbook/pb_overlay/_overlay.scss +72 -0
- data/app/pb_kits/playbook/pb_overlay/_overlay.tsx +78 -0
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_default.jsx +40 -0
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_default.md +7 -0
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx +36 -0
- data/app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.md +5 -0
- data/app/pb_kits/playbook/pb_overlay/docs/example.yml +4 -0
- data/app/pb_kits/playbook/pb_overlay/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_overlay/overlay.test.jsx +66 -0
- data/app/pb_kits/playbook/pb_overlay/subcomponents/_overlay_percentage.tsx +57 -0
- data/app/pb_kits/playbook/pb_overlay/subcomponents/_overlay_token.tsx +48 -0
- data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.scss +43 -25
- data/app/pb_kits/playbook/pb_table/docs/_table_alignment_column_rails.html.erb +32 -33
- data/app/pb_kits/playbook/pb_table/table_header.html.erb +0 -2
- data/app/pb_kits/playbook/pb_timeline/_item.tsx +11 -10
- data/app/pb_kits/playbook/pb_timeline/_timeline.tsx +8 -6
- data/app/pb_kits/playbook/playbook-doc.js +2 -0
- data/dist/menu.yml +5 -1
- data/dist/playbook-rails.js +6 -6
- data/lib/playbook/kit_base.rb +19 -0
- data/lib/playbook/version.rb +2 -2
- metadata +20 -5
data/lib/playbook/kit_base.rb
CHANGED
@@ -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
|
data/lib/playbook/version.rb
CHANGED
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.
|
4
|
+
version: 13.30.0.pre.alpha.PLAY1328fixtimelinekitglobalpropsreact3096
|
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-
|
12
|
+
date: 2024-06-18 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: []
|