playbook_ui 15.1.0 → 15.2.0.pre.alpha.PLAY1978bugiconauto11421
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_advanced_table/Hooks/useTableState.ts +7 -0
- data/app/pb_kits/playbook/pb_button/_button.scss +6 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_loading.html.erb +7 -3
- data/app/pb_kits/playbook/pb_button/docs/_button_loading.jsx +29 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_managed_disabled.html.erb +31 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_managed_disabled.md +7 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_managed_disabled_helper.html.erb +21 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_managed_disabled_helper.md +7 -0
- data/app/pb_kits/playbook/pb_button/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_button/index.js +99 -0
- data/app/pb_kits/playbook/pb_collapsible/__snapshots__/collapsible.test.js.snap +2 -2
- data/app/pb_kits/playbook/pb_date_picker/_date_picker.scss +4 -0
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_stacked_alert.html.erb +16 -16
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_stacked_alert.jsx +2 -1
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_status.html.erb +31 -31
- data/app/pb_kits/playbook/pb_dialog/docs/_dialog_status.jsx +4 -3
- data/app/pb_kits/playbook/pb_draggable/_draggable.scss +8 -0
- data/app/pb_kits/playbook/pb_dropdown/_dropdown.scss +105 -29
- data/app/pb_kits/playbook/pb_dropdown/index.js +1 -1
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +12 -1
- data/app/pb_kits/playbook/pb_icon/_icon.tsx +1 -2
- data/app/pb_kits/playbook/pb_icon/icon.rb +1 -2
- data/app/pb_kits/playbook/pb_icon_circle/_icon_circle.tsx +2 -2
- data/app/pb_kits/playbook/pb_icon_stat_value/_icon_stat_value.scss +15 -21
- data/app/pb_kits/playbook/pb_icon_stat_value/_icon_stat_value.tsx +6 -5
- data/app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.html.erb +2 -0
- data/app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.rb +11 -3
- data/app/pb_kits/playbook/pb_icon_stat_value/icon_stat_value.test.js +9 -8
- data/app/pb_kits/playbook/pb_list/item.html.erb +1 -1
- data/app/pb_kits/playbook/pb_multiple_users_stacked/_multiple_users_stacked.scss +36 -9
- data/app/pb_kits/playbook/pb_phone_number_input/_phone_number_input.tsx +105 -22
- data/app/pb_kits/playbook/pb_popover/docs/_popover_list.html.erb +2 -2
- data/app/pb_kits/playbook/pb_selectable_list/selectable_list_item.html.erb +1 -1
- data/app/pb_kits/playbook/pb_text_input/_text_input.scss +3 -0
- data/app/pb_kits/playbook/pb_text_input/_text_input.tsx +14 -6
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_default.html.erb +8 -4
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_default.jsx +5 -0
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_default.md +1 -0
- data/app/pb_kits/playbook/pb_text_input/text_input.html.erb +3 -1
- data/app/pb_kits/playbook/pb_text_input/text_input.rb +6 -0
- data/app/pb_kits/playbook/pb_timeline/_timeline.scss +250 -233
- data/app/pb_kits/playbook/pb_timeline/_timeline.tsx +1 -1
- data/app/pb_kits/playbook/pb_timeline/timeline.test.js +2 -2
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.scss +10 -10
- data/app/pb_kits/playbook/pb_typeahead/_typeahead.tsx +39 -1
- data/app/pb_kits/playbook/pb_typeahead/typeahead.rb +2 -0
- data/app/pb_kits/playbook/utilities/_hover.scss +2 -2
- data/app/pb_kits/playbook/utilities/globalProps.ts +2 -2
- data/dist/chunks/{_line_graph-CW8Ygzyq.js → _line_graph-Dr4m09ye.js} +1 -1
- data/dist/chunks/_typeahead-Dm5SJJwl.js +6 -0
- data/dist/chunks/{_weekday_stacked-3-FtXg76.js → _weekday_stacked-Cb3GXZsO.js} +3 -3
- data/dist/chunks/{lib-izYrkvOQ.js → lib-QZuu1ltS.js} +2 -2
- data/dist/chunks/{pb_form_validation-Cah5Z5J3.js → pb_form_validation-CleM960_.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/menu.yml +1 -1
- data/dist/playbook-doc.js +2 -2
- 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 +5 -1
- data/lib/playbook/pagination_renderer.rb +2 -2
- data/lib/playbook/pb_forms_helper.rb +7 -6
- data/lib/playbook/version.rb +2 -2
- metadata +13 -7
- data/dist/chunks/_typeahead-DUIMqJiu.js +0 -6
data/lib/playbook/hover.rb
CHANGED
|
@@ -33,12 +33,16 @@ module Playbook
|
|
|
33
33
|
[true, false]
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
+
def hover_visible_values
|
|
37
|
+
%w[true false]
|
|
38
|
+
end
|
|
39
|
+
|
|
36
40
|
def hover_values
|
|
37
41
|
hover_options.keys.select { |sk| try(sk) }
|
|
38
42
|
end
|
|
39
43
|
|
|
40
44
|
def hover_attributes
|
|
41
|
-
%w[background shadow scale color underline]
|
|
45
|
+
%w[background shadow scale color underline visible]
|
|
42
46
|
end
|
|
43
47
|
|
|
44
48
|
def hover_props
|
|
@@ -31,7 +31,7 @@ module Playbook
|
|
|
31
31
|
num = @collection.current_page > 1 && @collection.current_page - 1
|
|
32
32
|
previous_or_next_page(
|
|
33
33
|
num,
|
|
34
|
-
"<svg xmlns='http://www.w3.org/2000/svg' width='
|
|
34
|
+
"<svg xmlns='http://www.w3.org/2000/svg' width='1em' viewBox='0 0 30 24' fill='none' class='pb_custom_icon svg-inline--fa pb_icon_kit svg_fw svg_xs' id='' data='{}' aria='{:label=>"away"}' tabindex=''><path d='M8.20312 11.2031L17.2031 2.25C17.625 1.78125 18.3281 1.78125 18.7969 2.25C19.2188 2.67188 19.2188 3.375 18.7969 3.79688L10.5469 12L18.75 20.25C19.2188 20.6719 19.2188 21.375 18.75 21.7969C18.3281 22.2656 17.625 22.2656 17.2031 21.7969L8.20312 12.7969C7.73438 12.375 7.73438 11.6719 8.20312 11.2031Z' fill='currentColor'></path></svg>",
|
|
35
35
|
"prev"
|
|
36
36
|
)
|
|
37
37
|
end
|
|
@@ -40,7 +40,7 @@ module Playbook
|
|
|
40
40
|
num = @collection.current_page < @collection.total_pages && @collection.current_page + 1
|
|
41
41
|
previous_or_next_page(
|
|
42
42
|
num,
|
|
43
|
-
"<svg xmlns='http://www.w3.org/2000/svg' width='
|
|
43
|
+
"<svg xmlns='http://www.w3.org/2000/svg' width='1em' viewBox='0 0 30 24' fill='none' class='pb_custom_icon svg-inline--fa pb_icon_kit svg_fw svg_xs' id='' data='{}' aria='{:label=>"away"}' tabindex=''><path d='M21.7969 11.2031C22.2188 11.6719 22.2188 12.375 21.7969 12.7969L12.7969 21.7969C12.3281 22.2656 11.625 22.2656 11.2031 21.7969C10.7344 21.375 10.7344 20.6719 11.2031 20.25L19.4062 12.0469L11.2031 3.79688C10.7344 3.375 10.7344 2.67188 11.2031 2.25C11.625 1.78125 12.3281 1.78125 12.75 2.25L21.7969 11.2031Z' fill='currentColor'></path></svg>",
|
|
44
44
|
"next"
|
|
45
45
|
)
|
|
46
46
|
end
|
|
@@ -41,12 +41,13 @@ module Playbook
|
|
|
41
41
|
builder: ::Playbook::Forms::Builder
|
|
42
42
|
)
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
44
|
+
capture do
|
|
45
|
+
concat form_with(**options, &block)
|
|
46
|
+
concat javascript_tag(<<~JS)
|
|
47
|
+
window.addEventListener("DOMContentLoaded", function() { PbFormValidation.start() })
|
|
48
|
+
window.addEventListener("DOMContentLoaded", () => formHelper())
|
|
49
|
+
JS
|
|
50
|
+
end
|
|
50
51
|
end
|
|
51
52
|
end
|
|
52
53
|
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: 15.
|
|
4
|
+
version: 15.2.0.pre.alpha.PLAY1978bugiconauto11421
|
|
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: 2025-
|
|
12
|
+
date: 2025-10-15 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: actionpack
|
|
@@ -628,6 +628,10 @@ files:
|
|
|
628
628
|
- app/pb_kits/playbook/pb_button/docs/_button_loading.html.erb
|
|
629
629
|
- app/pb_kits/playbook/pb_button/docs/_button_loading.jsx
|
|
630
630
|
- app/pb_kits/playbook/pb_button/docs/_button_loading.md
|
|
631
|
+
- app/pb_kits/playbook/pb_button/docs/_button_managed_disabled.html.erb
|
|
632
|
+
- app/pb_kits/playbook/pb_button/docs/_button_managed_disabled.md
|
|
633
|
+
- app/pb_kits/playbook/pb_button/docs/_button_managed_disabled_helper.html.erb
|
|
634
|
+
- app/pb_kits/playbook/pb_button/docs/_button_managed_disabled_helper.md
|
|
631
635
|
- app/pb_kits/playbook/pb_button/docs/_button_options.html.erb
|
|
632
636
|
- app/pb_kits/playbook/pb_button/docs/_button_options.jsx
|
|
633
637
|
- app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
|
|
@@ -642,6 +646,7 @@ files:
|
|
|
642
646
|
- app/pb_kits/playbook/pb_button/docs/_footer.md
|
|
643
647
|
- app/pb_kits/playbook/pb_button/docs/example.yml
|
|
644
648
|
- app/pb_kits/playbook/pb_button/docs/index.js
|
|
649
|
+
- app/pb_kits/playbook/pb_button/index.js
|
|
645
650
|
- app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.scss
|
|
646
651
|
- app/pb_kits/playbook/pb_button_toolbar/_button_toolbar.tsx
|
|
647
652
|
- app/pb_kits/playbook/pb_button_toolbar/_button_toolbar_dark.scss
|
|
@@ -3175,6 +3180,7 @@ files:
|
|
|
3175
3180
|
- app/pb_kits/playbook/pb_text_input/docs/_text_input_custom.jsx
|
|
3176
3181
|
- app/pb_kits/playbook/pb_text_input/docs/_text_input_default.html.erb
|
|
3177
3182
|
- app/pb_kits/playbook/pb_text_input/docs/_text_input_default.jsx
|
|
3183
|
+
- app/pb_kits/playbook/pb_text_input/docs/_text_input_default.md
|
|
3178
3184
|
- app/pb_kits/playbook/pb_text_input/docs/_text_input_default_swift.md
|
|
3179
3185
|
- app/pb_kits/playbook/pb_text_input/docs/_text_input_disabled.html.erb
|
|
3180
3186
|
- app/pb_kits/playbook/pb_text_input/docs/_text_input_disabled.jsx
|
|
@@ -3702,13 +3708,13 @@ files:
|
|
|
3702
3708
|
- app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
|
|
3703
3709
|
- app/pb_kits/playbook/utilities/text.ts
|
|
3704
3710
|
- app/pb_kits/playbook/utilities/validEmojiChecker.ts
|
|
3705
|
-
- dist/chunks/_line_graph-
|
|
3706
|
-
- dist/chunks/_typeahead-
|
|
3707
|
-
- dist/chunks/_weekday_stacked-
|
|
3711
|
+
- dist/chunks/_line_graph-Dr4m09ye.js
|
|
3712
|
+
- dist/chunks/_typeahead-Dm5SJJwl.js
|
|
3713
|
+
- dist/chunks/_weekday_stacked-Cb3GXZsO.js
|
|
3708
3714
|
- dist/chunks/componentRegistry-DzmmLR2x.js
|
|
3709
3715
|
- dist/chunks/lazysizes-B7xYodB-.js
|
|
3710
|
-
- dist/chunks/lib-
|
|
3711
|
-
- dist/chunks/pb_form_validation-
|
|
3716
|
+
- dist/chunks/lib-QZuu1ltS.js
|
|
3717
|
+
- dist/chunks/pb_form_validation-CleM960_.js
|
|
3712
3718
|
- dist/chunks/vendor.js
|
|
3713
3719
|
- dist/menu.yml
|
|
3714
3720
|
- dist/playbook-doc.js
|