@1024pix/pix-ui 11.1.0 → 11.1.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,11 @@
1
1
  # Pix-UI Changelog
2
2
 
3
+ ## v11.1.1 (17/12/2021)
4
+
5
+
6
+ ### :building_construction: Tech
7
+ - [#182](https://github.com/1024pix/pix-ui/pull/182) [TECH] Rendre responsive la PixFilterBanner
8
+
3
9
  ## v11.1.0 (16/12/2021)
4
10
 
5
11
 
@@ -3,9 +3,7 @@
3
3
  {{#if this.displayTitle}}
4
4
  <p class="pix-filter-banner__title">{{@title}}</p>
5
5
  {{/if}}
6
- <div class="pix-filter-banner__content">
7
- {{yield}}
8
- </div>
6
+ {{yield}}
9
7
  </div>
10
8
  <div class="pix-filter-banner__container-right">
11
9
  {{#if this.displayDetails}}
@@ -3,9 +3,8 @@
3
3
 
4
4
  position: relative;
5
5
  display: flex;
6
- flex-direction: row;
7
- justify-content: space-between;
8
- align-items: center;
6
+ flex-direction: column;
7
+ gap: 6px;
9
8
  width: 100%;
10
9
 
11
10
  background-color: $white;
@@ -15,53 +14,34 @@
15
14
 
16
15
  &__container-left {
17
16
  display: flex;
18
- align-items: center;
19
- height: 36px;
17
+ flex-direction: column;
18
+ gap: 12px;
19
+
20
+ > * > * {
21
+ width: 100%;
22
+ }
20
23
  }
21
24
 
22
25
  &__container-right {
23
26
  display: flex;
24
- align-items: center;
25
- justify-content: flex-end;
26
- height: 36px;
27
+ flex-direction: column;
27
28
  }
28
29
 
29
30
  &__title {
30
31
  color: $grey-60;
31
32
  font-family: $font-roboto;
32
33
  font-size: 0.875rem;
33
- padding-right: 24px;
34
34
  margin: 0;
35
35
  }
36
36
 
37
- &__content {
38
- display: flex;
39
-
40
- > * {
41
- margin-right: 16px;
42
- }
43
-
44
- > *:last-child {
45
- margin-right: 0;
46
- }
47
- }
48
-
49
- &__details {
37
+ p.pix-filter-banner__details {
50
38
  color: $grey-60;
51
39
  font-family: $font-roboto;
52
40
  font-weight: $font-medium;
53
- padding-left: 16px;
54
41
  font-size: 0.875rem;
55
- margin: 0;
56
- margin-right: 16px;
57
- height: 18px;
58
- padding-top: 4px;
59
- text-align: center;
60
- }
61
-
62
- &__button-container {
63
- border-left: 1px solid $grey-15;
64
- padding-left: 16px;
42
+ margin-top: 10px;
43
+ padding-top: 10px;
44
+ border-top: 1px solid $grey-15;
65
45
  }
66
46
 
67
47
  &__button {
@@ -72,3 +52,53 @@
72
52
  .pix-filter-banner-button__icon {
73
53
  padding-right: 4px;
74
54
  }
55
+
56
+ @include device-is('tablet') {
57
+ .pix-filter-banner {
58
+ flex-direction: row;
59
+ justify-content: space-between;
60
+ align-items: center;
61
+
62
+ &__container-left {
63
+ flex-direction: row;
64
+ height: 36px;
65
+ align-items: center;
66
+ }
67
+
68
+ &__container-right {
69
+ flex-direction: row;
70
+ height: 36px;
71
+ align-items: center;
72
+ justify-content: flex-end;
73
+ }
74
+
75
+ &__content {
76
+ > * {
77
+ margin-right: 16px;
78
+ }
79
+
80
+ > *:last-child {
81
+ margin-right: 0;
82
+ }
83
+ }
84
+
85
+ &__title {
86
+ padding-right: 24px;
87
+ margin: 0;
88
+ }
89
+
90
+ p.pix-filter-banner__details {
91
+ margin: 0;
92
+ margin-right: 16px;
93
+ padding-left: 16px;
94
+ padding-top: 4px;
95
+ text-align: center;
96
+ border: none;
97
+ }
98
+
99
+ &__button-container {
100
+ border-left: 1px solid $grey-15;
101
+ padding-left: 16px;
102
+ }
103
+ }
104
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1024pix/pix-ui",
3
- "version": "11.1.0",
3
+ "version": "11.1.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"