@ember-eui/core 5.17.2 → 6.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/addon/components/eui-field-number/types.ts +2 -2
- package/addon/components/eui-markdown-editor/index.ts +2 -0
- package/addon/components/eui-markdown-editor-footer/index.hbs +0 -22
- package/addon/components/eui-step/eui-step-number/index.hbs +1 -1
- package/addon/components/eui-super-date-picker/date-popover/eui-date-popover-content.ts +1 -1
- package/addon/components/eui-super-date-picker/date-popover/relative-tab.ts +7 -9
- package/addon/components/eui-super-date-picker/eui-date-picker-range.hbs +1 -1
- package/addon/components/eui-super-date-picker/index.ts +3 -4
- package/addon/components/eui-super-date-picker/types/global.d.ts +0 -2
- package/addon/components/eui-super-date-picker/utils/time-options.ts +3 -4
- package/addon/i18n/util.ts +1 -1
- package/addon/utils/css-mappings/eui-icon.ts +82 -39
- package/addon/utils/markdown/markdown-types.ts +4 -5
- package/addon/utils/markdown/plugins/markdown-default-plugins/processing-plugins.ts +1 -0
- package/addon/utils/markdown/plugins/markdown-default-plugins/ui-plugins.ts +1 -0
- package/docs/display/empty-prompt/demo/d05-loading-and-error-prompts.md +1 -1
- package/docs/display/icons/demo/d01-glyphs.md +40 -6
- package/docs/display/stat-demo/demo/d07-putting-it-all-together.md +1 -1
- package/docs/display/tool-tip/demo/d01-tool-tip.md +1 -1
- package/docs/display/tool-tip/demo/d03-icontip.md +1 -1
- package/docs/forms/form-controls/range/demo/demo7.md +1 -1
- package/docs/navigation/collapsible-nav-demo/demo1.md +2 -2
- package/docs/templates/page-template/index.md +1 -1
- package/index.js +2 -6
- package/package.json +3 -3
- package/vendor/eui_theme_amsterdam_dark.min.css +1 -0
- package/vendor/eui_theme_amsterdam_light.min.css +1 -0
- package/vendor/eui_theme_dark.min.css +1 -0
- package/vendor/eui_theme_light.min.css +1 -0
- package/vendor/icon/svgs/accessibility.svg +3 -0
- package/vendor/icon/svgs/aggregate.svg +3 -0
- package/vendor/icon/svgs/analyzeEvent.svg +3 -0
- package/vendor/icon/svgs/annotation.svg +3 -0
- package/vendor/icon/svgs/apm_trace.svg +3 -0
- package/vendor/icon/svgs/app_add_data.svg +6 -0
- package/vendor/icon/svgs/app_advanced_settings.svg +10 -0
- package/vendor/icon/svgs/app_agent.svg +4 -0
- package/vendor/icon/svgs/app_apm.svg +6 -0
- package/vendor/icon/svgs/app_app_search.svg +4 -0
- package/vendor/icon/svgs/app_auditbeat.svg +7 -0
- package/vendor/icon/svgs/app_canvas.svg +11 -0
- package/vendor/icon/svgs/app_cases.svg +6 -0
- package/vendor/icon/svgs/app_code.svg +7 -0
- package/vendor/icon/svgs/app_console.svg +8 -0
- package/vendor/icon/svgs/app_cross_cluster_replication.svg +6 -0
- package/vendor/icon/svgs/app_dashboard.svg +8 -0
- package/vendor/icon/svgs/app_devtools.svg +6 -0
- package/vendor/icon/svgs/app_discover.svg +6 -0
- package/vendor/icon/svgs/app_ems.svg +6 -0
- package/vendor/icon/svgs/app_filebeat.svg +8 -0
- package/vendor/icon/svgs/app_fleet.svg +6 -0
- package/vendor/icon/svgs/app_gis.svg +4 -0
- package/vendor/icon/svgs/app_graph.svg +6 -0
- package/vendor/icon/svgs/app_grok.svg +6 -0
- package/vendor/icon/svgs/app_heartbeat.svg +6 -0
- package/vendor/icon/svgs/app_index_management.svg +7 -0
- package/vendor/icon/svgs/app_index_pattern.svg +9 -0
- package/vendor/icon/svgs/app_index_rollup.svg +11 -0
- package/vendor/icon/svgs/app_lens.svg +4 -0
- package/vendor/icon/svgs/app_logs.svg +6 -0
- package/vendor/icon/svgs/app_management.svg +6 -0
- package/vendor/icon/svgs/app_metricbeat.svg +7 -0
- package/vendor/icon/svgs/app_metrics.svg +4 -0
- package/vendor/icon/svgs/app_ml.svg +6 -0
- package/vendor/icon/svgs/app_monitoring.svg +7 -0
- package/vendor/icon/svgs/app_notebook.svg +8 -0
- package/vendor/icon/svgs/app_packetbeat.svg +6 -0
- package/vendor/icon/svgs/app_pipeline.svg +6 -0
- package/vendor/icon/svgs/app_recently_viewed.svg +6 -0
- package/vendor/icon/svgs/app_reporting.svg +9 -0
- package/vendor/icon/svgs/app_saved_objects.svg +6 -0
- package/vendor/icon/svgs/app_search_profiler.svg +11 -0
- package/vendor/icon/svgs/app_security.svg +7 -0
- package/vendor/icon/svgs/app_security_analytics.svg +5 -0
- package/vendor/icon/svgs/app_spaces.svg +9 -0
- package/vendor/icon/svgs/app_sql.svg +13 -0
- package/vendor/icon/svgs/app_timelion.svg +6 -0
- package/vendor/icon/svgs/app_upgrade_assistant.svg +6 -0
- package/vendor/icon/svgs/app_uptime.svg +6 -0
- package/vendor/icon/svgs/app_users_roles.svg +6 -0
- package/vendor/icon/svgs/app_visualize.svg +9 -0
- package/vendor/icon/svgs/app_vulnerability_management.svg +4 -0
- package/vendor/icon/svgs/app_watches.svg +8 -0
- package/vendor/icon/svgs/app_workplace_search.svg +4 -0
- package/vendor/icon/svgs/apps.svg +3 -0
- package/vendor/icon/svgs/arrowEnd.svg +1 -0
- package/vendor/icon/svgs/arrowStart.svg +1 -0
- package/vendor/icon/svgs/arrow_down.svg +3 -0
- package/vendor/icon/svgs/arrow_left.svg +3 -0
- package/vendor/icon/svgs/arrow_right.svg +3 -0
- package/vendor/icon/svgs/arrow_up.svg +3 -0
- package/vendor/icon/svgs/article.svg +10 -0
- package/vendor/icon/svgs/asterisk.svg +3 -0
- package/vendor/icon/svgs/beaker.svg +3 -0
- package/vendor/icon/svgs/bell.svg +3 -0
- package/vendor/icon/svgs/bellSlash.svg +3 -0
- package/vendor/icon/svgs/beta.svg +3 -0
- package/vendor/icon/svgs/bolt.svg +3 -0
- package/vendor/icon/svgs/boxes_horizontal.svg +5 -0
- package/vendor/icon/svgs/boxes_vertical.svg +3 -0
- package/vendor/icon/svgs/branch.svg +3 -0
- package/vendor/icon/svgs/branchUser.svg +4 -0
- package/vendor/icon/svgs/broom.svg +3 -0
- package/vendor/icon/svgs/brush.svg +3 -0
- package/vendor/icon/svgs/bug.svg +3 -0
- package/vendor/icon/svgs/bullseye.svg +3 -0
- package/vendor/icon/svgs/calendar.svg +3 -0
- package/vendor/icon/svgs/check.svg +3 -0
- package/vendor/icon/svgs/checkInCircleFilled.svg +3 -0
- package/vendor/icon/svgs/cheer.svg +3 -0
- package/vendor/icon/svgs/clock.svg +3 -0
- package/vendor/icon/svgs/cloudDrizzle.svg +3 -0
- package/vendor/icon/svgs/cloudStormy.svg +3 -0
- package/vendor/icon/svgs/cloudSunny.svg +3 -0
- package/vendor/icon/svgs/cluster.svg +3 -0
- package/vendor/icon/svgs/color.svg +3 -0
- package/vendor/icon/svgs/compute.svg +6 -0
- package/vendor/icon/svgs/console.svg +5 -0
- package/vendor/icon/svgs/container.svg +3 -0
- package/vendor/icon/svgs/continuityAbove.svg +3 -0
- package/vendor/icon/svgs/continuityAboveBelow.svg +3 -0
- package/vendor/icon/svgs/continuityBelow.svg +3 -0
- package/vendor/icon/svgs/continuityWithin.svg +3 -0
- package/vendor/icon/svgs/controls_horizontal.svg +3 -0
- package/vendor/icon/svgs/controls_vertical.svg +3 -0
- package/vendor/icon/svgs/copy.svg +6 -0
- package/vendor/icon/svgs/copy_clipboard.svg +4 -0
- package/vendor/icon/svgs/cross.svg +3 -0
- package/vendor/icon/svgs/crosshairs.svg +3 -0
- package/vendor/icon/svgs/currency.svg +3 -0
- package/vendor/icon/svgs/cut.svg +3 -0
- package/vendor/icon/svgs/database.svg +3 -0
- package/vendor/icon/svgs/desktop.svg +4 -0
- package/vendor/icon/svgs/discuss.svg +4 -0
- package/vendor/icon/svgs/document.svg +3 -0
- package/vendor/icon/svgs/documentEdit.svg +3 -0
- package/vendor/icon/svgs/documentation.svg +5 -0
- package/vendor/icon/svgs/documents.svg +3 -0
- package/vendor/icon/svgs/dot.svg +3 -0
- package/vendor/icon/svgs/dotInCircle.svg +4 -0
- package/vendor/icon/svgs/doubleArrowLeft.svg +4 -0
- package/vendor/icon/svgs/doubleArrowRight.svg +4 -0
- package/vendor/icon/svgs/download.svg +4 -0
- package/vendor/icon/svgs/editorDistributeHorizontal.svg +3 -0
- package/vendor/icon/svgs/editorDistributeVertical.svg +3 -0
- package/vendor/icon/svgs/editorItemAlignBottom.svg +3 -0
- package/vendor/icon/svgs/editorItemAlignCenter.svg +3 -0
- package/vendor/icon/svgs/editorItemAlignLeft.svg +3 -0
- package/vendor/icon/svgs/editorItemAlignMiddle.svg +3 -0
- package/vendor/icon/svgs/editorItemAlignRight.svg +3 -0
- package/vendor/icon/svgs/editorItemAlignTop.svg +3 -0
- package/vendor/icon/svgs/editorPositionBottomLeft.svg +3 -0
- package/vendor/icon/svgs/editorPositionBottomRight.svg +3 -0
- package/vendor/icon/svgs/editorPositionTopLeft.svg +3 -0
- package/vendor/icon/svgs/editorPositionTopRight.svg +3 -0
- package/vendor/icon/svgs/editor_align_center.svg +3 -0
- package/vendor/icon/svgs/editor_align_left.svg +3 -0
- package/vendor/icon/svgs/editor_align_right.svg +3 -0
- package/vendor/icon/svgs/editor_bold.svg +3 -0
- package/vendor/icon/svgs/editor_checklist.svg +3 -0
- package/vendor/icon/svgs/editor_code_block.svg +3 -0
- package/vendor/icon/svgs/editor_comment.svg +3 -0
- package/vendor/icon/svgs/editor_heading.svg +3 -0
- package/vendor/icon/svgs/editor_italic.svg +3 -0
- package/vendor/icon/svgs/editor_link.svg +3 -0
- package/vendor/icon/svgs/editor_ordered_list.svg +3 -0
- package/vendor/icon/svgs/editor_redo.svg +3 -0
- package/vendor/icon/svgs/editor_strike.svg +3 -0
- package/vendor/icon/svgs/editor_table.svg +3 -0
- package/vendor/icon/svgs/editor_underline.svg +3 -0
- package/vendor/icon/svgs/editor_undo.svg +3 -0
- package/vendor/icon/svgs/editor_unordered_list.svg +3 -0
- package/vendor/icon/svgs/email.svg +3 -0
- package/vendor/icon/svgs/empty.svg +2 -0
- package/vendor/icon/svgs/eql.svg +4 -0
- package/vendor/icon/svgs/eraser.svg +4 -0
- package/vendor/icon/svgs/error.svg +3 -0
- package/vendor/icon/svgs/exit.svg +3 -0
- package/vendor/icon/svgs/expand.svg +3 -0
- package/vendor/icon/svgs/expandMini.svg +3 -0
- package/vendor/icon/svgs/export.svg +3 -0
- package/vendor/icon/svgs/eye.svg +3 -0
- package/vendor/icon/svgs/eye_closed.svg +3 -0
- package/vendor/icon/svgs/face_happy.svg +5 -0
- package/vendor/icon/svgs/face_neutral.svg +3 -0
- package/vendor/icon/svgs/face_sad.svg +3 -0
- package/vendor/icon/svgs/filter.svg +3 -0
- package/vendor/icon/svgs/filterExclude.svg +5 -0
- package/vendor/icon/svgs/filterIgnore.svg +4 -0
- package/vendor/icon/svgs/filterInCircle.svg +3 -0
- package/vendor/icon/svgs/filterInclude.svg +5 -0
- package/vendor/icon/svgs/flag.svg +3 -0
- package/vendor/icon/svgs/fold.svg +1 -0
- package/vendor/icon/svgs/folder_check.svg +3 -0
- package/vendor/icon/svgs/folder_closed.svg +3 -0
- package/vendor/icon/svgs/folder_exclamation.svg +3 -0
- package/vendor/icon/svgs/folder_open.svg +3 -0
- package/vendor/icon/svgs/frameNext.svg +3 -0
- package/vendor/icon/svgs/framePrevious.svg +3 -0
- package/vendor/icon/svgs/fullScreenExit.svg +3 -0
- package/vendor/icon/svgs/full_screen.svg +5 -0
- package/vendor/icon/svgs/function.svg +3 -0
- package/vendor/icon/svgs/gear.svg +3 -0
- package/vendor/icon/svgs/glasses.svg +3 -0
- package/vendor/icon/svgs/globe.svg +3 -0
- package/vendor/icon/svgs/grab.svg +3 -0
- package/vendor/icon/svgs/grab_horizontal.svg +3 -0
- package/vendor/icon/svgs/grid.svg +3 -0
- package/vendor/icon/svgs/heart.svg +3 -0
- package/vendor/icon/svgs/heatmap.svg +3 -0
- package/vendor/icon/svgs/help.svg +3 -0
- package/vendor/icon/svgs/home.svg +3 -0
- package/vendor/icon/svgs/iInCircle.svg +3 -0
- package/vendor/icon/svgs/image.svg +1 -0
- package/vendor/icon/svgs/import.svg +3 -0
- package/vendor/icon/svgs/indexTemporary.svg +4 -0
- package/vendor/icon/svgs/index_close.svg +3 -0
- package/vendor/icon/svgs/index_edit.svg +3 -0
- package/vendor/icon/svgs/index_flush.svg +3 -0
- package/vendor/icon/svgs/index_mapping.svg +3 -0
- package/vendor/icon/svgs/index_open.svg +3 -0
- package/vendor/icon/svgs/index_runtime.svg +4 -0
- package/vendor/icon/svgs/index_settings.svg +7 -0
- package/vendor/icon/svgs/infinity.svg +3 -0
- package/vendor/icon/svgs/inputOutput.svg +9 -0
- package/vendor/icon/svgs/inspect.svg +3 -0
- package/vendor/icon/svgs/invert.svg +6 -0
- package/vendor/icon/svgs/ip.svg +3 -0
- package/vendor/icon/svgs/keyboard.svg +3 -0
- package/vendor/icon/svgs/kql_field.svg +5 -0
- package/vendor/icon/svgs/kql_function.svg +5 -0
- package/vendor/icon/svgs/kql_operand.svg +5 -0
- package/vendor/icon/svgs/kql_selector.svg +5 -0
- package/vendor/icon/svgs/kql_value.svg +5 -0
- package/vendor/icon/svgs/kubernetesNode.svg +3 -0
- package/vendor/icon/svgs/kubernetesPod.svg +3 -0
- package/vendor/icon/svgs/launch.svg +5 -0
- package/vendor/icon/svgs/layers.svg +5 -0
- package/vendor/icon/svgs/lettering.svg +3 -0
- package/vendor/icon/svgs/lineDashed.svg +3 -0
- package/vendor/icon/svgs/lineDotted.svg +3 -0
- package/vendor/icon/svgs/lineSolid.svg +3 -0
- package/vendor/icon/svgs/link.svg +3 -0
- package/vendor/icon/svgs/list.svg +3 -0
- package/vendor/icon/svgs/list_add.svg +3 -0
- package/vendor/icon/svgs/lock.svg +3 -0
- package/vendor/icon/svgs/lockOpen.svg +3 -0
- package/vendor/icon/svgs/logo_aerospike.svg +6 -0
- package/vendor/icon/svgs/logo_apache.svg +54 -0
- package/vendor/icon/svgs/logo_app_search.svg +7 -0
- package/vendor/icon/svgs/logo_aws.svg +9 -0
- package/vendor/icon/svgs/logo_aws_mono.svg +9 -0
- package/vendor/icon/svgs/logo_azure.svg +3 -0
- package/vendor/icon/svgs/logo_azure_mono.svg +3 -0
- package/vendor/icon/svgs/logo_beats.svg +7 -0
- package/vendor/icon/svgs/logo_business_analytics.svg +7 -0
- package/vendor/icon/svgs/logo_ceph.svg +3 -0
- package/vendor/icon/svgs/logo_cloud.svg +7 -0
- package/vendor/icon/svgs/logo_cloud_ece.svg +5 -0
- package/vendor/icon/svgs/logo_code.svg +5 -0
- package/vendor/icon/svgs/logo_codesandbox.svg +3 -0
- package/vendor/icon/svgs/logo_couchbase.svg +3 -0
- package/vendor/icon/svgs/logo_docker.svg +1 -0
- package/vendor/icon/svgs/logo_dropwizard.svg +21 -0
- package/vendor/icon/svgs/logo_elastic.svg +10 -0
- package/vendor/icon/svgs/logo_elastic_stack.svg +8 -0
- package/vendor/icon/svgs/logo_elasticsearch.svg +7 -0
- package/vendor/icon/svgs/logo_enterprise_search.svg +5 -0
- package/vendor/icon/svgs/logo_etcd.svg +6 -0
- package/vendor/icon/svgs/logo_gcp.svg +19 -0
- package/vendor/icon/svgs/logo_gcp_mono.svg +6 -0
- package/vendor/icon/svgs/logo_github.svg +3 -0
- package/vendor/icon/svgs/logo_gmail.svg +11 -0
- package/vendor/icon/svgs/logo_golang.svg +37 -0
- package/vendor/icon/svgs/logo_google_g.svg +1 -0
- package/vendor/icon/svgs/logo_haproxy.svg +197 -0
- package/vendor/icon/svgs/logo_ibm.svg +37 -0
- package/vendor/icon/svgs/logo_ibm_mono.svg +3 -0
- package/vendor/icon/svgs/logo_kafka.svg +3 -0
- package/vendor/icon/svgs/logo_kibana.svg +7 -0
- package/vendor/icon/svgs/logo_kubernetes.svg +1 -0
- package/vendor/icon/svgs/logo_logging.svg +5 -0
- package/vendor/icon/svgs/logo_logstash.svg +7 -0
- package/vendor/icon/svgs/logo_maps.svg +5 -0
- package/vendor/icon/svgs/logo_memcached.svg +28 -0
- package/vendor/icon/svgs/logo_metrics.svg +7 -0
- package/vendor/icon/svgs/logo_mongodb.svg +10 -0
- package/vendor/icon/svgs/logo_mysql.svg +6 -0
- package/vendor/icon/svgs/logo_nginx.svg +6 -0
- package/vendor/icon/svgs/logo_observability.svg +7 -0
- package/vendor/icon/svgs/logo_osquery.svg +12 -0
- package/vendor/icon/svgs/logo_php.svg +44 -0
- package/vendor/icon/svgs/logo_postgres.svg +8 -0
- package/vendor/icon/svgs/logo_prometheus.svg +3 -0
- package/vendor/icon/svgs/logo_rabbitmq.svg +3 -0
- package/vendor/icon/svgs/logo_redis.svg +1 -0
- package/vendor/icon/svgs/logo_security.svg +7 -0
- package/vendor/icon/svgs/logo_site_search.svg +7 -0
- package/vendor/icon/svgs/logo_sketch.svg +12 -0
- package/vendor/icon/svgs/logo_slack.svg +8 -0
- package/vendor/icon/svgs/logo_uptime.svg +5 -0
- package/vendor/icon/svgs/logo_vulnerability_management.svg +7 -0
- package/vendor/icon/svgs/logo_webhook.svg +7 -0
- package/vendor/icon/svgs/logo_windows.svg +3 -0
- package/vendor/icon/svgs/logo_workplace_search.svg +7 -0
- package/vendor/icon/svgs/logstash_filter.svg +3 -0
- package/vendor/icon/svgs/logstash_if.svg +3 -0
- package/vendor/icon/svgs/logstash_input.svg +3 -0
- package/vendor/icon/svgs/logstash_output.svg +3 -0
- package/vendor/icon/svgs/logstash_queue.svg +3 -0
- package/vendor/icon/svgs/magnet.svg +3 -0
- package/vendor/icon/svgs/magnifyWithExclamation.svg +3 -0
- package/vendor/icon/svgs/magnifyWithMinus.svg +3 -0
- package/vendor/icon/svgs/magnifyWithPlus.svg +3 -0
- package/vendor/icon/svgs/map_marker.svg +3 -0
- package/vendor/icon/svgs/memory.svg +12 -0
- package/vendor/icon/svgs/menu.svg +3 -0
- package/vendor/icon/svgs/menuDown.svg +3 -0
- package/vendor/icon/svgs/menuLeft.svg +3 -0
- package/vendor/icon/svgs/menuRight.svg +3 -0
- package/vendor/icon/svgs/menuUp.svg +3 -0
- package/vendor/icon/svgs/merge.svg +3 -0
- package/vendor/icon/svgs/minimize.svg +3 -0
- package/vendor/icon/svgs/minus.svg +3 -0
- package/vendor/icon/svgs/minus_in_circle.svg +3 -0
- package/vendor/icon/svgs/minus_in_circle_filled.svg +3 -0
- package/vendor/icon/svgs/ml_classification_job.svg +7 -0
- package/vendor/icon/svgs/ml_create_advanced_job.svg +4 -0
- package/vendor/icon/svgs/ml_create_multi_metric_job.svg +4 -0
- package/vendor/icon/svgs/ml_create_population_job.svg +4 -0
- package/vendor/icon/svgs/ml_create_single_metric_job.svg +6 -0
- package/vendor/icon/svgs/ml_data_visualizer.svg +4 -0
- package/vendor/icon/svgs/ml_outlier_detection_job.svg +7 -0
- package/vendor/icon/svgs/ml_regression_job.svg +4 -0
- package/vendor/icon/svgs/mobile.svg +4 -0
- package/vendor/icon/svgs/moon.svg +3 -0
- package/vendor/icon/svgs/namespace.svg +3 -0
- package/vendor/icon/svgs/nested.svg +3 -0
- package/vendor/icon/svgs/node.svg +3 -0
- package/vendor/icon/svgs/number.svg +3 -0
- package/vendor/icon/svgs/offline.svg +3 -0
- package/vendor/icon/svgs/online.svg +3 -0
- package/vendor/icon/svgs/package.svg +3 -0
- package/vendor/icon/svgs/pageSelect.svg +3 -0
- package/vendor/icon/svgs/pagesSelect.svg +3 -0
- package/vendor/icon/svgs/paint.svg +3 -0
- package/vendor/icon/svgs/paper_clip.svg +3 -0
- package/vendor/icon/svgs/partial.svg +3 -0
- package/vendor/icon/svgs/pause.svg +3 -0
- package/vendor/icon/svgs/payment.svg +3 -0
- package/vendor/icon/svgs/pencil.svg +3 -0
- package/vendor/icon/svgs/percent.svg +5 -0
- package/vendor/icon/svgs/pin.svg +3 -0
- package/vendor/icon/svgs/pin_filled.svg +3 -0
- package/vendor/icon/svgs/pivot.svg +3 -0
- package/vendor/icon/svgs/play.svg +3 -0
- package/vendor/icon/svgs/playFilled.svg +3 -0
- package/vendor/icon/svgs/plus.svg +3 -0
- package/vendor/icon/svgs/plus_in_circle.svg +3 -0
- package/vendor/icon/svgs/plus_in_circle_filled.svg +3 -0
- package/vendor/icon/svgs/popout.svg +3 -0
- package/vendor/icon/svgs/push.svg +4 -0
- package/vendor/icon/svgs/question_in_circle.svg +3 -0
- package/vendor/icon/svgs/quote.svg +3 -0
- package/vendor/icon/svgs/refresh.svg +3 -0
- package/vendor/icon/svgs/reporter.svg +3 -0
- package/vendor/icon/svgs/return_key.svg +3 -0
- package/vendor/icon/svgs/save.svg +3 -0
- package/vendor/icon/svgs/scale.svg +3 -0
- package/vendor/icon/svgs/search.svg +3 -0
- package/vendor/icon/svgs/securitySignal.svg +3 -0
- package/vendor/icon/svgs/securitySignalDetected.svg +3 -0
- package/vendor/icon/svgs/securitySignalResolved.svg +3 -0
- package/vendor/icon/svgs/sessionViewer.svg +4 -0
- package/vendor/icon/svgs/shard.svg +3 -0
- package/vendor/icon/svgs/share.svg +3 -0
- package/vendor/icon/svgs/snowflake.svg +3 -0
- package/vendor/icon/svgs/sortAscending.svg +3 -0
- package/vendor/icon/svgs/sortDescending.svg +3 -0
- package/vendor/icon/svgs/sortLeft.svg +5 -0
- package/vendor/icon/svgs/sortRight.svg +3 -0
- package/vendor/icon/svgs/sort_down.svg +3 -0
- package/vendor/icon/svgs/sort_up.svg +3 -0
- package/vendor/icon/svgs/sortable.svg +3 -0
- package/vendor/icon/svgs/spaces.svg +3 -0
- package/vendor/icon/svgs/starPlusEmpty.svg +3 -0
- package/vendor/icon/svgs/starPlusFilled.svg +3 -0
- package/vendor/icon/svgs/star_empty.svg +3 -0
- package/vendor/icon/svgs/star_empty_space.svg +3 -0
- package/vendor/icon/svgs/star_filled.svg +3 -0
- package/vendor/icon/svgs/star_filled_space.svg +3 -0
- package/vendor/icon/svgs/star_minus_empty.svg +3 -0
- package/vendor/icon/svgs/star_minus_filled.svg +3 -0
- package/vendor/icon/svgs/stats.svg +3 -0
- package/vendor/icon/svgs/stop.svg +3 -0
- package/vendor/icon/svgs/stop_filled.svg +3 -0
- package/vendor/icon/svgs/stop_slash.svg +3 -0
- package/vendor/icon/svgs/storage.svg +11 -0
- package/vendor/icon/svgs/string.svg +3 -0
- package/vendor/icon/svgs/submodule.svg +3 -0
- package/vendor/icon/svgs/sun.svg +3 -0
- package/vendor/icon/svgs/swatch_input.svg +4 -0
- package/vendor/icon/svgs/symlink.svg +3 -0
- package/vendor/icon/svgs/tableOfContents.svg +3 -0
- package/vendor/icon/svgs/table_density_compact.svg +3 -0
- package/vendor/icon/svgs/table_density_expanded.svg +3 -0
- package/vendor/icon/svgs/table_density_normal.svg +3 -0
- package/vendor/icon/svgs/tag.svg +3 -0
- package/vendor/icon/svgs/tear.svg +3 -0
- package/vendor/icon/svgs/temperature.svg +6 -0
- package/vendor/icon/svgs/timeRefresh.svg +1 -0
- package/vendor/icon/svgs/timeline.svg +3 -0
- package/vendor/icon/svgs/timelineWithArrow.svg +6 -0
- package/vendor/icon/svgs/timeslider.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenAlias.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenAnnotation.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenArray.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenBinary.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenBoolean.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenClass.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenCompletionSuggester.svg +7 -0
- package/vendor/icon/svgs/tokens/tokenConstant.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenDate.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenDenseVector.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenElement.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenEnum.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenEnumMember.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenEvent.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenException.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenField.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenFile.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenFlattened.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenFunction.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenGeo.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenHistogram.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenIP.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenInterface.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenJoin.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenKey.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenKeyword.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenMethod.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenMetricCounter.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenMetricGauge.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenModule.svg +4 -0
- package/vendor/icon/svgs/tokens/tokenNamespace.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenNested.svg +6 -0
- package/vendor/icon/svgs/tokens/tokenNull.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenNumber.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenObject.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenOperator.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenPackage.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenParameter.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenPercolator.svg +4 -0
- package/vendor/icon/svgs/tokens/tokenProperty.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenRange.svg +6 -0
- package/vendor/icon/svgs/tokens/tokenRankFeature.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenRankFeatures.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenRepo.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenSearchType.svg +7 -0
- package/vendor/icon/svgs/tokens/tokenShape.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenString.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenStruct.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenSymbol.svg +3 -0
- package/vendor/icon/svgs/tokens/tokenTag.svg +4 -0
- package/vendor/icon/svgs/tokens/tokenText.svg +4 -0
- package/vendor/icon/svgs/tokens/tokenTokenCount.svg +8 -0
- package/vendor/icon/svgs/tokens/tokenVariable.svg +3 -0
- package/vendor/icon/svgs/training.svg +3 -0
- package/vendor/icon/svgs/trash.svg +3 -0
- package/vendor/icon/svgs/unfold.svg +1 -0
- package/vendor/icon/svgs/unlink.svg +4 -0
- package/vendor/icon/svgs/user.svg +4 -0
- package/vendor/icon/svgs/userAvatar.svg +6 -0
- package/vendor/icon/svgs/users.svg +4 -0
- package/vendor/icon/svgs/vector.svg +3 -0
- package/vendor/icon/svgs/videoPlayer.svg +3 -0
- package/vendor/icon/svgs/vis_area.svg +3 -0
- package/vendor/icon/svgs/vis_area_stacked.svg +3 -0
- package/vendor/icon/svgs/vis_bar_horizontal.svg +3 -0
- package/vendor/icon/svgs/vis_bar_horizontal_stacked.svg +3 -0
- package/vendor/icon/svgs/vis_bar_vertical.svg +3 -0
- package/vendor/icon/svgs/vis_bar_vertical_stacked.svg +3 -0
- package/vendor/icon/svgs/vis_gauge.svg +3 -0
- package/vendor/icon/svgs/vis_goal.svg +3 -0
- package/vendor/icon/svgs/vis_line.svg +3 -0
- package/vendor/icon/svgs/vis_map_coordinate.svg +3 -0
- package/vendor/icon/svgs/vis_map_region.svg +3 -0
- package/vendor/icon/svgs/vis_metric.svg +3 -0
- package/vendor/icon/svgs/vis_pie.svg +3 -0
- package/vendor/icon/svgs/vis_table.svg +3 -0
- package/vendor/icon/svgs/vis_tag_cloud.svg +3 -0
- package/vendor/icon/svgs/vis_text.svg +3 -0
- package/vendor/icon/svgs/vis_timelion.svg +3 -0
- package/vendor/icon/svgs/vis_vega.svg +3 -0
- package/vendor/icon/svgs/vis_visual_builder.svg +3 -0
- package/vendor/icon/svgs/warning.svg +4 -0
- package/vendor/icon/svgs/wordWrap.svg +4 -0
- package/vendor/icon/svgs/wordWrapDisabled.svg +3 -0
- package/vendor/icon/svgs/wrench.svg +3 -0
package/README.md
CHANGED
|
@@ -25,13 +25,13 @@ export type EuiFieldNumberArgs = Omit<
|
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* Creates an input group with element(s) coming before input.
|
|
28
|
-
* `string` | `
|
|
28
|
+
* `string` | `Component` or an array of these
|
|
29
29
|
*/
|
|
30
30
|
prepend?: EuiFormControlLayoutArgs['prepend'];
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* Creates an input group with element(s) coming after input.
|
|
34
|
-
* `string` | `
|
|
34
|
+
* `string` | `Component` or an array of these
|
|
35
35
|
*/
|
|
36
36
|
append?: EuiFormControlLayoutArgs['append'];
|
|
37
37
|
|
|
@@ -140,6 +140,7 @@ export default class EuiMarkdownEditorComponent extends Component<EuiMarkdownEdi
|
|
|
140
140
|
super(owner, args);
|
|
141
141
|
this.markdownActions = new MarkdownActions(
|
|
142
142
|
this.editorId,
|
|
143
|
+
// @ts-expect-error
|
|
143
144
|
this.toolbarPlugins
|
|
144
145
|
);
|
|
145
146
|
this.currentHeight = this.height;
|
|
@@ -187,6 +188,7 @@ export default class EuiMarkdownEditorComponent extends Component<EuiMarkdownEdi
|
|
|
187
188
|
let { isPreviewing, autoExpandPreview, height, previewRef, currentHeight } =
|
|
188
189
|
this;
|
|
189
190
|
if (isPreviewing && autoExpandPreview && height !== 'full' && previewRef) {
|
|
191
|
+
//@ts-ignore
|
|
190
192
|
if (previewRef.scrollHeight > currentHeight) {
|
|
191
193
|
// scrollHeight does not include the border or margin
|
|
192
194
|
// so we ask for the computed value for those,
|
|
@@ -65,28 +65,6 @@
|
|
|
65
65
|
</a>
|
|
66
66
|
<p>You can also utilize these additional syntax plugins to add rich
|
|
67
67
|
content to yoru text.</p>
|
|
68
|
-
|
|
69
|
-
{{! <EuiI18n
|
|
70
|
-
tokens={[
|
|
71
|
-
'euiMarkdownEditorFooter.descriptionPrefix',
|
|
72
|
-
'euiMarkdownEditorFooter.descriptionSuffix',
|
|
73
|
-
]}
|
|
74
|
-
defaults={[
|
|
75
|
-
'This editor uses',
|
|
76
|
-
'You can also utilize these additional syntax plugins to add rich content to your text.',
|
|
77
|
-
]}>
|
|
78
|
-
{([descriptionPrefix, descriptionSuffix]: ReactChild[]) => (
|
|
79
|
-
<p>
|
|
80
|
-
{descriptionPrefix}{' '}
|
|
81
|
-
<a
|
|
82
|
-
href="https://github.github.com/gfm/"
|
|
83
|
-
target="_blank">
|
|
84
|
-
Github flavored markdown
|
|
85
|
-
</a>
|
|
86
|
-
. {descriptionSuffix}
|
|
87
|
-
</p>
|
|
88
|
-
)}
|
|
89
|
-
</EuiI18n> }}
|
|
90
68
|
</EuiText>
|
|
91
69
|
<EuiHorizontalRule />
|
|
92
70
|
{{#each @uiPlugins as |uiPlugin|}}
|
|
@@ -7,7 +7,7 @@ import type EuiI18n from '../../../services/eui-i18n';
|
|
|
7
7
|
|
|
8
8
|
interface EuiDatePopoverContentArgs {
|
|
9
9
|
value: string;
|
|
10
|
-
onChange(date: string | null, event?:
|
|
10
|
+
onChange(date: string | null, event?: any): void;
|
|
11
11
|
roundUp?: boolean;
|
|
12
12
|
dateFormat: string;
|
|
13
13
|
timeFormat: string;
|
|
@@ -5,14 +5,13 @@ import { LocaleSpecifier } from 'moment';
|
|
|
5
5
|
import { tracked } from '@glimmer/tracking';
|
|
6
6
|
import { action } from '@ember/object';
|
|
7
7
|
import { parseRelativeParts } from '../utils';
|
|
8
|
-
import { EuiDatePopoverContentProps, TimeUnitId } from '@elastic/eui';
|
|
9
8
|
import { TimeOptions } from '../utils/time-options';
|
|
10
9
|
|
|
11
10
|
interface RelativeTabArgs {
|
|
12
11
|
dateFormat: string;
|
|
13
12
|
locale?: LocaleSpecifier;
|
|
14
13
|
value: string;
|
|
15
|
-
onChange:
|
|
14
|
+
onChange: any;
|
|
16
15
|
roundUp?: boolean;
|
|
17
16
|
position: 'start' | 'end';
|
|
18
17
|
labelPrefix: string;
|
|
@@ -21,7 +20,7 @@ interface RelativeTabArgs {
|
|
|
21
20
|
|
|
22
21
|
export default class RelativeTab extends Component<RelativeTabArgs> {
|
|
23
22
|
@tracked count?: number;
|
|
24
|
-
@tracked unit:
|
|
23
|
+
@tracked unit: any = 'm';
|
|
25
24
|
@tracked round = false;
|
|
26
25
|
|
|
27
26
|
roundUnit;
|
|
@@ -31,7 +30,7 @@ export default class RelativeTab extends Component<RelativeTabArgs> {
|
|
|
31
30
|
const parsed = parseRelativeParts(this.args.value);
|
|
32
31
|
if (parsed) {
|
|
33
32
|
this.count = parsed.count;
|
|
34
|
-
this.unit = parsed.unit as
|
|
33
|
+
this.unit = parsed.unit as any;
|
|
35
34
|
this.round = parsed.round;
|
|
36
35
|
this.roundUnit = parsed.roundUnit;
|
|
37
36
|
}
|
|
@@ -53,9 +52,8 @@ export default class RelativeTab extends Component<RelativeTabArgs> {
|
|
|
53
52
|
}
|
|
54
53
|
|
|
55
54
|
get roundingLabel() {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
];
|
|
55
|
+
//@ts-expect-error
|
|
56
|
+
return this.args.timeOptions.relativeRoundingLabels[this.unit[0]];
|
|
59
57
|
}
|
|
60
58
|
|
|
61
59
|
@action onCountChange(e: InputEvent) {
|
|
@@ -65,7 +63,7 @@ export default class RelativeTab extends Component<RelativeTabArgs> {
|
|
|
65
63
|
}
|
|
66
64
|
|
|
67
65
|
@action onUnitChange(unit: string) {
|
|
68
|
-
this.unit = unit as
|
|
66
|
+
this.unit = unit as any;
|
|
69
67
|
this.handleChange();
|
|
70
68
|
}
|
|
71
69
|
|
|
@@ -81,7 +79,7 @@ export default class RelativeTab extends Component<RelativeTabArgs> {
|
|
|
81
79
|
const date = toRelativeStringFromParts({
|
|
82
80
|
count: this.count,
|
|
83
81
|
round: this.round,
|
|
84
|
-
roundUnit: this.roundUnit as
|
|
82
|
+
roundUnit: this.roundUnit as any,
|
|
85
83
|
unit: this.unit
|
|
86
84
|
});
|
|
87
85
|
this.args.onChange(date);
|
|
@@ -11,7 +11,6 @@ import {
|
|
|
11
11
|
} from './types/global';
|
|
12
12
|
import { isRangeInvalid } from './utils';
|
|
13
13
|
import { useI18nTimeOptions } from './utils/time-options';
|
|
14
|
-
import { OnRefreshProps, OnTimeChangeProps } from '@elastic/eui';
|
|
15
14
|
import type EuiI18n from '../../services/eui-i18n';
|
|
16
15
|
import { inject as service } from '@ember/service';
|
|
17
16
|
|
|
@@ -50,7 +49,7 @@ interface EuiSuperDatePickerArgs {
|
|
|
50
49
|
* If a promise is returned, the next refresh interval will not start until the promise has resolved.
|
|
51
50
|
* If the promise rejects the refresh interval will stop and the error thrown
|
|
52
51
|
*/
|
|
53
|
-
onRefresh?: (props:
|
|
52
|
+
onRefresh?: (props: any) => void;
|
|
54
53
|
/**
|
|
55
54
|
* Callback for when the refresh interval changes.
|
|
56
55
|
* Supply onRefreshChange to show refresh interval inputs in quick select popover
|
|
@@ -59,7 +58,7 @@ interface EuiSuperDatePickerArgs {
|
|
|
59
58
|
/**
|
|
60
59
|
* Callback for when the time changes.
|
|
61
60
|
*/
|
|
62
|
-
onTimeChange: (props:
|
|
61
|
+
onTimeChange: (props: any) => void;
|
|
63
62
|
// recentlyUsedRanges?: DurationRange[];
|
|
64
63
|
/**
|
|
65
64
|
* Refresh interval in milliseconds
|
|
@@ -136,7 +135,7 @@ export default class EuiSuperDatePicker extends Component<EuiSuperDatePickerArgs
|
|
|
136
135
|
end,
|
|
137
136
|
isQuickSelection: false,
|
|
138
137
|
isInvalid: this.isInvalid
|
|
139
|
-
} as
|
|
138
|
+
} as any);
|
|
140
139
|
}
|
|
141
140
|
}
|
|
142
141
|
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
6
6
|
* Side Public License, v 1.
|
|
7
7
|
*/
|
|
8
|
-
import { EuiSelectOption } from '@elastic/eui';
|
|
9
8
|
import type EuiI18n from '../../../services/eui-i18n';
|
|
10
9
|
|
|
11
10
|
import { TimeUnitId, RelativeOption, DurationRange } from '../types/global';
|
|
@@ -14,11 +13,11 @@ export const LAST = 'last';
|
|
|
14
13
|
export const NEXT = 'next';
|
|
15
14
|
|
|
16
15
|
export type TimeOptions = {
|
|
17
|
-
timeTenseOptions:
|
|
18
|
-
timeUnitsOptions:
|
|
16
|
+
timeTenseOptions: any[];
|
|
17
|
+
timeUnitsOptions: any[];
|
|
19
18
|
relativeOptions: RelativeOption[];
|
|
20
19
|
relativeRoundingLabels: { [id in TimeUnitId]: string };
|
|
21
|
-
refreshUnitsOptions:
|
|
20
|
+
refreshUnitsOptions: any[];
|
|
22
21
|
commonDurationRanges: DurationRange[];
|
|
23
22
|
};
|
|
24
23
|
|
package/addon/i18n/util.ts
CHANGED
|
@@ -34,7 +34,7 @@ function isElement(value: any) {
|
|
|
34
34
|
* @param {string} input
|
|
35
35
|
* @param {RenderableValues} values
|
|
36
36
|
* @param {Function} i18nMappingFunc
|
|
37
|
-
* @returns {string
|
|
37
|
+
* @returns {string}
|
|
38
38
|
*/
|
|
39
39
|
export function processStringToChildren(
|
|
40
40
|
input: string,
|
|
@@ -6,7 +6,6 @@ export const typeToPathMap = {
|
|
|
6
6
|
advancedSettingsApp: 'app_advanced_settings',
|
|
7
7
|
agentApp: 'app_fleet',
|
|
8
8
|
aggregate: 'aggregate',
|
|
9
|
-
alert: 'alert',
|
|
10
9
|
analyzeEvent: 'analyzeEvent',
|
|
11
10
|
annotation: 'annotation',
|
|
12
11
|
apmApp: 'app_apm',
|
|
@@ -17,21 +16,27 @@ export const typeToPathMap = {
|
|
|
17
16
|
arrowLeft: 'arrow_left',
|
|
18
17
|
arrowRight: 'arrow_right',
|
|
19
18
|
arrowUp: 'arrow_up',
|
|
19
|
+
arrowStart: 'arrowStart',
|
|
20
|
+
arrowEnd: 'arrowEnd',
|
|
21
|
+
article: 'article',
|
|
20
22
|
asterisk: 'asterisk',
|
|
21
23
|
auditbeatApp: 'app_auditbeat',
|
|
22
24
|
beaker: 'beaker',
|
|
23
25
|
bell: 'bell',
|
|
24
26
|
bellSlash: 'bellSlash',
|
|
27
|
+
beta: 'beta',
|
|
25
28
|
bolt: 'bolt',
|
|
26
29
|
boxesHorizontal: 'boxes_horizontal',
|
|
27
30
|
boxesVertical: 'boxes_vertical',
|
|
28
31
|
branch: 'branch',
|
|
32
|
+
branchUser: 'branchUser',
|
|
29
33
|
broom: 'broom',
|
|
30
34
|
brush: 'brush',
|
|
31
35
|
bug: 'bug',
|
|
32
36
|
bullseye: 'bullseye',
|
|
33
37
|
calendar: 'calendar',
|
|
34
38
|
canvasApp: 'app_canvas',
|
|
39
|
+
casesApp: 'app_cases',
|
|
35
40
|
check: 'check',
|
|
36
41
|
checkInCircleFilled: 'checkInCircleFilled',
|
|
37
42
|
cheer: 'cheer',
|
|
@@ -40,11 +45,13 @@ export const typeToPathMap = {
|
|
|
40
45
|
cloudDrizzle: 'cloudDrizzle',
|
|
41
46
|
cloudStormy: 'cloudStormy',
|
|
42
47
|
cloudSunny: 'cloudSunny',
|
|
48
|
+
cluster: 'cluster',
|
|
43
49
|
codeApp: 'app_code',
|
|
44
50
|
color: 'color',
|
|
45
51
|
compute: 'compute',
|
|
46
52
|
console: 'console',
|
|
47
53
|
consoleApp: 'app_console',
|
|
54
|
+
container: 'container',
|
|
48
55
|
continuityAbove: 'continuityAbove',
|
|
49
56
|
continuityAboveBelow: 'continuityAboveBelow',
|
|
50
57
|
continuityBelow: 'continuityBelow',
|
|
@@ -59,25 +66,30 @@ export const typeToPathMap = {
|
|
|
59
66
|
createSingleMetricJob: 'ml_create_single_metric_job',
|
|
60
67
|
cross: 'cross',
|
|
61
68
|
crossClusterReplicationApp: 'app_cross_cluster_replication',
|
|
62
|
-
crossInACircleFilled: 'crossInACircleFilled',
|
|
63
69
|
crosshairs: 'crosshairs',
|
|
64
70
|
currency: 'currency',
|
|
65
71
|
cut: 'cut',
|
|
66
72
|
dashboardApp: 'app_dashboard',
|
|
67
73
|
dataVisualizer: 'ml_data_visualizer',
|
|
68
74
|
database: 'database',
|
|
75
|
+
desktop: 'desktop',
|
|
69
76
|
devToolsApp: 'app_devtools',
|
|
70
77
|
discoverApp: 'app_discover',
|
|
78
|
+
discuss: 'discuss',
|
|
71
79
|
document: 'document',
|
|
72
80
|
documentEdit: 'documentEdit',
|
|
73
81
|
documentation: 'documentation',
|
|
74
82
|
documents: 'documents',
|
|
75
83
|
dot: 'dot',
|
|
84
|
+
dotInCircle: 'dotInCircle',
|
|
85
|
+
doubleArrowLeft: 'doubleArrowLeft',
|
|
86
|
+
doubleArrowRight: 'doubleArrowRight',
|
|
76
87
|
download: 'download',
|
|
77
88
|
editorAlignCenter: 'editor_align_center',
|
|
78
89
|
editorAlignLeft: 'editor_align_left',
|
|
79
90
|
editorAlignRight: 'editor_align_right',
|
|
80
91
|
editorBold: 'editor_bold',
|
|
92
|
+
editorChecklist: 'editor_checklist',
|
|
81
93
|
editorCodeBlock: 'editor_code_block',
|
|
82
94
|
editorComment: 'editor_comment',
|
|
83
95
|
editorDistributeHorizontal: 'editorDistributeHorizontal',
|
|
@@ -107,6 +119,7 @@ export const typeToPathMap = {
|
|
|
107
119
|
emsApp: 'app_ems',
|
|
108
120
|
eql: 'eql',
|
|
109
121
|
eraser: 'eraser',
|
|
122
|
+
error: 'error',
|
|
110
123
|
exit: 'exit',
|
|
111
124
|
expand: 'expand',
|
|
112
125
|
expandMini: 'expandMini',
|
|
@@ -118,6 +131,10 @@ export const typeToPathMap = {
|
|
|
118
131
|
faceSad: 'face_sad',
|
|
119
132
|
filebeatApp: 'app_filebeat',
|
|
120
133
|
filter: 'filter',
|
|
134
|
+
filterExclude: 'filterExclude',
|
|
135
|
+
filterIgnore: 'filterIgnore',
|
|
136
|
+
filterInclude: 'filterInclude',
|
|
137
|
+
filterInCircle: 'filterInCircle',
|
|
121
138
|
flag: 'flag',
|
|
122
139
|
fleetApp: 'app_agent',
|
|
123
140
|
fold: 'fold',
|
|
@@ -157,18 +174,27 @@ export const typeToPathMap = {
|
|
|
157
174
|
indexRollupApp: 'app_index_rollup',
|
|
158
175
|
indexRuntime: 'index_runtime',
|
|
159
176
|
indexSettings: 'index_settings',
|
|
177
|
+
indexTemporary: 'indexTemporary',
|
|
178
|
+
infinity: 'infinity',
|
|
160
179
|
inputOutput: 'inputOutput',
|
|
161
180
|
inspect: 'inspect',
|
|
162
181
|
invert: 'invert',
|
|
163
182
|
ip: 'ip',
|
|
164
|
-
|
|
183
|
+
keyboard: 'keyboard',
|
|
165
184
|
kqlField: 'kql_field',
|
|
166
185
|
kqlFunction: 'kql_function',
|
|
167
186
|
kqlOperand: 'kql_operand',
|
|
168
187
|
kqlSelector: 'kql_selector',
|
|
169
188
|
kqlValue: 'kql_value',
|
|
189
|
+
kubernetesNode: 'kubernetesNode',
|
|
190
|
+
kubernetesPod: 'kubernetesPod',
|
|
191
|
+
launch: 'launch',
|
|
170
192
|
layers: 'layers',
|
|
171
193
|
lensApp: 'app_lens',
|
|
194
|
+
lettering: 'lettering',
|
|
195
|
+
lineDashed: 'lineDashed',
|
|
196
|
+
lineDotted: 'lineDotted',
|
|
197
|
+
lineSolid: 'lineSolid',
|
|
172
198
|
link: 'link',
|
|
173
199
|
list: 'list',
|
|
174
200
|
listAdd: 'list_add',
|
|
@@ -228,6 +254,7 @@ export const typeToPathMap = {
|
|
|
228
254
|
logoSketch: 'logo_sketch',
|
|
229
255
|
logoSlack: 'logo_slack',
|
|
230
256
|
logoUptime: 'logo_uptime',
|
|
257
|
+
logoVulnerabilityManagement: 'logo_vulnerability_management',
|
|
231
258
|
logoWebhook: 'logo_webhook',
|
|
232
259
|
logoWindows: 'logo_windows',
|
|
233
260
|
logoWorkplaceSearch: 'logo_workplace_search',
|
|
@@ -239,6 +266,7 @@ export const typeToPathMap = {
|
|
|
239
266
|
logstashQueue: 'logstash_queue',
|
|
240
267
|
machineLearningApp: 'app_ml',
|
|
241
268
|
magnet: 'magnet',
|
|
269
|
+
magnifyWithExclamation: 'magnifyWithExclamation',
|
|
242
270
|
magnifyWithMinus: 'magnifyWithMinus',
|
|
243
271
|
magnifyWithPlus: 'magnifyWithPlus',
|
|
244
272
|
managementApp: 'app_management',
|
|
@@ -259,6 +287,7 @@ export const typeToPathMap = {
|
|
|
259
287
|
mobile: 'mobile',
|
|
260
288
|
monitoringApp: 'app_monitoring',
|
|
261
289
|
moon: 'moon',
|
|
290
|
+
namespace: 'namespace',
|
|
262
291
|
nested: 'nested',
|
|
263
292
|
node: 'node',
|
|
264
293
|
notebookApp: 'app_notebook',
|
|
@@ -279,6 +308,7 @@ export const typeToPathMap = {
|
|
|
279
308
|
pin: 'pin',
|
|
280
309
|
pinFilled: 'pin_filled',
|
|
281
310
|
pipelineApp: 'app_pipeline',
|
|
311
|
+
pivot: 'pivot',
|
|
282
312
|
play: 'play',
|
|
283
313
|
playFilled: 'playFilled',
|
|
284
314
|
plus: 'plus',
|
|
@@ -304,14 +334,18 @@ export const typeToPathMap = {
|
|
|
304
334
|
securitySignal: 'securitySignal',
|
|
305
335
|
securitySignalDetected: 'securitySignalDetected',
|
|
306
336
|
securitySignalResolved: 'securitySignalResolved',
|
|
337
|
+
sessionViewer: 'sessionViewer',
|
|
307
338
|
shard: 'shard',
|
|
308
339
|
share: 'share',
|
|
309
340
|
snowflake: 'snowflake',
|
|
341
|
+
sortAscending: 'sortAscending',
|
|
342
|
+
sortDescending: 'sortDescending',
|
|
310
343
|
sortDown: 'sort_down',
|
|
311
344
|
sortLeft: 'sortLeft',
|
|
312
345
|
sortRight: 'sortRight',
|
|
313
346
|
sortUp: 'sort_up',
|
|
314
347
|
sortable: 'sortable',
|
|
348
|
+
spaces: 'spaces',
|
|
315
349
|
spacesApp: 'app_spaces',
|
|
316
350
|
sqlApp: 'app_sql',
|
|
317
351
|
starEmpty: 'star_empty',
|
|
@@ -329,6 +363,7 @@ export const typeToPathMap = {
|
|
|
329
363
|
storage: 'storage',
|
|
330
364
|
string: 'string',
|
|
331
365
|
submodule: 'submodule',
|
|
366
|
+
sun: 'sun',
|
|
332
367
|
swatchInput: 'swatch_input', // Undocumented on purpose. Has an extra stroke for EuiColorPicker
|
|
333
368
|
symlink: 'symlink',
|
|
334
369
|
tableDensityCompact: 'table_density_compact',
|
|
@@ -339,7 +374,9 @@ export const typeToPathMap = {
|
|
|
339
374
|
tear: 'tear',
|
|
340
375
|
temperature: 'temperature',
|
|
341
376
|
timeline: 'timeline',
|
|
377
|
+
timelineWithArrow: 'timelineWithArrow',
|
|
342
378
|
timelionApp: 'app_timelion',
|
|
379
|
+
timeRefresh: 'timeRefresh',
|
|
343
380
|
timeslider: 'timeslider',
|
|
344
381
|
training: 'training',
|
|
345
382
|
trash: 'trash',
|
|
@@ -348,6 +385,7 @@ export const typeToPathMap = {
|
|
|
348
385
|
upgradeAssistantApp: 'app_upgrade_assistant',
|
|
349
386
|
uptimeApp: 'app_uptime',
|
|
350
387
|
user: 'user',
|
|
388
|
+
userAvatar: 'userAvatar',
|
|
351
389
|
users: 'users',
|
|
352
390
|
usersRolesApp: 'app_users_roles',
|
|
353
391
|
vector: 'vector',
|
|
@@ -372,63 +410,68 @@ export const typeToPathMap = {
|
|
|
372
410
|
visVega: 'vis_vega',
|
|
373
411
|
visVisualBuilder: 'vis_visual_builder',
|
|
374
412
|
visualizeApp: 'app_visualize',
|
|
413
|
+
vulnerabilityManagementApp: 'app_vulnerability_management',
|
|
414
|
+
warning: 'warning',
|
|
415
|
+
alert: 'warning', // NOTE: This is an undocumented alias for `warning`, added for legacy compatability with Elastic Charts
|
|
375
416
|
watchesApp: 'app_watches',
|
|
376
417
|
wordWrap: 'wordWrap',
|
|
377
418
|
wordWrapDisabled: 'wordWrapDisabled',
|
|
378
419
|
workplaceSearchApp: 'app_workplace_search',
|
|
379
420
|
wrench: 'wrench',
|
|
380
421
|
// Token Icon Imports
|
|
422
|
+
tokenAlias: 'tokenAlias',
|
|
423
|
+
tokenAnnotation: 'tokenAnnotation',
|
|
424
|
+
tokenArray: 'tokenArray',
|
|
425
|
+
tokenBinary: 'tokenBinary',
|
|
426
|
+
tokenBoolean: 'tokenBoolean',
|
|
381
427
|
tokenClass: 'tokenClass',
|
|
382
|
-
|
|
428
|
+
tokenCompletionSuggester: 'tokenCompletionSuggester',
|
|
429
|
+
tokenConstant: 'tokenConstant',
|
|
430
|
+
tokenDate: 'tokenDate',
|
|
431
|
+
tokenDenseVector: 'tokenDenseVector',
|
|
432
|
+
tokenElement: 'tokenElement',
|
|
383
433
|
tokenEnum: 'tokenEnum',
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
tokenAnnotation: 'tokenAnnotation',
|
|
434
|
+
tokenEnumMember: 'tokenEnumMember',
|
|
435
|
+
tokenEvent: 'tokenEvent',
|
|
387
436
|
tokenException: 'tokenException',
|
|
388
|
-
tokenInterface: 'tokenInterface',
|
|
389
|
-
tokenParameter: 'tokenParameter',
|
|
390
437
|
tokenField: 'tokenField',
|
|
391
|
-
|
|
438
|
+
tokenFile: 'tokenFile',
|
|
439
|
+
tokenFlattened: 'tokenFlattened',
|
|
392
440
|
tokenFunction: 'tokenFunction',
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
tokenObject: 'tokenObject',
|
|
399
|
-
tokenEvent: 'tokenEvent',
|
|
441
|
+
tokenGeo: 'tokenGeo',
|
|
442
|
+
tokenHistogram: 'tokenHistogram',
|
|
443
|
+
tokenInterface: 'tokenInterface',
|
|
444
|
+
tokenIP: 'tokenIP',
|
|
445
|
+
tokenJoin: 'tokenJoin',
|
|
400
446
|
tokenKey: 'tokenKey',
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
tokenEnumMember: 'tokenEnumMember',
|
|
406
|
-
tokenRepo: 'tokenRepo',
|
|
407
|
-
tokenSymbol: 'tokenSymbol',
|
|
408
|
-
tokenFile: 'tokenFile',
|
|
447
|
+
tokenKeyword: 'tokenKeyword',
|
|
448
|
+
tokenMethod: 'tokenMethod',
|
|
449
|
+
tokenMetricCounter: 'tokenMetricCounter',
|
|
450
|
+
tokenMetricGauge: 'tokenMetricGauge',
|
|
409
451
|
tokenModule: 'tokenModule',
|
|
410
452
|
tokenNamespace: 'tokenNamespace',
|
|
411
|
-
tokenDate: 'tokenDate',
|
|
412
|
-
tokenIP: 'tokenIP',
|
|
413
453
|
tokenNested: 'tokenNested',
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
454
|
+
tokenNull: 'tokenNull',
|
|
455
|
+
tokenNumber: 'tokenNumber',
|
|
456
|
+
tokenObject: 'tokenObject',
|
|
457
|
+
tokenOperator: 'tokenOperator',
|
|
458
|
+
tokenPackage: 'tokenPackage',
|
|
459
|
+
tokenParameter: 'tokenParameter',
|
|
420
460
|
tokenPercolator: 'tokenPercolator',
|
|
421
|
-
|
|
461
|
+
tokenProperty: 'tokenProperty',
|
|
462
|
+
tokenRange: 'tokenRange',
|
|
422
463
|
tokenRankFeature: 'tokenRankFeature',
|
|
423
464
|
tokenRankFeatures: 'tokenRankFeatures',
|
|
424
|
-
|
|
465
|
+
tokenRepo: 'tokenRepo',
|
|
466
|
+
tokenSearchType: 'tokenSearchType',
|
|
467
|
+
tokenShape: 'tokenShape',
|
|
468
|
+
tokenString: 'tokenString',
|
|
469
|
+
tokenStruct: 'tokenStruct',
|
|
470
|
+
tokenSymbol: 'tokenSymbol',
|
|
425
471
|
tokenTag: 'tokenTag',
|
|
426
|
-
tokenCompletionSuggester: 'tokenCompletionSuggester',
|
|
427
|
-
tokenDenseVector: 'tokenDenseVector',
|
|
428
472
|
tokenText: 'tokenText',
|
|
429
473
|
tokenTokenCount: 'tokenTokenCount',
|
|
430
|
-
|
|
431
|
-
tokenHistogram: 'tokenHistogram'
|
|
474
|
+
tokenVariable: 'tokenVariable',
|
|
432
475
|
};
|
|
433
476
|
|
|
434
477
|
export const sizeToClassNameMap = {
|
|
@@ -16,13 +16,12 @@
|
|
|
16
16
|
* specific language governing permissions and limitations
|
|
17
17
|
* under the License.
|
|
18
18
|
*/
|
|
19
|
-
|
|
20
|
-
import { ComponentType, ReactNode } from 'react';
|
|
21
19
|
import { VFile } from 'vfile';
|
|
22
20
|
import { Node as UnistNode, Position as UnistPosition } from 'unist';
|
|
23
21
|
import { Parser } from 'remark-parse';
|
|
24
22
|
import { VFileMessage } from 'vfile-message';
|
|
25
23
|
import { IconType } from '../../components/eui-icon';
|
|
24
|
+
import Component from '@glimmer/component';
|
|
26
25
|
|
|
27
26
|
export interface RemarkParser {
|
|
28
27
|
Parser: typeof Parser;
|
|
@@ -78,9 +77,9 @@ export interface PluginWithImmediateFormatting {
|
|
|
78
77
|
editor?: never;
|
|
79
78
|
}
|
|
80
79
|
|
|
81
|
-
export interface PluginWithDelayedFormatting<
|
|
80
|
+
export interface PluginWithDelayedFormatting<T> {
|
|
82
81
|
formatting?: never;
|
|
83
|
-
editor:
|
|
82
|
+
editor: T;
|
|
84
83
|
}
|
|
85
84
|
|
|
86
85
|
export type EuiMarkdownEditorUiPlugin<NodeShape = any> = {
|
|
@@ -89,7 +88,7 @@ export type EuiMarkdownEditorUiPlugin<NodeShape = any> = {
|
|
|
89
88
|
label: string;
|
|
90
89
|
iconType: IconType;
|
|
91
90
|
};
|
|
92
|
-
helpText?:
|
|
91
|
+
helpText?: Component;
|
|
93
92
|
} & (PluginWithImmediateFormatting | PluginWithDelayedFormatting<NodeShape>);
|
|
94
93
|
|
|
95
94
|
export interface EuiMarkdownFormatting {
|
|
@@ -34,6 +34,7 @@ import {
|
|
|
34
34
|
Settings
|
|
35
35
|
} from 'unified';
|
|
36
36
|
import remark2Rehype from 'remark-rehype';
|
|
37
|
+
//@ts-expect-error
|
|
37
38
|
import all from 'mdast-util-to-hast/lib/all';
|
|
38
39
|
import { Options as Remark2RehypeOptions, Handler } from 'mdast-util-to-hast';
|
|
39
40
|
import * as MarkdownAddComponents from '../markdown-add-components';
|