playbook_ui 14.9.0.pre.alpha.PBNTR686advancedtablepaginationpoc4747 → 14.9.0.pre.alpha.PBNTR738collapsiblewithintablekit4855

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.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/app/pb_kits/playbook/pb_advanced_table/table_header.html.erb +5 -3
  3. data/app/pb_kits/playbook/pb_avatar/_avatar.scss +0 -2
  4. data/app/pb_kits/playbook/pb_body/_body.scss +14 -13
  5. data/app/pb_kits/playbook/pb_body/_body_mixins.scss +22 -16
  6. data/app/pb_kits/playbook/pb_bread_crumbs/docs/_bread_crumbs_default.jsx +6 -0
  7. data/app/pb_kits/playbook/pb_caption/_caption_mixin.scss +2 -1
  8. data/app/pb_kits/playbook/pb_card/_card_mixin.scss +1 -1
  9. data/app/pb_kits/playbook/pb_collapsible/_collapsible.tsx +9 -4
  10. data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleContent.tsx +2 -2
  11. data/app/pb_kits/playbook/pb_collapsible/child_kits/CollapsibleMain.tsx +2 -2
  12. data/app/pb_kits/playbook/pb_file_upload/_file_upload.scss +5 -0
  13. data/app/pb_kits/playbook/pb_file_upload/_file_upload.tsx +7 -2
  14. data/app/pb_kits/playbook/pb_file_upload/file_upload.html.erb +8 -2
  15. data/app/pb_kits/playbook/pb_nav/_bold_mixin.scss +11 -1
  16. data/app/pb_kits/playbook/pb_nav/_collapsible_nav.scss +16 -2
  17. data/app/pb_kits/playbook/pb_nav/_vertical_nav.scss +1 -1
  18. data/app/pb_kits/playbook/pb_selectable_card/_selectable_card.scss +4 -4
  19. data/app/pb_kits/playbook/pb_selectable_card/selectable_card.html.erb +1 -1
  20. data/app/pb_kits/playbook/pb_stat_change/_stat_change.tsx +44 -36
  21. data/app/pb_kits/playbook/pb_stat_change/stat_change.html.erb +4 -4
  22. data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible.jsx +75 -0
  23. data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible.md +1 -0
  24. data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click.jsx +108 -0
  25. data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click.md +2 -0
  26. data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content.jsx +94 -0
  27. data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content.md +0 -0
  28. data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_rows.jsx +83 -0
  29. data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_rows.md +3 -0
  30. data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table.jsx +120 -0
  31. data/app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table.md +1 -0
  32. data/app/pb_kits/playbook/pb_table/docs/example.yml +5 -0
  33. data/app/pb_kits/playbook/pb_table/docs/index.js +5 -0
  34. data/app/pb_kits/playbook/pb_table/styles/_all.scss +2 -1
  35. data/app/pb_kits/playbook/pb_table/styles/_collapsible.scss +35 -0
  36. data/app/pb_kits/playbook/pb_table/subcomponents/_table_row.tsx +106 -1
  37. data/app/pb_kits/playbook/pb_title/_title.scss +6 -5
  38. data/app/pb_kits/playbook/pb_title/_title_mixin.scss +13 -0
  39. data/app/pb_kits/playbook/tokens/_titles.scss +0 -8
  40. data/app/pb_kits/playbook/utilities/_hover.scss +11 -2
  41. data/app/pb_kits/playbook/utilities/globalProps.ts +2 -0
  42. data/app/pb_kits/playbook/utilities/test/globalProps/hover.test.js +15 -0
  43. data/dist/chunks/{_typeahead-B8fkIeXA.js → _typeahead-ClJHKLj6.js} +3 -3
  44. data/dist/chunks/_weekday_stacked-DaVTrOfA.js +45 -0
  45. data/dist/chunks/{lib-SyD3buPZ.js → lib-CtS0DLMo.js} +3 -3
  46. data/dist/chunks/{pb_form_validation-Dt8UJgrJ.js → pb_form_validation-C3vQKj7-.js} +1 -1
  47. data/dist/chunks/vendor.js +1 -1
  48. data/dist/playbook-doc.js +1 -1
  49. data/dist/playbook-rails-react-bindings.js +1 -1
  50. data/dist/playbook-rails.js +1 -1
  51. data/dist/playbook.css +1 -1
  52. data/lib/playbook/hover.rb +7 -1
  53. data/lib/playbook/version.rb +1 -1
  54. metadata +17 -6
  55. data/dist/chunks/_weekday_stacked-DSEuqOLN.js +0 -45
@@ -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
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "14.9.0"
5
- VERSION = "14.9.0.pre.alpha.PBNTR686advancedtablepaginationpoc4747"
5
+ VERSION = "14.9.0.pre.alpha.PBNTR738collapsiblewithintablekit4855"
6
6
  end
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.PBNTR686advancedtablepaginationpoc4747
4
+ version: 14.9.0.pre.alpha.PBNTR738collapsiblewithintablekit4855
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-03 00:00:00.000000000 Z
12
+ date: 2024-12-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -2632,6 +2632,16 @@ files:
2632
2632
  - app/pb_kits/playbook/pb_table/docs/_table_vertical_border.jsx
2633
2633
  - app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.html.erb
2634
2634
  - app/pb_kits/playbook/pb_table/docs/_table_with_background_kit.jsx
2635
+ - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible.jsx
2636
+ - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible.md
2637
+ - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click.jsx
2638
+ - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_click.md
2639
+ - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content.jsx
2640
+ - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_custom_content.md
2641
+ - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_rows.jsx
2642
+ - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_rows.md
2643
+ - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table.jsx
2644
+ - app/pb_kits/playbook/pb_table/docs/_table_with_collapsible_with_nested_table.md
2635
2645
  - app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents.jsx
2636
2646
  - app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents.md
2637
2647
  - app/pb_kits/playbook/pb_table/docs/_table_with_subcomponents_as_divs.html.erb
@@ -2644,6 +2654,7 @@ files:
2644
2654
  - app/pb_kits/playbook/pb_table/index.ts
2645
2655
  - app/pb_kits/playbook/pb_table/styles/_alignment.scss
2646
2656
  - app/pb_kits/playbook/pb_table/styles/_all.scss
2657
+ - app/pb_kits/playbook/pb_table/styles/_collapsible.scss
2647
2658
  - app/pb_kits/playbook/pb_table/styles/_content.scss
2648
2659
  - app/pb_kits/playbook/pb_table/styles/_desktop_collapse.scss
2649
2660
  - app/pb_kits/playbook/pb_table/styles/_headers.scss
@@ -3189,11 +3200,11 @@ files:
3189
3200
  - app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
3190
3201
  - app/pb_kits/playbook/utilities/text.ts
3191
3202
  - app/pb_kits/playbook/utilities/validEmojiChecker.ts
3192
- - dist/chunks/_typeahead-B8fkIeXA.js
3193
- - dist/chunks/_weekday_stacked-DSEuqOLN.js
3203
+ - dist/chunks/_typeahead-ClJHKLj6.js
3204
+ - dist/chunks/_weekday_stacked-DaVTrOfA.js
3194
3205
  - dist/chunks/lazysizes-B7xYodB-.js
3195
- - dist/chunks/lib-SyD3buPZ.js
3196
- - dist/chunks/pb_form_validation-Dt8UJgrJ.js
3206
+ - dist/chunks/lib-CtS0DLMo.js
3207
+ - dist/chunks/pb_form_validation-C3vQKj7-.js
3197
3208
  - dist/chunks/vendor.js
3198
3209
  - dist/menu.yml
3199
3210
  - dist/playbook-doc.js