@1024pix/pix-ui 33.0.0 → 33.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,12 @@
1
1
  # Pix-UI Changelog
2
2
 
3
- ## v32.1.0 (27/04/2023)
3
+ ## v33.1.0 (27/04/2023)
4
+
5
+
6
+ ### :rocket: Amélioration
7
+ - [#391](https://github.com/1024pix/pix-ui/pull/391) [FEATURE] Améliorer la lisibilité des tags (PIX-7827)
8
+
9
+ ## v33.0.0 (27/04/2023)
4
10
 
5
11
 
6
12
  ### :rocket: Amélioration
@@ -3,8 +3,8 @@ $checkmark-width-with-space: $checkmark-width + 0.438rem;
3
3
  @mixin checkmarkColor($borderColor) {
4
4
  input[type='checkbox']:checked + label::before {
5
5
  position: absolute;
6
- top: 6px;
7
- left: 8px;
6
+ top: 10px;
7
+ left: 10px;
8
8
  width: $checkmark-width;
9
9
  height: 0.3125rem;
10
10
  border: 2px solid;
@@ -17,17 +17,20 @@ $checkmark-width-with-space: $checkmark-width + 0.438rem;
17
17
  }
18
18
 
19
19
  .pix-selectable-tag {
20
+
21
+ @extend %pix-body-s;
22
+
20
23
  display: inline-block;
21
24
  text-align: center;
22
25
  position: relative;
23
26
  padding: 3px calc(8px + #{$checkmark-width-with-space} / 2);
24
27
  letter-spacing: 0.009rem;
25
- border-radius: 0.75rem;
28
+ border-radius: 0.95rem;
26
29
  border: $pix-neutral-30 solid 1px;
27
30
  color: $pix-neutral-60;
28
31
  background-color: $pix-neutral-0;
29
- font-size: 0.8125rem;
30
32
  cursor: pointer;
33
+ font-weight: $font-medium;
31
34
 
32
35
  input {
33
36
  position: absolute;
@@ -1,14 +1,17 @@
1
1
  .pix-tag {
2
+
3
+ @extend %pix-body-s;
4
+
2
5
  display: inline-block;
3
6
  text-align: center;
4
7
  vertical-align: baseline;
5
8
  white-space: nowrap;
6
9
  padding: 4px 16px;
7
- font-size: 0.8125rem;
8
10
  border: 1px solid transparent;
9
- border-radius: 0.75rem;
11
+ border-radius: 0.95rem;
10
12
  color: $pix-neutral-0;
11
13
  background-color: $pix-primary;
14
+ font-weight: $font-medium;
12
15
 
13
16
  &--blue-light {
14
17
  color: $pix-primary-80;
@@ -63,9 +66,12 @@
63
66
  }
64
67
 
65
68
  &--compact {
66
- font-size: 0.6875rem;
69
+
70
+ @extend %pix-body-xs;
71
+
67
72
  font-weight: $font-medium;
68
73
  text-transform: uppercase;
69
74
  padding: 4px 13px;
75
+ line-height: inherit;
70
76
  }
71
77
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1024pix/pix-ui",
3
- "version": "33.0.0",
3
+ "version": "33.1.0",
4
4
  "description": "Pix-UI is the implementation of Pix design principles and guidelines for its products.",
5
5
  "keywords": [
6
6
  "ember-addon"