-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '7.x' into backport/7.x/pr-56140
- Loading branch information
Showing
79 changed files
with
269 additions
and
561 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
x-pack/legacy/plugins/canvas/public/angular/config/location_provider.ts
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
x-pack/legacy/plugins/canvas/public/angular/config/state_management.js
This file was deleted.
Oops, something went wrong.
54 changes: 0 additions & 54 deletions
54
x-pack/legacy/plugins/canvas/public/angular/controllers/canvas.tsx
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
x-pack/legacy/plugins/canvas/public/angular/controllers/index.ts
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
x-pack/legacy/plugins/canvas/public/angular/services/index.js
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
x-pack/legacy/plugins/canvas/public/angular/services/store.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License; | ||
* you may not use this file except in compliance with the Elastic License. | ||
*/ | ||
|
||
import React from 'react'; | ||
import { Store } from 'redux'; | ||
import ReactDOM from 'react-dom'; | ||
import { I18nProvider } from '@kbn/i18n/react'; | ||
import { Provider } from 'react-redux'; | ||
|
||
import { AppMountParameters, CoreStart } from 'kibana/public'; | ||
|
||
// @ts-ignore Untyped local | ||
import { App } from './components/app'; | ||
import { KibanaContextProvider } from '../../../../../src/plugins/kibana_react/public'; | ||
|
||
export const renderApp = ( | ||
coreStart: CoreStart, | ||
plugins: object, | ||
{ element }: AppMountParameters, | ||
canvasStore: Store | ||
) => { | ||
ReactDOM.render( | ||
<KibanaContextProvider services={{ ...coreStart, ...plugins }}> | ||
<I18nProvider> | ||
<Provider store={canvasStore}> | ||
<App /> | ||
</Provider> | ||
</I18nProvider> | ||
</KibanaContextProvider>, | ||
element | ||
); | ||
return () => ReactDOM.unmountComponentAtNode(element); | ||
}; |
45 changes: 0 additions & 45 deletions
45
...orkpad_header/workpad_export/__examples__/__snapshots__/workpad_export.examples.storyshot
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
...s/public/components/workpad_header/workpad_export/__examples__/disabled_panel.stories.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.