@1024pix/pix-ui 46.2.2 → 46.3.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.
@@ -6,7 +6,7 @@ export default class PixButtonBase extends Component {
6
6
  }
7
7
 
8
8
  get size() {
9
- return this.args.size || 'large';
9
+ return this.args.size || 'small';
10
10
  }
11
11
 
12
12
  get baseClassNames() {
@@ -54,7 +54,7 @@ export default {
54
54
  control: { type: 'select' },
55
55
  table: {
56
56
  type: { summary: 'string' },
57
- defaultValue: { summary: 'large' },
57
+ defaultValue: { summary: 'small' },
58
58
  },
59
59
  },
60
60
  isBorderVisible: {
@@ -43,7 +43,7 @@ export default {
43
43
  control: { type: 'select' },
44
44
  table: {
45
45
  type: { summary: 'string' },
46
- defaultValue: { summary: 'large' },
46
+ defaultValue: { summary: 'small' },
47
47
  },
48
48
  },
49
49
  isBorderVisible: {
@@ -51,7 +51,7 @@ Le loader peut être affiché de deux façons :
51
51
 
52
52
  ## Size
53
53
 
54
- Le bouton en small
54
+ Le bouton en large (small étant la valeur par défaut)
55
55
 
56
56
  <Story of={ComponentStories.size} height={75} />
57
57
 
@@ -122,7 +122,7 @@ export default {
122
122
  control: { type: 'select' },
123
123
  table: {
124
124
  type: { summary: 'string' },
125
- defaultValue: { summary: 'large' },
125
+ defaultValue: { summary: 'small' },
126
126
  },
127
127
  },
128
128
  isBorderVisible: {
@@ -182,7 +182,6 @@ const Template = (args) => ({
182
182
  export const Default = Template.bind({});
183
183
  Default.args = {
184
184
  loadingColor: 'white',
185
- size: 'large',
186
185
  variant: 'primary',
187
186
  label: 'Bouton',
188
187
  };
@@ -266,6 +265,6 @@ loader.args = {
266
265
  export const size = Template.bind({});
267
266
  size.args = {
268
267
  ...Default.args,
269
- label: 'Bouton small',
270
- size: 'small',
268
+ label: 'Bouton large',
269
+ size: 'large',
271
270
  };
@@ -13,11 +13,11 @@ Le bouton en version big et sans fond grisé.
13
13
 
14
14
  <Story of={ComponentStories.Default} height={60} />
15
15
 
16
- ## Small
16
+ ## Size
17
17
 
18
- Le bouton en version small.
18
+ Le bouton en version small. (big étant la valeur par défaut)
19
19
 
20
- <Story of={ComponentStories.small} height={60} />
20
+ <Story of={ComponentStories.size} height={60} />
21
21
 
22
22
  ## With Background
23
23
 
@@ -86,8 +86,8 @@ Default.args = {
86
86
  triggerAction,
87
87
  };
88
88
 
89
- export const small = Template.bind({});
90
- small.args = {
89
+ export const size = Template.bind({});
90
+ size.args = {
91
91
  ...Default.args,
92
92
  size: 'small',
93
93
  triggerAction,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1024pix/pix-ui",
3
- "version": "46.2.2",
3
+ "version": "46.3.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"
@@ -59,7 +59,7 @@
59
59
  },
60
60
  "devDependencies": {
61
61
  "@1024pix/ember-testing-library": "^1.1.0",
62
- "@1024pix/eslint-config": "^1.2.13",
62
+ "@1024pix/eslint-config": "^1.3.0",
63
63
  "@1024pix/stylelint-config": "^5.1.12",
64
64
  "@babel/eslint-parser": "^7.19.1",
65
65
  "@babel/plugin-proposal-decorators": "^7.20.5",