@1024pix/pix-ui 13.3.0 → 13.3.3

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,23 @@
1
1
  # Pix-UI Changelog
2
2
 
3
+ ## v13.3.3 (23/02/2022)
4
+
5
+
6
+ ### :bug: Correction
7
+ - [#203](https://github.com/1024pix/pix-ui/pull/203) [BUGFIX] Aligner la modal dans le centre de la fenêtre.
8
+
9
+ ## v13.3.2 (23/02/2022)
10
+
11
+
12
+ ### :bug: Bug fix
13
+ - [#202](https://github.com/1024pix/pix-ui/pull/202) [BUGFIX] Corriger l'alignement dans le header de la Pix Modal.
14
+
15
+ ## v13.3.1 (22/02/2022)
16
+
17
+
18
+ ### :bug: Bug fix
19
+ - [#201](https://github.com/1024pix/pix-ui/pull/201) [BUGFIX] Corriger la couleur de la sélection et l'erreur d'accessibilité.
20
+
3
21
  ## v13.3.0 (21/02/2022)
4
22
 
5
23
 
@@ -30,21 +30,21 @@
30
30
  <button
31
31
  type="button"
32
32
  class="pix-dropdown__controller--clear"
33
- {{on "click" this.clearSelection}}
34
33
  aria-label={{@clearLabel}}
34
+ {{on "click" this.clearSelection}}
35
35
  >
36
36
  <FaIcon @icon="times" />
37
37
  </button>
38
38
  {{/if}}
39
39
 
40
- <button
40
+ <div
41
+ role="button"
41
42
  tabindex="-1"
42
- type="button"
43
43
  class="pix-dropdown__controller--chevron"
44
44
  {{on "click" this.toggleDropdown}}
45
45
  >
46
46
  <FaIcon @icon={{if this.isExpanded "chevron-up" "chevron-down"}} />
47
- </button>
47
+ </div>
48
48
  </div>
49
49
 
50
50
  <div
@@ -35,6 +35,7 @@
35
35
  }
36
36
 
37
37
  &--placeholder-text {
38
+ color: $grey-90;
38
39
  margin: 0;
39
40
  font-size: 0.875rem;
40
41
  overflow: hidden;
@@ -70,10 +71,10 @@
70
71
  border: none;
71
72
  padding: 0;
72
73
  position: absolute;
73
- top: 9.5px;
74
+ top: 9px;
74
75
  right: 12px;
75
76
  color: $grey-50;
76
- font-size: 1rem;
77
+ cursor: pointer;
77
78
 
78
79
  &:hover {
79
80
  color: $grey-70;
@@ -17,7 +17,7 @@ $button-margin: 16px;
17
17
  .pix-modal {
18
18
  @import "reset-css";
19
19
  box-shadow: 1px 1px 5px rgba(0,0,0,.1);
20
- margin: 20vw auto;
20
+ margin: 20vh auto;
21
21
  max-width: 512px;
22
22
  width: calc(100% - 24px);
23
23
 
@@ -27,14 +27,14 @@ $button-margin: 16px;
27
27
  border-top-left-radius: 4px;
28
28
  border-top-right-radius: 4px;
29
29
  padding: $modal-padding;
30
- position: relative;
30
+ display: flex;
31
+ align-items: flex-start;
32
+ justify-content: space-between;
31
33
  }
32
34
 
33
35
  &__close-button {
34
36
  flex-shrink: 0;
35
- right: $modal-padding;
36
- position: absolute;
37
- top: $modal-padding;
37
+ margin-top: -4px;
38
38
 
39
39
  @include device-is('tablet') {
40
40
  height: $tablet-close-button-size;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1024pix/pix-ui",
3
- "version": "13.3.0",
3
+ "version": "13.3.3",
4
4
  "description": "Pix-UI is the implementation of Pix design principles and guidelines for its products.",
5
5
  "keywords": [
6
6
  "ember-addon"