@ember-eui/core 5.4.4 → 5.7.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/addon/components/eui-card/index.hbs +25 -20
- package/addon/components/eui-card/index.ts +26 -0
- package/addon/components/eui-confirm-modal/index.hbs +13 -7
- package/addon/components/eui-described-form-group/index.hbs +5 -1
- package/addon/components/eui-loading-content/index.hbs +6 -1
- package/addon/components/eui-modal/index.hbs +2 -2
- package/addon/components/eui-selectable-list-item/index.hbs +24 -0
- package/addon/utils/css-mappings/eui-selectable-list-item.ts +14 -0
- package/addon/utils/css-mappings/index.ts +2 -0
- package/app/components/eui-selectable-list-item/index.js +1 -0
- package/docs/display/{avatar-demo/demo1.md → avatar/demo/d01-basic.md} +0 -2
- package/docs/display/{avatar-demo/demo2.md → avatar/demo/d02-initials.md} +0 -0
- package/docs/display/{avatar-demo/demo3.md → avatar/demo/d03-types.md} +0 -0
- package/docs/display/{avatar-demo/demo4.md → avatar/demo/d04-icons.md} +0 -0
- package/docs/display/{avatar-demo/demo5.md → avatar/demo/d05-disabled.md} +0 -0
- package/docs/display/{avatar.md → avatar/index.md} +5 -0
- package/docs/display/{badge-demo/demo1.md → badge/demo/d01-badge.md} +0 -0
- package/docs/display/{badge-demo/demo2.md → badge/demo/d02-badge-with-icon.md} +0 -0
- package/docs/display/{badge-demo/demo3.md → badge/demo/d03-badge-with-onclick-events.md} +0 -0
- package/docs/display/{badge-demo/demo4.md → badge/demo/d04-badge-for-health-status.md} +0 -0
- package/docs/display/{badge-demo/demo5.md → badge/demo/d05-badge-with-href.md} +0 -0
- package/docs/display/{badge-demo/demo7.md → badge/demo/d06-badge-groups-and-truncation.md} +0 -0
- package/docs/display/{badge-demo/demo6.md → badge/demo/d07-beta-badge-type.md} +0 -0
- package/docs/display/{badge-demo/demo8.md → badge/demo/d08-notification-badge-type.md} +0 -0
- package/docs/display/{badge.md → badge/index.md} +5 -0
- package/docs/display/{callout-demo/demo1.md → callout/demo/d01-info.md} +0 -0
- package/docs/display/{callout-demo/demo2.md → callout/demo/d02-success.md} +0 -0
- package/docs/display/{callout-demo/demo3.md → callout/demo/d03-warning.md} +0 -0
- package/docs/display/{callout-demo/demo4.md → callout/demo/d04-danger.md} +0 -0
- package/docs/display/{callout.md → callout/index.md} +6 -1
- package/docs/display/card/{basic-card-demo/demo1.md → demo/d01-basic-card.md} +5 -1
- package/docs/display/card/{layout-demo/demo1.md → demo/d02-layout.md} +4 -0
- package/docs/display/card/{images-demo/demo1.md → demo/d03-images.md} +1 -1
- package/docs/display/card/{footer-demo/demo1.md → demo/d04-footer.md} +4 -0
- package/docs/display/card/{beta-badge-demo/demo1.md → demo/d05-beta-badge.md} +4 -0
- package/docs/display/card/{selectable-demo/demo1.md → demo/d06-selectable.md} +5 -1
- package/docs/display/card/{checkable-demo/demo1.md → demo/d07-checkable.md} +1 -1
- package/docs/display/card/{checkable-demo/demo2.md → demo/d07.1-cheekable.md} +1 -1
- package/docs/display/card/{custom-children-demo/demo1.md → demo/d08-custom-children.md} +5 -1
- package/docs/display/card/index.md +14 -0
- package/docs/display/{comment-list-demo/demo1.md → comment-list/demo/d01-comment-list.md} +28 -22
- package/docs/display/{comment-list.md → comment-list/index.md} +6 -0
- package/docs/display/{description-list-demo/demo1.md → description-list/demo/d01-description-list.md} +0 -0
- package/docs/display/{description-list-demo/demo2.md → description-list/demo/d02-reverse-style.md} +0 -0
- package/docs/display/{description-list-demo/demo3.md → description-list/demo/d03-as-columns.md} +0 -0
- package/docs/display/{description-list-demo/demo4.md → description-list/demo/d04-inline.md} +0 -0
- package/docs/display/{description-list-demo/demo5.md → description-list/demo/d05-centered-and-compressed.md} +0 -0
- package/docs/display/{description-list-demo/demo6.md → description-list/demo/d06-passing-classname.md} +0 -0
- package/docs/display/{description-list.md → description-list/index.md} +6 -0
- package/docs/display/{empty-prompt-demo/demo1.md → empty-prompt/demo/d01-empty-prompt.md} +0 -0
- package/docs/display/{empty-prompt-demo/demo2.md → empty-prompt/demo/d02-less-content-more-actions.md} +0 -0
- package/docs/display/{empty-prompt-demo/demo3.md → empty-prompt/demo/d03-panel-options.md} +0 -0
- package/docs/display/{empty-prompt-demo/demo4.md → empty-prompt/demo/d04-title-sizes-and-icon-colors.md} +0 -0
- package/docs/display/{empty-prompt-demo/demo5.md → empty-prompt/demo/d05-loading-and-error-prompts.md} +0 -0
- package/docs/display/{empty-prompt-demo/demo6.md → empty-prompt/demo/d06-layout.md} +0 -0
- package/docs/display/{empty-prompt-demo/demo7.md → empty-prompt/demo/d07-more-types-of-empty-states.md} +0 -0
- package/docs/display/{empty-prompt-demo/demo8.md → empty-prompt/demo/d08-using-in-a-page-template.md} +0 -0
- package/docs/display/empty-prompt/index.md +13 -0
- package/docs/display/{health-demo/demo1.md → health/demo/d01-health.md} +0 -0
- package/docs/display/{health-demo/demo2.md → health/demo/d02-text-sizes.md} +0 -0
- package/docs/display/health/index.md +13 -0
- package/docs/display/{icons-demo/demo1.md → icons/demo/d01-glyphs.md} +0 -0
- package/docs/display/{icons-demo/demo2.md → icons/demo/d02-editor-controls.md} +0 -0
- package/docs/display/{icons-demo/demo3.md → icons/demo/d03-elastic-logos.md} +0 -0
- package/docs/display/{icons-demo/demo4.md → icons/demo/d04-apps.md} +0 -0
- package/docs/display/{icons-demo/demo5.md → icons/demo/d05-tokens.md} +0 -0
- package/docs/display/{icons-demo/demo6.md → icons/demo/d06-sizes.md} +0 -0
- package/docs/display/{icons-demo/demo7.md → icons/demo/d07-colors.md} +0 -0
- package/docs/display/{icons-demo/demo8.md → icons/demo/d08-custom-svgs.md} +0 -0
- package/docs/display/{icons.md → icons/index.md} +5 -0
- package/docs/display/{image-demo/demo1.md → image/demo/d01-image.md} +0 -0
- package/docs/display/{image-demo/demo2.md → image/demo/d02-click-an-image-for-a-fullscreen-version.md} +0 -0
- package/docs/display/{image-demo/demo3.md → image/demo/d03-images-can-be-sized.md} +0 -0
- package/docs/display/{image-demo/demo4.md → image/demo/d04-float-images-within-text.md} +0 -0
- package/docs/display/{image.md → image/index.md} +5 -1
- package/docs/display/list-group/demo/d01-list-group.md +236 -0
- package/docs/display/list-group/index.md +8 -0
- package/docs/display/loading/logo-demo/{demo1.md → d01-logos.md} +0 -0
- package/docs/display/loading/spinner-demo/d02-spinner.md +6 -0
- package/docs/display/loading/text-content-demo/{demo1.md → d3-text-content.md} +0 -2
- package/docs/display/notification-event/demo/{demo1.md → d01-notification-event.md} +15 -24
- package/docs/display/notification-event/demo/{demo2.md → d02-read-state.md} +0 -0
- package/docs/display/notification-event/demo/{demo3.md → d03-feed.md} +0 -0
- package/docs/display/notification-event/index.md +2 -2
- package/docs/display/{progress-demo → progress/demo}/demo1.md +0 -0
- package/docs/display/{progress-demo → progress/demo}/demo2.md +0 -0
- package/docs/display/{progress-demo → progress/demo}/demo3.md +0 -0
- package/docs/display/{progress-demo → progress/demo}/demo4.md +0 -0
- package/docs/display/progress/index.md +7 -0
- package/docs/display/stat-demo/{demo1.md → demo/d01-stat.md} +0 -0
- package/docs/display/stat-demo/{demo2.md → demo/d02-applying-color.md} +0 -0
- package/docs/display/stat-demo/{demo3.md → demo/d03-text-alignment.md} +0 -0
- package/docs/display/stat-demo/{demo4.md → demo/d04-title-size.md} +0 -0
- package/docs/display/stat-demo/{demo5.md → demo/d05-reverse-the-order.md} +0 -0
- package/docs/display/stat-demo/{demo6.md → demo/d06-stat-loading.md} +0 -0
- package/docs/display/stat-demo/{demo7.md → demo/d07-putting-it-all-together.md} +0 -0
- package/docs/display/{stat.md → stat-demo/index.md} +5 -0
- package/docs/display/{text-demo/demo1.md → text/demo/d01-text.md} +0 -0
- package/docs/display/{text-demo/demo2.md → text/demo/d02-coloring-text.md} +0 -0
- package/docs/display/{text-demo/demo3.md → text/demo/d03-alignment.md} +0 -0
- package/docs/display/{text.md → text/index.md} +6 -1
- package/docs/display/{title-demo/demo1.md → title/demo/d01-title.md} +0 -0
- package/docs/display/title/index.md +6 -0
- package/docs/display/toast/{toast-list-demo/demo1.md → demo/d01-toast.md} +11 -13
- package/docs/display/{tool-tip.md → toast/index.md} +6 -1
- package/docs/display/{tool-tip-demo/demo1.md → tool-tip/demo/d01-tool-tip.md} +0 -3
- package/docs/display/{tool-tip-demo/demo2.md → tool-tip/demo/d02-wrapping-components.md} +0 -0
- package/docs/display/{tool-tip-demo/demo3.md → tool-tip/demo/d03-icontip.md} +0 -0
- package/docs/display/{tool-tip-demo/demo4.md → tool-tip/demo/d04-attaching-to.md} +0 -0
- package/docs/display/tool-tip/index.md +10 -0
- package/docs/editors/code/{inline-demo/demo1.md → demo/d01-inline.md} +1 -1
- package/docs/editors/code/{code-block-demo/demo1.md → demo/d02-code-block.md} +1 -1
- package/docs/editors/code/{code-block-demo/demo5.md → demo/d03-line-numbers.md} +1 -1
- package/docs/editors/code/{code-block-demo/demo2.md → demo/d04-copy.md} +1 -1
- package/docs/editors/code/{code-block-demo/demo3.md → demo/d05-overflow-height.md} +1 -1
- package/docs/editors/code/{code-block-demo/demo4.md → demo/d06-white-space.md} +1 -1
- package/docs/editors/code/{code-block-demo/demo6.md → demo/d07-line-numbers-highlighted.md} +1 -1
- package/docs/editors/code/{code-block-demo/demo7.md → demo/d08-code-block-virtualization.md} +1 -1
- package/docs/editors/code/{code-block-demo/demo8.md → demo/d09-flyout.md} +1 -1
- package/docs/editors/code/{code-block.md → index.md} +8 -3
- package/docs/editors/markdown-editor/base-editor-demo/demo1.md +1 -4
- package/docs/editors/markdown-editor/base-editor.md +2 -1
- package/docs/forms/{form-controls/combo-box → combo-box}/demo/demo1.md +0 -2
- package/docs/forms/{form-controls/combo-box → combo-box}/demo/demo2.md +0 -0
- package/docs/forms/{form-controls/combo-box → combo-box}/demo/demo3.md +0 -0
- package/docs/forms/{form-controls/combo-box → combo-box}/demo/demo4.md +0 -0
- package/docs/forms/{form-controls/combo-box → combo-box}/demo/demo5.md +0 -0
- package/docs/forms/{form-controls/combo-box → combo-box}/index.md +1 -0
- package/docs/forms/form-controls/checkbox/index.md +1 -0
- package/docs/forms/form-controls/checkbox-group/index.md +1 -0
- package/docs/forms/form-controls/file-picker/index.md +1 -1
- package/docs/forms/form-controls/form-control-layout/demo/demo1.md +85 -69
- package/docs/forms/form-controls/form-control-layout/index.md +1 -0
- package/docs/forms/form-controls/form-control-layout-delimited/demo/demo1.md +0 -2
- package/docs/forms/form-controls/form-control-layout-delimited/index.md +1 -0
- package/docs/forms/form-controls/number-field/index.md +1 -0
- package/docs/forms/form-controls/password-field/index.md +1 -0
- package/docs/forms/form-controls/radio/index.md +1 -0
- package/docs/forms/form-controls/radio-group/index.md +1 -1
- package/docs/forms/form-controls/range/index.md +1 -0
- package/docs/forms/form-controls/search-field/index.md +1 -1
- package/docs/forms/form-controls/select/index.md +1 -1
- package/docs/forms/form-controls/switch/index.md +1 -0
- package/docs/forms/form-controls/text-field/index.md +1 -1
- package/docs/forms/form-controls/textarea/index.md +2 -0
- package/docs/forms/form-layouts/described-form-groups.md +2 -1
- package/docs/layout/accordion/index.md +14 -13
- package/docs/layout/bottom-bar/index.md +2 -1
- package/docs/layout/flex/index.md +8 -7
- package/docs/layout/flyout/index.md +2 -1
- package/docs/layout/header/index.md +2 -1
- package/docs/layout/horizontal-rule/horizontal-rule.md +2 -1
- package/docs/layout/modal/index.md +1 -1
- package/docs/layout/page-header/index.md +2 -1
- package/docs/layout/panel/index.md +1 -0
- package/docs/layout/popover/index.md +2 -1
- package/docs/layout/resizable-container/index.md +2 -1
- package/docs/layout/spacer/index.md +2 -1
- package/docs/navigation/breadcrumbs/demo/d01-basic.md +5 -7
- package/docs/navigation/button/index.md +2 -1
- package/docs/navigation/collapsible-nav.md +2 -1
- package/docs/navigation/key-pad-menu-demo/demo1.md +0 -2
- package/docs/navigation/key-pad-menu.md +2 -1
- package/docs/navigation/link-demo/demo1.md +0 -2
- package/docs/navigation/link.md +2 -1
- package/docs/navigation/side-nav-demo/demo1.md +6 -5
- package/docs/navigation/side-nav.md +2 -1
- package/docs/navigation/steps.md +2 -1
- package/docs/navigation/tabs.md +1 -0
- package/docs/templates/page-template/index.md +4 -2
- package/docs/templates/sitewide-search/index.md +2 -1
- package/docs/templates/super-date-picker/index.md +1 -1
- package/docs/utilities/auto-sizer-demo/demo1.md +0 -2
- package/docs/utilities/auto-sizer.md +2 -1
- package/docs/utilities/copy-demo/demo1.md +0 -2
- package/docs/utilities/copy.md +2 -1
- package/docs/utilities/mutation-observer-demo/demo1.md +9 -6
- package/docs/utilities/mutation-observer.md +2 -1
- package/docs/utilities/outside-click-detector-demo/demo1.md +1 -3
- package/docs/utilities/outside-click-detector.md +2 -1
- package/docs/utilities/overlay-mask-demo/demo1.md +3 -5
- package/docs/utilities/overlay-mask.md +2 -1
- package/docs/utilities/portal-demo/demo1.md +1 -1
- package/docs/utilities/portal-demo/demo2.md +15 -14
- package/docs/utilities/portal.md +2 -1
- package/docs/utilities/resize-observer-demo/demo1.md +26 -15
- package/docs/utilities/resize-observer.md +2 -1
- package/docs/utilities/responsive.md +2 -1
- package/package.json +3 -3
- package/docs/display/card/basic-card.md +0 -9
- package/docs/display/card/beta-badge.md +0 -9
- package/docs/display/card/checkable.md +0 -9
- package/docs/display/card/custom-children.md +0 -9
- package/docs/display/card/footer.md +0 -9
- package/docs/display/card/images.md +0 -9
- package/docs/display/card/layout.md +0 -9
- package/docs/display/card/selectable.md +0 -9
- package/docs/display/empty-prompt.md +0 -2
- package/docs/display/health.md +0 -9
- package/docs/display/list-group-demo/demo1.md +0 -171
- package/docs/display/list-group.md +0 -1
- package/docs/display/loading/spinner-demo/demo1.md +0 -8
- package/docs/display/progress.md +0 -1
- package/docs/display/title.md +0 -1
- package/docs/display/toast/toast-list.md +0 -1
- package/docs/editors/code/inline.md +0 -1
|
@@ -1,14 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Code
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<EuiSpacer/>
|
|
1
6
|
<EuiPageHeader @pageTitle="Code"/>
|
|
2
7
|
|
|
3
|
-
<EuiSpacer />
|
|
8
|
+
<EuiSpacer @size='l' />
|
|
9
|
+
|
|
4
10
|
<EuiCallOut>
|
|
5
11
|
<:body>
|
|
6
12
|
<strong>EuiCode</strong> and <strong>EuiCodeBlock</strong> are intended to render static lines or blocks of code in <strong>read-only</strong> contexts. If you need capabilities to edit, or want to print long code (e.g., printing JSON from an API), we recommend installing a version of Monaco. If you are building within the Kibana platform, you can use their CodeEditor.
|
|
7
13
|
</:body>
|
|
8
14
|
</EuiCallOut>
|
|
9
15
|
|
|
10
|
-
<EuiSpacer />
|
|
11
|
-
|
|
12
16
|
<EuiText>
|
|
13
17
|
<p>
|
|
14
18
|
The <strong>EuiCode</strong> and <strong>EuiCodeBlock</strong> components support <a href="https://prismjs.com/#supported-languages" target="_blank">all language syntaxes</a> supported by the <EuiCode>prism</EuiCode> <a href="https://prismjs.com" target="_blank">library</a>. The language prop can also be omitted to simply render formatted but unhighlighted code.
|
|
@@ -19,3 +23,4 @@
|
|
|
19
23
|
</EuiText>
|
|
20
24
|
|
|
21
25
|
<EuiHorizontalRule />
|
|
26
|
+
<EuiSpacer/>
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
order: 1
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
# Demo
|
|
6
|
-
|
|
7
5
|
```hbs template
|
|
8
6
|
<EuiMarkdownEditor
|
|
9
7
|
@value={{this.value}}
|
|
@@ -19,7 +17,6 @@ import { action } from '@ember/object';
|
|
|
19
17
|
import { visit } from '@ember-eui/core/utils/markdown/plugins/markdown-add-components';
|
|
20
18
|
import { defaultProcessingPlugins } from '@ember-eui/core/utils/markdown/plugins/markdown-default-plugins';
|
|
21
19
|
|
|
22
|
-
|
|
23
20
|
/*
|
|
24
21
|
Quick example how you can extend plugins, this plugin adds _blank to `a` elements
|
|
25
22
|
*/
|
|
@@ -27,7 +24,7 @@ function TargetBlankProcessingPlugin() {
|
|
|
27
24
|
return (tree) => {
|
|
28
25
|
visit(tree, (node) => {
|
|
29
26
|
if (node.type === 'element' && node.tagName === 'a') {
|
|
30
|
-
|
|
27
|
+
node.properties.target = '_blank';
|
|
31
28
|
}
|
|
32
29
|
return node;
|
|
33
30
|
});
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
<
|
|
1
|
+
<EuiSpacer/>
|
|
2
|
+
<EuiPageHeader @pageTitle="Base editor"/>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,119 +1,130 @@
|
|
|
1
|
-
# Demo
|
|
2
|
-
|
|
3
1
|
```hbs template
|
|
4
|
-
<EuiFormControlLayout @icon=
|
|
2
|
+
<EuiFormControlLayout @icon='search'>
|
|
5
3
|
<input
|
|
6
|
-
type=
|
|
7
|
-
class=
|
|
8
|
-
aria-label=
|
|
4
|
+
type='text'
|
|
5
|
+
class='euiFieldText'
|
|
6
|
+
aria-label='Use aria labels when no actual label is in use'
|
|
9
7
|
/>
|
|
10
8
|
</EuiFormControlLayout>
|
|
11
|
-
<EuiSpacer @size=
|
|
9
|
+
<EuiSpacer @size='m' />
|
|
12
10
|
<EuiFormControlLayout @isLoading={{true}}>
|
|
13
11
|
<input
|
|
14
|
-
type=
|
|
15
|
-
class=
|
|
16
|
-
aria-label=
|
|
12
|
+
type='text'
|
|
13
|
+
class='euiFieldText'
|
|
14
|
+
aria-label='Use aria labels when no actual label is in use'
|
|
17
15
|
/>
|
|
18
16
|
</EuiFormControlLayout>
|
|
19
|
-
<EuiSpacer @size=
|
|
17
|
+
<EuiSpacer @size='m' />
|
|
20
18
|
<EuiFormControlLayout @clear={{(optional)}}>
|
|
21
19
|
<input
|
|
22
|
-
type=
|
|
23
|
-
class=
|
|
24
|
-
aria-label=
|
|
20
|
+
type='text'
|
|
21
|
+
class='euiFieldText'
|
|
22
|
+
aria-label='Use aria labels when no actual label is in use'
|
|
25
23
|
/>
|
|
26
24
|
</EuiFormControlLayout>
|
|
27
|
-
<EuiSpacer size=
|
|
25
|
+
<EuiSpacer size='m' />
|
|
28
26
|
<EuiFormControlLayout @isLoading={{true}} @clear={{(optional)}}>
|
|
29
27
|
<input
|
|
30
|
-
type=
|
|
31
|
-
class=
|
|
32
|
-
aria-label=
|
|
28
|
+
type='text'
|
|
29
|
+
class='euiFieldText'
|
|
30
|
+
aria-label='Use aria labels when no actual label is in use'
|
|
33
31
|
/>
|
|
34
32
|
</EuiFormControlLayout>
|
|
35
|
-
<EuiSpacer @size=
|
|
36
|
-
<EuiFormControlLayout @isLoading={{true}} @icon=
|
|
33
|
+
<EuiSpacer @size='m' />
|
|
34
|
+
<EuiFormControlLayout @isLoading={{true}} @icon='search'>
|
|
37
35
|
<input
|
|
38
|
-
type=
|
|
39
|
-
class=
|
|
40
|
-
aria-label=
|
|
36
|
+
type='text'
|
|
37
|
+
class='euiFieldText'
|
|
38
|
+
aria-label='Use aria labels when no actual label is in use'
|
|
41
39
|
/>
|
|
42
40
|
</EuiFormControlLayout>
|
|
43
|
-
<EuiSpacer size=
|
|
44
|
-
<EuiFormControlLayout @isLoading={{true}} @icon=
|
|
41
|
+
<EuiSpacer size='m' />
|
|
42
|
+
<EuiFormControlLayout @isLoading={{true}} @icon='arrowDown' @iconSide='right'>
|
|
45
43
|
<input
|
|
46
|
-
type=
|
|
47
|
-
class=
|
|
48
|
-
aria-label=
|
|
44
|
+
type='text'
|
|
45
|
+
class='euiFieldText'
|
|
46
|
+
aria-label='Use aria labels when no actual label is in use'
|
|
49
47
|
/>
|
|
50
48
|
</EuiFormControlLayout>
|
|
51
|
-
<EuiSpacer size=
|
|
52
|
-
<EuiFormControlLayout @clear={{(optional)}} @icon=
|
|
49
|
+
<EuiSpacer size='m' />
|
|
50
|
+
<EuiFormControlLayout @clear={{(optional)}} @icon='search'>
|
|
53
51
|
<input
|
|
54
|
-
type=
|
|
55
|
-
class=
|
|
56
|
-
aria-label=
|
|
52
|
+
type='text'
|
|
53
|
+
class='euiFieldText'
|
|
54
|
+
aria-label='Use aria labels when no actual label is in use'
|
|
57
55
|
/>
|
|
58
56
|
</EuiFormControlLayout>
|
|
59
|
-
<EuiSpacer size=
|
|
60
|
-
<EuiFormControlLayout @clear={{(optional)}} @icon=
|
|
57
|
+
<EuiSpacer size='m' />
|
|
58
|
+
<EuiFormControlLayout @clear={{(optional)}} @icon='arrowDown' @iconSide='right'>
|
|
61
59
|
<input
|
|
62
|
-
type=
|
|
63
|
-
class=
|
|
64
|
-
aria-label=
|
|
60
|
+
type='text'
|
|
61
|
+
class='euiFieldText'
|
|
62
|
+
aria-label='Use aria labels when no actual label is in use'
|
|
65
63
|
/>
|
|
66
64
|
</EuiFormControlLayout>
|
|
67
|
-
<EuiSpacer @size=
|
|
68
|
-
<EuiFormControlLayout @isLoading={{true}} @clear={{(optional)}} @icon=
|
|
65
|
+
<EuiSpacer @size='m' />
|
|
66
|
+
<EuiFormControlLayout @isLoading={{true}} @clear={{(optional)}} @icon='search'>
|
|
69
67
|
<input
|
|
70
|
-
type=
|
|
71
|
-
class=
|
|
72
|
-
aria-label=
|
|
68
|
+
type='text'
|
|
69
|
+
class='euiFieldText'
|
|
70
|
+
aria-label='Use aria labels when no actual label is in use'
|
|
73
71
|
/>
|
|
74
72
|
</EuiFormControlLayout>
|
|
75
|
-
<EuiSpacer @size=
|
|
76
|
-
<EuiFormControlLayout
|
|
73
|
+
<EuiSpacer @size='m' />
|
|
74
|
+
<EuiFormControlLayout
|
|
75
|
+
@isLoading={{true}}
|
|
76
|
+
@clear={{(optional)}}
|
|
77
|
+
@icon='arrowDown'
|
|
78
|
+
@iconSide='right'
|
|
79
|
+
>
|
|
77
80
|
<input
|
|
78
|
-
type=
|
|
79
|
-
class=
|
|
80
|
-
aria-label=
|
|
81
|
+
type='text'
|
|
82
|
+
class='euiFieldText'
|
|
83
|
+
aria-label='Use aria labels when no actual label is in use'
|
|
81
84
|
/>
|
|
82
85
|
</EuiFormControlLayout>
|
|
83
|
-
<EuiSpacer @size=
|
|
84
|
-
<EuiFormControlLayout @isLoading={{true}} @clear={{(optional)}} @icon=
|
|
86
|
+
<EuiSpacer @size='m' />
|
|
87
|
+
<EuiFormControlLayout @isLoading={{true}} @clear={{(optional)}} @icon='search'>
|
|
85
88
|
<input
|
|
86
|
-
type=
|
|
87
|
-
class=
|
|
88
|
-
aria-label=
|
|
89
|
+
type='text'
|
|
90
|
+
class='euiFieldText'
|
|
91
|
+
aria-label='Use aria labels when no actual label is in use'
|
|
89
92
|
/>
|
|
90
93
|
</EuiFormControlLayout>
|
|
91
|
-
<EuiSpacer @size=
|
|
94
|
+
<EuiSpacer @size='m' />
|
|
92
95
|
<EuiFormControlLayout>
|
|
93
96
|
<:prepend as |classes|>
|
|
94
|
-
<EuiFormLabel htmlFor=
|
|
97
|
+
<EuiFormLabel htmlFor='textField19' class={{classes}}>
|
|
95
98
|
Label
|
|
96
99
|
</EuiFormLabel>
|
|
97
100
|
</:prepend>
|
|
98
101
|
<:field>
|
|
99
|
-
<input
|
|
102
|
+
<input
|
|
103
|
+
type='text'
|
|
104
|
+
class='euiFieldText euiFieldText--inGroup'
|
|
105
|
+
id='textField19'
|
|
106
|
+
/>
|
|
100
107
|
</:field>
|
|
101
108
|
</EuiFormControlLayout>
|
|
102
|
-
<EuiSpacer @size=
|
|
109
|
+
<EuiSpacer @size='m' />
|
|
103
110
|
<EuiFormControlLayout @readOnly={{true}}>
|
|
104
111
|
<:prepend as |classes|>
|
|
105
|
-
<EuiFormLabel htmlFor=
|
|
112
|
+
<EuiFormLabel htmlFor='textField19a' class={{classes}}>
|
|
106
113
|
Read only
|
|
107
114
|
</EuiFormLabel>
|
|
108
115
|
</:prepend>
|
|
109
116
|
<:field>
|
|
110
|
-
<input
|
|
117
|
+
<input
|
|
118
|
+
type='text'
|
|
119
|
+
class='euiFieldText euiFieldText--inGroup'
|
|
120
|
+
id='textField19a'
|
|
121
|
+
/>
|
|
111
122
|
</:field>
|
|
112
123
|
</EuiFormControlLayout>
|
|
113
|
-
<EuiSpacer @size=
|
|
124
|
+
<EuiSpacer @size='m' />
|
|
114
125
|
<EuiFormControlLayout>
|
|
115
126
|
<:prepend as |classes|>
|
|
116
|
-
<EuiText @size=
|
|
127
|
+
<EuiText @size='xs' class={{classes}}>
|
|
117
128
|
<strong>
|
|
118
129
|
%
|
|
119
130
|
</strong>
|
|
@@ -121,24 +132,29 @@
|
|
|
121
132
|
</:prepend>
|
|
122
133
|
<:field>
|
|
123
134
|
<input
|
|
124
|
-
type=
|
|
125
|
-
class=
|
|
126
|
-
aria-label=
|
|
135
|
+
type='number'
|
|
136
|
+
class='euiFieldNumber euiFieldNumber--inGroup'
|
|
137
|
+
aria-label='Use aria labels when no actual label is in use'
|
|
127
138
|
/>
|
|
128
139
|
</:field>
|
|
129
140
|
</EuiFormControlLayout>
|
|
130
|
-
<EuiSpacer @size=
|
|
141
|
+
<EuiSpacer @size='m' />
|
|
131
142
|
<EuiFormControlLayout @isLoading={{true}} @clear={{(optional)}}>
|
|
132
143
|
<:prepend as |classes|>
|
|
133
|
-
<EuiButtonEmpty
|
|
144
|
+
<EuiButtonEmpty
|
|
145
|
+
@size='xs'
|
|
146
|
+
@iconType='arrowDown'
|
|
147
|
+
@iconSide='right'
|
|
148
|
+
class={{classes}}
|
|
149
|
+
>
|
|
134
150
|
Button
|
|
135
151
|
</EuiButtonEmpty>
|
|
136
152
|
</:prepend>
|
|
137
153
|
<:field>
|
|
138
154
|
<input
|
|
139
|
-
type=
|
|
140
|
-
class=
|
|
141
|
-
aria-label=
|
|
155
|
+
type='text'
|
|
156
|
+
class='euiFieldText euiFieldText--inGroup'
|
|
157
|
+
aria-label='Use aria labels when no actual label is in use'
|
|
142
158
|
/>
|
|
143
159
|
</:field>
|
|
144
160
|
</EuiFormControlLayout>
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
<
|
|
1
|
+
<EuiSpacer/>
|
|
2
|
+
<EuiPageHeader @pageTitle="Described form groups"/>
|
|
@@ -2,22 +2,23 @@
|
|
|
2
2
|
title: Accordion
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
+
<EuiSpacer/>
|
|
5
6
|
<EuiPageHeader @pageTitle="Accordion"/>
|
|
6
7
|
<EuiSpacer @size="l" />
|
|
7
8
|
|
|
8
9
|
<EuiCallOut
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
10
|
+
@title='Take care when including flex group content within accordions'>
|
|
11
|
+
<:body>
|
|
12
|
+
<EuiText @size='s'>
|
|
13
|
+
<strong>EuiFlexGroup's</strong>
|
|
14
|
+
negative margins can sometimes create scrollbars within
|
|
15
|
+
<strong>EuiAccordion</strong>
|
|
16
|
+
because of the overflow tricks used to hide content. If you run into this
|
|
17
|
+
issue make sure your paddingSize prop is large enough to account for the
|
|
18
|
+
<EuiCode>gutterSize</EuiCode>
|
|
19
|
+
of any nested flex groups.
|
|
20
|
+
</EuiText>
|
|
21
|
+
</:body>
|
|
21
22
|
</EuiCallOut>
|
|
22
23
|
|
|
23
|
-
<EuiHorizontalRule/>
|
|
24
|
+
<EuiHorizontalRule/>
|
|
@@ -2,17 +2,18 @@
|
|
|
2
2
|
title: Flex
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
+
<EuiSpacer/>
|
|
5
6
|
<EuiPageHeader @pageTitle="Flex"/>
|
|
6
7
|
|
|
7
8
|
<EuiSpacer @size="l" />
|
|
8
9
|
|
|
9
10
|
<EuiCallOut
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
@title='Coloring and padding exist for examples only'>
|
|
12
|
+
<:body>
|
|
13
|
+
<EuiText @size='s'>
|
|
14
|
+
Padding and background-color are added to all the <strong>EuiFlexItem</strong> components on this documentation page for illustrative purposes only. You will need to add padding through additional components or classes if you need it.
|
|
15
|
+
</EuiText>
|
|
16
|
+
</:body>
|
|
16
17
|
</EuiCallOut>
|
|
17
18
|
|
|
18
|
-
<EuiHorizontalRule/>
|
|
19
|
+
<EuiHorizontalRule/>
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
title: Page header
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
+
<EuiSpacer/>
|
|
5
6
|
<EuiPageHeader @pageTitle="Page Header" @bottomBorder={{true}}>
|
|
6
7
|
<:description>
|
|
7
8
|
<EuiText>While the <strong>EuiPageHeader</strong> component can be placed anywhere within your page layout, we recommend using it within the <a href="#"><strong>EuiPageTemplate</strong></a> component by passing the configuration props as its <EuiCode>pageHeader</EuiCode>.</EuiText>
|
|
8
9
|
</:description>
|
|
9
10
|
|
|
10
|
-
</EuiPageHeader>
|
|
11
|
+
</EuiPageHeader>
|