diff --git a/src/plugins/console/public/application/containers/editor/editor.tsx b/src/plugins/console/public/application/containers/editor/editor.tsx index b756aa4f28f1b..df017250664e4 100644 --- a/src/plugins/console/public/application/containers/editor/editor.tsx +++ b/src/plugins/console/public/application/containers/editor/editor.tsx @@ -11,7 +11,7 @@ import { debounce } from 'lodash'; import { EuiProgress } from '@elastic/eui'; import { EditorContentSpinner } from '../../components'; -import { Panel, PanelsContainer } from '../../../../../kibana_react/public'; +import { Panel, PanelsContainer } from '../../containers'; import { Editor as EditorUI, EditorOutput } from './legacy/console_editor'; import { StorageKeys } from '../../../services'; import { useEditorReadContext, useServicesContext, useRequestReadContext } from '../../contexts'; diff --git a/src/plugins/console/public/application/containers/index.ts b/src/plugins/console/public/application/containers/index.ts index da7eb41637f21..447b574676144 100644 --- a/src/plugins/console/public/application/containers/index.ts +++ b/src/plugins/console/public/application/containers/index.ts @@ -7,3 +7,4 @@ */ export { Main } from './main'; +export { Panel, PanelsContainer } from './split_panel'; diff --git a/src/plugins/kibana_react/public/split_panel/__snapshots__/split_panel.test.tsx.snap b/src/plugins/console/public/application/containers/split_panel/__snapshots__/split_panel.test.tsx.snap similarity index 100% rename from src/plugins/kibana_react/public/split_panel/__snapshots__/split_panel.test.tsx.snap rename to src/plugins/console/public/application/containers/split_panel/__snapshots__/split_panel.test.tsx.snap diff --git a/src/plugins/kibana_react/public/split_panel/index.ts b/src/plugins/console/public/application/containers/split_panel/index.ts similarity index 76% rename from src/plugins/kibana_react/public/split_panel/index.ts rename to src/plugins/console/public/application/containers/split_panel/index.ts index 6d976fe2f5849..0d54d48c484d9 100644 --- a/src/plugins/kibana_react/public/split_panel/index.ts +++ b/src/plugins/console/public/application/containers/split_panel/index.ts @@ -6,5 +6,5 @@ * Side Public License, v 1. */ -export { Panel } from './containers/panel'; -export { PanelsContainer } from './containers/panel_container'; +export { Panel } from './panel'; +export { PanelsContainer } from './panel_container'; diff --git a/src/plugins/kibana_react/public/split_panel/containers/panel.tsx b/src/plugins/console/public/application/containers/split_panel/panel.tsx similarity index 96% rename from src/plugins/kibana_react/public/split_panel/containers/panel.tsx rename to src/plugins/console/public/application/containers/split_panel/panel.tsx index 436c07adfb224..1bbff074c2829 100644 --- a/src/plugins/kibana_react/public/split_panel/containers/panel.tsx +++ b/src/plugins/console/public/application/containers/split_panel/panel.tsx @@ -7,7 +7,7 @@ */ import React, { CSSProperties, ReactNode, useEffect, useRef, useState } from 'react'; -import { usePanelContext } from '../context'; +import { usePanelContext } from '../../contexts'; export interface Props { children: ReactNode[] | ReactNode; diff --git a/src/plugins/kibana_react/public/split_panel/containers/panel_container.tsx b/src/plugins/console/public/application/containers/split_panel/panel_container.tsx similarity index 97% rename from src/plugins/kibana_react/public/split_panel/containers/panel_container.tsx rename to src/plugins/console/public/application/containers/split_panel/panel_container.tsx index 69beb565ad857..30e200880d2cb 100644 --- a/src/plugins/kibana_react/public/split_panel/containers/panel_container.tsx +++ b/src/plugins/console/public/application/containers/split_panel/panel_container.tsx @@ -9,9 +9,8 @@ import React, { Children, ReactNode, useRef, useState, useCallback, useEffect } from 'react'; import { keys } from '@elastic/eui'; -import { PanelContextProvider } from '../context'; -import { Resizer, ResizerMouseEvent, ResizerKeyDownEvent } from '../components/resizer'; -import { PanelRegistry } from '../registry'; +import { Resizer, ResizerMouseEvent, ResizerKeyDownEvent } from './resizer'; +import { PanelContextProvider, PanelRegistry } from '../../contexts'; export interface Props { children: ReactNode; diff --git a/src/plugins/kibana_react/public/split_panel/components/resizer.tsx b/src/plugins/console/public/application/containers/split_panel/resizer.tsx similarity index 92% rename from src/plugins/kibana_react/public/split_panel/components/resizer.tsx rename to src/plugins/console/public/application/containers/split_panel/resizer.tsx index 8a4c348d482d9..9ead5045805ff 100644 --- a/src/plugins/kibana_react/public/split_panel/components/resizer.tsx +++ b/src/plugins/console/public/application/containers/split_panel/resizer.tsx @@ -24,7 +24,7 @@ export function Resizer(props: Props) {