playbook_ui 13.29.0 → 13.30.0.pre.alpha.PBNTR353draggablev53136
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 +57 -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/_draggable.scss +2 -4
- data/app/pb_kits/playbook/pb_draggable/context/index.tsx +70 -50
- data/app/pb_kits/playbook/pb_draggable/context/types.ts +26 -0
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_default.jsx +3 -2
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_default.md +2 -2
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.jsx +13 -8
- 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 +23 -35
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.md +5 -0
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list.jsx +7 -7
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list.md +7 -1
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list.jsx +11 -9
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list.md +7 -0
- data/app/pb_kits/playbook/pb_draggable/draggable.test.jsx +143 -18
- data/app/pb_kits/playbook/pb_draggable/subcomponents/DraggableItem.tsx +6 -5
- data/app/pb_kits/playbook/pb_list/_list.tsx +4 -4
- data/app/pb_kits/playbook/pb_list/_list_item.tsx +7 -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.html.erb +24 -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.html.erb +11 -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 +8 -0
- data/app/pb_kits/playbook/pb_overlay/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_overlay/overlay.html.erb +27 -0
- data/app/pb_kits/playbook/pb_overlay/overlay.rb +110 -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_selectable_list/_item.tsx +7 -3
- data/app/pb_kits/playbook/pb_selectable_list/_selectable_list.tsx +3 -3
- 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/app/pb_kits/playbook/utilities/globalProps.ts +1 -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 +26 -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.PBNTR353draggablev53136
|
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-26 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
|
@@ -1076,13 +1078,17 @@ files:
|
|
1076
1078
|
- app/pb_kits/playbook/pb_draggable/_draggable.scss
|
1077
1079
|
- app/pb_kits/playbook/pb_draggable/_draggable.tsx
|
1078
1080
|
- app/pb_kits/playbook/pb_draggable/context/index.tsx
|
1081
|
+
- app/pb_kits/playbook/pb_draggable/context/types.ts
|
1079
1082
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_default.jsx
|
1080
1083
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_default.md
|
1081
1084
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.jsx
|
1085
|
+
- app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.md
|
1082
1086
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.jsx
|
1087
|
+
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.md
|
1083
1088
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list.jsx
|
1084
1089
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list.md
|
1085
1090
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list.jsx
|
1091
|
+
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list.md
|
1086
1092
|
- app/pb_kits/playbook/pb_draggable/docs/example.yml
|
1087
1093
|
- app/pb_kits/playbook/pb_draggable/docs/index.js
|
1088
1094
|
- app/pb_kits/playbook/pb_draggable/draggable.test.jsx
|
@@ -1876,6 +1882,21 @@ files:
|
|
1876
1882
|
- app/pb_kits/playbook/pb_online_status/docs/index.js
|
1877
1883
|
- app/pb_kits/playbook/pb_online_status/online_status.html.erb
|
1878
1884
|
- app/pb_kits/playbook/pb_online_status/online_status.rb
|
1885
|
+
- app/pb_kits/playbook/pb_overlay/_overlay.scss
|
1886
|
+
- app/pb_kits/playbook/pb_overlay/_overlay.tsx
|
1887
|
+
- app/pb_kits/playbook/pb_overlay/docs/_overlay_default.html.erb
|
1888
|
+
- app/pb_kits/playbook/pb_overlay/docs/_overlay_default.jsx
|
1889
|
+
- app/pb_kits/playbook/pb_overlay/docs/_overlay_default.md
|
1890
|
+
- app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.html.erb
|
1891
|
+
- app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.jsx
|
1892
|
+
- app/pb_kits/playbook/pb_overlay/docs/_overlay_multi_directional.md
|
1893
|
+
- app/pb_kits/playbook/pb_overlay/docs/example.yml
|
1894
|
+
- app/pb_kits/playbook/pb_overlay/docs/index.js
|
1895
|
+
- app/pb_kits/playbook/pb_overlay/overlay.html.erb
|
1896
|
+
- app/pb_kits/playbook/pb_overlay/overlay.rb
|
1897
|
+
- app/pb_kits/playbook/pb_overlay/overlay.test.jsx
|
1898
|
+
- app/pb_kits/playbook/pb_overlay/subcomponents/_overlay_percentage.tsx
|
1899
|
+
- app/pb_kits/playbook/pb_overlay/subcomponents/_overlay_token.tsx
|
1879
1900
|
- app/pb_kits/playbook/pb_pagination/_pagination.scss
|
1880
1901
|
- app/pb_kits/playbook/pb_pagination/docs/_pagination_default.html.erb
|
1881
1902
|
- app/pb_kits/playbook/pb_pagination/docs/_pagination_default.md
|
@@ -3019,7 +3040,7 @@ homepage: https://playbook.powerapp.cloud/
|
|
3019
3040
|
licenses:
|
3020
3041
|
- ISC
|
3021
3042
|
metadata: {}
|
3022
|
-
post_install_message:
|
3043
|
+
post_install_message:
|
3023
3044
|
rdoc_options: []
|
3024
3045
|
require_paths:
|
3025
3046
|
- lib
|
@@ -3035,7 +3056,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
3035
3056
|
version: '0'
|
3036
3057
|
requirements: []
|
3037
3058
|
rubygems_version: 3.5.3
|
3038
|
-
signing_key:
|
3059
|
+
signing_key:
|
3039
3060
|
specification_version: 4
|
3040
3061
|
summary: Playbook Design System
|
3041
3062
|
test_files: []
|