@ember-eui/core 4.1.1 → 4.2.0
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 +10 -0
- package/addon/components/eui-markdown-editor-toolbar/icons/markdown-checkmark/index.ts +3 -0
- package/addon/components/eui-markdown-editor-toolbar/index.hbs +1 -5
- package/addon/components/eui-markdown-editor-toolbar/index.ts +3 -4
- package/package.json +4 -3
- package/blueprints/ember-eui-core/index.js +0 -14
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
### Master
|
|
4
4
|
|
|
5
|
+
### 4.2.0
|
|
6
|
+
🚀 Enhancements
|
|
7
|
+
`@ember-eui/core`
|
|
8
|
+
- Remove blueprint, inspired by https://github.com/mikkopaderes/ember-cloud-firestore-adapter README.md we should teach users to install peerDependencies manually, which is now required.
|
|
9
|
+
- Update docs for this change.
|
|
10
|
+
|
|
11
|
+
🐛 Bug / Fixes
|
|
12
|
+
`@ember-eui/core`
|
|
13
|
+
- fix markdown editor icons
|
|
14
|
+
|
|
5
15
|
### 4.1.1
|
|
6
16
|
🐛 Bug / Fixes
|
|
7
17
|
`@ember-eui/core`
|
|
@@ -18,11 +18,7 @@
|
|
|
18
18
|
<EuiButtonIcon
|
|
19
19
|
@color="text"
|
|
20
20
|
{{on "click" (fn this.handleMdButtonClick item.id)}}
|
|
21
|
-
@iconType={{
|
|
22
|
-
item.iconType.component
|
|
23
|
-
(component (ensure-safe-component item.iconType.component))
|
|
24
|
-
item.iconType
|
|
25
|
-
}}
|
|
21
|
+
@iconType={{or item.iconType.component item.iconType}}
|
|
26
22
|
@useComponent={{item.iconType.component}}
|
|
27
23
|
aria-label={{item.label}}
|
|
28
24
|
@useSvg={{item.useSvg}}
|
|
@@ -3,7 +3,7 @@ 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
|
-
|
|
6
|
+
import MarkdownCheckmark from './icons/markdown-checkmark';
|
|
7
7
|
import { Plugin } from 'unified';
|
|
8
8
|
|
|
9
9
|
export interface EuiMarkdownEditorToolbarArgs {
|
|
@@ -14,7 +14,7 @@ export interface EuiMarkdownEditorToolbarArgs {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
export default class EuiMarkdownEditorToolbarComponent extends Component<EuiMarkdownEditorToolbarArgs> {
|
|
17
|
-
|
|
17
|
+
boldItalicsButtons = [
|
|
18
18
|
{
|
|
19
19
|
id: 'mdBold',
|
|
20
20
|
label: 'Bold',
|
|
@@ -50,8 +50,7 @@ export default class EuiMarkdownEditorToolbarComponent extends Component<EuiMark
|
|
|
50
50
|
name: 'tl',
|
|
51
51
|
useSvg: true,
|
|
52
52
|
iconType: {
|
|
53
|
-
|
|
54
|
-
component: 'eui-markdown-editor-toolbar/icons/markdown-checkmark'
|
|
53
|
+
component: MarkdownCheckmark
|
|
55
54
|
}
|
|
56
55
|
}
|
|
57
56
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember-eui/core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "Ember Components for Elastic UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@html-next/vertical-collection": "3.0.0-1",
|
|
57
57
|
"@types/lodash-es": "^4.17.4",
|
|
58
58
|
"chroma-js": "^2.1.0",
|
|
59
|
-
"ember-auto-import": "^2.
|
|
59
|
+
"ember-auto-import": "^2.4.0",
|
|
60
60
|
"ember-cached-decorator-polyfill": "^0.1.4",
|
|
61
61
|
"ember-cli-babel": "^7.26.11",
|
|
62
62
|
"ember-cli-htmlbars": "^6.0.1",
|
|
@@ -89,6 +89,7 @@
|
|
|
89
89
|
"vfile": "^4.2.0"
|
|
90
90
|
},
|
|
91
91
|
"peerDependencies": {
|
|
92
|
+
"ember-auto-import": "^2.2.4",
|
|
92
93
|
"ember-focus-trap": "^1.0.1"
|
|
93
94
|
},
|
|
94
95
|
"devDependencies": {
|
|
@@ -175,5 +176,5 @@
|
|
|
175
176
|
"volta": {
|
|
176
177
|
"extends": "../../package.json"
|
|
177
178
|
},
|
|
178
|
-
"gitHead": "
|
|
179
|
+
"gitHead": "1d9ef2507067bb2f647f291004f8e72f5743df4a"
|
|
179
180
|
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
description: 'Installs ember-focus-trap',
|
|
5
|
-
|
|
6
|
-
normalizeEntityName() {
|
|
7
|
-
// this prevents an error when the entityName is
|
|
8
|
-
// not specified
|
|
9
|
-
},
|
|
10
|
-
|
|
11
|
-
afterInstall() {
|
|
12
|
-
return this.addAddonToProject('ember-focus-trap');
|
|
13
|
-
}
|
|
14
|
-
};
|