@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.
Files changed (206) hide show
  1. package/addon/components/eui-card/index.hbs +25 -20
  2. package/addon/components/eui-card/index.ts +26 -0
  3. package/addon/components/eui-confirm-modal/index.hbs +13 -7
  4. package/addon/components/eui-described-form-group/index.hbs +5 -1
  5. package/addon/components/eui-loading-content/index.hbs +6 -1
  6. package/addon/components/eui-modal/index.hbs +2 -2
  7. package/addon/components/eui-selectable-list-item/index.hbs +24 -0
  8. package/addon/utils/css-mappings/eui-selectable-list-item.ts +14 -0
  9. package/addon/utils/css-mappings/index.ts +2 -0
  10. package/app/components/eui-selectable-list-item/index.js +1 -0
  11. package/docs/display/{avatar-demo/demo1.md → avatar/demo/d01-basic.md} +0 -2
  12. package/docs/display/{avatar-demo/demo2.md → avatar/demo/d02-initials.md} +0 -0
  13. package/docs/display/{avatar-demo/demo3.md → avatar/demo/d03-types.md} +0 -0
  14. package/docs/display/{avatar-demo/demo4.md → avatar/demo/d04-icons.md} +0 -0
  15. package/docs/display/{avatar-demo/demo5.md → avatar/demo/d05-disabled.md} +0 -0
  16. package/docs/display/{avatar.md → avatar/index.md} +5 -0
  17. package/docs/display/{badge-demo/demo1.md → badge/demo/d01-badge.md} +0 -0
  18. package/docs/display/{badge-demo/demo2.md → badge/demo/d02-badge-with-icon.md} +0 -0
  19. package/docs/display/{badge-demo/demo3.md → badge/demo/d03-badge-with-onclick-events.md} +0 -0
  20. package/docs/display/{badge-demo/demo4.md → badge/demo/d04-badge-for-health-status.md} +0 -0
  21. package/docs/display/{badge-demo/demo5.md → badge/demo/d05-badge-with-href.md} +0 -0
  22. package/docs/display/{badge-demo/demo7.md → badge/demo/d06-badge-groups-and-truncation.md} +0 -0
  23. package/docs/display/{badge-demo/demo6.md → badge/demo/d07-beta-badge-type.md} +0 -0
  24. package/docs/display/{badge-demo/demo8.md → badge/demo/d08-notification-badge-type.md} +0 -0
  25. package/docs/display/{badge.md → badge/index.md} +5 -0
  26. package/docs/display/{callout-demo/demo1.md → callout/demo/d01-info.md} +0 -0
  27. package/docs/display/{callout-demo/demo2.md → callout/demo/d02-success.md} +0 -0
  28. package/docs/display/{callout-demo/demo3.md → callout/demo/d03-warning.md} +0 -0
  29. package/docs/display/{callout-demo/demo4.md → callout/demo/d04-danger.md} +0 -0
  30. package/docs/display/{callout.md → callout/index.md} +6 -1
  31. package/docs/display/card/{basic-card-demo/demo1.md → demo/d01-basic-card.md} +5 -1
  32. package/docs/display/card/{layout-demo/demo1.md → demo/d02-layout.md} +4 -0
  33. package/docs/display/card/{images-demo/demo1.md → demo/d03-images.md} +1 -1
  34. package/docs/display/card/{footer-demo/demo1.md → demo/d04-footer.md} +4 -0
  35. package/docs/display/card/{beta-badge-demo/demo1.md → demo/d05-beta-badge.md} +4 -0
  36. package/docs/display/card/{selectable-demo/demo1.md → demo/d06-selectable.md} +5 -1
  37. package/docs/display/card/{checkable-demo/demo1.md → demo/d07-checkable.md} +1 -1
  38. package/docs/display/card/{checkable-demo/demo2.md → demo/d07.1-cheekable.md} +1 -1
  39. package/docs/display/card/{custom-children-demo/demo1.md → demo/d08-custom-children.md} +5 -1
  40. package/docs/display/card/index.md +14 -0
  41. package/docs/display/{comment-list-demo/demo1.md → comment-list/demo/d01-comment-list.md} +28 -22
  42. package/docs/display/{comment-list.md → comment-list/index.md} +6 -0
  43. package/docs/display/{description-list-demo/demo1.md → description-list/demo/d01-description-list.md} +0 -0
  44. package/docs/display/{description-list-demo/demo2.md → description-list/demo/d02-reverse-style.md} +0 -0
  45. package/docs/display/{description-list-demo/demo3.md → description-list/demo/d03-as-columns.md} +0 -0
  46. package/docs/display/{description-list-demo/demo4.md → description-list/demo/d04-inline.md} +0 -0
  47. package/docs/display/{description-list-demo/demo5.md → description-list/demo/d05-centered-and-compressed.md} +0 -0
  48. package/docs/display/{description-list-demo/demo6.md → description-list/demo/d06-passing-classname.md} +0 -0
  49. package/docs/display/{description-list.md → description-list/index.md} +6 -0
  50. package/docs/display/{empty-prompt-demo/demo1.md → empty-prompt/demo/d01-empty-prompt.md} +0 -0
  51. package/docs/display/{empty-prompt-demo/demo2.md → empty-prompt/demo/d02-less-content-more-actions.md} +0 -0
  52. package/docs/display/{empty-prompt-demo/demo3.md → empty-prompt/demo/d03-panel-options.md} +0 -0
  53. package/docs/display/{empty-prompt-demo/demo4.md → empty-prompt/demo/d04-title-sizes-and-icon-colors.md} +0 -0
  54. package/docs/display/{empty-prompt-demo/demo5.md → empty-prompt/demo/d05-loading-and-error-prompts.md} +0 -0
  55. package/docs/display/{empty-prompt-demo/demo6.md → empty-prompt/demo/d06-layout.md} +0 -0
  56. package/docs/display/{empty-prompt-demo/demo7.md → empty-prompt/demo/d07-more-types-of-empty-states.md} +0 -0
  57. package/docs/display/{empty-prompt-demo/demo8.md → empty-prompt/demo/d08-using-in-a-page-template.md} +0 -0
  58. package/docs/display/empty-prompt/index.md +13 -0
  59. package/docs/display/{health-demo/demo1.md → health/demo/d01-health.md} +0 -0
  60. package/docs/display/{health-demo/demo2.md → health/demo/d02-text-sizes.md} +0 -0
  61. package/docs/display/health/index.md +13 -0
  62. package/docs/display/{icons-demo/demo1.md → icons/demo/d01-glyphs.md} +0 -0
  63. package/docs/display/{icons-demo/demo2.md → icons/demo/d02-editor-controls.md} +0 -0
  64. package/docs/display/{icons-demo/demo3.md → icons/demo/d03-elastic-logos.md} +0 -0
  65. package/docs/display/{icons-demo/demo4.md → icons/demo/d04-apps.md} +0 -0
  66. package/docs/display/{icons-demo/demo5.md → icons/demo/d05-tokens.md} +0 -0
  67. package/docs/display/{icons-demo/demo6.md → icons/demo/d06-sizes.md} +0 -0
  68. package/docs/display/{icons-demo/demo7.md → icons/demo/d07-colors.md} +0 -0
  69. package/docs/display/{icons-demo/demo8.md → icons/demo/d08-custom-svgs.md} +0 -0
  70. package/docs/display/{icons.md → icons/index.md} +5 -0
  71. package/docs/display/{image-demo/demo1.md → image/demo/d01-image.md} +0 -0
  72. package/docs/display/{image-demo/demo2.md → image/demo/d02-click-an-image-for-a-fullscreen-version.md} +0 -0
  73. package/docs/display/{image-demo/demo3.md → image/demo/d03-images-can-be-sized.md} +0 -0
  74. package/docs/display/{image-demo/demo4.md → image/demo/d04-float-images-within-text.md} +0 -0
  75. package/docs/display/{image.md → image/index.md} +5 -1
  76. package/docs/display/list-group/demo/d01-list-group.md +236 -0
  77. package/docs/display/list-group/index.md +8 -0
  78. package/docs/display/loading/logo-demo/{demo1.md → d01-logos.md} +0 -0
  79. package/docs/display/loading/spinner-demo/d02-spinner.md +6 -0
  80. package/docs/display/loading/text-content-demo/{demo1.md → d3-text-content.md} +0 -2
  81. package/docs/display/notification-event/demo/{demo1.md → d01-notification-event.md} +15 -24
  82. package/docs/display/notification-event/demo/{demo2.md → d02-read-state.md} +0 -0
  83. package/docs/display/notification-event/demo/{demo3.md → d03-feed.md} +0 -0
  84. package/docs/display/notification-event/index.md +2 -2
  85. package/docs/display/{progress-demo → progress/demo}/demo1.md +0 -0
  86. package/docs/display/{progress-demo → progress/demo}/demo2.md +0 -0
  87. package/docs/display/{progress-demo → progress/demo}/demo3.md +0 -0
  88. package/docs/display/{progress-demo → progress/demo}/demo4.md +0 -0
  89. package/docs/display/progress/index.md +7 -0
  90. package/docs/display/stat-demo/{demo1.md → demo/d01-stat.md} +0 -0
  91. package/docs/display/stat-demo/{demo2.md → demo/d02-applying-color.md} +0 -0
  92. package/docs/display/stat-demo/{demo3.md → demo/d03-text-alignment.md} +0 -0
  93. package/docs/display/stat-demo/{demo4.md → demo/d04-title-size.md} +0 -0
  94. package/docs/display/stat-demo/{demo5.md → demo/d05-reverse-the-order.md} +0 -0
  95. package/docs/display/stat-demo/{demo6.md → demo/d06-stat-loading.md} +0 -0
  96. package/docs/display/stat-demo/{demo7.md → demo/d07-putting-it-all-together.md} +0 -0
  97. package/docs/display/{stat.md → stat-demo/index.md} +5 -0
  98. package/docs/display/{text-demo/demo1.md → text/demo/d01-text.md} +0 -0
  99. package/docs/display/{text-demo/demo2.md → text/demo/d02-coloring-text.md} +0 -0
  100. package/docs/display/{text-demo/demo3.md → text/demo/d03-alignment.md} +0 -0
  101. package/docs/display/{text.md → text/index.md} +6 -1
  102. package/docs/display/{title-demo/demo1.md → title/demo/d01-title.md} +0 -0
  103. package/docs/display/title/index.md +6 -0
  104. package/docs/display/toast/{toast-list-demo/demo1.md → demo/d01-toast.md} +11 -13
  105. package/docs/display/{tool-tip.md → toast/index.md} +6 -1
  106. package/docs/display/{tool-tip-demo/demo1.md → tool-tip/demo/d01-tool-tip.md} +0 -3
  107. package/docs/display/{tool-tip-demo/demo2.md → tool-tip/demo/d02-wrapping-components.md} +0 -0
  108. package/docs/display/{tool-tip-demo/demo3.md → tool-tip/demo/d03-icontip.md} +0 -0
  109. package/docs/display/{tool-tip-demo/demo4.md → tool-tip/demo/d04-attaching-to.md} +0 -0
  110. package/docs/display/tool-tip/index.md +10 -0
  111. package/docs/editors/code/{inline-demo/demo1.md → demo/d01-inline.md} +1 -1
  112. package/docs/editors/code/{code-block-demo/demo1.md → demo/d02-code-block.md} +1 -1
  113. package/docs/editors/code/{code-block-demo/demo5.md → demo/d03-line-numbers.md} +1 -1
  114. package/docs/editors/code/{code-block-demo/demo2.md → demo/d04-copy.md} +1 -1
  115. package/docs/editors/code/{code-block-demo/demo3.md → demo/d05-overflow-height.md} +1 -1
  116. package/docs/editors/code/{code-block-demo/demo4.md → demo/d06-white-space.md} +1 -1
  117. package/docs/editors/code/{code-block-demo/demo6.md → demo/d07-line-numbers-highlighted.md} +1 -1
  118. package/docs/editors/code/{code-block-demo/demo7.md → demo/d08-code-block-virtualization.md} +1 -1
  119. package/docs/editors/code/{code-block-demo/demo8.md → demo/d09-flyout.md} +1 -1
  120. package/docs/editors/code/{code-block.md → index.md} +8 -3
  121. package/docs/editors/markdown-editor/base-editor-demo/demo1.md +1 -4
  122. package/docs/editors/markdown-editor/base-editor.md +2 -1
  123. package/docs/forms/{form-controls/combo-box → combo-box}/demo/demo1.md +0 -2
  124. package/docs/forms/{form-controls/combo-box → combo-box}/demo/demo2.md +0 -0
  125. package/docs/forms/{form-controls/combo-box → combo-box}/demo/demo3.md +0 -0
  126. package/docs/forms/{form-controls/combo-box → combo-box}/demo/demo4.md +0 -0
  127. package/docs/forms/{form-controls/combo-box → combo-box}/demo/demo5.md +0 -0
  128. package/docs/forms/{form-controls/combo-box → combo-box}/index.md +1 -0
  129. package/docs/forms/form-controls/checkbox/index.md +1 -0
  130. package/docs/forms/form-controls/checkbox-group/index.md +1 -0
  131. package/docs/forms/form-controls/file-picker/index.md +1 -1
  132. package/docs/forms/form-controls/form-control-layout/demo/demo1.md +85 -69
  133. package/docs/forms/form-controls/form-control-layout/index.md +1 -0
  134. package/docs/forms/form-controls/form-control-layout-delimited/demo/demo1.md +0 -2
  135. package/docs/forms/form-controls/form-control-layout-delimited/index.md +1 -0
  136. package/docs/forms/form-controls/number-field/index.md +1 -0
  137. package/docs/forms/form-controls/password-field/index.md +1 -0
  138. package/docs/forms/form-controls/radio/index.md +1 -0
  139. package/docs/forms/form-controls/radio-group/index.md +1 -1
  140. package/docs/forms/form-controls/range/index.md +1 -0
  141. package/docs/forms/form-controls/search-field/index.md +1 -1
  142. package/docs/forms/form-controls/select/index.md +1 -1
  143. package/docs/forms/form-controls/switch/index.md +1 -0
  144. package/docs/forms/form-controls/text-field/index.md +1 -1
  145. package/docs/forms/form-controls/textarea/index.md +2 -0
  146. package/docs/forms/form-layouts/described-form-groups.md +2 -1
  147. package/docs/layout/accordion/index.md +14 -13
  148. package/docs/layout/bottom-bar/index.md +2 -1
  149. package/docs/layout/flex/index.md +8 -7
  150. package/docs/layout/flyout/index.md +2 -1
  151. package/docs/layout/header/index.md +2 -1
  152. package/docs/layout/horizontal-rule/horizontal-rule.md +2 -1
  153. package/docs/layout/modal/index.md +1 -1
  154. package/docs/layout/page-header/index.md +2 -1
  155. package/docs/layout/panel/index.md +1 -0
  156. package/docs/layout/popover/index.md +2 -1
  157. package/docs/layout/resizable-container/index.md +2 -1
  158. package/docs/layout/spacer/index.md +2 -1
  159. package/docs/navigation/breadcrumbs/demo/d01-basic.md +5 -7
  160. package/docs/navigation/button/index.md +2 -1
  161. package/docs/navigation/collapsible-nav.md +2 -1
  162. package/docs/navigation/key-pad-menu-demo/demo1.md +0 -2
  163. package/docs/navigation/key-pad-menu.md +2 -1
  164. package/docs/navigation/link-demo/demo1.md +0 -2
  165. package/docs/navigation/link.md +2 -1
  166. package/docs/navigation/side-nav-demo/demo1.md +6 -5
  167. package/docs/navigation/side-nav.md +2 -1
  168. package/docs/navigation/steps.md +2 -1
  169. package/docs/navigation/tabs.md +1 -0
  170. package/docs/templates/page-template/index.md +4 -2
  171. package/docs/templates/sitewide-search/index.md +2 -1
  172. package/docs/templates/super-date-picker/index.md +1 -1
  173. package/docs/utilities/auto-sizer-demo/demo1.md +0 -2
  174. package/docs/utilities/auto-sizer.md +2 -1
  175. package/docs/utilities/copy-demo/demo1.md +0 -2
  176. package/docs/utilities/copy.md +2 -1
  177. package/docs/utilities/mutation-observer-demo/demo1.md +9 -6
  178. package/docs/utilities/mutation-observer.md +2 -1
  179. package/docs/utilities/outside-click-detector-demo/demo1.md +1 -3
  180. package/docs/utilities/outside-click-detector.md +2 -1
  181. package/docs/utilities/overlay-mask-demo/demo1.md +3 -5
  182. package/docs/utilities/overlay-mask.md +2 -1
  183. package/docs/utilities/portal-demo/demo1.md +1 -1
  184. package/docs/utilities/portal-demo/demo2.md +15 -14
  185. package/docs/utilities/portal.md +2 -1
  186. package/docs/utilities/resize-observer-demo/demo1.md +26 -15
  187. package/docs/utilities/resize-observer.md +2 -1
  188. package/docs/utilities/responsive.md +2 -1
  189. package/package.json +3 -3
  190. package/docs/display/card/basic-card.md +0 -9
  191. package/docs/display/card/beta-badge.md +0 -9
  192. package/docs/display/card/checkable.md +0 -9
  193. package/docs/display/card/custom-children.md +0 -9
  194. package/docs/display/card/footer.md +0 -9
  195. package/docs/display/card/images.md +0 -9
  196. package/docs/display/card/layout.md +0 -9
  197. package/docs/display/card/selectable.md +0 -9
  198. package/docs/display/empty-prompt.md +0 -2
  199. package/docs/display/health.md +0 -9
  200. package/docs/display/list-group-demo/demo1.md +0 -171
  201. package/docs/display/list-group.md +0 -1
  202. package/docs/display/loading/spinner-demo/demo1.md +0 -8
  203. package/docs/display/progress.md +0 -1
  204. package/docs/display/title.md +0 -1
  205. package/docs/display/toast/toast-list.md +0 -1
  206. 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
- node.properties.target = '_blank';
27
+ node.properties.target = '_blank';
31
28
  }
32
29
  return node;
33
30
  });
@@ -1 +1,2 @@
1
- <EuiPageHeader @pageTitle="Base editor"/>
1
+ <EuiSpacer/>
2
+ <EuiPageHeader @pageTitle="Base editor"/>
@@ -2,8 +2,6 @@
2
2
  order: 1
3
3
  ---
4
4
 
5
- # Basic
6
-
7
5
  <EuiText>
8
6
  <p>
9
7
  <strong>EuiComboBox </strong> ember's implementation uses <a href="https://ember-power-select.com">ember-power-select</a> under the hood for a rich selector, so please refer to it if needed.
@@ -3,4 +3,5 @@ order: 1
3
3
  title: Combo box
4
4
  ---
5
5
 
6
+ <EuiSpacer/>
6
7
  <EuiPageHeader @pageTitle="Combo box"/>
@@ -3,6 +3,7 @@ order: 1
3
3
  title: Checkbox
4
4
  ---
5
5
 
6
+ <EuiSpacer/>
6
7
  <EuiPageHeader @pageTitle="Checkbox"/>
7
8
 
8
9
  <EuiSpacer />
@@ -3,6 +3,7 @@ order: 2
3
3
  title: Checkbox group
4
4
  ---
5
5
 
6
+ <EuiSpacer/>
6
7
  <EuiPageHeader @pageTitle="Checkbox group"/>
7
8
 
8
9
  <EuiSpacer />
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  title: File picker
3
3
  ---
4
-
4
+ <EuiSpacer/>
5
5
  <EuiPageHeader @pageTitle="File picker"/>
6
6
 
7
7
  <EuiSpacer />
@@ -1,119 +1,130 @@
1
- # Demo
2
-
3
1
  ```hbs template
4
- <EuiFormControlLayout @icon="search">
2
+ <EuiFormControlLayout @icon='search'>
5
3
  <input
6
- type="text"
7
- class="euiFieldText"
8
- aria-label="Use aria labels when no actual label is in use"
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="m" />
9
+ <EuiSpacer @size='m' />
12
10
  <EuiFormControlLayout @isLoading={{true}}>
13
11
  <input
14
- type="text"
15
- class="euiFieldText"
16
- aria-label="Use aria labels when no actual label is in use"
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="m" />
17
+ <EuiSpacer @size='m' />
20
18
  <EuiFormControlLayout @clear={{(optional)}}>
21
19
  <input
22
- type="text"
23
- class="euiFieldText"
24
- aria-label="Use aria labels when no actual label is in use"
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="m" />
25
+ <EuiSpacer size='m' />
28
26
  <EuiFormControlLayout @isLoading={{true}} @clear={{(optional)}}>
29
27
  <input
30
- type="text"
31
- class="euiFieldText"
32
- aria-label="Use aria labels when no actual label is in use"
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="m" />
36
- <EuiFormControlLayout @isLoading={{true}} @icon="search">
33
+ <EuiSpacer @size='m' />
34
+ <EuiFormControlLayout @isLoading={{true}} @icon='search'>
37
35
  <input
38
- type="text"
39
- class="euiFieldText"
40
- aria-label="Use aria labels when no actual label is in use"
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="m" />
44
- <EuiFormControlLayout @isLoading={{true}} @icon="arrowDown" @iconSide="right">
41
+ <EuiSpacer size='m' />
42
+ <EuiFormControlLayout @isLoading={{true}} @icon='arrowDown' @iconSide='right'>
45
43
  <input
46
- type="text"
47
- class="euiFieldText"
48
- aria-label="Use aria labels when no actual label is in use"
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="m" />
52
- <EuiFormControlLayout @clear={{(optional)}} @icon="search">
49
+ <EuiSpacer size='m' />
50
+ <EuiFormControlLayout @clear={{(optional)}} @icon='search'>
53
51
  <input
54
- type="text"
55
- class="euiFieldText"
56
- aria-label="Use aria labels when no actual label is in use"
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="m" />
60
- <EuiFormControlLayout @clear={{(optional)}} @icon="arrowDown" @iconSide="right">
57
+ <EuiSpacer size='m' />
58
+ <EuiFormControlLayout @clear={{(optional)}} @icon='arrowDown' @iconSide='right'>
61
59
  <input
62
- type="text"
63
- class="euiFieldText"
64
- aria-label="Use aria labels when no actual label is in use"
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="m" />
68
- <EuiFormControlLayout @isLoading={{true}} @clear={{(optional)}} @icon="search">
65
+ <EuiSpacer @size='m' />
66
+ <EuiFormControlLayout @isLoading={{true}} @clear={{(optional)}} @icon='search'>
69
67
  <input
70
- type="text"
71
- class="euiFieldText"
72
- aria-label="Use aria labels when no actual label is in use"
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="m" />
76
- <EuiFormControlLayout @isLoading={{true}} @clear={{(optional)}} @icon="arrowDown" @iconSide="right">
73
+ <EuiSpacer @size='m' />
74
+ <EuiFormControlLayout
75
+ @isLoading={{true}}
76
+ @clear={{(optional)}}
77
+ @icon='arrowDown'
78
+ @iconSide='right'
79
+ >
77
80
  <input
78
- type="text"
79
- class="euiFieldText"
80
- aria-label="Use aria labels when no actual label is in use"
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="m" />
84
- <EuiFormControlLayout @isLoading={{true}} @clear={{(optional)}} @icon="search">
86
+ <EuiSpacer @size='m' />
87
+ <EuiFormControlLayout @isLoading={{true}} @clear={{(optional)}} @icon='search'>
85
88
  <input
86
- type="text"
87
- class="euiFieldText"
88
- aria-label="Use aria labels when no actual label is in use"
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="m" />
94
+ <EuiSpacer @size='m' />
92
95
  <EuiFormControlLayout>
93
96
  <:prepend as |classes|>
94
- <EuiFormLabel htmlFor="textField19" class={{classes}}>
97
+ <EuiFormLabel htmlFor='textField19' class={{classes}}>
95
98
  Label
96
99
  </EuiFormLabel>
97
100
  </:prepend>
98
101
  <:field>
99
- <input type="text" class="euiFieldText euiFieldText--inGroup" id="textField19" />
102
+ <input
103
+ type='text'
104
+ class='euiFieldText euiFieldText--inGroup'
105
+ id='textField19'
106
+ />
100
107
  </:field>
101
108
  </EuiFormControlLayout>
102
- <EuiSpacer @size="m" />
109
+ <EuiSpacer @size='m' />
103
110
  <EuiFormControlLayout @readOnly={{true}}>
104
111
  <:prepend as |classes|>
105
- <EuiFormLabel htmlFor="textField19a" class={{classes}}>
112
+ <EuiFormLabel htmlFor='textField19a' class={{classes}}>
106
113
  Read only
107
114
  </EuiFormLabel>
108
115
  </:prepend>
109
116
  <:field>
110
- <input type="text" class="euiFieldText euiFieldText--inGroup" id="textField19a" />
117
+ <input
118
+ type='text'
119
+ class='euiFieldText euiFieldText--inGroup'
120
+ id='textField19a'
121
+ />
111
122
  </:field>
112
123
  </EuiFormControlLayout>
113
- <EuiSpacer @size="m" />
124
+ <EuiSpacer @size='m' />
114
125
  <EuiFormControlLayout>
115
126
  <:prepend as |classes|>
116
- <EuiText @size="xs" class={{classes}}>
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="number"
125
- class="euiFieldNumber euiFieldNumber--inGroup"
126
- aria-label="Use aria labels when no actual label is in use"
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="m" />
141
+ <EuiSpacer @size='m' />
131
142
  <EuiFormControlLayout @isLoading={{true}} @clear={{(optional)}}>
132
143
  <:prepend as |classes|>
133
- <EuiButtonEmpty @size="xs" @iconType="arrowDown" @iconSide="right" class={{classes}}>
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="text"
140
- class="euiFieldText euiFieldText--inGroup"
141
- aria-label="Use aria labels when no actual label is in use"
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>
@@ -2,6 +2,7 @@
2
2
  title: Form control layout
3
3
  ---
4
4
 
5
+ <EuiSpacer/>
5
6
  <EuiPageHeader @pageTitle="Form control layout"/>
6
7
 
7
8
  <EuiSpacer />
@@ -1,5 +1,3 @@
1
- # Demo
2
-
3
1
  ```hbs template
4
2
  <EuiFormControlLayoutDelimited @delimiter='+'>
5
3
  <:prepend as |classes|>
@@ -2,6 +2,7 @@
2
2
  title: Form control layout delimited
3
3
  ---
4
4
 
5
+ <EuiSpacer/>
5
6
  <EuiPageHeader @pageTitle="Form control layout delimited"/>
6
7
 
7
8
  <EuiSpacer />
@@ -2,6 +2,7 @@
2
2
  title: Number field
3
3
  ---
4
4
 
5
+ <EuiSpacer/>
5
6
  <EuiPageHeader @pageTitle="Number field"/>
6
7
 
7
8
  <EuiText>
@@ -2,6 +2,7 @@
2
2
  title: Password field
3
3
  ---
4
4
 
5
+ <EuiSpacer/>
5
6
  <EuiPageHeader @pageTitle="Password field"/>
6
7
 
7
8
  <EuiSpacer />
@@ -3,6 +3,7 @@ order: 3
3
3
  title: Radio
4
4
  ---
5
5
 
6
+ <EuiSpacer/>
6
7
  <EuiPageHeader @pageTitle="Radio"/>
7
8
 
8
9
  <EuiSpacer />
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  title: Radio group
3
3
  ---
4
-
4
+ <EuiSpacer/>
5
5
  <EuiPageHeader @pageTitle="Radio group"/>
6
6
 
7
7
  <EuiSpacer />
@@ -2,6 +2,7 @@
2
2
  title: Range
3
3
  ---
4
4
 
5
+ <EuiSpacer/>
5
6
  <EuiPageHeader @pageTitle="Range"/>
6
7
 
7
8
  <EuiSpacer />
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  title: Search field
3
3
  ---
4
-
4
+ <EuiSpacer/>
5
5
  <EuiPageHeader @pageTitle="Search field"/>
6
6
 
7
7
  <EuiSpacer />
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  title: Select
3
3
  ---
4
-
4
+ <EuiSpacer/>
5
5
  <EuiPageHeader @pageTitle="Select"/>
6
6
 
7
7
  <EuiSpacer />
@@ -2,6 +2,7 @@
2
2
  title: Switch
3
3
  ---
4
4
 
5
+ <EuiSpacer/>
5
6
  <EuiPageHeader @pageTitle="Switch"/>
6
7
 
7
8
  <EuiSpacer />
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  title: Text field
3
3
  ---
4
-
4
+ <EuiSpacer/>
5
5
  <EuiPageHeader @pageTitle="Text field"/>
6
6
 
7
7
  <EuiSpacer />
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  title: Textarea
3
3
  ---
4
+
5
+ <EuiSpacer/>
4
6
  <EuiPageHeader @pageTitle="Textarea"/>
5
7
 
6
8
  <EuiSpacer />
@@ -1 +1,2 @@
1
- <EuiPageHeader @pageTitle="Described form groups"/>
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
- @title='Take care when including flex group content within accordions'>
10
- <:body>
11
- <EuiText @size='s'>
12
- <strong>EuiFlexGroup's</strong>
13
- negative margins can sometimes create scrollbars within
14
- <strong>EuiAccordion</strong>
15
- because of the overflow tricks used to hide content. If you run into this
16
- issue make sure your paddingSize prop is large enough to account for the
17
- <EuiCode>gutterSize</EuiCode>
18
- of any nested flex groups.
19
- </EuiText>
20
- </:body>
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,6 +2,7 @@
2
2
  title: Bottom bar
3
3
  ---
4
4
 
5
+ <EuiSpacer/>
5
6
  <EuiPageHeader @pageTitle="Bottom bar"/>
6
7
 
7
8
  <EuiSpacer/>
@@ -15,4 +16,4 @@ title: Bottom bar
15
16
  </:body>
16
17
  </EuiCallOut>
17
18
 
18
- <EuiHorizontalRule/>
19
+ <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
- @title='Coloring and padding exist for examples only'>
11
- <:body>
12
- <EuiText @size='s'>
13
- 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.
14
- </EuiText>
15
- </:body>
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,6 +2,7 @@
2
2
  title: Flyout
3
3
  ---
4
4
 
5
+ <EuiSpacer/>
5
6
  <EuiPageHeader @pageTitle="Flyout"/>
6
7
 
7
- <EuiHorizontalRule/>
8
+ <EuiHorizontalRule/>
@@ -2,6 +2,7 @@
2
2
  title: Header
3
3
  ---
4
4
 
5
+ <EuiSpacer/>
5
6
  <EuiPageHeader @pageTitle="Header"/>
6
7
 
7
- <EuiHorizontalRule/>
8
+ <EuiHorizontalRule/>
@@ -2,6 +2,7 @@
2
2
  title: Horizontal Rule
3
3
  ---
4
4
 
5
+ <EuiSpacer/>
5
6
  <EuiPageHeader @pageTitle="Horizontal Rule"/>
6
7
 
7
- <EuiHorizontalRule/>
8
+ <EuiHorizontalRule/>
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  title: Modal
3
3
  ---
4
-
4
+ <EuiSpacer/>
5
5
  <EuiPageHeader @pageTitle="Modal"/>
6
6
 
7
7
  <EuiSpacer @size="l" />
@@ -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>
@@ -2,6 +2,7 @@
2
2
  title: Panel
3
3
  ---
4
4
 
5
+ <EuiSpacer/>
5
6
  <EuiPageHeader @pageTitle="Panel"/>
6
7
 
7
8
  <EuiText>
@@ -2,6 +2,7 @@
2
2
  title: Popover
3
3
  ---
4
4
 
5
+ <EuiSpacer/>
5
6
  <EuiPageHeader @pageTitle="Popover"/>
6
7
 
7
- <EuiHorizontalRule/>
8
+ <EuiHorizontalRule/>
@@ -12,4 +12,5 @@ disabled_demos:
12
12
  - d08-collapsible-panels-with-external-control
13
13
  ---
14
14
 
15
- <EuiPageHeader @pageTitle="Resizable container"/>
15
+ <EuiSpacer/>
16
+ <EuiPageHeader @pageTitle="Resizable container"/>
@@ -2,6 +2,7 @@
2
2
  title: Spacer
3
3
  ---
4
4
 
5
+ <EuiSpacer/>
5
6
  <EuiPageHeader @pageTitle="Spacer"/>
6
7
 
7
- <EuiHorizontalRule/>
8
+ <EuiHorizontalRule/>