@ember-eui/core 4.2.3 → 4.2.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ### Master
4
4
 
5
+ ### 4.2.4
6
+ 🐛 Bug / Fixes
7
+ `@ember-eui/core`
8
+ - `<EuiIcon />` Drop wrapping svg div, add futurist css override
5
9
  ### 4.2.3
6
10
  🐛 Bug / Fixes
7
11
  `@ember-eui/core`
@@ -33,26 +33,20 @@
33
33
  ...attributes
34
34
  />
35
35
  {{else}}
36
- <div
37
- class={{class-names "euiIcon" (if this.isAppIcon "euiIcon--app")}}
38
- ...attributes
39
- >
40
- {{svg-jar
41
- this.icon
42
- class=(class-names
43
- this.optionalColorClass
44
- (if this.isAppIcon "euiIcon--app")
45
- componentName="EuiIcon"
46
- addBase=false
47
- size=this.size
48
- )
49
- role="image"
50
- aria-hidden=(if this.isAriaHidden "true")
51
- aria-label=(if @aria-label @aria-label this.titleId)
52
- aria-labelledby=(if @aria-labelledby @aria-labelledby this.titleId)
53
- tabindex=this.tabIndex
54
- style=this.optionalCustomStyles
55
- }}
56
- </div>
36
+ {{svg-jar
37
+ this.icon
38
+ class=(class-names
39
+ this.optionalColorClass
40
+ (if this.isAppIcon "euiIcon--app")
41
+ componentName="EuiIcon"
42
+ size=this.size
43
+ )
44
+ role="image"
45
+ aria-hidden=(if this.isAriaHidden "true")
46
+ aria-label=(if @aria-label @aria-label this.titleId)
47
+ aria-labelledby=(if @aria-labelledby @aria-labelledby this.titleId)
48
+ tabindex=this.tabIndex
49
+ style=this.optionalCustomStyles
50
+ }}
57
51
  {{/if}}
58
52
  {{/if}}
@@ -1,5 +1,21 @@
1
- .euiIcon {
2
- line-height: 1; /* added while we support back hbs svgs components */
1
+ /*
2
+ @override
3
+ .euiAvatar for future css
4
+ */
5
+ .euiAvatar {
6
+ -webkit-flex-shrink: 0;
7
+ flex-shrink: 0;
8
+ display: -webkit-inline-flex;
9
+ display: inline-flex;
10
+ -webkit-justify-content: center;
11
+ justify-content: center;
12
+ -webkit-align-items: center;
13
+ align-items: center;
14
+ background-size: cover;
15
+ text-align: center;
16
+ vertical-align: middle;
17
+ overflow-x: hidden;
18
+ font-weight: 500;
3
19
  }
4
20
 
5
21
  .euiMarkdownEditor--fullHeight {
@@ -12,4 +28,4 @@
12
28
 
13
29
  .euiMarkdownEditor--isPreviewing .euiMarkdownEditor__toggleContainer {
14
30
  display: none;
15
- }
31
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ember-eui/core",
3
- "version": "4.2.3",
3
+ "version": "4.2.4",
4
4
  "description": "Ember Components for Elastic UI",
5
5
  "keywords": [
6
6
  "ember-addon",
@@ -176,5 +176,5 @@
176
176
  "volta": {
177
177
  "extends": "../../package.json"
178
178
  },
179
- "gitHead": "416ebf9ca1d85d3d9404d71badda1af1db82d191"
179
+ "gitHead": "129e8ad0a68528eddbb628ca3772c7297d48621c"
180
180
  }