Skip to content

Commit 1849578

Browse files
committed
Merge branch 'master' into 46445-add-ml-links
2 parents 8d72d24 + 2c02458 commit 1849578

File tree

1,285 files changed

+14715
-27396
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,285 files changed

+14715
-27396
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ bower_components
3333
/x-pack/legacy/plugins/**/__tests__/fixtures/**
3434
/packages/kbn-interpreter/src/common/lib/grammar.js
3535
/x-pack/legacy/plugins/canvas/canvas_plugin
36+
/x-pack/legacy/plugins/canvas/shareable_runtime/build
3637
/x-pack/legacy/plugins/canvas/storybook
3738
/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts
3839
/x-pack/legacy/plugins/infra/common/graphql/types.ts

docs/developer/core/development-elasticsearch.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
Kibana exposes two clients on the server and browser for communicating with elasticsearch.
55
There is an 'admin' client which is used for managing Kibana's state, and a 'data' client for all
6-
other requests. The clients use the {client-ref}/javascript-api/current/index.html[elasticsearch.js library].
6+
other requests. The clients use the {jsclient}/javascript-api/current/index.html[elasticsearch.js library].
77

88
[float]
99
[[client-server]]

docs/development/core/public/kibana-plugin-public.chromebreadcrumb._data-test-subj_.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/development/core/public/kibana-plugin-public.chromebreadcrumb.href.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/development/core/public/kibana-plugin-public.chromebreadcrumb.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,11 @@
22

33
[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [ChromeBreadcrumb](./kibana-plugin-public.chromebreadcrumb.md)
44

5-
## ChromeBreadcrumb interface
5+
## ChromeBreadcrumb type
66

77

88
<b>Signature:</b>
99

1010
```typescript
11-
export interface ChromeBreadcrumb
11+
export declare type ChromeBreadcrumb = EuiBreadcrumb;
1212
```
13-
14-
## Properties
15-
16-
| Property | Type | Description |
17-
| --- | --- | --- |
18-
| ["data-test-subj"](./kibana-plugin-public.chromebreadcrumb._data-test-subj_.md) | <code>string</code> | |
19-
| [href](./kibana-plugin-public.chromebreadcrumb.href.md) | <code>string</code> | |
20-
| [onClick](./kibana-plugin-public.chromebreadcrumb.onclick.md) | <code>MouseEventHandler&lt;HTMLButtonElement&gt;</code> | |
21-
| [text](./kibana-plugin-public.chromebreadcrumb.text.md) | <code>string</code> | |
22-

docs/development/core/public/kibana-plugin-public.chromebreadcrumb.onclick.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/development/core/public/kibana-plugin-public.chromebreadcrumb.text.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/development/core/public/kibana-plugin-public.contextsetup.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,18 +91,17 @@ export interface VizRenderContext {
9191
}
9292

9393
export type VizRenderer = (context: VizRenderContext, domElement: HTMLElement) => () => void;
94+
// When a renderer is bound via `contextContainer.createHandler` this is the type that will be returned.
95+
type BoundVizRenderer = (domElement: HTMLElement) => () => void;
9496

9597
class VizRenderingPlugin {
96-
private readonly vizRenderers = new Map<string, ((domElement: HTMLElement) => () => void)>();
98+
private readonly contextContainer?: IContextContainer<VizRenderer>;
99+
private readonly vizRenderers = new Map<string, BoundVizRenderer>();
97100

98101
constructor(private readonly initContext: PluginInitializerContext) {}
99102

100103
setup(core) {
101-
this.contextContainer = core.context.createContextContainer<
102-
VizRenderContext,
103-
ReturnType<VizRenderer>,
104-
[HTMLElement]
105-
>();
104+
this.contextContainer = core.context.createContextContainer();
106105

107106
return {
108107
registerContext: this.contextContainer.registerContext,

docs/development/core/public/kibana-plugin-public.errortoastoptions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
## ErrorToastOptions interface
66

7+
Options available for [IToasts](./kibana-plugin-public.itoasts.md) APIs.
8+
79
<b>Signature:</b>
810

911
```typescript

docs/development/core/public/kibana-plugin-public.httperrorresponse.error.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
<b>Signature:</b>
88

99
```typescript
10-
error: Error | HttpFetchError;
10+
error: Error | IHttpFetchError;
1111
```

0 commit comments

Comments
 (0)