diff --git a/packages/core/src/components/Status/Status.stories.tsx b/packages/core/src/components/Status/Status.stories.tsx
index 91ef53d7fe..0cdc38a10d 100644
--- a/packages/core/src/components/Status/Status.stories.tsx
+++ b/packages/core/src/components/Status/Status.stories.tsx
@@ -24,44 +24,72 @@ import {
StatusRunning,
StatusWarning,
} from './Status';
+import SortableTable from 'components/SortableTable';
+import InfoCard from 'layout/InfoCard';
export default {
title: 'Status',
component: StatusOK,
};
-export const statusOK = () => (
- <>
- Status OK
- >
-);
-export const statusWarning = () => (
- <>
- Status Warning
- >
-);
-export const statusError = () => (
- <>
- Status Error
- >
-);
-export const statusFailed = () => (
- <>
- Status Failed
- >
-);
-export const statusPending = () => (
- <>
- Status Pending
- >
-);
-export const statusRunning = () => (
- <>
- Status Running
- >
-);
-export const statusNA = () => (
- <>
- Status NA
- >
+const data = [
+ {
+ status: ,
+ label: 'OK',
+ usage: 'Deployment successful',
+ },
+ {
+ status: ,
+ label: 'Warning',
+ usage: 'CPU utilization at 90%',
+ },
+ {
+ status: ,
+ label: 'Error',
+ usage: 'Service could not be created',
+ },
+ {
+ status: ,
+ label: 'Failed',
+ usage: 'Build for PR #34 failed',
+ },
+ {
+ status: ,
+ label: 'Pending',
+ usage: 'Job is waiting',
+ },
+ {
+ status: ,
+ label: 'Running',
+ usage: 'Job is running',
+ },
+ {
+ status: ,
+ label: 'N/A',
+ usage: 'Not sure what to do',
+ },
+];
+
+const columns = [
+ { id: 'status', label: 'Status' },
+ { id: 'label', label: 'Label' },
+ { id: 'usage', label: 'Example usage' },
+];
+
+const containerStyle = { width: 600 };
+
+export const Default = () => (
+
+
+
+
+
);
+
+export const statusOK = () => ;
+export const statusWarning = () => ;
+export const statusError = () => ;
+export const statusFailed = () => ;
+export const statusPending = () => ;
+export const statusRunning = () => ;
+export const statusNA = () => ;
diff --git a/packages/core/src/components/Status/Status.tsx b/packages/core/src/components/Status/Status.tsx
index 007cc4e9fd..99109bfa21 100644
--- a/packages/core/src/components/Status/Status.tsx
+++ b/packages/core/src/components/Status/Status.tsx
@@ -34,6 +34,7 @@ const useStyles = makeStyles(theme => ({
backgroundColor: theme.palette.status.warning,
},
error: {
+ // Use same for Failed status.
width: '0',
height: '0',
borderLeft: '7px solid transparent',
@@ -43,9 +44,6 @@ const useStyles = makeStyles(theme => ({
pending: {
backgroundColor: theme.palette.status.pending,
},
- failed: {
- backgroundColor: 'rgba(245, 155, 35, 0.5)',
- },
running: {
animation: '$blink 0.8s step-start 0s infinite',
backgroundColor: theme.palette.status.running,
@@ -122,7 +120,7 @@ export const StatusFailed: FC<{}> = props => {
const classes = useStyles(props);
return (
diff --git a/packages/core/src/components/TrendLine/TrendLine.stories.tsx b/packages/core/src/components/TrendLine/TrendLine.stories.tsx
index fab5388c81..5263385e1c 100644
--- a/packages/core/src/components/TrendLine/TrendLine.stories.tsx
+++ b/packages/core/src/components/TrendLine/TrendLine.stories.tsx
@@ -24,7 +24,7 @@ export default {
component: TrendLine,
};
-const containerStyle = { width: 600 };
+const containerStyle = { width: 700 };
const data = [
{
@@ -66,9 +66,11 @@ const columns = [
];
export const Default = () => (
-
-
-
+
+
+
+
+
);
export const TrendingMix = () => (