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

[DEPRECATIONS] Remove EUI Charts, Sass deprecations #2108

Merged
merged 9 commits into from
Jul 18, 2019
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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

- Fixed `EuiComboBox`'s padding on the right ([#2135](https://github.com/elastic/eui/pull/2135))

**Breaking changes**

- Removed `EuiSeriesChart` and related components. Please look to [Elastic Charts](https://github.com/elastic/elastic-charts) for a replacement. ([#2135](https://github.com/elastic/eui/pull/2108))
- Removed `eui_k6_theme` related Sass and JSON files ([#2135](https://github.com/elastic/eui/pull/2108))
- Removed no longer used Sass mixins and variables in `EuiForm`, `EuiCallOut`, and `EuiRange` components ([#2135](https://github.com/elastic/eui/pull/2108))

## [`12.4.0`](https://github.com/elastic/eui/tree/v12.4.0)

- Centered the square of the `popout` glyph in the artboard ([#2120](https://github.com/elastic/eui/pull/2120))
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
"react-input-autosize": "^2.2.1",
"react-is": "~16.3.0",
"react-virtualized": "^9.18.5",
"react-vis": "1.10.2",
"resize-observer-polyfill": "^1.5.0",
"tabbable": "^1.1.0",
"uuid": "^3.1.0"
Expand Down
4 changes: 0 additions & 4 deletions src-docs/src/components/guide_section/guide_section.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,10 +372,6 @@ export class GuideSection extends Component {
/(from )'(..\/)+src\/services(\/?';)/,
"from '@elastic/eui/lib/services';"
)
.replace(
/(from )'(..\/)+src\/experimental(\/?';)/,
"from '@elastic/eui/lib/experimental';"
)
.replace(/(from )'(..\/)+src\/components\/.*?';/, "from '@elastic/eui';");

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@ export class GuideThemeSelector extends Component {
text: 'Dark',
value: 'dark',
},
{
text: 'K6',
value: 'k6',
},
{
text: 'K6 dark',
value: 'k6_dark',
},
];

this.state = {
Expand Down
6 changes: 0 additions & 6 deletions src-docs/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,11 @@ import { registerTheme } from './services';
import Routes from './routes';
import themeLight from './theme_light.scss';
import themeDark from './theme_dark.scss';
import themeK6Light from './theme_k6_light.scss';
import themeK6Dark from './theme_k6_dark.scss';

registerTheme('light', [themeLight]);

registerTheme('dark', [themeDark]);

registerTheme('k6', [themeK6Light]);

registerTheme('k6_dark', [themeK6Dark]);

// Set up app

const store = configureStore();
Expand Down
23 changes: 0 additions & 23 deletions src-docs/src/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,18 +174,6 @@ import { ToggleExample } from './views/toggle/toggle_example';

import { WindowEventExample } from './views/window_event/window_event_example';

import { XYChartExample } from './views/series_chart/series_chart_example';

import { XYChartAxisExample } from './views/series_chart_axis/series_axis_example';

import { XYChartBarExample } from './views/series_chart_bar/bar_example';

import { XYChartHistogramExample } from './views/series_chart_histogram/histogram_example';

import { XYChartAreaExample } from './views/series_chart_area/area_example';

import { XYChartLineExample } from './views/series_chart_line/line_example';

import { Changelog } from './views/package/changelog';

import { I18nTokens } from './views/package/i18n_tokens';
Expand Down Expand Up @@ -349,17 +337,6 @@ const navigation = [
SelectableExample,
].map(example => createExample(example)),
},
{
name: 'Charts (deprecated)',
items: [
XYChartExample,
XYChartAxisExample,
XYChartLineExample,
XYChartAreaExample,
XYChartBarExample,
XYChartHistogramExample,
].map(example => createExample(example)),
},
{
name: 'Utilities',
items: [
Expand Down
3 changes: 0 additions & 3 deletions src-docs/src/theme_k6_dark.scss

This file was deleted.

3 changes: 0 additions & 3 deletions src-docs/src/theme_k6_light.scss

This file was deleted.

2 changes: 1 addition & 1 deletion src-docs/src/views/card/card.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
EuiFlexItem,
} from '../../../../src/components';

const icons = ['Beats', 'Cloud', 'Xpack', 'Kibana'];
const icons = ['Beats', 'Cloud', 'Logging', 'Kibana'];

const cardNodes = icons.map(function(item, index) {
return (
Expand Down
25 changes: 0 additions & 25 deletions src-docs/src/views/color_palette/color_palette_example.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ import ColorPaletteCustom from './color_palette_custom';
const colorPaletteCustomSource = require('!!raw-loader!./color_palette_custom');
const colorPaletteCustomHtml = renderToHtml(ColorPaletteCustom);

import ColorPaletteHistogram from './color_palette_histogram';
const colorPaletteHistogramSource = require('!!raw-loader!./color_palette_histogram');
const colorPaletteHistogramHtml = renderToHtml(ColorPaletteHistogram);

export const ColorPaletteExample = {
title: 'Color Palettes',
sections: [
Expand Down Expand Up @@ -83,26 +79,5 @@ export const ColorPaletteExample = {
),
demo: <ColorPaletteCustom />,
},
{
title: 'Usage examples',
source: [
{
type: GuideSectionTypes.JS,
code: colorPaletteHistogramSource,
},
{
type: GuideSectionTypes.HTML,
code: colorPaletteHistogramHtml,
},
],
text: (
<p>
Apply the colors from <EuiCode>eui_palettes.js</EuiCode> or the{' '}
<EuiCode>colorPalette</EuiCode>
service to the <EuiCode>color</EuiCode> prop of EUI chart components.
</p>
),
demo: <ColorPaletteHistogram />,
},
],
};
84 changes: 0 additions & 84 deletions src-docs/src/views/color_palette/color_palette_histogram.js

This file was deleted.

89 changes: 0 additions & 89 deletions src-docs/src/views/series_chart/complex.js

This file was deleted.

53 changes: 0 additions & 53 deletions src-docs/src/views/series_chart/crosshair_sync.js

This file was deleted.

7 changes: 0 additions & 7 deletions src-docs/src/views/series_chart/empty.js

This file was deleted.

Loading