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

[Emotion] Convert EuiProgress #5986

Merged
merged 11 commits into from
Jun 23, 2022
6 changes: 6 additions & 0 deletions src-docs/src/views/progress/playground.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ export default () => {
type: PropTypes.String,
};

propsToUse.color = {
...propsToUse.color,
value: 'success',
type: PropTypes.String,
};

return {
config: {
componentName: 'EuiProgress',
Expand Down
27 changes: 1 addition & 26 deletions src-docs/src/views/theme/_json/eui_theme_dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -202,31 +202,6 @@
"euiMarkdownEditorMinHeight": "150px",
"euiPopoverArrowSize": "12px",
"euiPopoverTranslateDistance": "8px",
"euiProgressSizes": {
"xs": "2px",
"s": "4px",
"m": "8px",
"l": "16px"
},
"euiProgressColors": {
"primary": "#36a2ef",
"success": "#7dded8",
"warning": "#f3d371",
"danger": "#f86b63",
"accent": "#f68fbe",
"subdued": "#7a7f89",
"vis0": "#54b399",
"vis1": "#6092c0",
"vis2": "#d36086",
"vis3": "#9170b8",
"vis4": "#ca8eae",
"vis5": "#d6bf57",
"vis6": "#b9a888",
"vis7": "#da8b45",
"vis8": "#aa6556",
"vis9": "#e7664c",
"customColor": "currentColor"
},
"euiResizableButtonTransitionSpeed": "150ms",
"euiResizableButtonSize": "16px",
"euiSelectableListItemBorder": "1px solid #202128",
Expand Down Expand Up @@ -698,4 +673,4 @@
"warning": "#f3d371",
"danger": "#f86b63"
}
}
}
27 changes: 1 addition & 26 deletions src-docs/src/views/theme/_json/eui_theme_light.json
Original file line number Diff line number Diff line change
Expand Up @@ -202,31 +202,6 @@
"euiMarkdownEditorMinHeight": "150px",
"euiPopoverArrowSize": "12px",
"euiPopoverTranslateDistance": "8px",
"euiProgressSizes": {
"xs": "2px",
"s": "4px",
"m": "8px",
"l": "16px"
},
"euiProgressColors": {
"primary": "#0077cc",
"success": "#00bfb3",
"warning": "#fec514",
"danger": "#bd271e",
"accent": "#f04e98",
"subdued": "#69707d",
"vis0": "#54b399",
"vis1": "#6092c0",
"vis2": "#d36086",
"vis3": "#9170b8",
"vis4": "#ca8eae",
"vis5": "#d6bf57",
"vis6": "#b9a888",
"vis7": "#da8b45",
"vis8": "#aa6556",
"vis9": "#e7664c",
"customColor": "currentColor"
},
"euiResizableButtonTransitionSpeed": "150ms",
"euiResizableButtonSize": "16px",
"euiSelectableListItemBorder": "1px solid #eef2f7",
Expand Down Expand Up @@ -698,4 +673,4 @@
"warning": "#fec514",
"danger": "#bd271e"
}
}
}
1 change: 0 additions & 1 deletion src/components/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
@import 'page/index'; // Page needs to come after Panel for cascade specificity
@import 'popover/index';
@import 'portal/index';
@import 'progress/index';
@import 'tree_view/index';
@import 'resizable_container/index';
@import 'side_nav/index';
Expand Down
Loading