@ember-eui/core 6.5.4 → 6.5.7

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.
@@ -28,7 +28,7 @@
28
28
  ...attributes
29
29
  >
30
30
  <EuiButtonContent
31
- class="euiButton__content {{@contentClasses}}"
31
+ class={{class-names "euiButton__content" @contentClasses}}
32
32
  @isLoading={{@isLoading}}
33
33
  @iconType={{@iconType}}
34
34
  @iconSize={{@iconSize}}
@@ -33,6 +33,7 @@
33
33
  id={{inputId}}
34
34
  class={{classes}}
35
35
  type={{inputTypeState.value}}
36
+ value={{@value}}
36
37
  disabled={{@disabled}}
37
38
  ...attributes
38
39
  {{validatable-control @isInvalid}}
package/index.js CHANGED
@@ -41,18 +41,11 @@ module.exports = {
41
41
  'node_modules/ember-basic-dropdown/vendor/ember-basic-dropdown.css'
42
42
  );
43
43
 
44
- this.emberEuiOptions = Object.assign({}, app.options['@ember-eui/core']);
44
+ let addonConfig = Object.assign({}, app.options['@ember-eui/core']);
45
45
 
46
- this.emberEuiOptions.theme = this.emberEuiOptions.theme
47
- ? this.emberEuiOptions.theme
48
- : 'amsterdam_light';
49
-
50
- if (
51
- this.emberEuiOptions.theme &&
52
- this.emberEuiOptions.includeCss !== false
53
- ) {
46
+ if (addonConfig.theme) {
54
47
  app.import(`vendor/eui_theme_${this.emberEuiOptions.theme}.min.css`);
55
- } else {
48
+ } else if (addonConfig.theme !== false) {
56
49
  app.import('vendor/eui_theme_amsterdam_light.min.css');
57
50
  }
58
51
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ember-eui/core",
3
- "version": "6.5.4",
3
+ "version": "6.5.7",
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": "ff7bf48dd15b1140608dfa464c7ff58543b6e347"
189
+ "gitHead": "a112f9543c41cf64b5a4c867afeda49358f87ac5"
190
190
  }