Skip to content

Commit f4af673

Browse files
Merge branch 'master' into np-migrate-coordinate-maps
2 parents 098d419 + 5f31422 commit f4af673

File tree

1,607 files changed

+10672
-4514
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,607 files changed

+10672
-4514
lines changed

.backportrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"targetBranchChoices": [
44
{ "name": "master", "checked": true },
55
{ "name": "7.x", "checked": true },
6+
"7.8",
67
"7.7",
78
"7.6",
89
"7.5",

.eslintignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ target
2626
/src/plugins/vis_type_timelion/public/webpackShims/jquery.flot.*
2727
/x-pack/legacy/plugins/**/__tests__/fixtures/**
2828
/x-pack/plugins/apm/e2e/cypress/**/snapshots.js
29-
/x-pack/legacy/plugins/canvas/canvas_plugin
30-
/x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts
31-
/x-pack/legacy/plugins/canvas/shareable_runtime/build
32-
/x-pack/legacy/plugins/canvas/storybook
29+
/x-pack/plugins/canvas/canvas_plugin
30+
/x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts
31+
/x-pack/plugins/canvas/shareable_runtime/build
32+
/x-pack/plugins/canvas/storybook
3333
/x-pack/plugins/monitoring/public/lib/jquery_flot
3434
/x-pack/legacy/plugins/infra/common/graphql/types.ts
3535
/x-pack/legacy/plugins/infra/public/graphql/types.ts

.eslintrc.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ module.exports = {
8989
},
9090
},
9191
{
92-
files: ['x-pack/legacy/plugins/canvas/**/*.{js,ts,tsx}'],
92+
files: ['x-pack/plugins/canvas/**/*.{js,ts,tsx}'],
9393
rules: {
9494
'react-hooks/exhaustive-deps': 'off',
9595
'jsx-a11y/click-events-have-key-events': 'off',
@@ -893,7 +893,7 @@ module.exports = {
893893
* Canvas overrides
894894
*/
895895
{
896-
files: ['x-pack/legacy/plugins/canvas/**/*.js'],
896+
files: ['x-pack/plugins/canvas/**/*.js'],
897897
rules: {
898898
radix: 'error',
899899

@@ -937,12 +937,12 @@ module.exports = {
937937
},
938938
{
939939
files: [
940-
'x-pack/legacy/plugins/canvas/gulpfile.js',
941-
'x-pack/legacy/plugins/canvas/scripts/*.js',
942-
'x-pack/legacy/plugins/canvas/tasks/*.js',
943-
'x-pack/legacy/plugins/canvas/tasks/**/*.js',
944-
'x-pack/legacy/plugins/canvas/__tests__/**/*.js',
945-
'x-pack/legacy/plugins/canvas/**/{__tests__,__test__,__jest__,__fixtures__,__mocks__}/**/*.js',
940+
'x-pack/plugins/canvas/gulpfile.js',
941+
'x-pack/plugins/canvas/scripts/*.js',
942+
'x-pack/plugins/canvas/tasks/*.js',
943+
'x-pack/plugins/canvas/tasks/**/*.js',
944+
'x-pack/plugins/canvas/__tests__/**/*.js',
945+
'x-pack/plugins/canvas/**/{__tests__,__test__,__jest__,__fixtures__,__mocks__}/**/*.js',
946946
],
947947
rules: {
948948
'import/no-extraneous-dependencies': [
@@ -955,7 +955,7 @@ module.exports = {
955955
},
956956
},
957957
{
958-
files: ['x-pack/legacy/plugins/canvas/canvas_plugin_src/**/*.js'],
958+
files: ['x-pack/plugins/canvas/canvas_plugin_src/**/*.js'],
959959
globals: { canvas: true, $: true },
960960
rules: {
961961
'import/no-unresolved': [
@@ -967,13 +967,13 @@ module.exports = {
967967
},
968968
},
969969
{
970-
files: ['x-pack/legacy/plugins/canvas/public/**/*.js'],
970+
files: ['x-pack/plugins/canvas/public/**/*.js'],
971971
env: {
972972
browser: true,
973973
},
974974
},
975975
{
976-
files: ['x-pack/legacy/plugins/canvas/canvas_plugin_src/lib/flot-charts/**/*.js'],
976+
files: ['x-pack/plugins/canvas/canvas_plugin_src/lib/flot-charts/**/*.js'],
977977
env: {
978978
jquery: true,
979979
},

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
/x-pack/legacy/plugins/beats_management/ @elastic/beats
7878

7979
# Canvas
80-
/x-pack/legacy/plugins/canvas/ @elastic/kibana-canvas
80+
/x-pack/plugins/canvas/ @elastic/kibana-canvas
8181

8282
# Observability UIs
8383
/x-pack/legacy/plugins/infra/ @elastic/logs-metrics-ui

.sass-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ files:
55
- 'src/plugins/vis_type_vislib/**/*.s+(a|c)ss'
66
- 'src/plugins/vis_type_xy/**/*.s+(a|c)ss'
77
- 'x-pack/legacy/plugins/security/**/*.s+(a|c)ss'
8-
- 'x-pack/legacy/plugins/canvas/**/*.s+(a|c)ss'
8+
- 'x-pack/plugins/canvas/**/*.s+(a|c)ss'
99
- 'x-pack/plugins/triggers_actions_ui/**/*.s+(a|c)ss'
1010
- 'x-pack/plugins/lens/**/*.s+(a|c)ss'
1111
- 'x-pack/plugins/cross_cluster_replication/**/*.s+(a|c)ss'
1212
- 'x-pack/legacy/plugins/maps/**/*.s+(a|c)ss'
1313
- 'x-pack/plugins/maps/**/*.s+(a|c)ss'
1414
ignore:
15-
- 'x-pack/legacy/plugins/canvas/shareable_runtime/**/*.s+(a|c)ss'
15+
- 'x-pack/plugins/canvas/shareable_runtime/**/*.s+(a|c)ss'
1616
rules:
1717
quotes:
1818
- 2
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-core-public](./kibana-plugin-core-public.md) &gt; [AppCategory](./kibana-plugin-core-public.appcategory.md) &gt; [id](./kibana-plugin-core-public.appcategory.id.md)
4+
5+
## AppCategory.id property
6+
7+
Unique identifier for the categories
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
id: string;
13+
```

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export interface AppCategory
1818
| --- | --- | --- |
1919
| [ariaLabel](./kibana-plugin-core-public.appcategory.arialabel.md) | <code>string</code> | If the visual label isn't appropriate for screen readers, can override it here |
2020
| [euiIconType](./kibana-plugin-core-public.appcategory.euiicontype.md) | <code>string</code> | Define an icon to be used for the category If the category is only 1 item, and no icon is defined, will default to the product icon Defaults to initials if no icon is defined |
21+
| [id](./kibana-plugin-core-public.appcategory.id.md) | <code>string</code> | Unique identifier for the categories |
2122
| [label](./kibana-plugin-core-public.appcategory.label.md) | <code>string</code> | Label used for cateogry name. Also used as aria-label if one isn't set. |
2223
| [order](./kibana-plugin-core-public.appcategory.order.md) | <code>number</code> | The order that categories will be sorted in Prefer large steps between categories to allow for further editing (Default categories are in steps of 1000) |
2324

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-core-public](./kibana-plugin-core-public.md) &gt; [ChromeStart](./kibana-plugin-core-public.chromestart.md) &gt; [getNavType$](./kibana-plugin-core-public.chromestart.getnavtype_.md)
4+
5+
## ChromeStart.getNavType$() method
6+
7+
Get the navigation type TODO \#64541 Can delete
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
getNavType$(): Observable<NavType>;
13+
```
14+
<b>Returns:</b>
15+
16+
`Observable<NavType>`
17+

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ core.chrome.setHelpExtension(elem => {
5858
| [getHelpExtension$()](./kibana-plugin-core-public.chromestart.gethelpextension_.md) | Get an observable of the current custom help conttent |
5959
| [getIsNavDrawerLocked$()](./kibana-plugin-core-public.chromestart.getisnavdrawerlocked_.md) | Get an observable of the current locked state of the nav drawer. |
6060
| [getIsVisible$()](./kibana-plugin-core-public.chromestart.getisvisible_.md) | Get an observable of the current visibility state of the chrome. |
61+
| [getNavType$()](./kibana-plugin-core-public.chromestart.getnavtype_.md) | Get the navigation type TODO \#64541 Can delete |
6162
| [removeApplicationClass(className)](./kibana-plugin-core-public.chromestart.removeapplicationclass.md) | Remove a className added with <code>addApplicationClass()</code>. If className is unknown it is ignored. |
6263
| [setAppTitle(appTitle)](./kibana-plugin-core-public.chromestart.setapptitle.md) | Sets the current app's title |
6364
| [setBadge(badge)](./kibana-plugin-core-public.chromestart.setbadge.md) | Override the current badge |

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ The plugin integrates with the core system via lifecycle events: `setup`<!-- -->
158158
| [IContextProvider](./kibana-plugin-core-public.icontextprovider.md) | A function that returns a context value for a specific key of given context type. |
159159
| [IToasts](./kibana-plugin-core-public.itoasts.md) | Methods for adding and removing global toast messages. See [ToastsApi](./kibana-plugin-core-public.toastsapi.md)<!-- -->. |
160160
| [MountPoint](./kibana-plugin-core-public.mountpoint.md) | A function that should mount DOM content inside the provided container element and return a handler to unmount it. |
161+
| [NavType](./kibana-plugin-core-public.navtype.md) | |
161162
| [PluginInitializer](./kibana-plugin-core-public.plugininitializer.md) | The <code>plugin</code> export at the root of a plugin's <code>public</code> directory should conform to this interface. |
162163
| [PluginOpaqueId](./kibana-plugin-core-public.pluginopaqueid.md) | |
163164
| [PublicUiSettingsParams](./kibana-plugin-core-public.publicuisettingsparams.md) | A sub-set of [UiSettingsParams](./kibana-plugin-core-public.uisettingsparams.md) exposed to the client-side. |

0 commit comments

Comments
 (0)