@1024pix/pix-ui 46.6.2 → 46.6.3

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.
@@ -16,7 +16,7 @@
16
16
  {{yield to="label"}}
17
17
  </PixLabel>
18
18
 
19
- <PopperJS @placement={{@placement}} as |reference popover|>
19
+ <PopperJS @placement={{or @placement "bottom-start"}} as |reference popover|>
20
20
 
21
21
  {{#if @isSearchable}}
22
22
  <span {{reference}} class={{this.headerClassName}}>
@@ -21,7 +21,7 @@
21
21
  {{/if}}
22
22
 
23
23
  <div>
24
- <PopperJS @placement={{@placement}} as |reference popover|>
24
+ <PopperJS @placement={{or @placement "bottom-start"}} as |reference popover|>
25
25
  <button
26
26
  {{reference}}
27
27
  type="button"
@@ -93,13 +93,29 @@ export default {
93
93
  description:
94
94
  "Permet de placer la dropdown du select par rapport à son bouton. Par défaut, cela s'adapte tout seul.",
95
95
  type: { name: 'string', required: false },
96
- options: ['bottom', 'top', 'left', 'right'],
96
+ options: [
97
+ 'auto',
98
+ 'auto-start',
99
+ 'auto-end',
100
+ 'top',
101
+ 'top-start',
102
+ 'top-end',
103
+ 'bottom',
104
+ 'bottom-start',
105
+ 'bottom-end',
106
+ 'right',
107
+ 'right-start',
108
+ 'right-end',
109
+ 'left',
110
+ 'left-start',
111
+ 'left-end',
112
+ ],
113
+ control: { type: 'select' },
97
114
  table: {
98
115
  type: { summary: 'string' },
99
- defaultValue: { summary: null },
116
+ defaultValue: { summary: 'bottom-start' },
100
117
  },
101
118
  },
102
-
103
119
  label: {
104
120
  name: 'label',
105
121
  description: 'Le label du champ',
@@ -117,10 +117,27 @@ export default {
117
117
  description:
118
118
  "Permet de placer la dropdown du select par rapport à son bouton. Par défaut, cela s'adapte tout seul.",
119
119
  type: { name: 'string', required: false },
120
- options: ['bottom', 'top', 'left', 'right'],
120
+ options: [
121
+ 'auto',
122
+ 'auto-start',
123
+ 'auto-end',
124
+ 'top',
125
+ 'top-start',
126
+ 'top-end',
127
+ 'bottom',
128
+ 'bottom-start',
129
+ 'bottom-end',
130
+ 'right',
131
+ 'right-start',
132
+ 'right-end',
133
+ 'left',
134
+ 'left-start',
135
+ 'left-end',
136
+ ],
137
+ control: { type: 'select' },
121
138
  table: {
122
139
  type: { summary: 'string' },
123
- defaultValue: { summary: null },
140
+ defaultValue: { summary: 'bottom-start' },
124
141
  },
125
142
  },
126
143
  icon: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1024pix/pix-ui",
3
- "version": "46.6.2",
3
+ "version": "46.6.3",
4
4
  "description": "Pix-UI is the implementation of Pix design principles and guidelines for its products.",
5
5
  "keywords": [
6
6
  "ember-addon"