Skip to content

Commit 316bdcb

Browse files
authored
Merge branch 'main' into toolbar-package
2 parents 142ac4c + e9d0805 commit 316bdcb

File tree

1,198 files changed

+36912
-29729
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,198 files changed

+36912
-29729
lines changed

.buildkite/scripts/steps/storybooks/build_and_upload.ts

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const STORYBOOKS = [
1717
'ci_composite',
1818
'cloud',
1919
'coloring',
20+
'chart_icons',
2021
'controls',
2122
'custom_integrations',
2223
'dashboard_enhanced',

.eslintrc.js

+29-29
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const ELASTIC_LICENSE_HEADER = `
7272
const SAFER_LODASH_SET_HEADER = `
7373
/*
7474
* Elasticsearch B.V licenses this file to you under the MIT License.
75-
* See \`packages/elastic-safer-lodash-set/LICENSE\` for more information.
75+
* See \`packages/kbn-safer-lodash-set/LICENSE\` for more information.
7676
*/
7777
`;
7878

@@ -81,7 +81,7 @@ const SAFER_LODASH_SET_LODASH_HEADER = `
8181
* This file is forked from the lodash project (https://lodash.com/),
8282
* and may include modifications made by Elasticsearch B.V.
8383
* Elasticsearch B.V. licenses this file to you under the MIT License.
84-
* See \`packages/elastic-safer-lodash-set/LICENSE\` for more information.
84+
* See \`packages/kbn-safer-lodash-set/LICENSE\` for more information.
8585
*/
8686
`;
8787

@@ -90,7 +90,7 @@ const SAFER_LODASH_SET_DEFINITELYTYPED_HEADER = `
9090
* This file is forked from the DefinitelyTyped project (https://github.com/DefinitelyTyped/DefinitelyTyped),
9191
* and may include modifications made by Elasticsearch B.V.
9292
* Elasticsearch B.V. licenses this file to you under the MIT License.
93-
* See \`packages/elastic-safer-lodash-set/LICENSE\` for more information.
93+
* See \`packages/kbn-safer-lodash-set/LICENSE\` for more information.
9494
*/
9595
`;
9696

@@ -186,44 +186,44 @@ const RESTRICTED_IMPORTS = [
186186
{
187187
name: 'lodash',
188188
importNames: ['set', 'setWith'],
189-
message: 'Please use @elastic/safer-lodash-set instead',
189+
message: 'Please use @kbn/safer-lodash-set instead',
190190
},
191191
{
192192
name: 'lodash.set',
193-
message: 'Please use @elastic/safer-lodash-set instead',
193+
message: 'Please use @kbn/safer-lodash-set instead',
194194
},
195195
{
196196
name: 'lodash.setwith',
197-
message: 'Please use @elastic/safer-lodash-set instead',
197+
message: 'Please use @kbn/safer-lodash-set instead',
198198
},
199199
{
200200
name: 'lodash/set',
201-
message: 'Please use @elastic/safer-lodash-set instead',
201+
message: 'Please use @kbn/safer-lodash-set instead',
202202
},
203203
{
204204
name: 'lodash/setWith',
205-
message: 'Please use @elastic/safer-lodash-set instead',
205+
message: 'Please use @kbn/safer-lodash-set instead',
206206
},
207207
{
208208
name: 'lodash/fp',
209209
importNames: ['set', 'setWith', 'assoc', 'assocPath'],
210-
message: 'Please use @elastic/safer-lodash-set instead',
210+
message: 'Please use @kbn/safer-lodash-set instead',
211211
},
212212
{
213213
name: 'lodash/fp/set',
214-
message: 'Please use @elastic/safer-lodash-set instead',
214+
message: 'Please use @kbn/safer-lodash-set instead',
215215
},
216216
{
217217
name: 'lodash/fp/setWith',
218-
message: 'Please use @elastic/safer-lodash-set instead',
218+
message: 'Please use @kbn/safer-lodash-set instead',
219219
},
220220
{
221221
name: 'lodash/fp/assoc',
222-
message: 'Please use @elastic/safer-lodash-set instead',
222+
message: 'Please use @kbn/safer-lodash-set instead',
223223
},
224224
{
225225
name: 'lodash/fp/assocPath',
226-
message: 'Please use @elastic/safer-lodash-set instead',
226+
message: 'Please use @kbn/safer-lodash-set instead',
227227
},
228228
{
229229
name: 'lodash',
@@ -409,7 +409,7 @@ module.exports = {
409409
* safer-lodash-set package requires special license headers
410410
*/
411411
{
412-
files: ['packages/elastic-safer-lodash-set/**/*.{js,mjs,ts,tsx}'],
412+
files: ['packages/kbn-safer-lodash-set/**/*.{js,mjs,ts,tsx}'],
413413
rules: {
414414
'@kbn/eslint/require-license-header': [
415415
'error',
@@ -438,7 +438,7 @@ module.exports = {
438438
},
439439

440440
{
441-
files: ['packages/elastic-safer-lodash-set/test/*.{js,mjs,ts,tsx}'],
441+
files: ['packages/kbn-safer-lodash-set/test/*.{js,mjs,ts,tsx}'],
442442
rules: {
443443
'@kbn/eslint/require-license-header': [
444444
'error',
@@ -466,7 +466,7 @@ module.exports = {
466466
},
467467
},
468468
{
469-
files: ['packages/elastic-safer-lodash-set/**/*.d.ts'],
469+
files: ['packages/kbn-safer-lodash-set/**/*.d.ts'],
470470
rules: {
471471
'@kbn/eslint/require-license-header': [
472472
'error',
@@ -734,7 +734,7 @@ module.exports = {
734734
* Harden specific rules
735735
*/
736736
{
737-
files: ['test/harden/*.js', 'packages/elastic-safer-lodash-set/test/*.js'],
737+
files: ['test/harden/*.js', 'packages/kbn-safer-lodash-set/test/*.js'],
738738
rules: {
739739
'mocha/handle-done-callback': 'off',
740740
},
@@ -754,11 +754,11 @@ module.exports = {
754754
paths: [
755755
{
756756
name: 'lodash.set',
757-
message: 'Please use @elastic/safer-lodash-set instead',
757+
message: 'Please use @kbn/safer-lodash-set instead',
758758
},
759759
{
760760
name: 'lodash.setwith',
761-
message: 'Please use @elastic/safer-lodash-set instead',
761+
message: 'Please use @kbn/safer-lodash-set instead',
762762
},
763763
{
764764
name: 'lodash.template',
@@ -767,11 +767,11 @@ module.exports = {
767767
},
768768
{
769769
name: 'lodash/set',
770-
message: 'Please use @elastic/safer-lodash-set instead',
770+
message: 'Please use @kbn/safer-lodash-set instead',
771771
},
772772
{
773773
name: 'lodash/setWith',
774-
message: 'Please use @elastic/safer-lodash-set instead',
774+
message: 'Please use @kbn/safer-lodash-set instead',
775775
},
776776
{
777777
name: 'lodash/template',
@@ -786,12 +786,12 @@ module.exports = {
786786
{
787787
object: 'lodash',
788788
property: 'set',
789-
message: 'Please use @elastic/safer-lodash-set instead',
789+
message: 'Please use @kbn/safer-lodash-set instead',
790790
},
791791
{
792792
object: '_',
793793
property: 'set',
794-
message: 'Please use @elastic/safer-lodash-set instead',
794+
message: 'Please use @kbn/safer-lodash-set instead',
795795
},
796796
{
797797
object: 'lodash',
@@ -808,32 +808,32 @@ module.exports = {
808808
{
809809
object: 'lodash',
810810
property: 'setWith',
811-
message: 'Please use @elastic/safer-lodash-set instead',
811+
message: 'Please use @kbn/safer-lodash-set instead',
812812
},
813813
{
814814
object: '_',
815815
property: 'setWith',
816-
message: 'Please use @elastic/safer-lodash-set instead',
816+
message: 'Please use @kbn/safer-lodash-set instead',
817817
},
818818
{
819819
object: 'lodash',
820820
property: 'assoc',
821-
message: 'Please use @elastic/safer-lodash-set instead',
821+
message: 'Please use @kbn/safer-lodash-set instead',
822822
},
823823
{
824824
object: '_',
825825
property: 'assoc',
826-
message: 'Please use @elastic/safer-lodash-set instead',
826+
message: 'Please use @kbn/safer-lodash-set instead',
827827
},
828828
{
829829
object: 'lodash',
830830
property: 'assocPath',
831-
message: 'Please use @elastic/safer-lodash-set instead',
831+
message: 'Please use @kbn/safer-lodash-set instead',
832832
},
833833
{
834834
object: '_',
835835
property: 'assocPath',
836-
message: 'Please use @elastic/safer-lodash-set instead',
836+
message: 'Please use @kbn/safer-lodash-set instead',
837837
},
838838
],
839839
},

.github/CODEOWNERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ x-pack/plugins/files @elastic/kibana-app-services
136136
/src/apm.js @elastic/kibana-core @vigneshshanmugam
137137
/packages/kbn-apm-config-loader/ @elastic/kibana-core @vigneshshanmugam
138138
/src/core/types/elasticsearch @elastic/apm-ui
139-
/packages/elastic-apm-synthtrace/ @elastic/apm-ui
139+
/packages/kbn-apm-synthtrace/ @elastic/apm-ui
140140
/packages/kbn-shared-svg @elastic/apm-ui
141141
#CC# /src/plugins/apm_oss/ @elastic/apm-ui
142142
#CC# /x-pack/plugins/observability/ @elastic/apm-ui

NOTICE.txt

+26
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,32 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
253253
Portions of this code are licensed under the following license:
254254
For license information please see https://edge.fullstory.com/s/fs.js.LICENSE.txt
255255

256+
---
257+
This code includes a copy of the `normalize-path`
258+
https://github.com/jonschlinkert/normalize-path/blob/52c3a95ebebc2d98c1ad7606cbafa7e658656899/index.js
259+
260+
The MIT License (MIT)
261+
262+
Copyright (c) 2014-2018, Jon Schlinkert.
263+
264+
Permission is hereby granted, free of charge, to any person obtaining a copy
265+
of this software and associated documentation files (the "Software"), to deal
266+
in the Software without restriction, including without limitation the rights
267+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
268+
copies of the Software, and to permit persons to whom the Software is
269+
furnished to do so, subject to the following conditions:
270+
271+
The above copyright notice and this permission notice shall be included in
272+
all copies or substantial portions of the Software.
273+
274+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
275+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
276+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
277+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
278+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
279+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
280+
THE SOFTWARE.
281+
256282
---
257283
This product bundles [email protected] which is available under a
258284
"MIT" license.

api_docs/actions.devdocs.json

+15-15
Original file line numberDiff line numberDiff line change
@@ -1594,7 +1594,7 @@
15941594
"label": "ActionParamsType",
15951595
"description": [],
15961596
"signature": [
1597-
"{ readonly to: string[]; readonly message: string; readonly subject: string; readonly cc: string[]; readonly bcc: string[]; readonly kibanaFooterLink: Readonly<{} & { path: string; text: string; }>; }"
1597+
"{ readonly message: string; readonly to: string[]; readonly subject: string; readonly cc: string[]; readonly bcc: string[]; readonly kibanaFooterLink: Readonly<{} & { path: string; text: string; }>; }"
15981598
],
15991599
"path": "x-pack/plugins/actions/server/builtin_action_types/email.ts",
16001600
"deprecated": false,
@@ -1622,7 +1622,7 @@
16221622
"label": "ActionParamsType",
16231623
"description": [],
16241624
"signature": [
1625-
"{ readonly group?: string | undefined; readonly source?: string | undefined; readonly summary?: string | undefined; readonly component?: string | undefined; readonly timestamp?: string | undefined; readonly eventAction?: \"resolve\" | \"trigger\" | \"acknowledge\" | undefined; readonly dedupKey?: string | undefined; readonly severity?: \"error\" | \"warning\" | \"info\" | \"critical\" | undefined; readonly class?: string | undefined; }"
1625+
"{ readonly source?: string | undefined; readonly summary?: string | undefined; readonly group?: string | undefined; readonly component?: string | undefined; readonly timestamp?: string | undefined; readonly eventAction?: \"resolve\" | \"trigger\" | \"acknowledge\" | undefined; readonly dedupKey?: string | undefined; readonly severity?: \"error\" | \"warning\" | \"info\" | \"critical\" | undefined; readonly class?: string | undefined; }"
16261626
],
16271627
"path": "x-pack/plugins/actions/server/builtin_action_types/pagerduty.ts",
16281628
"deprecated": false,
@@ -1706,7 +1706,7 @@
17061706
"label": "ActionParamsType",
17071707
"description": [],
17081708
"signature": [
1709-
"Readonly<{} & { subAction: \"getFields\"; subActionParams: Readonly<{} & {}>; }> | Readonly<{} & { subAction: \"getIncident\"; subActionParams: Readonly<{} & { externalId: string; }>; }> | Readonly<{} & { subAction: \"handshake\"; subActionParams: Readonly<{} & {}>; }> | Readonly<{} & { subAction: \"pushToService\"; subActionParams: Readonly<{} & { incident: Readonly<{} & { name: string; description: string | null; externalId: string | null; incidentTypes: number[] | null; severityCode: number | null; }>; comments: Readonly<{} & { comment: string; commentId: string; }>[] | null; }>; }> | Readonly<{} & { subAction: \"incidentTypes\"; subActionParams: Readonly<{} & {}>; }> | Readonly<{} & { subAction: \"severity\"; subActionParams: Readonly<{} & {}>; }>"
1709+
"Readonly<{} & { subAction: \"getFields\"; subActionParams: Readonly<{} & {}>; }> | Readonly<{} & { subAction: \"getIncident\"; subActionParams: Readonly<{} & { externalId: string; }>; }> | Readonly<{} & { subAction: \"handshake\"; subActionParams: Readonly<{} & {}>; }> | Readonly<{} & { subAction: \"pushToService\"; subActionParams: Readonly<{} & { incident: Readonly<{} & { description: string | null; name: string; externalId: string | null; incidentTypes: number[] | null; severityCode: number | null; }>; comments: Readonly<{} & { comment: string; commentId: string; }>[] | null; }>; }> | Readonly<{} & { subAction: \"incidentTypes\"; subActionParams: Readonly<{} & {}>; }> | Readonly<{} & { subAction: \"severity\"; subActionParams: Readonly<{} & {}>; }>"
17101710
],
17111711
"path": "x-pack/plugins/actions/server/builtin_action_types/resilient/index.ts",
17121712
"deprecated": false,
@@ -1758,17 +1758,7 @@
17581758
},
17591759
"<",
17601760
"ActionTypeConfig",
1761-
">>; delete: ({ id }: { id: string; }) => Promise<{}>; execute: ({ actionId, params, source, relatedSavedObjects, }: Omit<",
1762-
"ExecuteOptions",
1763-
"<unknown>, \"request\">) => Promise<",
1764-
{
1765-
"pluginId": "actions",
1766-
"scope": "common",
1767-
"docId": "kibActionsPluginApi",
1768-
"section": "def-common.ActionTypeExecutorResult",
1769-
"text": "ActionTypeExecutorResult"
1770-
},
1771-
"<unknown>>; create: ({ action: { actionTypeId, name, config, secrets }, }: ",
1761+
">>; delete: ({ id }: { id: string; }) => Promise<{}>; create: ({ action: { actionTypeId, name, config, secrets }, }: ",
17721762
"CreateOptions",
17731763
") => Promise<",
17741764
{
@@ -1792,7 +1782,17 @@
17921782
},
17931783
"<",
17941784
"ActionTypeConfig",
1795-
">>; getAll: () => Promise<",
1785+
">>; execute: ({ actionId, params, source, relatedSavedObjects, }: Omit<",
1786+
"ExecuteOptions",
1787+
"<unknown>, \"request\">) => Promise<",
1788+
{
1789+
"pluginId": "actions",
1790+
"scope": "common",
1791+
"docId": "kibActionsPluginApi",
1792+
"section": "def-common.ActionTypeExecutorResult",
1793+
"text": "ActionTypeExecutorResult"
1794+
},
1795+
"<unknown>>; getAll: () => Promise<",
17961796
{
17971797
"pluginId": "actions",
17981798
"scope": "server",

api_docs/actions.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/actions
88
title: "actions"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the actions plugin
11-
date: 2022-08-16
11+
date: 2022-08-18
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions']
1313
---
1414
import actionsObj from './actions.devdocs.json';

api_docs/advanced_settings.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/advancedSettings
88
title: "advancedSettings"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the advancedSettings plugin
11-
date: 2022-08-16
11+
date: 2022-08-18
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings']
1313
---
1414
import advancedSettingsObj from './advanced_settings.devdocs.json';

api_docs/aiops.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ slug: /kibana-dev-docs/api/aiops
88
title: "aiops"
99
image: https://source.unsplash.com/400x175/?github
1010
description: API docs for the aiops plugin
11-
date: 2022-08-16
11+
date: 2022-08-18
1212
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'aiops']
1313
---
1414
import aiopsObj from './aiops.devdocs.json';

0 commit comments

Comments
 (0)