playbook_ui 13.34.1.pre.alpha.PLAY14703378 → 13.34.1.pre.alpha.play1407statvaluekitinconsistencies3388

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: a26da8ac9bfd4ee45d9e9df9fcec9ad27869b03d42a094486c7957dd2c5d174a
4
- data.tar.gz: 2d1286651f905ab66b52391b6bd78ca18a2dc52896d305d903bda7b82b55d5a4
3
+ metadata.gz: 4696ad3a7d577ec515cef7040a725588c021d717703d1ec6252a07a6cd39041b
4
+ data.tar.gz: d8bc4a8a096d9191d640c0754ae6c3233cc64f6feed80851d095ee081ed40c4a
5
5
  SHA512:
6
- metadata.gz: 21246712255451948a57cb624f692983671342317ad36c89746777afa90e21313ebf823455480bd64c72f04871a64fcdfed431ea6edbbd1a6ad99bb71b7ab19a
7
- data.tar.gz: 5cdf7175640adf9e42f0676c85b6792c882ddee6b4701bb7f3163ce4bf58400676fbec33d3ed33772dccd3986d8917d1cf81b7055d1e8447d46d8bcd3e7b7d9d
6
+ metadata.gz: 12be78c7413d7aaeb61a4d19fa185efd3b667da549d9d4a2d4413afa4e4f292fba1c93f913b58c786fad8f20ac8aa333c1eccac9fdf2482e4d7f3859f2955194
7
+ data.tar.gz: e1542d50c4532207aa7a91e43ae37049f0cb480f38fab15d8f22e7a17df0e110340849aa921456954e2f4c11917980388782f55c30111b9dc448cdc3c333244b
@@ -24,7 +24,8 @@ type IconCircleProps = {
24
24
  | "red"
25
25
  | "yellow"
26
26
  | "orange"
27
- | "green",
27
+ | "green"
28
+ | "lighter",
28
29
  }
29
30
 
30
31
  const IconCircle = (props: IconCircleProps) => {
@@ -10,8 +10,8 @@ module Playbook
10
10
  values: %w[xxs xs sm md base lg xl],
11
11
  default: "md"
12
12
  prop :variant, type: Playbook::Props::Enum,
13
- values: %w[default royal blue orange purple teal red yellow green orange],
14
- default: "default"
13
+ values: %w[default royal blue orange purple teal red yellow green orange lighter],
14
+ default: "lighter"
15
15
 
16
16
  def classname
17
17
  generate_classname("pb_icon_circle_kit", "size_#{size}", variant)
@@ -50,15 +50,4 @@
50
50
  margin-right: $space-sm;
51
51
  }
52
52
  }
53
- [class^=pb_title_kit_1] + [class^=pb_body_kit] {
54
- font-size: 36px;
55
- }
56
-
57
- [class^=pb_title_kit_2] + [class^=pb_body_kit] {
58
- font-size: 24px
59
- }
60
-
61
- [class^=pb_title_kit_3] + [class^=pb_body_kit] {
62
- font-size: 20px;
63
- }
64
53
  }
@@ -32,7 +32,8 @@ type IconStatValueProps = {
32
32
  | "red"
33
33
  | "yellow"
34
34
  | "orange"
35
- | "green",
35
+ | "green"
36
+ | "lighter",
36
37
  }
37
38
 
38
39
  const IconStatValue = (props: IconStatValueProps): React.ReactElement => {
@@ -49,7 +50,7 @@ const IconStatValue = (props: IconStatValueProps): React.ReactElement => {
49
50
  text = '',
50
51
  unit = '',
51
52
  value = 0,
52
- variant = 'default',
53
+ variant = 'lighter',
53
54
  } = props
54
55
  const ariaProps = buildAriaProps(aria)
55
56
  const dataProps = buildDataProps(data)
@@ -47,6 +47,7 @@
47
47
  value: 19.18,
48
48
  variant:"green"
49
49
  }) %>
50
+ <br>
50
51
  <%= pb_rails("icon_stat_value", props: { icon: "globe",
51
52
  text: "Uranus",
52
53
  unit: "AU",
@@ -9,8 +9,8 @@ module Playbook
9
9
  values: %w[sm md lg],
10
10
  default: "sm"
11
11
  prop :variant, type: Playbook::Props::Enum,
12
- values: %w[default royal blue purple teal red yellow green orange],
13
- default: "default"
12
+ values: %w[default royal blue purple teal red yellow green orange lighter],
13
+ default: "lighter"
14
14
 
15
15
  prop :orientation, type: Playbook::Props::Enum,
16
16
  values: %w[vertical horizontal],
@@ -18,7 +18,7 @@ describe("IconStatValue Kit", () => {
18
18
  )
19
19
 
20
20
  const kit = screen.getByTestId(testId)
21
- expect(kit).toHaveClass("pb_icon_stat_value_kit_horizontal_sm_default")
21
+ expect(kit).toHaveClass("pb_icon_stat_value_kit_horizontal_sm_lighter")
22
22
  })
23
23
 
24
24
  test("renders icon", () => {
@@ -101,7 +101,7 @@ describe("IconStatValue Kit", () => {
101
101
  )
102
102
 
103
103
  const kit = screen.getByTestId(testId)
104
- expect(kit).toHaveClass(`pb_icon_stat_value_kit_horizontal_${sizeProp}_default`)
104
+ expect(kit).toHaveClass(`pb_icon_stat_value_kit_horizontal_${sizeProp}_lighter`)
105
105
 
106
106
  cleanup()
107
107
  })
@@ -115,7 +115,8 @@ describe("IconStatValue Kit", () => {
115
115
  "teal",
116
116
  "red",
117
117
  "yellow",
118
- "green"].forEach(
118
+ "green",
119
+ "lighter"].forEach(
119
120
  (colorProp) => {
120
121
  render(
121
122
  <IconStatValue
@@ -148,7 +149,7 @@ describe("IconStatValue Kit", () => {
148
149
  )
149
150
 
150
151
  const kit = screen.getByTestId(testId)
151
- expect(kit).toHaveClass("pb_icon_stat_value_kit_vertical_sm_default")
152
+ expect(kit).toHaveClass("pb_icon_stat_value_kit_vertical_sm_lighter")
152
153
  })
153
154
 
154
155
  })
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Playbook
4
4
  PREVIOUS_VERSION = "13.34.1"
5
- VERSION = "13.34.1.pre.alpha.PLAY14703378"
5
+ VERSION = "13.34.1.pre.alpha.play1407statvaluekitinconsistencies3388"
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: 13.34.1.pre.alpha.PLAY14703378
4
+ version: 13.34.1.pre.alpha.play1407statvaluekitinconsistencies3388
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-08-01 00:00:00.000000000 Z
12
+ date: 2024-08-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack