@ember-eui/core 2.0.0 → 2.0.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.
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
### Master
|
|
4
4
|
|
|
5
|
+
### 1.6.7
|
|
6
|
+
🐛 Bug / Fixes
|
|
7
|
+
`@ember-eui/core`
|
|
8
|
+
- `<EuiComboBox />` Call `onChange` after `onCreateOption` is triggered
|
|
9
|
+
### 1.6.5
|
|
10
|
+
🐛 Bug / Fixes
|
|
11
|
+
`@ember-eui/core`
|
|
12
|
+
- `<EuiComboBox />` hide clear button when disabled
|
|
13
|
+
- `<EuiComboBox />` close options dropdown after creating option
|
|
14
|
+
|
|
5
15
|
### 1.6.3
|
|
6
16
|
🐛 Bug / Fixes
|
|
7
17
|
`@ember-eui/core`
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
onCreateOption=(if
|
|
28
28
|
@onCreateOption (pipe this.onCreateOption @onCreateOption)
|
|
29
29
|
)
|
|
30
|
-
isClearable
|
|
30
|
+
isClearable=(and @isClearable (not @disabled))
|
|
31
31
|
}}
|
|
32
32
|
@matcher={{@matcher}}
|
|
33
33
|
@initiallyOpen={{@initiallyOpen}}
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
@triggerRole={{@triggerRole}}
|
|
52
52
|
@title={{@title}}
|
|
53
53
|
@triggerId={{@triggerId}}
|
|
54
|
-
@allowClear={{@isClearable}}
|
|
54
|
+
@allowClear={{and @isClearable (not @disabled)}}
|
|
55
55
|
@loadingMessage={{@loadingMessage}}
|
|
56
56
|
@selectedItemComponent={{@selectedItemComponent}}
|
|
57
57
|
@beforeOptionsComponent={{if
|
|
@@ -86,4 +86,4 @@
|
|
|
86
86
|
as |option i|
|
|
87
87
|
>
|
|
88
88
|
{{yield option i}}
|
|
89
|
-
</PowerSelectMultiple>
|
|
89
|
+
</PowerSelectMultiple>
|
|
@@ -66,6 +66,8 @@ export default class EuiComboBoxComponent extends Component<EuiComboBoxArgs> {
|
|
|
66
66
|
onCreateOption() {
|
|
67
67
|
let search = this.select.searchText;
|
|
68
68
|
this.select.actions.search('');
|
|
69
|
+
this.select.actions.select(search);
|
|
70
|
+
this.select.actions.close();
|
|
69
71
|
return search;
|
|
70
72
|
}
|
|
71
73
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember-eui/core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Ember Components for Elastic UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
|
@@ -154,5 +154,5 @@
|
|
|
154
154
|
"volta": {
|
|
155
155
|
"node": "12.22.1"
|
|
156
156
|
},
|
|
157
|
-
"gitHead": "
|
|
157
|
+
"gitHead": "8a6de829c15e3592f198e60c48c6915277e41b5a"
|
|
158
158
|
}
|