playbook_ui 14.6.2.pre.alpha.PLAY1485selectablecardoverflowoutlinebug4247 → 14.6.2.pre.alpha.PLAY1485selectablecardoverflowoutlinebug4274

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0896cae36211162e8819470663f9dedb1716254cd40cb3a59c20caafd4d23b2d'
4
- data.tar.gz: 713356bd680806bce64921cdcdd51e74e562b79b9cee92bff6b7d2ef4602e436
3
+ metadata.gz: b71c4b2a395af6da68e3af1572a6017af6a9e5295f52b94457ca6c0ad8dcc38f
4
+ data.tar.gz: 508acfe334924d8e006974817f578a4bb7273058a820acb946e882a4cf14b0bc
5
5
  SHA512:
6
- metadata.gz: 41b0df84cd4c1c54944f10026c6fb846bf9cff9016a376750c904321c40b0f7f16a4bf7372078f5d8a8d1f2048766c0726aabf89da3c0db5e79a2f41ecdb62b9
7
- data.tar.gz: 92d6d3a078efc32f7de1cff32648381ac14d1bf74ff33ea749ca9fd50d61f5991a2a5a4a9661fb2c50688c6df4880ee34f78dd631882e973abec6b43d805d7a4
6
+ metadata.gz: 1257a96645ecf4f5fd4f635b5550134c4226147233720cfd3e560a0439690b53e76017a5520e8aadef384733c67f955e96bcec150ac6de030e19788f565ad1d0
7
+ data.tar.gz: bc83b14f9ad21018f572bf3ead1aef4ed7c69495a9d2c56e747d7b4a3ff8f3f6405fb392fe80009111c5cff677177ddcced0c06e876d97b71d1bcd4cd09936a5
@@ -129,7 +129,7 @@ $pb_selectable_paddings: (
129
129
  }
130
130
  }
131
131
 
132
- &[class*=_display_input] {
132
+ &.display_input {
133
133
  input[type="checkbox"],
134
134
  input[type="radio"] {
135
135
  &:checked {
@@ -66,8 +66,8 @@ const SelectableCard = (props: SelectableCardProps) => {
66
66
  'checked': checked,
67
67
  'disabled': disabled,
68
68
  'enabled': !disabled,
69
- 'display_input': variant === 'displayInput',
70
69
  }),
70
+ variant === 'displayInput' ? 'display_input' : '',
71
71
  { error },
72
72
  dark ? 'dark' : '',
73
73
  className
@@ -25,7 +25,7 @@ module Playbook
25
25
 
26
26
  def classname
27
27
  [
28
- generate_classname_without_spacing("pb_selectable_card_kit", checked_class, enable_disabled_class, display_input_class),
28
+ generate_classname_without_spacing("pb_selectable_card_kit", checked_class, enable_disabled_class) + display_input_class,
29
29
  error_class,
30
30
  dark_props,
31
31
  ].compact.join(" ")
@@ -81,7 +81,7 @@ module Playbook
81
81
  end
82
82
 
83
83
  def display_input_class
84
- variant == "display_input" ? "display_input" : nil
84
+ variant == "display_input" ? " display_input" : ""
85
85
  end
86
86
  end
87
87
  end