@1024pix/pix-ui 54.1.0 → 54.2.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.
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{{#if @iconBefore}}
|
|
2
|
+
<PixIcon
|
|
3
|
+
class="pix-button__icon pix-button__icon--before"
|
|
4
|
+
@ariaHidden={{true}}
|
|
5
|
+
@name={{@iconBefore}}
|
|
6
|
+
@plainIcon={{@plainIconBefore}}
|
|
7
|
+
/>
|
|
8
|
+
{{/if}}
|
|
9
|
+
{{yield}}
|
|
10
|
+
{{#if @iconAfter}}
|
|
11
|
+
<PixIcon
|
|
12
|
+
class="pix-button__icon pix-button__icon--after"
|
|
13
|
+
@name={{@iconAfter}}
|
|
14
|
+
@ariaHidden={{true}}
|
|
15
|
+
@plainIcon={{@plainIconAfter}}
|
|
16
|
+
/>
|
|
17
|
+
{{/if}}
|
|
@@ -7,10 +7,24 @@
|
|
|
7
7
|
class={{this.className}}
|
|
8
8
|
...attributes
|
|
9
9
|
>
|
|
10
|
-
|
|
10
|
+
<PixButtonContent
|
|
11
|
+
@iconBefore={{@iconBefore}}
|
|
12
|
+
@iconAfter={{@iconAfter}}
|
|
13
|
+
@plainIconAfter={{@plainIconAfter}}
|
|
14
|
+
@plainIconBefore={{@plainIconBefore}}
|
|
15
|
+
>
|
|
16
|
+
{{yield}}
|
|
17
|
+
</PixButtonContent>
|
|
11
18
|
</LinkTo>
|
|
12
19
|
{{else}}
|
|
13
20
|
<a href={{@href}} class={{this.className}} ...attributes>
|
|
14
|
-
|
|
21
|
+
<PixButtonContent
|
|
22
|
+
@iconBefore={{@iconBefore}}
|
|
23
|
+
@iconAfter={{@iconAfter}}
|
|
24
|
+
@plainIconAfter={{@plainIconAfter}}
|
|
25
|
+
@plainIconBefore={{@plainIconBefore}}
|
|
26
|
+
>
|
|
27
|
+
{{yield}}
|
|
28
|
+
</PixButtonContent>
|
|
15
29
|
</a>
|
|
16
30
|
{{/if}}
|
|
@@ -14,22 +14,13 @@
|
|
|
14
14
|
</div>
|
|
15
15
|
<span class="loader__not-visible-text">{{yield}}</span>
|
|
16
16
|
{{else}}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
{{yield}}
|
|
26
|
-
{{#if @iconAfter}}
|
|
27
|
-
<PixIcon
|
|
28
|
-
class="pix-button__icon pix-button__icon--after"
|
|
29
|
-
@name={{@iconAfter}}
|
|
30
|
-
@ariaHidden={{true}}
|
|
31
|
-
@plainIcon={{@plainIconAfter}}
|
|
32
|
-
/>
|
|
33
|
-
{{/if}}
|
|
17
|
+
<PixButtonContent
|
|
18
|
+
@iconBefore={{@iconBefore}}
|
|
19
|
+
@iconAfter={{@iconAfter}}
|
|
20
|
+
@plainIconAfter={{@plainIconAfter}}
|
|
21
|
+
@plainIconBefore={{@plainIconBefore}}
|
|
22
|
+
>
|
|
23
|
+
{{yield}}
|
|
24
|
+
</PixButtonContent>
|
|
34
25
|
{{/if}}
|
|
35
26
|
</button>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@1024pix/pix-ui/components/pix-button/pix-button-content';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1024pix/pix-ui",
|
|
3
|
-
"version": "54.
|
|
3
|
+
"version": "54.2.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"
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@1024pix/ember-testing-library": "^3.0.6",
|
|
76
76
|
"@1024pix/eslint-plugin": "^2.0.4",
|
|
77
|
-
"@1024pix/stylelint-config": "^5.1.
|
|
77
|
+
"@1024pix/stylelint-config": "^5.1.27",
|
|
78
78
|
"@babel/eslint-parser": "^7.26.5",
|
|
79
79
|
"@babel/plugin-proposal-decorators": "^7.24.7",
|
|
80
80
|
"@ember/optional-features": "^2.2.0",
|