Skip to content

Commit

Permalink
chore: more feedback again
Browse files Browse the repository at this point in the history
  • Loading branch information
nkrantz committed Oct 18, 2024
1 parent c738812 commit 5321e2a
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 65 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export const processStatusExamples = `
color="colorTextIconNeutral"
decorative={false}
title="In-progress" />
<Text marginLeft="space20">In-progress</Text>
<Text marginLeft="space20">In progress</Text>
</Box>
<Box display="flex">
<ProcessDisabledIcon
Expand All @@ -219,21 +219,21 @@ export const processStatusExamples = `
</Box>
<Box display="flex" columnGap="space50" rowGap="space60" flexWrap="wrap">
<StatusBadge variant="ProcessSuccess" size="borderless">Success</StatusBadge>
<StatusBadge variant="ProcessError" size="borderless">Success</StatusBadge>
<StatusBadge variant="ProcessWarning" size="borderless">Success</StatusBadge>
<StatusBadge variant="ProcessNeutral" size="borderless">Success</StatusBadge>
<StatusBadge variant="ProcessInProgress" size="borderless">Success</StatusBadge>
<StatusBadge variant="ProcessDisabled" size="borderless">Success</StatusBadge>
<StatusBadge variant="ProcessDraft" size="borderless">Success</StatusBadge>
<StatusBadge variant="ProcessError" size="borderless">Error</StatusBadge>
<StatusBadge variant="ProcessWarning" size="borderless">Warning</StatusBadge>
<StatusBadge variant="ProcessNeutral" size="borderless">Neutral</StatusBadge>
<StatusBadge variant="ProcessInProgress" size="borderless">In progress</StatusBadge>
<StatusBadge variant="ProcessDisabled" size="borderless">Disabled</StatusBadge>
<StatusBadge variant="ProcessDraft" size="borderless">Draft</StatusBadge>
</Box>
<Box display="flex" columnGap="space50" rowGap="space60" flexWrap="wrap">
<StatusBadge variant="ProcessSuccess">Success</StatusBadge>
<StatusBadge variant="ProcessError">Success</StatusBadge>
<StatusBadge variant="ProcessWarning">Success</StatusBadge>
<StatusBadge variant="ProcessNeutral">Success</StatusBadge>
<StatusBadge variant="ProcessInProgress">Success</StatusBadge>
<StatusBadge variant="ProcessDisabled">Success</StatusBadge>
<StatusBadge variant="ProcessDraft">Success</StatusBadge>
<StatusBadge variant="ProcessError">Error</StatusBadge>
<StatusBadge variant="ProcessWarning">Warning</StatusBadge>
<StatusBadge variant="ProcessNeutral">Neutral</StatusBadge>
<StatusBadge variant="ProcessInProgress">In progress</StatusBadge>
<StatusBadge variant="ProcessDisabled">Disabled</StatusBadge>
<StatusBadge variant="ProcessDraft">Draft</StatusBadge>
</Box>
</Box>
`.trim();
Expand Down Expand Up @@ -550,61 +550,83 @@ export const otherCommonPlacements = `
`.trim();

export const connectivityStatusExamples = `
<Box display="flex" columnGap="space90" flexWrap="wrap" rowGap="space90">
<Box display="inherit">
<ConnectivityAvailableIcon
color="colorTextIconAvailable"
decorative={false}
title="available"
/>
Available
</Box>
<Box display="inherit">
<ConnectivityBusyIcon
color="colorTextIconBusy"
decorative={false}
title="busy"
/>
Busy
</Box>
<Box display="inherit">
<ConnectivityUnavailableIcon
color="colorTextIconUnavailable"
<Box display="flex" rowGap="space100" flexWrap="wrap">
<Box display="flex" columnGap="space50" rowGap="space60" flexWrap="wrap">
<Box display="inherit">
<ConnectivityAvailableIcon
color="colorTextIconAvailable"
decorative={false}
title="available"
/>
Available
</Box>
<Box display="inherit">
<ConnectivityBusyIcon
color="colorTextIconBusy"
decorative={false}
title="busy"
/>
Busy
</Box>
<Box display="inherit">
<ConnectivityUnavailableIcon
color="colorTextIconUnavailable"
decorative={false}
title="unavailable"
/>
Unavailable
</Box>
<Box display="inherit">
<ConnectivityNeutralIcon
color="colorTextIconNeutral"
decorative={false}
title="unavailable"
title="neutral"
/>
Unavailable
Neutral
</Box>
<Box display="inherit">
<ConnectivityNeutralIcon
color="colorTextIconNeutral"
decorative={false}
title="neutral"
/>
Neutral
</Box>
<Box display="inherit">
<ConnectivityOfflineIcon
color="colorTextIconOffline"
decorative={false}
title="offline"
/>
Offline
<Box display="inherit">
<ConnectivityOfflineIcon
color="colorTextIconOffline"
decorative={false}
title="offline"
/>
Offline
</Box>
</Box>
<Box display="flex" columnGap="space50" rowGap="space60" flexWrap="wrap">
<StatusBadge variant="ConnectivityAvailable">
Available
</StatusBadge>
<StatusBadge variant="ConnectivityUnavailable">
Unavailable
</StatusBadge>
<StatusBadge variant="ConnectivityBusy">
Busy
</StatusBadge>
<StatusBadge variant="ConnectivityNeutral">
Neutral
</StatusBadge>
<StatusBadge variant="ConnectivityOffline">
Offline
</StatusBadge>
</Box>
<Box display="flex" columnGap="space50" rowGap="space60" flexWrap="wrap">
<StatusBadge size="borderless" variant="ConnectivityAvailable">
Available
</StatusBadge>
<StatusBadge size="borderless" variant="ConnectivityUnavailable">
Unavailable
</StatusBadge>
<StatusBadge size="borderless" variant="ConnectivityBusy">
Busy
</StatusBadge>
<StatusBadge size="borderless" variant="ConnectivityNeutral">
Neutral
</StatusBadge>
<StatusBadge size="borderless" variant="ConnectivityOffline">
Offline
</StatusBadge>
</Box>
<StatusBadge variant="ProcessSuccess" size="borderless">Success</StatusBadge>
<StatusBadge variant="ProcessError" size="borderless">Success</StatusBadge>
<StatusBadge variant="ProcessWarning" size="borderless">Success</StatusBadge>
<StatusBadge variant="ProcessNeutral" size="borderless">Success</StatusBadge>
<StatusBadge variant="ProcessInProgress" size="borderless">Success</StatusBadge>
<StatusBadge variant="ProcessDisabled" size="borderless">Success</StatusBadge>
<StatusBadge variant="ProcessDraft" size="borderless">Success</StatusBadge>
<StatusBadge variant="ProcessSuccess">Success</StatusBadge>
<StatusBadge variant="ProcessError">Success</StatusBadge>
<StatusBadge variant="ProcessWarning">Success</StatusBadge>
<StatusBadge variant="ProcessNeutral">Success</StatusBadge>
<StatusBadge variant="ProcessInProgress">Success</StatusBadge>
<StatusBadge variant="ProcessDisabled">Success</StatusBadge>
<StatusBadge variant="ProcessDraft">Success</StatusBadge>
</Box>
`.trim();

Expand Down
2 changes: 1 addition & 1 deletion packages/paste-website/src/pages/patterns/status/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ import {
connectivityStatusExamples,
connectivityStatusTableExample,
compactPageHeaderExample
} from '../../../component-examples/StatusPatternExamples.tsx';
} from '../../../component-examples/ObjectStatusPatternExamples.tsx';
import {
processStatusMenuExample,
availabilityStatusMenuExample,
Expand Down

0 comments on commit 5321e2a

Please sign in to comment.