Skip to content

Commit 1d29fb0

Browse files
Merge branch 'master' into 47201-adapt-log-entry-rate-data-vis
2 parents abae288 + b0dd6c8 commit 1d29fb0

File tree

543 files changed

+6964
-4816
lines changed

Some content is hidden

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

543 files changed

+6964
-4816
lines changed

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
```

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export interface HttpErrorResponse
1616
| Property | Type | Description |
1717
| --- | --- | --- |
1818
| [body](./kibana-plugin-public.httperrorresponse.body.md) | <code>HttpBody</code> | |
19-
| [error](./kibana-plugin-public.httperrorresponse.error.md) | <code>Error &#124; HttpFetchError</code> | |
19+
| [error](./kibana-plugin-public.httperrorresponse.error.md) | <code>Error &#124; IHttpFetchError</code> | |
2020
| [request](./kibana-plugin-public.httperrorresponse.request.md) | <code>Request</code> | |
2121
| [response](./kibana-plugin-public.httperrorresponse.response.md) | <code>Response</code> | |
2222

docs/development/core/public/kibana-plugin-public.httpfetcherror._constructor_.md

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

0 commit comments

Comments
 (0)