@ember-eui/core 5.4.1 → 5.4.4
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.
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
componentName="EuiButtonIcon"
|
|
6
6
|
display=(arg-or-default @display "empty")
|
|
7
7
|
color=(arg-or-default @color "primary")
|
|
8
|
-
size=(arg-or-default @size "xs" configKey="euiButtonIcon.size")
|
|
8
|
+
size=(arg-or-default @size "xs" configKey="@ember-eui/core.euiButtonIcon.size")
|
|
9
9
|
}}
|
|
10
10
|
href={{@href}}
|
|
11
11
|
target={{@target}}
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
componentName="EuiButtonIcon"
|
|
31
31
|
display=(arg-or-default @display "empty")
|
|
32
32
|
color=(arg-or-default @color "primary")
|
|
33
|
-
size=(arg-or-default @size "xs" configKey="euiButtonIcon.size")
|
|
33
|
+
size=(arg-or-default @size "xs" configKey="@ember-eui/core.euiButtonIcon.size")
|
|
34
34
|
}}
|
|
35
35
|
disabled={{or @isDisabled @disabled}}
|
|
36
36
|
aria-pressed={{if @isSelected "true" "false"}}
|
|
@@ -65,7 +65,7 @@ as |hasDefaultBlock|}}
|
|
|
65
65
|
@iconType="boxesVertical"
|
|
66
66
|
@color="text"
|
|
67
67
|
data-test-subj={{concat @id '-notificationEventMetaButton'}}
|
|
68
|
-
{{on 'click' (fn isPopoverOpen.setState true)}}
|
|
68
|
+
{{on 'click' (if isPopoverOpen.value (fn isPopoverOpen.setState false) (fn isPopoverOpen.setState true))}}
|
|
69
69
|
/>
|
|
70
70
|
</:button>
|
|
71
71
|
|
|
@@ -2,6 +2,7 @@ import { helper } from '@ember/component/helper';
|
|
|
2
2
|
import { assert } from '@ember/debug';
|
|
3
3
|
//@ts-ignore
|
|
4
4
|
import config from 'ember-get-config';
|
|
5
|
+
import { get } from '@ember/object';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Helper that returns a default value if the passed argument is undefined
|
|
@@ -17,7 +18,7 @@ export function argOrDefault(
|
|
|
17
18
|
assert('`defaultValue` must be provided', defaultValue !== undefined);
|
|
18
19
|
let configValue;
|
|
19
20
|
if (configKey) {
|
|
20
|
-
configValue = config
|
|
21
|
+
configValue = get(config, configKey);
|
|
21
22
|
}
|
|
22
23
|
return value !== undefined ? value : configValue || defaultValue;
|
|
23
24
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember-eui/core",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.4",
|
|
4
4
|
"description": "Ember Components for Elastic UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
|
@@ -182,5 +182,5 @@
|
|
|
182
182
|
"volta": {
|
|
183
183
|
"extends": "../../package.json"
|
|
184
184
|
},
|
|
185
|
-
"gitHead": "
|
|
185
|
+
"gitHead": "ff5f29643319901716bf4c0ad1d2b1cfdd30d245"
|
|
186
186
|
}
|