@1024pix/pix-ui 46.9.3 → 46.9.5
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.
|
@@ -55,7 +55,7 @@ export default {
|
|
|
55
55
|
description: `Nom de l'icône font-awesome à afficher **avant** le label`,
|
|
56
56
|
type: { name: 'string', required: false },
|
|
57
57
|
control: { type: 'select' },
|
|
58
|
-
options: ['
|
|
58
|
+
options: ['magnifying-glass', 'plus', 'xmark'],
|
|
59
59
|
table: {
|
|
60
60
|
type: { summary: 'string' },
|
|
61
61
|
defaultValue: { summary: null },
|
|
@@ -66,7 +66,7 @@ export default {
|
|
|
66
66
|
description: `Nom de l'icône font-awesome à afficher **après** le label`,
|
|
67
67
|
type: { name: 'string', required: false },
|
|
68
68
|
control: { type: 'select' },
|
|
69
|
-
options: ['
|
|
69
|
+
options: ['magnifying-glass', 'plus', 'xmark'],
|
|
70
70
|
table: {
|
|
71
71
|
type: { summary: 'string' },
|
|
72
72
|
defaultValue: { summary: null },
|
|
@@ -231,7 +231,7 @@ export const icons = Template.bind({});
|
|
|
231
231
|
icons.args = {
|
|
232
232
|
...Default.args,
|
|
233
233
|
iconBefore: 'magnifying-glass',
|
|
234
|
-
iconAfter: '
|
|
234
|
+
iconAfter: 'plus',
|
|
235
235
|
};
|
|
236
236
|
|
|
237
237
|
export const disabled = Template.bind({});
|
|
@@ -52,7 +52,7 @@ Bouton de fermeture
|
|
|
52
52
|
```html
|
|
53
53
|
<PixIconButton
|
|
54
54
|
@ariaLabel="L'action du bouton"
|
|
55
|
-
@icon="
|
|
55
|
+
@icon="xmark"
|
|
56
56
|
@triggerAction="{{triggerAction}}"
|
|
57
57
|
@withBackground="{{true}}"
|
|
58
58
|
/>
|
|
@@ -63,7 +63,7 @@ Bouton d'action
|
|
|
63
63
|
```html
|
|
64
64
|
<PixIconButton
|
|
65
65
|
@ariaLabel="L'action du bouton"
|
|
66
|
-
@icon="arrow-
|
|
66
|
+
@icon="arrow-right"
|
|
67
67
|
@triggerAction="{{triggerAction}}"
|
|
68
68
|
@size="small"
|
|
69
69
|
@withBackground="{{true}}"
|
|
@@ -90,8 +90,8 @@ const TemplateWithYields = (args) => {
|
|
|
90
90
|
return {
|
|
91
91
|
template: hbs`<PixToggle @toggled={{this.toggled}} @onChange={{this.onChange}}>
|
|
92
92
|
<:label>{{this.label}}</:label>
|
|
93
|
-
<:on><FaIcon @icon='
|
|
94
|
-
<:off><FaIcon @icon='
|
|
93
|
+
<:on><FaIcon @icon='eye' /></:on>
|
|
94
|
+
<:off><FaIcon @icon='eye-slash' /></:off>
|
|
95
95
|
</PixToggle>`,
|
|
96
96
|
context: args,
|
|
97
97
|
};
|
package/config/icons.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
module.exports = () => ({
|
|
2
2
|
'free-solid-svg-icons': [
|
|
3
|
+
'arrow-left',
|
|
3
4
|
'arrow-right',
|
|
4
5
|
'bullhorn',
|
|
5
6
|
'check',
|
|
@@ -12,6 +13,7 @@ module.exports = () => ({
|
|
|
12
13
|
'earth-europe',
|
|
13
14
|
'eye',
|
|
14
15
|
'eye-slash',
|
|
16
|
+
'magnifying-glass',
|
|
15
17
|
'plus',
|
|
16
18
|
'triangle-exclamation',
|
|
17
19
|
'up-right-from-square',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1024pix/pix-ui",
|
|
3
|
-
"version": "46.9.
|
|
3
|
+
"version": "46.9.5",
|
|
4
4
|
"description": "Pix-UI is the implementation of Pix design principles and guidelines for its products.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"ember-truth-helpers": "^4.0.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@1024pix/ember-testing-library": "^
|
|
61
|
+
"@1024pix/ember-testing-library": "^2.0.0",
|
|
62
62
|
"@1024pix/eslint-config": "^1.3.3",
|
|
63
63
|
"@1024pix/stylelint-config": "^5.1.12",
|
|
64
64
|
"@babel/eslint-parser": "^7.19.1",
|