@ember-eui/core 1.6.0 → 1.6.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 +20 -0
- package/addon/components/eui-combo-box/index.hbs +3 -3
- package/addon/components/eui-combo-box/index.ts +1 -0
- package/addon/components/eui-flyout/index.hbs +43 -34
- package/addon/components/eui-list-group/index.hbs +23 -17
- package/addon/components/eui-markdown-editor-toolbar/index.hbs +3 -3
- package/addon/components/eui-modal/index.hbs +35 -26
- package/addon/components/eui-stat/index.hbs +1 -0
- package/addon/components/eui-toast/index.hbs +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
### Master
|
|
4
4
|
|
|
5
|
+
### 1.6.4
|
|
6
|
+
🐛 Bug / Fixes
|
|
7
|
+
`@ember-eui/core`
|
|
8
|
+
- `<EuiComboBox />` hide clear button when disabled
|
|
9
|
+
- `<EuiComboBox />` close options dropdown after creating option
|
|
10
|
+
|
|
11
|
+
### 1.6.3
|
|
12
|
+
🐛 Bug / Fixes
|
|
13
|
+
`@ember-eui/core`
|
|
14
|
+
- Fix inline-styling weird bug
|
|
15
|
+
|
|
16
|
+
### 1.6.2
|
|
17
|
+
🐛 Bug / Fixes
|
|
18
|
+
`@ember-eui/validated-form`
|
|
19
|
+
- Bubble the change correctly from `<Form.FieldMarkdownEditor />`
|
|
20
|
+
### 1.6.1
|
|
21
|
+
🐛 Bug / Fixes
|
|
22
|
+
`@ember-eui/core`
|
|
23
|
+
- Add default yield block for `<EuiStat />`
|
|
24
|
+
|
|
5
25
|
### 1.6.0
|
|
6
26
|
🚀 Enhancements
|
|
7
27
|
`@ember-eui/core`
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
onCreateOption=(if
|
|
28
28
|
@onCreateOption (pipe this.onCreateOption @onCreateOption)
|
|
29
29
|
)
|
|
30
|
-
isClearable
|
|
30
|
+
isClearable=(and @isClearable (not @disabled))
|
|
31
31
|
}}
|
|
32
32
|
@matcher={{@matcher}}
|
|
33
33
|
@initiallyOpen={{@initiallyOpen}}
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
@triggerRole={{@triggerRole}}
|
|
52
52
|
@title={{@title}}
|
|
53
53
|
@triggerId={{@triggerId}}
|
|
54
|
-
@allowClear={{@isClearable}}
|
|
54
|
+
@allowClear={{and @isClearable (not @disabled)}}
|
|
55
55
|
@loadingMessage={{@loadingMessage}}
|
|
56
56
|
@selectedItemComponent={{@selectedItemComponent}}
|
|
57
57
|
@beforeOptionsComponent={{if
|
|
@@ -86,4 +86,4 @@
|
|
|
86
86
|
as |option i|
|
|
87
87
|
>
|
|
88
88
|
{{yield option i}}
|
|
89
|
-
</PowerSelectMultiple>
|
|
89
|
+
</PowerSelectMultiple>
|
|
@@ -2,37 +2,46 @@
|
|
|
2
2
|
<EuiOverlayMask @headerZindexLocation="below" {{on "click" @onClose}} />
|
|
3
3
|
{{/if}}
|
|
4
4
|
{{set-body-class "euiBody--hasFlyout"}}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
(
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
5
|
+
|
|
6
|
+
{{#let
|
|
7
|
+
(if
|
|
8
|
+
(not (or (eq @maxWidth false) (eq @maxWidth true)))
|
|
9
|
+
(inline-styles max-width=@maxWidth)
|
|
10
|
+
(hash)
|
|
11
|
+
)
|
|
12
|
+
as |inlineStyles|
|
|
13
|
+
}}
|
|
14
|
+
<div
|
|
15
|
+
role="dialog"
|
|
16
|
+
class={{class-names
|
|
17
|
+
(if (eq @maxWidth true) "euiFlyout--maxWidth-default")
|
|
18
|
+
componentName="EuiFlyout"
|
|
19
|
+
size=(arg-or-default @size "m")
|
|
20
|
+
}}
|
|
21
|
+
tabindex={{0}}
|
|
22
|
+
...attributes
|
|
23
|
+
{{style inlineStyles}}
|
|
24
|
+
{{focus-trap
|
|
25
|
+
isActive=(arg-or-default @isFocusTrapActive true)
|
|
26
|
+
shouldSelfFocus=(arg-or-default @shouldSelfFocus true)
|
|
27
|
+
isPaused=(arg-or-default @isFocusTrapPaused false)
|
|
28
|
+
focusTrapOptions=(arg-or-default
|
|
29
|
+
@focusTrapOptions
|
|
30
|
+
(hash allowOutsideClick=true clickOutsideDeactivates=(not @ownFocus))
|
|
31
|
+
)
|
|
32
|
+
}}
|
|
33
|
+
{{on-key "Escape" @onClose}}
|
|
34
|
+
>
|
|
35
|
+
{{#if (and @onClose (not @hideCloseButton))}}
|
|
36
|
+
<EuiButtonIcon
|
|
37
|
+
class="euiFlyout__closeButton"
|
|
38
|
+
aria-label={{or @closeButtonAriaLabel @closeAriaLabel}}
|
|
39
|
+
@iconType="cross"
|
|
40
|
+
@color="text"
|
|
41
|
+
data-test-subj="euiFlyoutCloseButton"
|
|
42
|
+
{{on "click" @onClose}}
|
|
43
|
+
/>
|
|
44
|
+
{{/if}}
|
|
45
|
+
{{yield}}
|
|
46
|
+
</div>
|
|
47
|
+
{{/let}}
|
|
@@ -1,18 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
(
|
|
4
|
-
(
|
|
5
|
-
|
|
6
|
-
componentName="EuiListGroup"
|
|
7
|
-
gutterSize=(arg-or-default @gutterSize "s")
|
|
8
|
-
}}
|
|
9
|
-
...attributes
|
|
10
|
-
{{style
|
|
11
|
-
(if
|
|
12
|
-
(and @maxWidth (not-eq @maxWidth true))
|
|
13
|
-
(inline-styles componentName="EuiListGroup" componentArgs=(hash maxWidth=@maxWidth))
|
|
1
|
+
{{#let
|
|
2
|
+
(if
|
|
3
|
+
(and @maxWidth (not-eq @maxWidth true))
|
|
4
|
+
(inline-styles
|
|
5
|
+
componentName="EuiListGroup" componentArgs=(hash maxWidth=@maxWidth)
|
|
14
6
|
)
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
7
|
+
(hash)
|
|
8
|
+
)
|
|
9
|
+
as |inlineStyles|
|
|
10
|
+
}}
|
|
11
|
+
<ul
|
|
12
|
+
class={{class-names
|
|
13
|
+
(if (eq @maxWidth true) "euiListGroup-maxWidthDefault")
|
|
14
|
+
(if @bordered "euiListGroup-bordered")
|
|
15
|
+
(if @flush "euiListGroup-flush")
|
|
16
|
+
componentName="EuiListGroup"
|
|
17
|
+
gutterSize=(arg-or-default @gutterSize "s")
|
|
18
|
+
}}
|
|
19
|
+
...attributes
|
|
20
|
+
{{style inlineStyles}}
|
|
21
|
+
>
|
|
22
|
+
{{yield}}
|
|
23
|
+
</ul>
|
|
24
|
+
{{/let}}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
</EuiToolTip>
|
|
13
13
|
|
|
14
14
|
{{/each}}
|
|
15
|
-
<span
|
|
15
|
+
<span class="euiMarkdownEditorToolbar__divider"></span>
|
|
16
16
|
{{#each this.listButtons as |item|}}
|
|
17
17
|
<EuiToolTip @content={{item.label}} @delay="long">
|
|
18
18
|
<EuiButtonIcon
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
</EuiToolTip>
|
|
27
27
|
|
|
28
28
|
{{/each}}
|
|
29
|
-
<span
|
|
29
|
+
<span class="euiMarkdownEditorToolbar__divider"></span>
|
|
30
30
|
{{#each this.quoteCodeLinkButtons as |item|}}
|
|
31
31
|
<EuiToolTip @content={{item.label}} @delay="long">
|
|
32
32
|
<EuiButtonIcon
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
|
|
41
41
|
{{/each}}
|
|
42
42
|
{{#if (gte this.uiPlugins.length 0)}}
|
|
43
|
-
<span
|
|
43
|
+
<span class="euiMarkdownEditorToolbar__divider"></span>
|
|
44
44
|
{{#each this.uiPlugins as |plugin|}}
|
|
45
45
|
{{#let
|
|
46
46
|
(and @selectedNode (eq @selectedNode.type plugin.name))
|
|
@@ -1,28 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
(if
|
|
7
|
-
(and @maxWidth (not-eq @maxWidth true))
|
|
8
|
-
(inline-styles componentName="EuiModal" componentArgs=(hash maxWidth=@maxWidth))
|
|
1
|
+
{{#let
|
|
2
|
+
(if
|
|
3
|
+
(and @maxWidth (not-eq @maxWidth true))
|
|
4
|
+
(inline-styles
|
|
5
|
+
componentName="EuiModal" componentArgs=(hash maxWidth=@maxWidth)
|
|
9
6
|
)
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
7
|
+
(hash)
|
|
8
|
+
)
|
|
9
|
+
as |inlineStyles|
|
|
10
|
+
}}
|
|
11
|
+
<div
|
|
12
|
+
class={{class-names
|
|
13
|
+
"euiModal"
|
|
14
|
+
(if (eq @maxWidth true) "euiModal--maxWidth-default")
|
|
15
|
+
}}
|
|
16
|
+
tabindex="0"
|
|
17
|
+
...attributes
|
|
18
|
+
{{style inlineStyles}}
|
|
19
|
+
{{focus-trap
|
|
20
|
+
isActive=(arg-or-default @isFocusTrapActive true)
|
|
21
|
+
shouldSelfFocus=(arg-or-default @shouldSelfFocus true)
|
|
22
|
+
isPaused=(arg-or-default @isFocusTrapPaused false)
|
|
23
|
+
focusTrapOptions=(arg-or-default @focusTrapOptions (hash))
|
|
24
|
+
}}
|
|
25
|
+
{{on-key "Escape" @onClose}}
|
|
26
|
+
>
|
|
27
|
+
<EuiButtonIcon
|
|
28
|
+
class="euiModal__closeIcon"
|
|
29
|
+
@iconType="cross"
|
|
30
|
+
@color="text"
|
|
31
|
+
{{on "click" @onClose}}
|
|
32
|
+
/>
|
|
33
|
+
<div class="euiModal__flex">
|
|
34
|
+
{{yield}}
|
|
35
|
+
</div>
|
|
27
36
|
</div>
|
|
28
|
-
|
|
37
|
+
{{/let}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ember-eui/core",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.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": "
|
|
157
|
+
"gitHead": "2f7da18c64781db5f1cceac2b6938ff36cafa9da"
|
|
158
158
|
}
|