@ember-eui/core 3.0.1 → 3.0.2
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 +5 -1
- package/addon/components/eui-button/index.hbs +2 -0
- package/addon/components/eui-button-content/index.hbs +1 -0
- package/addon/components/eui-button-empty/index.hbs +2 -0
- package/addon/components/eui-button-icon/index.hbs +2 -0
- package/addon/components/eui-icon/index.hbs +1 -1
- package/addon/components/eui-markdown-editor-footer/index.hbs +3 -1
- package/addon/components/eui-markdown-editor-footer/index.ts +0 -5
- package/addon/components/eui-markdown-editor-toolbar/index.hbs +6 -1
- package/addon/components/eui-markdown-editor-toolbar/index.ts +4 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
### Master
|
|
4
4
|
|
|
5
|
+
### 3.0.2
|
|
6
|
+
`@ember-eui/core`
|
|
7
|
+
🐛 Bug / Fixes
|
|
8
|
+
- Fix `<EuiMarkdownEditor />` icons compatibility with ember-source < 3.27
|
|
9
|
+
|
|
5
10
|
### 3.0.1
|
|
6
|
-
💥 Breaking change
|
|
7
11
|
`@ember-eui/core`
|
|
8
12
|
🚀 Enhancements
|
|
9
13
|
- No longer need to add icons from public icons in ember-eui/core
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
@iconSide={{@iconSide}}
|
|
22
22
|
@iconClasses={{@iconClasses}}
|
|
23
23
|
@useSvg={{@useSvg}}
|
|
24
|
+
@useComponent={{@useComponent}}
|
|
24
25
|
@textClasses={{class-names "euiButton__text" @textClasses}}
|
|
25
26
|
>
|
|
26
27
|
{{yield}}
|
|
@@ -48,6 +49,7 @@
|
|
|
48
49
|
@iconSide={{@iconSide}}
|
|
49
50
|
@iconClasses={{@iconClasses}}
|
|
50
51
|
@useSvg={{@useSvg}}
|
|
52
|
+
@useComponent={{@useComponent}}
|
|
51
53
|
@textClasses={{class-names "euiButton__text" @textClasses}}
|
|
52
54
|
>
|
|
53
55
|
{{yield}}
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
@iconSide={{@iconSide}}
|
|
19
19
|
@iconClasses={{@iconClasses}}
|
|
20
20
|
@useSvg={{@useSvg}}
|
|
21
|
+
@useComponent={{@useComponent}}
|
|
21
22
|
@textClasses={{class-names "euiButtonEmpty__text" @textClasses}}
|
|
22
23
|
>
|
|
23
24
|
{{yield}}
|
|
@@ -44,6 +45,7 @@
|
|
|
44
45
|
@iconSide={{@iconSide}}
|
|
45
46
|
@iconClasses={{@iconClasses}}
|
|
46
47
|
@useSvg={{@useSvg}}
|
|
48
|
+
@useComponent={{@useComponent}}
|
|
47
49
|
@textClasses={{class-names "euiButtonEmpty__text" @textClasses}}
|
|
48
50
|
>
|
|
49
51
|
{{yield}}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
@type={{@iconType}}
|
|
12
12
|
@size={{arg-or-default @iconSize "m"}}
|
|
13
13
|
@useSvg={{@useSvg}}
|
|
14
|
+
@useComponent={{@useComponent}}
|
|
14
15
|
aria-hidden="true"
|
|
15
16
|
/>
|
|
16
17
|
{{/if}}
|
|
@@ -29,6 +30,7 @@
|
|
|
29
30
|
@type={{@iconType}}
|
|
30
31
|
@size={{@iconSize}}
|
|
31
32
|
@useSvg={{@useSvg}}
|
|
33
|
+
@useComponent={{@useComponent}}
|
|
32
34
|
aria-hidden="true"
|
|
33
35
|
/>
|
|
34
36
|
{{/if}}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
{{! pending implementation}}
|
|
6
6
|
<EuiButtonIcon
|
|
7
7
|
@iconType={{component "eui-loading-spinner"}}
|
|
8
|
+
@useComponent={{true}}
|
|
8
9
|
{{! aria-label={ariaLabels.uploadingFiles} }}
|
|
9
10
|
/>
|
|
10
11
|
{{/if}}
|
|
@@ -29,7 +30,8 @@
|
|
|
29
30
|
</div>
|
|
30
31
|
<EuiButtonIcon
|
|
31
32
|
class="euiMarkdownEditorFooter__help"
|
|
32
|
-
@iconType={{
|
|
33
|
+
@iconType={{component "eui-markdown-editor-footer/icons/markdown-logo"}}
|
|
34
|
+
@useComponent={{true}}
|
|
33
35
|
@color="text"
|
|
34
36
|
@useSvg={{true}}
|
|
35
37
|
{{! aria-label={ariaLabels.showMarkdownHelp} }}
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import Component from '@glimmer/component';
|
|
2
2
|
import { tracked } from '@glimmer/tracking';
|
|
3
|
-
import MarkdownLogoComponent from './icons/markdown-logo';
|
|
4
3
|
|
|
5
4
|
export interface EuiMarkdownEditorFooterArgs {}
|
|
6
5
|
|
|
7
6
|
export default class EuiMarkdownEditorFooterComponent extends Component<EuiMarkdownEditorFooterArgs> {
|
|
8
7
|
@tracked isPopoverOpen = false;
|
|
9
8
|
@tracked isShowingHelp = false;
|
|
10
|
-
|
|
11
|
-
get markdownLogo() {
|
|
12
|
-
return MarkdownLogoComponent;
|
|
13
|
-
}
|
|
14
9
|
}
|
|
@@ -18,7 +18,12 @@
|
|
|
18
18
|
<EuiButtonIcon
|
|
19
19
|
@color="text"
|
|
20
20
|
{{on "click" (fn this.handleMdButtonClick item.id)}}
|
|
21
|
-
@iconType={{
|
|
21
|
+
@iconType={{if
|
|
22
|
+
item.iconType.component
|
|
23
|
+
(component item.iconType.component)
|
|
24
|
+
item.iconType
|
|
25
|
+
}}
|
|
26
|
+
@useComponent={{item.iconType.component}}
|
|
22
27
|
aria-label={{item.label}}
|
|
23
28
|
@useSvg={{item.useSvg}}
|
|
24
29
|
@isDisabled={{this.isPreviewing}}
|
|
@@ -3,7 +3,6 @@ import { action } from '@ember/object';
|
|
|
3
3
|
import type MarkdownActions from '../../utils/markdown/markdown-actions';
|
|
4
4
|
import { MODE_VIEWING } from '../../utils/markdown/markdown-modes';
|
|
5
5
|
import { cached } from '@glimmer/tracking';
|
|
6
|
-
import MarkdownCheckmarkComponent from './icons/markdown-checkmark';
|
|
7
6
|
|
|
8
7
|
import { Plugin } from 'unified';
|
|
9
8
|
|
|
@@ -50,7 +49,10 @@ export default class EuiMarkdownEditorToolbarComponent extends Component<EuiMark
|
|
|
50
49
|
label: 'Task list',
|
|
51
50
|
name: 'tl',
|
|
52
51
|
useSvg: true,
|
|
53
|
-
iconType:
|
|
52
|
+
iconType: {
|
|
53
|
+
// this should't be needed when we drop support for 3.24.0
|
|
54
|
+
component: 'eui-markdown-editor-toolbar/icons/markdown-checkmark'
|
|
55
|
+
}
|
|
54
56
|
}
|
|
55
57
|
];
|
|
56
58
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember-eui/core",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Ember Components for Elastic UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
|
@@ -172,5 +172,5 @@
|
|
|
172
172
|
"volta": {
|
|
173
173
|
"node": "12.22.1"
|
|
174
174
|
},
|
|
175
|
-
"gitHead": "
|
|
175
|
+
"gitHead": "4954f174f17915ab6fa301a875071705ef3a6d0b"
|
|
176
176
|
}
|