Skip to content

Commit 6c064d3

Browse files
committed
Merge remote-tracking branch 'elastic/master' into monitoring/setup_mode_permissions
2 parents 34bc96b + 0e9b576 commit 6c064d3

File tree

461 files changed

+7791
-4498
lines changed

Some content is hidden

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

461 files changed

+7791
-4498
lines changed

.sass-lint.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ files:
22
include:
33
- 'src/legacy/core_plugins/metrics/**/*.s+(a|c)ss'
44
- 'src/legacy/core_plugins/timelion/**/*.s+(a|c)ss'
5-
- 'src/legacy/ui/public/query_bar/**/*.s+(a|c)ss'
65
- 'src/legacy/ui/public/vislib/**/*.s+(a|c)ss'
76
- 'x-pack/legacy/plugins/rollup/**/*.s+(a|c)ss'
87
- 'x-pack/legacy/plugins/security/**/*.s+(a|c)ss'
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-public](./kibana-plugin-public.md) &gt; [App](./kibana-plugin-public.app.md) &gt; [chromeless](./kibana-plugin-public.app.chromeless.md)
4+
5+
## App.chromeless property
6+
7+
Hide the UI chrome when the application is mounted. Defaults to `false`<!-- -->. Takes precedence over chrome service visibility settings.
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
chromeless?: boolean;
13+
```

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ export interface App extends AppBase
1616
1717
| Property | Type | Description |
1818
| --- | --- | --- |
19+
| [chromeless](./kibana-plugin-public.app.chromeless.md) | <code>boolean</code> | Hide the UI chrome when the application is mounted. Defaults to <code>false</code>. Takes precedence over chrome service visibility settings. |
1920
| [mount](./kibana-plugin-public.app.mount.md) | <code>(context: AppMountContext, params: AppMountParameters) =&gt; AppUnmount &#124; Promise&lt;AppUnmount&gt;</code> | A mount function called when the user navigates to this app's route. |
2021

docs/development/core/public/kibana-plugin-public.appmountparameters.appbasepath.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ How to configure react-router with a base path:
2121
export class MyPlugin implements Plugin {
2222
setup({ application }) {
2323
application.register({
24-
id: 'my-app',
25-
async mount(context, params) {
26-
const { renderApp } = await import('./application');
27-
return renderApp(context, params);
28-
},
29-
});
24+
id: 'my-app',
25+
async mount(context, params) {
26+
const { renderApp } = await import('./application');
27+
return renderApp(context, params);
28+
},
29+
});
30+
}
3031
}
3132

3233
```

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,17 +109,18 @@ The plugin integrates with the core system via lifecycle events: `setup`<!-- -->
109109
| [HttpStart](./kibana-plugin-public.httpstart.md) | See [HttpServiceBase](./kibana-plugin-public.httpservicebase.md) |
110110
| [IContextProvider](./kibana-plugin-public.icontextprovider.md) | A function that returns a context value for a specific key of given context type. |
111111
| [IToasts](./kibana-plugin-public.itoasts.md) | Methods for adding and removing global toast messages. See [ToastsApi](./kibana-plugin-public.toastsapi.md)<!-- -->. |
112-
| [OverlayBannerMount](./kibana-plugin-public.overlaybannermount.md) | A function that will mount the banner inside the provided element. |
113-
| [OverlayBannerUnmount](./kibana-plugin-public.overlaybannerunmount.md) | A function that will unmount the banner from the element. |
112+
| [MountPoint](./kibana-plugin-public.mountpoint.md) | A function that should mount DOM content inside the provided container element and return a handler to unmount it. |
114113
| [PluginInitializer](./kibana-plugin-public.plugininitializer.md) | The <code>plugin</code> export at the root of a plugin's <code>public</code> directory should conform to this interface. |
115114
| [PluginOpaqueId](./kibana-plugin-public.pluginopaqueid.md) | |
116115
| [RecursiveReadonly](./kibana-plugin-public.recursivereadonly.md) | |
117116
| [SavedObjectAttribute](./kibana-plugin-public.savedobjectattribute.md) | Type definition for a Saved Object attribute value |
118117
| [SavedObjectAttributeSingle](./kibana-plugin-public.savedobjectattributesingle.md) | Don't use this type, it's simply a helper type for [SavedObjectAttribute](./kibana-plugin-public.savedobjectattribute.md) |
119118
| [SavedObjectsClientContract](./kibana-plugin-public.savedobjectsclientcontract.md) | SavedObjectsClientContract as implemented by the [SavedObjectsClient](./kibana-plugin-public.savedobjectsclient.md) |
119+
| [Toast](./kibana-plugin-public.toast.md) | |
120120
| [ToastInput](./kibana-plugin-public.toastinput.md) | Inputs for [IToasts](./kibana-plugin-public.itoasts.md) APIs. |
121121
| [ToastInputFields](./kibana-plugin-public.toastinputfields.md) | Allowed fields for [ToastInput](./kibana-plugin-public.toastinput.md)<!-- -->. |
122122
| [ToastsSetup](./kibana-plugin-public.toastssetup.md) | [IToasts](./kibana-plugin-public.itoasts.md) |
123123
| [ToastsStart](./kibana-plugin-public.toastsstart.md) | [IToasts](./kibana-plugin-public.itoasts.md) |
124124
| [UiSettingsClientContract](./kibana-plugin-public.uisettingsclientcontract.md) | Client-side client that provides access to the advanced settings stored in elasticsearch. The settings provide control over the behavior of the Kibana application. For example, a user can specify how to display numeric or date fields. Users can adjust the settings via Management UI. [UiSettingsClient](./kibana-plugin-public.uisettingsclient.md) |
125+
| [UnmountCallback](./kibana-plugin-public.unmountcallback.md) | A function that will unmount the element previously mounted by the associated [MountPoint](./kibana-plugin-public.mountpoint.md) |
125126

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-public](./kibana-plugin-public.md) &gt; [MountPoint](./kibana-plugin-public.mountpoint.md)
4+
5+
## MountPoint type
6+
7+
A function that should mount DOM content inside the provided container element and return a handler to unmount it.
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
export declare type MountPoint = (element: HTMLElement) => UnmountCallback;
13+
```

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

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

docs/development/core/public/kibana-plugin-public.overlaybannersstart.add.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ Add a new banner
99
<b>Signature:</b>
1010

1111
```typescript
12-
add(mount: OverlayBannerMount, priority?: number): string;
12+
add(mount: MountPoint, priority?: number): string;
1313
```
1414

1515
## Parameters
1616

1717
| Parameter | Type | Description |
1818
| --- | --- | --- |
19-
| mount | <code>OverlayBannerMount</code> | |
19+
| mount | <code>MountPoint</code> | |
2020
| priority | <code>number</code> | |
2121

2222
<b>Returns:</b>

docs/development/core/public/kibana-plugin-public.overlaybannersstart.replace.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ Replace a banner in place
99
<b>Signature:</b>
1010

1111
```typescript
12-
replace(id: string | undefined, mount: OverlayBannerMount, priority?: number): string;
12+
replace(id: string | undefined, mount: MountPoint, priority?: number): string;
1313
```
1414

1515
## Parameters
1616

1717
| Parameter | Type | Description |
1818
| --- | --- | --- |
1919
| id | <code>string &#124; undefined</code> | |
20-
| mount | <code>OverlayBannerMount</code> | |
20+
| mount | <code>MountPoint</code> | |
2121
| priority | <code>number</code> | |
2222

2323
<b>Returns:</b>

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

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

0 commit comments

Comments
 (0)