playbook_ui 14.10.0.pre.rc.8 → 14.10.0.pre.rc.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.10.0.pre.rc.8"
5
+ VERSION = "14.10.0.pre.rc.10"
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.10.0.pre.rc.8
4
+ version: 14.10.0.pre.rc.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
@@ -3189,8 +3189,8 @@ files:
3189
3189
  - app/pb_kits/playbook/utilities/test/globalProps/truncate.test.js
3190
3190
  - app/pb_kits/playbook/utilities/text.ts
3191
3191
  - app/pb_kits/playbook/utilities/validEmojiChecker.ts
3192
- - dist/chunks/_typeahead-B8fkIeXA.js
3193
- - dist/chunks/_weekday_stacked-B6zpg7_x.js
3192
+ - dist/chunks/_typeahead-DW9yLrAA.js
3193
+ - dist/chunks/_weekday_stacked-Czv-yJw4.js
3194
3194
  - dist/chunks/lazysizes-B7xYodB-.js
3195
3195
  - dist/chunks/lib-SyD3buPZ.js
3196
3196
  - dist/chunks/pb_form_validation-Dt8UJgrJ.js