@ember-eui/core 1.3.4 → 1.3.5

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
+ ### 1.3.5
6
+ 🐛 Bug / Fixes
7
+ - Urls for markdown editor icons
8
+
5
9
  ### 1.3.4
6
10
  🐛 Bug / Fixes
7
11
  - Fix docs related to ember-svg-jar and netlify demo
@@ -29,7 +29,7 @@ type IconColor = string | NamedColor;
29
29
 
30
30
  export type IconSize = keyof typeof sizeToClassNameMap;
31
31
 
32
- // const SVG_PREI : string | undefined = config['ember-eui'].svgPrefixPath || 'svg/assets';
32
+ // const SVG_PREI : string | undefined = config['ember-eui'].svgPath || 'svg/assets';
33
33
 
34
34
  export type EuiIconArgs = CommonArgs & {
35
35
  /**
@@ -10,11 +10,11 @@ export default class EuiMarkdownEditorFooterComponent extends Component<EuiMarkd
10
10
 
11
11
  get svgPath() {
12
12
  const config = getOwner(this).resolveRegistration('config:environment');
13
- const svgPath = config?.['@ember-eui/core']?.svgPath || 'svg';
13
+ const svgPath = config?.['@ember-eui/core']?.svgPath || 'svg/';
14
14
  return svgPath;
15
15
  }
16
16
 
17
17
  get markdownLogo() {
18
- return `${this.svgPath}/markdown-logo`;
18
+ return `${this.svgPath}markdown-logo`;
19
19
  }
20
20
  }
@@ -31,7 +31,7 @@ export default class EuiMarkdownEditorToolbarComponent extends Component<EuiMark
31
31
 
32
32
  get svgPath() {
33
33
  const config = getOwner(this).resolveRegistration('config:environment');
34
- const svgPath = config?.['@ember-eui/core']?.svgPath || 'svg';
34
+ const svgPath = config?.['@ember-eui/core']?.svgPath || 'svg/';
35
35
  return svgPath;
36
36
  }
37
37
 
@@ -55,7 +55,7 @@ export default class EuiMarkdownEditorToolbarComponent extends Component<EuiMark
55
55
  label: 'Task list',
56
56
  name: 'tl',
57
57
  useSvg: true,
58
- iconType: `${this.svgPath}/markdown-checkmark`
58
+ iconType: `${this.svgPath}markdown-checkmark`
59
59
  }
60
60
  ];
61
61
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ember-eui/core",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
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": "2b0280132305a4103d875d4def08a0364139a580"
157
+ "gitHead": "93a5c9c6617c34c8851c48aba32380ad6ee9e945"
158
158
  }