diff --git a/src/plugins/vis_type_markdown/config.ts b/src/plugins/vis_type_markdown/config.ts index 6749bd83de39..0cfdee7b8bf4 100644 --- a/src/plugins/vis_type_markdown/config.ts +++ b/src/plugins/vis_type_markdown/config.ts @@ -17,7 +17,7 @@ * under the License. */ -import { schema, TypeOf } from '@kbn/config-schema'; +import { schema, TypeOf } from '@osd/config-schema'; export const configSchema = schema.object({ enabled: schema.boolean({ defaultValue: true }), diff --git a/src/plugins/vis_type_markdown/kibana.json b/src/plugins/vis_type_markdown/kibana.json deleted file mode 100644 index c0afcb0e99d1..000000000000 --- a/src/plugins/vis_type_markdown/kibana.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "id": "visTypeMarkdown", - "version": "kibana", - "ui": true, - "server": true, - "requiredPlugins": ["expressions", "visualizations"], - "requiredBundles": ["kibanaReact", "charts", "visualizations", "expressions", "visDefaultEditor"] -} diff --git a/src/plugins/vis_type_markdown/opensearch_dashboards.json b/src/plugins/vis_type_markdown/opensearch_dashboards.json new file mode 100644 index 000000000000..9d02e00dc369 --- /dev/null +++ b/src/plugins/vis_type_markdown/opensearch_dashboards.json @@ -0,0 +1,8 @@ +{ + "id": "visTypeMarkdown", + "version": "opensearchDashboards", + "ui": true, + "server": true, + "requiredPlugins": ["expressions", "visualizations"], + "requiredBundles": ["opensearchDashboardsReact", "charts", "visualizations", "expressions", "visDefaultEditor"] +} diff --git a/src/plugins/vis_type_markdown/public/markdown_fn.ts b/src/plugins/vis_type_markdown/public/markdown_fn.ts index eaa2c840f804..d82e281d44ea 100644 --- a/src/plugins/vis_type_markdown/public/markdown_fn.ts +++ b/src/plugins/vis_type_markdown/public/markdown_fn.ts @@ -17,7 +17,7 @@ * under the License. */ -import { i18n } from '@kbn/i18n'; +import { i18n } from '@osd/i18n'; import { ExpressionFunctionDefinition, Render } from '../../expressions/public'; import { Arguments, MarkdownVisParams } from './types'; diff --git a/src/plugins/vis_type_markdown/public/markdown_options.tsx b/src/plugins/vis_type_markdown/public/markdown_options.tsx index a6349793619a..398ab1765b69 100644 --- a/src/plugins/vis_type_markdown/public/markdown_options.tsx +++ b/src/plugins/vis_type_markdown/public/markdown_options.tsx @@ -28,7 +28,7 @@ import { EuiFlexItem, EuiText, } from '@elastic/eui'; -import { FormattedMessage } from '@kbn/i18n/react'; +import { FormattedMessage } from '@osd/i18n/react'; import { VisOptionsProps } from 'src/plugins/vis_default_editor/public'; import { MarkdownVisParams } from './types'; diff --git a/src/plugins/vis_type_markdown/public/markdown_vis.ts b/src/plugins/vis_type_markdown/public/markdown_vis.ts index 27ac038aee6f..0cafe78b3f00 100644 --- a/src/plugins/vis_type_markdown/public/markdown_vis.ts +++ b/src/plugins/vis_type_markdown/public/markdown_vis.ts @@ -17,7 +17,7 @@ * under the License. */ -import { i18n } from '@kbn/i18n'; +import { i18n } from '@osd/i18n'; import { MarkdownOptions } from './markdown_options'; import { SettingsOptions } from './settings_options_lazy'; diff --git a/src/plugins/vis_type_markdown/public/markdown_vis_controller.tsx b/src/plugins/vis_type_markdown/public/markdown_vis_controller.tsx index a2387b96eab6..c77f54003b8e 100644 --- a/src/plugins/vis_type_markdown/public/markdown_vis_controller.tsx +++ b/src/plugins/vis_type_markdown/public/markdown_vis_controller.tsx @@ -18,7 +18,7 @@ */ import React, { useEffect } from 'react'; -import { Markdown } from '../../kibana_react/public'; +import { Markdown } from '../../opensearch_dashboards_react/public'; import { MarkdownVisParams } from './types'; import './markdown_vis.scss'; diff --git a/src/plugins/vis_type_markdown/public/settings_options.tsx b/src/plugins/vis_type_markdown/public/settings_options.tsx index bf4570db5d4a..44768f4060d2 100644 --- a/src/plugins/vis_type_markdown/public/settings_options.tsx +++ b/src/plugins/vis_type_markdown/public/settings_options.tsx @@ -19,7 +19,7 @@ import React from 'react'; import { EuiPanel } from '@elastic/eui'; -import { i18n } from '@kbn/i18n'; +import { i18n } from '@osd/i18n'; import { VisOptionsProps } from 'src/plugins/vis_default_editor/public'; import { RangeOption, SwitchOption } from '../../charts/public'; diff --git a/src/plugins/vis_type_markdown/server/index.ts b/src/plugins/vis_type_markdown/server/index.ts index 73e1712353b1..361c3b8d332e 100644 --- a/src/plugins/vis_type_markdown/server/index.ts +++ b/src/plugins/vis_type_markdown/server/index.ts @@ -17,7 +17,7 @@ * under the License. */ -import { PluginConfigDescriptor } from 'kibana/server'; +import { PluginConfigDescriptor } from 'opensearch-dashboards/server'; import { configSchema, ConfigSchema } from '../config';