playbook_ui 13.34.1.pre.alpha.play1407statvaluekitinconsistencies3388 → 13.34.1

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: 4696ad3a7d577ec515cef7040a725588c021d717703d1ec6252a07a6cd39041b
4
- data.tar.gz: d8bc4a8a096d9191d640c0754ae6c3233cc64f6feed80851d095ee081ed40c4a
3
+ metadata.gz: 73aa3f12a7f31e66a21a5928c062ef1c6438b8009d9466efce235eb93c791b55
4
+ data.tar.gz: b8cabf7a1af7192953baeb1b4dee1266124f6a74f67a073286463f6f6bd290f3
5
5
  SHA512:
6
- metadata.gz: 12be78c7413d7aaeb61a4d19fa185efd3b667da549d9d4a2d4413afa4e4f292fba1c93f913b58c786fad8f20ac8aa333c1eccac9fdf2482e4d7f3859f2955194
7
- data.tar.gz: e1542d50c4532207aa7a91e43ae37049f0cb480f38fab15d8f22e7a17df0e110340849aa921456954e2f4c11917980388782f55c30111b9dc448cdc3c333244b
6
+ metadata.gz: '0038ea68527eeb338f99aee1b485aab9671625b24ebf9f8493d291669e7d0d6423e2166f19651f752fc2895c3ff09ccc35f2479981fd641a6c83647394213da2'
7
+ data.tar.gz: 0f14caa5502511778773d8857e2c1c8f1780efa0a716f7970b7fde2f3340f119ff77fd36ff3daa85cc7bb510807e471b40ffca22efbe0a6de8f776d861f511f3
@@ -24,8 +24,7 @@ type IconCircleProps = {
24
24
  | "red"
25
25
  | "yellow"
26
26
  | "orange"
27
- | "green"
28
- | "lighter",
27
+ | "green",
29
28
  }
30
29
 
31
30
  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 lighter],
14
- default: "lighter"
13
+ values: %w[default royal blue orange purple teal red yellow green orange],
14
+ default: "default"
15
15
 
16
16
  def classname
17
17
  generate_classname("pb_icon_circle_kit", "size_#{size}", variant)
@@ -50,4 +50,15 @@
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
+ }
53
64
  }
@@ -32,8 +32,7 @@ type IconStatValueProps = {
32
32
  | "red"
33
33
  | "yellow"
34
34
  | "orange"
35
- | "green"
36
- | "lighter",
35
+ | "green",
37
36
  }
38
37
 
39
38
  const IconStatValue = (props: IconStatValueProps): React.ReactElement => {
@@ -50,7 +49,7 @@ const IconStatValue = (props: IconStatValueProps): React.ReactElement => {
50
49
  text = '',
51
50
  unit = '',
52
51
  value = 0,
53
- variant = 'lighter',
52
+ variant = 'default',
54
53
  } = props
55
54
  const ariaProps = buildAriaProps(aria)
56
55
  const dataProps = buildDataProps(data)
@@ -47,7 +47,6 @@
47
47
  value: 19.18,
48
48
  variant:"green"
49
49
  }) %>
50
- <br>
51
50
  <%= pb_rails("icon_stat_value", props: { icon: "globe",
52
51
  text: "Uranus",
53
52
  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 lighter],
13
- default: "lighter"
12
+ values: %w[default royal blue purple teal red yellow green orange],
13
+ default: "default"
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_lighter")
21
+ expect(kit).toHaveClass("pb_icon_stat_value_kit_horizontal_sm_default")
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}_lighter`)
104
+ expect(kit).toHaveClass(`pb_icon_stat_value_kit_horizontal_${sizeProp}_default`)
105
105
 
106
106
  cleanup()
107
107
  })
@@ -115,8 +115,7 @@ describe("IconStatValue Kit", () => {
115
115
  "teal",
116
116
  "red",
117
117
  "yellow",
118
- "green",
119
- "lighter"].forEach(
118
+ "green"].forEach(
120
119
  (colorProp) => {
121
120
  render(
122
121
  <IconStatValue
@@ -149,7 +148,7 @@ describe("IconStatValue Kit", () => {
149
148
  )
150
149
 
151
150
  const kit = screen.getByTestId(testId)
152
- expect(kit).toHaveClass("pb_icon_stat_value_kit_vertical_sm_lighter")
151
+ expect(kit).toHaveClass("pb_icon_stat_value_kit_vertical_sm_default")
153
152
  })
154
153
 
155
154
  })
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Playbook
4
- PREVIOUS_VERSION = "13.34.1"
5
- VERSION = "13.34.1.pre.alpha.play1407statvaluekitinconsistencies3388"
4
+ PREVIOUS_VERSION = "13.34.0"
5
+ VERSION = "13.34.1"
6
6
  end
metadata CHANGED
@@ -1,15 +1,15 @@
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.play1407statvaluekitinconsistencies3388
4
+ version: 13.34.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Power UX
8
8
  - Power Devs
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-08-02 00:00:00.000000000 Z
12
+ date: 2024-07-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionpack
@@ -3069,7 +3069,7 @@ homepage: https://playbook.powerapp.cloud/
3069
3069
  licenses:
3070
3070
  - ISC
3071
3071
  metadata: {}
3072
- post_install_message:
3072
+ post_install_message:
3073
3073
  rdoc_options: []
3074
3074
  require_paths:
3075
3075
  - lib
@@ -3085,7 +3085,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
3085
3085
  version: '0'
3086
3086
  requirements: []
3087
3087
  rubygems_version: 3.5.3
3088
- signing_key:
3088
+ signing_key:
3089
3089
  specification_version: 4
3090
3090
  summary: Playbook Design System
3091
3091
  test_files: []