@ember-eui/core 4.3.0 → 5.0.0-alpha.3
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/common.ts +1 -0
- package/addon/components/eui-accordion/index.hbs +106 -85
- package/addon/components/eui-accordion/index.ts +58 -19
- package/addon/components/eui-auto-sizer/index.hbs +3 -0
- package/addon/components/eui-auto-sizer/index.ts +175 -0
- package/addon/components/eui-avatar/index.hbs +7 -3
- package/addon/components/eui-badge/index.hbs +9 -3
- package/addon/components/eui-beta-badge/index.hbs +171 -19
- package/addon/components/eui-bottom-bar/index.hbs +43 -12
- package/addon/components/eui-bottom-bar/index.ts +75 -32
- package/addon/components/eui-breadcrumbs/index.hbs +98 -0
- package/addon/components/eui-breadcrumbs/index.ts +194 -0
- package/addon/components/eui-button/index.hbs +4 -4
- package/addon/components/eui-button-content/index.hbs +6 -2
- package/addon/components/eui-button-empty/index.hbs +60 -52
- package/addon/components/eui-button-icon/index.hbs +17 -3
- package/addon/components/eui-call-out/index.hbs +1 -0
- package/addon/components/eui-card/index.hbs +61 -47
- package/addon/components/eui-card/index.ts +27 -0
- package/addon/components/{eui-card/eui-card-select → eui-card-select}/index.hbs +2 -5
- package/addon/components/eui-card-select/index.ts +35 -0
- package/addon/components/eui-checkable-card/index.hbs +17 -11
- package/addon/components/eui-checkbox/index.hbs +11 -5
- package/addon/components/eui-checkbox/index.ts +15 -0
- package/addon/components/eui-code/index.hbs +14 -8
- package/addon/components/eui-code/index.ts +73 -0
- package/addon/components/eui-code-block/controls/index.hbs +26 -0
- package/addon/components/eui-code-block/full-screen-display/index.hbs +12 -0
- package/addon/components/eui-code-block/index.hbs +144 -9
- package/addon/components/eui-code-block/index.ts +290 -0
- package/addon/components/eui-code-block/virtualized/index.hbs +30 -0
- package/addon/components/eui-code-block/virtualized/index.ts +22 -0
- package/addon/components/eui-collapsible-nav/index.hbs +35 -44
- package/addon/components/eui-collapsible-nav/index.ts +161 -0
- package/addon/components/eui-collapsible-nav-group/index.hbs +114 -66
- package/addon/components/eui-combo-box/group/index.hbs +3 -3
- package/addon/components/eui-combo-box/index.hbs +8 -5
- package/addon/components/eui-combo-box/index.ts +89 -4
- package/addon/components/eui-combo-box/options/index.hbs +14 -2
- package/addon/components/eui-combo-box/options/index.js +22 -9
- package/addon/components/eui-combo-box/trigger/index.hbs +3 -1
- package/addon/components/eui-confirm-modal/index.hbs +1 -1
- package/addon/components/eui-copy/index.hbs +1 -4
- package/addon/components/eui-described-form-group/index.hbs +3 -2
- package/addon/components/eui-description-list/index.hbs +23 -0
- package/addon/components/eui-description-list-description/index.hbs +3 -0
- package/addon/components/eui-description-list-title/index.hbs +3 -0
- package/addon/components/eui-dual-range/index.hbs +30 -18
- package/addon/components/eui-dual-range/index.ts +36 -10
- package/addon/components/eui-empty-prompt/index.hbs +83 -0
- package/addon/components/eui-field-number/index.hbs +3 -3
- package/addon/components/eui-field-number/types.ts +4 -1
- package/addon/components/eui-field-search/index.hbs +2 -1
- package/addon/components/eui-field-text/index.hbs +3 -1
- package/addon/components/eui-file-picker/index.hbs +15 -11
- package/addon/components/eui-file-picker/index.ts +26 -8
- package/addon/components/eui-flyout/index.hbs +130 -43
- package/addon/components/eui-flyout/index.ts +233 -0
- package/addon/components/eui-flyout-body/index.hbs +21 -7
- package/addon/components/eui-form-control-layout-custom-icon/types.ts +3 -1
- package/addon/components/eui-form-control-layout-icons/types.ts +4 -1
- package/addon/components/eui-form-label/index.hbs +1 -1
- package/addon/components/eui-form-row/index.hbs +13 -9
- package/addon/components/eui-global-toast-list/index.ts +5 -6
- package/addon/components/eui-header/index.hbs +18 -3
- package/addon/{modifiers/fixed-header.ts → components/eui-header/index.ts} +10 -1
- package/addon/components/eui-header-alert/index.hbs +25 -0
- package/addon/components/eui-header-breadcrumbs/index.hbs +7 -0
- package/addon/components/eui-header-links/index.hbs +41 -0
- package/addon/components/eui-header-links/index.ts +14 -0
- package/addon/components/eui-header-section-item-button/index.hbs +30 -12
- package/addon/components/eui-header-section-item-button/index.ts +131 -0
- package/addon/components/eui-health/index.hbs +15 -13
- package/addon/components/eui-hide-for/index.hbs +3 -0
- package/addon/components/eui-hide-for/index.ts +33 -0
- package/addon/components/eui-icon/index.hbs +6 -3
- package/addon/components/eui-icon/index.ts +4 -0
- package/addon/components/eui-image/index.hbs +63 -25
- package/addon/components/eui-image/index.ts +7 -2
- package/addon/components/eui-input-popover/index.ts +6 -4
- package/addon/components/eui-key-pad-menu/index.hbs +16 -0
- package/addon/components/eui-key-pad-menu/key/index.hbs +1 -0
- package/addon/components/eui-key-pad-menu-item/index.hbs +66 -0
- package/addon/components/eui-key-pad-menu-item/index.ts +11 -0
- package/addon/components/eui-link/index.hbs +50 -0
- package/addon/components/eui-list-group-item/index.hbs +10 -2
- package/addon/components/eui-loading-logo/index.hbs +14 -0
- package/addon/components/eui-markdown-editor/index.hbs +4 -1
- package/addon/components/eui-markdown-editor/index.ts +54 -0
- package/addon/components/eui-markdown-editor-footer/index.hbs +39 -40
- package/addon/components/eui-markdown-format/index.ts +1 -1
- package/addon/components/eui-markdown-format/markdown-code/index.hbs +2 -2
- package/addon/components/eui-markdown-format/markdown-code-block/index.hbs +1 -0
- package/addon/components/eui-modal/index.hbs +28 -24
- package/addon/components/eui-overlay-mask/index.hbs +4 -4
- package/addon/components/eui-overlay-mask/index.ts +14 -1
- package/addon/components/eui-page/index.hbs +3 -6
- package/addon/components/eui-page-body/index.hbs +47 -15
- package/addon/components/eui-page-content/index.hbs +6 -8
- package/addon/components/eui-page-content-body/index.hbs +13 -1
- package/addon/components/eui-page-content-header/index.hbs +6 -0
- package/addon/components/eui-page-header/index.hbs +31 -6
- package/addon/components/eui-page-header-content/index.hbs +219 -0
- package/addon/components/eui-page-header-content/index.ts +49 -0
- package/addon/components/eui-page-side-bar/index.hbs +8 -1
- package/addon/components/eui-page-template/index.hbs +417 -0
- package/addon/components/eui-page-template/index.ts +89 -0
- package/addon/components/eui-panel/index.hbs +58 -12
- package/addon/components/eui-popover/index.hbs +8 -4
- package/addon/components/eui-popover/index.ts +28 -12
- package/addon/components/eui-portal/index.ts +2 -1
- package/addon/components/eui-progress/index.hbs +16 -13
- package/addon/components/eui-radio/index.hbs +9 -3
- package/addon/components/eui-range/index.hbs +33 -11
- package/addon/components/eui-range/index.ts +7 -4
- package/addon/components/eui-range-input/index.hbs +37 -31
- package/addon/components/eui-range-input/types.ts +2 -1
- package/addon/components/eui-range-levels/index.hbs +3 -3
- package/addon/components/eui-range-levels/index.ts +14 -3
- package/addon/components/eui-range-ticks/index.hbs +2 -2
- package/addon/components/eui-range-track/index.hbs +10 -2
- package/addon/components/eui-range-track/index.ts +23 -6
- package/addon/components/eui-show-for/index.hbs +3 -0
- package/addon/components/eui-show-for/index.ts +79 -0
- package/addon/components/eui-side-nav/index.hbs +161 -36
- package/addon/components/eui-side-nav/index.ts +28 -0
- package/addon/components/eui-side-nav-item/button/index.hbs +26 -14
- package/addon/components/eui-side-nav-item/index.hbs +52 -25
- package/addon/components/eui-split-panel/inner/index.hbs +11 -0
- package/addon/components/eui-split-panel/outer/index.hbs +27 -0
- package/addon/components/eui-split-panel/outer/index.ts +37 -0
- package/addon/components/eui-step/eui-step-number/index.hbs +21 -4
- package/addon/components/eui-steps/index.hbs +7 -1
- package/addon/components/eui-tab/index.hbs +60 -46
- package/addon/components/eui-tab/index.ts +23 -0
- package/addon/components/eui-tabs/index.hbs +6 -9
- package/addon/components/eui-tool-tip/index.hbs +6 -7
- package/addon/components/eui-tool-tip/index.ts +27 -11
- package/addon/helpers/arg-or-default.ts +4 -1
- package/addon/helpers/class-names.ts +2 -0
- package/addon/helpers/eui-palette.ts +4 -1
- package/addon/helpers/get-range-tick.ts +53 -8
- package/addon/helpers/get-tab-id.ts +8 -2
- package/addon/helpers/hex-to-rgb.ts +4 -1
- package/addon/helpers/inline-styles.ts +10 -3
- package/addon/helpers/is-within-number.ts +4 -1
- package/addon/helpers/starts-with.ts +3 -1
- package/addon/helpers/unique-id.ts +4 -1
- package/addon/initializers/eui-config.ts +12 -0
- package/addon/modifiers/mutation-observer.ts +4 -1
- package/addon/modifiers/outside-click-detector.ts +4 -4
- package/addon/styles/ember-eui.css +2 -10
- package/addon/utils/accesibility/cascading-menu-keys.ts +8 -1
- package/addon/utils/breakpoint.ts +114 -0
- package/addon/utils/code/utils.ts +304 -0
- package/addon/utils/color/color_palette.ts +3 -3
- package/addon/utils/color/eui_palettes.ts +23 -6
- package/addon/utils/css-mappings/eui-avatar.ts +51 -9
- package/addon/utils/css-mappings/eui-badge.ts +6 -2
- package/addon/utils/css-mappings/eui-beta-badge.ts +22 -0
- package/addon/utils/css-mappings/eui-bottom-bar.ts +8 -1
- package/addon/utils/css-mappings/eui-button-empty.ts +4 -4
- package/addon/utils/css-mappings/eui-button-icon.ts +19 -6
- package/addon/utils/css-mappings/eui-button.ts +2 -1
- package/addon/utils/css-mappings/eui-card-select.ts +1 -11
- package/addon/utils/css-mappings/eui-card.ts +1 -18
- package/addon/utils/css-mappings/{eui-code-block-impl.ts → eui-code-block.ts} +0 -0
- package/addon/utils/css-mappings/eui-description-list.ts +29 -0
- package/addon/utils/css-mappings/eui-empty-prompt.ts +17 -0
- package/addon/utils/css-mappings/eui-flyout.ts +21 -1
- package/addon/utils/css-mappings/eui-header-links.ts +27 -0
- package/addon/utils/css-mappings/eui-health.ts +17 -0
- package/addon/utils/css-mappings/eui-icon.ts +93 -70
- package/addon/utils/css-mappings/eui-image.ts +17 -2
- package/addon/utils/css-mappings/eui-link.ts +21 -0
- package/addon/utils/css-mappings/eui-list-group.ts +5 -1
- package/addon/utils/css-mappings/eui-modal.ts +5 -1
- package/addon/utils/css-mappings/eui-page-body.ts +25 -0
- package/addon/utils/css-mappings/eui-page-content-body.ts +17 -0
- package/addon/utils/css-mappings/eui-page-content.ts +7 -1
- package/addon/utils/css-mappings/eui-page-header.ts +17 -0
- package/addon/utils/css-mappings/eui-page-side-bar.ts +17 -0
- package/addon/utils/css-mappings/eui-panel.ts +1 -0
- package/addon/utils/css-mappings/eui-progress-data.ts +0 -1
- package/addon/utils/css-mappings/eui-progress.ts +0 -2
- package/addon/utils/css-mappings/eui-range-levels.ts +22 -4
- package/addon/utils/css-mappings/eui-tabs.ts +3 -1
- package/addon/utils/css-mappings/eui-text-color.ts +3 -2
- package/addon/utils/css-mappings/index.ts +23 -3
- package/addon/utils/detect-element-resize.js +248 -0
- package/addon/utils/markdown/markdown-types.ts +10 -11
- package/addon/utils/markdown/plugins/markdown-add-components/index.ts +1 -0
- package/addon/utils/markdown/plugins/{markdown-add-components.ts → markdown-add-components/processor.ts} +14 -7
- package/addon/utils/markdown/plugins/markdown-checkbox/index.ts +9 -0
- package/addon/utils/markdown/plugins/{markdown-checkbox.ts → markdown-checkbox/parser.ts} +3 -5
- package/addon/utils/markdown/plugins/markdown-default-plugins/index.ts +12 -0
- package/addon/utils/markdown/plugins/{markdown-default-plugins.ts → markdown-default-plugins/parsing-plugins.ts} +13 -25
- package/addon/utils/markdown/plugins/markdown-default-plugins/plugins.ts +32 -0
- package/addon/utils/markdown/plugins/markdown-default-plugins/processing-plugins.ts +67 -0
- package/addon/utils/markdown/plugins/markdown-default-plugins/ui-plugins.ts +27 -0
- package/addon/utils/markdown/plugins/markdown-tooltip/index.ts +2 -0
- package/addon/utils/markdown/plugins/{markdown-tooltip.ts → markdown-tooltip/parser.ts} +3 -23
- package/addon/utils/markdown/plugins/markdown-tooltip/plugin.ts +17 -0
- package/addon/utils/markdown/plugins/to-dom.ts +3 -1
- package/addon/utils/markdown/remark/remark-prismjs.ts +41 -0
- package/addon/utils/popover/index.ts +87 -35
- package/addon/utils/range/index.ts +1 -0
- package/addon/utils/transition.ts +10 -3
- package/addon/version.ts +6 -0
- package/app/components/eui-auto-sizer/index.js +1 -0
- package/app/components/eui-avatar/index.js +1 -1
- package/app/components/eui-badge-group/badge-group-item/index.js +1 -1
- package/app/components/eui-badge-group/index.js +1 -1
- package/app/components/eui-breadcrumbs/index.js +1 -0
- package/app/components/eui-button-icon/index.js +1 -1
- package/app/components/eui-card-select/index.js +1 -0
- package/app/components/{eui-code-block-impl → eui-code-block/controls}/index.js +1 -1
- package/app/components/{eui-code-block-impl/code-block-controls → eui-code-block/full-screen-display}/index.js +1 -1
- package/app/components/eui-code-block/virtualized/index.js +1 -0
- package/app/components/eui-combo-box/create-option/index.js +1 -1
- package/app/components/eui-comment/eui-comment-timeline/index.js +1 -1
- package/app/components/eui-comment/index.js +1 -1
- package/app/components/eui-description-list/index.js +1 -0
- package/app/components/eui-description-list-description/index.js +1 -0
- package/app/components/eui-description-list-title/index.js +1 -0
- package/app/components/eui-dual-range/index.js +1 -1
- package/app/components/eui-empty-prompt/index.js +1 -0
- package/app/components/eui-field-number/index.js +1 -1
- package/app/components/eui-field-password/index.js +1 -1
- package/app/components/eui-field-search/index.js +1 -1
- package/app/components/eui-field-text/index.js +1 -1
- package/app/components/eui-file-picker/index.js +1 -1
- package/app/components/eui-form/index.js +1 -1
- package/app/components/eui-form-control-layout/index.js +1 -1
- package/app/components/eui-form-control-layout-clear-button/index.js +1 -1
- package/app/components/eui-form-control-layout-custom-icon/index.js +1 -1
- package/app/components/eui-form-control-layout-delimited/index.js +1 -1
- package/app/components/eui-form-control-layout-icons/index.js +1 -1
- package/app/components/eui-form-error-text/index.js +1 -1
- package/app/components/eui-form-fieldset/index.js +1 -1
- package/app/components/eui-form-help-text/index.js +1 -1
- package/app/components/eui-form-label/index.js +1 -1
- package/app/components/eui-form-legend/index.js +1 -1
- package/app/components/eui-form-row/index.js +1 -1
- package/app/components/eui-header-alert/index.js +1 -0
- package/app/components/eui-header-breadcrumbs/index.js +1 -0
- package/app/components/eui-header-links/index.js +1 -0
- package/app/components/eui-hide-for/index.js +1 -0
- package/app/components/eui-image.js +1 -1
- package/app/components/eui-key-pad-menu/index.js +1 -0
- package/app/components/eui-key-pad-menu/key/index.js +1 -0
- package/app/components/eui-key-pad-menu-item/index.js +1 -0
- package/app/components/eui-link/index.js +1 -0
- package/app/components/eui-list-group/index.js +1 -1
- package/app/components/eui-list-group-item/index.js +1 -1
- package/app/components/eui-loading-logo/index.js +1 -0
- package/app/components/eui-overlay-mask.js +1 -1
- package/app/components/eui-page/index.js +1 -1
- package/app/components/eui-page-body/index.js +1 -1
- package/app/components/eui-page-content/index.js +1 -1
- package/app/components/eui-page-content-body/index.js +1 -1
- package/app/components/eui-page-content-header/index.js +1 -1
- package/app/components/eui-page-content-header-section/index.js +1 -1
- package/app/components/eui-page-header/index.js +1 -1
- package/app/components/eui-page-header-content/index.js +1 -0
- package/app/components/eui-page-header-section/index.js +1 -1
- package/app/components/eui-page-template/index.js +1 -0
- package/app/components/eui-panel/index.js +1 -1
- package/app/components/eui-popover/index.js +1 -1
- package/app/components/eui-popover-footer/index.js +1 -1
- package/app/components/eui-popover-title/index.js +1 -1
- package/app/components/eui-portal/index.js +1 -1
- package/app/components/eui-progress/index.js +1 -1
- package/app/components/eui-radio/index.js +1 -1
- package/app/components/eui-radio-group/index.js +1 -1
- package/app/components/eui-range/index.js +1 -1
- package/app/components/eui-range-highlight/index.js +1 -1
- package/app/components/eui-range-input/index.js +1 -1
- package/app/components/eui-range-label/index.js +1 -1
- package/app/components/eui-range-levels/index.js +1 -1
- package/app/components/eui-range-slider/index.js +1 -1
- package/app/components/eui-range-thumb/index.js +1 -1
- package/app/components/eui-range-ticks/index.js +1 -1
- package/app/components/eui-range-tooltip/index.js +1 -1
- package/app/components/eui-range-track/index.js +1 -1
- package/app/components/eui-range-wrapper/index.js +1 -1
- package/app/components/eui-select/index.js +1 -1
- package/app/components/eui-show-for/index.js +1 -0
- package/app/components/eui-side-nav/index.js +1 -1
- package/app/components/eui-side-nav-item/button/index.js +1 -1
- package/app/components/eui-side-nav-item/index.js +1 -1
- package/app/components/eui-spacer/index.js +1 -1
- package/app/components/eui-split-panel/inner/index.js +1 -0
- package/app/components/eui-split-panel/outer/index.js +1 -0
- package/app/components/eui-switch/index.js +1 -1
- package/app/components/eui-tab/index.js +1 -1
- package/app/components/eui-tabs/index.js +1 -1
- package/app/components/eui-text/index.js +1 -1
- package/app/components/eui-text-align/index.js +1 -1
- package/app/components/eui-text-area/index.js +1 -1
- package/app/components/eui-text-color/index.js +1 -1
- package/app/components/eui-title/index.js +1 -1
- package/app/components/eui-tool-tip/index.js +1 -1
- package/app/components/eui-tool-tip-popover/index.js +1 -1
- package/app/helpers/eui-palette.js +1 -1
- package/app/helpers/hex-to-rgb.js +1 -1
- package/app/initializers/eui-config.js +1 -0
- package/app/utils/copy-to-clipboard.js +1 -0
- package/docs/display/avatar-demo/demo1.md +43 -49
- package/docs/display/avatar-demo/demo2.md +42 -0
- package/docs/display/avatar-demo/demo3.md +33 -0
- package/docs/display/avatar-demo/demo4.md +53 -0
- package/docs/display/avatar-demo/demo5.md +38 -0
- package/docs/display/avatar.md +1 -1
- package/docs/display/badge-demo/demo1.md +78 -137
- package/docs/display/badge-demo/demo2.md +32 -0
- package/docs/display/badge-demo/demo3.md +70 -0
- package/docs/display/badge-demo/demo4.md +27 -0
- package/docs/display/badge-demo/demo5.md +31 -0
- package/docs/display/badge-demo/demo6.md +59 -0
- package/docs/display/badge-demo/demo7.md +97 -0
- package/docs/display/badge-demo/demo8.md +19 -0
- package/docs/display/badge.md +1 -1
- package/docs/display/callout-demo/demo1.md +29 -81
- package/docs/display/callout-demo/demo2.md +28 -0
- package/docs/display/callout-demo/demo3.md +29 -0
- package/docs/display/callout-demo/demo4.md +26 -0
- package/docs/display/callout.md +9 -1
- package/docs/display/card/basic-card-demo/demo1.md +22 -316
- package/docs/display/card/basic-card.md +9 -1
- package/docs/display/card/beta-badge-demo/demo1.md +47 -0
- package/docs/display/card/beta-badge.md +9 -0
- package/docs/display/card/checkable-demo/demo1.md +20 -94
- package/docs/display/card/checkable-demo/demo2.md +63 -0
- package/docs/display/card/checkable.md +9 -1
- package/docs/display/card/custom-children-demo/demo1.md +93 -0
- package/docs/display/card/custom-children.md +9 -0
- package/docs/display/card/footer-demo/demo1.md +77 -0
- package/docs/display/card/footer.md +9 -0
- package/docs/display/card/images-demo/demo1.md +57 -0
- package/docs/display/card/images.md +9 -0
- package/docs/display/card/layout-demo/demo1.md +40 -0
- package/docs/display/card/layout.md +9 -0
- package/docs/display/card/selectable-demo/demo1.md +60 -53
- package/docs/display/card/selectable.md +9 -1
- package/docs/display/comment-list.md +1 -1
- package/docs/display/description-list-demo/demo1.md +53 -0
- package/docs/display/description-list-demo/demo2.md +43 -0
- package/docs/display/description-list-demo/demo3.md +58 -0
- package/docs/display/description-list-demo/demo4.md +42 -0
- package/docs/display/description-list-demo/demo5.md +62 -0
- package/docs/display/description-list-demo/demo6.md +46 -0
- package/docs/display/description-list.md +1 -0
- package/docs/display/empty-prompt-demo/demo1.md +25 -0
- package/docs/display/empty-prompt-demo/demo2.md +16 -0
- package/docs/display/empty-prompt-demo/demo3.md +67 -0
- package/docs/display/empty-prompt-demo/demo4.md +21 -0
- package/docs/display/empty-prompt-demo/demo5.md +33 -0
- package/docs/display/empty-prompt-demo/demo6.md +43 -0
- package/docs/display/empty-prompt-demo/demo7.md +162 -0
- package/docs/display/empty-prompt-demo/demo8.md +57 -0
- package/docs/display/empty-prompt.md +1 -0
- package/docs/display/health-demo/demo1.md +11 -8
- package/docs/display/health-demo/demo2.md +31 -0
- package/docs/display/health.md +9 -1
- package/docs/display/icons-demo/demo1.md +270 -57
- package/docs/display/icons-demo/demo2.md +76 -0
- package/docs/display/icons-demo/demo3.md +76 -0
- package/docs/display/icons-demo/demo4.md +104 -0
- package/docs/display/icons-demo/demo5.md +64 -0
- package/docs/display/icons-demo/demo6.md +63 -0
- package/docs/display/icons-demo/demo7.md +101 -0
- package/docs/display/icons-demo/demo8.md +47 -0
- package/docs/display/icons.md +1 -1
- package/docs/display/image-demo/demo1.md +15 -50
- package/docs/display/image-demo/demo2.md +35 -0
- package/docs/display/image-demo/demo3.md +75 -0
- package/docs/display/image-demo/demo4.md +80 -0
- package/docs/display/image.md +9 -1
- package/docs/display/list-group.md +1 -1
- package/docs/display/loading/logo-demo/demo1.md +15 -0
- package/docs/display/loading/logo.md +1 -0
- package/docs/display/progress-demo/demo1.md +10 -5
- package/docs/display/progress-demo/demo2.md +11 -26
- package/docs/display/progress-demo/demo3.md +27 -0
- package/docs/display/progress-demo/demo4.md +77 -0
- package/docs/display/progress.md +1 -1
- package/docs/display/stat-demo/demo1.md +0 -118
- package/docs/display/stat-demo/demo2.md +24 -22
- package/docs/display/stat-demo/demo3.md +39 -0
- package/docs/display/stat-demo/demo4.md +50 -0
- package/docs/display/stat-demo/demo5.md +25 -0
- package/docs/display/stat-demo/demo6.md +40 -0
- package/docs/display/stat-demo/demo7.md +84 -0
- package/docs/display/stat.md +8 -1
- package/docs/display/text-demo/demo1.md +79 -130
- package/docs/display/text-demo/demo2.md +71 -0
- package/docs/display/text-demo/demo3.md +39 -0
- package/docs/display/text.md +12 -1
- package/docs/display/title-demo/demo1.md +50 -26
- package/docs/display/title.md +1 -1
- package/docs/display/tool-tip-demo/demo1.md +26 -71
- package/docs/display/tool-tip-demo/demo2.md +33 -30
- package/docs/display/tool-tip-demo/demo3.md +50 -0
- package/docs/display/tool-tip-demo/demo4.md +74 -0
- package/docs/display/tool-tip.md +11 -1
- package/docs/editors/code/code-block-demo/demo1.md +21 -40
- package/docs/editors/code/code-block-demo/demo2.md +35 -0
- package/docs/editors/code/code-block-demo/demo3.md +43 -0
- package/docs/editors/code/code-block-demo/demo4.md +28 -0
- package/docs/editors/code/code-block-demo/demo5.md +42 -0
- package/docs/editors/code/code-block-demo/demo6.md +42 -0
- package/docs/editors/code/code-block-demo/demo7.md +853 -0
- package/docs/editors/code/code-block-demo/demo8.md +855 -0
- package/docs/editors/code/code-block.md +21 -1
- package/docs/editors/code/inline-demo/demo1.md +6 -3
- package/docs/editors/code/inline.md +1 -1
- package/docs/editors/markdown-editor/base-editor-demo/demo1.md +9 -28
- package/docs/editors/markdown-editor/base-editor.md +1 -1
- package/docs/forms/form-controls/checkbox/demo/demo1.md +49 -0
- package/docs/forms/form-controls/checkbox/index.md +26 -0
- package/docs/forms/form-controls/{checkbox-group-demo → checkbox-group/demo}/demo1.md +4 -13
- package/docs/forms/form-controls/checkbox-group/index.md +27 -0
- package/docs/forms/form-controls/{combo-box-demo → combo-box/demo}/demo1.md +8 -2
- package/docs/forms/form-controls/{combo-box-demo → combo-box/demo}/demo2.md +10 -8
- package/docs/forms/form-controls/combo-box/demo/demo3.md +60 -0
- package/docs/forms/form-controls/{combo-box-demo/demo3.md → combo-box/demo/demo4.md} +17 -14
- package/docs/forms/form-controls/combo-box/demo/demo5.md +151 -0
- package/docs/forms/form-controls/combo-box/index.md +6 -0
- package/docs/forms/form-controls/file-picker/demo/demo1.md +29 -0
- package/docs/forms/form-controls/file-picker/demo/demo2.md +44 -0
- package/docs/forms/form-controls/file-picker/demo/demo3.md +45 -0
- package/docs/forms/form-controls/file-picker/demo/demo4.md +63 -0
- package/docs/forms/form-controls/file-picker/index.md +22 -0
- package/docs/forms/form-controls/{form-control-layout-demo → form-control-layout/demo}/demo1.md +0 -0
- package/docs/forms/form-controls/form-control-layout/index.md +30 -0
- package/docs/forms/form-controls/{form-control-layout-delimited-demo → form-control-layout-delimited/demo}/demo1.md +41 -37
- package/docs/forms/form-controls/form-control-layout-delimited/index.md +24 -0
- package/docs/forms/form-controls/number-field/demo/demo1.md +20 -0
- package/docs/forms/form-controls/{number-field-demo/demo1.md → number-field/demo/demo2.md} +23 -11
- package/docs/forms/form-controls/number-field/index.md +12 -0
- package/docs/forms/form-controls/password-field/demo/demo1.md +19 -0
- package/docs/forms/form-controls/{password-field-demo/demo1.md → password-field/demo/demo2.md} +12 -8
- package/docs/forms/form-controls/password-field/index.md +19 -0
- package/docs/forms/form-controls/radio/demo/demo1.md +43 -0
- package/docs/forms/form-controls/radio/index.md +24 -0
- package/docs/forms/form-controls/radio-group/demo/demo1.md +50 -0
- package/docs/forms/form-controls/radio-group/index.md +18 -0
- package/docs/forms/form-controls/range/demo/demo1.md +96 -0
- package/docs/forms/form-controls/range/demo/demo2.md +62 -0
- package/docs/forms/form-controls/{range-demo → range/demo}/demo3.md +10 -12
- package/docs/forms/form-controls/{range-demo → range/demo}/demo4.md +16 -18
- package/docs/forms/form-controls/{range-demo → range/demo}/demo5.md +18 -20
- package/docs/forms/form-controls/range/demo/demo6.md +57 -0
- package/docs/forms/form-controls/range/demo/demo7.md +350 -0
- package/docs/forms/form-controls/range/index.md +18 -0
- package/docs/forms/form-controls/search-field/demo/demo1.md +29 -0
- package/docs/forms/form-controls/search-field/index.md +14 -0
- package/docs/forms/form-controls/select/demo/demo1.md +29 -0
- package/docs/forms/form-controls/select/demo/demo2.md +44 -0
- package/docs/forms/form-controls/{select-demo/demo1.md → select/demo/demo3.md} +20 -10
- package/docs/forms/form-controls/select/index.md +19 -0
- package/docs/forms/form-controls/{switch-demo → switch/demo}/demo1.md +10 -10
- package/docs/forms/form-controls/switch/index.md +13 -0
- package/docs/forms/form-controls/text-field/demo/demo1.md +35 -0
- package/docs/forms/form-controls/text-field/demo/demo2.md +40 -0
- package/docs/forms/form-controls/{text-field-demo/demo2.md → text-field/demo/demo3.md} +14 -17
- package/docs/forms/form-controls/{text-field-demo/demo1.md → text-field/demo/demo4.md} +18 -32
- package/docs/forms/form-controls/text-field/index.md +14 -0
- package/docs/forms/form-controls/textarea/demo/demo1.md +21 -0
- package/docs/forms/form-controls/textarea/demo/demo2.md +24 -0
- package/docs/forms/form-controls/textarea/index.md +13 -0
- package/docs/forms/form-layouts/described-form-groups-demo/demo1.md +13 -4
- package/docs/forms/form-layouts/described-form-groups.md +1 -1
- package/docs/layout/accordion-demo/demo1.md +21 -102
- package/docs/layout/accordion-demo/demo2.md +76 -0
- package/docs/layout/accordion-demo/demo3.md +25 -0
- package/docs/layout/accordion-demo/demo4.md +26 -0
- package/docs/layout/accordion-demo/demo5.md +65 -0
- package/docs/layout/accordion-demo/demo6.md +78 -0
- package/docs/layout/accordion-demo/demo7.md +66 -0
- package/docs/layout/accordion-demo/demo8.md +64 -0
- package/docs/layout/accordion-demo/demo9.md +114 -0
- package/docs/layout/accordion.md +39 -9
- package/docs/layout/bottom-bar-demo/demo1.md +32 -49
- package/docs/layout/bottom-bar-demo/demo2.md +54 -0
- package/docs/layout/bottom-bar-demo/demo3.md +81 -0
- package/docs/layout/bottom-bar.md +1 -1
- package/docs/layout/flex.md +1 -1
- package/docs/layout/flyout-demo/demo1.md +19 -11
- package/docs/layout/flyout-demo/demo2.md +43 -28
- package/docs/layout/flyout-demo/demo3.md +99 -0
- package/docs/layout/flyout-demo/demo4.md +115 -0
- package/docs/layout/flyout-demo/demo5.md +59 -0
- package/docs/layout/flyout-demo/demo6.md +57 -0
- package/docs/layout/flyout-demo/demo7.md +51 -0
- package/docs/layout/flyout.md +1 -1
- package/docs/layout/header-demo/demo1.md +284 -35
- package/docs/layout/header-demo/demo2.md +42 -0
- package/docs/layout/header-demo/demo3.md +48 -0
- package/docs/layout/header-demo/demo4.md +57 -0
- package/docs/layout/header-demo/demo5.md +232 -0
- package/docs/layout/header-demo/demo6.md +85 -0
- package/docs/layout/header-demo/demo7.md +94 -0
- package/docs/layout/header.md +1 -1
- package/docs/layout/horizontal-rule.md +1 -1
- package/docs/layout/modal-demo/demo1.md +64 -167
- package/docs/layout/modal-demo/demo2.md +126 -0
- package/docs/layout/modal-demo/demo3.md +55 -0
- package/docs/layout/modal-demo/demo4.md +65 -0
- package/docs/layout/modal-demo/demo5.md +96 -0
- package/docs/layout/modal.md +1 -1
- package/docs/layout/page-demo/demo1.md +96 -3
- package/docs/layout/page-demo/demo10.md +42 -0
- package/docs/layout/page-demo/demo2.md +46 -0
- package/docs/layout/page-demo/demo3.md +50 -0
- package/docs/layout/page-demo/demo4.md +38 -0
- package/docs/layout/page-demo/demo5.md +30 -0
- package/docs/layout/page-demo/demo6.md +51 -0
- package/docs/layout/page-demo/demo7.md +59 -0
- package/docs/layout/page-demo/demo8.md +19 -0
- package/docs/layout/page-demo/demo9.md +29 -0
- package/docs/layout/page.md +1 -1
- package/docs/layout/panel-demo/demo1.md +28 -19
- package/docs/layout/panel-demo/demo2.md +22 -0
- package/docs/layout/panel-demo/demo3.md +27 -0
- package/docs/layout/panel-demo/demo4.md +46 -0
- package/docs/layout/panel-demo/demo5.md +81 -0
- package/docs/layout/panel.md +7 -1
- package/docs/layout/popover-demo/demo1.md +42 -300
- package/docs/layout/popover-demo/demo10.md +72 -0
- package/docs/layout/popover-demo/demo2.md +306 -96
- package/docs/layout/popover-demo/demo3.md +20 -12
- package/docs/layout/popover-demo/demo4.md +118 -0
- package/docs/layout/popover-demo/demo5.md +252 -0
- package/docs/layout/popover-demo/demo6.md +44 -0
- package/docs/layout/popover-demo/demo7.md +44 -0
- package/docs/layout/popover-demo/demo8.md +50 -0
- package/docs/layout/popover-demo/demo9.md +80 -0
- package/docs/layout/popover.md +1 -1
- package/docs/navigation/breadcrumbs-demo/demo1.md +77 -0
- package/docs/navigation/breadcrumbs-demo/demo2.md +61 -0
- package/docs/navigation/breadcrumbs-demo/demo3.md +61 -0
- package/docs/navigation/breadcrumbs-demo/demo4.md +61 -0
- package/docs/navigation/breadcrumbs-demo/demo5.md +61 -0
- package/docs/navigation/breadcrumbs-demo/demo6.md +61 -0
- package/docs/navigation/breadcrumbs.md +1 -0
- package/docs/navigation/button-demo/demo1.md +210 -158
- package/docs/navigation/button.md +1 -1
- package/docs/navigation/collapsible-nav-demo/demo1.md +21 -44
- package/docs/navigation/collapsible-nav-demo/demo2.md +108 -0
- package/docs/navigation/collapsible-nav.md +1 -1
- package/docs/navigation/key-pad-menu-demo/demo1.md +77 -0
- package/docs/navigation/key-pad-menu-demo/demo2.md +102 -0
- package/docs/navigation/key-pad-menu-demo/demo3.md +54 -0
- package/docs/navigation/key-pad-menu-demo/demo4.md +71 -0
- package/docs/navigation/key-pad-menu-demo/demo5.md +65 -0
- package/docs/navigation/key-pad-menu.md +1 -0
- package/docs/navigation/link-demo/demo1.md +44 -0
- package/docs/navigation/link-demo/demo2.md +41 -0
- package/docs/navigation/link-demo/demo3.md +45 -0
- package/docs/navigation/link-demo/demo4.md +61 -0
- package/docs/navigation/link.md +1 -0
- package/docs/navigation/side-nav-demo/demo1.md +34 -18
- package/docs/navigation/side-nav.md +1 -1
- package/docs/navigation/steps-demo/demo1.md +16 -18
- package/docs/navigation/steps-demo/demo2.md +18 -21
- package/docs/navigation/steps-demo/demo3.md +12 -10
- package/docs/navigation/steps-demo/demo4.md +84 -0
- package/docs/navigation/steps-demo/demo5.md +29 -0
- package/docs/navigation/steps.md +1 -1
- package/docs/navigation/tabs-demo/demo1.md +38 -111
- package/docs/navigation/tabs-demo/demo2.md +56 -0
- package/docs/navigation/tabs-demo/demo3.md +79 -0
- package/docs/navigation/tabs-demo/demo4.md +102 -0
- package/docs/navigation/tabs.md +1 -1
- package/docs/utilities/auto-sizer-demo/demo1.md +34 -0
- package/docs/utilities/auto-sizer.md +1 -0
- package/docs/utilities/copy-demo/demo1.md +37 -0
- package/docs/utilities/copy-demo/demo2.md +70 -0
- package/docs/utilities/copy.md +1 -0
- package/docs/utilities/mutation-observer.md +1 -1
- package/docs/utilities/outside-click-detector.md +1 -1
- package/docs/utilities/overlay-mask.md +1 -1
- package/docs/utilities/portal.md +1 -1
- package/docs/utilities/resize-observer.md +1 -1
- package/docs/utilities/responsive-demo/demo1.md +108 -0
- package/docs/utilities/responsive.md +1 -0
- package/index.js +8 -3
- package/package.json +13 -7
- package/CHANGELOG.md +0 -1340
- package/addon/components/eui-code-block-impl/code-block-controls/index.hbs +0 -33
- package/addon/components/eui-code-block-impl/index.hbs +0 -111
- package/addon/components/eui-code-block-impl/index.ts +0 -121
- package/addon/components/eui-flyout-body/banner/index.hbs +0 -3
- package/addon/components/eui-flyout-body/content/index.hbs +0 -3
- package/addon/helpers/create-event.ts +0 -30
- package/addon/modifiers/focus-tab.ts +0 -19
- package/addon/modifiers/get-cursor-node.ts +0 -54
- package/addon/modifiers/invalidate-indeterminate.ts +0 -10
- package/addon/modifiers/on-event-simulate-event.ts +0 -32
- package/app/components/eui-card/eui-card-select/index.js +0 -1
- package/app/components/eui-flyout-body/banner/index.js +0 -1
- package/app/components/eui-flyout-body/content/index.js +0 -1
- package/app/helpers/create-event.js +0 -1
- package/app/modifiers/fixed-header.js +0 -1
- package/app/modifiers/focus-tab.js +0 -1
- package/app/modifiers/get-cursor-node.js +0 -1
- package/app/modifiers/invalidate-indeterminate.js +0 -1
- package/app/modifiers/on-event-simulate-event.js +0 -1
- package/docs/forms/form-controls/checkbox-demo/demo1.md +0 -40
- package/docs/forms/form-controls/checkbox-group.md +0 -1
- package/docs/forms/form-controls/checkbox.md +0 -1
- package/docs/forms/form-controls/combo-box.md +0 -1
- package/docs/forms/form-controls/file-picker-demo/demo1.md +0 -28
- package/docs/forms/form-controls/file-picker.md +0 -1
- package/docs/forms/form-controls/form-control-layout-delimited.md +0 -1
- package/docs/forms/form-controls/form-control-layout.md +0 -1
- package/docs/forms/form-controls/number-field.md +0 -1
- package/docs/forms/form-controls/password-field.md +0 -1
- package/docs/forms/form-controls/radio-demo/demo1.md +0 -39
- package/docs/forms/form-controls/radio-group-demo/demo1.md +0 -60
- package/docs/forms/form-controls/radio-group.md +0 -1
- package/docs/forms/form-controls/radio.md +0 -1
- package/docs/forms/form-controls/range-demo/demo1.md +0 -61
- package/docs/forms/form-controls/range-demo/demo2.md +0 -59
- package/docs/forms/form-controls/range-demo/demo6.md +0 -59
- package/docs/forms/form-controls/range.md +0 -1
- package/docs/forms/form-controls/search-field-demo/demo1.md +0 -31
- package/docs/forms/form-controls/search-field.md +0 -1
- package/docs/forms/form-controls/select.md +0 -1
- package/docs/forms/form-controls/switch.md +0 -1
- package/docs/forms/form-controls/text-field.md +0 -1
- package/docs/forms/form-controls/textarea-demo/demo1.md +0 -36
- package/docs/forms/form-controls/textarea.md +0 -1
|
@@ -1,85 +1,47 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
order: 1
|
|
3
|
+
---
|
|
2
4
|
|
|
3
5
|
```hbs template
|
|
4
|
-
<
|
|
5
|
-
<
|
|
6
|
-
<
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
</
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
backwaters
|
|
16
|
-
</EuiTextColor>
|
|
17
|
-
of the
|
|
18
|
-
<EuiTextColor @color="secondary">
|
|
19
|
-
unfashionable
|
|
20
|
-
</EuiTextColor>
|
|
21
|
-
end of the
|
|
22
|
-
western spiral arm of the Galaxy lies a small unregarded yellow sun. When
|
|
23
|
-
suddenly some wild
|
|
24
|
-
<EuiTextColor @color="warning">
|
|
25
|
-
JavaScript code appeared!
|
|
26
|
-
</EuiTextColor>
|
|
27
|
-
{' '}
|
|
28
|
-
<code>
|
|
29
|
-
const whoa = "!"
|
|
30
|
-
</code>
|
|
31
|
-
</p>
|
|
32
|
-
</EuiTextAlign>
|
|
6
|
+
<div>
|
|
7
|
+
<EuiText @grow={{false}}>
|
|
8
|
+
<h1>This is Heading One</h1>
|
|
9
|
+
<p>
|
|
10
|
+
Far out in the uncharted backwaters of the
|
|
11
|
+
<a href='#'>unfashionable</a>{' '} end of the western spiral arm of the
|
|
12
|
+
Galaxy lies a small unregarded yellow sun. When suddenly some wild
|
|
13
|
+
JavaScript code appeared!{' '}
|
|
14
|
+
<code>const whoa = "!"</code>
|
|
15
|
+
</p>
|
|
16
|
+
|
|
33
17
|
<pre>
|
|
34
|
-
<code>
|
|
35
|
-
const completelyUnexpected = "the audacity!";
|
|
36
|
-
</code>
|
|
18
|
+
<code>const completelyUnexpected = "the audacity!";</code>
|
|
37
19
|
</pre>
|
|
20
|
+
|
|
21
|
+
<p>That was close.</p>
|
|
22
|
+
|
|
23
|
+
<blockquote>
|
|
24
|
+
<p>
|
|
25
|
+
I've seen things you people wouldn't believe. Attack ships on
|
|
26
|
+
fire off the shoulder of Orion. I watched C-beams glitter in the dark
|
|
27
|
+
near the Tannhäuser Gate. All those moments will be lost in time, like
|
|
28
|
+
tears in rain. Time to die.
|
|
29
|
+
</p>
|
|
30
|
+
</blockquote>
|
|
31
|
+
|
|
38
32
|
<p>
|
|
39
33
|
Orbiting this at a distance of roughly ninety-two million miles is an
|
|
40
34
|
utterly insignificant little blue green planet whose ape- descended life
|
|
41
35
|
forms are so amazingly primitive that they still think digital watches are
|
|
42
36
|
a pretty neat idea.
|
|
43
37
|
</p>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
<li>
|
|
52
|
-
<EuiTextColor @color="subdued">
|
|
53
|
-
Subdued color
|
|
54
|
-
</EuiTextColor>
|
|
55
|
-
</li>
|
|
56
|
-
<li>
|
|
57
|
-
<EuiTextColor @color="secondary">
|
|
58
|
-
Secondary color
|
|
59
|
-
</EuiTextColor>
|
|
60
|
-
</li>
|
|
61
|
-
<li>
|
|
62
|
-
<EuiTextColor @color="accent">
|
|
63
|
-
Accent color
|
|
64
|
-
</EuiTextColor>
|
|
65
|
-
</li>
|
|
66
|
-
<li>
|
|
67
|
-
<EuiTextColor @color="danger">
|
|
68
|
-
Danger color
|
|
69
|
-
</EuiTextColor>
|
|
70
|
-
</li>
|
|
71
|
-
<li>
|
|
72
|
-
<EuiTextColor @color="warning">
|
|
73
|
-
Warning color
|
|
74
|
-
</EuiTextColor>
|
|
75
|
-
</li>
|
|
76
|
-
<li>
|
|
77
|
-
<EuiTextColor @color="ghost">
|
|
78
|
-
Ghost color
|
|
79
|
-
</EuiTextColor>
|
|
80
|
-
</li>
|
|
81
|
-
</ul>
|
|
82
|
-
</EuiTextAlign>
|
|
38
|
+
|
|
39
|
+
<ul>
|
|
40
|
+
<li>List item one</li>
|
|
41
|
+
<li>List item two</li>
|
|
42
|
+
<li>Dolphins</li>
|
|
43
|
+
</ul>
|
|
44
|
+
|
|
83
45
|
<p>
|
|
84
46
|
This planet has - or rather had - a problem, which was this: most of the
|
|
85
47
|
people living on it were unhappy for pretty much of the time. Many
|
|
@@ -88,88 +50,75 @@
|
|
|
88
50
|
because on the whole it was not the small green pieces of paper that were
|
|
89
51
|
unhappy.
|
|
90
52
|
</p>
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
53
|
+
|
|
54
|
+
<h2>This is Heading Two</h2>
|
|
55
|
+
|
|
94
56
|
<ol>
|
|
95
|
-
<li>
|
|
96
|
-
|
|
97
|
-
</li>
|
|
98
|
-
<li>
|
|
99
|
-
Number two
|
|
100
|
-
</li>
|
|
101
|
-
<li>
|
|
102
|
-
Dolphins again
|
|
103
|
-
</li>
|
|
57
|
+
<li>Number one</li>
|
|
58
|
+
<li>Number two</li>
|
|
59
|
+
<li>Dolphins again</li>
|
|
104
60
|
</ol>
|
|
61
|
+
|
|
105
62
|
<p>
|
|
106
|
-
But the dog wasn
|
|
63
|
+
But the dog wasn’t lazy, it was just practicing mindfulness, so it
|
|
107
64
|
had a greater sense of life-satisfaction than that fox with all its silly
|
|
108
65
|
jumping.
|
|
109
66
|
</p>
|
|
67
|
+
|
|
110
68
|
<p>
|
|
111
|
-
And from the fox
|
|
112
|
-
<em>
|
|
113
|
-
|
|
114
|
-
</em>
|
|
115
|
-
, low-hanging fruit to jump
|
|
116
|
-
<em>
|
|
117
|
-
for
|
|
118
|
-
</em>
|
|
119
|
-
, and dead car
|
|
120
|
-
batteries to jump-
|
|
121
|
-
<em>
|
|
122
|
-
start
|
|
123
|
-
</em>
|
|
124
|
-
.
|
|
69
|
+
And from the fox’s perspective, life was full of hoops to jump{' '}
|
|
70
|
+
<em>through</em>, low-hanging fruit to jump
|
|
71
|
+
<em>for</em>, and dead car batteries to jump-<em>start</em>.
|
|
125
72
|
</p>
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
73
|
+
|
|
74
|
+
<h3>This is Heading Three</h3>
|
|
75
|
+
|
|
129
76
|
<p>
|
|
130
77
|
So it thought the dog was making a poor life choice by focusing so much on
|
|
131
78
|
mindfulness. What if its car broke down?
|
|
132
79
|
</p>
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
80
|
+
|
|
81
|
+
<h4>This is Heading Four</h4>
|
|
82
|
+
|
|
136
83
|
<p>
|
|
137
84
|
So it thought the dog was making a poor life choice by focusing so much on
|
|
138
85
|
mindfulness. What if its car broke down?
|
|
139
86
|
</p>
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
87
|
+
|
|
88
|
+
<h5>This is Heading Five</h5>
|
|
89
|
+
|
|
143
90
|
<p>
|
|
144
91
|
<small>
|
|
145
92
|
So it thought the dog was making a poor life choice by focusing so much
|
|
146
93
|
on mindfulness. What if its car broke down?
|
|
147
94
|
</small>
|
|
148
95
|
</p>
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
96
|
+
|
|
97
|
+
<h6>This is Heading Six</h6>
|
|
98
|
+
|
|
99
|
+
<EuiHorizontalRule />
|
|
100
|
+
|
|
153
101
|
<dl>
|
|
154
|
-
<dt>
|
|
155
|
-
|
|
156
|
-
</dt>
|
|
157
|
-
<dd>
|
|
158
|
-
The opening music alone evokes such strong memories.
|
|
159
|
-
</dd>
|
|
160
|
-
<dt>
|
|
161
|
-
TIE Fighter
|
|
162
|
-
</dt>
|
|
102
|
+
<dt>The Elder Scrolls: Morrowind</dt>
|
|
103
|
+
<dd>The opening music alone evokes such strong memories.</dd>
|
|
104
|
+
<dt>TIE Fighter</dt>
|
|
163
105
|
<dd>
|
|
164
106
|
The sequel to XWING, join the dark side and fly for the Emporer.
|
|
165
107
|
</dd>
|
|
166
|
-
<dt>
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
108
|
+
<dt>Quake 2</dt>
|
|
109
|
+
<dd>The game that made me drop out of college.</dd>
|
|
110
|
+
</dl>
|
|
111
|
+
|
|
112
|
+
<EuiHorizontalRule />
|
|
113
|
+
|
|
114
|
+
<dl className='eui-definitionListReverse'>
|
|
115
|
+
<dt>Name</dt>
|
|
116
|
+
<dd>The Elder Scrolls: Morrowind</dd>
|
|
117
|
+
<dt>Game style</dt>
|
|
118
|
+
<dd>Open-world, fantasy, action role-playing</dd>
|
|
119
|
+
<dt>Release date</dt>
|
|
120
|
+
<dd>2002</dd>
|
|
172
121
|
</dl>
|
|
173
|
-
</
|
|
174
|
-
</
|
|
175
|
-
```
|
|
122
|
+
</EuiText>
|
|
123
|
+
</div>
|
|
124
|
+
```
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
order: 2
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Coloring text
|
|
6
|
+
|
|
7
|
+
<EuiText>
|
|
8
|
+
<p>
|
|
9
|
+
There are two ways to color text. Either individually by applying <strong>EuiTextColor</strong> on individual text objects, or by passing the <EuiCode>color</EuiCode> prop directly on <strong>EuiText</strong> for a blanket approach across the entirety of your text.
|
|
10
|
+
|
|
11
|
+
</p>
|
|
12
|
+
</EuiText>
|
|
13
|
+
|
|
14
|
+
```hbs template
|
|
15
|
+
<div>
|
|
16
|
+
<EuiTitle>
|
|
17
|
+
<h2>
|
|
18
|
+
<EuiTextColor @color='default'>You </EuiTextColor>
|
|
19
|
+
<EuiTextColor @color='success'>use </EuiTextColor>
|
|
20
|
+
<EuiTextColor @color='accent'>it </EuiTextColor>
|
|
21
|
+
<EuiTextColor @color='warning'>on </EuiTextColor>
|
|
22
|
+
<EuiTextColor @color='danger'>anything!</EuiTextColor>
|
|
23
|
+
</h2>
|
|
24
|
+
</EuiTitle>
|
|
25
|
+
|
|
26
|
+
<EuiSpacer @size='l' />
|
|
27
|
+
|
|
28
|
+
<EuiText>
|
|
29
|
+
<p>
|
|
30
|
+
<EuiTextColor @color='default'>Default text color</EuiTextColor>
|
|
31
|
+
</p>
|
|
32
|
+
<p>
|
|
33
|
+
<EuiTextColor @color='subdued'>Subdued text color</EuiTextColor>
|
|
34
|
+
</p>
|
|
35
|
+
<p>
|
|
36
|
+
<EuiTextColor @color='success'>Success text color</EuiTextColor>
|
|
37
|
+
</p>
|
|
38
|
+
<p>
|
|
39
|
+
<EuiTextColor @color='accent'>Accent text color</EuiTextColor>
|
|
40
|
+
</p>
|
|
41
|
+
<p>
|
|
42
|
+
<EuiTextColor @color='warning'>Warning text color</EuiTextColor>
|
|
43
|
+
</p>
|
|
44
|
+
<p>
|
|
45
|
+
<EuiTextColor @color='danger'>Danger text color</EuiTextColor>
|
|
46
|
+
</p>
|
|
47
|
+
<p>
|
|
48
|
+
<EuiTextColor @color='#c561dc'>Custom text color</EuiTextColor>
|
|
49
|
+
</p>
|
|
50
|
+
<p>
|
|
51
|
+
<span style='background-color:#222;'>
|
|
52
|
+
<EuiTextColor @color='ghost'>
|
|
53
|
+
Ghost text color is always white regardless of theme.
|
|
54
|
+
</EuiTextColor>
|
|
55
|
+
</span>
|
|
56
|
+
</p>
|
|
57
|
+
</EuiText>
|
|
58
|
+
|
|
59
|
+
<EuiSpacer />
|
|
60
|
+
|
|
61
|
+
<EuiText @color='danger'>
|
|
62
|
+
<h2>Works on EuiText as well.</h2>
|
|
63
|
+
<p>
|
|
64
|
+
Sometimes you need to color entire blocks of text, no matter what is in
|
|
65
|
+
them. You can always apply color directly (versus using the separated
|
|
66
|
+
component) to make it easy. Links should still{' '}
|
|
67
|
+
<a href='#'>properly color</a>.
|
|
68
|
+
</p>
|
|
69
|
+
</EuiText>
|
|
70
|
+
</div>
|
|
71
|
+
```
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
order: 3
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Alignment
|
|
6
|
+
|
|
7
|
+
<EuiText>
|
|
8
|
+
<p>
|
|
9
|
+
There are two ways to align text. Either individually by applying <strong>EuiTextAlign</strong> on individual text objects, or by passing the <EuiCode>textAlign</EuiCode> prop directly on <strong>EuiText</strong> for a blanket approach across the entirety of your text.
|
|
10
|
+
|
|
11
|
+
</p>
|
|
12
|
+
</EuiText>
|
|
13
|
+
|
|
14
|
+
```hbs template
|
|
15
|
+
<div>
|
|
16
|
+
<EuiText>
|
|
17
|
+
<EuiTextAlign @textAlign='left'>
|
|
18
|
+
<p>Left aligned paragraph.</p>
|
|
19
|
+
</EuiTextAlign>
|
|
20
|
+
<EuiTextAlign @textAlign='center'>
|
|
21
|
+
<p>Center aligned paragraph.</p>
|
|
22
|
+
</EuiTextAlign>
|
|
23
|
+
<EuiTextAlign @textAlign='right'>
|
|
24
|
+
<p>Right aligned paragraph.</p>
|
|
25
|
+
</EuiTextAlign>
|
|
26
|
+
</EuiText>
|
|
27
|
+
<EuiSpacer />
|
|
28
|
+
<EuiText @textAlign='center'>
|
|
29
|
+
<p>
|
|
30
|
+
You can also pass alignment to
|
|
31
|
+
<strong>EuiText</strong>
|
|
32
|
+
directly with a prop
|
|
33
|
+
</p>
|
|
34
|
+
</EuiText>
|
|
35
|
+
<EuiText @textAlign='center' @color='success'>
|
|
36
|
+
<p>And in conjunction with coloring.</p>
|
|
37
|
+
</EuiText>
|
|
38
|
+
</div>
|
|
39
|
+
```
|
package/docs/display/text.md
CHANGED
|
@@ -1 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
<EuiPageHeader @pageTitle="Text"/>
|
|
2
|
+
|
|
3
|
+
<EuiText>
|
|
4
|
+
<p>
|
|
5
|
+
<strong>EuiText</strong> is a generic catchall wrapper that will apply our standard typography styling and spacing to naked HTML. Because of its forced style it <strong>only accepts raw XHTML</strong> and can not / should not be used to wrap React components (which would break their styling).
|
|
6
|
+
|
|
7
|
+
EuiText can ensure proper line-length for readability by setting a <EuiCode>max-width</EuiCode> on the entire component. To add the max-width setting, set <EuiCode>grow=false</EuiCode>.
|
|
8
|
+
|
|
9
|
+
</p>
|
|
10
|
+
</EuiText>
|
|
11
|
+
|
|
12
|
+
<EuiHorizontalRule />
|
|
@@ -1,29 +1,53 @@
|
|
|
1
|
-
|
|
1
|
+
<EuiText>
|
|
2
|
+
<p>
|
|
3
|
+
<strong>EuiTitle</strong> styles the page, section, and content headings we use in Kibana. They can contain any markup, but usually contain a heading tag of some sort. Unlike <strong>EuiText</strong> they are margin neutral and more suitable for general layout design.
|
|
4
|
+
</p>
|
|
5
|
+
</EuiText>
|
|
2
6
|
|
|
3
7
|
```hbs template
|
|
4
|
-
<
|
|
5
|
-
|
|
6
|
-
</
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
<
|
|
11
|
-
|
|
12
|
-
</
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
<
|
|
17
|
-
|
|
18
|
-
</
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
<
|
|
27
|
-
|
|
28
|
-
|
|
8
|
+
<div>
|
|
9
|
+
<EuiTitle @size='l'>
|
|
10
|
+
<h1>This is a large title, only one should exist per page</h1>
|
|
11
|
+
</EuiTitle>
|
|
12
|
+
<EuiCode @language='js'>size="l"</EuiCode>
|
|
13
|
+
|
|
14
|
+
<EuiSpacer />
|
|
15
|
+
<EuiTitle>
|
|
16
|
+
<h2>This is the default size for title</h2>
|
|
17
|
+
</EuiTitle>
|
|
18
|
+
<EuiCode @language='js'>size="m"</EuiCode>
|
|
19
|
+
|
|
20
|
+
<EuiSpacer />
|
|
21
|
+
<EuiTitle @size='s'>
|
|
22
|
+
<h3>This is a small title</h3>
|
|
23
|
+
</EuiTitle>
|
|
24
|
+
<EuiCode @language='js'>size="s"</EuiCode>
|
|
25
|
+
|
|
26
|
+
<EuiSpacer />
|
|
27
|
+
<EuiTitle @size='xs'>
|
|
28
|
+
<h4>This is an extra small title</h4>
|
|
29
|
+
</EuiTitle>
|
|
30
|
+
<EuiCode @language='js'>size="xs"</EuiCode>
|
|
31
|
+
|
|
32
|
+
<EuiSpacer />
|
|
33
|
+
<EuiTitle @size='xxs'>
|
|
34
|
+
<h5>This is an extra extra small title</h5>
|
|
35
|
+
</EuiTitle>
|
|
36
|
+
<EuiCode @language='js'>size="xxs"</EuiCode>
|
|
37
|
+
|
|
38
|
+
<EuiSpacer />
|
|
39
|
+
<EuiTitle @size='xxxs'>
|
|
40
|
+
<h6>
|
|
41
|
+
This is an extra extra extra small title and should only be used when the
|
|
42
|
+
title is inconsequential (like a label)
|
|
43
|
+
</h6>
|
|
44
|
+
</EuiTitle>
|
|
45
|
+
<EuiCode @language='js'>size="xxxs"</EuiCode>
|
|
46
|
+
|
|
47
|
+
<EuiHorizontalRule />
|
|
48
|
+
|
|
49
|
+
<EuiTitle @size='l'>
|
|
50
|
+
<span>Titles are markup agnostic, they only confer style</span>
|
|
51
|
+
</EuiTitle>
|
|
52
|
+
</div>
|
|
29
53
|
```
|
package/docs/display/title.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
<EuiPageHeader @pageTitle="Title"/>
|
|
@@ -2,13 +2,29 @@
|
|
|
2
2
|
order: 1
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
<EuiText>
|
|
6
|
+
Generally, tooltips should provide short, <strong>non-essential</strong>, contextual information, usually naming or describing with more detail. If you need interactive content or anything other than text, we recommend using <strong>EuiPopover</strong> instead.
|
|
7
|
+
</EuiText>
|
|
8
|
+
<EuiSpacer />
|
|
9
|
+
<EuiCallOut @color="warning" @size="s" @iconType="accessibility" @title="Putting anything other than plain text in a tooltip is lost on screen readers." />
|
|
10
|
+
<EuiSpacer />
|
|
11
|
+
<EuiText>
|
|
12
|
+
Wrap <strong>EuiToolTip</strong> around any item that you need a tooltip for and provide the <EuiCode>content</EuiCode> and optionally the <EuiCode>title</EuiCode>. The <EuiCode>position</EuiCode> prop will take a suggested position, but will change it if the tooltip gets too close to the edge of the screen.
|
|
13
|
+
</EuiText>
|
|
14
|
+
<EuiSpacer />
|
|
15
|
+
<EuiCallOut @color="warning" @size="s" @iconType="accessibility" @title="Anchoring a tooltip to a non-interactive element makes it difficult for keyboard-only and screen reader users to read." />
|
|
16
|
+
<EuiSpacer />
|
|
17
|
+
<EuiText>
|
|
18
|
+
<p>
|
|
19
|
+
Wrap <strong>EuiToolTip</strong> around any item that you need a tooltip for and provide the content and optionally the title. The position prop will take a suggested position, but will change it if the tooltip gets too close to the edge of the screen.
|
|
20
|
+
</p>
|
|
21
|
+
</EuiText>
|
|
6
22
|
|
|
7
23
|
```hbs template
|
|
8
24
|
<EuiText>
|
|
9
25
|
<p>
|
|
10
26
|
This tooltip appears on the
|
|
11
|
-
<EuiToolTip @position=
|
|
27
|
+
<EuiToolTip @position='top' @content='Here is some tooltip text'>
|
|
12
28
|
<EuiButtonEmpty>
|
|
13
29
|
Top
|
|
14
30
|
</EuiButtonEmpty>
|
|
@@ -16,9 +32,9 @@ order: 1
|
|
|
16
32
|
<p>
|
|
17
33
|
This tooltip appears on the
|
|
18
34
|
<EuiToolTip
|
|
19
|
-
@position=
|
|
20
|
-
@title=
|
|
21
|
-
@content=
|
|
35
|
+
@position='left'
|
|
36
|
+
@title='Tooltip titles are optional'
|
|
37
|
+
@content='Here is some tooltip text. Lets add some more content to see how it wraps.'
|
|
22
38
|
>
|
|
23
39
|
<EuiButtonEmpty>
|
|
24
40
|
Left
|
|
@@ -29,16 +45,15 @@ order: 1
|
|
|
29
45
|
</p>
|
|
30
46
|
<p>
|
|
31
47
|
This tooltip appears on the
|
|
32
|
-
<EuiToolTip @position=
|
|
48
|
+
<EuiToolTip @position='right' @content='Here is some tooltip text'>
|
|
33
49
|
<EuiButtonEmpty>
|
|
34
50
|
Right
|
|
35
51
|
</EuiButtonEmpty>
|
|
36
52
|
</EuiToolTip>
|
|
37
53
|
</p>
|
|
38
54
|
<p>
|
|
39
|
-
This tooltip has a long delay because it might be in a repeatable
|
|
40
|
-
|
|
41
|
-
<EuiToolTip @delay="long" @content="Here is some tooltip text">
|
|
55
|
+
This tooltip has a long delay because it might be in a repeatable component
|
|
56
|
+
<EuiToolTip @delay='long' @content='Here is some tooltip text'>
|
|
42
57
|
<EuiButtonEmpty>
|
|
43
58
|
Wink
|
|
44
59
|
</EuiButtonEmpty>
|
|
@@ -46,69 +61,9 @@ order: 1
|
|
|
46
61
|
</p>
|
|
47
62
|
<p>
|
|
48
63
|
This tooltip appears on the bottom of this icon:
|
|
49
|
-
<EuiToolTip @position=
|
|
50
|
-
<EuiIcon tabindex=
|
|
64
|
+
<EuiToolTip @position='bottom' @content='Here is some tooltip text'>
|
|
65
|
+
<EuiIcon tabindex='0' @type='alert' @title='Icon with tooltip' />
|
|
51
66
|
</EuiToolTip>
|
|
52
67
|
</p>
|
|
53
68
|
</EuiText>
|
|
54
|
-
<EuiSpacer @size="xl" />
|
|
55
|
-
<p>
|
|
56
|
-
<EuiToolTip @position="top" @content="Here is some tooltip text" @display="block">
|
|
57
|
-
<EuiButton @fullWidth={{true}}>
|
|
58
|
-
I am a block level tooltip, applied to a button with fullWidth
|
|
59
|
-
</EuiButton>
|
|
60
|
-
</EuiToolTip>
|
|
61
|
-
</p>
|
|
62
|
-
<EuiSpacer />
|
|
63
|
-
<EuiToolTip @position="right" @content="Works on anything">
|
|
64
|
-
<EuiFieldText placeholder="Hover over me" aria-label="ToolTip appears on hover" />
|
|
65
|
-
</EuiToolTip>
|
|
66
|
-
<EuiSpacer />
|
|
67
|
-
|
|
68
|
-
<EuiText>
|
|
69
|
-
If you want to attach and control the ToolTip to something programatically you can optionally pass an attachTo string or element
|
|
70
|
-
and use the content named block, also you can pass isShown as true to show the tooltip without user interaction
|
|
71
|
-
</EuiText>
|
|
72
|
-
|
|
73
|
-
<EuiSpacer @size="xl"/>
|
|
74
|
-
|
|
75
|
-
<EuiButton @color="danger" id="attachTo1" {{on "mouseenter" this.updateAttachTo}}>
|
|
76
|
-
You can hover me, attach to 1
|
|
77
|
-
</EuiButton>
|
|
78
|
-
<EuiButton @color="primary" id="attachTo2" {{on "mouseenter" this.updateAttachTo}}>
|
|
79
|
-
You can hover me, attach to 2
|
|
80
|
-
</EuiButton>
|
|
81
|
-
<EuiButton @color="warning" id="attachTo3" {{on "mouseenter" this.updateAttachTo}}>
|
|
82
|
-
You can hover me, attach to 3
|
|
83
|
-
</EuiButton>
|
|
84
|
-
|
|
85
|
-
<EuiSpacer @size="xl"/>
|
|
86
|
-
<EuiButton {{on "click" (set this "isShown" (not this.isShown))}}>
|
|
87
|
-
{{if this.isShown "isShown true" "isShown false"}}
|
|
88
|
-
</EuiButton>
|
|
89
|
-
<EuiToolTip @position="top" @attachTo={{this.attachTo}} @isShown={{this.isShown}}>
|
|
90
|
-
<:content>
|
|
91
|
-
<p>
|
|
92
|
-
Works on any kind of element — buttons, inputs, you name it!
|
|
93
|
-
</p>
|
|
94
|
-
</:content>
|
|
95
|
-
</EuiToolTip>
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
```javascript component
|
|
99
|
-
import Component from '@glimmer/component';
|
|
100
|
-
import { action } from '@ember/object';
|
|
101
|
-
import { tracked } from '@glimmer/tracking';
|
|
102
|
-
|
|
103
|
-
export default class ToolTipDemo1 extends Component {
|
|
104
|
-
@tracked attachTo = '#attachTo1';
|
|
105
|
-
@tracked isShown = false;
|
|
106
|
-
|
|
107
|
-
@action
|
|
108
|
-
updateAttachTo(ele) {
|
|
109
|
-
if (ele.target !== this.attachTo) {
|
|
110
|
-
this.attachTo = ele.target;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
69
|
```
|
|
@@ -2,37 +2,40 @@
|
|
|
2
2
|
order: 2
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
#
|
|
5
|
+
# Wrapping components
|
|
6
6
|
|
|
7
|
-
```hbs template
|
|
8
|
-
<EuiFlexGroup @alignItems="center" @gutterSize="s" @responsive={{false}}>
|
|
9
|
-
<EuiFlexItem @grow={{false}}>
|
|
10
|
-
<EuiIconTip
|
|
11
|
-
@content="Source maps allow browser dev tools to map minified code to the original source code"
|
|
12
|
-
@position="right"
|
|
13
|
-
/>
|
|
14
|
-
</EuiFlexItem>
|
|
15
|
-
</EuiFlexGroup>
|
|
16
|
-
<EuiSpacer />
|
|
17
|
-
<EuiIconTip
|
|
18
|
-
@ariaLabel="Warning"
|
|
19
|
-
@size="xl"
|
|
20
|
-
@type="alert"
|
|
21
|
-
@color="warning"
|
|
22
|
-
@content="I do not think it means what you think it means"
|
|
23
|
-
/>
|
|
24
|
-
<EuiSpacer />
|
|
25
7
|
<EuiText>
|
|
26
|
-
<p>
|
|
27
|
-
|
|
28
|
-
for better alignment.
|
|
29
|
-
<EuiIconTip @type="iInCircle" @color="subdued" @iconProps={{hash className="eui-alignTop"}}>
|
|
30
|
-
<:content>
|
|
31
|
-
<span>
|
|
32
|
-
This was passed .eui-alignTop
|
|
33
|
-
</span>
|
|
34
|
-
</:content>
|
|
35
|
-
</EuiIconTip>
|
|
36
|
-
</p>
|
|
8
|
+
<p><strong>EuiToolTip</strong> wraps its children in a <EuiCode><span></EuiCode> element that is <<EuiCode>display: inline-block</EuiCode> If you are wrapping a block-level child (e.g. a <EuiCode><div></EuiCode>), you may need to change this by passing <EuiCode>display="block"</EuiCode> but the resulting DOM may be in violation of the HTML5 spec.</p>
|
|
9
|
+
<p>It also applies <EuiCode>onFocus</EuiCode> and <EuiCode>onBlur</EuiCode> props the the cloned <EuiCode>children</EuiCode>. If you pass in a custom component, then you’ll need to make sure these props are applied to the root element rendered by your component.</p>
|
|
37
10
|
</EuiText>
|
|
11
|
+
|
|
12
|
+
```hbs template
|
|
13
|
+
<EuiToolTip
|
|
14
|
+
@position='top'
|
|
15
|
+
@content='Works on any kind of element — buttons, inputs, you name it!'
|
|
16
|
+
>
|
|
17
|
+
<EuiButton>Hover me</EuiButton>
|
|
18
|
+
<EuiSpacer />
|
|
19
|
+
</EuiToolTip>
|
|
20
|
+
<p>
|
|
21
|
+
<EuiToolTip
|
|
22
|
+
@position='top'
|
|
23
|
+
@content='Here is some tooltip text'
|
|
24
|
+
@display='block'
|
|
25
|
+
>
|
|
26
|
+
<EuiButton @fullWidth={{true}}>
|
|
27
|
+
I am a block level tooltip, applied to a button with fullWidth
|
|
28
|
+
</EuiButton>
|
|
29
|
+
</EuiToolTip>
|
|
30
|
+
</p>
|
|
31
|
+
<EuiSpacer />
|
|
32
|
+
<EuiToolTip
|
|
33
|
+
@position='right'
|
|
34
|
+
@content='Tooltip remains visible when the child is focused'
|
|
35
|
+
>
|
|
36
|
+
<EuiFieldText
|
|
37
|
+
placeholder='Hover over me'
|
|
38
|
+
aria-label='ToolTip appears on hover'
|
|
39
|
+
/>
|
|
40
|
+
</EuiToolTip>
|
|
38
41
|
```
|