@1024pix/pix-ui 54.0.0 → 54.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.
|
@@ -1,32 +1,42 @@
|
|
|
1
1
|
<div class="pix-filter-banner" ...attributes>
|
|
2
2
|
{{#if this.displayTitle}}
|
|
3
|
-
<
|
|
4
|
-
<
|
|
5
|
-
|
|
3
|
+
<p class="pix-filter-banner__title">
|
|
4
|
+
<PixIcon
|
|
5
|
+
@name="filter"
|
|
6
|
+
@plainIcon={{true}}
|
|
7
|
+
class="pix-filter-banner__icon-title"
|
|
8
|
+
aria-hidden="true"
|
|
9
|
+
/>
|
|
10
|
+
{{@title}}
|
|
11
|
+
</p>
|
|
6
12
|
{{/if}}
|
|
7
13
|
|
|
8
|
-
<div class="pix-filter-banner__container
|
|
9
|
-
|
|
10
|
-
|
|
14
|
+
<div class="pix-filter-banner__container">
|
|
15
|
+
<div class="pix-filter-banner__filter">
|
|
16
|
+
{{yield}}
|
|
17
|
+
</div>
|
|
11
18
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
19
|
+
{{#if this.displayActionMenu}}
|
|
20
|
+
<div class="pix-filter-banner__action">
|
|
21
|
+
{{#if this.displayDetails}}
|
|
22
|
+
<p class="pix-filter-banner__details">{{@details}}</p>
|
|
23
|
+
{{/if}}
|
|
17
24
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
25
|
+
{{#if this.displayClearFilters}}
|
|
26
|
+
<div class="pix-filter-banner__button-container">
|
|
27
|
+
<PixButton
|
|
28
|
+
@iconBefore="delete"
|
|
29
|
+
class="pix-filter-banner__button"
|
|
30
|
+
@variant="tertiary"
|
|
31
|
+
@size="small"
|
|
32
|
+
@triggerAction={{@onClearFilters}}
|
|
33
|
+
@isDisabled={{@isClearFilterButtonDisabled}}
|
|
34
|
+
>
|
|
35
|
+
{{@clearFiltersLabel}}
|
|
36
|
+
</PixButton>
|
|
37
|
+
</div>
|
|
38
|
+
{{/if}}
|
|
39
|
+
</div>
|
|
40
|
+
{{/if}}
|
|
41
|
+
</div>
|
|
32
42
|
</div>
|
|
@@ -1,46 +1,49 @@
|
|
|
1
1
|
@use "pix-design-tokens/breakpoints";
|
|
2
|
-
@use "pix-design-tokens/shadows";
|
|
3
2
|
|
|
4
3
|
.pix-filter-banner {
|
|
5
|
-
|
|
4
|
+
font-size: 0.875rem;
|
|
6
5
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
&__container {
|
|
7
|
+
position: relative;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
gap: var(--pix-spacing-2x);
|
|
11
|
+
width: 100%;
|
|
12
|
+
min-height: 64px;
|
|
13
|
+
}
|
|
15
14
|
|
|
16
15
|
&__title {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
margin-bottom: var(--pix-spacing-1x);
|
|
19
|
+
color: var(--pix-neutral-800);
|
|
20
|
+
line-height: 20px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__icon-title {
|
|
24
|
+
width: 1rem;
|
|
25
|
+
height: 1rem;
|
|
20
26
|
}
|
|
21
27
|
|
|
22
|
-
&
|
|
28
|
+
&__filter {
|
|
23
29
|
display: flex;
|
|
24
30
|
flex-direction: column;
|
|
25
31
|
gap: var(--pix-spacing-4x);
|
|
26
32
|
}
|
|
27
33
|
|
|
28
|
-
&
|
|
34
|
+
&__action {
|
|
29
35
|
display: flex;
|
|
30
36
|
flex-direction: column;
|
|
31
|
-
align-items:
|
|
32
|
-
border-top: 1px solid var(--pix-neutral-20);
|
|
37
|
+
align-items: flex-end;
|
|
33
38
|
}
|
|
34
39
|
|
|
35
40
|
&__details {
|
|
36
|
-
|
|
37
|
-
padding: var(--pix-spacing-2x) 0 var(--pix-spacing-2x) 0;
|
|
38
|
-
color: var(--pix-neutral-500);
|
|
41
|
+
padding: 0;
|
|
39
42
|
font-weight: var(--pix-font-medium);
|
|
40
|
-
font-size: 0.875rem;
|
|
41
43
|
}
|
|
42
44
|
|
|
43
45
|
&__button {
|
|
46
|
+
padding: 0;
|
|
44
47
|
font-size: 0.875rem;
|
|
45
48
|
}
|
|
46
49
|
}
|
|
@@ -51,36 +54,17 @@
|
|
|
51
54
|
|
|
52
55
|
@include breakpoints.device-is('tablet') {
|
|
53
56
|
.pix-filter-banner {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
&__container-title {
|
|
59
|
-
display: flex;
|
|
57
|
+
&__container {
|
|
58
|
+
flex-direction: row;
|
|
59
|
+
gap: var(--pix-spacing-6x);
|
|
60
60
|
align-items: center;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
&
|
|
63
|
+
&__filter {
|
|
64
64
|
flex-direction: row;
|
|
65
65
|
flex-grow: 2;
|
|
66
66
|
flex-wrap: wrap;
|
|
67
67
|
align-items: center;
|
|
68
68
|
}
|
|
69
|
-
|
|
70
|
-
&__container-action {
|
|
71
|
-
flex-direction: row;
|
|
72
|
-
border: none;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&__details {
|
|
76
|
-
padding: 0 var(--pix-spacing-4x) 0 0;
|
|
77
|
-
text-align: center;
|
|
78
|
-
border: none;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&__button-container {
|
|
82
|
-
padding-left: var(--pix-spacing-4x);
|
|
83
|
-
border-left: 1px solid var(--pix-neutral-20);
|
|
84
|
-
}
|
|
85
69
|
}
|
|
86
70
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1024pix/pix-ui",
|
|
3
|
-
"version": "54.
|
|
3
|
+
"version": "54.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"
|
|
@@ -84,17 +84,17 @@
|
|
|
84
84
|
"@embroider/test-setup": "^4.0.0",
|
|
85
85
|
"@glimmer/component": "^1.1.2",
|
|
86
86
|
"@glimmer/tracking": "^1.1.2",
|
|
87
|
-
"@storybook/addon-a11y": "^8.4.
|
|
88
|
-
"@storybook/addon-controls": "^8.4.
|
|
89
|
-
"@storybook/addon-docs": "^8.4.
|
|
90
|
-
"@storybook/addon-essentials": "^8.4.
|
|
91
|
-
"@storybook/addon-webpack5-compiler-babel": "^3.0.
|
|
92
|
-
"@storybook/blocks": "^8.4.
|
|
93
|
-
"@storybook/builder-webpack5": "^8.4.
|
|
94
|
-
"@storybook/ember": "^8.4.
|
|
87
|
+
"@storybook/addon-a11y": "^8.4.7",
|
|
88
|
+
"@storybook/addon-controls": "^8.4.7",
|
|
89
|
+
"@storybook/addon-docs": "^8.4.7",
|
|
90
|
+
"@storybook/addon-essentials": "^8.4.7",
|
|
91
|
+
"@storybook/addon-webpack5-compiler-babel": "^3.0.5",
|
|
92
|
+
"@storybook/blocks": "^8.4.7",
|
|
93
|
+
"@storybook/builder-webpack5": "^8.4.7",
|
|
94
|
+
"@storybook/ember": "^8.4.7",
|
|
95
95
|
"@storybook/ember-cli-storybook": "^0.6.1",
|
|
96
96
|
"@storybook/storybook-deployer": "^2.8.16",
|
|
97
|
-
"@storybook/theming": "^8.4.
|
|
97
|
+
"@storybook/theming": "^8.4.7",
|
|
98
98
|
"@testing-library/dom": "^10.0.0",
|
|
99
99
|
"@testing-library/user-event": "^14.4.3",
|
|
100
100
|
"chromatic": "^11.0.0",
|
|
@@ -102,9 +102,8 @@
|
|
|
102
102
|
"ember-cli": "^6.0.0",
|
|
103
103
|
"ember-cli-dependency-checker": "^3.3.3",
|
|
104
104
|
"ember-cli-inject-live-reload": "^2.1.0",
|
|
105
|
-
"ember-cli-terser": "^4.0.2",
|
|
106
105
|
"ember-eslint-parser": "^0.5.7",
|
|
107
|
-
"ember-load-initializers": "^
|
|
106
|
+
"ember-load-initializers": "^2.1.2",
|
|
108
107
|
"ember-page-title": "^8.2.3",
|
|
109
108
|
"ember-qunit": "^8.1.0",
|
|
110
109
|
"ember-resolver": "^12.0.0",
|
|
@@ -122,7 +121,7 @@
|
|
|
122
121
|
"eslint-plugin-qunit": "^8.1.2",
|
|
123
122
|
"fs-extra": "^11.0.0",
|
|
124
123
|
"globals": "^15.14.0",
|
|
125
|
-
"html-webpack-plugin": "^5.
|
|
124
|
+
"html-webpack-plugin": "^5.6.3",
|
|
126
125
|
"loader.js": "^4.7.0",
|
|
127
126
|
"lodash": "^4.17.21",
|
|
128
127
|
"npm-run-all2": "^7.0.0",
|
|
@@ -130,11 +129,11 @@
|
|
|
130
129
|
"qunit": "^2.23.1",
|
|
131
130
|
"qunit-dom": "^3.4.0",
|
|
132
131
|
"sass": "^1.83.1",
|
|
133
|
-
"storybook": "^8.4.
|
|
132
|
+
"storybook": "^8.4.7",
|
|
134
133
|
"stylelint": "^16.13.2",
|
|
135
134
|
"svg-sprite": "^2.0.4",
|
|
136
135
|
"svgo": "^3.3.2",
|
|
137
|
-
"webpack": "^5.
|
|
136
|
+
"webpack": "^5.97.1"
|
|
138
137
|
},
|
|
139
138
|
"bugs": {
|
|
140
139
|
"url": "https://github.com/1024pix/pix-ui/issues"
|