@ember-eui/core 5.14.1 → 5.14.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.
@@ -56,9 +56,7 @@
56
56
  @paddingSize={{this.panelPaddingSize}}
57
57
  {{simple-style this._popoverStyles}}
58
58
  {{did-insert this.registerPanel}}
59
- {{outside-click-detector
60
- onOutsideClick=(arg-or-default this.onClickOutside)
61
- }}
59
+ {{outside-click-detector onOutsideClick=this.onClickOutside}}
62
60
  {{on-key "Escape" this.onEscapeKey}}
63
61
  {{focus-trap
64
62
  isActive=(not
@@ -56,6 +56,7 @@ export default class EuiI18n extends Service {
56
56
  getTokenFromMapping(
57
57
  token: LookupTokenOptions['token'],
58
58
  valueDefault: LookupTokenOptions['valueDefault'],
59
+ _values: LookupTokenOptions['values'],
59
60
  i18nMapping: LookupTokenOptions['i18nMapping']
60
61
  ) {
61
62
  return (i18nMapping && i18nMapping[token]) || valueDefault;
@@ -70,7 +71,12 @@ export default class EuiI18n extends Service {
70
71
  values = {}
71
72
  } = options;
72
73
 
73
- let renderable = this.getTokenFromMapping(token, valueDefault, i18nMapping);
74
+ let renderable = this.getTokenFromMapping(
75
+ token,
76
+ valueDefault,
77
+ values,
78
+ i18nMapping
79
+ );
74
80
 
75
81
  if (typeof renderable === 'function') {
76
82
  renderable = renderable(values);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ember-eui/core",
3
- "version": "5.14.1",
3
+ "version": "5.14.3",
4
4
  "description": "Ember Components for Elastic UI",
5
5
  "keywords": [
6
6
  "ember-addon",
@@ -186,5 +186,5 @@
186
186
  "volta": {
187
187
  "extends": "../../package.json"
188
188
  },
189
- "gitHead": "fc26397439fe0c49280a839d84e3e9e48040d56f"
189
+ "gitHead": "5d5578c7844dadcbfd666e4dee30e445b16f835a"
190
190
  }