playbook_ui 14.9.0.pre.alpha.pbntr700newresettodefaultprop4736 → 14.9.0.pre.alpha.play1703errorstatealignment4991
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/pb_advanced_table/_advanced_table.tsx +61 -17
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pagination.jsx +50 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pagination.md +1 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pagination_with_props.jsx +57 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pagination_with_props.md +5 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_pagination_mock_data.json +5600 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +2 -0
- data/app/pb_kits/playbook/pb_advanced_table/docs/index.js +2 -0
- data/app/pb_kits/playbook/pb_advanced_table/table_header.html.erb +5 -3
- data/app/pb_kits/playbook/pb_avatar/_avatar.scss +0 -2
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom.jsx +53 -49
- data/app/pb_kits/playbook/pb_bar_graph/docs/_bar_graph_custom_rails.html.erb +29 -36
- data/app/pb_kits/playbook/pb_body/_body.scss +14 -13
- data/app/pb_kits/playbook/pb_body/_body_mixins.scss +22 -16
- data/app/pb_kits/playbook/pb_bread_crumbs/docs/_bread_crumbs_default.jsx +6 -0
- data/app/pb_kits/playbook/pb_caption/_caption_mixin.scss +2 -1
- data/app/pb_kits/playbook/pb_card/_card_mixin.scss +1 -1
- data/app/pb_kits/playbook/pb_collapsible/_collapsible.tsx +9 -4
- data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleContent.tsx +2 -2
- data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleMain.tsx +2 -2
- data/app/pb_kits/playbook/pb_date_picker/date_picker.rb +0 -5
- data/app/pb_kits/playbook/pb_date_picker/date_picker_helper.ts +0 -10
- data/app/pb_kits/playbook/pb_date_picker/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_file_upload/_file_upload.scss +5 -0
- data/app/pb_kits/playbook/pb_file_upload/_file_upload.tsx +7 -2
- data/app/pb_kits/playbook/pb_file_upload/file_upload.html.erb +8 -2
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +1 -2
- data/app/pb_kits/playbook/pb_form_group/_error_state_mixin.scss +49 -0
- data/app/pb_kits/playbook/pb_form_group/_form_group.scss +48 -2
- data/app/pb_kits/playbook/pb_link/_link.scss +3 -3
- data/app/pb_kits/playbook/pb_nav/_bold_mixin.scss +11 -1
- data/app/pb_kits/playbook/pb_nav/_collapsible_nav.scss +16 -2
- data/app/pb_kits/playbook/pb_nav/_vertical_nav.scss +1 -1
- data/app/pb_kits/playbook/pb_pagination/_pagination.tsx +2 -2
- data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.scss +4 -4
- data/app/pb_kits/playbook/pb_selectable_card/selectable_card.html.erb +1 -1
- data/app/pb_kits/playbook/pb_stat_change/_stat_change.tsx +44 -36
- data/app/pb_kits/playbook/pb_stat_change/stat_change.html.erb +4 -4
- data/app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns.html.erb +95 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible.jsx +75 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible.md +1 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click.jsx +108 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click.md +2 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content.jsx +94 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content.md +0 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_rows.jsx +83 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_rows.md +3 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table.jsx +120 -0
- data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table.md +1 -0
- data/app/pb_kits/playbook/pb_table/docs/example.yml +5 -0
- data/app/pb_kits/playbook/pb_table/docs/index.js +5 -0
- data/app/pb_kits/playbook/pb_table/index.ts +100 -26
- data/app/pb_kits/playbook/pb_table/styles/_all.scss +2 -1
- data/app/pb_kits/playbook/pb_table/styles/_collapsible.scss +35 -0
- data/app/pb_kits/playbook/pb_table/subcomponents/_table_row.tsx +106 -1
- data/app/pb_kits/playbook/pb_table/table.html.erb +1 -1
- data/app/pb_kits/playbook/pb_table/table.rb +17 -2
- data/app/pb_kits/playbook/pb_text_input/_text_input.tsx +35 -3
- data/app/pb_kits/playbook/pb_text_input/docs/_text_input_mask.jsx +88 -0
- data/app/pb_kits/playbook/pb_text_input/docs/example.yml +1 -0
- data/app/pb_kits/playbook/pb_text_input/docs/index.js +1 -0
- data/app/pb_kits/playbook/pb_text_input/inputMask.ts +64 -0
- data/app/pb_kits/playbook/pb_text_input/text_input.test.js +139 -2
- data/app/pb_kits/playbook/pb_title/_title.scss +6 -5
- data/app/pb_kits/playbook/pb_title/_title_mixin.scss +13 -0
- data/app/pb_kits/playbook/tokens/_titles.scss +0 -8
- data/app/pb_kits/playbook/utilities/_hover.scss +11 -2
- data/app/pb_kits/playbook/utilities/globalProps.ts +2 -0
- data/app/pb_kits/playbook/utilities/test/globalProps/hover.test.js +15 -0
- data/dist/chunks/_typeahead-l1kq1p9m.js +22 -0
- data/dist/chunks/_weekday_stacked-B28kYXl9.js +45 -0
- data/dist/chunks/lib-CuCy3_xO.js +29 -0
- data/dist/chunks/{pb_form_validation-kPWA1Z2g.js → pb_form_validation-D37k10a0.js} +1 -1
- data/dist/chunks/vendor.js +1 -1
- data/dist/menu.yml +1 -1
- 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 +7 -1
- data/lib/playbook/version.rb +1 -1
- metadata +26 -6
- data/dist/chunks/_typeahead-DU1QgR52.js +0 -22
- data/dist/chunks/_weekday_stacked-BLOmRNnB.js +0 -45
- data/dist/chunks/lib-Ce7MLbJk.js +0 -29
data/lib/playbook/hover.rb
CHANGED
@@ -29,12 +29,16 @@ module Playbook
|
|
29
29
|
[]
|
30
30
|
end
|
31
31
|
|
32
|
+
def hover_underline_values
|
33
|
+
[true, false]
|
34
|
+
end
|
35
|
+
|
32
36
|
def hover_values
|
33
37
|
hover_options.keys.select { |sk| try(sk) }
|
34
38
|
end
|
35
39
|
|
36
40
|
def hover_attributes
|
37
|
-
%w[background shadow scale color]
|
41
|
+
%w[background shadow scale color underline]
|
38
42
|
end
|
39
43
|
|
40
44
|
def hover_props
|
@@ -51,6 +55,8 @@ module Playbook
|
|
51
55
|
value.each do |key, val|
|
52
56
|
if %i[background color].include?(key)
|
53
57
|
css += "#{prefix}_#{key}-#{val} " if hover_attributes.include?(key.to_s)
|
58
|
+
elsif %i[underline].include?(key) && val == true
|
59
|
+
css += "hover_underline "
|
54
60
|
elsif hover_attributes.include?(key.to_s) && send("hover_#{key}_values").include?(val.to_s)
|
55
61
|
css += "#{prefix}_#{key}_#{val} "
|
56
62
|
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.9.0.pre.alpha.
|
4
|
+
version: 14.9.0.pre.alpha.play1703errorstatealignment4991
|
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-12-
|
12
|
+
date: 2024-12-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -280,6 +280,10 @@ files:
|
|
280
280
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_inline_row_loading.md
|
281
281
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_loading.jsx
|
282
282
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_loading.md
|
283
|
+
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pagination.jsx
|
284
|
+
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pagination.md
|
285
|
+
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pagination_with_props.jsx
|
286
|
+
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_pagination_with_props.md
|
283
287
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_responsive.jsx
|
284
288
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_responsive.md
|
285
289
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_sort.jsx
|
@@ -294,6 +298,7 @@ files:
|
|
294
298
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_table_props.md
|
295
299
|
- app/pb_kits/playbook/pb_advanced_table/docs/_mock_data_inline_loading.js
|
296
300
|
- app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_mock_data.json
|
301
|
+
- app/pb_kits/playbook/pb_advanced_table/docs/advanced_table_pagination_mock_data.json
|
297
302
|
- app/pb_kits/playbook/pb_advanced_table/docs/example.yml
|
298
303
|
- app/pb_kits/playbook/pb_advanced_table/docs/index.js
|
299
304
|
- app/pb_kits/playbook/pb_advanced_table/index.js
|
@@ -1365,6 +1370,7 @@ files:
|
|
1365
1370
|
- app/pb_kits/playbook/pb_form/form.rb
|
1366
1371
|
- app/pb_kits/playbook/pb_form/formHelper.js
|
1367
1372
|
- app/pb_kits/playbook/pb_form/pb_form_validation.js
|
1373
|
+
- app/pb_kits/playbook/pb_form_group/_error_state_mixin.scss
|
1368
1374
|
- app/pb_kits/playbook/pb_form_group/_form_group.scss
|
1369
1375
|
- app/pb_kits/playbook/pb_form_group/_form_group.tsx
|
1370
1376
|
- app/pb_kits/playbook/pb_form_group/docs/_form_group_button.html.erb
|
@@ -2612,6 +2618,7 @@ files:
|
|
2612
2618
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky.html.erb
|
2613
2619
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky.jsx
|
2614
2620
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky.md
|
2621
|
+
- app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns.html.erb
|
2615
2622
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns.jsx
|
2616
2623
|
- app/pb_kits/playbook/pb_table/docs/_table_sticky_left_columns_react.md
|
2617
2624
|
- app/pb_kits/playbook/pb_table/docs/_table_striped.html.erb
|
@@ -2627,6 +2634,16 @@ files:
|
|
2627
2634
|
- app/pb_kits/playbook/pb_table/docs/_table_vertical_border.jsx
|
2628
2635
|
- app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
|
2629
2636
|
- app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
|
2637
|
+
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible.jsx
|
2638
|
+
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible.md
|
2639
|
+
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click.jsx
|
2640
|
+
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click.md
|
2641
|
+
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content.jsx
|
2642
|
+
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content.md
|
2643
|
+
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_rows.jsx
|
2644
|
+
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_rows.md
|
2645
|
+
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table.jsx
|
2646
|
+
- app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table.md
|
2630
2647
|
- app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents.jsx
|
2631
2648
|
- app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents.md
|
2632
2649
|
- app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.html.erb
|
@@ -2639,6 +2656,7 @@ files:
|
|
2639
2656
|
- app/pb_kits/playbook/pb_table/index.ts
|
2640
2657
|
- app/pb_kits/playbook/pb_table/styles/_alignment.scss
|
2641
2658
|
- app/pb_kits/playbook/pb_table/styles/_all.scss
|
2659
|
+
- app/pb_kits/playbook/pb_table/styles/_collapsible.scss
|
2642
2660
|
- app/pb_kits/playbook/pb_table/styles/_content.scss
|
2643
2661
|
- app/pb_kits/playbook/pb_table/styles/_desktop_collapse.scss
|
2644
2662
|
- app/pb_kits/playbook/pb_table/styles/_headers.scss
|
@@ -2702,12 +2720,14 @@ files:
|
|
2702
2720
|
- app/pb_kits/playbook/pb_text_input/docs/_text_input_error_swift.md
|
2703
2721
|
- app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.html.erb
|
2704
2722
|
- app/pb_kits/playbook/pb_text_input/docs/_text_input_inline.jsx
|
2723
|
+
- app/pb_kits/playbook/pb_text_input/docs/_text_input_mask.jsx
|
2705
2724
|
- app/pb_kits/playbook/pb_text_input/docs/_text_input_no_label.html.erb
|
2706
2725
|
- app/pb_kits/playbook/pb_text_input/docs/_text_input_no_label.jsx
|
2707
2726
|
- app/pb_kits/playbook/pb_text_input/docs/_text_input_options.html.erb
|
2708
2727
|
- app/pb_kits/playbook/pb_text_input/docs/_text_input_props_swift.md
|
2709
2728
|
- app/pb_kits/playbook/pb_text_input/docs/example.yml
|
2710
2729
|
- app/pb_kits/playbook/pb_text_input/docs/index.js
|
2730
|
+
- app/pb_kits/playbook/pb_text_input/inputMask.ts
|
2711
2731
|
- app/pb_kits/playbook/pb_text_input/text_input.html.erb
|
2712
2732
|
- app/pb_kits/playbook/pb_text_input/text_input.rb
|
2713
2733
|
- app/pb_kits/playbook/pb_text_input/text_input.test.js
|
@@ -3184,11 +3204,11 @@ files:
|
|
3184
3204
|
- app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
|
3185
3205
|
- app/pb_kits/playbook/utilities/text.ts
|
3186
3206
|
- app/pb_kits/playbook/utilities/validEmojiChecker.ts
|
3187
|
-
- dist/chunks/_typeahead-
|
3188
|
-
- dist/chunks/_weekday_stacked-
|
3207
|
+
- dist/chunks/_typeahead-l1kq1p9m.js
|
3208
|
+
- dist/chunks/_weekday_stacked-B28kYXl9.js
|
3189
3209
|
- dist/chunks/lazysizes-B7xYodB-.js
|
3190
|
-
- dist/chunks/lib-
|
3191
|
-
- dist/chunks/pb_form_validation-
|
3210
|
+
- dist/chunks/lib-CuCy3_xO.js
|
3211
|
+
- dist/chunks/pb_form_validation-D37k10a0.js
|
3192
3212
|
- dist/chunks/vendor.js
|
3193
3213
|
- dist/menu.yml
|
3194
3214
|
- dist/playbook-doc.js
|