playbook_ui 14.6.2.pre.alpha.PLAY15814384 → 14.7.0.pre.alpha.PBNTR637quickpickdefaultdate4478
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 -1
- data/app/pb_kits/playbook/pb_advanced_table/Components/CustomCell.tsx +8 -1
- data/app/pb_kits/playbook/pb_advanced_table/_advanced_table.tsx +21 -28
- data/app/pb_kits/playbook/pb_advanced_table/advanced_table.test.jsx +37 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_custom_cell.jsx +13 -2
- data/app/pb_kits/playbook/pb_card/docs/_card_light.md +1 -1
- data/app/pb_kits/playbook/pb_date/_date.scss +3 -0
- data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.ts +1 -1
- data/app/pb_kits/playbook/pb_date_picker/plugins/quickPick.tsx +16 -1
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_default_rails.html.erb +26 -0
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_default_rails.md +7 -0
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.html.erb +38 -0
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md +0 -0
- data/app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list_rails.html.erb +19 -0
- data/app/pb_kits/playbook/pb_draggable/docs/example.yml +6 -0
- data/app/pb_kits/playbook/pb_draggable/draggable.html.erb +3 -0
- data/app/pb_kits/playbook/pb_draggable/draggable.rb +18 -0
- data/app/pb_kits/playbook/pb_draggable/draggable_container.html.erb +3 -0
- data/app/pb_kits/playbook/pb_draggable/draggable_container.rb +15 -0
- data/app/pb_kits/playbook/pb_draggable/draggable_item.html.erb +7 -0
- data/app/pb_kits/playbook/pb_draggable/draggable_item.rb +18 -0
- data/app/pb_kits/playbook/pb_draggable/index.js +125 -0
- data/app/pb_kits/playbook/pb_dropdown/_dropdown.tsx +8 -7
- data/app/pb_kits/playbook/pb_skeleton_loading/_skeleton_loading.scss +37 -0
- data/app/pb_kits/playbook/pb_skeleton_loading/_skeleton_loading.tsx +67 -0
- data/app/pb_kits/playbook/pb_skeleton_loading/_skeleton_loading_mixins.scss +40 -0
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_border_radius.jsx +51 -0
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_border_radius.md +1 -0
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_color.jsx +26 -0
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_color.md +1 -0
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_default.html.erb +1 -0
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_default.jsx +11 -0
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_height_width.jsx +59 -0
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_height_width.md +3 -0
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_layout.jsx +20 -0
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_layout.md +3 -0
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/example.yml +13 -0
- data/app/pb_kits/playbook/pb_skeleton_loading/docs/index.js +5 -0
- data/app/pb_kits/playbook/pb_skeleton_loading/skeleton_loading.html.erb +12 -0
- data/app/pb_kits/playbook/pb_skeleton_loading/skeleton_loading.rb +8 -0
- data/app/pb_kits/playbook/pb_skeleton_loading/skeleton_loading.test.jsx +81 -0
- data/app/pb_kits/playbook/utilities/_hover.scss +46 -43
- data/app/pb_kits/playbook/utilities/globalPropNames.mjs +1 -0
- data/app/pb_kits/playbook/utilities/globalProps.ts +5 -0
- data/dist/chunks/{_typeahead-C-6MLSyC.js → _typeahead-BXzFhaTy.js} +2 -2
- data/dist/chunks/_weekday_stacked-CWQekIDV.js +45 -0
- data/dist/chunks/{lib-D-mTv-kp.js → lib-lcEbe0vX.js} +1 -1
- data/dist/chunks/{pb_form_validation-BkWGwJsl.js → pb_form_validation-yoi2KCvh.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/menu.yml +5 -2
- data/dist/playbook-doc.js +1 -1
- data/dist/playbook-rails-react-bindings.js +1 -1
- data/dist/playbook-rails.js +1 -1
- data/dist/playbook.css +1 -1
- data/lib/playbook/hover.rb +4 -1
- data/lib/playbook/version.rb +2 -2
- metadata +36 -6
- data/dist/chunks/_weekday_stacked-CFhGhr9V.js +0 -45
data/lib/playbook/hover.rb
CHANGED
@@ -4,6 +4,7 @@ module Playbook
|
|
4
4
|
module Hover
|
5
5
|
def self.included(base)
|
6
6
|
base.prop :hover
|
7
|
+
base.prop :group_hover, type: Playbook::Props::Boolean, default: false
|
7
8
|
end
|
8
9
|
|
9
10
|
def hover_options
|
@@ -38,7 +39,8 @@ module Playbook
|
|
38
39
|
|
39
40
|
def hover_props
|
40
41
|
selected_props = hover_options.keys.select { |sk| try(sk) }
|
41
|
-
|
42
|
+
|
43
|
+
return nil if selected_props.nil? && group_hover.nil?
|
42
44
|
|
43
45
|
responsive = selected_props.present? && try(selected_props.first).is_a?(::Hash)
|
44
46
|
css = ""
|
@@ -58,6 +60,7 @@ module Playbook
|
|
58
60
|
end
|
59
61
|
end
|
60
62
|
|
63
|
+
css += "group_hover " if group_hover
|
61
64
|
css.strip unless css.blank?
|
62
65
|
end
|
63
66
|
end
|
data/lib/playbook/version.rb
CHANGED
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: 14.
|
4
|
+
version: 14.7.0.pre.alpha.PBNTR637quickpickdefaultdate4478
|
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-11-
|
12
|
+
date: 2024-11-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -1098,17 +1098,29 @@ files:
|
|
1098
1098
|
- app/pb_kits/playbook/pb_draggable/context/types.ts
|
1099
1099
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_default.jsx
|
1100
1100
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_default.md
|
1101
|
+
- app/pb_kits/playbook/pb_draggable/docs/_draggable_default_rails.html.erb
|
1102
|
+
- app/pb_kits/playbook/pb_draggable/docs/_draggable_default_rails.md
|
1101
1103
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.jsx
|
1102
1104
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_multiple_containers.md
|
1103
1105
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.jsx
|
1104
1106
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards.md
|
1107
|
+
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.html.erb
|
1108
|
+
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_cards_rails.md
|
1105
1109
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list.jsx
|
1106
1110
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list.md
|
1111
|
+
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_list_rails.html.erb
|
1107
1112
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list.jsx
|
1108
1113
|
- app/pb_kits/playbook/pb_draggable/docs/_draggable_with_selectable_list.md
|
1109
1114
|
- app/pb_kits/playbook/pb_draggable/docs/example.yml
|
1110
1115
|
- app/pb_kits/playbook/pb_draggable/docs/index.js
|
1116
|
+
- app/pb_kits/playbook/pb_draggable/draggable.html.erb
|
1117
|
+
- app/pb_kits/playbook/pb_draggable/draggable.rb
|
1111
1118
|
- app/pb_kits/playbook/pb_draggable/draggable.test.jsx
|
1119
|
+
- app/pb_kits/playbook/pb_draggable/draggable_container.html.erb
|
1120
|
+
- app/pb_kits/playbook/pb_draggable/draggable_container.rb
|
1121
|
+
- app/pb_kits/playbook/pb_draggable/draggable_item.html.erb
|
1122
|
+
- app/pb_kits/playbook/pb_draggable/draggable_item.rb
|
1123
|
+
- app/pb_kits/playbook/pb_draggable/index.js
|
1112
1124
|
- app/pb_kits/playbook/pb_draggable/subcomponents/DraggableContainer.tsx
|
1113
1125
|
- app/pb_kits/playbook/pb_draggable/subcomponents/DraggableItem.tsx
|
1114
1126
|
- app/pb_kits/playbook/pb_drawer/_close_icon.tsx
|
@@ -2433,6 +2445,24 @@ files:
|
|
2433
2445
|
- app/pb_kits/playbook/pb_selectable_list/selectable_list.test.js
|
2434
2446
|
- app/pb_kits/playbook/pb_selectable_list/selectable_list_item.html.erb
|
2435
2447
|
- app/pb_kits/playbook/pb_selectable_list/selectable_list_item.rb
|
2448
|
+
- app/pb_kits/playbook/pb_skeleton_loading/_skeleton_loading.scss
|
2449
|
+
- app/pb_kits/playbook/pb_skeleton_loading/_skeleton_loading.tsx
|
2450
|
+
- app/pb_kits/playbook/pb_skeleton_loading/_skeleton_loading_mixins.scss
|
2451
|
+
- app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_border_radius.jsx
|
2452
|
+
- app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_border_radius.md
|
2453
|
+
- app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_color.jsx
|
2454
|
+
- app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_color.md
|
2455
|
+
- app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_default.html.erb
|
2456
|
+
- app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_default.jsx
|
2457
|
+
- app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_height_width.jsx
|
2458
|
+
- app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_height_width.md
|
2459
|
+
- app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_layout.jsx
|
2460
|
+
- app/pb_kits/playbook/pb_skeleton_loading/docs/_skeleton_loading_layout.md
|
2461
|
+
- app/pb_kits/playbook/pb_skeleton_loading/docs/example.yml
|
2462
|
+
- app/pb_kits/playbook/pb_skeleton_loading/docs/index.js
|
2463
|
+
- app/pb_kits/playbook/pb_skeleton_loading/skeleton_loading.html.erb
|
2464
|
+
- app/pb_kits/playbook/pb_skeleton_loading/skeleton_loading.rb
|
2465
|
+
- app/pb_kits/playbook/pb_skeleton_loading/skeleton_loading.test.jsx
|
2436
2466
|
- app/pb_kits/playbook/pb_source/_source.scss
|
2437
2467
|
- app/pb_kits/playbook/pb_source/_source.tsx
|
2438
2468
|
- app/pb_kits/playbook/pb_source/docs/_description.md
|
@@ -3133,11 +3163,11 @@ files:
|
|
3133
3163
|
- app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
|
3134
3164
|
- app/pb_kits/playbook/utilities/text.ts
|
3135
3165
|
- app/pb_kits/playbook/utilities/validEmojiChecker.ts
|
3136
|
-
- dist/chunks/_typeahead-
|
3137
|
-
- dist/chunks/_weekday_stacked-
|
3166
|
+
- dist/chunks/_typeahead-BXzFhaTy.js
|
3167
|
+
- dist/chunks/_weekday_stacked-CWQekIDV.js
|
3138
3168
|
- dist/chunks/lazysizes-B7xYodB-.js
|
3139
|
-
- dist/chunks/lib-
|
3140
|
-
- dist/chunks/pb_form_validation-
|
3169
|
+
- dist/chunks/lib-lcEbe0vX.js
|
3170
|
+
- dist/chunks/pb_form_validation-yoi2KCvh.js
|
3141
3171
|
- dist/chunks/vendor.js
|
3142
3172
|
- dist/menu.yml
|
3143
3173
|
- dist/playbook-doc.js
|