Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[App Arch] migrate legacy CSS to new platform (core_plugins/kibana_react) #59882

Merged
merged 13 commits into from
Mar 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { fetchAnchorProvider } from '../api/anchor';
import { fetchContextProvider } from '../api/context';
import { getQueryParameterActions } from '../query_parameters';
import { FAILURE_REASONS, LOADING_STATUS } from './constants';
import { MarkdownSimple } from '../../../../../../../kibana_react/public';
import { MarkdownSimple } from '../../../../../../../../../plugins/kibana_react/public';

export function QueryActionsProvider(Promise) {
const { filterManager, indexPatterns } = getServices();
Expand Down
41 changes: 0 additions & 41 deletions src/legacy/core_plugins/kibana_react/index.ts

This file was deleted.

4 changes: 0 additions & 4 deletions src/legacy/core_plugins/kibana_react/package.json

This file was deleted.

3 changes: 0 additions & 3 deletions src/legacy/core_plugins/kibana_react/public/index.scss

This file was deleted.

20 changes: 0 additions & 20 deletions src/legacy/core_plugins/kibana_react/public/index.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

import React from 'react';
import { Markdown } from '../../kibana_react/public';
import { Markdown } from '../../../../plugins/kibana_react/public';
import { MarkdownVisParams } from './types';

interface MarkdownVisComponentProps extends MarkdownVisParams {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import React from 'react';
import classNames from 'classnames';
import uuid from 'uuid';
import { get } from 'lodash';
import { Markdown } from '../../../../../kibana_react/public';
import { Markdown } from '../../../../../../../plugins/kibana_react/public';

import { ErrorComponent } from '../../error';
import { replaceVars } from '../../lib/replace_vars';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { ScaleType } from '@elastic/charts';

import { createTickFormatter } from '../../lib/tick_formatter';
import { TimeSeries } from '../../../visualizations/views/timeseries';
import { MarkdownSimple } from '../../../../../kibana_react/public';
import { MarkdownSimple } from '../../../../../../../plugins/kibana_react/public';
import { replaceVars } from '../../lib/replace_vars';
import { getAxisLabelString } from '../../lib/get_axis_label_string';
import { getInterval } from '../../lib/get_interval';
Expand Down
1 change: 1 addition & 0 deletions src/plugins/kibana_react/public/markdown/markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import MarkdownIt from 'markdown-it';
import { memoize } from 'lodash';
import { getSecureRelForTarget } from '@elastic/eui';

import './index.scss';
/**
* Return a memoized markdown rendering function that use the specified
* whiteListedRules and openLinksInNewTab configurations.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import { RendererStrings } from '../../../i18n';
import { Markdown } from '../../../../../../../src/legacy/core_plugins/kibana_react/public';
import { Markdown } from '../../../../../../../src/plugins/kibana_react/public';

const { markdown: strings } = RendererStrings;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import React from 'react';
import { toastNotifications } from 'ui/notify';
import { MarkdownSimple } from '../../../../../../../src/legacy/core_plugins/kibana_react/public';
import { MarkdownSimple } from '../../../../../../../src/plugins/kibana_react/public';
import { PLUGIN } from '../../../common/constants';

export class LogstashLicenseService {
Expand Down