@1024pix/pix-ui 36.0.0 → 36.0.1

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,5 +1,12 @@
1
1
  # Pix-UI Changelog
2
2
 
3
+ ## v36.0.1 (26/06/2023)
4
+
5
+
6
+ ### :bug: Correction
7
+ - [#425](https://github.com/1024pix/pix-ui/pull/425) [BUGFIX] Réduire la largeur minimum de PixProgressGauge (PIX-8457).
8
+ - [#424](https://github.com/1024pix/pix-ui/pull/424) [BUGFIX] définir une largeur fixe pour le texte de pourcentage de PixProgressGauge (PIX-8439).
9
+
3
10
  ## v36.0.0 (13/06/2023)
4
11
 
5
12
 
@@ -1,13 +1,18 @@
1
1
  .progress-gauge {
2
2
  position: relative;
3
- display: flex;
4
- flex-wrap: wrap;
3
+ display: grid;
4
+ grid-template-areas:
5
+ 'text progressbar'
6
+ 'subtitle subtitle';
7
+ grid-template-columns: auto 1fr;
5
8
  align-items: center;
6
9
  width: 100%;
7
- min-width: 200px;
10
+ min-width: 6rem;
8
11
  border-radius: 5px;
9
12
 
10
13
  &__bar {
14
+ grid-area: progressbar;
15
+ inline-size: unset;
11
16
  flex-grow: 1;
12
17
  height: 0.875rem;
13
18
  border: 2px solid $pix-neutral-20;
@@ -32,19 +37,25 @@
32
37
  &__text {
33
38
  @extend %pix-body-s;
34
39
 
35
- font-weight: 500;
36
- margin-right: $pix-spacing-s;
40
+ grid-area: text;
41
+ min-width: 5ch;
42
+ margin-right: $pix-spacing-xxs;
37
43
  white-space: nowrap;
44
+ font-weight: 500;
45
+ line-height: 1;
38
46
  }
39
47
 
40
48
  &__sub-title {
41
49
  @extend %pix-body-s;
42
50
 
51
+ grid-area: subtitle;
43
52
  width: 100%;
44
53
  margin: 6px 0;
45
54
  color: $pix-primary-60;
46
55
  letter-spacing: 0.4px;
47
56
  text-transform: uppercase;
57
+ text-overflow: ellipsis;
58
+ overflow: hidden;
48
59
  }
49
60
  }
50
61
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1024pix/pix-ui",
3
- "version": "36.0.0",
3
+ "version": "36.0.1",
4
4
  "description": "Pix-UI is the implementation of Pix design principles and guidelines for its products.",
5
5
  "keywords": [
6
6
  "ember-addon"