@ember-eui/core 4.2.6 → 5.0.0-alpha.1
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 +77 -0
- package/addon/components/eui-field-number/index.hbs +3 -3
- 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-label/index.hbs +1 -1
- package/addon/components/eui-form-row/index.hbs +13 -9
- 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-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-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-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-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 +10 -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 +28 -3
- package/addon/{modifiers/focus-tab.ts → components/eui-tab/index.ts} +6 -1
- package/addon/components/eui-tabs/index.hbs +6 -1
- package/addon/components/eui-tool-tip/index.hbs +6 -7
- package/addon/components/eui-tool-tip/index.ts +27 -11
- package/addon/helpers/class-names.ts +2 -0
- package/addon/helpers/get-range-tick.ts +53 -8
- package/addon/helpers/unique-id.ts +4 -1
- package/addon/styles/ember-eui.css +2 -10
- package/addon/utils/breakpoint.ts +114 -0
- package/addon/utils/code/utils.ts +304 -0
- 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 +20 -0
- package/addon/utils/css-mappings/eui-icon.ts +94 -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-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/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/app/components/eui-auto-sizer/index.js +1 -0
- package/app/components/eui-breadcrumbs/index.js +1 -0
- 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-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-empty-prompt/index.js +1 -0
- 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-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-page-header-content/index.js +1 -0
- package/app/components/eui-page-template/index.js +1 -0
- package/app/components/eui-show-for/index.js +1 -0
- package/app/components/eui-split-panel/inner/index.js +1 -0
- package/app/components/eui-split-panel/outer/index.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 +9 -1
- package/docs/display/badge-demo/demo1.md +111 -168
- package/docs/display/badge-demo/demo2.md +34 -0
- package/docs/display/badge-demo/demo3.md +73 -0
- package/docs/display/badge-demo/demo4.md +29 -0
- package/docs/display/badge-demo/demo5.md +33 -0
- package/docs/display/badge-demo/demo6.md +71 -0
- package/docs/display/badge-demo/demo7.md +101 -0
- package/docs/display/badge-demo/demo8.md +22 -0
- package/docs/display/badge.md +9 -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 +15 -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 +9 -1
- package/docs/display/description-list-demo/demo1.md +54 -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 +9 -0
- package/docs/display/empty-prompt-demo/demo1.md +49 -0
- package/docs/display/empty-prompt.md +11 -0
- package/docs/display/health-demo/demo1.md +11 -7
- package/docs/display/health-demo/demo2.md +31 -0
- package/docs/display/health.md +15 -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 +9 -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 +13 -1
- package/docs/display/list-group.md +9 -1
- 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 +9 -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 +15 -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 +20 -1
- package/docs/display/title-demo/demo1.md +50 -26
- package/docs/display/title.md +9 -1
- package/docs/display/tool-tip-demo/demo1.md +57 -100
- package/docs/display/tool-tip-demo/demo2.md +35 -29
- package/docs/display/tool-tip-demo/demo3.md +52 -0
- package/docs/display/tool-tip-demo/demo4.md +77 -0
- package/docs/display/tool-tip.md +15 -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 +27 -1
- package/docs/editors/code/inline-demo/demo1.md +6 -3
- package/docs/editors/code/inline.md +9 -1
- package/docs/editors/markdown-editor/base-editor-demo/demo1.md +9 -28
- package/docs/editors/markdown-editor/base-editor.md +9 -1
- package/docs/forms/form-controls/checkbox/demo/demo1.md +49 -0
- package/docs/forms/form-controls/checkbox/index.md +34 -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 +35 -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 +14 -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 +30 -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 +38 -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 +32 -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 +20 -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 +27 -0
- package/docs/forms/form-controls/radio/demo/demo1.md +43 -0
- package/docs/forms/form-controls/radio/index.md +32 -0
- package/docs/forms/form-controls/radio-group/demo/demo1.md +50 -0
- package/docs/forms/form-controls/radio-group/index.md +26 -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 +26 -0
- package/docs/forms/form-controls/search-field/demo/demo1.md +29 -0
- package/docs/forms/form-controls/search-field/index.md +22 -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 +27 -0
- package/docs/forms/form-controls/{switch-demo → switch/demo}/demo1.md +10 -10
- package/docs/forms/form-controls/switch/index.md +21 -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 +22 -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 +22 -0
- package/docs/forms/form-layouts/described-form-groups-demo/demo1.md +13 -4
- package/docs/forms/form-layouts/described-form-groups.md +9 -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 +40 -1
- 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 +9 -1
- package/docs/layout/flex.md +9 -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 +9 -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 +9 -1
- package/docs/layout/horizontal-rule.md +9 -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 +9 -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 +9 -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 +15 -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 +9 -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 +9 -0
- package/docs/navigation/button-demo/demo1.md +210 -158
- package/docs/navigation/button.md +9 -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 +9 -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 +9 -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 +9 -0
- package/docs/navigation/side-nav-demo/demo1.md +34 -18
- package/docs/navigation/side-nav.md +9 -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 +9 -1
- package/docs/navigation/tabs.md +9 -1
- package/docs/utilities/auto-sizer-demo/demo1.md +34 -0
- package/docs/utilities/auto-sizer.md +9 -0
- package/docs/utilities/copy-demo/demo1.md +37 -0
- package/docs/utilities/copy-demo/demo2.md +70 -0
- package/docs/utilities/copy.md +9 -0
- package/docs/utilities/mutation-observer.md +9 -1
- package/docs/utilities/outside-click-detector.md +9 -1
- package/docs/utilities/overlay-mask.md +9 -1
- package/docs/utilities/portal.md +9 -1
- package/docs/utilities/resize-observer.md +9 -1
- package/docs/utilities/responsive-demo/demo1.md +108 -0
- package/docs/utilities/responsive.md +9 -0
- package/index.js +4 -2
- package/package.json +13 -7
- package/CHANGELOG.md +0 -1335
- 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/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
|
@@ -4,14 +4,15 @@ export const typeToPathMap = {
|
|
|
4
4
|
accessibility: 'accessibility',
|
|
5
5
|
addDataApp: 'app_add_data',
|
|
6
6
|
advancedSettingsApp: 'app_advanced_settings',
|
|
7
|
+
agentApp: 'app_fleet',
|
|
7
8
|
aggregate: 'aggregate',
|
|
8
9
|
alert: 'alert',
|
|
9
|
-
analyzeEvent: '
|
|
10
|
+
analyzeEvent: 'analyzeEvent',
|
|
10
11
|
annotation: 'annotation',
|
|
11
12
|
apmApp: 'app_apm',
|
|
12
13
|
apmTrace: 'apm_trace',
|
|
13
|
-
apps: 'apps',
|
|
14
14
|
appSearchApp: 'app_app_search',
|
|
15
|
+
apps: 'apps',
|
|
15
16
|
arrowDown: 'arrow_down',
|
|
16
17
|
arrowLeft: 'arrow_left',
|
|
17
18
|
arrowRight: 'arrow_right',
|
|
@@ -31,7 +32,6 @@ export const typeToPathMap = {
|
|
|
31
32
|
bullseye: 'bullseye',
|
|
32
33
|
calendar: 'calendar',
|
|
33
34
|
canvasApp: 'app_canvas',
|
|
34
|
-
codeApp: 'app_code',
|
|
35
35
|
check: 'check',
|
|
36
36
|
checkInCircleFilled: 'checkInCircleFilled',
|
|
37
37
|
cheer: 'cheer',
|
|
@@ -40,9 +40,15 @@ export const typeToPathMap = {
|
|
|
40
40
|
cloudDrizzle: 'cloudDrizzle',
|
|
41
41
|
cloudStormy: 'cloudStormy',
|
|
42
42
|
cloudSunny: 'cloudSunny',
|
|
43
|
+
codeApp: 'app_code',
|
|
44
|
+
color: 'color',
|
|
43
45
|
compute: 'compute',
|
|
44
46
|
console: 'console',
|
|
45
47
|
consoleApp: 'app_console',
|
|
48
|
+
continuityAbove: 'continuityAbove',
|
|
49
|
+
continuityAboveBelow: 'continuityAboveBelow',
|
|
50
|
+
continuityBelow: 'continuityBelow',
|
|
51
|
+
continuityWithin: 'continuityWithin',
|
|
46
52
|
controlsHorizontal: 'controls_horizontal',
|
|
47
53
|
controlsVertical: 'controls_vertical',
|
|
48
54
|
copy: 'copy',
|
|
@@ -53,17 +59,18 @@ export const typeToPathMap = {
|
|
|
53
59
|
createSingleMetricJob: 'ml_create_single_metric_job',
|
|
54
60
|
cross: 'cross',
|
|
55
61
|
crossClusterReplicationApp: 'app_cross_cluster_replication',
|
|
56
|
-
crosshairs: 'crosshairs',
|
|
57
62
|
crossInACircleFilled: 'crossInACircleFilled',
|
|
63
|
+
crosshairs: 'crosshairs',
|
|
58
64
|
currency: 'currency',
|
|
59
65
|
cut: 'cut',
|
|
60
66
|
dashboardApp: 'app_dashboard',
|
|
61
|
-
database: 'database',
|
|
62
67
|
dataVisualizer: 'ml_data_visualizer',
|
|
68
|
+
database: 'database',
|
|
63
69
|
devToolsApp: 'app_devtools',
|
|
64
70
|
discoverApp: 'app_discover',
|
|
65
71
|
document: 'document',
|
|
66
72
|
documentEdit: 'documentEdit',
|
|
73
|
+
documentation: 'documentation',
|
|
67
74
|
documents: 'documents',
|
|
68
75
|
dot: 'dot',
|
|
69
76
|
download: 'download',
|
|
@@ -77,9 +84,9 @@ export const typeToPathMap = {
|
|
|
77
84
|
editorDistributeVertical: 'editorDistributeVertical',
|
|
78
85
|
editorHeading: 'editor_heading',
|
|
79
86
|
editorItalic: 'editor_italic',
|
|
80
|
-
editorItemAlignLeft: 'editorItemAlignLeft',
|
|
81
87
|
editorItemAlignBottom: 'editorItemAlignBottom',
|
|
82
88
|
editorItemAlignCenter: 'editorItemAlignCenter',
|
|
89
|
+
editorItemAlignLeft: 'editorItemAlignLeft',
|
|
83
90
|
editorItemAlignMiddle: 'editorItemAlignMiddle',
|
|
84
91
|
editorItemAlignRight: 'editorItemAlignRight',
|
|
85
92
|
editorItemAlignTop: 'editorItemAlignTop',
|
|
@@ -99,6 +106,7 @@ export const typeToPathMap = {
|
|
|
99
106
|
empty: 'empty',
|
|
100
107
|
emsApp: 'app_ems',
|
|
101
108
|
eql: 'eql',
|
|
109
|
+
eraser: 'eraser',
|
|
102
110
|
exit: 'exit',
|
|
103
111
|
expand: 'expand',
|
|
104
112
|
expandMini: 'expandMini',
|
|
@@ -106,17 +114,22 @@ export const typeToPathMap = {
|
|
|
106
114
|
eye: 'eye',
|
|
107
115
|
eyeClosed: 'eye_closed',
|
|
108
116
|
faceHappy: 'face_happy',
|
|
109
|
-
faceNeutral: '
|
|
117
|
+
faceNeutral: 'face_neutral',
|
|
110
118
|
faceSad: 'face_sad',
|
|
111
119
|
filebeatApp: 'app_filebeat',
|
|
112
120
|
filter: 'filter',
|
|
113
121
|
flag: 'flag',
|
|
122
|
+
fleetApp: 'app_agent',
|
|
114
123
|
fold: 'fold',
|
|
115
124
|
folderCheck: 'folder_check',
|
|
116
125
|
folderClosed: 'folder_closed',
|
|
117
126
|
folderExclamation: 'folder_exclamation',
|
|
118
127
|
folderOpen: 'folder_open',
|
|
128
|
+
frameNext: 'frameNext',
|
|
129
|
+
framePrevious: 'framePrevious',
|
|
119
130
|
fullScreen: 'full_screen',
|
|
131
|
+
fullScreenExit: 'fullScreenExit',
|
|
132
|
+
function: 'function',
|
|
120
133
|
gear: 'gear',
|
|
121
134
|
gisApp: 'app_gis',
|
|
122
135
|
glasses: 'glasses',
|
|
@@ -142,6 +155,7 @@ export const typeToPathMap = {
|
|
|
142
155
|
indexOpen: 'index_open',
|
|
143
156
|
indexPatternApp: 'app_index_pattern',
|
|
144
157
|
indexRollupApp: 'app_index_rollup',
|
|
158
|
+
indexRuntime: 'index_runtime',
|
|
145
159
|
indexSettings: 'index_settings',
|
|
146
160
|
inputOutput: 'inputOutput',
|
|
147
161
|
inspect: 'inspect',
|
|
@@ -153,18 +167,18 @@ export const typeToPathMap = {
|
|
|
153
167
|
kqlOperand: 'kql_operand',
|
|
154
168
|
kqlSelector: 'kql_selector',
|
|
155
169
|
kqlValue: 'kql_value',
|
|
170
|
+
layers: 'layers',
|
|
156
171
|
lensApp: 'app_lens',
|
|
157
172
|
link: 'link',
|
|
158
173
|
list: 'list',
|
|
159
174
|
listAdd: 'list_add',
|
|
160
175
|
lock: 'lock',
|
|
161
176
|
lockOpen: 'lockOpen',
|
|
162
|
-
|
|
177
|
+
logoAWS: 'logo_aws',
|
|
178
|
+
logoAWSMono: 'logo_aws_mono',
|
|
163
179
|
logoAerospike: 'logo_aerospike',
|
|
164
180
|
logoApache: 'logo_apache',
|
|
165
181
|
logoAppSearch: 'logo_app_search',
|
|
166
|
-
logoAWS: 'logo_aws',
|
|
167
|
-
logoAWSMono: 'logo_aws_mono',
|
|
168
182
|
logoAzure: 'logo_azure',
|
|
169
183
|
logoAzureMono: 'logo_azure_mono',
|
|
170
184
|
logoBeats: 'logo_beats',
|
|
@@ -178,8 +192,8 @@ export const typeToPathMap = {
|
|
|
178
192
|
logoDocker: 'logo_docker',
|
|
179
193
|
logoDropwizard: 'logo_dropwizard',
|
|
180
194
|
logoElastic: 'logo_elastic',
|
|
181
|
-
logoElasticsearch: 'logo_elasticsearch',
|
|
182
195
|
logoElasticStack: 'logo_elastic_stack',
|
|
196
|
+
logoElasticsearch: 'logo_elasticsearch',
|
|
183
197
|
logoEnterpriseSearch: 'logo_enterprise_search',
|
|
184
198
|
logoEtcd: 'logo_etcd',
|
|
185
199
|
logoGCP: 'logo_gcp',
|
|
@@ -217,6 +231,7 @@ export const typeToPathMap = {
|
|
|
217
231
|
logoWebhook: 'logo_webhook',
|
|
218
232
|
logoWindows: 'logo_windows',
|
|
219
233
|
logoWorkplaceSearch: 'logo_workplace_search',
|
|
234
|
+
logsApp: 'app_logs',
|
|
220
235
|
logstashFilter: 'logstash_filter',
|
|
221
236
|
logstashIf: 'logstash_if',
|
|
222
237
|
logstashInput: 'logstash_input',
|
|
@@ -241,6 +256,7 @@ export const typeToPathMap = {
|
|
|
241
256
|
minus: 'minus',
|
|
242
257
|
minusInCircle: 'minus_in_circle',
|
|
243
258
|
minusInCircleFilled: 'minus_in_circle_filled',
|
|
259
|
+
mobile: 'mobile',
|
|
244
260
|
monitoringApp: 'app_monitoring',
|
|
245
261
|
moon: 'moon',
|
|
246
262
|
nested: 'nested',
|
|
@@ -254,14 +270,17 @@ export const typeToPathMap = {
|
|
|
254
270
|
packetbeatApp: 'app_packetbeat',
|
|
255
271
|
pageSelect: 'pageSelect',
|
|
256
272
|
pagesSelect: 'pagesSelect',
|
|
257
|
-
partial: 'partial',
|
|
258
273
|
paperClip: 'paper_clip',
|
|
274
|
+
partial: 'partial',
|
|
259
275
|
pause: 'pause',
|
|
276
|
+
payment: 'payment',
|
|
260
277
|
pencil: 'pencil',
|
|
278
|
+
percent: 'percent',
|
|
261
279
|
pin: 'pin',
|
|
262
280
|
pinFilled: 'pin_filled',
|
|
263
281
|
pipelineApp: 'app_pipeline',
|
|
264
282
|
play: 'play',
|
|
283
|
+
playFilled: 'playFilled',
|
|
265
284
|
plus: 'plus',
|
|
266
285
|
plusInCircle: 'plus_in_circle',
|
|
267
286
|
plusInCircleFilled: 'plus_in_circle_filled',
|
|
@@ -288,11 +307,11 @@ export const typeToPathMap = {
|
|
|
288
307
|
shard: 'shard',
|
|
289
308
|
share: 'share',
|
|
290
309
|
snowflake: 'snowflake',
|
|
291
|
-
sortable: 'sortable',
|
|
292
310
|
sortDown: 'sort_down',
|
|
293
311
|
sortLeft: 'sortLeft',
|
|
294
312
|
sortRight: 'sortRight',
|
|
295
313
|
sortUp: 'sort_up',
|
|
314
|
+
sortable: 'sortable',
|
|
296
315
|
spacesApp: 'app_spaces',
|
|
297
316
|
sqlApp: 'app_sql',
|
|
298
317
|
starEmpty: 'star_empty',
|
|
@@ -312,21 +331,22 @@ export const typeToPathMap = {
|
|
|
312
331
|
submodule: 'submodule',
|
|
313
332
|
swatchInput: 'swatch_input', // Undocumented on purpose. Has an extra stroke for EuiColorPicker
|
|
314
333
|
symlink: 'symlink',
|
|
315
|
-
tableOfContents: 'tableOfContents',
|
|
316
|
-
tableDensityExpanded: 'table_density_expanded',
|
|
317
334
|
tableDensityCompact: 'table_density_compact',
|
|
335
|
+
tableDensityExpanded: 'table_density_expanded',
|
|
318
336
|
tableDensityNormal: 'table_density_normal',
|
|
337
|
+
tableOfContents: 'tableOfContents',
|
|
319
338
|
tag: 'tag',
|
|
320
339
|
tear: 'tear',
|
|
321
340
|
temperature: 'temperature',
|
|
322
341
|
timeline: 'timeline',
|
|
323
342
|
timelionApp: 'app_timelion',
|
|
343
|
+
timeslider: 'timeslider',
|
|
324
344
|
training: 'training',
|
|
325
345
|
trash: 'trash',
|
|
326
|
-
upgradeAssistantApp: 'app_upgrade_assistant',
|
|
327
|
-
uptimeApp: 'app_uptime',
|
|
328
346
|
unfold: 'unfold',
|
|
329
347
|
unlink: 'unlink',
|
|
348
|
+
upgradeAssistantApp: 'app_upgrade_assistant',
|
|
349
|
+
uptimeApp: 'app_uptime',
|
|
330
350
|
user: 'user',
|
|
331
351
|
users: 'users',
|
|
332
352
|
usersRolesApp: 'app_users_roles',
|
|
@@ -349,63 +369,67 @@ export const typeToPathMap = {
|
|
|
349
369
|
visTagCloud: 'vis_tag_cloud',
|
|
350
370
|
visText: 'vis_text',
|
|
351
371
|
visTimelion: 'vis_timelion',
|
|
352
|
-
visualizeApp: 'app_visualize',
|
|
353
372
|
visVega: 'vis_vega',
|
|
354
373
|
visVisualBuilder: 'vis_visual_builder',
|
|
374
|
+
visualizeApp: 'app_visualize',
|
|
355
375
|
watchesApp: 'app_watches',
|
|
376
|
+
wordWrap: 'wordWrap',
|
|
377
|
+
wordWrapDisabled: 'wordWrapDisabled',
|
|
356
378
|
workplaceSearchApp: 'app_workplace_search',
|
|
357
379
|
wrench: 'wrench',
|
|
358
380
|
// Token Icon Imports
|
|
359
|
-
tokenClass: '
|
|
360
|
-
tokenProperty: '
|
|
361
|
-
tokenEnum: '
|
|
362
|
-
tokenVariable: '
|
|
363
|
-
tokenMethod: '
|
|
364
|
-
tokenAnnotation: '
|
|
365
|
-
tokenException: '
|
|
366
|
-
tokenInterface: '
|
|
367
|
-
tokenParameter: '
|
|
368
|
-
tokenField: '
|
|
369
|
-
tokenElement: '
|
|
370
|
-
tokenFunction: '
|
|
371
|
-
tokenBoolean: '
|
|
372
|
-
tokenString: '
|
|
373
|
-
tokenArray: '
|
|
374
|
-
tokenNumber: '
|
|
375
|
-
tokenConstant: '
|
|
376
|
-
tokenObject: '
|
|
377
|
-
tokenEvent: '
|
|
378
|
-
tokenKey: '
|
|
379
|
-
tokenNull: '
|
|
380
|
-
tokenStruct: '
|
|
381
|
-
tokenPackage: '
|
|
382
|
-
tokenOperator: '
|
|
383
|
-
tokenEnumMember: '
|
|
384
|
-
tokenRepo: '
|
|
385
|
-
tokenSymbol: '
|
|
386
|
-
tokenFile: '
|
|
387
|
-
tokenModule: '
|
|
388
|
-
tokenNamespace: '
|
|
389
|
-
tokenDate: '
|
|
390
|
-
tokenIP: '
|
|
391
|
-
tokenNested: '
|
|
392
|
-
tokenAlias: '
|
|
393
|
-
tokenShape: '
|
|
394
|
-
tokenGeo: '
|
|
395
|
-
tokenRange: '
|
|
396
|
-
tokenBinary: '
|
|
397
|
-
tokenJoin: '
|
|
398
|
-
tokenPercolator: '
|
|
399
|
-
tokenFlattened: '
|
|
400
|
-
tokenRankFeature: '
|
|
401
|
-
tokenRankFeatures: '
|
|
402
|
-
tokenKeyword: '
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
381
|
+
tokenClass: 'tokenClass',
|
|
382
|
+
tokenProperty: 'tokenProperty',
|
|
383
|
+
tokenEnum: 'tokenEnum',
|
|
384
|
+
tokenVariable: 'tokenVariable',
|
|
385
|
+
tokenMethod: 'tokenMethod',
|
|
386
|
+
tokenAnnotation: 'tokenAnnotation',
|
|
387
|
+
tokenException: 'tokenException',
|
|
388
|
+
tokenInterface: 'tokenInterface',
|
|
389
|
+
tokenParameter: 'tokenParameter',
|
|
390
|
+
tokenField: 'tokenField',
|
|
391
|
+
tokenElement: 'tokenElement',
|
|
392
|
+
tokenFunction: 'tokenFunction',
|
|
393
|
+
tokenBoolean: 'tokenBoolean',
|
|
394
|
+
tokenString: 'tokenString',
|
|
395
|
+
tokenArray: 'tokenArray',
|
|
396
|
+
tokenNumber: 'tokenNumber',
|
|
397
|
+
tokenConstant: 'tokenConstant',
|
|
398
|
+
tokenObject: 'tokenObject',
|
|
399
|
+
tokenEvent: 'tokenEvent',
|
|
400
|
+
tokenKey: 'tokenKey',
|
|
401
|
+
tokenNull: 'tokenNull',
|
|
402
|
+
tokenStruct: 'tokenStruct',
|
|
403
|
+
tokenPackage: 'tokenPackage',
|
|
404
|
+
tokenOperator: 'tokenOperator',
|
|
405
|
+
tokenEnumMember: 'tokenEnumMember',
|
|
406
|
+
tokenRepo: 'tokenRepo',
|
|
407
|
+
tokenSymbol: 'tokenSymbol',
|
|
408
|
+
tokenFile: 'tokenFile',
|
|
409
|
+
tokenModule: 'tokenModule',
|
|
410
|
+
tokenNamespace: 'tokenNamespace',
|
|
411
|
+
tokenDate: 'tokenDate',
|
|
412
|
+
tokenIP: 'tokenIP',
|
|
413
|
+
tokenNested: 'tokenNested',
|
|
414
|
+
tokenAlias: 'tokenAlias',
|
|
415
|
+
tokenShape: 'tokenShape',
|
|
416
|
+
tokenGeo: 'tokenGeo',
|
|
417
|
+
tokenRange: 'tokenRange',
|
|
418
|
+
tokenBinary: 'tokenBinary',
|
|
419
|
+
tokenJoin: 'tokenJoin',
|
|
420
|
+
tokenPercolator: 'tokenPercolator',
|
|
421
|
+
tokenFlattened: 'tokenFlattened',
|
|
422
|
+
tokenRankFeature: 'tokenRankFeature',
|
|
423
|
+
tokenRankFeatures: 'tokenRankFeatures',
|
|
424
|
+
tokenKeyword: 'tokenKeyword',
|
|
425
|
+
tokenTag: 'tokenTag',
|
|
426
|
+
tokenCompletionSuggester: 'tokenCompletionSuggester',
|
|
427
|
+
tokenDenseVector: 'tokenDenseVector',
|
|
428
|
+
tokenText: 'tokenText',
|
|
429
|
+
tokenTokenCount: 'tokenTokenCount',
|
|
430
|
+
tokenSearchType: 'tokenSearchType',
|
|
431
|
+
tokenHistogram: 'tokenHistogram',
|
|
432
|
+
|
|
409
433
|
};
|
|
410
434
|
|
|
411
435
|
export const sizeToClassNameMap = {
|
|
@@ -418,14 +442,14 @@ export const sizeToClassNameMap = {
|
|
|
418
442
|
|
|
419
443
|
export const colorToClassMap = {
|
|
420
444
|
primary: `${baseClass}--primary`,
|
|
421
|
-
secondary: `${baseClass}--secondary`,
|
|
422
445
|
success: `${baseClass}--success`,
|
|
423
446
|
accent: `${baseClass}--accent`,
|
|
424
447
|
warning: `${baseClass}--warning`,
|
|
425
448
|
danger: `${baseClass}--danger`,
|
|
426
449
|
text: `${baseClass}--text`,
|
|
427
450
|
subdued: `${baseClass}--subdued`,
|
|
428
|
-
ghost: `${baseClass}--ghost
|
|
451
|
+
ghost: `${baseClass}--ghost`,
|
|
452
|
+
inherit: `${baseClass}--inherit`
|
|
429
453
|
};
|
|
430
454
|
|
|
431
455
|
const mapping: ComponentMapping = {
|
|
@@ -5,13 +5,28 @@ export const sizeMapping = {
|
|
|
5
5
|
m: `${baseClass}--medium`,
|
|
6
6
|
l: `${baseClass}--large`,
|
|
7
7
|
xl: `${baseClass}--xlarge`,
|
|
8
|
-
fullWidth: `${baseClass}--fullWidth
|
|
8
|
+
fullWidth: `${baseClass}--fullWidth`,
|
|
9
|
+
original: `${baseClass}----original`
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export const marginMapping = {
|
|
13
|
+
s: `${baseClass}--marginSmall`,
|
|
14
|
+
m: `${baseClass}--marginMedium`,
|
|
15
|
+
l: `${baseClass}--marginLarge`,
|
|
16
|
+
xl: `${baseClass}--marginXlarge`
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export const floatMapping = {
|
|
20
|
+
left: `${baseClass}--floatLeft`,
|
|
21
|
+
right: `${baseClass}--floatRight`
|
|
9
22
|
};
|
|
10
23
|
|
|
11
24
|
const mapping: ComponentMapping = {
|
|
12
25
|
base: baseClass,
|
|
13
26
|
properties: {
|
|
14
|
-
size: sizeMapping
|
|
27
|
+
size: sizeMapping,
|
|
28
|
+
float: floatMapping,
|
|
29
|
+
margin: marginMapping
|
|
15
30
|
}
|
|
16
31
|
};
|
|
17
32
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export const baseClass = 'euiLink';
|
|
2
|
+
|
|
3
|
+
export const colorMapping = {
|
|
4
|
+
primary: `${baseClass}--primary`,
|
|
5
|
+
subdued: `${baseClass}--subdued`,
|
|
6
|
+
success: `${baseClass}--success`,
|
|
7
|
+
accent: `${baseClass}--accent`,
|
|
8
|
+
danger: `${baseClass}--danger`,
|
|
9
|
+
warning: `${baseClass}--warning`,
|
|
10
|
+
ghost: `${baseClass}--ghost`,
|
|
11
|
+
text: `${baseClass}--text`
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const mapping: ComponentMapping = {
|
|
15
|
+
base: baseClass,
|
|
16
|
+
properties: {
|
|
17
|
+
color: colorMapping
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export default mapping;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export const baseClass = 'euiPageBody';
|
|
2
|
+
|
|
3
|
+
export const paddingSizeMapping = {
|
|
4
|
+
none: '',
|
|
5
|
+
s: `${baseClass}--paddingSmall`,
|
|
6
|
+
m: `${baseClass}--paddingMedium`,
|
|
7
|
+
l: `${baseClass}--paddingLarge`
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export const borderRadiusMapping = {
|
|
11
|
+
none: `${baseClass}--borderRadiusNone`,
|
|
12
|
+
s: `${baseClass}--borderRadiusSmall`,
|
|
13
|
+
m: `${baseClass}--borderRadiusMedium`,
|
|
14
|
+
l: `${baseClass}--borderRadiusLarge`
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
const mapping: ComponentMapping = {
|
|
18
|
+
base: baseClass,
|
|
19
|
+
properties: {
|
|
20
|
+
borderRadiusSize: borderRadiusMapping,
|
|
21
|
+
paddingSize: paddingSizeMapping
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export default mapping;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export const baseClass = 'euiPageContentBody';
|
|
2
|
+
|
|
3
|
+
export const paddingSizeMapping = {
|
|
4
|
+
none: '',
|
|
5
|
+
s: `${baseClass}--paddingSmall`,
|
|
6
|
+
m: `${baseClass}--paddingMedium`,
|
|
7
|
+
l: `${baseClass}--paddingLarge`
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
const mapping: ComponentMapping = {
|
|
11
|
+
base: baseClass,
|
|
12
|
+
properties: {
|
|
13
|
+
paddingSize: paddingSizeMapping
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export default mapping;
|
|
@@ -8,11 +8,17 @@ export const horizontalMapping = {
|
|
|
8
8
|
center: `${baseClass}--horizontalCenter`
|
|
9
9
|
};
|
|
10
10
|
|
|
11
|
+
const borderRadiusMapping = {
|
|
12
|
+
none: `${baseClass}--borderRadiusNone`,
|
|
13
|
+
m: `${baseClass}--borderRadiusMedium`
|
|
14
|
+
};
|
|
15
|
+
|
|
11
16
|
const mapping: ComponentMapping = {
|
|
12
17
|
base: baseClass,
|
|
13
18
|
properties: {
|
|
14
19
|
verticalPosition: verticalMapping,
|
|
15
|
-
horizontalPosition: horizontalMapping
|
|
20
|
+
horizontalPosition: horizontalMapping,
|
|
21
|
+
borderRadius: borderRadiusMapping
|
|
16
22
|
}
|
|
17
23
|
};
|
|
18
24
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export const baseClass = 'euiPageHeader';
|
|
2
|
+
|
|
3
|
+
export const paddingSizeMapping = {
|
|
4
|
+
none: '',
|
|
5
|
+
s: 'euiPageHeader--paddingSmall',
|
|
6
|
+
m: 'euiPageHeader--paddingMedium',
|
|
7
|
+
l: 'euiPageHeader--paddingLarge'
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
const mapping: ComponentMapping = {
|
|
11
|
+
base: baseClass,
|
|
12
|
+
properties: {
|
|
13
|
+
paddingSize: paddingSizeMapping
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export default mapping;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export const baseClass = 'euiPageSideBar';
|
|
2
|
+
|
|
3
|
+
export const paddingSizeMapping = {
|
|
4
|
+
none: '',
|
|
5
|
+
s: `${baseClass}--paddingSmall`,
|
|
6
|
+
m: `${baseClass}--paddingMedium`,
|
|
7
|
+
l: `${baseClass}--paddingLarge`
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
const mapping: ComponentMapping = {
|
|
11
|
+
base: baseClass,
|
|
12
|
+
properties: {
|
|
13
|
+
paddingSize: paddingSizeMapping
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export default mapping;
|
|
@@ -9,7 +9,6 @@ const sizeToClassMapping = {
|
|
|
9
9
|
|
|
10
10
|
const colorToClassMap = {
|
|
11
11
|
primary: `${baseClass}--primary`,
|
|
12
|
-
secondary: `${baseClass}--secondary`,
|
|
13
12
|
success: `${baseClass}--success`,
|
|
14
13
|
warning: `${baseClass}--warning`,
|
|
15
14
|
danger: `${baseClass}--danger`,
|
|
@@ -29,7 +28,6 @@ const colorToClassMap = {
|
|
|
29
28
|
|
|
30
29
|
const dataColorToClassMap = {
|
|
31
30
|
primary: `${baseClass}__data--primary`,
|
|
32
|
-
secondary: `${baseClass}__data--secondary`,
|
|
33
31
|
success: `${baseClass}__data--success`,
|
|
34
32
|
warning: `${baseClass}__data--warning`,
|
|
35
33
|
danger: `${baseClass}__data--danger`,
|
|
@@ -1,17 +1,35 @@
|
|
|
1
|
+
import {
|
|
2
|
+
calculateThumbPosition,
|
|
3
|
+
calculateOffset
|
|
4
|
+
} from '../../helpers/get-range-tick';
|
|
5
|
+
|
|
1
6
|
export const baseClass = 'euiRangeLevels';
|
|
2
7
|
|
|
3
8
|
export function inlineStyles({
|
|
4
9
|
min,
|
|
5
10
|
max,
|
|
6
|
-
level
|
|
11
|
+
level,
|
|
12
|
+
trackWidth
|
|
7
13
|
}: {
|
|
8
14
|
min: number;
|
|
9
15
|
max: number;
|
|
10
16
|
level: { min: number; max: number };
|
|
17
|
+
trackWidth: number;
|
|
11
18
|
}): Record<string, unknown> {
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
|
|
19
|
+
const left =
|
|
20
|
+
level.min === min
|
|
21
|
+
? 0
|
|
22
|
+
: calculateThumbPosition(level.min, min, max, trackWidth);
|
|
23
|
+
const right =
|
|
24
|
+
level.max === max
|
|
25
|
+
? 100
|
|
26
|
+
: calculateThumbPosition(level.max, min, max, trackWidth);
|
|
27
|
+
const leftOffset = calculateOffset(left, level.min, min);
|
|
28
|
+
const rightOffset = calculateOffset(right, level.max, max);
|
|
29
|
+
return {
|
|
30
|
+
left: `calc(${left}% + ${leftOffset}px)`,
|
|
31
|
+
right: `calc(${100 - right}% - ${rightOffset}px)`
|
|
32
|
+
};
|
|
15
33
|
}
|
|
16
34
|
|
|
17
35
|
const mapping: ComponentMapping = {
|
|
@@ -3,11 +3,12 @@ export const baseClass = 'euiTextColor';
|
|
|
3
3
|
export const colorMapping = {
|
|
4
4
|
default: `${baseClass}--default`,
|
|
5
5
|
subdued: `${baseClass}--subdued`,
|
|
6
|
-
|
|
6
|
+
success: `${baseClass}--success`,
|
|
7
7
|
accent: `${baseClass}--accent`,
|
|
8
8
|
danger: `${baseClass}--danger`,
|
|
9
9
|
warning: `${baseClass}--warning`,
|
|
10
|
-
ghost: `${baseClass}--ghost
|
|
10
|
+
ghost: `${baseClass}--ghost`,
|
|
11
|
+
primary: `${baseClass}--primary`
|
|
11
12
|
};
|
|
12
13
|
|
|
13
14
|
const mapping: ComponentMapping = {
|
|
@@ -25,6 +25,7 @@ import EuiCardSelect from './eui-card-select';
|
|
|
25
25
|
import EuiHeaderSection from './eui-header-section';
|
|
26
26
|
import EuiHeaderSectionItem from './eui-header-section-item';
|
|
27
27
|
import EuiHeader from './eui-header';
|
|
28
|
+
import EuiHealth from './eui-health';
|
|
28
29
|
import EuiButtonIcon from './eui-button-icon';
|
|
29
30
|
import EuiButton from './eui-button';
|
|
30
31
|
import EuiHorizontalRule from './eui-horizontal-rule';
|
|
@@ -52,12 +53,24 @@ import EuiRangeLevels from './eui-range-levels';
|
|
|
52
53
|
import EuiToolTip from './eui-tool-tip';
|
|
53
54
|
import EuiToast from './eui-toast';
|
|
54
55
|
import EuiGlobalToastList from './eui-global-toast-list';
|
|
55
|
-
import
|
|
56
|
+
import EuiCodeBlock from './eui-code-block';
|
|
56
57
|
import EuiStat from './eui-stat';
|
|
58
|
+
import EuiHeaderLinks from './eui-header-links';
|
|
59
|
+
import EuiLink from './eui-link';
|
|
60
|
+
import EuiBetaBadge from './eui-beta-badge';
|
|
61
|
+
import EuiDescriptionList from './eui-description-list';
|
|
62
|
+
import EuiPageSideBar from './eui-page-side-bar';
|
|
63
|
+
import EuiPageBody from './eui-page-body';
|
|
64
|
+
import EuiPageHeader from './eui-page-header';
|
|
65
|
+
import EuiPageContentBody from './eui-page-content-body';
|
|
66
|
+
import EuiEmptyPrompt from './eui-empty-prompt';
|
|
57
67
|
|
|
58
68
|
const mapping: Mapping = {
|
|
69
|
+
EuiDescriptionList,
|
|
70
|
+
EuiBetaBadge,
|
|
71
|
+
EuiLink,
|
|
59
72
|
EuiStat,
|
|
60
|
-
|
|
73
|
+
EuiCodeBlock,
|
|
61
74
|
EuiAccordion,
|
|
62
75
|
EuiIcon,
|
|
63
76
|
EuiModal,
|
|
@@ -85,6 +98,7 @@ const mapping: Mapping = {
|
|
|
85
98
|
EuiHeaderSection,
|
|
86
99
|
EuiHeaderSectionItem,
|
|
87
100
|
EuiHeader,
|
|
101
|
+
EuiHealth,
|
|
88
102
|
EuiButton,
|
|
89
103
|
EuiButtonIcon,
|
|
90
104
|
EuiHorizontalRule,
|
|
@@ -111,7 +125,13 @@ const mapping: Mapping = {
|
|
|
111
125
|
EuiRangeLevels,
|
|
112
126
|
EuiToolTip,
|
|
113
127
|
EuiToast,
|
|
114
|
-
EuiGlobalToastList
|
|
128
|
+
EuiGlobalToastList,
|
|
129
|
+
EuiHeaderLinks,
|
|
130
|
+
EuiPageSideBar,
|
|
131
|
+
EuiPageBody,
|
|
132
|
+
EuiPageHeader,
|
|
133
|
+
EuiPageContentBody,
|
|
134
|
+
EuiEmptyPrompt
|
|
115
135
|
};
|
|
116
136
|
|
|
117
137
|
export default mapping;
|