@ember-eui/core 4.0.9 → 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 +24 -0
- package/addon/components/eui-combo-box/trigger/index.hbs +2 -2
- 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 +7 -6
- package/blueprints/ember-eui-core/index.js +0 -14
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,30 @@
|
|
|
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
|
+
|
|
15
|
+
### 4.1.1
|
|
16
|
+
🐛 Bug / Fixes
|
|
17
|
+
`@ember-eui/core`
|
|
18
|
+
- fix typo in package json defaultBlueprint
|
|
19
|
+
|
|
20
|
+
### 4.1.0
|
|
21
|
+
🐛 Bug / Fixes
|
|
22
|
+
`@ember-eui/core`
|
|
23
|
+
- @html-next/vertical-collection depend on npm released version 3.0.0-1
|
|
24
|
+
|
|
25
|
+
🚀 Enhancements
|
|
26
|
+
`@ember-eui/*`
|
|
27
|
+
bump @embroider 1.3.0 regenerating yarn.lock, this finally enables staticComponents flag!
|
|
28
|
+
|
|
5
29
|
### 4.0.9
|
|
6
30
|
🐛 Bug / Fixes
|
|
7
31
|
`@ember-eui/core`
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
{{#each @select.selected as |opt idx|}}
|
|
37
37
|
{{#if @selectedItemComponent}}
|
|
38
38
|
{{component
|
|
39
|
-
@selectedItemComponent
|
|
39
|
+
(ensure-safe-component @selectedItemComponent)
|
|
40
40
|
extra=@extra
|
|
41
41
|
option=opt
|
|
42
42
|
select=@select
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
class="ember-power-select-multiple-option
|
|
47
47
|
{{if
|
|
48
48
|
opt.disabled
|
|
49
|
-
|
|
49
|
+
'ember-power-select-multiple-option--disabled'
|
|
50
50
|
}}"
|
|
51
51
|
@option={{opt}}
|
|
52
52
|
@onClose={{if
|
|
@@ -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.0
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "Ember Components for Elastic UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@elastic/eui": "31.0.0",
|
|
55
55
|
"@ember/render-modifiers": "^2.0.4",
|
|
56
|
-
"@html-next/vertical-collection": "
|
|
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,13 +89,14 @@
|
|
|
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": {
|
|
95
96
|
"@ember/optional-features": "^2.0.0",
|
|
96
97
|
"@ember/test-helpers": "^2.6.0",
|
|
97
98
|
"@embroider/test-setup": "^1.0.0",
|
|
98
|
-
"@embroider/util": "^1.
|
|
99
|
+
"@embroider/util": "^1.3.0",
|
|
99
100
|
"@glimmer/component": "^1.0.4",
|
|
100
101
|
"@glimmer/tracking": "^1.0.4",
|
|
101
102
|
"@types/ember": "^3.16.0",
|
|
@@ -170,10 +171,10 @@
|
|
|
170
171
|
},
|
|
171
172
|
"ember-addon": {
|
|
172
173
|
"configPath": "tests/dummy/config",
|
|
173
|
-
"
|
|
174
|
+
"defaultBlueprint": "ember-eui-core"
|
|
174
175
|
},
|
|
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
|
-
};
|