Skip to content

Commit

Permalink
Update src/content/design-system/components/progress-indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
KateMacdonald authored Sep 25, 2024
1 parent 95fcfd0 commit 82d92fe
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 12 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
### Progress Indicator
### Progress indicator

```tsx
() => {
return <ProgressIndicator />;
};
```

### Progress Indicator Sizes
### Sizes

```tsx
() => {
Expand All @@ -20,14 +20,14 @@
};
```

### Inverted Progress Indicator
### Dark background

```tsx
() => {
return (
<div className="bg-black w-fit">
{(['xsmall', 'small', 'medium', 'large', 'xlarge'] as const).map(size => (
<ProgressIndicator size={size} inverted className="mr-2" />
<ProgressIndicator size={size} color={'white'} className="mr-2" />
))}
</div>
);
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use this component within loading patterns. Predominantly the user experience direction is dictated by the pattern that contains it.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Simplicity is the key design requirement for this component. It has an intentional minimal form and simple animation, just enough to capture the essence of its meaning. This ensures readability and clarity even at small sizes. It also optimises the file size.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{% shortCode name="where-is-this-available" /%}

{% availabilityContent
availableGel="available"
availableMesh="available"
availableLegacyWdp="older-version-available"
alternativeMesh="Loader"
alternativeLegacyWdp="Loader" /%}
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,11 @@ design:
noTitle: false
noDemo: false
- title:
name: Dos and don’ts
slug: dos-and-donts
name: Where is this available?
slug: where-is-this-available
noTitle: false
noDemo: false
accessibility:
- title:
name: Colour impairment demonstration
slug: colour-impairment-demonstration
- title:
name: Accessibility features
slug: accessibility-features
Expand Down

0 comments on commit 82d92fe

Please sign in to comment.