playbook_ui 12.24.0.pre.alpha.play833boldoptionfortitle2and3719 → 12.24.0.pre.alpha.play833boldoptionfortitle2and3721

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: 207c88e3b6102eafd7e925347e2d1b33e21368e8ce96986af6eba6e5f6239f42
4
- data.tar.gz: f0af5f4fb37004503436baa8cfea200c72da7900c60fec3a545a406ec0026d84
3
+ metadata.gz: bd4e3864286b541e0caf3e640c35a8f942dbcb6ab2d7baad716ac5a0e6d3e3ff
4
+ data.tar.gz: 95157177f65e2b812bcf3cae77037188b8f1020c7662e6d6b1232d792feb7bc1
5
5
  SHA512:
6
- metadata.gz: d5b06d9df01fa4fa6f6e2f6e40ff213f69e1bea05f85f386733b2891c54c4b7208a39ab58dfa1c5fc7d129829e42beb007041db42d84cf13865a0c84d405b265
7
- data.tar.gz: afe698e51e676bd751463a88347b7c4aeca2006f75f64815c3904521c68f1c1b40ae725876da4420db16e2ce7c34f14d9faafb29eb54e9446c69a7d2f71ed1ac
6
+ metadata.gz: b0e07bf633784eb9262db46a90d2c334062e23f6dc30630cca188b3de480e1f28eea51841d0c1347712eda7826e947c3459f7d52b9a39599c4ef530b7eee8d3a
7
+ data.tar.gz: db69cd005df2c3408d3f3cb72de4d3cb6c2c49ba40b426096cda9763dd157d51a56277d0d11a7ae69b993cceb52011ca9547ab7fe21c6f5be8aeff45592bf3d0
@@ -30,7 +30,7 @@
30
30
  @include pb_title_dark;
31
31
  }
32
32
 
33
- &[class*=_thin] {
33
+ &[class*=thin] {
34
34
  @include pb_title_thin;
35
35
  }
36
36
  }
@@ -38,7 +38,7 @@ const Title = (props: TitleProps): React.ReactElement => {
38
38
 
39
39
  const getBold = bold ? '' : 'thin'
40
40
  const classes = classnames(
41
- buildCss('pb_title_kit', `size_${size}`, variant, color, getBold),
41
+ buildCss("pb_title_kit", `size_${size}`, variant, color) + ` ${getBold}`,
42
42
  globalProps(props),
43
43
  className
44
44
  )
@@ -27,11 +27,11 @@ module Playbook
27
27
  prop :bold, type: Playbook::Props::Boolean
28
28
 
29
29
  def classname
30
- generate_classname("pb_title_kit", size, variant, color, is_bold)
30
+ generate_classname("pb_title_kit", size, variant, color) + is_bold
31
31
  end
32
32
 
33
33
  def is_bold
34
- bold ? nil : "thin"
34
+ bold ? "" : " thin"
35
35
  end
36
36
  end
37
37
  end
@@ -12,7 +12,7 @@ test('returns namespaced class name', () => {
12
12
  )
13
13
 
14
14
  const kit = screen.getByTestId('primary-test')
15
- expect(kit).toHaveClass('pb_title_kit_size_3_thin')
15
+ expect(kit).toHaveClass('pb_title_kit_size_3 thin')
16
16
  })
17
17
 
18
18
  test('with thin font weight', () => {
@@ -25,7 +25,7 @@ test('with thin font weight', () => {
25
25
  )
26
26
 
27
27
  const kit = screen.getByTestId('primary-test')
28
- expect(kit).toHaveClass('pb_title_kit_size_3_thin')
28
+ expect(kit).toHaveClass('pb_title_kit_size_3 thin')
29
29
  })
30
30
 
31
31
  test('with colors', () => {
@@ -38,5 +38,5 @@ test('with colors', () => {
38
38
  )
39
39
 
40
40
  const kit = screen.getByTestId('primary-test')
41
- expect(kit).toHaveClass('pb_title_kit_size_3_success_thin')
41
+ expect(kit).toHaveClass('pb_title_kit_size_3_success thin')
42
42
  })
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "12.24.0"
5
- VERSION = "12.24.0.pre.alpha.play833boldoptionfortitle2and3719"
5
+ VERSION = "12.24.0.pre.alpha.play833boldoptionfortitle2and3721"
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: 12.24.0.pre.alpha.play833boldoptionfortitle2and3719
4
+ version: 12.24.0.pre.alpha.play833boldoptionfortitle2and3721
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: 2023-05-30 00:00:00.000000000 Z
12
+ date: 2023-06-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack