>. This setting enables
diff --git a/docs/user/dashboard/images/lens_advanced_1_1_2.png b/docs/user/dashboard/images/lens_advanced_1_1_2.png
index 8b5fe130ce7b..0247ecf69505 100644
Binary files a/docs/user/dashboard/images/lens_advanced_1_1_2.png and b/docs/user/dashboard/images/lens_advanced_1_1_2.png differ
diff --git a/docs/user/dashboard/images/lens_advanced_2_2_1.png b/docs/user/dashboard/images/lens_advanced_2_2_1.png
index 3124dd1de065..3044f1070367 100644
Binary files a/docs/user/dashboard/images/lens_advanced_2_2_1.png and b/docs/user/dashboard/images/lens_advanced_2_2_1.png differ
diff --git a/docs/user/dashboard/images/lens_advanced_3_1_1.png b/docs/user/dashboard/images/lens_advanced_3_1_1.png
index 4d52a23cc2cf..c3fb697666b4 100644
Binary files a/docs/user/dashboard/images/lens_advanced_3_1_1.png and b/docs/user/dashboard/images/lens_advanced_3_1_1.png differ
diff --git a/docs/user/monitoring/cluster-alerts.asciidoc b/docs/user/monitoring/cluster-alerts.asciidoc
deleted file mode 100644
index 2945ebc67710..000000000000
--- a/docs/user/monitoring/cluster-alerts.asciidoc
+++ /dev/null
@@ -1,64 +0,0 @@
-[role="xpack"]
-[[cluster-alerts]]
-= Cluster Alerts
-
-The *Stack Monitoring > Clusters* page in {kib} summarizes the status of your
-{stack}. You can drill down into the metrics to view more information about your
-cluster and specific nodes, instances, and indices.
-
-The Top Cluster Alerts shown on the Clusters page notify you of
-conditions that require your attention:
-
-* {es} Cluster Health Status is Yellow (missing at least one replica)
-or Red (missing at least one primary).
-* {es} Version Mismatch. You have {es} nodes with
-different versions in the same cluster.
-* {kib} Version Mismatch. You have {kib} instances with different
-versions running against the same {es} cluster.
-* Logstash Version Mismatch. You have Logstash nodes with different
-versions reporting stats to the same monitoring cluster.
-* {es} Nodes Changed. You have {es} nodes that were recently added or removed.
-* {es} License Expiration. The cluster's license is about to expire.
-+
---
-If you do not preserve the data directory when upgrading a {kib} or
-Logstash node, the instance is assigned a new persistent UUID and shows up
-as a new instance
---
-* {xpack} License Expiration. When the {xpack} license expiration date
-approaches, you will get notifications with a severity level relative to how
-soon the expiration date is:
- ** 60 days: Informational alert
- ** 30 days: Low-level alert
- ** 15 days: Medium-level alert
- ** 7 days: Severe-level alert
-+
-The 60-day and 30-day thresholds are skipped for Trial licenses, which are only
-valid for 30 days.
-
-The {monitor-features} check the cluster alert conditions every minute. Cluster
-alerts are automatically dismissed when the condition is resolved.
-
-NOTE: {watcher} must be enabled to view cluster alerts. If you have a Basic
-license, Top Cluster Alerts are not displayed.
-
-[float]
-[[cluster-alert-email-notifications]]
-== Email Notifications
-To receive email notifications for the Cluster Alerts:
-
-. Configure an email account as described in
-{ref}/actions-email.html#configuring-email[Configuring email accounts].
-. Configure the
-`monitoring.cluster_alerts.email_notifications.email_address` setting in
-`kibana.yml` with your email address.
-+
---
-TIP: If you have separate production and monitoring clusters and separate {kib}
-instances for those clusters, you must put the
-`monitoring.cluster_alerts.email_notifications.email_address` setting in
-the {kib} instance that is associated with the production cluster.
-
---
-
-Email notifications are sent only when Cluster Alerts are triggered and resolved.
diff --git a/docs/user/monitoring/index.asciidoc b/docs/user/monitoring/index.asciidoc
index 514988792d21..e4fd4a8cd085 100644
--- a/docs/user/monitoring/index.asciidoc
+++ b/docs/user/monitoring/index.asciidoc
@@ -1,6 +1,5 @@
include::xpack-monitoring.asciidoc[]
include::beats-details.asciidoc[leveloffset=+1]
-include::cluster-alerts.asciidoc[leveloffset=+1]
include::elasticsearch-details.asciidoc[leveloffset=+1]
include::kibana-alerts.asciidoc[leveloffset=+1]
include::kibana-details.asciidoc[leveloffset=+1]
diff --git a/docs/user/monitoring/kibana-alerts.asciidoc b/docs/user/monitoring/kibana-alerts.asciidoc
index 300497126c3e..04f4e986ca28 100644
--- a/docs/user/monitoring/kibana-alerts.asciidoc
+++ b/docs/user/monitoring/kibana-alerts.asciidoc
@@ -29,7 +29,7 @@ To review and modify all the available alerts, use
This alert is triggered when a node runs a consistently high CPU load. By
default, the trigger condition is set at 85% or more averaged over the last 5
minutes. The alert is grouped across all the nodes of the cluster by running
-checks on a schedule time of 1 minute with a re-notify internal of 1 day.
+checks on a schedule time of 1 minute with a re-notify interval of 1 day.
[discrete]
[[kibana-alerts-disk-usage-threshold]]
@@ -38,7 +38,7 @@ checks on a schedule time of 1 minute with a re-notify internal of 1 day.
This alert is triggered when a node is nearly at disk capacity. By
default, the trigger condition is set at 80% or more averaged over the last 5
minutes. The alert is grouped across all the nodes of the cluster by running
-checks on a schedule time of 1 minute with a re-notify internal of 1 day.
+checks on a schedule time of 1 minute with a re-notify interval of 1 day.
[discrete]
[[kibana-alerts-jvm-memory-threshold]]
@@ -47,7 +47,7 @@ checks on a schedule time of 1 minute with a re-notify internal of 1 day.
This alert is triggered when a node runs a consistently high JVM memory usage. By
default, the trigger condition is set at 85% or more averaged over the last 5
minutes. The alert is grouped across all the nodes of the cluster by running
-checks on a schedule time of 1 minute with a re-notify internal of 1 day.
+checks on a schedule time of 1 minute with a re-notify interval of 1 day.
[discrete]
[[kibana-alerts-missing-monitoring-data]]
@@ -56,7 +56,72 @@ checks on a schedule time of 1 minute with a re-notify internal of 1 day.
This alert is triggered when any stack products nodes or instances stop sending
monitoring data. By default, the trigger condition is set to missing for 15 minutes
looking back 1 day. The alert is grouped across all the nodes of the cluster by running
-checks on a schedule time of 1 minute with a re-notify internal of 6 hours.
+checks on a schedule time of 1 minute with a re-notify interval of 6 hours.
+
+[discrete]
+[[kibana-alerts-thread-pool-rejections]]
+== Thread pool rejections (search/write)
+
+This alert is triggered when a node experiences thread pool rejections. By
+default, the trigger condition is set at 300 or more over the last 5
+minutes. The alert is grouped across all the nodes of the cluster by running
+checks on a schedule time of 1 minute with a re-notify interval of 1 day.
+Thresholds can be set independently for `search` and `write` type rejections.
+
+[discrete]
+[[kibana-alerts-ccr-read-exceptions]]
+== CCR read exceptions
+
+This alert is triggered if a read exception has been detected on any of the
+replicated clusters. The trigger condition is met if 1 or more read exceptions
+are detected in the last hour. The alert is grouped across all replicated clusters
+by running checks on a schedule time of 1 minute with a re-notify interval of 6 hours.
+
+[discrete]
+[[kibana-alerts-large-shard-size]]
+== Large shard size
+
+This alert is triggered if a large (primary) shard size is found on any of the
+specified index patterns. The trigger condition is met if an index's shard size is
+55gb or higher in the last 5 minutes. The alert is grouped across all indices that match
+the default patter of `*` by running checks on a schedule time of 1 minute with a re-notify
+interval of 12 hours.
+
+[discrete]
+[[kibana-alerts-cluster-alerts]]
+== Cluster alerts
+
+These alerts summarize the current status of your {stack}. You can drill down into the metrics
+to view more information about your cluster and specific nodes, instances, and indices.
+
+An alert will be triggered if any of the following conditions are met within the last minute:
+
+* {es} cluster health status is yellow (missing at least one replica)
+or red (missing at least one primary).
+* {es} version mismatch. You have {es} nodes with
+different versions in the same cluster.
+* {kib} version mismatch. You have {kib} instances with different
+versions running against the same {es} cluster.
+* Logstash version mismatch. You have Logstash nodes with different
+versions reporting stats to the same monitoring cluster.
+* {es} nodes changed. You have {es} nodes that were recently added or removed.
+* {es} license expiration. The cluster's license is about to expire.
++
+--
+If you do not preserve the data directory when upgrading a {kib} or
+Logstash node, the instance is assigned a new persistent UUID and shows up
+as a new instance
+--
+* Subscription license expiration. When the expiration date
+approaches, you will get notifications with a severity level relative to how
+soon the expiration date is:
+ ** 60 days: Informational alert
+ ** 30 days: Low-level alert
+ ** 15 days: Medium-level alert
+ ** 7 days: Severe-level alert
++
+The 60-day and 30-day thresholds are skipped for Trial licenses, which are only
+valid for 30 days.
NOTE: Some action types are subscription features, while others are free.
For a comparison of the Elastic subscription levels, see the alerting section of
diff --git a/package.json b/package.json
index 32def9e2e9fc..99591fdc1ea4 100644
--- a/package.json
+++ b/package.json
@@ -101,7 +101,7 @@
"@elastic/datemath": "link:packages/elastic-datemath",
"@elastic/elasticsearch": "npm:@elastic/elasticsearch-canary@^8.0.0-canary.4",
"@elastic/ems-client": "7.12.0",
- "@elastic/eui": "31.7.0",
+ "@elastic/eui": "31.10.0",
"@elastic/filesaver": "1.1.2",
"@elastic/good": "^9.0.1-kibana3",
"@elastic/maki": "6.3.0",
@@ -203,6 +203,7 @@
"content-disposition": "0.5.3",
"copy-to-clipboard": "^3.0.8",
"core-js": "^3.6.5",
+ "css-minimizer-webpack-plugin": "^1.3.0",
"custom-event-polyfill": "^0.3.0",
"cytoscape": "^3.10.0",
"cytoscape-dagre": "^2.2.2",
diff --git a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.json b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.json
index 99b108eb2e6b..e9b87aa0f972 100644
--- a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.json
+++ b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.json
@@ -2,6 +2,45 @@
"id": "pluginA",
"client": {
"classes": [
+ {
+ "id": "def-public.CrazyClass",
+ "type": "Class",
+ "tags": [],
+ "label": "CrazyClass",
+ "description": [],
+ "signature": [
+ {
+ "pluginId": "pluginA",
+ "scope": "public",
+ "docId": "kibPluginAPluginApi",
+ "section": "def-public.CrazyClass",
+ "text": "CrazyClass"
+ },
+ " extends ",
+ {
+ "pluginId": "pluginA",
+ "scope": "public",
+ "docId": "kibPluginAPluginApi",
+ "section": "def-public.ExampleClass",
+ "text": "ExampleClass"
+ },
+ "<",
+ {
+ "pluginId": "pluginA",
+ "scope": "public",
+ "docId": "kibPluginAPluginApi",
+ "section": "def-public.WithGen",
+ "text": "WithGen"
+ },
+ "
>"
+ ],
+ "children": [],
+ "source": {
+ "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
+ "lineNumber": 65
+ },
+ "initialIsOpen": false
+ },
{
"id": "def-public.ExampleClass",
"type": "Class",
@@ -35,8 +74,7 @@
"description": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
- "lineNumber": 44,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts#L44"
+ "lineNumber": 44
},
"signature": [
"React.ComponentClass<{}, any> | React.FunctionComponent<{}> | undefined"
@@ -61,8 +99,7 @@
"description": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
- "lineNumber": 46,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts#L46"
+ "lineNumber": 46
}
}
],
@@ -70,8 +107,7 @@
"returnComment": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
- "lineNumber": 46,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts#L46"
+ "lineNumber": 46
}
},
{
@@ -94,8 +130,7 @@
"description": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
- "lineNumber": 54,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts#L54"
+ "lineNumber": 54
}
}
],
@@ -123,8 +158,7 @@
"label": "arrowFn",
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
- "lineNumber": 54,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts#L54"
+ "lineNumber": 54
},
"tags": [],
"returnComment": []
@@ -166,8 +200,7 @@
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
- "lineNumber": 60,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts#L60"
+ "lineNumber": 60
}
}
],
@@ -175,200 +208,18 @@
"returnComment": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
- "lineNumber": 60,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts#L60"
+ "lineNumber": 60
}
}
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
- "lineNumber": 38,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts#L38"
- },
- "initialIsOpen": false
- },
- {
- "id": "def-public.CrazyClass",
- "type": "Class",
- "tags": [],
- "label": "CrazyClass",
- "description": [],
- "signature": [
- {
- "pluginId": "pluginA",
- "scope": "public",
- "docId": "kibPluginAPluginApi",
- "section": "def-public.CrazyClass",
- "text": "CrazyClass"
- },
- "
extends ",
- {
- "pluginId": "pluginA",
- "scope": "public",
- "docId": "kibPluginAPluginApi",
- "section": "def-public.ExampleClass",
- "text": "ExampleClass"
- },
- "<",
- {
- "pluginId": "pluginA",
- "scope": "public",
- "docId": "kibPluginAPluginApi",
- "section": "def-public.WithGen",
- "text": "WithGen"
- },
- "
>"
- ],
- "children": [],
- "source": {
- "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
- "lineNumber": 65,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts#L65"
+ "lineNumber": 38
},
"initialIsOpen": false
}
],
"functions": [
- {
- "id": "def-public.notAnArrowFn",
- "type": "Function",
- "label": "notAnArrowFn",
- "signature": [
- "(a: string, b: number | undefined, c: ",
- {
- "pluginId": "pluginA",
- "scope": "public",
- "docId": "kibPluginAPluginApi",
- "section": "def-public.TypeWithGeneric",
- "text": "TypeWithGeneric"
- },
- ", d: ",
- {
- "pluginId": "pluginA",
- "scope": "public",
- "docId": "kibPluginAPluginApi",
- "section": "def-public.ImAType",
- "text": "ImAType"
- },
- ", e: string | undefined) => ",
- {
- "pluginId": "pluginA",
- "scope": "public",
- "docId": "kibPluginAPluginApi",
- "section": "def-public.TypeWithGeneric",
- "text": "TypeWithGeneric"
- },
- ""
- ],
- "description": [
- "\nThis is a non arrow function.\n"
- ],
- "children": [
- {
- "type": "string",
- "label": "a",
- "isRequired": true,
- "signature": [
- "string"
- ],
- "description": [
- "The letter A"
- ],
- "source": {
- "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
- "lineNumber": 22,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts#L22"
- }
- },
- {
- "type": "number",
- "label": "b",
- "isRequired": false,
- "signature": [
- "number | undefined"
- ],
- "description": [
- "Feed me to the function"
- ],
- "source": {
- "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
- "lineNumber": 23,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts#L23"
- }
- },
- {
- "type": "Array",
- "label": "c",
- "isRequired": true,
- "signature": [
- {
- "pluginId": "pluginA",
- "scope": "public",
- "docId": "kibPluginAPluginApi",
- "section": "def-public.TypeWithGeneric",
- "text": "TypeWithGeneric"
- },
- ""
- ],
- "description": [
- "So many params"
- ],
- "source": {
- "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
- "lineNumber": 24,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts#L24"
- }
- },
- {
- "type": "CompoundType",
- "label": "d",
- "isRequired": true,
- "signature": [
- {
- "pluginId": "pluginA",
- "scope": "public",
- "docId": "kibPluginAPluginApi",
- "section": "def-public.ImAType",
- "text": "ImAType"
- }
- ],
- "description": [
- "a great param"
- ],
- "source": {
- "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
- "lineNumber": 25,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts#L25"
- }
- },
- {
- "type": "string",
- "label": "e",
- "isRequired": false,
- "signature": [
- "string | undefined"
- ],
- "description": [
- "Another comment"
- ],
- "source": {
- "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
- "lineNumber": 26,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts#L26"
- }
- }
- ],
- "tags": [],
- "returnComment": [
- "something!"
- ],
- "source": {
- "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
- "lineNumber": 21,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts#L21"
- },
- "initialIsOpen": false
- },
{
"id": "def-public.arrowFn",
"type": "Function",
@@ -383,8 +234,7 @@
"description": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
- "lineNumber": 42,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts#L42"
+ "lineNumber": 42
}
},
{
@@ -397,8 +247,7 @@
"description": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
- "lineNumber": 43,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts#L43"
+ "lineNumber": 43
}
},
{
@@ -418,8 +267,7 @@
"description": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
- "lineNumber": 44,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts#L44"
+ "lineNumber": 44
}
},
{
@@ -438,8 +286,7 @@
"description": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
- "lineNumber": 45,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts#L45"
+ "lineNumber": 45
}
},
{
@@ -452,8 +299,7 @@
"description": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
- "lineNumber": 46,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts#L46"
+ "lineNumber": 46
}
}
],
@@ -490,8 +336,7 @@
"label": "arrowFn",
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
- "lineNumber": 41,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts#L41"
+ "lineNumber": 41
},
"tags": [],
"returnComment": [
@@ -518,15 +363,13 @@
"description": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
- "lineNumber": 67,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts#L67"
+ "lineNumber": 67
}
}
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
- "lineNumber": 67,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts#L67"
+ "lineNumber": 67
}
},
{
@@ -544,8 +387,7 @@
"description": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
- "lineNumber": 68,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts#L68"
+ "lineNumber": 68
},
"signature": [
"(foo: { param: string; }) => number"
@@ -554,8 +396,7 @@
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
- "lineNumber": 68,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts#L68"
+ "lineNumber": 68
}
},
{
@@ -573,15 +414,13 @@
"description": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
- "lineNumber": 69,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts#L69"
+ "lineNumber": 69
}
}
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
- "lineNumber": 69,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts#L69"
+ "lineNumber": 69
}
}
],
@@ -594,8 +433,7 @@
"label": "crazyFunction",
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
- "lineNumber": 66,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts#L66"
+ "lineNumber": 66
},
"tags": [],
"returnComment": [
@@ -617,8 +455,7 @@
"description": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
- "lineNumber": 76,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts#L76"
+ "lineNumber": 76
}
}
],
@@ -629,102 +466,148 @@
"label": "fnWithNonExportedRef",
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
- "lineNumber": 76,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts#L76"
+ "lineNumber": 76
},
"tags": [],
"returnComment": [],
"initialIsOpen": false
- }
- ],
- "interfaces": [
+ },
{
- "id": "def-public.SearchSpec",
- "type": "Interface",
- "label": "SearchSpec",
+ "id": "def-public.notAnArrowFn",
+ "type": "Function",
+ "label": "notAnArrowFn",
+ "signature": [
+ "(a: string, b: number | undefined, c: ",
+ {
+ "pluginId": "pluginA",
+ "scope": "public",
+ "docId": "kibPluginAPluginApi",
+ "section": "def-public.TypeWithGeneric",
+ "text": "TypeWithGeneric"
+ },
+ ", d: ",
+ {
+ "pluginId": "pluginA",
+ "scope": "public",
+ "docId": "kibPluginAPluginApi",
+ "section": "def-public.ImAType",
+ "text": "ImAType"
+ },
+ ", e: string | undefined) => ",
+ {
+ "pluginId": "pluginA",
+ "scope": "public",
+ "docId": "kibPluginAPluginApi",
+ "section": "def-public.TypeWithGeneric",
+ "text": "TypeWithGeneric"
+ },
+ ""
+ ],
"description": [
- "\nThe SearchSpec interface contains settings for creating a new SearchService, like\nusername and password."
+ "\nThis is a non arrow function.\n"
],
- "tags": [],
"children": [
{
- "tags": [],
- "id": "def-public.SearchSpec.username",
"type": "string",
- "label": "username",
+ "label": "a",
+ "isRequired": true,
+ "signature": [
+ "string"
+ ],
"description": [
- "\nStores the username. Duh,"
+ "The letter A"
],
"source": {
- "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts",
- "lineNumber": 26,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts#L26"
+ "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
+ "lineNumber": 22
}
},
{
- "tags": [],
- "id": "def-public.SearchSpec.password",
- "type": "string",
- "label": "password",
+ "type": "number",
+ "label": "b",
+ "isRequired": false,
+ "signature": [
+ "number | undefined"
+ ],
"description": [
- "\nStores the password. I hope it's encrypted!"
+ "Feed me to the function"
],
"source": {
- "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts",
- "lineNumber": 30,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts#L30"
+ "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
+ "lineNumber": 23
}
- }
- ],
- "source": {
- "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts",
- "lineNumber": 22,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts#L22"
- },
- "initialIsOpen": false
- },
- {
- "id": "def-public.WithGen",
- "type": "Interface",
- "label": "WithGen",
- "signature": [
+ },
{
- "pluginId": "pluginA",
- "scope": "public",
- "docId": "kibPluginAPluginApi",
- "section": "def-public.WithGen",
- "text": "WithGen"
+ "type": "Array",
+ "label": "c",
+ "isRequired": true,
+ "signature": [
+ {
+ "pluginId": "pluginA",
+ "scope": "public",
+ "docId": "kibPluginAPluginApi",
+ "section": "def-public.TypeWithGeneric",
+ "text": "TypeWithGeneric"
+ },
+ ""
+ ],
+ "description": [
+ "So many params"
+ ],
+ "source": {
+ "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
+ "lineNumber": 24
+ }
},
- ""
- ],
- "description": [
- "\nAn interface with a generic."
- ],
- "tags": [],
- "children": [
{
- "tags": [],
- "id": "def-public.WithGen.t",
- "type": "Uncategorized",
- "label": "t",
- "description": [],
+ "type": "CompoundType",
+ "label": "d",
+ "isRequired": true,
+ "signature": [
+ {
+ "pluginId": "pluginA",
+ "scope": "public",
+ "docId": "kibPluginAPluginApi",
+ "section": "def-public.ImAType",
+ "text": "ImAType"
+ }
+ ],
+ "description": [
+ "a great param"
+ ],
"source": {
- "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
- "lineNumber": 31,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts#L31"
- },
+ "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
+ "lineNumber": 25
+ }
+ },
+ {
+ "type": "string",
+ "label": "e",
+ "isRequired": false,
"signature": [
- "T"
- ]
+ "string | undefined"
+ ],
+ "description": [
+ "Another comment"
+ ],
+ "source": {
+ "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
+ "lineNumber": 26
+ }
}
],
+ "tags": [],
+ "returnComment": [
+ "something!"
+ ],
"source": {
- "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
- "lineNumber": 30,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts#L30"
+ "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
+ "lineNumber": 21
},
"initialIsOpen": false
- },
+ }
+ ],
+ "interfaces": [
{
"id": "def-public.AnotherInterface",
"type": "Interface",
@@ -750,8 +633,7 @@
"description": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
- "lineNumber": 35,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts#L35"
+ "lineNumber": 35
},
"signature": [
"T"
@@ -760,8 +642,7 @@
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
- "lineNumber": 34,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts#L34"
+ "lineNumber": 34
},
"initialIsOpen": false
},
@@ -802,8 +683,7 @@
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
- "lineNumber": 75,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts#L75"
+ "lineNumber": 75
},
"signature": [
"() => Promise"
@@ -819,8 +699,7 @@
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
- "lineNumber": 81,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts#L81"
+ "lineNumber": 81
},
"signature": [
"(t: T) => void"
@@ -841,47 +720,13 @@
"returnComment": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
- "lineNumber": 86,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts#L86"
+ "lineNumber": 86
}
}
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
- "lineNumber": 71,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts#L71"
- },
- "initialIsOpen": false
- },
- {
- "id": "def-public.IReturnAReactComponent",
- "type": "Interface",
- "label": "IReturnAReactComponent",
- "description": [
- "\nAn interface that has a react component."
- ],
- "tags": [],
- "children": [
- {
- "tags": [],
- "id": "def-public.IReturnAReactComponent.component",
- "type": "CompoundType",
- "label": "component",
- "description": [],
- "source": {
- "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
- "lineNumber": 93,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts#L93"
- },
- "signature": [
- "React.ComponentType<{}>"
- ]
- }
- ],
- "source": {
- "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
- "lineNumber": 92,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts#L92"
+ "lineNumber": 71
},
"initialIsOpen": false
},
@@ -900,8 +745,7 @@
"description": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/types.ts",
- "lineNumber": 44,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/types.ts#L44"
+ "lineNumber": 44
},
"signature": [
{
@@ -916,143 +760,154 @@
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/types.ts",
- "lineNumber": 43,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/types.ts#L43"
+ "lineNumber": 43
},
"initialIsOpen": false
- }
- ],
- "enums": [
+ },
{
- "id": "def-public.DayOfWeek",
- "type": "Enum",
- "label": "DayOfWeek",
- "tags": [],
+ "id": "def-public.IReturnAReactComponent",
+ "type": "Interface",
+ "label": "IReturnAReactComponent",
"description": [
- "\nComments on enums."
+ "\nAn interface that has a react component."
],
- "source": {
- "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/types.ts",
- "lineNumber": 31,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/types.ts#L31"
- },
- "initialIsOpen": false
- }
- ],
- "misc": [
- {
"tags": [],
- "id": "def-public.imAnAny",
- "type": "Any",
- "label": "imAnAny",
- "description": [],
+ "children": [
+ {
+ "tags": [],
+ "id": "def-public.IReturnAReactComponent.component",
+ "type": "CompoundType",
+ "label": "component",
+ "description": [],
+ "source": {
+ "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
+ "lineNumber": 93
+ },
+ "signature": [
+ "React.ComponentType<{}>"
+ ]
+ }
+ ],
"source": {
- "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/index.ts",
- "lineNumber": 19,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/index.ts#L19"
+ "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
+ "lineNumber": 92
},
- "signature": [
- "any"
- ],
"initialIsOpen": false
},
{
+ "id": "def-public.SearchSpec",
+ "type": "Interface",
+ "label": "SearchSpec",
+ "description": [
+ "\nThe SearchSpec interface contains settings for creating a new SearchService, like\nusername and password."
+ ],
"tags": [],
- "id": "def-public.imAnUnknown",
- "type": "Unknown",
- "label": "imAnUnknown",
- "description": [],
+ "children": [
+ {
+ "tags": [],
+ "id": "def-public.SearchSpec.username",
+ "type": "string",
+ "label": "username",
+ "description": [
+ "\nStores the username. Duh,"
+ ],
+ "source": {
+ "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts",
+ "lineNumber": 26
+ }
+ },
+ {
+ "tags": [],
+ "id": "def-public.SearchSpec.password",
+ "type": "string",
+ "label": "password",
+ "description": [
+ "\nStores the password. I hope it's encrypted!"
+ ],
+ "source": {
+ "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts",
+ "lineNumber": 30
+ }
+ }
+ ],
"source": {
- "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/index.ts",
- "lineNumber": 20,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/index.ts#L20"
+ "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts",
+ "lineNumber": 22
},
- "signature": [
- "unknown"
- ],
"initialIsOpen": false
},
{
- "id": "def-public.NotAnArrowFnType",
- "type": "Type",
- "label": "NotAnArrowFnType",
- "tags": [],
- "description": [],
- "source": {
- "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
- "lineNumber": 78,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts#L78"
- },
+ "id": "def-public.WithGen",
+ "type": "Interface",
+ "label": "WithGen",
"signature": [
- "(a: string, b: number | undefined, c: ",
- {
- "pluginId": "pluginA",
- "scope": "public",
- "docId": "kibPluginAPluginApi",
- "section": "def-public.TypeWithGeneric",
- "text": "TypeWithGeneric"
- },
- ", d: ",
{
"pluginId": "pluginA",
"scope": "public",
"docId": "kibPluginAPluginApi",
- "section": "def-public.ImAType",
- "text": "ImAType"
+ "section": "def-public.WithGen",
+ "text": "WithGen"
},
- ", e: string | undefined) => ",
+ ""
+ ],
+ "description": [
+ "\nAn interface with a generic."
+ ],
+ "tags": [],
+ "children": [
{
- "pluginId": "pluginA",
- "scope": "public",
- "docId": "kibPluginAPluginApi",
- "section": "def-public.TypeWithGeneric",
- "text": "TypeWithGeneric"
- },
- ""
+ "tags": [],
+ "id": "def-public.WithGen.t",
+ "type": "Uncategorized",
+ "label": "t",
+ "description": [],
+ "source": {
+ "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
+ "lineNumber": 31
+ },
+ "signature": [
+ "T"
+ ]
+ }
],
+ "source": {
+ "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/classes.ts",
+ "lineNumber": 30
+ },
"initialIsOpen": false
- },
+ }
+ ],
+ "enums": [
{
+ "id": "def-public.DayOfWeek",
+ "type": "Enum",
+ "label": "DayOfWeek",
"tags": [],
- "id": "def-public.aUnionProperty",
- "type": "CompoundType",
- "label": "aUnionProperty",
"description": [
- "\nThis is a complicated union type"
+ "\nComments on enums."
],
"source": {
- "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts",
- "lineNumber": 58,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts#L58"
+ "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/types.ts",
+ "lineNumber": 31
},
- "signature": [
- "string | number | (() => string) | ",
- {
- "pluginId": "pluginA",
- "scope": "public",
- "docId": "kibPluginAPluginApi",
- "section": "def-public.CrazyClass",
- "text": "CrazyClass"
- },
- ""
- ],
"initialIsOpen": false
- },
+ }
+ ],
+ "misc": [
{
"tags": [],
- "id": "def-public.aStrArray",
- "type": "Array",
- "label": "aStrArray",
+ "id": "def-public.aNum",
+ "type": "number",
+ "label": "aNum",
"description": [
- "\nThis is an array of strings. The type is explicit."
+ "\nIt's a number. A special number."
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts",
- "lineNumber": 63,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts#L63"
+ "lineNumber": 78
},
"signature": [
- "string[]"
+ "10"
],
"initialIsOpen": false
},
@@ -1066,8 +921,7 @@
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts",
- "lineNumber": 68,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts#L68"
+ "lineNumber": 68
},
"signature": [
"number[]"
@@ -1084,78 +938,104 @@
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts",
- "lineNumber": 73,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts#L73"
+ "lineNumber": 73
},
"initialIsOpen": false
},
{
"tags": [],
- "id": "def-public.aNum",
- "type": "number",
- "label": "aNum",
+ "id": "def-public.aStrArray",
+ "type": "Array",
+ "label": "aStrArray",
"description": [
- "\nIt's a number. A special number."
+ "\nThis is an array of strings. The type is explicit."
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts",
- "lineNumber": 78,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts#L78"
+ "lineNumber": 63
},
"signature": [
- "10"
+ "string[]"
],
"initialIsOpen": false
},
{
"tags": [],
- "id": "def-public.literalString",
- "type": "string",
- "label": "literalString",
+ "id": "def-public.aUnionProperty",
+ "type": "CompoundType",
+ "label": "aUnionProperty",
"description": [
- "\nI'm a type of string, but more specifically, a literal string type."
+ "\nThis is a complicated union type"
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts",
- "lineNumber": 83,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts#L83"
+ "lineNumber": 58
},
"signature": [
- "\"HI\""
+ "string | number | (() => string) | ",
+ {
+ "pluginId": "pluginA",
+ "scope": "public",
+ "docId": "kibPluginAPluginApi",
+ "section": "def-public.CrazyClass",
+ "text": "CrazyClass"
+ },
+ ""
],
"initialIsOpen": false
},
{
- "id": "def-public.StringOrUndefinedType",
+ "id": "def-public.FnWithGeneric",
"type": "Type",
- "label": "StringOrUndefinedType",
+ "label": "FnWithGeneric",
"tags": [],
"description": [
- "\nHow should a potentially undefined type show up."
+ "\nThis is a type that defines a function.\n"
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/types.ts",
- "lineNumber": 15,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/types.ts#L15"
+ "lineNumber": 26
},
"signature": [
- "undefined | string"
+ "(t: T) => ",
+ {
+ "pluginId": "pluginA",
+ "scope": "public",
+ "docId": "kibPluginAPluginApi",
+ "section": "def-public.TypeWithGeneric",
+ "text": "TypeWithGeneric"
+ },
+ ""
],
"initialIsOpen": false
},
{
- "id": "def-public.TypeWithGeneric",
- "type": "Type",
- "label": "TypeWithGeneric",
"tags": [],
+ "id": "def-public.imAnAny",
+ "type": "Any",
+ "label": "imAnAny",
"description": [],
"source": {
- "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/types.ts",
- "lineNumber": 17,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/types.ts#L17"
+ "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/index.ts",
+ "lineNumber": 19
},
"signature": [
- "T[]"
+ "any"
+ ],
+ "initialIsOpen": false
+ },
+ {
+ "tags": [],
+ "id": "def-public.imAnUnknown",
+ "type": "Unknown",
+ "label": "imAnUnknown",
+ "description": [],
+ "source": {
+ "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/index.ts",
+ "lineNumber": 20
+ },
+ "signature": [
+ "unknown"
],
"initialIsOpen": false
},
@@ -1167,8 +1047,7 @@
"description": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/types.ts",
- "lineNumber": 19,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/types.ts#L19"
+ "lineNumber": 19
},
"signature": [
"string | number | ",
@@ -1199,28 +1078,41 @@
"initialIsOpen": false
},
{
- "id": "def-public.FnWithGeneric",
+ "id": "def-public.IRefANotExportedType",
"type": "Type",
- "label": "FnWithGeneric",
+ "label": "IRefANotExportedType",
"tags": [],
- "description": [
- "\nThis is a type that defines a function.\n"
- ],
+ "description": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/types.ts",
- "lineNumber": 26,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/types.ts#L26"
+ "lineNumber": 42
},
"signature": [
- "(t: T) => ",
{
"pluginId": "pluginA",
"scope": "public",
- "docId": "kibPluginAPluginApi",
- "section": "def-public.TypeWithGeneric",
- "text": "TypeWithGeneric"
+ "docId": "kibPluginAFooPluginApi",
+ "section": "def-public.ImNotExportedFromIndex",
+ "text": "ImNotExportedFromIndex"
},
- ""
+ " | { zed: \"hi\"; }"
+ ],
+ "initialIsOpen": false
+ },
+ {
+ "tags": [],
+ "id": "def-public.literalString",
+ "type": "string",
+ "label": "literalString",
+ "description": [
+ "\nI'm a type of string, but more specifically, a literal string type."
+ ],
+ "source": {
+ "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts",
+ "lineNumber": 83
+ },
+ "signature": [
+ "\"HI\""
],
"initialIsOpen": false
},
@@ -1234,8 +1126,7 @@
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/types.ts",
- "lineNumber": 40,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/types.ts#L40"
+ "lineNumber": 40
},
"signature": [
"(typeof DayOfWeek)[]"
@@ -1243,25 +1134,73 @@
"initialIsOpen": false
},
{
- "id": "def-public.IRefANotExportedType",
+ "id": "def-public.NotAnArrowFnType",
"type": "Type",
- "label": "IRefANotExportedType",
+ "label": "NotAnArrowFnType",
"tags": [],
"description": [],
"source": {
- "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/types.ts",
- "lineNumber": 42,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/types.ts#L42"
+ "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts",
+ "lineNumber": 78
},
"signature": [
+ "(a: string, b: number | undefined, c: ",
{
"pluginId": "pluginA",
"scope": "public",
- "docId": "kibPluginAFooPluginApi",
- "section": "def-public.ImNotExportedFromIndex",
- "text": "ImNotExportedFromIndex"
+ "docId": "kibPluginAPluginApi",
+ "section": "def-public.TypeWithGeneric",
+ "text": "TypeWithGeneric"
},
- " | { zed: \"hi\"; }"
+ ", d: ",
+ {
+ "pluginId": "pluginA",
+ "scope": "public",
+ "docId": "kibPluginAPluginApi",
+ "section": "def-public.ImAType",
+ "text": "ImAType"
+ },
+ ", e: string | undefined) => ",
+ {
+ "pluginId": "pluginA",
+ "scope": "public",
+ "docId": "kibPluginAPluginApi",
+ "section": "def-public.TypeWithGeneric",
+ "text": "TypeWithGeneric"
+ },
+ ""
+ ],
+ "initialIsOpen": false
+ },
+ {
+ "id": "def-public.StringOrUndefinedType",
+ "type": "Type",
+ "label": "StringOrUndefinedType",
+ "tags": [],
+ "description": [
+ "\nHow should a potentially undefined type show up."
+ ],
+ "source": {
+ "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/types.ts",
+ "lineNumber": 15
+ },
+ "signature": [
+ "undefined | string"
+ ],
+ "initialIsOpen": false
+ },
+ {
+ "id": "def-public.TypeWithGeneric",
+ "type": "Type",
+ "label": "TypeWithGeneric",
+ "tags": [],
+ "description": [],
+ "source": {
+ "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/types.ts",
+ "lineNumber": 17
+ },
+ "signature": [
+ "T[]"
],
"initialIsOpen": false
}
@@ -1282,8 +1221,7 @@
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts",
- "lineNumber": 21,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts#L21"
+ "lineNumber": 21
},
"signature": [
"typeof ",
@@ -1306,8 +1244,7 @@
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts",
- "lineNumber": 26,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts#L26"
+ "lineNumber": 26
},
"signature": [
"typeof ",
@@ -1340,8 +1277,7 @@
"description": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts",
- "lineNumber": 31,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts#L31"
+ "lineNumber": 31
}
}
],
@@ -1369,8 +1305,7 @@
"label": "aPropertyInlineFn",
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts",
- "lineNumber": 31,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts#L31"
+ "lineNumber": 31
},
"tags": [],
"returnComment": []
@@ -1385,8 +1320,7 @@
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts",
- "lineNumber": 38,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts#L38"
+ "lineNumber": 38
}
},
{
@@ -1402,8 +1336,7 @@
"description": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts",
- "lineNumber": 44,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts#L44"
+ "lineNumber": 44
}
}
],
@@ -1413,8 +1346,7 @@
"label": "nestedObj",
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts",
- "lineNumber": 43,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts#L43"
+ "lineNumber": 43
}
}
],
@@ -1424,8 +1356,7 @@
"label": "aPretendNamespaceObj",
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts",
- "lineNumber": 17,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/const_vars.ts#L17"
+ "lineNumber": 17
},
"initialIsOpen": false
}
@@ -1451,8 +1382,7 @@
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts",
- "lineNumber": 101,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts#L101"
+ "lineNumber": 101
},
"signature": [
"(searchSpec: ",
@@ -1476,8 +1406,7 @@
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts",
- "lineNumber": 109,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts#L109"
+ "lineNumber": 109
},
"signature": [
"(searchSpec: { username: string; password: string; }) => string"
@@ -1495,8 +1424,7 @@
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts",
- "lineNumber": 122,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts#L122"
+ "lineNumber": 122
},
"signature": [
"(thingOne: number, thingTwo: string, thingThree: { nestedVar: number; }) => void"
@@ -1512,8 +1440,7 @@
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts",
- "lineNumber": 133,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts#L133"
+ "lineNumber": 133
},
"signature": [
"(obj: { fn: (foo: { param: string; }) => number; }) => () => { retFoo: () => string; }"
@@ -1529,15 +1456,13 @@
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts",
- "lineNumber": 140,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts#L140"
+ "lineNumber": 140
}
}
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts",
- "lineNumber": 89,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts#L89"
+ "lineNumber": 89
},
"lifecycle": "setup",
"initialIsOpen": true
@@ -1559,8 +1484,7 @@
"description": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts",
- "lineNumber": 68,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts#L68"
+ "lineNumber": 68
},
"signature": [
"() => ",
@@ -1576,8 +1500,7 @@
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts",
- "lineNumber": 64,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/plugin.ts#L64"
+ "lineNumber": 64
},
"lifecycle": "start",
"initialIsOpen": true
@@ -1610,15 +1533,13 @@
"description": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/common/index.ts",
- "lineNumber": 12,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/common/index.ts#L12"
+ "lineNumber": 12
}
}
],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/common/index.ts",
- "lineNumber": 11,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/common/index.ts#L11"
+ "lineNumber": 11
},
"initialIsOpen": false
}
diff --git a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a_foo.json b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a_foo.json
index 00fb2bd3aa7a..a529d1a36657 100644
--- a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a_foo.json
+++ b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a_foo.json
@@ -14,8 +14,7 @@
"label": "doTheFooFnThing",
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/foo/index.ts",
- "lineNumber": 9,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/foo/index.ts#L9"
+ "lineNumber": 9
},
"tags": [],
"returnComment": [],
@@ -33,8 +32,7 @@
"description": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/foo/index.ts",
- "lineNumber": 11,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/foo/index.ts#L11"
+ "lineNumber": 11
},
"signature": [
"() => \"foo\""
@@ -66,8 +64,7 @@
"description": [],
"source": {
"path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/common/foo/index.ts",
- "lineNumber": 9,
- "link": "https://github.com/elastic/kibana/tree/masterpackages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/common/foo/index.ts#L9"
+ "lineNumber": 9
},
"signature": [
"\"COMMON VAR!\""
diff --git a/packages/kbn-ui-shared-deps/webpack.config.js b/packages/kbn-ui-shared-deps/webpack.config.js
index 7a996e98762c..135884fbf13e 100644
--- a/packages/kbn-ui-shared-deps/webpack.config.js
+++ b/packages/kbn-ui-shared-deps/webpack.config.js
@@ -9,6 +9,9 @@
const Path = require('path');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
+const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');
+const TerserPlugin = require('terser-webpack-plugin');
+
const CompressionPlugin = require('compression-webpack-plugin');
const { REPO_ROOT } = require('@kbn/utils');
const webpack = require('webpack');
@@ -105,6 +108,28 @@ exports.getWebpackConfig = ({ dev = false } = {}) => ({
},
optimization: {
+ minimizer: [
+ new CssMinimizerPlugin({
+ minimizerOptions: {
+ preset: [
+ 'default',
+ {
+ discardComments: false,
+ },
+ ],
+ },
+ }),
+ new TerserPlugin({
+ cache: false,
+ sourceMap: false,
+ extractComments: false,
+ parallel: false,
+ terserOptions: {
+ compress: true,
+ mangle: true,
+ },
+ }),
+ ],
noEmitOnErrors: true,
splitChunks: {
cacheGroups: {
diff --git a/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap b/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap
index 82a0419b1d0c..00cc827a1e83 100644
--- a/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap
+++ b/src/core/public/chrome/ui/header/__snapshots__/header.test.tsx.snap
@@ -4050,54 +4050,74 @@ exports[`Header renders 1`] = `
hasArrow={true}
id="headerHelpMenu"
isOpen={false}
- ownFocus={false}
+ ownFocus={true}
panelPaddingSize="m"
repositionOnScroll={true}
>
-
+
@@ -4194,26 +4214,81 @@ exports[`Header renders 1`] = `
data-test-subj="toggleNavButton"
onClick={[Function]}
>
- ,
+ }
+ }
className="euiHeaderSectionItem__button"
+ color="text"
data-test-subj="toggleNavButton"
onClick={[Function]}
- type="button"
>
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/core/public/doc_links/doc_links_service.ts b/src/core/public/doc_links/doc_links_service.ts
index 2835fb8370b8..ef3172b620b2 100644
--- a/src/core/public/doc_links/doc_links_service.ts
+++ b/src/core/public/doc_links/doc_links_service.ts
@@ -218,12 +218,15 @@ export class DocLinksService {
guide: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/maps.html`,
},
monitoring: {
- alertsCluster: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/cluster-alerts.html`,
alertsKibana: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/kibana-alerts.html`,
alertsKibanaCpuThreshold: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/kibana-alerts.html#kibana-alerts-cpu-threshold`,
alertsKibanaDiskThreshold: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/kibana-alerts.html#kibana-alerts-disk-usage-threshold`,
alertsKibanaJvmThreshold: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/kibana-alerts.html#kibana-alerts-jvm-memory-threshold`,
alertsKibanaMissingData: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/kibana-alerts.html#kibana-alerts-missing-monitoring-data`,
+ alertsKibanaThreadpoolRejections: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/kibana-alerts.html#kibana-alerts-thread-pool-rejections`,
+ alertsKibanaCCRReadExceptions: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/kibana-alerts.html#kibana-alerts-ccr-read-exceptions`,
+ alertsKibanaLargeShardSize: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/kibana-alerts.html#kibana-alerts-large-shard-size`,
+ alertsKibanaClusterAlerts: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/kibana-alerts.html#kibana-alerts-cluster-alerts`,
metricbeatBlog: `${ELASTIC_WEBSITE_URL}blog/external-collection-for-elastic-stack-monitoring-is-now-available-via-metricbeat`,
monitorElasticsearch: `${ELASTICSEARCH_DOCS}configuring-metricbeat.html`,
monitorKibana: `${ELASTIC_WEBSITE_URL}guide/en/kibana/${DOC_LINK_VERSION}/monitoring-metricbeat.html`,
diff --git a/src/core/public/overlays/flyout/__snapshots__/flyout_service.test.tsx.snap b/src/core/public/overlays/flyout/__snapshots__/flyout_service.test.tsx.snap
index 7a1f936fe7f3..0d10ac47d0b7 100644
--- a/src/core/public/overlays/flyout/__snapshots__/flyout_service.test.tsx.snap
+++ b/src/core/public/overlays/flyout/__snapshots__/flyout_service.test.tsx.snap
@@ -26,7 +26,7 @@ Array [
]
`;
-exports[`FlyoutService openFlyout() renders a flyout to the DOM 2`] = `""`;
+exports[`FlyoutService openFlyout() renders a flyout to the DOM 2`] = `""`;
exports[`FlyoutService openFlyout() with a currently active flyout replaces the current flyout with a new one 1`] = `
Array [
@@ -59,4 +59,4 @@ Array [
]
`;
-exports[`FlyoutService openFlyout() with a currently active flyout replaces the current flyout with a new one 2`] = `""`;
+exports[`FlyoutService openFlyout() with a currently active flyout replaces the current flyout with a new one 2`] = `""`;
diff --git a/src/core/public/overlays/modal/__snapshots__/modal_service.test.tsx.snap b/src/core/public/overlays/modal/__snapshots__/modal_service.test.tsx.snap
index d52cc090d5d1..19ebb5a9113c 100644
--- a/src/core/public/overlays/modal/__snapshots__/modal_service.test.tsx.snap
+++ b/src/core/public/overlays/modal/__snapshots__/modal_service.test.tsx.snap
@@ -29,7 +29,7 @@ Array [
]
`;
-exports[`ModalService openConfirm() renders a mountpoint confirm message 2`] = `""`;
+exports[`ModalService openConfirm() renders a mountpoint confirm message 2`] = `""`;
exports[`ModalService openConfirm() renders a string confirm message 1`] = `
Array [
@@ -49,7 +49,7 @@ Array [
]
`;
-exports[`ModalService openConfirm() renders a string confirm message 2`] = `""`;
+exports[`ModalService openConfirm() renders a string confirm message 2`] = `""`;
exports[`ModalService openConfirm() with a currently active confirm replaces the current confirm with the new one 1`] = `
Array [
@@ -131,7 +131,7 @@ Array [
]
`;
-exports[`ModalService openModal() renders a modal to the DOM 2`] = `""`;
+exports[`ModalService openModal() renders a modal to the DOM 2`] = `""`;
exports[`ModalService openModal() with a currently active confirm replaces the current confirm with the new one 1`] = `
Array [
diff --git a/src/plugins/dashboard/public/application/embeddable/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap b/src/plugins/dashboard/public/application/embeddable/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap
index a50aadc12e6c..9e3018fb512c 100644
--- a/src/plugins/dashboard/public/application/embeddable/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap
+++ b/src/plugins/dashboard/public/application/embeddable/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap
@@ -597,7 +597,7 @@ exports[`DashboardEmptyScreen renders correctly with readonly mode 1`] = `
restrictWidth="500px"
>
@@ -232,12 +232,12 @@ exports[`after fetch hideWriteControls 1`] = `
restrictWidth={true}
>
@@ -379,12 +379,12 @@ exports[`after fetch initialFilter 1`] = `
restrictWidth={true}
>
@@ -525,12 +525,12 @@ exports[`after fetch renders all table rows 1`] = `
restrictWidth={true}
>
@@ -671,12 +671,12 @@ exports[`after fetch renders call to action when no dashboards exist 1`] = `
restrictWidth={true}
>
@@ -817,12 +817,12 @@ exports[`after fetch renders warning when listingLimit is exceeded 1`] = `
restrictWidth={true}
>
diff --git a/src/plugins/data/public/utils/table_inspector_view/components/__snapshots__/data_view.test.tsx.snap b/src/plugins/data/public/utils/table_inspector_view/components/__snapshots__/data_view.test.tsx.snap
index a7d1471af3a7..837cff41ccd6 100644
--- a/src/plugins/data/public/utils/table_inspector_view/components/__snapshots__/data_view.test.tsx.snap
+++ b/src/plugins/data/public/utils/table_inspector_view/components/__snapshots__/data_view.test.tsx.snap
@@ -664,96 +664,87 @@ exports[`Inspector Data View component should render single table without select
hasArrow={true}
id="inspectorDownloadData"
isOpen={false}
- ownFocus={false}
+ ownFocus={true}
panelPaddingSize="none"
repositionOnScroll={true}
>
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
- Download CSV
-
-
+ Download CSV
+
-
-
-
-
-
+
+
+
+
+
-
+
@@ -1304,81 +1295,72 @@ exports[`Inspector Data View component should render single table without select
display="inlineBlock"
hasArrow={true}
isOpen={false}
- ownFocus={false}
+ ownFocus={true}
panelPaddingSize="none"
>
-
-
-
-
-
+
-
-
-
-
-
+
+
+
-
- Rows per page
-
- :
- 20
-
+ Rows per page
+
+ :
+ 20
-
-
-
-
+
+
+
+
-
+
@@ -1420,7 +1402,7 @@ exports[`Inspector Data View component should render single table without select
>
-
-
-
-
-
+
-
-
-
-
-
-
+
+
+
- Table 1
-
-
+ }
+ >
+ Table 1
+
-
-
-
-
+
+
+
+
-
+
@@ -2220,96 +2193,87 @@ exports[`Inspector Data View component should support multiple datatables 1`] =
hasArrow={true}
id="inspectorDownloadData"
isOpen={false}
- ownFocus={false}
+ ownFocus={true}
panelPaddingSize="none"
repositionOnScroll={true}
>
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
- Download CSV
-
-
+ Download CSV
+
-
-
-
-
-
+
+
+
+
+
-
+
@@ -2885,81 +2849,72 @@ exports[`Inspector Data View component should support multiple datatables 1`] =
display="inlineBlock"
hasArrow={true}
isOpen={false}
- ownFocus={false}
+ ownFocus={true}
panelPaddingSize="none"
>
-
-
-
-
-
+
-
-
-
-
-
+
+
+
-
- Rows per page
-
- :
- 20
-
+ Rows per page
+
+ :
+ 20
-
-
-
-
+
+
+
+
-
+
@@ -3001,7 +2956,7 @@ exports[`Inspector Data View component should support multiple datatables 1`] =
>
diff --git a/src/plugins/home/public/application/components/__snapshots__/sample_data_view_data_button.test.js.snap b/src/plugins/home/public/application/components/__snapshots__/sample_data_view_data_button.test.js.snap
index d38c77faab7f..6855e3a327c7 100644
--- a/src/plugins/home/public/application/components/__snapshots__/sample_data_view_data_button.test.js.snap
+++ b/src/plugins/home/public/application/components/__snapshots__/sample_data_view_data_button.test.js.snap
@@ -19,7 +19,7 @@ exports[`should render popover when appLinks is not empty 1`] = `
hasArrow={true}
id="sampleDataLinksecommerce"
isOpen={false}
- ownFocus={false}
+ ownFocus={true}
panelPaddingSize="none"
>